count             112 arch/alpha/boot/bootp.c load(unsigned long dst, unsigned long src, unsigned long count)
count             114 arch/alpha/boot/bootp.c 	memcpy((void *)dst, (void *)src, count);
count             121 arch/alpha/boot/main.c static inline long load(long dev, unsigned long addr, unsigned long count)
count             135 arch/alpha/boot/main.c 	return callback_read(dev, count, (void *)addr, boot_size/512 + 1);
count               8 arch/alpha/boot/stdio.c size_t strnlen(const char * s, size_t count)
count              12 arch/alpha/boot/stdio.c 	for (sc = s; count-- && *sc != '\0'; ++sc)
count              14 arch/alpha/include/asm/console.h extern long callback_read(long channel, long count, const char *buf, long lbn);
count             326 arch/alpha/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count             328 arch/alpha/include/asm/dma.h         count--;
count             330 arch/alpha/include/asm/dma.h 	    dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count             331 arch/alpha/include/asm/dma.h 	    dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count             333 arch/alpha/include/asm/dma.h 	    dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count             334 arch/alpha/include/asm/dma.h 	    dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count             353 arch/alpha/include/asm/dma.h 	unsigned short count;
count             355 arch/alpha/include/asm/dma.h 	count = 1 + dma_inb(io_port);
count             356 arch/alpha/include/asm/dma.h 	count += dma_inb(io_port) << 8;
count             358 arch/alpha/include/asm/dma.h 	return (dmanr<=3)? count : (count<<1);
count              24 arch/alpha/include/asm/floppy.h #define fd_set_dma_count(count) set_dma_count(FLOPPY_DMA,count)
count             127 arch/alpha/include/asm/hwrpb.h 	unsigned long count;
count             532 arch/alpha/include/asm/io.h extern void insb (unsigned long port, void *dst, unsigned long count);
count             533 arch/alpha/include/asm/io.h extern void insw (unsigned long port, void *dst, unsigned long count);
count             534 arch/alpha/include/asm/io.h extern void insl (unsigned long port, void *dst, unsigned long count);
count             535 arch/alpha/include/asm/io.h extern void outsb (unsigned long port, const void *src, unsigned long count);
count             536 arch/alpha/include/asm/io.h extern void outsw (unsigned long port, const void *src, unsigned long count);
count             537 arch/alpha/include/asm/io.h extern void outsl (unsigned long port, const void *src, unsigned long count);
count              87 arch/alpha/include/asm/pci.h 			   size_t count);
count              89 arch/alpha/include/asm/pci.h 			    size_t count);
count              70 arch/alpha/include/asm/string.h extern void * __memset16(void *dest, unsigned short, size_t count);
count             330 arch/alpha/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count              33 arch/alpha/include/asm/vga.h static inline void scr_memsetw(u16 *s, u16 c, unsigned int count)
count              36 arch/alpha/include/asm/vga.h 		memsetw_io((u16 __iomem *) s, c, count);
count              38 arch/alpha/include/asm/vga.h 		memset16(s, c, count / 2);
count              42 arch/alpha/include/asm/vga.h extern void scr_memcpyw(u16 *d, const u16 *s, unsigned int count);
count             214 arch/alpha/kernel/io.c void ioread8_rep(void __iomem *port, void *dst, unsigned long count)
count             217 arch/alpha/kernel/io.c 		if (!count)
count             219 arch/alpha/kernel/io.c 		count--;
count             224 arch/alpha/kernel/io.c 	while (count >= 4) {
count             226 arch/alpha/kernel/io.c 		count -= 4;
count             235 arch/alpha/kernel/io.c 	while (count) {
count             236 arch/alpha/kernel/io.c 		--count;
count             242 arch/alpha/kernel/io.c void insb(unsigned long port, void *dst, unsigned long count)
count             244 arch/alpha/kernel/io.c 	ioread8_rep(ioport_map(port, 1), dst, count);
count             257 arch/alpha/kernel/io.c void ioread16_rep(void __iomem *port, void *dst, unsigned long count)
count             260 arch/alpha/kernel/io.c 		if (!count)
count             263 arch/alpha/kernel/io.c 		count--;
count             268 arch/alpha/kernel/io.c 	while (count >= 2) {
count             270 arch/alpha/kernel/io.c 		count -= 2;
count             277 arch/alpha/kernel/io.c 	if (count) {
count             282 arch/alpha/kernel/io.c void insw(unsigned long port, void *dst, unsigned long count)
count             284 arch/alpha/kernel/io.c 	ioread16_rep(ioport_map(port, 2), dst, count);
count             297 arch/alpha/kernel/io.c void ioread32_rep(void __iomem *port, void *dst, unsigned long count)
count             300 arch/alpha/kernel/io.c 		while (count--) {
count             307 arch/alpha/kernel/io.c 		while (count--) {
count             314 arch/alpha/kernel/io.c void insl(unsigned long port, void *dst, unsigned long count)
count             316 arch/alpha/kernel/io.c 	ioread32_rep(ioport_map(port, 4), dst, count);
count             329 arch/alpha/kernel/io.c void iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count)
count             332 arch/alpha/kernel/io.c 	while (count--)
count             336 arch/alpha/kernel/io.c void outsb(unsigned long port, const void *src, unsigned long count)
count             338 arch/alpha/kernel/io.c 	iowrite8_rep(ioport_map(port, 1), src, count);
count             351 arch/alpha/kernel/io.c void iowrite16_rep(void __iomem *port, const void *src, unsigned long count)
count             354 arch/alpha/kernel/io.c 		if (!count)
count             359 arch/alpha/kernel/io.c 		--count;
count             362 arch/alpha/kernel/io.c 	while (count >= 2) {
count             364 arch/alpha/kernel/io.c 		count -= 2;
count             371 arch/alpha/kernel/io.c 	if (count) {
count             376 arch/alpha/kernel/io.c void outsw(unsigned long port, const void *src, unsigned long count)
count             378 arch/alpha/kernel/io.c 	iowrite16_rep(ioport_map(port, 2), src, count);
count             391 arch/alpha/kernel/io.c void iowrite32_rep(void __iomem *port, const void *src, unsigned long count)
count             394 arch/alpha/kernel/io.c 		while (count--) {
count             401 arch/alpha/kernel/io.c 		while (count--) {
count             408 arch/alpha/kernel/io.c void outsl(unsigned long port, const void *src, unsigned long count)
count             410 arch/alpha/kernel/io.c 	iowrite32_rep(ioport_map(port, 4), src, count);
count             421 arch/alpha/kernel/io.c void memcpy_fromio(void *to, const volatile void __iomem *from, long count)
count             426 arch/alpha/kernel/io.c 	if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) {
count             427 arch/alpha/kernel/io.c 		count -= 8;
count             430 arch/alpha/kernel/io.c 			count -= 8;
count             433 arch/alpha/kernel/io.c 		} while (count >= 0);
count             434 arch/alpha/kernel/io.c 		count += 8;
count             437 arch/alpha/kernel/io.c 	if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) {
count             438 arch/alpha/kernel/io.c 		count -= 4;
count             441 arch/alpha/kernel/io.c 			count -= 4;
count             444 arch/alpha/kernel/io.c 		} while (count >= 0);
count             445 arch/alpha/kernel/io.c 		count += 4;
count             448 arch/alpha/kernel/io.c 	if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) {
count             449 arch/alpha/kernel/io.c 		count -= 2;
count             452 arch/alpha/kernel/io.c 			count -= 2;
count             455 arch/alpha/kernel/io.c 		} while (count >= 0);
count             456 arch/alpha/kernel/io.c 		count += 2;
count             459 arch/alpha/kernel/io.c 	while (count > 0) {
count             461 arch/alpha/kernel/io.c 		count--;
count             475 arch/alpha/kernel/io.c void memcpy_toio(volatile void __iomem *to, const void *from, long count)
count             481 arch/alpha/kernel/io.c 	if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) {
count             482 arch/alpha/kernel/io.c 		count -= 8;
count             485 arch/alpha/kernel/io.c 			count -= 8;
count             488 arch/alpha/kernel/io.c 		} while (count >= 0);
count             489 arch/alpha/kernel/io.c 		count += 8;
count             492 arch/alpha/kernel/io.c 	if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) {
count             493 arch/alpha/kernel/io.c 		count -= 4;
count             496 arch/alpha/kernel/io.c 			count -= 4;
count             499 arch/alpha/kernel/io.c 		} while (count >= 0);
count             500 arch/alpha/kernel/io.c 		count += 4;
count             503 arch/alpha/kernel/io.c 	if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) {
count             504 arch/alpha/kernel/io.c 		count -= 2;
count             507 arch/alpha/kernel/io.c 			count -= 2;
count             510 arch/alpha/kernel/io.c 		} while (count >= 0);
count             511 arch/alpha/kernel/io.c 		count += 2;
count             514 arch/alpha/kernel/io.c 	while (count > 0) {
count             516 arch/alpha/kernel/io.c 		count--;
count             529 arch/alpha/kernel/io.c void _memset_c_io(volatile void __iomem *to, unsigned long c, long count)
count             532 arch/alpha/kernel/io.c 	if (count > 0 && ((u64)to & 1)) {
count             535 arch/alpha/kernel/io.c 		count--;
count             539 arch/alpha/kernel/io.c 	if (count >= 2 && ((u64)to & 2)) {
count             542 arch/alpha/kernel/io.c 		count -= 2;
count             546 arch/alpha/kernel/io.c 	if (count >= 4 && ((u64)to & 4)) {
count             549 arch/alpha/kernel/io.c 		count -= 4;
count             554 arch/alpha/kernel/io.c 	count -= 8;
count             555 arch/alpha/kernel/io.c 	if (count >= 0) {
count             559 arch/alpha/kernel/io.c 			count -= 8;
count             560 arch/alpha/kernel/io.c 		} while (count >= 0);
count             562 arch/alpha/kernel/io.c 	count += 8;
count             565 arch/alpha/kernel/io.c 	if (count >= 4) {
count             568 arch/alpha/kernel/io.c 		count -= 4;
count             572 arch/alpha/kernel/io.c 	if (count >= 2) {
count             575 arch/alpha/kernel/io.c 		count -= 2;
count             579 arch/alpha/kernel/io.c 	if (count) {
count             591 arch/alpha/kernel/io.c scr_memcpyw(u16 *d, const u16 *s, unsigned int count)
count             603 arch/alpha/kernel/io.c 			count /= 2;
count             604 arch/alpha/kernel/io.c 			while (count--) {
count             610 arch/alpha/kernel/io.c 			memcpy_fromio(d, ios, count);
count             613 arch/alpha/kernel/io.c 			memcpy_toio(iod, s, count);
count             615 arch/alpha/kernel/io.c 			memcpy(d, s, count);
count             106 arch/alpha/kernel/osf_sys.c 	unsigned int count;
count             121 arch/alpha/kernel/osf_sys.c 	if (reclen > buf->count)
count             142 arch/alpha/kernel/osf_sys.c 	buf->count -= reclen;
count             150 arch/alpha/kernel/osf_sys.c 		struct osf_dirent __user *, dirent, unsigned int, count,
count             159 arch/alpha/kernel/osf_sys.c 		.count = count
count             168 arch/alpha/kernel/osf_sys.c 	if (count != buf.count)
count             169 arch/alpha/kernel/osf_sys.c 		error = count - buf.count;
count             724 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
count             752 arch/alpha/kernel/osf_sys.c 	if ((unsigned long)len > (unsigned long)count)
count             753 arch/alpha/kernel/osf_sys.c 		len = count;
count            1350 arch/alpha/kernel/osf_sys.c osf_fix_iov_len(const struct iovec __user *iov, unsigned long count)
count            1354 arch/alpha/kernel/osf_sys.c 	for (i = 0 ; i < count ; i++) {
count            1365 arch/alpha/kernel/osf_sys.c 		const struct iovec __user *, vector, unsigned long, count)
count            1369 arch/alpha/kernel/osf_sys.c 		if (osf_fix_iov_len(vector, count))
count            1373 arch/alpha/kernel/osf_sys.c 	return sys_readv(fd, vector, count);
count            1377 arch/alpha/kernel/osf_sys.c 		const struct iovec __user *, vector, unsigned long, count)
count            1381 arch/alpha/kernel/osf_sys.c 		if (osf_fix_iov_len(vector, count))
count            1384 arch/alpha/kernel/osf_sys.c 	return sys_writev(fd, vector, count);
count             330 arch/alpha/kernel/perf_event.c 	local64_add(delta, &event->count);
count            1107 arch/alpha/kernel/setup.c 	int count = 0;
count            1113 arch/alpha/kernel/setup.c 			count++;
count            1115 arch/alpha/kernel/setup.c 	return count;
count            1135 arch/alpha/kernel/setup.c 		unsigned long count, va, pc;
count            1199 arch/alpha/kernel/setup.c 		       unaligned[0].count, unaligned[0].pc, unaligned[0].va,
count            1200 arch/alpha/kernel/setup.c 		       unaligned[1].count, unaligned[1].pc, unaligned[1].va,
count              90 arch/alpha/kernel/srm_env.c 				  size_t count, loff_t *pos)
count             101 arch/alpha/kernel/srm_env.c 	if (count >= PAGE_SIZE)
count             105 arch/alpha/kernel/srm_env.c 	if (copy_from_user(buf, buffer, count))
count             107 arch/alpha/kernel/srm_env.c 	buf[count] = '\0';
count             109 arch/alpha/kernel/srm_env.c 	ret1 = callback_setenv(id, buf, count);
count              51 arch/alpha/kernel/srmcons.c 	int count = 0, loops = 0;
count              57 arch/alpha/kernel/srmcons.c 			count++;
count              61 arch/alpha/kernel/srmcons.c 	if (count)
count              64 arch/alpha/kernel/srmcons.c 	return count;
count              92 arch/alpha/kernel/srmcons.c srmcons_do_write(struct tty_port *port, const char *buf, int count)
count              95 arch/alpha/kernel/srmcons.c 	long c, remaining = count;
count             129 arch/alpha/kernel/srmcons.c 	return count;
count             134 arch/alpha/kernel/srmcons.c 	      const unsigned char *buf, int count)
count             139 arch/alpha/kernel/srmcons.c 	srmcons_do_write(tty->port, (const char *) buf, count);
count             142 arch/alpha/kernel/srmcons.c 	return count;
count             187 arch/alpha/kernel/srmcons.c 	if (tty->count == 1) {
count             247 arch/alpha/kernel/srmcons.c srm_console_write(struct console *co, const char *s, unsigned count)
count             252 arch/alpha/kernel/srmcons.c 	srmcons_do_write(NULL, s, count);
count             148 arch/alpha/kernel/sys_jensen.c           static int last_irq = -1, count = 0;
count             152 arch/alpha/kernel/sys_jensen.c           ++count;
count             157 arch/alpha/kernel/sys_jensen.c                        irq, count, cc-last_cc, get_irq_regs()->pc);
count             158 arch/alpha/kernel/sys_jensen.c                 count = 0;
count             346 arch/alpha/kernel/time.c 	int cc, count = 0;
count             364 arch/alpha/kernel/time.c 		count++;
count             365 arch/alpha/kernel/time.c 	} while ((inb(0x61) & 0x20) == 0 && count < TIMEOUT_COUNT);
count             369 arch/alpha/kernel/time.c 	if (count <= 1 || count == TIMEOUT_COUNT)
count             428 arch/alpha/kernel/traps.c 	unsigned long count, va, pc;
count             445 arch/alpha/kernel/traps.c 	unaligned[0].count++;
count             754 arch/alpha/kernel/traps.c 	++unaligned[1].count;
count              81 arch/alpha/lib/checksum.c 	int odd, count;
count              92 arch/alpha/lib/checksum.c 	count = len >> 1;		/* nr of 16-bit words.. */
count              93 arch/alpha/lib/checksum.c 	if (count) {
count              96 arch/alpha/lib/checksum.c 			count--;
count             100 arch/alpha/lib/checksum.c 		count >>= 1;		/* nr of 32-bit words.. */
count             101 arch/alpha/lib/checksum.c 		if (count) {
count             104 arch/alpha/lib/checksum.c 				count--;
count             108 arch/alpha/lib/checksum.c 			count >>= 1;	/* nr of 64-bit words.. */
count             109 arch/alpha/lib/checksum.c 			if (count) {
count             113 arch/alpha/lib/checksum.c 					count--;
count             118 arch/alpha/lib/checksum.c 				} while (count);
count             199 arch/alpha/mm/init.c 			nr_pages += crb->map[i].count;
count             213 arch/alpha/mm/init.c 			for (j = 0; j < crb->map[i].count; ++j) {
count             122 arch/alpha/oprofile/common.c 		oprofilefs_create_ulong(dir, "count", &ctr[i].count);
count              17 arch/alpha/oprofile/op_impl.h 	unsigned long count;
count              24 arch/alpha/oprofile/op_model_ev4.c 	unsigned long ctl = 0, count, hilo;
count              48 arch/alpha/oprofile/op_model_ev4.c 	count = ctr[0].count;
count              49 arch/alpha/oprofile/op_model_ev4.c 	if (count <= 4096)
count              50 arch/alpha/oprofile/op_model_ev4.c 		count = 4096, hilo = 1;
count              52 arch/alpha/oprofile/op_model_ev4.c 		count = 65536, hilo = 0;
count              53 arch/alpha/oprofile/op_model_ev4.c 	ctr[0].count = count;
count              56 arch/alpha/oprofile/op_model_ev4.c 	count = ctr[1].count;
count              57 arch/alpha/oprofile/op_model_ev4.c 	if (count <= 256)
count              58 arch/alpha/oprofile/op_model_ev4.c 		count = 256, hilo = 1;
count              60 arch/alpha/oprofile/op_model_ev4.c 		count = 4096, hilo = 0;
count              61 arch/alpha/oprofile/op_model_ev4.c 	ctr[1].count = count;
count              91 arch/alpha/oprofile/op_model_ev5.c 		unsigned long max, hilo, count = ctr[i].count;
count              95 arch/alpha/oprofile/op_model_ev5.c 		if (count <= 256)
count              96 arch/alpha/oprofile/op_model_ev5.c 			count = 256, hilo = 3, max = 256;
count             100 arch/alpha/oprofile/op_model_ev5.c 			if (count > max)
count             101 arch/alpha/oprofile/op_model_ev5.c 				count = max;
count             103 arch/alpha/oprofile/op_model_ev5.c 		ctr[i].count = count;
count             106 arch/alpha/oprofile/op_model_ev5.c 		reset |= (max - count) << (48 - 16*i);
count             107 arch/alpha/oprofile/op_model_ev5.c 		if (count != max)
count              47 arch/alpha/oprofile/op_model_ev6.c 		unsigned long count = ctr[i].count;
count              51 arch/alpha/oprofile/op_model_ev6.c 		if (count > 0x100000)
count              52 arch/alpha/oprofile/op_model_ev6.c 			count = 0x100000;
count              53 arch/alpha/oprofile/op_model_ev6.c 		ctr[i].count = count;
count              54 arch/alpha/oprofile/op_model_ev6.c 		reset |= (0x100000 - count) << (i ? 6 : 28);
count              55 arch/alpha/oprofile/op_model_ev6.c 		if (count != 0x100000)
count              52 arch/alpha/oprofile/op_model_ev67.c 		unsigned long count = ctr[i].count;
count              56 arch/alpha/oprofile/op_model_ev67.c 		if (count > 0x100000)
count              57 arch/alpha/oprofile/op_model_ev67.c 			count = 0x100000;
count              58 arch/alpha/oprofile/op_model_ev67.c 		ctr[i].count = count;
count              59 arch/alpha/oprofile/op_model_ev67.c 		reset |= (0x100000 - count) << (i ? 6 : 28);
count              60 arch/alpha/oprofile/op_model_ev67.c 		if (count != 0x100000)
count             102 arch/arc/include/asm/io.h 				  void *ptr, unsigned int count)	\
count             107 arch/arc/include/asm/io.h 	if (!count)							\
count             115 arch/arc/include/asm/io.h 		} while (--count);					\
count             120 arch/arc/include/asm/io.h 		} while (--count);					\
count             165 arch/arc/include/asm/io.h 				   const void *ptr, unsigned int count)	\
count             170 arch/arc/include/asm/io.h 	if (!count)							\
count             177 arch/arc/include/asm/io.h 		} while (--count);					\
count             181 arch/arc/include/asm/io.h 		} while (--count);					\
count             659 arch/arc/include/asm/uaccess.h __arc_strncpy_from_user(char *dst, const char __user *src, long count)
count             664 arch/arc/include/asm/uaccess.h 	if (count == 0)
count             685 arch/arc/include/asm/uaccess.h 	: "g"(-EFAULT), "r"(count)
count             733 arch/arc/include/asm/uaccess.h 		long count);
count             130 arch/arc/kernel/perf_event.c 	local64_add(delta, &event->count);
count              21 arch/arc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count              31 arch/arc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, PTR, \
count              37 arch/arc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, PTR, \
count              43 arch/arc/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, \
count             107 arch/arc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             116 arch/arc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \
count             123 arch/arc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \
count             130 arch/arc/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, \
count             187 arch/arc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             202 arch/arc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &regs->r30,
count             210 arch/arc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             221 arch/arc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, (void *)&regs->r30,
count              36 arch/arc/mm/extable.c 		long count)
count              38 arch/arc/mm/extable.c 	return __arc_strncpy_from_user(dst, src, count);
count              34 arch/arm/boot/compressed/decompress.c extern int memcmp(const void *cs, const void *ct, size_t count);
count              44 arch/arm/boot/compressed/string.c void *memmove(void *__dest, __const void *__src, size_t count)
count              53 arch/arm/boot/compressed/string.c 		return memcpy(__dest, __src, count);
count              55 arch/arm/boot/compressed/string.c 	while (count--)
count              56 arch/arm/boot/compressed/string.c 		d[count] = s[count];
count              69 arch/arm/boot/compressed/string.c size_t strnlen(const char *s, size_t count)
count              73 arch/arm/boot/compressed/string.c 	for (sc = s; count-- && *sc != '\0'; ++sc)
count              78 arch/arm/boot/compressed/string.c int memcmp(const void *cs, const void *ct, size_t count)
count              80 arch/arm/boot/compressed/string.c 	const unsigned char *su1 = cs, *su2 = ct, *end = su1 + count;
count             106 arch/arm/boot/compressed/string.c void *memchr(const void *s, int c, size_t count)
count             110 arch/arm/boot/compressed/string.c 	while (count--)
count             136 arch/arm/boot/compressed/string.c void *memset(void *s, int c, size_t count)
count             139 arch/arm/boot/compressed/string.c 	while (count--)
count             677 arch/arm/common/bL_switcher.c 		struct kobj_attribute *attr, const char *buf, size_t count)
count             693 arch/arm/common/bL_switcher.c 	return (ret >= 0) ? count : ret;
count             697 arch/arm/common/bL_switcher.c 		struct kobj_attribute *attr, const char *buf, size_t count)
count             701 arch/arm/common/bL_switcher.c 	return ret ? ret : count;
count              41 arch/arm/crypto/ghash-ce-glue.c 	u32 count;
count             102 arch/arm/crypto/ghash-ce-glue.c 	unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
count             104 arch/arm/crypto/ghash-ce-glue.c 	ctx->count += len;
count             134 arch/arm/crypto/ghash-ce-glue.c 	unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
count              35 arch/arm/crypto/sha1-ce-glue.c 	    (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE)
count              39 arch/arm/crypto/sha1_neon_glue.c 	    (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE)
count              36 arch/arm/crypto/sha2-ce-glue.c 	    (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE)
count              34 arch/arm/crypto/sha256_neon_glue.c 	    (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE)
count              32 arch/arm/crypto/sha512-neon-glue.c 	    (sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE)
count             217 arch/arm/include/asm/assembler.h 	ldr	\tmp, [\ti, #TI_PREEMPT]	@ get preempt count
count             223 arch/arm/include/asm/assembler.h 	ldr	\tmp, [\ti, #TI_PREEMPT]	@ get preempt count
count             117 arch/arm/include/asm/dma.h extern void set_dma_count(unsigned int chan, unsigned long count);
count             319 arch/arm/include/asm/io.h 	size_t count)
count             322 arch/arm/include/asm/io.h 	mmioset((void __force *)dst, c, count);
count             324 arch/arm/include/asm/io.h #define memset_io(dst,c,count) memset_io(dst,c,count)
count             327 arch/arm/include/asm/io.h 	size_t count)
count             330 arch/arm/include/asm/io.h 	mmiocpy(to, (const void __force *)from, count);
count             332 arch/arm/include/asm/io.h #define memcpy_fromio(to,from,count) memcpy_fromio(to,from,count)
count             335 arch/arm/include/asm/io.h 	size_t count)
count             338 arch/arm/include/asm/io.h 	mmiocpy((void __force *)to, from, count);
count             340 arch/arm/include/asm/io.h #define memcpy_toio(to,from,count) memcpy_toio(to,from,count)
count              26 arch/arm/include/asm/mach/dma.h 	unsigned long	count;		/* single DMA size		*/
count             585 arch/arm/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count              14 arch/arm/kernel/atags_proc.c 			  size_t count, loff_t *ppos)
count              17 arch/arm/kernel/atags_proc.c 	return simple_read_from_buffer(buf, count, ppos, b->data, b->size);
count              47 arch/arm/kernel/dma-isa.c 	int count;
count              49 arch/arm/kernel/dma-isa.c 	count = 1 + inb(io_port);
count              50 arch/arm/kernel/dma-isa.c 	count |= inb(io_port) << 8;
count              52 arch/arm/kernel/dma-isa.c 	return chan < 4 ? count : (count << 1);
count              94 arch/arm/kernel/dma-isa.c 			dma->buf.length = dma->count;
count              96 arch/arm/kernel/dma-isa.c 				dma->addr, dma->count,
count             155 arch/arm/kernel/dma.c void set_dma_count (unsigned int chan, unsigned long count)
count             163 arch/arm/kernel/dma.c 	dma->count = count;
count              45 arch/arm/kernel/io.c void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
count              48 arch/arm/kernel/io.c 	while (count) {
count              49 arch/arm/kernel/io.c 		count--;
count              61 arch/arm/kernel/io.c void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
count              64 arch/arm/kernel/io.c 	while (count) {
count              65 arch/arm/kernel/io.c 		count--;
count              77 arch/arm/kernel/io.c void _memset_io(volatile void __iomem *dst, int c, size_t count)
count              79 arch/arm/kernel/io.c 	while (count) {
count              80 arch/arm/kernel/io.c 		count--;
count             302 arch/arm/kernel/process.c 	int count = 0;
count             318 arch/arm/kernel/process.c 	} while (count ++ < 16);
count             573 arch/arm/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             578 arch/arm/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             585 arch/arm/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             591 arch/arm/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             606 arch/arm/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             609 arch/arm/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             616 arch/arm/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             623 arch/arm/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             653 arch/arm/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             664 arch/arm/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             671 arch/arm/kernel/ptrace.c 	ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             677 arch/arm/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             690 arch/arm/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count             702 arch/arm/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             709 arch/arm/kernel/ptrace.c 	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             715 arch/arm/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             143 arch/arm/kernel/smp_twd.c 	unsigned long count;
count             171 arch/arm/kernel/smp_twd.c 		count = readl_relaxed(twd_base + TWD_TIMER_COUNTER);
count             173 arch/arm/kernel/smp_twd.c 		twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5);
count            1266 arch/arm/kvm/coproc.c 	unsigned int i, count = 0;
count            1270 arch/arm/kvm/coproc.c 			count++;
count            1272 arch/arm/kvm/coproc.c 	return count;
count             160 arch/arm/mach-ebsa110/core.c 	unsigned long offset, count;
count             163 arch/arm/mach-ebsa110/core.c 	count = __raw_readb(PIT_T1);
count             164 arch/arm/mach-ebsa110/core.c 	count |= __raw_readb(PIT_T1) << 8;
count             169 arch/arm/mach-ebsa110/core.c 	if (count > COUNT)
count             170 arch/arm/mach-ebsa110/core.c 		count |= 0xffff0000;
count             173 arch/arm/mach-ebsa110/core.c 	offset -= count;
count             187 arch/arm/mach-ebsa110/core.c 	u32 count;
count             191 arch/arm/mach-ebsa110/core.c 	count = __raw_readb(PIT_T1);
count             192 arch/arm/mach-ebsa110/core.c 	count |= __raw_readb(PIT_T1) << 8;
count             194 arch/arm/mach-ebsa110/core.c 	count += COUNT;
count             196 arch/arm/mach-ebsa110/core.c 	__raw_writeb(count & 0xff, PIT_T1);
count             197 arch/arm/mach-ebsa110/core.c 	__raw_writeb(count >> 8, PIT_T1);
count             194 arch/arm/mach-hisi/platmcpm.c 	unsigned int data, tries, count;
count             202 arch/arm/mach-hisi/platmcpm.c 	count = TIMEOUT_MSEC / POLL_MSEC;
count             204 arch/arm/mach-hisi/platmcpm.c 	for (tries = 0; tries < count; tries++) {
count             216 arch/arm/mach-hisi/platmcpm.c 	if (tries >= count)
count             221 arch/arm/mach-hisi/platmcpm.c 	for (tries = 0; tries < count; tries++) {
count             227 arch/arm/mach-hisi/platmcpm.c 	if (tries >= count)
count             105 arch/arm/mach-imx/iomux-imx31.c int mxc_iomux_setup_multiple_pins(const unsigned int *pin_list, unsigned count,
count             112 arch/arm/mach-imx/iomux-imx31.c 	for (i = 0; i < count; i++) {
count             133 arch/arm/mach-imx/iomux-imx31.c void mxc_iomux_release_multiple_pins(const unsigned int *pin_list, int count)
count             138 arch/arm/mach-imx/iomux-imx31.c 	for (i = 0; i < count; i++) {
count             107 arch/arm/mach-imx/iomux-mx3.h int mxc_iomux_setup_multiple_pins(const unsigned int *pin_list, unsigned count,
count             121 arch/arm/mach-imx/iomux-mx3.h void mxc_iomux_release_multiple_pins(const unsigned int *pin_list, int count);
count             144 arch/arm/mach-imx/iomux-v1.c static int imx_iomuxv1_setup_multiple(const int *list, unsigned count)
count             149 arch/arm/mach-imx/iomux-v1.c 	for (i = 0; i < count; ++i) {
count             159 arch/arm/mach-imx/iomux-v1.c int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count,
count             164 arch/arm/mach-imx/iomux-v1.c 	ret = imx_iomuxv1_setup_multiple(pin_list, count);
count              76 arch/arm/mach-imx/iomux-v1.h extern int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count,
count              47 arch/arm/mach-imx/iomux-v3.c 		unsigned count)
count              53 arch/arm/mach-imx/iomux-v3.c 	for (i = 0; i < count; i++) {
count             122 arch/arm/mach-imx/iomux-v3.h 		unsigned count);
count             319 arch/arm/mach-imx/mmdc.c 	local64_add(delta, &event->count);
count              95 arch/arm/mach-ixp4xx/include/mach/io.h 				      const void *p, int count)
count              99 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             120 arch/arm/mach-ixp4xx/include/mach/io.h 				      const void *p, int count)
count             124 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             141 arch/arm/mach-ixp4xx/include/mach/io.h 				      const void *p, int count)
count             144 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             165 arch/arm/mach-ixp4xx/include/mach/io.h 				     void *p, u32 count)
count             169 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             190 arch/arm/mach-ixp4xx/include/mach/io.h 				     void *p, u32 count)
count             194 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             213 arch/arm/mach-ixp4xx/include/mach/io.h 				     void *p, u32 count)
count             217 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             256 arch/arm/mach-ixp4xx/include/mach/io.h static inline void outsb(u32 io_addr, const void *p, u32 count)
count             260 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             275 arch/arm/mach-ixp4xx/include/mach/io.h static inline void outsw(u32 io_addr, const void *p, u32 count)
count             278 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             289 arch/arm/mach-ixp4xx/include/mach/io.h static inline void outsl(u32 io_addr, const void *p, u32 count)
count             292 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             309 arch/arm/mach-ixp4xx/include/mach/io.h static inline void insb(u32 io_addr, void *p, u32 count)
count             312 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             329 arch/arm/mach-ixp4xx/include/mach/io.h static inline void insw(u32 io_addr, void *p, u32 count)
count             332 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             347 arch/arm/mach-ixp4xx/include/mach/io.h static inline void insl(u32 io_addr, void *p, u32 count)
count             350 arch/arm/mach-ixp4xx/include/mach/io.h 	while (count--)
count             375 arch/arm/mach-ixp4xx/include/mach/io.h static inline void ioread8_rep(const void __iomem *addr, void *vaddr, u32 count)
count             379 arch/arm/mach-ixp4xx/include/mach/io.h 		insb(port & PIO_MASK, vaddr, count);
count             382 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_readsb(addr, vaddr, count);
count             384 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_readsb(addr, vaddr, count);
count             404 arch/arm/mach-ixp4xx/include/mach/io.h 				u32 count)
count             408 arch/arm/mach-ixp4xx/include/mach/io.h 		insw(port & PIO_MASK, vaddr, count);
count             411 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_readsw(addr, vaddr, count);
count             413 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_readsw(addr, vaddr, count);
count             434 arch/arm/mach-ixp4xx/include/mach/io.h 				u32 count)
count             438 arch/arm/mach-ixp4xx/include/mach/io.h 		insl(port & PIO_MASK, vaddr, count);
count             441 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_readsl(addr, vaddr, count);
count             443 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_readsl(addr, vaddr, count);
count             463 arch/arm/mach-ixp4xx/include/mach/io.h 				u32 count)
count             467 arch/arm/mach-ixp4xx/include/mach/io.h 		outsb(port & PIO_MASK, vaddr, count);
count             470 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_writesb(addr, vaddr, count);
count             472 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_writesb(addr, vaddr, count);
count             492 arch/arm/mach-ixp4xx/include/mach/io.h 				 u32 count)
count             496 arch/arm/mach-ixp4xx/include/mach/io.h 		outsw(port & PIO_MASK, vaddr, count);
count             499 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_writesw(addr, vaddr, count);
count             501 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_writesw(addr, vaddr, count);
count             521 arch/arm/mach-ixp4xx/include/mach/io.h 				 u32 count)
count             525 arch/arm/mach-ixp4xx/include/mach/io.h 		outsl(port & PIO_MASK, vaddr, count);
count             528 arch/arm/mach-ixp4xx/include/mach/io.h 		__raw_writesl(addr, vaddr, count);
count             530 arch/arm/mach-ixp4xx/include/mach/io.h 		__indirect_writesl(addr, vaddr, count);
count             354 arch/arm/mach-meson/platsmp.c 	int ret, power_mode, count = 5000;
count             363 arch/arm/mach-meson/platsmp.c 	} while (++count);
count             159 arch/arm/mach-omap2/omap-secure.c u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag)
count             164 arch/arm/mach-omap2/omap-secure.c 				      3, ptr, count, flag, 0);
count              73 arch/arm/mach-omap2/omap-secure.h extern u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag);
count            2132 arch/arm/mach-omap2/omap_hwmod.c 	int count, i, res;
count            2135 arch/arm/mach-omap2/omap_hwmod.c 	count = of_property_count_strings(np, "ti,hwmods");
count            2136 arch/arm/mach-omap2/omap_hwmod.c 	if (count < 1)
count            2139 arch/arm/mach-omap2/omap_hwmod.c 	for (i = 0; i < count; i++) {
count            1161 arch/arm/mach-omap2/powerdomain.c 	int i, count;
count            1168 arch/arm/mach-omap2/powerdomain.c 	count = pwrdm->state_counter[PWRDM_POWER_OFF];
count            1169 arch/arm/mach-omap2/powerdomain.c 	count += pwrdm->ret_logic_off_counter;
count            1172 arch/arm/mach-omap2/powerdomain.c 		count += pwrdm->ret_mem_off_counter[i];
count            1178 arch/arm/mach-omap2/powerdomain.c 	count &= INT_MAX;
count            1181 arch/arm/mach-omap2/powerdomain.c 		 pwrdm->name, count);
count            1183 arch/arm/mach-omap2/powerdomain.c 	return count;
count              36 arch/arm/mach-omap2/sr_device.c 	int i, j, count = 0;
count              41 arch/arm/mach-omap2/sr_device.c 	while (volt_data[count].volt_nominal)
count              42 arch/arm/mach-omap2/sr_device.c 		count++;
count              44 arch/arm/mach-omap2/sr_device.c 	nvalue_table = kcalloc(count, sizeof(*nvalue_table), GFP_KERNEL);
count              48 arch/arm/mach-omap2/sr_device.c 	for (i = 0, j = 0; i < count; i++) {
count             177 arch/arm/mach-orion5x/db88f5281-setup.c 	static int count = 0;
count             178 arch/arm/mach-orion5x/db88f5281-setup.c 	writel(0, db88f5281_7seg + (count << 4));
count             179 arch/arm/mach-orion5x/db88f5281-setup.c 	count = (count + 1) & 7;
count             186 arch/arm/mach-orion5x/kurobox_pro-setup.c static int kurobox_pro_miconread(unsigned char *buf, int count)
count             191 arch/arm/mach-orion5x/kurobox_pro-setup.c 	for (i = 0; i < count; i++) {
count             209 arch/arm/mach-orion5x/kurobox_pro-setup.c static int kurobox_pro_miconwrite(const unsigned char *buf, int count)
count             213 arch/arm/mach-orion5x/kurobox_pro-setup.c 	while (count--) {
count             222 arch/arm/mach-orion5x/kurobox_pro-setup.c static int kurobox_pro_miconsend(const unsigned char *data, int count)
count             232 arch/arm/mach-orion5x/kurobox_pro-setup.c 	for (i = 0; i < count; i++)
count             237 arch/arm/mach-orion5x/kurobox_pro-setup.c 		kurobox_pro_miconwrite(data, count);
count             161 arch/arm/mach-orion5x/terastation_pro2-setup.c static int tsp2_miconread(unsigned char *buf, int count)
count             166 arch/arm/mach-orion5x/terastation_pro2-setup.c 	for (i = 0; i < count; i++) {
count             184 arch/arm/mach-orion5x/terastation_pro2-setup.c static int tsp2_miconwrite(const unsigned char *buf, int count)
count             188 arch/arm/mach-orion5x/terastation_pro2-setup.c 	while (count--) {
count             197 arch/arm/mach-orion5x/terastation_pro2-setup.c static int tsp2_miconsend(const unsigned char *data, int count)
count             207 arch/arm/mach-orion5x/terastation_pro2-setup.c 	for (i = 0; i < count; i++)
count             212 arch/arm/mach-orion5x/terastation_pro2-setup.c 		tsp2_miconwrite(data, count);
count             171 arch/arm/mach-rpc/dma.c 			idma->dma.buf.length = idma->dma.count;
count             173 arch/arm/mach-rpc/dma.c 				idma->dma.addr, idma->dma.count,
count             285 arch/arm/mach-rpc/dma.c 	regs.ARM_r9  = fdma->dma.count;
count             595 arch/arm/mach-s3c24xx/mach-mini2440.c 	int count;
count             607 arch/arm/mach-s3c24xx/mach-mini2440.c 	features->count = 0;
count             626 arch/arm/mach-s3c24xx/mach-mini2440.c 					features->optional[features->count++] =
count             638 arch/arm/mach-s3c24xx/mach-mini2440.c 				features->optional[features->count++] =
count             652 arch/arm/mach-s3c24xx/mach-mini2440.c 				features->optional[features->count++] =
count             719 arch/arm/mach-s3c24xx/mach-mini2440.c 	if (features.count)	/* the optional features */
count             720 arch/arm/mach-s3c24xx/mach-mini2440.c 		platform_add_devices(features.optional, features.count);
count             537 arch/arm/mach-sunxi/mc_smp.c 	unsigned int tries, count;
count             551 arch/arm/mach-sunxi/mc_smp.c 	count = TIMEOUT_USEC / POLL_USEC;
count             553 arch/arm/mach-sunxi/mc_smp.c 	for (tries = 0; tries < count; tries++) {
count             573 arch/arm/mach-sunxi/mc_smp.c 	if (tries >= count) {
count             152 arch/arm/mm/alignment.c 				    size_t count, loff_t *pos)
count             156 arch/arm/mm/alignment.c 	if (count > 0) {
count             162 arch/arm/mm/alignment.c 	return count;
count             109 arch/arm/mm/cache-l2x0-pmu.c static void warn_if_saturated(u32 count)
count             111 arch/arm/mm/cache-l2x0-pmu.c 	if (count != 0xffffffff)
count             128 arch/arm/mm/cache-l2x0-pmu.c 	local64_add((new_count - prev_count) & mask, &event->count);
count             551 arch/arm/mm/dma-mapping.c 	size_t count = size >> PAGE_SHIFT;
count             555 arch/arm/mm/dma-mapping.c 	page = dma_alloc_from_contiguous(dev, count, order, gfp & __GFP_NOWARN);
count             567 arch/arm/mm/dma-mapping.c 			dma_release_from_contiguous(dev, page, count);
count            1145 arch/arm/mm/dma-mapping.c 	unsigned int count, start;
count            1154 arch/arm/mm/dma-mapping.c 	count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count            1160 arch/arm/mm/dma-mapping.c 				mapping->bits, 0, count, align);
count            1165 arch/arm/mm/dma-mapping.c 		bitmap_set(mapping->bitmaps[i], start, count);
count            1181 arch/arm/mm/dma-mapping.c 				mapping->bits, 0, count, align);
count            1188 arch/arm/mm/dma-mapping.c 		bitmap_set(mapping->bitmaps[i], start, count);
count            1201 arch/arm/mm/dma-mapping.c 	unsigned int start, count;
count            1226 arch/arm/mm/dma-mapping.c 		count = size >> PAGE_SHIFT;
count            1229 arch/arm/mm/dma-mapping.c 	bitmap_clear(mapping->bitmaps[bitmap_index], start, count);
count            1241 arch/arm/mm/dma-mapping.c 	int count = size >> PAGE_SHIFT;
count            1242 arch/arm/mm/dma-mapping.c 	int array_size = count * sizeof(struct page *);
count            1258 arch/arm/mm/dma-mapping.c 		page = dma_alloc_from_contiguous(dev, count, order,
count            1265 arch/arm/mm/dma-mapping.c 		for (i = 0; i < count; i++)
count            1280 arch/arm/mm/dma-mapping.c 	while (count) {
count            1286 arch/arm/mm/dma-mapping.c 		if (__fls(count) < order) {
count            1315 arch/arm/mm/dma-mapping.c 		count -= 1 << order;
count            1330 arch/arm/mm/dma-mapping.c 	int count = size >> PAGE_SHIFT;
count            1334 arch/arm/mm/dma-mapping.c 		dma_release_from_contiguous(dev, pages[0], count);
count            1336 arch/arm/mm/dma-mapping.c 		for (i = 0; i < count; i++)
count            1353 arch/arm/mm/dma-mapping.c 	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count            1362 arch/arm/mm/dma-mapping.c 	for (i = 0; i < count; ) {
count            1369 arch/arm/mm/dma-mapping.c 		for (j = i + 1; j < count; j++, next_pfn++)
count            1602 arch/arm/mm/dma-mapping.c 	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count            1608 arch/arm/mm/dma-mapping.c 	return sg_alloc_table_from_pages(sgt, pages, count, 0, size,
count            1623 arch/arm/mm/dma-mapping.c 	unsigned int count;
count            1634 arch/arm/mm/dma-mapping.c 	for (count = 0, s = sg; count < (size >> PAGE_SHIFT); s = sg_next(s)) {
count            1646 arch/arm/mm/dma-mapping.c 		count += len >> PAGE_SHIFT;
count            1653 arch/arm/mm/dma-mapping.c 	iommu_unmap(mapping->domain, iova_base, count * PAGE_SIZE);
count            1663 arch/arm/mm/dma-mapping.c 	int i, count = 0;
count            1685 arch/arm/mm/dma-mapping.c 			count += 1;
count            1696 arch/arm/mm/dma-mapping.c 	return count+1;
count            1699 arch/arm/mm/dma-mapping.c 	for_each_sg(sg, s, count, i)
count             319 arch/arm/mm/init.c static inline void poison_init_mem(void *s, size_t count)
count             322 arch/arm/mm/init.c 	for (; count != 0; count -= 4)
count             192 arch/arm/mm/pmsa-v7.c 	int count = 0;
count             198 arch/arm/mm/pmsa-v7.c 		if (try_split_region(base, size, &regions[count])) {
count             199 arch/arm/mm/pmsa-v7.c 			count++;
count             218 arch/arm/mm/pmsa-v7.c 		if (count > limit)
count             227 arch/arm/mm/pmsa-v7.c 	return count;
count              35 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_save(struct sleep_save *ptr, int count);
count              36 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
count              37 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
count              33 arch/arm/plat-samsung/init.c 						unsigned int count)
count              35 arch/arm/plat-samsung/init.c 	for (; count != 0; count--, tab++) {
count              27 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_save(struct sleep_save *ptr, int count)
count              29 arch/arm/plat-samsung/pm-common.c 	for (; count > 0; count--, ptr++) {
count              46 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_restore(const struct sleep_save *ptr, int count)
count              48 arch/arm/plat-samsung/pm-common.c 	for (; count > 0; count--, ptr++) {
count              67 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count)
count              69 arch/arm/plat-samsung/pm-common.c 	for (; count > 0; count--, ptr++)
count             365 arch/arm/xen/enlighten.c 	xen_auto_xlat_grant_frames.count = gnttab_max_grant_frames();
count             368 arch/arm/xen/enlighten.c 					  xen_auto_xlat_grant_frames.count)) {
count              91 arch/arm/xen/p2m.c 			    struct page **pages, unsigned int count)
count              95 arch/arm/xen/p2m.c 	for (i = 0; i < count; i++) {
count             108 arch/arm/xen/p2m.c 			      struct page **pages, unsigned int count)
count             112 arch/arm/xen/p2m.c 	for (i = 0; i < count; i++) {
count              45 arch/arm64/crypto/ghash-ce-glue.c 	u32 count;
count             126 arch/arm64/crypto/ghash-ce-glue.c 	unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
count             128 arch/arm64/crypto/ghash-ce-glue.c 	ctx->count += len;
count             177 arch/arm64/crypto/ghash-ce-glue.c 	unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
count             197 arch/arm64/crypto/ghash-ce-glue.c 	unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
count             334 arch/arm64/crypto/ghash-ce-glue.c static void gcm_update_mac(u64 dg[], const u8 *src, int count, u8 buf[],
count             338 arch/arm64/crypto/ghash-ce-glue.c 		int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count);
count             344 arch/arm64/crypto/ghash-ce-glue.c 		count -= buf_added;
count             347 arch/arm64/crypto/ghash-ce-glue.c 	if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) {
count             348 arch/arm64/crypto/ghash-ce-glue.c 		int blocks = count / GHASH_BLOCK_SIZE;
count             355 arch/arm64/crypto/ghash-ce-glue.c 		count %= GHASH_BLOCK_SIZE;
count             359 arch/arm64/crypto/ghash-ce-glue.c 	if (count > 0) {
count             360 arch/arm64/crypto/ghash-ce-glue.c 		memcpy(buf, src, count);
count             361 arch/arm64/crypto/ghash-ce-glue.c 		*buf_count = count;
count              31 arch/arm64/crypto/sha1-ce-glue.c const u32 sha1_ce_offsetof_count = offsetof(struct sha1_ce_state, sst.count);
count              55 arch/arm64/crypto/sha1-ce-glue.c 	bool finalize = !sctx->sst.count && !(len % SHA1_BLOCK_SIZE) && len;
count              32 arch/arm64/crypto/sha2-ce-glue.c 					      sst.count);
count              60 arch/arm64/crypto/sha2-ce-glue.c 	bool finalize = !sctx->sst.count && !(len % SHA256_BLOCK_SIZE) && len;
count             101 arch/arm64/crypto/sha256-glue.c 		    chunk + sctx->count % SHA256_BLOCK_SIZE > SHA256_BLOCK_SIZE)
count             103 arch/arm64/crypto/sha256-glue.c 				sctx->count % SHA256_BLOCK_SIZE;
count              12 arch/arm64/include/asm/preempt.h 	return READ_ONCE(current_thread_info()->preempt.count);
count              18 arch/arm64/include/asm/preempt.h 	WRITE_ONCE(current_thread_info()->preempt.count, pc);
count              46 arch/arm64/include/asm/preempt.h 	u32 pc = READ_ONCE(current_thread_info()->preempt.count);
count              48 arch/arm64/include/asm/preempt.h 	WRITE_ONCE(current_thread_info()->preempt.count, pc);
count              53 arch/arm64/include/asm/preempt.h 	u32 pc = READ_ONCE(current_thread_info()->preempt.count);
count              55 arch/arm64/include/asm/preempt.h 	WRITE_ONCE(current_thread_info()->preempt.count, pc);
count              64 arch/arm64/include/asm/preempt.h 	WRITE_ONCE(ti->preempt.count, --pc);
count              37 arch/arm64/include/asm/thread_info.h 			u32	count;
count              39 arch/arm64/include/asm/thread_info.h 			u32	count;
count             431 arch/arm64/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count              52 arch/arm64/kernel/cpuidle.c 	int i, count;
count              66 arch/arm64/kernel/cpuidle.c 	count = pr->power.count - 1;
count              67 arch/arm64/kernel/cpuidle.c 	if (count <= 0)
count              70 arch/arm64/kernel/cpuidle.c 	for (i = 0; i < count; i++) {
count              64 arch/arm64/kernel/crash_dump.c ssize_t elfcorehdr_read(char *buf, size_t count, u64 *ppos)
count              66 arch/arm64/kernel/crash_dump.c 	memcpy(buf, phys_to_virt((phys_addr_t)*ppos), count);
count              67 arch/arm64/kernel/crash_dump.c 	return count;
count              15 arch/arm64/kernel/io.c void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
count              17 arch/arm64/kernel/io.c 	while (count && !IS_ALIGNED((unsigned long)from, 8)) {
count              21 arch/arm64/kernel/io.c 		count--;
count              24 arch/arm64/kernel/io.c 	while (count >= 8) {
count              28 arch/arm64/kernel/io.c 		count -= 8;
count              31 arch/arm64/kernel/io.c 	while (count) {
count              35 arch/arm64/kernel/io.c 		count--;
count              43 arch/arm64/kernel/io.c void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
count              45 arch/arm64/kernel/io.c 	while (count && !IS_ALIGNED((unsigned long)to, 8)) {
count              49 arch/arm64/kernel/io.c 		count--;
count              52 arch/arm64/kernel/io.c 	while (count >= 8) {
count              56 arch/arm64/kernel/io.c 		count -= 8;
count              59 arch/arm64/kernel/io.c 	while (count) {
count              63 arch/arm64/kernel/io.c 		count--;
count              71 arch/arm64/kernel/io.c void __memset_io(volatile void __iomem *dst, int c, size_t count)
count              79 arch/arm64/kernel/io.c 	while (count && !IS_ALIGNED((unsigned long)dst, 8)) {
count              82 arch/arm64/kernel/io.c 		count--;
count              85 arch/arm64/kernel/io.c 	while (count >= 8) {
count              88 arch/arm64/kernel/io.c 		count -= 8;
count              91 arch/arm64/kernel/io.c 	while (count) {
count              94 arch/arm64/kernel/io.c 		count--;
count             536 arch/arm64/kernel/process.c 	int count = 0;
count             553 arch/arm64/kernel/process.c 	} while (count ++ < 16);
count             478 arch/arm64/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count             491 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &info, 0,
count             498 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, offset,
count             506 arch/arm64/kernel/ptrace.c 	while (count && offset < limit) {
count             510 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &addr,
count             519 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &ctrl,
count             525 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             539 arch/arm64/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count             549 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset);
count             555 arch/arm64/kernel/ptrace.c 	while (count && offset < limit) {
count             556 arch/arm64/kernel/ptrace.c 		if (count < PTRACE_HBP_ADDR_SZ)
count             558 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr,
count             567 arch/arm64/kernel/ptrace.c 		if (!count)
count             569 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl,
count             578 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             593 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             597 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1);
count             601 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             607 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1);
count             630 arch/arm64/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             639 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs,
count             644 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             653 arch/arm64/kernel/ptrace.c 	return __fpr_get(target, regset, pos, count, kbuf, ubuf, 0);
count             658 arch/arm64/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             673 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate,
count             684 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             692 arch/arm64/kernel/ptrace.c 	ret = __fpr_set(target, regset, pos, count, kbuf, ubuf, 0);
count             703 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             711 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1);
count             715 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             721 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1);
count             731 arch/arm64/kernel/ptrace.c 			   unsigned int pos, unsigned int count,
count             736 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             742 arch/arm64/kernel/ptrace.c 			   unsigned int pos, unsigned int count,
count             748 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &syscallno, 0, -1);
count             798 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             813 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &header,
count             825 arch/arm64/kernel/ptrace.c 		return __fpr_get(target, regset, pos, count, kbuf, ubuf,
count             833 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             841 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             852 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             860 arch/arm64/kernel/ptrace.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             866 arch/arm64/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             878 arch/arm64/kernel/ptrace.c 	if (count < sizeof(header))
count             880 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &header,
count             901 arch/arm64/kernel/ptrace.c 		ret = __fpr_set(target, regset, pos, count, kbuf, ubuf,
count             914 arch/arm64/kernel/ptrace.c 	if (count && vq != sve_vq_from_vl(header.vl)) {
count             932 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             940 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             951 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             965 arch/arm64/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count             982 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &uregs, 0, -1);
count            1021 arch/arm64/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1032 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1038 arch/arm64/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1049 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1072 arch/arm64/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1083 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1089 arch/arm64/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1100 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1243 arch/arm64/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1250 arch/arm64/kernel/ptrace.c 	num_regs = count / regset->size;
count            1296 arch/arm64/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1304 arch/arm64/kernel/ptrace.c 	num_regs = count / regset->size;
count            1358 arch/arm64/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1378 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs,
count            1381 arch/arm64/kernel/ptrace.c 	if (count && !ret) {
count            1385 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &fpscr,
count            1394 arch/arm64/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1407 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0,
count            1410 arch/arm64/kernel/ptrace.c 	if (count && !ret) {
count            1411 arch/arm64/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &fpscr,
count            1425 arch/arm64/kernel/ptrace.c 			  unsigned int count, void *kbuf, void __user *ubuf)
count            1428 arch/arm64/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1);
count            1433 arch/arm64/kernel/ptrace.c 			  unsigned int count, const void *kbuf,
count            1439 arch/arm64/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1);
count              76 arch/arm64/kernel/sys32.c 		       size_t, count, u32, __pad, arg_u32p(pos))
count              78 arch/arm64/kernel/sys32.c 	return ksys_pread64(fd, buf, count, arg_u64(pos));
count              82 arch/arm64/kernel/sys32.c 		       const char __user *, buf, size_t, count, u32, __pad,
count              85 arch/arm64/kernel/sys32.c 	return ksys_pwrite64(fd, buf, count, arg_u64(pos));
count             101 arch/arm64/kernel/sys32.c 		       arg_u32p(offset), size_t, count)
count             103 arch/arm64/kernel/sys32.c 	return ksys_readahead(fd, arg_u64(offset), count);
count            2602 arch/arm64/kvm/sys_regs.c 	unsigned int i, count = 0;
count            2606 arch/arm64/kvm/sys_regs.c 			count++;
count            2608 arch/arm64/kvm/sys_regs.c 	return count;
count              28 arch/c6x/include/asm/syscalls.h 			  size_t count, off_t pos_low, off_t pos_high);
count              30 arch/c6x/include/asm/syscalls.h 			   size_t count, off_t pos_low, off_t pos_high);
count              60 arch/c6x/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              65 arch/c6x/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              33 arch/c6x/kernel/soc.c 	int count, i, val;
count              35 arch/c6x/kernel/soc.c 	for (count = 0; count < 6 && *str; count++, str += 3) {
count              38 arch/c6x/kernel/soc.c 		if (str[2] != ((count < 5) ? ':' : '\0'))
count              46 arch/c6x/kernel/soc.c 		cmdline_mac[count] = val;
count             392 arch/csky/include/asm/uaccess.h long strncpy_from_user(char *dst, const char *src, long count);
count             393 arch/csky/include/asm/uaccess.h long __strncpy_from_user(char *dst, const char *src, long count);
count             936 arch/csky/kernel/perf_event.c 	local64_add(delta, &event->count);
count              99 arch/csky/kernel/process.c 	int count = 0;
count             120 arch/csky/kernel/process.c 	} while (count++ < 16);
count              74 arch/csky/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              84 arch/csky/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
count              89 arch/csky/kernel/ptrace.c 		    unsigned int pos, unsigned int count,
count              95 arch/csky/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &regs, 0, -1);
count             112 arch/csky/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             129 arch/csky/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tmp, 0, -1);
count             131 arch/csky/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
count             137 arch/csky/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             147 arch/csky/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tmp, 0, -1);
count             159 arch/csky/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
count              27 arch/csky/lib/usercopy.c #define __do_strncpy_from_user(dst, src, count, res)	\
count              53 arch/csky/lib/usercopy.c 	: "=r"(res), "=r"(count), "=r"(dst),		\
count              55 arch/csky/lib/usercopy.c 	: "5"(-EFAULT), "0"(count), "1"(count),		\
count              81 arch/csky/lib/usercopy.c long __strncpy_from_user(char *dst, const char *src, long count)
count              85 arch/csky/lib/usercopy.c 	__do_strncpy_from_user(dst, src, count, res);
count             108 arch/csky/lib/usercopy.c long strncpy_from_user(char *dst, const char *src, long count)
count             113 arch/csky/lib/usercopy.c 		__do_strncpy_from_user(dst, src, count, res);
count              11 arch/h8300/include/asm/string.h extern void *memset(void *s, int c, size_t count);
count              14 arch/h8300/include/asm/string.h extern void *memcpy(void *d, const void *s, size_t count);
count             137 arch/h8300/kernel/process.c 	int count = 0;
count             152 arch/h8300/kernel/process.c 	} while (count++ < 16);
count              90 arch/h8300/kernel/ptrace.c 		    unsigned int pos, unsigned int count,
count             102 arch/h8300/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             108 arch/h8300/kernel/ptrace.c 		    unsigned int pos, unsigned int count,
count             121 arch/h8300/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             187 arch/hexagon/include/asm/io.h 	int count)
count             189 arch/hexagon/include/asm/io.h 	memcpy(dst, (void *) src, count);
count             193 arch/hexagon/include/asm/io.h 	int count)
count             195 arch/hexagon/include/asm/io.h 	memcpy((void *) dst, src, count);
count             255 arch/hexagon/include/asm/io.h static inline void insb(unsigned long port, void *buffer, int count)
count             257 arch/hexagon/include/asm/io.h 	if (count) {
count             262 arch/hexagon/include/asm/io.h 		} while (--count);
count             266 arch/hexagon/include/asm/io.h static inline void insw(unsigned long port, void *buffer, int count)
count             268 arch/hexagon/include/asm/io.h 	if (count) {
count             273 arch/hexagon/include/asm/io.h 		} while (--count);
count             277 arch/hexagon/include/asm/io.h static inline void insl(unsigned long port, void *buffer, int count)
count             279 arch/hexagon/include/asm/io.h 	if (count) {
count             284 arch/hexagon/include/asm/io.h 		} while (--count);
count             288 arch/hexagon/include/asm/io.h static inline void outsb(unsigned long port, const void *buffer, int count)
count             290 arch/hexagon/include/asm/io.h 	if (count) {
count             294 arch/hexagon/include/asm/io.h 		} while (--count);
count             298 arch/hexagon/include/asm/io.h static inline void outsw(unsigned long port, const void *buffer, int count)
count             300 arch/hexagon/include/asm/io.h 	if (count) {
count             304 arch/hexagon/include/asm/io.h 		} while (--count);
count             308 arch/hexagon/include/asm/io.h static inline void outsl(unsigned long port, const void *buffer, int count)
count             310 arch/hexagon/include/asm/io.h 	if (count) {
count             314 arch/hexagon/include/asm/io.h 		} while (--count);
count              58 arch/hexagon/include/asm/uaccess.h __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count);
count             137 arch/hexagon/kernel/process.c 	int count = 0;
count             151 arch/hexagon/kernel/process.c 	} while (count++ < 16);
count              38 arch/hexagon/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              55 arch/hexagon/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              60 arch/hexagon/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, \
count              87 arch/hexagon/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count              94 arch/hexagon/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             104 arch/hexagon/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             109 arch/hexagon/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \
count             138 arch/hexagon/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count              54 arch/hexagon/kernel/time.c 	u32 count;
count              22 arch/hexagon/mm/uaccess.c __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count)
count              26 arch/hexagon/mm/uaccess.c 	while (count > PAGE_SIZE) {
count              29 arch/hexagon/mm/uaccess.c 			return count - (PAGE_SIZE - uncleared);
count              30 arch/hexagon/mm/uaccess.c 		count -= PAGE_SIZE;
count              33 arch/hexagon/mm/uaccess.c 	if (count)
count              34 arch/hexagon/mm/uaccess.c 		count = raw_copy_to_user(dest, &empty_zero_page, count);
count              36 arch/hexagon/mm/uaccess.c 	return count;
count              39 arch/hexagon/mm/uaccess.c unsigned long clear_user_hexagon(void __user *dest, unsigned long count)
count              41 arch/hexagon/mm/uaccess.c 	if (!access_ok(dest, count))
count              42 arch/hexagon/mm/uaccess.c 		return count;
count              44 arch/hexagon/mm/uaccess.c 		return __clear_user_hexagon(dest, count);
count              96 arch/ia64/include/asm/io.h extern int valid_phys_addr_range (phys_addr_t addr, size_t count); /* efi.c */
count              97 arch/ia64/include/asm/io.h extern int valid_mmap_phys_addr_range (unsigned long pfn, size_t count);
count             200 arch/ia64/include/asm/io.h static inline void insb(unsigned long port, void *dst, unsigned long count)
count             204 arch/ia64/include/asm/io.h 	while (count--)
count             209 arch/ia64/include/asm/io.h static inline void insw(unsigned long port, void *dst, unsigned long count)
count             213 arch/ia64/include/asm/io.h 	while (count--)
count             218 arch/ia64/include/asm/io.h static inline void insl(unsigned long port, void *dst, unsigned long count)
count             222 arch/ia64/include/asm/io.h 	while (count--)
count             228 arch/ia64/include/asm/io.h 		unsigned long count)
count             232 arch/ia64/include/asm/io.h 	while (count--)
count             238 arch/ia64/include/asm/io.h 		unsigned long count)
count             242 arch/ia64/include/asm/io.h 	while (count--)
count             248 arch/ia64/include/asm/io.h 		unsigned long count)
count             252 arch/ia64/include/asm/io.h 	while (count--)
count            1441 arch/ia64/include/asm/pal.h 	u32		count[2];
count            1459 arch/ia64/include/asm/pal.h 		ptce->count[0] = iprv.v1 >> 32;
count            1460 arch/ia64/include/asm/pal.h 		ptce->count[1] = iprv.v1 & 0xffffffff;
count             199 arch/ia64/include/asm/uaccess.h 					       unsigned long count);
count             202 arch/ia64/include/asm/uaccess.h raw_copy_to_user(void __user *to, const void *from, unsigned long count)
count             204 arch/ia64/include/asm/uaccess.h 	return __copy_user(to, (__force void __user *) from, count);
count             208 arch/ia64/include/asm/uaccess.h raw_copy_from_user(void *to, const void __user *from, unsigned long count)
count             210 arch/ia64/include/asm/uaccess.h 	return __copy_user((__force void __user *) to, from, count);
count             162 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_shrp(a, b, count)								\
count             165 arch/ia64/include/uapi/asm/gcc_intrin.h 	asm ("shrp %0=%1,%2,%3" : "=r"(ia64_intri_res) : "r"(a), "r"(b), "i"(count));	\
count             186 arch/ia64/kernel/efi.c prefix##_get_next_high_mono_count (u32 *count)				       \
count             194 arch/ia64/kernel/efi.c 				adjust_arg(count));			       \
count             137 arch/ia64/kernel/iosapic.c 	int		count;		/* # of registered RTEs */
count             293 arch/ia64/kernel/iosapic.c 	if (!iosapic_intr_info[irq].count)
count             312 arch/ia64/kernel/iosapic.c 	if (!iosapic_intr_info[irq].count)
count             346 arch/ia64/kernel/iosapic.c 	if (!iosapic_intr_info[irq].count)
count             500 arch/ia64/kernel/iosapic.c 			if (min_count == -1 || info->count < min_count) {
count             502 arch/ia64/kernel/iosapic.c 				min_count = info->count;
count             518 arch/ia64/kernel/iosapic.c 	if (iosapic_intr_info[irq].count) {
count             538 arch/ia64/kernel/iosapic.c 	return (iosapic_intr_info[irq].count > 1);
count             578 arch/ia64/kernel/iosapic.c 		iosapic_intr_info[irq].count++;
count             583 arch/ia64/kernel/iosapic.c 		if (info->count > 0 &&
count             591 arch/ia64/kernel/iosapic.c 		iosapic_intr_info[irq].count++;
count             628 arch/ia64/kernel/iosapic.c 	if (iosapic_intr_info[irq].count)
count             731 arch/ia64/kernel/iosapic.c 		if(iosapic_intr_info[irq].count == 0) {
count             819 arch/ia64/kernel/iosapic.c 	iosapic_intr_info[irq].count--;
count             833 arch/ia64/kernel/iosapic.c 	if (iosapic_intr_info[irq].count == 0) {
count             958 arch/ia64/kernel/iosapic.c 		iosapic_intr_info[irq].count = 0;
count             551 arch/ia64/kernel/mca.c 		int i, count = 1; /* we know 1 happened now */
count             556 arch/ia64/kernel/mca.c 				count++;
count             559 arch/ia64/kernel/mca.c 		IA64_MCA_DEBUG(KERN_INFO "CPE threshold %d/%d\n", count, CPE_HISTORY_LENGTH);
count             560 arch/ia64/kernel/mca.c 		if (count >= CPE_HISTORY_LENGTH) {
count            1407 arch/ia64/kernel/mca.c 		int i, count = 1; /* we know 1 happened now */
count            1412 arch/ia64/kernel/mca.c 				count++;
count            1415 arch/ia64/kernel/mca.c 		IA64_MCA_DEBUG(KERN_INFO "CMC threshold %d/%d\n", count, CMC_HISTORY_LENGTH);
count            1416 arch/ia64/kernel/mca.c 		if (count >= CMC_HISTORY_LENGTH) {
count             369 arch/ia64/kernel/palinfo.c 		     ptce.base, ptce.count[0], ptce.count[1],
count             473 arch/ia64/kernel/perfmon.c 	int		(*cmd_func)(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
count             577 arch/ia64/kernel/perfmon.c static int pfm_context_unload(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
count             638 arch/ia64/kernel/perfmon.c static int pfm_write_ibr_dbr(int mode, pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
count            2582 arch/ia64/kernel/perfmon.c pfm_context_create(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            2766 arch/ia64/kernel/perfmon.c pfm_write_pmcs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            2801 arch/ia64/kernel/perfmon.c 	for (i = 0; i < count; i++, req++) {
count            3006 arch/ia64/kernel/perfmon.c pfm_write_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3044 arch/ia64/kernel/perfmon.c 	for (i = 0; i < count; i++, req++) {
count            3202 arch/ia64/kernel/perfmon.c pfm_read_pmds(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3255 arch/ia64/kernel/perfmon.c 	for (i = 0; i < count; i++, req++) {
count            3455 arch/ia64/kernel/perfmon.c pfm_restart(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3608 arch/ia64/kernel/perfmon.c pfm_debug(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3627 arch/ia64/kernel/perfmon.c pfm_write_ibr_dbr(int mode, pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3737 arch/ia64/kernel/perfmon.c 	for (i = 0; i < count; i++, req++) {
count            3746 arch/ia64/kernel/perfmon.c 				  rnum, dbreg.val, mode, i, count));
count            3822 arch/ia64/kernel/perfmon.c pfm_write_ibrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3824 arch/ia64/kernel/perfmon.c 	return pfm_write_ibr_dbr(PFM_CODE_RR, ctx, arg, count, regs);
count            3828 arch/ia64/kernel/perfmon.c pfm_write_dbrs(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3830 arch/ia64/kernel/perfmon.c 	return pfm_write_ibr_dbr(PFM_DATA_RR, ctx, arg, count, regs);
count            3877 arch/ia64/kernel/perfmon.c pfm_get_features(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3886 arch/ia64/kernel/perfmon.c pfm_stop(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            3975 arch/ia64/kernel/perfmon.c pfm_start(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            4056 arch/ia64/kernel/perfmon.c pfm_get_pmc_reset(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            4063 arch/ia64/kernel/perfmon.c 	for (i = 0; i < count; i++, req++) {
count            4105 arch/ia64/kernel/perfmon.c pfm_context_load(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            4362 arch/ia64/kernel/perfmon.c pfm_context_unload(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs)
count            4707 arch/ia64/kernel/perfmon.c sys_perfmonctl (int fd, int cmd, void __user *arg, int count)
count            4716 arch/ia64/kernel/perfmon.c 	int (*func)(pfm_context_t *ctx, void *arg, int count, struct pt_regs *regs);
count            4746 arch/ia64/kernel/perfmon.c 		count));
count            4751 arch/ia64/kernel/perfmon.c 	if (unlikely((narg == PFM_CMD_ARG_MANY && count <= 0) || (narg > 0 && narg != count)))
count            4755 arch/ia64/kernel/perfmon.c 	sz = xtra_sz + base_sz*count;
count            4767 arch/ia64/kernel/perfmon.c 	if (likely(count && args_k == NULL)) {
count            4832 arch/ia64/kernel/perfmon.c 	ret = (*func)(ctx, args_k, count, task_pt_regs(current));
count            4843 arch/ia64/kernel/perfmon.c 	if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT;
count            6701 arch/ia64/kernel/perfmon.c sys_perfmonctl (int fd, int cmd, void *arg, int count)
count             598 arch/ia64/kernel/process.c 	int count = 0;
count             620 arch/ia64/kernel/process.c 	} while (count++ < 16);
count            1273 arch/ia64/kernel/ptrace.c 	unsigned int count;
count            1525 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(1)) {
count            1526 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout_zero(&dst->pos, &dst->count,
count            1530 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1535 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(16)) {
count            1537 arch/ia64/kernel/ptrace.c 		min_copy = ELF_GR_OFFSET(16) > (dst->pos + dst->count) ?
count            1538 arch/ia64/kernel/ptrace.c 			 (dst->pos + dst->count) : ELF_GR_OFFSET(16);
count            1546 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout(&dst->pos, &dst->count,
count            1549 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1554 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_NAT_OFFSET) {
count            1556 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout(&dst->pos, &dst->count,
count            1559 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1564 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_CR_IIP_OFFSET) {
count            1566 arch/ia64/kernel/ptrace.c 		min_copy = ELF_CR_IIP_OFFSET > (dst->pos + dst->count) ?
count            1567 arch/ia64/kernel/ptrace.c 			 (dst->pos + dst->count) : ELF_CR_IIP_OFFSET;
count            1575 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout(&dst->pos, &dst->count,
count            1578 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1585 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < (ELF_AR_END_OFFSET)) {
count            1587 arch/ia64/kernel/ptrace.c 		min_copy = ELF_AR_END_OFFSET > (dst->pos + dst->count) ?
count            1588 arch/ia64/kernel/ptrace.c 			 (dst->pos + dst->count) : ELF_AR_END_OFFSET;
count            1596 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout(&dst->pos, &dst->count,
count            1613 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(1)) {
count            1614 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin_ignore(&dst->pos, &dst->count,
count            1618 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1623 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(16)) {
count            1626 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1637 arch/ia64/kernel/ptrace.c 		if (dst->count == 0)
count            1642 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_NAT_OFFSET) {
count            1644 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1647 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1652 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_CR_IIP_OFFSET) {
count            1655 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1666 arch/ia64/kernel/ptrace.c 		if (dst->count == 0)
count            1673 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < (ELF_AR_END_OFFSET)) {
count            1676 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1703 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_FP_OFFSET(2)) {
count            1704 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout_zero(&dst->pos, &dst->count,
count            1708 arch/ia64/kernel/ptrace.c 		if (dst->count == 0 || dst->ret)
count            1713 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_FP_OFFSET(32)) {
count            1717 arch/ia64/kernel/ptrace.c 				dst->pos + dst->count);
count            1725 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyout(&dst->pos, &dst->count,
count            1728 arch/ia64/kernel/ptrace.c 		if (dst->count == 0 || dst->ret)
count            1733 arch/ia64/kernel/ptrace.c 	if (dst->count > 0) {
count            1737 arch/ia64/kernel/ptrace.c 				&dst->pos, &dst->count,
count            1744 arch/ia64/kernel/ptrace.c 				&dst->pos, &dst->count,
count            1760 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_FP_OFFSET(2)) {
count            1761 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin_ignore(&dst->pos, &dst->count,
count            1765 arch/ia64/kernel/ptrace.c 		if (dst->count == 0 || dst->ret)
count            1770 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_FP_OFFSET(32)) {
count            1773 arch/ia64/kernel/ptrace.c 			 dst->pos + dst->count);
count            1774 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1808 arch/ia64/kernel/ptrace.c 		if (dst->ret || dst->count == 0)
count            1813 arch/ia64/kernel/ptrace.c 	if (dst->count > 0 && dst->pos < ELF_FP_OFFSET(128)) {
count            1815 arch/ia64/kernel/ptrace.c 		dst->ret = user_regset_copyin(&dst->pos, &dst->count,
count            1827 arch/ia64/kernel/ptrace.c 	       unsigned int pos, unsigned int count,
count            1831 arch/ia64/kernel/ptrace.c 				 .pos = pos, .count = count,
count            1850 arch/ia64/kernel/ptrace.c 	   unsigned int pos, unsigned int count,
count            1853 arch/ia64/kernel/ptrace.c 	return do_regset_call(do_gpregs_get, target, regset, pos, count,
count            1859 arch/ia64/kernel/ptrace.c 		unsigned int pos, unsigned int count,
count            1862 arch/ia64/kernel/ptrace.c 	return do_regset_call(do_gpregs_set, target, regset, pos, count,
count            1896 arch/ia64/kernel/ptrace.c 		unsigned int pos, unsigned int count,
count            1899 arch/ia64/kernel/ptrace.c 	return do_regset_call(do_fpregs_get, target, regset, pos, count,
count            1905 arch/ia64/kernel/ptrace.c 		unsigned int pos, unsigned int count,
count            1908 arch/ia64/kernel/ptrace.c 	return do_regset_call(do_fpregs_set, target, regset, pos, count,
count            2151 arch/ia64/kernel/ptrace.c 	int i, count;
count            2160 arch/ia64/kernel/ptrace.c 	count = 0;
count            2162 arch/ia64/kernel/ptrace.c 		count = min_t(int, args->n, cfm & 0x7f);
count            2164 arch/ia64/kernel/ptrace.c 	for (i = 0; i < count; i++) {
count             283 arch/ia64/kernel/salinfo.c salinfo_event_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
count             326 arch/ia64/kernel/salinfo.c 	if (size > count)
count             327 arch/ia64/kernel/salinfo.c 		size = count;
count             434 arch/ia64/kernel/salinfo.c salinfo_log_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
count             450 arch/ia64/kernel/salinfo.c 	return simple_read_from_buffer(buffer, count, ppos, buf, bufsize);
count             495 arch/ia64/kernel/salinfo.c salinfo_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
count             504 arch/ia64/kernel/salinfo.c 	if (count < size)
count             505 arch/ia64/kernel/salinfo.c 		size = count;
count             514 arch/ia64/kernel/salinfo.c 			count = ret;
count             527 arch/ia64/kernel/salinfo.c 			count = work_on_cpu_safe(cpu, salinfo_platform_oemdata_cpu,
count             534 arch/ia64/kernel/salinfo.c 	return count;
count              57 arch/ia64/kernel/smp.c 	unsigned int count;
count             249 arch/ia64/kernel/smp.c 	ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq);
count             266 arch/ia64/kernel/smp.c 		counts[cpu] = local_tlb_flush_counts[cpu].count & 0xffff;
count             280 arch/ia64/kernel/smp.c 		while(counts[cpu] == (local_tlb_flush_counts[cpu].count & 0xffff))
count             238 arch/ia64/kernel/topology.c 	ssize_t (*store)(struct cache_info *, const char *, size_t count);
count             272 arch/ia64/kernel/traps.c 	unsigned long count;
count             296 arch/ia64/kernel/traps.c 		unsigned long count, current_jiffies = jiffies;
count             300 arch/ia64/kernel/traps.c 			cp->count = 0;
count             301 arch/ia64/kernel/traps.c 		if (unlikely(cp->count < 5)) {
count             302 arch/ia64/kernel/traps.c 			cp->count++;
count             306 arch/ia64/kernel/traps.c 			count = last.count;
count             316 arch/ia64/kernel/traps.c 				(void) cmpxchg_acq(&last.count, count, 16 + (count & ~15));
count             319 arch/ia64/kernel/traps.c 			if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) {
count            1328 arch/ia64/kernel/unwind.c 	script->count = 0;
count            1348 arch/ia64/kernel/unwind.c 	if (script->count >= UNW_MAX_SCRIPT_LEN) {
count            1353 arch/ia64/kernel/unwind.c 	script->insn[script->count++] = insn;
count            1730 arch/ia64/kernel/unwind.c 	limit = script->insn + script->count;
count             163 arch/ia64/kernel/unwind_i.h 	unsigned short count;		/* number of instructions in script */
count              37 arch/ia64/lib/csum_partial_copy.c 	int odd, count;
count              48 arch/ia64/lib/csum_partial_copy.c 	count = len >> 1;		/* nr of 16-bit words.. */
count              49 arch/ia64/lib/csum_partial_copy.c 	if (count) {
count              52 arch/ia64/lib/csum_partial_copy.c 			count--;
count              56 arch/ia64/lib/csum_partial_copy.c 		count >>= 1;		/* nr of 32-bit words.. */
count              57 arch/ia64/lib/csum_partial_copy.c 		if (count) {
count              60 arch/ia64/lib/csum_partial_copy.c 				count--;
count              64 arch/ia64/lib/csum_partial_copy.c 			count >>= 1;	/* nr of 64-bit words.. */
count              65 arch/ia64/lib/csum_partial_copy.c 			if (count) {
count              69 arch/ia64/lib/csum_partial_copy.c 					count--;
count              74 arch/ia64/lib/csum_partial_copy.c 				} while (count);
count              11 arch/ia64/lib/io.c void memcpy_fromio(void *to, const volatile void __iomem *from, long count)
count              15 arch/ia64/lib/io.c 	while (count) {
count              16 arch/ia64/lib/io.c 		count--;
count              26 arch/ia64/lib/io.c void memcpy_toio(volatile void __iomem *to, const void *from, long count)
count              30 arch/ia64/lib/io.c 	while (count) {
count              31 arch/ia64/lib/io.c 		count--;
count              41 arch/ia64/lib/io.c void memset_io(volatile void __iomem *dst, int c, long count)
count              45 arch/ia64/lib/io.c 	while (count) {
count              46 arch/ia64/lib/io.c 		count--;
count             388 arch/ia64/mm/tlb.c 	local_cpu_data->ptce_count[0] = ptce_info.count[0];
count             389 arch/ia64/mm/tlb.c 	local_cpu_data->ptce_count[1] = ptce_info.count[1];
count              74 arch/ia64/oprofile/backtrace.c 	int count = 0;
count              90 arch/ia64/oprofile/backtrace.c 	} while (count++ < 200);
count              99 arch/m68k/amiga/config.c extern void amiga_mksound(unsigned int count, unsigned int ticks);
count             103 arch/m68k/amiga/config.c 				    unsigned int count);
count             637 arch/m68k/amiga/config.c 				    unsigned int count)
count             639 arch/m68k/amiga/config.c 	if (savekmsg->size + count <= SAVEKMSG_MAXMEM-sizeof(struct savekmsg)) {
count             640 arch/m68k/amiga/config.c 		memcpy(savekmsg->data + savekmsg->size, s, count);
count             641 arch/m68k/amiga/config.c 		savekmsg->size += count;
count             682 arch/m68k/amiga/config.c 				       unsigned int count)
count             684 arch/m68k/amiga/config.c 	while (count--) {
count             118 arch/m68k/apollo/config.c void dn_serial_console_write (struct console *co, const char *str,unsigned int count)
count             120 arch/m68k/apollo/config.c    while(count--) {
count              74 arch/m68k/atari/config.c extern void atari_mksound(unsigned int count, unsigned int ticks);
count              43 arch/m68k/atari/debug.c 				    unsigned int count)
count              45 arch/m68k/atari/debug.c 	while (count--) {
count              62 arch/m68k/atari/debug.c 				    unsigned int count)
count              64 arch/m68k/atari/debug.c 	while (count--) {
count              79 arch/m68k/atari/debug.c 				     unsigned int count)
count              81 arch/m68k/atari/debug.c 	while (count--) {
count             110 arch/m68k/atari/debug.c 				    unsigned int count)
count             117 arch/m68k/atari/debug.c 	while (count--) {
count              97 arch/m68k/atari/nvram.c ssize_t atari_nvram_read(char *buf, size_t count, loff_t *ppos)
count             107 arch/m68k/atari/nvram.c 	for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p)
count             115 arch/m68k/atari/nvram.c ssize_t atari_nvram_write(char *buf, size_t count, loff_t *ppos)
count             125 arch/m68k/atari/nvram.c 	for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p)
count              77 arch/m68k/atari/time.c 	u8 count;
count              84 arch/m68k/atari/time.c 	count = min(st_mfp.tim_dt_c, last_timer_count);
count              85 arch/m68k/atari/time.c 	last_timer_count = count;
count              87 arch/m68k/atari/time.c 	ticks = INT_TICKS - count;
count              35 arch/m68k/emu/nfblock.c 				  u32 count, u32 buf)
count              38 arch/m68k/emu/nfblock.c 		       count, buf);
count              26 arch/m68k/emu/nfcon.c static void nfputs(const char *str, unsigned int count)
count              32 arch/m68k/emu/nfcon.c 	while (count > 64) {
count              36 arch/m68k/emu/nfcon.c 		count -= 64;
count              38 arch/m68k/emu/nfcon.c 	memcpy(buf, str, count);
count              39 arch/m68k/emu/nfcon.c 	buf[count] = 0;
count              44 arch/m68k/emu/nfcon.c 			unsigned int count)
count              46 arch/m68k/emu/nfcon.c 	nfputs(str, count);
count              74 arch/m68k/emu/nfcon.c 			   int count)
count              76 arch/m68k/emu/nfcon.c 	nfputs(buf, count);
count              77 arch/m68k/emu/nfcon.c 	return count;
count            23022 arch/m68k/ifpsp060/src/fpsp.S #	if negative, count the trailing zeros.  Set the adjusted	#
count            12982 arch/m68k/ifpsp060/src/pfpsp.S #	if negative, count the trailing zeros.  Set the adjusted	#
count              39 arch/m68k/include/asm/adb_iop.h 	__u8 count;		/* no. of data bytes */
count             262 arch/m68k/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count             267 arch/m68k/include/asm/dma.h   printk("set_dma_count(dmanr=%d,count=%d)\n", dmanr, count);
count             271 arch/m68k/include/asm/dma.h   dmawp[MCFDMA_BCR] = (unsigned short)count;
count             283 arch/m68k/include/asm/dma.h   unsigned short count;
count             290 arch/m68k/include/asm/dma.h   count = dmawp[MCFDMA_BCR];
count             291 arch/m68k/include/asm/dma.h   return((int) count);
count             448 arch/m68k/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count             453 arch/m68k/include/asm/dma.h   printk("set_dma_count(dmanr=%d,count=%d)\n", dmanr, count);
count             457 arch/m68k/include/asm/dma.h   dmalp[MCFDMA_DBCR] = count;
count             469 arch/m68k/include/asm/dma.h   unsigned int count;
count             476 arch/m68k/include/asm/dma.h   count = dmalp[MCFDMA_DBCR];
count             477 arch/m68k/include/asm/dma.h   return(count);
count              62 arch/m68k/include/asm/fbio.h         int             count;
count             200 arch/m68k/include/asm/fbio.h  	__u32	count;
count             210 arch/m68k/include/asm/fbio.h  	__u32	count;
count             307 arch/m68k/include/asm/fbio.h 	int             count;
count              42 arch/m68k/include/asm/kmap.h 			     int count)
count              44 arch/m68k/include/asm/kmap.h 	__builtin_memset((void __force *) addr, val, count);
count              49 arch/m68k/include/asm/kmap.h 				 int count)
count              51 arch/m68k/include/asm/kmap.h 	__builtin_memcpy(dst, (void __force *) src, count);
count              56 arch/m68k/include/asm/kmap.h 			       int count)
count              58 arch/m68k/include/asm/kmap.h 	__builtin_memcpy((void __force *) dst, src, count);
count               9 arch/m68k/include/asm/string.h static inline size_t strnlen(const char *s, size_t count)
count              20 arch/m68k/include/asm/string.h 		: "+a" (sc), "+d" (count));
count             383 arch/m68k/include/asm/uaccess_mm.h extern long strncpy_from_user(char *dst, const char __user *src, long count);
count             126 arch/m68k/include/asm/uaccess_no.h strncpy_from_user(char *dst, const char *src, long count)
count             129 arch/m68k/include/asm/uaccess_no.h 	strncpy(dst, src, count);
count             130 arch/m68k/include/asm/uaccess_no.h 	for (tmp = dst; *tmp && count > 0; tmp++, count--)
count              23 arch/m68k/kernel/bootinfo_proc.c 			  size_t count, loff_t *ppos)
count              25 arch/m68k/kernel/bootinfo_proc.c 	return simple_read_from_buffer(buf, count, ppos, bootinfo_copy,
count              16 arch/m68k/kernel/early_printk.c 			       const char *str, unsigned count);
count             251 arch/m68k/kernel/process.c 	int count = 0;
count             265 arch/m68k/kernel/process.c 	} while (count++ < 16);
count             570 arch/m68k/kernel/setup_mm.c static ssize_t m68k_nvram_read(char *buf, size_t count, loff_t *ppos)
count             573 arch/m68k/kernel/setup_mm.c 		return atari_nvram_read(buf, count, ppos);
count             575 arch/m68k/kernel/setup_mm.c 		return nvram_read_bytes(buf, count, ppos);
count             579 arch/m68k/kernel/setup_mm.c static ssize_t m68k_nvram_write(char *buf, size_t count, loff_t *ppos)
count             582 arch/m68k/kernel/setup_mm.c 		return atari_nvram_write(buf, count, ppos);
count             584 arch/m68k/kernel/setup_mm.c 		return nvram_write_bytes(buf, count, ppos);
count              10 arch/m68k/lib/memset.c void *memset(void *s, int c, size_t count)
count              15 arch/m68k/lib/memset.c 	if (!count)
count              24 arch/m68k/lib/memset.c 		count--;
count              26 arch/m68k/lib/memset.c 	if (count > 2 && (long)s & 2) {
count              30 arch/m68k/lib/memset.c 		count -= 2;
count              32 arch/m68k/lib/memset.c 	temp = count >> 2;
count              63 arch/m68k/lib/memset.c 	if (count & 2) {
count              68 arch/m68k/lib/memset.c 	if (count & 1) {
count             275 arch/m68k/mac/macboing.c 	int	i, count = mac_asc_samplespersec / HZ;
count             291 arch/m68k/mac/macboing.c 		for ( i = 0; i < count; i++ )
count             248 arch/m68k/mac/misc.c 	int count = 1;
count             273 arch/m68k/mac/misc.c 		if (++count > 10)
count             631 arch/m68k/mac/via.c 	u16 count;
count             649 arch/m68k/mac/via.c 	count = count_high << 8;
count             650 arch/m68k/mac/via.c 	ticks = VIA_TIMER_CYCLES - count;
count             151 arch/m68k/mvme147/config.c 	u16 count;
count             156 arch/m68k/mvme147/config.c 	count = m147_pcc->t1_count;
count             159 arch/m68k/mvme147/config.c 		count = m147_pcc->t1_count;
count             160 arch/m68k/mvme147/config.c 	count -= PCC_TIMER_PRELOAD;
count             161 arch/m68k/mvme147/config.c 	ticks = count + overflow * PCC_TIMER_CYCLES;
count             209 arch/m68k/mvme16x/config.c void mvme16x_cons_write(struct console *co, const char *str, unsigned count)
count             235 arch/m68k/mvme16x/config.c 				if (i == count) {
count              51 arch/m68k/q40/config.c 				  unsigned int count);
count              68 arch/m68k/q40/config.c 				  unsigned int count)
count              72 arch/m68k/q40/config.c 	if (count < _cpleft) {
count              73 arch/m68k/q40/config.c 		while (count-- > 0) {
count              77 arch/m68k/sun3x/prom.c                              unsigned int count)
count              79 arch/m68k/sun3x/prom.c 	while (count--) {
count              52 arch/microblaze/include/asm/pci.h 			   size_t count);
count              54 arch/microblaze/include/asm/pci.h 			   size_t count);
count             333 arch/microblaze/include/asm/uaccess.h strncpy_from_user(char *dst, const char __user *src, long count)
count             337 arch/microblaze/include/asm/uaccess.h 	return __strncpy_user(dst, src, count);
count             129 arch/microblaze/kernel/cpu/cache.c 	int count;							\
count             131 arch/microblaze/kernel/cpu/cache.c 	count = end - start;						\
count             132 arch/microblaze/kernel/cpu/cache.c 	WARN_ON(count < 0);						\
count             137 arch/microblaze/kernel/cpu/cache.c 					: : "r" (start), "r" (count),	\
count              59 arch/mips/bcm63xx/nvram.c 	int count;
count              68 arch/mips/bcm63xx/nvram.c 	count = mac_addr_used;
count              70 arch/mips/bcm63xx/nvram.c 	while (count--) {
count              71 arch/mips/boot/elf2ecoff.c 	int remaining, cur, count;
count              85 arch/mips/boot/elf2ecoff.c 		if ((count = read(in, ibuf, cur)) != cur) {
count              87 arch/mips/boot/elf2ecoff.c 				count ? strerror(errno) :
count              91 arch/mips/boot/elf2ecoff.c 		if ((count = write(out, ibuf, cur)) != cur) {
count             136 arch/mips/boot/elf2ecoff.c 	int count;
count             147 arch/mips/boot/elf2ecoff.c 	count = read(file, tmp, len);
count             148 arch/mips/boot/elf2ecoff.c 	if (count != len) {
count             151 arch/mips/boot/elf2ecoff.c 			count ? strerror(errno) : "End of file reached");
count             582 arch/mips/boot/elf2ecoff.c 					int count =
count             587 arch/mips/boot/elf2ecoff.c 					if (count < 0) {
count             593 arch/mips/boot/elf2ecoff.c 					gap -= count;
count              18 arch/mips/boot/tools/relocs.c 	unsigned long	count;
count             454 arch/mips/boot/tools/relocs.c 	if (r->count == r->size) {
count             464 arch/mips/boot/tools/relocs.c 	r->offset[r->count++] = offset;
count             613 arch/mips/boot/tools/relocs.c 	for (i = 0; i < relocs.count; i++)
count              83 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	sctx->count = 0;
count              95 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	partial = sctx->count % SHA1_BLOCK_SIZE;
count              96 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	sctx->count += len;
count             131 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	if ((sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE)
count             158 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	bits = cpu_to_be64(sctx->count << 3);
count             161 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	index = sctx->count & 0x3f;
count              78 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	sctx->count = 0;
count              95 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	sctx->count = 0;
count             107 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	partial = sctx->count % SHA256_BLOCK_SIZE;
count             108 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	sctx->count += len;
count             143 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	if ((sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE)
count             170 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	bits = cpu_to_be64(sctx->count << 3);
count             173 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	index = sctx->count & 0x3f;
count              89 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	sctx->count[0] = sctx->count[1] = 0;
count             106 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	sctx->count[0] = sctx->count[1] = 0;
count             119 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	index = sctx->count[0] % SHA512_BLOCK_SIZE;
count             122 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	if ((sctx->count[0] += len) < len)
count             123 arch/mips/cavium-octeon/crypto/octeon-sha512.c 		sctx->count[1]++;
count             157 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	if ((sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE)
count             184 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	bits[1] = cpu_to_be64(sctx->count[0] << 3);
count             185 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61);
count             188 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	index = sctx->count[0] & 0x7f;
count             193 arch/mips/cavium-octeon/csrc-octeon.c void octeon_io_clk_delay(unsigned long count)
count             199 arch/mips/cavium-octeon/csrc-octeon.c 		end = count * rdiv;
count             209 arch/mips/cavium-octeon/csrc-octeon.c 		end = cur + count;
count              75 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c 		pcsx_linkx_timer_count_reg.s.count =
count              79 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c 		pcsx_linkx_timer_count_reg.s.count =
count             683 arch/mips/cavium-octeon/octeon-platform.c 	int count = 0;
count             691 arch/mips/cavium-octeon/octeon-platform.c 		count = cvmx_helper_ports_on_interface(idx);
count             694 arch/mips/cavium-octeon/octeon-platform.c 		octeon_fdt_pip_port(iface, idx, p, count - 1);
count             211 arch/mips/cavium-octeon/smp.c 	int count;
count             221 arch/mips/cavium-octeon/smp.c 	count = 10000;
count             222 arch/mips/cavium-octeon/smp.c 	while (octeon_processor_sp && count) {
count             225 arch/mips/cavium-octeon/smp.c 		count--;
count             227 arch/mips/cavium-octeon/smp.c 	if (count == 0) {
count              19 arch/mips/fw/arc/arc_con.c 			       unsigned count)
count              22 arch/mips/fw/arc/arc_con.c 	while (count--) {
count              37 arch/mips/generic/board-ranchu.c 	unsigned int start, count;
count              62 arch/mips/generic/board-ranchu.c 	count = read_c0_count() - start;
count              71 arch/mips/generic/board-ranchu.c 	count += 5000;
count              72 arch/mips/generic/board-ranchu.c 	count -= count % 10000;
count              76 arch/mips/generic/board-ranchu.c 	return count;
count             270 arch/mips/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count             272 arch/mips/include/asm/dma.h 	count--;
count             274 arch/mips/include/asm/dma.h 	    dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count             275 arch/mips/include/asm/dma.h 	    dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count             277 arch/mips/include/asm/dma.h 	    dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count             278 arch/mips/include/asm/dma.h 	    dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count             297 arch/mips/include/asm/dma.h 	unsigned short count;
count             299 arch/mips/include/asm/dma.h 	count = 1 + dma_inb(io_port);
count             300 arch/mips/include/asm/dma.h 	count += dma_inb(io_port) << 8;
count             302 arch/mips/include/asm/dma.h 	return (dmanr<=3)? count : (count<<1);
count             523 arch/mips/include/asm/io.h 				const void *addr, unsigned int count)	\
count             527 arch/mips/include/asm/io.h 	while (count--) {						\
count             534 arch/mips/include/asm/io.h 			       unsigned int count)			\
count             538 arch/mips/include/asm/io.h 	while (count--) {						\
count             547 arch/mips/include/asm/io.h 			      unsigned int count)			\
count             551 arch/mips/include/asm/io.h 	while (count--) {						\
count             558 arch/mips/include/asm/io.h 			     unsigned int count)			\
count             562 arch/mips/include/asm/io.h 	while (count--) {						\
count             580 arch/mips/include/asm/io.h static inline void memset_io(volatile void __iomem *addr, unsigned char val, int count)
count             582 arch/mips/include/asm/io.h 	memset((void __force *) addr, val, count);
count             584 arch/mips/include/asm/io.h static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, int count)
count             586 arch/mips/include/asm/io.h 	memcpy(dst, (void __force *) src, count);
count             588 arch/mips/include/asm/io.h static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int count)
count             590 arch/mips/include/asm/io.h 	memcpy((void __force *) dst, src, count);
count             659 arch/mips/include/asm/io.h void __ioread64_copy(void *to, const void __iomem *from, size_t count);
count              23 arch/mips/include/asm/jazzdma.h extern void vdma_set_count(int channel, int count);
count             704 arch/mips/include/asm/kvm_host.h __BUILD_KVM_RW_SW(count,          32, MIPS_CP0_COUNT,        0)
count             894 arch/mips/include/asm/kvm_host.h 			  unsigned int count);
count             896 arch/mips/include/asm/kvm_host.h 			  unsigned int count);
count            1061 arch/mips/include/asm/kvm_host.h void kvm_mips_write_count(struct kvm_vcpu *vcpu, u32 count);
count            1073 arch/mips/include/asm/kvm_host.h ktime_t kvm_mips_freeze_hrtimer(struct kvm_vcpu *vcpu, u32 *count);
count            1075 arch/mips/include/asm/kvm_host.h 			     u32 count, int min_drift);
count             366 arch/mips/include/asm/mach-au1x00/au1000_dma.h static inline void set_dma_count0(unsigned int dmanr, unsigned int count)
count             372 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	count &= DMA_COUNT_MASK;
count             373 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER0_COUNT);
count             379 arch/mips/include/asm/mach-au1x00/au1000_dma.h static inline void set_dma_count1(unsigned int dmanr, unsigned int count)
count             385 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	count &= DMA_COUNT_MASK;
count             386 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER1_COUNT);
count             392 arch/mips/include/asm/mach-au1x00/au1000_dma.h static inline void set_dma_count(unsigned int dmanr, unsigned int count)
count             398 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	count &= DMA_COUNT_MASK;
count             399 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER0_COUNT);
count             400 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER1_COUNT);
count             434 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	int curBufCntReg, count;
count             443 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	count = __raw_readl(chan->io + curBufCntReg) & DMA_COUNT_MASK;
count             446 arch/mips/include/asm/mach-au1x00/au1000_dma.h 		count <<= 1;
count             448 arch/mips/include/asm/mach-au1x00/au1000_dma.h 		count <<= 2;
count             450 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	return count;
count              77 arch/mips/include/asm/mach-generic/floppy.h static inline void fd_set_dma_count(unsigned int count)
count              79 arch/mips/include/asm/mach-generic/floppy.h 	set_dma_count(FLOPPY_DMA, count);
count              60 arch/mips/include/asm/mach-generic/ide.h 	unsigned int count)
count              63 arch/mips/include/asm/mach-generic/ide.h 	insw(port, addr, count);
count              64 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 2);
count              68 arch/mips/include/asm/mach-generic/ide.h static inline void __ide_insl(unsigned long port, void *addr, unsigned int count)
count              71 arch/mips/include/asm/mach-generic/ide.h 	insl(port, addr, count);
count              72 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 4);
count              77 arch/mips/include/asm/mach-generic/ide.h 	unsigned long count)
count              80 arch/mips/include/asm/mach-generic/ide.h 	outsw(port, addr, count);
count              81 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 2);
count              86 arch/mips/include/asm/mach-generic/ide.h 	unsigned long count)
count              89 arch/mips/include/asm/mach-generic/ide.h 	outsl(port, addr, count);
count              90 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 4);
count              94 arch/mips/include/asm/mach-generic/ide.h static inline void __ide_mm_insw(void __iomem *port, void *addr, u32 count)
count              97 arch/mips/include/asm/mach-generic/ide.h 	readsw(port, addr, count);
count              98 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 2);
count             102 arch/mips/include/asm/mach-generic/ide.h static inline void __ide_mm_insl(void __iomem *port, void *addr, u32 count)
count             105 arch/mips/include/asm/mach-generic/ide.h 	readsl(port, addr, count);
count             106 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 4);
count             110 arch/mips/include/asm/mach-generic/ide.h static inline void __ide_mm_outsw(void __iomem *port, void *addr, u32 count)
count             113 arch/mips/include/asm/mach-generic/ide.h 	writesw(port, addr, count);
count             114 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 2);
count             118 arch/mips/include/asm/mach-generic/ide.h static inline void __ide_mm_outsl(void __iomem * port, void *addr, u32 count)
count             121 arch/mips/include/asm/mach-generic/ide.h 	writesl(port, addr, count);
count             122 arch/mips/include/asm/mach-generic/ide.h 	__ide_flush_dcache_range((unsigned long)addr, count * 4);
count             131 arch/mips/include/asm/mach-generic/ide.h #define insw(port, addr, count) __ide_insw(port, addr, count)
count             132 arch/mips/include/asm/mach-generic/ide.h #define insl(port, addr, count) __ide_insl(port, addr, count)
count             133 arch/mips/include/asm/mach-generic/ide.h #define outsw(port, addr, count) __ide_outsw(port, addr, count)
count             134 arch/mips/include/asm/mach-generic/ide.h #define outsl(port, addr, count) __ide_outsl(port, addr, count)
count              71 arch/mips/include/asm/mach-jazz/floppy.h static inline void fd_set_dma_count(unsigned int count)
count              73 arch/mips/include/asm/mach-jazz/floppy.h 	vdma_set_count(JAZZ_FLOPPY_DMA, count);
count              90 arch/mips/include/asm/mach-jz4740/timer.h static inline void jz4740_timer_set_count(unsigned int timer, uint16_t count)
count              92 arch/mips/include/asm/mach-jz4740/timer.h 	writew(count, jz4740_timer_base + JZ_REG_TIMER_CNT(timer));
count              22 arch/mips/include/asm/mach-rc32434/dma_v.h #define DMA_COUNT(count)	((count) & DMA_DESC_COUNT_MSK)
count              38 arch/mips/include/asm/mach-rc32434/timer.h 	u32 count;
count             366 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		int count;
count             386 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		count = qptr->pool_size_m1 - qptr->index;
count             388 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		cmd_count -= count;
count             389 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		while (count--)
count             469 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		int count = qptr->pool_size_m1 - qptr->index;
count             481 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		count--;
count             487 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		if (likely(count))
count             497 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		if (unlikely(count == 0)) {
count             571 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		int count = qptr->pool_size_m1 - qptr->index;
count             583 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		count--;
count             589 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		if (count) {
count             591 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 			if (count > 1)
count             603 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		if (count == 0) {
count             607 arch/mips/include/asm/octeon/cvmx-cmd-queue.h 		if (count < 2) {
count             576 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t count:16;
count             578 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t count:16;
count              94 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:32;
count              96 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:32;
count             107 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:48;
count             109 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:48;
count            1265 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:1;
count            1287 arch/mips/include/asm/octeon/cvmx-pko-defs.h 		uint64_t count:1;
count             590 arch/mips/include/asm/octeon/cvmx-pko.h 	status->packets = pko_mem_count0.s.count;
count             592 arch/mips/include/asm/octeon/cvmx-pko.h 		pko_mem_count0.s.count = port_num;
count             597 arch/mips/include/asm/octeon/cvmx-pko.h 	status->octets = pko_mem_count1.s.count;
count             599 arch/mips/include/asm/octeon/cvmx-pko.h 		pko_mem_count1.s.count = port_num;
count            1311 arch/mips/include/asm/octeon/cvmx-sriox-defs.h 		uint64_t count:8;
count            1323 arch/mips/include/asm/octeon/cvmx-sriox-defs.h 		uint64_t count:8;
count            1336 arch/mips/include/asm/octeon/cvmx-sriox-defs.h 		uint64_t count:8;
count            1340 arch/mips/include/asm/octeon/cvmx-sriox-defs.h 		uint64_t count:8;
count              35 arch/mips/include/asm/pmon.h #define pmon_read(fd, buf, count)	debug_vectors->read(fd, buf, count)
count              36 arch/mips/include/asm/pmon.h #define pmon_write(fd, buf, count)	debug_vectors->write(fd, buf, count)
count              35 arch/mips/include/asm/rtlx.h ssize_t rtlx_read(int index, void __user *buff, size_t count);
count              36 arch/mips/include/asm/rtlx.h ssize_t rtlx_write(int index, const void __user *buffer, size_t count);
count             209 arch/mips/include/asm/sn/kldir.h 	u64		count;		/* Repeat count if array, 1 if not  */
count             146 arch/mips/include/asm/vdso/gettimeofday.h 	unsigned int count;
count             153 arch/mips/include/asm/vdso/gettimeofday.h 	: "=r" (count));
count             155 arch/mips/include/asm/vdso/gettimeofday.h 	return count;
count              45 arch/mips/include/asm/vga.h static inline void scr_memsetw(u16 *s, u16 v, unsigned int count)
count              47 arch/mips/include/asm/vga.h 	memset16(s, cpu_to_le16(v), count / 2);
count             520 arch/mips/jazz/jazzdma.c void vdma_set_count(int channel, int count)
count             524 arch/mips/jazz/jazzdma.c 		       (unsigned) count);
count             526 arch/mips/jazz/jazzdma.c 	r4030_write_reg32(JAZZ_R4030_CHNL_COUNT + (channel << 5), count);
count              33 arch/mips/kernel/csrc-r4k.c 	unsigned int count;
count              40 arch/mips/kernel/csrc-r4k.c 	: "=r" (count));
count              42 arch/mips/kernel/csrc-r4k.c 	return count;
count              26 arch/mips/kernel/csrc-sb1250.c 	unsigned int count;
count              30 arch/mips/kernel/csrc-sb1250.c 	count = G_SCD_TIMER_CNT(__raw_readq(addr));
count              32 arch/mips/kernel/csrc-sb1250.c 	return SB1250_HPT_VALUE - count;
count              76 arch/mips/kernel/linux32.c SYSCALL_DEFINE6(32_pread, unsigned long, fd, char __user *, buf, size_t, count,
count              79 arch/mips/kernel/linux32.c 	return ksys_pread64(fd, buf, count, merge_64(a4, a5));
count              83 arch/mips/kernel/linux32.c 	size_t, count, u32, unused, u64, a4, u64, a5)
count              85 arch/mips/kernel/linux32.c 	return ksys_pwrite64(fd, buf, count, merge_64(a4, a5));
count             103 arch/mips/kernel/linux32.c 				   size_t count)
count             105 arch/mips/kernel/linux32.c 	return ksys_readahead(fd, merge_64(a2, a3), count);
count             423 arch/mips/kernel/perf_event_mipsxx.c 	local64_add(delta, &event->count);
count             214 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             221 arch/mips/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0,
count             227 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             236 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u32);
count             241 arch/mips/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0,
count             281 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             288 arch/mips/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0,
count             294 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             303 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u64);
count             308 arch/mips/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0,
count             413 arch/mips/kernel/ptrace.c 		       unsigned int *pos, unsigned int *count,
count             416 arch/mips/kernel/ptrace.c 	return user_regset_copyout(pos, count, kbuf, ubuf,
count             428 arch/mips/kernel/ptrace.c 		       unsigned int *pos, unsigned int *count,
count             438 arch/mips/kernel/ptrace.c 		err = user_regset_copyout(pos, count, kbuf, ubuf,
count             455 arch/mips/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             463 arch/mips/kernel/ptrace.c 		err = fpr_get_fpa(target, &pos, &count, &kbuf, &ubuf);
count             465 arch/mips/kernel/ptrace.c 		err = fpr_get_msa(target, &pos, &count, &kbuf, &ubuf);
count             469 arch/mips/kernel/ptrace.c 	err = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             475 arch/mips/kernel/ptrace.c 	err = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             488 arch/mips/kernel/ptrace.c 		       unsigned int *pos, unsigned int *count,
count             491 arch/mips/kernel/ptrace.c 	return user_regset_copyin(pos, count, kbuf, ubuf,
count             503 arch/mips/kernel/ptrace.c 		       unsigned int *pos, unsigned int *count,
count             511 arch/mips/kernel/ptrace.c 	for (i = 0; i < NUM_FPU_REGS && *count > 0; i++) {
count             512 arch/mips/kernel/ptrace.c 		err = user_regset_copyin(pos, count, kbuf, ubuf,
count             537 arch/mips/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             545 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(elf_fpreg_t));
count             547 arch/mips/kernel/ptrace.c 	if (pos + count > sizeof(elf_fpregset_t))
count             553 arch/mips/kernel/ptrace.c 		err = fpr_set_fpa(target, &pos, &count, &kbuf, &ubuf);
count             555 arch/mips/kernel/ptrace.c 		err = fpr_set_msa(target, &pos, &count, &kbuf, &ubuf);
count             559 arch/mips/kernel/ptrace.c 	if (count > 0) {
count             560 arch/mips/kernel/ptrace.c 		err = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             569 arch/mips/kernel/ptrace.c 	if (count > 0)
count             570 arch/mips/kernel/ptrace.c 		err = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             580 arch/mips/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             586 arch/mips/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &fp_mode, 0,
count             601 arch/mips/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             607 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(int));
count             609 arch/mips/kernel/ptrace.c 	if (pos + count > sizeof(fp_mode))
count             612 arch/mips/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &fp_mode, 0,
count             617 arch/mips/kernel/ptrace.c 	if (count > 0)
count             668 arch/mips/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             682 arch/mips/kernel/ptrace.c 		err = copy_pad_fprs(target, regset, &pos, &count,
count             686 arch/mips/kernel/ptrace.c 		err = copy_pad_fprs(target, regset, &pos, &count,
count             690 arch/mips/kernel/ptrace.c 		err = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             695 arch/mips/kernel/ptrace.c 		err = copy_pad_fprs(target, regset, &pos, &count,
count             700 arch/mips/kernel/ptrace.c 	err |= user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             708 arch/mips/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             720 arch/mips/kernel/ptrace.c 		err = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             730 arch/mips/kernel/ptrace.c 			err |= user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             737 arch/mips/kernel/ptrace.c 		err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl_regs,
count             756 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             762 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(u32));
count             768 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u32);
count             782 arch/mips/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, dspregs, 0,
count             791 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             798 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(u32));
count             804 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u32);
count             809 arch/mips/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0,
count             836 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             842 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(u64));
count             848 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u64);
count             862 arch/mips/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, dspregs, 0,
count             871 arch/mips/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             878 arch/mips/kernel/ptrace.c 	BUG_ON(count % sizeof(u64));
count             884 arch/mips/kernel/ptrace.c 	num_regs = count / sizeof(u64);
count             889 arch/mips/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, dspregs, 0,
count             242 arch/mips/kernel/rtlx.c ssize_t rtlx_read(int index, void __user *buff, size_t count)
count             258 arch/mips/kernel/rtlx.c 	count = min(count,
count             263 arch/mips/kernel/rtlx.c 	fl = min(count, (size_t)lx->buffer_size - lx->lx_read);
count             270 arch/mips/kernel/rtlx.c 	if (count - fl)
count             271 arch/mips/kernel/rtlx.c 		failed = copy_to_user(buff + fl, lx->lx_buffer, count - fl);
count             274 arch/mips/kernel/rtlx.c 	count -= failed;
count             277 arch/mips/kernel/rtlx.c 	lx->lx_read = (lx->lx_read + count) % lx->buffer_size;
count             281 arch/mips/kernel/rtlx.c 	return count;
count             284 arch/mips/kernel/rtlx.c ssize_t rtlx_write(int index, const void __user *buffer, size_t count)
count             301 arch/mips/kernel/rtlx.c 	count = min_t(size_t, count, write_spacefree(rt_read, rt->rt_write,
count             305 arch/mips/kernel/rtlx.c 	fl = min(count, (size_t) rt->buffer_size - rt->rt_write);
count             312 arch/mips/kernel/rtlx.c 	if (count - fl)
count             313 arch/mips/kernel/rtlx.c 		failed = copy_from_user(rt->rt_buffer, buffer + fl, count - fl);
count             316 arch/mips/kernel/rtlx.c 	count -= failed;
count             319 arch/mips/kernel/rtlx.c 	rt->rt_write = (rt->rt_write + count) % rt->buffer_size;
count             325 arch/mips/kernel/rtlx.c 	return count;
count             361 arch/mips/kernel/rtlx.c static ssize_t file_read(struct file *file, char __user *buffer, size_t count,
count             370 arch/mips/kernel/rtlx.c 	return rtlx_read(minor, buffer, count);
count             374 arch/mips/kernel/rtlx.c 			  size_t count, loff_t *ppos)
count             391 arch/mips/kernel/rtlx.c 	return rtlx_write(minor, buffer, count);
count             704 arch/mips/kernel/smp.c 	atomic_t *count;
count             709 arch/mips/kernel/smp.c 		count = &per_cpu(tick_broadcast_count, cpu);
count             712 arch/mips/kernel/smp.c 		if (atomic_inc_return(count) == 1)
count             861 arch/mips/kernel/vpe.c 			 size_t count, loff_t *ppos)
count             863 arch/mips/kernel/vpe.c 	size_t ret = count;
count             874 arch/mips/kernel/vpe.c 	if ((count + v->len) > v->plen) {
count             879 arch/mips/kernel/vpe.c 	count -= copy_from_user(v->pbuffer + v->len, buffer, count);
count             880 arch/mips/kernel/vpe.c 	if (!count)
count             883 arch/mips/kernel/vpe.c 	v->len += count;
count             388 arch/mips/kvm/emulate.c 	u32 count, compare;
count             392 arch/mips/kvm/emulate.c 	count = vcpu->arch.count_bias + kvm_mips_ktime_to_count(vcpu, now);
count             399 arch/mips/kvm/emulate.c 	if ((s32)(count - compare) < 0)
count             400 arch/mips/kvm/emulate.c 		return count;
count             432 arch/mips/kvm/emulate.c 	return count;
count             471 arch/mips/kvm/emulate.c ktime_t kvm_mips_freeze_hrtimer(struct kvm_vcpu *vcpu, u32 *count)
count             480 arch/mips/kvm/emulate.c 	*count = kvm_mips_read_count_running(vcpu, now);
count             502 arch/mips/kvm/emulate.c 				    ktime_t now, u32 count)
count             511 arch/mips/kvm/emulate.c 	delta = (u64)(u32)(compare - count - 1) + 1;
count             543 arch/mips/kvm/emulate.c 			     u32 count, int min_drift)
count             561 arch/mips/kvm/emulate.c 	drift = count - before_count;
count             577 arch/mips/kvm/emulate.c 	drift = count - now_count;
count             586 arch/mips/kvm/emulate.c 	delta = (u64)(u32)(now_count - count);
count             592 arch/mips/kvm/emulate.c 	kvm_mips_resume_hrtimer(vcpu, count_time, count);
count             603 arch/mips/kvm/emulate.c void kvm_mips_write_count(struct kvm_vcpu *vcpu, u32 count)
count             610 arch/mips/kvm/emulate.c 	vcpu->arch.count_bias = count - kvm_mips_ktime_to_count(vcpu, now);
count             614 arch/mips/kvm/emulate.c 		kvm_write_c0_guest_count(cop0, count);
count             617 arch/mips/kvm/emulate.c 		kvm_mips_resume_hrtimer(vcpu, now, count);
count             654 arch/mips/kvm/emulate.c 	u32 count;
count             667 arch/mips/kvm/emulate.c 		count = kvm_read_c0_guest_count(cop0);
count             669 arch/mips/kvm/emulate.c 		now = kvm_mips_freeze_hrtimer(vcpu, &count);
count             678 arch/mips/kvm/emulate.c 	vcpu->arch.count_bias = count - kvm_mips_ktime_to_count(vcpu, now);
count             682 arch/mips/kvm/emulate.c 		kvm_mips_resume_hrtimer(vcpu, now, count);
count             704 arch/mips/kvm/emulate.c 	u32 count;
count             733 arch/mips/kvm/emulate.c 		now = kvm_mips_freeze_hrtimer(vcpu, &count);
count             758 arch/mips/kvm/emulate.c 		kvm_mips_resume_hrtimer(vcpu, now, count);
count             784 arch/mips/kvm/emulate.c 	u32 count;
count             792 arch/mips/kvm/emulate.c 	count = kvm_mips_read_count_running(vcpu, now);
count             793 arch/mips/kvm/emulate.c 	kvm_write_c0_guest_count(cop0, count);
count             831 arch/mips/kvm/emulate.c 	u32 count;
count             840 arch/mips/kvm/emulate.c 	count = kvm_read_c0_guest_count(cop0);
count             841 arch/mips/kvm/emulate.c 	kvm_mips_write_count(vcpu, count);
count             860 arch/mips/kvm/emulate.c 	u32 count, compare;
count             884 arch/mips/kvm/emulate.c 			count = kvm_read_c0_guest_count(cop0);
count             886 arch/mips/kvm/emulate.c 			delta = (u64)(u32)(compare - count - 1) + 1;
count             898 arch/mips/kvm/emulate.c 			count = kvm_mips_read_count_running(vcpu, now);
count             899 arch/mips/kvm/emulate.c 			kvm_mips_resume_hrtimer(vcpu, now, count);
count             512 arch/mips/kvm/tlb.c 			  unsigned int count)
count             514 arch/mips/kvm/tlb.c 	unsigned int end = index + count;
count             581 arch/mips/kvm/tlb.c 			  unsigned int count)
count             583 arch/mips/kvm/tlb.c 	unsigned int end = index + count;
count              66 arch/mips/lasat/picvue_proc.c 				   size_t count, loff_t *pos)
count              74 arch/mips/lasat/picvue_proc.c 	len = min(count, sizeof(kbuf) - 1);
count              89 arch/mips/lasat/picvue_proc.c 	return count;
count             102 arch/mips/lasat/picvue_proc.c 				     size_t count, loff_t *pos)
count             108 arch/mips/lasat/picvue_proc.c 	len = min(count, sizeof(kbuf) - 1);
count             134 arch/mips/lasat/picvue_proc.c 	return count;
count              16 arch/mips/lib/iomap_copy.c void __ioread64_copy(void *to, const void __iomem *from, size_t count)
count              21 arch/mips/lib/iomap_copy.c 	const u64 __iomem *end = src + count;
count              26 arch/mips/lib/iomap_copy.c 	__ioread32_copy(to, from, count * 2);
count              65 arch/mips/loongson32/common/time.c 	int count;
count              86 arch/mips/loongson32/common/time.c 	count = __raw_readl(timer_reg_base + PWM_CNT);
count              98 arch/mips/loongson32/common/time.c 	if (count < old_count && jifs == old_jifs)
count              99 arch/mips/loongson32/common/time.c 		count = old_count;
count             101 arch/mips/loongson32/common/time.c 	old_count = count;
count             106 arch/mips/loongson32/common/time.c 	return (u64) (jifs * ls1x_jiffies_per_tick) + count;
count             148 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 	int count;
count             169 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 	count = inw(MFGPT0_CNT);
count             181 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 	if (count < old_count && jifs == old_jifs)
count             182 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 		count = old_count;
count             184 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 	old_count = count;
count             189 arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c 	return (u64) (jifs * COMPARE) + count;
count             456 arch/mips/loongson64/loongson-3/smp.c 	register long cpuid, core, node, count;
count             510 arch/mips/loongson64/loongson-3/smp.c 		  [count] "=&r" (count), [initfunc] "=&r" (initfunc)
count             518 arch/mips/loongson64/loongson-3/smp.c 	register long cpuid, core, node, count;
count             593 arch/mips/loongson64/loongson-3/smp.c 		  [count] "=&r" (count), [initfunc] "=&r" (initfunc)
count             601 arch/mips/loongson64/loongson-3/smp.c 	register long cpuid, core, node, count;
count             657 arch/mips/loongson64/loongson-3/smp.c 		  [count] "=&r" (count), [initfunc] "=&r" (initfunc)
count              16 arch/mips/math-emu/dp_maddf.c static void srl128(u64 *hptr, u64 *lptr, int count)
count              20 arch/mips/math-emu/dp_maddf.c 	if (count >= 128) {
count              23 arch/mips/math-emu/dp_maddf.c 	} else if (count >= 64) {
count              24 arch/mips/math-emu/dp_maddf.c 		if (count == 64) {
count              28 arch/mips/math-emu/dp_maddf.c 			*lptr = *hptr >> (count - 64);
count              29 arch/mips/math-emu/dp_maddf.c 			*lptr |= (*hptr << (128 - count)) != 0 || low != 0;
count              34 arch/mips/math-emu/dp_maddf.c 		*lptr = low >> count | *hptr << (64 - count);
count              35 arch/mips/math-emu/dp_maddf.c 		*lptr |= (low << (64 - count)) != 0;
count              36 arch/mips/math-emu/dp_maddf.c 		*hptr = *hptr >> count;
count              14 arch/mips/mm/sc-debugfs.c 				size_t count, loff_t *ppos)
count              23 arch/mips/mm/sc-debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count              28 arch/mips/mm/sc-debugfs.c 				 size_t count, loff_t *ppos)
count              33 arch/mips/mm/sc-debugfs.c 	err = kstrtobool_from_user(user_buf, count, &enabled);
count              42 arch/mips/mm/sc-debugfs.c 	return count;
count             259 arch/mips/mm/tlbex.c 	unsigned int count = (end - start) / sizeof(u32);
count             268 arch/mips/mm/tlbex.c 	for (i = 0; i < count; i++)
count              64 arch/mips/mti-malta/malta-time.c 	unsigned int count, start;
count              95 arch/mips/mti-malta/malta-time.c 	count = read_c0_count();
count             115 arch/mips/mti-malta/malta-time.c 	count -= start;
count             116 arch/mips/mti-malta/malta-time.c 	count /= secs;
count             117 arch/mips/mti-malta/malta-time.c 	mips_hpt_frequency = count;
count              56 arch/mips/netlogic/xlp/wakeup.c 	int count, resetreg;
count              85 arch/mips/netlogic/xlp/wakeup.c 	count = 100000;
count              88 arch/mips/netlogic/xlp/wakeup.c 	} while ((value & coremask) != 0 && --count > 0);
count              90 arch/mips/netlogic/xlp/wakeup.c 	return count != 0;
count              96 arch/mips/netlogic/xlp/wakeup.c 	int i, count, notready;
count              98 arch/mips/netlogic/xlp/wakeup.c 	count = 0x800000;
count             104 arch/mips/netlogic/xlp/wakeup.c 	} while (notready != 0 && --count > 0);
count             106 arch/mips/netlogic/xlp/wakeup.c 	return count != 0;
count              51 arch/mips/oprofile/common.c 		oprofilefs_create_ulong(dir, "count", &ctr[i].count);
count              19 arch/mips/oprofile/op_impl.h 	unsigned long count;
count              65 arch/mips/oprofile/op_model_loongson2.c 		reg.reset_counter1 = 0x80000000ULL - cfg[0].count;
count              70 arch/mips/oprofile/op_model_loongson2.c 		reg.reset_counter2 = 0x80000000ULL - cfg[1].count;
count              78 arch/mips/oprofile/op_model_loongson3.c 		reg.reset_counter1 = 0x8000000000000000ULL - ctr[0].count;
count              88 arch/mips/oprofile/op_model_loongson3.c 		reg.reset_counter2 = 0x8000000000000000ULL - ctr[1].count;
count             158 arch/mips/oprofile/op_model_mipsxx.c 		reg.counter[i] = 0x80000000 - ctr[i].count;
count              24 arch/mips/paravirt/serial.c static int paravirt_put_chars(u32 vtermno, const char *buf, int count)
count              27 arch/mips/paravirt/serial.c 		(unsigned long)buf, count);
count              29 arch/mips/paravirt/serial.c 	return count;
count              70 arch/mips/pic32/pic32mzda/init.c 	unsigned int count = COMMAND_LINE_SIZE - 1;
count              75 arch/mips/pic32/pic32mzda/init.c 	for (i = 1; i < argc && count; ++i) {
count              77 arch/mips/pic32/pic32mzda/init.c 		while (*src && count) {
count              79 arch/mips/pic32/pic32mzda/init.c 			--count;
count              46 arch/mips/ralink/cevt-rt3352.c 	u32 count;
count              49 arch/mips/ralink/cevt-rt3352.c 	count = ioread32(sdev->membase + SYSTICK_COUNT);
count              50 arch/mips/ralink/cevt-rt3352.c 	count = (count + delta) % SYSTICK_FREQ;
count              51 arch/mips/ralink/cevt-rt3352.c 	iowrite32(count, sdev->membase + SYSTICK_COMPARE);
count              14 arch/mips/sibyte/common/cfe_console.c 		       unsigned int count)
count              18 arch/mips/sibyte/common/cfe_console.c 	for (i=0, last=0; i<count; i++) {
count              33 arch/mips/sibyte/common/cfe_console.c 	if (last != count) {
count              35 arch/mips/sibyte/common/cfe_console.c 			written = cfe_write(cfe_cons_handle, &str[last], count-last);
count              39 arch/mips/sibyte/common/cfe_console.c 		} while (last < count);
count             445 arch/mips/sibyte/common/sb_tbprof.c 	int   count   =	 0;
count             454 arch/mips/sibyte/common/sb_tbprof.c 	count = 0;
count             483 arch/mips/sibyte/common/sb_tbprof.c 		count += cur_count;
count             488 arch/mips/sibyte/common/sb_tbprof.c 	return count;
count             263 arch/nds32/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user * src, long count);
count             500 arch/nds32/kernel/perf_event_cpu.c 	u32 count = 0;
count             507 arch/nds32/kernel/perf_event_cpu.c 			count = __nds32__mfsr(NDS32_SR_PFMC0);
count             510 arch/nds32/kernel/perf_event_cpu.c 			count = __nds32__mfsr(NDS32_SR_PFMC1);
count             513 arch/nds32/kernel/perf_event_cpu.c 			count = __nds32__mfsr(NDS32_SR_PFMC2);
count             521 arch/nds32/kernel/perf_event_cpu.c 	return count;
count             963 arch/nds32/kernel/perf_event_cpu.c 	local64_add(delta, &event->count);
count             240 arch/nds32/kernel/process.c 	int count = 0;
count             257 arch/nds32/kernel/process.c 		} while (count++ < 16);
count              16 arch/nds32/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              20 arch/nds32/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1);
count              24 arch/nds32/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              30 arch/nds32/kernel/ptrace.c 	err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1);
count             120 arch/nds32/kernel/vdso/gettimeofday.c 	unsigned count;
count             123 arch/nds32/kernel/vdso/gettimeofday.c 		count = vdso_read_begin(vdata);
count             128 arch/nds32/kernel/vdso/gettimeofday.c 	} while (vdso_read_retry(vdata, count));
count              18 arch/nios2/include/asm/string.h extern void *memset(void *s, int c, size_t count);
count              19 arch/nios2/include/asm/string.h extern void *memcpy(void *d, const void *s, size_t count);
count              20 arch/nios2/include/asm/string.h extern void *memmove(void *d, const void *s, size_t count);
count             224 arch/nios2/kernel/process.c 	int count = 0;
count             239 arch/nios2/kernel/process.c 	} while (count++ < 16);		/* ;dgt2;tmp */
count              24 arch/nios2/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count              33 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, \
count              38 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, PTR, \
count              43 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, PTR, \
count              59 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count              70 arch/nios2/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count              79 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, \
count              84 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \
count              89 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, \
count             105 arch/nios2/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count              75 arch/nios2/kernel/time.c 	unsigned long count;
count              78 arch/nios2/kernel/time.c 	count = timer_readw(timer, ALTERA_TIMER_SNAPH_REG) << 16 |
count              81 arch/nios2/kernel/time.c 	return count;
count              88 arch/nios2/kernel/time.c 	u32 count;
count              91 arch/nios2/kernel/time.c 	count = read_timersnapshot(&nios2_cs->timer);
count              95 arch/nios2/kernel/time.c 	return ~count;
count             348 arch/nios2/kernel/time.c 	int count = 0;
count             351 arch/nios2/kernel/time.c 		count++;
count             353 arch/nios2/kernel/time.c 	if (count < 2)
count             354 arch/nios2/kernel/time.c 		panic("%d timer is found, it needs 2 timers in system\n", count);
count              13 arch/nios2/lib/memmove.c void *memmove(void *d, const void *s, size_t count)
count              17 arch/nios2/lib/memmove.c 	if (!count)
count              24 arch/nios2/lib/memmove.c 		if ((count < 8) || ((dst ^ src) & 3))
count              29 arch/nios2/lib/memmove.c 			count--;
count              35 arch/nios2/lib/memmove.c 			count -= 2;
count              37 arch/nios2/lib/memmove.c 		while (count > 3) {
count              41 arch/nios2/lib/memmove.c 			count -= 4;
count              44 arch/nios2/lib/memmove.c 		while (count--)
count              47 arch/nios2/lib/memmove.c 		dst = (unsigned long) d + count;
count              48 arch/nios2/lib/memmove.c 		src = (unsigned long) s + count;
count              50 arch/nios2/lib/memmove.c 		if ((count < 8) || ((dst ^ src) & 3))
count              56 arch/nios2/lib/memmove.c 			count--;
count              62 arch/nios2/lib/memmove.c 			count -= 2;
count              65 arch/nios2/lib/memmove.c 		while (count > 3) {
count              68 arch/nios2/lib/memmove.c 			count -= 4;
count              72 arch/nios2/lib/memmove.c 		while (count--) {
count              13 arch/nios2/lib/memset.c void *memset(void *s, int c, size_t count)
count              17 arch/nios2/lib/memset.c 	if (!count)
count              22 arch/nios2/lib/memset.c 	if (count <= 8) {
count              25 arch/nios2/lib/memset.c 		while (count--)
count              74 arch/nios2/lib/memset.c 		  "1" (count)		/* %1  Input/Output */
count              15 arch/openrisc/include/asm/time.h extern void openrisc_timer_set(unsigned long count);
count             264 arch/openrisc/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count              48 arch/openrisc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count              55 arch/openrisc/kernel/ptrace.c 	ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, 0, 4);
count              58 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              61 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              64 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              67 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count              78 arch/openrisc/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count              85 arch/openrisc/kernel/ptrace.c 	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, 4);
count              88 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count              92 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count              99 arch/openrisc/kernel/ptrace.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count              27 arch/openrisc/kernel/time.c inline void openrisc_timer_set(unsigned long count)
count              29 arch/openrisc/kernel/time.c 	mtspr(SPR_TTCR, count);
count              82 arch/parisc/boot/compressed/misc.c void *memset(void *s, int c, size_t count)
count              86 arch/parisc/boot/compressed/misc.c 	while (count--)
count              98 arch/parisc/include/asm/dma.h 	unsigned short count;
count             100 arch/parisc/include/asm/dma.h 	count = 1 + dma_inb(io_port);
count             101 arch/parisc/include/asm/dma.h 	count += dma_inb(io_port) << 8;
count             103 arch/parisc/include/asm/dma.h 	return (dmanr<=3)? count : (count<<1);
count             172 arch/parisc/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count              24 arch/parisc/include/asm/ide.h static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count)
count              26 arch/parisc/include/asm/ide.h 	while (count--) {
count              32 arch/parisc/include/asm/ide.h static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count)
count              34 arch/parisc/include/asm/ide.h 	while (count--) {
count              40 arch/parisc/include/asm/ide.h static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count)
count              42 arch/parisc/include/asm/ide.h 	while (count--) {
count              48 arch/parisc/include/asm/ide.h static __inline__ void __ide_mm_outsl(void __iomem *port, void *addr, u32 count)
count              50 arch/parisc/include/asm/ide.h 	while (count--) {
count             232 arch/parisc/include/asm/io.h void memset_io(volatile void __iomem *addr, unsigned char val, int count);
count             233 arch/parisc/include/asm/io.h void memcpy_fromio(void *dst, const volatile void __iomem *src, int count);
count             234 arch/parisc/include/asm/io.h void memcpy_toio(volatile void __iomem *dst, const void *src, int count);
count             294 arch/parisc/include/asm/io.h extern void insb (unsigned long port, void *dst, unsigned long count);
count             295 arch/parisc/include/asm/io.h extern void insw (unsigned long port, void *dst, unsigned long count);
count             296 arch/parisc/include/asm/io.h extern void insl (unsigned long port, void *dst, unsigned long count);
count             297 arch/parisc/include/asm/io.h extern void outsb (unsigned long port, const void *src, unsigned long count);
count             298 arch/parisc/include/asm/io.h extern void outsw (unsigned long port, const void *src, unsigned long count);
count             299 arch/parisc/include/asm/io.h extern void outsl (unsigned long port, const void *src, unsigned long count);
count              56 arch/parisc/include/asm/pdc.h int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count);
count              57 arch/parisc/include/asm/pdc.h int pdc_stable_write(unsigned long staddr, void *memaddr, unsigned long count);
count              87 arch/parisc/include/asm/pdc.h int pdc_iodc_print(const unsigned char *str, unsigned count);
count             372 arch/parisc/include/asm/pdcpat.h 		unsigned long count, unsigned long offset);
count             385 arch/parisc/include/asm/pdcpat.h 		unsigned long *pdt_entries_ptr, unsigned long count,
count               9 arch/parisc/include/asm/string.h void * memcpy(void * dest,const void *src,size_t count);
count              18 arch/parisc/include/asm/string.h extern char *strncpy(char *dest, const char *src, size_t count);
count             180 arch/parisc/kernel/drivers.c 	int count;
count             190 arch/parisc/kernel/drivers.c 			m->count++;
count             206 arch/parisc/kernel/drivers.c 		.count	= 0,
count             211 arch/parisc/kernel/drivers.c 	return m.count;
count             889 arch/parisc/kernel/drivers.c 	static int count;
count             893 arch/parisc/kernel/drivers.c 		++count, dev->name, &(dev->hpa.start), hw_path, dev->id.hw_type,
count             991 arch/parisc/kernel/drivers.c 	unsigned long count;
count            1000 arch/parisc/kernel/drivers.c 	status = pdc_iodc_read(&count, hpa, 0,
count            1069 arch/parisc/kernel/drivers.c 	count = 0;
count            1072 arch/parisc/kernel/drivers.c 	while (count < dev->num_addrs) {
count            1073 arch/parisc/kernel/drivers.c 		pr_cont("0x%08lx, ", dev->addr[count]);
count            1074 arch/parisc/kernel/drivers.c 		count++;
count             733 arch/parisc/kernel/firmware.c int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count)
count             740 arch/parisc/kernel/firmware.c                __pa(pdc_result), count);
count             742 arch/parisc/kernel/firmware.c        memcpy(memaddr, pdc_result, count);
count             759 arch/parisc/kernel/firmware.c int pdc_stable_write(unsigned long staddr, void *memaddr, unsigned long count)
count             765 arch/parisc/kernel/firmware.c        memcpy(pdc_result, memaddr, count);
count             768 arch/parisc/kernel/firmware.c                __pa(pdc_result), count);
count            1230 arch/parisc/kernel/firmware.c int pdc_iodc_print(const unsigned char *str, unsigned count)
count            1235 arch/parisc/kernel/firmware.c 	for (i = 0; i < count;) {
count            1462 arch/parisc/kernel/firmware.c 			    unsigned long count, unsigned long offset)
count            1469 arch/parisc/kernel/firmware.c 			      __pa(pdc_result2), count, offset);
count            1633 arch/parisc/kernel/firmware.c 		unsigned long *pdt_entries_ptr, unsigned long count,
count            1642 arch/parisc/kernel/firmware.c 		count, offset);
count            1645 arch/parisc/kernel/firmware.c 		entries = min(pdc_result[0], count);
count             314 arch/parisc/kernel/module.c 		unsigned int count, s;
count             334 arch/parisc/kernel/module.c 		count = count_stubs(rels, nrels);
count             335 arch/parisc/kernel/module.c 		if (!count)
count             346 arch/parisc/kernel/module.c 		me->arch.section[s].stub_entries += count;
count              45 arch/parisc/kernel/pdc_cons.c static void pdc_console_write(struct console *co, const char *s, unsigned count)
count              52 arch/parisc/kernel/pdc_cons.c 		i += pdc_iodc_print(s + i, count - i);
count              53 arch/parisc/kernel/pdc_cons.c 	} while (i < count);
count              94 arch/parisc/kernel/pdc_cons.c 	if (tty->count == 1) {
count             100 arch/parisc/kernel/pdc_cons.c static int pdc_console_tty_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             102 arch/parisc/kernel/pdc_cons.c 	pdc_console_write(NULL, buf, count);
count             103 arch/parisc/kernel/pdc_cons.c 	return count;
count             126 arch/parisc/kernel/pdc_cons.c 	int data, count = 0;
count             133 arch/parisc/kernel/pdc_cons.c 		count ++;
count             136 arch/parisc/kernel/pdc_cons.c 	if (count)
count             186 arch/parisc/kernel/perf.c 	size_t count, loff_t *ppos);
count             289 arch/parisc/kernel/perf.c 	size_t count, loff_t *ppos)
count             306 arch/parisc/kernel/perf.c 	if (count != sizeof(uint32_t))
count             340 arch/parisc/kernel/perf.c 	return count;
count             270 arch/parisc/kernel/process.c 	int count = 0;
count             286 arch/parisc/kernel/process.c 	} while (count++ < MAX_UNWIND_ENTRIES);
count             395 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             404 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             407 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NFPREG; --count)
count             410 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NFPREG; --count)
count             417 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             418 arch/parisc/kernel/ptrace.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             424 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             433 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             436 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NFPREG; --count)
count             439 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NFPREG; --count) {
count             448 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             449 arch/parisc/kernel/ptrace.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             531 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             540 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             543 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             546 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             552 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             553 arch/parisc/kernel/ptrace.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             559 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             568 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             571 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             574 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count) {
count             583 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             584 arch/parisc/kernel/ptrace.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             611 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             620 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             623 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             626 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             633 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             634 arch/parisc/kernel/ptrace.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             640 arch/parisc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count             649 arch/parisc/kernel/ptrace.c 	count /= sizeof(reg);
count             652 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count)
count             655 arch/parisc/kernel/ptrace.c 		for (; count > 0 && pos < ELF_NGREG; --count) {
count             664 arch/parisc/kernel/ptrace.c 	count *= sizeof(reg);
count             665 arch/parisc/kernel/ptrace.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             321 arch/parisc/kernel/sys_parisc.c asmlinkage ssize_t parisc_pread64(unsigned int fd, char __user *buf, size_t count,
count             324 arch/parisc/kernel/sys_parisc.c 	return ksys_pread64(fd, buf, count, (loff_t)high << 32 | low);
count             328 arch/parisc/kernel/sys_parisc.c 			size_t count, unsigned int high, unsigned int low)
count             330 arch/parisc/kernel/sys_parisc.c 	return ksys_pwrite64(fd, buf, count, (loff_t)high << 32 | low);
count             334 arch/parisc/kernel/sys_parisc.c 		                    size_t count)
count             336 arch/parisc/kernel/sys_parisc.c 	return ksys_readahead(fd, (loff_t)high << 32 | low, count);
count              39 arch/parisc/lib/checksum.c 	int odd, count;
count              50 arch/parisc/lib/checksum.c 	count = len >> 1;		/* nr of 16-bit words.. */
count              51 arch/parisc/lib/checksum.c 	if (count) {
count              54 arch/parisc/lib/checksum.c 			count--;
count              58 arch/parisc/lib/checksum.c 		count >>= 1;		/* nr of 32-bit words.. */
count              59 arch/parisc/lib/checksum.c 		if (count) {
count              60 arch/parisc/lib/checksum.c 			while (count >= 4) {
count              70 arch/parisc/lib/checksum.c 				count -= 4;
count              73 arch/parisc/lib/checksum.c 			while (count) {
count              75 arch/parisc/lib/checksum.c 				count--;
count              19 arch/parisc/lib/io.c void memcpy_toio(volatile void __iomem *dst, const void *src, int count)
count              26 arch/parisc/lib/io.c 		count--;
count              28 arch/parisc/lib/io.c 	while (count > 3) {
count              32 arch/parisc/lib/io.c 		count -= 4;
count              35 arch/parisc/lib/io.c 	while (count--) {
count              54 arch/parisc/lib/io.c void memcpy_fromio(void *dst, const volatile void __iomem *src, int count)
count              57 arch/parisc/lib/io.c 	if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) )
count              60 arch/parisc/lib/io.c 	if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) )
count              68 arch/parisc/lib/io.c 		count--;
count              69 arch/parisc/lib/io.c 		if (count < 2) goto bytecopy;
count              76 arch/parisc/lib/io.c 		count -= 2;
count              79 arch/parisc/lib/io.c 	while (count > 3) {
count              83 arch/parisc/lib/io.c 		count -= 4;
count              87 arch/parisc/lib/io.c 	while (count > 1) {
count              91 arch/parisc/lib/io.c 		count -= 2;
count              95 arch/parisc/lib/io.c 	while (count--) {
count             106 arch/parisc/lib/io.c void memset_io(volatile void __iomem *addr, unsigned char val, int count)
count             111 arch/parisc/lib/io.c 		count--;
count             113 arch/parisc/lib/io.c 	while (count > 3) {
count             116 arch/parisc/lib/io.c 		count -= 4;
count             118 arch/parisc/lib/io.c 	while (count--) {
count             127 arch/parisc/lib/io.c void insb (unsigned long port, void *dst, unsigned long count)
count             134 arch/parisc/lib/io.c 		if (!count)
count             136 arch/parisc/lib/io.c 		count--;
count             141 arch/parisc/lib/io.c 	while (count >= 4) {
count             143 arch/parisc/lib/io.c 		count -= 4;
count             152 arch/parisc/lib/io.c 	while (count) {
count             153 arch/parisc/lib/io.c 		--count;
count             167 arch/parisc/lib/io.c void insw (unsigned long port, void *dst, unsigned long count)
count             174 arch/parisc/lib/io.c 	if (!count)
count             180 arch/parisc/lib/io.c 		while (count>=2) {
count             182 arch/parisc/lib/io.c 			count -= 2;
count             188 arch/parisc/lib/io.c 		if (count) {
count             196 arch/parisc/lib/io.c 		count--;
count             197 arch/parisc/lib/io.c 		while (count>=2) {
count             199 arch/parisc/lib/io.c 			count -= 2;
count             205 arch/parisc/lib/io.c 		if (count) {
count             214 arch/parisc/lib/io.c 		--count;
count             219 arch/parisc/lib/io.c 		while (count--)
count             239 arch/parisc/lib/io.c void insl (unsigned long port, void *dst, unsigned long count)
count             246 arch/parisc/lib/io.c 	if (!count)
count             252 arch/parisc/lib/io.c 		while (count--)
count             260 arch/parisc/lib/io.c 		--count;
count             266 arch/parisc/lib/io.c 		while (count--)
count             276 arch/parisc/lib/io.c 		--count;
count             283 arch/parisc/lib/io.c 		while (count--)
count             293 arch/parisc/lib/io.c 		--count;
count             298 arch/parisc/lib/io.c 		while (count--)
count             319 arch/parisc/lib/io.c void outsb(unsigned long port, const void * src, unsigned long count)
count             324 arch/parisc/lib/io.c 	while (count) {
count             325 arch/parisc/lib/io.c 		count--;
count             337 arch/parisc/lib/io.c void outsw (unsigned long port, const void *src, unsigned long count)
count             344 arch/parisc/lib/io.c 	if (!count)
count             350 arch/parisc/lib/io.c 		while (count>=2) {
count             351 arch/parisc/lib/io.c 			count -= 2;
count             357 arch/parisc/lib/io.c 		if (count) {
count             366 arch/parisc/lib/io.c 		count--;
count             368 arch/parisc/lib/io.c 		while (count>=2) {
count             369 arch/parisc/lib/io.c 			count -= 2;
count             375 arch/parisc/lib/io.c 		if (count) {
count             386 arch/parisc/lib/io.c 		count--;
count             387 arch/parisc/lib/io.c 		while (count)
count             389 arch/parisc/lib/io.c 			count--;
count             409 arch/parisc/lib/io.c void outsl (unsigned long port, const void *src, unsigned long count)
count             416 arch/parisc/lib/io.c 	if (!count)
count             422 arch/parisc/lib/io.c 		while (count--)
count             430 arch/parisc/lib/io.c 		--count;
count             435 arch/parisc/lib/io.c 		while (count--)
count             446 arch/parisc/lib/io.c 		--count;
count             453 arch/parisc/lib/io.c 		while (count--)
count             464 arch/parisc/lib/io.c 		--count;
count             469 arch/parisc/lib/io.c 		while (count--)
count             102 arch/parisc/lib/iomap.c static void ioport_read8r(void __iomem *addr, void *dst, unsigned long count)
count             104 arch/parisc/lib/iomap.c 	insb(ADDR2PORT(addr), dst, count);
count             107 arch/parisc/lib/iomap.c static void ioport_read16r(void __iomem *addr, void *dst, unsigned long count)
count             109 arch/parisc/lib/iomap.c 	insw(ADDR2PORT(addr), dst, count);
count             112 arch/parisc/lib/iomap.c static void ioport_read32r(void __iomem *addr, void *dst, unsigned long count)
count             114 arch/parisc/lib/iomap.c 	insl(ADDR2PORT(addr), dst, count);
count             223 arch/parisc/lib/iomap.c static void iomem_read8r(void __iomem *addr, void *dst, unsigned long count)
count             225 arch/parisc/lib/iomap.c 	while (count--) {
count             231 arch/parisc/lib/iomap.c static void iomem_read16r(void __iomem *addr, void *dst, unsigned long count)
count             233 arch/parisc/lib/iomap.c 	while (count--) {
count             239 arch/parisc/lib/iomap.c static void iomem_read32r(void __iomem *addr, void *dst, unsigned long count)
count             241 arch/parisc/lib/iomap.c 	while (count--) {
count             414 arch/parisc/lib/iomap.c void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
count             417 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->read8r(addr, dst, count);
count             419 arch/parisc/lib/iomap.c 		while (count--) {
count             426 arch/parisc/lib/iomap.c void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
count             429 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->read16r(addr, dst, count);
count             431 arch/parisc/lib/iomap.c 		while (count--) {
count             438 arch/parisc/lib/iomap.c void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
count             441 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->read32r(addr, dst, count);
count             443 arch/parisc/lib/iomap.c 		while (count--) {
count             450 arch/parisc/lib/iomap.c void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
count             453 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->write8r(addr, src, count);
count             455 arch/parisc/lib/iomap.c 		while (count--) {
count             462 arch/parisc/lib/iomap.c void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
count             465 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->write16r(addr, src, count);
count             467 arch/parisc/lib/iomap.c 		while (count--) {
count             474 arch/parisc/lib/iomap.c void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
count             477 arch/parisc/lib/iomap.c 		iomap_ops[ADDR_TO_REGION(addr)]->write32r(addr, src, count);
count             479 arch/parisc/lib/iomap.c 		while (count--) {
count              49 arch/parisc/lib/memcpy.c void * memcpy(void * dst,const void *src, size_t count)
count              53 arch/parisc/lib/memcpy.c 	pa_memcpy(dst, src, count);
count              42 arch/parisc/math-emu/dfdiv.c 	register int dest_exponent, count;
count             212 arch/parisc/math-emu/dfdiv.c 	for (count=1; count <= DBL_P && (opnd1p1 || opnd1p2); count++) {
count             223 arch/parisc/math-emu/dfdiv.c 	if (count <= DBL_P) {
count             226 arch/parisc/math-emu/dfdiv.c 		Dbl_leftshift(opnd3p1,opnd3p2,(DBL_P-count));
count              45 arch/parisc/math-emu/dfmpy.c 	register int dest_exponent, count;
count             203 arch/parisc/math-emu/dfmpy.c 	for (count=1;count<=DBL_P;count+=4) {
count              56 arch/parisc/math-emu/fmpyfadd.c 	register int mpy_exponent, add_exponent, count;
count             377 arch/parisc/math-emu/fmpyfadd.c 	for (count = DBL_P-1; count >= 0; count -= 4) {
count             715 arch/parisc/math-emu/fmpyfadd.c 	register int mpy_exponent, add_exponent, count;
count            1037 arch/parisc/math-emu/fmpyfadd.c 	for (count = DBL_P-1; count >= 0; count -= 4) {
count            1373 arch/parisc/math-emu/fmpyfadd.c 	register int mpy_exponent, add_exponent, count;
count            1693 arch/parisc/math-emu/fmpyfadd.c 	for (count = SGL_P-1; count >= 0; count -= 4) {
count            2014 arch/parisc/math-emu/fmpyfadd.c 	register int mpy_exponent, add_exponent, count;
count            2335 arch/parisc/math-emu/fmpyfadd.c 	for (count = SGL_P-1; count >= 0; count -= 4) {
count              41 arch/parisc/math-emu/sfdiv.c 	register int dest_exponent, count;
count             210 arch/parisc/math-emu/sfdiv.c 	for (count=1;count<=SGL_P && Sgl_all(opnd1);count++) {
count             219 arch/parisc/math-emu/sfdiv.c 	if (count <= SGL_P) {
count             222 arch/parisc/math-emu/sfdiv.c 		Sgl_leftshift(opnd3,SGL_P-count);
count              44 arch/parisc/math-emu/sfmpy.c 	register int dest_exponent, count;
count             200 arch/parisc/math-emu/sfmpy.c 	for (count=1;count<SGL_P;count+=4) {
count              38 arch/powerpc/boot/serial.c 	int timer = 0, count;
count              43 arch/powerpc/boot/serial.c 	count = strlen(buf);
count              44 arch/powerpc/boot/serial.c 	cp = &buf[count];
count              45 arch/powerpc/boot/serial.c 	count++;
count              54 arch/powerpc/boot/serial.c 						count--;
count              61 arch/powerpc/boot/serial.c 						count--;
count              64 arch/powerpc/boot/serial.c 				} else if (count < len) {
count              66 arch/powerpc/boot/serial.c 						count++;
count              11 arch/powerpc/boot/stdio.c size_t strnlen(const char * s, size_t count)
count              15 arch/powerpc/boot/stdio.c 	for (sc = s; count-- && *sc != '\0'; ++sc)
count              14 arch/powerpc/boot/string.h extern size_t strnlen(const char *s, size_t count);
count              77 arch/powerpc/boot/ugecon.c 	int count = 16;
count              82 arch/powerpc/boot/ugecon.c 	while (!ug_is_txfifo_ready() && count--)
count              84 arch/powerpc/boot/ugecon.c 	if (count >= 0)
count              23 arch/powerpc/crypto/md5-glue.c 	int count = sizeof(struct md5_state) >> 2;
count              28 arch/powerpc/crypto/md5-glue.c 	do { *ptr++ = 0; } while (--count);
count              51 arch/powerpc/crypto/sha1-spe-glue.c 	int count = sizeof(struct sha1_state) >> 2;
count              56 arch/powerpc/crypto/sha1-spe-glue.c 	do { *ptr++ = 0; } while (--count);
count              68 arch/powerpc/crypto/sha1-spe-glue.c 	sctx->count = 0;
count              77 arch/powerpc/crypto/sha1-spe-glue.c 	const unsigned int offset = sctx->count & 0x3f;
count              83 arch/powerpc/crypto/sha1-spe-glue.c 		sctx->count += len;
count              88 arch/powerpc/crypto/sha1-spe-glue.c 	sctx->count += len;
count             120 arch/powerpc/crypto/sha1-spe-glue.c 	const unsigned int offset = sctx->count & 0x3f;
count             139 arch/powerpc/crypto/sha1-spe-glue.c 	*pbits = cpu_to_be64(sctx->count << 3);
count              44 arch/powerpc/crypto/sha1.c 	partial = sctx->count & 0x3f;
count              45 arch/powerpc/crypto/sha1.c 	sctx->count += len;
count              82 arch/powerpc/crypto/sha1.c 	bits = cpu_to_be64(sctx->count << 3);
count              85 arch/powerpc/crypto/sha1.c 	index = sctx->count & 0x3f;
count              52 arch/powerpc/crypto/sha256-spe-glue.c 	int count = sizeof(struct sha256_state) >> 2;
count              57 arch/powerpc/crypto/sha256-spe-glue.c 	do { *ptr++ = 0; } while (--count);
count              72 arch/powerpc/crypto/sha256-spe-glue.c 	sctx->count = 0;
count              89 arch/powerpc/crypto/sha256-spe-glue.c 	sctx->count = 0;
count              98 arch/powerpc/crypto/sha256-spe-glue.c 	const unsigned int offset = sctx->count & 0x3f;
count             104 arch/powerpc/crypto/sha256-spe-glue.c 		sctx->count += len;
count             109 arch/powerpc/crypto/sha256-spe-glue.c 	sctx->count += len;
count             142 arch/powerpc/crypto/sha256-spe-glue.c 	const unsigned int offset = sctx->count & 0x3f;
count             161 arch/powerpc/crypto/sha256-spe-glue.c 	*pbits = cpu_to_be64(sctx->count << 3);
count             232 arch/powerpc/include/asm/book3s/32/pgtable.h 			    unsigned long pmdval, int count);
count             176 arch/powerpc/include/asm/book3s/64/pgalloc.h static inline void update_page_count(int psize, long count)
count             179 arch/powerpc/include/asm/book3s/64/pgalloc.h 		atomic_long_add(count, &direct_pages_count[psize]);
count              28 arch/powerpc/include/asm/cell-pmu.h #define CBE_PM_COUNT_MODE_SET(count)       (((count) & 0x3) << 18)
count             297 arch/powerpc/include/asm/dma.h static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count             299 arch/powerpc/include/asm/dma.h 	count--;
count             301 arch/powerpc/include/asm/dma.h 		dma_outb(count & 0xff,
count             303 arch/powerpc/include/asm/dma.h 		dma_outb((count >> 8) & 0xff,
count             306 arch/powerpc/include/asm/dma.h 		dma_outb((count >> 1) & 0xff,
count             308 arch/powerpc/include/asm/dma.h 		dma_outb((count >> 9) & 0xff,
count             329 arch/powerpc/include/asm/dma.h 	unsigned short count;
count             331 arch/powerpc/include/asm/dma.h 	count = 1 + dma_inb(io_port);
count             332 arch/powerpc/include/asm/dma.h 	count += dma_inb(io_port) << 8;
count             334 arch/powerpc/include/asm/dma.h 	return (dmanr <= 3) ? count : (count << 1);
count             283 arch/powerpc/include/asm/epapr_hcalls.h 	unsigned int *count, const char buffer[EV_BYTE_CHANNEL_MAX_BYTES])
count             296 arch/powerpc/include/asm/epapr_hcalls.h 	r4 = *count;
count             308 arch/powerpc/include/asm/epapr_hcalls.h 	*count = r4;
count             326 arch/powerpc/include/asm/epapr_hcalls.h 	unsigned int *count, char buffer[EV_BYTE_CHANNEL_MAX_BYTES])
count             339 arch/powerpc/include/asm/epapr_hcalls.h 	r4 = *count;
count             347 arch/powerpc/include/asm/epapr_hcalls.h 	*count = r4;
count              24 arch/powerpc/include/asm/floppy.h #define fd_set_dma_count(count) set_dma_count(FLOPPY_DMA, count)
count             358 arch/powerpc/include/asm/fsl_hcalls.h 	unsigned int target, phys_addr_t sg_list, unsigned int count)
count             377 arch/powerpc/include/asm/fsl_hcalls.h 	r7 = count;
count              24 arch/powerpc/include/asm/hvconsole.h extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
count              25 arch/powerpc/include/asm/hvconsole.h extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
count              75 arch/powerpc/include/asm/hvsi.h 	int (*get_chars)(uint32_t termno, char *buf, int count);
count              76 arch/powerpc/include/asm/hvsi.h 	int (*put_chars)(uint32_t termno, const char *buf, int count);
count              83 arch/powerpc/include/asm/hvsi.h 			 int (*get_chars)(uint32_t termno, char *buf, int count),
count              85 arch/powerpc/include/asm/hvsi.h 					  int count),
count              92 arch/powerpc/include/asm/hvsi.h extern int hvsilib_get_chars(struct hvsi_priv *pv, char *buf, int count);
count              93 arch/powerpc/include/asm/hvsi.h extern int hvsilib_put_chars(struct hvsi_priv *pv, const char *buf, int count);
count              89 arch/powerpc/include/asm/icswx.h 	__be32 count;
count             105 arch/powerpc/include/asm/icswx.h 	u8 count;
count             201 arch/powerpc/include/asm/io.h extern void _insb(const volatile u8 __iomem *addr, void *buf, long count);
count             202 arch/powerpc/include/asm/io.h extern void _outsb(volatile u8 __iomem *addr,const void *buf,long count);
count             203 arch/powerpc/include/asm/io.h extern void _insw_ns(const volatile u16 __iomem *addr, void *buf, long count);
count             204 arch/powerpc/include/asm/io.h extern void _outsw_ns(volatile u16 __iomem *addr, const void *buf, long count);
count             205 arch/powerpc/include/asm/io.h extern void _insl_ns(const volatile u32 __iomem *addr, void *buf, long count);
count             206 arch/powerpc/include/asm/io.h extern void _outsl_ns(volatile u32 __iomem *addr, const void *buf, long count);
count             754 arch/powerpc/include/asm/io.h #define mmio_insb(addr, dst, count)	readsb(addr, dst, count)
count             755 arch/powerpc/include/asm/io.h #define mmio_insw(addr, dst, count)	readsw(addr, dst, count)
count             756 arch/powerpc/include/asm/io.h #define mmio_insl(addr, dst, count)	readsl(addr, dst, count)
count             757 arch/powerpc/include/asm/io.h #define mmio_outsb(addr, src, count)	writesb(addr, src, count)
count             758 arch/powerpc/include/asm/io.h #define mmio_outsw(addr, src, count)	writesw(addr, src, count)
count             759 arch/powerpc/include/asm/io.h #define mmio_outsl(addr, src, count)	writesl(addr, src, count)
count              87 arch/powerpc/include/asm/machdep.h 	ssize_t		(*nvram_write)(char *buf, size_t count, loff_t *index);
count              88 arch/powerpc/include/asm/machdep.h 	ssize_t		(*nvram_read)(char *buf, size_t count, loff_t *index);	
count             110 arch/powerpc/include/asm/mpc52xx.h 	u32 count;		/* GPTx + 0x04 */
count             315 arch/powerpc/include/asm/opal.h extern int opal_get_chars(uint32_t vtermno, char *buf, int count);
count             380 arch/powerpc/include/asm/opal.h ssize_t opal_msglog_copy(char *to, loff_t pos, size_t count);
count              18 arch/powerpc/include/asm/oprofile_impl.h 	unsigned long count;
count              22 arch/powerpc/include/asm/parport.h 	int count = 0;
count              37 arch/powerpc/include/asm/parport.h 			count++;
count              39 arch/powerpc/include/asm/parport.h 	return count;
count              81 arch/powerpc/include/asm/pci.h 			   size_t count);
count              83 arch/powerpc/include/asm/pci.h 			   size_t count);
count             240 arch/powerpc/include/asm/plpar_wrappers.h 		unsigned long ioba, unsigned long page, unsigned long count)
count             242 arch/powerpc/include/asm/plpar_wrappers.h 	return plpar_hcall_norets(H_PUT_TCE_INDIRECT, liobn, ioba, page, count);
count             246 arch/powerpc/include/asm/plpar_wrappers.h 		unsigned long tceval, unsigned long count)
count             248 arch/powerpc/include/asm/plpar_wrappers.h 	return plpar_hcall_norets(H_STUFF_TCE, liobn, ioba, tceval, count);
count              29 arch/powerpc/include/asm/pmac_pfunc.h 	unsigned int count;
count              14 arch/powerpc/include/asm/pnv-ocxl.h extern int pnv_ocxl_get_pasid_count(struct pci_dev *dev, int *count);
count              44 arch/powerpc/include/asm/ps3.h 	ssize_t (*read)(void *buf, size_t count, loff_t pos);
count              45 arch/powerpc/include/asm/ps3.h 	ssize_t (*write)(const void *buf, size_t count, loff_t pos);
count             485 arch/powerpc/include/asm/ps3.h int ps3_lpm_copy_tb(unsigned long offset, void *buf, unsigned long count,
count             488 arch/powerpc/include/asm/ps3.h 	unsigned long count, unsigned long *bytes_copied);
count             321 arch/powerpc/include/asm/rtas.h 		struct { __be32 count, index; } ic;
count              33 arch/powerpc/include/asm/string.h void *__memset(void *s, int c, __kernel_size_t count);
count             423 arch/powerpc/include/asm/uaccess.h extern long strncpy_from_user(char *dst, const char __user *src, long count);
count              79 arch/powerpc/include/asm/xive.h 	atomic_t		count;
count              55 arch/powerpc/kernel/dawr.c 				    size_t count, loff_t *ppos)
count              66 arch/powerpc/kernel/dawr.c 	rc = debugfs_write_file_bool(file, user_buf, count, ppos);
count             994 arch/powerpc/kernel/dt_cpu_ftrs.c 	int *count = data;
count             996 arch/powerpc/kernel/dt_cpu_ftrs.c 	process_cpufeatures_node(node, uname, *count);
count             998 arch/powerpc/kernel/dt_cpu_ftrs.c 	(*count)++;
count            1007 arch/powerpc/kernel/dt_cpu_ftrs.c 	int *count = data;
count            1009 arch/powerpc/kernel/dt_cpu_ftrs.c 	(*count)++;
count            1018 arch/powerpc/kernel/dt_cpu_ftrs.c 	int count, i;
count            1045 arch/powerpc/kernel/dt_cpu_ftrs.c 	count = 0;
count            1046 arch/powerpc/kernel/dt_cpu_ftrs.c 	of_scan_flat_dt_subnodes(node, scan_cpufeatures_subnodes, &count);
count            1821 arch/powerpc/kernel/eeh.c 				size_t count, loff_t *ppos)
count            1829 arch/powerpc/kernel/eeh.c 	ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count);
count            1841 arch/powerpc/kernel/eeh.c 		return count;
count            1866 arch/powerpc/kernel/eeh.c 	return ret < 0 ? ret : count;
count            1877 arch/powerpc/kernel/eeh.c 				size_t count, loff_t *ppos)
count            1881 arch/powerpc/kernel/eeh.c 	return simple_read_from_buffer(user_buf, count, ppos,
count            1887 arch/powerpc/kernel/eeh.c 				size_t count, loff_t *ppos)
count            1896 arch/powerpc/kernel/eeh.c 	ret = simple_write_to_buffer(buf, sizeof(buf)-1, ppos, user_buf, count);
count            1923 arch/powerpc/kernel/eeh.c 	return count;
count            2028 arch/powerpc/kernel/eeh.c 				size_t count, loff_t *ppos)
count            2036 arch/powerpc/kernel/eeh.c 	ret = simple_write_to_buffer(buf, sizeof(buf)-1, ppos, user_buf, count);
count            2056 arch/powerpc/kernel/eeh.c 	return count;
count              73 arch/powerpc/kernel/eeh_sysfs.c 				  const char *buf, size_t count)
count              83 arch/powerpc/kernel/eeh_sysfs.c 		return count;
count              89 arch/powerpc/kernel/eeh_sysfs.c 	return count;
count             111 arch/powerpc/kernel/eeh_sysfs.c 				       const char *buf, size_t count)
count             122 arch/powerpc/kernel/eeh_sysfs.c 	return count;
count             677 arch/powerpc/kernel/fadump.c 	unsigned long count, i;
count             685 arch/powerpc/kernel/fadump.c 	count = PAGE_ALIGN(size) / PAGE_SIZE;
count             687 arch/powerpc/kernel/fadump.c 	for (i = 0; i < count; i++)
count            1328 arch/powerpc/kernel/fadump.c 					const char *buf, size_t count)
count            1350 arch/powerpc/kernel/fadump.c 	return count;
count            1369 arch/powerpc/kernel/fadump.c 					const char *buf, size_t count)
count            1407 arch/powerpc/kernel/fadump.c 	return ret < 0 ? ret : count;
count              27 arch/powerpc/kernel/io.c void _insb(const volatile u8 __iomem *port, void *buf, long count)
count              32 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count              39 arch/powerpc/kernel/io.c 	} while (--count != 0);
count              44 arch/powerpc/kernel/io.c void _outsb(volatile u8 __iomem *port, const void *buf, long count)
count              48 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count              53 arch/powerpc/kernel/io.c 	} while (--count != 0);
count              58 arch/powerpc/kernel/io.c void _insw_ns(const volatile u16 __iomem *port, void *buf, long count)
count              63 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count              70 arch/powerpc/kernel/io.c 	} while (--count != 0);
count              75 arch/powerpc/kernel/io.c void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count)
count              79 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count              84 arch/powerpc/kernel/io.c 	} while (--count != 0);
count              89 arch/powerpc/kernel/io.c void _insl_ns(const volatile u32 __iomem *port, void *buf, long count)
count              94 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count             101 arch/powerpc/kernel/io.c 	} while (--count != 0);
count             106 arch/powerpc/kernel/io.c void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count)
count             110 arch/powerpc/kernel/io.c 	if (unlikely(count <= 0))
count             115 arch/powerpc/kernel/io.c 	} while (--count != 0);
count             142 arch/powerpc/kernel/iomap.c void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
count             144 arch/powerpc/kernel/iomap.c 	readsb(addr, dst, count);
count             146 arch/powerpc/kernel/iomap.c void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
count             148 arch/powerpc/kernel/iomap.c 	readsw(addr, dst, count);
count             150 arch/powerpc/kernel/iomap.c void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
count             152 arch/powerpc/kernel/iomap.c 	readsl(addr, dst, count);
count             158 arch/powerpc/kernel/iomap.c void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
count             160 arch/powerpc/kernel/iomap.c 	writesb(addr, src, count);
count             162 arch/powerpc/kernel/iomap.c void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
count             164 arch/powerpc/kernel/iomap.c 	writesw(addr, src, count);
count             166 arch/powerpc/kernel/iomap.c void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
count             168 arch/powerpc/kernel/iomap.c 	writesl(addr, src, count);
count             108 arch/powerpc/kernel/iommu.c 				size_t count)
count             112 arch/powerpc/kernel/iommu.c 	if (count > 0 && sscanf(buf, "%d", &i) > 0)
count             115 arch/powerpc/kernel/iommu.c 	return count;
count             407 arch/powerpc/kernel/nvram_64.c 		record->count);
count             496 arch/powerpc/kernel/nvram_64.c 	record->count = 0;
count            1992 arch/powerpc/kernel/process.c 	int count = 0;
count            2006 arch/powerpc/kernel/process.c 		if (count > 0) {
count            2011 arch/powerpc/kernel/process.c 	} while (count++ < 16);
count            2034 arch/powerpc/kernel/process.c 	int count = 0;
count            2093 arch/powerpc/kernel/process.c 	} while (count++ < kstack_depth_to_print);
count             253 arch/powerpc/kernel/prom_init.c static int __init prom_strncmp(const char *cs, const char *ct, size_t count)
count             257 arch/powerpc/kernel/prom_init.c 	while (count) {
count             264 arch/powerpc/kernel/prom_init.c 		count--;
count             278 arch/powerpc/kernel/prom_init.c static int __init prom_memcmp(const void *cs, const void *ct, size_t count)
count             283 arch/powerpc/kernel/prom_init.c 	for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
count             338 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             352 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             357 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &msr,
count             367 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             372 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             379 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             390 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             394 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count             395 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
count             406 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             413 arch/powerpc/kernel/ptrace.c 			&pos, &count, &kbuf, &ubuf,
count             417 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count             418 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
count             427 arch/powerpc/kernel/ptrace.c 			&pos, &count, &kbuf, &ubuf,
count             446 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             459 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
count             466 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             485 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             499 arch/powerpc/kernel/ptrace.c 	i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
count             513 arch/powerpc/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             554 arch/powerpc/kernel/ptrace.c 		  unsigned int pos, unsigned int count,
count             564 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             582 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave,
count             604 arch/powerpc/kernel/ptrace.c 		  unsigned int pos, unsigned int count,
count             614 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             617 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count             632 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave,
count             669 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             683 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             702 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             716 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             746 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             753 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             761 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             769 arch/powerpc/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             776 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             784 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             835 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count             850 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             856 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &msr,
count             866 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             871 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             899 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count             915 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             919 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count             920 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
count             931 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             938 arch/powerpc/kernel/ptrace.c 			&pos, &count, &kbuf, &ubuf,
count             942 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count             943 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
count             952 arch/powerpc/kernel/ptrace.c 			&pos, &count, &kbuf, &ubuf,
count            1001 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1021 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
count            1047 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1068 arch/powerpc/kernel/ptrace.c 	i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
count            1121 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1139 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1152 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave,
count            1183 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1200 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1203 arch/powerpc/kernel/ptrace.c 	if (!ret && count > 0) {
count            1213 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave,
count            1265 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1285 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1313 arch/powerpc/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1334 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1380 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1399 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1404 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1410 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1436 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1455 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1460 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1466 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1486 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1497 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1504 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1515 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1535 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1546 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1553 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1564 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1583 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1594 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1601 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1612 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1621 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1624 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1630 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1633 arch/powerpc/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1639 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1642 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1647 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1650 arch/powerpc/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1657 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1660 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1665 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1668 arch/powerpc/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1686 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1699 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1705 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1720 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1724 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1729 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1746 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1758 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1765 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1779 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1784 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1789 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1794 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1799 arch/powerpc/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1818 arch/powerpc/kernel/ptrace.c 		    unsigned int pos, unsigned int count,
count            1827 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1834 arch/powerpc/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count            1844 arch/powerpc/kernel/ptrace.c 	if (pos != 0 || count != sizeof(new_amr))
count            1847 arch/powerpc/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            2021 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2030 arch/powerpc/kernel/ptrace.c 	count /= sizeof(reg);
count            2033 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_MSR; --count)
count            2036 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_MSR; --count)
count            2040 arch/powerpc/kernel/ptrace.c 	if (count > 0 && pos == PT_MSR) {
count            2047 arch/powerpc/kernel/ptrace.c 		--count;
count            2051 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_REGS_COUNT; --count)
count            2054 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_REGS_COUNT; --count)
count            2061 arch/powerpc/kernel/ptrace.c 	count *= sizeof(reg);
count            2062 arch/powerpc/kernel/ptrace.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count            2068 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2077 arch/powerpc/kernel/ptrace.c 	count /= sizeof(reg);
count            2080 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_MSR; --count)
count            2083 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_MSR; --count) {
count            2090 arch/powerpc/kernel/ptrace.c 	if (count > 0 && pos == PT_MSR) {
count            2097 arch/powerpc/kernel/ptrace.c 		--count;
count            2101 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos <= PT_MAX_PUT_REG; --count)
count            2103 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_TRAP; --count, ++pos)
count            2106 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos <= PT_MAX_PUT_REG; --count) {
count            2111 arch/powerpc/kernel/ptrace.c 		for (; count > 0 && pos < PT_TRAP; --count, ++pos)
count            2116 arch/powerpc/kernel/ptrace.c 	if (count > 0 && pos == PT_TRAP) {
count            2123 arch/powerpc/kernel/ptrace.c 		--count;
count            2129 arch/powerpc/kernel/ptrace.c 	count *= sizeof(reg);
count            2130 arch/powerpc/kernel/ptrace.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count            2137 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2140 arch/powerpc/kernel/ptrace.c 	return gpr32_get_common(target, regset, pos, count, kbuf, ubuf,
count            2146 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2149 arch/powerpc/kernel/ptrace.c 	return gpr32_set_common(target, regset, pos, count, kbuf, ubuf,
count            2156 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2172 arch/powerpc/kernel/ptrace.c 	return gpr32_get_common(target, regset, pos, count, kbuf, ubuf,
count            2178 arch/powerpc/kernel/ptrace.c 		     unsigned int pos, unsigned int count,
count            2185 arch/powerpc/kernel/ptrace.c 	return gpr32_set_common(target, regset, pos, count, kbuf, ubuf,
count             141 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos);
count             144 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos);
count             147 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos);
count             150 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos);
count             153 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos);
count             259 arch/powerpc/kernel/rtas-proc.c static int parse_number(const char __user *p, size_t count, u64 *val)
count             264 arch/powerpc/kernel/rtas-proc.c 	if (count > 39)
count             267 arch/powerpc/kernel/rtas-proc.c 	if (copy_from_user(buf, p, count))
count             270 arch/powerpc/kernel/rtas-proc.c 	buf[count] = 0;
count             283 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos)
count             287 arch/powerpc/kernel/rtas-proc.c 	int error = parse_number(buf, count, &nowtime);
count             301 arch/powerpc/kernel/rtas-proc.c 	return count;
count             317 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos)
count             321 arch/powerpc/kernel/rtas-proc.c 	if (count >= MAX_LINELENGTH)
count             322 arch/powerpc/kernel/rtas-proc.c 		count = MAX_LINELENGTH -1;
count             323 arch/powerpc/kernel/rtas-proc.c 	if (copy_from_user(progress_led, buf, count)) { /* save the string */
count             326 arch/powerpc/kernel/rtas-proc.c 	progress_led[count] = 0;
count             332 arch/powerpc/kernel/rtas-proc.c 	return count;
count             349 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos)
count             353 arch/powerpc/kernel/rtas-proc.c 	int error = parse_number(buf, count, &nowtime);
count             364 arch/powerpc/kernel/rtas-proc.c 	return count;
count             708 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos)
count             711 arch/powerpc/kernel/rtas-proc.c 	int error = parse_number(buf, count, &freq);
count             721 arch/powerpc/kernel/rtas-proc.c 	return count;
count             733 arch/powerpc/kernel/rtas-proc.c 		const char __user *buf, size_t count, loff_t *ppos)
count             736 arch/powerpc/kernel/rtas-proc.c 	int error = parse_number(buf, count, &volume);
count             749 arch/powerpc/kernel/rtas-proc.c 	return count;
count             622 arch/powerpc/kernel/rtas.c 	int proplen, count, i;
count             632 arch/powerpc/kernel/rtas.c 	count = proplen / sizeof(struct indicator_elem);
count             634 arch/powerpc/kernel/rtas.c 	for (i = 0; i < count; i++) {
count             273 arch/powerpc/kernel/rtas_flash.c 				   size_t count, loff_t *ppos)
count             286 arch/powerpc/kernel/rtas_flash.c 	return simple_read_from_buffer(buf, count, ppos, msg, len);
count             290 arch/powerpc/kernel/rtas_flash.c 				   size_t count, loff_t *ppos)
count             302 arch/powerpc/kernel/rtas_flash.c 	return simple_read_from_buffer(buf, count, ppos, msg, strlen(msg));
count             311 arch/powerpc/kernel/rtas_flash.c 				size_t count, loff_t *off)
count             320 arch/powerpc/kernel/rtas_flash.c 	if (uf->status == FLASH_AUTH || count == 0)
count             346 arch/powerpc/kernel/rtas_flash.c 	if (count > RTAS_BLK_SIZE)
count             347 arch/powerpc/kernel/rtas_flash.c 		count = RTAS_BLK_SIZE;
count             352 arch/powerpc/kernel/rtas_flash.c 	if(copy_from_user(p, buffer, count)) {
count             358 arch/powerpc/kernel/rtas_flash.c 	fl->blocks[next_free].length = count;
count             362 arch/powerpc/kernel/rtas_flash.c 	return count;
count             387 arch/powerpc/kernel/rtas_flash.c 			       size_t count, loff_t *ppos)
count             398 arch/powerpc/kernel/rtas_flash.c 	return simple_read_from_buffer(buf, count, ppos, msg, msglen);
count             402 arch/powerpc/kernel/rtas_flash.c 				size_t count, loff_t *off)
count             412 arch/powerpc/kernel/rtas_flash.c 	if ((args_buf->status == MANAGE_AUTH) || (count == 0))
count             417 arch/powerpc/kernel/rtas_flash.c 		if (count > 9) count = 9;
count             419 arch/powerpc/kernel/rtas_flash.c 		if (copy_from_user (stkbuf, buf, count))
count             435 arch/powerpc/kernel/rtas_flash.c 	return count;
count             483 arch/powerpc/kernel/rtas_flash.c 			       size_t count, loff_t *ppos)
count             494 arch/powerpc/kernel/rtas_flash.c 	return simple_read_from_buffer(buf, count, ppos, msg, msglen);
count             498 arch/powerpc/kernel/rtas_flash.c 				    size_t count, loff_t *off)
count             510 arch/powerpc/kernel/rtas_flash.c 		*off += count;
count             512 arch/powerpc/kernel/rtas_flash.c 		return count;
count             515 arch/powerpc/kernel/rtas_flash.c 	if (*off + count >= VALIDATE_BUF_SIZE)  {
count             516 arch/powerpc/kernel/rtas_flash.c 		count = VALIDATE_BUF_SIZE - *off;
count             522 arch/powerpc/kernel/rtas_flash.c 	if (!access_ok(buf, count)) {
count             526 arch/powerpc/kernel/rtas_flash.c 	if (copy_from_user(args_buf->buf + *off, buf, count)) {
count             531 arch/powerpc/kernel/rtas_flash.c 	*off += count;
count             532 arch/powerpc/kernel/rtas_flash.c 	rc = count;
count             322 arch/powerpc/kernel/rtasd.c 			 size_t count, loff_t *ppos)
count             329 arch/powerpc/kernel/rtasd.c 	if (!buf || count < rtas_error_log_buffer_max)
count             332 arch/powerpc/kernel/rtasd.c 	count = rtas_error_log_buffer_max;
count             334 arch/powerpc/kernel/rtasd.c 	if (!access_ok(buf, count))
count             337 arch/powerpc/kernel/rtasd.c 	tmp = kmalloc(count, GFP_KERNEL);
count             368 arch/powerpc/kernel/rtasd.c 	memcpy(tmp, &rtas_log_buf[offset], count);
count             374 arch/powerpc/kernel/rtasd.c 	error = copy_to_user(buf, tmp, count) ? -EFAULT : count;
count              64 arch/powerpc/kernel/sys_ppc32.c compat_ssize_t compat_sys_pread64(unsigned int fd, char __user *ubuf, compat_size_t count,
count              67 arch/powerpc/kernel/sys_ppc32.c 	return ksys_pread64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo);
count              70 arch/powerpc/kernel/sys_ppc32.c compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count,
count              73 arch/powerpc/kernel/sys_ppc32.c 	return ksys_pwrite64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo);
count              76 arch/powerpc/kernel/sys_ppc32.c compat_ssize_t compat_sys_readahead(int fd, u32 r4, u32 offhi, u32 offlo, u32 count)
count              78 arch/powerpc/kernel/sys_ppc32.c 	return ksys_readahead(fd, ((loff_t)offhi << 32) | offlo, count);
count              46 arch/powerpc/kernel/sysfs.c 				      size_t count)
count              57 arch/powerpc/kernel/sysfs.c 	return count;
count             148 arch/powerpc/kernel/sysfs.c 				const char *buf, size_t count)
count             161 arch/powerpc/kernel/sysfs.c 	return count;
count             215 arch/powerpc/kernel/sysfs.c 				const char *buf, size_t count)
count             237 arch/powerpc/kernel/sysfs.c 	return count;
count             270 arch/powerpc/kernel/sysfs.c 				const char *buf, size_t count)
count             283 arch/powerpc/kernel/sysfs.c 	return count;
count             337 arch/powerpc/kernel/sysfs.c 				const char *buf, size_t count)
count             359 arch/powerpc/kernel/sysfs.c 	return count;
count             433 arch/powerpc/kernel/sysfs.c 			const char *buf, size_t count) \
count             441 arch/powerpc/kernel/sysfs.c 	return count; \
count             574 arch/powerpc/kernel/sysfs.c 		size_t count)
count             586 arch/powerpc/kernel/sysfs.c 	return count;
count             918 arch/powerpc/kernel/sysfs.c ssize_t arch_cpu_probe(const char *buf, size_t count)
count             921 arch/powerpc/kernel/sysfs.c 		return ppc_md.cpu_probe(buf, count);
count             926 arch/powerpc/kernel/sysfs.c ssize_t arch_cpu_release(const char *buf, size_t count)
count             929 arch/powerpc/kernel/sysfs.c 		return ppc_md.cpu_release(buf, count);
count            1740 arch/powerpc/kvm/book3s_64_mmu_hv.c 			     size_t count, loff_t *ppos)
count            1754 arch/powerpc/kvm/book3s_64_mmu_hv.c 	if (!access_ok(buf, count))
count            1768 arch/powerpc/kvm/book3s_64_mmu_hv.c 	while (nb + sizeof(hdr) + HPTE_SIZE < count) {
count            1791 arch/powerpc/kvm/book3s_64_mmu_hv.c 		       nb + HPTE_SIZE < count &&
count            1839 arch/powerpc/kvm/book3s_64_mmu_hv.c 			      size_t count, loff_t *ppos)
count            1854 arch/powerpc/kvm/book3s_64_mmu_hv.c 	if (!access_ok(buf, count))
count            1874 arch/powerpc/kvm/book3s_64_mmu_hv.c 	for (nb = 0; nb + sizeof(hdr) <= count; ) {
count            1880 arch/powerpc/kvm/book3s_64_mmu_hv.c 		if (nb + hdr.n_valid * HPTE_SIZE > count)
count            2164 arch/powerpc/kvm/book3s_hv.c 	u64 count;
count            2180 arch/powerpc/kvm/book3s_hv.c 				count = acc->seqcount;
count            2181 arch/powerpc/kvm/book3s_hv.c 				if (!(count & 1)) {
count            2185 arch/powerpc/kvm/book3s_hv.c 					if (count == acc->seqcount) {
count            2198 arch/powerpc/kvm/book3s_hv.c 					timings[i].name, count / 2,
count             350 arch/powerpc/kvm/book3s_xive.c 	return atomic_add_unless(&q->count, 1, max) ? 0 : -EBUSY;
count             204 arch/powerpc/kvm/book3s_xive_template.c 					WARN_ON(p > atomic_read(&q->count));
count             206 arch/powerpc/kvm/book3s_xive_template.c 					atomic_sub(p, &q->count);
count             163 arch/powerpc/kvm/timing.c 				       size_t count, loff_t *ppos)
count             168 arch/powerpc/kvm/timing.c 	if (count > 1) {
count             186 arch/powerpc/kvm/timing.c 		err = count;
count             127 arch/powerpc/kvm/trace_pr.h 		__field(	int,			count		)
count             134 arch/powerpc/kvm/trace_pr.h 		__entry->count		= to_book3s(vcpu)->hpte_cache_count;
count             141 arch/powerpc/kvm/trace_pr.h 		  __entry->count, __entry->type, __entry->p1, __entry->p2)
count              79 arch/powerpc/mm/book3s32/tlb.c 	int count;
count              96 arch/powerpc/mm/book3s32/tlb.c 			count = ((pmd_end - start) >> PAGE_SHIFT) + 1;
count              97 arch/powerpc/mm/book3s32/tlb.c 			flush_hash_pages(ctx, start, pmd_val(*pmd), count);
count             227 arch/powerpc/mm/book3s64/mmu_context.c 	int count;
count             232 arch/powerpc/mm/book3s64/mmu_context.c 	count = ((unsigned long)pmd_frag & ~PAGE_MASK) >> PMD_FRAG_SIZE_SHIFT;
count             234 arch/powerpc/mm/book3s64/mmu_context.c 	if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) {
count             768 arch/powerpc/mm/numa.c 	unsigned int cpu, count;
count             776 arch/powerpc/mm/numa.c 		count = 0;
count             784 arch/powerpc/mm/numa.c 				if (count == 0)
count             786 arch/powerpc/mm/numa.c 				++count;
count             788 arch/powerpc/mm/numa.c 				if (count > 1)
count             790 arch/powerpc/mm/numa.c 				count = 0;
count             794 arch/powerpc/mm/numa.c 		if (count > 1)
count            1596 arch/powerpc/mm/numa.c 			      size_t count, loff_t *off)
count            1601 arch/powerpc/mm/numa.c 	read_len = count < 3 ? count : 3;
count            1616 arch/powerpc/mm/numa.c 	return count;
count              20 arch/powerpc/mm/pgtable-frag.c 	int count;
count              25 arch/powerpc/mm/pgtable-frag.c 	count = ((unsigned long)pte_frag & ~PAGE_MASK) >> PTE_FRAG_SIZE_SHIFT;
count              27 arch/powerpc/mm/pgtable-frag.c 	if (atomic_sub_and_test(PTE_FRAG_NR - count, &page->pt_frag_refcount)) {
count              80 arch/powerpc/mm/slice.c 		unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index;
count              82 arch/powerpc/mm/slice.c 		bitmap_set(ret->high_slices, start_index, count);
count             158 arch/powerpc/mm/slice.c 		unsigned long count = GET_HIGH_SLICE_INDEX(align_end) - start_index;
count             161 arch/powerpc/mm/slice.c 		for (i = start_index; i < start_index + count; i++) {
count             163 arch/powerpc/oprofile/common.c 		oprofilefs_create_ulong(dir, "count", &ctr[i].count);
count             105 arch/powerpc/oprofile/op_model_7450.c 		reset_value[i] = 0x80000000UL - ctr[i].count;
count             235 arch/powerpc/oprofile/op_model_cell.c static int pm_rtas_activate_signals(u32 node, u32 count)
count             250 arch/powerpc/oprofile/op_model_cell.c 	for (j = 0; j < count; j++) {
count             562 arch/powerpc/oprofile/op_model_cell.c 	spu_cycle_reset = ctr[0].count;
count             738 arch/powerpc/oprofile/op_model_cell.c 	reset_value[0] = 0xFFFFFFFF - ctr[0].count;
count             813 arch/powerpc/oprofile/op_model_cell.c 			reset_value[i] = 0xFFFFFFFF - ctr[i].count;
count             872 arch/powerpc/oprofile/op_model_cell.c 		spu_cycle_reset = ctr[0].count;
count             287 arch/powerpc/oprofile/op_model_fsl_emb.c 		reset_value[i] = 0x80000000UL - ctr[i].count;
count             121 arch/powerpc/oprofile/op_model_pa6t.c 		reset_value[pmc] = (0x1UL << 39) - ctr[pmc].count;
count             125 arch/powerpc/oprofile/op_model_power4.c 		reset_value[i] = 0x80000000UL - ctr[i].count;
count             155 arch/powerpc/perf/8xx-pmu.c 	local64_add(delta, &event->count);
count            1083 arch/powerpc/perf/core-book3s.c 	local64_add(delta, &event->count);
count            1129 arch/powerpc/perf/core-book3s.c 			local64_add(delta, &event->count);
count            2053 arch/powerpc/perf/core-book3s.c 	local64_add(delta, &event->count);
count             195 arch/powerpc/perf/core-fsl-emb.c 	local64_add(delta, &event->count);
count             617 arch/powerpc/perf/core-fsl-emb.c 	local64_add(delta, &event->count);
count             924 arch/powerpc/perf/hv-24x7.c 			    loff_t offset, size_t count)
count             965 arch/powerpc/perf/hv-24x7.c 	if (copy_len > count)
count             966 arch/powerpc/perf/hv-24x7.c 		copy_len = count;
count             980 arch/powerpc/perf/hv-24x7.c 			count, catalog_len, catalog_page_len, ret);
count             988 arch/powerpc/perf/hv-24x7.c 	int d, n, count = 0;
count            1000 arch/powerpc/perf/hv-24x7.c 		count += n;
count            1003 arch/powerpc/perf/hv-24x7.c 	return count;
count            1190 arch/powerpc/perf/hv-24x7.c 	u64 count;
count            1233 arch/powerpc/perf/hv-24x7.c 	for (i = count = 0, element_data = res->elements + data_offset;
count            1236 arch/powerpc/perf/hv-24x7.c 		count += be64_to_cpu(*((u64 *) element_data));
count            1238 arch/powerpc/perf/hv-24x7.c 	*countp = count;
count            1247 arch/powerpc/perf/hv-24x7.c static int single_24x7_request(struct perf_event *event, u64 *count)
count            1271 arch/powerpc/perf/hv-24x7.c 				    result_buffer->results, count, NULL);
count            1362 arch/powerpc/perf/hv-24x7.c 	local64_add(now - prev, &event->count);
count            1412 arch/powerpc/perf/hv-24x7.c 			local64_set(&event->count, 0);
count            1494 arch/powerpc/perf/hv-24x7.c 	u64 count;
count            1523 arch/powerpc/perf/hv-24x7.c 		ret = get_count_from_result(event, result_buffer, res, &count,
count            1528 arch/powerpc/perf/hv-24x7.c 		update_event_count(event, count);
count             143 arch/powerpc/perf/hv-gpci.c 	u64 count;
count             165 arch/powerpc/perf/hv-gpci.c 	count = 0;
count             167 arch/powerpc/perf/hv-gpci.c 		count |= arg->bytes[i] << (i - offset);
count             169 arch/powerpc/perf/hv-gpci.c 	*value = count;
count             177 arch/powerpc/perf/hv-gpci.c 	u64 count;
count             184 arch/powerpc/perf/hv-gpci.c 					&count);
count             187 arch/powerpc/perf/hv-gpci.c 	return count;
count             195 arch/powerpc/perf/hv-gpci.c 	local64_add(now - prev, &event->count);
count             218 arch/powerpc/perf/hv-gpci.c 	u64 count;
count             256 arch/powerpc/perf/hv-gpci.c 				&count)) {
count             988 arch/powerpc/perf/imc-pmu.c 	local64_add(final_count, &event->count);
count            1415 arch/powerpc/platforms/4xx/pci.c 	int count = -ENODEV;
count            1448 arch/powerpc/platforms/4xx/pci.c 	count = ppc4xx_pciex_hwops->core_init(np);
count            1449 arch/powerpc/platforms/4xx/pci.c 	if (count > 0) {
count            1451 arch/powerpc/platforms/4xx/pci.c 		       kcalloc(count, sizeof(struct ppc4xx_pciex_port),
count            1454 arch/powerpc/platforms/4xx/pci.c 			ppc4xx_pciex_port_count = count;
count             254 arch/powerpc/platforms/52xx/mpc52xx_common.c 		out_be32(&mpc52xx_wdt->count, 0x000000ff);
count             442 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->count, prescale << 16 | clocks);
count             500 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period = in_be32(&gpt->regs->count);
count             225 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	int count, i;
count             263 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	count = in_be32(lpbfifo.regs + LPBFIFO_REG_BYTES_DONE_STATUS);
count             264 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	count &= 0x00ffffff;
count             270 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 		for (i = 0; i < count; i += 4)
count             275 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c 	req->pos += count;
count             135 arch/powerpc/platforms/85xx/p1022_ds.c static phys_addr_t lbc_br_to_phys(const void *ecm, unsigned int count, u32 br)
count             147 arch/powerpc/platforms/85xx/p1022_ds.c 	for (i = 0; i < count; i++) {
count              45 arch/powerpc/platforms/cell/spider-pci.c 			     unsigned long count)			\
count              47 arch/powerpc/platforms/cell/spider-pci.c 	__do_##name(addr, buf, count);					\
count             444 arch/powerpc/platforms/cell/spu_base.c 		 unsigned count;
count             460 arch/powerpc/platforms/cell/spu_base.c 		int count;
count             463 arch/powerpc/platforms/cell/spu_base.c 		for (count = 0; count < zero_list[i].count; count++)
count             470 arch/powerpc/platforms/cell/spu_base.c 		out_be64(&priv2->spu_chnlcnt_RW, count_list[i].count);
count             594 arch/powerpc/platforms/cell/spufs/file.c 	ssize_t count;
count             604 arch/powerpc/platforms/cell/spufs/file.c 	count = spu_acquire(ctx);
count             605 arch/powerpc/platforms/cell/spufs/file.c 	if (count)
count             606 arch/powerpc/platforms/cell/spufs/file.c 		return count;
count             608 arch/powerpc/platforms/cell/spufs/file.c 	for (count = 0; (count + 4) <= len; count += 4, udata++) {
count             621 arch/powerpc/platforms/cell/spufs/file.c 			if (!count)
count             622 arch/powerpc/platforms/cell/spufs/file.c 				count = -EFAULT;
count             628 arch/powerpc/platforms/cell/spufs/file.c 	if (!count)
count             629 arch/powerpc/platforms/cell/spufs/file.c 		count = -EAGAIN;
count             631 arch/powerpc/platforms/cell/spufs/file.c 	return count;
count             702 arch/powerpc/platforms/cell/spufs/file.c 	ssize_t count;
count             712 arch/powerpc/platforms/cell/spufs/file.c 	count = spu_acquire(ctx);
count             713 arch/powerpc/platforms/cell/spufs/file.c 	if (count)
count             717 arch/powerpc/platforms/cell/spufs/file.c 	count = 0;
count             720 arch/powerpc/platforms/cell/spufs/file.c 			count = -EAGAIN;
count             724 arch/powerpc/platforms/cell/spufs/file.c 		count = spufs_wait(ctx->ibox_wq, spu_ibox_read(ctx, &ibox_data));
count             725 arch/powerpc/platforms/cell/spufs/file.c 		if (count)
count             730 arch/powerpc/platforms/cell/spufs/file.c 	count = __put_user(ibox_data, udata);
count             731 arch/powerpc/platforms/cell/spufs/file.c 	if (count)
count             734 arch/powerpc/platforms/cell/spufs/file.c 	for (count = 4, udata++; (count + 4) <= len; count += 4, udata++) {
count             752 arch/powerpc/platforms/cell/spufs/file.c 	return count;
count             840 arch/powerpc/platforms/cell/spufs/file.c 	ssize_t count;
count             852 arch/powerpc/platforms/cell/spufs/file.c 	count = spu_acquire(ctx);
count             853 arch/powerpc/platforms/cell/spufs/file.c 	if (count)
count             860 arch/powerpc/platforms/cell/spufs/file.c 	count = 0;
count             863 arch/powerpc/platforms/cell/spufs/file.c 			count = -EAGAIN;
count             867 arch/powerpc/platforms/cell/spufs/file.c 		count = spufs_wait(ctx->wbox_wq, spu_wbox_write(ctx, wbox_data));
count             868 arch/powerpc/platforms/cell/spufs/file.c 		if (count)
count             874 arch/powerpc/platforms/cell/spufs/file.c 	for (count = 4, udata++; (count + 4) <= len; count += 4, udata++) {
count             888 arch/powerpc/platforms/cell/spufs/file.c 	return count;
count             306 arch/powerpc/platforms/cell/spufs/inode.c 	int count, node;
count             347 arch/powerpc/platforms/cell/spufs/inode.c 		count = 1;
count             349 arch/powerpc/platforms/cell/spufs/inode.c 			count++;
count             351 arch/powerpc/platforms/cell/spufs/inode.c 			count++;
count             355 arch/powerpc/platforms/cell/spufs/inode.c 				&cbe_spu_info[node].reserved_spus)) >= count)
count             108 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 	int count = UG_WRITE_ATTEMPTS;
count             116 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 	while (!ug_is_txfifo_ready() && count--)
count             118 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 	if (count >= 0)
count             149 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 	int count = UG_READ_ATTEMPTS;
count             154 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c 	while (!ug_is_rxfifo_ready() && count--)
count            2720 arch/powerpc/platforms/powermac/feature.c 		int	count;
count            2733 arch/powerpc/platforms/powermac/feature.c 	else if (slots && slots->count > 0) {
count             663 arch/powerpc/platforms/powermac/low_i2c.c 	u8	count;
count             691 arch/powerpc/platforms/powermac/low_i2c.c 		hdr->count = len;
count            1376 arch/powerpc/platforms/powermac/low_i2c.c 	if (!args || !args->count || !args->u[0].p)
count              99 arch/powerpc/platforms/powermac/nvram.c static ssize_t core99_nvram_read(char *buf, size_t count, loff_t *index)
count             109 arch/powerpc/platforms/powermac/nvram.c 	if (i + count > NVRAM_SIZE)
count             110 arch/powerpc/platforms/powermac/nvram.c 		count = NVRAM_SIZE - i;
count             112 arch/powerpc/platforms/powermac/nvram.c 	memcpy(buf, &nvram_image[i], count);
count             113 arch/powerpc/platforms/powermac/nvram.c 	*index = i + count;
count             114 arch/powerpc/platforms/powermac/nvram.c 	return count;
count             117 arch/powerpc/platforms/powermac/nvram.c static ssize_t core99_nvram_write(char *buf, size_t count, loff_t *index)
count             127 arch/powerpc/platforms/powermac/nvram.c 	if (i + count > NVRAM_SIZE)
count             128 arch/powerpc/platforms/powermac/nvram.c 		count = NVRAM_SIZE - i;
count             130 arch/powerpc/platforms/powermac/nvram.c 	memcpy(&nvram_image[i], buf, count);
count             131 arch/powerpc/platforms/powermac/nvram.c 	*index = i + count;
count             132 arch/powerpc/platforms/powermac/nvram.c 	return count;
count              51 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args && args->count && !args->u[0].v)
count              72 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0 || args->u[0].p == NULL)
count             160 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0 || args->u[0].p == NULL)
count             183 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0 || args->u[0].p == NULL)
count             196 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0 || args->u[0].p == NULL)
count             209 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0 || args->u[0].p == NULL)
count             224 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0)
count             244 arch/powerpc/platforms/powermac/pfunc_base.c 	if (args == NULL || args->count == 0)
count             108 arch/powerpc/platforms/powermac/pfunc_core.c static const void* pmf_next_blob(struct pmf_cmd *cmd, int count)
count             111 arch/powerpc/platforms/powermac/pfunc_core.c 	if ((cmd->cmdend - cmd->cmdptr) < count) {
count             116 arch/powerpc/platforms/powermac/pfunc_core.c 	cmd->cmdptr += count;
count             585 arch/powerpc/platforms/powermac/pfunc_core.c 	int count, rc;
count             599 arch/powerpc/platforms/powermac/pfunc_core.c 	count = 1;
count             601 arch/powerpc/platforms/powermac/pfunc_core.c 	while(count-- && cmd.cmdptr < cmd.cmdend) {
count             606 arch/powerpc/platforms/powermac/pfunc_core.c 			count = pmf_next32(&cmd) - 1;
count             640 arch/powerpc/platforms/powermac/pfunc_core.c 	int count = 0;
count             664 arch/powerpc/platforms/powermac/pfunc_core.c 		    count+1, func->flags, func->phandle, length);
count             673 arch/powerpc/platforms/powermac/pfunc_core.c 		count++;
count             676 arch/powerpc/platforms/powermac/pfunc_core.c 	DBG("pmf: Added %d functions\n", count);
count             678 arch/powerpc/platforms/powermac/pfunc_core.c 	return count;
count             686 arch/powerpc/platforms/powermac/pfunc_core.c 	int count = 0;
count             694 arch/powerpc/platforms/powermac/pfunc_core.c 			count += pmf_add_function_prop(dev, driverdata, name,
count             697 arch/powerpc/platforms/powermac/pfunc_core.c 	return count;
count             637 arch/powerpc/platforms/powermac/smp.c 	args.count = 1;
count             172 arch/powerpc/platforms/powermac/time.c 	int count = VIA_TIMER_FREQ_6 / 100;
count             197 arch/powerpc/platforms/powermac/time.c 	out_8(&via[T1LL], count);
count             198 arch/powerpc/platforms/powermac/time.c 	out_8(&via[T1LH], count >> 8);
count             121 arch/powerpc/platforms/powernv/eeh-powernv.c 				size_t count, loff_t *ppos)
count             134 arch/powerpc/platforms/powernv/eeh-powernv.c 	ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count);
count             151 arch/powerpc/platforms/powernv/eeh-powernv.c 	return ret < 0 ? ret : count;
count             175 arch/powerpc/platforms/powernv/idle.c 		size_t count)
count             185 arch/powerpc/platforms/powernv/idle.c 		return count;
count             216 arch/powerpc/platforms/powernv/idle.c 	return count;
count              40 arch/powerpc/platforms/powernv/memtrace.c 			     size_t count, loff_t *ppos)
count              44 arch/powerpc/platforms/powernv/memtrace.c 	return simple_read_from_buffer(ubuf, count, ppos, ent->mem, ent->size);
count              23 arch/powerpc/platforms/powernv/ocxl.c 	u16 count;
count             215 arch/powerpc/platforms/powernv/ocxl.c 	u16 count;
count             218 arch/powerpc/platforms/powernv/ocxl.c 		count = desired;
count             220 arch/powerpc/platforms/powernv/ocxl.c 		count = PNV_OCXL_ACTAG_MAX * desired / total;
count             222 arch/powerpc/platforms/powernv/ocxl.c 	return count;
count             239 arch/powerpc/platforms/powernv/ocxl.c 			link->fn_actags[i].count = actag_count;
count             245 arch/powerpc/platforms/powernv/ocxl.c 			link->fn_actags[i].start, link->fn_actags[i].count,
count             274 arch/powerpc/platforms/powernv/ocxl.c 	*enabled   = link->fn_actags[PCI_FUNC(dev->devfn)].count;
count             282 arch/powerpc/platforms/powernv/ocxl.c int pnv_ocxl_get_pasid_count(struct pci_dev *dev, int *count)
count             307 arch/powerpc/platforms/powernv/ocxl.c 			*count = PNV_OCXL_PASID_MAX;
count             314 arch/powerpc/platforms/powernv/ocxl.c 		rc ? 0 : *count);
count             162 arch/powerpc/platforms/powernv/opal-core.c 			     loff_t pos, size_t count)
count             173 arch/powerpc/platforms/powernv/opal-core.c 	if (count > avail)
count             174 arch/powerpc/platforms/powernv/opal-core.c 		count = avail;
count             176 arch/powerpc/platforms/powernv/opal-core.c 	if (count == 0)
count             181 arch/powerpc/platforms/powernv/opal-core.c 		tsz = min_t(size_t, oc_conf->opalcorebuf_sz - tpos, count);
count             185 arch/powerpc/platforms/powernv/opal-core.c 		count -= tsz;
count             190 arch/powerpc/platforms/powernv/opal-core.c 		if (count == 0)
count             196 arch/powerpc/platforms/powernv/opal-core.c 			tsz = min_t(size_t, m->offset + m->size - tpos, count);
count             201 arch/powerpc/platforms/powernv/opal-core.c 			count -= tsz;
count             301 arch/powerpc/platforms/powernv/opal-core.c 	u32 hdr_size, cpu_notes_size, count;
count             330 arch/powerpc/platforms/powernv/opal-core.c 	count = oc_conf->opalcorebuf_sz / PAGE_SIZE;
count             332 arch/powerpc/platforms/powernv/opal-core.c 	for (i = 0; i < count; i++)
count             351 arch/powerpc/platforms/powernv/opal-core.c 	count = 0;
count             385 arch/powerpc/platforms/powernv/opal-core.c 	count++;
count             411 arch/powerpc/platforms/powernv/opal-core.c 		count++;
count             416 arch/powerpc/platforms/powernv/opal-core.c 	elf->e_phnum = cpu_to_be16(count);
count             568 arch/powerpc/platforms/powernv/opal-core.c 					     const char *buf, size_t count)
count             589 arch/powerpc/platforms/powernv/opal-core.c 	return count;
count              35 arch/powerpc/platforms/powernv/opal-dump.c 			 const char *buf, size_t count);
count              89 arch/powerpc/platforms/powernv/opal-dump.c 			      size_t count)
count              94 arch/powerpc/platforms/powernv/opal-dump.c 	return count;
count             129 arch/powerpc/platforms/powernv/opal-dump.c 			       size_t count)
count             137 arch/powerpc/platforms/powernv/opal-dump.c 	return count;
count             284 arch/powerpc/platforms/powernv/opal-dump.c 			      char *buffer, loff_t pos, size_t count)
count             310 arch/powerpc/platforms/powernv/opal-dump.c 	memcpy(buffer, dump->buffer + pos, count);
count             318 arch/powerpc/platforms/powernv/opal-dump.c 	return count;
count              35 arch/powerpc/platforms/powernv/opal-elog.c 			 const char *buf, size_t count);
count              73 arch/powerpc/platforms/powernv/opal-elog.c 			      size_t count)
count              78 arch/powerpc/platforms/powernv/opal-elog.c 	return count;
count             154 arch/powerpc/platforms/powernv/opal-elog.c 			     char *buffer, loff_t pos, size_t count)
count             177 arch/powerpc/platforms/powernv/opal-elog.c 	memcpy(buffer, elog->buffer + pos, count);
count             179 arch/powerpc/platforms/powernv/opal-elog.c 	return count;
count             192 arch/powerpc/platforms/powernv/opal-flash.c 			      const char *buf, size_t count)
count             219 arch/powerpc/platforms/powernv/opal-flash.c 	return count;
count             254 arch/powerpc/platforms/powernv/opal-flash.c 			    const char *buf, size_t count)
count             270 arch/powerpc/platforms/powernv/opal-flash.c 	return count;
count             334 arch/powerpc/platforms/powernv/opal-flash.c 			    const char *buf, size_t count)
count             337 arch/powerpc/platforms/powernv/opal-flash.c 	int rc = count;
count             386 arch/powerpc/platforms/powernv/opal-flash.c static int alloc_image_buf(char *buffer, size_t count)
count             391 arch/powerpc/platforms/powernv/opal-flash.c 	if (count < sizeof(image_header)) {
count             436 arch/powerpc/platforms/powernv/opal-flash.c 				char *buffer, loff_t pos, size_t count)
count             453 arch/powerpc/platforms/powernv/opal-flash.c 		rc = alloc_image_buf(buffer, count);
count             463 arch/powerpc/platforms/powernv/opal-flash.c 	if ((pos + count) > image_data.size) {
count             468 arch/powerpc/platforms/powernv/opal-flash.c 	memcpy(image_data.data + pos, (void *)buffer, count);
count             469 arch/powerpc/platforms/powernv/opal-flash.c 	rc = count;
count             472 arch/powerpc/platforms/powernv/opal-flash.c 	if ((pos + count) == image_data.size) {
count             185 arch/powerpc/platforms/powernv/opal-lpc.c 			      size_t count, loff_t *ppos)
count             191 arch/powerpc/platforms/powernv/opal-lpc.c 	if (!access_ok(ubuf, count))
count             194 arch/powerpc/platforms/powernv/opal-lpc.c 	todo = count;
count             272 arch/powerpc/platforms/powernv/opal-lpc.c 	return count;
count             276 arch/powerpc/platforms/powernv/opal-lpc.c 			       size_t count, loff_t *ppos)
count             282 arch/powerpc/platforms/powernv/opal-lpc.c 	if (!access_ok(ubuf, count))
count             285 arch/powerpc/platforms/powernv/opal-lpc.c 	todo = count;
count             343 arch/powerpc/platforms/powernv/opal-lpc.c 	return count;
count              32 arch/powerpc/platforms/powernv/opal-msglog.c ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count)
count              58 arch/powerpc/platforms/powernv/opal-msglog.c 		ret = memory_read_from_buffer(to, count, &pos,
count              66 arch/powerpc/platforms/powernv/opal-msglog.c 		count -= first_read;
count              69 arch/powerpc/platforms/powernv/opal-msglog.c 		if (count <= 0)
count              79 arch/powerpc/platforms/powernv/opal-msglog.c 	ret = memory_read_from_buffer(to, count, &pos, conbuf, out_pos);
count              89 arch/powerpc/platforms/powernv/opal-msglog.c ssize_t opal_msglog_copy(char *to, loff_t pos, size_t count)
count              91 arch/powerpc/platforms/powernv/opal-msglog.c 	return memcons_copy(opal_memcons, to, pos, count);
count              96 arch/powerpc/platforms/powernv/opal-msglog.c 				loff_t pos, size_t count)
count              98 arch/powerpc/platforms/powernv/opal-msglog.c 	return opal_msglog_copy(to, pos, count);
count              26 arch/powerpc/platforms/powernv/opal-nvram.c static ssize_t opal_nvram_read(char *buf, size_t count, loff_t *index)
count              34 arch/powerpc/platforms/powernv/opal-nvram.c 	if ((off + count) > nvram_size)
count              35 arch/powerpc/platforms/powernv/opal-nvram.c 		count = nvram_size - off;
count              36 arch/powerpc/platforms/powernv/opal-nvram.c 	rc = opal_read_nvram(__pa(buf), count, off);
count              39 arch/powerpc/platforms/powernv/opal-nvram.c 	*index += count;
count              40 arch/powerpc/platforms/powernv/opal-nvram.c 	return count;
count              47 arch/powerpc/platforms/powernv/opal-nvram.c static ssize_t opal_nvram_write(char *buf, size_t count, loff_t *index)
count              55 arch/powerpc/platforms/powernv/opal-nvram.c 	if ((off + count) > nvram_size)
count              56 arch/powerpc/platforms/powernv/opal-nvram.c 		count = nvram_size - off;
count              59 arch/powerpc/platforms/powernv/opal-nvram.c 		rc = opal_write_nvram(__pa(buf), count, off);
count              77 arch/powerpc/platforms/powernv/opal-nvram.c 	*index += count;
count              78 arch/powerpc/platforms/powernv/opal-nvram.c 	return count;
count              83 arch/powerpc/platforms/powernv/opal-powercap.c 			      size_t count)
count             116 arch/powerpc/platforms/powernv/opal-powercap.c 			ret = count;
count             119 arch/powerpc/platforms/powernv/opal-powercap.c 		ret = count;
count             154 arch/powerpc/platforms/powernv/opal-prd.c 		size_t count, loff_t *ppos)
count             162 arch/powerpc/platforms/powernv/opal-prd.c 	if (count < sizeof(item->msg))
count             193 arch/powerpc/platforms/powernv/opal-prd.c 	if (size > count) {
count             217 arch/powerpc/platforms/powernv/opal-prd.c 		size_t count, loff_t *ppos)
count             226 arch/powerpc/platforms/powernv/opal-prd.c 	if (count < size)
count              76 arch/powerpc/platforms/powernv/opal-psr.c 			 const char *buf, size_t count)
count             107 arch/powerpc/platforms/powernv/opal-psr.c 			ret = count;
count             110 arch/powerpc/platforms/powernv/opal-psr.c 		ret = count;
count              60 arch/powerpc/platforms/powernv/opal-sensor-groups.c 			const char *buf, size_t count)
count              95 arch/powerpc/platforms/powernv/opal-sensor-groups.c 			ret = count;
count              98 arch/powerpc/platforms/powernv/opal-sensor-groups.c 		ret = count;
count             115 arch/powerpc/platforms/powernv/opal-sensor-groups.c 			const char *buf, size_t count);
count             133 arch/powerpc/platforms/powernv/opal-sensor-groups.c 	int count = 0;
count             138 arch/powerpc/platforms/powernv/opal-sensor-groups.c 				add_attr(handle, &sg->sgattrs[count], j);
count             139 arch/powerpc/platforms/powernv/opal-sensor-groups.c 				sg->sg.attrs[count] =
count             140 arch/powerpc/platforms/powernv/opal-sensor-groups.c 					&sg->sgattrs[count].attr.attr;
count             141 arch/powerpc/platforms/powernv/opal-sensor-groups.c 				count++;
count             123 arch/powerpc/platforms/powernv/opal-sysparam.c 		struct kobj_attribute *kobj_attr, const char *buf, size_t count)
count             130 arch/powerpc/platforms/powernv/opal-sysparam.c         if (count > MAX_PARAM_DATA_LEN)
count             131 arch/powerpc/platforms/powernv/opal-sysparam.c                 count = MAX_PARAM_DATA_LEN;
count             134 arch/powerpc/platforms/powernv/opal-sysparam.c 	memcpy(param_data_buf, buf, count);
count             139 arch/powerpc/platforms/powernv/opal-sysparam.c 		ret = count;
count             148 arch/powerpc/platforms/powernv/opal-sysparam.c 	int count, i;
count             181 arch/powerpc/platforms/powernv/opal-sysparam.c 	count = of_property_count_strings(sysparam, "param-name");
count             182 arch/powerpc/platforms/powernv/opal-sysparam.c 	if (count < 0) {
count             188 arch/powerpc/platforms/powernv/opal-sysparam.c 	id = kcalloc(count, sizeof(*id), GFP_KERNEL);
count             195 arch/powerpc/platforms/powernv/opal-sysparam.c 	size = kcalloc(count, sizeof(*size), GFP_KERNEL);
count             202 arch/powerpc/platforms/powernv/opal-sysparam.c 	perm = kcalloc(count, sizeof(*perm), GFP_KERNEL);
count             209 arch/powerpc/platforms/powernv/opal-sysparam.c 	if (of_property_read_u32_array(sysparam, "param-id", id, count)) {
count             214 arch/powerpc/platforms/powernv/opal-sysparam.c 	if (of_property_read_u32_array(sysparam, "param-len", size, count)) {
count             220 arch/powerpc/platforms/powernv/opal-sysparam.c 	if (of_property_read_u8_array(sysparam, "param-perm", perm, count)) {
count             225 arch/powerpc/platforms/powernv/opal-sysparam.c 	attr = kcalloc(count, sizeof(*attr), GFP_KERNEL);
count             233 arch/powerpc/platforms/powernv/opal-sysparam.c 	for (i = 0; i < count; i++) {
count              88 arch/powerpc/platforms/powernv/opal-xscom.c 			       size_t count, loff_t *ppos)
count              97 arch/powerpc/platforms/powernv/opal-xscom.c 	if (off < 0 || (off & 7) || (count & 7))
count             100 arch/powerpc/platforms/powernv/opal-xscom.c 	reg_cnt = count >> 3;
count             119 arch/powerpc/platforms/powernv/opal-xscom.c 				size_t count, loff_t *ppos)
count             128 arch/powerpc/platforms/powernv/opal-xscom.c 	if (off < 0 || (off & 7) || (count & 7))
count             131 arch/powerpc/platforms/powernv/opal-xscom.c 	reg_cnt = count >> 3;
count             345 arch/powerpc/platforms/powernv/opal.c int opal_get_chars(uint32_t vtermno, char *buf, int count)
count             355 arch/powerpc/platforms/powernv/opal.c 	len = cpu_to_be64(count);
count             713 arch/powerpc/platforms/powernv/opal.c 			       char *buf, loff_t off, size_t count)
count             715 arch/powerpc/platforms/powernv/opal.c 	return memory_read_from_buffer(buf, count, &off, bin_attr->private,
count             749 arch/powerpc/platforms/powernv/opal.c 				loff_t off, size_t count)
count             751 arch/powerpc/platforms/powernv/opal.c 	return memory_read_from_buffer(buf, count, &off, bin_attr->private,
count             789 arch/powerpc/platforms/powernv/pci-ioda.c 		int count;
count             795 arch/powerpc/platforms/powernv/pci-ioda.c 			count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1;
count             797 arch/powerpc/platforms/powernv/pci-ioda.c 			count = 1;
count             799 arch/powerpc/platforms/powernv/pci-ioda.c 		switch(count) {
count             808 arch/powerpc/platforms/powernv/pci-ioda.c 			        count);
count             812 arch/powerpc/platforms/powernv/pci-ioda.c 		rid_end = pe->rid + (count << 8);
count             871 arch/powerpc/platforms/powernv/pci-ioda.c 		int count;
count             877 arch/powerpc/platforms/powernv/pci-ioda.c 			count = pe->pbus->busn_res.end - pe->pbus->busn_res.start + 1;
count             879 arch/powerpc/platforms/powernv/pci-ioda.c 			count = 1;
count             881 arch/powerpc/platforms/powernv/pci-ioda.c 		switch(count) {
count             890 arch/powerpc/platforms/powernv/pci-ioda.c 			        count);
count             894 arch/powerpc/platforms/powernv/pci-ioda.c 		rid_end = pe->rid + (count << 8);
count            2688 arch/powerpc/platforms/powernv/pci-ioda.c 	int i, rc, count;
count            2691 arch/powerpc/platforms/powernv/pci-ioda.c 	count = of_property_count_u32_elems(dn, "ibm,supported-tce-sizes");
count            2692 arch/powerpc/platforms/powernv/pci-ioda.c 	if (count <= 0) {
count            2701 arch/powerpc/platforms/powernv/pci-ioda.c 	for (i = 0; i < count; i++) {
count            2867 arch/powerpc/platforms/powernv/pci-ioda.c 	unsigned int count;
count            2878 arch/powerpc/platforms/powernv/pci-ioda.c 	count = be32_to_cpup(prop + 1);
count            2879 arch/powerpc/platforms/powernv/pci-ioda.c 	if (msi_bitmap_alloc(&phb->msi_bmp, count, phb->hose->dn)) {
count            2888 arch/powerpc/platforms/powernv/pci-ioda.c 		count, phb->msi_base);
count              34 arch/powerpc/platforms/powernv/powernv.h ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count);
count             366 arch/powerpc/platforms/powernv/subcore.c 		size_t count)
count             394 arch/powerpc/platforms/powernv/subcore.c 	return count;
count              36 arch/powerpc/platforms/powernv/ultravisor.c 			      loff_t pos, size_t count)
count              38 arch/powerpc/platforms/powernv/ultravisor.c 	return memcons_copy(uv_memcons, to, pos, count);
count             227 arch/powerpc/platforms/ps3/os-area.c static ssize_t os_area_flash_read(void *buf, size_t count, loff_t pos)
count             233 arch/powerpc/platforms/ps3/os-area.c 		res = os_area_flash_ops->read(buf, count, pos);
count             239 arch/powerpc/platforms/ps3/os-area.c static ssize_t os_area_flash_write(const void *buf, size_t count, loff_t pos)
count             245 arch/powerpc/platforms/ps3/os-area.c 		res = os_area_flash_ops->write(buf, count, pos);
count             608 arch/powerpc/platforms/ps3/os-area.c 	ssize_t count;
count             621 arch/powerpc/platforms/ps3/os-area.c 	count = os_area_flash_read(header, buf_len, 0);
count             622 arch/powerpc/platforms/ps3/os-area.c 	if (count < 0) {
count             624 arch/powerpc/platforms/ps3/os-area.c 			 count);
count             625 arch/powerpc/platforms/ps3/os-area.c 		error = count;
count             630 arch/powerpc/platforms/ps3/os-area.c 	if (count < OS_AREA_SEGMENT_SIZE || verify_header(header) ||
count             631 arch/powerpc/platforms/ps3/os-area.c 	    count < pos) {
count             654 arch/powerpc/platforms/ps3/os-area.c 	count = os_area_flash_write(db, sizeof(struct os_area_db), pos);
count             655 arch/powerpc/platforms/ps3/os-area.c 	if (count < 0 || count < sizeof(struct os_area_db)) {
count             657 arch/powerpc/platforms/ps3/os-area.c 			 count);
count             658 arch/powerpc/platforms/ps3/os-area.c 		error = count < 0 ? count : -EIO;
count             387 arch/powerpc/platforms/pseries/cmm.c 			       const char *buf, size_t count)
count             397 arch/powerpc/platforms/pseries/cmm.c 	return count;
count             348 arch/powerpc/platforms/pseries/dlpar.c 		hp_elog->_drc_u.ic.count =
count             349 arch/powerpc/platforms/pseries/dlpar.c 				be32_to_cpu(hp_elog->_drc_u.ic.count);
count             447 arch/powerpc/platforms/pseries/dlpar.c 	u32 count, index;
count             461 arch/powerpc/platforms/pseries/dlpar.c 		if (kstrtou32(arg, 0, &count)) {
count             477 arch/powerpc/platforms/pseries/dlpar.c 		hp_elog->_drc_u.ic.count = cpu_to_be32(count);
count             501 arch/powerpc/platforms/pseries/dlpar.c 		if (kstrtou32(arg, 0, &count)) {
count             506 arch/powerpc/platforms/pseries/dlpar.c 		hp_elog->_drc_u.drc_count = cpu_to_be32(count);
count             516 arch/powerpc/platforms/pseries/dlpar.c 			   const char *buf, size_t count)
count             554 arch/powerpc/platforms/pseries/dlpar.c 	return rc ? rc : count;
count             822 arch/powerpc/platforms/pseries/hotplug-cpu.c 	u32 count, drc_index;
count             825 arch/powerpc/platforms/pseries/hotplug-cpu.c 	count = hp_elog->_drc_u.drc_count;
count             833 arch/powerpc/platforms/pseries/hotplug-cpu.c 			rc = dlpar_cpu_remove_by_count(count);
count             841 arch/powerpc/platforms/pseries/hotplug-cpu.c 			rc = dlpar_cpu_add_by_count(count);
count             859 arch/powerpc/platforms/pseries/hotplug-cpu.c static ssize_t dlpar_cpu_probe(const char *buf, size_t count)
count             870 arch/powerpc/platforms/pseries/hotplug-cpu.c 	return rc ? rc : count;
count             873 arch/powerpc/platforms/pseries/hotplug-cpu.c static ssize_t dlpar_cpu_release(const char *buf, size_t count)
count             892 arch/powerpc/platforms/pseries/hotplug-cpu.c 	return rc ? rc : count;
count             878 arch/powerpc/platforms/pseries/hotplug-memory.c 	u32 count, drc_index;
count             887 arch/powerpc/platforms/pseries/hotplug-memory.c 			count = hp_elog->_drc_u.drc_count;
count             888 arch/powerpc/platforms/pseries/hotplug-memory.c 			rc = dlpar_memory_add_by_count(count);
count             895 arch/powerpc/platforms/pseries/hotplug-memory.c 			count = hp_elog->_drc_u.ic.count;
count             897 arch/powerpc/platforms/pseries/hotplug-memory.c 			rc = dlpar_memory_add_by_ic(count, drc_index);
count             908 arch/powerpc/platforms/pseries/hotplug-memory.c 			count = hp_elog->_drc_u.drc_count;
count             909 arch/powerpc/platforms/pseries/hotplug-memory.c 			rc = dlpar_memory_remove_by_count(count);
count             916 arch/powerpc/platforms/pseries/hotplug-memory.c 			count = hp_elog->_drc_u.ic.count;
count             918 arch/powerpc/platforms/pseries/hotplug-memory.c 			rc = dlpar_memory_remove_by_ic(count, drc_index);
count              28 arch/powerpc/platforms/pseries/hvconsole.c int hvc_get_chars(uint32_t vtermno, char *buf, int count)
count              55 arch/powerpc/platforms/pseries/hvconsole.c int hvc_put_chars(uint32_t vtermno, const char *buf, int count)
count              62 arch/powerpc/platforms/pseries/hvconsole.c 	if (count > MAX_VIO_PUT_CHARS)
count              63 arch/powerpc/platforms/pseries/hvconsole.c 		count = MAX_VIO_PUT_CHARS;
count              65 arch/powerpc/platforms/pseries/hvconsole.c 	ret = plpar_hcall_norets(H_PUT_TERM_CHAR, vtermno, count,
count              69 arch/powerpc/platforms/pseries/hvconsole.c 		return count;
count             249 arch/powerpc/platforms/pseries/ibmebus.c static char *ibmebus_chomp(const char *in, size_t count)
count             251 arch/powerpc/platforms/pseries/ibmebus.c 	char *out = kmalloc(count + 1, GFP_KERNEL);
count             256 arch/powerpc/platforms/pseries/ibmebus.c 	memcpy(out, in, count);
count             257 arch/powerpc/platforms/pseries/ibmebus.c 	out[count] = '\0';
count             258 arch/powerpc/platforms/pseries/ibmebus.c 	if (out[count - 1] == '\n')
count             259 arch/powerpc/platforms/pseries/ibmebus.c 		out[count - 1] = '\0';
count             264 arch/powerpc/platforms/pseries/ibmebus.c static ssize_t probe_store(struct bus_type *bus, const char *buf, size_t count)
count             271 arch/powerpc/platforms/pseries/ibmebus.c 	path = ibmebus_chomp(buf, count);
count             298 arch/powerpc/platforms/pseries/ibmebus.c 	return count;
count             302 arch/powerpc/platforms/pseries/ibmebus.c static ssize_t remove_store(struct bus_type *bus, const char *buf, size_t count)
count             307 arch/powerpc/platforms/pseries/ibmebus.c 	path = ibmebus_chomp(buf, count);
count             317 arch/powerpc/platforms/pseries/ibmebus.c 		return count;
count             497 arch/powerpc/platforms/pseries/lpar.c 		size_t count, loff_t *ppos)
count             504 arch/powerpc/platforms/pseries/lpar.c 	if (count > 15)
count             507 arch/powerpc/platforms/pseries/lpar.c 	if (copy_from_user(buf, p, count))
count             510 arch/powerpc/platforms/pseries/lpar.c 	buf[count] = 0;
count             550 arch/powerpc/platforms/pseries/lpar.c 	return count;
count             594 arch/powerpc/platforms/pseries/lpar.c 		const char __user *p, size_t count, loff_t *ppos)
count             599 arch/powerpc/platforms/pseries/lpar.c 	if (count > 15)
count             602 arch/powerpc/platforms/pseries/lpar.c 	if (copy_from_user(buf, p, count))
count             605 arch/powerpc/platforms/pseries/lpar.c 	buf[count] = 0;
count             615 arch/powerpc/platforms/pseries/lpar.c 	return count;
count            1083 arch/powerpc/platforms/pseries/lpar.c 				      int count, int psize, int ssize)
count            1091 arch/powerpc/platforms/pseries/lpar.c 	for (i = 0; i < count; i++) {
count            1129 arch/powerpc/platforms/pseries/lpar.c 				     int count, int psize, int ssize)
count            1134 arch/powerpc/platforms/pseries/lpar.c 	for (i = 0; i < count; i++) {
count            1164 arch/powerpc/platforms/pseries/lpar.c 						      int count, int psize,
count            1175 arch/powerpc/platforms/pseries/lpar.c 		hugepage_block_invalidate(slot, vpn, count, psize, ssize);
count            1177 arch/powerpc/platforms/pseries/lpar.c 		hugepage_bulk_invalidate(slot, vpn, count, psize, ssize);
count             374 arch/powerpc/platforms/pseries/lparcfg.c 	int count = 0;
count             380 arch/powerpc/platforms/pseries/lparcfg.c 		count++;
count             382 arch/powerpc/platforms/pseries/lparcfg.c 	return count;
count             596 arch/powerpc/platforms/pseries/lparcfg.c 			     size_t count, loff_t * off)
count             607 arch/powerpc/platforms/pseries/lparcfg.c 	if (count > sizeof(kbuf))
count             610 arch/powerpc/platforms/pseries/lparcfg.c 	if (copy_from_user(kbuf, buf, count))
count             613 arch/powerpc/platforms/pseries/lparcfg.c 	kbuf[count - 1] = '\0';
count             652 arch/powerpc/platforms/pseries/lparcfg.c 		retval = count;
count             379 arch/powerpc/platforms/pseries/mobility.c 			       size_t count)
count             403 arch/powerpc/platforms/pseries/mobility.c 	return count;
count              37 arch/powerpc/platforms/pseries/nvram.c static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index)
count              53 arch/powerpc/platforms/pseries/nvram.c 	if (i + count > nvram_size)
count              54 arch/powerpc/platforms/pseries/nvram.c 		count = nvram_size - i;
count              58 arch/powerpc/platforms/pseries/nvram.c 	for (; count != 0; count -= len) {
count              59 arch/powerpc/platforms/pseries/nvram.c 		len = count;
count              81 arch/powerpc/platforms/pseries/nvram.c static ssize_t pSeries_nvram_write(char *buf, size_t count, loff_t *index)
count              96 arch/powerpc/platforms/pseries/nvram.c 	if (i + count > nvram_size)
count              97 arch/powerpc/platforms/pseries/nvram.c 		count = nvram_size - i;
count             101 arch/powerpc/platforms/pseries/nvram.c 	for (; count != 0; count -= len) {
count             102 arch/powerpc/platforms/pseries/nvram.c 		len = count;
count             358 arch/powerpc/platforms/pseries/reconfig.c static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count,
count             365 arch/powerpc/platforms/pseries/reconfig.c 	kbuf = memdup_user_nul(buf, count);
count             378 arch/powerpc/platforms/pseries/reconfig.c 		rv = do_add_node(tmp, count - (tmp - kbuf));
count             382 arch/powerpc/platforms/pseries/reconfig.c 		rv = do_add_property(tmp, count - (tmp - kbuf));
count             384 arch/powerpc/platforms/pseries/reconfig.c 		rv = do_remove_property(tmp, count - (tmp - kbuf));
count             386 arch/powerpc/platforms/pseries/reconfig.c 		rv = do_update_property(tmp, count - (tmp - kbuf));
count             391 arch/powerpc/platforms/pseries/reconfig.c 	return rv ? rv : count;
count              43 arch/powerpc/platforms/pseries/scanlog.c 			    size_t count, loff_t *ppos)
count              50 arch/powerpc/platforms/pseries/scanlog.c 	if (count > RTAS_DATA_BUF_SIZE)
count              51 arch/powerpc/platforms/pseries/scanlog.c 		count = RTAS_DATA_BUF_SIZE;
count              53 arch/powerpc/platforms/pseries/scanlog.c 	if (count < 1024) {
count              58 arch/powerpc/platforms/pseries/scanlog.c 		printk(KERN_ERR "scanlog: cannot perform a small read (%ld)\n", count);
count              62 arch/powerpc/platforms/pseries/scanlog.c 	if (!access_ok(buf, count))
count              70 arch/powerpc/platforms/pseries/scanlog.c 				   (u32) __pa(rtas_data_buf), (u32) count);
count             110 arch/powerpc/platforms/pseries/scanlog.c 			     size_t count, loff_t *ppos)
count             115 arch/powerpc/platforms/pseries/scanlog.c 	if (count > 19) count = 19;
count             116 arch/powerpc/platforms/pseries/scanlog.c 	if (copy_from_user (stkbuf, buf, count)) {
count             119 arch/powerpc/platforms/pseries/scanlog.c 	stkbuf[count] = 0;
count             128 arch/powerpc/platforms/pseries/scanlog.c 	return count;
count             133 arch/powerpc/platforms/pseries/suspend.c 			       const char *buf, size_t count)
count             176 arch/powerpc/platforms/pseries/suspend.c 		rc = count;
count             106 arch/powerpc/platforms/pseries/vio.c 	int count = 0;
count             121 arch/powerpc/platforms/pseries/vio.c 				count++;
count             125 arch/powerpc/platforms/pseries/vio.c 	return count;
count             555 arch/powerpc/platforms/pseries/vio.c 	int ret, count;
count             558 arch/powerpc/platforms/pseries/vio.c 	for_each_sg(sglist, sgl, nelems, count)
count             568 arch/powerpc/platforms/pseries/vio.c 	for_each_sg(sglist, sgl, ret, count)
count             590 arch/powerpc/platforms/pseries/vio.c 	int count;
count             592 arch/powerpc/platforms/pseries/vio.c 	for_each_sg(sglist, sgl, nelems, count)
count             948 arch/powerpc/platforms/pseries/vio.c 		struct device_attribute *attr, const char *buf, size_t count)
count             952 arch/powerpc/platforms/pseries/vio.c 	return count;
count             956 arch/powerpc/platforms/pseries/vio.c 		struct device_attribute *attr, const char *buf, size_t count)
count             967 arch/powerpc/platforms/pseries/vio.c 	return count;
count            1033 arch/powerpc/platforms/pseries/vio.c 			      size_t count)
count            1041 arch/powerpc/platforms/pseries/vio.c 	return count;
count             135 arch/powerpc/sysdev/dart_iommu.c static void dart_cache_sync(unsigned int *base, unsigned int count)
count             143 arch/powerpc/sysdev/dart_iommu.c 	unsigned long end = start + (count + 1) * sizeof(unsigned int);
count              70 arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c 				size_t count)
count              88 arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c 		return count;
count             111 arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c 	return count;
count             401 arch/powerpc/sysdev/fsl_msi.c 	int err, i, j, irq_index, count;
count             530 arch/powerpc/sysdev/fsl_msi.c 			count = p[i * 2 + 1] / IRQS_PER_MSI_REG;
count             532 arch/powerpc/sysdev/fsl_msi.c 			for (j = 0; j < count; j++, irq_index++) {
count              24 arch/powerpc/sysdev/mmio_nvram.c static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index)
count              30 arch/powerpc/sysdev/mmio_nvram.c 	if (*index + count > mmio_nvram_len)
count              31 arch/powerpc/sysdev/mmio_nvram.c 		count = mmio_nvram_len - *index;
count              35 arch/powerpc/sysdev/mmio_nvram.c 	memcpy_fromio(buf, mmio_nvram_start + *index, count);
count              39 arch/powerpc/sysdev/mmio_nvram.c 	*index += count;
count              40 arch/powerpc/sysdev/mmio_nvram.c 	return count;
count              60 arch/powerpc/sysdev/mmio_nvram.c static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index)
count              66 arch/powerpc/sysdev/mmio_nvram.c 	if (*index + count > mmio_nvram_len)
count              67 arch/powerpc/sysdev/mmio_nvram.c 		count = mmio_nvram_len - *index;
count              71 arch/powerpc/sysdev/mmio_nvram.c 	memcpy_toio(mmio_nvram_start + *index, buf, count);
count              75 arch/powerpc/sysdev/mmio_nvram.c 	*index += count;
count              76 arch/powerpc/sysdev/mmio_nvram.c 	return count;
count             107 arch/powerpc/sysdev/mpic_msgr.c 	unsigned int count;
count             110 arch/powerpc/sysdev/mpic_msgr.c 	count = 0;
count             117 arch/powerpc/sysdev/mpic_msgr.c 			snprintf(buf, sizeof(buf), "mpic-msgr-block%d", count);
count             121 arch/powerpc/sysdev/mpic_msgr.c 			count += 1;
count             125 arch/powerpc/sysdev/mpic_msgr.c 	return count;
count             420 arch/powerpc/sysdev/mpic_timer.c 	u32 count;
count             443 arch/powerpc/sysdev/mpic_timer.c 		count = p[i * 2 + 1];
count             444 arch/powerpc/sysdev/mpic_timer.c 		for (j = 0; j < count; j++) {
count             171 arch/powerpc/sysdev/xive/common.c 				WARN_ON(p > atomic_read(&q->count));
count             172 arch/powerpc/sysdev/xive/common.c 				atomic_sub(p, &q->count);
count             476 arch/powerpc/sysdev/xive/common.c 	return !!atomic_add_unless(&q->count, 1, max);
count              37 arch/powerpc/sysdev/xive/spapr.c 	unsigned int		count;
count              44 arch/powerpc/sysdev/xive/spapr.c static int xive_irq_bitmap_add(int base, int count)
count              54 arch/powerpc/sysdev/xive/spapr.c 	xibm->count = count;
count              55 arch/powerpc/sysdev/xive/spapr.c 	xibm->bitmap = kzalloc(xibm->count, GFP_KERNEL);
count              63 arch/powerpc/sysdev/xive/spapr.c 		xibm->base + xibm->count - 1);
count              71 arch/powerpc/sysdev/xive/spapr.c 	irq = find_first_zero_bit(xibm->bitmap, xibm->count);
count              72 arch/powerpc/sysdev/xive/spapr.c 	if (irq != xibm->count) {
count             104 arch/powerpc/sysdev/xive/spapr.c 		if ((irq >= xibm->base) && (irq < xibm->base + xibm->count)) {
count            1567 arch/powerpc/xmon/ppc-opc.c   int mb, me, mx, count, last;
count            1583 arch/powerpc/xmon/ppc-opc.c   count = 0;
count            1593 arch/powerpc/xmon/ppc-opc.c 	  ++count;
count            1599 arch/powerpc/xmon/ppc-opc.c 	  ++count;
count            1607 arch/powerpc/xmon/ppc-opc.c   if (count != 2 && (count != 0 || ! last))
count            2678 arch/powerpc/xmon/xmon.c static void dump_by_size(unsigned long addr, long count, int size)
count            2684 arch/powerpc/xmon/xmon.c 	count = ALIGN(count, 16);
count            2686 arch/powerpc/xmon/xmon.c 	for (i = 0; i < count; i += 16, addr += 16) {
count            2839 arch/powerpc/xmon/xmon.c generic_inst_dump(unsigned long adr, long count, int praddr,
count            2848 arch/powerpc/xmon/xmon.c 	for (first_adr = adr; count > 0; --count, adr += 4) {
count            2877 arch/powerpc/xmon/xmon.c ppc_inst_dump(unsigned long adr, long count, int praddr)
count            2879 arch/powerpc/xmon/xmon.c 	return generic_inst_dump(adr, count, praddr, print_insn_powerpc);
count            4100 arch/powerpc/xmon/xmon.c spu_inst_dump(unsigned long adr, long count, int praddr)
count            4102 arch/powerpc/xmon/xmon.c 	return generic_inst_dump(adr, count, praddr, print_insn_spu);
count             215 arch/riscv/include/asm/io.h 					     unsigned int count)		\
count             218 arch/riscv/include/asm/io.h 		if (count) {							\
count             224 arch/riscv/include/asm/io.h 			} while (--count);					\
count             232 arch/riscv/include/asm/io.h 					     unsigned int count)		\
count             235 arch/riscv/include/asm/io.h 		if (count) {							\
count             240 arch/riscv/include/asm/io.h 			} while (--count);					\
count             248 arch/riscv/include/asm/io.h #define readsb(addr, buffer, count) __readsb(addr, buffer, count)
count             249 arch/riscv/include/asm/io.h #define readsw(addr, buffer, count) __readsw(addr, buffer, count)
count             250 arch/riscv/include/asm/io.h #define readsl(addr, buffer, count) __readsl(addr, buffer, count)
count             255 arch/riscv/include/asm/io.h #define insb(addr, buffer, count) __insb((void __iomem *)(long)addr, buffer, count)
count             256 arch/riscv/include/asm/io.h #define insw(addr, buffer, count) __insw((void __iomem *)(long)addr, buffer, count)
count             257 arch/riscv/include/asm/io.h #define insl(addr, buffer, count) __insl((void __iomem *)(long)addr, buffer, count)
count             262 arch/riscv/include/asm/io.h #define writesb(addr, buffer, count) __writesb(addr, buffer, count)
count             263 arch/riscv/include/asm/io.h #define writesw(addr, buffer, count) __writesw(addr, buffer, count)
count             264 arch/riscv/include/asm/io.h #define writesl(addr, buffer, count) __writesl(addr, buffer, count)
count             269 arch/riscv/include/asm/io.h #define outsb(addr, buffer, count) __outsb((void __iomem *)(long)addr, buffer, count)
count             270 arch/riscv/include/asm/io.h #define outsw(addr, buffer, count) __outsw((void __iomem *)(long)addr, buffer, count)
count             271 arch/riscv/include/asm/io.h #define outsl(addr, buffer, count) __outsl((void __iomem *)(long)addr, buffer, count)
count             275 arch/riscv/include/asm/io.h #define readsq(addr, buffer, count) __readsq(addr, buffer, count)
count             278 arch/riscv/include/asm/io.h #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count)
count             281 arch/riscv/include/asm/io.h #define writesq(addr, buffer, count) __writesq(addr, buffer, count)
count             284 arch/riscv/include/asm/io.h #define outsq(addr, buffer, count) __outsq((void __iomem *)addr, buffer, count)
count             387 arch/riscv/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count             235 arch/riscv/kernel/perf_event.c 	local64_add(delta, &event->count);
count              33 arch/riscv/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count              39 arch/riscv/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
count              44 arch/riscv/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count              51 arch/riscv/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs, 0, -1);
count              58 arch/riscv/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count              64 arch/riscv/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, fstate, 0,
count              67 arch/riscv/kernel/ptrace.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, fstate, 0,
count              77 arch/riscv/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count              83 arch/riscv/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0,
count              86 arch/riscv/kernel/ptrace.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, fstate, 0,
count              45 arch/riscv/mm/sifive_l2_cache.c 			size_t count, loff_t *ppos)
count              49 arch/riscv/mm/sifive_l2_cache.c 	if (kstrtouint_from_user(data, count, 0, &val))
count              55 arch/riscv/mm/sifive_l2_cache.c 	return count;
count              59 arch/s390/boot/ipl_parm.c static size_t scpdata_length(const u8 *buf, size_t count)
count              61 arch/s390/boot/ipl_parm.c 	while (count) {
count              62 arch/s390/boot/ipl_parm.c 		if (buf[count - 1] != '\0' && buf[count - 1] != ' ')
count              64 arch/s390/boot/ipl_parm.c 		count--;
count              66 arch/s390/boot/ipl_parm.c 	return count;
count              72 arch/s390/boot/ipl_parm.c 	size_t count;
count              76 arch/s390/boot/ipl_parm.c 	count = min(size - 1, scpdata_length(ipb->fcp.scp_data,
count              78 arch/s390/boot/ipl_parm.c 	if (!count)
count              82 arch/s390/boot/ipl_parm.c 	for (i = 0; i < count; i++) {
count              84 arch/s390/boot/ipl_parm.c 			count = 0;
count              92 arch/s390/boot/ipl_parm.c 		memcpy(dest, ipb->fcp.scp_data, count);
count              94 arch/s390/boot/ipl_parm.c 		for (i = 0; i < count; i++)
count              97 arch/s390/boot/ipl_parm.c 	dest[count] = '\0';
count              98 arch/s390/boot/ipl_parm.c 	return count;
count              52 arch/s390/boot/mem_detect.c 	if (mem_detect.count) {
count              53 arch/s390/boot/mem_detect.c 		block = __get_mem_detect_block_ptr(mem_detect.count - 1);
count              60 arch/s390/boot/mem_detect.c 	block = __get_mem_detect_block_ptr(mem_detect.count);
count              63 arch/s390/boot/mem_detect.c 	mem_detect.count++;
count              13 arch/s390/boot/pgm_check_info.c static char *__add_val_as_hex(char *dst, const unsigned char *src, size_t count)
count              15 arch/s390/boot/pgm_check_info.c 	while (count--)
count               8 arch/s390/boot/string.c int strncmp(const char *cs, const char *ct, size_t count)
count              12 arch/s390/boot/string.c 	while (count) {
count              19 arch/s390/boot/string.c 		count--;
count             743 arch/s390/crypto/prng.c 				 const char *buf, size_t count)
count             750 arch/s390/crypto/prng.c 	return count;
count             763 arch/s390/crypto/prng.c 				       const char *buf, size_t count)
count             780 arch/s390/crypto/prng.c 	return count;
count              23 arch/s390/crypto/sha.h 	u64 count;		/* message length in bytes */
count              39 arch/s390/crypto/sha1_s390.c 	sctx->count = 0;
count              50 arch/s390/crypto/sha1_s390.c 	octx->count = sctx->count;
count              61 arch/s390/crypto/sha1_s390.c 	sctx->count = ictx->count;
count              32 arch/s390/crypto/sha256_s390.c 	sctx->count = 0;
count              43 arch/s390/crypto/sha256_s390.c 	octx->count = sctx->count;
count              54 arch/s390/crypto/sha256_s390.c 	sctx->count = ictx->count;
count              91 arch/s390/crypto/sha256_s390.c 	sctx->count = 0;
count              26 arch/s390/crypto/sha3_256_s390.c 	sctx->count = 0;
count              37 arch/s390/crypto/sha3_256_s390.c 	octx->rsiz = sctx->count;
count              49 arch/s390/crypto/sha3_256_s390.c 	sctx->count = ictx->rsiz;
count              62 arch/s390/crypto/sha3_256_s390.c 	sctx->count = ictx->rsiz;
count              93 arch/s390/crypto/sha3_256_s390.c 	sctx->count = 0;
count              25 arch/s390/crypto/sha3_512_s390.c 	sctx->count = 0;
count              36 arch/s390/crypto/sha3_512_s390.c 	octx->rsiz = sctx->count;
count              37 arch/s390/crypto/sha3_512_s390.c 	octx->rsizw = sctx->count >> 32;
count              52 arch/s390/crypto/sha3_512_s390.c 	sctx->count = ictx->rsiz;
count              68 arch/s390/crypto/sha3_512_s390.c 	sctx->count = ictx->rsiz;
count             102 arch/s390/crypto/sha3_512_s390.c 	sctx->count = 0;
count              33 arch/s390/crypto/sha512_s390.c 	ctx->count = 0;
count              44 arch/s390/crypto/sha512_s390.c 	octx->count[0] = sctx->count;
count              45 arch/s390/crypto/sha512_s390.c 	octx->count[1] = 0;
count              56 arch/s390/crypto/sha512_s390.c 	if (unlikely(ictx->count[1]))
count              58 arch/s390/crypto/sha512_s390.c 	sctx->count = ictx->count[0];
count              98 arch/s390/crypto/sha512_s390.c 	ctx->count = 0;
count              23 arch/s390/crypto/sha_common.c 	index = ctx->count % bsize;
count              24 arch/s390/crypto/sha_common.c 	ctx->count += len;
count              80 arch/s390/crypto/sha_common.c 	n = ctx->count % bsize;
count              81 arch/s390/crypto/sha_common.c 	bits = ctx->count * 8;
count              30 arch/s390/hypfs/hypfs_diag0c.c static void *diag0c_store(unsigned int *count)
count              55 arch/s390/hypfs/hypfs_diag0c.c 	*count = cpu_count;
count              81 arch/s390/hypfs/hypfs_diag0c.c 	unsigned int count;
count              83 arch/s390/hypfs/hypfs_diag0c.c 	diag0c_data = diag0c_store(&count);
count              88 arch/s390/hypfs/hypfs_diag0c.c 	diag0c_data->hdr.len = count * sizeof(struct hypfs_diag0c_entry);
count              90 arch/s390/hypfs/hypfs_diag0c.c 	diag0c_data->hdr.count = count;
count              87 arch/s390/hypfs/hypfs_vm.c static void *diag2fc_store(char *query, unsigned int *count, int offset)
count             103 arch/s390/hypfs/hypfs_vm.c 	*count = (size / sizeof(struct diag2fc_data));
count             183 arch/s390/hypfs/hypfs_vm.c 	unsigned int count = 0;
count             186 arch/s390/hypfs/hypfs_vm.c 	data = diag2fc_store(guest_query, &count, 0);
count             221 arch/s390/hypfs/hypfs_vm.c 	for (i = 0; i < count; i++) {
count             238 arch/s390/hypfs/hypfs_vm.c 	u64	count;		/* Number of VM guests in d2fc buffer */
count             250 arch/s390/hypfs/hypfs_vm.c 	unsigned int count;
count             252 arch/s390/hypfs/hypfs_vm.c 	d2fc = diag2fc_store(guest_query, &count, sizeof(d2fc->hdr));
count             256 arch/s390/hypfs/hypfs_vm.c 	d2fc->hdr.len = count * sizeof(struct diag2fc_data);
count             258 arch/s390/hypfs/hypfs_vm.c 	d2fc->hdr.count = count;
count             150 arch/s390/hypfs/inode.c 	size_t count;
count             156 arch/s390/hypfs/inode.c 	count = copy_to_iter(data + pos, available - pos, to);
count             157 arch/s390/hypfs/inode.c 	if (!count)
count             159 arch/s390/hypfs/inode.c 	iocb->ki_pos = pos + count;
count             161 arch/s390/hypfs/inode.c 	return count;
count             169 arch/s390/hypfs/inode.c 	size_t count = iov_iter_count(from);
count             197 arch/s390/hypfs/inode.c 	rc = count;
count             198 arch/s390/hypfs/inode.c 	iov_iter_advance(from, count);
count              26 arch/s390/include/asm/ccwgroup.h 	unsigned int count;
count              34 arch/s390/include/asm/cio.h 	__u16 count;
count              53 arch/s390/include/asm/cio.h 	__u16 count;
count             260 arch/s390/include/asm/cio.h 	__u32 count    : 16;
count              75 arch/s390/include/asm/fcx.h 	u32 count;
count             165 arch/s390/include/asm/fcx.h 	u32 count;
count             243 arch/s390/include/asm/fcx.h 	u32 count;
count             279 arch/s390/include/asm/fcx.h 	u32 count;
count             308 arch/s390/include/asm/fcx.h 			 void *cd, u8 cd_count, u32 count);
count             310 arch/s390/include/asm/fcx.h 			    void *addr, u32 count);
count              78 arch/s390/include/asm/idals.h 	nridaws = idal_nr_words(vaddr, ccw->count);
count              84 arch/s390/include/asm/idals.h 		idal_create_words(idal, vaddr, ccw->count);
count             189 arch/s390/include/asm/idals.h 	ccw->count = ib->size;
count             196 arch/s390/include/asm/idals.h idal_buffer_to_user(struct idal_buffer *ib, void __user *to, size_t count)
count             201 arch/s390/include/asm/idals.h 	BUG_ON(count > ib->size);
count             202 arch/s390/include/asm/idals.h 	for (i = 0; count > IDA_BLOCK_SIZE; i++) {
count             205 arch/s390/include/asm/idals.h 			return left + count - IDA_BLOCK_SIZE;
count             207 arch/s390/include/asm/idals.h 		count -= IDA_BLOCK_SIZE;
count             209 arch/s390/include/asm/idals.h 	return copy_to_user(to, ib->data[i], count);
count             216 arch/s390/include/asm/idals.h idal_buffer_from_user(struct idal_buffer *ib, const void __user *from, size_t count)
count             221 arch/s390/include/asm/idals.h 	BUG_ON(count > ib->size);
count             222 arch/s390/include/asm/idals.h 	for (i = 0; count > IDA_BLOCK_SIZE; i++) {
count             225 arch/s390/include/asm/idals.h 			return left + count - IDA_BLOCK_SIZE;
count             227 arch/s390/include/asm/idals.h 		count -= IDA_BLOCK_SIZE;
count             229 arch/s390/include/asm/idals.h 	return copy_from_user(ib->data[i], from, count);
count              59 arch/s390/include/asm/io.h #define memcpy_fromio(dst, src, count)	zpci_memcpy_fromio(dst, src, count)
count              60 arch/s390/include/asm/io.h #define memcpy_toio(dst, src, count)	zpci_memcpy_toio(dst, src, count)
count              61 arch/s390/include/asm/io.h #define memset_io(dst, val, count)	zpci_memset_io(dst, val, count)
count              25 arch/s390/include/asm/itcw.h 			 u8 cd_count, u32 count);
count              27 arch/s390/include/asm/itcw.h 			     u32 count);
count              31 arch/s390/include/asm/mem_detect.h 	u32 count;
count              43 arch/s390/include/asm/mem_detect.h 	if (n >= mem_detect.count) {
count              69 arch/s390/include/asm/mem_detect.h 	     i < mem_detect.count;					\
count              76 arch/s390/include/asm/mem_detect.h 	if (mem_detect.count > MEM_INLINED_ENTRIES)
count              77 arch/s390/include/asm/mem_detect.h 		*size = (mem_detect.count - MEM_INLINED_ENTRIES) * sizeof(struct mem_detect_block);
count              87 arch/s390/include/asm/mem_detect.h 	if (mem_detect.count) {
count              88 arch/s390/include/asm/mem_detect.h 		__get_mem_detect_block(mem_detect.count - 1, &start, &end);
count              42 arch/s390/include/asm/os_info.h int copy_oldmem_kernel(void *dst, void *src, size_t count);
count              27 arch/s390/include/asm/pci_io.h 	u16 count;
count             129 arch/s390/include/asm/pci_io.h 	int count = len > max ? max : len, size = 1;
count             131 arch/s390/include/asm/pci_io.h 	while (!(src & 0x1) && !(dst & 0x1) && ((size << 1) <= count)) {
count             185 arch/s390/include/asm/pci_io.h 				 unsigned char val, size_t count)
count             187 arch/s390/include/asm/pci_io.h 	u8 *src = kmalloc(count, GFP_KERNEL);
count             192 arch/s390/include/asm/pci_io.h 	memset(src, val, count);
count             194 arch/s390/include/asm/pci_io.h 	rc = zpci_memcpy_toio(dst, src, count);
count              35 arch/s390/include/asm/pgtable.h static inline void update_page_count(int level, long count)
count              38 arch/s390/include/asm/pgtable.h 		atomic_long_add(count, &direct_pages_count[level]);
count             407 arch/s390/include/asm/qdio.h int qdio_alloc_buffers(struct qdio_buffer **buf, unsigned int count);
count             408 arch/s390/include/asm/qdio.h void qdio_free_buffers(struct qdio_buffer **buf, unsigned int count);
count             409 arch/s390/include/asm/qdio.h void qdio_reset_buffers(struct qdio_buffer **buf, unsigned int count);
count             133 arch/s390/include/asm/sclp.h int memcpy_hsa_kernel(void *dest, unsigned long src, size_t count);
count             134 arch/s390/include/asm/sclp.h int memcpy_hsa_user(void __user *dest, unsigned long src, size_t count);
count              59 arch/s390/include/asm/scsw.h 	__u32 count : 16;
count              86 arch/s390/include/asm/string.h void *__memset16(uint16_t *s, uint16_t v, size_t count);
count              87 arch/s390/include/asm/string.h void *__memset32(uint32_t *s, uint32_t v, size_t count);
count              88 arch/s390/include/asm/string.h void *__memset64(uint64_t *s, uint64_t v, size_t count);
count              90 arch/s390/include/asm/string.h static inline void *memset16(uint16_t *s, uint16_t v, size_t count)
count              92 arch/s390/include/asm/string.h 	return __memset16(s, v, count * sizeof(v));
count              95 arch/s390/include/asm/string.h static inline void *memset32(uint32_t *s, uint32_t v, size_t count)
count              97 arch/s390/include/asm/string.h 	return __memset32(s, v, count * sizeof(v));
count             100 arch/s390/include/asm/string.h static inline void *memset64(uint64_t *s, uint64_t v, size_t count)
count             102 arch/s390/include/asm/string.h 	return __memset64(s, v, count * sizeof(v));
count             122 arch/s390/include/asm/sysinfo.h 	unsigned char count:4;
count             250 arch/s390/include/asm/uaccess.h long __strncpy_from_user(char *dst, const char __user *src, long count);
count             253 arch/s390/include/asm/uaccess.h strncpy_from_user(char *dst, const char __user *src, long count)
count             256 arch/s390/include/asm/uaccess.h 	return __strncpy_from_user(dst, src, count);
count             259 arch/s390/include/asm/uaccess.h unsigned long __must_check __strnlen_user(const char __user *src, unsigned long count);
count             278 arch/s390/include/asm/uaccess.h int copy_to_user_real(void __user *dest, void *src, unsigned long count);
count              37 arch/s390/include/uapi/asm/hypfs.h 	__u64	count;		/* Number of entries (CPUs) in diag0c array */
count              81 arch/s390/kernel/compat_linux.c 		       compat_size_t, count, u32, high, u32, low)
count              83 arch/s390/kernel/compat_linux.c 	if ((compat_ssize_t) count < 0)
count              85 arch/s390/kernel/compat_linux.c 	return ksys_pread64(fd, ubuf, count, (unsigned long)high << 32 | low);
count              89 arch/s390/kernel/compat_linux.c 		       compat_size_t, count, u32, high, u32, low)
count              91 arch/s390/kernel/compat_linux.c 	if ((compat_ssize_t) count < 0)
count              93 arch/s390/kernel/compat_linux.c 	return ksys_pwrite64(fd, ubuf, count, (unsigned long)high << 32 | low);
count              96 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE4(s390_readahead, int, fd, u32, high, u32, low, s32, count)
count              98 arch/s390/kernel/compat_linux.c 	return ksys_readahead(fd, (unsigned long)high << 32 | low, count);
count             225 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE3(s390_read, unsigned int, fd, char __user *, buf, compat_size_t, count)
count             227 arch/s390/kernel/compat_linux.c 	if ((compat_ssize_t) count < 0)
count             230 arch/s390/kernel/compat_linux.c 	return ksys_read(fd, buf, count);
count             233 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE3(s390_write, unsigned int, fd, const char __user *, buf, compat_size_t, count)
count             235 arch/s390/kernel/compat_linux.c 	if ((compat_ssize_t) count < 0)
count             238 arch/s390/kernel/compat_linux.c 	return ksys_write(fd, buf, count);
count             112 arch/s390/kernel/compat_linux.h long compat_sys_s390_pread64(unsigned int fd, char __user *ubuf, compat_size_t count, u32 high, u32 low);
count             113 arch/s390/kernel/compat_linux.h long compat_sys_s390_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count, u32 high, u32 low);
count             114 arch/s390/kernel/compat_linux.h long compat_sys_s390_readahead(int fd, u32 high, u32 low, s32 count);
count             121 arch/s390/kernel/compat_linux.h long compat_sys_s390_read(unsigned int fd, char __user * buf, compat_size_t count);
count             122 arch/s390/kernel/compat_linux.h long compat_sys_s390_write(unsigned int fd, const char __user * buf, compat_size_t count);
count             135 arch/s390/kernel/crash_dump.c int copy_oldmem_kernel(void *dst, void *src, size_t count)
count             141 arch/s390/kernel/crash_dump.c 	while (count) {
count             145 arch/s390/kernel/crash_dump.c 			len = min(count, sclp.hsa_size - from);
count             153 arch/s390/kernel/crash_dump.c 				len = min(count, OLDMEM_SIZE - from);
count             155 arch/s390/kernel/crash_dump.c 				len = min(count, OLDMEM_SIZE - from);
count             158 arch/s390/kernel/crash_dump.c 				len = count;
count             171 arch/s390/kernel/crash_dump.c 		count -= len;
count             179 arch/s390/kernel/crash_dump.c static int copy_oldmem_user(void __user *dst, void *src, size_t count)
count             184 arch/s390/kernel/crash_dump.c 	while (count) {
count             188 arch/s390/kernel/crash_dump.c 			len = min(count, sclp.hsa_size - from);
count             196 arch/s390/kernel/crash_dump.c 				len = min(count, OLDMEM_SIZE - from);
count             198 arch/s390/kernel/crash_dump.c 				len = min(count, OLDMEM_SIZE - from);
count             201 arch/s390/kernel/crash_dump.c 				len = count;
count             203 arch/s390/kernel/crash_dump.c 			rc = copy_to_user_real(dst, (void *) from, count);
count             209 arch/s390/kernel/crash_dump.c 		count -= len;
count             694 arch/s390/kernel/crash_dump.c ssize_t elfcorehdr_read(char *buf, size_t count, u64 *ppos)
count             698 arch/s390/kernel/crash_dump.c 	memcpy(buf, src, count);
count             699 arch/s390/kernel/crash_dump.c 	*ppos += count;
count             700 arch/s390/kernel/crash_dump.c 	return count;
count             706 arch/s390/kernel/crash_dump.c ssize_t elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos)
count             710 arch/s390/kernel/crash_dump.c 	memcpy(buf, src, count);
count             711 arch/s390/kernel/crash_dump.c 	*ppos += count;
count             712 arch/s390/kernel/crash_dump.c 	return count;
count             507 arch/s390/kernel/debug.c 	size_t count = 0;
count             517 arch/s390/kernel/debug.c 	while (count < len) {
count             525 arch/s390/kernel/debug.c 		user_buf_residue = len-count;
count             528 arch/s390/kernel/debug.c 			if (copy_to_user(user_buf + count, p_info->temp_buf
count             531 arch/s390/kernel/debug.c 			count += copy_size;
count             541 arch/s390/kernel/debug.c 	p_info->offset		 = *offset + count;
count             544 arch/s390/kernel/debug.c 	return count;
count              70 arch/s390/kernel/dis.c 	unsigned short count;
count             413 arch/s390/kernel/dis.c 	for (i = 0; i < entry->count; i++) {
count              78 arch/s390/kernel/early.c 	if (stsi(vmms, 3, 2, 2) || !vmms->count)
count             122 arch/s390/kernel/early.c 	if (stsi(vm, 3, 2, 2) == 0 && vm->count) {
count             327 arch/s390/kernel/ipl.c 				  loff_t off, size_t count)
count             329 arch/s390/kernel/ipl.c 	return memory_read_from_buffer(buf, count, &off, &ipl_block,
count             338 arch/s390/kernel/ipl.c 				 loff_t off, size_t count)
count             343 arch/s390/kernel/ipl.c 	return memory_read_from_buffer(buf, count, &off, scp_data, size);
count             577 arch/s390/kernel/ipl.c 				      char *buf, loff_t off, size_t count)
count             582 arch/s390/kernel/ipl.c 	return memory_read_from_buffer(buf, count, &off, scp_data, size);
count             587 arch/s390/kernel/ipl.c 				       char *buf, loff_t off, size_t count)
count             589 arch/s390/kernel/ipl.c 	size_t scpdata_len = count;
count             596 arch/s390/kernel/ipl.c 	memcpy(reipl_block_fcp->fcp.scp_data, buf, count);
count             608 arch/s390/kernel/ipl.c 	return count;
count             105 arch/s390/kernel/lgr.c 	for (i = 0; i < min_t(u8, si->count, VM_LEVEL_MAX); i++) {
count             111 arch/s390/kernel/lgr.c 	lgr_info->vm_count = si->count;
count             351 arch/s390/kernel/perf_cpum_cf.c 	local64_add(delta, &event->count);
count             556 arch/s390/kernel/perf_cpum_cf_diag.c 	local64_inc(&event->count);
count            1141 arch/s390/kernel/perf_cpum_sf.c static void perf_event_count_update(struct perf_event *event, u64 count)
count            1143 arch/s390/kernel/perf_cpum_sf.c 	local64_add(count, &event->count);
count             184 arch/s390/kernel/process.c 	int count;
count             199 arch/s390/kernel/process.c 	for (count = 0; count < 16; count++) {
count             894 arch/s390/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count             902 arch/s390/kernel/ptrace.c 		while (count > 0) {
count             904 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count             909 arch/s390/kernel/ptrace.c 		while (count > 0) {
count             912 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count             921 arch/s390/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count             931 arch/s390/kernel/ptrace.c 		while (count > 0 && !rc) {
count             933 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count             938 arch/s390/kernel/ptrace.c 		while (count > 0 && !rc) {
count             944 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count             957 arch/s390/kernel/ptrace.c 			   unsigned int count, void *kbuf, void __user *ubuf)
count             967 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             973 arch/s390/kernel/ptrace.c 			   unsigned int count, const void *kbuf,
count             988 arch/s390/kernel/ptrace.c 	if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) {
count             990 arch/s390/kernel/ptrace.c 		rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc,
count             999 arch/s390/kernel/ptrace.c 	if (rc == 0 && count > 0)
count            1000 arch/s390/kernel/ptrace.c 		rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1015 arch/s390/kernel/ptrace.c 			       unsigned int pos, unsigned int count,
count            1018 arch/s390/kernel/ptrace.c 	if (count > 0) {
count            1033 arch/s390/kernel/ptrace.c 			       unsigned int pos, unsigned int count,
count            1041 arch/s390/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1050 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, data, 0, 256);
count            1055 arch/s390/kernel/ptrace.c 			unsigned int pos, unsigned int count,
count            1063 arch/s390/kernel/ptrace.c 			     unsigned int pos, unsigned int count,
count            1075 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1);
count            1080 arch/s390/kernel/ptrace.c 			     unsigned int pos, unsigned int count,
count            1094 arch/s390/kernel/ptrace.c 	rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1);
count            1104 arch/s390/kernel/ptrace.c 			      unsigned int pos, unsigned int count,
count            1115 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1);
count            1120 arch/s390/kernel/ptrace.c 			      unsigned int pos, unsigned int count,
count            1130 arch/s390/kernel/ptrace.c 	rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1137 arch/s390/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1141 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1147 arch/s390/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1151 arch/s390/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1157 arch/s390/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1168 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1174 arch/s390/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1193 arch/s390/kernel/ptrace.c 	rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1213 arch/s390/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1222 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1228 arch/s390/kernel/ptrace.c 			  unsigned int pos, unsigned int count,
count            1241 arch/s390/kernel/ptrace.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1274 arch/s390/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1284 arch/s390/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count            1290 arch/s390/kernel/ptrace.c 				  unsigned int pos, unsigned int count,
count            1312 arch/s390/kernel/ptrace.c 	rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count            1428 arch/s390/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1436 arch/s390/kernel/ptrace.c 		while (count > 0) {
count            1438 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count            1443 arch/s390/kernel/ptrace.c 		while (count > 0) {
count            1446 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count            1455 arch/s390/kernel/ptrace.c 				unsigned int pos, unsigned int count,
count            1465 arch/s390/kernel/ptrace.c 		while (count > 0 && !rc) {
count            1467 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count            1472 arch/s390/kernel/ptrace.c 		while (count > 0 && !rc) {
count            1478 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count            1491 arch/s390/kernel/ptrace.c 				     unsigned int pos, unsigned int count,
count            1500 arch/s390/kernel/ptrace.c 		while (count > 0) {
count            1503 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count            1507 arch/s390/kernel/ptrace.c 		while (count > 0) {
count            1511 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count            1519 arch/s390/kernel/ptrace.c 				     unsigned int pos, unsigned int count,
count            1529 arch/s390/kernel/ptrace.c 		while (count > 0) {
count            1532 arch/s390/kernel/ptrace.c 			count -= sizeof(*k);
count            1536 arch/s390/kernel/ptrace.c 		while (count > 0 && !rc) {
count            1543 arch/s390/kernel/ptrace.c 			count -= sizeof(*u);
count            1552 arch/s390/kernel/ptrace.c 				      unsigned int pos, unsigned int count,
count            1557 arch/s390/kernel/ptrace.c 	if (count > 0) {
count            1573 arch/s390/kernel/ptrace.c 				      unsigned int pos, unsigned int count,
count            1015 arch/s390/kernel/setup.c 	if (stsi(vmms, 3, 2, 2) == 0 && vmms->count)
count            1016 arch/s390/kernel/setup.c 		add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count);
count            1029 arch/s390/kernel/smp.c 	ssize_t count;
count            1032 arch/s390/kernel/smp.c 	count = sprintf(buf, "%d\n", pcpu_devices[dev->id].state);
count            1034 arch/s390/kernel/smp.c 	return count;
count            1039 arch/s390/kernel/smp.c 				   const char *buf, size_t count)
count            1099 arch/s390/kernel/smp.c 	return rc ? rc : count;
count            1198 arch/s390/kernel/smp.c 				  size_t count)
count            1207 arch/s390/kernel/smp.c 	return rc ? rc : count;
count             261 arch/s390/kernel/sysinfo.c 	for (i = 0; i < info->count; i++) {
count             804 arch/s390/kernel/time.c 				const char *buf, size_t count)
count             821 arch/s390/kernel/time.c 	return count;
count             373 arch/s390/kernel/topology.c 	ssize_t count;
count             376 arch/s390/kernel/topology.c 	count = sprintf(buf, "%d\n", cpu_management);
count             378 arch/s390/kernel/topology.c 	return count;
count             384 arch/s390/kernel/topology.c 				 size_t count)
count             406 arch/s390/kernel/topology.c 	return rc ? rc : count;
count             414 arch/s390/kernel/topology.c 	ssize_t count;
count             419 arch/s390/kernel/topology.c 		count = sprintf(buf, "horizontal\n");
count             422 arch/s390/kernel/topology.c 		count = sprintf(buf, "vertical:low\n");
count             425 arch/s390/kernel/topology.c 		count = sprintf(buf, "vertical:medium\n");
count             428 arch/s390/kernel/topology.c 		count = sprintf(buf, "vertical:high\n");
count             431 arch/s390/kernel/topology.c 		count = sprintf(buf, "unknown\n");
count             435 arch/s390/kernel/topology.c 	return count;
count             452 arch/s390/kernel/topology.c 	ssize_t count;
count             455 arch/s390/kernel/topology.c 	count = sprintf(buf, "%d\n", topology_cpu_dedicated(cpu));
count             457 arch/s390/kernel/topology.c 	return count;
count            1804 arch/s390/kvm/kvm-s390.c 	if (args->count < 1 || args->count > KVM_S390_SKEYS_MAX)
count            1807 arch/s390/kvm/kvm-s390.c 	keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL);
count            1813 arch/s390/kvm/kvm-s390.c 	for (i = 0; i < args->count; i++) {
count            1829 arch/s390/kvm/kvm-s390.c 				 sizeof(uint8_t) * args->count);
count            1849 arch/s390/kvm/kvm-s390.c 	if (args->count < 1 || args->count > KVM_S390_SKEYS_MAX)
count            1852 arch/s390/kvm/kvm-s390.c 	keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL);
count            1857 arch/s390/kvm/kvm-s390.c 			   sizeof(uint8_t) * args->count);
count            1871 arch/s390/kvm/kvm-s390.c         while (i < args->count) {
count            1951 arch/s390/kvm/kvm-s390.c 	args->count = 0;
count            1952 arch/s390/kvm/kvm-s390.c 	while (args->count < bufsize) {
count            1959 arch/s390/kvm/kvm-s390.c 			return args->count ? 0 : -EFAULT;
count            1962 arch/s390/kvm/kvm-s390.c 		res[args->count++] = (pgstev >> 24) & 0x43;
count            2003 arch/s390/kvm/kvm-s390.c 	args->count = 0;
count            2010 arch/s390/kvm/kvm-s390.c 	while (args->count < bufsize) {
count            2020 arch/s390/kvm/kvm-s390.c 		res[args->count++] = (pgstev >> 24) & 0x43;
count            2067 arch/s390/kvm/kvm-s390.c 	bufsize = min(args->count, KVM_S390_CMMA_SIZE_MAX);
count            2096 arch/s390/kvm/kvm-s390.c 	if (copy_to_user((void __user *)args->values, values, args->count))
count            2123 arch/s390/kvm/kvm-s390.c 	if (args->count > KVM_S390_CMMA_SIZE_MAX)
count            2126 arch/s390/kvm/kvm-s390.c 	if (args->count == 0)
count            2129 arch/s390/kvm/kvm-s390.c 	bits = vmalloc(array_size(sizeof(*bits), args->count));
count            2133 arch/s390/kvm/kvm-s390.c 	r = copy_from_user(bits, (void __user *)args->values, args->count);
count            2141 arch/s390/kvm/kvm-s390.c 	for (i = 0; i < args->count; i++) {
count             815 arch/s390/kvm/priv.c 		mem->count = 0;
count             816 arch/s390/kvm/priv.c 	if (mem->count < 8)
count             817 arch/s390/kvm/priv.c 		mem->count++;
count             818 arch/s390/kvm/priv.c 	for (n = mem->count - 1; n > 0 ; n--)
count             120 arch/s390/lib/spinlock.c 	int lockval, ix, node_id, tail_id, old, new, owner, count;
count             167 arch/s390/lib/spinlock.c 		count = spin_retry;
count             169 arch/s390/lib/spinlock.c 			if (count-- >= 0)
count             171 arch/s390/lib/spinlock.c 			count = spin_retry;
count             180 arch/s390/lib/spinlock.c 	count = spin_retry;
count             192 arch/s390/lib/spinlock.c 		if (count-- >= 0)
count             194 arch/s390/lib/spinlock.c 		count = spin_retry;
count             213 arch/s390/lib/spinlock.c 	int lockval, old, new, owner, count;
count             222 arch/s390/lib/spinlock.c 	count = spin_retry;
count             235 arch/s390/lib/spinlock.c 		if (count-- >= 0)
count             237 arch/s390/lib/spinlock.c 		count = spin_retry;
count             256 arch/s390/lib/spinlock.c 	int owner, count;
count             258 arch/s390/lib/spinlock.c 	for (count = spin_retry; count > 0; count--) {
count              23 arch/s390/mm/maccess.c 	unsigned long aligned, offset, count;
count              29 arch/s390/mm/maccess.c 	count = size - 1;
count              38 arch/s390/mm/maccess.c 		: "+&a" (aligned), "+&a" (count), "=m" (tmp)
count              73 arch/s390/mm/maccess.c static int __no_sanitize_address __memcpy_real(void *dest, void *src, size_t count)
count              76 arch/s390/mm/maccess.c 	register unsigned long _len1 asm("3") = (unsigned long) count;
count              78 arch/s390/mm/maccess.c 	register unsigned long _len2 asm("5") = (unsigned long) count;
count              96 arch/s390/mm/maccess.c 							unsigned long count)
count             101 arch/s390/mm/maccess.c 	if (!count)
count             108 arch/s390/mm/maccess.c 	rc = __memcpy_real((void *) dest, (void *) src, (size_t) count);
count             120 arch/s390/mm/maccess.c int memcpy_real(void *dest, void *src, size_t count)
count             127 arch/s390/mm/maccess.c 				   dest, src, count);
count             137 arch/s390/mm/maccess.c 			    (unsigned long) count);
count             143 arch/s390/mm/maccess.c void memcpy_absolute(void *dest, void *src, size_t count)
count             154 arch/s390/mm/maccess.c 		memcpy(dest, src, count);
count             158 arch/s390/mm/maccess.c 		memcpy(dest, src, count);
count             167 arch/s390/mm/maccess.c int copy_to_user_real(void __user *dest, void *src, unsigned long count)
count             176 arch/s390/mm/maccess.c 	while (offs < count) {
count             177 arch/s390/mm/maccess.c 		size = min(PAGE_SIZE, count - offs);
count             105 arch/s390/numa/mode_emu.c 	int count = 0;
count             109 arch/s390/numa/mode_emu.c 			count++;
count             111 arch/s390/numa/mode_emu.c 	return count;
count             559 arch/s390/numa/mode_emu.c 	int count;
count             561 arch/s390/numa/mode_emu.c 	if (!p || kstrtoint(p, 0, &count) != 0 || count <= 0)
count             563 arch/s390/numa/mode_emu.c 	emu_nodes = min(count, MAX_NUMNODES);
count             224 arch/s390/pci/pci.c void __iowrite64_copy(void __iomem *to, const void *from, size_t count)
count             226 arch/s390/pci/pci.c        zpci_memcpy_toio(to, from, count);
count             274 arch/s390/pci/pci.c 	WARN_ON(!++zpci_iomap_start[idx].count);
count             349 arch/s390/pci/pci.c 	WARN_ON(!zpci_iomap_start[idx].count);
count             350 arch/s390/pci/pci.c 	if (!--zpci_iomap_start[idx].count) {
count             132 arch/s390/pci/pci_debug.c 				  size_t count, loff_t *off)
count             141 arch/s390/pci/pci_debug.c 	rc = kstrtoul_from_user(ubuf, count, 10, &val);
count             155 arch/s390/pci/pci_debug.c 	return rc ? rc : count;
count             492 arch/s390/pci/pci_dma.c 	int count = 0, i;
count             512 arch/s390/pci/pci_dma.c 			count++;
count             522 arch/s390/pci/pci_dma.c 	return count + 1;
count             524 arch/s390/pci/pci_dma.c 	for_each_sg(sg, s, count, i)
count              52 arch/s390/pci/pci_sysfs.c 			     const char *buf, size_t count)
count              97 arch/s390/pci/pci_sysfs.c 	return ret ? ret : count;
count             103 arch/s390/pci/pci_sysfs.c 				loff_t off, size_t count)
count             109 arch/s390/pci/pci_sysfs.c 	return memory_read_from_buffer(buf, count, &off, zdev->util_str,
count             116 arch/s390/pci/pci_sysfs.c 				  loff_t off, size_t count)
count             124 arch/s390/pci/pci_sysfs.c 	if (off || (count < sizeof(*report)))
count             129 arch/s390/pci/pci_sysfs.c 	return ret ? ret : count;
count              34 arch/s390/tools/gen_opcode_table.c 	int count;
count             183 arch/s390/tools/gen_opcode_table.c 	int i, count;
count             187 arch/s390/tools/gen_opcode_table.c 	count = 0;
count             192 arch/s390/tools/gen_opcode_table.c 		count++;
count             196 arch/s390/tools/gen_opcode_table.c 	printf("}; /* %d */\n\n", count);
count             207 arch/s390/tools/gen_opcode_table.c 	int i, count;
count             210 arch/s390/tools/gen_opcode_table.c 	count = 0;
count             217 arch/s390/tools/gen_opcode_table.c 		count++;
count             219 arch/s390/tools/gen_opcode_table.c 	printf("}; /* %d */\n\n", count);
count             252 arch/s390/tools/gen_opcode_table.c 		group->count++;
count             263 arch/s390/tools/gen_opcode_table.c 	group->count = 1;
count             313 arch/s390/tools/gen_opcode_table.c 		       group->opcode, group->type->mask, group->type->byte, group->offset, group->count);
count             290 arch/sh/drivers/dma/dma-api.c 	channel->count	= size;
count             108 arch/sh/drivers/dma/dma-g2.c 	if (chan->count & 31)
count             109 arch/sh/drivers/dma/dma-g2.c 		chan->count = (chan->count + (32 - 1)) & ~(32 - 1);
count             117 arch/sh/drivers/dma/dma-g2.c 	flush_icache_range((unsigned long)chan->sar, chan->count);
count             123 arch/sh/drivers/dma/dma-g2.c 	g2_dma->channel[chan_nr].size	   = (chan->count & ~31) | 0x80000000;
count              19 arch/sh/drivers/dma/dma-pvr2.c static int count;
count              29 arch/sh/drivers/dma/dma-pvr2.c 	if (count++ < 10)
count              61 arch/sh/drivers/dma/dma-pvr2.c 	__raw_writel(chan->count, PVR2_DMA_COUNT);
count             224 arch/sh/drivers/dma/dma-sh.c 	__raw_writel(chan->count >> calc_xmit_shift(chan),
count              67 arch/sh/drivers/dma/dma-sysfs.c 				const char *buf, size_t count)
count              71 arch/sh/drivers/dma/dma-sysfs.c 	return count;
count              78 arch/sh/drivers/dma/dma-sysfs.c 				const char *buf, size_t count)
count              86 arch/sh/drivers/dma/dma-sysfs.c 	return count;
count             100 arch/sh/drivers/dma/dma-sysfs.c 			      const char *buf, size_t count)
count             104 arch/sh/drivers/dma/dma-sysfs.c 	return count;
count             118 arch/sh/drivers/dma/dma-sysfs.c dma_ro_attr(count, "0x%08x\n");
count              70 arch/sh/include/asm/dma.h 	unsigned int count;
count              42 arch/sh/include/asm/fpu.h 		      unsigned int pos, unsigned int count,
count              94 arch/sh/include/asm/io.h 		  unsigned int count)					\
count              98 arch/sh/include/asm/io.h 	while (count--) {						\
count             105 arch/sh/include/asm/io.h 				    void *addr, unsigned int count)	\
count             109 arch/sh/include/asm/io.h 	while (count--) {						\
count             197 arch/sh/include/asm/io.h 			      unsigned int count)			\
count             201 arch/sh/include/asm/io.h 	while (count--) {						\
count             208 arch/sh/include/asm/io.h 			     unsigned int count)			\
count             212 arch/sh/include/asm/io.h 	while (count--) {						\
count              11 arch/sh/include/asm/string_64.h extern void *memcpy(void *dest, const void *src, size_t count);
count              17 arch/sh/include/asm/syscalls_32.h 				     size_t count, long dummy, loff_t pos);
count              19 arch/sh/include/asm/syscalls_32.h 				      size_t count, long dummy, loff_t pos);
count             105 arch/sh/include/asm/uaccess.h extern long strncpy_from_user(char *dest, const char __user *src, long count);
count              78 arch/sh/kernel/cpu/sh4/softfloat.c void shift64RightJamming(bits64 a, int16 count, bits64 * zPtr);
count              80 arch/sh/kernel/cpu/sh4/softfloat.c void shift32RightJamming(bits32 a, int16 count, bits32 * zPtr);
count             149 arch/sh/kernel/cpu/sh4/softfloat.c void shift64RightJamming(bits64 a, int16 count, bits64 * zPtr)
count             153 arch/sh/kernel/cpu/sh4/softfloat.c 	if (count == 0) {
count             155 arch/sh/kernel/cpu/sh4/softfloat.c 	} else if (count < 64) {
count             156 arch/sh/kernel/cpu/sh4/softfloat.c 		z = (a >> count) | ((a << ((-count) & 63)) != 0);
count             347 arch/sh/kernel/cpu/sh4/softfloat.c void shift32RightJamming(bits32 a, int16 count, bits32 * zPtr)
count             350 arch/sh/kernel/cpu/sh4/softfloat.c 	if (count == 0) {
count             352 arch/sh/kernel/cpu/sh4/softfloat.c 	} else if (count < 32) {
count             353 arch/sh/kernel/cpu/sh4/softfloat.c 		z = (a >> count) | ((a << ((-count) & 31)) != 0);
count             261 arch/sh/kernel/cpu/sh4/sq.c 	ssize_t (*store)(const char *buf, size_t count);
count             278 arch/sh/kernel/cpu/sh4/sq.c 			      const char *buf, size_t count)
count             283 arch/sh/kernel/cpu/sh4/sq.c 		return sattr->store(buf, count);
count             301 arch/sh/kernel/cpu/sh4/sq.c static ssize_t mapping_store(const char *buf, size_t count)
count             316 arch/sh/kernel/cpu/sh4/sq.c 	return count;
count             149 arch/sh/kernel/dwarf.c 	int shift, count;
count             153 arch/sh/kernel/dwarf.c 	count = 0;
count             158 arch/sh/kernel/dwarf.c 		count++;
count             169 arch/sh/kernel/dwarf.c 	return count;
count             185 arch/sh/kernel/dwarf.c 	int count;
count             189 arch/sh/kernel/dwarf.c 	count = 0;
count             196 arch/sh/kernel/dwarf.c 		count++;
count             210 arch/sh/kernel/dwarf.c 	return count;
count             227 arch/sh/kernel/dwarf.c 	int count = 0;
count             246 arch/sh/kernel/dwarf.c 		count += 4;
count             255 arch/sh/kernel/dwarf.c 	return count;
count             270 arch/sh/kernel/dwarf.c 	int count;
count             273 arch/sh/kernel/dwarf.c 	count = 4;
count             288 arch/sh/kernel/dwarf.c 			count = 12;
count             291 arch/sh/kernel/dwarf.c 			count = 0;
count             296 arch/sh/kernel/dwarf.c 	return count;
count             405 arch/sh/kernel/dwarf.c 	unsigned int count, delta, reg, expr_len, offset;
count             426 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &offset);
count             427 arch/sh/kernel/dwarf.c 			current_insn += count;
count             462 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             463 arch/sh/kernel/dwarf.c 			current_insn += count;
count             464 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &offset);
count             465 arch/sh/kernel/dwarf.c 			current_insn += count;
count             469 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             470 arch/sh/kernel/dwarf.c 			current_insn += count;
count             473 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             474 arch/sh/kernel/dwarf.c 			current_insn += count;
count             479 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn,
count             481 arch/sh/kernel/dwarf.c 			current_insn += count;
count             482 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn,
count             484 arch/sh/kernel/dwarf.c 			current_insn += count;
count             489 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn,
count             491 arch/sh/kernel/dwarf.c 			current_insn += count;
count             495 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &offset);
count             496 arch/sh/kernel/dwarf.c 			current_insn += count;
count             500 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &expr_len);
count             501 arch/sh/kernel/dwarf.c 			current_insn += count;
count             510 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             511 arch/sh/kernel/dwarf.c 			current_insn += count;
count             512 arch/sh/kernel/dwarf.c 			count = dwarf_read_leb128(current_insn, &offset);
count             513 arch/sh/kernel/dwarf.c 			current_insn += count;
count             520 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             521 arch/sh/kernel/dwarf.c 			current_insn += count;
count             522 arch/sh/kernel/dwarf.c 			count = dwarf_read_leb128(current_insn, &offset);
count             529 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &offset);
count             530 arch/sh/kernel/dwarf.c 			current_insn += count;
count             533 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &reg);
count             534 arch/sh/kernel/dwarf.c 			current_insn += count;
count             535 arch/sh/kernel/dwarf.c 			count = dwarf_read_uleb128(current_insn, &offset);
count             742 arch/sh/kernel/dwarf.c 	int count;
count             764 arch/sh/kernel/dwarf.c 	count = dwarf_read_uleb128(p, &cie->code_alignment_factor);
count             765 arch/sh/kernel/dwarf.c 	p += count;
count             767 arch/sh/kernel/dwarf.c 	count = dwarf_read_leb128(p, &cie->data_alignment_factor);
count             768 arch/sh/kernel/dwarf.c 	p += count;
count             778 arch/sh/kernel/dwarf.c 		count = dwarf_read_uleb128(p, &cie->return_address_reg);
count             779 arch/sh/kernel/dwarf.c 		p += count;
count             783 arch/sh/kernel/dwarf.c 		unsigned int length, count;
count             786 arch/sh/kernel/dwarf.c 		count = dwarf_read_uleb128(p, &length);
count             787 arch/sh/kernel/dwarf.c 		p += count;
count             874 arch/sh/kernel/dwarf.c 	int count;
count             893 arch/sh/kernel/dwarf.c 		count = dwarf_read_encoded_value(p, &fde->initial_location,
count             896 arch/sh/kernel/dwarf.c 		count = dwarf_read_addr(p, &fde->initial_location);
count             898 arch/sh/kernel/dwarf.c 	p += count;
count             901 arch/sh/kernel/dwarf.c 		count = dwarf_read_encoded_value(p, &fde->address_range,
count             904 arch/sh/kernel/dwarf.c 		count = dwarf_read_addr(p, &fde->address_range);
count             906 arch/sh/kernel/dwarf.c 	p += count;
count             910 arch/sh/kernel/dwarf.c 		count = dwarf_read_uleb128(p, &length);
count             911 arch/sh/kernel/dwarf.c 		p += count + length;
count            1029 arch/sh/kernel/dwarf.c 	int count, err = 0;
count            1041 arch/sh/kernel/dwarf.c 		count = dwarf_entry_len(p, &len);
count            1042 arch/sh/kernel/dwarf.c 		if (count == 0) {
count            1053 arch/sh/kernel/dwarf.c 			p += count;
count              16 arch/sh/kernel/io.c void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count)
count              23 arch/sh/kernel/io.c 	if ((count >= 0x20) &&
count              50 arch/sh/kernel/io.c 			: "=&r" (to), "=&r" (count),
count              53 arch/sh/kernel/io.c 			: "7"(from), "0" (to), "1" (count)
count              59 arch/sh/kernel/io.c 		for (; count > 3; count -= 4) {
count              66 arch/sh/kernel/io.c 	for (; count > 0; count--) {
count              79 arch/sh/kernel/io.c void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count)
count              82 arch/sh/kernel/io.c 		for ( ; count > 3; count -= 4) {
count              89 arch/sh/kernel/io.c 	for (; count > 0; count--) {
count             103 arch/sh/kernel/io.c void memset_io(volatile void __iomem *dst, int c, unsigned long count)
count             105 arch/sh/kernel/io.c         while (count) {
count             106 arch/sh/kernel/io.c                 count--;
count              77 arch/sh/kernel/iomap.c static inline void mmio_insb(void __iomem *addr, u8 *dst, int count)
count              79 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count              86 arch/sh/kernel/iomap.c static inline void mmio_insw(void __iomem *addr, u16 *dst, int count)
count              88 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count              95 arch/sh/kernel/iomap.c static inline void mmio_insl(void __iomem *addr, u32 *dst, int count)
count              97 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count             104 arch/sh/kernel/iomap.c static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count)
count             106 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count             112 arch/sh/kernel/iomap.c static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count)
count             114 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count             120 arch/sh/kernel/iomap.c static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count)
count             122 arch/sh/kernel/iomap.c 	while (--count >= 0) {
count             128 arch/sh/kernel/iomap.c void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
count             130 arch/sh/kernel/iomap.c 	mmio_insb(addr, dst, count);
count             134 arch/sh/kernel/iomap.c void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
count             136 arch/sh/kernel/iomap.c 	mmio_insw(addr, dst, count);
count             140 arch/sh/kernel/iomap.c void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
count             142 arch/sh/kernel/iomap.c 	mmio_insl(addr, dst, count);
count             146 arch/sh/kernel/iomap.c void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
count             148 arch/sh/kernel/iomap.c 	mmio_outsb(addr, src, count);
count             152 arch/sh/kernel/iomap.c void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
count             154 arch/sh/kernel/iomap.c 	mmio_outsw(addr, src, count);
count             158 arch/sh/kernel/iomap.c void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
count             160 arch/sh/kernel/iomap.c 	mmio_outsl(addr, src, count);
count             214 arch/sh/kernel/perf_event.c 	local64_add(delta, &event->count);
count             138 arch/sh/kernel/ptrace_32.c 		       unsigned int pos, unsigned int count,
count             144 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             149 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             154 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             162 arch/sh/kernel/ptrace_32.c 		       unsigned int pos, unsigned int count,
count             168 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             171 arch/sh/kernel/ptrace_32.c 	if (!ret && count > 0)
count             172 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             177 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             186 arch/sh/kernel/ptrace_32.c 	       unsigned int pos, unsigned int count,
count             196 arch/sh/kernel/ptrace_32.c 		return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             199 arch/sh/kernel/ptrace_32.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             205 arch/sh/kernel/ptrace_32.c 		       unsigned int pos, unsigned int count,
count             217 arch/sh/kernel/ptrace_32.c 		return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             220 arch/sh/kernel/ptrace_32.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             234 arch/sh/kernel/ptrace_32.c 		       unsigned int pos, unsigned int count,
count             241 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs,
count             244 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             252 arch/sh/kernel/ptrace_32.c 		       unsigned int pos, unsigned int count,
count             259 arch/sh/kernel/ptrace_32.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs,
count             262 arch/sh/kernel/ptrace_32.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             148 arch/sh/kernel/ptrace_64.c 		       unsigned int pos, unsigned int count,
count             155 arch/sh/kernel/ptrace_64.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             161 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             167 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             173 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             181 arch/sh/kernel/ptrace_64.c 		       unsigned int pos, unsigned int count,
count             188 arch/sh/kernel/ptrace_64.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             193 arch/sh/kernel/ptrace_64.c 	if (!ret && count > 0)
count             194 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             200 arch/sh/kernel/ptrace_64.c 	if (!ret && count > 0)
count             201 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             207 arch/sh/kernel/ptrace_64.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             216 arch/sh/kernel/ptrace_64.c 	       unsigned int pos, unsigned int count,
count             225 arch/sh/kernel/ptrace_64.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             231 arch/sh/kernel/ptrace_64.c 		       unsigned int pos, unsigned int count,
count             242 arch/sh/kernel/ptrace_64.c 	return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             109 arch/sh/kernel/sh_bios.c 				 unsigned count)
count             111 arch/sh/kernel/sh_bios.c 	sh_bios_console_write(s, count);
count              40 arch/sh/kernel/sys_sh32.c 			     size_t count, long dummy, loff_t pos)
count              42 arch/sh/kernel/sys_sh32.c 	return ksys_pread64(fd, buf, count, pos);
count              46 arch/sh/kernel/sys_sh32.c 			      size_t count, long dummy, loff_t pos)
count              48 arch/sh/kernel/sys_sh32.c 	return ksys_pwrite64(fd, buf, count, pos);
count              48 arch/sh/kernel/traps_32.c static inline void sign_extend(unsigned int count, unsigned char *dst)
count              51 arch/sh/kernel/traps_32.c 	if ((count == 1) && dst[0] & 0x80) {
count              56 arch/sh/kernel/traps_32.c 	if ((count == 2) && dst[1] & 0x80) {
count              61 arch/sh/kernel/traps_32.c 	if ((count == 1) && dst[3] & 0x80) {
count              66 arch/sh/kernel/traps_32.c 	if ((count == 2) && dst[2] & 0x80) {
count              88 arch/sh/kernel/traps_32.c 	int ret, index, count;
count              99 arch/sh/kernel/traps_32.c 	count = 1<<(instruction&3);
count             101 arch/sh/kernel/traps_32.c 	switch (count) {
count             119 arch/sh/kernel/traps_32.c 			dst += 4-count;
count             121 arch/sh/kernel/traps_32.c 			if (ma->from(dst, srcu, count))
count             124 arch/sh/kernel/traps_32.c 			sign_extend(count, dst);
count             129 arch/sh/kernel/traps_32.c 			src += 4-count;
count             134 arch/sh/kernel/traps_32.c 			if (ma->to(dstu, src, count))
count             152 arch/sh/kernel/traps_32.c 			*rn -= count;
count             156 arch/sh/kernel/traps_32.c 		src += 4-count;
count             158 arch/sh/kernel/traps_32.c 		if (ma->to(dstu, src, count))
count             177 arch/sh/kernel/traps_32.c 			*rm += count;
count             182 arch/sh/kernel/traps_32.c 		dst += 4-count;
count             184 arch/sh/kernel/traps_32.c 		if (ma->from(dst, srcu, count))
count             186 arch/sh/kernel/traps_32.c 		sign_extend(count, dst);
count             141 arch/sh/mm/alignment.c 		const char __user *buffer, size_t count, loff_t *pos)
count             146 arch/sh/mm/alignment.c 	if (count > 0) {
count             152 arch/sh/mm/alignment.c 	return count;
count             151 arch/sh/mm/mmap.c int valid_phys_addr_range(phys_addr_t addr, size_t count)
count             155 arch/sh/mm/mmap.c 	if (addr + count > __pa(high_memory))
count              46 arch/sparc/crypto/sha1_glue.c 	sctx->count += len;
count              66 arch/sparc/crypto/sha1_glue.c 	unsigned int partial = sctx->count % SHA1_BLOCK_SIZE;
count              70 arch/sparc/crypto/sha1_glue.c 		sctx->count += len;
count              87 arch/sparc/crypto/sha1_glue.c 	bits = cpu_to_be64(sctx->count << 3);
count              90 arch/sparc/crypto/sha1_glue.c 	index = sctx->count % SHA1_BLOCK_SIZE;
count              95 arch/sparc/crypto/sha1_glue.c 		sctx->count += padlen;
count              41 arch/sparc/crypto/sha256_glue.c 	sctx->count = 0;
count              57 arch/sparc/crypto/sha256_glue.c 	sctx->count = 0;
count              67 arch/sparc/crypto/sha256_glue.c 	sctx->count += len;
count              87 arch/sparc/crypto/sha256_glue.c 	unsigned int partial = sctx->count % SHA256_BLOCK_SIZE;
count              91 arch/sparc/crypto/sha256_glue.c 		sctx->count += len;
count             107 arch/sparc/crypto/sha256_glue.c 	bits = cpu_to_be64(sctx->count << 3);
count             110 arch/sparc/crypto/sha256_glue.c 	index = sctx->count % SHA256_BLOCK_SIZE;
count             115 arch/sparc/crypto/sha256_glue.c 		sctx->count += padlen;
count              40 arch/sparc/crypto/sha512_glue.c 	sctx->count[0] = sctx->count[1] = 0;
count              56 arch/sparc/crypto/sha512_glue.c 	sctx->count[0] = sctx->count[1] = 0;
count              66 arch/sparc/crypto/sha512_glue.c 	if ((sctx->count[0] += len) < len)
count              67 arch/sparc/crypto/sha512_glue.c 		sctx->count[1]++;
count              87 arch/sparc/crypto/sha512_glue.c 	unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE;
count              91 arch/sparc/crypto/sha512_glue.c 		if ((sctx->count[0] += len) < len)
count              92 arch/sparc/crypto/sha512_glue.c 			sctx->count[1]++;
count             109 arch/sparc/crypto/sha512_glue.c 	bits[1] = cpu_to_be64(sctx->count[0] << 3);
count             110 arch/sparc/crypto/sha512_glue.c 	bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61);
count             113 arch/sparc/crypto/sha512_glue.c 	index = sctx->count[0] % SHA512_BLOCK_SIZE;
count             118 arch/sparc/crypto/sha512_glue.c 		if ((sctx->count[0] += padlen) < padlen)
count             119 arch/sparc/crypto/sha512_glue.c 			sctx->count[1]++;
count              51 arch/sparc/include/asm/fbio.h 	int             count;
count              71 arch/sparc/include/asm/floppy_32.h #define fd_set_dma_count(count)   sun_fd_set_dma_count(count)
count              74 arch/sparc/include/asm/floppy_64.h #define fd_set_dma_count(count)   sun_fdops.fd_set_dma_count(count)
count              36 arch/sparc/include/asm/ide.h static inline void __ide_insw(void __iomem *port, void *dst, u32 count)
count              39 arch/sparc/include/asm/ide.h 	unsigned long end = (unsigned long)dst + (count << 1);
count              46 arch/sparc/include/asm/ide.h 		count--;
count              49 arch/sparc/include/asm/ide.h 	while(count >= 2) {
count              55 arch/sparc/include/asm/ide.h 		count -= 2;
count              58 arch/sparc/include/asm/ide.h 	if(count)
count              66 arch/sparc/include/asm/ide.h static inline void __ide_outsw(void __iomem *port, const void *src, u32 count)
count              69 arch/sparc/include/asm/ide.h 	unsigned long end = (unsigned long)src + (count << 1);
count              76 arch/sparc/include/asm/ide.h 		count--;
count              79 arch/sparc/include/asm/ide.h 	while(count >= 2) {
count              85 arch/sparc/include/asm/ide.h 		count -= 2;
count              88 arch/sparc/include/asm/ide.h 	if(count)
count             246 arch/sparc/include/asm/io_64.h static inline void readsb(void __iomem *port, void *buf, unsigned long count)
count             248 arch/sparc/include/asm/io_64.h 	insb((unsigned long __force)port, buf, count);
count             250 arch/sparc/include/asm/io_64.h static inline void readsw(void __iomem *port, void *buf, unsigned long count)
count             252 arch/sparc/include/asm/io_64.h 	insw((unsigned long __force)port, buf, count);
count             255 arch/sparc/include/asm/io_64.h static inline void readsl(void __iomem *port, void *buf, unsigned long count)
count             257 arch/sparc/include/asm/io_64.h 	insl((unsigned long __force)port, buf, count);
count             260 arch/sparc/include/asm/io_64.h static inline void writesb(void __iomem *port, const void *buf, unsigned long count)
count             262 arch/sparc/include/asm/io_64.h 	outsb((unsigned long __force)port, buf, count);
count             265 arch/sparc/include/asm/io_64.h static inline void writesw(void __iomem *port, const void *buf, unsigned long count)
count             267 arch/sparc/include/asm/io_64.h 	outsw((unsigned long __force)port, buf, count);
count             270 arch/sparc/include/asm/io_64.h static inline void writesl(void __iomem *port, const void *buf, unsigned long count)
count             272 arch/sparc/include/asm/io_64.h 	outsl((unsigned long __force)port, buf, count);
count              40 arch/sparc/include/asm/parport.h 	unsigned int count;
count              75 arch/sparc/include/asm/parport.h 			     sparc_ebus_dmas[dmanr].count))
count              99 arch/sparc/include/asm/parport.h static inline void set_dma_count(unsigned int dmanr, unsigned int count)
count             101 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[dmanr].count = count;
count              18 arch/sparc/include/asm/string.h #define memset(s, c, count) __builtin_memset(s, c, count)
count              13 arch/sparc/include/asm/uaccess.h long strncpy_from_user(char *dest, const char __user *src, long count);
count             240 arch/sparc/include/asm/vio.h 	u8			count;
count              62 arch/sparc/include/uapi/asm/fbio.h         int             count;
count             197 arch/sparc/include/uapi/asm/fbio.h  	__u32	count;
count             207 arch/sparc/include/uapi/asm/fbio.h  	__u32	count;
count            2062 arch/sparc/kernel/ldc.c 	int count = 0;
count            2069 arch/sparc/kernel/ldc.c 		count++;
count            2072 arch/sparc/kernel/ldc.c 	return count;
count            2133 arch/sparc/kernel/ldc.c 	int count;
count            2136 arch/sparc/kernel/ldc.c 	count = 0;
count            2141 arch/sparc/kernel/ldc.c 		count += err;
count            2144 arch/sparc/kernel/ldc.c 	return count;
count              68 arch/sparc/kernel/led.c 			      size_t count, loff_t *ppos)
count              72 arch/sparc/kernel/led.c 	if (count > LED_MAX_LENGTH)
count              73 arch/sparc/kernel/led.c 		count = LED_MAX_LENGTH;
count              75 arch/sparc/kernel/led.c 	buf = memdup_user_nul(buffer, count);
count              80 arch/sparc/kernel/led.c 	if (buf[count - 1] == '\n')
count              81 arch/sparc/kernel/led.c 		buf[count - 1] = '\0';
count             104 arch/sparc/kernel/led.c 	return count;
count            1268 arch/sparc/kernel/mdesc.c 	int bytes_left, count = len;
count            1274 arch/sparc/kernel/mdesc.c 	if (count > bytes_left)
count            1275 arch/sparc/kernel/mdesc.c 		count = bytes_left;
count            1279 arch/sparc/kernel/mdesc.c 	if (!copy_to_user(buf, mdesc, count)) {
count            1280 arch/sparc/kernel/mdesc.c 		*offp += count;
count            1281 arch/sparc/kernel/mdesc.c 		return count;
count             686 arch/sparc/kernel/pcic.c 	u32 value, count;
count             689 arch/sparc/kernel/pcic.c 	count = value & ~PCI_SYS_COUNTER_OVERFLOW;
count             692 arch/sparc/kernel/pcic.c 		count += TICK_TIMER_LIMIT;
count             697 arch/sparc/kernel/pcic.c 	count = ((count / HZ) * USECS_PER_JIFFY) / (TICK_TIMER_LIMIT / HZ);
count             700 arch/sparc/kernel/pcic.c 	return count * 2;
count             881 arch/sparc/kernel/perf_event.c 	local64_add(delta, &event->count);
count             156 arch/sparc/kernel/process_32.c 	int count = 0;
count             176 arch/sparc/kernel/process_32.c 	} while (++count < 16);
count             467 arch/sparc/kernel/process_32.c 	int count = 0;
count             486 arch/sparc/kernel/process_32.c 	} while (++count < 16);
count             776 arch/sparc/kernel/process_64.c 	int count = 0; 
count             796 arch/sparc/kernel/process_64.c 	} while (++count < 16);
count              51 arch/sparc/kernel/ptrace_32.c 			 unsigned int pos, unsigned int count,
count              64 arch/sparc/kernel/ptrace_32.c 	count /= sizeof(reg);
count              67 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 16; count--)
count              72 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 32; count--) {
count              77 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 16; count--) {
count              84 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 32; count--) {
count              90 arch/sparc/kernel/ptrace_32.c 	while (count > 0) {
count             117 arch/sparc/kernel/ptrace_32.c 		count--;
count             121 arch/sparc/kernel/ptrace_32.c 	count *= sizeof(reg);
count             123 arch/sparc/kernel/ptrace_32.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             129 arch/sparc/kernel/ptrace_32.c 			 unsigned int pos, unsigned int count,
count             142 arch/sparc/kernel/ptrace_32.c 	count /= sizeof(reg);
count             145 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 16; count--)
count             150 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 32; count--) {
count             155 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 16; count--) {
count             163 arch/sparc/kernel/ptrace_32.c 		for (; count > 0 && pos < 32; count--) {
count             169 arch/sparc/kernel/ptrace_32.c 	while (count > 0) {
count             201 arch/sparc/kernel/ptrace_32.c 		count--;
count             205 arch/sparc/kernel/ptrace_32.c 	count *= sizeof(reg);
count             207 arch/sparc/kernel/ptrace_32.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             213 arch/sparc/kernel/ptrace_32.c 			unsigned int pos, unsigned int count,
count             224 arch/sparc/kernel/ptrace_32.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             229 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             233 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             242 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             249 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             257 arch/sparc/kernel/ptrace_32.c 			unsigned int pos, unsigned int count,
count             267 arch/sparc/kernel/ptrace_32.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             271 arch/sparc/kernel/ptrace_32.c 		user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             274 arch/sparc/kernel/ptrace_32.c 	if (!ret && count > 0) {
count             275 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             282 arch/sparc/kernel/ptrace_32.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             250 arch/sparc/kernel/ptrace_64.c 			 unsigned int pos, unsigned int count,
count             259 arch/sparc/kernel/ptrace_64.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             262 arch/sparc/kernel/ptrace_64.c 	if (!ret && count && pos < (32 * sizeof(u64))) {
count             267 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             275 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             284 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             291 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             300 arch/sparc/kernel/ptrace_64.c 			 unsigned int pos, unsigned int count,
count             309 arch/sparc/kernel/ptrace_64.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             312 arch/sparc/kernel/ptrace_64.c 	if (!ret && count && pos < (32 * sizeof(u64))) {
count             318 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             328 arch/sparc/kernel/ptrace_64.c 	if (!ret && count > 0) {
count             332 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             348 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             357 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             366 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             374 arch/sparc/kernel/ptrace_64.c 			unsigned int pos, unsigned int count,
count             387 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             391 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             397 arch/sparc/kernel/ptrace_64.c 			ret = user_regset_copyout(&pos, &count,
count             403 arch/sparc/kernel/ptrace_64.c 			ret = user_regset_copyout_zero(&pos, &count,
count             417 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             422 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             427 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             433 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             441 arch/sparc/kernel/ptrace_64.c 			unsigned int pos, unsigned int count,
count             451 arch/sparc/kernel/ptrace_64.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             455 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             460 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             466 arch/sparc/kernel/ptrace_64.c 	if (!ret && count > 0) {
count             467 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             477 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             518 arch/sparc/kernel/ptrace_64.c 			 unsigned int pos, unsigned int count,
count             531 arch/sparc/kernel/ptrace_64.c 	count /= sizeof(reg);
count             534 arch/sparc/kernel/ptrace_64.c 		for (; count > 0 && pos < 16; count--)
count             540 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             545 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             558 arch/sparc/kernel/ptrace_64.c 		for (; count > 0 && pos < 16; count--) {
count             566 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             572 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             591 arch/sparc/kernel/ptrace_64.c 	while (count > 0) {
count             618 arch/sparc/kernel/ptrace_64.c 		count--;
count             622 arch/sparc/kernel/ptrace_64.c 	count *= sizeof(reg);
count             624 arch/sparc/kernel/ptrace_64.c 	return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             630 arch/sparc/kernel/ptrace_64.c 			 unsigned int pos, unsigned int count,
count             643 arch/sparc/kernel/ptrace_64.c 	count /= sizeof(reg);
count             646 arch/sparc/kernel/ptrace_64.c 		for (; count > 0 && pos < 16; count--)
count             652 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             657 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             671 arch/sparc/kernel/ptrace_64.c 		for (; count > 0 && pos < 16; count--) {
count             680 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             686 arch/sparc/kernel/ptrace_64.c 			for (; count > 0 && pos < 32; count--) {
count             706 arch/sparc/kernel/ptrace_64.c 	while (count > 0) {
count             740 arch/sparc/kernel/ptrace_64.c 		count--;
count             744 arch/sparc/kernel/ptrace_64.c 	count *= sizeof(reg);
count             746 arch/sparc/kernel/ptrace_64.c 	return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             752 arch/sparc/kernel/ptrace_64.c 			unsigned int pos, unsigned int count,
count             773 arch/sparc/kernel/ptrace_64.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             778 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             782 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             791 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             798 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
count             806 arch/sparc/kernel/ptrace_64.c 			unsigned int pos, unsigned int count,
count             818 arch/sparc/kernel/ptrace_64.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             822 arch/sparc/kernel/ptrace_64.c 		user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             825 arch/sparc/kernel/ptrace_64.c 	if (!ret && count > 0) {
count             829 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             845 arch/sparc/kernel/ptrace_64.c 		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
count             192 arch/sparc/kernel/sys_sparc32.c 			compat_size_t, count, u32, poshi, u32, poslo)
count             194 arch/sparc/kernel/sys_sparc32.c 	return ksys_pread64(fd, ubuf, count, ((u64)poshi << 32) | poslo);
count             198 arch/sparc/kernel/sys_sparc32.c 			compat_size_t, count, u32, poshi, u32, poslo)
count             200 arch/sparc/kernel/sys_sparc32.c 	return ksys_pwrite64(fd, ubuf, count, ((u64)poshi << 32) | poslo);
count             204 arch/sparc/kernel/sys_sparc32.c 		     compat_size_t, count)
count             206 arch/sparc/kernel/sys_sparc32.c 	return ksys_readahead(fd, ((u64)offhi << 32) | offlo, count);
count             132 arch/sparc/kernel/sys_sparc_32.c 	static int count = 0;
count             135 arch/sparc/kernel/sys_sparc_32.c 	if (count++ > 5)
count             489 arch/sparc/kernel/sys_sparc_64.c 	static int count;
count             493 arch/sparc/kernel/sys_sparc_64.c 	if (count++ > 5)
count             133 arch/sparc/kernel/sysfs.c 			size_t count)
count             147 arch/sparc/kernel/sysfs.c 	return count;
count              70 arch/sparc/kernel/systbls.h 					compat_size_t count,
count              75 arch/sparc/kernel/systbls.h 					 compat_size_t count,
count              81 arch/sparc/kernel/systbls.h 				     compat_size_t count);
count              53 arch/sparc/kernel/traps_32.c 	int count = 0;
count              79 arch/sparc/kernel/traps_32.c 		      count++ < 30				&&
count            2459 arch/sparc/kernel/traps_64.c 	int count = 0;
count            2512 arch/sparc/kernel/traps_64.c 	} while (++count < 16);
count            2528 arch/sparc/kernel/traps_64.c 	int count = 0;
count            2551 arch/sparc/kernel/traps_64.c 		       count++ < 30 &&
count              13 arch/sparc/lib/PeeCeeI.c void outsb(unsigned long __addr, const void *src, unsigned long count)
count              18 arch/sparc/lib/PeeCeeI.c 	while (count--)
count              23 arch/sparc/lib/PeeCeeI.c void outsw(unsigned long __addr, const void *src, unsigned long count)
count              27 arch/sparc/lib/PeeCeeI.c 	while (count--) {
count              34 arch/sparc/lib/PeeCeeI.c void outsl(unsigned long __addr, const void *src, unsigned long count)
count              39 arch/sparc/lib/PeeCeeI.c 	if (!count)
count              45 arch/sparc/lib/PeeCeeI.c 		while (count--) {
count              52 arch/sparc/lib/PeeCeeI.c 		while (count--) {
count              64 arch/sparc/lib/PeeCeeI.c 		while (count--) {
count              76 arch/sparc/lib/PeeCeeI.c 		while (count--) {
count              88 arch/sparc/lib/PeeCeeI.c void insb(unsigned long __addr, void *dst, unsigned long count)
count              92 arch/sparc/lib/PeeCeeI.c 	if (count) {
count              96 arch/sparc/lib/PeeCeeI.c 		while ((((unsigned long)pb) & 0x3) && count--)
count              99 arch/sparc/lib/PeeCeeI.c 		while (count >= 4) {
count             107 arch/sparc/lib/PeeCeeI.c 			count -= 4;
count             110 arch/sparc/lib/PeeCeeI.c 		while (count--)
count             116 arch/sparc/lib/PeeCeeI.c void insw(unsigned long __addr, void *dst, unsigned long count)
count             120 arch/sparc/lib/PeeCeeI.c 	if (count) {
count             126 arch/sparc/lib/PeeCeeI.c 			count--;
count             129 arch/sparc/lib/PeeCeeI.c 		while (count >= 2) {
count             135 arch/sparc/lib/PeeCeeI.c 			count -= 2;
count             138 arch/sparc/lib/PeeCeeI.c 		if (count)
count             144 arch/sparc/lib/PeeCeeI.c void insl(unsigned long __addr, void *dst, unsigned long count)
count             148 arch/sparc/lib/PeeCeeI.c 	if (count) {
count             151 arch/sparc/lib/PeeCeeI.c 			while (count--)
count             161 arch/sparc/lib/PeeCeeI.c 				count -= 1;
count             165 arch/sparc/lib/PeeCeeI.c 				while (count--) {
count             176 arch/sparc/lib/PeeCeeI.c 				count -= 1;
count             182 arch/sparc/lib/PeeCeeI.c 				while (count--) {
count             193 arch/sparc/lib/PeeCeeI.c 				count -= 1;
count             197 arch/sparc/lib/PeeCeeI.c 				while (count--) {
count              30 arch/sparc/lib/bitext.c 	int offset, count;	/* siamese twins */
count              58 arch/sparc/lib/bitext.c 	count = 0;
count              62 arch/sparc/lib/bitext.c 		count += off_new - offset;
count              66 arch/sparc/lib/bitext.c 		if (count + len > t->size) {
count              70 arch/sparc/lib/bitext.c   t->size, t->used, offset, len, align, count);
count              75 arch/sparc/lib/bitext.c 			count += t->size - offset;
count              97 arch/sparc/lib/bitext.c 		count += i + 1;
count            1189 arch/sparc/mm/init_64.c 	int count, nid;
count            1207 arch/sparc/mm/init_64.c 	count = 0;
count            1211 arch/sparc/mm/init_64.c 			nid = count;
count            1214 arch/sparc/mm/init_64.c 		count++;
count            1258 arch/sparc/mm/init_64.c 	int count = 0;
count            1262 arch/sparc/mm/init_64.c 		count++;
count            1263 arch/sparc/mm/init_64.c 	if (!count)
count            1266 arch/sparc/mm/init_64.c 	paddr = memblock_phys_alloc(count * sizeof(struct mdesc_mlgroup),
count            1272 arch/sparc/mm/init_64.c 	num_mlgroups = count;
count            1274 arch/sparc/mm/init_64.c 	count = 0;
count            1276 arch/sparc/mm/init_64.c 		struct mdesc_mlgroup *m = &mlgroups[count++];
count            1290 arch/sparc/mm/init_64.c 			count - 1, m->node, m->latency, m->match, m->mask);
count            1299 arch/sparc/mm/init_64.c 	int count = 0;
count            1303 arch/sparc/mm/init_64.c 		count++;
count            1304 arch/sparc/mm/init_64.c 	if (!count)
count            1307 arch/sparc/mm/init_64.c 	paddr = memblock_phys_alloc(count * sizeof(struct mdesc_mblock),
count            1313 arch/sparc/mm/init_64.c 	num_mblocks = count;
count            1315 arch/sparc/mm/init_64.c 	count = 0;
count            1317 arch/sparc/mm/init_64.c 		struct mdesc_mblock *m = &mblocks[count++];
count            1336 arch/sparc/mm/init_64.c 			count - 1, m->base, m->size, m->offset);
count            1480 arch/sparc/mm/init_64.c 	int i, j, err, count;
count            1497 arch/sparc/mm/init_64.c 	count = 0;
count            1499 arch/sparc/mm/init_64.c 		err = numa_parse_mdesc_group(md, node, count);
count            1502 arch/sparc/mm/init_64.c 		count++;
count            1505 arch/sparc/mm/init_64.c 	count = 0;
count            1507 arch/sparc/mm/init_64.c 		find_numa_latencies_for_group(md, node, count);
count            1508 arch/sparc/mm/init_64.c 		count++;
count             149 arch/um/drivers/chan_user.c 	int count;
count             154 arch/um/drivers/chan_user.c 	count = write(pipe_fd, &c, sizeof(c));
count             155 arch/um/drivers/chan_user.c 	if (count != sizeof(c))
count             157 arch/um/drivers/chan_user.c 		       "synchronization byte, err = %d\n", -count);
count             200 arch/um/drivers/chan_user.c 	count = read(pipe_fd, &c, sizeof(c));
count             201 arch/um/drivers/chan_user.c 	if (count != sizeof(c))
count             212 arch/um/drivers/chan_user.c 		count = write(pipe_fd, &c, sizeof(c));
count             213 arch/um/drivers/chan_user.c 		if (count != sizeof(c))
count             277 arch/um/drivers/chan_user.c 	int pid, thread, count, thread_fd = -1;
count             296 arch/um/drivers/chan_user.c 		count = write(thread_fd, &c, sizeof(c));
count             297 arch/um/drivers/chan_user.c 		if (count != sizeof(c))
count              71 arch/um/drivers/hostaudio_kern.c 			      size_t count, loff_t *ppos)
count              78 arch/um/drivers/hostaudio_kern.c 	printk(KERN_DEBUG "hostaudio: read called, count = %d\n", count);
count              81 arch/um/drivers/hostaudio_kern.c 	kbuf = kmalloc(count, GFP_KERNEL);
count              85 arch/um/drivers/hostaudio_kern.c 	err = os_read_file(state->fd, kbuf, count);
count              98 arch/um/drivers/hostaudio_kern.c 			       size_t count, loff_t *ppos)
count             105 arch/um/drivers/hostaudio_kern.c 	printk(KERN_DEBUG "hostaudio: write called, count = %d\n", count);
count             108 arch/um/drivers/hostaudio_kern.c 	kbuf = memdup_user(buffer, count);
count             112 arch/um/drivers/hostaudio_kern.c 	err = os_write_file(state->fd, kbuf, count);
count             132 arch/um/drivers/line.c 	int n, count;
count             139 arch/um/drivers/line.c 		count = line->buffer + LINE_BUFSIZE - line->head;
count             141 arch/um/drivers/line.c 		n = write_chan(line->chan_out, line->head, count,
count             145 arch/um/drivers/line.c 		if (n == count) {
count             157 arch/um/drivers/line.c 	count = line->tail - line->head;
count             158 arch/um/drivers/line.c 	n = write_chan(line->chan_out, line->head, count,
count             373 arch/um/drivers/line.c 	if (line->port.count) {
count             742 arch/um/drivers/mconsole_kern.c 		const char __user *buffer, size_t count, loff_t *pos)
count             746 arch/um/drivers/mconsole_kern.c 	buf = memdup_user_nul(buffer, count);
count             750 arch/um/drivers/mconsole_kern.c 	mconsole_notify(notify_socket, MCONSOLE_USER_NOTIFY, buf, count);
count             752 arch/um/drivers/mconsole_kern.c 	return count;
count              29 arch/um/drivers/mmapper_kern.c static ssize_t mmapper_read(struct file *file, char __user *buf, size_t count,
count              32 arch/um/drivers/mmapper_kern.c 	return simple_read_from_buffer(buf, count, ppos, v_buf, mmapper_size);
count              36 arch/um/drivers/mmapper_kern.c 			     size_t count, loff_t *ppos)
count              41 arch/um/drivers/mmapper_kern.c 	return simple_write_to_buffer(v_buf, mmapper_size, ppos, buf, count);
count             150 arch/um/drivers/ubd_kern.c 	int count;
count             175 arch/um/drivers/ubd_kern.c 	.count =		0, \
count             502 arch/um/drivers/ubd_kern.c 	int count;
count             519 arch/um/drivers/ubd_kern.c 		for (count = 0; count < n/sizeof(struct io_thread_req *); count++) {
count             520 arch/um/drivers/ubd_kern.c 			struct io_thread_req *io_req = (*irq_req_buffer)[count];
count            1070 arch/um/drivers/ubd_kern.c 	if(ubd_dev->count > 0)
count            1220 arch/um/drivers/ubd_kern.c 	if(ubd_dev->count == 0){
count            1228 arch/um/drivers/ubd_kern.c 	ubd_dev->count++;
count            1247 arch/um/drivers/ubd_kern.c 	if(--ubd_dev->count == 0)
count            1582 arch/um/drivers/ubd_kern.c 	int n, count, written, res;
count            1601 arch/um/drivers/ubd_kern.c 		for (count = 0; count < n/sizeof(struct io_thread_req *); count++) {
count            1603 arch/um/drivers/ubd_kern.c 			do_io((*io_req_buffer)[count]);
count             355 arch/um/drivers/vector_kern.c static int consume_vector_skbs(struct vector_queue *qi, int count)
count             361 arch/um/drivers/vector_kern.c 	for (skb_index = qi->head; skb_index < qi->head + count; skb_index++) {
count             371 arch/um/drivers/vector_kern.c 	qi->dev->stats.tx_packets += count;
count             372 arch/um/drivers/vector_kern.c 	netdev_completed_queue(qi->dev, count, bytes_compl);
count             373 arch/um/drivers/vector_kern.c 	return vector_advancehead(qi, count);
count              26 arch/um/include/asm/uaccess.h extern long __strncpy_from_user(char *dst, const char __user *src, long count);
count             148 arch/um/include/shared/os.h extern int os_write_file(int fd, const void *buf, int count);
count             152 arch/um/include/shared/os.h extern int os_pwrite_file(int fd, const void *buf, int count, unsigned long long offset);
count             180 arch/um/include/shared/os.h extern int os_falloc_punch(int fd, unsigned long long offset, int count);
count              40 arch/um/kernel/exitcode.c 		const char __user *buffer, size_t count, loff_t *pos)
count              46 arch/um/kernel/exitcode.c 	size = min(count, sizeof(buf));
count              55 arch/um/kernel/exitcode.c 	return count;
count             338 arch/um/kernel/process.c 				 size_t count, loff_t *pos)
count             348 arch/um/kernel/process.c 	return count;
count             187 arch/um/kernel/skas/uaccess.c long __strncpy_from_user(char *dst, const char __user *src, long count)
count             193 arch/um/kernel/skas/uaccess.c 		strncpy(dst, (__force void *) src, count);
count             194 arch/um/kernel/skas/uaccess.c 		return strnlen(dst, count);
count             197 arch/um/kernel/skas/uaccess.c 	n = buffer_op((unsigned long) src, count, 0, strncpy_chunk_from_user,
count             201 arch/um/kernel/skas/uaccess.c 	return strnlen(dst, count);
count             236 arch/um/kernel/skas/uaccess.c 	int count = 0, n;
count             241 arch/um/kernel/skas/uaccess.c 	n = buffer_op((unsigned long) str, len, 0, strnlen_chunk, &count);
count             243 arch/um/kernel/skas/uaccess.c 		return count + 1;
count             167 arch/um/os-Linux/start_up.c 	int pid, n, status, count=0;
count             213 arch/um/os-Linux/start_up.c 		count++;
count             222 arch/um/os-Linux/start_up.c 			if (!count) {
count             235 arch/um/os-Linux/start_up.c 			count++;
count              30 arch/unicore32/include/asm/uaccess.h __strncpy_from_user(char *to, const char __user *from, unsigned long count);
count             277 arch/unicore32/kernel/process.c 	int count = 0;
count             291 arch/unicore32/kernel/process.c 	} while ((count++) < 16);
count             327 arch/x86/boot/boot.h int strncmp(const char *cs, const char *ct, size_t count);
count              74 arch/x86/boot/cpuflags.c static inline void cpuid_count(u32 id, u32 count,
count              81 arch/x86/boot/cpuflags.c 		    : "a" (id), "c" (count)
count              20 arch/x86/boot/memory.c 	int count = 0;
count              61 arch/x86/boot/memory.c 			count = 0;
count              66 arch/x86/boot/memory.c 		count++;
count              67 arch/x86/boot/memory.c 	} while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table));
count              69 arch/x86/boot/memory.c 	boot_params.e820_entries = count;
count              64 arch/x86/boot/string.c int strncmp(const char *cs, const char *ct, size_t count)
count              68 arch/x86/boot/string.c 	while (count) {
count              75 arch/x86/boot/string.c 		count--;
count              23 arch/x86/boot/string.h extern int strncmp(const char *cs, const char *ct, size_t count);
count              39 arch/x86/crypto/sha1_ssse3_glue.c 	    (sctx->count % SHA1_BLOCK_SIZE) + len < SHA1_BLOCK_SIZE)
count              54 arch/x86/crypto/sha256_ssse3_glue.c 	    (sctx->count % SHA256_BLOCK_SIZE) + len < SHA256_BLOCK_SIZE)
count              53 arch/x86/crypto/sha512_ssse3_glue.c 	    (sctx->count[0] % SHA512_BLOCK_SIZE) + len < SHA512_BLOCK_SIZE)
count             184 arch/x86/events/amd/ibs.c 	local64_add(delta, &event->count);
count             335 arch/x86/events/amd/ibs.c 	u64 count = 0;
count             338 arch/x86/events/amd/ibs.c 		count += (config & IBS_OP_MAX_CNT) << 4; /* cnt rolled over */
count             341 arch/x86/events/amd/ibs.c 		count += (config & IBS_OP_CUR_CNT) >> 32;
count             343 arch/x86/events/amd/ibs.c 	return count;
count             350 arch/x86/events/amd/ibs.c 	u64 count = perf_ibs->get_count(*config);
count             357 arch/x86/events/amd/ibs.c 	while (!perf_event_try_update(event, count, 64)) {
count             359 arch/x86/events/amd/ibs.c 		count = perf_ibs->get_count(*config);
count             303 arch/x86/events/amd/iommu.c 	u64 count, prev, delta;
count             308 arch/x86/events/amd/iommu.c 				 IOMMU_PC_COUNTER_REG, &count))
count             312 arch/x86/events/amd/iommu.c 	count &= GENMASK_ULL(47, 0);
count             315 arch/x86/events/amd/iommu.c 	if (local64_cmpxchg(&hwc->prev_count, prev, count) != prev)
count             319 arch/x86/events/amd/iommu.c 	delta = (count << COUNTER_SHIFT) - (prev << COUNTER_SHIFT);
count             321 arch/x86/events/amd/iommu.c 	local64_add(delta, &event->count);
count              72 arch/x86/events/amd/power.c 	local64_add(delta, &event->count);
count              98 arch/x86/events/amd/uncore.c 	local64_add(delta, &event->count);
count             105 arch/x86/events/core.c 	local64_add(delta, &event->count);
count            2180 arch/x86/events/core.c 			      const char *buf, size_t count)
count            2210 arch/x86/events/core.c 	return count;
count            4312 arch/x86/events/intel/core.c 				   const char *buf, size_t count)
count            4337 arch/x86/events/intel/core.c 	return count;
count            4361 arch/x86/events/intel/core.c 			      const char *buf, size_t count)
count            4372 arch/x86/events/intel/core.c 		return count;
count            4380 arch/x86/events/intel/core.c 	return count;
count             371 arch/x86/events/intel/cstate.c 	local64_add(new_raw_count - prev_raw_count, &event->count);
count            1666 arch/x86/events/intel/ds.c intel_pmu_save_and_restart_reload(struct perf_event *event, int count)
count            1714 arch/x86/events/intel/ds.c 	local64_add(new - old + count * period, &event->count);
count            1726 arch/x86/events/intel/ds.c 				   int bit, int count,
count            1747 arch/x86/events/intel/ds.c 		intel_pmu_save_and_restart_reload(event, count);
count            1751 arch/x86/events/intel/ds.c 	while (count > 1) {
count            1756 arch/x86/events/intel/ds.c 		count--;
count             206 arch/x86/events/intel/rapl.c 	local64_add(sdelta, &event->count);
count             116 arch/x86/events/intel/uncore.c 	u64 count;
count             118 arch/x86/events/intel/uncore.c 	rdmsrl(event->hw.event_base, count);
count             120 arch/x86/events/intel/uncore.c 	return count;
count             255 arch/x86/events/intel/uncore.c 	local64_add(delta, &event->count);
count             507 arch/x86/events/intel/uncore_snbep.c 	u64 count = 0;
count             509 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, hwc->event_base, (u32 *)&count);
count             510 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, hwc->event_base + 4, (u32 *)&count + 1);
count             512 arch/x86/events/intel/uncore_snbep.c 	return count;
count            1753 arch/x86/events/intel/uncore_snbep.c 	u64 count = 0;
count            1755 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, ivbep_uncore_irp_ctrs[hwc->idx], (u32 *)&count);
count            1756 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, ivbep_uncore_irp_ctrs[hwc->idx] + 4, (u32 *)&count + 1);
count            1758 arch/x86/events/intel/uncore_snbep.c 	return count;
count            2810 arch/x86/events/intel/uncore_snbep.c 	u64 count = 0;
count            2812 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, hswep_uncore_irp_ctrs[hwc->idx], (u32 *)&count);
count            2813 arch/x86/events/intel/uncore_snbep.c 	pci_read_config_dword(pdev, hswep_uncore_irp_ctrs[hwc->idx] + 4, (u32 *)&count + 1);
count            2815 arch/x86/events/intel/uncore_snbep.c 	return count;
count             243 arch/x86/events/msr.c 		local64_add(delta, &event->count);
count             247 arch/x86/events/msr.c 		local64_set(&event->count, now);
count             249 arch/x86/events/msr.c 		local64_add(delta, &event->count);
count             175 arch/x86/ia32/sys_ia32.c 		       u32, count, u32, poslo, u32, poshi)
count             177 arch/x86/ia32/sys_ia32.c 	return ksys_pread64(fd, ubuf, count,
count             182 arch/x86/ia32/sys_ia32.c 		       u32, count, u32, poslo, u32, poshi)
count             184 arch/x86/ia32/sys_ia32.c 	return ksys_pwrite64(fd, ubuf, count,
count             204 arch/x86/ia32/sys_ia32.c 		       unsigned int, off_hi, size_t, count)
count             206 arch/x86/ia32/sys_ia32.c 	return ksys_readahead(fd, ((u64)off_hi << 32) | off_lo, count);
count             264 arch/x86/include/asm/dma.h static inline void set_dma_count(unsigned int dmanr, unsigned int count)
count             266 arch/x86/include/asm/dma.h 	count--;
count             268 arch/x86/include/asm/dma.h 		dma_outb(count & 0xff, ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE);
count             269 arch/x86/include/asm/dma.h 		dma_outb((count >> 8) & 0xff,
count             272 arch/x86/include/asm/dma.h 		dma_outb((count >> 1) & 0xff,
count             274 arch/x86/include/asm/dma.h 		dma_outb((count >> 9) & 0xff,
count             292 arch/x86/include/asm/dma.h 	unsigned short count;
count             297 arch/x86/include/asm/dma.h 	count = 1 + dma_inb(io_port);
count             298 arch/x86/include/asm/dma.h 	count += dma_inb(io_port) << 8;
count             300 arch/x86/include/asm/dma.h 	return (dmanr <= 3) ? count : (count << 1);
count             307 arch/x86/include/asm/io.h static inline void outs##bwl(int port, const void *addr, unsigned long count) \
count             311 arch/x86/include/asm/io.h 		while (count) {						\
count             314 arch/x86/include/asm/io.h 			count--;					\
count             318 arch/x86/include/asm/io.h 			     : "+S"(addr), "+c"(count)			\
count             323 arch/x86/include/asm/io.h static inline void ins##bwl(int port, void *addr, unsigned long count)	\
count             327 arch/x86/include/asm/io.h 		while (count) {						\
count             330 arch/x86/include/asm/io.h 			count--;					\
count             334 arch/x86/include/asm/io.h 			     : "+D"(addr), "+c"(count)			\
count             189 arch/x86/include/asm/kvm_emulate.h 			       unsigned int count);
count             193 arch/x86/include/asm/kvm_emulate.h 				unsigned int count);
count             241 arch/x86/include/asm/kvm_emulate.h 	unsigned int count;
count             351 arch/x86/include/asm/kvm_host.h 	unsigned long count;
count             505 arch/x86/include/asm/kvm_host.h 	u64 count;
count              42 arch/x86/include/asm/mach_timer.h 	unsigned long count = 0;
count              44 arch/x86/include/asm/mach_timer.h 		count++;
count              46 arch/x86/include/asm/mach_timer.h 	*count_p = count;
count             321 arch/x86/include/asm/mce.h 	u8 count;		/* Number of instances. */
count              53 arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_SRC reg count target
count              59 arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_DST reg count target
count              68 arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_SRC reg count target
count              71 arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_DST reg count target
count              33 arch/x86/include/asm/microcode_intel.h 	unsigned int            count;
count              54 arch/x86/include/asm/microcode_intel.h #define exttable_size(et) ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE)
count              22 arch/x86/include/asm/pgalloc.h 					    unsigned long start, unsigned long count) {}
count            1301 arch/x86/include/asm/pgtable.h static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count)
count            1303 arch/x86/include/asm/pgtable.h 	memcpy(dst, src, count * sizeof(pgd_t));
count            1309 arch/x86/include/asm/pgtable.h 	       count * sizeof(pgd_t));
count             599 arch/x86/include/asm/processor.h static inline void cpuid_count(unsigned int op, int count,
count             604 arch/x86/include/asm/processor.h 	*ecx = count;
count              13 arch/x86/include/asm/string_32.h extern char *strncpy(char *dest, const char *src, size_t count);
count              19 arch/x86/include/asm/string_32.h extern char *strncat(char *dest, const char *src, size_t count);
count              25 arch/x86/include/asm/string_32.h extern int strncmp(const char *cs, const char *ct, size_t count);
count             196 arch/x86/include/asm/string_32.h extern void *memchr(const void *cs, int c, size_t count);
count             198 arch/x86/include/asm/string_32.h static inline void *__memset_generic(void *s, char c, size_t count)
count             204 arch/x86/include/asm/string_32.h 		     : "a" (c), "1" (s), "0" (count)
count             210 arch/x86/include/asm/string_32.h #define __constant_count_memset(s, c, count) __memset_generic((s), (c), (count))
count             214 arch/x86/include/asm/string_32.h extern size_t strnlen(const char *s, size_t count);
count             220 arch/x86/include/asm/string_32.h #define __memset(s, c, count)				\
count             221 arch/x86/include/asm/string_32.h 	(__builtin_constant_p(count)			\
count             222 arch/x86/include/asm/string_32.h 	 ? __constant_count_memset((s), (c), (count))	\
count             223 arch/x86/include/asm/string_32.h 	 : __memset_generic((s), (c), (count)))
count             228 arch/x86/include/asm/string_32.h #define memset(s, c, count) __builtin_memset(s, c, count)
count              58 arch/x86/include/asm/string_64.h void *memmove(void *dest, const void *src, size_t count);
count              59 arch/x86/include/asm/string_64.h void *__memmove(void *dest, const void *src, size_t count);
count              61 arch/x86/include/asm/string_64.h int memcmp(const void *cs, const void *ct, size_t count);
count             580 arch/x86/include/asm/uaccess.h strncpy_from_user(char *dst, const char __user *src, long count);
count             258 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_mmu_update(struct mmu_update *req, int count,
count             261 arch/x86/include/asm/xen/hypercall.h 	return _hypercall4(int, mmu_update, req, count, success_count, domid);
count             265 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_mmuext_op(struct mmuext_op *op, int count,
count             268 arch/x86/include/asm/xen/hypercall.h 	return _hypercall4(int, mmuext_op, op, count, success_count, domid);
count             368 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_console_io(int cmd, int count, char *str)
count             370 arch/x86/include/asm/xen/hypercall.h 	return _hypercall3(int, console_io, cmd, count, str);
count             380 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count)
count             382 arch/x86/include/asm/xen/hypercall.h 	return _hypercall3(int, grant_table_op, cmd, uop, count);
count             498 arch/x86/include/asm/xen/hypercall.h 		 int count, int *success_count, domid_t domid)
count             502 arch/x86/include/asm/xen/hypercall.h 	mcl->args[1] = count;
count             510 arch/x86/include/asm/xen/hypercall.h MULTI_mmuext_op(struct multicall_entry *mcl, struct mmuext_op *op, int count,
count             515 arch/x86/include/asm/xen/hypercall.h 	mcl->args[1] = count;
count              68 arch/x86/include/asm/xen/page.h 				   struct page **pages, unsigned int count);
count              71 arch/x86/include/asm/xen/page.h 				     struct page **pages, unsigned int count);
count              76 arch/x86/include/asm/xen/page.h 			struct page **pages, unsigned int count)
count              84 arch/x86/include/asm/xen/page.h 			  struct page **pages, unsigned int count)
count             236 arch/x86/include/uapi/asm/kvm.h 	__u32 count; /* can be 65536 */
count            1013 arch/x86/kernel/acpi/boot.c 	int count;
count            1023 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE,
count            1025 arch/x86/kernel/acpi/boot.c 	if (count < 0) {
count            1028 arch/x86/kernel/acpi/boot.c 		return count;
count            1033 arch/x86/kernel/acpi/boot.c 	return count;
count            1038 arch/x86/kernel/acpi/boot.c 	int count;
count            1046 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_SAPIC,
count            1049 arch/x86/kernel/acpi/boot.c 	if (!count) {
count            1064 arch/x86/kernel/acpi/boot.c 		count = madt_proc[0].count;
count            1065 arch/x86/kernel/acpi/boot.c 		x2count = madt_proc[1].count;
count            1067 arch/x86/kernel/acpi/boot.c 	if (!count && !x2count) {
count            1071 arch/x86/kernel/acpi/boot.c 	} else if (count < 0 || x2count < 0) {
count            1074 arch/x86/kernel/acpi/boot.c 		return count;
count            1079 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_APIC_NMI,
count            1081 arch/x86/kernel/acpi/boot.c 	if (count < 0 || x2count < 0) {
count            1084 arch/x86/kernel/acpi/boot.c 		return count;
count            1163 arch/x86/kernel/acpi/boot.c 	int count;
count            1186 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_IO_APIC, acpi_parse_ioapic,
count            1188 arch/x86/kernel/acpi/boot.c 	if (!count) {
count            1191 arch/x86/kernel/acpi/boot.c 	} else if (count < 0) {
count            1193 arch/x86/kernel/acpi/boot.c 		return count;
count            1196 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_INTERRUPT_OVERRIDE,
count            1198 arch/x86/kernel/acpi/boot.c 	if (count < 0) {
count            1202 arch/x86/kernel/acpi/boot.c 		return count;
count            1217 arch/x86/kernel/acpi/boot.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_NMI_SOURCE,
count            1219 arch/x86/kernel/acpi/boot.c 	if (count < 0) {
count            1222 arch/x86/kernel/acpi/boot.c 		return count;
count              96 arch/x86/kernel/apic/io_apic.c 	u32 count;
count             948 arch/x86/kernel/apic/io_apic.c 	if (irq < nr_legacy_irqs() && data->count == 1) {
count            1069 arch/x86/kernel/apic/io_apic.c 			data->count++;
count            1139 arch/x86/kernel/apic/io_apic.c 	if (--data->count == 0)
count            2909 arch/x86/kernel/apic/io_apic.c 			if (data && data->count) {
count            1462 arch/x86/kernel/apm_32.c static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
count            1471 arch/x86/kernel/apm_32.c 	if ((int)count < sizeof(apm_event_t))
count            1476 arch/x86/kernel/apm_32.c 	i = count;
count            1480 arch/x86/kernel/apm_32.c 			if (i < count)
count            1498 arch/x86/kernel/apm_32.c 	if (i < count)
count            1499 arch/x86/kernel/apm_32.c 		return count - i;
count             436 arch/x86/kernel/cpu/cacheinfo.c 				   const char *buf, size_t count,
count             458 arch/x86/kernel/cpu/cacheinfo.c 	return count;
count             465 arch/x86/kernel/cpu/cacheinfo.c 			     const char *buf, size_t count)		\
count             468 arch/x86/kernel/cpu/cacheinfo.c 	return store_cache_disable(this_leaf, buf, count, slot);	\
count             484 arch/x86/kernel/cpu/cacheinfo.c 			       const char *buf, size_t count)
count             499 arch/x86/kernel/cpu/cacheinfo.c 	return count;
count            1309 arch/x86/kernel/cpu/common.c 	int count = 0;
count            1318 arch/x86/kernel/cpu/common.c 		if (count >= X86_VENDOR_NUM)
count            1320 arch/x86/kernel/cpu/common.c 		cpu_devs[count] = cpudev;
count            1321 arch/x86/kernel/cpu/common.c 		count++;
count             137 arch/x86/kernel/cpu/intel_epb.c 				      const char *buf, size_t count)
count             159 arch/x86/kernel/cpu/intel_epb.c 	return count;
count             285 arch/x86/kernel/cpu/mce/amd.c 			smca_banks[bank].sysfs_id = s_hwid->count++;
count            1044 arch/x86/kernel/cpu/mce/amd.c 	ssize_t (*store) (struct threshold_block *, const char *, size_t count);
count            1148 arch/x86/kernel/cpu/mce/amd.c 		     const char *buf, size_t count)
count            1154 arch/x86/kernel/cpu/mce/amd.c 	ret = a->store ? a->store(b, buf, count) : -EIO;
count            1193 arch/x86/kernel/cpu/mce/amd.c 	if (smca_banks[bank].hwid->count == 1)
count             385 arch/x86/kernel/cpu/mce/severity.c 					 size_t count, loff_t *ppos)
count             390 arch/x86/kernel/cpu/mce/severity.c 	return count;
count              50 arch/x86/kernel/cpu/mce/therm_throt.c 	unsigned long		count;
count             112 arch/x86/kernel/cpu/mce/therm_throt.c define_therm_throt_device_show_func(core_throttle, count);
count             115 arch/x86/kernel/cpu/mce/therm_throt.c define_therm_throt_device_show_func(core_power_limit, count);
count             118 arch/x86/kernel/cpu/mce/therm_throt.c define_therm_throt_device_show_func(package_throttle, count);
count             121 arch/x86/kernel/cpu/mce/therm_throt.c define_therm_throt_device_show_func(package_power_limit, count);
count             179 arch/x86/kernel/cpu/mce/therm_throt.c 		state->count++;
count             182 arch/x86/kernel/cpu/mce/therm_throt.c 			state->count != state->last_count)
count             186 arch/x86/kernel/cpu/mce/therm_throt.c 	state->last_count = state->count;
count             194 arch/x86/kernel/cpu/mce/therm_throt.c 				state->count);
count              82 arch/x86/kernel/cpu/microcode/intel.c 	for (i = 0; i < ext_hdr->count; i++) {
count             136 arch/x86/kernel/cpu/microcode/intel.c 	ext_sigcount = ext_header->count;
count             266 arch/x86/kernel/cpu/microcode/intel.c 		ext_sigcount = ext_header->count;
count             466 arch/x86/kernel/cpu/microcode/intel.c 		ext_sigcount = ext_header->count;
count             797 arch/x86/kernel/cpu/mtrr/generic.c 	unsigned long mask, count;
count             813 arch/x86/kernel/cpu/mtrr/generic.c 	for (count = 0; count < sizeof(mask) * 8; ++count) {
count             815 arch/x86/kernel/cpu/mtrr/generic.c 			set_bit(count, &smp_changes_mask);
count            1220 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 					   size_t count, loff_t *ppos)
count            1228 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	buf_size = min(count, (sizeof(buf) - 1));
count            1242 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 			ret = count;
count             141 arch/x86/kernel/cpu/umwait.c 				const char *buf, size_t count)
count             159 arch/x86/kernel/cpu/umwait.c 	return count;
count             173 arch/x86/kernel/cpu/umwait.c 			      const char *buf, size_t count)
count             194 arch/x86/kernel/cpu/umwait.c 	return count;
count              63 arch/x86/kernel/cpuid.c 			  size_t count, loff_t *ppos)
count              72 arch/x86/kernel/cpuid.c 	if (count % 16)
count              76 arch/x86/kernel/cpuid.c 	for (; count; count -= 16) {
count              74 arch/x86/kernel/crash_dump_64.c ssize_t elfcorehdr_read(char *buf, size_t count, u64 *ppos)
count              76 arch/x86/kernel/crash_dump_64.c 	return read_from_oldmem(buf, count, ppos, 0, sev_active());
count              30 arch/x86/kernel/fpu/regset.c 		unsigned int pos, unsigned int count,
count              41 arch/x86/kernel/fpu/regset.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              46 arch/x86/kernel/fpu/regset.c 		unsigned int pos, unsigned int count,
count              58 arch/x86/kernel/fpu/regset.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count              77 arch/x86/kernel/fpu/regset.c 		unsigned int pos, unsigned int count,
count              93 arch/x86/kernel/fpu/regset.c 			ret = copy_xstate_to_kernel(kbuf, xsave, pos, count);
count              95 arch/x86/kernel/fpu/regset.c 			ret = copy_xstate_to_user(ubuf, xsave, pos, count);
count             108 arch/x86/kernel/fpu/regset.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, xsave, 0, -1);
count             114 arch/x86/kernel/fpu/regset.c 		  unsigned int pos, unsigned int count,
count             127 arch/x86/kernel/fpu/regset.c 	if ((pos != 0) || (count < fpu_user_xstate_size))
count             140 arch/x86/kernel/fpu/regset.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, xsave, 0, -1);
count             296 arch/x86/kernel/fpu/regset.c 	       unsigned int pos, unsigned int count,
count             305 arch/x86/kernel/fpu/regset.c 		return fpregs_soft_get(target, regset, pos, count, kbuf, ubuf);
count             308 arch/x86/kernel/fpu/regset.c 		return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             314 arch/x86/kernel/fpu/regset.c 	if (kbuf && pos == 0 && count == sizeof(env)) {
count             321 arch/x86/kernel/fpu/regset.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &env, 0, -1);
count             325 arch/x86/kernel/fpu/regset.c 	       unsigned int pos, unsigned int count,
count             336 arch/x86/kernel/fpu/regset.c 		return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf);
count             339 arch/x86/kernel/fpu/regset.c 		return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             343 arch/x86/kernel/fpu/regset.c 	if (pos > 0 || count < sizeof(env))
count             346 arch/x86/kernel/fpu/regset.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &env, 0, -1);
count             955 arch/x86/kernel/fpu/xstate.c static void fill_gap(unsigned to, void **kbuf, unsigned *pos, unsigned *count)
count             960 arch/x86/kernel/fpu/xstate.c 		if (size > *count)
count             961 arch/x86/kernel/fpu/xstate.c 			size = *count;
count             965 arch/x86/kernel/fpu/xstate.c 		*count -= size;
count             970 arch/x86/kernel/fpu/xstate.c 			void **kbuf, unsigned *pos, unsigned *count)
count             972 arch/x86/kernel/fpu/xstate.c 	fill_gap(offset, kbuf, pos, count);
count             973 arch/x86/kernel/fpu/xstate.c 	if (size > *count)
count             974 arch/x86/kernel/fpu/xstate.c 		size = *count;
count             979 arch/x86/kernel/fpu/xstate.c 		*count -= size;
count             994 arch/x86/kernel/fpu/xstate.c 	unsigned count = size_total;
count            1012 arch/x86/kernel/fpu/xstate.c 			  &xsave->i387, &kbuf, &offset_start, &count);
count            1015 arch/x86/kernel/fpu/xstate.c 			  &xsave->i387.mxcsr, &kbuf, &offset_start, &count);
count            1018 arch/x86/kernel/fpu/xstate.c 			  &xsave->i387.st_space, &kbuf, &offset_start, &count);
count            1021 arch/x86/kernel/fpu/xstate.c 			  &xsave->i387.xmm_space, &kbuf, &offset_start, &count);
count            1026 arch/x86/kernel/fpu/xstate.c 		  xstate_fx_sw_bytes, &kbuf, &offset_start, &count);
count            1031 arch/x86/kernel/fpu/xstate.c 		  &header, &kbuf, &offset_start, &count);
count            1041 arch/x86/kernel/fpu/xstate.c 				  src, &kbuf, &offset_start, &count);
count            1045 arch/x86/kernel/fpu/xstate.c 	fill_gap(size_total, &kbuf, &offset_start, &count);
count             584 arch/x86/kernel/ftrace.c 	int count = 0;
count             593 arch/x86/kernel/ftrace.c 		count++;
count             599 arch/x86/kernel/ftrace.c 	count = 0;
count             607 arch/x86/kernel/ftrace.c 		count++;
count             613 arch/x86/kernel/ftrace.c 	count = 0;
count             621 arch/x86/kernel/ftrace.c 		count++;
count             629 arch/x86/kernel/ftrace.c 	pr_warn("Failed on %s (%d):\n", report, count);
count              30 arch/x86/kernel/kdebugfs.c 			       size_t count, loff_t *ppos)
count              44 arch/x86/kernel/kdebugfs.c 	if (count > node->len - pos)
count              45 arch/x86/kernel/kdebugfs.c 		count = node->len - pos;
count              48 arch/x86/kernel/kdebugfs.c 	p = memremap(pa, count, MEMREMAP_WB);
count              52 arch/x86/kernel/kdebugfs.c 	remain = copy_to_user(user_buf, p, count);
count              59 arch/x86/kernel/kdebugfs.c 	*ppos = pos + count;
count              61 arch/x86/kernel/kdebugfs.c 	return count;
count              32 arch/x86/kernel/ksysfs.c 				     char *buf, loff_t off, size_t count)
count              34 arch/x86/kernel/ksysfs.c 	memcpy(buf, (void *)&boot_params + off, count);
count              35 arch/x86/kernel/ksysfs.c 	return count;
count             142 arch/x86/kernel/ksysfs.c 				    loff_t off, size_t count)
count             165 arch/x86/kernel/ksysfs.c 	if (count > data->len - off)
count             166 arch/x86/kernel/ksysfs.c 		count = data->len - off;
count             168 arch/x86/kernel/ksysfs.c 	if (!count)
count             171 arch/x86/kernel/ksysfs.c 	ret = count;
count             177 arch/x86/kernel/ksysfs.c 	memcpy(buf, p + off, count);
count             186 arch/x86/kernel/mpparse.c static void skip_entry(unsigned char **ptr, int *count, int size)
count             189 arch/x86/kernel/mpparse.c 	*count += size;
count             207 arch/x86/kernel/mpparse.c 	int count = sizeof(*mpc);
count             208 arch/x86/kernel/mpparse.c 	unsigned char *mpt = ((unsigned char *)mpc) + count;
count             228 arch/x86/kernel/mpparse.c 	while (count < mpc->length) {
count             234 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_cpu));
count             238 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_bus));
count             242 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_ioapic));
count             246 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_intsrc));
count             250 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc));
count             255 arch/x86/kernel/mpparse.c 			count = mpc->length;
count             729 arch/x86/kernel/mpparse.c check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count)
count             731 arch/x86/kernel/mpparse.c 	if (!mpc_new_phys || count <= mpc_new_length) {
count             732 arch/x86/kernel/mpparse.c 		WARN(1, "update_mptable: No spare slots (length: %x)\n", count);
count             750 arch/x86/kernel/mpparse.c 	int count = sizeof(*mpc);
count             752 arch/x86/kernel/mpparse.c 	unsigned char *mpt = ((unsigned char *)mpc) + count;
count             755 arch/x86/kernel/mpparse.c 	while (count < mpc->length) {
count             758 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_cpu));
count             761 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_bus));
count             764 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_ioapic));
count             768 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_intsrc));
count             771 arch/x86/kernel/mpparse.c 			skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc));
count             799 arch/x86/kernel/mpparse.c 			count += sizeof(struct mpc_intsrc);
count             800 arch/x86/kernel/mpparse.c 			if (check_slot(mpc_new_phys, mpc_new_length, count) < 0)
count             803 arch/x86/kernel/mpparse.c 			mpc->length = count;
count              46 arch/x86/kernel/msr.c 			size_t count, loff_t *ppos)
count              55 arch/x86/kernel/msr.c 	if (count % 8)
count              58 arch/x86/kernel/msr.c 	for (; count; count -= 8) {
count              74 arch/x86/kernel/msr.c 			 size_t count, loff_t *ppos)
count              87 arch/x86/kernel/msr.c 	if (count % 8)
count              90 arch/x86/kernel/msr.c 	for (; count; count -= 8) {
count             570 arch/x86/kernel/pci-calgary_64.c 	int count = 1;
count             575 arch/x86/kernel/pci-calgary_64.c 	       "sequence - count %d\n", bus, count);
count             602 arch/x86/kernel/pci-calgary_64.c 		if (++count < 100)
count             805 arch/x86/kernel/process.c 	int count = 0;
count             851 arch/x86/kernel/process.c 	} while (count++ < 16 && p->state != TASK_RUNNING);
count             424 arch/x86/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             429 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*k)) {
count             431 arch/x86/kernel/ptrace.c 			count -= sizeof(*k);
count             436 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*u)) {
count             439 arch/x86/kernel/ptrace.c 			count -= sizeof(*u);
count             449 arch/x86/kernel/ptrace.c 		       unsigned int pos, unsigned int count,
count             455 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*k) && !ret) {
count             457 arch/x86/kernel/ptrace.c 			count -= sizeof(*k);
count             462 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*u) && !ret) {
count             468 arch/x86/kernel/ptrace.c 			count -= sizeof(*u);
count             705 arch/x86/kernel/ptrace.c 		      unsigned int pos, unsigned int count,
count             711 arch/x86/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             991 arch/x86/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count             996 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*k)) {
count             998 arch/x86/kernel/ptrace.c 			count -= sizeof(*k);
count            1003 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*u)) {
count            1008 arch/x86/kernel/ptrace.c 			count -= sizeof(*u);
count            1018 arch/x86/kernel/ptrace.c 			 unsigned int pos, unsigned int count,
count            1024 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*k) && !ret) {
count            1026 arch/x86/kernel/ptrace.c 			count -= sizeof(*k);
count            1031 arch/x86/kernel/ptrace.c 		while (count >= sizeof(*u) && !ret) {
count            1037 arch/x86/kernel/ptrace.c 			count -= sizeof(*u);
count             350 arch/x86/kernel/tboot.c static ssize_t tboot_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos)
count             372 arch/x86/kernel/tboot.c 	if (*ppos + count > max_size)
count             373 arch/x86/kernel/tboot.c 		count = max_size - *ppos;
count             375 arch/x86/kernel/tboot.c 	kbuf = kmalloc(count, GFP_KERNEL);
count             381 arch/x86/kernel/tboot.c 	memcpy_fromio(kbuf, log_base + LOG_BUF_OFF + *ppos, count);
count             382 arch/x86/kernel/tboot.c 	if (copy_to_user(user_buf, kbuf, count))
count             385 arch/x86/kernel/tboot.c 	*ppos += count;
count             387 arch/x86/kernel/tboot.c 	ret = count;
count             259 arch/x86/kernel/tls.c 		   unsigned int pos, unsigned int count,
count             266 arch/x86/kernel/tls.c 	    (count % sizeof(struct user_desc)) != 0)
count             270 arch/x86/kernel/tls.c 	count /= sizeof(struct user_desc);
count             276 arch/x86/kernel/tls.c 		while (count-- > 0)
count             281 arch/x86/kernel/tls.c 		while (count-- > 0) {
count             293 arch/x86/kernel/tls.c 		   unsigned int pos, unsigned int count,
count             302 arch/x86/kernel/tls.c 	    (count % sizeof(struct user_desc)) != 0)
count             307 arch/x86/kernel/tls.c 	else if (__copy_from_user(infobuf, ubuf, count))
count             312 arch/x86/kernel/tls.c 	for (i = 0; i < count / sizeof(struct user_desc); i++)
count             318 arch/x86/kernel/tls.c 		     info, count / sizeof(struct user_desc));
count             491 arch/x86/kernel/tsc.c 	int count;
count             494 arch/x86/kernel/tsc.c 	for (count = 0; count < 50000; count++) {
count             507 arch/x86/kernel/tsc.c 	return count > 5;
count            1518 arch/x86/kvm/emulate.c 		unsigned int count = ctxt->rep_prefix ?
count            1523 arch/x86/kvm/emulate.c 		n = min3(in_page, (unsigned int)sizeof(rc->data) / size, count);
count            1536 arch/x86/kvm/emulate.c 		ctxt->dst.count = (rc->end - rc->pos) / size;
count            1862 arch/x86/kvm/emulate.c 				       op->bytes * op->count);
count            3432 arch/x86/kvm/emulate.c 	int df = (ctxt->eflags & X86_EFLAGS_DF) ? -op->count : op->count;
count            5073 arch/x86/kvm/emulate.c 		op->count = 1;
count            5127 arch/x86/kvm/emulate.c 		op->count = 1;
count            5809 arch/x86/kvm/emulate.c 		unsigned int count;
count            5812 arch/x86/kvm/emulate.c 			count = ctxt->src.count;
count            5814 arch/x86/kvm/emulate.c 			count = ctxt->dst.count;
count            5815 arch/x86/kvm/emulate.c 		register_address_increment(ctxt, VCPU_REGS_RCX, -count);
count             472 arch/x86/kvm/hyperv.c 					      stimer->count, &remainder);
count             474 arch/x86/kvm/hyperv.c 					time_now + (stimer->count - remainder);
count             477 arch/x86/kvm/hyperv.c 			stimer->exp_time = time_now + stimer->count;
count             490 arch/x86/kvm/hyperv.c 	stimer->exp_time = stimer->count;
count             491 arch/x86/kvm/hyperv.c 	if (time_now >= stimer->count) {
count             504 arch/x86/kvm/hyperv.c 					   time_now, stimer->count);
count             507 arch/x86/kvm/hyperv.c 		      ktime_add_ns(ktime_now, 100 * (stimer->count - time_now)),
count             533 arch/x86/kvm/hyperv.c static int stimer_set_count(struct kvm_vcpu_hv_stimer *stimer, u64 count,
count             537 arch/x86/kvm/hyperv.c 				      stimer->index, count, host);
count             540 arch/x86/kvm/hyperv.c 	stimer->count = count;
count             541 arch/x86/kvm/hyperv.c 	if (stimer->count == 0)
count             560 arch/x86/kvm/hyperv.c 	*pcount = stimer->count;
count             693 arch/x86/kvm/hyperv.c 				    stimer->count) {
count             129 arch/x86/kvm/i8254.c 		counter = (c->count - d) & 0xffff;
count             133 arch/x86/kvm/i8254.c 		counter = c->count - (mod_64((2 * d), c->count));
count             136 arch/x86/kvm/i8254.c 		counter = c->count - mod_64(d, c->count);
count             154 arch/x86/kvm/i8254.c 		out = (d >= c->count);
count             157 arch/x86/kvm/i8254.c 		out = (d < c->count);
count             160 arch/x86/kvm/i8254.c 		out = ((mod_64(d, c->count) == 0) && (d != 0));
count             163 arch/x86/kvm/i8254.c 		out = (mod_64(d, c->count) < ((c->count + 1) >> 1));
count             167 arch/x86/kvm/i8254.c 		out = (d == c->count);
count             367 arch/x86/kvm/i8254.c 	ps->channels[channel].count = val;
count             509 arch/x86/kvm/i8254.c 	int ret, count;
count             545 arch/x86/kvm/i8254.c 			count = pit_get_count(pit, addr);
count             546 arch/x86/kvm/i8254.c 			ret = count & 0xff;
count             549 arch/x86/kvm/i8254.c 			count = pit_get_count(pit, addr);
count             550 arch/x86/kvm/i8254.c 			ret = (count >> 8) & 0xff;
count             553 arch/x86/kvm/i8254.c 			count = pit_get_count(pit, addr);
count             554 arch/x86/kvm/i8254.c 			ret = count & 0xff;
count             558 arch/x86/kvm/i8254.c 			count = pit_get_count(pit, addr);
count             559 arch/x86/kvm/i8254.c 			ret = (count >> 8) & 0xff;
count              10 arch/x86/kvm/i8254.h 	u32 count; /* can be 65536 */
count             375 arch/x86/kvm/lapic.c 	u8 count = 0;
count             379 arch/x86/kvm/lapic.c 		count += hweight32(*reg);
count             382 arch/x86/kvm/lapic.c 	return count;
count             569 arch/x86/kvm/lapic.c 	int count = 0;
count             585 arch/x86/kvm/lapic.c 		count = -EOPNOTSUPP;
count             596 arch/x86/kvm/lapic.c 			count += kvm_apic_set_irq(vcpu, &irq, NULL);
count             609 arch/x86/kvm/lapic.c 			count += kvm_apic_set_irq(vcpu, &irq, NULL);
count             615 arch/x86/kvm/lapic.c 	return count;
count            1298 arch/x86/kvm/lapic.c #define APIC_REGS_MASK(first, count) \
count            1299 arch/x86/kvm/lapic.c 	(APIC_REG_MASK(first) * ((1ull << (count)) - 1))
count             762 arch/x86/kvm/mmu.c 	int count;
count             765 arch/x86/kvm/mmu.c 	count = sp->clear_spte_count;
count             775 arch/x86/kvm/mmu.c 	      count != sp->clear_spte_count))
count            1192 arch/x86/kvm/mmu.c 					    gfn_t gfn, int count)
count            1199 arch/x86/kvm/mmu.c 		linfo->disallow_lpage += count;
count            1374 arch/x86/kvm/mmu.c 	int i, count = 0;
count            1385 arch/x86/kvm/mmu.c 		++count;
count            1391 arch/x86/kvm/mmu.c 			count += PTE_LIST_EXT;
count            1398 arch/x86/kvm/mmu.c 			++count;
count            1401 arch/x86/kvm/mmu.c 	return count;
count              64 arch/x86/kvm/page_track.c 			     enum kvm_page_track_mode mode, short count)
count              72 arch/x86/kvm/page_track.c 	if (WARN_ON(val + count < 0 || val + count > USHRT_MAX))
count              75 arch/x86/kvm/page_track.c 	slot->arch.gfn_track[mode][index] += count;
count             102 arch/x86/kvm/trace.h 		 unsigned int count, void *data),
count             103 arch/x86/kvm/trace.h 	TP_ARGS(rw, port, size, count, data),
count             109 arch/x86/kvm/trace.h 		__field(	unsigned int,	count		)
count             117 arch/x86/kvm/trace.h 		__entry->count		= count;
count             128 arch/x86/kvm/trace.h 		  __entry->port, __entry->size, __entry->count, __entry->val,
count             129 arch/x86/kvm/trace.h 		  __entry->count > 1 ? "(...)" : "")
count            1152 arch/x86/kvm/trace.h 	TP_PROTO(int vcpu_id, int timer_index, u64 count, bool host),
count            1153 arch/x86/kvm/trace.h 	TP_ARGS(vcpu_id, timer_index, count, host),
count            1158 arch/x86/kvm/trace.h 		__field(u64, count)
count            1165 arch/x86/kvm/trace.h 		__entry->count = count;
count            1170 arch/x86/kvm/trace.h 		  __entry->vcpu_id, __entry->timer_index, __entry->count,
count            1204 arch/x86/kvm/trace.h 	TP_PROTO(int vcpu_id, int timer_index, u64 time_now, u64 count),
count            1205 arch/x86/kvm/trace.h 	TP_ARGS(vcpu_id, timer_index, time_now, count),
count            1211 arch/x86/kvm/trace.h 		__field(u64, count)
count            1218 arch/x86/kvm/trace.h 		__entry->count = count;
count            1223 arch/x86/kvm/trace.h 		  __entry->count)
count             762 arch/x86/kvm/vmx/nested.c 				       u32 count, u64 addr)
count             766 arch/x86/kvm/vmx/nested.c 	if (count == 0)
count             770 arch/x86/kvm/vmx/nested.c 	    (addr + count * sizeof(struct vmx_msr_entry) - 1) >> maxphyaddr)
count             897 arch/x86/kvm/vmx/nested.c static u32 nested_vmx_load_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count)
count             903 arch/x86/kvm/vmx/nested.c 	for (i = 0; i < count; i++) {
count             932 arch/x86/kvm/vmx/nested.c static int nested_vmx_store_msr(struct kvm_vcpu *vcpu, u64 gpa, u32 count)
count             939 arch/x86/kvm/vmx/nested.c 	for (i = 0; i < count; i++) {
count            5223 arch/x86/kvm/vmx/vmx.c 	unsigned count = 130;
count            5235 arch/x86/kvm/vmx/vmx.c 	while (vmx->emulation_required && count-- != 0) {
count            4670 arch/x86/kvm/x86.c 		kvm_pit_load_count(pit, i, ps->channels[i].count, 0);
count            4702 arch/x86/kvm/x86.c 		kvm_pit_load_count(pit, i, pit->pit_state.channels[i].count,
count            5896 arch/x86/kvm/x86.c 	for (i = 0; i < vcpu->arch.pio.count; i++) {
count            5913 arch/x86/kvm/x86.c 			       unsigned int count, bool in)
count            5917 arch/x86/kvm/x86.c 	vcpu->arch.pio.count  = count;
count            5921 arch/x86/kvm/x86.c 		vcpu->arch.pio.count = 0;
count            5929 arch/x86/kvm/x86.c 	vcpu->run->io.count = count;
count            5937 arch/x86/kvm/x86.c 				    unsigned int count)
count            5942 arch/x86/kvm/x86.c 	if (vcpu->arch.pio.count)
count            5945 arch/x86/kvm/x86.c 	memset(vcpu->arch.pio_data, 0, size * count);
count            5947 arch/x86/kvm/x86.c 	ret = emulator_pio_in_out(vcpu, size, port, val, count, true);
count            5950 arch/x86/kvm/x86.c 		memcpy(val, vcpu->arch.pio_data, size * count);
count            5951 arch/x86/kvm/x86.c 		trace_kvm_pio(KVM_PIO_IN, port, size, count, vcpu->arch.pio_data);
count            5952 arch/x86/kvm/x86.c 		vcpu->arch.pio.count = 0;
count            5961 arch/x86/kvm/x86.c 				     const void *val, unsigned int count)
count            5965 arch/x86/kvm/x86.c 	memcpy(vcpu->arch.pio_data, val, size * count);
count            5966 arch/x86/kvm/x86.c 	trace_kvm_pio(KVM_PIO_OUT, port, size, count, vcpu->arch.pio_data);
count            5967 arch/x86/kvm/x86.c 	return emulator_pio_in_out(vcpu, size, port, (void *)val, count, false);
count            6808 arch/x86/kvm/x86.c 	} else if (vcpu->arch.pio.count) {
count            6811 arch/x86/kvm/x86.c 			vcpu->arch.pio.count = 0;
count            6870 arch/x86/kvm/x86.c 	vcpu->arch.pio.count = 0;
count            6876 arch/x86/kvm/x86.c 	vcpu->arch.pio.count = 0;
count            6914 arch/x86/kvm/x86.c 	BUG_ON(vcpu->arch.pio.count != 1);
count            6917 arch/x86/kvm/x86.c 		vcpu->arch.pio.count = 0;
count            8445 arch/x86/kvm/x86.c 	BUG_ON(!vcpu->arch.pio.count);
count            8610 arch/x86/kvm/x86.c 		WARN_ON(vcpu->arch.pio.count || vcpu->mmio_needed);
count              37 arch/x86/lib/csum-partial_64.c 	unsigned odd, count;
count              48 arch/x86/lib/csum-partial_64.c 	count = len >> 1;		/* nr of 16-bit words.. */
count              49 arch/x86/lib/csum-partial_64.c 	if (count) {
count              52 arch/x86/lib/csum-partial_64.c 			count--;
count              56 arch/x86/lib/csum-partial_64.c 		count >>= 1;		/* nr of 32-bit words.. */
count              57 arch/x86/lib/csum-partial_64.c 		if (count) {
count              62 arch/x86/lib/csum-partial_64.c 				count--;
count              66 arch/x86/lib/csum-partial_64.c 			count >>= 1;	/* nr of 64-bit words.. */
count              70 arch/x86/lib/csum-partial_64.c 			count64 = count >> 3;
count              89 arch/x86/lib/csum-partial_64.c 			count %= 8; 
count              90 arch/x86/lib/csum-partial_64.c 			while (count) { 
count              96 arch/x86/lib/csum-partial_64.c 				--count; 
count              18 arch/x86/lib/memcpy_32.c __visible void *memset(void *s, int c, size_t count)
count              20 arch/x86/lib/memcpy_32.c 	return __memset(s, c, count);
count              33 arch/x86/lib/string_32.c char *strncpy(char *dest, const char *src, size_t count)
count              46 arch/x86/lib/string_32.c 		: "0" (src), "1" (dest), "2" (count) : "memory");
count              71 arch/x86/lib/string_32.c char *strncat(char *dest, const char *src, size_t count)
count              87 arch/x86/lib/string_32.c 		: "0" (src), "1" (dest), "2" (0), "3" (0xffffffffu), "g" (count)
count             118 arch/x86/lib/string_32.c int strncmp(const char *cs, const char *ct, size_t count)
count             135 arch/x86/lib/string_32.c 		: "1" (cs), "2" (ct), "3" (count)
count             180 arch/x86/lib/string_32.c void *memchr(const void *cs, int c, size_t count)
count             184 arch/x86/lib/string_32.c 	if (!count)
count             192 arch/x86/lib/string_32.c 		: "a" (c), "0" (cs), "1" (count)
count             217 arch/x86/lib/string_32.c size_t strnlen(const char *s, size_t count)
count             231 arch/x86/lib/string_32.c 		: "c" (s), "1" (count)
count             640 arch/x86/math-emu/fpu_entry.c 		    unsigned int pos, unsigned int count,
count             649 arch/x86/math-emu/fpu_entry.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, s387, 0,
count             663 arch/x86/math-emu/fpu_entry.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             666 arch/x86/math-emu/fpu_entry.c 		ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count             692 arch/x86/math-emu/fpu_entry.c 		    unsigned int pos, unsigned int count,
count             712 arch/x86/math-emu/fpu_entry.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, s387, 0,
count             717 arch/x86/math-emu/fpu_entry.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             720 arch/x86/math-emu/fpu_entry.c 		ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             129 arch/x86/mm/init_32.c 	unsigned long count = 0;
count             148 arch/x86/mm/init_32.c 				count++;
count             154 arch/x86/mm/init_32.c 	return count;
count             215 arch/x86/mm/init_32.c 	unsigned long count = page_table_range_init_count(start, end);
count             218 arch/x86/mm/init_32.c 	if (count)
count             219 arch/x86/mm/init_32.c 		adr = alloc_low_pages(count);
count              47 arch/x86/mm/kmmio.c 	int count;
count             197 arch/x86/mm/kmmio.c 			   f->addr, f->count, !!f->old_presence);
count             354 arch/x86/mm/kmmio.c 	if (ctx->fpage->count)
count             386 arch/x86/mm/kmmio.c 		if (!f->count)
count             388 arch/x86/mm/kmmio.c 		f->count++;
count             396 arch/x86/mm/kmmio.c 	f->count = 1;
count             419 arch/x86/mm/kmmio.c 	f->count--;
count             420 arch/x86/mm/kmmio.c 	BUG_ON(f->count < 0);
count             421 arch/x86/mm/kmmio.c 	if (!f->count) {
count             487 arch/x86/mm/kmmio.c 		BUG_ON(f->count);
count             504 arch/x86/mm/kmmio.c 		if (!f->count) {
count             218 arch/x86/mm/mmap.c int valid_phys_addr_range(phys_addr_t addr, size_t count)
count             220 arch/x86/mm/mmap.c 	return addr + count - 1 <= __pa(high_memory - 1);
count             224 arch/x86/mm/mmap.c int valid_mmap_phys_addr_range(unsigned long pfn, size_t count)
count             228 arch/x86/mm/mmap.c 	return phys_addr_valid(addr + count - 1);
count             206 arch/x86/mm/pgtable.c static void free_pmds(struct mm_struct *mm, pmd_t *pmds[], int count)
count             210 arch/x86/mm/pgtable.c 	for (i = 0; i < count; i++)
count             218 arch/x86/mm/pgtable.c static int preallocate_pmds(struct mm_struct *mm, pmd_t *pmds[], int count)
count             227 arch/x86/mm/pgtable.c 	for (i = 0; i < count; i++) {
count             242 arch/x86/mm/pgtable.c 		free_pmds(mm, pmds, count);
count             145 arch/x86/mm/pkeys.c 			     size_t count, loff_t *ppos)
count             151 arch/x86/mm/pkeys.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             155 arch/x86/mm/pkeys.c 		 const char __user *user_buf, size_t count, loff_t *ppos)
count             162 arch/x86/mm/pkeys.c 	len = min(count, sizeof(buf) - 1);
count             184 arch/x86/mm/pkeys.c 	return count;
count             878 arch/x86/mm/tlb.c 			     size_t count, loff_t *ppos)
count             884 arch/x86/mm/tlb.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             888 arch/x86/mm/tlb.c 		 const char __user *user_buf, size_t count, loff_t *ppos)
count             894 arch/x86/mm/tlb.c 	len = min(count, sizeof(buf) - 1);
count             906 arch/x86/mm/tlb.c 	return count;
count             191 arch/x86/oprofile/nmi_int.c 			multiplex[i].saved = -(u64)counter_config[i].count;
count             237 arch/x86/oprofile/nmi_int.c 	if ((si >= model->num_virt_counters) || (counter_config[si].count == 0))
count             256 arch/x86/oprofile/nmi_int.c 	return counter_config[model->num_counters].count ? 0 : -EINVAL;
count             433 arch/x86/oprofile/nmi_int.c 		oprofilefs_create_ulong(dir, "count", &counter_config[i].count);
count              19 arch/x86/oprofile/op_counter.h 	unsigned long count;
count             343 arch/x86/oprofile/op_model_amd.c 			reset_value[i] = counter_config[i].count;
count             604 arch/x86/oprofile/op_model_p4.c 			reset_value[i] = counter_config[i].count;
count             607 arch/x86/oprofile/op_model_p4.c 			       -(u64)counter_config[i].count);
count             114 arch/x86/oprofile/op_model_ppro.c 			reset_value[i] = counter_config[i].count;
count             812 arch/x86/platform/efi/efi.c static void * __init efi_map_regions(int *count, int *pg_shift)
count             840 arch/x86/platform/efi/efi.c 		memcpy(new_memmap + (*count * desc_size), md, desc_size);
count             843 arch/x86/platform/efi/efi.c 		(*count)++;
count             950 arch/x86/platform/efi/efi.c 	int count = 0, pg_shift = 0;
count             963 arch/x86/platform/efi/efi.c 	new_memmap = efi_map_regions(&count, &pg_shift);
count             978 arch/x86/platform/efi/efi.c 	if (efi_memmap_init_late(pa, efi.memmap.desc_size * count)) {
count             998 arch/x86/platform/efi/efi.c 				efi.memmap.desc_size * count,
count            1005 arch/x86/platform/efi/efi.c 				efi.memmap.desc_size * count,
count             911 arch/x86/platform/efi/efi_64.c efi_thunk_get_next_high_mono_count(u32 *count)
count             919 arch/x86/platform/efi/efi_64.c 	phys_count = virt_to_phys_or_null(count);
count             945 arch/x86/platform/efi/efi_64.c 			 unsigned long count, unsigned long sg_list)
count            1010 arch/x86/platform/efi/efi_64.c 			     unsigned long count, u64 *max_size,
count             134 arch/x86/platform/intel-mid/pwr.c 	unsigned int count = 500000;
count             142 arch/x86/platform/intel-mid/pwr.c 	} while (--count);
count             144 arch/x86/platform/olpc/olpc-xo1-sci.c 				 const char *buf, size_t count)
count             149 arch/x86/platform/olpc/olpc-xo1-sci.c 		if (strlen(mode) != count || strncasecmp(mode, buf, count))
count             153 arch/x86/platform/olpc/olpc-xo1-sci.c 		return count;
count            1277 arch/x86/platform/uv/tlb_uv.c 	int count = 0;
count            1296 arch/x86/platform/uv/tlb_uv.c 		count++;
count            1312 arch/x86/platform/uv/tlb_uv.c 	if (!count)
count            1314 arch/x86/platform/uv/tlb_uv.c 	else if (count > 1)
count            1467 arch/x86/platform/uv/tlb_uv.c 				size_t count, loff_t *ppos)
count            1484 arch/x86/platform/uv/tlb_uv.c 	ret = simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
count            1495 arch/x86/platform/uv/tlb_uv.c 				size_t count, loff_t *data)
count            1504 arch/x86/platform/uv/tlb_uv.c 	if (count == 0 || count > sizeof(optstr))
count            1506 arch/x86/platform/uv/tlb_uv.c 	if (copy_from_user(optstr, user, count))
count            1508 arch/x86/platform/uv/tlb_uv.c 	optstr[count - 1] = '\0';
count            1512 arch/x86/platform/uv/tlb_uv.c 		return count;
count            1515 arch/x86/platform/uv/tlb_uv.c 		return count;
count            1536 arch/x86/platform/uv/tlb_uv.c 	return count;
count            1559 arch/x86/platform/uv/tlb_uv.c 				int count)
count            1616 arch/x86/platform/uv/tlb_uv.c 				size_t count, loff_t *data)
count            1623 arch/x86/platform/uv/tlb_uv.c 	if (count == 0 || count > sizeof(instr)-1)
count            1625 arch/x86/platform/uv/tlb_uv.c 	if (copy_from_user(instr, user, count))
count            1628 arch/x86/platform/uv/tlb_uv.c 	instr[count] = '\0';
count            1632 arch/x86/platform/uv/tlb_uv.c 	ret = parse_tunables_write(bcp, instr, count);
count            1651 arch/x86/platform/uv/tlb_uv.c 	return count;
count              43 arch/x86/realmode/init.c 	u32 count;
count              71 arch/x86/realmode/init.c 	count = *rel++;
count              72 arch/x86/realmode/init.c 	while (count--) {
count              78 arch/x86/realmode/init.c 	count = *rel++;
count              79 arch/x86/realmode/init.c 	while (count--) {
count              20 arch/x86/tools/relocs.c 	unsigned long	count;
count             651 arch/x86/tools/relocs.c 	if (r->count == r->size) {
count             661 arch/x86/tools/relocs.c 	r->offset[r->count++] = offset;
count             984 arch/x86/tools/relocs.c 	qsort(r->offset, r->count, sizeof(r->offset[0]), cmp_relocs);
count            1022 arch/x86/tools/relocs.c 	if (relocs16.count && !use_real_mode)
count            1045 arch/x86/tools/relocs.c 		write_reloc(relocs16.count, stdout);
count            1046 arch/x86/tools/relocs.c 		for (i = 0; i < relocs16.count; i++)
count            1049 arch/x86/tools/relocs.c 		write_reloc(relocs32.count, stdout);
count            1050 arch/x86/tools/relocs.c 		for (i = 0; i < relocs32.count; i++)
count            1058 arch/x86/tools/relocs.c 		for (i = 0; i < relocs64.count; i++)
count            1065 arch/x86/tools/relocs.c 		for (i = 0; i < relocs32neg.count; i++)
count            1073 arch/x86/tools/relocs.c 		for (i = 0; i < relocs32.count; i++)
count             733 arch/x86/xen/enlighten_pv.c 	unsigned in, out, count;
count             735 arch/x86/xen/enlighten_pv.c 	count = (desc->size+1) / sizeof(gate_desc);
count             736 arch/x86/xen/enlighten_pv.c 	BUG_ON(count > 256);
count             738 arch/x86/xen/enlighten_pv.c 	for (in = out = 0; in < count; in++) {
count             148 arch/x86/xen/grant-table.c 	xen_auto_xlat_grant_frames.count = gnttab_max_grant_frames();
count             152 arch/x86/xen/grant-table.c 					     xen_auto_xlat_grant_frames.count);
count             700 arch/x86/xen/p2m.c 			    struct page **pages, unsigned int count)
count             710 arch/x86/xen/p2m.c 						kmap_ops, count);
count             715 arch/x86/xen/p2m.c 	for (i = 0; i < count; i++) {
count             746 arch/x86/xen/p2m.c 			      struct page **pages, unsigned int count)
count             753 arch/x86/xen/p2m.c 	for (i = 0; i < count; i++) {
count             766 arch/x86/xen/p2m.c 						kunmap_ops, count);
count             121 arch/x86/xen/smp.c 	int cpu, rc, count = 0;
count             142 arch/x86/xen/smp.c 			count++;
count             148 arch/x86/xen/smp.c 	WARN(count, "%s: brought %d CPUs offline\n", __func__, count);
count             296 arch/xtensa/include/asm/uaccess.h strncpy_from_user(char *dst, const char *src, long count)
count             299 arch/xtensa/include/asm/uaccess.h 		return __strncpy_user(dst, src, count);
count             303 arch/xtensa/include/asm/uaccess.h long strncpy_from_user(char *dst, const char *src, long count);
count             144 arch/xtensa/kernel/pci-dma.c 	unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count             155 arch/xtensa/kernel/pci-dma.c 		page = dma_alloc_from_contiguous(dev, count, get_order(size),
count             174 arch/xtensa/kernel/pci-dma.c 			if (!dma_release_from_contiguous(dev, page, count))
count             188 arch/xtensa/kernel/pci-dma.c 	unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count             200 arch/xtensa/kernel/pci-dma.c 	if (!dma_release_from_contiguous(dev, page, count))
count             150 arch/xtensa/kernel/perf_event.c 	local64_add(delta, &event->count);
count             304 arch/xtensa/kernel/process.c 	int count = 0;
count             324 arch/xtensa/kernel/process.c 	} while (count++ < 16);
count              41 arch/xtensa/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              64 arch/xtensa/kernel/ptrace.c 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count              70 arch/xtensa/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count              78 arch/xtensa/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1);
count             119 arch/xtensa/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             145 arch/xtensa/kernel/ptrace.c 	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
count             153 arch/xtensa/kernel/ptrace.c 		   unsigned int pos, unsigned int count,
count             164 arch/xtensa/kernel/ptrace.c 	ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
count              56 arch/xtensa/platforms/iss/console.c 	if (tty->count == 1) {
count              79 arch/xtensa/platforms/iss/console.c 	if (tty->count == 1)
count              86 arch/xtensa/platforms/iss/console.c 		    const unsigned char *buf, int count)
count              90 arch/xtensa/platforms/iss/console.c 	simc_write(1, buf, count);
count              91 arch/xtensa/platforms/iss/console.c 	return count;
count             225 arch/xtensa/platforms/iss/console.c static void iss_console_write(struct console *co, const char *s, unsigned count)
count             230 arch/xtensa/platforms/iss/console.c 		simc_write(1, s, count < len ? count : len);
count             104 arch/xtensa/platforms/iss/include/platform/simcall.h static inline int simc_read(int fd, void *buf, size_t count)
count             106 arch/xtensa/platforms/iss/include/platform/simcall.h 	return __simc(SYS_read, fd, (int) buf, count);
count             109 arch/xtensa/platforms/iss/include/platform/simcall.h static inline int simc_write(int fd, const void *buf, size_t count)
count             111 arch/xtensa/platforms/iss/include/platform/simcall.h 	return __simc(SYS_write, fd, (int) buf, count);
count             228 arch/xtensa/platforms/iss/simdisk.c 			size_t count, loff_t *ppos)
count             230 arch/xtensa/platforms/iss/simdisk.c 	char *tmp = memdup_user_nul(buf, count);
count             241 arch/xtensa/platforms/iss/simdisk.c 	if (count > 0 && tmp[count - 1] == '\n')
count             242 arch/xtensa/platforms/iss/simdisk.c 		tmp[count - 1] = 0;
count             248 arch/xtensa/platforms/iss/simdisk.c 		err = count;
count              76 block/badblocks.c 	hi = bb->count;
count             137 block/badblocks.c 	for (i = 0; i < bb->count ; i++) {
count             189 block/badblocks.c 	hi = bb->count;
count             235 block/badblocks.c 	if (sectors && hi < bb->count) {
count             265 block/badblocks.c 	if (sectors == 0 && hi < bb->count) {
count             279 block/badblocks.c 				(bb->count - hi - 1) * 8);
count             280 block/badblocks.c 			bb->count--;
count             287 block/badblocks.c 		if (bb->count >= MAX_BADBLOCKS) {
count             295 block/badblocks.c 				(bb->count - hi) * 8);
count             296 block/badblocks.c 			bb->count++;
count             355 block/badblocks.c 	hi = bb->count;
count             380 block/badblocks.c 				if (bb->count >= MAX_BADBLOCKS) {
count             384 block/badblocks.c 				memmove(p+lo+1, p+lo, (bb->count - lo) * 8);
count             385 block/badblocks.c 				bb->count++;
count             413 block/badblocks.c 			memmove(p+lo+1, p+hi, (bb->count - hi) * 8);
count             414 block/badblocks.c 			bb->count -= (hi - lo - 1);
count             444 block/badblocks.c 		for (i = 0; i < bb->count ; i++) {
count             483 block/badblocks.c 	while (len < PAGE_SIZE && i < bb->count) {
count             548 block/badblocks.c 	bb->count = 0;
count            6619 block/bfq-iosched.c __FUNC(struct elevator_queue *e, const char *page, size_t count)	\
count            6638 block/bfq-iosched.c 	return count;							\
count            6651 block/bfq-iosched.c static ssize_t __FUNC(struct elevator_queue *e, const char *page, size_t count)\
count            6665 block/bfq-iosched.c 	return count;							\
count            6672 block/bfq-iosched.c 				    const char *page, size_t count)
count            6692 block/bfq-iosched.c 	return count;
count            6700 block/bfq-iosched.c 				      const char *page, size_t count)
count            6719 block/bfq-iosched.c 	return count;
count            6723 block/bfq-iosched.c 				     const char *page, size_t count)
count            6741 block/bfq-iosched.c 	return count;
count            6745 block/bfq-iosched.c 				     const char *page, size_t count)
count            6761 block/bfq-iosched.c 	return count;
count             899 block/bio.c    	len = min_t(size_t, bv->bv_len - iter->iov_offset, iter->count);
count            1283 block/bio.c    	unsigned int len = iter->count;
count            1155 block/blk-core.c 		unsigned int count;
count            1158 block/blk-core.c 			count = queue_logical_block_size(bio->bi_disk->queue) >> 9;
count            1160 block/blk-core.c 			count = bio_sectors(bio);
count            1163 block/blk-core.c 			count_vm_events(PGPGOUT, count);
count            1168 block/blk-core.c 			count_vm_events(PGPGIN, count);
count            1177 block/blk-core.c 				bio_devname(bio, b), count);
count             236 block/blk-integrity.c 				    size_t count)
count             245 block/blk-integrity.c 		ret = entry->store(bi, page, count);
count             270 block/blk-integrity.c 				      const char *page, size_t count)
count             280 block/blk-integrity.c 	return count;
count             289 block/blk-integrity.c 					const char *page, size_t count)
count             299 block/blk-integrity.c 	return count;
count             142 block/blk-mq-debugfs.c 				 size_t count, loff_t *ppos)
count             155 block/blk-mq-debugfs.c 	if (count >= sizeof(opbuf)) {
count             160 block/blk-mq-debugfs.c 	if (copy_from_user(opbuf, buf, count))
count             175 block/blk-mq-debugfs.c 	return count;
count             190 block/blk-mq-debugfs.c 				      size_t count, loff_t *ppos)
count             198 block/blk-mq-debugfs.c 	return count;
count             539 block/blk-mq-debugfs.c 				  size_t count, loff_t *ppos)
count             544 block/blk-mq-debugfs.c 	return count;
count             565 block/blk-mq-debugfs.c 				     size_t count, loff_t *ppos)
count             572 block/blk-mq-debugfs.c 	return count;
count             584 block/blk-mq-debugfs.c 				 size_t count, loff_t *ppos)
count             589 block/blk-mq-debugfs.c 	return count;
count             600 block/blk-mq-debugfs.c static ssize_t hctx_run_write(void *data, const char __user *buf, size_t count,
count             606 block/blk-mq-debugfs.c 	return count;
count             671 block/blk-mq-debugfs.c 				    size_t count, loff_t *ppos)
count             676 block/blk-mq-debugfs.c 	return count;
count             688 block/blk-mq-debugfs.c 				size_t count, loff_t *ppos)
count             693 block/blk-mq-debugfs.c 	return count;
count             705 block/blk-mq-debugfs.c 				   size_t count, loff_t *ppos)
count             710 block/blk-mq-debugfs.c 	return count;
count             722 block/blk-mq-debugfs.c 				    size_t count, loff_t *ppos)
count             735 block/blk-mq-debugfs.c 	return attr->write(data, buf, count, ppos);
count             361 block/blk-mq-tag.c 	unsigned *count = data;
count             364 block/blk-mq-tag.c 		(*count)++;
count             378 block/blk-mq-tag.c 		unsigned count = 0;
count             381 block/blk-mq-tag.c 				blk_mq_tagset_count_completed_rqs, &count);
count             382 block/blk-mq-tag.c 		if (!count)
count              33 block/blk-sysfs.c queue_var_store(unsigned long *var, const char *page, size_t count)
count              44 block/blk-sysfs.c 	return count;
count              66 block/blk-sysfs.c queue_requests_store(struct request_queue *q, const char *page, size_t count)
count              74 block/blk-sysfs.c 	ret = queue_var_store(&nr, page, count);
count              97 block/blk-sysfs.c queue_ra_store(struct request_queue *q, const char *page, size_t count)
count             100 block/blk-sysfs.c 	ssize_t ret = queue_var_store(&ra_kb, page, count);
count             182 block/blk-sysfs.c 				       const char *page, size_t count)
count             185 block/blk-sysfs.c 	ssize_t ret = queue_var_store(&max_discard, page, count);
count             222 block/blk-sysfs.c queue_max_sectors_store(struct request_queue *q, const char *page, size_t count)
count             227 block/blk-sysfs.c 	ssize_t ret = queue_var_store(&max_sectors_kb, page, count);
count             262 block/blk-sysfs.c queue_store_##name(struct request_queue *q, const char *page, size_t count) \
count             266 block/blk-sysfs.c 	ret = queue_var_store(&val, page, count);			\
count             308 block/blk-sysfs.c 				    size_t count)
count             311 block/blk-sysfs.c 	ssize_t ret = queue_var_store(&nm, page, count);
count             335 block/blk-sysfs.c queue_rq_affinity_store(struct request_queue *q, const char *page, size_t count)
count             341 block/blk-sysfs.c 	ret = queue_var_store(&val, page, count);
count             372 block/blk-sysfs.c 				size_t count)
count             390 block/blk-sysfs.c 	return count;
count             399 block/blk-sysfs.c 				size_t count)
count             408 block/blk-sysfs.c 	ret = queue_var_store(&poll_on, page, count);
count             426 block/blk-sysfs.c 				  size_t count)
count             437 block/blk-sysfs.c 	return count;
count             449 block/blk-sysfs.c 				  size_t count)
count             474 block/blk-sysfs.c 		return count;
count             489 block/blk-sysfs.c 	return count;
count             501 block/blk-sysfs.c 			      size_t count)
count             519 block/blk-sysfs.c 	return count;
count            2462 block/blk-throttle.c 	const char *page, size_t count)
count            2475 block/blk-throttle.c 	return count;
count              51 block/blk-timeout.c 			   const char *buf, size_t count)
count              56 block/blk-timeout.c 	if (count) {
count              67 block/blk-timeout.c 	return count;
count             325 block/blk.h    	const char *page, size_t count);
count             763 block/elevator.c 			  size_t count)
count             768 block/elevator.c 		return count;
count             772 block/elevator.c 		return count;
count            1943 block/genhd.c  					    const char *buf, size_t count)
count            1948 block/genhd.c  	if (!count || !sscanf(buf, "%ld", &intv))
count            1961 block/genhd.c  	return count;
count             869 block/kyber-iosched.c 					const char *page, size_t count)	\
count             881 block/kyber-iosched.c 	return count;							\
count             621 block/mq-deadline.c static ssize_t __FUNC(struct elevator_queue *e, const char *page, size_t count)	\
count             634 block/mq-deadline.c 	return count;							\
count             171 block/partition-generic.c 			const char *buf, size_t count)
count             176 block/partition-generic.c 	if (count > 0 && sscanf(buf, "%d", &i) > 0)
count             179 block/partition-generic.c 	return count;
count              97 block/partitions/aix.c 			size_t count)
count             101 block/partitions/aix.c 	if (!buffer || lba + count / 512 > last_lba(state->bdev))
count             104 block/partitions/aix.c 	while (count) {
count             110 block/partitions/aix.c 		if (copied > count)
count             111 block/partitions/aix.c 			copied = count;
count             116 block/partitions/aix.c 		count -= copied;
count             132 block/partitions/aix.c 	size_t count = sizeof(struct pvd);
count             135 block/partitions/aix.c 	p = kmalloc(count, GFP_KERNEL);
count             139 block/partitions/aix.c 	if (read_lba(state, lba, (u8 *) p, count) < count) {
count             157 block/partitions/aix.c 	size_t count = sizeof(struct lvname) * LVM_MAXLVS;
count             160 block/partitions/aix.c 	p = kmalloc(count, GFP_KERNEL);
count             164 block/partitions/aix.c 	if (read_lba(state, lba, (u8 *) p, count) < count) {
count             238 block/partitions/efi.c 		       u64 lba, u8 *buffer, size_t count)
count             247 block/partitions/efi.c 	while (count) {
count             253 block/partitions/efi.c 		if (copied > count)
count             254 block/partitions/efi.c 			copied = count;
count             259 block/partitions/efi.c 		count -= copied;
count             276 block/partitions/efi.c 	size_t count;
count             282 block/partitions/efi.c 	count = (size_t)le32_to_cpu(gpt->num_partition_entries) *
count             284 block/partitions/efi.c 	if (!count)
count             286 block/partitions/efi.c 	pte = kmalloc(count, GFP_KERNEL);
count             291 block/partitions/efi.c 			(u8 *) pte, count) < count) {
count             160 crypto/acompress.c int crypto_register_acomps(struct acomp_alg *algs, int count)
count             164 crypto/acompress.c 	for (i = 0; i < count; i++) {
count             180 crypto/acompress.c void crypto_unregister_acomps(struct acomp_alg *algs, int count)
count             184 crypto/acompress.c 	for (i = count - 1; i >= 0; --i)
count             422 crypto/aead.c  int crypto_register_aeads(struct aead_alg *algs, int count)
count             426 crypto/aead.c  	for (i = 0; i < count; i++) {
count             442 crypto/aead.c  void crypto_unregister_aeads(struct aead_alg *algs, int count)
count             446 crypto/aead.c  	for (i = count - 1; i >= 0; --i)
count             607 crypto/ahash.c int crypto_register_ahashes(struct ahash_alg *algs, int count)
count             611 crypto/ahash.c 	for (i = 0; i < count; i++) {
count             627 crypto/ahash.c void crypto_unregister_ahashes(struct ahash_alg *algs, int count)
count             631 crypto/ahash.c 	for (i = count - 1; i >= 0; --i)
count             439 crypto/algapi.c int crypto_register_algs(struct crypto_alg *algs, int count)
count             443 crypto/algapi.c 	for (i = 0; i < count; i++) {
count             459 crypto/algapi.c int crypto_unregister_algs(struct crypto_alg *algs, int count)
count             463 crypto/algapi.c 	for (i = 0; i < count; i++) {
count             496 crypto/algapi.c int crypto_register_templates(struct crypto_template *tmpls, int count)
count             500 crypto/algapi.c 	for (i = 0; i < count; i++) {
count             543 crypto/algapi.c void crypto_unregister_templates(struct crypto_template *tmpls, int count)
count             547 crypto/algapi.c 	for (i = count - 1; i >= 0; --i)
count              73 crypto/async_tx/raid6test.c 			int count = 0;
count              84 crypto/async_tx/raid6test.c 				blocks[count++] = ptrs[i];
count              89 crypto/async_tx/raid6test.c 			tx = async_xor(dest, blocks, 0, count, bytes, &submit);
count             349 crypto/blowfish_common.c 	short i, j, count;
count             353 crypto/blowfish_common.c 	for (i = 0, count = 0; i < 256; i++)
count             354 crypto/blowfish_common.c 		for (j = 0; j < 4; j++, count++)
count             355 crypto/blowfish_common.c 			S[count] = bf_sbox[count];
count             383 crypto/blowfish_common.c 		for (j = 0, count = i * 256; j < 256; j += 2, count += 2) {
count             386 crypto/blowfish_common.c 			S[count] = data[0];
count             387 crypto/blowfish_common.c 			S[count + 1] = data[1];
count             202 crypto/rng.c   int crypto_register_rngs(struct rng_alg *algs, int count)
count             206 crypto/rng.c   	for (i = 0; i < count; i++) {
count             222 crypto/rng.c   void crypto_unregister_rngs(struct rng_alg *algs, int count)
count             226 crypto/rng.c   	for (i = count - 1; i >= 0; --i)
count             275 crypto/scompress.c int crypto_register_scomps(struct scomp_alg *algs, int count)
count             279 crypto/scompress.c 	for (i = 0; i < count; i++) {
count             295 crypto/scompress.c void crypto_unregister_scomps(struct scomp_alg *algs, int count)
count             299 crypto/scompress.c 	for (i = count - 1; i >= 0; --i)
count             504 crypto/shash.c int crypto_register_shashes(struct shash_alg *algs, int count)
count             508 crypto/shash.c 	for (i = 0; i < count; i++) {
count             524 crypto/shash.c int crypto_unregister_shashes(struct shash_alg *algs, int count)
count             528 crypto/shash.c 	for (i = count - 1; i >= 0; --i) {
count             232 crypto/simd.c  int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
count             242 crypto/simd.c  	err = crypto_register_skciphers(algs, count);
count             246 crypto/simd.c  	for (i = 0; i < count; i++) {
count             261 crypto/simd.c  	simd_unregister_skciphers(algs, count, simd_algs);
count             266 crypto/simd.c  void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
count             271 crypto/simd.c  	crypto_unregister_skciphers(algs, count);
count             273 crypto/simd.c  	for (i = 0; i < count; i++) {
count             482 crypto/simd.c  int simd_register_aeads_compat(struct aead_alg *algs, int count,
count             492 crypto/simd.c  	err = crypto_register_aeads(algs, count);
count             496 crypto/simd.c  	for (i = 0; i < count; i++) {
count             511 crypto/simd.c  	simd_unregister_aeads(algs, count, simd_algs);
count             516 crypto/simd.c  void simd_unregister_aeads(struct aead_alg *algs, int count,
count             521 crypto/simd.c  	crypto_unregister_aeads(algs, count);
count             523 crypto/simd.c  	for (i = 0; i < count; i++) {
count            1066 crypto/skcipher.c int crypto_register_skciphers(struct skcipher_alg *algs, int count)
count            1070 crypto/skcipher.c 	for (i = 0; i < count; i++) {
count            1086 crypto/skcipher.c void crypto_unregister_skciphers(struct skcipher_alg *algs, int count)
count            1090 crypto/skcipher.c 	for (i = count - 1; i >= 0; --i)
count              84 crypto/testmgr.c 	unsigned int count;
count              89 crypto/testmgr.c 	unsigned int count;
count              95 crypto/testmgr.c 		unsigned int count;
count             101 crypto/testmgr.c 	unsigned int count;
count             106 crypto/testmgr.c 	unsigned int count;
count             111 crypto/testmgr.c 	unsigned int count;
count             116 crypto/testmgr.c 	unsigned int count;
count             121 crypto/testmgr.c 	unsigned int count;
count             430 crypto/testmgr.c 			       unsigned int count, int *flags_ret)
count             435 crypto/testmgr.c 	for (i = 0; i < count && total != TEST_SG_TOTAL; i++) {
count             446 crypto/testmgr.c 		memchr_inv(&divs[i], 0, (count - i) * sizeof(divs[0])) == NULL;
count             593 crypto/testmgr.c 			copy_len = min(partitions[i].length, data->count);
count             763 crypto/testmgr.c static void mutate_buffer(u8 *buf, size_t count)
count             771 crypto/testmgr.c 		num_flips = min_t(size_t, 1 << (prandom_u32() % 8), count * 8);
count             773 crypto/testmgr.c 			pos = prandom_u32() % (count * 8);
count             780 crypto/testmgr.c 		num_flips = min_t(size_t, 1 << (prandom_u32() % 8), count);
count             782 crypto/testmgr.c 			buf[prandom_u32() % count] ^= 0xff;
count             787 crypto/testmgr.c static void generate_random_bytes(u8 *buf, size_t count)
count             793 crypto/testmgr.c 	if (count == 0)
count             811 crypto/testmgr.c 		memset(buf, b, count);
count             812 crypto/testmgr.c 		mutate_buffer(buf, count);
count             818 crypto/testmgr.c 		for (i = 0; i < count; i++, b += increment)
count             820 crypto/testmgr.c 		mutate_buffer(buf, count);
count             824 crypto/testmgr.c 		for (i = 0; i < count; i++)
count            1798 crypto/testmgr.c 	unsigned int tcount = desc->suite.hash.count;
count            2225 crypto/testmgr.c 	for (i = 0; i < test_desc->suite.aead.count; i++)
count            2287 crypto/testmgr.c 	for (i = 0; i < suite->count; i++) {
count            2306 crypto/testmgr.c 	if (suite->count <= 0) {
count            2846 crypto/testmgr.c 	for (i = 0; i < suite->count; i++) {
count            2865 crypto/testmgr.c 	if (suite->count <= 0) {
count            3261 crypto/testmgr.c 	err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count);
count            3263 crypto/testmgr.c 		err = test_cipher(tfm, DECRYPT, suite->vecs, suite->count);
count            3286 crypto/testmgr.c 				 desc->suite.comp.comp.count,
count            3287 crypto/testmgr.c 				 desc->suite.comp.decomp.count);
count            3299 crypto/testmgr.c 				desc->suite.comp.comp.count,
count            3300 crypto/testmgr.c 				desc->suite.comp.decomp.count);
count            3372 crypto/testmgr.c 	err = test_cprng(rng, desc->suite.cprng.vecs, desc->suite.cprng.count);
count            3455 crypto/testmgr.c 	unsigned int tcount = desc->suite.drbg.count;
count            3645 crypto/testmgr.c 			       desc->suite.kpp.count);
count            3865 crypto/testmgr.c 				    desc->suite.akcipher.count);
count            3877 crypto/testmgr.c #define __VECS(tv)	{ .vecs = tv, .count = ARRAY_SIZE(tv) }
count            4482 crypto/testmgr.c 				.count = 1
count              36 crypto/tgr192.c 	int count;
count             501 crypto/tgr192.c 	tctx->count = 0;
count             514 crypto/tgr192.c 	if (tctx->count == 64) {	/* flush the buffer */
count             516 crypto/tgr192.c 		tctx->count = 0;
count             522 crypto/tgr192.c 	if (tctx->count) {
count             523 crypto/tgr192.c 		for (; len && tctx->count < 64; len--) {
count             524 crypto/tgr192.c 			tctx->hash[tctx->count++] = *inbuf++;
count             535 crypto/tgr192.c 		tctx->count = 0;
count             540 crypto/tgr192.c 	for (; len && tctx->count < 64; len--) {
count             541 crypto/tgr192.c 		tctx->hash[tctx->count++] = *inbuf++;
count             567 crypto/tgr192.c 	if ((lsb = t + tctx->count) < t) {	/* add the count */
count             576 crypto/tgr192.c 	if (tctx->count < 56) {	/* enough room */
count             577 crypto/tgr192.c 		tctx->hash[tctx->count++] = 0x01;	/* pad */
count             578 crypto/tgr192.c 		while (tctx->count < 56) {
count             579 crypto/tgr192.c 			tctx->hash[tctx->count++] = 0;	/* pad */
count             582 crypto/tgr192.c 		tctx->hash[tctx->count++] = 0x01;	/* pad character */
count             583 crypto/tgr192.c 		while (tctx->count < 64) {
count             584 crypto/tgr192.c 			tctx->hash[tctx->count++] = 0;
count              64 crypto/xor.c   	int i, count, max;
count              79 crypto/xor.c   		count = 0;
count              86 crypto/xor.c   			count++;
count              89 crypto/xor.c   		if (count > max)
count              90 crypto/xor.c   			max = count;
count              50 drivers/acpi/acpi_adxl.c 	if (obj->package.count != 2) {
count              51 drivers/acpi/acpi_adxl.c 		pr_info("Bad pkg count %d\n", obj->package.count);
count             112 drivers/acpi/acpi_adxl.c 	argv4[0].package.count = 1;
count             122 drivers/acpi/acpi_adxl.c 	cnt = r->package.count;
count             170 drivers/acpi/acpi_adxl.c 	adxl_count = p->package.count;
count             310 drivers/acpi/acpi_dbg.c 	int count = 0, size = 0;
count             315 drivers/acpi/acpi_dbg.c 		count = strlen(msg);
count             316 drivers/acpi/acpi_dbg.c 	while (count > 0) {
count             318 drivers/acpi/acpi_dbg.c 		ret = acpi_aml_write_kern(msg + size, count);
count             333 drivers/acpi/acpi_dbg.c 		count -= ret;
count             347 drivers/acpi/acpi_dbg.c static ssize_t acpi_aml_read_cmd(char *msg, size_t count)
count             357 drivers/acpi/acpi_dbg.c 	while (count > 0) {
count             377 drivers/acpi/acpi_dbg.c 		count--;
count             607 drivers/acpi/acpi_dbg.c 			     size_t count, loff_t *ppos)
count             612 drivers/acpi/acpi_dbg.c 	if (!count)
count             614 drivers/acpi/acpi_dbg.c 	if (!access_ok(buf, count))
count             617 drivers/acpi/acpi_dbg.c 	while (count > 0) {
count             619 drivers/acpi/acpi_dbg.c 		ret = acpi_aml_read_user(buf + size, count);
count             641 drivers/acpi/acpi_dbg.c 			count -= ret;
count             677 drivers/acpi/acpi_dbg.c 			      size_t count, loff_t *ppos)
count             682 drivers/acpi/acpi_dbg.c 	if (!count)
count             684 drivers/acpi/acpi_dbg.c 	if (!access_ok(buf, count))
count             687 drivers/acpi/acpi_dbg.c 	while (count > 0) {
count             689 drivers/acpi/acpi_dbg.c 		ret = acpi_aml_write_user(buf + size, count);
count             711 drivers/acpi/acpi_dbg.c 			count -= ret;
count             104 drivers/acpi/acpi_lpat.c 	    (obj_p->package.count % 2) || (obj_p->package.count < 4))
count             107 drivers/acpi/acpi_lpat.c 	lpat = kcalloc(obj_p->package.count, sizeof(int), GFP_KERNEL);
count             111 drivers/acpi/acpi_lpat.c 	for (i = 0; i < obj_p->package.count; i++) {
count             127 drivers/acpi/acpi_lpat.c 	lpat_table->lpat_count = obj_p->package.count / 2;
count              29 drivers/acpi/acpi_lpit.c 		u64 count = 0;
count              32 drivers/acpi/acpi_lpit.c 		error = acpi_os_read_iomem(residency_info_mem.iomem_addr, &count,
count              37 drivers/acpi/acpi_lpit.c 		*counter = div64_u64(count * 1000000ULL, residency_info_mem.frequency);
count             577 drivers/acpi/acpi_lpss.c 	for (i = 0; i < dep_devices.count; i++) {
count             266 drivers/acpi/acpi_pad.c 	struct device_attribute *attr, const char *buf, size_t count)
count             276 drivers/acpi/acpi_pad.c 	return count;
count             289 drivers/acpi/acpi_pad.c 	struct device_attribute *attr, const char *buf, size_t count)
count             299 drivers/acpi/acpi_pad.c 	return count;
count             312 drivers/acpi/acpi_pad.c 	struct device_attribute *attr, const char *buf, size_t count)
count             320 drivers/acpi/acpi_pad.c 	return count;
count             381 drivers/acpi/acpi_pad.c 		package->package.count == 2 &&
count             107 drivers/acpi/acpi_platform.c 	int count;
count             117 drivers/acpi/acpi_platform.c 	count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL);
count             118 drivers/acpi/acpi_platform.c 	if (count < 0) {
count             120 drivers/acpi/acpi_platform.c 	} else if (count > 0) {
count             121 drivers/acpi/acpi_platform.c 		resources = kcalloc(count, sizeof(struct resource),
count             128 drivers/acpi/acpi_platform.c 		count = 0;
count             131 drivers/acpi/acpi_platform.c 						    &resources[count++]);
count             147 drivers/acpi/acpi_platform.c 	pdevinfo.num_res = count;
count              77 drivers/acpi/acpi_tad.c 		.count = ARRAY_SIZE(args),
count             157 drivers/acpi/acpi_tad.c 			  const char *buf, size_t count)
count             163 drivers/acpi/acpi_tad.c 	str = kmemdup_nul(buf, count, GFP_KERNEL);
count             222 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             260 drivers/acpi/acpi_tad.c 		.count = ARRAY_SIZE(args),
count             309 drivers/acpi/acpi_tad.c 		.count = ARRAY_SIZE(args),
count             365 drivers/acpi/acpi_tad.c 		.count = ARRAY_SIZE(args),
count             406 drivers/acpi/acpi_tad.c 		.count = ARRAY_SIZE(args),
count             436 drivers/acpi/acpi_tad.c 			      const char *buf, size_t count)
count             440 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             452 drivers/acpi/acpi_tad.c 			       const char *buf, size_t count)
count             456 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             468 drivers/acpi/acpi_tad.c 			       const char *buf, size_t count)
count             472 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             495 drivers/acpi/acpi_tad.c 			      const char *buf, size_t count)
count             499 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             511 drivers/acpi/acpi_tad.c 			       const char *buf, size_t count)
count             515 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             527 drivers/acpi/acpi_tad.c 			       const char *buf, size_t count)
count             531 drivers/acpi/acpi_tad.c 	return ret ? ret : count;
count             237 drivers/acpi/acpi_video.c 	for (i = ACPI_VIDEO_FIRST_LEVEL; i < vd->brightness->count; i++) {
count             266 drivers/acpi/acpi_video.c 	*state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1;
count             280 drivers/acpi/acpi_video.c 	for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count;
count             283 drivers/acpi/acpi_video.c 			*state = video->brightness->count - offset - 1;
count             297 drivers/acpi/acpi_video.c 	if (state >= video->brightness->count - ACPI_VIDEO_FIRST_LEVEL)
count             300 drivers/acpi/acpi_video.c 	state = video->brightness->count - state;
count             362 drivers/acpi/acpi_video.c 	for (state = ACPI_VIDEO_FIRST_LEVEL; state < device->brightness->count;
count             577 drivers/acpi/acpi_video.c 			bqc_value = device->brightness->count -
count             616 drivers/acpi/acpi_video.c 			     i < device->brightness->count; i++)
count             801 drivers/acpi/acpi_video.c 		if (level < br->count) {
count             803 drivers/acpi/acpi_video.c 				level = br->count - ACPI_VIDEO_FIRST_LEVEL - 1 - level;
count             820 drivers/acpi/acpi_video.c 	int i, max_level = 0, count = 0, level_ac_battery = 0;
count             834 drivers/acpi/acpi_video.c 	if (obj->package.count < ACPI_VIDEO_FIRST_LEVEL) {
count             851 drivers/acpi/acpi_video.c 	br->levels = kmalloc_array(obj->package.count + ACPI_VIDEO_FIRST_LEVEL,
count             859 drivers/acpi/acpi_video.c 	for (i = 0; i < obj->package.count; i++) {
count             867 drivers/acpi/acpi_video.c 		if (count > ACPI_VIDEO_FIRST_LEVEL
count             868 drivers/acpi/acpi_video.c 		    && br->levels[count - 1] == value)
count             871 drivers/acpi/acpi_video.c 		br->levels[count] = value;
count             873 drivers/acpi/acpi_video.c 		if (br->levels[count] > max_level)
count             874 drivers/acpi/acpi_video.c 			max_level = br->levels[count];
count             875 drivers/acpi/acpi_video.c 		count++;
count             884 drivers/acpi/acpi_video.c 	for (i = ACPI_VIDEO_FIRST_LEVEL; i < count; i++) {
count             894 drivers/acpi/acpi_video.c 		for (i = (count - 1 + level_ac_battery);
count             897 drivers/acpi/acpi_video.c 		count += level_ac_battery;
count             905 drivers/acpi/acpi_video.c 		     count - ACPI_VIDEO_FIRST_LEVEL,
count             908 drivers/acpi/acpi_video.c 	} else if (max_level != br->levels[count - 1])
count             912 drivers/acpi/acpi_video.c 	br->count = count;
count             977 drivers/acpi/acpi_video.c 	for (i = ACPI_VIDEO_FIRST_LEVEL; i < br->count; i++)
count             980 drivers/acpi/acpi_video.c 	if (i == br->count || !level)
count             990 drivers/acpi/acpi_video.c 	                  br->count - ACPI_VIDEO_FIRST_LEVEL));
count            1312 drivers/acpi/acpi_video.c 	int count;
count            1336 drivers/acpi/acpi_video.c 			  dod->package.count));
count            1338 drivers/acpi/acpi_video.c 	active_list = kcalloc(1 + dod->package.count,
count            1346 drivers/acpi/acpi_video.c 	count = 0;
count            1347 drivers/acpi/acpi_video.c 	for (i = 0; i < dod->package.count; i++) {
count            1356 drivers/acpi/acpi_video.c 		active_list[count].value.int_val = obj->integer.value;
count            1357 drivers/acpi/acpi_video.c 		active_list[count].bind_info = NULL;
count            1360 drivers/acpi/acpi_video.c 		count++;
count            1366 drivers/acpi/acpi_video.c 	video->attached_count = count;
count            1381 drivers/acpi/acpi_video.c 	for (i = ACPI_VIDEO_FIRST_LEVEL; i < device->brightness->count; i++) {
count            1391 drivers/acpi/acpi_video.c 	for (i = ACPI_VIDEO_FIRST_LEVEL; i < device->brightness->count; i++) {
count            1747 drivers/acpi/acpi_video.c 	static int count;
count            1757 drivers/acpi/acpi_video.c 	name = kasprintf(GFP_KERNEL, "acpi_video%d", count);
count            1760 drivers/acpi/acpi_video.c 	count++;
count            1773 drivers/acpi/acpi_video.c 		device->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1;
count              38 drivers/acpi/acpica/acdebug.h 	u32 count;
count             200 drivers/acpi/acpica/acdebug.h void acpi_db_delete_objects(u32 count, union acpi_object *objects);
count             203 drivers/acpi/acpica/aclocal.h 	u32 *count;
count             327 drivers/acpi/acpica/aclocal.h 	u8 count;
count             336 drivers/acpi/acpica/aclocal.h 	u8 count;
count             500 drivers/acpi/acpica/aclocal.h 	u16 count;
count             109 drivers/acpi/acpica/acobject.h 	u32 count;		/* # of elements in package */
count             248 drivers/acpi/acpica/acresrc.h u16 acpi_rs_encode_bitmask(u8 * list, u8 count);
count             199 drivers/acpi/acpica/acstruct.h 	u32 count;
count             157 drivers/acpi/acpica/acutils.h void acpi_ut_check_and_repair_ascii(u8 *name, char *repaired_name, u32 count);
count             330 drivers/acpi/acpica/acutils.h acpi_ut_debug_dump_buffer(u8 *buffer, u32 count, u32 display, u32 component_id);
count             332 drivers/acpi/acpica/acutils.h void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 offset);
count             338 drivers/acpi/acpica/acutils.h 			    u32 count, u32 display, u32 base_offset);
count             436 drivers/acpi/acpica/acutils.h union acpi_operand_object *acpi_ut_create_package_object(u32 count);
count             530 drivers/acpi/acpica/acutils.h acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result);
count             532 drivers/acpi/acpica/acutils.h acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result);
count             576 drivers/acpi/acpica/dbcmds.c 	u32 count = 0;
count             607 drivers/acpi/acpica/dbcmds.c 			     "Offset %8.8X Len1 %X, Len2 %X ****\n", count,
count             616 drivers/acpi/acpica/dbcmds.c 			     "Offset %8.8X ****\n", count, resource_type,
count             637 drivers/acpi/acpica/dbcmds.c 		count++;
count             194 drivers/acpi/acpica/dbconvert.c 	object->package.count = i;
count             630 drivers/acpi/acpica/dbdisply.c 		for (i = 0; i < info->compatible_id_list.count; i++) {
count             735 drivers/acpi/acpica/dbdisply.c 	u32 count;
count             877 drivers/acpi/acpica/dbdisply.c 						count = 0;
count             882 drivers/acpi/acpica/dbdisply.c 							count++;
count             888 drivers/acpi/acpica/dbdisply.c 						     count);
count              50 drivers/acpi/acpica/dbexec.c void acpi_db_delete_objects(u32 count, union acpi_object *objects)
count              54 drivers/acpi/acpica/dbexec.c 	for (i = 0; i < count; i++) {
count              65 drivers/acpi/acpica/dbexec.c 			acpi_db_delete_objects(objects[i].package.count,
count             108 drivers/acpi/acpica/dbexec.c 	param_objects.count = 0;
count             131 drivers/acpi/acpica/dbexec.c 		param_objects.count = i;
count             176 drivers/acpi/acpica/dbexec.c 	acpi_db_delete_objects(param_objects.count, params);
count             585 drivers/acpi/acpica/dbinput.c 	u32 count;
count             614 drivers/acpi/acpica/dbinput.c 	count = i;
count             615 drivers/acpi/acpica/dbinput.c 	if (count) {
count             616 drivers/acpi/acpica/dbinput.c 		count--;	/* Number of args only */
count             619 drivers/acpi/acpica/dbinput.c 	return (count);
count             396 drivers/acpi/acpica/dbmethod.c 	param_objects.count = 0;
count             408 drivers/acpi/acpica/dbmethod.c 		param_objects.count = obj_info->param_count;
count             432 drivers/acpi/acpica/dbmethod.c 	info->count++;
count             433 drivers/acpi/acpica/dbmethod.c 	if (info->count >= info->max_count) {
count             457 drivers/acpi/acpica/dbmethod.c 	info.count = 0;
count             467 drivers/acpi/acpica/dbmethod.c 		       info.count);
count             325 drivers/acpi/acpica/dbnames.c 		info.count = 0;
count             401 drivers/acpi/acpica/dbnames.c 	u32 *count = (u32 *)context;
count             444 drivers/acpi/acpica/dbnames.c 	(*count)++;
count             462 drivers/acpi/acpica/dbnames.c 	u32 count = 0;
count             469 drivers/acpi/acpica/dbnames.c 				  (void *)&count, NULL);
count             471 drivers/acpi/acpica/dbnames.c 	acpi_os_printf("Found %u predefined names in the namespace\n", count);
count             526 drivers/acpi/acpica/dbnames.c 	info->count++;
count             612 drivers/acpi/acpica/dbnames.c 	info.count = 0;
count             625 drivers/acpi/acpica/dbnames.c 	     info.count, acpi_ut_get_type_name(type));
count             887 drivers/acpi/acpica/dbnames.c 		for (i = 0; i < info->compatible_id_list.count; i++) {
count             147 drivers/acpi/acpica/dbstats.c 		for (i = 0; i < obj_desc->package.count; i++) {
count             718 drivers/acpi/acpica/dbtest.c 	acpi_os_printf(" %.2X Elements", temp1->package.count);
count             822 drivers/acpi/acpica/dbtest.c 	param_objects.count = 1;
count             907 drivers/acpi/acpica/dbtest.c 	param_objects.count = 2;
count             939 drivers/acpi/acpica/dbtest.c 	info.count = 0;
count             954 drivers/acpi/acpica/dbtest.c 		       info.count);
count            1016 drivers/acpi/acpica/dbtest.c 	param_objects.count = 0;
count            1059 drivers/acpi/acpica/dbtest.c 				this_param->package.count = 0;
count            1073 drivers/acpi/acpica/dbtest.c 		param_objects.count = arg_count;
count            1098 drivers/acpi/acpica/dbtest.c 	info->count++;
count            1099 drivers/acpi/acpica/dbtest.c 	if (info->count >= info->max_count) {
count             153 drivers/acpi/acpica/dbutils.c 			       obj_desc->package.count);
count             155 drivers/acpi/acpica/dbutils.c 		for (i = 0; i < obj_desc->package.count; i++) {
count             124 drivers/acpi/acpica/dspkginit.c 		obj_desc->package.count = element_count;
count             216 drivers/acpi/acpica/evgpeinit.c 	walk_info.count = 0;
count             249 drivers/acpi/acpica/evgpeinit.c 	if (walk_info.count) {
count             250 drivers/acpi/acpica/evgpeinit.c 		ACPI_INFO(("Enabled %u new GPEs", walk_info.count));
count             832 drivers/acpi/acpica/evregion.c 	args.count = 2;
count             343 drivers/acpi/acpica/evrgnini.c 	for (i = 0; i < cid->count; i++) {
count              46 drivers/acpi/acpica/exconvrt.c 	u32 count;
count              64 drivers/acpi/acpica/exconvrt.c 		count = obj_desc->buffer.length;
count             111 drivers/acpi/acpica/exconvrt.c 		if (!count) {
count             117 drivers/acpi/acpica/exconvrt.c 		if (count > acpi_gbl_integer_byte_width) {
count             118 drivers/acpi/acpica/exconvrt.c 			count = acpi_gbl_integer_byte_width;
count             125 drivers/acpi/acpica/exconvrt.c 		for (i = 0; i < count; i++) {
count             165 drivers/acpi/acpica/exdebug.c 			       source_desc->package.count);
count             169 drivers/acpi/acpica/exdebug.c 		for (i = 0; i < source_desc->package.count; i++) {
count              71 drivers/acpi/acpica/exdump.c 	{ACPI_EXD_UINT32, ACPI_EXD_OFFSET(package.count), "Element Count"},
count             335 drivers/acpi/acpica/exdump.c 	u8 count;
count             350 drivers/acpi/acpica/exdump.c 	count = info->offset;
count             352 drivers/acpi/acpica/exdump.c 	while (count) {
count             564 drivers/acpi/acpica/exdump.c 		count--;
count             718 drivers/acpi/acpica/exdump.c 			       obj_desc->package.count,
count             725 drivers/acpi/acpica/exdump.c 		if (obj_desc->package.count &&
count             727 drivers/acpi/acpica/exdump.c 			for (index = 0; index < obj_desc->package.count;
count            1088 drivers/acpi/acpica/exdump.c 			       obj_desc->package.count);
count            1090 drivers/acpi/acpica/exdump.c 		for (i = 0; i < obj_desc->package.count; i++) {
count             729 drivers/acpi/acpica/exoparg1.c 			value = temp_desc->package.count;
count             371 drivers/acpi/acpica/exoparg2.c 			if (index >= operand[0]->package.count) {
count             372 drivers/acpi/acpica/exoparg2.c 				length = operand[0]->package.count;
count             206 drivers/acpi/acpica/exoparg6.c 		if (index >= operand[0]->package.count) {
count             210 drivers/acpi/acpica/exoparg6.c 				    operand[0]->package.count));
count             236 drivers/acpi/acpica/exoparg6.c 		for (; index < operand[0]->package.count; index++) {
count             340 drivers/acpi/acpica/exutils.c 	u32 count;
count             349 drivers/acpi/acpica/exutils.c 	for (count = digits_needed; count > 0; count--) {
count             351 drivers/acpi/acpica/exutils.c 		out_string[count - 1] = (char)('0' + remainder);
count              40 drivers/acpi/acpica/hwesleep.c 	arg_list.count = 1;
count             398 drivers/acpi/acpica/hwxface.c 	switch (info->return_object->package.count) {
count             219 drivers/acpi/acpica/hwxfsleep.c 	arg_list.count = 1;
count             189 drivers/acpi/acpica/nsconvert.c 	u32 count;
count             233 drivers/acpi/acpica/nsconvert.c 		count = original_object->package.count;
count             235 drivers/acpi/acpica/nsconvert.c 		for (i = 0; i < count; i++) {
count             245 drivers/acpi/acpica/nsconvert.c 		new_object = acpi_ut_create_buffer_object(ACPI_MUL_4(count));
count             255 drivers/acpi/acpica/nsconvert.c 		for (i = 0; i < count; i++) {
count             173 drivers/acpi/acpica/nsdump.c 	info->count++;
count             275 drivers/acpi/acpica/nsdump.c 					       obj_desc->package.count);
count             643 drivers/acpi/acpica/nsdump.c 	info.count = 0;
count             654 drivers/acpi/acpica/nsdump.c 	acpi_os_printf("\nNamespace node count: %u\n\n", info.count);
count              22 drivers/acpi/acpica/nsprepkg.c 			   union acpi_operand_object **elements, u32 count);
count              33 drivers/acpi/acpica/nsprepkg.c 		       union acpi_operand_object **elements, u32 count);
count              59 drivers/acpi/acpica/nsprepkg.c 	u32 count;
count              71 drivers/acpi/acpica/nsprepkg.c 			  return_object->package.count));
count              83 drivers/acpi/acpica/nsprepkg.c 	count = return_object->package.count;
count              89 drivers/acpi/acpica/nsprepkg.c 	if (!count) {
count             110 drivers/acpi/acpica/nsprepkg.c 		status = acpi_ns_custom_package(info, elements, count);
count             122 drivers/acpi/acpica/nsprepkg.c 		if (count < expected_count) {
count             124 drivers/acpi/acpica/nsprepkg.c 		} else if (count > expected_count) {
count             128 drivers/acpi/acpica/nsprepkg.c 					  info->full_pathname, count,
count             150 drivers/acpi/acpica/nsprepkg.c 		for (i = 0; i < count; i++) {
count             170 drivers/acpi/acpica/nsprepkg.c 		expected_count = package->ret_info3.count;
count             171 drivers/acpi/acpica/nsprepkg.c 		if (count < expected_count) {
count             177 drivers/acpi/acpica/nsprepkg.c 		for (i = 0; i < count; i++) {
count             178 drivers/acpi/acpica/nsprepkg.c 			if (i < package->ret_info3.count) {
count             221 drivers/acpi/acpica/nsprepkg.c 		count--;
count             226 drivers/acpi/acpica/nsprepkg.c 		    acpi_ns_check_package_list(info, package, elements, count);
count             245 drivers/acpi/acpica/nsprepkg.c 		if (expected_count >= count) {
count             249 drivers/acpi/acpica/nsprepkg.c 		count = expected_count;
count             255 drivers/acpi/acpica/nsprepkg.c 		    acpi_ns_check_package_list(info, package, elements, count);
count             289 drivers/acpi/acpica/nsprepkg.c 			count = 1;
count             295 drivers/acpi/acpica/nsprepkg.c 		    acpi_ns_check_package_list(info, package, elements, count);
count             309 drivers/acpi/acpica/nsprepkg.c 		if (count & 1) {
count             310 drivers/acpi/acpica/nsprepkg.c 			expected_count = count + 1;
count             314 drivers/acpi/acpica/nsprepkg.c 		while (count > 0) {
count             340 drivers/acpi/acpica/nsprepkg.c 			count -= 2;
count             364 drivers/acpi/acpica/nsprepkg.c 			      count, expected_count));
count             388 drivers/acpi/acpica/nsprepkg.c 			   union acpi_operand_object **elements, u32 count)
count             404 drivers/acpi/acpica/nsprepkg.c 	for (i = 0; i < count; i++) {
count             429 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count < expected_count) {
count             455 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count < expected_count) {
count             468 drivers/acpi/acpica/nsprepkg.c 							   count -
count             486 drivers/acpi/acpica/nsprepkg.c 			expected_count = package->ret_info2.count;
count             487 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count < expected_count) {
count             512 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count < expected_count) {
count             523 drivers/acpi/acpica/nsprepkg.c 							   count, 0, 0, 0);
count             546 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count < expected_count) {
count             550 drivers/acpi/acpica/nsprepkg.c 			if (sub_package->package.count <
count             563 drivers/acpi/acpica/nsprepkg.c 				expected_count = sub_package->package.count;
count             599 drivers/acpi/acpica/nsprepkg.c 			      i, sub_package->package.count, expected_count));
count             624 drivers/acpi/acpica/nsprepkg.c 		       union acpi_operand_object **elements, u32 count)
count             648 drivers/acpi/acpica/nsprepkg.c 	if (count < expected_count) {
count             652 drivers/acpi/acpica/nsprepkg.c 				      count, expected_count));
count             654 drivers/acpi/acpica/nsprepkg.c 	} else if (count > expected_count) {
count             658 drivers/acpi/acpica/nsprepkg.c 				  info->full_pathname, count, expected_count));
count             444 drivers/acpi/acpica/nsrepair.c 	u32 count;
count             473 drivers/acpi/acpica/nsrepair.c 	count = obj_desc->package.count;
count             474 drivers/acpi/acpica/nsrepair.c 	new_count = count;
count             481 drivers/acpi/acpica/nsrepair.c 	for (i = 0; i < count; i++) {
count             494 drivers/acpi/acpica/nsrepair.c 	if (new_count < count) {
count             497 drivers/acpi/acpica/nsrepair.c 				  info->full_pathname, (count - new_count)));
count             502 drivers/acpi/acpica/nsrepair.c 		obj_desc->package.count = new_count;
count              89 drivers/acpi/acpica/nsrepair2.c 		  u32 count, u32 index, u8 sort_direction);
count             363 drivers/acpi/acpica/nsrepair2.c 	for (i = 0; i < return_object->package.count; i++) {
count             421 drivers/acpi/acpica/nsrepair2.c 	outer_element_count = return_object->package.count - 1;
count             427 drivers/acpi/acpica/nsrepair2.c 		if ((*outer_elements)->package.count == 0) {
count             587 drivers/acpi/acpica/nsrepair2.c 	element_count = package_object->package.count;
count             597 drivers/acpi/acpica/nsrepair2.c 		if (sub_package->package.count < 4) {
count             673 drivers/acpi/acpica/nsrepair2.c 	outer_element_count = return_object->package.count;
count             786 drivers/acpi/acpica/nsrepair2.c 	outer_element_count = return_object->package.count;
count             811 drivers/acpi/acpica/nsrepair2.c 		if ((*outer_elements)->package.count < expected_count) {
count             870 drivers/acpi/acpica/nsrepair2.c 		  u32 count, u32 index, u8 sort_direction)
count             880 drivers/acpi/acpica/nsrepair2.c 	for (i = 1; i < count; i++) {
count             881 drivers/acpi/acpica/nsrepair2.c 		for (j = (count - 1); j >= i; j--) {
count             917 drivers/acpi/acpica/nsrepair2.c 	u32 count;
count             923 drivers/acpi/acpica/nsrepair2.c 	count = obj_desc->package.count;
count             924 drivers/acpi/acpica/nsrepair2.c 	new_count = count - 1;
count             931 drivers/acpi/acpica/nsrepair2.c 	for (i = 0; i < count; i++) {
count             946 drivers/acpi/acpica/nsrepair2.c 	obj_desc->package.count = new_count;
count             228 drivers/acpi/acpica/nsxfeval.c 	if (external_params && external_params->count) {
count             229 drivers/acpi/acpica/nsxfeval.c 		info->param_count = (u16)external_params->count;
count             704 drivers/acpi/acpica/nsxfeval.c 			for (i = 0; i < cid->count; i++) {
count             385 drivers/acpi/acpica/nsxfname.c 		    ((acpi_size)cid_list->count *
count             410 drivers/acpi/acpica/nsxfname.c 		info->compatible_id_list.count = cid_list->count;
count             415 drivers/acpi/acpica/nsxfname.c 		for (i = 0; i < cid_list->count; i++) {
count             729 drivers/acpi/acpica/rscalc.c 	number_of_elements = package_object->package.count;
count             767 drivers/acpi/acpica/rscalc.c 		     table_index < package_element->package.count
count             223 drivers/acpi/acpica/rscreate.c 	number_of_elements = package_object->package.count;
count             247 drivers/acpi/acpica/rscreate.c 		if ((*top_object_list)->package.count != 4) {
count             250 drivers/acpi/acpica/rscreate.c 				    index, (*top_object_list)->package.count));
count              65 drivers/acpi/acpica/rsdump.c 	u32 count = 0;
count              79 drivers/acpi/acpica/rsdump.c 		acpi_os_printf("\n[%02X] ", count);
count              80 drivers/acpi/acpica/rsdump.c 		count++;
count             137 drivers/acpi/acpica/rsdump.c 	u8 count;
count             151 drivers/acpi/acpica/rsdump.c 	for (count = 0; prt_element->length; count++) {
count             153 drivers/acpi/acpica/rsdump.c 			       count);
count             180 drivers/acpi/acpica/rsdump.c 	u8 count;
count             184 drivers/acpi/acpica/rsdump.c 	count = table->offset;
count             186 drivers/acpi/acpica/rsdump.c 	while (count) {
count             370 drivers/acpi/acpica/rsdump.c 		count--;
count              43 drivers/acpi/acpica/rsmisc.c 	u8 count;
count              71 drivers/acpi/acpica/rsmisc.c 	count = INIT_TABLE_LENGTH(info);
count              72 drivers/acpi/acpica/rsmisc.c 	while (count) {
count             403 drivers/acpi/acpica/rsmisc.c 		count--;
count             442 drivers/acpi/acpica/rsmisc.c 	u8 count;
count             456 drivers/acpi/acpica/rsmisc.c 	count = INIT_TABLE_LENGTH(info);
count             458 drivers/acpi/acpica/rsmisc.c 	while (count) {
count             742 drivers/acpi/acpica/rsmisc.c 		count--;
count              62 drivers/acpi/acpica/rsutils.c u16 acpi_rs_encode_bitmask(u8 * list, u8 count)
count              71 drivers/acpi/acpica/rsutils.c 	for (i = 0, mask = 0; i < count; i++) {
count              92 drivers/acpi/acpica/utascii.c void acpi_ut_check_and_repair_ascii(u8 *name, char *repaired_name, u32 count)
count              96 drivers/acpi/acpica/utascii.c 	for (i = 0; i < count; i++) {
count              34 drivers/acpi/acpica/utbuffer.c void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset)
count              46 drivers/acpi/acpica/utbuffer.c 	if ((count < 4) || (count & 0x01)) {
count              52 drivers/acpi/acpica/utbuffer.c 	while (i < count) {
count              61 drivers/acpi/acpica/utbuffer.c 			if (i + j >= count) {
count             114 drivers/acpi/acpica/utbuffer.c 			if (i + j >= count) {
count             164 drivers/acpi/acpica/utbuffer.c acpi_ut_debug_dump_buffer(u8 *buffer, u32 count, u32 display, u32 component_id)
count             174 drivers/acpi/acpica/utbuffer.c 	acpi_ut_dump_buffer(buffer, count, display, 0);
count             200 drivers/acpi/acpica/utbuffer.c 			    u8 *buffer, u32 count, u32 display, u32 base_offset)
count             212 drivers/acpi/acpica/utbuffer.c 	if ((count < 4) || (count & 0x01)) {
count             218 drivers/acpi/acpica/utbuffer.c 	while (i < count) {
count             227 drivers/acpi/acpica/utbuffer.c 			if (i + j >= count) {
count             280 drivers/acpi/acpica/utbuffer.c 			if (i + j >= count) {
count             249 drivers/acpi/acpica/utcopy.c 		target_object->package.count = source_object->package.count;
count             264 drivers/acpi/acpica/utcopy.c 							    package.count *
count             323 drivers/acpi/acpica/utcopy.c 	external_object->package.count = internal_object->package.count;
count             331 drivers/acpi/acpica/utcopy.c 	info.length += (acpi_size)external_object->package.count *
count             333 drivers/acpi/acpica/utcopy.c 	info.free_space += external_object->package.count *
count             554 drivers/acpi/acpica/utcopy.c 	    acpi_ut_create_package_object(external_object->package.count);
count             565 drivers/acpi/acpica/utcopy.c 	for (i = 0; i < external_object->package.count; i++) {
count             574 drivers/acpi/acpica/utcopy.c 			package_object->package.count = i;
count             844 drivers/acpi/acpica/utcopy.c 		    acpi_ut_create_package_object(source_object->package.count);
count             898 drivers/acpi/acpica/utcopy.c 	dest_obj->package.count = source_obj->package.count;
count             905 drivers/acpi/acpica/utcopy.c 							   count +
count              92 drivers/acpi/acpica/utdelete.c 				  object->package.count));
count             525 drivers/acpi/acpica/utdelete.c 			for (i = 0; i < object->package.count; i++) {
count             207 drivers/acpi/acpica/utids.c 	u32 count;
count             228 drivers/acpi/acpica/utids.c 		count = obj_desc->package.count;
count             232 drivers/acpi/acpica/utids.c 		count = 1;
count             237 drivers/acpi/acpica/utids.c 	for (i = 0; i < count; i++) {
count             266 drivers/acpi/acpica/utids.c 	    ((count - 1) * sizeof(struct acpi_pnp_device_id)) +
count             278 drivers/acpi/acpica/utids.c 	    ((acpi_size)count * sizeof(struct acpi_pnp_device_id));
count             282 drivers/acpi/acpica/utids.c 	for (i = 0; i < count; i++) {
count             306 drivers/acpi/acpica/utids.c 	cid_list->count = count;
count             343 drivers/acpi/acpica/utids.c 	u32 count;
count             361 drivers/acpi/acpica/utids.c 	count = obj_desc->package.count;
count             364 drivers/acpi/acpica/utids.c 		if (count > 0
count             368 drivers/acpi/acpica/utids.c 		if (count > 1
count             372 drivers/acpi/acpica/utids.c 		if (count > 2
count              91 drivers/acpi/acpica/utmath.c acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result)
count              99 drivers/acpi/acpica/utmath.c 	if ((count & 63) >= 32) {
count             102 drivers/acpi/acpica/utmath.c 		count = (count & 63) - 32;
count             105 drivers/acpi/acpica/utmath.c 				 operand_ovl.part.lo, count);
count             128 drivers/acpi/acpica/utmath.c acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result)
count             136 drivers/acpi/acpica/utmath.c 	if ((count & 63) >= 32) {
count             139 drivers/acpi/acpica/utmath.c 		count = (count & 63) - 32;
count             142 drivers/acpi/acpica/utmath.c 				  operand_ovl.part.lo, count);
count             189 drivers/acpi/acpica/utmath.c acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result)
count             197 drivers/acpi/acpica/utmath.c 		*out_result = operand << count;
count             213 drivers/acpi/acpica/utmath.c acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result)
count             221 drivers/acpi/acpica/utmath.c 		*out_result = operand >> count;
count             245 drivers/acpi/acpica/utmisc.c 			       state->pkg.source_object->package.count) {
count             130 drivers/acpi/acpica/utobject.c union acpi_operand_object *acpi_ut_create_package_object(u32 count)
count             135 drivers/acpi/acpica/utobject.c 	ACPI_FUNCTION_TRACE_U32(ut_create_package_object, count);
count             148 drivers/acpi/acpica/utobject.c 	package_elements = ACPI_ALLOCATE_ZEROED(((acpi_size)count +
count             155 drivers/acpi/acpica/utobject.c 	package_desc->package.count = count;
count              25 drivers/acpi/acpica/utprint.c acpi_ut_bound_string_length(const char *string, acpi_size count);
count              50 drivers/acpi/acpica/utprint.c acpi_ut_bound_string_length(const char *string, acpi_size count)
count              54 drivers/acpi/acpica/utprint.c 	while (*string && count) {
count              57 drivers/acpi/acpica/utprint.c 		count--;
count             410 drivers/acpi/apei/erst.c 	ssize_t count;
count             417 drivers/acpi/apei/erst.c 	count = __erst_get_record_count();
count             420 drivers/acpi/apei/erst.c 	return count;
count             602 drivers/acpi/apei/ghes.c 		atomic_inc(&cache->count);
count             636 drivers/acpi/apei/ghes.c 	atomic_set(&cache->count, 0);
count             664 drivers/acpi/apei/ghes.c 	int i, slot = -1, count;
count             686 drivers/acpi/apei/ghes.c 		count = atomic_read(&cache->count);
count             688 drivers/acpi/apei/ghes.c 		do_div(period, (count + 1));
count             137 drivers/acpi/apei/hest.c 	unsigned int count;
count             142 drivers/acpi/apei/hest.c 	int *count = data;
count             146 drivers/acpi/apei/hest.c 		(*count)++;
count             162 drivers/acpi/apei/hest.c 	for (i = 0; i < ghes_arr->count; i++) {
count             183 drivers/acpi/apei/hest.c 	ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev;
count             196 drivers/acpi/apei/hest.c 	ghes_arr.count = 0;
count             214 drivers/acpi/apei/hest.c 	for (i = 0; i < ghes_arr.count; i++)
count            1463 drivers/acpi/arm64/iort.c 	int ret, count;
count            1475 drivers/acpi/arm64/iort.c 	count = ops->dev_count_resources(node);
count            1477 drivers/acpi/arm64/iort.c 	r = kcalloc(count, sizeof(*r), GFP_KERNEL);
count            1485 drivers/acpi/arm64/iort.c 	ret = platform_device_add_resources(pdev, r, count);
count             454 drivers/acpi/battery.c 		if (package->package.count <= i)
count             666 drivers/acpi/battery.c 					const char *buf, size_t count)
count             674 drivers/acpi/battery.c 	return count;
count            1171 drivers/acpi/battery.c 					size_t count, loff_t * ppos)
count            1178 drivers/acpi/battery.c 	if (!battery || (count > sizeof(alarm_string) - 1))
count            1184 drivers/acpi/battery.c 	if (copy_from_user(alarm_string, buffer, count)) {
count            1188 drivers/acpi/battery.c 	alarm_string[count] = '\0';
count            1197 drivers/acpi/battery.c 	return count;
count              54 drivers/acpi/bgrt.c 	       struct bin_attribute *attr, char *buf, loff_t off, size_t count)
count              56 drivers/acpi/bgrt.c 	memcpy(buf, attr->private + off, count);
count              57 drivers/acpi/bgrt.c 	return count;
count             207 drivers/acpi/bus.c 	input.count = 4;
count             640 drivers/acpi/bus.c 		nval = of_compatible->package.count;
count             126 drivers/acpi/cppc_acpi.c 			struct attribute *attr, const char *c, ssize_t count);
count             376 drivers/acpi/cppc_acpi.c 	if (!psd || psd->package.count != 1) {
count              25 drivers/acpi/custom_method.c 			size_t count, loff_t *ppos)
count              41 drivers/acpi/custom_method.c 		if (count <= sizeof(struct acpi_table_header))
count              56 drivers/acpi/custom_method.c 	    (*ppos + count > max_size) ||
count              57 drivers/acpi/custom_method.c 	    (*ppos + count < count) ||
count              58 drivers/acpi/custom_method.c 	    (count > uncopied_bytes)) {
count              63 drivers/acpi/custom_method.c 	if (copy_from_user(buf + (*ppos), user_buf, count)) {
count              69 drivers/acpi/custom_method.c 	uncopied_bytes -= count;
count              70 drivers/acpi/custom_method.c 	*ppos += count;
count              82 drivers/acpi/custom_method.c 	return count;
count              38 drivers/acpi/device_sysfs.c 	ssize_t (*store)(struct acpi_data_node *, const char *, size_t count);
count             138 drivers/acpi/device_sysfs.c 	int count;
count             150 drivers/acpi/device_sysfs.c 	count = 0;
count             153 drivers/acpi/device_sysfs.c 			count++;
count             155 drivers/acpi/device_sysfs.c 	if (!count)
count             168 drivers/acpi/device_sysfs.c 		count = snprintf(&modalias[len], size, "%s:", id->id);
count             169 drivers/acpi/device_sysfs.c 		if (count < 0)
count             172 drivers/acpi/device_sysfs.c 		if (count >= size)
count             175 drivers/acpi/device_sysfs.c 		len += count;
count             176 drivers/acpi/device_sysfs.c 		size -= count;
count             198 drivers/acpi/device_sysfs.c 	int len, count;
count             218 drivers/acpi/device_sysfs.c 		nval = of_compatible->package.count;
count             225 drivers/acpi/device_sysfs.c 		count = snprintf(&modalias[len], size, "C%s",
count             227 drivers/acpi/device_sysfs.c 		if (count < 0)
count             230 drivers/acpi/device_sysfs.c 		if (count >= size)
count             233 drivers/acpi/device_sysfs.c 		len += count;
count             234 drivers/acpi/device_sysfs.c 		size -= count;
count             292 drivers/acpi/device_sysfs.c 	int len, count;
count             310 drivers/acpi/device_sysfs.c 	count = create_of_modalias(adev, buf + len, size - 1);
count             311 drivers/acpi/device_sysfs.c 	if (count < 0) {
count             312 drivers/acpi/device_sysfs.c 		return count;
count             313 drivers/acpi/device_sysfs.c 	} else if (count > 0) {
count             314 drivers/acpi/device_sysfs.c 		len += count;
count             370 drivers/acpi/device_sysfs.c 		const char *buf, size_t count)
count             376 drivers/acpi/device_sysfs.c 	if (!count || buf[0] != '1')
count             390 drivers/acpi/device_sysfs.c 		return count;
count             324 drivers/acpi/dock.c 	arg_list.count = 1;
count             515 drivers/acpi/dock.c 			   const char *buf, size_t count)
count             520 drivers/acpi/dock.c 	if (!count)
count             527 drivers/acpi/dock.c 	return ret ? ret: count;
count              31 drivers/acpi/ec_sys.c 			       size_t count, loff_t *off)
count              42 drivers/acpi/ec_sys.c 	if (*off + count >= size) {
count              44 drivers/acpi/ec_sys.c 		count = size;
count              46 drivers/acpi/ec_sys.c 		size = count;
count              61 drivers/acpi/ec_sys.c 	return count;
count              65 drivers/acpi/ec_sys.c 				size_t count, loff_t *off)
count              71 drivers/acpi/ec_sys.c 	unsigned int size = count;
count              80 drivers/acpi/ec_sys.c 	if (*off + count >= EC_SPACE_SIZE) {
count              82 drivers/acpi/ec_sys.c 		count = size;
count              99 drivers/acpi/ec_sys.c 	return count;
count             110 drivers/acpi/fan.c 	    obj->package.count != 3 ||
count             281 drivers/acpi/fan.c 	if (!obj || obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) {
count             287 drivers/acpi/fan.c 	fan->fps_count = obj->package.count - 1; /* minus revision field */
count             233 drivers/acpi/nfit/core.c 	for (i = 0; i < pkg->package.count; i++) {
count             255 drivers/acpi/nfit/core.c 	for (i = 0; i < pkg->package.count; i++) {
count             301 drivers/acpi/nfit/core.c 		.count = 3,
count             331 drivers/acpi/nfit/core.c 		.count = 2,
count             502 drivers/acpi/nfit/core.c 	in_obj.package.count = 1;
count            1780 drivers/acpi/nfit/core.c 		.package.count = 1,
count            2933 drivers/acpi/nfit/core.c 	int count = 0, rc;
count            2978 drivers/acpi/nfit/core.c 		if (count >= ND_MAX_MAPPINGS) {
count            2983 drivers/acpi/nfit/core.c 		mapping = &mappings[count++];
count            2991 drivers/acpi/nfit/core.c 	ndr_desc->num_mappings = count;
count            1376 drivers/acpi/osl.c 	int count = ACPI_MAX_OVERRIDE_LEN - 1;
count            1381 drivers/acpi/osl.c 	for (; count-- && *str; str++) {
count              35 drivers/acpi/pmic/intel_pmic.c 			    int count, int *reg, int *bit)
count              39 drivers/acpi/pmic/intel_pmic.c 	for (i = 0; i < count; i++) {
count             327 drivers/acpi/pmic/intel_pmic_bxtwc.c 	u16 resi_val, count = 0, thrsh = 0;
count             333 drivers/acpi/pmic/intel_pmic_bxtwc.c 	count = fls(bsr_num) - 1;
count             335 drivers/acpi/pmic/intel_pmic_bxtwc.c 	cursel = clamp_t(s8, (count - 7), 0, 7);
count             150 drivers/acpi/power.c 	for (i = start; i < package->package.count; i++) {
count              97 drivers/acpi/proc.c 				size_t count, loff_t * ppos)
count             103 drivers/acpi/proc.c 	if (count > 4)
count             104 drivers/acpi/proc.c 		count = 4;
count             106 drivers/acpi/proc.c 	if (copy_from_user(strbuf, buffer, count))
count             108 drivers/acpi/proc.c 	strbuf[count] = '\0';
count             129 drivers/acpi/proc.c 	return count;
count             303 drivers/acpi/processor_idle.c 	u64 count;
count             323 drivers/acpi/processor_idle.c 	if (!cst || (cst->type != ACPI_TYPE_PACKAGE) || cst->package.count < 2) {
count             329 drivers/acpi/processor_idle.c 	count = cst->package.elements[0].integer.value;
count             332 drivers/acpi/processor_idle.c 	if (count < 1 || count != cst->package.count - 1) {
count             341 drivers/acpi/processor_idle.c 	for (i = 1; i <= count; i++) {
count             353 drivers/acpi/processor_idle.c 		if (element->package.count != 4)
count             602 drivers/acpi/processor_idle.c 	pr->power.count = acpi_processor_power_verify(pr);
count             610 drivers/acpi/processor_idle.c 			pr->power.count = i;
count             818 drivers/acpi/processor_idle.c 	int i, count = ACPI_IDLE_STATE_START;
count             830 drivers/acpi/processor_idle.c 		per_cpu(acpi_cstate[count], dev->cpu) = cx;
count             832 drivers/acpi/processor_idle.c 		count++;
count             833 drivers/acpi/processor_idle.c 		if (count == CPUIDLE_STATE_MAX)
count             837 drivers/acpi/processor_idle.c 	if (!count)
count             845 drivers/acpi/processor_idle.c 	int i, count;
count             855 drivers/acpi/processor_idle.c 		count = 1;
count             857 drivers/acpi/processor_idle.c 		count = 0;
count             866 drivers/acpi/processor_idle.c 		state = &drv->states[count];
count             876 drivers/acpi/processor_idle.c 			drv->safe_state_index = count;
count             888 drivers/acpi/processor_idle.c 		count++;
count             889 drivers/acpi/processor_idle.c 		if (count == CPUIDLE_STATE_MAX)
count             893 drivers/acpi/processor_idle.c 	drv->state_count = count;
count             895 drivers/acpi/processor_idle.c 	if (!count)
count             981 drivers/acpi/processor_idle.c 	    lpi_data->package.count < 4) {
count             990 drivers/acpi/processor_idle.c 	if (pkg_count < 1 || pkg_count != lpi_data->package.count - 3) {
count            1010 drivers/acpi/processor_idle.c 		if (element->type != ACPI_TYPE_PACKAGE || element->package.count < 7)
count            1211 drivers/acpi/processor_idle.c 	pr->power.count = flat_state_cnt;
count            1213 drivers/acpi/processor_idle.c 	for (i = 0; i < pr->power.count; i++)
count            1269 drivers/acpi/processor_idle.c 	for (i = 0; i < pr->power.count && i < CPUIDLE_STATE_MAX; i++) {
count             100 drivers/acpi/processor_pdc.c 	obj_list->count = 1;
count             209 drivers/acpi/processor_perflib.c 	    || (pct->package.count != 2)) {
count             315 drivers/acpi/processor_perflib.c 			  pss->package.count));
count             317 drivers/acpi/processor_perflib.c 	pr->performance->state_count = pss->package.count;
count             319 drivers/acpi/processor_perflib.c 	    kmalloc_array(pss->package.count,
count             531 drivers/acpi/processor_perflib.c 	if (psd->package.count != 1) {
count              57 drivers/acpi/processor_throttling.c 	int count, count_target;
count             114 drivers/acpi/processor_throttling.c 		count = 1;
count             147 drivers/acpi/processor_throttling.c 			count++;
count             429 drivers/acpi/processor_throttling.c 	    || (ptc->package.count != 2)) {
count             520 drivers/acpi/processor_throttling.c 			  tss->package.count));
count             522 drivers/acpi/processor_throttling.c 	pr->throttling.state_count = tss->package.count;
count             524 drivers/acpi/processor_throttling.c 	    kmalloc_array(tss->package.count,
count             599 drivers/acpi/processor_throttling.c 	if (tsd->package.count != 1) {
count             163 drivers/acpi/property.c 	for (i = 0; i < links->package.count; i++) {
count             170 drivers/acpi/property.c 		if (link->package.count != 2)
count             211 drivers/acpi/property.c 	for (i = 0; i < desc->package.count; i += 2) {
count             251 drivers/acpi/property.c 		for (j = 0; j < value->package.count; j++)
count             271 drivers/acpi/property.c 	for (i = 0; i < properties->package.count; i++) {
count             279 drivers/acpi/property.c 		if (property->package.count != 2
count             345 drivers/acpi/property.c 	if (desc->package.count % 2)
count             349 drivers/acpi/property.c 	for (i = 0; i < desc->package.count; i += 2) {
count             498 drivers/acpi/property.c 		for (i = 0; i < properties->package.count; i++) {
count             595 drivers/acpi/property.c 		for (i = 0; i < prop->package.count; i++)
count             717 drivers/acpi/property.c 	if (index >= obj->package.count)
count             721 drivers/acpi/property.c 	end = element + obj->package.count;
count             949 drivers/acpi/property.c 		return obj->package.count;
count             951 drivers/acpi/property.c 	if (proptype != DEV_PROP_STRING && nval > obj->package.count)
count             974 drivers/acpi/property.c 			min_t(u32, nval, obj->package.count));
count             509 drivers/acpi/resource.c 	int count;
count             526 drivers/acpi/resource.c 	c->count++;
count             586 drivers/acpi/resource.c 	c.count = 0;
count             595 drivers/acpi/resource.c 	return c.count;
count             456 drivers/acpi/sbs.c 					const char *buf, size_t count)
count             465 drivers/acpi/sbs.c 	return count;
count             788 drivers/acpi/scan.c 	if (!package || package->package.count < 2)
count             796 drivers/acpi/scan.c 		if ((element->package.count < 2) ||
count             922 drivers/acpi/scan.c 		    && package->package.count)
count            1268 drivers/acpi/scan.c 			for (i = 0; i < cid_list->count; i++)
count            1826 drivers/acpi/scan.c 	for (i = 0; i < dep_devices.count; i++) {
count            2271 drivers/acpi/scan.c 	int count = 0;
count            2281 drivers/acpi/scan.c 			count += acpi_probe_count;
count            2286 drivers/acpi/scan.c 				count++;
count            2291 drivers/acpi/scan.c 	return count;
count             751 drivers/acpi/sleep.c 	lpi_constraints_table = kcalloc(out_obj->package.count,
count             759 drivers/acpi/sleep.c 	for (i = 0; i < out_obj->package.count; i++) {
count             769 drivers/acpi/sleep.c 		for (j = 0; j < package->package.count; ++j) {
count             781 drivers/acpi/sleep.c 				package_count = element->package.count;
count             812 drivers/acpi/sleep.c 				if (info_obj->package.count < 2)
count             343 drivers/acpi/sysfs.c 			       loff_t offset, size_t count)
count             356 drivers/acpi/sysfs.c 	rc = memory_read_from_buffer(buf, count, &offset, table_header,
count             438 drivers/acpi/sysfs.c 			      loff_t offset, size_t count)
count             449 drivers/acpi/sysfs.c 	rc = memory_read_from_buffer(buf, count, &offset, base,
count             571 drivers/acpi/sysfs.c 	u32 count;
count             615 drivers/acpi/sysfs.c 		all_counters[gpe_number].count++;
count             618 drivers/acpi/sysfs.c 			     COUNT_ERROR].count++;
count             629 drivers/acpi/sysfs.c 		all_counters[num_gpes + event_number].count++;
count             632 drivers/acpi/sysfs.c 			     COUNT_ERROR].count++;
count             685 drivers/acpi/sysfs.c 	all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI].count =
count             687 drivers/acpi/sysfs.c 	all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT].count =
count             689 drivers/acpi/sysfs.c 	all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE].count =
count             691 drivers/acpi/sysfs.c 	size = sprintf(buf, "%8u", all_counters[index].count);
count             746 drivers/acpi/sysfs.c 			all_counters[i].count = 0;
count             779 drivers/acpi/sysfs.c 			all_counters[index].count = tmp;
count             794 drivers/acpi/sysfs.c 			all_counters[index].count = tmp;
count             798 drivers/acpi/sysfs.c 		all_counters[index].count = strtoul(buf, NULL, 0);
count             291 drivers/acpi/tables.c 	int count = 0;
count             319 drivers/acpi/tables.c 		if (max_entries && count >= max_entries)
count             331 drivers/acpi/tables.c 			proc[i].count++;
count             335 drivers/acpi/tables.c 			count++;
count             351 drivers/acpi/tables.c 	if (max_entries && count > max_entries) {
count             353 drivers/acpi/tables.c 			id, proc->id, count);
count             356 drivers/acpi/tables.c 	return errs ? -EINVAL : count;
count             365 drivers/acpi/tables.c 	int count;
count             383 drivers/acpi/tables.c 	count = acpi_parse_entries_array(id, table_size, table_header,
count             387 drivers/acpi/tables.c 	return count;
count             771 drivers/acpi/thermal.c 		for (i = 0; i < tz->trips.passive.devices.count;
count             797 drivers/acpi/thermal.c 		    j < tz->trips.active[i].devices.count;
count             816 drivers/acpi/thermal.c 	for (i = 0; i < tz->devices.count; i++) {
count            1140 drivers/acpi/thermal.c 		for (j = 0; j < tz->trips.active[i].devices.count; j++) {
count              55 drivers/acpi/utils.c 	    || (package->package.count < 1)) {
count              71 drivers/acpi/utils.c 	if (format_count > package->package.count) {
count              74 drivers/acpi/utils.c 			      format_count, package->package.count);
count             338 drivers/acpi/utils.c 	if (!package->package.count) {
count             344 drivers/acpi/utils.c 	if (package->package.count > ACPI_MAX_HANDLES) {
count             348 drivers/acpi/utils.c 	list->count = package->package.count;
count             352 drivers/acpi/utils.c 	for (i = 0; i < list->count; i++) {
count             376 drivers/acpi/utils.c 		list->count = 0;
count             402 drivers/acpi/utils.c 	    || !output->package.count
count             550 drivers/acpi/utils.c 	struct acpi_object_list arg_list = { .count = 1, .pointer = &obj, };
count             623 drivers/acpi/utils.c 		.count = 4,
count             638 drivers/acpi/utils.c 		params[3].package.count = 0;
count              58 drivers/acpi/x86/apple.c 	numprops = props->package.count / 2;
count              98 drivers/acpi/x86/apple.c 	newprops->package.count = numvalid;
count             109 drivers/acpi/x86/apple.c 		newprops[1 + j].package.count = 2;
count              98 drivers/amba/bus.c 				     const char *buf, size_t count)
count             104 drivers/amba/bus.c 	if (count >= (PAGE_SIZE - 1))
count             107 drivers/amba/bus.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
count             127 drivers/amba/bus.c 	return count;
count            5633 drivers/android/binder.c 	size_t start_pos = m->count;
count            5640 drivers/android/binder.c 	header_pos = m->count;
count            5661 drivers/android/binder.c 	if (!print_always && m->count == header_pos)
count            5662 drivers/android/binder.c 		m->count = start_pos;
count            5670 drivers/android/binder.c 	int count;
count            5672 drivers/android/binder.c 	count = 0;
count            5674 drivers/android/binder.c 		count++;
count            5680 drivers/android/binder.c 		   node->internal_strong_refs, count, node->tmp_refs);
count            5681 drivers/android/binder.c 	if (count) {
count            5711 drivers/android/binder.c 	size_t start_pos = m->count;
count            5717 drivers/android/binder.c 	header_pos = m->count;
count            5770 drivers/android/binder.c 	if (!print_all && m->count == header_pos)
count            5771 drivers/android/binder.c 		m->count = start_pos;
count            5875 drivers/android/binder.c 	int count, strong, weak, ready_threads;
count            5881 drivers/android/binder.c 	count = 0;
count            5885 drivers/android/binder.c 		count++;
count            5890 drivers/android/binder.c 	seq_printf(m, "  threads: %d\n", count);
count            5897 drivers/android/binder.c 	count = 0;
count            5899 drivers/android/binder.c 		count++;
count            5901 drivers/android/binder.c 	seq_printf(m, "  nodes: %d\n", count);
count            5902 drivers/android/binder.c 	count = 0;
count            5909 drivers/android/binder.c 		count++;
count            5914 drivers/android/binder.c 	seq_printf(m, "  refs: %d s %d w %d\n", count, strong, weak);
count            5916 drivers/android/binder.c 	count = binder_alloc_get_allocated_count(&proc->alloc);
count            5917 drivers/android/binder.c 	seq_printf(m, "  buffers: %d\n", count);
count            5921 drivers/android/binder.c 	count = 0;
count            5925 drivers/android/binder.c 			count++;
count            5928 drivers/android/binder.c 	seq_printf(m, "  pending transactions: %d\n", count);
count            6049 drivers/android/binder.c 	unsigned int count;
count            6053 drivers/android/binder.c 	count = log_cur + 1;
count            6054 drivers/android/binder.c 	cur = count < ARRAY_SIZE(log->entry) && !log->full ?
count            6055 drivers/android/binder.c 		0 : count % ARRAY_SIZE(log->entry);
count            6056 drivers/android/binder.c 	if (count > ARRAY_SIZE(log->entry) || log->full)
count            6057 drivers/android/binder.c 		count = ARRAY_SIZE(log->entry);
count            6058 drivers/android/binder.c 	for (i = 0; i < count; i++) {
count             876 drivers/android/binder_alloc.c 	int count = 0;
count             880 drivers/android/binder_alloc.c 		count++;
count             882 drivers/android/binder_alloc.c 	return count;
count             159 drivers/android/binder_alloc_selftest.c 	unsigned long count;
count             161 drivers/android/binder_alloc_selftest.c 	while ((count = list_lru_count(&binder_alloc_lru))) {
count             163 drivers/android/binder_alloc_selftest.c 			      NULL, count);
count            1479 drivers/ata/ahci.c 	int i, count = 0;
count            1500 drivers/ata/ahci.c 		count++;
count            1503 drivers/ata/ahci.c 	if (!count)
count            1506 drivers/ata/ahci.c 	dev_warn(&pdev->dev, "Found %d remapped NVMe devices.\n", count);
count             293 drivers/ata/libahci.c 	size_t count;
count             316 drivers/ata/libahci.c 	count = hpriv->em_buf_sz;
count             319 drivers/ata/libahci.c 	if (count > PAGE_SIZE) {
count             325 drivers/ata/libahci.c 		count = PAGE_SIZE;
count             328 drivers/ata/libahci.c 	for (i = 0; i < count; i += 4) {
count             365 drivers/ata/libata-acpi.c 	input.count = 3;
count             784 drivers/ata/libata-acpi.c 	input.count = 1;
count             103 drivers/ata/libata-scsi.c 				  const char *buf, size_t count)
count             128 drivers/ata/libata-scsi.c 				count = -EOPNOTSUPP;
count             138 drivers/ata/libata-scsi.c 	return count;
count             387 drivers/ata/libata-scsi.c 			  const char *buf, size_t count)
count             392 drivers/ata/libata-scsi.c 		return ap->ops->em_store(ap, buf, count);
count             440 drivers/ata/libata-scsi.c 	const char *buf, size_t count)
count             455 drivers/ata/libata-scsi.c 				return count;
count            3406 drivers/ata/libata-scsi.c 					u64 sector, u32 count)
count            3425 drivers/ata/libata-scsi.c 			((u64)(count > 0xffff ? 0xffff : count) << 48);
count            3427 drivers/ata/libata-scsi.c 		if (count <= 0xffff)
count            3429 drivers/ata/libata-scsi.c 		count -= 0xffff;
count             784 drivers/ata/libata-sff.c 	unsigned int offset, count, consumed;
count             803 drivers/ata/libata-sff.c 	count = min(sg->length - qc->cursg_ofs, bytes);
count             806 drivers/ata/libata-sff.c 	count = min(count, (unsigned int)PAGE_SIZE - offset);
count             812 drivers/ata/libata-sff.c 	consumed = ap->ops->sff_data_xfer(qc, buf + offset, count, rw);
count             816 drivers/ata/libata-sff.c 	qc->curbytes += count;
count             817 drivers/ata/libata-sff.c 	qc->cursg_ofs += count;
count            2098 drivers/ata/libata-sff.c 	int count;
count            2107 drivers/ata/libata-sff.c 	for (count = 0; (ap->ops->sff_check_status(ap) & ATA_DRQ)
count            2108 drivers/ata/libata-sff.c 						&& count < 65536; count += 2)
count            2112 drivers/ata/libata-sff.c 	if (count)
count            2113 drivers/ata/libata-sff.c 		ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count);
count             692 drivers/ata/libata-transport.c 	i->private_##attrb[count] = dev_attr_##field;		       	\
count             693 drivers/ata/libata-transport.c 	i->private_##attrb[count].attr.mode = perm;			\
count             694 drivers/ata/libata-transport.c 	i->attrb[count] = &i->private_##attrb[count];			\
count             696 drivers/ata/libata-transport.c 		count++
count             713 drivers/ata/libata-transport.c 	int count;
count             737 drivers/ata/libata-transport.c 	count = 0;
count             741 drivers/ata/libata-transport.c 	BUG_ON(count > ATA_PORT_ATTRS);
count             742 drivers/ata/libata-transport.c 	i->port_attrs[count] = NULL;
count             744 drivers/ata/libata-transport.c 	count = 0;
count             748 drivers/ata/libata-transport.c 	BUG_ON(count > ATA_LINK_ATTRS);
count             749 drivers/ata/libata-transport.c 	i->link_attrs[count] = NULL;
count             751 drivers/ata/libata-transport.c 	count = 0;
count             761 drivers/ata/libata-transport.c 	BUG_ON(count > ATA_DEV_ATTRS);
count             762 drivers/ata/libata-transport.c 	i->dev_attrs[count] = NULL;
count             206 drivers/ata/pata_ep93xx.c static void ep93xx_pata_delay(unsigned long count)
count             213 drivers/ata/pata_ep93xx.c 		: "=r" (count)
count             214 drivers/ata/pata_ep93xx.c 		: "0" (count)
count             843 drivers/ata/pata_ep93xx.c 	int count;
count             854 drivers/ata/pata_ep93xx.c 	for (count = 0; (ap->ops->sff_check_status(ap) & ATA_DRQ)
count             855 drivers/ata/pata_ep93xx.c 		     && count < 65536; count += 2)
count             859 drivers/ata/pata_ep93xx.c 	if (count)
count             860 drivers/ata/pata_ep93xx.c 		ata_port_dbg(ap, "drained %d bytes to clear DRQ.\n", count);
count             450 drivers/ata/pata_mpc52xx.c 	int count = 0;
count             482 drivers/ata/pata_mpc52xx.c 			count++;
count             484 drivers/ata/pata_mpc52xx.c 			if (count > MAX_DMA_BUFFERS) {
count             301 drivers/ata/pata_octeon_cf.c 	int count;
count             305 drivers/ata/pata_octeon_cf.c 		count = 16;
count             313 drivers/ata/pata_octeon_cf.c 			if (--count == 0) {
count             315 drivers/ata/pata_octeon_cf.c 				count = 16;
count             340 drivers/ata/pata_octeon_cf.c 	int count;
count             344 drivers/ata/pata_octeon_cf.c 		count = 16;
count             352 drivers/ata/pata_octeon_cf.c 			if (--count == 0) {
count             354 drivers/ata/pata_octeon_cf.c 				count = 16;
count             116 drivers/ata/pata_pcmcia.c 	int count;
count             126 drivers/ata/pata_pcmcia.c 	for (count = 0; (ap->ops->sff_check_status(ap) & ATA_DRQ)
count             127 drivers/ata/pata_pcmcia.c 							&& count++ < 65536;)
count             130 drivers/ata/pata_pcmcia.c 	if (count)
count             131 drivers/ata/pata_pcmcia.c 		ata_port_warn(ap, "drained %d bytes to clear DRQ\n", count);
count             290 drivers/ata/sata_fsl.c 		unsigned int count, unsigned int ticks)
count             296 drivers/ata/sata_fsl.c 	if (count > ICC_MAX_INT_COUNT_THRESHOLD)
count             297 drivers/ata/sata_fsl.c 		count = ICC_MAX_INT_COUNT_THRESHOLD;
count             298 drivers/ata/sata_fsl.c 	else if (count < ICC_MIN_INT_COUNT_THRESHOLD)
count             299 drivers/ata/sata_fsl.c 		count = ICC_MIN_INT_COUNT_THRESHOLD;
count             304 drivers/ata/sata_fsl.c 			(count > ICC_MIN_INT_COUNT_THRESHOLD))
count             308 drivers/ata/sata_fsl.c 	iowrite32((count << 24 | ticks), hcr_base + ICC);
count             310 drivers/ata/sata_fsl.c 	intr_coalescing_count = count;
count             329 drivers/ata/sata_fsl.c 		const char *buf, size_t count)
count             365 drivers/ata/sata_fsl.c 		const char *buf, size_t count)
count            1088 drivers/ata/sata_mv.c 				  unsigned int count, unsigned int usecs)
count            1099 drivers/ata/sata_mv.c 	if (!usecs || !count) {
count            1100 drivers/ata/sata_mv.c 		clks = count = 0;
count            1106 drivers/ata/sata_mv.c 		if (count > MAX_COAL_IO_COUNT)
count            1107 drivers/ata/sata_mv.c 			count = MAX_COAL_IO_COUNT;
count            1119 drivers/ata/sata_mv.c 		writel(count, mmio + IRQ_COAL_IO_THRESHOLD);
count            1122 drivers/ata/sata_mv.c 		if (count)
count            1124 drivers/ata/sata_mv.c 		clks = count = 0; /* force clearing of regular regs below */
count            1132 drivers/ata/sata_mv.c 	writel(count, hc_mmio + HC_IRQ_COAL_IO_THRESHOLD);
count            1134 drivers/ata/sata_mv.c 	if (count)
count            1139 drivers/ata/sata_mv.c 		writel(count, hc_mmio + HC_IRQ_COAL_IO_THRESHOLD);
count            1141 drivers/ata/sata_mv.c 		if (count)
count             594 drivers/ata/sata_nv.c 	int count = 0;
count             600 drivers/ata/sata_nv.c 	while (!(status & NV_ADMA_STAT_IDLE) && count < 20) {
count             603 drivers/ata/sata_nv.c 		count++;
count             605 drivers/ata/sata_nv.c 	if (count == 20)
count             612 drivers/ata/sata_nv.c 	count = 0;
count             614 drivers/ata/sata_nv.c 	while (!(status & NV_ADMA_STAT_LEGACY) && count < 20) {
count             617 drivers/ata/sata_nv.c 		count++;
count             619 drivers/ata/sata_nv.c 	if (count == 20)
count             632 drivers/ata/sata_nv.c 	int count = 0;
count             644 drivers/ata/sata_nv.c 	      !(status & NV_ADMA_STAT_IDLE)) && count < 20) {
count             647 drivers/ata/sata_nv.c 		count++;
count             649 drivers/ata/sata_nv.c 	if (count == 20)
count             246 drivers/ata/sata_rcar.c static void sata_rcar_ioread16_rep(void __iomem *reg, void *buffer, int count)
count             250 drivers/ata/sata_rcar.c 	while (count--) {
count             257 drivers/ata/sata_rcar.c static void sata_rcar_iowrite16_rep(void __iomem *reg, void *buffer, int count)
count             261 drivers/ata/sata_rcar.c 	while (count--)
count             489 drivers/ata/sata_rcar.c 	int count;
count             498 drivers/ata/sata_rcar.c 	for (count = 0; (ap->ops->sff_check_status(ap) & ATA_DRQ) &&
count             499 drivers/ata/sata_rcar.c 			count < 65536; count += 2)
count             503 drivers/ata/sata_rcar.c 	if (count)
count             504 drivers/ata/sata_rcar.c 		ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count);
count            1089 drivers/ata/sata_sx4.c 	u32 count = 0;
count            1105 drivers/ata/sata_sx4.c 	for (count = 0; count <= 1000; count ++) {
count            1110 drivers/ata/sata_sx4.c 		} else if (count == 1000)
count            1441 drivers/atm/ambassador.c     unsigned int count = sprintf (page, "RX queues [cur/max/req low empty]:");
count            1444 drivers/atm/ambassador.c       count += sprintf (page+count, " %u/%u/%u %u %u",
count            1447 drivers/atm/ambassador.c     count += sprintf (page+count, ".\n");
count            1448 drivers/atm/ambassador.c     return count;
count            1452 drivers/atm/ambassador.c     unsigned int count = sprintf (page, "RX buffer sizes:");
count            1455 drivers/atm/ambassador.c       count += sprintf (page+count, " %u", r->buffer_size);
count            1457 drivers/atm/ambassador.c     count += sprintf (page+count, ".\n");
count            1458 drivers/atm/ambassador.c     return count;
count            1807 drivers/atm/ambassador.c   tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4);
count            1823 drivers/atm/ambassador.c   tb->count = cpu_to_be32(be16_to_cpu(rec->len) / 4);
count             330 drivers/atm/ambassador.h   __be32 count;
count             865 drivers/atm/fore200e.c     int count = 0;
count             890 drivers/atm/fore200e.c 	count++;
count             894 drivers/atm/fore200e.c     if (count != bsq->freebuf_count) {
count             896 drivers/atm/fore200e.c 	       where, scheme, magn, count, bsq->freebuf_count);
count            2607 drivers/atm/horizon.c     unsigned int count = sprintf (page, "vbr buckets:");
count            2610 drivers/atm/horizon.c       count += sprintf (page, " %u/%u",
count            2613 drivers/atm/horizon.c     count += sprintf (page+count, ".\n");
count            2614 drivers/atm/horizon.c     return count;
count             101 drivers/atm/idt77252.c 		       unsigned int size, unsigned int count);
count            1845 drivers/atm/idt77252.c 	   unsigned int size, unsigned int count)
count            1851 drivers/atm/idt77252.c 	while (count--) {
count             182 drivers/atm/idt77252.h 	unsigned int		count;
count             981 drivers/atm/iphase.c     int col, count;
count             984 drivers/atm/iphase.c     count = 0;
count             985 drivers/atm/iphase.c     while(count < length){
count             987 drivers/atm/iphase.c         for(col = 0;count + col < length && col < 16; col++){
count             990 drivers/atm/iphase.c             pBuf += sprintf( pBuf, "%02X ", cp[count + col] );
count             998 drivers/atm/iphase.c         for(col = 0;count + col < length && col < 16; col++){
count             999 drivers/atm/iphase.c             if (isprint((int)cp[count + col]))
count            1000 drivers/atm/iphase.c                 pBuf += sprintf( pBuf, "%c", cp[count + col] );
count            1005 drivers/atm/iphase.c         count += col;
count             122 drivers/atm/nicstar.c 			  int count);
count             140 drivers/atm/nicstar.c static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count);
count             224 drivers/atm/nicstar.c 	PRINTK("nicstar%d: freeing %d huge buffers.\n", i, card->hbpool.count);
count             232 drivers/atm/nicstar.c 	       card->iovpool.count);
count             324 drivers/atm/nicstar.c 			  int count)
count             328 drivers/atm/nicstar.c 	count--;		/* count range now is 0..3 instead of 1..4 */
count             329 drivers/atm/nicstar.c 	c = count;
count             339 drivers/atm/nicstar.c 	sram_address |= (0x40000000 | count);
count             644 drivers/atm/nicstar.c 	card->hbpool.count = 0;
count             658 drivers/atm/nicstar.c 		card->hbpool.count++;
count             663 drivers/atm/nicstar.c 	card->lbpool.count = 0;	/* Not used */
count             699 drivers/atm/nicstar.c 	card->sbpool.count = 0;	/* Not used */
count             729 drivers/atm/nicstar.c 	card->iovpool.count = 0;
count             743 drivers/atm/nicstar.c 		card->iovpool.count++;
count            1565 drivers/atm/nicstar.c 		       ns_stat_sfbqc_get(stat), card->sbpool.count,
count            1566 drivers/atm/nicstar.c 		       ns_stat_lfbqc_get(stat), card->lbpool.count);
count            1568 drivers/atm/nicstar.c 		       card->hbpool.count, card->iovpool.count);
count            2073 drivers/atm/nicstar.c 		} else if (--card->iovpool.count < card->iovnr.min) {
count            2079 drivers/atm/nicstar.c 				card->iovpool.count++;
count            2235 drivers/atm/nicstar.c 				} else if (card->hbpool.count < card->hbnr.min) {
count            2242 drivers/atm/nicstar.c 						card->hbpool.count++;
count            2246 drivers/atm/nicstar.c 			} else if (--card->hbpool.count < card->hbnr.min) {
count            2253 drivers/atm/nicstar.c 					card->hbpool.count++;
count            2255 drivers/atm/nicstar.c 				if (card->hbpool.count < card->hbnr.min) {
count            2263 drivers/atm/nicstar.c 						card->hbpool.count++;
count            2273 drivers/atm/nicstar.c 				if (card->hbpool.count < card->hbnr.max) {
count            2275 drivers/atm/nicstar.c 					card->hbpool.count++;
count            2332 drivers/atm/nicstar.c static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count)
count            2334 drivers/atm/nicstar.c 	while (count-- > 0)
count            2340 drivers/atm/nicstar.c 	if (card->iovpool.count < card->iovnr.max) {
count            2342 drivers/atm/nicstar.c 		card->iovpool.count++;
count            2416 drivers/atm/nicstar.c 			       card->hbpool.count, card->hbnr.min,
count            2420 drivers/atm/nicstar.c 			       card->iovpool.count, card->iovnr.min,
count            2479 drivers/atm/nicstar.c 			pl.count =
count            2487 drivers/atm/nicstar.c 			pl.count =
count            2495 drivers/atm/nicstar.c 			pl.count = card->hbpool.count;
count            2502 drivers/atm/nicstar.c 			pl.count = card->iovpool.count;
count            2600 drivers/atm/nicstar.c 			while (card->hbpool.count > card->hbnr.init) {
count            2605 drivers/atm/nicstar.c 				card->hbpool.count--;
count            2615 drivers/atm/nicstar.c 			while (card->hbpool.count < card->hbnr.init) {
count            2624 drivers/atm/nicstar.c 				card->hbpool.count++;
count            2630 drivers/atm/nicstar.c 			while (card->iovpool.count > card->iovnr.init) {
count            2635 drivers/atm/nicstar.c 				card->iovpool.count--;
count            2645 drivers/atm/nicstar.c 			while (card->iovpool.count < card->iovnr.init) {
count            2654 drivers/atm/nicstar.c 				card->iovpool.count++;
count             689 drivers/atm/nicstar.h 	volatile int count;	/* number of buffers in the queue */
count             237 drivers/atm/solos-pci.c 				 const char *buf, size_t count)
count             247 drivers/atm/solos-pci.c 	buflen = strlen(attr->attr.name) + 11 + count;
count             294 drivers/atm/solos-pci.c 		ret = count;
count             495 drivers/atm/solos-pci.c 			     const char *buf, size_t count)
count             501 drivers/atm/solos-pci.c 	err = send_command(card, SOLOS_CHAN(atmdev), buf, count);
count             503 drivers/atm/solos-pci.c 	return err?:count;
count             517 drivers/atm/solos-pci.c 			       const char *buf, size_t count)
count             523 drivers/atm/solos-pci.c 	if (count != 1 && (count != 2 || buf[1] != '\n'))
count             535 drivers/atm/solos-pci.c 		count = -EINVAL;
count             538 drivers/atm/solos-pci.c 	return count;
count             186 drivers/atm/zatm.c 	int align,offset,free,count,size;
count             211 drivers/atm/zatm.c 	count = 0;
count             228 drivers/atm/zatm.c 		count++;
count             247 drivers/atm/zatm.c 		zout(uPD98401_ADD_BAT | (pool << uPD98401_POOL_SHIFT) | count,
count             320 drivers/atm/zatm.c    static int count = 0;
count             326 drivers/atm/zatm.c    if (count++ > 2) return;
count             684 drivers/auxdisplay/charlcd.c 			     size_t count, loff_t *ppos)
count             689 drivers/auxdisplay/charlcd.c 	for (; count-- > 0; (*ppos)++, tmp++) {
count             690 drivers/auxdisplay/charlcd.c 		if (!in_interrupt() && (((count + 1) & 0x1f) == 0))
count             752 drivers/auxdisplay/charlcd.c 	int count = strlen(s);
count             754 drivers/auxdisplay/charlcd.c 	for (; count-- > 0; tmp++) {
count             755 drivers/auxdisplay/charlcd.c 		if (!in_interrupt() && (((count + 1) & 0x1f) == 0))
count             269 drivers/auxdisplay/img-ascii-lcd.c 			     const char *msg, ssize_t count)
count             276 drivers/auxdisplay/img-ascii-lcd.c 	if (count == -1)
count             277 drivers/auxdisplay/img-ascii-lcd.c 		count = strlen(msg);
count             280 drivers/auxdisplay/img-ascii-lcd.c 	if (msg[count - 1] == '\n')
count             281 drivers/auxdisplay/img-ascii-lcd.c 		count--;
count             283 drivers/auxdisplay/img-ascii-lcd.c 	new_msg = devm_kmalloc(&ctx->pdev->dev, count + 1, GFP_KERNEL);
count             287 drivers/auxdisplay/img-ascii-lcd.c 	memcpy(new_msg, msg, count);
count             288 drivers/auxdisplay/img-ascii-lcd.c 	new_msg[count] = 0;
count             294 drivers/auxdisplay/img-ascii-lcd.c 	ctx->message_len = count;
count             334 drivers/auxdisplay/img-ascii-lcd.c 			     const char *buf, size_t count)
count             339 drivers/auxdisplay/img-ascii-lcd.c 	err = img_ascii_lcd_display(ctx, buf, count);
count             340 drivers/auxdisplay/img-ascii-lcd.c 	return err ?: count;
count            1077 drivers/auxdisplay/panel.c 			   char __user *buf, size_t count, loff_t *ppos)
count            1091 drivers/auxdisplay/panel.c 	for (; count-- > 0 && (keypad_buflen > 0);
count              69 drivers/base/bus.c 			      const char *buf, size_t count)
count              76 drivers/base/bus.c 		ret = drv_attr->store(drv_priv->driver, buf, count);
count             114 drivers/base/bus.c 			      const char *buf, size_t count)
count             121 drivers/base/bus.c 		ret = bus_attr->store(subsys_priv->bus, buf, count);
count             182 drivers/base/bus.c 			    size_t count)
count             191 drivers/base/bus.c 		err = count;
count             205 drivers/base/bus.c 			  size_t count)
count             217 drivers/base/bus.c 			err = count;
count             235 drivers/base/bus.c 				       const char *buf, size_t count)
count             241 drivers/base/bus.c 	return count;
count             245 drivers/base/bus.c 				   const char *buf, size_t count)
count             254 drivers/base/bus.c 		err = count;
count             580 drivers/base/bus.c 			    size_t count)
count             584 drivers/base/bus.c 	rc = kobject_synth_uevent(&drv->p->kobj, buf, count);
count             585 drivers/base/bus.c 	return rc ? rc : count;
count             777 drivers/base/bus.c 				const char *buf, size_t count)
count             781 drivers/base/bus.c 	rc = kobject_synth_uevent(&bus->p->subsys.kobj, buf, count);
count             782 drivers/base/bus.c 	return rc ? rc : count;
count              37 drivers/base/class.c 				const char *buf, size_t count)
count              44 drivers/base/class.c 		ret = class_attr->store(cp->class, class_attr, buf, count);
count             977 drivers/base/core.c 			      const char *buf, size_t count)
count             984 drivers/base/core.c 		ret = dev_attr->store(dev, dev_attr, buf, count);
count            1240 drivers/base/core.c 	size_t count = 0;
count            1270 drivers/base/core.c 		count += sprintf(&buf[count], "%s\n", env->envp[i]);
count            1273 drivers/base/core.c 	return count;
count            1277 drivers/base/core.c 			    const char *buf, size_t count)
count            1281 drivers/base/core.c 	rc = kobject_synth_uevent(&dev->kobj, buf, count);
count            1288 drivers/base/core.c 	return count;
count            1304 drivers/base/core.c 			    const char *buf, size_t count)
count            1319 drivers/base/core.c 	return ret < 0 ? ret : count;
count              90 drivers/base/cpu.c 			       size_t count)
count              99 drivers/base/cpu.c 	cnt = arch_cpu_probe(buf, count);
count             108 drivers/base/cpu.c 				 size_t count)
count             117 drivers/base/cpu.c 	cnt = arch_cpu_release(buf, count);
count             398 drivers/base/dd.c 			    const char *buf, size_t count)
count             404 drivers/base/dd.c 	return count;
count              33 drivers/base/devcoredump.c 	ssize_t (*read)(char *buffer, loff_t offset, size_t count,
count              76 drivers/base/devcoredump.c 			       char *buffer, loff_t offset, size_t count)
count              81 drivers/base/devcoredump.c 	return devcd->read(buffer, offset, count, devcd->data, devcd->datalen);
count              86 drivers/base/devcoredump.c 				char *buffer, loff_t offset, size_t count)
count              93 drivers/base/devcoredump.c 	return count;
count             130 drivers/base/devcoredump.c 			      const char *buf, size_t count)
count             146 drivers/base/devcoredump.c 	return count;
count             164 drivers/base/devcoredump.c static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count,
count             167 drivers/base/devcoredump.c 	return memory_read_from_buffer(buffer, count, &offset, data, datalen);
count             254 drivers/base/devcoredump.c 		   ssize_t (*read)(char *buffer, loff_t offset, size_t count,
count             141 drivers/base/firmware_loader/fallback.c 			     const char *buf, size_t count)
count             150 drivers/base/firmware_loader/fallback.c 	return count;
count             237 drivers/base/firmware_loader/fallback.c 				      const char *buf, size_t count)
count             241 drivers/base/firmware_loader/fallback.c 	ssize_t written = count;
count             305 drivers/base/firmware_loader/fallback.c 			   loff_t offset, size_t count, bool read)
count             308 drivers/base/firmware_loader/fallback.c 		memcpy(buffer, fw_priv->data + offset, count);
count             310 drivers/base/firmware_loader/fallback.c 		memcpy(fw_priv->data + offset, buffer, count);
count             314 drivers/base/firmware_loader/fallback.c 			loff_t offset, size_t count, bool read)
count             316 drivers/base/firmware_loader/fallback.c 	while (count) {
count             320 drivers/base/firmware_loader/fallback.c 		int page_cnt = min_t(size_t, PAGE_SIZE - page_ofs, count);
count             332 drivers/base/firmware_loader/fallback.c 		count -= page_cnt;
count             338 drivers/base/firmware_loader/fallback.c 				  char *buffer, loff_t offset, size_t count)
count             355 drivers/base/firmware_loader/fallback.c 	if (count > fw_priv->size - offset)
count             356 drivers/base/firmware_loader/fallback.c 		count = fw_priv->size - offset;
count             358 drivers/base/firmware_loader/fallback.c 	ret_count = count;
count             361 drivers/base/firmware_loader/fallback.c 		firmware_rw_data(fw_priv, buffer, offset, count, true);
count             363 drivers/base/firmware_loader/fallback.c 		firmware_rw(fw_priv, buffer, offset, count, true);
count             395 drivers/base/firmware_loader/fallback.c 				   char *buffer, loff_t offset, size_t count)
count             413 drivers/base/firmware_loader/fallback.c 		if (offset + count > fw_priv->allocated_size) {
count             417 drivers/base/firmware_loader/fallback.c 		firmware_rw_data(fw_priv, buffer, offset, count, false);
count             418 drivers/base/firmware_loader/fallback.c 		retval = count;
count             420 drivers/base/firmware_loader/fallback.c 		retval = fw_realloc_pages(fw_sysfs, offset + count);
count             424 drivers/base/firmware_loader/fallback.c 		retval = count;
count             425 drivers/base/firmware_loader/fallback.c 		firmware_rw(fw_priv, buffer, offset, count, false);
count             428 drivers/base/firmware_loader/fallback.c 	fw_priv->size = max_t(size_t, offset + count, fw_priv->size);
count             300 drivers/base/memory.c 			   const char *buf, size_t count)
count             345 drivers/base/memory.c 	return count;
count             452 drivers/base/memory.c 					const char *buf, size_t count)
count             461 drivers/base/memory.c 	return count;
count             474 drivers/base/memory.c 			   const char *buf, size_t count)
count             498 drivers/base/memory.c 	ret = count;
count             515 drivers/base/memory.c 				       const char *buf, size_t count)
count             530 drivers/base/memory.c 	return ret == 0 ? count : ret;
count             536 drivers/base/memory.c 				       const char *buf, size_t count)
count             546 drivers/base/memory.c 	return ret ? ret : count;
count             896 drivers/base/platform.c 				unsigned int count, struct module *owner)
count             901 drivers/base/platform.c 	for (i = 0; i < count; i++) {
count             934 drivers/base/platform.c 				 unsigned int count)
count             936 drivers/base/platform.c 	while (count--) {
count             937 drivers/base/platform.c 		pr_debug("unregistering platform driver %ps\n", drivers[count]);
count             938 drivers/base/platform.c 		platform_driver_unregister(drivers[count]);
count             971 drivers/base/platform.c 				     const char *buf, size_t count)
count             977 drivers/base/platform.c 	if (count >= (PAGE_SIZE - 1))
count             980 drivers/base/platform.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
count            1000 drivers/base/platform.c 	return count;
count             191 drivers/base/power/clock_ops.c 	int i, count;
count             197 drivers/base/power/clock_ops.c 	count = of_clk_get_parent_count(dev->of_node);
count             198 drivers/base/power/clock_ops.c 	if (count <= 0)
count             201 drivers/base/power/clock_ops.c 	clks = kcalloc(count, sizeof(*clks), GFP_KERNEL);
count             205 drivers/base/power/clock_ops.c 	for (i = 0; i < count; i++) {
count             347 drivers/base/power/sysfs.c 	unsigned long count = 0;
count             352 drivers/base/power/sysfs.c 		count = dev->power.wakeup->wakeup_count;
count             356 drivers/base/power/sysfs.c 	return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n");
count             365 drivers/base/power/sysfs.c 	unsigned long count = 0;
count             370 drivers/base/power/sysfs.c 		count = dev->power.wakeup->active_count;
count             374 drivers/base/power/sysfs.c 	return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n");
count             383 drivers/base/power/sysfs.c 	unsigned long count = 0;
count             388 drivers/base/power/sysfs.c 		count = dev->power.wakeup->wakeup_count;
count             392 drivers/base/power/sysfs.c 	return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n");
count             401 drivers/base/power/sysfs.c 	unsigned long count = 0;
count             406 drivers/base/power/sysfs.c 		count = dev->power.wakeup->expire_count;
count             410 drivers/base/power/sysfs.c 	return enabled ? sprintf(buf, "%lu\n", count) : sprintf(buf, "\n");
count             914 drivers/base/power/wakeup.c bool pm_get_wakeup_count(unsigned int *count, bool block)
count             934 drivers/base/power/wakeup.c 	*count = cnt;
count             948 drivers/base/power/wakeup.c bool pm_save_wakeup_count(unsigned int count)
count             956 drivers/base/power/wakeup.c 	if (cnt == count && inpr == 0) {
count             957 drivers/base/power/wakeup.c 		saved_count = count;
count             723 drivers/base/property.c 	unsigned int count = 0;
count             726 drivers/base/property.c 		count++;
count             728 drivers/base/property.c 	return count;
count              30 drivers/base/regmap/regcache.c 	int count;
count              38 drivers/base/regmap/regcache.c 	for (count = 0, i = 0; i < map->num_reg_defaults_raw; i++)
count              41 drivers/base/regmap/regcache.c 			count++;
count              44 drivers/base/regmap/regcache.c 	if (!count) {
count              49 drivers/base/regmap/regcache.c 	map->num_reg_defaults = count;
count              50 drivers/base/regmap/regcache.c 	map->reg_defaults = kmalloc_array(count, sizeof(struct reg_default),
count             708 drivers/base/regmap/regcache.c 	int ret, count;
count             713 drivers/base/regmap/regcache.c 	count = (cur - base) / map->reg_stride;
count             716 drivers/base/regmap/regcache.c 		count * val_bytes, count, base, cur - map->reg_stride);
count             720 drivers/base/regmap/regcache.c 	ret = _regmap_raw_write(map, base, *data, count * val_bytes);
count              36 drivers/base/regmap/regmap-debugfs.c 				     char __user *user_buf, size_t count,
count              57 drivers/base/regmap/regmap-debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count             183 drivers/base/regmap/regmap-debugfs.c 				       void *buf, size_t count)
count             218 drivers/base/regmap/regmap-debugfs.c 				   size_t count, loff_t *ppos)
count             227 drivers/base/regmap/regmap-debugfs.c 	if (*ppos < 0 || !count)
count             230 drivers/base/regmap/regmap-debugfs.c 	buf = kmalloc(count, GFP_KERNEL);
count             234 drivers/base/regmap/regmap-debugfs.c 	regmap_calc_tot_len(map, buf, count);
count             245 drivers/base/regmap/regmap-debugfs.c 			if (buf_pos + map->debugfs_tot_len > count)
count             249 drivers/base/regmap/regmap-debugfs.c 			snprintf(buf + buf_pos, count - buf_pos, "%.*x: ",
count             256 drivers/base/regmap/regmap-debugfs.c 				snprintf(buf + buf_pos, count - buf_pos,
count             283 drivers/base/regmap/regmap-debugfs.c 				    size_t count, loff_t *ppos)
count             288 drivers/base/regmap/regmap-debugfs.c 				   count, ppos);
count             301 drivers/base/regmap/regmap-debugfs.c 				     size_t count, loff_t *ppos)
count             310 drivers/base/regmap/regmap-debugfs.c 	buf_size = min(count, (sizeof(buf)-1));
count             343 drivers/base/regmap/regmap-debugfs.c 				      size_t count, loff_t *ppos)
count             349 drivers/base/regmap/regmap-debugfs.c 				   user_buf, count, ppos);
count             359 drivers/base/regmap/regmap-debugfs.c 					   char __user *user_buf, size_t count,
count             371 drivers/base/regmap/regmap-debugfs.c 	if (*ppos < 0 || !count)
count             374 drivers/base/regmap/regmap-debugfs.c 	buf = kmalloc(count, GFP_KERNEL);
count             389 drivers/base/regmap/regmap-debugfs.c 	regmap_calc_tot_len(map, buf, count);
count             400 drivers/base/regmap/regmap-debugfs.c 			if (buf_pos + entry_len > count)
count             456 drivers/base/regmap/regmap-debugfs.c 					    size_t count, loff_t *ppos)
count             468 drivers/base/regmap/regmap-debugfs.c 	result = debugfs_write_file_bool(file, user_buf, count, ppos);
count             501 drivers/base/regmap/regmap-debugfs.c 					      size_t count, loff_t *ppos)
count             512 drivers/base/regmap/regmap-debugfs.c 	result = debugfs_write_file_bool(file, user_buf, count, ppos);
count             123 drivers/base/regmap/regmap-i2c.c static int regmap_i2c_write(void *context, const void *data, size_t count)
count             129 drivers/base/regmap/regmap-i2c.c 	ret = i2c_master_send(i2c, data, count);
count             130 drivers/base/regmap/regmap-i2c.c 	if (ret == count)
count             209 drivers/base/regmap/regmap-i2c.c 				      size_t count)
count             214 drivers/base/regmap/regmap-i2c.c 	if (count < 1)
count             217 drivers/base/regmap/regmap-i2c.c 	--count;
count             218 drivers/base/regmap/regmap-i2c.c 	return i2c_smbus_write_i2c_block_data(i2c, ((u8 *)data)[0], count,
count               9 drivers/base/regmap/regmap-i3c.c static int regmap_i3c_write(void *context, const void *data, size_t count)
count              16 drivers/base/regmap/regmap-i3c.c 			.len = count,
count              10 drivers/base/regmap/regmap-slimbus.c static int regmap_slimbus_write(void *context, const void *data, size_t count)
count              14 drivers/base/regmap/regmap-slimbus.c 	return slim_write(sdev, *(u16 *)data, count - 2, (u8 *)data + 2);
count              28 drivers/base/regmap/regmap-spi.c static int regmap_spi_write(void *context, const void *data, size_t count)
count              33 drivers/base/regmap/regmap-spi.c 	return spi_write(spi, data, count);
count              70 drivers/base/regmap/regmap-spmi.c 				  size_t count)
count              72 drivers/base/regmap/regmap-spmi.c 	BUG_ON(count < 1);
count              74 drivers/base/regmap/regmap-spmi.c 					     count - 1);
count             190 drivers/base/regmap/regmap-spmi.c 				 size_t count)
count             192 drivers/base/regmap/regmap-spmi.c 	BUG_ON(count < 2);
count             194 drivers/base/regmap/regmap-spmi.c 					    count - 2);
count              69 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count              71 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count),
count              76 drivers/base/regmap/trace.h 		__field(	int,		count			)
count              82 drivers/base/regmap/trace.h 		__entry->count = count;
count              87 drivers/base/regmap/trace.h 		  (int)__entry->count)
count              92 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count              94 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count)
count              99 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count             101 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count)
count             106 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count             108 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count)
count             113 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count             115 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count)
count             197 drivers/base/regmap/trace.h 	TP_PROTO(struct regmap *map, unsigned int reg, int count),
count             199 drivers/base/regmap/trace.h 	TP_ARGS(map, reg, count)
count              83 drivers/bcma/host_pci.c 				     size_t count, u16 offset, u8 reg_width)
count              90 drivers/bcma/host_pci.c 		ioread8_rep(addr, buffer, count);
count              93 drivers/bcma/host_pci.c 		WARN_ON(count & 1);
count              94 drivers/bcma/host_pci.c 		ioread16_rep(addr, buffer, count >> 1);
count              97 drivers/bcma/host_pci.c 		WARN_ON(count & 3);
count              98 drivers/bcma/host_pci.c 		ioread32_rep(addr, buffer, count >> 2);
count             106 drivers/bcma/host_pci.c 				      const void *buffer, size_t count,
count             114 drivers/bcma/host_pci.c 		iowrite8_rep(addr, buffer, count);
count             117 drivers/bcma/host_pci.c 		WARN_ON(count & 1);
count             118 drivers/bcma/host_pci.c 		iowrite16_rep(addr, buffer, count >> 1);
count             121 drivers/bcma/host_pci.c 		WARN_ON(count & 3);
count             122 drivers/bcma/host_pci.c 		iowrite32_rep(addr, buffer, count >> 2);
count              51 drivers/bcma/host_soc.c 				     size_t count, u16 offset, u8 reg_width)
count              59 drivers/bcma/host_soc.c 		while (count) {
count              62 drivers/bcma/host_soc.c 			count--;
count              69 drivers/bcma/host_soc.c 		WARN_ON(count & 1);
count              70 drivers/bcma/host_soc.c 		while (count) {
count              73 drivers/bcma/host_soc.c 			count -= 2;
count              80 drivers/bcma/host_soc.c 		WARN_ON(count & 3);
count              81 drivers/bcma/host_soc.c 		while (count) {
count              84 drivers/bcma/host_soc.c 			count -= 4;
count              95 drivers/bcma/host_soc.c 				      size_t count, u16 offset, u8 reg_width)
count             103 drivers/bcma/host_soc.c 		while (count) {
count             106 drivers/bcma/host_soc.c 			count--;
count             113 drivers/bcma/host_soc.c 		WARN_ON(count & 1);
count             114 drivers/bcma/host_soc.c 		while (count) {
count             117 drivers/bcma/host_soc.c 			count -= 2;
count             124 drivers/bcma/host_soc.c 		WARN_ON(count & 3);
count             125 drivers/bcma/host_soc.c 		while (count) {
count             128 drivers/bcma/host_soc.c 			count -= 4;
count             652 drivers/block/drbd/drbd_actlog.c 		unsigned int enr, int count,
count             674 drivers/block/drbd/drbd_actlog.c 				ext->rs_left -= count;
count             676 drivers/block/drbd/drbd_actlog.c 				ext->rs_left += count;
count             678 drivers/block/drbd/drbd_actlog.c 				ext->rs_failed += count;
count             683 drivers/block/drbd/drbd_actlog.c 				     ext->rs_failed, count,
count             715 drivers/block/drbd/drbd_actlog.c 			ext->rs_failed = (mode == RECORD_RS_FAILED) ? count : 0;
count             789 drivers/block/drbd/drbd_actlog.c 	unsigned long count = 0;
count             814 drivers/block/drbd/drbd_actlog.c 			count += c;
count             818 drivers/block/drbd/drbd_actlog.c 	if (count) {
count             826 drivers/block/drbd/drbd_actlog.c 			device->rs_failed += count;
count             829 drivers/block/drbd/drbd_actlog.c 	return count;
count             851 drivers/block/drbd/drbd_actlog.c 	unsigned long count = 0;
count             895 drivers/block/drbd/drbd_actlog.c 	count = update_sync_bits(device, sbnr, ebnr, mode);
count             898 drivers/block/drbd/drbd_actlog.c 	return count;
count            1037 drivers/block/drbd/drbd_bitmap.c 	unsigned int num_pages, i, count = 0;
count            1090 drivers/block/drbd/drbd_bitmap.c 			++count;
count            1109 drivers/block/drbd/drbd_bitmap.c 			++count;
count            1130 drivers/block/drbd/drbd_bitmap.c 			++count;
count            1154 drivers/block/drbd/drbd_bitmap.c 				 count, ms);
count            1635 drivers/block/drbd/drbd_bitmap.c 	int count, s, e;
count            1650 drivers/block/drbd/drbd_bitmap.c 	count = 0;
count            1655 drivers/block/drbd/drbd_bitmap.c 		count += bitmap_weight(bm, n * BITS_PER_LONG);
count            1661 drivers/block/drbd/drbd_bitmap.c 	return count;
count             306 drivers/block/drbd/drbd_debugfs.c 	unsigned int count = 0;
count             314 drivers/block/drbd/drbd_debugfs.c 		++count;
count             317 drivers/block/drbd/drbd_debugfs.c 		if (!(count & 0x1ff)) {
count             351 drivers/block/drbd/drbd_debugfs.c 		seq_printf(m, "%u\t", count);
count            3838 drivers/block/drbd/drbd_main.c 	unsigned long count;
count            3854 drivers/block/drbd/drbd_main.c 	if (!rsp->count--) {
count            3857 drivers/block/drbd/drbd_main.c 		rsp->count = FAULT_RANDOM_REFRESH;
count             424 drivers/block/drbd/drbd_receiver.c 	int count = 0;
count             433 drivers/block/drbd/drbd_receiver.c 		count++;
count             435 drivers/block/drbd/drbd_receiver.c 	return count;
count            2102 drivers/block/floppy.c 	int count;
count            2145 drivers/block/floppy.c 	for (count = 0; count < F_SECT_PER_TRACK; ++count) {
count            2146 drivers/block/floppy.c 		here[count].track = format_req.track;
count            2147 drivers/block/floppy.c 		here[count].head = format_req.head;
count            2148 drivers/block/floppy.c 		here[count].sect = 0;
count            2149 drivers/block/floppy.c 		here[count].size = F_SIZECODE;
count            2152 drivers/block/floppy.c 	for (count = 1; count <= F_SECT_PER_TRACK; ++count) {
count            2153 drivers/block/floppy.c 		here[n].sect = count;
count            2165 drivers/block/floppy.c 		for (count = 0; count < F_SECT_PER_TRACK; count++)
count            2166 drivers/block/floppy.c 			here[count].sect += FD_SECTBASE(_floppy) - 1;
count             224 drivers/block/null_blk_main.c 	const char *page, size_t count)
count             234 drivers/block/null_blk_main.c 	return count;
count             238 drivers/block/null_blk_main.c 	const char *page, size_t count)
count             248 drivers/block/null_blk_main.c 	return count;
count             252 drivers/block/null_blk_main.c 	size_t count)
count             262 drivers/block/null_blk_main.c 	return count;
count             275 drivers/block/null_blk_main.c 			    size_t count)					\
count             280 drivers/block/null_blk_main.c 			&to_nullb_device(item)->NAME, page, count);		\
count             309 drivers/block/null_blk_main.c 				     const char *page, size_t count)
count             315 drivers/block/null_blk_main.c 	ret = nullb_device_bool_attr_store(&newp, page, count);
count             321 drivers/block/null_blk_main.c 			return count;
count             339 drivers/block/null_blk_main.c 	return count;
count             352 drivers/block/null_blk_main.c 				     const char *page, size_t count)
count             359 drivers/block/null_blk_main.c 	orig = kstrndup(page, count, GFP_KERNEL);
count             390 drivers/block/null_blk_main.c 		ret = count;
count             934 drivers/block/null_blk_main.c 	size_t temp, count = 0;
count             939 drivers/block/null_blk_main.c 	while (count < n) {
count             940 drivers/block/null_blk_main.c 		temp = min_t(size_t, nullb->dev->blocksize, n - count);
count             953 drivers/block/null_blk_main.c 		memcpy(dst + offset, src + off + count, temp);
count             962 drivers/block/null_blk_main.c 		count += temp;
count             971 drivers/block/null_blk_main.c 	size_t temp, count = 0;
count             976 drivers/block/null_blk_main.c 	while (count < n) {
count             977 drivers/block/null_blk_main.c 		temp = min_t(size_t, nullb->dev->blocksize, n - count);
count             985 drivers/block/null_blk_main.c 			memset(dst + off + count, 0, temp);
count             989 drivers/block/null_blk_main.c 		memcpy(dst + off + count, src + offset, temp);
count             994 drivers/block/null_blk_main.c 		count += temp;
count              70 drivers/block/paride/aten.c static void aten_read_block( PIA *pi, char * buf, int count )
count              77 drivers/block/paride/aten.c 		for (k=0;k<count/2;k++) {
count              88 drivers/block/paride/aten.c 		for (k=0;k<count/2;k++) {
count              98 drivers/block/paride/aten.c static void aten_write_block( PIA *pi, char * buf, int count )
count             103 drivers/block/paride/aten.c 	for (k=0;k<count/2;k++) {
count             108 drivers/block/paride/bpck.c static void bpck_write_block( PIA *pi, char * buf, int count )
count             116 drivers/block/paride/bpck.c 		for (i=0;i<count;i++) { w0(buf[i]); t2(4); }
count             122 drivers/block/paride/bpck.c                 for (i=0;i<count;i++) { w0(buf[i]); t2(4); }
count             128 drivers/block/paride/bpck.c 		for (i=0;i<count;i++) w4(buf[i]);
count             135 drivers/block/paride/bpck.c                 for (i=0;i<count/2;i++) w4w(((u16 *)buf)[i]);
count             142 drivers/block/paride/bpck.c                 for (i=0;i<count/4;i++) w4l(((u32 *)buf)[i]);
count             149 drivers/block/paride/bpck.c static void bpck_read_block( PIA *pi, char * buf, int count )
count             157 drivers/block/paride/bpck.c 		for (i=0;i<count;i++) {
count             167 drivers/block/paride/bpck.c       	        for(i=0;i<count;i++) { t2(4); buf[i] = r0(); }
count             174 drivers/block/paride/bpck.c 		for (i=0;i<count;i++) buf[i] = r4();
count             181 drivers/block/paride/bpck.c                 for (i=0;i<count/2;i++) ((u16 *)buf)[i] = r4w();
count             188 drivers/block/paride/bpck.c                 for (i=0;i<count/4;i++) ((u32 *)buf)[i] = r4l();
count             108 drivers/block/paride/comm.c static void comm_read_block( PIA *pi, char * buf, int count )
count             115 drivers/block/paride/comm.c                 for(i=0;i<count;i++) {
count             123 drivers/block/paride/comm.c                 for(i=0;i<count;i++) {
count             130 drivers/block/paride/comm.c 		for (i=0;i<count;i++) buf[i] = r4();
count             135 drivers/block/paride/comm.c                 for (i=0;i<count/2;i++) ((u16 *)buf)[i] = r4w();
count             140 drivers/block/paride/comm.c                 for (i=0;i<count/4;i++) ((u32 *)buf)[i] = r4l();
count             149 drivers/block/paride/comm.c static void comm_write_block( PIA *pi, char * buf, int count )
count             157 drivers/block/paride/comm.c         	for (k=0;k<count;k++) {
count             164 drivers/block/paride/comm.c                 for (k=0;k<count;k++) w4(buf[k^1]);
count             168 drivers/block/paride/comm.c                 for (k=0;k<count/2;k++) w4w(pi_swab16(buf,k));
count             172 drivers/block/paride/comm.c                 for (k=0;k<count/4;k++) w4l(pi_swab32(buf,k));
count             115 drivers/block/paride/dstr.c static void dstr_read_block( PIA *pi, char * buf, int count )
count             125 drivers/block/paride/dstr.c         case 0: for (k=0;k<count;k++) {
count             133 drivers/block/paride/dstr.c                 for (k=0;k<count;k++) {
count             140 drivers/block/paride/dstr.c                 for (k=0;k<count;k++) buf[k] = r4();
count             145 drivers/block/paride/dstr.c                 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w();
count             150 drivers/block/paride/dstr.c                 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l();
count             157 drivers/block/paride/dstr.c static void dstr_write_block( PIA *pi, char * buf, int count )
count             168 drivers/block/paride/dstr.c         case 1: for (k=0;k<count;k++) {
count             175 drivers/block/paride/dstr.c                 for (k=0;k<count;k++) w4(buf[k]);
count             180 drivers/block/paride/dstr.c                 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]);
count             185 drivers/block/paride/dstr.c                 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]);
count              97 drivers/block/paride/epat.c static void epat_read_block( PIA *pi, char * buf, int count )
count             105 drivers/block/paride/epat.c 		for(k=0;k<count;k++) {
count             106 drivers/block/paride/epat.c 			if (k == count-1) w0(0xfd);
count             118 drivers/block/paride/epat.c 		for(k=0;k<count;k++) {
count             119 drivers/block/paride/epat.c 			if (k == count-1) w0(0xfd); 
count             130 drivers/block/paride/epat.c 		for(k=0;k<count-1;k++) {
count             135 drivers/block/paride/epat.c 		w2(0x26); w2(0x27); buf[count-1] = r0(); 
count             140 drivers/block/paride/epat.c 		for(k=0;k<count-1;k++) buf[k] = r4();
count             141 drivers/block/paride/epat.c 		w2(4); w3(0xa0); w2(0x24); buf[count-1] = r4();
count             146 drivers/block/paride/epat.c 		for(k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w();
count             147 drivers/block/paride/epat.c 		buf[count-2] = r4();
count             148 drivers/block/paride/epat.c 		w2(4); w3(0xa0); w2(0x24); buf[count-1] = r4();
count             153 drivers/block/paride/epat.c 		for(k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l();
count             154 drivers/block/paride/epat.c 		for(k=count-4;k<count-1;k++) buf[k] = r4();
count             155 drivers/block/paride/epat.c 		w2(4); w3(0xa0); w2(0x24); buf[count-1] = r4();
count             162 drivers/block/paride/epat.c static void epat_write_block( PIA *pi, char * buf, int count )   
count             172 drivers/block/paride/epat.c 		for(k=0;k<count;k++) {
count             181 drivers/block/paride/epat.c 		for(k=0;k<count;k++) w4(buf[k]);
count             186 drivers/block/paride/epat.c 		for(k=0;k<(count/2);k++) w4w(((u16 *)buf)[k]);
count             191 drivers/block/paride/epat.c 		for(k=0;k<(count/4);k++) w4l(((u32 *)buf)[k]);
count             136 drivers/block/paride/epia.c static void epia_read_block( PIA *pi, char * buf, int count )
count             144 drivers/block/paride/epia.c                 for (k=0;k<count;k++) {
count             156 drivers/block/paride/epia.c                 for (k=0;k<count;k++) {
count             167 drivers/block/paride/epia.c                 for (k=0;k<count;k++) {
count             175 drivers/block/paride/epia.c         case 3: if (count > 512) WR(0x84,3);
count             177 drivers/block/paride/epia.c                 for (k=0;k<count;k++) buf[k] = r4();
count             181 drivers/block/paride/epia.c         case 4: if (count > 512) WR(0x84,3);
count             183 drivers/block/paride/epia.c 		for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w();
count             187 drivers/block/paride/epia.c         case 5: if (count > 512) WR(0x84,3);
count             189 drivers/block/paride/epia.c                 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l();
count             196 drivers/block/paride/epia.c static void epia_write_block( PIA *pi, char * buf, int count )
count             206 drivers/block/paride/epia.c                 for (k=0;k<count;k++) {
count             215 drivers/block/paride/epia.c         case 3: if (count < 512) WR(0x84,1);
count             217 drivers/block/paride/epia.c                 for (k=0;k<count;k++) w4(buf[k]);
count             218 drivers/block/paride/epia.c 		if (count < 512) WR(0x84,0);
count             221 drivers/block/paride/epia.c         case 4: if (count < 512) WR(0x84,1);
count             223 drivers/block/paride/epia.c                 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]);
count             224 drivers/block/paride/epia.c 		if (count < 512) WR(0x84,0);
count             227 drivers/block/paride/epia.c         case 5: if (count < 512) WR(0x84,1);
count             229 drivers/block/paride/epia.c                 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]);
count             230 drivers/block/paride/epia.c 		if (count < 512) WR(0x84,0);
count              64 drivers/block/paride/fit2.c static void fit2_read_block( PIA *pi, char * buf, int count )
count              70 drivers/block/paride/fit2.c 	for (k=0;k<count/4;k++) {
count              90 drivers/block/paride/fit2.c static void fit2_write_block( PIA *pi, char * buf, int count )
count              96 drivers/block/paride/fit2.c 	for (k=0;k<count/2;k++) {
count              95 drivers/block/paride/fit3.c static void fit3_read_block( PIA *pi, char * buf, int count )
count             102 drivers/block/paride/fit3.c 		for (k=0;k<count/2;k++) {
count             115 drivers/block/paride/fit3.c 		for (k=0;k<count/2;k++) {
count             127 drivers/block/paride/fit3.c 		for (k=0;k<count;k++) buf[k] = r4();
count             134 drivers/block/paride/fit3.c static void fit3_write_block( PIA *pi, char * buf, int count )
count             142 drivers/block/paride/fit3.c                 for (k=0;k<count/2;k++) {
count             149 drivers/block/paride/fit3.c                 for (k=0;k<count;k++) w4(buf[k]);
count              77 drivers/block/paride/friq.c static void friq_read_block_int( PIA *pi, char * buf, int count, int regr )
count              84 drivers/block/paride/friq.c                 for (k=0;k<count;k++) {
count              95 drivers/block/paride/friq.c                 for (k=0;k<count;k++) {
count             104 drivers/block/paride/friq.c 		for (k=0;k<count-2;k++) buf[k] = r4();
count             106 drivers/block/paride/friq.c 		buf[count-2] = r4();
count             107 drivers/block/paride/friq.c 		buf[count-1] = r4();
count             112 drivers/block/paride/friq.c                 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w();
count             114 drivers/block/paride/friq.c                 buf[count-2] = r4();
count             115 drivers/block/paride/friq.c                 buf[count-1] = r4();
count             120 drivers/block/paride/friq.c                 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l();
count             121 drivers/block/paride/friq.c                 buf[count-4] = r4();
count             122 drivers/block/paride/friq.c                 buf[count-3] = r4();
count             124 drivers/block/paride/friq.c                 buf[count-2] = r4();
count             125 drivers/block/paride/friq.c                 buf[count-1] = r4();
count             132 drivers/block/paride/friq.c static void friq_read_block( PIA *pi, char * buf, int count)
count             134 drivers/block/paride/friq.c {	friq_read_block_int(pi,buf,count,0x08);
count             137 drivers/block/paride/friq.c static void friq_write_block( PIA *pi, char * buf, int count )
count             145 drivers/block/paride/friq.c         	for (k=0;k<count;k++) {
count             153 drivers/block/paride/friq.c 		for (k=0;k<count;k++) w4(buf[k]);
count             158 drivers/block/paride/friq.c                 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]);
count             163 drivers/block/paride/friq.c                 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]);
count              74 drivers/block/paride/frpw.c static void frpw_read_block_int( PIA *pi, char * buf, int count, int regr )
count              81 drivers/block/paride/frpw.c                 for (k=0;k<count;k++) {
count              92 drivers/block/paride/frpw.c                 for (k=0;k<count;k++) {
count             101 drivers/block/paride/frpw.c                 for (k=0;k<count;k++) buf[k] = r4();
count             107 drivers/block/paride/frpw.c 		for (k=0;k<count-2;k++) buf[k] = r4();
count             109 drivers/block/paride/frpw.c 		buf[count-2] = r4();
count             110 drivers/block/paride/frpw.c 		buf[count-1] = r4();
count             115 drivers/block/paride/frpw.c                 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w();
count             117 drivers/block/paride/frpw.c                 buf[count-2] = r4();
count             118 drivers/block/paride/frpw.c                 buf[count-1] = r4();
count             123 drivers/block/paride/frpw.c                 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l();
count             124 drivers/block/paride/frpw.c                 buf[count-4] = r4();
count             125 drivers/block/paride/frpw.c                 buf[count-3] = r4();
count             127 drivers/block/paride/frpw.c                 buf[count-2] = r4();
count             128 drivers/block/paride/frpw.c                 buf[count-1] = r4();
count             135 drivers/block/paride/frpw.c static void frpw_read_block( PIA *pi, char * buf, int count)
count             137 drivers/block/paride/frpw.c {	frpw_read_block_int(pi,buf,count,0x08);
count             140 drivers/block/paride/frpw.c static void frpw_write_block( PIA *pi, char * buf, int count )
count             149 drivers/block/paride/frpw.c         	for (k=0;k<count;k++) {
count             157 drivers/block/paride/frpw.c 		for (k=0;k<count;k++) w4(buf[k]);
count             162 drivers/block/paride/frpw.c                 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]);
count             167 drivers/block/paride/frpw.c                 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]);
count             134 drivers/block/paride/kbic.c static void kbic_read_block( PIA *pi, char * buf, int count )
count             141 drivers/block/paride/kbic.c                 for (k=0;k<count/2;k++) {
count             153 drivers/block/paride/kbic.c                 for (k=0;k<count/4;k++) {
count             166 drivers/block/paride/kbic.c                 for (k=0;k<count/2;k++) {
count             174 drivers/block/paride/kbic.c                 for (k=0;k<count;k++) buf[k] = r4();
count             179 drivers/block/paride/kbic.c                 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w();
count             184 drivers/block/paride/kbic.c                 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l();
count             192 drivers/block/paride/kbic.c static void kbic_write_block( PIA *pi, char * buf, int count )
count             201 drivers/block/paride/kbic.c 		for(k=0;k<count/2;k++) {
count             208 drivers/block/paride/kbic.c 		for(k=0;k<count/2;k++) {
count             216 drivers/block/paride/kbic.c                 for(k=0;k<count/2;k++) w4w(pi_swab16(buf,k));
count             221 drivers/block/paride/kbic.c                 for(k=0;k<count/4;k++) w4l(pi_swab32(buf,k));
count              54 drivers/block/paride/ktti.c static void ktti_read_block( PIA *pi, char * buf, int count )
count              58 drivers/block/paride/ktti.c 	for (k=0;k<count/2;k++) {
count              67 drivers/block/paride/ktti.c static void ktti_write_block( PIA *pi, char * buf, int count )
count              71 drivers/block/paride/ktti.c 	for (k=0;k<count/2;k++) {
count              87 drivers/block/paride/on20.c static void on20_read_block( PIA *pi, char * buf, int count )
count              93 drivers/block/paride/on20.c 	for (k=0;k<count;k++) 
count             104 drivers/block/paride/on20.c static void on20_write_block(  PIA *pi, char * buf, int count )
count             110 drivers/block/paride/on20.c 	for (k=0;k<count;k++) { w2(5); w0(buf[k]); w2(7); }
count             186 drivers/block/paride/on26.c static void on26_read_block( PIA *pi, char * buf, int count )
count             194 drivers/block/paride/on26.c 		for (k=0;k<count;k++) {
count             204 drivers/block/paride/on26.c                 for (k=0;k<count/2;k++) {
count             214 drivers/block/paride/on26.c                 for (k=0;k<count;k++) buf[k] = r4();
count             221 drivers/block/paride/on26.c                 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w();
count             228 drivers/block/paride/on26.c                 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l();
count             235 drivers/block/paride/on26.c static void on26_write_block( PIA *pi, char * buf, int count )
count             245 drivers/block/paride/on26.c 		for (k=0;k<count/2;k++) {
count             256 drivers/block/paride/on26.c                 for (k=0;k<count;k++) w4(buf[k]);
count             263 drivers/block/paride/on26.c                 for (k=0;k<count/2;k++) w4w(((u16 *)buf)[k]);
count             270 drivers/block/paride/on26.c                 for (k=0;k<count/4;k++) w4l(((u32 *)buf)[k]);
count              59 drivers/block/paride/paride.c void pi_write_block(PIA * pi, char *buf, int count)
count              61 drivers/block/paride/paride.c 	pi->proto->write_block(pi, buf, count);
count              66 drivers/block/paride/paride.c void pi_read_block(PIA * pi, char *buf, int count)
count              68 drivers/block/paride/paride.c 	pi->proto->read_block(pi, buf, count);
count              87 drivers/block/paride/paride.h extern void pi_write_block(PIA *pi, char * buf, int count);
count              89 drivers/block/paride/paride.h extern void pi_read_block(PIA *pi, char * buf, int count);
count             340 drivers/block/paride/pd.c static void pd_ide_command(struct pd_unit *disk, int func, int block, int count)
count             355 drivers/block/paride/pd.c 	pd_send_command(disk, count, s, h, c0, c1, func);
count             201 drivers/block/paride/pg.c 		       size_t count, loff_t * ppos);
count             203 drivers/block/paride/pg.c 			size_t count, loff_t * ppos);
count             576 drivers/block/paride/pg.c static ssize_t pg_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos)
count             584 drivers/block/paride/pg.c 	if (count < hs)
count             594 drivers/block/paride/pg.c 	if ((count - hs) > PG_MAX_DATA)
count             598 drivers/block/paride/pg.c 		if (count != hs)
count             602 drivers/block/paride/pg.c 		return count;
count             619 drivers/block/paride/pg.c 	if (copy_from_user(dev->bufptr, buf + hs, count - hs))
count             621 drivers/block/paride/pg.c 	return count;
count             624 drivers/block/paride/pg.c static ssize_t pg_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos)
count             633 drivers/block/paride/pg.c 	if (count < hs)
count             650 drivers/block/paride/pg.c 		if (copy > (count - hs))
count             651 drivers/block/paride/pg.c 			copy = count - hs;
count             111 drivers/block/paride/ppc6lnx.c static void ppc6_rd_data_blk(Interface *ppc, u8 *data, long count);
count             113 drivers/block/paride/ppc6lnx.c static void ppc6_wr_data_blk(Interface *ppc, u8 *data, long count);
count             379 drivers/block/paride/ppc6lnx.c static void ppc6_rd_data_blk(Interface *ppc, u8 *data, long count)
count             386 drivers/block/paride/ppc6lnx.c 			while(count)
count             409 drivers/block/paride/ppc6lnx.c 				count--;
count             424 drivers/block/paride/ppc6lnx.c 			while(count)
count             431 drivers/block/paride/ppc6lnx.c 				count--;
count             451 drivers/block/paride/ppc6lnx.c 			while(count)
count             454 drivers/block/paride/ppc6lnx.c 				count--;
count             468 drivers/block/paride/ppc6lnx.c 			while(count > 1)
count             472 drivers/block/paride/ppc6lnx.c 				count -= 2;
count             475 drivers/block/paride/ppc6lnx.c 			while(count)
count             478 drivers/block/paride/ppc6lnx.c 				count--;
count             492 drivers/block/paride/ppc6lnx.c 			while(count > 3)
count             496 drivers/block/paride/ppc6lnx.c 				count -= 4;
count             499 drivers/block/paride/ppc6lnx.c 			while(count)
count             502 drivers/block/paride/ppc6lnx.c 				count--;
count             528 drivers/block/paride/ppc6lnx.c static void ppc6_wr_data_blk(Interface *ppc, u8 *data, long count)
count             535 drivers/block/paride/ppc6lnx.c 			while(count--)
count             562 drivers/block/paride/ppc6lnx.c 			while(count)
count             565 drivers/block/paride/ppc6lnx.c 				count--;
count             592 drivers/block/paride/ppc6lnx.c 			while(count)
count             595 drivers/block/paride/ppc6lnx.c 				count--;
count             605 drivers/block/paride/ppc6lnx.c 			while(count > 1)
count             609 drivers/block/paride/ppc6lnx.c 				count -= 2;
count             612 drivers/block/paride/ppc6lnx.c 			while(count)
count             615 drivers/block/paride/ppc6lnx.c 				count--;
count             625 drivers/block/paride/ppc6lnx.c 			while(count > 3)
count             629 drivers/block/paride/ppc6lnx.c 				count -= 4;
count             632 drivers/block/paride/ppc6lnx.c 			while(count)
count             635 drivers/block/paride/ppc6lnx.c 				count--;
count             199 drivers/block/paride/pt.c 		       size_t count, loff_t * ppos);
count             201 drivers/block/paride/pt.c 			size_t count, loff_t * ppos);
count             765 drivers/block/paride/pt.c static ssize_t pt_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
count             784 drivers/block/paride/pt.c 	while (count > 0) {
count             789 drivers/block/paride/pt.c 		n = count;
count             842 drivers/block/paride/pt.c 				if (b > count)
count             843 drivers/block/paride/pt.c 					b = count;
count             849 drivers/block/paride/pt.c 				count -= b;
count             862 drivers/block/paride/pt.c static ssize_t pt_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
count             885 drivers/block/paride/pt.c 	while (count > 0) {
count             890 drivers/block/paride/pt.c 		n = count;
count             941 drivers/block/paride/pt.c 				if (b > count)
count             942 drivers/block/paride/pt.c 					b = count;
count             949 drivers/block/paride/pt.c 				count -= b;
count             375 drivers/block/pktcdvd.c 			 const char *buf, size_t count)
count             388 drivers/block/pktcdvd.c 		return count;
count             396 drivers/block/pktcdvd.c 			    const char *buf, size_t count)
count             401 drivers/block/pktcdvd.c 		return count;
count             253 drivers/block/ps3vram.c 			  int len, int count)
count             264 drivers/block/ps3vram.c 	ps3vram_out_ring(priv, count);
count             285 drivers/block/ps3vram.c 			    int len, int count)
count             296 drivers/block/ps3vram.c 	ps3vram_out_ring(priv, count);
count             435 drivers/block/ps3vram.c 	unsigned int cached, count;
count             447 drivers/block/ps3vram.c 	count = len;
count             448 drivers/block/ps3vram.c 	while (count) {
count             460 drivers/block/ps3vram.c 			(unsigned int)from, cached, offset, avail, count);
count             462 drivers/block/ps3vram.c 		if (avail > count)
count             463 drivers/block/ps3vram.c 			avail = count;
count             467 drivers/block/ps3vram.c 		count -= avail;
count             479 drivers/block/ps3vram.c 	unsigned int cached, count;
count             488 drivers/block/ps3vram.c 	count = len;
count             489 drivers/block/ps3vram.c 	while (count) {
count             501 drivers/block/ps3vram.c 			cached, offset, avail, count);
count             503 drivers/block/ps3vram.c 		if (avail > count)
count             504 drivers/block/ps3vram.c 			avail = count;
count             510 drivers/block/ps3vram.c 		count -= avail;
count             498 drivers/block/rbd.c static ssize_t add_store(struct bus_type *bus, const char *buf, size_t count);
count             500 drivers/block/rbd.c 			    size_t count);
count             502 drivers/block/rbd.c 				      size_t count);
count             504 drivers/block/rbd.c 					 size_t count);
count            5361 drivers/block/rbd.c 	ssize_t count = 0;
count            5369 drivers/block/rbd.c 		count += sprintf(&buf[count], "%s"
count            5375 drivers/block/rbd.c 			    !count ? "" : "\n", /* first? */
count            5383 drivers/block/rbd.c 	return count;
count            7053 drivers/block/rbd.c 			  size_t count)
count            7139 drivers/block/rbd.c 	rc = count;
count            7159 drivers/block/rbd.c static ssize_t add_store(struct bus_type *bus, const char *buf, size_t count)
count            7164 drivers/block/rbd.c 	return do_rbd_add(bus, buf, count);
count            7168 drivers/block/rbd.c 				      size_t count)
count            7170 drivers/block/rbd.c 	return do_rbd_add(bus, buf, count);
count            7202 drivers/block/rbd.c 			     size_t count)
count            7268 drivers/block/rbd.c 	return count;
count            7271 drivers/block/rbd.c static ssize_t remove_store(struct bus_type *bus, const char *buf, size_t count)
count            7276 drivers/block/rbd.c 	return do_rbd_remove(bus, buf, count);
count            7280 drivers/block/rbd.c 					 size_t count)
count            7282 drivers/block/rbd.c 	return do_rbd_remove(bus, buf, count);
count              27 drivers/block/rsxx/config.c 	cfg->data.intr_coal.count   = 0;
count             191 drivers/block/rsxx/config.c 		card->config.data.intr_coal.count);
count             579 drivers/block/rsxx/cregs.c static int substrncpy(char *dest, const char *src, int count)
count             581 drivers/block/rsxx/cregs.c 	int max_cnt = count;
count             583 drivers/block/rsxx/cregs.c 	while (count) {
count             584 drivers/block/rsxx/cregs.c 		count--;
count             591 drivers/block/rsxx/cregs.c 	return max_cnt - count;
count              35 drivers/block/rsxx/dma.c 	__le16	count;
count             178 drivers/block/rsxx/dma.c static u32 dma_intr_coal_val(u32 mode, u32 count, u32 latency)
count             185 drivers/block/rsxx/dma.c 	return ((count << INTR_COAL_COUNT_SHIFT) & INTR_COAL_COUNT_MASK) |
count             498 drivers/block/rsxx/dma.c 	u16 count;
count             510 drivers/block/rsxx/dma.c 	count = le16_to_cpu(hw_st_buf[ctrl->status.idx].count);
count             512 drivers/block/rsxx/dma.c 	while (count == ctrl->e_cnt) {
count             541 drivers/block/rsxx/dma.c 			ctrl->id, dma->laddr, tag, status, count,
count             560 drivers/block/rsxx/dma.c 		count = le16_to_cpu(hw_st_buf[ctrl->status.idx].count);
count             883 drivers/block/rsxx/dma.c 				      card->config.data.intr_coal.count,
count              36 drivers/block/rsxx/rsxx_cfg.h 		__u32	count;	/* Number of intr to coalesce     */
count             386 drivers/block/skd_main.c 	int *count = data;
count             388 drivers/block/skd_main.c 	count++;
count             394 drivers/block/skd_main.c 	int count = 0;
count             396 drivers/block/skd_main.c 	blk_mq_tagset_busy_iter(&skdev->tag_set, skd_inc_in_flight, &count);
count             398 drivers/block/skd_main.c 	return count;
count             404 drivers/block/skd_main.c 		unsigned count)
count             417 drivers/block/skd_main.c 	scsi_req->cdb[7] = (count & 0xff00) >> 8;
count             418 drivers/block/skd_main.c 	scsi_req->cdb[8] = count & 0xff;
count             491 drivers/block/skd_main.c 	const u32 count = blk_rq_sectors(req);
count             511 drivers/block/skd_main.c 		lba, count, count, data_dir);
count             567 drivers/block/skd_main.c 		skd_prep_rw_cdb(scsi_req, data_dir, lba, count);
count            3582 drivers/block/skd_main.c 	u32 count = blk_rq_sectors(req);
count            3593 drivers/block/skd_main.c 		count, count, (int)rq_data_dir(req));
count             237 drivers/block/swim3.c static void init_dma(struct dbdma_cmd *cp, int cmd, void *buf, int count);
count             408 drivers/block/swim3.c 			    void *buf, int count)
count             410 drivers/block/swim3.c 	cp->req_count = cpu_to_le16(count);
count             569 drivers/block/umem.c 		unsigned char	stat, count, syndrome, check;
count             581 drivers/block/umem.c 		count = readb(card->csr_remap + ERROR_COUNT);
count             590 drivers/block/umem.c 				count);
count             691 drivers/block/virtio_blk.c 		 const char *buf, size_t count)
count             705 drivers/block/virtio_blk.c 	return count;
count             332 drivers/block/xen-blkback/blkback.c 			unmap_data.count = segs_to_unmap;
count             373 drivers/block/xen-blkback/blkback.c 			unmap_data.count = segs_to_unmap;
count             381 drivers/block/xen-blkback/blkback.c 		unmap_data.count = segs_to_unmap;
count             730 drivers/block/xen-blkback/blkback.c 	put_free_pages(ring, data->pages, data->count);
count             767 drivers/block/xen-blkback/blkback.c 	work->count = invcount;
count             491 drivers/block/xsysace.c 	int count;
count             674 drivers/block/xsysace.c 		count = blk_rq_sectors(req);
count             680 drivers/block/xsysace.c 				count | ACE_SECCNTCMD_WRITE_DATA);
count             686 drivers/block/xsysace.c 				count | ACE_SECCNTCMD_READ_DATA);
count             863 drivers/block/zram/zram_drv.c 				size_t count, loff_t *ppos)
count             871 drivers/block/zram/zram_drv.c 	kbuf = kvmalloc(count, GFP_KERNEL);
count             890 drivers/block/zram/zram_drv.c 		copied = snprintf(kbuf + written, count,
count             899 drivers/block/zram/zram_drv.c 		if (count < copied) {
count             904 drivers/block/zram/zram_drv.c 		count -= copied;
count            2031 drivers/block/zram/zram_drv.c 			size_t count)
count            2055 drivers/block/zram/zram_drv.c 	return ret ? ret : count;
count             193 drivers/bluetooth/ath3k.c 					    int count)
count             196 drivers/bluetooth/ath3k.c 	       err, len, size, count);
count             211 drivers/bluetooth/ath3k.c 	int count = firmware->size;
count             232 drivers/bluetooth/ath3k.c 	count -= FW_HDR_SIZE;
count             236 drivers/bluetooth/ath3k.c 	while (count) {
count             240 drivers/bluetooth/ath3k.c 		size = min_t(uint, count, BULK_SIZE);
count             247 drivers/bluetooth/ath3k.c 			ath3k_log_failed_loading(err, len, size, count);
count             252 drivers/bluetooth/ath3k.c 		count -= size;
count             307 drivers/bluetooth/ath3k.c 	int err, pipe, size, count, sent = 0;
count             310 drivers/bluetooth/ath3k.c 	count = firmware->size;
count             318 drivers/bluetooth/ath3k.c 	size = min_t(uint, count, FW_HDR_SIZE);
count             332 drivers/bluetooth/ath3k.c 	count -= size;
count             336 drivers/bluetooth/ath3k.c 	while (count) {
count             340 drivers/bluetooth/ath3k.c 		size = min_t(uint, count, BULK_SIZE);
count             346 drivers/bluetooth/ath3k.c 			ath3k_log_failed_loading(err, len, size, count);
count             351 drivers/bluetooth/ath3k.c 		count -= size;
count             338 drivers/bluetooth/bfusb.c 	int count = urb->actual_length;
count             348 drivers/bluetooth/bfusb.c 	if (urb->status || !count)
count             351 drivers/bluetooth/bfusb.c 	data->hdev->stat.byte_rx += count;
count             353 drivers/bluetooth/bfusb.c 	skb_put(skb, count);
count             355 drivers/bluetooth/bfusb.c 	while (count) {
count             360 drivers/bluetooth/bfusb.c 			count -= 2;
count             364 drivers/bluetooth/bfusb.c 			count -= 3;
count             368 drivers/bluetooth/bfusb.c 		if (count < len) {
count             376 drivers/bluetooth/bfusb.c 		count -= len;
count             455 drivers/bluetooth/bfusb.c 	int sent = 0, size, count;
count             475 drivers/bluetooth/bfusb.c 	count = skb->len;
count             478 drivers/bluetooth/bfusb.c 	nskb = bt_skb_alloc(count + 32, GFP_KERNEL);
count             486 drivers/bluetooth/bfusb.c 	while (count) {
count             487 drivers/bluetooth/bfusb.c 		size = min_t(uint, count, BFUSB_MAX_BLOCK_SIZE);
count             489 drivers/bluetooth/bfusb.c 		buf[0] = 0xc1 | ((sent == 0) ? 0x04 : 0) | ((count == size) ? 0x08 : 0);
count             497 drivers/bluetooth/bfusb.c 		count -= size;
count             520 drivers/bluetooth/bfusb.c 			       const unsigned char *firmware, int count)
count             548 drivers/bluetooth/bfusb.c 	while (count) {
count             549 drivers/bluetooth/bfusb.c 		size = min_t(uint, count, BFUSB_MAX_BLOCK_SIZE + 3);
count             562 drivers/bluetooth/bfusb.c 		count -= size;
count             447 drivers/bluetooth/bt3c_cs.c 			      int count)
count             468 drivers/bluetooth/bt3c_cs.c 	while (count) {
count             517 drivers/bluetooth/bt3c_cs.c 		count -= (size * 2) + 6;
count             506 drivers/bluetooth/btintel.c static int regmap_ibt_write(void *context, const void *data, size_t count)
count             511 drivers/bluetooth/btintel.c 	if (WARN_ONCE(count < 4, "Invalid register access"))
count             514 drivers/bluetooth/btintel.c 	return regmap_ibt_gather_write(context, data, 4, data + 4, count - 4);
count              35 drivers/bluetooth/btmrvl_debugfs.c 			const char __user *ubuf, size_t count, loff_t *ppos)
count              40 drivers/bluetooth/btmrvl_debugfs.c 	ret = kstrtol_from_user(ubuf, count, 10, &result);
count              51 drivers/bluetooth/btmrvl_debugfs.c 	return count;
count              55 drivers/bluetooth/btmrvl_debugfs.c 						size_t count, loff_t *ppos)
count              64 drivers/bluetooth/btmrvl_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, ret);
count              75 drivers/bluetooth/btmrvl_debugfs.c 						size_t count, loff_t *ppos)
count              80 drivers/bluetooth/btmrvl_debugfs.c 	ret = kstrtol_from_user(ubuf, count, 10, &result);
count              91 drivers/bluetooth/btmrvl_debugfs.c 	return count;
count              96 drivers/bluetooth/btmrvl_debugfs.c 						size_t count, loff_t *ppos)
count             104 drivers/bluetooth/btmrvl_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, ret);
count             115 drivers/bluetooth/btmrvl_debugfs.c 						size_t count, loff_t *ppos)
count             120 drivers/bluetooth/btmrvl_debugfs.c 	ret = kstrtol_from_user(ubuf, count, 10, &result);
count             130 drivers/bluetooth/btmrvl_debugfs.c 	return count;
count             134 drivers/bluetooth/btmrvl_debugfs.c 						size_t count, loff_t *ppos)
count             142 drivers/bluetooth/btmrvl_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, ret);
count             624 drivers/bluetooth/btmrvl_sdio.c 	int txlen = 0, tx_blocks = 0, count = 0;
count             708 drivers/bluetooth/btmrvl_sdio.c 			count++;
count             709 drivers/bluetooth/btmrvl_sdio.c 			if (count > MAX_WRITE_IOMEM_RETRY) {
count             721 drivers/bluetooth/btmrvl_sdio.c 			count = 0;
count             737 drivers/bluetooth/btmrvl_sdio.c 							count, offset);
count             426 drivers/bluetooth/btmtkuart.c mtk_stp_split(struct btmtkuart_dev *bdev, const unsigned char *data, int count,
count             436 drivers/bluetooth/btmtkuart.c 	while (bdev->stp_cursor < 6 && count > 0) {
count             440 drivers/bluetooth/btmtkuart.c 		count--;
count             458 drivers/bluetooth/btmtkuart.c 	if (count <= 0)
count             462 drivers/bluetooth/btmtkuart.c 	*sz_h4 = min_t(int, count, bdev->stp_dlen);
count             471 drivers/bluetooth/btmtkuart.c static int btmtkuart_recv(struct hci_dev *hdev, const u8 *data, size_t count)
count             475 drivers/bluetooth/btmtkuart.c 	int sz_left = count, sz_h4, adv;
count             521 drivers/bluetooth/btmtkuart.c 				 size_t count)
count             526 drivers/bluetooth/btmtkuart.c 	err = btmtkuart_recv(bdev->hdev, data, count);
count             530 drivers/bluetooth/btmtkuart.c 	bdev->hdev->stat.byte_rx += count;
count             532 drivers/bluetooth/btmtkuart.c 	return count;
count              28 drivers/bluetooth/btqcomsmd.c 			   const void *data, size_t count)
count              33 drivers/bluetooth/btqcomsmd.c 	skb = bt_skb_alloc(count, GFP_ATOMIC);
count              40 drivers/bluetooth/btqcomsmd.c 	skb_put_data(skb, data, count);
count              46 drivers/bluetooth/btqcomsmd.c 				  int count, void *priv, u32 addr)
count              50 drivers/bluetooth/btqcomsmd.c 	btq->hdev->stat.byte_rx += count;
count              51 drivers/bluetooth/btqcomsmd.c 	return btqcomsmd_recv(btq->hdev, HCI_ACLDATA_PKT, data, count);
count              55 drivers/bluetooth/btqcomsmd.c 				  int count, void *priv, u32 addr)
count              59 drivers/bluetooth/btqcomsmd.c 	btq->hdev->stat.byte_rx += count;
count              60 drivers/bluetooth/btqcomsmd.c 	return btqcomsmd_recv(btq->hdev, HCI_EVENT_PKT, data, count);
count             490 drivers/bluetooth/btusb.c 	int (*recv_bulk)(struct btusb_data *data, void *buffer, int count);
count             578 drivers/bluetooth/btusb.c static int btusb_recv_intr(struct btusb_data *data, void *buffer, int count)
count             587 drivers/bluetooth/btusb.c 	while (count) {
count             601 drivers/bluetooth/btusb.c 		len = min_t(uint, hci_skb_expect(skb), count);
count             604 drivers/bluetooth/btusb.c 		count -= len;
count             634 drivers/bluetooth/btusb.c static int btusb_recv_bulk(struct btusb_data *data, void *buffer, int count)
count             643 drivers/bluetooth/btusb.c 	while (count) {
count             657 drivers/bluetooth/btusb.c 		len = min_t(uint, hci_skb_expect(skb), count);
count             660 drivers/bluetooth/btusb.c 		count -= len;
count             692 drivers/bluetooth/btusb.c static int btusb_recv_isoc(struct btusb_data *data, void *buffer, int count)
count             701 drivers/bluetooth/btusb.c 	while (count) {
count             715 drivers/bluetooth/btusb.c 		len = min_t(uint, hci_skb_expect(skb), count);
count             718 drivers/bluetooth/btusb.c 		count -= len;
count            1994 drivers/bluetooth/btusb.c 				 int count)
count            2001 drivers/bluetooth/btusb.c 		return btusb_recv_intr(data, buffer, count);
count            2003 drivers/bluetooth/btusb.c 	return btusb_recv_bulk(data, buffer, count);
count            3222 drivers/bluetooth/btusb.c 	size_t count, size, sent = 0;
count            3230 drivers/bluetooth/btusb.c 	count = firmware->size;
count            3232 drivers/bluetooth/btusb.c 	size = min_t(size_t, count, hdr_size);
count            3249 drivers/bluetooth/btusb.c 	count -= size;
count            3251 drivers/bluetooth/btusb.c 	while (count) {
count            3252 drivers/bluetooth/btusb.c 		size = min_t(size_t, count, QCA_DFU_PACKET_LEN);
count            3272 drivers/bluetooth/btusb.c 		count -= size;
count              44 drivers/bluetooth/h4_recv.h 					  int count,
count              52 drivers/bluetooth/h4_recv.h 	while (count) {
count              74 drivers/bluetooth/h4_recv.h 			count -= 1;
count              78 drivers/bluetooth/h4_recv.h 		len = min_t(uint, hci_skb_expect(skb) - skb->len, count);
count              81 drivers/bluetooth/h4_recv.h 		count -= len;
count             101 drivers/bluetooth/hci_ag6xx.c static int ag6xx_recv(struct hci_uart *hu, const void *data, int count)
count             108 drivers/bluetooth/hci_ag6xx.c 	ag6xx->rx_skb = h4_recv_buf(hu->hdev, ag6xx->rx_skb, data, count,
count             118 drivers/bluetooth/hci_ag6xx.c 	return count;
count             190 drivers/bluetooth/hci_ath.c static int ath_recv(struct hci_uart *hu, const void *data, int count)
count             194 drivers/bluetooth/hci_ath.c 	ath->rx_skb = h4_recv_buf(hu->hdev, ath->rx_skb, data, count,
count             203 drivers/bluetooth/hci_ath.c 	return count;
count             628 drivers/bluetooth/hci_bcm.c static int bcm_recv(struct hci_uart *hu, const void *data, int count)
count             635 drivers/bluetooth/hci_bcm.c 	bcm->rx_skb = h4_recv_buf(hu->hdev, bcm->rx_skb, data, count,
count             653 drivers/bluetooth/hci_bcm.c 	return count;
count             580 drivers/bluetooth/hci_bcsp.c static int bcsp_recv(struct hci_uart *hu, const void *data, int count)
count             586 drivers/bluetooth/hci_bcsp.c 	       hu, count, bcsp->rx_state, bcsp->rx_count);
count             589 drivers/bluetooth/hci_bcsp.c 	while (count) {
count             600 drivers/bluetooth/hci_bcsp.c 			ptr++; count--;
count             653 drivers/bluetooth/hci_bcsp.c 			ptr++; count--;
count             659 drivers/bluetooth/hci_bcsp.c 				ptr++; count--;
count             685 drivers/bluetooth/hci_bcsp.c 	return count;
count             109 drivers/bluetooth/hci_h4.c static int h4_recv(struct hci_uart *hu, const void *data, int count)
count             116 drivers/bluetooth/hci_h4.c 	h4->rx_skb = h4_recv_buf(hu->hdev, h4->rx_skb, data, count,
count             125 drivers/bluetooth/hci_h4.c 	return count;
count             156 drivers/bluetooth/hci_h4.c 			    const unsigned char *buffer, int count,
count             166 drivers/bluetooth/hci_h4.c 	while (count) {
count             170 drivers/bluetooth/hci_h4.c 		for (; hu->padding && count > 0; hu->padding--) {
count             171 drivers/bluetooth/hci_h4.c 			count--;
count             174 drivers/bluetooth/hci_h4.c 		if (!count)
count             196 drivers/bluetooth/hci_h4.c 			count -= 1;
count             200 drivers/bluetooth/hci_h4.c 		len = min_t(uint, hci_skb_expect(skb) - skb->len, count);
count             203 drivers/bluetooth/hci_h4.c 		count -= len;
count             539 drivers/bluetooth/hci_h5.c static int h5_recv(struct hci_uart *hu, const void *data, int count)
count             545 drivers/bluetooth/hci_h5.c 	       count);
count             547 drivers/bluetooth/hci_h5.c 	while (count > 0) {
count             559 drivers/bluetooth/hci_h5.c 			ptr++; count--;
count             568 drivers/bluetooth/hci_h5.c 		count -= processed;
count             979 drivers/bluetooth/hci_intel.c static int intel_recv(struct hci_uart *hu, const void *data, int count)
count             986 drivers/bluetooth/hci_intel.c 	intel->rx_skb = h4_recv_buf(hu->hdev, intel->rx_skb, data, count,
count             996 drivers/bluetooth/hci_intel.c 	return count;
count             596 drivers/bluetooth/hci_ldisc.c 				 char *flags, int count)
count             613 drivers/bluetooth/hci_ldisc.c 	hu->proto->recv(hu, data, count);
count             617 drivers/bluetooth/hci_ldisc.c 		hu->hdev->stat.byte_rx += count;
count             810 drivers/bluetooth/hci_ldisc.c 				  const unsigned char *data, size_t count)
count             425 drivers/bluetooth/hci_ll.c static int ll_recv(struct hci_uart *hu, const void *data, int count)
count             432 drivers/bluetooth/hci_ll.c 	ll->rx_skb = h4_recv_buf(hu->hdev, ll->rx_skb, data, count,
count             441 drivers/bluetooth/hci_ll.c 	return count;
count             250 drivers/bluetooth/hci_mrvl.c static int mrvl_recv(struct hci_uart *hu, const void *data, int count)
count             257 drivers/bluetooth/hci_mrvl.c 	mrvl->rx_skb = h4_recv_buf(hu->hdev, mrvl->rx_skb, data, count,
count             267 drivers/bluetooth/hci_mrvl.c 	return count;
count             623 drivers/bluetooth/hci_nokia.c static int nokia_recv(struct hci_uart *hu, const void *data, int count)
count             632 drivers/bluetooth/hci_nokia.c 	btdev->rx_skb = h4_recv_buf(hu->hdev, btdev->rx_skb, data, count,
count             641 drivers/bluetooth/hci_nokia.c 	return count;
count             936 drivers/bluetooth/hci_qca.c static int qca_recv(struct hci_uart *hu, const void *data, int count)
count             943 drivers/bluetooth/hci_qca.c 	qca->rx_skb = h4_recv_buf(hu->hdev, qca->rx_skb, data, count,
count             952 drivers/bluetooth/hci_qca.c 	return count;
count             240 drivers/bluetooth/hci_serdev.c 				   size_t count)
count             255 drivers/bluetooth/hci_serdev.c 	hu->proto->recv(hu, data, count);
count             258 drivers/bluetooth/hci_serdev.c 		hu->hdev->stat.byte_rx += count;
count             260 drivers/bluetooth/hci_serdev.c 	return count;
count             147 drivers/bluetooth/hci_uart.h 			    const unsigned char *buffer, int count,
count             217 drivers/bluetooth/hci_vhci.c 				    char __user *buf, int count)
count             222 drivers/bluetooth/hci_vhci.c 	len = min_t(unsigned int, skb->len, count);
count             248 drivers/bluetooth/hci_vhci.c 			 char __user *buf, size_t count, loff_t *pos)
count             254 drivers/bluetooth/hci_vhci.c 	while (count) {
count             257 drivers/bluetooth/hci_vhci.c 			ret = vhci_put_user(data, skb, buf, count);
count             157 drivers/bus/brcmstb_gisb.c 				    const char *buf, size_t count)
count             173 drivers/bus/brcmstb_gisb.c 	return count;
count             274 drivers/bus/hisi_lpc.c 			     size_t dwidth, unsigned int count)
count             281 drivers/bus/hisi_lpc.c 	if (!lpcdev || !buf || !count || !dwidth || dwidth > LPC_MAX_DWIDTH)
count             298 drivers/bus/hisi_lpc.c 	} while (--count);
count             313 drivers/bus/hisi_lpc.c 			       unsigned int count)
count             320 drivers/bus/hisi_lpc.c 	if (!lpcdev || !buf || !count || !dwidth || dwidth > LPC_MAX_DWIDTH)
count             333 drivers/bus/hisi_lpc.c 	} while (--count);
count             383 drivers/bus/hisi_lpc.c 	int count;
count             407 drivers/bus/hisi_lpc.c 	count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL);
count             408 drivers/bus/hisi_lpc.c 	if (count <= 0) {
count             410 drivers/bus/hisi_lpc.c 		return count ? count : -EIO;
count             413 drivers/bus/hisi_lpc.c 	resources = devm_kcalloc(hostdev, count, sizeof(*resources),
count             417 drivers/bus/hisi_lpc.c 			 count);
count             421 drivers/bus/hisi_lpc.c 	count = 0;
count             423 drivers/bus/hisi_lpc.c 		resources[count++] = *rentry->res;
count             428 drivers/bus/hisi_lpc.c 	for (i = 0; i < count; i++) {
count             441 drivers/bus/hisi_lpc.c 	*num_res = count;
count             288 drivers/bus/moxtet.c 	for (i = 0; i < moxtet->count; ++i) {
count             355 drivers/bus/moxtet.c 	moxtet->count = 0;
count             366 drivers/bus/moxtet.c 		++moxtet->count;
count             391 drivers/bus/moxtet.c 		.len = moxtet->count + 1
count             411 drivers/bus/moxtet.c 	if (mdev->idx >= moxtet->count)
count             428 drivers/bus/moxtet.c 	if (mdev->idx >= moxtet->count)
count             433 drivers/bus/moxtet.c 	moxtet->tx[moxtet->count - mdev->idx] = val;
count             436 drivers/bus/moxtet.c 			moxtet->count + 1);
count             449 drivers/bus/moxtet.c 	if (mdev->idx >= moxtet->count)
count             452 drivers/bus/moxtet.c 	return moxtet->tx[moxtet->count - mdev->idx];
count             476 drivers/bus/moxtet.c 	n = moxtet->count + 1;
count             501 drivers/bus/moxtet.c 	for (i = 0; i < moxtet->count; ++i)
count             502 drivers/bus/moxtet.c 		p = hex_byte_pack(p, moxtet->tx[moxtet->count - i]);
count             521 drivers/bus/moxtet.c 	if (len > 2 * moxtet->count + 1 || len < 2 * moxtet->count)
count             531 drivers/bus/moxtet.c 	err = hex2bin(bin, hex, moxtet->count);
count             537 drivers/bus/moxtet.c 	for (i = 0; i < moxtet->count; ++i)
count             538 drivers/bus/moxtet.c 		moxtet->tx[moxtet->count - i] = bin[i];
count             541 drivers/bus/moxtet.c 			moxtet->count + 1);
count             390 drivers/cdrom/gdrom.c 	int count;
count             392 drivers/cdrom/gdrom.c 	for (count = 0xa0000000; count < 0xa0200000; count += 4)
count             393 drivers/cdrom/gdrom.c 		__raw_readl(count);
count              55 drivers/char/adi.c 			size_t count, loff_t *offp)
count              63 drivers/char/adi.c 	ver_buf_sz = min_t(size_t, count, MAX_BUF_SZ);
count              70 drivers/char/adi.c 	while (bytes_read < count) {
count              89 drivers/char/adi.c 			ver_buf_sz = min(count - bytes_read,
count             132 drivers/char/adi.c 			 size_t count, loff_t *offp)
count             140 drivers/char/adi.c 	if (count <= 0)
count             143 drivers/char/adi.c 	ver_buf_sz = min_t(size_t, count, MAX_BUF_SZ);
count             166 drivers/char/adi.c 		ver_buf_sz = min(count - bytes_written, (size_t)MAX_BUF_SZ);
count             167 drivers/char/adi.c 	} while (bytes_written < count);
count             238 drivers/char/agp/efficeon-agp.c 	int i, count = mem->page_count, num_entries;
count             243 drivers/char/agp/efficeon-agp.c 	printk(KERN_DEBUG PFX "efficeon_insert_memory(%lx, %d)\n", pg_start, count);
count             257 drivers/char/agp/efficeon-agp.c 	for (i = 0; i < count; i++) {
count             287 drivers/char/agp/efficeon-agp.c 	int i, count = mem->page_count, num_entries;
count             289 drivers/char/agp/efficeon-agp.c 	printk(KERN_DEBUG PFX "efficeon_remove_memory(%lx, %d)\n", pg_start, count);
count             298 drivers/char/agp/efficeon-agp.c 	for (i = 0; i < count; i++) {
count             203 drivers/char/apm-emulation.c static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t *ppos)
count             207 drivers/char/apm-emulation.c 	int i = count, ret = 0;
count             209 drivers/char/apm-emulation.c 	if (count < sizeof(apm_event_t))
count             234 drivers/char/apm-emulation.c 	if (i < count)
count             235 drivers/char/apm-emulation.c 		ret = count - i;
count             357 drivers/char/applicom.c static ssize_t ac_write(struct file *file, const char __user *buf, size_t count, loff_t * ppos)
count             370 drivers/char/applicom.c 	if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
count             374 drivers/char/applicom.c 			       count, sizeof(struct st_ram_io) + sizeof(struct mailbox));
count             539 drivers/char/applicom.c static ssize_t ac_read (struct file *filp, char __user *buf, size_t count, loff_t *ptr)
count             550 drivers/char/applicom.c 	if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
count             552 drivers/char/applicom.c 			count,sizeof(struct st_ram_io) + sizeof(struct mailbox));
count             220 drivers/char/ds1620.c ds1620_read(struct file *file, char __user *buf, size_t count, loff_t *ptr)
count              60 drivers/char/dsp56k.c #define handshake(count, maxio, timeout, ENABLE, f) \
count              63 drivers/char/dsp56k.c 	while (count > 0) { \
count              64 drivers/char/dsp56k.c 		m = min_t(unsigned long, count, maxio); \
count              72 drivers/char/dsp56k.c 		count -= m; \
count             181 drivers/char/dsp56k.c static ssize_t dsp56k_read(struct file *file, char __user *buf, size_t count,
count             195 drivers/char/dsp56k.c 		if (!count) return 0;
count             201 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
count             209 drivers/char/dsp56k.c 			count /= 2;
count             211 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
count             217 drivers/char/dsp56k.c 			count /= 3;
count             218 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
count             228 drivers/char/dsp56k.c 			count /= 4;
count             230 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
count             244 drivers/char/dsp56k.c static ssize_t dsp56k_write(struct file *file, const char __user *buf, size_t count,
count             257 drivers/char/dsp56k.c 		if (!count) return 0;
count             263 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
count             271 drivers/char/dsp56k.c 			count /= 2;
count             273 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
count             279 drivers/char/dsp56k.c 			count /= 3;
count             280 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
count             290 drivers/char/dsp56k.c 			count /= 4;
count             292 drivers/char/dsp56k.c 			handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
count             127 drivers/char/dtlk.c 			 size_t count, loff_t * ppos)
count             140 drivers/char/dtlk.c 		while (i < count && dtlk_readable()) {
count             160 drivers/char/dtlk.c 			  size_t count, loff_t * ppos)
count             169 drivers/char/dtlk.c 		for (i = 0; i < count; i++) {
count             185 drivers/char/dtlk.c 		while (i < count && !get_user(ch, buf) &&
count             212 drivers/char/dtlk.c 		if (i == count)
count             296 drivers/char/hpet.c hpet_read(struct file *file, char __user *buf, size_t count, loff_t * ppos)
count             307 drivers/char/hpet.c 	if (count < sizeof(unsigned long))
count             781 drivers/char/hpet.c 	unsigned long t, m, count, i, flags, start;
count             799 drivers/char/hpet.c 	count = hpet_time_div(hpetp, TICK_CALIBRATE);
count             808 drivers/char/hpet.c 	} while (i++, (m - start) < count);
count              67 drivers/char/hw_random/bcm2835-rng.c 	u32 num_words, count;
count              79 drivers/char/hw_random/bcm2835-rng.c 	for (count = 0; count < num_words; count++)
count              80 drivers/char/hw_random/bcm2835-rng.c 		((u32 *)buf)[count] = rng_readl(priv, RNG_DATA);
count             485 drivers/char/hw_random/n2-drv.c static u64 advance_polynomial(u64 poly, u64 val, int count)
count             489 drivers/char/hw_random/n2-drv.c 	for (i = 0; i < count; i++) {
count             502 drivers/char/hw_random/n2-drv.c 	int i, count = 0;
count             507 drivers/char/hw_random/n2-drv.c 			count++;
count             509 drivers/char/hw_random/n2-drv.c 	return count;
count              51 drivers/char/hw_random/omap3-rom-rng.c static int omap3_rom_rng_get_random(void *buf, unsigned int count)
count              72 drivers/char/hw_random/omap3-rom-rng.c 	r = omap3_rom_rng_call(ptr, count, RNG_GEN_HW);
count             194 drivers/char/ipmi/bt-bmc.c 			   size_t count, loff_t *ppos)
count             228 drivers/char/ipmi/bt-bmc.c 	if (len + 1 > count)
count             229 drivers/char/ipmi/bt-bmc.c 		len = count - 1;
count             260 drivers/char/ipmi/bt-bmc.c 			    size_t count, loff_t *ppos)
count             270 drivers/char/ipmi/bt-bmc.c 	if (count < 5)
count             294 drivers/char/ipmi/bt-bmc.c 	while (count) {
count             295 drivers/char/ipmi/bt-bmc.c 		nwritten = min_t(ssize_t, count, sizeof(kbuffer));
count             303 drivers/char/ipmi/bt-bmc.c 		count -= nwritten;
count              73 drivers/char/ipmi/ipmb_dev_int.c static ssize_t ipmb_read(struct file *file, char __user *buf, size_t count,
count             108 drivers/char/ipmi/ipmb_dev_int.c 	count = min_t(size_t, count, msg.len + 1);
count             109 drivers/char/ipmi/ipmb_dev_int.c 	if (copy_to_user(buf, &msg, count))
count             112 drivers/char/ipmi/ipmb_dev_int.c 	return ret < 0 ? ret : count;
count             116 drivers/char/ipmi/ipmb_dev_int.c 			size_t count, loff_t *ppos)
count             124 drivers/char/ipmi/ipmb_dev_int.c 	if (count > sizeof(msg))
count             127 drivers/char/ipmi/ipmb_dev_int.c 	if (copy_from_user(&msg, buf, count))
count             130 drivers/char/ipmi/ipmb_dev_int.c 	if (count < msg[0])
count             154 drivers/char/ipmi/ipmb_dev_int.c 	return ret ? : count;
count            5181 drivers/char/ipmi/ipmi_msghandler.c 	int count;
count            5203 drivers/char/ipmi/ipmi_msghandler.c 		count = atomic_read(&smi_msg_inuse_count);
count            5204 drivers/char/ipmi/ipmi_msghandler.c 		if (count != 0)
count            5205 drivers/char/ipmi/ipmi_msghandler.c 			pr_warn("SMI message count %d at exit\n", count);
count            5206 drivers/char/ipmi/ipmi_msghandler.c 		count = atomic_read(&recv_msg_inuse_count);
count            5207 drivers/char/ipmi/ipmi_msghandler.c 		if (count != 0)
count            5208 drivers/char/ipmi/ipmi_msghandler.c 			pr_warn("recv message count %d at exit\n", count);
count            2024 drivers/char/ipmi/ipmi_ssif.c 	unsigned int count = 0, i = 0;
count            2028 drivers/char/ipmi/ipmi_ssif.c 		count++;
count            2030 drivers/char/ipmi/ipmi_ssif.c 	address_list = kcalloc(count + 1, sizeof(*address_list),
count             777 drivers/char/ipmi/ipmi_watchdog.c 			 size_t      count,
count             783 drivers/char/ipmi/ipmi_watchdog.c 	if (count <= 0)
count             274 drivers/char/ipmi/kcs_bmc.c 			    size_t count, loff_t *ppos)
count             300 drivers/char/ipmi/kcs_bmc.c 	if (count < data_len) {
count             336 drivers/char/ipmi/kcs_bmc.c 			     size_t count, loff_t *ppos)
count             342 drivers/char/ipmi/kcs_bmc.c 	if (count < 3 || count > KCS_MSG_BUFSIZ)
count             347 drivers/char/ipmi/kcs_bmc.c 	if (copy_from_user(kcs_bmc->kbuffer, buf, count)) {
count             356 drivers/char/ipmi/kcs_bmc.c 		kcs_bmc->data_out_len = count;
count             357 drivers/char/ipmi/kcs_bmc.c 		memcpy(kcs_bmc->data_out, kcs_bmc->kbuffer, count);
count             359 drivers/char/ipmi/kcs_bmc.c 		ret = count;
count             300 drivers/char/lp.c 			size_t count, loff_t *ppos)
count             307 drivers/char/lp.c 	size_t copy_size = count;
count             347 drivers/char/lp.c 			count -= written;
count             387 drivers/char/lp.c 		if (count) {
count             388 drivers/char/lp.c 			copy_size = count;
count             398 drivers/char/lp.c 	} while (count > 0);
count             418 drivers/char/lp.c 		       size_t count, loff_t *ppos)
count             428 drivers/char/lp.c 	if (count > LP_BUFFER_SIZE)
count             429 drivers/char/lp.c 		count = LP_BUFFER_SIZE;
count             448 drivers/char/lp.c 		retval = parport_read(port, kbuf, count);
count             814 drivers/char/lp.c 			     unsigned count)
count             831 drivers/char/lp.c 		ssize_t canwrite = count;
count             832 drivers/char/lp.c 		char *lf = memchr(s, '\n', count);
count             843 drivers/char/lp.c 			count -= written;
count             853 drivers/char/lp.c 			count--;
count             860 drivers/char/lp.c 	} while (count > 0 && (CONSOLE_LP_STRICT || written > 0));
count              52 drivers/char/mem.c static inline int valid_phys_addr_range(phys_addr_t addr, size_t count)
count              54 drivers/char/mem.c 	return addr + count <= __pa(high_memory);
count             112 drivers/char/mem.c 			size_t count, loff_t *ppos)
count             123 drivers/char/mem.c 	if (!valid_phys_addr_range(p, count))
count             129 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             135 drivers/char/mem.c 			count -= sz;
count             145 drivers/char/mem.c 	while (count > 0) {
count             149 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             183 drivers/char/mem.c 		count -= sz;
count             199 drivers/char/mem.c 			 size_t count, loff_t *ppos)
count             209 drivers/char/mem.c 	if (!valid_phys_addr_range(p, count))
count             217 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             221 drivers/char/mem.c 		count -= sz;
count             226 drivers/char/mem.c 	while (count > 0) {
count             229 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             261 drivers/char/mem.c 		count -= sz;
count             437 drivers/char/mem.c 			 size_t count, loff_t *ppos)
count             446 drivers/char/mem.c 		low_count = count;
count             447 drivers/char/mem.c 		if (count > (unsigned long)high_memory - p)
count             460 drivers/char/mem.c 			count -= sz;
count             481 drivers/char/mem.c 			count -= sz;
count             483 drivers/char/mem.c 				count = 0;
count             489 drivers/char/mem.c 	if (count > 0) {
count             493 drivers/char/mem.c 		while (count > 0) {
count             494 drivers/char/mem.c 			sz = size_inside_page(p, count);
count             506 drivers/char/mem.c 			count -= sz;
count             521 drivers/char/mem.c 				size_t count, loff_t *ppos)
count             530 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             534 drivers/char/mem.c 		count -= sz;
count             539 drivers/char/mem.c 	while (count > 0) {
count             542 drivers/char/mem.c 		sz = size_inside_page(p, count);
count             562 drivers/char/mem.c 		count -= sz;
count             576 drivers/char/mem.c 			  size_t count, loff_t *ppos)
count             585 drivers/char/mem.c 		unsigned long to_write = min_t(unsigned long, count,
count             592 drivers/char/mem.c 		count -= wrote;
count             595 drivers/char/mem.c 	if (count > 0) {
count             599 drivers/char/mem.c 		while (count > 0) {
count             600 drivers/char/mem.c 			unsigned long sz = size_inside_page(p, count);
count             613 drivers/char/mem.c 			count -= sz;
count             628 drivers/char/mem.c 			 size_t count, loff_t *ppos)
count             633 drivers/char/mem.c 	if (!access_ok(buf, count))
count             635 drivers/char/mem.c 	while (count-- > 0 && i < 65536) {
count             646 drivers/char/mem.c 			  size_t count, loff_t *ppos)
count             651 drivers/char/mem.c 	if (!access_ok(buf, count))
count             653 drivers/char/mem.c 	while (count-- > 0 && i < 65536) {
count             670 drivers/char/mem.c 			 size_t count, loff_t *ppos)
count             676 drivers/char/mem.c 			  size_t count, loff_t *ppos)
count             678 drivers/char/mem.c 	return count;
count             688 drivers/char/mem.c 	size_t count = iov_iter_count(from);
count             689 drivers/char/mem.c 	iov_iter_advance(from, count);
count             690 drivers/char/mem.c 	return count;
count             759 drivers/char/mem.c 			  size_t count, loff_t *ppos)
count              74 drivers/char/mspec.c 	int count;		/* Number of pages allocated. */
count             153 drivers/char/mspec.c 			vdata->count++;
count             415 drivers/char/mwave/mwavedd.c static ssize_t mwave_read(struct file *file, char __user *buf, size_t count,
count             420 drivers/char/mwave/mwavedd.c 		file, buf, count, ppos);
count             427 drivers/char/mwave/mwavedd.c                            size_t count, loff_t * ppos)
count             432 drivers/char/mwave/mwavedd.c 		file, buf, count, ppos);
count             169 drivers/char/nvram.c static ssize_t pc_nvram_read(char *buf, size_t count, loff_t *ppos)
count             179 drivers/char/nvram.c 	for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p)
count             187 drivers/char/nvram.c static ssize_t pc_nvram_write(char *buf, size_t count, loff_t *ppos)
count             197 drivers/char/nvram.c 	for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p)
count             229 drivers/char/nvram.c 			       size_t count, loff_t *ppos)
count             235 drivers/char/nvram.c 	if (!access_ok(buf, count))
count             240 drivers/char/nvram.c 	count = min_t(size_t, count, nvram_size - *ppos);
count             241 drivers/char/nvram.c 	count = min_t(size_t, count, PAGE_SIZE);
count             243 drivers/char/nvram.c 	tmp = kmalloc(count, GFP_KERNEL);
count             247 drivers/char/nvram.c 	ret = nvram_read(tmp, count, ppos);
count             262 drivers/char/nvram.c 				size_t count, loff_t *ppos)
count             267 drivers/char/nvram.c 	if (!access_ok(buf, count))
count             272 drivers/char/nvram.c 	count = min_t(size_t, count, nvram_size - *ppos);
count             273 drivers/char/nvram.c 	count = min_t(size_t, count, PAGE_SIZE);
count             275 drivers/char/nvram.c 	tmp = memdup_user(buf, count);
count             279 drivers/char/nvram.c 	ret = nvram_write(tmp, count, ppos);
count              57 drivers/char/nwbutton.c int button_add_callback (void (*callback) (void), int count)
count              69 drivers/char/nwbutton.c 	button_callback_list [lp].count = count;
count              94 drivers/char/nwbutton.c 			button_callback_list [lp].count = 0;
count             115 drivers/char/nwbutton.c 		if ((button_callback_list [lp].count) == bpcount) {
count             169 drivers/char/nwbutton.c 			size_t count, loff_t *ppos)
count              23 drivers/char/nwbutton.h 	int count;
count              31 drivers/char/nwbutton.h int button_add_callback (void (*callback) (void), int count);
count              37 drivers/char/nwbutton.h extern int button_add_callback (void (*callback) (void), int count);
count              46 drivers/char/nwflash.c static int write_block(unsigned long p, const char __user *buf, int count);
count             147 drivers/char/nwflash.c 	unsigned int count = size;
count             154 drivers/char/nwflash.c 		       p, buf, count);
count             166 drivers/char/nwflash.c 		return count ? -ENXIO : 0;
count             168 drivers/char/nwflash.c 	if (count > gbFlashSize - p)
count             169 drivers/char/nwflash.c 		count = gbFlashSize - p;
count             171 drivers/char/nwflash.c 	if (!access_ok(buf, count))
count             187 drivers/char/nwflash.c 	temp = ((int) (p + count) >> 16) - nBlock + 1;
count             192 drivers/char/nwflash.c 	if (((int) (p + count) & 0xFFFF) == 0)
count             221 drivers/char/nwflash.c 			       count - written);
count             226 drivers/char/nwflash.c 		rc = write_block(p, buf, count - written);
count             397 drivers/char/nwflash.c static int write_block(unsigned long p, const char __user *buf, int count)
count             414 drivers/char/nwflash.c 	if (offset + count > 0x10000)
count             415 drivers/char/nwflash.c 		count = 0x10000 - offset;
count             422 drivers/char/nwflash.c 	for (offset = 0; offset < count; offset++, pWritePtr++) {
count             534 drivers/char/nwflash.c 	for (offset = 0; offset < count; offset++) {
count             546 drivers/char/nwflash.c 	return count;
count             921 drivers/char/pcmcia/cm4000_cs.c static ssize_t cmm_read(struct file *filp, __user char *buf, size_t count,
count             931 drivers/char/pcmcia/cm4000_cs.c 	if (count == 0)		/* according to manpage */
count             988 drivers/char/pcmcia/cm4000_cs.c 	j = min(count, (size_t)(dev->rlen - dev->rpos));
count             997 drivers/char/pcmcia/cm4000_cs.c 	j = min(count, (size_t)(dev->rlen - dev->rpos));
count            1008 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) {
count            1014 drivers/char/pcmcia/cm4000_cs.c 	count = j;
count            1030 drivers/char/pcmcia/cm4000_cs.c 	if (test_bit(IS_INVREV, &dev->flags) && count > 0)
count            1031 drivers/char/pcmcia/cm4000_cs.c 		str_invert_revert(dev->rbuf, count);
count            1033 drivers/char/pcmcia/cm4000_cs.c 	if (copy_to_user(buf, dev->rbuf, count))
count            1041 drivers/char/pcmcia/cm4000_cs.c 	       (rc < 0 ? rc : count));
count            1042 drivers/char/pcmcia/cm4000_cs.c 	return rc < 0 ? rc : count;
count            1046 drivers/char/pcmcia/cm4000_cs.c 			 size_t count, loff_t *ppos)
count            1061 drivers/char/pcmcia/cm4000_cs.c 	if (count == 0)		/* according to manpage */
count            1064 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 0 && count < 4) {
count            1070 drivers/char/pcmcia/cm4000_cs.c 	nr = count & 0x1ff;	/* max bytes to write */
count            1118 drivers/char/pcmcia/cm4000_cs.c 	if (copy_from_user(dev->sbuf, buf, ((count > 512) ? 512 : count)))
count             216 drivers/char/pcmcia/cm4040_cs.c 			size_t count, loff_t *ppos)
count             228 drivers/char/pcmcia/cm4040_cs.c 	if (count == 0)
count             231 drivers/char/pcmcia/cm4040_cs.c 	if (count < 10)
count             265 drivers/char/pcmcia/cm4040_cs.c 	min_bytes_to_read = min(count, bytes_to_read + 5);
count             318 drivers/char/pcmcia/cm4040_cs.c 			 size_t count, loff_t *ppos)
count             328 drivers/char/pcmcia/cm4040_cs.c 	if (count == 0) {
count             333 drivers/char/pcmcia/cm4040_cs.c 	if ((count < 5) || (count > READ_WRITE_BUFFER_SIZE)) {
count             334 drivers/char/pcmcia/cm4040_cs.c 		DEBUGP(2, dev, "<- cm4040_write buffersize=%zd < 5\n", count);
count             347 drivers/char/pcmcia/cm4040_cs.c 	bytes_to_write = count;
count             415 drivers/char/pcmcia/cm4040_cs.c 	return count;
count             117 drivers/char/pcmcia/scr24x_cs.c static ssize_t scr24x_read(struct file *filp, char __user *buf, size_t count,
count             124 drivers/char/pcmcia/scr24x_cs.c 	if (count < CCID_HEADER_SIZE)
count             152 drivers/char/pcmcia/scr24x_cs.c 	if (len < count)
count             153 drivers/char/pcmcia/scr24x_cs.c 		count = len;
count             155 drivers/char/pcmcia/scr24x_cs.c 	if (copy_to_user(buf, dev->buf, count)) {
count             160 drivers/char/pcmcia/scr24x_cs.c 	ret = count;
count             167 drivers/char/pcmcia/scr24x_cs.c 					size_t count, loff_t *ppos)
count             181 drivers/char/pcmcia/scr24x_cs.c 	if (count > sizeof(dev->buf)) {
count             186 drivers/char/pcmcia/scr24x_cs.c 	if (copy_from_user(dev->buf, buf, count)) {
count             200 drivers/char/pcmcia/scr24x_cs.c 	for (i = 0; i < count; i += 5) {
count             201 drivers/char/pcmcia/scr24x_cs.c 		for (y = 0; y < 5 && i + y < count; y++)
count             210 drivers/char/pcmcia/scr24x_cs.c 	ret = count;
count             106 drivers/char/pcmcia/synclink_cs.c 	int count;
count             391 drivers/char/pcmcia/synclink_cs.c static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit);
count             496 drivers/char/pcmcia/synclink_cs.c 			      const __u8 *data, char *flags, int count)
count             504 drivers/char/pcmcia/synclink_cs.c 			ld->ops->receive_buf(tty, data, flags, count);
count             872 drivers/char/pcmcia/synclink_cs.c 			if (buf->count >= info->max_frame_size) {
count             875 drivers/char/pcmcia/synclink_cs.c 				buf->count = 0;
count             878 drivers/char/pcmcia/synclink_cs.c 			*(buf->data + buf->count) = data[i];
count             879 drivers/char/pcmcia/synclink_cs.c 			buf->count++;
count            1163 drivers/char/pcmcia/synclink_cs.c 	int count=0;
count            1179 drivers/char/pcmcia/synclink_cs.c 		if ((gis & 0x70) || count > 1000) {
count            1183 drivers/char/pcmcia/synclink_cs.c 		count++;
count            1555 drivers/char/pcmcia/synclink_cs.c 			const unsigned char *buf, int count)
count            1563 drivers/char/pcmcia/synclink_cs.c 			__FILE__, __LINE__, info->device_name, count);
count            1570 drivers/char/pcmcia/synclink_cs.c 		if (count > TXBUFSIZE) {
count            1581 drivers/char/pcmcia/synclink_cs.c 		c = min(count,
count            1595 drivers/char/pcmcia/synclink_cs.c 		count -= c;
count            2335 drivers/char/pcmcia/synclink_cs.c 			 __FILE__, __LINE__, info->device_name, port->count);
count            2353 drivers/char/pcmcia/synclink_cs.c 			tty->driver->name, port->count);
count            2495 drivers/char/pcmcia/synclink_cs.c 			 __FILE__, __LINE__, tty->driver->name, port->count);
count            2506 drivers/char/pcmcia/synclink_cs.c 	port->count++;
count            2510 drivers/char/pcmcia/synclink_cs.c 	if (port->count == 1) {
count            3624 drivers/char/pcmcia/synclink_cs.c 		buf->status = buf->count = 0;
count            3674 drivers/char/pcmcia/synclink_cs.c 		framesize = buf->count;
count            3707 drivers/char/pcmcia/synclink_cs.c 	buf->status = buf->count = 0;
count            3721 drivers/char/pcmcia/synclink_cs.c 	static unsigned int count = ARRAY_SIZE(patterns);
count            3729 drivers/char/pcmcia/synclink_cs.c 	for (i = 0; i < count; i++) {
count            3731 drivers/char/pcmcia/synclink_cs.c 		write_reg(info, XAD2, patterns[(i + 1) % count]);
count            3733 drivers/char/pcmcia/synclink_cs.c 		    (read_reg(info, XAD2) != patterns[(i + 1) % count])) {
count            3800 drivers/char/pcmcia/synclink_cs.c static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit)
count            3809 drivers/char/pcmcia/synclink_cs.c 	while(count) {
count            3810 drivers/char/pcmcia/synclink_cs.c 		if (count > 16)
count            3813 drivers/char/pcmcia/synclink_cs.c 			linecount = count;
count            3828 drivers/char/pcmcia/synclink_cs.c 		count -= linecount;
count            3886 drivers/char/pcmcia/synclink_cs.c 	if (info->port.count)
count            3990 drivers/char/pcmcia/synclink_cs.c 	if (info->port.count != 0 || info->netcount != 0) {
count            4080 drivers/char/pcmcia/synclink_cs.c 	if (info->port.count)
count             115 drivers/char/ppdev.c static ssize_t pp_read(struct file *file, char __user *buf, size_t count,
count             132 drivers/char/ppdev.c 	if (count == 0)
count             135 drivers/char/ppdev.c 	kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
count             147 drivers/char/ppdev.c 		ssize_t need = min_t(unsigned long, count, PP_BUFFER_SIZE);
count             194 drivers/char/ppdev.c 			size_t count, loff_t *ppos)
count             210 drivers/char/ppdev.c 	kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL);
count             222 drivers/char/ppdev.c 	while (bytes_written < count) {
count             223 drivers/char/ppdev.c 		ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE);
count              94 drivers/char/ps3flash.c 			     size_t count, loff_t *pos)
count             105 drivers/char/ps3flash.c 		__func__, __LINE__, count, *pos, userbuf, kernelbuf);
count             108 drivers/char/ps3flash.c 	if (*pos >= size || !count)
count             111 drivers/char/ps3flash.c 	if (*pos + count > size) {
count             114 drivers/char/ps3flash.c 			__LINE__, count, size - *pos);
count             115 drivers/char/ps3flash.c 		count = size - *pos;
count             121 drivers/char/ps3flash.c 	remaining = count;
count             155 drivers/char/ps3flash.c 	return count;
count             163 drivers/char/ps3flash.c 			      const void *kernelbuf, size_t count, loff_t *pos)
count             174 drivers/char/ps3flash.c 		__func__, __LINE__, count, *pos, userbuf, kernelbuf);
count             177 drivers/char/ps3flash.c 	if (*pos >= size || !count)
count             180 drivers/char/ps3flash.c 	if (*pos + count > size) {
count             183 drivers/char/ps3flash.c 			__LINE__, count, size - *pos);
count             184 drivers/char/ps3flash.c 		count = size - *pos;
count             190 drivers/char/ps3flash.c 	remaining = count;
count             230 drivers/char/ps3flash.c 	return count;
count             238 drivers/char/ps3flash.c 				  size_t count, loff_t *pos)
count             240 drivers/char/ps3flash.c 	return ps3flash_read(buf, NULL, count, pos);
count             244 drivers/char/ps3flash.c 				   size_t count, loff_t *pos)
count             246 drivers/char/ps3flash.c 	return ps3flash_write(buf, NULL, count, pos);
count             249 drivers/char/ps3flash.c static ssize_t ps3flash_kernel_read(void *buf, size_t count, loff_t pos)
count             251 drivers/char/ps3flash.c 	return ps3flash_read(NULL, buf, count, &pos);
count             254 drivers/char/ps3flash.c static ssize_t ps3flash_kernel_write(const void *buf, size_t count,
count             260 drivers/char/ps3flash.c 	res = ps3flash_write(NULL, buf, count, &pos);
count             657 drivers/char/random.c 	unsigned char	count;
count             688 drivers/char/random.c 	f->count++;
count            1335 drivers/char/random.c 		if ((fast_pool->count >= 64) &&
count            1338 drivers/char/random.c 			fast_pool->count = 0;
count            1344 drivers/char/random.c 	if ((fast_pool->count < 64) &&
count            1367 drivers/char/random.c 	fast_pool->count = 0;
count            2062 drivers/char/random.c write_pool(struct entropy_store *r, const char __user *buffer, size_t count)
count            2068 drivers/char/random.c 	while (count > 0) {
count            2071 drivers/char/random.c 		bytes = min(count, sizeof(buf));
count            2081 drivers/char/random.c 		count -= bytes;
count            2092 drivers/char/random.c 			    size_t count, loff_t *ppos)
count            2096 drivers/char/random.c 	ret = write_pool(&input_pool, buffer, count);
count            2100 drivers/char/random.c 	return (ssize_t)count;
count            2182 drivers/char/random.c SYSCALL_DEFINE3(getrandom, char __user *, buf, size_t, count,
count            2190 drivers/char/random.c 	if (count > INT_MAX)
count            2191 drivers/char/random.c 		count = INT_MAX;
count            2194 drivers/char/random.c 		return _random_read(flags & GRND_NONBLOCK, buf, count);
count            2203 drivers/char/random.c 	return urandom_read(NULL, buf, count, NULL);
count            2477 drivers/char/random.c void add_hwgenerator_randomness(const char *buffer, size_t count,
count            2483 drivers/char/random.c 		crng_fast_load(buffer, count);
count            2493 drivers/char/random.c 	mix_pool_bytes(poolp, buffer, count);
count             140 drivers/char/rtc.c 			size_t count, loff_t *ppos);
count             313 drivers/char/rtc.c 			size_t count, loff_t *ppos)
count             333 drivers/char/rtc.c 	if (count != sizeof(unsigned int) && count !=  sizeof(unsigned long))
count             364 drivers/char/rtc.c 	if (count == sizeof(unsigned int)) {
count             372 drivers/char/rtc.c 		retval = count;
count             899 drivers/char/sonypi.c 				size_t count, loff_t *pos)
count             913 drivers/char/sonypi.c 	while (ret < count &&
count             243 drivers/char/tlclk.c static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count,
count             246 drivers/char/tlclk.c 	if (count < sizeof(struct tlclk_alarms))
count             327 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             341 drivers/char/tlclk.c 	return strnlen(buf, count);
count             349 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             363 drivers/char/tlclk.c 	return strnlen(buf, count);
count             371 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             385 drivers/char/tlclk.c 	return strnlen(buf, count);
count             392 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             406 drivers/char/tlclk.c 	return strnlen(buf, count);
count             413 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             427 drivers/char/tlclk.c 	return strnlen(buf, count);
count             435 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             449 drivers/char/tlclk.c 	return strnlen(buf, count);
count             456 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             470 drivers/char/tlclk.c 	return strnlen(buf, count);
count             477 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             491 drivers/char/tlclk.c 	return strnlen(buf, count);
count             498 drivers/char/tlclk.c 		struct device_attribute *attr, const char *buf, size_t count)
count             533 drivers/char/tlclk.c 	return strnlen(buf, count);
count             540 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             575 drivers/char/tlclk.c 	return strnlen(buf, count);
count             582 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             596 drivers/char/tlclk.c 	return strnlen(buf, count);
count             603 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             617 drivers/char/tlclk.c 	return strnlen(buf, count);
count             624 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             638 drivers/char/tlclk.c 	return strnlen(buf, count);
count             644 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             658 drivers/char/tlclk.c 	return strnlen(buf, count);
count             665 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             679 drivers/char/tlclk.c 	return strnlen(buf, count);
count             686 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             699 drivers/char/tlclk.c 	return strnlen(buf, count);
count             705 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             719 drivers/char/tlclk.c 	return strnlen(buf, count);
count             725 drivers/char/tlclk.c 		 struct device_attribute *attr, const char *buf, size_t count)
count             739 drivers/char/tlclk.c 	return strnlen(buf, count);
count             304 drivers/char/tpm/st33zp24/st33zp24.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count)
count             309 drivers/char/tpm/st33zp24/st33zp24.c 	while (size < count &&
count             317 drivers/char/tpm/st33zp24/st33zp24.c 		len = min_t(int, burstcnt, count - size);
count             443 drivers/char/tpm/st33zp24/st33zp24.c 			    size_t count)
count             451 drivers/char/tpm/st33zp24/st33zp24.c 	if (count < TPM_HEADER_SIZE) {
count             463 drivers/char/tpm/st33zp24/st33zp24.c 	if (expected > count || expected < TPM_HEADER_SIZE) {
count              65 drivers/char/tpm/tpm-interface.c 	u32 count, ordinal;
count              74 drivers/char/tpm/tpm-interface.c 	count = be32_to_cpu(header->length);
count              76 drivers/char/tpm/tpm-interface.c 	if (count == 0)
count              78 drivers/char/tpm/tpm-interface.c 	if (count > bufsiz) {
count              80 drivers/char/tpm/tpm-interface.c 			"invalid count value %x %zx\n", count, bufsiz);
count              84 drivers/char/tpm/tpm-interface.c 	rc = chip->ops->send(chip, buf, count);
count             267 drivers/char/tpm/tpm-sysfs.c 			    const char *buf, size_t count)
count             276 drivers/char/tpm/tpm-sysfs.c 	return count;
count             425 drivers/char/tpm/tpm2-space.c 	__be32 count;
count             453 drivers/char/tpm/tpm2-space.c 	if (len != TPM_HEADER_SIZE + 9 + 4 * be32_to_cpu(data->count))
count             456 drivers/char/tpm/tpm2-space.c 	for (i = 0, j = 0; i < be32_to_cpu(data->count); i++) {
count             479 drivers/char/tpm/tpm2-space.c 	data->count = cpu_to_be32(j);
count              33 drivers/char/tpm/tpm_atmel.c static int tpm_atml_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count              42 drivers/char/tpm/tpm_atmel.c 	if (count < 6)
count              58 drivers/char/tpm/tpm_atmel.c 	if (count < size) {
count              92 drivers/char/tpm/tpm_atmel.c static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t count)
count              98 drivers/char/tpm/tpm_atmel.c 	for (i = 0; i < count; i++) {
count             281 drivers/char/tpm/tpm_crb.c static int crb_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             289 drivers/char/tpm/tpm_crb.c 	if (count < TPM_HEADER_SIZE)
count             305 drivers/char/tpm/tpm_crb.c 	if (expected > count || expected < TPM_HEADER_SIZE)
count              44 drivers/char/tpm/tpm_ftpm_tee.c static int ftpm_tee_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count              50 drivers/char/tpm/tpm_ftpm_tee.c 	if (count < len) {
count              53 drivers/char/tpm/tpm_ftpm_tee.c 			__func__, count, len);
count              67 drivers/char/tpm/tpm_i2c_atmel.c static int i2c_atmel_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count              82 drivers/char/tpm/tpm_i2c_atmel.c 	if (expected_len > count)
count              88 drivers/char/tpm/tpm_i2c_atmel.c 			(int)min_t(size_t, 64, expected_len), buf, count,
count              97 drivers/char/tpm/tpm_i2c_atmel.c 		(int)min_t(size_t, 64, expected_len), buf, count,
count             109 drivers/char/tpm/tpm_i2c_infineon.c 	int count;
count             124 drivers/char/tpm/tpm_i2c_infineon.c 		for (count = 0; count < MAX_COUNT; count++) {
count             136 drivers/char/tpm/tpm_i2c_infineon.c 			for (count = 0; count < MAX_COUNT; count++) {
count             153 drivers/char/tpm/tpm_i2c_infineon.c 			for (count = 0; count < MAX_COUNT; count++) {
count             209 drivers/char/tpm/tpm_i2c_infineon.c 	int count;
count             234 drivers/char/tpm/tpm_i2c_infineon.c 	for (count = 0; count < max_count; count++) {
count             436 drivers/char/tpm/tpm_i2c_infineon.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count)
count             443 drivers/char/tpm/tpm_i2c_infineon.c 	while (size < count) {
count             451 drivers/char/tpm/tpm_i2c_infineon.c 		if (burstcnt > (count - size))
count             452 drivers/char/tpm/tpm_i2c_infineon.c 			burstcnt = count - size;
count             468 drivers/char/tpm/tpm_i2c_infineon.c static int tpm_tis_i2c_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             474 drivers/char/tpm/tpm_i2c_infineon.c 	if (count < TPM_HEADER_SIZE) {
count             487 drivers/char/tpm/tpm_i2c_infineon.c 	if (((size_t) expected > count) || (expected < TPM_HEADER_SIZE)) {
count             521 drivers/char/tpm/tpm_i2c_infineon.c 	size_t count = 0;
count             542 drivers/char/tpm/tpm_i2c_infineon.c 	while (count < len - 1) {
count             549 drivers/char/tpm/tpm_i2c_infineon.c 		if (burstcnt > (len - 1 - count))
count             550 drivers/char/tpm/tpm_i2c_infineon.c 			burstcnt = len - 1 - count;
count             553 drivers/char/tpm/tpm_i2c_infineon.c 				   &(buf[count]), burstcnt);
count             555 drivers/char/tpm/tpm_i2c_infineon.c 			count += burstcnt;
count             575 drivers/char/tpm/tpm_i2c_infineon.c 	iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), &(buf[count]), 1);
count             230 drivers/char/tpm/tpm_i2c_nuvoton.c 				 struct tpm_chip *chip, u8 *buf, size_t count)
count             236 drivers/char/tpm/tpm_i2c_nuvoton.c 	while (size < count &&
count             247 drivers/char/tpm/tpm_i2c_nuvoton.c 		bytes2read = min_t(size_t, burst_count, count - size);
count             264 drivers/char/tpm/tpm_i2c_nuvoton.c static int i2c_nuvoton_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             276 drivers/char/tpm/tpm_i2c_nuvoton.c 	if (count < TPM_HEADER_SIZE) {
count             316 drivers/char/tpm/tpm_i2c_nuvoton.c 		if (expected > count || expected < size) {
count             359 drivers/char/tpm/tpm_i2c_nuvoton.c 	size_t count = 0;
count             373 drivers/char/tpm/tpm_i2c_nuvoton.c 		while (count < len - 1) {
count             383 drivers/char/tpm/tpm_i2c_nuvoton.c 					    len - 1 - count);
count             385 drivers/char/tpm/tpm_i2c_nuvoton.c 						   bytes2write, &buf[count]);
count             392 drivers/char/tpm/tpm_i2c_nuvoton.c 			count += bytes2write;
count             412 drivers/char/tpm/tpm_i2c_nuvoton.c 					   &buf[count]);
count             419 drivers/char/tpm/tpm_i2c_nuvoton.c 		dev_dbg(dev, "%s(last): %02x", __func__, buf[count]);
count             104 drivers/char/tpm/tpm_ibmvtpm.c static int tpm_ibmvtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             121 drivers/char/tpm/tpm_ibmvtpm.c 	if (count < len) {
count             124 drivers/char/tpm/tpm_ibmvtpm.c 			count, len);
count             204 drivers/char/tpm/tpm_ibmvtpm.c static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t count)
count             215 drivers/char/tpm/tpm_ibmvtpm.c 	if (count > ibmvtpm->rtce_size) {
count             218 drivers/char/tpm/tpm_ibmvtpm.c 			count, ibmvtpm->rtce_size);
count             233 drivers/char/tpm/tpm_ibmvtpm.c 	memcpy((void *)ibmvtpm->rtce_buf, (void *)buf, count);
count             244 drivers/char/tpm/tpm_ibmvtpm.c 			count, ibmvtpm->rtce_dma_handle);
count             239 drivers/char/tpm/tpm_infineon.c static int tpm_inf_recv(struct tpm_chip *chip, u8 * buf, size_t count)
count             309 drivers/char/tpm/tpm_infineon.c static int tpm_inf_send(struct tpm_chip *chip, u8 * buf, size_t count)
count             328 drivers/char/tpm/tpm_infineon.c 	count_4 = (count & 0xff000000) >> 24;
count             329 drivers/char/tpm/tpm_infineon.c 	count_3 = (count & 0x00ff0000) >> 16;
count             330 drivers/char/tpm/tpm_infineon.c 	count_2 = (count & 0x0000ff00) >> 8;
count             331 drivers/char/tpm/tpm_infineon.c 	count_1 = (count & 0x000000ff);
count             332 drivers/char/tpm/tpm_infineon.c 	count_high = ((count + 6) & 0xffffff00) >> 8;
count             333 drivers/char/tpm/tpm_infineon.c 	count_low = ((count + 6) & 0x000000ff);
count             350 drivers/char/tpm/tpm_infineon.c 	for (i = 0; i < count; i++) {
count             123 drivers/char/tpm/tpm_nsc.c static int tpm_nsc_recv(struct tpm_chip *chip, u8 * buf, size_t count)
count             131 drivers/char/tpm/tpm_nsc.c 	if (count < 6)
count             147 drivers/char/tpm/tpm_nsc.c 	for (p = buffer; p < &buffer[count]; p++) {
count             175 drivers/char/tpm/tpm_nsc.c 	if (count < size)
count             181 drivers/char/tpm/tpm_nsc.c static int tpm_nsc_send(struct tpm_chip *chip, u8 * buf, size_t count)
count             209 drivers/char/tpm/tpm_nsc.c 	for (i = 0; i < count; i++) {
count              81 drivers/char/tpm/tpm_ppi.c 	if (obj->package.count == 3 &&
count              97 drivers/char/tpm/tpm_ppi.c 	} else if (obj->package.count == 2 &&
count             114 drivers/char/tpm/tpm_ppi.c 				     const char *buf, size_t count)
count             154 drivers/char/tpm/tpm_ppi.c 		argv4.package.count = 1;
count             170 drivers/char/tpm/tpm_ppi.c 		return (acpi_status)count;
count             243 drivers/char/tpm/tpm_ppi.c 	if (obj->package.count < 3 ||
count             278 drivers/char/tpm/tpm_tis_core.c static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count)
count             283 drivers/char/tpm/tpm_tis_core.c 	while (size < count) {
count             295 drivers/char/tpm/tpm_tis_core.c 		burstcnt = min_t(int, burstcnt, count - size);
count             307 drivers/char/tpm/tpm_tis_core.c static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             314 drivers/char/tpm/tpm_tis_core.c 	if (count < TPM_HEADER_SIZE) {
count             327 drivers/char/tpm/tpm_tis_core.c 	if (expected > count || expected < TPM_HEADER_SIZE) {
count             366 drivers/char/tpm/tpm_tis_core.c 	size_t count = 0;
count             380 drivers/char/tpm/tpm_tis_core.c 	while (count < len - 1) {
count             387 drivers/char/tpm/tpm_tis_core.c 		burstcnt = min_t(int, burstcnt, len - count - 1);
count             389 drivers/char/tpm/tpm_tis_core.c 					 burstcnt, buf + count);
count             393 drivers/char/tpm/tpm_tis_core.c 		count += burstcnt;
count             408 drivers/char/tpm/tpm_tis_core.c 	rc = tpm_tis_write8(priv, TPM_DATA_FIFO(priv->locality), buf[count]);
count              73 drivers/char/tpm/tpm_vtpm_proxy.c 				    size_t count, loff_t *off)
count              94 drivers/char/tpm/tpm_vtpm_proxy.c 	if (count < len) {
count              97 drivers/char/tpm/tpm_vtpm_proxy.c 			 count, len);
count             128 drivers/char/tpm/tpm_vtpm_proxy.c 				     size_t count, loff_t *off)
count             139 drivers/char/tpm/tpm_vtpm_proxy.c 	if (count > sizeof(proxy_dev->buffer) ||
count             149 drivers/char/tpm/tpm_vtpm_proxy.c 	if (copy_from_user(proxy_dev->buffer, buf, count)) {
count             154 drivers/char/tpm/tpm_vtpm_proxy.c 	proxy_dev->resp_len = count;
count             160 drivers/char/tpm/tpm_vtpm_proxy.c 	return count;
count             267 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             281 drivers/char/tpm/tpm_vtpm_proxy.c 	if (count < len) {
count             284 drivers/char/tpm/tpm_vtpm_proxy.c 			count, len);
count             299 drivers/char/tpm/tpm_vtpm_proxy.c 					u8 *buf, size_t count)
count             303 drivers/char/tpm/tpm_vtpm_proxy.c 	if (count < sizeof(struct tpm_header))
count             330 drivers/char/tpm/tpm_vtpm_proxy.c static int vtpm_proxy_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t count)
count             334 drivers/char/tpm/tpm_vtpm_proxy.c 	if (count > sizeof(proxy_dev->buffer)) {
count             337 drivers/char/tpm/tpm_vtpm_proxy.c 			count, sizeof(proxy_dev->buffer));
count             342 drivers/char/tpm/tpm_vtpm_proxy.c 	    vtpm_proxy_is_driver_command(chip, buf, count))
count             354 drivers/char/tpm/tpm_vtpm_proxy.c 	proxy_dev->req_len = count;
count             355 drivers/char/tpm/tpm_vtpm_proxy.c 	memcpy(proxy_dev->buffer, buf, count);
count             134 drivers/char/tpm/xen-tpmfront.c static int vtpm_send(struct tpm_chip *chip, u8 *buf, size_t count)
count             146 drivers/char/tpm/xen-tpmfront.c 	if (offset + count > PAGE_SIZE)
count             156 drivers/char/tpm/xen-tpmfront.c 	memcpy(offset + (u8 *)shr, buf, count);
count             157 drivers/char/tpm/xen-tpmfront.c 	shr->length = count;
count             176 drivers/char/tpm/xen-tpmfront.c static int vtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count)
count             199 drivers/char/tpm/xen-tpmfront.c 	if (length > count)
count             200 drivers/char/tpm/xen-tpmfront.c 		length = count;
count              53 drivers/char/ttyprintk.c static int tpk_printk(const unsigned char *buf, int count)
count              62 drivers/char/ttyprintk.c 	for (i = 0; i < count; i++) {
count              72 drivers/char/ttyprintk.c 			if ((i + 1) < count && buf[i + 1] == '\n')
count              84 drivers/char/ttyprintk.c 	return count;
count             117 drivers/char/ttyprintk.c 		const unsigned char *buf, int count)
count             126 drivers/char/ttyprintk.c 	ret = tpk_printk(buf, count);
count             738 drivers/char/virtio_console.c 			      size_t count, loff_t *offp)
count             781 drivers/char/virtio_console.c 	return fill_readbuf(port, ubuf, count, true);
count             805 drivers/char/virtio_console.c 			       size_t count, loff_t *offp)
count             814 drivers/char/virtio_console.c 	if (!count)
count             825 drivers/char/virtio_console.c 	count = min((size_t)(32 * 1024), count);
count             827 drivers/char/virtio_console.c 	buf = alloc_buf(port->portdev->vdev, count, 0);
count             831 drivers/char/virtio_console.c 	ret = copy_from_user(buf->buf, ubuf, count);
count             845 drivers/char/virtio_console.c 	sg_init_one(sg, buf->buf, count);
count             846 drivers/char/virtio_console.c 	ret = __send_to_port(port, sg, 1, count, buf, nonblock);
count            1118 drivers/char/virtio_console.c static int put_chars(u32 vtermno, const char *buf, int count)
count            1126 drivers/char/virtio_console.c 		return early_put_chars(vtermno, buf, count);
count            1132 drivers/char/virtio_console.c 	data = kmemdup(buf, count, GFP_ATOMIC);
count            1136 drivers/char/virtio_console.c 	sg_init_one(sg, data, count);
count            1137 drivers/char/virtio_console.c 	ret = __send_to_port(port, sg, 1, count, data, false);
count            1149 drivers/char/virtio_console.c static int get_chars(u32 vtermno, char *buf, int count)
count            1164 drivers/char/virtio_console.c 	return fill_readbuf(port, (__force char __user *)buf, count, false);
count             188 drivers/char/xilinx_hwicap/buffer_icap.c 		u32 offset, u32 count)
count             197 drivers/char/xilinx_hwicap/buffer_icap.c 	if ((offset + count) > XHI_MAX_BUFFER_INTS)
count             201 drivers/char/xilinx_hwicap/buffer_icap.c 	buffer_icap_set_size(base_address, (count << 2));
count             222 drivers/char/xilinx_hwicap/buffer_icap.c 		u32 offset, u32 count)
count             231 drivers/char/xilinx_hwicap/buffer_icap.c 	if ((offset + count) > XHI_MAX_BUFFER_INTS)
count             235 drivers/char/xilinx_hwicap/buffer_icap.c 	buffer_icap_set_size(base_address, count << 2);
count             356 drivers/char/xilinx_hwicap/xilinx_hwicap.c hwicap_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             374 drivers/char/xilinx_hwicap/xilinx_hwicap.c 			(count < drvdata->read_buffer_in_use) ? count :
count             402 drivers/char/xilinx_hwicap/xilinx_hwicap.c 		words = ((count + 3) >> 2);
count             442 drivers/char/xilinx_hwicap/xilinx_hwicap.c 		size_t count, loff_t *ppos)
count             446 drivers/char/xilinx_hwicap/xilinx_hwicap.c 	ssize_t left = count;
count             567 drivers/char/xillybus/xillybus_core.c 	int count = 0;
count             581 drivers/char/xillybus/xillybus_core.c 		count++;
count             602 drivers/char/xillybus/xillybus_core.c 	endpoint->num_channels = count;
count             667 drivers/char/xillybus/xillybus_core.c 			     size_t count, loff_t *f_pos)
count             692 drivers/char/xillybus/xillybus_core.c 		int bytes_to_do = count - bytes_done;
count             792 drivers/char/xillybus/xillybus_core.c 		if ((bytes_done >= count) || reached_eof)
count             829 drivers/char/xillybus/xillybus_core.c 			int offsetlimit = ((count - bytes_done) - 1) >>
count            1182 drivers/char/xillybus/xillybus_core.c 			      size_t count, loff_t *f_pos)
count            1203 drivers/char/xillybus/xillybus_core.c 		int bytes_to_do = count - bytes_done;
count            1221 drivers/char/xillybus/xillybus_core.c 			    (count ||
count            1230 drivers/char/xillybus/xillybus_core.c 				if (count) {
count            1352 drivers/char/xillybus/xillybus_core.c 		if (bytes_done >= count)
count             350 drivers/clk/bcm/clk-bcm2835.c 	u32 count;
count             371 drivers/clk/bcm/clk-bcm2835.c 			count = 0;
count             382 drivers/clk/bcm/clk-bcm2835.c 			count = 0;
count             388 drivers/clk/bcm/clk-bcm2835.c 	count = cprman_read(cprman, CM_TCNTCNT);
count             395 drivers/clk/bcm/clk-bcm2835.c 	return count * 1000;
count             536 drivers/clk/bcm/clk-kona-setup.c 			u32 *count, const char ***names)
count             547 drivers/clk/bcm/clk-kona-setup.c 	*count = 0;	/* In case of early return */
count             603 drivers/clk/bcm/clk-kona-setup.c 	*count = parent_count;
count             524 drivers/clk/clk-cdce925.c 	void *context, const void *data, size_t count)
count             531 drivers/clk/clk-cdce925.c 	if (count != 2)
count             538 drivers/clk/clk-cdce925.c 	dev_dbg(&i2c->dev, "%s(%zu) %#x %#x\n", __func__, count,
count             541 drivers/clk/clk-cdce925.c 	ret = i2c_master_send(i2c, reg_data, count);
count             542 drivers/clk/clk-cdce925.c 	if (likely(ret == count))
count            1246 drivers/clk/clk-qoriq.c 	int count, rc;
count            1251 drivers/clk/clk-qoriq.c 	count = of_property_count_strings(np, "clock-output-names");
count            1262 drivers/clk/clk-qoriq.c 	if (count <= 3) {
count            1274 drivers/clk/clk-qoriq.c 	onecell_data->clk_num = count;
count             123 drivers/clk/clk-scmi.c 	int idx, count, err;
count             133 drivers/clk/clk-scmi.c 	count = handle->clk_ops->count_get(handle);
count             134 drivers/clk/clk-scmi.c 	if (count < 0) {
count             139 drivers/clk/clk-scmi.c 	clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, count),
count             144 drivers/clk/clk-scmi.c 	clk_data->num = count;
count             147 drivers/clk/clk-scmi.c 	for (idx = 0; idx < count; idx++) {
count              69 drivers/clk/clk-scpi.c 	for (idx = 0; idx < clk->info->count; idx++, opp++) {
count             106 drivers/clk/clk-scpi.c 	int idx, max_opp = clk->info->count;
count             180 drivers/clk/clk-scpi.c 	unsigned int idx = clkspec->args[0], count;
count             182 drivers/clk/clk-scpi.c 	for (count = 0; count < clk_data->clk_num; count++) {
count             183 drivers/clk/clk-scpi.c 		sclk = clk_data->clk[count];
count             194 drivers/clk/clk-scpi.c 	int idx, count, err;
count             197 drivers/clk/clk-scpi.c 	count = of_property_count_strings(np, "clock-output-names");
count             198 drivers/clk/clk-scpi.c 	if (count < 0) {
count             207 drivers/clk/clk-scpi.c 	clk_data->clk_num = count;
count             208 drivers/clk/clk-scpi.c 	clk_data->clk = devm_kcalloc(dev, count, sizeof(*clk_data->clk),
count             213 drivers/clk/clk-scpi.c 	for (idx = 0; idx < count; idx++) {
count              99 drivers/clk/clk-si5351.c 				   u8 reg, u8 count, u8 *buf)
count             101 drivers/clk/clk-si5351.c 	return regmap_bulk_read(drvdata->regmap, reg, buf, count);
count             111 drivers/clk/clk-si5351.c 				    u8 reg, u8 count, const u8 *buf)
count             113 drivers/clk/clk-si5351.c 	return regmap_raw_write(drvdata->regmap, reg, buf, count);
count             763 drivers/clk/clk.c static void clk_core_rate_restore_protect(struct clk_core *core, int count)
count             770 drivers/clk/clk.c 	if (count == 0)
count             774 drivers/clk/clk.c 	core->protect_count = count;
count            4672 drivers/clk/clk.c 	int count;
count            4674 drivers/clk/clk.c 	count = of_count_phandle_with_args(np, "clocks", "#clock-cells");
count            4675 drivers/clk/clk.c 	if (count < 0)
count            4678 drivers/clk/clk.c 	return count;
count            4690 drivers/clk/clk.c 	int count;
count            4699 drivers/clk/clk.c 	count = 0;
count            4706 drivers/clk/clk.c 			index = count;
count            4709 drivers/clk/clk.c 		count++;
count              17 drivers/clk/imx/clk.c void imx_unregister_clocks(struct clk *clks[], unsigned int count)
count              21 drivers/clk/imx/clk.c 	for (i = 0; i < count; i++)
count              35 drivers/clk/imx/clk.c void imx_check_clocks(struct clk *clks[], unsigned int count)
count              39 drivers/clk/imx/clk.c 	for (i = 0; i < count; i++)
count              45 drivers/clk/imx/clk.c void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count)
count              49 drivers/clk/imx/clk.c 	for (i = 0; i < count; i++)
count              10 drivers/clk/imx/clk.h void imx_check_clocks(struct clk *clks[], unsigned int count);
count              11 drivers/clk/imx/clk.h void imx_check_clk_hws(struct clk_hw *clks[], unsigned int count);
count              14 drivers/clk/imx/clk.h void imx_unregister_clocks(struct clk *clks[], unsigned int count);
count              75 drivers/clk/keystone/gate.c 	u32 count = STATE_TRANS_MAX_COUNT;
count              96 drivers/clk/keystone/gate.c 	} while (((ptstat >> domain_id) & 1) && count--);
count              98 drivers/clk/keystone/gate.c 	count = STATE_TRANS_MAX_COUNT;
count             101 drivers/clk/keystone/gate.c 	} while (!((mdstat & MDSTAT_STATE_MASK) == next_state) && count--);
count             429 drivers/clk/nxp/clk-lpc32xx.c 	u32 val, count;
count             433 drivers/clk/nxp/clk-lpc32xx.c 	for (count = 0; count < 1000; count++) {
count             800 drivers/clk/nxp/clk-lpc32xx.c 	u32 val, ctrl_val, count;
count             821 drivers/clk/nxp/clk-lpc32xx.c 	for (count = 0; count < 1000; count++) {
count             163 drivers/clk/qcom/clk-alpha-pll.c 	int count;
count             171 drivers/clk/qcom/clk-alpha-pll.c 	for (count = 100; count > 0; count--) {
count              84 drivers/clk/qcom/clk-branch.c 		int count = 200;
count              86 drivers/clk/qcom/clk-branch.c 		while (count-- > 0) {
count             182 drivers/clk/qcom/clk-pll.c 	int count;
count             187 drivers/clk/qcom/clk-pll.c 	for (count = 200; count > 0; count--) {
count             101 drivers/clk/qcom/clk-rcg2.c 	int count, ret;
count             112 drivers/clk/qcom/clk-rcg2.c 	for (count = 500; count > 0; count--) {
count             817 drivers/clk/qcom/clk-rcg2.c 	int ret, count;
count             825 drivers/clk/qcom/clk-rcg2.c 	for (count = 500; count > 0; count--) {
count              25 drivers/clk/qcom/clk-regmap-mux-div.c 	int ret, count;
count              44 drivers/clk/qcom/clk-regmap-mux-div.c 	for (count = 500; count > 0; count--) {
count             103 drivers/clk/sunxi/clk-sun9i-mmc.c 	int count, i, ret;
count             113 drivers/clk/sunxi/clk-sun9i-mmc.c 	count = DIV_ROUND_UP((resource_size(r)), SUN9I_MMC_WIDTH);
count             119 drivers/clk/sunxi/clk-sun9i-mmc.c 	clk_data->clk_num = count;
count             120 drivers/clk/sunxi/clk-sun9i-mmc.c 	clk_data->clks = devm_kcalloc(&pdev->dev, count, sizeof(struct clk *),
count             144 drivers/clk/sunxi/clk-sun9i-mmc.c 	for (i = 0; i < count; i++) {
count             165 drivers/clk/sunxi/clk-sun9i-mmc.c 	data->rcdev.nr_resets = count;
count             181 drivers/clk/sunxi/clk-sun9i-mmc.c 	for (i = 0; i < count; i++)
count             402 drivers/clk/tegra/clk-bpmp.c 	unsigned int max_id, id, count = 0;
count             419 drivers/clk/tegra/clk-bpmp.c 		struct tegra_bpmp_clk_info *info = &clocks[count];
count             439 drivers/clk/tegra/clk-bpmp.c 		count++;
count             448 drivers/clk/tegra/clk-bpmp.c 	return count;
count             544 drivers/clk/tegra/clk-bpmp.c 				      unsigned int count)
count             549 drivers/clk/tegra/clk-bpmp.c 	bpmp->num_clocks = count;
count             551 drivers/clk/tegra/clk-bpmp.c 	bpmp->clocks = devm_kcalloc(bpmp->dev, count, sizeof(clk), GFP_KERNEL);
count             555 drivers/clk/tegra/clk-bpmp.c 	for (i = 0; i < count; i++) {
count             558 drivers/clk/tegra/clk-bpmp.c 		clk = tegra_bpmp_clk_register(bpmp, info, infos, count);
count             602 drivers/clk/tegra/clk-bpmp.c 	unsigned int count;
count             609 drivers/clk/tegra/clk-bpmp.c 	count = err;
count             611 drivers/clk/tegra/clk-bpmp.c 	dev_dbg(bpmp->dev, "%u clocks probed\n", count);
count             613 drivers/clk/tegra/clk-bpmp.c 	err = tegra_bpmp_register_clocks(bpmp, clocks, count);
count             103 drivers/clk/tegra/cvb.c 			size_t count, struct rail_alignment *align,
count             110 drivers/clk/tegra/cvb.c 	for (i = 0; i < count; i++) {
count              53 drivers/clk/tegra/cvb.h 			size_t count, struct rail_alignment *align,
count              30 drivers/clk/zte/clk.c 	for (i = 0; i < zx_pll->count; i++) {
count              57 drivers/clk/zte/clk.c 	for (i = 0; i < zx_pll->count; i++) {
count             157 drivers/clk/zte/clk.c 				int count, spinlock_t *lock)
count             175 drivers/clk/zte/clk.c 	zx_pll->count = count;
count              24 drivers/clk/zte/clk.h 	int count;
count              41 drivers/clk/zte/clk.h 	.count		= ARRAY_SIZE(_table),				\
count             160 drivers/clk/zte/clk.h 	const struct zx_pll_config *lookup_table, int count, spinlock_t *lock);
count             148 drivers/clocksource/acpi_pm.c 	unsigned long count, delta;
count             152 drivers/clocksource/acpi_pm.c 	mach_countup(&count);
count              33 drivers/clocksource/clksrc-dbx500-prcmu.c 	u32 count, count2;
count              36 drivers/clocksource/clksrc-dbx500-prcmu.c 		count = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT);
count              38 drivers/clocksource/clksrc-dbx500-prcmu.c 	} while (count2 != count);
count              41 drivers/clocksource/clksrc-dbx500-prcmu.c 	return ~count;
count              41 drivers/clocksource/i8253.c 	int count;
count              60 drivers/clocksource/i8253.c 	count = inb_p(PIT_CH0);	/* read the latched count */
count              61 drivers/clocksource/i8253.c 	count |= inb_p(PIT_CH0) << 8;
count              64 drivers/clocksource/i8253.c 	if (count > PIT_LATCH) {
count              68 drivers/clocksource/i8253.c 		count = PIT_LATCH - 1;
count              84 drivers/clocksource/i8253.c 	if (count > old_count && jifs == old_jifs)
count              85 drivers/clocksource/i8253.c 		count = old_count;
count              87 drivers/clocksource/i8253.c 	old_count = count;
count              92 drivers/clocksource/i8253.c 	count = (PIT_LATCH - 1) - count;
count              94 drivers/clocksource/i8253.c 	return (u64)(jifs * PIT_LATCH) + count;
count              43 drivers/clocksource/ingenic-timer.c 	unsigned int count;
count              45 drivers/clocksource/ingenic-timer.c 	regmap_read(tcu->map, TCU_REG_TCNTc(tcu->cs_channel), &count);
count              47 drivers/clocksource/ingenic-timer.c 	return count;
count              85 drivers/clocksource/timer-digicolor.c 				      unsigned long count)
count              88 drivers/clocksource/timer-digicolor.c 	writel(count, dt->base + COUNT(dt->timer_id));
count             638 drivers/counter/104-quad-8.c 	struct counter_count *count, struct counter_count_read_value *val)
count             641 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id;
count             672 drivers/counter/104-quad-8.c 	struct counter_count *count, struct counter_count_write_value *val)
count             675 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id;
count             705 drivers/counter/104-quad-8.c 	position = priv->preset[count->id];
count             734 drivers/counter/104-quad-8.c 	struct counter_count *count, size_t *function)
count             737 drivers/counter/104-quad-8.c 	const int id = count->id;
count             762 drivers/counter/104-quad-8.c 	struct counter_count *count, size_t function)
count             765 drivers/counter/104-quad-8.c 	const int id = count->id;
count             818 drivers/counter/104-quad-8.c 	struct counter_count *count, enum counter_count_direction *direction)
count             822 drivers/counter/104-quad-8.c 	const unsigned int flag_addr = priv->base + 2 * count->id + 1;
count             851 drivers/counter/104-quad-8.c 	struct counter_count *count, struct counter_synapse *synapse,
count             857 drivers/counter/104-quad-8.c 	const size_t signal_a_id = count->synapses[0].signal->id;
count             862 drivers/counter/104-quad-8.c 		if (priv->preset_enable[count->id])
count             870 drivers/counter/104-quad-8.c 	err = quad8_function_get(counter, count, &function);
count             885 drivers/counter/104-quad-8.c 			quad8_direction_get(counter, count, &direction);
count            1001 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, char *buf)
count            1008 drivers/counter/104-quad-8.c 	struct counter_count *count, size_t *cnt_mode)
count            1013 drivers/counter/104-quad-8.c 	switch (priv->count_mode[count->id]) {
count            1032 drivers/counter/104-quad-8.c 	struct counter_count *count, size_t cnt_mode)
count            1036 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id + 1;
count            1056 drivers/counter/104-quad-8.c 	priv->count_mode[count->id] = cnt_mode;
count            1062 drivers/counter/104-quad-8.c 	if (priv->quadrature_mode[count->id])
count            1063 drivers/counter/104-quad-8.c 		mode_cfg |= (priv->quadrature_scale[count->id] + 1) << 3;
count            1081 drivers/counter/104-quad-8.c 	struct counter_count *count, void *priv, char *buf)
count            1085 drivers/counter/104-quad-8.c 	quad8_direction_get(counter, count, &dir);
count            1091 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, char *buf)
count            1095 drivers/counter/104-quad-8.c 	return sprintf(buf, "%u\n", priv->ab_enable[count->id]);
count            1099 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, const char *buf, size_t len)
count            1102 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id;
count            1113 drivers/counter/104-quad-8.c 	priv->ab_enable[count->id] = ab_enable;
count            1115 drivers/counter/104-quad-8.c 	ior_cfg = ab_enable | priv->preset_enable[count->id] << 1;
count            1126 drivers/counter/104-quad-8.c 	struct counter_count *count, size_t *noise_error)
count            1129 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id + 1;
count            1143 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, char *buf)
count            1147 drivers/counter/104-quad-8.c 	return sprintf(buf, "%u\n", priv->preset[count->id]);
count            1167 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, const char *buf, size_t len)
count            1183 drivers/counter/104-quad-8.c 	quad8_preset_register_set(priv, count->id, preset);
count            1191 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, char *buf)
count            1198 drivers/counter/104-quad-8.c 	switch (priv->count_mode[count->id]) {
count            1202 drivers/counter/104-quad-8.c 		return sprintf(buf, "%u\n", priv->preset[count->id]);
count            1212 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, const char *buf, size_t len)
count            1229 drivers/counter/104-quad-8.c 	switch (priv->count_mode[count->id]) {
count            1232 drivers/counter/104-quad-8.c 		quad8_preset_register_set(priv, count->id, ceiling);
count            1242 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, char *buf)
count            1246 drivers/counter/104-quad-8.c 	return sprintf(buf, "%u\n", !priv->preset_enable[count->id]);
count            1250 drivers/counter/104-quad-8.c 	struct counter_count *count, void *private, const char *buf, size_t len)
count            1253 drivers/counter/104-quad-8.c 	const int base_offset = priv->base + 2 * count->id + 1;
count            1267 drivers/counter/104-quad-8.c 	priv->preset_enable[count->id] = preset_enable;
count            1269 drivers/counter/104-quad-8.c 	ior_cfg = priv->ab_enable[count->id] | (unsigned int)preset_enable << 1;
count             101 drivers/counter/counter.c 				struct counter_count *count, void *priv,
count             111 drivers/counter/counter.c 	err = e->get(counter, count, &index);
count             123 drivers/counter/counter.c 				 struct counter_count *count, void *priv,
count             137 drivers/counter/counter.c 	err = e->set(counter, count, index);
count             146 drivers/counter/counter.c 					  struct counter_count *count,
count             616 drivers/counter/counter.c 	struct counter_count *count;
count             626 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             631 drivers/counter/counter.c 	err = counter->ops->action_get(counter, count, synapse, &action_index);
count             653 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             665 drivers/counter/counter.c 	err = counter->ops->action_set(counter, count, synapse, action_index);
count             700 drivers/counter/counter.c 	struct counter_count *const count, const char *const count_attr_name)
count             711 drivers/counter/counter.c 	for (i = 0; i < count->num_synapses; i++) {
count             712 drivers/counter/counter.c 		synapse = count->synapses + i;
count             729 drivers/counter/counter.c 		action_comp->count = count;
count             779 drivers/counter/counter.c 	struct counter_count *count;
count             789 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             793 drivers/counter/counter.c 	err = counter->ops->count_read(counter, count, &val);
count             807 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             811 drivers/counter/counter.c 	err = counter->ops->count_write(counter, count, &val);
count             836 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             840 drivers/counter/counter.c 	err = counter->ops->function_get(counter, count, &func_index);
count             844 drivers/counter/counter.c 	count->function = func_index;
count             846 drivers/counter/counter.c 	function = count->functions_list[func_index];
count             856 drivers/counter/counter.c 	struct counter_count *const count = component->count;
count             857 drivers/counter/counter.c 	const size_t num_functions = count->num_functions;
count             865 drivers/counter/counter.c 		function = count->functions_list[func_index];
count             873 drivers/counter/counter.c 	err = counter->ops->function_set(counter, count, func_index);
count             877 drivers/counter/counter.c 	count->function = func_index;
count             883 drivers/counter/counter.c 	struct counter_count *count;
count             894 drivers/counter/counter.c 	return ext->read(dev_get_drvdata(dev), comp->count, ext->priv, buf);
count             905 drivers/counter/counter.c 	return ext->write(dev_get_drvdata(dev), comp->count, ext->priv, buf,
count             911 drivers/counter/counter.c 	struct counter_count *const count)
count             920 drivers/counter/counter.c 	for (i = 0 ; i < count->num_ext; i++) {
count             921 drivers/counter/counter.c 		ext = count->ext + i;
count             929 drivers/counter/counter.c 		count_ext_comp->count = count;
count             981 drivers/counter/counter.c 	struct counter_count *const count)
count             993 drivers/counter/counter.c 	count_comp->count = count;
count            1014 drivers/counter/counter.c 	func_comp->count = count;
count            1035 drivers/counter/counter.c 	avail_comp->functions_list = count->functions_list;
count            1036 drivers/counter/counter.c 	avail_comp->num_functions = count->num_functions;
count            1052 drivers/counter/counter.c 	err = counter_name_attribute_create(group, count->name);
count            1057 drivers/counter/counter.c 	err = counter_count_ext_register(group, count);
count            1073 drivers/counter/counter.c 	struct counter_count *count;
count            1079 drivers/counter/counter.c 		count = counter->counts + i;
count            1082 drivers/counter/counter.c 		name = kasprintf(GFP_KERNEL, "count%d", count->id);
count            1090 drivers/counter/counter.c 		err = counter_synapses_register(groups_list + i, counter, count,
count            1097 drivers/counter/counter.c 						      count);
count             118 drivers/counter/ftm-quaddec.c 				     struct counter_count *count,
count             132 drivers/counter/ftm-quaddec.c 				     struct counter_count *count,
count             180 drivers/counter/ftm-quaddec.c 				  struct counter_count *count,
count             194 drivers/counter/ftm-quaddec.c 				   struct counter_count *count,
count             216 drivers/counter/ftm-quaddec.c 					  struct counter_count *count,
count             225 drivers/counter/ftm-quaddec.c 				  struct counter_count *count,
count             380 drivers/counter/stm32-lptimer-cnt.c 				struct counter_count *count,
count             397 drivers/counter/stm32-lptimer-cnt.c 					struct counter_count *count,
count             416 drivers/counter/stm32-lptimer-cnt.c 					struct counter_count *count,
count             438 drivers/counter/stm32-lptimer-cnt.c 					   struct counter_count *count,
count             452 drivers/counter/stm32-lptimer-cnt.c 					    struct counter_count *count,
count             483 drivers/counter/stm32-lptimer-cnt.c 					    struct counter_count *count,
count             492 drivers/counter/stm32-lptimer-cnt.c 					     struct counter_count *count,
count             515 drivers/counter/stm32-lptimer-cnt.c 				      struct counter_count *count,
count             523 drivers/counter/stm32-lptimer-cnt.c 	err = stm32_lptim_cnt_function_get(counter, count, &function);
count             530 drivers/counter/stm32-lptimer-cnt.c 		if (synapse->signal->id == count->synapses[0].signal->id)
count             544 drivers/counter/stm32-lptimer-cnt.c 				      struct counter_count *count,
count             555 drivers/counter/stm32-lptimer-cnt.c 	err = stm32_lptim_cnt_function_get(counter, count, &function);
count             561 drivers/counter/stm32-lptimer-cnt.c 	    && synapse->signal->id == count->synapses[0].signal->id) {
count              51 drivers/counter/stm32-timer-cnt.c 			    struct counter_count *count,
count              64 drivers/counter/stm32-timer-cnt.c 			     struct counter_count *count,
count              82 drivers/counter/stm32-timer-cnt.c 				    struct counter_count *count,
count             106 drivers/counter/stm32-timer-cnt.c 				    struct counter_count *count,
count             148 drivers/counter/stm32-timer-cnt.c 				      struct counter_count *count,
count             162 drivers/counter/stm32-timer-cnt.c 					struct counter_count *count,
count             174 drivers/counter/stm32-timer-cnt.c 					 struct counter_count *count,
count             195 drivers/counter/stm32-timer-cnt.c 				       struct counter_count *count,
count             207 drivers/counter/stm32-timer-cnt.c 					struct counter_count *count,
count             265 drivers/counter/stm32-timer-cnt.c 			    struct counter_count *count,
count             275 drivers/counter/stm32-timer-cnt.c 	err = stm32_count_function_get(counter, count, &function);
count             282 drivers/counter/stm32-timer-cnt.c 		if (synapse->signal->id == count->synapses[0].signal->id)
count             287 drivers/counter/stm32-timer-cnt.c 		if (synapse->signal->id == count->synapses[1].signal->id)
count             152 drivers/cpufreq/acpi-cpufreq.c 			 size_t count)
count             166 drivers/cpufreq/acpi-cpufreq.c 	return count;
count             245 drivers/cpufreq/arm_big_little.c 	int count;
count             247 drivers/cpufreq/arm_big_little.c 	for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++)
count             250 drivers/cpufreq/arm_big_little.c 	return count;
count             277 drivers/cpufreq/arm_big_little.c 	int i, j, k = 0, count = 1;
count             281 drivers/cpufreq/arm_big_little.c 		count += get_table_count(freq_table[i]);
count             283 drivers/cpufreq/arm_big_little.c 	table = kcalloc(count, sizeof(*table), GFP_KERNEL);
count             587 drivers/cpufreq/cpufreq.c 			   const char *buf, size_t count)
count             604 drivers/cpufreq/cpufreq.c 	return count;
count             709 drivers/cpufreq/cpufreq.c (struct cpufreq_policy *policy, const char *buf, size_t count)		\
count             719 drivers/cpufreq/cpufreq.c 	return ret >= 0 ? count : ret;					\
count             758 drivers/cpufreq/cpufreq.c 					const char *buf, size_t count)
count             788 drivers/cpufreq/cpufreq.c 	return ret ? ret : count;
count             859 drivers/cpufreq/cpufreq.c 					const char *buf, size_t count)
count             873 drivers/cpufreq/cpufreq.c 	return count;
count             947 drivers/cpufreq/cpufreq.c 		     const char *buf, size_t count)
count             965 drivers/cpufreq/cpufreq.c 		ret = fattr->store(policy, buf, count);
count             148 drivers/cpufreq/cpufreq_conservative.c 					  const char *buf, size_t count)
count             159 drivers/cpufreq/cpufreq_conservative.c 	return count;
count             163 drivers/cpufreq/cpufreq_conservative.c 				  const char *buf, size_t count)
count             175 drivers/cpufreq/cpufreq_conservative.c 	return count;
count             179 drivers/cpufreq/cpufreq_conservative.c 				    const char *buf, size_t count)
count             193 drivers/cpufreq/cpufreq_conservative.c 	return count;
count             197 drivers/cpufreq/cpufreq_conservative.c 				      const char *buf, size_t count)
count             211 drivers/cpufreq/cpufreq_conservative.c 		return count;
count             218 drivers/cpufreq/cpufreq_conservative.c 	return count;
count             222 drivers/cpufreq/cpufreq_conservative.c 			       size_t count)
count             241 drivers/cpufreq/cpufreq_conservative.c 	return count;
count              45 drivers/cpufreq/cpufreq_governor.c 			    size_t count)
count              81 drivers/cpufreq/cpufreq_governor.c 	return count;
count             482 drivers/cpufreq/cpufreq_governor.c 	unsigned int count;
count             487 drivers/cpufreq/cpufreq_governor.c 	count = gov_attr_set_put(&dbs_data->attr_set, &policy_dbs->list);
count             491 drivers/cpufreq/cpufreq_governor.c 	if (!count) {
count             180 drivers/cpufreq/cpufreq_governor.h 			    size_t count);
count              30 drivers/cpufreq/cpufreq_governor_attr_set.c 			      const char *buf, size_t count)
count              37 drivers/cpufreq/cpufreq_governor_attr_set.c 	ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY;
count              68 drivers/cpufreq/cpufreq_governor_attr_set.c 	unsigned int count;
count              72 drivers/cpufreq/cpufreq_governor_attr_set.c 	count = --attr_set->usage_count;
count              74 drivers/cpufreq/cpufreq_governor_attr_set.c 	if (count)
count              75 drivers/cpufreq/cpufreq_governor_attr_set.c 		return count;
count             204 drivers/cpufreq/cpufreq_ondemand.c 				size_t count)
count             218 drivers/cpufreq/cpufreq_ondemand.c 	return count;
count             222 drivers/cpufreq/cpufreq_ondemand.c 				  const char *buf, size_t count)
count             235 drivers/cpufreq/cpufreq_ondemand.c 	return count;
count             239 drivers/cpufreq/cpufreq_ondemand.c 					  const char *buf, size_t count)
count             263 drivers/cpufreq/cpufreq_ondemand.c 	return count;
count             267 drivers/cpufreq/cpufreq_ondemand.c 				      const char *buf, size_t count)
count             281 drivers/cpufreq/cpufreq_ondemand.c 		return count;
count             288 drivers/cpufreq/cpufreq_ondemand.c 	return count;
count             292 drivers/cpufreq/cpufreq_ondemand.c 				    const char *buf, size_t count)
count             312 drivers/cpufreq/cpufreq_ondemand.c 	return count;
count              37 drivers/cpufreq/cpufreq_stats.c 	unsigned int count = stats->max_state;
count              40 drivers/cpufreq/cpufreq_stats.c 	memset(stats->time_in_state, 0, count * sizeof(u64));
count              41 drivers/cpufreq/cpufreq_stats.c 	memset(stats->trans_table, 0, count * count * sizeof(int));
count              76 drivers/cpufreq/cpufreq_stats.c 			   size_t count)
count              80 drivers/cpufreq/cpufreq_stats.c 	return count;
count             171 drivers/cpufreq/cpufreq_stats.c 	unsigned int i = 0, count = 0, ret = -ENOMEM;
count             176 drivers/cpufreq/cpufreq_stats.c 	count = cpufreq_table_count_valid_entries(policy);
count             177 drivers/cpufreq/cpufreq_stats.c 	if (!count)
count             188 drivers/cpufreq/cpufreq_stats.c 	alloc_size = count * sizeof(int) + count * sizeof(u64);
count             190 drivers/cpufreq/cpufreq_stats.c 	alloc_size += count * count * sizeof(int);
count             197 drivers/cpufreq/cpufreq_stats.c 	stats->freq_table = (unsigned int *)(stats->time_in_state + count);
count             199 drivers/cpufreq/cpufreq_stats.c 	stats->trans_table = stats->freq_table + count;
count             201 drivers/cpufreq/cpufreq_stats.c 	stats->max_state = count;
count             230 drivers/cpufreq/freq_table.c 	ssize_t count = 0;
count             251 drivers/cpufreq/freq_table.c 		count += sprintf(&buf[count], "%d ", pos->frequency);
count             253 drivers/cpufreq/freq_table.c 	count += sprintf(&buf[count], "\n");
count             255 drivers/cpufreq/freq_table.c 	return count;
count             693 drivers/cpufreq/intel_pstate.c 		struct cpufreq_policy *policy, const char *buf, size_t count)
count             708 drivers/cpufreq/intel_pstate.c 	return count;
count             958 drivers/cpufreq/intel_pstate.c 			    const char *buf, size_t count)
count             960 drivers/cpufreq/intel_pstate.c 	char *p = memchr(buf, '\n', count);
count             964 drivers/cpufreq/intel_pstate.c 	ret = intel_pstate_update_status(buf, p ? p - buf : count);
count             967 drivers/cpufreq/intel_pstate.c 	return ret < 0 ? ret : count;
count            1041 drivers/cpufreq/intel_pstate.c 			      const char *buf, size_t count)
count            1084 drivers/cpufreq/intel_pstate.c 	return count;
count            1129 drivers/cpufreq/intel_pstate.c 				  const char *buf, size_t count)
count            1158 drivers/cpufreq/intel_pstate.c 	return count;
count            1162 drivers/cpufreq/intel_pstate.c 				  const char *buf, size_t count)
count            1192 drivers/cpufreq/intel_pstate.c 	return count;
count            1203 drivers/cpufreq/intel_pstate.c 				       const char *buf, size_t count)
count            1217 drivers/cpufreq/intel_pstate.c 	return count;
count             312 drivers/cpufreq/pcc-cpufreq.c 	input.count = 4;
count             121 drivers/cpufreq/pmac64-cpufreq.c 	args.count = 1;
count             132 drivers/cpufreq/pmac64-cpufreq.c 		args.count = 1;
count             276 drivers/cpufreq/pmac64-cpufreq.c 		args.count = 1;
count             301 drivers/cpufreq/pmac64-cpufreq.c 	args.count = 1;
count             111 drivers/cpufreq/qoriq-cpufreq.c 		int count)
count             115 drivers/cpufreq/qoriq-cpufreq.c 	for (i = 1; i < count; i++) {
count             130 drivers/cpufreq/qoriq-cpufreq.c 		int count)
count             136 drivers/cpufreq/qoriq-cpufreq.c 	for (i = 0; i < count - 1; i++) {
count             139 drivers/cpufreq/qoriq-cpufreq.c 		for (j = i + 1; j < count; j++) {
count             163 drivers/cpufreq/qoriq-cpufreq.c 	int i, count;
count             187 drivers/cpufreq/qoriq-cpufreq.c 	count = clk_hw_get_num_parents(hwclk);
count             189 drivers/cpufreq/qoriq-cpufreq.c 	data->pclk = kcalloc(count, sizeof(struct clk *), GFP_KERNEL);
count             193 drivers/cpufreq/qoriq-cpufreq.c 	table = kcalloc(count + 1, sizeof(*table), GFP_KERNEL);
count             197 drivers/cpufreq/qoriq-cpufreq.c 	for (i = 0; i < count; i++) {
count             204 drivers/cpufreq/qoriq-cpufreq.c 	freq_table_redup(table, count);
count             205 drivers/cpufreq/qoriq-cpufreq.c 	freq_table_sort(table, count);
count             265 drivers/cpufreq/s3c2416-cpufreq.c 	int count, v, i, found;
count             269 drivers/cpufreq/s3c2416-cpufreq.c 	count = regulator_count_voltages(s3c_freq->vddarm);
count             270 drivers/cpufreq/s3c2416-cpufreq.c 	if (count < 0) {
count             275 drivers/cpufreq/s3c2416-cpufreq.c 	if (!count)
count             283 drivers/cpufreq/s3c2416-cpufreq.c 		for (i = 0; i < count; i++) {
count             109 drivers/cpufreq/s3c64xx-cpufreq.c 	int count, v, i, found;
count             113 drivers/cpufreq/s3c64xx-cpufreq.c 	count = regulator_count_voltages(vddarm);
count             114 drivers/cpufreq/s3c64xx-cpufreq.c 	if (count < 0) {
count             118 drivers/cpufreq/s3c64xx-cpufreq.c 	if (!count)
count             125 drivers/cpufreq/s3c64xx-cpufreq.c 		for (i = 0; i < count; i++) {
count              78 drivers/cpuidle/cpuidle-psci.c 	int i, ret = 0, count = 0;
count              84 drivers/cpuidle/cpuidle-psci.c 					      count))) {
count              85 drivers/cpuidle/cpuidle-psci.c 		count++;
count              89 drivers/cpuidle/cpuidle-psci.c 	if (!count)
count              92 drivers/cpuidle/cpuidle-psci.c 	psci_states = kcalloc(count, sizeof(*psci_states), GFP_KERNEL);
count              96 drivers/cpuidle/cpuidle-psci.c 	for (i = 0; i < count; i++) {
count             373 drivers/cpuidle/governors/teo.c 		unsigned int count = 0;
count             386 drivers/cpuidle/governors/teo.c 			count++;
count             394 drivers/cpuidle/governors/teo.c 		if (count > INTERVALS / 2) {
count             395 drivers/cpuidle/governors/teo.c 			unsigned int avg_us = div64_u64(sum, count);
count              86 drivers/cpuidle/sysfs.c 				      const char *buf, size_t count)
count              90 drivers/cpuidle/sysfs.c 	size_t len = count;
count             115 drivers/cpuidle/sysfs.c 		return count;
count             165 drivers/cpuidle/sysfs.c 	ssize_t (*store)(struct cpuidle_device *, const char *, size_t count);
count             205 drivers/cpuidle/sysfs.c 			     const char *buf, size_t count)
count             213 drivers/cpuidle/sysfs.c 		ret = cattr->store(dev, buf, count);
count             376 drivers/crypto/atmel-aes.c 					u32 *value, int count)
count             378 drivers/crypto/atmel-aes.c 	for (; count--; value++, offset += 4)
count             383 drivers/crypto/atmel-aes.c 			      const u32 *value, int count)
count             385 drivers/crypto/atmel-aes.c 	for (; count--; value++, offset += 4)
count              47 drivers/crypto/atmel-i2c.c 	u8 *data = &cmd->count;
count              48 drivers/crypto/atmel-i2c.c 	size_t len = cmd->count - CRC_SIZE;
count              64 drivers/crypto/atmel-i2c.c 	cmd->count = READ_COUNT;
count              79 drivers/crypto/atmel-i2c.c 	cmd->count = RANDOM_COUNT;
count              91 drivers/crypto/atmel-i2c.c 	cmd->count = GENKEY_COUNT;
count             110 drivers/crypto/atmel-i2c.c 	cmd->count = ECDH_COUNT;
count             228 drivers/crypto/atmel-i2c.c 	ret = i2c_master_send(client, (u8 *)cmd, cmd->count + WORD_ADDR_SIZE);
count              51 drivers/crypto/atmel-i2c.h 	u8 count;
count             304 drivers/crypto/atmel-sha.c 	size_t count;
count             307 drivers/crypto/atmel-sha.c 		count = min(ctx->sg->length - ctx->offset, ctx->total);
count             308 drivers/crypto/atmel-sha.c 		count = min(count, ctx->buflen - ctx->bufcnt);
count             310 drivers/crypto/atmel-sha.c 		if (count <= 0) {
count             326 drivers/crypto/atmel-sha.c 			ctx->offset, count, 0);
count             328 drivers/crypto/atmel-sha.c 		ctx->bufcnt += count;
count             329 drivers/crypto/atmel-sha.c 		ctx->offset += count;
count             330 drivers/crypto/atmel-sha.c 		ctx->total -= count;
count             565 drivers/crypto/atmel-sha.c 	int count, len32;
count             585 drivers/crypto/atmel-sha.c 	for (count = 0; count < len32; count++)
count             586 drivers/crypto/atmel-sha.c 		atmel_sha_write(dd, SHA_REG_DIN(count), buffer[count]);
count             738 drivers/crypto/atmel-sha.c 	size_t count;
count             751 drivers/crypto/atmel-sha.c 		count = ctx->bufcnt;
count             753 drivers/crypto/atmel-sha.c 		return atmel_sha_xmit_dma_map(dd, ctx, count, final);
count             764 drivers/crypto/atmel-sha.c 	unsigned int count;
count             821 drivers/crypto/atmel-sha.c 			count = ctx->bufcnt;
count             823 drivers/crypto/atmel-sha.c 			return atmel_sha_xmit_start(dd, ctx->dma_addr, count, 0,
count             835 drivers/crypto/atmel-sha.c 			count = ctx->bufcnt;
count             838 drivers/crypto/atmel-sha.c 					length, ctx->dma_addr, count, final);
count             903 drivers/crypto/atmel-sha.c 	int count;
count             907 drivers/crypto/atmel-sha.c 		count = ctx->bufcnt;
count             909 drivers/crypto/atmel-sha.c 		err = atmel_sha_xmit_dma_map(dd, ctx, count, 1);
count             914 drivers/crypto/atmel-sha.c 		count = ctx->bufcnt;
count             916 drivers/crypto/atmel-sha.c 		err = atmel_sha_xmit_cpu(dd, ctx->buffer, count, 1);
count             150 drivers/crypto/atmel-tdes.c 	size_t count, off = 0;
count             153 drivers/crypto/atmel-tdes.c 		count = min((*sg)->length - *offset, total);
count             154 drivers/crypto/atmel-tdes.c 		count = min(count, buflen);
count             156 drivers/crypto/atmel-tdes.c 		if (!count)
count             159 drivers/crypto/atmel-tdes.c 		scatterwalk_map_and_copy(buf + off, *sg, *offset, count, out);
count             161 drivers/crypto/atmel-tdes.c 		off += count;
count             162 drivers/crypto/atmel-tdes.c 		buflen -= count;
count             163 drivers/crypto/atmel-tdes.c 		*offset += count;
count             164 drivers/crypto/atmel-tdes.c 		total -= count;
count             190 drivers/crypto/atmel-tdes.c 					u32 *value, int count)
count             192 drivers/crypto/atmel-tdes.c 	for (; count--; value++, offset += 4)
count             320 drivers/crypto/atmel-tdes.c 	size_t count;
count             332 drivers/crypto/atmel-tdes.c 		count = atmel_tdes_sg_copy(&dd->out_sg, &dd->out_offset,
count             334 drivers/crypto/atmel-tdes.c 		if (count != dd->dma_size) {
count             336 drivers/crypto/atmel-tdes.c 			pr_err("not all data converted: %zu\n", count);
count             508 drivers/crypto/atmel-tdes.c 	size_t count;
count             525 drivers/crypto/atmel-tdes.c 		count = min_t(size_t, dd->total, sg_dma_len(dd->in_sg));
count             526 drivers/crypto/atmel-tdes.c 		count = min_t(size_t, count, sg_dma_len(dd->out_sg));
count             550 drivers/crypto/atmel-tdes.c 		count = atmel_tdes_sg_copy(&dd->in_sg, &dd->in_offset,
count             559 drivers/crypto/atmel-tdes.c 	dd->total -= count;
count             562 drivers/crypto/atmel-tdes.c 		err = atmel_tdes_crypt_dma(tfm, addr_in, addr_out, count);
count             564 drivers/crypto/atmel-tdes.c 		err = atmel_tdes_crypt_pdc(tfm, addr_in, addr_out, count);
count             645 drivers/crypto/atmel-tdes.c 	size_t count;
count             657 drivers/crypto/atmel-tdes.c 			count = atmel_tdes_sg_copy(&dd->out_sg, &dd->out_offset,
count             659 drivers/crypto/atmel-tdes.c 			if (count != dd->dma_size) {
count             661 drivers/crypto/atmel-tdes.c 				pr_err("not all data converted: %zu\n", count);
count             824 drivers/crypto/axis/artpec6_crypto.c 				  size_t count)
count             830 drivers/crypto/axis/artpec6_crypto.c 	while (walk->sg && count) {
count             831 drivers/crypto/axis/artpec6_crypto.c 		chunk = min(count, artpec6_crypto_walk_chunklen(walk));
count             874 drivers/crypto/axis/artpec6_crypto.c 		count = count - chunk;
count             878 drivers/crypto/axis/artpec6_crypto.c 	if (count)
count             879 drivers/crypto/axis/artpec6_crypto.c 		pr_err("EOL unexpected %zu bytes left\n", count);
count             881 drivers/crypto/axis/artpec6_crypto.c 	return count ? -EINVAL : 0;
count             887 drivers/crypto/axis/artpec6_crypto.c 				   size_t count)
count             893 drivers/crypto/axis/artpec6_crypto.c 	while (walk->sg && count) {
count             894 drivers/crypto/axis/artpec6_crypto.c 		chunk = min(count, artpec6_crypto_walk_chunklen(walk));
count             931 drivers/crypto/axis/artpec6_crypto.c 		count = count - chunk;
count             935 drivers/crypto/axis/artpec6_crypto.c 	if (count)
count             936 drivers/crypto/axis/artpec6_crypto.c 		pr_err("EOL unexpected %zu bytes left\n", count);
count             938 drivers/crypto/axis/artpec6_crypto.c 	return count ? -EINVAL : 0;
count            1834 drivers/crypto/axis/artpec6_crypto.c 	size_t count;
count            1935 drivers/crypto/axis/artpec6_crypto.c 		count = areq->assoclen;
count            1936 drivers/crypto/axis/artpec6_crypto.c 		ret = artpec6_crypto_setup_sg_descrs_out(common, &walk, count);
count            1952 drivers/crypto/axis/artpec6_crypto.c 		count = input_length;
count            1953 drivers/crypto/axis/artpec6_crypto.c 		ret = artpec6_crypto_setup_sg_descrs_out(common, &walk, count);
count            1981 drivers/crypto/axis/artpec6_crypto.c 		count = artpec6_crypto_walk_advance(&walk, areq->assoclen);
count            1982 drivers/crypto/axis/artpec6_crypto.c 		if (count)
count            1985 drivers/crypto/axis/artpec6_crypto.c 		count = output_len;
count            1986 drivers/crypto/axis/artpec6_crypto.c 		ret = artpec6_crypto_setup_sg_descrs_in(common, &walk, count);
count            2024 drivers/crypto/axis/artpec6_crypto.c 				count = AES_BLOCK_SIZE - authsize;
count            2027 drivers/crypto/axis/artpec6_crypto.c 					count, false);
count             277 drivers/crypto/bcm/util.c 	unsigned int count;
count             281 drivers/crypto/bcm/util.c 			count = (len - num_out > 16) ? 16 : len - num_out;
count             282 drivers/crypto/bcm/util.c 			sg_copy_part_to_buf(sg, dbuf, count, idx);
count             283 drivers/crypto/bcm/util.c 			num_out += count;
count             285 drivers/crypto/bcm/util.c 				       4, 1, dbuf, count, false);
count             349 drivers/crypto/bcm/util.c 				size_t count, loff_t *offp)
count             467 drivers/crypto/bcm/util.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset);
count             533 drivers/crypto/caam/desc_constr.h 				    u32 *inl_mask, unsigned int count)
count             539 drivers/crypto/caam/desc_constr.h 	for (i = 0; (i < count) && (rem_bytes > 0); i++) {
count             541 drivers/crypto/caam/desc_constr.h 			(count - i - 1) * CAAM_PTR_SZ) >= 0) {
count              44 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c static inline int incr_index(int index, int count, int max)
count              46 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 	if ((index + count) >= max)
count              47 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 		index = index + count - max;
count              49 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c 		index += count;
count              43 drivers/crypto/ccp/ccp-debugfs.c 				      size_t count, loff_t *offp)
count              88 drivers/crypto/ccp/ccp-debugfs.c 	ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff);
count              98 drivers/crypto/ccp/ccp-debugfs.c 				       size_t count, loff_t *offp)
count             150 drivers/crypto/ccp/ccp-debugfs.c 	ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff);
count             176 drivers/crypto/ccp/ccp-debugfs.c 					size_t count, loff_t *offp)
count             185 drivers/crypto/ccp/ccp-debugfs.c 	return count;
count             192 drivers/crypto/ccp/ccp-debugfs.c 				       size_t count, loff_t *offp)
count             236 drivers/crypto/ccp/ccp-debugfs.c 	ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff);
count             247 drivers/crypto/ccp/ccp-debugfs.c 					size_t count, loff_t *offp)
count             253 drivers/crypto/ccp/ccp-debugfs.c 	return count;
count              19 drivers/crypto/ccp/ccp-dev-v3.c static u32 ccp_alloc_ksb(struct ccp_cmd_queue *cmd_q, unsigned int count)
count              30 drivers/crypto/ccp/ccp-dev-v3.c 							count, 0);
count              32 drivers/crypto/ccp/ccp-dev-v3.c 			bitmap_set(ccp->sb, start, count);
count              51 drivers/crypto/ccp/ccp-dev-v3.c 			 unsigned int count)
count              60 drivers/crypto/ccp/ccp-dev-v3.c 	bitmap_clear(ccp->sb, start - KSB_START, count);
count              25 drivers/crypto/ccp/ccp-dev-v5.c static u32 ccp_lsb_alloc(struct ccp_cmd_queue *cmd_q, unsigned int count)
count              34 drivers/crypto/ccp/ccp-dev-v5.c 							0, count, 0);
count              36 drivers/crypto/ccp/ccp-dev-v5.c 			bitmap_set(cmd_q->lsbmap, start, count);
count              49 drivers/crypto/ccp/ccp-dev-v5.c 							count, 0);
count              51 drivers/crypto/ccp/ccp-dev-v5.c 			bitmap_set(ccp->lsbmap, start, count);
count              71 drivers/crypto/ccp/ccp-dev-v5.c 			 unsigned int count)
count              78 drivers/crypto/ccp/ccp-dev-v5.c 		bitmap_clear(cmd_q->lsbmap, start, count);
count              84 drivers/crypto/ccp/ccp-dev-v5.c 		bitmap_clear(ccp->lsbmap, start, count);
count              88 drivers/crypto/ccp/sp-platform.c 	unsigned int i, count;
count              91 drivers/crypto/ccp/sp-platform.c 	for (i = 0, count = 0; i < pdev->num_resources; i++) {
count              95 drivers/crypto/ccp/sp-platform.c 			count++;
count              98 drivers/crypto/ccp/sp-platform.c 	sp_platform->irq_count = count;
count             107 drivers/crypto/ccp/sp-platform.c 	if (count == 1) {
count              32 drivers/crypto/ccree/cc_hash.h 	unsigned int count;
count             811 drivers/crypto/hisilicon/qm.c 			     size_t count, loff_t *pos)
count             833 drivers/crypto/hisilicon/qm.c 	return simple_read_from_buffer(buf, count, pos, tbuf, ret);
count             837 drivers/crypto/hisilicon/qm.c 			      size_t count, loff_t *pos)
count             848 drivers/crypto/hisilicon/qm.c 	if (count >= QM_DBG_TMP_BUF_LEN)
count             852 drivers/crypto/hisilicon/qm.c 				     count);
count             878 drivers/crypto/hisilicon/qm.c 	return count;
count             177 drivers/crypto/hisilicon/sec/sec_algs.c 				     int count,
count             186 drivers/crypto/hisilicon/sec/sec_algs.c 	if (!count)
count             189 drivers/crypto/hisilicon/sec/sec_algs.c 	for_each_sg(sgl, sg, count, i) {
count             213 drivers/crypto/hisilicon/sec/sec_algs.c 	sgl_current->entry_sum_in_sgl = count % SEC_MAX_SGE_NUM;
count             215 drivers/crypto/hisilicon/sec/sec_algs.c 	(*sec_sgl)->entry_sum_in_chain = count;
count             573 drivers/crypto/hisilicon/sec/sec_algs.c 	int ret, count;
count             575 drivers/crypto/hisilicon/sec/sec_algs.c 	count = dma_map_sg(dev, sgl, sgl_len_in, DMA_BIDIRECTIONAL);
count             576 drivers/crypto/hisilicon/sec/sec_algs.c 	if (!count)
count             591 drivers/crypto/hisilicon/sec/sec_algs.c 	ret = sg_split(sgl, count, 0, steps, split_sizes,
count              68 drivers/crypto/hisilicon/sgl.c 			     struct hisi_acc_sgl_pool *pool, u32 count)
count              73 drivers/crypto/hisilicon/sgl.c 	if (!dev || !pool || !count)
count              78 drivers/crypto/hisilicon/sgl.c 	size = sgl_size * count;
count              85 drivers/crypto/hisilicon/sgl.c 	pool->count = count;
count             109 drivers/crypto/hisilicon/sgl.c 	if (!pool || !hw_sgl_dma || index >= pool->count || !pool->sgl)
count              10 drivers/crypto/hisilicon/sgl.h 	u32 count;
count              22 drivers/crypto/hisilicon/sgl.h 			     u32 count);
count             430 drivers/crypto/hisilicon/zip/zip_main.c 			       size_t count, loff_t *pos)
count             451 drivers/crypto/hisilicon/zip/zip_main.c 	return simple_read_from_buffer(buf, count, pos, tbuf, ret);
count             455 drivers/crypto/hisilicon/zip/zip_main.c 				size_t count, loff_t *pos)
count             465 drivers/crypto/hisilicon/zip/zip_main.c 	if (count >= HZIP_BUF_SIZE)
count             468 drivers/crypto/hisilicon/zip/zip_main.c 	len = simple_write_to_buffer(tbuf, HZIP_BUF_SIZE - 1, pos, buf, count);
count             494 drivers/crypto/hisilicon/zip/zip_main.c 	return count;
count             192 drivers/crypto/img-hash.c 	u32 count, len32;
count             202 drivers/crypto/img-hash.c 	for (count = 0; count < len32; count++)
count             203 drivers/crypto/img-hash.c 		writel_relaxed(buffer[count], hdev->cpu_addr);
count              83 drivers/crypto/inside-secure/safexcel_hash.c 	u64 count = 0;
count             118 drivers/crypto/inside-secure/safexcel_hash.c 			count = req->processed / EIP197_COUNTER_BLOCK_SIZE;
count             125 drivers/crypto/inside-secure/safexcel_hash.c 			if (unlikely(count & 0xffffffff00000000ULL)) {
count             149 drivers/crypto/inside-secure/safexcel_hash.c 				cpu_to_le32(count);
count             949 drivers/crypto/marvell/hash.c 	return mv_cesa_ahash_export(req, out_state->state, &out_state->count,
count             957 drivers/crypto/marvell/hash.c 	return mv_cesa_ahash_import(req, in_state->state, in_state->count,
count            1033 drivers/crypto/marvell/hash.c 	return mv_cesa_ahash_export(req, out_state->state, &out_state->count,
count            1041 drivers/crypto/marvell/hash.c 	return mv_cesa_ahash_import(req, in_state->state, in_state->count,
count             214 drivers/crypto/mediatek/mtk-platform.c 	u32 count =
count             246 drivers/crypto/mediatek/mtk-platform.c 	writel(MTK_DESC_FETCH_SIZE(count * MTK_DESC_OFF) |
count             247 drivers/crypto/mediatek/mtk-platform.c 		   MTK_DESC_FETCH_THRESH(count * MTK_DESC_SZ),
count             255 drivers/crypto/mediatek/mtk-platform.c 	u32 count = ((1 << MTK_RES_FIFO_SIZE(cap->hia_opt)) / rndup) - 1;
count             295 drivers/crypto/mediatek/mtk-platform.c 	writel(MTK_DESC_FETCH_SIZE(count * MTK_DESC_OFF) |
count             296 drivers/crypto/mediatek/mtk-platform.c 	       MTK_DESC_FETCH_THRESH(count * rndup) |
count             141 drivers/crypto/mediatek/mtk-sha.c 				      int *count)
count             145 drivers/crypto/mediatek/mtk-sha.c 	(*count)++;
count             183 drivers/crypto/mediatek/mtk-sha.c 	size_t count;
count             186 drivers/crypto/mediatek/mtk-sha.c 		count = min(ctx->sg->length - ctx->offset, ctx->total);
count             187 drivers/crypto/mediatek/mtk-sha.c 		count = min(count, SHA_BUF_SIZE - ctx->bufcnt);
count             189 drivers/crypto/mediatek/mtk-sha.c 		if (count <= 0) {
count             205 drivers/crypto/mediatek/mtk-sha.c 					 ctx->offset, count, 0);
count             207 drivers/crypto/mediatek/mtk-sha.c 		ctx->bufcnt += count;
count             208 drivers/crypto/mediatek/mtk-sha.c 		ctx->offset += count;
count             209 drivers/crypto/mediatek/mtk-sha.c 		ctx->total -= count;
count             428 drivers/crypto/mediatek/mtk-sha.c 	int err, count = 0;
count             435 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_ring_shift(ring, &cmd, &res, &count);
count             446 drivers/crypto/mediatek/mtk-sha.c 		mtk_sha_ring_shift(ring, &cmd, &res, &count);
count             462 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_write(cryp, RDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count));
count             463 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_write(cryp, CDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count));
count             471 drivers/crypto/mediatek/mtk-sha.c 			   size_t count)
count             482 drivers/crypto/mediatek/mtk-sha.c 	return mtk_sha_xmit(cryp, sha, ctx->dma_addr, count, 0, 0);
count             489 drivers/crypto/mediatek/mtk-sha.c 	size_t count;
count             504 drivers/crypto/mediatek/mtk-sha.c 		count = ctx->bufcnt;
count             507 drivers/crypto/mediatek/mtk-sha.c 		return mtk_sha_dma_map(cryp, sha, ctx, count);
count             551 drivers/crypto/mediatek/mtk-sha.c 		size_t count;
count             570 drivers/crypto/mediatek/mtk-sha.c 		count = ctx->bufcnt;
count             576 drivers/crypto/mediatek/mtk-sha.c 					    count, 0, 0);
count             587 drivers/crypto/mediatek/mtk-sha.c 					    len, ctx->dma_addr, count);
count             606 drivers/crypto/mediatek/mtk-sha.c 	size_t count;
count             611 drivers/crypto/mediatek/mtk-sha.c 	count = ctx->bufcnt;
count             614 drivers/crypto/mediatek/mtk-sha.c 	return mtk_sha_dma_map(cryp, sha, ctx, count);
count              79 drivers/crypto/nx/nx-842-powernv.c 	dde->count = dde_count;
count              99 drivers/crypto/nx/nx-842-powernv.c 	dde->count = 0;
count             171 drivers/crypto/nx/nx-842-powernv.c 	       be32_to_cpu((csb)->count))
count             378 drivers/crypto/nx/nx-842-powernv.c 			     be32_to_cpu(csb->count),
count             515 drivers/crypto/nx/nx-842-powernv.c 		*outlenp = be32_to_cpu(csb->count);
count             608 drivers/crypto/nx/nx-842-powernv.c 		*outlenp = be32_to_cpu(csb->count);
count              24 drivers/crypto/nx/nx-aes-xcbc.c 	unsigned int count;
count             183 drivers/crypto/nx/nx-aes-xcbc.c 	total = sctx->count + len;
count             190 drivers/crypto/nx/nx-aes-xcbc.c 		memcpy(sctx->buffer + sctx->count, data, len);
count             191 drivers/crypto/nx/nx-aes-xcbc.c 		sctx->count += len;
count             228 drivers/crypto/nx/nx-aes-xcbc.c 		if (sctx->count) {
count             229 drivers/crypto/nx/nx-aes-xcbc.c 			data_len = sctx->count;
count             234 drivers/crypto/nx/nx-aes-xcbc.c 			if (data_len != sctx->count) {
count             240 drivers/crypto/nx/nx-aes-xcbc.c 		data_len = to_process - sctx->count;
count             246 drivers/crypto/nx/nx-aes-xcbc.c 		if (data_len != to_process - sctx->count) {
count             278 drivers/crypto/nx/nx-aes-xcbc.c 		data += to_process - sctx->count;
count             279 drivers/crypto/nx/nx-aes-xcbc.c 		sctx->count = 0;
count             285 drivers/crypto/nx/nx-aes-xcbc.c 	sctx->count = leftover;
count             309 drivers/crypto/nx/nx-aes-xcbc.c 	} else if (sctx->count == 0) {
count             323 drivers/crypto/nx/nx-aes-xcbc.c 	len = sctx->count;
count             327 drivers/crypto/nx/nx-aes-xcbc.c 	if (len != sctx->count) {
count              51 drivers/crypto/nx/nx-sha256.c 	sctx->count = 0;
count              68 drivers/crypto/nx/nx-sha256.c 	u64 buf_len = (sctx->count % SHA256_BLOCK_SIZE);
count              76 drivers/crypto/nx/nx-sha256.c 	total = (sctx->count % SHA256_BLOCK_SIZE) + len;
count              79 drivers/crypto/nx/nx-sha256.c 		sctx->count += len;
count             169 drivers/crypto/nx/nx-sha256.c 	sctx->count += len;
count             196 drivers/crypto/nx/nx-sha256.c 	if (sctx->count >= SHA256_BLOCK_SIZE) {
count             207 drivers/crypto/nx/nx-sha256.c 	csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8);
count             209 drivers/crypto/nx/nx-sha256.c 	len = sctx->count & (SHA256_BLOCK_SIZE - 1);
count             213 drivers/crypto/nx/nx-sha256.c 	if (len != (sctx->count & (SHA256_BLOCK_SIZE - 1))) {
count             239 drivers/crypto/nx/nx-sha256.c 	atomic64_add(sctx->count, &(nx_ctx->stats->sha256_bytes));
count              51 drivers/crypto/nx/nx-sha512.c 	sctx->count[0] = 0;
count              68 drivers/crypto/nx/nx-sha512.c 	u64 buf_len = (sctx->count[0] % SHA512_BLOCK_SIZE);
count              76 drivers/crypto/nx/nx-sha512.c 	total = (sctx->count[0] % SHA512_BLOCK_SIZE) + len;
count              79 drivers/crypto/nx/nx-sha512.c 		sctx->count[0] += len;
count             172 drivers/crypto/nx/nx-sha512.c 	sctx->count[0] += len;
count             200 drivers/crypto/nx/nx-sha512.c 	if (sctx->count[0] >= SHA512_BLOCK_SIZE) {
count             214 drivers/crypto/nx/nx-sha512.c 	count0 = sctx->count[0] * 8;
count             218 drivers/crypto/nx/nx-sha512.c 	len = sctx->count[0] & (SHA512_BLOCK_SIZE - 1);
count             222 drivers/crypto/nx/nx-sha512.c 	if (len != (sctx->count[0] & (SHA512_BLOCK_SIZE - 1))) {
count             244 drivers/crypto/nx/nx-sha512.c 	atomic64_add(sctx->count[0], &(nx_ctx->stats->sha512_bytes));
count              91 drivers/crypto/omap-aes.c 					u32 *value, int count)
count              93 drivers/crypto/omap-aes.c 	for (; count--; value++, offset += 4)
count             216 drivers/crypto/omap-des.c 					u32 *value, int count)
count             218 drivers/crypto/omap-des.c 	for (; count--; value++, offset += 4)
count             446 drivers/crypto/omap-sham.c 				    u32 *value, int count)
count             448 drivers/crypto/omap-sham.c 	for (; count--; value++, offset += 4)
count             519 drivers/crypto/omap-sham.c 	int count, len32, bs32, offset = 0;
count             551 drivers/crypto/omap-sham.c 		for (count = 0; count < min(len32, bs32); count++, offset++) {
count             562 drivers/crypto/omap-sham.c 			omap_sham_write(dd, SHA_REG_DIN(dd, count),
count             192 drivers/crypto/padlock-aes.c 				  struct cword *control_word, int count)
count             196 drivers/crypto/padlock-aes.c 		      : "d"(control_word), "b"(key), "c"(count));
count             200 drivers/crypto/padlock-aes.c 				 u8 *iv, struct cword *control_word, int count)
count             204 drivers/crypto/padlock-aes.c 		      : "d" (control_word), "b" (key), "c" (count));
count             209 drivers/crypto/padlock-aes.c 			   struct cword *cword, int count)
count             218 drivers/crypto/padlock-aes.c 	memcpy(tmp, in, count * AES_BLOCK_SIZE);
count             219 drivers/crypto/padlock-aes.c 	rep_xcrypt_ecb(tmp, out, key, cword, count);
count             223 drivers/crypto/padlock-aes.c 			   u8 *iv, struct cword *cword, int count)
count             232 drivers/crypto/padlock-aes.c 	memcpy(tmp, in, count * AES_BLOCK_SIZE);
count             233 drivers/crypto/padlock-aes.c 	return rep_xcrypt_cbc(tmp, out, key, iv, cword, count);
count             237 drivers/crypto/padlock-aes.c 			     struct cword *cword, int count)
count             243 drivers/crypto/padlock-aes.c 		ecb_crypt_copy(in, out, key, cword, count);
count             247 drivers/crypto/padlock-aes.c 	rep_xcrypt_ecb(in, out, key, cword, count);
count             251 drivers/crypto/padlock-aes.c 			    u8 *iv, struct cword *cword, int count)
count             255 drivers/crypto/padlock-aes.c 		return cbc_crypt_copy(in, out, key, iv, cword, count);
count             257 drivers/crypto/padlock-aes.c 	return rep_xcrypt_cbc(in, out, key, iv, cword, count);
count             261 drivers/crypto/padlock-aes.c 				      void *control_word, u32 count)
count             263 drivers/crypto/padlock-aes.c 	u32 initial = count & (ecb_fetch_blocks - 1);
count             265 drivers/crypto/padlock-aes.c 	if (count < ecb_fetch_blocks) {
count             266 drivers/crypto/padlock-aes.c 		ecb_crypt(input, output, key, control_word, count);
count             270 drivers/crypto/padlock-aes.c 	count -= initial;
count             279 drivers/crypto/padlock-aes.c 		      : "d"(control_word), "b"(key), "c"(count));
count             283 drivers/crypto/padlock-aes.c 				     u8 *iv, void *control_word, u32 count)
count             285 drivers/crypto/padlock-aes.c 	u32 initial = count & (cbc_fetch_blocks - 1);
count             287 drivers/crypto/padlock-aes.c 	if (count < cbc_fetch_blocks)
count             288 drivers/crypto/padlock-aes.c 		return cbc_crypt(input, output, key, iv, control_word, count);
count             290 drivers/crypto/padlock-aes.c 	count -= initial;
count             299 drivers/crypto/padlock-aes.c 		      : "d" (control_word), "b" (key), "c" (count));
count              65 drivers/crypto/padlock-sha.c 		 	uint32_t *dst, size_t count)
count              67 drivers/crypto/padlock-sha.c 	while (count--)
count              72 drivers/crypto/padlock-sha.c 			      unsigned int count, u8 *out)
count              90 drivers/crypto/padlock-sha.c 	if (state.count + count > ULONG_MAX)
count              91 drivers/crypto/padlock-sha.c 		return crypto_shash_finup(&dctx->fallback, in, count, out);
count              93 drivers/crypto/padlock-sha.c 	leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1;
count              96 drivers/crypto/padlock-sha.c 		if (count > space) {
count             101 drivers/crypto/padlock-sha.c 			count -= space;
count             104 drivers/crypto/padlock-sha.c 			memcpy(state.buffer + leftover, in, count);
count             106 drivers/crypto/padlock-sha.c 			count += leftover;
count             107 drivers/crypto/padlock-sha.c 			state.count &= ~(SHA1_BLOCK_SIZE - 1);
count             115 drivers/crypto/padlock-sha.c 		      : "c"((unsigned long)state.count + count), \
count             116 drivers/crypto/padlock-sha.c 			"a"((unsigned long)state.count), \
count             133 drivers/crypto/padlock-sha.c 				unsigned int count, u8 *out)
count             151 drivers/crypto/padlock-sha.c 	if (state.count + count > ULONG_MAX)
count             152 drivers/crypto/padlock-sha.c 		return crypto_shash_finup(&dctx->fallback, in, count, out);
count             154 drivers/crypto/padlock-sha.c 	leftover = ((state.count - 1) & (SHA256_BLOCK_SIZE - 1)) + 1;
count             157 drivers/crypto/padlock-sha.c 		if (count > space) {
count             162 drivers/crypto/padlock-sha.c 			count -= space;
count             165 drivers/crypto/padlock-sha.c 			memcpy(state.buf + leftover, in, count);
count             167 drivers/crypto/padlock-sha.c 			count += leftover;
count             168 drivers/crypto/padlock-sha.c 			state.count &= ~(SHA1_BLOCK_SIZE - 1);
count             176 drivers/crypto/padlock-sha.c 		      : "c"((unsigned long)state.count + count), \
count             177 drivers/crypto/padlock-sha.c 			"a"((unsigned long)state.count), \
count             296 drivers/crypto/padlock-sha.c 	partial = sctx->count & 0x3f;
count             297 drivers/crypto/padlock-sha.c 	sctx->count += len;
count             341 drivers/crypto/padlock-sha.c 	bits = cpu_to_be64(state->count << 3);
count             344 drivers/crypto/padlock-sha.c 	partial = state->count & 0x3f;
count             380 drivers/crypto/padlock-sha.c 	partial = sctx->count & 0x3f;
count             381 drivers/crypto/padlock-sha.c 	sctx->count += len;
count             426 drivers/crypto/padlock-sha.c 	bits = cpu_to_be64(state->count << 3);
count             429 drivers/crypto/padlock-sha.c 	partial = state->count & 0x3f;
count             211 drivers/crypto/picoxcell_crypto.c 				 unsigned count)
count             215 drivers/crypto/picoxcell_crypto.c 	while (count--)
count             132 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c 	u32 val, pf2vf_offset, count = 0;
count             196 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c 	} while ((val & int_bit) && (count++ < ADF_IOV_MSG_ACK_MAX_RETRY));
count             223 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c 	u32 count = 0;
count             230 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c 	} while (ret && (count++ < ADF_IOV_MSG_MAX_RETRIES));
count             151 drivers/crypto/qce/sha.c 		out_state->count = rctx->count;
count             158 drivers/crypto/qce/sha.c 		out_state->count = rctx->count;
count             176 drivers/crypto/qce/sha.c 	u64 count = in_count;
count             179 drivers/crypto/qce/sha.c 	rctx->count = in_count;
count             192 drivers/crypto/qce/sha.c 			count += SHA_PADDING;
count             195 drivers/crypto/qce/sha.c 	rctx->byte_count[0] = (__force __be32)(count & ~SHA_PADDING_MASK);
count             196 drivers/crypto/qce/sha.c 	rctx->byte_count[1] = (__force __be32)(count >> 32);
count             214 drivers/crypto/qce/sha.c 		ret = qce_import_common(req, state->count, state->state,
count             219 drivers/crypto/qce/sha.c 		ret = qce_import_common(req, state->count, state->state,
count             239 drivers/crypto/qce/sha.c 	rctx->count += req->nbytes;
count              51 drivers/crypto/qce/sha.h 	u64 count;
count              88 drivers/crypto/rockchip/rk3288_crypto.c 	unsigned int count;
count              94 drivers/crypto/rockchip/rk3288_crypto.c 		count = min(dev->left_bytes, sg_src->length);
count              95 drivers/crypto/rockchip/rk3288_crypto.c 		dev->left_bytes -= count;
count             116 drivers/crypto/rockchip/rk3288_crypto.c 		count = (dev->left_bytes > PAGE_SIZE) ?
count             120 drivers/crypto/rockchip/rk3288_crypto.c 					dev->addr_vir, count,
count             126 drivers/crypto/rockchip/rk3288_crypto.c 		dev->left_bytes -= count;
count             127 drivers/crypto/rockchip/rk3288_crypto.c 		sg_init_one(&dev->sg_tmp, dev->addr_vir, count);
count             148 drivers/crypto/rockchip/rk3288_crypto.c 	dev->count = count;
count             213 drivers/crypto/rockchip/rk3288_crypto.h 	unsigned int			count;
count             238 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 	CRYPTO_WRITE(dev, RK_CRYPTO_BRDMAL, dev->count / 4);
count             308 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 				dev->count - ivsize, ivsize);
count             348 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 					  dev->addr_vir, dev->count,
count             350 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c 					  dev->count)) {
count             178 drivers/crypto/rockchip/rk3288_crypto_ahash.c 	CRYPTO_WRITE(dev, RK_CRYPTO_HRDMAL, (dev->count + 3) / 4);
count             297 drivers/crypto/stm32/stm32-hash.c 	size_t count;
count             300 drivers/crypto/stm32/stm32-hash.c 		count = min(rctx->sg->length - rctx->offset, rctx->total);
count             301 drivers/crypto/stm32/stm32-hash.c 		count = min(count, rctx->buflen - rctx->bufcnt);
count             303 drivers/crypto/stm32/stm32-hash.c 		if (count <= 0) {
count             313 drivers/crypto/stm32/stm32-hash.c 					 rctx->offset, count, 0);
count             315 drivers/crypto/stm32/stm32-hash.c 		rctx->bufcnt += count;
count             316 drivers/crypto/stm32/stm32-hash.c 		rctx->offset += count;
count             317 drivers/crypto/stm32/stm32-hash.c 		rctx->total -= count;
count             332 drivers/crypto/stm32/stm32-hash.c 	unsigned int count, len32;
count             359 drivers/crypto/stm32/stm32-hash.c 	for (count = 0; count < len32; count++)
count             360 drivers/crypto/stm32/stm32-hash.c 		stm32_hash_write(hdev, HASH_DIN, buffer[count]);
count              97 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	octx->count = op->byte_count + op->len;
count             123 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	op->byte_count = ictx->count & ~0x3F;
count             124 drivers/crypto/sunxi-ss/sun4i-ss-hash.c 	op->len = ictx->count & 0x3F;
count            1103 drivers/crypto/talitos.c 	int count = 0;
count            1120 drivers/crypto/talitos.c 			to_talitos_ptr(link_tbl_ptr + count,
count            1122 drivers/crypto/talitos.c 			to_talitos_ptr_ext_set(link_tbl_ptr + count, 0, 0);
count            1123 drivers/crypto/talitos.c 			count++;
count            1127 drivers/crypto/talitos.c 		to_talitos_ptr(link_tbl_ptr + count,
count            1129 drivers/crypto/talitos.c 		to_talitos_ptr_ext_set(link_tbl_ptr + count, 0, 0);
count            1130 drivers/crypto/talitos.c 		count++;
count            1140 drivers/crypto/talitos.c 	if (count > 0)
count            1141 drivers/crypto/talitos.c 		to_talitos_ptr_ext_set(link_tbl_ptr + count - 1,
count            1144 drivers/crypto/talitos.c 	return count;
count             194 drivers/crypto/ux500/cryp/cryp_core.c 	int count;
count             219 drivers/crypto/ux500/cryp/cryp_core.c 			count = ctx->blocksize / 4;
count             221 drivers/crypto/ux500/cryp/cryp_core.c 			readsl(&device_data->base->dout, ctx->outdata, count);
count             222 drivers/crypto/ux500/cryp/cryp_core.c 			ctx->outdata += count;
count             223 drivers/crypto/ux500/cryp/cryp_core.c 			ctx->outlen -= count;
count             233 drivers/crypto/ux500/cryp/cryp_core.c 			count = ctx->blocksize / 4;
count             235 drivers/crypto/ux500/cryp/cryp_core.c 			writesl(&device_data->base->din, ctx->indata, count);
count             237 drivers/crypto/ux500/cryp/cryp_core.c 			ctx->indata += count;
count             238 drivers/crypto/ux500/cryp/cryp_core.c 			ctx->datalen -= count;
count            1291 drivers/crypto/ux500/cryp/cryp_core.c 	int count;
count            1298 drivers/crypto/ux500/cryp/cryp_core.c 			count = i;
count            1306 drivers/crypto/ux500/cryp/cryp_core.c 	for (i = 0; i < count; i++)
count             769 drivers/crypto/ux500/hash/hash_core.c 	u32 count;
count             773 drivers/crypto/ux500/hash/hash_core.c 			for (count = 0; count < msg_length; count++) {
count             774 drivers/crypto/ux500/hash/hash_core.c 				buffer[*index + count] =
count             775 drivers/crypto/ux500/hash/hash_core.c 					*(data_buffer + count);
count             815 drivers/crypto/ux500/hash/hash_core.c 				for (count = 0;
count             816 drivers/crypto/ux500/hash/hash_core.c 				     count < (u32)(HASH_BLOCK_SIZE - *index);
count             817 drivers/crypto/ux500/hash/hash_core.c 				     count++) {
count             818 drivers/crypto/ux500/hash/hash_core.c 					buffer[*index + count] =
count             819 drivers/crypto/ux500/hash/hash_core.c 						*(data_buffer + count);
count            1130 drivers/crypto/ux500/hash/hash_core.c 	s32 count;
count            1162 drivers/crypto/ux500/hash/hash_core.c 	for (count = 0; count < HASH_CSR_COUNT; count++) {
count            1163 drivers/crypto/ux500/hash/hash_core.c 		if ((count >= 36) && (hash_mode == HASH_OPER_MODE_HASH))
count            1166 drivers/crypto/ux500/hash/hash_core.c 		writel_relaxed(device_state->csr[count],
count            1167 drivers/crypto/ux500/hash/hash_core.c 			       &device_data->base->csrx[count]);
count            1188 drivers/crypto/ux500/hash/hash_core.c 	u32 count;
count            1215 drivers/crypto/ux500/hash/hash_core.c 	for (count = 0; count < HASH_CSR_COUNT; count++) {
count            1216 drivers/crypto/ux500/hash/hash_core.c 		if ((count >= 36) && (hash_mode == HASH_OPER_MODE_HASH))
count            1219 drivers/crypto/ux500/hash/hash_core.c 		device_state->csr[count] =
count            1220 drivers/crypto/ux500/hash/hash_core.c 			readl_relaxed(&device_data->base->csrx[count]);
count            1263 drivers/crypto/ux500/hash/hash_core.c 	u32 temp_hx_val, count;
count            1281 drivers/crypto/ux500/hash/hash_core.c 	for (count = 0; count < loop_ctr; count++) {
count            1282 drivers/crypto/ux500/hash/hash_core.c 		temp_hx_val = readl_relaxed(&device_data->base->hx[count]);
count            1283 drivers/crypto/ux500/hash/hash_core.c 		digest[count * 4] = (u8) ((temp_hx_val >> 24) & 0xFF);
count            1284 drivers/crypto/ux500/hash/hash_core.c 		digest[count * 4 + 1] = (u8) ((temp_hx_val >> 16) & 0xFF);
count            1285 drivers/crypto/ux500/hash/hash_core.c 		digest[count * 4 + 2] = (u8) ((temp_hx_val >> 8) & 0xFF);
count            1286 drivers/crypto/ux500/hash/hash_core.c 		digest[count * 4 + 3] = (u8) ((temp_hx_val >> 0) & 0xFF);
count            1618 drivers/crypto/ux500/hash/hash_core.c 	int count;
count            1623 drivers/crypto/ux500/hash/hash_core.c 			count = i;
count            1631 drivers/crypto/ux500/hash/hash_core.c 	for (i = 0; i < count; i++)
count              66 drivers/dax/bus.c 		size_t count, enum id_action action)
count              72 drivers/dax/bus.c 	ssize_t rc = count;
count             107 drivers/dax/bus.c 	return count;
count             111 drivers/dax/bus.c 		size_t count)
count             113 drivers/dax/bus.c 	return do_id_store(drv, buf, count, ID_ADD);
count             118 drivers/dax/bus.c 		size_t count)
count             120 drivers/dax/bus.c 	return do_id_store(drv, buf, count, ID_REMOVE);
count             266 drivers/devfreq/devfreq-event.c 	int count;
count             273 drivers/devfreq/devfreq-event.c 	count = of_property_count_elems_of_size(dev->of_node, "devfreq-events",
count             275 drivers/devfreq/devfreq-event.c 	if (count < 0) {
count             279 drivers/devfreq/devfreq-event.c 		return count;
count             282 drivers/devfreq/devfreq-event.c 	return count;
count             122 drivers/devfreq/devfreq.c 	int i, count;
count             125 drivers/devfreq/devfreq.c 	count = dev_pm_opp_get_opp_count(devfreq->dev.parent);
count             126 drivers/devfreq/devfreq.c 	if (count <= 0)
count             129 drivers/devfreq/devfreq.c 	profile->max_state = count;
count            1135 drivers/devfreq/devfreq.c 			      const char *buf, size_t count)
count            1191 drivers/devfreq/devfreq.c 		ret = count;
count            1201 drivers/devfreq/devfreq.c 	ssize_t count = 0;
count            1210 drivers/devfreq/devfreq.c 		count = scnprintf(&buf[count], DEVFREQ_NAME_LEN,
count            1222 drivers/devfreq/devfreq.c 			count += scnprintf(&buf[count], (PAGE_SIZE - count - 2),
count            1230 drivers/devfreq/devfreq.c 	if (count)
count            1231 drivers/devfreq/devfreq.c 		count--;
count            1233 drivers/devfreq/devfreq.c 	count += sprintf(&buf[count], "\n");
count            1235 drivers/devfreq/devfreq.c 	return count;
count            1268 drivers/devfreq/devfreq.c 				      const char *buf, size_t count)
count            1282 drivers/devfreq/devfreq.c 	ret = count;
count            1289 drivers/devfreq/devfreq.c 			      const char *buf, size_t count)
count            1318 drivers/devfreq/devfreq.c 	ret = count;
count            1333 drivers/devfreq/devfreq.c 			      const char *buf, size_t count)
count            1362 drivers/devfreq/devfreq.c 	ret = count;
count            1383 drivers/devfreq/devfreq.c 	ssize_t count = 0;
count            1389 drivers/devfreq/devfreq.c 		count += scnprintf(&buf[count], (PAGE_SIZE - count - 2),
count            1394 drivers/devfreq/devfreq.c 	if (count)
count            1395 drivers/devfreq/devfreq.c 		count--;
count            1397 drivers/devfreq/devfreq.c 	count += sprintf(&buf[count], "\n");
count            1399 drivers/devfreq/devfreq.c 	return count;
count             422 drivers/devfreq/event/exynos-ppmu.c 	unsigned int total_count, count;
count             445 drivers/devfreq/event/exynos-ppmu.c 		ret = regmap_read(info->regmap, PPMU_V2_PMNCT(id), &count);
count             448 drivers/devfreq/event/exynos-ppmu.c 		load_count = count;
count             504 drivers/devfreq/event/exynos-ppmu.c 	int i, j, count;
count             515 drivers/devfreq/event/exynos-ppmu.c 	count = of_get_child_count(events_np);
count             516 drivers/devfreq/event/exynos-ppmu.c 	desc = devm_kcalloc(dev, count, sizeof(*desc), GFP_KERNEL);
count             519 drivers/devfreq/event/exynos-ppmu.c 	info->num_events = count;
count             181 drivers/devfreq/exynos-bus.c 	int i, ret, count, size;
count             196 drivers/devfreq/exynos-bus.c 	count = devfreq_event_get_edev_count(dev);
count             197 drivers/devfreq/exynos-bus.c 	if (count < 0) {
count             199 drivers/devfreq/exynos-bus.c 		ret = count;
count             202 drivers/devfreq/exynos-bus.c 	bus->edev_count = count;
count             204 drivers/devfreq/exynos-bus.c 	size = sizeof(*bus->edev) * count;
count             211 drivers/devfreq/exynos-bus.c 	for (i = 0; i < count; i++) {
count              23 drivers/devfreq/governor_passive.c 	int i, count, ret = 0;
count              84 drivers/devfreq/governor_passive.c 		count = devfreq->profile->max_state;
count              85 drivers/devfreq/governor_passive.c 		child_freq = devfreq->profile->freq_table[count - 1];
count              35 drivers/devfreq/governor_userspace.c 			  const char *buf, size_t count)
count              50 drivers/devfreq/governor_userspace.c 		err = count;
count            1163 drivers/dma-buf/dma-buf.c 	int count = 0, attach_count, shared_count, i;
count            1232 drivers/dma-buf/dma-buf.c 		count++;
count            1237 drivers/dma-buf/dma-buf.c 	seq_printf(s, "\nTotal %d objects, %zu bytes\n", count, size);
count             525 drivers/dma-buf/dma-fence.c dma_fence_test_signaled_any(struct dma_fence **fences, uint32_t count,
count             530 drivers/dma-buf/dma-fence.c 	for (i = 0; i < count; ++i) {
count             562 drivers/dma-buf/dma-fence.c dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count,
count             569 drivers/dma-buf/dma-fence.c 	if (WARN_ON(!fences || !count || timeout < 0))
count             573 drivers/dma-buf/dma-fence.c 		for (i = 0; i < count; ++i)
count             583 drivers/dma-buf/dma-fence.c 	cb = kcalloc(count, sizeof(struct default_wait_cb), GFP_KERNEL);
count             589 drivers/dma-buf/dma-fence.c 	for (i = 0; i < count; ++i) {
count             608 drivers/dma-buf/dma-fence.c 		if (dma_fence_test_signaled_any(fences, count, idx))
count             228 drivers/dma-buf/dma-resv.c 	unsigned int i, count;
count             235 drivers/dma-buf/dma-resv.c 	count = fobj->shared_count;
count             240 drivers/dma-buf/dma-resv.c 	for (i = 0; i < count; ++i) {
count             251 drivers/dma-buf/dma-resv.c 	count++;
count             256 drivers/dma-buf/dma-resv.c 	smp_store_mb(fobj->shared_count, count);
count              91 drivers/dma-buf/selftest.c __subtests(const char *caller, const struct subtest *st, int count, void *data)
count              95 drivers/dma-buf/selftest.c 	for (; count--; st++) {
count             116 drivers/dma-buf/selftest.c static void set_default_test_all(struct selftest *st, unsigned long count)
count             120 drivers/dma-buf/selftest.c 	for (i = 0; i < count; i++)
count             124 drivers/dma-buf/selftest.c 	for (i = 0; i < count; i++)
count             128 drivers/dma-buf/selftest.c static int run_selftests(struct selftest *st, unsigned long count)
count             132 drivers/dma-buf/selftest.c 	set_default_test_all(st, count);
count             135 drivers/dma-buf/selftest.c 	for (; count--; st++) {
count              23 drivers/dma-buf/selftest.h 	       int count,
count             139 drivers/dma-buf/udmabuf.c 	for (i = 0; i < head->count; i++) {
count             156 drivers/dma-buf/udmabuf.c 	for (i = 0; i < head->count; i++) {
count             222 drivers/dma-buf/udmabuf.c 	head.count  = 1;
count             239 drivers/dma-buf/udmabuf.c 	if (head.count > list_limit)
count             241 drivers/dma-buf/udmabuf.c 	lsize = sizeof(struct udmabuf_create_item) * head.count;
count             684 drivers/dma/altera-msgdma.c 	u32 count;
count             692 drivers/dma/altera-msgdma.c 	count = ioread32(mdev->csr + MSGDMA_CSR_RESP_FILL_LEVEL);
count             694 drivers/dma/altera-msgdma.c 		__func__, __LINE__, count);
count             696 drivers/dma/altera-msgdma.c 	while (count--) {
count             390 drivers/dma/bcm-sba-raid.c 	u32 count;
count             394 drivers/dma/bcm-sba-raid.c 	count = SBA_MAX_MSG_SEND_PER_MBOX_CHANNEL;
count             395 drivers/dma/bcm-sba-raid.c 	while (!list_empty(&sba->reqs_pending_list) && count) {
count             411 drivers/dma/bcm-sba-raid.c 		count--;
count            1340 drivers/dma/coh901318.c 				  size_t count, loff_t *f_pos)
count            1363 drivers/dma/coh901318.c 	ret = simple_read_from_buffer(buf, count, f_pos, dev_buf, 
count             123 drivers/dma/dma-jz4780.c 	unsigned int count;
count             230 drivers/dma/dma-jz4780.c 	struct jz4780_dma_chan *jzchan, unsigned int count,
count             235 drivers/dma/dma-jz4780.c 	if (count > JZ_DMA_MAX_DESC)
count             249 drivers/dma/dma-jz4780.c 	desc->count = count;
count             510 drivers/dma/dma-jz4780.c 			for (i = 0; i < jzchan->desc->count; i++)
count             520 drivers/dma/dma-jz4780.c 			(jzchan->curr_hwdesc + 1) % jzchan->desc->count;
count             620 drivers/dma/dma-jz4780.c 	unsigned int count = 0;
count             623 drivers/dma/dma-jz4780.c 	for (i = next_sg; i < desc->count; i++)
count             624 drivers/dma/dma-jz4780.c 		count += desc->desc[i].dtc & GENMASK(23, 0);
count             627 drivers/dma/dma-jz4780.c 		count += jz4780_dma_chn_readl(jzdma, jzchan->id,
count             630 drivers/dma/dma-jz4780.c 	return count << jzchan->transfer_shift;
count             700 drivers/dma/dma-jz4780.c 				    (jzchan->curr_hwdesc + 1 == desc->count)) {
count              81 drivers/dma/dmaengine.c 	unsigned long count = 0;
count              89 drivers/dma/dmaengine.c 			count += per_cpu_ptr(chan->local, i)->memcpy_count;
count              90 drivers/dma/dmaengine.c 		err = sprintf(buf, "%lu\n", count);
count             103 drivers/dma/dmaengine.c 	unsigned long count = 0;
count             111 drivers/dma/dmaengine.c 			count += per_cpu_ptr(chan->local, i)->bytes_transferred;
count             112 drivers/dma/dmaengine.c 		err = sprintf(buf, "%lu\n", count);
count             454 drivers/dma/dw-edma/dw-edma-core.c 			       size_t len, size_t count,
count             464 drivers/dma/dw-edma/dw-edma-core.c 	xfer.xfer.cyclic.cnt = count;
count             803 drivers/dma/dw/core.c 	unsigned int		count = 20;	/* timeout iterations */
count             807 drivers/dma/dw/core.c 	while (!(channel_readl(dwc, CFG_LO) & DWC_CFGL_FIFO_EMPTY) && count--)
count             173 drivers/dma/fsl-edma.c 	int count;
count             175 drivers/dma/fsl-edma.c 	count = platform_irq_count(pdev);
count             176 drivers/dma/fsl-edma.c 	dev_dbg(&pdev->dev, "%s Found %d interrupts\r\n", __func__, count);
count             177 drivers/dma/fsl-edma.c 	if (count <= 2) {
count             187 drivers/dma/fsl-edma.c 	for (i = 0; i < count; i++) {
count             195 drivers/dma/fsl-edma.c 		if (i == count - 1)
count             574 drivers/dma/fsl-qdma.c 	int i, j, count = FSL_QDMA_HALT_COUNT;
count             591 drivers/dma/fsl-qdma.c 		if (count-- < 0)
count             620 drivers/dma/fsl-qdma.c 	u32 reg, i, count;
count             627 drivers/dma/fsl-qdma.c 	count = FSL_QDMA_MAX_SIZE;
count             629 drivers/dma/fsl-qdma.c 	while (count--) {
count             163 drivers/dma/fsl_raid.c 	unsigned int count, oub_count;
count             171 drivers/dma/fsl_raid.c 	count =	FSL_RE_SLOT_FULL(in_be32(&re_chan->jrregs->oubring_slot_full));
count             172 drivers/dma/fsl_raid.c 	while (count--) {
count              94 drivers/dma/fsldma.c 				struct fsl_dma_ld_hw *hw, u32 count)
count              96 drivers/dma/fsldma.c 	hw->count = CPU_TO_DMA(chan, count, 32);
count              96 drivers/dma/fsldma.h 	v32 count;
count              60 drivers/dma/hsu/hsu.c 	unsigned int i, count;
count              77 drivers/dma/hsu/hsu.c 	count = desc->nents - desc->active;
count              78 drivers/dma/hsu/hsu.c 	for (i = 0; i < count && i < HSU_DMA_CHAN_NR_DESC; i++) {
count              89 drivers/dma/hsu/hsu.c 	dcr |= HSU_CH_DCR_CHSOD(count - 1);
count              90 drivers/dma/hsu/hsu.c 	dcr |= HSU_CH_DCR_CHDI(count - 1);
count              37 drivers/dma/idma64.c 	unsigned short count = 100;
count              49 drivers/dma/idma64.c 	} while (dma_readl(idma64, CFG) & IDMA64_CFG_DMA_EN && --count);
count             416 drivers/dma/idma64.c 	unsigned short count = 100;
count             429 drivers/dma/idma64.c 	} while (!(cfglo & IDMA64C_CFGL_FIFO_EMPTY) && --count);
count             117 drivers/dma/imx-dma.c 	int		count;
count             523 drivers/dma/imx-dma.c 			if ((imxdma->slots_2d[i].count > 0) &&
count             537 drivers/dma/imx-dma.c 		imxdma->slots_2d[slot].count++;
count             643 drivers/dma/imx-dma.c 		imxdma->slots_2d[imxdmac->slot_2d].count--;
count            1041 drivers/dma/imx-dma.c 	int count = dma_spec->args_count;
count            1047 drivers/dma/imx-dma.c 	if (count != 1)
count            1144 drivers/dma/imx-dma.c 		imxdma->slots_2d[i].count = 0;
count             189 drivers/dma/imx-sdma.c 	u32 count   : 16; /* size of the buffer pointed by this BD */
count             707 drivers/dma/imx-sdma.c 	bd0->mode.count = size / 2;
count             804 drivers/dma/imx-sdma.c 		desc->chn_real_count = bd->mode.count;
count             806 drivers/dma/imx-sdma.c 		bd->mode.count = desc->period_len;
count             841 drivers/dma/imx-sdma.c 		 sdmac->desc->chn_real_count += bd->mode.count;
count            1029 drivers/dma/imx-sdma.c 	bd0->mode.count = sizeof(*context) / 4;
count            1391 drivers/dma/imx-sdma.c 	size_t count;
count            1408 drivers/dma/imx-sdma.c 		count = min_t(size_t, len, SDMA_BD_MAX_CNT);
count            1412 drivers/dma/imx-sdma.c 		bd->mode.count = count;
count            1413 drivers/dma/imx-sdma.c 		desc->chn_count += count;
count            1416 drivers/dma/imx-sdma.c 		dma_src += count;
count            1417 drivers/dma/imx-sdma.c 		dma_dst += count;
count            1418 drivers/dma/imx-sdma.c 		len -= count;
count            1430 drivers/dma/imx-sdma.c 				i, count, bd->buffer_addr,
count            1447 drivers/dma/imx-sdma.c 	int i, count;
count            1467 drivers/dma/imx-sdma.c 		count = sg_dma_len(sg);
count            1469 drivers/dma/imx-sdma.c 		if (count > SDMA_BD_MAX_CNT) {
count            1471 drivers/dma/imx-sdma.c 					channel, count, SDMA_BD_MAX_CNT);
count            1475 drivers/dma/imx-sdma.c 		bd->mode.count = count;
count            1476 drivers/dma/imx-sdma.c 		desc->chn_count += count;
count            1484 drivers/dma/imx-sdma.c 			if (count & 3 || sg->dma_address & 3)
count            1489 drivers/dma/imx-sdma.c 			if (count & 1 || sg->dma_address & 1)
count            1508 drivers/dma/imx-sdma.c 				i, count, (u64)sg->dma_address,
count            1560 drivers/dma/imx-sdma.c 		bd->mode.count = period_len;
count              57 drivers/dma/ioat/sysfs.c const char *page, size_t count)
count              67 drivers/dma/ioat/sysfs.c 	return entry->store(&ioat_chan->dma_chan, page, count);
count             136 drivers/dma/ioat/sysfs.c size_t count)
count             148 drivers/dma/ioat/sysfs.c 	return count;
count              64 drivers/dma/k3dma.c 	u32 count;
count             165 drivers/dma/k3dma.c 	writel_relaxed(hw->count, phy->base + CX_CNT0);
count             412 drivers/dma/k3dma.c 			bytes += ds->desc_hw[index].count;
count             456 drivers/dma/k3dma.c 	ds->desc_hw[num].count = len;
count             109 drivers/dma/mic_x100_dma.c 	u32 count;
count             112 drivers/dma/mic_x100_dma.c 		count = (tail - 0) + (MIC_DMA_DESC_RX_SIZE - head);
count             114 drivers/dma/mic_x100_dma.c 		count = tail - head;
count             115 drivers/dma/mic_x100_dma.c 	return count - 1;
count             122 drivers/dma/mic_x100_dma.c 	u32 count;
count             124 drivers/dma/mic_x100_dma.c 	count = mic_dma_ring_count(ch->head, ch->last_tail);
count             125 drivers/dma/mic_x100_dma.c 	if (count < required) {
count             127 drivers/dma/mic_x100_dma.c 		count = mic_dma_ring_count(ch->head, ch->last_tail);
count             130 drivers/dma/mic_x100_dma.c 	if (count < required) {
count             133 drivers/dma/mic_x100_dma.c 			__func__, __LINE__, required, count);
count             136 drivers/dma/mic_x100_dma.c 		return count;
count             240 drivers/dma/of-dma.c 	int			count, i, start;
count             253 drivers/dma/of-dma.c 	count = of_property_count_strings(np, "dma-names");
count             254 drivers/dma/of-dma.c 	if (count < 0) {
count             265 drivers/dma/of-dma.c 	for (i = 0; i < count; i++) {
count             267 drivers/dma/of-dma.c 					 (i + start) % count,
count             307 drivers/dma/of-dma.c 	int count = dma_spec->args_count;
count             313 drivers/dma/of-dma.c 	if (count != 1)
count            2133 drivers/dma/pl330.c 	int count = dma_spec->args_count;
count            2140 drivers/dma/pl330.c 	if (count != 1)
count            2532 drivers/dma/pl330.c 		    gfp_t flg, int count)
count            2538 drivers/dma/pl330.c 	desc = kcalloc(count, sizeof(*desc), flg);
count            2544 drivers/dma/pl330.c 	for (i = 0; i < count; i++) {
count            2551 drivers/dma/pl330.c 	return count;
count            4322 drivers/dma/ppc4xx/adma.c 			    size_t count)
count            4326 drivers/dma/ppc4xx/adma.c 	if (!count || count > 11)
count            4347 drivers/dma/ppc4xx/adma.c 	return count;
count            4371 drivers/dma/ppc4xx/adma.c 			  size_t count)
count            4380 drivers/dma/ppc4xx/adma.c 	if (!count || count > 6)
count            4395 drivers/dma/ppc4xx/adma.c 	return count;
count             117 drivers/dma/qcom/hidma_mgmt_sys.c 			  const char *buf, size_t count)
count             137 drivers/dma/qcom/hidma_mgmt_sys.c 	return count;
count             159 drivers/dma/qcom/hidma_mgmt_sys.c 				  size_t count)
count             182 drivers/dma/qcom/hidma_mgmt_sys.c 	return count;
count            1016 drivers/dma/sirf-dma.c 	int count;
count            1030 drivers/dma/sirf-dma.c 		count = 1;
count            1033 drivers/dma/sirf-dma.c 		count = SIRFSOC_DMA_CHANNELS;
count            1041 drivers/dma/sirf-dma.c 	for (ch = 0; ch < count; ch++) {
count            1064 drivers/dma/sirf-dma.c 	int count;
count            1074 drivers/dma/sirf-dma.c 		count = 1;
count            1078 drivers/dma/sirf-dma.c 		count = SIRFSOC_DMA_CHANNELS;
count            1084 drivers/dma/sirf-dma.c 	for (ch = 0; ch < count; ch++) {
count             182 drivers/dma/stm32-dmamux.c 	int i, count, ret;
count             188 drivers/dma/stm32-dmamux.c 	count = device_property_count_u32(&pdev->dev, "dma-masters");
count             189 drivers/dma/stm32-dmamux.c 	if (count < 0) {
count             195 drivers/dma/stm32-dmamux.c 				    sizeof(u32) * (count + 1), GFP_KERNEL);
count             200 drivers/dma/stm32-dmamux.c 	for (i = 1; i <= count; i++) {
count             228 drivers/dma/stm32-dmamux.c 	stm32_dmamux->dma_reqs[0] = count;
count             254 drivers/dma/stm32-mdma.c 	u32 count;
count             338 drivers/dma/stm32-mdma.c 		struct stm32_mdma_chan *chan, u32 count)
count             343 drivers/dma/stm32-mdma.c 	desc = kzalloc(offsetof(typeof(*desc), node[count]), GFP_NOWAIT);
count             347 drivers/dma/stm32-mdma.c 	for (i = 0; i < count; i++) {
count             355 drivers/dma/stm32-mdma.c 	desc->count = count;
count             374 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
count             691 drivers/dma/stm32-mdma.c 				    enum dma_transfer_direction dir, u32 count,
count             698 drivers/dma/stm32-mdma.c 	u32 next = count + 1;
count             700 drivers/dma/stm32-mdma.c 	hwdesc = desc->node[count].hwdesc;
count             723 drivers/dma/stm32-mdma.c 	stm32_mdma_dump_hwdesc(chan, &desc->node[count]);
count             813 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
count             831 drivers/dma/stm32-mdma.c 	u32 ccr, ctcr, ctbr, count;
count             855 drivers/dma/stm32-mdma.c 	count = buf_len / period_len;
count             857 drivers/dma/stm32-mdma.c 	desc = stm32_mdma_alloc_desc(chan, count);
count             885 drivers/dma/stm32-mdma.c 	for (i = 0; i < count; i++) {
count             896 drivers/dma/stm32-mdma.c 					i == count - 1, i == 0, true);
count             904 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
count             920 drivers/dma/stm32-mdma.c 	u32 ccr, ctcr, ctbr, cbndtr, count, max_burst, mdma_burst;
count             937 drivers/dma/stm32-mdma.c 	count = DIV_ROUND_UP(len, STM32_MDMA_MAX_BLOCK_LEN);
count             938 drivers/dma/stm32-mdma.c 	desc = stm32_mdma_alloc_desc(chan, count);
count            1079 drivers/dma/stm32-mdma.c 						i == count - 1, i == 0, false);
count            1284 drivers/dma/stm32-mdma.c 	for (i = curr_hwdesc + 1; i < desc->count; i++) {
count            1412 drivers/dma/stm32-mdma.c 			if (chan->curr_hwdesc == chan->desc->count)
count            1536 drivers/dma/stm32-mdma.c 	int i, count, ret;
count            1558 drivers/dma/stm32-mdma.c 	count = device_property_count_u32(&pdev->dev, "st,ahb-addr-masks");
count            1559 drivers/dma/stm32-mdma.c 	if (count < 0)
count            1560 drivers/dma/stm32-mdma.c 		count = 0;
count            1562 drivers/dma/stm32-mdma.c 	dmadev = devm_kzalloc(&pdev->dev, sizeof(*dmadev) + sizeof(u32) * count,
count            1571 drivers/dma/stm32-mdma.c 				       count);
count            1572 drivers/dma/stm32-mdma.c 	dmadev->nr_ahb_addr_masks = count;
count             986 drivers/dma/ti/cppi41.c 	int count = dma_spec->args_count;
count             992 drivers/dma/ti/cppi41.c 	if (count != 2)
count             745 drivers/dma/xilinx/zynqmp_dma.c 	u32 count;
count             756 drivers/dma/xilinx/zynqmp_dma.c 	count = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);
count             758 drivers/dma/xilinx/zynqmp_dma.c 	while (count) {
count             761 drivers/dma/xilinx/zynqmp_dma.c 		count--;
count             117 drivers/edac/altera_edac.c 					    size_t count, loff_t *ppos)
count             142 drivers/edac/altera_edac.c 	if (count == 3) {
count             182 drivers/edac/altera_edac.c 	return count;
count             636 drivers/edac/altera_edac.c 				     size_t count, loff_t *ppos)
count             702 drivers/edac/altera_edac.c 	return count;
count             713 drivers/edac/altera_edac.c 					 size_t count, loff_t *ppos);
count             723 drivers/edac/altera_edac.c 					  size_t count, loff_t *ppos);
count            1796 drivers/edac/altera_edac.c 					 size_t count, loff_t *ppos)
count            1818 drivers/edac/altera_edac.c 	return count;
count            1828 drivers/edac/altera_edac.c 					  size_t count, loff_t *ppos)
count            1881 drivers/edac/altera_edac.c 	return count;
count              21 drivers/edac/amd64_edac_inj.c 					  const char *data, size_t count)
count              38 drivers/edac/amd64_edac_inj.c 	return count;
count              58 drivers/edac/amd64_edac_inj.c 				       const char *data, size_t count)
count              75 drivers/edac/amd64_edac_inj.c 	return count;
count              94 drivers/edac/amd64_edac_inj.c 				       const char *data, size_t count)
count             111 drivers/edac/amd64_edac_inj.c 	return count;
count             120 drivers/edac/amd64_edac_inj.c 				       const char *data, size_t count)
count             144 drivers/edac/amd64_edac_inj.c 	return count;
count             153 drivers/edac/amd64_edac_inj.c 					const char *data, size_t count)
count             193 drivers/edac/amd64_edac_inj.c 	return count;
count               8 drivers/edac/debugfs.c 				      size_t count, loff_t *ppos)
count              36 drivers/edac/debugfs.c 	return count;
count              63 drivers/edac/edac_device.c 	unsigned count;
count              88 drivers/edac/edac_device.c 	count = nr_instances * nr_blocks;
count              89 drivers/edac/edac_device.c 	dev_blk = edac_align_ptr(&p, sizeof(*dev_blk), count);
count              96 drivers/edac/edac_device.c 		count *= nr_attrib;
count              97 drivers/edac/edac_device.c 	dev_attrib = edac_align_ptr(&p, sizeof(*dev_attrib), count);
count              40 drivers/edac/edac_device_sysfs.c 					size_t count)
count              45 drivers/edac/edac_device_sysfs.c 	return count;
count              57 drivers/edac/edac_device_sysfs.c 					size_t count)
count              62 drivers/edac/edac_device_sysfs.c 	return count;
count              74 drivers/edac/edac_device_sysfs.c 						 size_t count)
count              79 drivers/edac/edac_device_sysfs.c 	return count;
count              91 drivers/edac/edac_device_sysfs.c 					size_t count)
count             103 drivers/edac/edac_device_sysfs.c 	return count;
count             131 drivers/edac/edac_device_sysfs.c 				const char *buffer, size_t count)
count             137 drivers/edac/edac_device_sysfs.c 		return ctl_info_attr->store(edac_dev, buffer, count);
count             359 drivers/edac/edac_device_sysfs.c 				const char *buffer, size_t count)
count             365 drivers/edac/edac_device_sysfs.c 		return instance_attr->store(instance, buffer, count);
count             461 drivers/edac/edac_device_sysfs.c 				const char *buffer, size_t count)
count             468 drivers/edac/edac_device_sysfs.c 		return block_attr->store(kobj, attr, buffer, count);
count             121 drivers/edac/edac_mc.c 	int i, n, count = 0;
count             130 drivers/edac/edac_mc.c 		count += n;
count             135 drivers/edac/edac_mc.c 	return count;
count             317 drivers/edac/edac_mc.c 	unsigned int size, tot_dimms = 1, count = 1;
count             347 drivers/edac/edac_mc.c 		count *= layers[i].size;
count             348 drivers/edac/edac_mc.c 		edac_dbg(4, "errcount layer %d size %d\n", i, count);
count             349 drivers/edac/edac_mc.c 		ce_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count);
count             350 drivers/edac/edac_mc.c 		ue_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count);
count             351 drivers/edac/edac_mc.c 		tot_errcount += 2 * count;
count             905 drivers/edac/edac_mc.c 			      const u16 count)
count             909 drivers/edac/edac_mc.c 	mci->ce_mc += count;
count             912 drivers/edac/edac_mc.c 		mci->ce_noinfo_count += count;
count             920 drivers/edac/edac_mc.c 		mci->ce_per_layer[i][index] += count;
count             930 drivers/edac/edac_mc.c 				    const u16 count)
count             934 drivers/edac/edac_mc.c 	mci->ue_mc += count;
count             937 drivers/edac/edac_mc.c 		mci->ue_noinfo_count += count;
count             945 drivers/edac/edac_mc.c 		mci->ue_per_layer[i][index] += count;
count             216 drivers/edac/edac_mc_sysfs.c 					const char *data, size_t count)
count             221 drivers/edac/edac_mc_sysfs.c 	size_t copy_count = count;
count             223 drivers/edac/edac_mc_sysfs.c 	if (count == 0)
count             226 drivers/edac/edac_mc_sysfs.c 	if (data[count - 1] == '\0' || data[count - 1] == '\n')
count             235 drivers/edac/edac_mc_sysfs.c 	return count;
count             497 drivers/edac/edac_mc_sysfs.c 				   size_t count)
count             500 drivers/edac/edac_mc_sysfs.c 	size_t copy_count = count;
count             502 drivers/edac/edac_mc_sysfs.c 	if (count == 0)
count             505 drivers/edac/edac_mc_sysfs.c 	if (data[count - 1] == '\0' || data[count - 1] == '\n')
count             514 drivers/edac/edac_mc_sysfs.c 	return count;
count             555 drivers/edac/edac_mc_sysfs.c 	u32 count;
count             563 drivers/edac/edac_mc_sysfs.c 	count = dimm->mci->ce_per_layer[dimm->mci->n_layers-1][off];
count             564 drivers/edac/edac_mc_sysfs.c 	return sprintf(data, "%u\n", count);
count             572 drivers/edac/edac_mc_sysfs.c 	u32 count;
count             580 drivers/edac/edac_mc_sysfs.c 	count = dimm->mci->ue_per_layer[dimm->mci->n_layers-1][off];
count             581 drivers/edac/edac_mc_sysfs.c 	return sprintf(data, "%u\n", count);
count             672 drivers/edac/edac_mc_sysfs.c 					const char *data, size_t count)
count             699 drivers/edac/edac_mc_sysfs.c 	return count;
count             713 drivers/edac/edac_mc_sysfs.c 					  const char *data, size_t count)
count             729 drivers/edac/edac_mc_sysfs.c 	return count;
count             111 drivers/edac/edac_pci_sysfs.c 				const char *buffer, size_t count)
count             117 drivers/edac/edac_pci_sysfs.c 		return instance_attr->store(pci, buffer, count);
count             220 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_int_store(void *ptr, const char *buffer, size_t count)
count             227 drivers/edac/edac_pci_sysfs.c 	return count;
count             251 drivers/edac/edac_pci_sysfs.c 				size_t count)
count             257 drivers/edac/edac_pci_sysfs.c 		return edac_pci_dev->store(edac_pci_dev->value, buffer, count);
count              91 drivers/edac/fsl_ddr_edac.c 					       const char *data, size_t count)
count             104 drivers/edac/fsl_ddr_edac.c 		return count;
count             111 drivers/edac/fsl_ddr_edac.c 					       const char *data, size_t count)
count             124 drivers/edac/fsl_ddr_edac.c 		return count;
count             131 drivers/edac/fsl_ddr_edac.c 					       const char *data, size_t count)
count             144 drivers/edac/fsl_ddr_edac.c 		return count;
count              80 drivers/edac/ghes_edac.c 	unsigned int count;
count             111 drivers/edac/ghes_edac.c 						       dimm_fill->count, 0, 0);
count             116 drivers/edac/ghes_edac.c 				dimm_fill->count);
count             190 drivers/edac/ghes_edac.c 				dimm_fill->count, edac_mem_types[dimm->mtype],
count             200 drivers/edac/ghes_edac.c 		dimm_fill->count++;
count             549 drivers/edac/ghes_edac.c 		dimm_fill.count = 0;
count             100 drivers/edac/highbank_mc_edac.c 	struct device_attribute *attr, const char *buf, size_t count)
count             110 drivers/edac/highbank_mc_edac.c 	return count;
count             946 drivers/edac/i5100_edac.c 		size_t count, loff_t *ppos)
count             953 drivers/edac/i5100_edac.c 	return count;
count             685 drivers/edac/i7core_edac.c 					   const char *data, size_t count)
count             700 drivers/edac/i7core_edac.c 	return count;
count             722 drivers/edac/i7core_edac.c 					const char *data, size_t count)
count             737 drivers/edac/i7core_edac.c 	return count;
count             762 drivers/edac/i7core_edac.c 					   const char *data, size_t count)
count             777 drivers/edac/i7core_edac.c 	return count;
count             805 drivers/edac/i7core_edac.c 	const char *data, size_t count)				\
count             828 drivers/edac/i7core_edac.c 	return count;						\
count             869 drivers/edac/i7core_edac.c 	int count;
count             875 drivers/edac/i7core_edac.c 	for (count = 0; count < 10; count++) {
count             876 drivers/edac/i7core_edac.c 		if (count)
count             913 drivers/edac/i7core_edac.c 					  const char *data, size_t count)
count             933 drivers/edac/i7core_edac.c 		return count;
count            1012 drivers/edac/i7core_edac.c 	return count;
count            2244 drivers/edac/i7core_edac.c 	int rc, count = 0;
count            2264 drivers/edac/i7core_edac.c 		count++;
count            2278 drivers/edac/i7core_edac.c 	if (!count) {
count            2285 drivers/edac/i7core_edac.c 		      count);
count             366 drivers/edac/mpc85xx_edac.c 					       size_t count)
count             372 drivers/edac/mpc85xx_edac.c 		return count;
count             379 drivers/edac/mpc85xx_edac.c 					       size_t count)
count             385 drivers/edac/mpc85xx_edac.c 		return count;
count             392 drivers/edac/mpc85xx_edac.c 					    size_t count)
count             398 drivers/edac/mpc85xx_edac.c 		return count;
count             143 drivers/edac/octeon_edac-lmc.c 			       const char *data, size_t count)		\
count             149 drivers/edac/octeon_edac-lmc.c 			return count;					\
count             170 drivers/edac/octeon_edac-lmc.c 					  size_t count)
count             180 drivers/edac/octeon_edac-lmc.c 	return count;
count             776 drivers/edac/ppc4xx_edac.c 	static unsigned int count;
count             783 drivers/edac/ppc4xx_edac.c 	if (count++ % 30 == 0)
count             988 drivers/edac/synopsys_edac.c 				       const char *data, size_t count)
count             998 drivers/edac/synopsys_edac.c 	return count;
count            1015 drivers/edac/synopsys_edac.c 					const char *data, size_t count)
count            1027 drivers/edac/synopsys_edac.c 	return count;
count             231 drivers/edac/thunderx_edac.c 					    size_t count, loff_t *ppos)	    \
count             236 drivers/edac/thunderx_edac.c 	snprintf(buf, count, "0x%016llx", pdata->_field);		    \
count             237 drivers/edac/thunderx_edac.c 	return simple_read_from_buffer(data, count, ppos,		    \
count             243 drivers/edac/thunderx_edac.c 					     size_t count, loff_t *ppos)    \
count             248 drivers/edac/thunderx_edac.c 	res = kstrtoull_from_user(data, count, 0, &pdata->_field);	    \
count             250 drivers/edac/thunderx_edac.c 	return res ? res : count;					    \
count             260 drivers/edac/thunderx_edac.c 					   size_t count, loff_t *ppos)      \
count             266 drivers/edac/thunderx_edac.c 	return simple_read_from_buffer(data, count, ppos,		    \
count             272 drivers/edac/thunderx_edac.c 					    size_t count, loff_t *ppos)     \
count             278 drivers/edac/thunderx_edac.c 	res = kstrtoull_from_user(data, count, 0, &val);		    \
count             282 drivers/edac/thunderx_edac.c 		res = count;						    \
count             305 drivers/edac/thunderx_edac.c 					     size_t count, loff_t *ppos)
count             311 drivers/edac/thunderx_edac.c 	res = kstrtoull_from_user(data, count, 0, &val);
count             316 drivers/edac/thunderx_edac.c 		res = count;
count             324 drivers/edac/thunderx_edac.c 				     size_t count, loff_t *ppos)
count             331 drivers/edac/thunderx_edac.c 	return simple_read_from_buffer(data, count, ppos, buf, sizeof(buf));
count             408 drivers/edac/thunderx_edac.c 					     size_t count, loff_t *ppos)
count             446 drivers/edac/thunderx_edac.c 	return count;
count             142 drivers/edac/xgene_edac.c 					      size_t count, loff_t *ppos)
count             153 drivers/edac/xgene_edac.c 	return count;
count             182 drivers/edac/xgene_edac.c 	u32 count;
count             212 drivers/edac/xgene_edac.c 			count = readl(ctx->mcu_csr + MCUSBECNT0 +
count             219 drivers/edac/xgene_edac.c 				MCU_SBECNT_COUNT(count));
count             808 drivers/edac/xgene_edac.c 						   size_t count, loff_t *ppos)
count             829 drivers/edac/xgene_edac.c 	return count;
count             834 drivers/edac/xgene_edac.c 						   size_t count, loff_t *ppos)
count             845 drivers/edac/xgene_edac.c 	return count;
count            1148 drivers/edac/xgene_edac.c 					       size_t count, loff_t *ppos)
count            1155 drivers/edac/xgene_edac.c 	return count;
count             351 drivers/extcon/extcon.c 	int i, count = 0;
count             358 drivers/extcon/extcon.c 		count += sprintf(buf + count, "%s=%d\n",
count             363 drivers/extcon/extcon.c 	return count;
count             292 drivers/firewire/core-cdev.c 			 char __user *buffer, size_t count)
count             314 drivers/firewire/core-cdev.c 	for (i = 0; i < ARRAY_SIZE(event->v) && total < count; i++) {
count             315 drivers/firewire/core-cdev.c 		size = min(event->v[i].size, count - total);
count             331 drivers/firewire/core-cdev.c 				 size_t count, loff_t *offset)
count             335 drivers/firewire/core-cdev.c 	return dequeue_event(client, buffer, count);
count            1054 drivers/firewire/core-cdev.c 	int count;
count            1088 drivers/firewire/core-cdev.c 	count = 0;
count            1138 drivers/firewire/core-cdev.c 		count++;
count            1146 drivers/firewire/core-cdev.c 	return count;
count             336 drivers/firewire/nosy.c nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset)
count             340 drivers/firewire/nosy.c 	return packet_buffer_get(client, buffer, count);
count             632 drivers/firmware/arm_scpi.c 	info->count = buf.opp_count;
count             635 drivers/firmware/arm_scpi.c 	info->opps = kcalloc(info->count, sizeof(*opp), GFP_KERNEL);
count             641 drivers/firmware/arm_scpi.c 	for (i = 0, opp = info->opps; i < info->count; i++, opp++) {
count             646 drivers/firmware/arm_scpi.c 	sort(info->opps, info->count, sizeof(*opp), opp_cmp_func, NULL);
count             695 drivers/firmware/arm_scpi.c 	for (opp = info->opps, idx = 0; idx < info->count; idx++, opp++) {
count             902 drivers/firmware/arm_scpi.c 	int count, idx, ret;
count             914 drivers/firmware/arm_scpi.c 	count = of_count_phandle_with_args(np, "mboxes", "#mbox-cells");
count             915 drivers/firmware/arm_scpi.c 	if (count < 0) {
count             920 drivers/firmware/arm_scpi.c 	scpi_info->channels = devm_kcalloc(dev, count, sizeof(struct scpi_chan),
count             929 drivers/firmware/arm_scpi.c 	for (; scpi_info->num_chans < count; scpi_info->num_chans++) {
count             156 drivers/firmware/dmi-sysfs.c 	size_t count;
count             363 drivers/firmware/dmi-sysfs.c 				   char *buf, loff_t pos, size_t count)
count             369 drivers/firmware/dmi-sysfs.c 	while (count && pos < sel->area_length) {
count             370 drivers/firmware/dmi-sysfs.c 		count--;
count             380 drivers/firmware/dmi-sysfs.c 				       char *buf, loff_t pos, size_t count)
count             389 drivers/firmware/dmi-sysfs.c 	while (count && pos < sel->area_length) {
count             390 drivers/firmware/dmi-sysfs.c 		count--;
count             416 drivers/firmware/dmi-sysfs.c 					   state->pos, state->count);
count             419 drivers/firmware/dmi-sysfs.c 					       state->pos, state->count);
count             432 drivers/firmware/dmi-sysfs.c 				char *buf, loff_t pos, size_t count)
count             438 drivers/firmware/dmi-sysfs.c 		.count = count,
count             531 drivers/firmware/dmi-sysfs.c 	return memory_read_from_buffer(state->buf, state->count,
count             538 drivers/firmware/dmi-sysfs.c 				  char *buf, loff_t pos, size_t count)
count             544 drivers/firmware/dmi-sysfs.c 		.count = count,
count             261 drivers/firmware/dmi_scan.c 	int i, count = (dm->length - sizeof(struct dmi_header)) / 2;
count             263 drivers/firmware/dmi_scan.c 	for (i = 0; i < count; i++) {
count             276 drivers/firmware/dmi_scan.c 	int i, count;
count             282 drivers/firmware/dmi_scan.c 	count = *(u8 *)(dm + 1);
count             283 drivers/firmware/dmi_scan.c 	for (i = 1; i <= count; i++) {
count             708 drivers/firmware/dmi_scan.c 			      loff_t pos, size_t count)
count             710 drivers/firmware/dmi_scan.c 	memcpy(buf, attr->private + pos, count);
count             711 drivers/firmware/dmi_scan.c 	return count;
count             851 drivers/firmware/dmi_scan.c 	int count = 0;
count             856 drivers/firmware/dmi_scan.c 			count++;
count             861 drivers/firmware/dmi_scan.c 	return count;
count             168 drivers/firmware/efi/capsule-loader.c 				 size_t count, loff_t *offp)
count             176 drivers/firmware/efi/capsule-loader.c 	if (count == 0)
count             203 drivers/firmware/efi/capsule-loader.c 	write_byte = min_t(size_t, count, cap_info->page_bytes_remain);
count             212 drivers/firmware/efi/capsule-loader.c 		ret = efi_capsule_setup_info(cap_info, kbuff - cap_info->count,
count             213 drivers/firmware/efi/capsule-loader.c 					     cap_info->count + write_byte);
count             218 drivers/firmware/efi/capsule-loader.c 	cap_info->count += write_byte;
count             223 drivers/firmware/efi/capsule-loader.c 	    cap_info->count >= cap_info->total_size) {
count             224 drivers/firmware/efi/capsule-loader.c 		if (cap_info->count > cap_info->total_size) {
count             121 drivers/firmware/efi/capsule.c static inline unsigned int sg_pages_num(unsigned int count)
count             123 drivers/firmware/efi/capsule.c 	return DIV_ROUND_UP(count, SGLIST_PER_PAGE);
count             219 drivers/firmware/efi/capsule.c 	unsigned int count, sg_count;
count             229 drivers/firmware/efi/capsule.c 	count = DIV_ROUND_UP(imagesize, PAGE_SIZE);
count             230 drivers/firmware/efi/capsule.c 	sg_count = sg_pages_num(count);
count             249 drivers/firmware/efi/capsule.c 		for (j = 0; j < SGLIST_PER_PAGE && count > 0; j++) {
count             257 drivers/firmware/efi/capsule.c 			count--;
count             145 drivers/firmware/efi/earlycon.c 		unsigned int h, count = 0;
count             148 drivers/firmware/efi/earlycon.c 			if (count == num)
count             150 drivers/firmware/efi/earlycon.c 			count++;
count             154 drivers/firmware/efi/earlycon.c 		if (count > linemax)
count             155 drivers/firmware/efi/earlycon.c 			count = linemax;
count             165 drivers/firmware/efi/earlycon.c 			n = count;
count             177 drivers/firmware/efi/earlycon.c 		num -= count;
count             178 drivers/firmware/efi/earlycon.c 		efi_x += count * font->width;
count             179 drivers/firmware/efi/earlycon.c 		str += count;
count              33 drivers/firmware/efi/efi-pstore.c static inline u64 generic_id(u64 timestamp, unsigned int part, int count)
count              35 drivers/firmware/efi/efi-pstore.c 	return (timestamp * 100 + part) * 1000 + count;
count              59 drivers/firmware/efi/efi-pstore.c 		record->count = cnt;
count              71 drivers/firmware/efi/efi-pstore.c 		record->count = cnt;
count              85 drivers/firmware/efi/efi-pstore.c 		record->count = 0;
count             250 drivers/firmware/efi/efi-pstore.c 				record->count);
count             256 drivers/firmware/efi/efi-pstore.c 		 record->type, record->part, record->count,
count             333 drivers/firmware/efi/efi-pstore.c 		 record->type, record->part, record->count,
count             504 drivers/firmware/efi/efi.c int __init efi_config_parse_tables(void *config_tables, int count, int sz,
count             512 drivers/firmware/efi/efi.c 	for (i = 0; i < count; i++) {
count             612 drivers/firmware/efi/efi.c 			for (i = 0; i < atomic_read(&rsv->count); i++) {
count            1009 drivers/firmware/efi/efi.c 		index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size);
count            1038 drivers/firmware/efi/efi.c 	atomic_set(&rsv->count, 1);
count              47 drivers/firmware/efi/efivars.c 	ssize_t (*store)(struct efivar_entry *entry, const char *buf, size_t count);
count             201 drivers/firmware/efi/efivars.c efivar_store_raw(struct efivar_entry *entry, const char *buf, size_t count)
count             217 drivers/firmware/efi/efivars.c 		if (count != sizeof(*compat))
count             233 drivers/firmware/efi/efivars.c 		if (count != sizeof(struct efi_variable))
count             248 drivers/firmware/efi/efivars.c 		memcpy(&entry->var, new_var, count);
count             257 drivers/firmware/efi/efivars.c 	return count;
count             317 drivers/firmware/efi/efivars.c 				const char *buf, size_t count)
count             327 drivers/firmware/efi/efivars.c 		ret = efivar_attr->store(var, buf, count);
count             366 drivers/firmware/efi/efivars.c 			     char *buf, loff_t pos, size_t count)
count             382 drivers/firmware/efi/efivars.c 		if (count != sizeof(*compat))
count             390 drivers/firmware/efi/efivars.c 		if (count != sizeof(*new_var))
count             427 drivers/firmware/efi/efivars.c 	return count;
count             436 drivers/firmware/efi/efivars.c 			     char *buf, loff_t pos, size_t count)
count             449 drivers/firmware/efi/efivars.c 		if (count != sizeof(*compat))
count             456 drivers/firmware/efi/efivars.c 		if (count != sizeof(*del_var))
count             483 drivers/firmware/efi/efivars.c 	return count;
count              79 drivers/firmware/efi/esrt.c 			 const char *buf, size_t count);
count              84 drivers/firmware/efi/libstub/arm-stub.c 	atomic_set(&rsv->count, 0);
count             338 drivers/firmware/efi/libstub/arm-stub.c 		     int *count)
count             401 drivers/firmware/efi/libstub/arm-stub.c 		++*count;
count              55 drivers/firmware/efi/libstub/efistub.h 		     int *count);
count              43 drivers/firmware/efi/libstub/string.c int strncmp(const char *cs, const char *ct, size_t count)
count              47 drivers/firmware/efi/libstub/string.c 	while (count) {
count              54 drivers/firmware/efi/libstub/string.c 		count--;
count             221 drivers/firmware/efi/memmap.c 	int count = 0;
count             233 drivers/firmware/efi/memmap.c 			count++;
count             239 drivers/firmware/efi/memmap.c 			count += 2;
count             242 drivers/firmware/efi/memmap.c 			count++;
count             245 drivers/firmware/efi/memmap.c 	return count;
count              45 drivers/firmware/efi/rci2-table.c 			      loff_t pos, size_t count)
count              47 drivers/firmware/efi/rci2-table.c 	memcpy(buf, attr->private + pos, count);
count              48 drivers/firmware/efi/rci2-table.c 	return count;
count             400 drivers/firmware/efi/runtime-wrappers.c static efi_status_t virt_efi_get_next_high_mono_count(u32 *count)
count             406 drivers/firmware/efi/runtime-wrappers.c 	status = efi_queue_work(EFI_GET_NEXT_HIGH_MONO_COUNT, count, NULL, NULL,
count             428 drivers/firmware/efi/runtime-wrappers.c 					    unsigned long count,
count             438 drivers/firmware/efi/runtime-wrappers.c 	status = efi_queue_work(EFI_UPDATE_CAPSULE, capsules, &count, &sg_list,
count             445 drivers/firmware/efi/runtime-wrappers.c 						unsigned long count,
count             456 drivers/firmware/efi/runtime-wrappers.c 	status = efi_queue_work(EFI_QUERY_CAPSULE_CAPS, capsules, &count,
count             521 drivers/firmware/efi/test/efi_test.c 	u32 count;
count             532 drivers/firmware/efi/test/efi_test.c 		getnexthighmonocount.high_count ? &count : NULL);
count             541 drivers/firmware/efi/test/efi_test.c 	    put_user(count, getnexthighmonocount.high_count))
count              19 drivers/firmware/efi/tpm.c static int __init tpm2_calc_event_log_size(void *data, int count, void *size_info)
count              24 drivers/firmware/efi/tpm.c 	while (count > 0) {
count              30 drivers/firmware/efi/tpm.c 		count--;
count             489 drivers/firmware/google/gsmi.c 			       char *buf, loff_t pos, size_t count)
count             498 drivers/firmware/google/gsmi.c 	if (count < sizeof(u32))
count             504 drivers/firmware/google/gsmi.c 	if ((count - sizeof(u32)) > gsmi_dev.data_buf->length)
count             506 drivers/firmware/google/gsmi.c 	param.data_len = count - sizeof(u32);
count             524 drivers/firmware/google/gsmi.c 	return (rc == 0) ? count : rc;
count             535 drivers/firmware/google/gsmi.c 					 const char *buf, size_t count)
count             572 drivers/firmware/google/gsmi.c 	return count;
count             582 drivers/firmware/google/gsmi.c 				       const char *buf, size_t count)
count             598 drivers/firmware/google/gsmi.c 	return count;
count              40 drivers/firmware/google/memconsole-coreboot.c static ssize_t memconsole_coreboot_read(char *buf, loff_t pos, size_t count)
count              61 drivers/firmware/google/memconsole-coreboot.c 	for (i = 0; i < ARRAY_SIZE(seg) && count > done; i++) {
count              62 drivers/firmware/google/memconsole-coreboot.c 		done += memory_read_from_buffer(buf + done, count - done, &pos,
count              46 drivers/firmware/google/memconsole-x86-legacy.c static ssize_t memconsole_read(char *buf, loff_t pos, size_t count)
count              48 drivers/firmware/google/memconsole-x86-legacy.c 	return memory_read_from_buffer(buf, count, &pos, memconsole_baseaddr,
count              18 drivers/firmware/google/memconsole.c 			       loff_t pos, size_t count)
count              26 drivers/firmware/google/memconsole.c 	return memconsole_read_func(buf, pos, count);
count              60 drivers/firmware/google/vpd.c 			       loff_t pos, size_t count)
count              64 drivers/firmware/google/vpd.c 	return memory_read_from_buffer(buf, count, &pos, info->value,
count             160 drivers/firmware/google/vpd.c 				loff_t pos, size_t count)
count             164 drivers/firmware/google/vpd.c 	return memory_read_from_buffer(buf, count, &pos, sec->baseaddr,
count              46 drivers/firmware/imx/imx-scu.c 	u8 count;
count             150 drivers/firmware/imx/imx-scu.c 	sc_ipc->count++;
count             153 drivers/firmware/imx/imx-scu.c 		sc_ipc->count, *data);
count             155 drivers/firmware/imx/imx-scu.c 	if ((sc_ipc->rx_size != 0) && (sc_ipc->count == sc_ipc->rx_size))
count             217 drivers/firmware/imx/imx-scu.c 	sc_ipc->count = 0;
count             281 drivers/firmware/imx/scu-pd.c 	u32 count = 0;
count             285 drivers/firmware/imx/scu-pd.c 		count += pd_ranges[i].num;
count             287 drivers/firmware/imx/scu-pd.c 	domains = devm_kcalloc(dev, count, sizeof(*domains), GFP_KERNEL);
count             295 drivers/firmware/imx/scu-pd.c 	count = 0;
count             302 drivers/firmware/imx/scu-pd.c 			domains[count++] = &sc_pd->pd;
count             308 drivers/firmware/imx/scu-pd.c 	pd_data->num_domains = count;
count              80 drivers/firmware/pcdp.h 	u8			count;		/* address space descriptors */
count             132 drivers/firmware/qemu_fw_cfg.c 				void *buf, loff_t pos, size_t count)
count             144 drivers/firmware/qemu_fw_cfg.c 		memset(buf, 0, count);
count             152 drivers/firmware/qemu_fw_cfg.c 	ioread8_rep(fw_cfg_reg_data, buf, count);
count             156 drivers/firmware/qemu_fw_cfg.c 	return count;
count             162 drivers/firmware/qemu_fw_cfg.c 				 void *buf, loff_t pos, size_t count)
count             166 drivers/firmware/qemu_fw_cfg.c 	ssize_t ret = count;
count             180 drivers/firmware/qemu_fw_cfg.c 		ret = fw_cfg_dma_transfer(buf, count, key << 16
count             188 drivers/firmware/qemu_fw_cfg.c 		ret = fw_cfg_dma_transfer(buf, count, FW_CFG_DMA_CTL_WRITE);
count             464 drivers/firmware/qemu_fw_cfg.c 				     char *buf, loff_t pos, size_t count)
count             471 drivers/firmware/qemu_fw_cfg.c 	if (count > entry->size - pos)
count             472 drivers/firmware/qemu_fw_cfg.c 		count = entry->size - pos;
count             474 drivers/firmware/qemu_fw_cfg.c 	return fw_cfg_read_blob(entry->select, buf, pos, count);
count             635 drivers/firmware/qemu_fw_cfg.c 	u32 count, i;
count             644 drivers/firmware/qemu_fw_cfg.c 	count = be32_to_cpu(files_count);
count             645 drivers/firmware/qemu_fw_cfg.c 	dir_size = count * sizeof(struct fw_cfg_file);
count             656 drivers/firmware/qemu_fw_cfg.c 	for (i = 0; i < count; i++) {
count             283 drivers/firmware/stratix10-rsu.c 				  const char *buf, size_t count)
count             303 drivers/firmware/stratix10-rsu.c 	return count;
count             308 drivers/firmware/stratix10-rsu.c 			    const char *buf, size_t count)
count             347 drivers/firmware/stratix10-rsu.c 	return count;
count             245 drivers/firmware/tegra/bpmp-debugfs.c 		size_t count, loff_t *f_pos)
count             249 drivers/firmware/tegra/bpmp-debugfs.c 	const size_t datasize = count;
count             277 drivers/firmware/tegra/bpmp-debugfs.c 	if (copy_from_user(datavirt, buf, count)) {
count             283 drivers/firmware/tegra/bpmp-debugfs.c 				count);
count             290 drivers/firmware/tegra/bpmp-debugfs.c 	return ret ?: count;
count             212 drivers/firmware/tegra/bpmp-tegra186.c 	for (i = 0; i < bpmp->threaded.count; i++) {
count             237 drivers/firmware/tegra/bpmp-tegra186.c 	for (i = 0; i < bpmp->threaded.count; i++)
count             243 drivers/firmware/tegra/bpmp-tegra186.c 	for (i = 0; i < bpmp->threaded.count; i++) {
count             268 drivers/firmware/tegra/bpmp-tegra186.c 	for (i = 0; i < bpmp->threaded.count; i++)
count             286 drivers/firmware/tegra/bpmp-tegra186.c 	for (i = 0; i < bpmp->threaded.count; i++)
count             195 drivers/firmware/tegra/bpmp-tegra210.c 	for (i = 0; i < bpmp->threaded.count; i++) {
count              81 drivers/firmware/tegra/bpmp.c 	unsigned int count;
count              84 drivers/firmware/tegra/bpmp.c 	count = bpmp->soc->channels.thread.count;
count              87 drivers/firmware/tegra/bpmp.c 	if (index < 0 || index >= count)
count             257 drivers/firmware/tegra/bpmp.c 	unsigned int count = bpmp->soc->channels.thread.count;
count             269 drivers/firmware/tegra/bpmp.c 	index = find_first_zero_bit(bpmp->threaded.allocated, count);
count             270 drivers/firmware/tegra/bpmp.c 	if (index == count) {
count             661 drivers/firmware/tegra/bpmp.c 	unsigned int i, count;
count             665 drivers/firmware/tegra/bpmp.c 	count = bpmp->soc->channels.thread.count;
count             673 drivers/firmware/tegra/bpmp.c 	for_each_set_bit(i, busy, count) {
count             704 drivers/firmware/tegra/bpmp.c 	bpmp->threaded.count = bpmp->soc->channels.thread.count;
count             705 drivers/firmware/tegra/bpmp.c 	sema_init(&bpmp->threaded.lock, bpmp->threaded.count);
count             707 drivers/firmware/tegra/bpmp.c 	size = BITS_TO_LONGS(bpmp->threaded.count) * sizeof(long);
count             728 drivers/firmware/tegra/bpmp.c 	bpmp->threaded_channels = devm_kcalloc(&pdev->dev, bpmp->threaded.count,
count             820 drivers/firmware/tegra/bpmp.c 			.count = 3,
count             838 drivers/firmware/tegra/bpmp.c 			.count = 1,
count             843 drivers/firmware/tegra/bpmp.c 			.count = 1,
count             848 drivers/firmware/tegra/bpmp.c 			.count = 1,
count              57 drivers/firmware/tegra/ivc.c 			u32 count;
count              66 drivers/firmware/tegra/ivc.c 		u32 count;
count              97 drivers/firmware/tegra/ivc.c 	u32 tx = READ_ONCE(header->tx.count);
count              98 drivers/firmware/tegra/ivc.c 	u32 rx = READ_ONCE(header->rx.count);
count             119 drivers/firmware/tegra/ivc.c 	u32 tx = READ_ONCE(header->tx.count);
count             120 drivers/firmware/tegra/ivc.c 	u32 rx = READ_ONCE(header->rx.count);
count             132 drivers/firmware/tegra/ivc.c 	u32 tx = READ_ONCE(header->tx.count);
count             133 drivers/firmware/tegra/ivc.c 	u32 rx = READ_ONCE(header->rx.count);
count             146 drivers/firmware/tegra/ivc.c 	WRITE_ONCE(ivc->tx.channel->tx.count,
count             147 drivers/firmware/tegra/ivc.c 		   READ_ONCE(ivc->tx.channel->tx.count) + 1);
count             157 drivers/firmware/tegra/ivc.c 	WRITE_ONCE(ivc->rx.channel->rx.count,
count             158 drivers/firmware/tegra/ivc.c 		   READ_ONCE(ivc->rx.channel->rx.count) + 1);
count             168 drivers/firmware/tegra/ivc.c 	unsigned int offset = offsetof(struct tegra_ivc_header, tx.count);
count             201 drivers/firmware/tegra/ivc.c 	unsigned int offset = offsetof(struct tegra_ivc_header, rx.count);
count             293 drivers/firmware/tegra/ivc.c 	unsigned int rx = offsetof(struct tegra_ivc_header, rx.count);
count             294 drivers/firmware/tegra/ivc.c 	unsigned int tx = offsetof(struct tegra_ivc_header, tx.count);
count             346 drivers/firmware/tegra/ivc.c 	unsigned int tx = offsetof(struct tegra_ivc_header, tx.count);
count             347 drivers/firmware/tegra/ivc.c 	unsigned int rx = offsetof(struct tegra_ivc_header, rx.count);
count             388 drivers/firmware/tegra/ivc.c 	unsigned int offset = offsetof(struct tegra_ivc_header, tx.count);
count             418 drivers/firmware/tegra/ivc.c 	unsigned int offset = offsetof(struct tegra_ivc_header, tx.count);
count             426 drivers/firmware/tegra/ivc.c 		offset = offsetof(struct tegra_ivc_header, tx.count);
count             439 drivers/firmware/tegra/ivc.c 		ivc->tx.channel->tx.count = 0;
count             440 drivers/firmware/tegra/ivc.c 		ivc->rx.channel->rx.count = 0;
count             465 drivers/firmware/tegra/ivc.c 		offset = offsetof(struct tegra_ivc_header, tx.count);
count             478 drivers/firmware/tegra/ivc.c 		ivc->tx.channel->tx.count = 0;
count             479 drivers/firmware/tegra/ivc.c 		ivc->rx.channel->rx.count = 0;
count             504 drivers/firmware/tegra/ivc.c 		offset = offsetof(struct tegra_ivc_header, tx.count);
count             564 drivers/firmware/tegra/ivc.c 	BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct tegra_ivc_header, tx.count),
count             566 drivers/firmware/tegra/ivc.c 	BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct tegra_ivc_header, rx.count),
count             755 drivers/firmware/ti_sci.c 				    u32 *count)
count             757 drivers/firmware/ti_sci.c 	return ti_sci_get_device_state(handle, id, count, NULL, NULL, NULL);
count            2120 drivers/firmware/ti_sci.c 				  u32 addr_lo, u32 addr_hi, u32 count,
count            2150 drivers/firmware/ti_sci.c 	req->count = count;
count            2190 drivers/firmware/ti_sci.c 				      u32 *count, u8 *size, u8 *order_id)
count            2235 drivers/firmware/ti_sci.c 		if (count)
count            2236 drivers/firmware/ti_sci.c 			*count = resp->count;
count            3253 drivers/firmware/ti_sci.c 	u32 set, count = 0;
count            3256 drivers/firmware/ti_sci.c 		count += res->desc[set].num;
count            3258 drivers/firmware/ti_sci.c 	return count;
count             680 drivers/firmware/ti_sci.h 	u32 count;
count             723 drivers/firmware/ti_sci.h 	u32 count;
count             320 drivers/fpga/altera-cvp.c 				 const char *buf, size_t count)
count             432 drivers/fpga/altera-cvp.c 			    size_t count)
count             441 drivers/fpga/altera-cvp.c 	remaining = count;
count             479 drivers/fpga/altera-cvp.c 		status = altera_cvp_chk_error(mgr, count);
count             546 drivers/fpga/altera-cvp.c 			    size_t count)
count             554 drivers/fpga/altera-cvp.c 	return count;
count              79 drivers/fpga/altera-pr-ip-core.c 				  const char *buf, size_t count)
count             105 drivers/fpga/altera-pr-ip-core.c 			     size_t count)
count             111 drivers/fpga/altera-pr-ip-core.c 	if (count <= 0)
count             115 drivers/fpga/altera-pr-ip-core.c 	while (count >= sizeof(u32)) {
count             117 drivers/fpga/altera-pr-ip-core.c 		count -= sizeof(u32);
count             121 drivers/fpga/altera-pr-ip-core.c 	switch (count) {
count             108 drivers/fpga/altera-ps-spi.c 				const char *buf, size_t count)
count             176 drivers/fpga/altera-ps-spi.c 			   size_t count)
count             180 drivers/fpga/altera-ps-spi.c 	const char *fw_data_end = fw_data + count;
count             129 drivers/fpga/dfl-afu-error.c 			    const char *buff, size_t count)
count             139 drivers/fpga/dfl-afu-error.c 	return ret ? ret : count;
count             166 drivers/fpga/dfl-afu-main.c 	  const char *buf, size_t count)
count             185 drivers/fpga/dfl-afu-main.c 	return count;
count             207 drivers/fpga/dfl-afu-main.c 		const char *buf, size_t count)
count             222 drivers/fpga/dfl-afu-main.c 	return count;
count             245 drivers/fpga/dfl-afu-main.c 		const char *buf, size_t count)
count             260 drivers/fpga/dfl-afu-main.c 	return count;
count             283 drivers/fpga/dfl-afu-main.c 		      const char *buf, size_t count)
count             298 drivers/fpga/dfl-afu-main.c 	return count;
count             304 drivers/fpga/dfl-afu-main.c 			  const char *buf, size_t count)
count             319 drivers/fpga/dfl-afu-main.c 	return count;
count              59 drivers/fpga/dfl-fme-error.c 				  const char *buf, size_t count)
count              82 drivers/fpga/dfl-fme-error.c 	return ret ? ret : count;
count             104 drivers/fpga/dfl-fme-error.c 				  const char *buf, size_t count)
count             127 drivers/fpga/dfl-fme-error.c 	return ret ? ret : count;
count             174 drivers/fpga/dfl-fme-error.c 				   const char *buf, size_t count)
count             196 drivers/fpga/dfl-fme-error.c 	return count;
count             218 drivers/fpga/dfl-fme-error.c 				const char *buf, size_t count)
count             243 drivers/fpga/dfl-fme-error.c 	return ret ? ret : count;
count             109 drivers/fpga/dfl-fme-mgr.c 			      const char *buf, size_t count)
count             166 drivers/fpga/dfl-fme-mgr.c 			 const char *buf, size_t count)
count             191 drivers/fpga/dfl-fme-mgr.c 	while (count > 0) {
count             203 drivers/fpga/dfl-fme-mgr.c 		if (count < 4) {
count             212 drivers/fpga/dfl-fme-mgr.c 		count -= 4;
count             147 drivers/fpga/dfl-fme-pr.c 	info->count = length;
count              76 drivers/fpga/fpga-mgr.c 				   const char *buf, size_t count)
count              85 drivers/fpga/fpga-mgr.c 		    mgr, info, buf, min(mgr->mops->initial_header_size, count));
count             211 drivers/fpga/fpga-mgr.c 				    const char *buf, size_t count)
count             215 drivers/fpga/fpga-mgr.c 	ret = fpga_mgr_write_init_buf(mgr, info, buf, count);
count             223 drivers/fpga/fpga-mgr.c 	ret = mgr->mops->write(mgr, buf, count);
count             249 drivers/fpga/fpga-mgr.c 			     const char *buf, size_t count)
count             264 drivers/fpga/fpga-mgr.c 		return fpga_mgr_buf_load_mapped(mgr, info, buf, count);
count             270 drivers/fpga/fpga-mgr.c 	nr_pages = DIV_ROUND_UP((unsigned long)buf + count, PAGE_SIZE) -
count             294 drivers/fpga/fpga-mgr.c 				       count, GFP_KERNEL);
count             359 drivers/fpga/fpga-mgr.c 	if (info->buf && info->count)
count             360 drivers/fpga/fpga-mgr.c 		return fpga_mgr_buf_load(mgr, info, info->buf, info->count);
count              42 drivers/fpga/ice40-spi.c 				     const char *buf, size_t count)
count              97 drivers/fpga/ice40-spi.c 				const char *buf, size_t count)
count             101 drivers/fpga/ice40-spi.c 	return spi_write(priv->dev, buf, count);
count             188 drivers/fpga/machxo2-spi.c 			      const char *buf, size_t count)
count             249 drivers/fpga/machxo2-spi.c 			 size_t count)
count             259 drivers/fpga/machxo2-spi.c 	if (count % MACHXO2_PAGE_SIZE != 0) {
count             266 drivers/fpga/machxo2-spi.c 	for (i = 0; i < count; i += MACHXO2_PAGE_SIZE) {
count             128 drivers/fpga/socfpga-a10.c 					    u32 count)
count             137 drivers/fpga/socfpga-a10.c 	regmap_write(priv->regmap, A10_FPGAMGR_DCLKCNT_OFST, count);
count             205 drivers/fpga/socfpga-a10.c 					const char *buf, size_t count)
count             211 drivers/fpga/socfpga-a10.c 	encrypt = socfpga_a10_fpga_encrypted((u32 *)buf, count / 4);
count             215 drivers/fpga/socfpga-a10.c 	compress = socfpga_a10_fpga_compressed((u32 *)buf, count / 4);
count             274 drivers/fpga/socfpga-a10.c 				       const char *buf, size_t count)
count             306 drivers/fpga/socfpga-a10.c 	ret = socfpga_a10_fpga_set_cdratio(mgr, cfg_width, buf, count);
count             355 drivers/fpga/socfpga-a10.c 				  size_t count)
count             361 drivers/fpga/socfpga-a10.c 	if (count <= 0)
count             365 drivers/fpga/socfpga-a10.c 	while (count >= sizeof(u32)) {
count             367 drivers/fpga/socfpga-a10.c 		count -= sizeof(u32);
count             371 drivers/fpga/socfpga-a10.c 	switch (count) {
count             210 drivers/fpga/socfpga.c 						u32 count)
count             220 drivers/fpga/socfpga.c 	socfpga_fpga_writel(priv, SOCFPGA_FPGMGR_DCLKCNT_OFST, count);
count             401 drivers/fpga/socfpga.c 					   const char *buf, size_t count)
count             434 drivers/fpga/socfpga.c 					    const char *buf, size_t count)
count             440 drivers/fpga/socfpga.c 	if (count <= 0)
count             444 drivers/fpga/socfpga.c 	while (count >= sizeof(u32)) {
count             446 drivers/fpga/socfpga.c 		count -= sizeof(u32);
count             450 drivers/fpga/socfpga.c 	switch (count) {
count             176 drivers/fpga/stratix10-soc.c 			      const char *buf, size_t count)
count             244 drivers/fpga/stratix10-soc.c static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
count             262 drivers/fpga/stratix10-soc.c 	xfer_sz = count < SVC_BUF_SIZE ? count : SVC_BUF_SIZE;
count             283 drivers/fpga/stratix10-soc.c 			 size_t count)
count             295 drivers/fpga/stratix10-soc.c 	while (count > 0 || s10_free_buffer_count(mgr) != NUM_SVC_BUFS) {
count             298 drivers/fpga/stratix10-soc.c 		if (count > 0) {
count             299 drivers/fpga/stratix10-soc.c 			sent = s10_send_buf(mgr, buf, count);
count             303 drivers/fpga/stratix10-soc.c 			count -= sent;
count              42 drivers/fpga/ts73xx-fpga.c 				  const char *buf, size_t count)
count              56 drivers/fpga/ts73xx-fpga.c 			     size_t count)
count              63 drivers/fpga/ts73xx-fpga.c 	while (count--) {
count              41 drivers/fpga/xilinx-spi.c 				 const char *buf, size_t count)
count              69 drivers/fpga/xilinx-spi.c 			    size_t count)
count              73 drivers/fpga/xilinx-spi.c 	const char *fw_data_end = fw_data + count;
count             242 drivers/fpga/zynq-fpga.c static bool zynq_fpga_has_sync(const u8 *buf, size_t count)
count             244 drivers/fpga/zynq-fpga.c 	for (; count >= 4; buf += 4, count -= 4)
count             253 drivers/fpga/zynq-fpga.c 				    const char *buf, size_t count)
count             278 drivers/fpga/zynq-fpga.c 		if (!zynq_fpga_has_sync(buf, count)) {
count             547 drivers/fsi/fsi-core.c static unsigned long aligned_access_size(size_t offset, size_t count)
count             566 drivers/fsi/fsi-core.c 	count_unit = BIT(8 * sizeof(unsigned long) - 1 - __builtin_clzl(count));
count             574 drivers/fsi/fsi-core.c 		loff_t off, size_t count)
count             583 drivers/fsi/fsi-core.c 	if (off > 0xffffffff || count > 0xffffffff || off + count > 0xffffffff)
count             586 drivers/fsi/fsi-core.c 	for (total_len = 0; total_len < count; total_len += read_len) {
count             587 drivers/fsi/fsi-core.c 		read_len = aligned_access_size(off, count - total_len);
count             596 drivers/fsi/fsi-core.c 	return count;
count             601 drivers/fsi/fsi-core.c 		char *buf, loff_t off, size_t count)
count             610 drivers/fsi/fsi-core.c 	if (off > 0xffffffff || count > 0xffffffff || off + count > 0xffffffff)
count             613 drivers/fsi/fsi-core.c 	for (total_len = 0; total_len < count; total_len += write_len) {
count             614 drivers/fsi/fsi-core.c 		write_len = aligned_access_size(off, count - total_len);
count             623 drivers/fsi/fsi-core.c 	return count;
count             688 drivers/fsi/fsi-core.c static ssize_t cfam_read(struct file *filep, char __user *buf, size_t count,
count             699 drivers/fsi/fsi-core.c 	if (off > 0xffffffff || count > 0xffffffff || off + count > 0xffffffff)
count             702 drivers/fsi/fsi-core.c 	for (total_len = 0; total_len < count; total_len += read_len) {
count             705 drivers/fsi/fsi-core.c 		read_len = min_t(size_t, count, 4);
count             718 drivers/fsi/fsi-core.c 	rc = count;
count             721 drivers/fsi/fsi-core.c 	return count;
count             725 drivers/fsi/fsi-core.c 			  size_t count, loff_t *offset)
count             736 drivers/fsi/fsi-core.c 	if (off > 0xffffffff || count > 0xffffffff || off + count > 0xffffffff)
count             739 drivers/fsi/fsi-core.c 	for (total_len = 0; total_len < count; total_len += write_len) {
count             742 drivers/fsi/fsi-core.c 		write_len = min_t(size_t, count, 4);
count             755 drivers/fsi/fsi-core.c 	rc = count;
count             758 drivers/fsi/fsi-core.c 	return count;
count             795 drivers/fsi/fsi-core.c 			       const char *buf, size_t count)
count             804 drivers/fsi/fsi-core.c 	return count;
count             819 drivers/fsi/fsi-core.c 		struct device_attribute *attr, const char *buf, size_t count)
count             847 drivers/fsi/fsi-core.c 	return count;
count            1241 drivers/fsi/fsi-core.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1250 drivers/fsi/fsi-core.c 	return count;
count            1256 drivers/fsi/fsi-core.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1262 drivers/fsi/fsi-core.c 	return count;
count             344 drivers/fsi/fsi-master-ast-cf.c static int clock_zeros(struct fsi_master_acf *master, int count)
count             346 drivers/fsi/fsi-master-ast-cf.c 	while (count) {
count             347 drivers/fsi/fsi-master-ast-cf.c 		int rc, lcnt = min(count, 255);
count             353 drivers/fsi/fsi-master-ast-cf.c 		count -= lcnt;
count            1090 drivers/fsi/fsi-master-ast-cf.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1107 drivers/fsi/fsi-master-ast-cf.c 		return count;
count            1121 drivers/fsi/fsi-master-ast-cf.c 	return count;
count              49 drivers/fsi/fsi-master-gpio.c static void clock_toggle(struct fsi_master_gpio *master, int count)
count              53 drivers/fsi/fsi-master-gpio.c 	for (i = 0; i < count; i++) {
count              99 drivers/fsi/fsi-master-gpio.c static void clock_zeros(struct fsi_master_gpio *master, int count)
count             101 drivers/fsi/fsi-master-gpio.c 	trace_fsi_master_gpio_clock_zeros(master, count);
count             103 drivers/fsi/fsi-master-gpio.c 	clock_toggle(master, count);
count             725 drivers/fsi/fsi-master-gpio.c 		struct device_attribute *attr, const char *buf, size_t count)
count             742 drivers/fsi/fsi-master-gpio.c 		return count;
count             755 drivers/fsi/fsi-master-gpio.c 	return count;
count              54 drivers/gnss/core.c 	if (gdev->count++ == 0) {
count              57 drivers/gnss/core.c 			gdev->count--;
count              76 drivers/gnss/core.c 	if (--gdev->count == 0) {
count              89 drivers/gnss/core.c 				size_t count, loff_t *pos)
count             114 drivers/gnss/core.c 	ret = kfifo_to_user(&gdev->read_fifo, buf, count, &copied);
count             124 drivers/gnss/core.c 				size_t count, loff_t *pos)
count             133 drivers/gnss/core.c 	if (!count)
count             146 drivers/gnss/core.c 		size_t n = count - written;
count             175 drivers/gnss/core.c 		if (written == count)
count             305 drivers/gnss/core.c 	if (gdev->count) {
count             321 drivers/gnss/core.c 				size_t count)
count             325 drivers/gnss/core.c 	ret = kfifo_in(&gdev->read_fifo, buf, count);
count              60 drivers/gnss/serial.c 		const unsigned char *buf, size_t count)
count              67 drivers/gnss/serial.c 	ret = serdev_device_write(serdev, buf, count, MAX_SCHEDULE_TIMEOUT);
count              68 drivers/gnss/serial.c 	if (ret < 0 || ret < count)
count              74 drivers/gnss/serial.c 	return count;
count              84 drivers/gnss/serial.c 					const unsigned char *buf, size_t count)
count              89 drivers/gnss/serial.c 	return gnss_insert_raw(gdev, buf, count);
count             140 drivers/gnss/sirf.c 				size_t count)
count             147 drivers/gnss/sirf.c 	ret = serdev_device_write(serdev, buf, count, MAX_SCHEDULE_TIMEOUT);
count             148 drivers/gnss/sirf.c 	if (ret < 0 || ret < count)
count             154 drivers/gnss/sirf.c 	return count;
count             164 drivers/gnss/sirf.c 				const unsigned char *buf, size_t count)
count             177 drivers/gnss/sirf.c 		ret = gnss_insert_raw(gdev, buf, count);
count              76 drivers/gpio/gpio-dln2.c 	__le16 count;
count              77 drivers/gpio/gpio-dln2.c 	int len = sizeof(count);
count              79 drivers/gpio/gpio-dln2.c 	ret = dln2_transfer_rx(pdev, DLN2_GPIO_GET_PIN_COUNT, &count, &len);
count              82 drivers/gpio/gpio-dln2.c 	if (len < sizeof(count))
count              85 drivers/gpio/gpio-dln2.c 	return le16_to_cpu(count);
count             401 drivers/gpio/gpio-dln2.c 		__le16 count;
count             546 drivers/gpio/gpio-pxa.c 	int count = 0;
count             558 drivers/gpio/gpio-pxa.c 		count = pxa_id->gpio_nums - 1;
count             561 drivers/gpio/gpio-pxa.c 		count = -EINVAL;
count             564 drivers/gpio/gpio-pxa.c 	return count;
count             529 drivers/gpio/gpio-tegra186.c #define TEGRA186_MAIN_GPIO_PORT(port, base, count, controller)	\
count             533 drivers/gpio/gpio-tegra186.c 		.pins = count,					\
count             569 drivers/gpio/gpio-tegra186.c #define TEGRA186_AON_GPIO_PORT(port, base, count, controller)	\
count             573 drivers/gpio/gpio-tegra186.c 		.pins = count,					\
count             594 drivers/gpio/gpio-tegra186.c #define TEGRA194_MAIN_GPIO_PORT(port, base, count, controller)	\
count             598 drivers/gpio/gpio-tegra186.c 		.pins = count,					\
count             639 drivers/gpio/gpio-tegra186.c #define TEGRA194_AON_GPIO_PORT(port, base, count, controller)	\
count             643 drivers/gpio/gpio-tegra186.c 		.pins = count,					\
count            1253 drivers/gpio/gpiolib-acpi.c 	const union acpi_object *end = element + obj->package.count;
count            1254 drivers/gpio/gpiolib-acpi.c 	unsigned int count = 0;
count            1263 drivers/gpio/gpiolib-acpi.c 			count++;
count            1271 drivers/gpio/gpiolib-acpi.c 	return count;
count            1276 drivers/gpio/gpiolib-acpi.c 	unsigned int *count = data;
count            1279 drivers/gpio/gpiolib-acpi.c 		*count += ares->data.gpio.pin_table_length;
count            1298 drivers/gpio/gpiolib-acpi.c 	int count = -ENOENT;
count            1316 drivers/gpio/gpiolib-acpi.c 				count = 1;
count            1318 drivers/gpio/gpiolib-acpi.c 				count = acpi_gpio_package_count(obj);
count            1322 drivers/gpio/gpiolib-acpi.c 					count = gm->size;
count            1326 drivers/gpio/gpiolib-acpi.c 		if (count > 0)
count            1331 drivers/gpio/gpiolib-acpi.c 	if (count < 0) {
count            1336 drivers/gpio/gpiolib-acpi.c 			return count;
count            1343 drivers/gpio/gpiolib-acpi.c 			count = crs_count;
count            1345 drivers/gpio/gpiolib-acpi.c 	return count ? count : -ENOENT;
count              33 drivers/gpio/gpiolib-devprop.c 	int count;
count              35 drivers/gpio/gpiolib-devprop.c 	count = fwnode_property_read_string_array(fwnode, "gpio-line-names",
count              37 drivers/gpio/gpiolib-devprop.c 	if (count < 0)
count              40 drivers/gpio/gpiolib-devprop.c 	if (count > gdev->ngpio)
count              41 drivers/gpio/gpiolib-devprop.c 		count = gdev->ngpio;
count              43 drivers/gpio/gpiolib-devprop.c 	names = kcalloc(count, sizeof(*names), GFP_KERNEL);
count              48 drivers/gpio/gpiolib-devprop.c 						names, count);
count              55 drivers/gpio/gpiolib-devprop.c 	for (i = 0; i < count; i++)
count             774 drivers/gpio/gpiolib-of.c 	u32 start, count;
count             785 drivers/gpio/gpiolib-of.c 					   i + 1, &count);
count             786 drivers/gpio/gpiolib-of.c 		if (start >= chip->ngpio || start + count >= chip->ngpio)
count             789 drivers/gpio/gpiolib-of.c 		bitmap_clear(chip->valid_mask, start, count);
count             527 drivers/gpio/gpiolib.c 	int fd, i, count = 0, ret;
count             596 drivers/gpio/gpiolib.c 		count = i + 1;
count             667 drivers/gpio/gpiolib.c 	for (i = 0; i < count; i++)
count             728 drivers/gpio/gpiolib.c 			      size_t count,
count             735 drivers/gpio/gpiolib.c 	if (count < sizeof(struct gpioevent_data))
count             751 drivers/gpio/gpiolib.c 		ret = kfifo_to_user(&le->events, buf, count, &copied);
count            3621 drivers/gpio/gpiolib.c 		int count = 0;
count            3668 drivers/gpio/gpiolib.c 				count++;
count            3678 drivers/gpio/gpiolib.c 		if (count != 0)
count            4377 drivers/gpio/gpiolib.c 	unsigned int count = 0;
count            4386 drivers/gpio/gpiolib.c 			count++;
count            4388 drivers/gpio/gpiolib.c 	if (!count)
count            4391 drivers/gpio/gpiolib.c 	return count;
count            4402 drivers/gpio/gpiolib.c 	int count = -ENOENT;
count            4405 drivers/gpio/gpiolib.c 		count = of_gpio_get_count(dev, con_id);
count            4407 drivers/gpio/gpiolib.c 		count = acpi_gpio_count(dev, con_id);
count            4409 drivers/gpio/gpiolib.c 	if (count < 0)
count            4410 drivers/gpio/gpiolib.c 		count = platform_gpio_count(dev, con_id);
count            4412 drivers/gpio/gpiolib.c 	return count;
count            4774 drivers/gpio/gpiolib.c 	int count, bitmap_size;
count            4776 drivers/gpio/gpiolib.c 	count = gpiod_count(dev, con_id);
count            4777 drivers/gpio/gpiolib.c 	if (count < 0)
count            4778 drivers/gpio/gpiolib.c 		return ERR_PTR(count);
count            4780 drivers/gpio/gpiolib.c 	descs = kzalloc(struct_size(descs, desc, count), GFP_KERNEL);
count            4784 drivers/gpio/gpiolib.c 	for (descs->ndescs = 0; descs->ndescs < count; ) {
count            4801 drivers/gpio/gpiolib.c 			bitmap_size = BITS_TO_LONGS(chip->ngpio > count ?
count            4802 drivers/gpio/gpiolib.c 						    chip->ngpio : count);
count            4804 drivers/gpio/gpiolib.c 			array = kzalloc(struct_size(descs, desc, count) +
count            4817 drivers/gpio/gpiolib.c 			array_info = (void *)(descs->desc + count);
count            4824 drivers/gpio/gpiolib.c 			array_info->size = count;
count            4827 drivers/gpio/gpiolib.c 				   count - descs->ndescs);
count            4829 drivers/gpio/gpiolib.c 				   count - descs->ndescs);
count             727 drivers/gpu/drm/amd/amdgpu/amdgpu.h 					 uint64_t *count);
count             190 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	u32 count = 0;
count             363 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	count = ACP_SOFT_RESET_DONE_TIME_OUT_VALUE;
count             369 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 		if (--count == 0) {
count             381 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	count = ACP_CLOCK_EN_TIME_OUT_VALUE;
count             387 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 		if (--count == 0) {
count             418 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	u32 count = 0;
count             434 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	count = ACP_SOFT_RESET_DONE_TIME_OUT_VALUE;
count             440 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 		if (--count == 0) {
count             451 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 	count = ACP_CLOCK_EN_TIME_OUT_VALUE;
count             457 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c 		if (--count == 0) {
count              92 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif_arg.count = 2;
count             376 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	int count = 0;
count             385 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		count = -EINVAL;
count             394 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	count = hweight32(req->pending);
count             398 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	return count;
count             417 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	int count;
count             440 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		count = amdgpu_atif_get_sbios_requests(atif, &req);
count             442 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		if (count <= 0)
count             445 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		DRM_DEBUG_DRIVER("ATIF: %d pending SBIOS requests\n", count);
count             506 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atcs_arg.count = 2;
count            1361 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	u32 count = adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count;
count            1364 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	for (entry_id = 0; entry_id < count; entry_id++) {
count            1370 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 	if (entry_id >= count)
count            1535 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c 					voltage_table->count = gpio->ucGpioEntryNum;
count             129 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h 	u32 count;
count             116 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c 	atpx_arg.count = 2;
count             247 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c 	atrm_arg.count = 2;
count             143 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	unsigned int count;
count             149 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	r = dma_resv_get_fences_rcu(obj, NULL, &count, &fences);
count             153 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	if (count == 0) {
count             155 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	} else if (count == 1) {
count             162 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 		array = dma_fence_array_create(count, fences,
count             175 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	while (count--)
count             176 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 		dma_fence_put(fences[count]);
count             246 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 	amdgpu_table->count = atom_table->ucNumEntries;
count             419 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.phase_shedding_limits_table.count =
count             469 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries;
count             506 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count =
count             561 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count =
count             593 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count =
count             651 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c 			adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count =
count             119 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u32 count;
count             129 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u32 count;
count             146 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u32 count;
count             157 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u32 count;
count             168 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u8 count;
count             179 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h 	u8 count;
count             112 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 	unsigned count;
count             115 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 	r = dma_resv_get_fences_rcu(resv, NULL, &count, &fences);
count             119 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 	if (count == 0) {
count             124 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 	if (count == 1) {
count             131 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c 		array = dma_fence_array_create(count, fences, context,
count             146 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c 	unsigned int count = AMDGPU_IH_MAX_NUM_IVS;
count             164 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c 	while (ih->rptr != wptr && --count) {
count             497 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		uint32_t count = 0;
count             530 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 			    count < AMDGPU_HW_IP_INSTANCE_MAX_COUNT)
count             531 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 				count++;
count             533 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		return copy_to_user(out, &count, min(size, 4u)) ? -EFAULT : 0;
count             644 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		if (info->read_mmr_reg.count > 128)
count             647 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		regs = kmalloc_array(info->read_mmr_reg.count, sizeof(*regs), GFP_KERNEL);
count             650 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		alloc_size = info->read_mmr_reg.count * sizeof(*regs);
count             653 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		for (i = 0; i < info->read_mmr_reg.count; i++) {
count            1111 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 	u32 count;
count            1131 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 			count = amdgpu_display_vblank_get_counter(adev, pipe);
count            1140 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		} while (count != amdgpu_display_vblank_get_counter(adev, pipe));
count            1154 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 				count++;
count            1158 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 		count = amdgpu_display_vblank_get_counter(adev, pipe);
count            1162 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 	return count;
count             182 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				    size_t count)
count             195 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		count = -EINVAL;
count             216 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             316 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 						       size_t count)
count             348 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		count = -EINVAL;
count             359 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 			return count;
count             371 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		return count;
count             386 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 			count = -EINVAL;
count             390 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 			count = -EINVAL;
count             396 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 			count = -EINVAL;
count             403 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             482 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             500 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 			count = -EINVAL;
count             516 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             560 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             567 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		ret = smu_sys_set_pp_table(&adev->smu, (void *)buf, count);
count             571 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		amdgpu_dpm_set_pp_table(adev, buf, count);
count             573 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             645 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             658 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	if (count > 127)
count             674 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	memcpy(buf_cpy, buf, count+1);
count             712 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				return count;
count             719 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             767 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             790 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             858 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c static ssize_t amdgpu_read_mask(const char *buf, size_t count, uint32_t *mask)
count             870 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	bytes = min(count, sizeof(buf_cpy) - 1);
count             891 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             901 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count             913 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             938 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             948 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count             960 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count             981 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count             988 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count            1000 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1021 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1028 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count            1040 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1061 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1068 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count            1080 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1101 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1108 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	ret = amdgpu_read_mask(buf, count, &mask);
count            1120 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1142 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1152 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		count = -EINVAL;
count            1171 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1193 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1203 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		count = -EINVAL;
count            1222 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1264 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            1285 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		if (count < 2 || count > 127)
count            1289 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		memcpy(buf_cpy, buf, count-i);
count            1295 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				count = -EINVAL;
count            1309 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		return count;
count            1617 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 					    size_t count)
count            1641 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1660 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				     const char *buf, size_t count)
count            1696 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1815 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 				     const char *buf, size_t count)
count            1849 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            1873 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 					    size_t count)
count            1905 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count            2046 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		size_t count)
count            2069 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	return count;
count              97 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 	u64 count, prev;
count             105 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 							  &count);
count             108 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 			count = 0;
count             111 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 	} while (local64_cmpxchg(&hwc->prev_count, prev, count) != prev);
count             113 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c 	local64_add(count - prev, &event->count);
count             715 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		struct ras_badpage **bps, unsigned int *count);
count             755 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		char *buf, loff_t ppos, size_t count)
count             763 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	unsigned int end = div64_ul(ppos + count - 1, element_size);
count             768 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	memset(buf, 0, count);
count            1160 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		struct ras_badpage **bps, unsigned int *count)
count            1167 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	if (!con || !con->eh_data || !bps || !count)
count            1172 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	if (!data || data->count == 0) {
count            1177 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	*bps = kmalloc(sizeof(struct ras_badpage) * data->count, GFP_KERNEL);
count            1183 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	for (; i < data->count; i++) {
count            1196 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	*count = data->count;
count            1215 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	unsigned int old_space = data->count + data->space_left;
count            1225 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 				data->count * sizeof(*data->bps));
count            1258 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		data->bps[data->count++].bp = bps[i];
count            1284 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	for (i = data->last_reserved; i < data->count; i++) {
count             360 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h 	int count;
count              93 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count              97 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	for (i = 0; i < count; i++)
count             126 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	uint32_t count;
count             129 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	count = ring->funcs->align_mask + 1 -
count             131 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	count %= ring->funcs->align_mask + 1;
count             132 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	ring->funcs->insert_nop(ring, count);
count             150 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h 	void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count);
count             257 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count);
count             281 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 	unsigned count;
count             316 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 		for (i = 0, count = 0; i < AMDGPU_SA_NUM_FENCE_LISTS; ++i)
count             318 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 				fences[count++] = dma_fence_get(fences[i]);
count             320 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 		if (count) {
count             322 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 			t = dma_fence_wait_any_timeout(fences, count, false,
count             325 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c 			for (i = 0; i < count; ++i)
count             325 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 	    TP_PROTO(uint64_t pe, uint64_t addr, unsigned count,
count             327 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 	    TP_ARGS(pe, addr, count, incr, flags),
count             331 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 			     __field(u32, count)
count             339 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 			   __entry->count = count;
count             345 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 		      __entry->flags, __entry->count)
count             349 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 	    TP_PROTO(uint64_t pe, uint64_t src, unsigned count),
count             350 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 	    TP_ARGS(pe, src, count),
count             354 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 			     __field(u32, count)
count             360 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 			   __entry->count = count;
count             363 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h 		      __entry->pe, __entry->src, __entry->count)
count            2434 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	unsigned count;
count            2439 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	for (count = 0; count < ARRAY_SIZE(ttm_debugfs_entries); count++) {
count            2441 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				ttm_debugfs_entries[count].name,
count            2444 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				ttm_debugfs_entries[count].fops);
count            2447 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		if (ttm_debugfs_entries[count].domain == TTM_PL_VRAM)
count            2449 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		else if (ttm_debugfs_entries[count].domain == TTM_PL_TT)
count            2451 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		adev->mman.debugfs_entries[count] = ent;
count            2454 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	count = ARRAY_SIZE(amdgpu_ttm_debugfs_list);
count            2458 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		--count;
count            2461 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	return amdgpu_debugfs_add_files(adev, amdgpu_ttm_debugfs_list, count);
count              89 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 	unsigned reg, count;
count             897 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 	for (i = 0; i <= ctx->count; ++i) {
count             949 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c 			ctx->count = CP_PACKET_GET_COUNT(cmd);
count             329 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 	unsigned i, count = 0;
count             332 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 		count += amdgpu_fence_count_emitted(&adev->vce.ring[i]);
count             334 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c 	if (count == 0) {
count            1285 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 				   unsigned count, uint32_t incr,
count            1301 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 	params->vm->update_funcs->update(params, bo, pe, addr, count, incr,
count            1625 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			uint64_t count;
count            1627 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			for (count = 1;
count            1628 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			     count < max_entries / AMDGPU_GPU_PAGES_IN_CPU_PAGE;
count            1629 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			     ++count) {
count            1630 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 				uint64_t idx = pfn + count;
count            1637 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			if (count < min_linear_pages) {
count            1642 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 				max_entries = count * AMDGPU_GPU_PAGES_IN_CPU_PAGE;
count             162 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h 			 unsigned count);
count             166 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h 			  uint64_t value, unsigned count,
count             171 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h 			    uint64_t addr, unsigned count,
count             225 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h 		      unsigned count, uint32_t incr, uint64_t flags);
count             336 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h #define amdgpu_vm_copy_pte(adev, ib, pe, src, count) ((adev)->vm_manager.vm_pte_funcs->copy_pte((ib), (pe), (src), (count)))
count             337 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h #define amdgpu_vm_write_pte(adev, ib, pe, value, count, incr) ((adev)->vm_manager.vm_pte_funcs->write_pte((ib), (pe), (value), (count), (incr)))
count             338 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h #define amdgpu_vm_set_pte_pde(adev, ib, pe, addr, count, incr, flags) ((adev)->vm_manager.vm_pte_funcs->set_pte_pde((ib), (pe), (addr), (count), (incr), (flags)))
count              84 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c 				uint64_t addr, unsigned count, uint32_t incr,
count              92 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c 	trace_amdgpu_vm_set_ptes(pe, addr, count, incr, flags);
count              94 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c 	for (i = 0; i < count; i++) {
count             136 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				     unsigned count)
count             144 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 	trace_amdgpu_vm_copy_ptes(pe, src, count);
count             146 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 	amdgpu_vm_copy_pte(p->adev, ib, pe, src, count);
count             165 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				    uint64_t addr, unsigned count,
count             171 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 	trace_amdgpu_vm_set_ptes(pe, addr, count, incr, flags);
count             172 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 	if (count < 3) {
count             174 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				    count, incr);
count             177 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				      count, incr, flags);
count             197 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				 uint64_t addr, unsigned count, uint32_t incr,
count             216 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 				ndw += count * 2;
count             231 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 							count, incr, flags);
count             232 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 			amdgpu_vm_sdma_set_ptes(p, bo, pe, addr, count,
count             244 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 		nptes = min(count, ndw / 2);
count             259 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 		count -= nptes;
count             260 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c 	} while (count);
count             333 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	int count = 0, ret = 0;
count             370 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 		top_info->nodes[count++].node_id = entry->node_id;
count             371 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	top_info->num_nodes = count;
count             372 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 	hive->number_devices = count;
count             379 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 				top_info->nodes[count - 1].node_id =
count             381 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 				top_info->num_nodes = count;
count             390 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c 			ret = psp_xgmi_get_topology_info(&tmp_adev->psp, count,
count             657 drivers/gpu/drm/amd/amdgpu/atom.c 	unsigned count = U8((*ptr)++);
count             658 drivers/gpu/drm/amd/amdgpu/atom.c 	SDEBUG("   count: %d\n", count);
count             660 drivers/gpu/drm/amd/amdgpu/atom.c 		udelay(count);
count             662 drivers/gpu/drm/amd/amdgpu/atom.c 		mdelay(count);
count             664 drivers/gpu/drm/amd/amdgpu/atom.c 		msleep(count);
count             201 drivers/gpu/drm/amd/amdgpu/cik_sdma.c static void cik_sdma_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             206 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	for (i = 0; i < count; i++)
count             209 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 					  SDMA_NOP_COUNT(count - 1));
count             730 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 				 unsigned count)
count             732 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	unsigned bytes = count * 8;
count             756 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 				  uint64_t value, unsigned count,
count             759 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	unsigned ndw = count * 2;
count             786 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 				    uint64_t addr, unsigned count,
count             799 drivers/gpu/drm/amd/amdgpu/cik_sdma.c 	ib->ptr[ib->length_dw++] = count; /* number of entries */
count             193 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	int i, count;
count             197 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	count = 0;
count             201 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 			count++;
count             204 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	return snprintf(buf, PAGE_SIZE,	"%i\n", count);
count             512 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 				  uint64_t *count)
count             515 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	*count = 0;
count             529 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 		*count  = ((hi_val | 0ULL) << 32) | (lo_val | 0ULL);
count             531 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 		if (*count >= DF_V3_6_PERFMON_OVERFLOW)
count             532 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 			*count = 0;
count             888 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	u32 count = 0;
count             893 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	count += 2;
count             895 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	count += 3;
count             900 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 				count += 2 + ext->reg_count;
count             907 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	count += 3;
count             909 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	count += 2;
count             911 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	count += 2;
count             913 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	return count;
count             919 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	u32 count = 0, i;
count             929 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count             930 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count             932 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count             933 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count             934 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count             939 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 				buffer[count++] =
count             941 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 				buffer[count++] = cpu_to_le32(ext->reg_index -
count             944 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count             953 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1));
count             954 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(ctx_reg_offset);
count             955 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(adev->gfx.config.pa_sc_tile_steering_override);
count             957 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count             958 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count             960 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count             961 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	buffer[count++] = cpu_to_le32(0);
count            2848 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	u32 count = 0;
count            2856 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	count += 2;
count            2858 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	count += 3;
count            2863 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 				count += 2 + ext->reg_count;
count            2869 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	count += 3;
count            2871 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	count += 2;
count            2873 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	count += 2;
count            2875 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	return count;
count            2881 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	u32 count = 0, i;
count            2890 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            2891 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            2892 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            2893 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            2894 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            2899 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 				buffer[count++] =
count            2901 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 				buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000);
count            2903 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            2910 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1));
count            2911 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START);
count            2912 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config);
count            2914 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            2915 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            2917 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            2918 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	buffer[count++] = cpu_to_le32(0);
count            3938 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	u32 count = 0;
count            3946 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	count += 2;
count            3948 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	count += 3;
count            3953 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 				count += 2 + ext->reg_count;
count            3959 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	count += 4;
count            3961 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	count += 2;
count            3963 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	count += 2;
count            3965 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	return count;
count            3971 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	u32 count = 0, i;
count            3980 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            3981 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            3983 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            3984 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            3985 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            3990 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 				buffer[count++] =
count            3992 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 				buffer[count++] = cpu_to_le32(ext->reg_index - PACKET3_SET_CONTEXT_REG_START);
count            3994 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            4001 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2));
count            4002 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START);
count            4005 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x16000012);
count            4006 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            4009 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
count            4010 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            4014 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
count            4015 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            4018 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x3a00161a);
count            4019 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x0000002e);
count            4022 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            4023 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            4027 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            4028 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            4030 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            4031 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	buffer[count++] = cpu_to_le32(0);
count            1245 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	u32 count = 0, i;
count            1254 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            1255 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            1257 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            1258 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            1259 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            1264 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 				buffer[count++] =
count            1266 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 				buffer[count++] = cpu_to_le32(ext->reg_index -
count            1269 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            1276 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2));
count            1277 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(mmPA_SC_RASTER_CONFIG -
count            1279 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config);
count            1280 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(adev->gfx.config.rb_config[0][0].raster_config_1);
count            1282 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            1283 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            1285 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            1286 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	buffer[count++] = cpu_to_le32(0);
count            4167 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	u32 count = 0;
count            4172 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	count += 2;
count            4174 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	count += 3;
count            4179 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 				count += 2 + ext->reg_count;
count            4185 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	count += 4;
count            4187 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	count += 2;
count            4189 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	count += 2;
count            4191 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	return count;
count            1421 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	u32 count = 0;
count            1426 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	count += 2;
count            1428 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	count += 3;
count            1433 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 				count += 2 + ext->reg_count;
count            1440 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	count += 2;
count            1442 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	count += 2;
count            1444 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	return count;
count            1450 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	u32 count = 0, i;
count            1459 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            1460 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            1462 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            1463 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            1464 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            1469 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 				buffer[count++] =
count            1471 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 				buffer[count++] = cpu_to_le32(ext->reg_index -
count            1474 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            1481 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            1482 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            1484 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            1485 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	buffer[count++] = cpu_to_le32(0);
count              79 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (vddc_sclk_table && vddc_sclk_table->count) {
count              80 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		if (vid_2bit < vddc_sclk_table->count)
count              83 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 			return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v;
count             101 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (vddc_sclk_table && vddc_sclk_table->count) {
count             102 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < vddc_sclk_table->count; i++) {
count             106 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		return vddc_sclk_table->count - 1;
count             389 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	u32 i, count, data;
count             393 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		count = values->signal_id;
count             394 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < count; i++) {
count             805 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count             910 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table == NULL || table->count == 0)
count             914 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count             981 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table == NULL || table->count == 0)
count             985 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1044 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table == NULL || table->count == 0)
count            1048 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1110 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table == NULL || table->count == 0)
count            1114 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1166 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count            1502 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		if (table->count)
count            1503 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 			pi->uvd_boot_level = table->count - 1;
count            1535 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1554 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 			pi->vce_boot_level = table->count - 1;
count            1588 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 			pi->samu_boot_level = table->count - 1;
count            1616 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1621 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (i >= table->count)
count            1622 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		i = table->count - 1;
count            1652 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 			pi->acp_boot_level = table->count - 1;
count            1780 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count            2063 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (uvd_table->count) {
count            2064 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < uvd_table->count; i++)
count            2070 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (vce_table->count) {
count            2071 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < vce_table->count; i++)
count            2077 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (samu_table->count) {
count            2078 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < samu_table->count; i++)
count            2084 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (acp_table->count) {
count            2085 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < acp_table->count; i++)
count            2177 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count            2178 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = table->count - 1; i >= 0; i--) {
count            2234 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = table->count - 1; i >= 0; i--) {
count            2259 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count            2421 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 	if (table && table->count) {
count            2425 drivers/gpu/drm/amd/amdgpu/kv_dpm.c 		for (i = 0; i < table->count; i++) {
count             126 drivers/gpu/drm/amd/amdgpu/kv_smc.c 	u32 data, original_data, addr, extra_shift, t_byte, count, mask;
count             146 drivers/gpu/drm/amd/amdgpu/kv_smc.c 		count = 4;
count             147 drivers/gpu/drm/amd/amdgpu/kv_smc.c 		while (count > 0) {
count             159 drivers/gpu/drm/amd/amdgpu/kv_smc.c 			count--;
count             229 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c static void sdma_v2_4_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             234 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	for (i = 0; i < count; i++)
count             237 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 				SDMA_PKT_NOP_HEADER_COUNT(count - 1));
count             669 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 				  unsigned count)
count             671 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	unsigned bytes = count * 8;
count             695 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 				   uint64_t value, unsigned count,
count             698 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	unsigned ndw = count * 2;
count             725 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 				     uint64_t addr, unsigned count,
count             738 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c 	ib->ptr[ib->length_dw++] = count; /* number of entries */
count             403 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c static void sdma_v3_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             408 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	for (i = 0; i < count; i++)
count             411 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 				SDMA_PKT_NOP_HEADER_COUNT(count - 1));
count             940 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 				  unsigned count)
count             942 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	unsigned bytes = count * 8;
count             966 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 				   uint64_t value, unsigned count,
count             969 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	unsigned ndw = count * 2;
count             996 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 				     uint64_t addr, unsigned count,
count            1009 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c 	ib->ptr[ib->length_dw++] = count; /* number of entries */
count             672 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c static void sdma_v4_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             677 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	for (i = 0; i < count; i++)
count             680 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 				SDMA_PKT_NOP_HEADER_COUNT(count - 1));
count            1495 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 				  unsigned count)
count            1497 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	unsigned bytes = count * 8;
count            1523 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 				   uint64_t value, unsigned count,
count            1526 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	unsigned ndw = count * 2;
count            1554 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 				     uint64_t addr, unsigned count,
count            1567 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 	ib->ptr[ib->length_dw++] = count - 1; /* number of entries */
count             356 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c static void sdma_v5_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             361 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	for (i = 0; i < count; i++)
count             364 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 				SDMA_PKT_NOP_HEADER_COUNT(count - 1));
count            1032 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 				  unsigned count)
count            1034 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	unsigned bytes = count * 8;
count            1060 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 				   uint64_t value, unsigned count,
count            1063 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	unsigned ndw = count * 2;
count            1091 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 				     uint64_t addr, unsigned count,
count            1104 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 	ib->ptr[ib->length_dw++] = count - 1; /* number of entries */
count             316 drivers/gpu/drm/amd/amdgpu/si_dma.c 			       unsigned count)
count             318 drivers/gpu/drm/amd/amdgpu/si_dma.c 	unsigned bytes = count * 8;
count             340 drivers/gpu/drm/amd/amdgpu/si_dma.c 				uint64_t value, unsigned count,
count             343 drivers/gpu/drm/amd/amdgpu/si_dma.c 	unsigned ndw = count * 2;
count             369 drivers/gpu/drm/amd/amdgpu/si_dma.c 				     uint64_t addr, unsigned count,
count             375 drivers/gpu/drm/amd/amdgpu/si_dma.c 	while (count) {
count             376 drivers/gpu/drm/amd/amdgpu/si_dma.c 		ndw = count * 2;
count             397 drivers/gpu/drm/amd/amdgpu/si_dma.c 		count -= ndw / 2;
count            2647 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            3024 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < si_pi->leakage_voltage.count; i++){
count            3029 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (si_pi->leakage_voltage.count && (highest_leakage < vce_voltage))
count            3044 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	    (table && (table->count == 0))) {
count            3049 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            3060 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		*voltage = table->entries[table->count - 1].v;
count            3212 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < table->count; i++)
count            3216 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	return table->entries[table->count - 1].value;
count            3224 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if ((clocks == NULL) || (clocks->count == 0))
count            3227 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < clocks->count; i++) {
count            3232 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	return (clocks->values[clocks->count - 1] < max_clock) ?
count            3233 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		clocks->values[clocks->count - 1] : max_clock;
count            3255 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if ((table == NULL) || (table->count == 0)) {
count            3260 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            3272 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if ((table == NULL) || (table->count == 0))
count            3275 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i= 0; i < table->count; i++) {
count            3695 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	u16 vddc, count = 0;
count            3702 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			si_pi->leakage_voltage.entries[count].voltage = vddc;
count            3703 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			si_pi->leakage_voltage.entries[count].leakage_index =
count            3705 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			count++;
count            3708 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	si_pi->leakage_voltage.count = count;
count            3729 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < si_pi->leakage_voltage.count; i++) {
count            4373 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (table->count != num_levels)
count            4376 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (limits->count != (num_levels - 1))
count            4388 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (voltage_table->count <= max_voltage_steps)
count            4391 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	diff = voltage_table->count - max_voltage_steps;
count            4396 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	voltage_table->count = max_voltage_steps;
count            4411 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	voltage_table->count = voltage_dependency_table->count;
count            4412 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < voltage_table->count; i++) {
count            4433 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            4453 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            4475 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (si_pi->mvdd_voltage_table.count == 0) {
count            4480 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            4492 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if ((si_pi->vddc_phase_shed_table.count == 0) ||
count            4493 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		    (si_pi->vddc_phase_shed_table.count > SISLANDS_MAX_NO_VREG_STEPS))
count            4506 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < voltage_table->count; i++)
count            4526 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (eg_pi->vddc_voltage_table.count) {
count            4531 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) {
count            4539 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (eg_pi->vddci_voltage_table.count) {
count            4547 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		if (si_pi->mvdd_voltage_table.count) {
count            4579 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            4587 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (i >= table->count)
count            4603 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1;
count            4623 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			for (v_index = 0; (u32)v_index < adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            4627 drivers/gpu/drm/amd/amdgpu/si_dpm.c 					if ((u32)v_index < adev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4632 drivers/gpu/drm/amd/amdgpu/si_dpm.c 							adev->pm.dpm.dyn_state.cac_leakage_table.entries[adev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc;
count            4638 drivers/gpu/drm/amd/amdgpu/si_dpm.c 				for (v_index = 0; (u32)v_index < adev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            4642 drivers/gpu/drm/amd/amdgpu/si_dpm.c 						if ((u32)v_index < adev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4647 drivers/gpu/drm/amd/amdgpu/si_dpm.c 								adev->pm.dpm.dyn_state.cac_leakage_table.entries[adev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc;
count            4653 drivers/gpu/drm/amd/amdgpu/si_dpm.c 			if ((u32)voltage->index < adev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4678 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < limits->count; i++) {
count            5622 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	for (i = 0; i < adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count; i++) {
count            6330 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		for (i = 0; i < table->count; i++) {
count            6345 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		for (j = (table->count - 2); j >= 0; j--) {
count            7358 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	adev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4;
count            7451 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	adev->pm.dpm.dyn_state.valid_sclk_values.count = 0;
count            7453 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	adev->pm.dpm.dyn_state.valid_mclk_values.count = 0;
count             944 drivers/gpu/drm/amd/amdgpu/si_dpm.h 	u16 count;
count             522 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c static void uvd_v4_2_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             526 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c 	WARN_ON(ring->wptr % 2 || count % 2);
count             528 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c 	for (i = 0; i < count / 2; i++) {
count             540 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c static void uvd_v5_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count             544 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count             546 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c 	for (i = 0; i < count / 2; i++) {
count            1074 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c static void uvd_v6_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count            1078 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            1080 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c 	for (i = 0; i < count / 2; i++) {
count            1385 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c static void uvd_v7_0_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count            1390 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            1392 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c 	for (i = 0; i < count / 2; i++) {
count            2000 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static void vcn_v1_0_jpeg_ring_nop(struct amdgpu_ring *ring, uint32_t count)
count            2004 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            2006 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	for (i = 0; i < count / 2; i++) {
count            2139 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static void vcn_v1_0_dec_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count            2144 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            2146 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	for (i = 0; i < count / 2; i++) {
count            1522 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c void vcn_v2_0_dec_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count)
count            1527 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            1529 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 	for (i = 0; i < count / 2; i++) {
count            2047 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c void vcn_v2_0_jpeg_ring_nop(struct amdgpu_ring *ring, uint32_t count)
count            2051 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 	WARN_ON(ring->wptr % 2 || count % 2);
count            2053 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 	for (i = 0; i < count / 2; i++) {
count              29 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h extern void vcn_v2_0_dec_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count);
count              63 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h extern void vcn_v2_0_jpeg_ring_nop(struct amdgpu_ring *ring, uint32_t count);
count              87 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c 	ib_packet->header.count = 3;
count             128 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c 	rm_packet->header.count = sizeof(struct pm4__release_mem) / 4 - 2;
count             379 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c 	packets_vec[0].header.count = 1;
count             649 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c 	packets_vec[0].header.count = 1;
count             658 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c 	packets_vec[1].header.count = 1;
count             769 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	int ret, count;
count             779 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	count = atomic_dec_return(&kfd_locked);
count             807 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	int ret, count;
count             816 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	count = atomic_dec_return(&kfd_locked);
count             817 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	WARN_ONCE(count < 0, "KFD suspend / resume ref. error");
count             818 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	if (count == 0)
count            1160 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	int count = atomic_dec_return(&kfd->compute_profile);
count            1162 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	if (count == 0)
count            1164 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	WARN_ONCE(count < 0, "Compute profile ref. count error");
count            1864 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	uint32_t i, count;
count            1866 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	for (i = 0, count = 0; i < n_regs; i++) {
count            1867 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 		if (count == 0 ||
count            1872 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 			count = 7;
count            1875 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 			count--;
count             114 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	int count;
count             116 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	count = kfifo_in(&kfd->ih_fifo, ih_ring_entry,
count             118 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	if (count != kfd->device_info->ih_ring_entry_size) {
count             121 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 			count);
count             133 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	int count;
count             135 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	count = kfifo_out(&kfd->ih_fifo, ih_ring_entry,
count             138 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	WARN_ON(count && count != kfd->device_info->ih_ring_entry_size);
count             140 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c 	return count == kfd->device_info->ih_ring_entry_size;
count              76 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c 	header.count = packet_size / 4 - 2;
count              36 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h 		uint32_t count:14;
count              33 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h 		uint32_t count     : 14;/* < number of DWORDs - 1 in the
count              33 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h 		uint32_t count     : 14;/* < Number of DWORDS - 1 in the
count            2449 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			      size_t count)
count            2466 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	return ret == 0 ? count : 0;
count              78 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c 						  size_t *count)
count              80 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c 	*count = ARRAY_SIZE(pipe_crc_sources);
count              58 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h 						  size_t *count);
count             257 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	if (pp_clks->count > DM_PP_MAX_CLOCK_LEVELS) {
count             260 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 				pp_clks->count,
count             265 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 		dc_clks->num_levels = pp_clks->count;
count             612 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c void pp_rv_set_active_display_count(struct pp_smu *pp, int count)
count             622 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	pp_funcs->set_active_display_count(pp_handle, count);
count             741 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c enum pp_smu_status pp_nv_set_display_count(struct pp_smu *pp, int count)
count             751 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c 	if (smu_set_display_count(smu, count))
count              50 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count = 0;
count              58 drivers/gpu/drm/amd/display/dc/basics/vector.c 	uint32_t count,
count              66 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (!struct_size || !count) {
count              72 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->container = kcalloc(count, struct_size, GFP_KERNEL);
count              81 drivers/gpu/drm/amd/display/dc/basics/vector.c 		for (i = 0; i < count; ++i)
count              88 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->capacity = count;
count              90 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count = count;
count             136 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count = 0;
count             153 drivers/gpu/drm/amd/display/dc/basics/vector.c 	return vector->count;
count             160 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (vector->container == NULL || index >= vector->count)
count             169 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (index >= vector->count)
count             172 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (index != vector->count - 1)
count             176 drivers/gpu/drm/amd/display/dc/basics/vector.c 			(vector->count - index - 1) * vector->struct_size);
count             177 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count -= 1;
count             212 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (vector->count == vector->capacity) {
count             221 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (vector->count && position < vector->count)
count             225 drivers/gpu/drm/amd/display/dc/basics/vector.c 			vector->struct_size * (vector->count - position));
count             232 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count++;
count             241 drivers/gpu/drm/amd/display/dc/basics/vector.c 	return dal_vector_insert_at(vector, item, vector->count);
count             248 drivers/gpu/drm/amd/display/dc/basics/vector.c 	uint32_t count;
count             251 drivers/gpu/drm/amd/display/dc/basics/vector.c 	count = dal_vector_get_count(vector);
count             253 drivers/gpu/drm/amd/display/dc/basics/vector.c 	if (count == 0)
count             266 drivers/gpu/drm/amd/display/dc/basics/vector.c 		vec_cloned = dal_vector_presized_create(vector->ctx, count,
count             308 drivers/gpu/drm/amd/display/dc/basics/vector.c 	vector->count = 0;
count            1785 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	uint32_t count = 0;
count            1802 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	count = (le16_to_cpu(header->sHeader.usStructureSize)
count            1805 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	for (i = 0; i < count; ++i) {
count            1832 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	uint32_t count = 0;
count            1853 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	count = (le16_to_cpu(header->sHeader.usStructureSize)
count            1856 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c 	if (count < record->sucI2cId.bfI2C_LineMux)
count             161 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	unsigned int count = 0;
count             166 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 			count++;
count             168 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	return count;
count             342 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	uint32_t count = 0;
count             367 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	count = (le16_to_cpu(header->table_header.structuresize)
count             373 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	if (count < table_index) {
count             376 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 		for (table_index = 0; table_index < count; table_index++) {
count             498 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	uint32_t count = 0;
count             529 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 		count = 6;
count             533 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	count = (le16_to_cpu(header->table_header.structuresize)
count             537 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c 	for (i = 0; i < count; ++i) {
count             129 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c static struct i2c_payloads *dal_ddc_i2c_payloads_create(struct dc_context *ctx, uint32_t count)
count             139 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c 		&payloads->payloads, ctx, count, sizeof(struct i2c_payload)))
count             154 drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c 	return p->payloads.count;
count              74 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	unsigned int count = 0;
count              85 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	for (count = 0; count < bytes; count++)
count              86 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 		REG_WRITE(DMCU_IRAM_WR_DATA, src[count]);
count             442 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	unsigned int count = 0;
count             457 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 	for (count = 0; count < bytes; count++)
count             458 drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 		REG_WRITE(DMCU_IRAM_WR_DATA, src[count]);
count             311 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c 		bool count)
count             319 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c 	REG_UPDATE(FMT_422_CONTROL, FMT_LEFT_EDGE_EXTRA_PIXEL_COUNT, count);
count             156 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h 		bool count);
count             109 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	void (*set_display_count)(struct pp_smu *pp, int count);
count             180 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h 	enum pp_smu_status (*set_display_count)(struct pp_smu *pp, int count);
count             325 drivers/gpu/drm/amd/display/dc/inc/hw/opp.h 			bool count);
count              32 drivers/gpu/drm/amd/display/include/vector.h 	uint32_t count;
count             164 drivers/gpu/drm/amd/include/dm_pp_interface.h 	uint32_t count;
count             305 drivers/gpu/drm/amd/include/kgd_pp_interface.h 	int (*set_active_display_count)(void *handle, uint32_t count);
count            1405 drivers/gpu/drm/amd/powerplay/amd_powerplay.c static int pp_set_active_display_count(void *handle, uint32_t count)
count            1414 drivers/gpu/drm/amd/powerplay/amd_powerplay.c 	ret = phm_set_active_display_count(hwmgr, count);
count              66 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	uint32_t count = 0;
count              87 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 			       count++,
count            1762 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int smu_set_display_count(struct smu_context *smu, uint32_t count)
count            1767 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 	ret = smu_init_display_count(smu, count);
count             375 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	single_dpm_table->count = num_of_levels;
count             423 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		single_dpm_table->count = 1;
count             438 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		single_dpm_table->count = 1;
count             453 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		single_dpm_table->count = 1;
count             468 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		single_dpm_table->count = 1;
count             550 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (gfx_table->count > ARCTURUS_UMD_PSTATE_GFXCLK_LEVEL &&
count             551 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	    mem_table->count > ARCTURUS_UMD_PSTATE_MCLK_LEVEL) {
count             566 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	int i, count;
count             568 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count             569 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	clocks->num_levels = count;
count             571 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	for (i = 0; i < count; i++) {
count             679 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		for (i = 0; i < single_dpm_table->count; i++)
count             770 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count             772 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count             797 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count             799 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count             824 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count             826 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count             851 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count             853 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count            1149 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	for (i = 0; i < table->count; i++) {
count            1153 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (i >= table->count) {
count            1165 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (table->count <= 0) {
count            1169 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (table->count > MAX_DPM_NUMBER) {
count            1174 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	for (i = table->count - 1; i >= 0; i--) {
count            1312 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (gfx_dpm_table->count > ARCTURUS_UMD_PSTATE_GFXCLK_LEVEL &&
count            1313 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	    mem_dpm_table->count > ARCTURUS_UMD_PSTATE_MCLK_LEVEL &&
count            1314 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	    soc_dpm_table->count > ARCTURUS_UMD_PSTATE_SOCCLK_LEVEL) {
count            1325 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		*sclk_mask = gfx_dpm_table->count - 1;
count            1326 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		*mclk_mask = mem_dpm_table->count - 1;
count            1327 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 		*soc_mask  = soc_dpm_table->count - 1;
count              47 drivers/gpu/drm/amd/powerplay/arcturus_ppt.h         uint32_t                count;
count              53 drivers/gpu/drm/amd/powerplay/arcturus_ppt.h         uint16_t count;
count             491 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c int phm_set_active_display_count(struct pp_hwmgr *hwmgr, uint32_t count)
count             498 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c 	return hwmgr->hwmgr_func->set_active_display_count(hwmgr, count);
count              50 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h 	uint32_t count;                                            /* Number of entries. */
count              73 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h 	uint32_t count;													/* Number of entries. */
count              88 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h 	uint32_t count;
count             105 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h 	uint32_t count;                                            /* Number of entries. */
count             561 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c 	voltage_table->count      =
count            1130 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c 	for (entry_id = 0; entry_id < hwmgr->dyn_state.vddc_dependency_on_sclk->count; entry_id++) {
count            1137 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c 	if (entry_id >= hwmgr->dyn_state.vddc_dependency_on_sclk->count) {
count             208 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h 	uint32_t count;
count             116 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c 	voltage_table->count = 0;
count             134 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c 			voltage_table->count =
count              44 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h 	uint32_t count;
count             176 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	table->count = vddc_lookup_pp_tables->ucNumEntries;
count             325 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	PP_ASSERT_WITH_CODE((0 != clk_volt_pp_table->count),
count             329 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		sizeof(uint32_t) * clk_volt_pp_table->count;
count             336 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	table->count = (uint32_t)clk_volt_pp_table->count;
count             338 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	for (i = 0; i < table->count; i++) {
count             389 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	mclk_table->count = (uint32_t)mclk_dep_table->ucNumEntries;
count             436 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		sclk_table->count = (uint32_t)tonga_table->ucNumEntries;
count             468 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		sclk_table->count = (uint32_t)polaris_table->ucNumEntries;
count             522 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		pcie_count = (pp_table_information->vdd_dep_on_sclk->count) + 1;
count             528 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		pcie_table->count = pcie_count;
count             561 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		pcie_count = (pp_table_information->vdd_dep_on_sclk->count) + 1;
count             567 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		pcie_table->count = pcie_count;
count             708 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	mm_table->count = mm_dependency_table->ucNumEntries;
count             745 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 	if (pp_table_information->vdd_dep_on_sclk->count <
count             834 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		&& (0 != pp_table_information->vdd_dep_on_mclk->count))
count             839 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c 		&& (0 != pp_table_information->vdd_dep_on_sclk->count))
count             391 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	dep_table->count = (unsigned long)table->ucNumEntries;
count             393 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	for (i = 0; i < dep_table->count; i++) {
count             413 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	table_size = sizeof(unsigned long) + sizeof(unsigned long) * table->count;
count             418 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	clock_table->count = (unsigned long)table->count;
count             420 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	for (i = 0; i < clock_table->count; i++)
count            1123 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	uvd_table->count = table->numEntries;
count            1156 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	vce_table->count = table->numEntries;
count            1187 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	samu_table->count = table->numEntries;
count            1215 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	acp_table->count = (unsigned long)table->numEntries;
count            1363 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 			(0 != hwmgr->dyn_state.vddc_dependency_on_mclk->count))
count            1368 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 			(0 != hwmgr->dyn_state.vddc_dependency_on_sclk->count))
count            1413 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	cac_leakage_table->count = (ULONG)table->ucNumEntries;
count            1415 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 	for (i = 0; i < cac_leakage_table->count; i++) {
count            1555 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 			table->count = (unsigned long)ptable->ucNumEntries;
count            1557 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c 			for (i = 0; i < table->count; i++) {
count             148 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	table_clk_vlt->count = 8;
count             250 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c static int smu10_set_active_display_count(struct pp_hwmgr *hwmgr, uint32_t count)
count             254 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	if (smu10_data->num_active_display != count) {
count             255 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 		smu10_data->num_active_display = count;
count             422 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	ptable->count = num_entry;
count             424 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	for (i = 0; i < ptable->count; i++) {
count             723 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 			data->clock_vol_info.vdd_dep_on_fclk->count - 1].clk;
count             862 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 		if (low > mclk_table->count - 1 || high > mclk_table->count - 1)
count             916 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 		for (i = 0; i < mclk_table->count; i++)
count             946 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 			data->clock_vol_info.vdd_dep_on_fclk->count - 1].clk;
count            1024 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	if (pclk_vol_table == NULL || pclk_vol_table->count == 0)
count            1028 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	for (i = 0; i < pclk_vol_table->count; i++) {
count            1078 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	if (pclk_vol_table == NULL || pclk_vol_table->count == 0)
count            1082 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c 	for (i = 0; i < pclk_vol_table->count; i++) {
count             183 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h 	uint32_t  count;
count             194 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.h 	uint32_t count;
count             232 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	voltage_table->count = voltage_dependency_table->count;
count             234 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < voltage_dependency_table->count; i++) {
count             327 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			(data->vddc_voltage_table.count <= tmp),
count             334 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			(data->vddgfx_voltage_table.count <= tmp),
count             341 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			(data->vddci_voltage_table.count <= tmp),
count             348 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			(data->mvdd_voltage_table.count <= tmp),
count             563 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		max_entry = (tmp < pcie_table->count) ? tmp : pcie_table->count;
count             571 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		data->dpm_table.pcie_speed_table.count = max_entry - 1;
count             606 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		data->dpm_table.pcie_speed_table.count = 6;
count             610 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i <= data->dpm_table.pcie_speed_table.count; i++)
count             617 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.pcie_speed_table.count,
count             681 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_vdd_sclk_table->count >= 1,
count             686 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_vdd_mclk_table->count >= 1,
count             691 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->dpm_table.sclk_table.count = 0;
count             693 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < allowed_vdd_sclk_table->count; i++) {
count             694 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (i == 0 || data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count-1].value !=
count             696 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count].value =
count             698 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count].enabled = (i == 0) ? 1 : 0;
count             699 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.count++;
count             706 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->dpm_table.mclk_table.count = 0;
count             707 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < allowed_vdd_mclk_table->count; i++) {
count             708 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (i == 0 || data->dpm_table.mclk_table.dpm_levels[data->dpm_table.mclk_table.count-1].value !=
count             710 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.dpm_levels[data->dpm_table.mclk_table.count].value =
count             712 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.dpm_levels[data->dpm_table.mclk_table.count].enabled = (i == 0) ? 1 : 0;
count             713 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.count++;
count             718 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < allowed_vdd_sclk_table->count; i++) {
count             725 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->dpm_table.vddc_table.count = allowed_vdd_sclk_table->count;
count             730 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < allowed_vdd_mclk_table->count; i++) {
count             734 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		data->dpm_table.vddci_table.count = allowed_vdd_mclk_table->count;
count             744 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < allowed_vdd_mclk_table->count; i++) {
count             748 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		data->dpm_table.mvdd_table.count = allowed_vdd_mclk_table->count;
count             773 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_sclk_table->count >= 1,
count             780 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_mclk_table->count >= 1,
count             785 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->dpm_table.sclk_table.count = 0;
count             786 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dep_sclk_table->count; i++) {
count             787 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (i == 0 || data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count - 1].value !=
count             790 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count].value =
count             793 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.dpm_levels[data->dpm_table.sclk_table.count].enabled =
count             795 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.sclk_table.count++;
count             801 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->dpm_table.mclk_table.count = 0;
count             802 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dep_mclk_table->count; i++) {
count             804 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				[data->dpm_table.mclk_table.count - 1].value !=
count             806 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.dpm_levels[data->dpm_table.mclk_table.count].value =
count             808 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.dpm_levels[data->dpm_table.mclk_table.count].enabled =
count             810 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			data->dpm_table.mclk_table.count++;
count             838 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						data->golden_dpm_table.sclk_table.count;
count             840 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i=0; i<data->golden_dpm_table.sclk_table.count; i++) {
count             850 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						data->golden_dpm_table.mclk_table.count;
count             852 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i=0; i<data->golden_dpm_table.mclk_table.count; i++) {
count             885 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		|| max_vddc < dep_sclk_table->entries[dep_sclk_table->count-1].vddc)
count             886 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		max_vddc = dep_sclk_table->entries[dep_sclk_table->count-1].vddc;
count             906 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < data->dpm_table.sclk_table.count; i++) {
count             914 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < data->dpm_table.mclk_table.count; i++) {
count             925 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count             934 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            1717 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					for (j = 1; j < sclk_table->count; j++) {
count            1733 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						data->vddcgfx_leakage.actual_voltage[data->vddcgfx_leakage.count] = vddgfx;
count            1734 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						data->vddcgfx_leakage.leakage_id[data->vddcgfx_leakage.count] = vv_id;
count            1735 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						data->vddcgfx_leakage.count++;
count            1751 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					for (j = 1; j < sclk_table->count; j++) {
count            1772 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.actual_voltage[data->vddc_leakage.count] = (uint16_t)(vddc);
count            1773 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.leakage_id[data->vddc_leakage.count] = vv_id;
count            1774 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.count++;
count            1796 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (index = 0; index < leakage_table->count; index++) {
count            1823 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < lookup_table->count; i++)
count            1859 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (entry_id = 0; entry_id < sclk_table->count; ++entry_id) {
count            1865 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (entry_id = 0; entry_id < sclk_table->count; ++entry_id) {
count            1872 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (entry_id = 0; entry_id < mclk_table->count; ++entry_id) {
count            1878 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (entry_id = 0; entry_id < mm_table->count; ++entry_id) {
count            1896 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE((0 != look_up_table->count),
count            1900 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE((i >= look_up_table->count),
count            1904 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < look_up_table->count; i++) {
count            1918 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (i == look_up_table->count)
count            1919 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		look_up_table->count++;
count            1936 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (entry_id = 0; entry_id < sclk_table->count; ++entry_id) {
count            1951 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (entry_id = 0; entry_id < mclk_table->count; ++entry_id) {
count            1976 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (entry_id = 0; entry_id < mm_table->count; entry_id++) {
count            1998 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	table_size = lookup_table->count;
count            2000 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(0 != lookup_table->count,
count            2083 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_sclk_vdd_table->count >= 1,
count            2090 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_mclk_vdd_table->count >= 1,
count            2095 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_sclk_vdd_table->entries[allowed_sclk_vdd_table->count - 1].clk;
count            2097 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_mclk_vdd_table->entries[allowed_mclk_vdd_table->count - 1].clk;
count            2099 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_sclk_vdd_table->entries[allowed_sclk_vdd_table->count - 1].vddc;
count            2101 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_mclk_vdd_table->entries[allowed_mclk_vdd_table->count - 1].vddci;
count            2135 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (lookup_table->entries[dep_mclk_table->entries[dep_mclk_table->count-1].vddInd].us_vdd >= 1000)
count            2138 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < lookup_table->count; i++) {
count            2140 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				dep_mclk_table->entries[dep_mclk_table->count-1].vddInd = (uint8_t) i;
count            2248 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (index = 0; index < leakage_table->count; index++) {
count            2269 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2283 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2297 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2312 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2326 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2340 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2354 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++)
count            2388 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < tab->count; i++) {
count            2465 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_sclk_vddc_table->count >= 1,
count            2472 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_mclk_vddc_table->count >= 1,
count            2477 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	data->max_vddc_in_pptable = (uint16_t)allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].v;
count            2480 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].clk;
count            2482 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_mclk_vddc_table->entries[allowed_mclk_vddc_table->count - 1].clk;
count            2484 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].v;
count            2486 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (allowed_mclk_vddci_table != NULL && allowed_mclk_vddci_table->count >= 1) {
count            2488 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		data->max_vddci_in_pptable = (uint16_t)allowed_mclk_vddci_table->entries[allowed_mclk_vddci_table->count - 1].v;
count            2491 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (hwmgr->dyn_state.vddci_dependency_on_mclk != NULL && hwmgr->dyn_state.vddci_dependency_on_mclk->count >= 1)
count            2492 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		hwmgr->dyn_state.max_clock_voltage_on_ac.vddci = hwmgr->dyn_state.vddci_dependency_on_mclk->entries[hwmgr->dyn_state.vddci_dependency_on_mclk->count - 1].v;
count            2520 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.actual_voltage[data->vddc_leakage.count] = vddc;
count            2521 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.leakage_id[data->vddc_leakage.count] = virtual_voltage_id;
count            2522 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddc_leakage.count++;
count            2525 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddci_leakage.actual_voltage[data->vddci_leakage.count] = vddci;
count            2526 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddci_leakage.leakage_id[data->vddci_leakage.count] = virtual_voltage_id;
count            2527 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					data->vddci_leakage.count++;
count            2735 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	int32_t count;
count            2737 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (golden_dpm_table->mclk_table.count < 1)
count            2740 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	percentage = 100 * golden_dpm_table->sclk_table.dpm_levels[golden_dpm_table->sclk_table.count - 1].value /
count            2741 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			golden_dpm_table->mclk_table.dpm_levels[golden_dpm_table->mclk_table.count - 1].value;
count            2743 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (golden_dpm_table->mclk_table.count == 1) {
count            2745 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		tmp_mclk = golden_dpm_table->mclk_table.dpm_levels[golden_dpm_table->mclk_table.count - 1].value;
count            2746 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		*mclk_mask = golden_dpm_table->mclk_table.count - 1;
count            2748 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		tmp_mclk = golden_dpm_table->mclk_table.dpm_levels[golden_dpm_table->mclk_table.count - 2].value;
count            2749 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		*mclk_mask = golden_dpm_table->mclk_table.count - 2;
count            2755 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (count = hwmgr->dyn_state.vddc_dependency_on_sclk->count-1;
count            2756 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			count >= 0; count--) {
count            2757 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			if (tmp_sclk >= hwmgr->dyn_state.vddc_dependency_on_sclk->entries[count].clk) {
count            2758 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				tmp_sclk = hwmgr->dyn_state.vddc_dependency_on_sclk->entries[count].clk;
count            2759 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				*sclk_mask = count;
count            2763 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (count < 0 || level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) {
count            2769 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			*sclk_mask = hwmgr->dyn_state.vddc_dependency_on_sclk->count-1;
count            2774 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (count = table_info->vdd_dep_on_sclk->count-1; count >= 0; count--) {
count            2775 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			if (tmp_sclk >= table_info->vdd_dep_on_sclk->entries[count].clk) {
count            2776 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				tmp_sclk = table_info->vdd_dep_on_sclk->entries[count].clk;
count            2777 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				*sclk_mask = count;
count            2781 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (count < 0 || level == AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK) {
count            2787 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			*sclk_mask = table_info->vdd_dep_on_sclk->count - 1;
count            2793 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		*mclk_mask = golden_dpm_table->mclk_table.count - 1;
count            2795 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	*pcie_mask = data->dpm_table.pcie_speed_table.count - 1;
count            2900 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	int32_t count;
count            2932 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (count = table_info->vdd_dep_on_sclk->count - 1;
count            2933 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				count >= 0; count--) {
count            2935 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					table_info->vdd_dep_on_sclk->entries[count].clk) {
count            2937 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 						table_info->vdd_dep_on_sclk->entries[count].clk;
count            2942 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		if (count < 0)
count            3238 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (dep_mclk_table != NULL && dep_mclk_table->count == 1) {
count            3386 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (dep_mclk_table != NULL && dep_mclk_table->count == 1) {
count            3608 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            3613 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (i >= sclk_table->count) {
count            3628 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < mclk_table->count; i++) {
count            3633 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	if (i >= mclk_table->count) {
count            3660 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count            3662 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			return (uint16_t) ((i >= dpm_table->pcie_speed_table.count) ?
count            3664 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 					[dpm_table->pcie_speed_table.count - 1].value :
count            3760 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	uint32_t count;
count            3769 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (count = 0; count < dpm_table->sclk_table.count; count++) {
count            3770 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			dpm_table->sclk_table.dpm_levels[count].enabled = odn_sclk_table->entries[count].enabled;
count            3771 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			dpm_table->sclk_table.dpm_levels[count].value = odn_sclk_table->entries[count].clock;
count            3776 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (count = 0; count < dpm_table->mclk_table.count; count++) {
count            3777 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			dpm_table->mclk_table.dpm_levels[count].enabled = odn_mclk_table->entries[count].enabled;
count            3778 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			dpm_table->mclk_table.dpm_levels[count].value = odn_mclk_table->entries[count].clock;
count            3810 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            4459 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < sclk_table->count; i++) {
count            4466 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < sclk_table->count; i++)
count            4475 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < mclk_table->count; i++) {
count            4482 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < mclk_table->count; i++)
count            4489 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < pcie_table->count; i++) {
count            4496 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < pcie_table->count; i++)
count            4572 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	int value = sclk_table->dpm_levels[sclk_table->count - 1].value;
count            4574 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			[golden_sclk_table->count - 1].value;
count            4601 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			golden_sclk_table->dpm_levels[golden_sclk_table->count - 1].value *
count            4603 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			golden_sclk_table->dpm_levels[golden_sclk_table->count - 1].value;
count            4614 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c         int value = mclk_table->dpm_levels[mclk_table->count - 1].value;
count            4616 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			[golden_mclk_table->count - 1].value;
count            4643 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			golden_mclk_table->dpm_levels[golden_mclk_table->count - 1].value *
count            4645 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 			golden_mclk_table->dpm_levels[golden_mclk_table->count - 1].value;
count            4663 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < dep_sclk_table->count; i++)
count            4665 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		clocks->count = dep_sclk_table->count;
count            4668 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < sclk_table->count; i++)
count            4670 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		clocks->count = sclk_table->count;
count            4700 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < dep_mclk_table->count; i++) {
count            4705 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		clocks->count = dep_mclk_table->count;
count            4708 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		for (i = 0; i < mclk_table->count; i++)
count            4710 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 		clocks->count = mclk_table->count;
count            4783 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	clocks->memory_max_clock = mclk_table->count > 1 ?
count            4784 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				mclk_table->dpm_levels[mclk_table->count-1].value :
count            4786 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 	clocks->engine_max_clock = sclk_table->count > 1 ?
count            4787 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c 				sclk_table->dpm_levels[sclk_table->count-1].value :
count              99 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h 	uint32_t		count;
count             140 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h 	uint16_t  count;
count             178 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h 	uint32_t count;
count             960 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c 	uint32_t count, value, value2;
count             974 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c 		for (count = 0; count < num_se; count++) {
count             977 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c 				| (count << SYS_GRBM_GFX_INDEX_DATA__SE_INDEX__SHIFT);
count              78 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < (int)ptable->count; i++) {
count              86 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = ptable->count - 1; i >= 0; i--) {
count             109 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < (int)table->count; i++) {
count             117 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = table->count - 1; i >= 0; i--) {
count             139 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < (int)ptable->count; i++) {
count             147 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = ptable->count - 1; i >= 0; i--) {
count             262 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (dep_table->count > 0) {
count             263 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		table->sclk = dep_table->entries[dep_table->count-1].clk;
count             265 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		   (uint16_t)dep_table->entries[dep_table->count-1].v);
count             285 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	table_clk_vlt->count = 8;
count             463 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	PP_ASSERT_WITH_CODE((vddc_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS),
count             465 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	PP_ASSERT_WITH_CODE((vdd_gfx_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS),
count             467 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	PP_ASSERT_WITH_CODE((acp_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS),
count             469 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	PP_ASSERT_WITH_CODE((uvd_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS),
count             471 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	PP_ASSERT_WITH_CODE((vce_table->count <= SMU8_MAX_HARDWARE_POWERLEVELS),
count             478 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < vddc_table->count) ? (uint8_t)vddc_table->entries[i].v : 0;
count             480 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < vddc_table->count) ? vddc_table->entries[i].clk : 0;
count             491 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < vdd_gfx_table->count) ? (uint8_t)vdd_gfx_table->entries[i].v : 0;
count             495 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < acp_table->count) ? (uint8_t)acp_table->entries[i].v : 0;
count             497 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < acp_table->count) ? acp_table->entries[i].acpclk : 0;
count             509 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < uvd_table->count) ? (uint8_t)uvd_table->entries[i].v : 0;
count             511 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < uvd_table->count) ? uvd_table->entries[i].vclk : 0;
count             521 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < uvd_table->count) ? (uint8_t)uvd_table->entries[i].v : 0;
count             523 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < uvd_table->count) ? uvd_table->entries[i].dclk : 0;
count             534 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < vce_table->count) ? (uint8_t)vce_table->entries[i].v : 0;
count             536 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			(i < vce_table->count) ? vce_table->entries[i].ecclk : 0;
count             559 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (NULL == table || table->count <= 0)
count             567 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count             570 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clock = table->entries[table->count - 1].clk;
count             585 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (NULL == table || table->count <= 0)
count             594 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count             597 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clock = table->entries[table->count - 1].vclk;
count             612 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (NULL == table || table->count <= 0)
count             621 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count             624 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clock = table->entries[table->count - 1].ecclk;
count             639 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (NULL == table || table->count <= 0)
count             648 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count             651 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clock = table->entries[table->count - 1].acpclk;
count             695 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count             698 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		data->sclk_dpm.soft_max_clk  = table->entries[table->count - 1].clk;
count            1148 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (NULL == table || table->count <= 0)
count            1158 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count            1161 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clock = table->entries[table->count - 1].clk;
count            1256 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 				  ptable->entries[ptable->count - 1].ecclk;
count            1484 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	for (i = table->count - 1; i > 0; i--) {
count            1528 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < sclk_table->count; i++)
count            1608 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	clocks->count = smu8_get_max_sclk_level(hwmgr);
count            1611 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < clocks->count; i++)
count            1616 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < clocks->count; i++)
count            1620 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clocks->count = SMU8_NUM_NBPMEMORYCLOCK;
count            1621 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		for (i = 0; i < clocks->count; i++)
count            1622 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 			clocks->clock[i] = data->sys_info.nbp_memory_clock[clocks->count - 1 - i] * 10;
count            1639 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if ((NULL == table) || (table->count <= 0) || (clocks == NULL))
count            1644 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 	if (level < table->count)
count            1647 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 		clocks->engine_max_clock = table->entries[table->count - 1].clk;
count            1851 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c 				   ptable->entries[ptable->count - 1].vclk;
count             222 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < vol_table->count; i++) {
count             226 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 		for (j = 0; j < table->count; j++) {
count             234 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 			table->entries[table->count].value = vvalue;
count             235 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 			table->entries[table->count].smio_low =
count             237 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 			table->count++;
count             253 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != dep_table->count),
count             261 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	vol_table->count = dep_table->count;
count             263 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < dep_table->count; i++) {
count             281 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != dep_table->count),
count             289 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	vol_table->count = dep_table->count;
count             291 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < dep_table->count; i++) {
count             308 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != lookup_table->count),
count             317 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	vol_table->count = lookup_table->count;
count             319 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < vol_table->count; i++) {
count             332 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	if (vol_table->count <= max_vol_steps)
count             335 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	diff = vol_table->count - max_vol_steps;
count             340 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	vol_table->count = max_vol_steps;
count             346 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 				uint32_t count, int max)
count             352 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	dpm_table->count = count > max ? max : count;
count             354 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < dpm_table->count; i++)
count             377 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = dpm_table->count; i > 0; i--) {
count             391 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	uint8_t count = (uint8_t) (lookup_table->count);
count             396 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != count),
count             399 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < lookup_table->count; i++) {
count             411 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	uint8_t count = (uint8_t) (voltage_table->count);
count             416 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != count),
count             419 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < count; i++) {
count             433 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < vddci_table->count; i++) {
count             449 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < dpm_table->count; i++) {
count             468 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE(lookup_table->count != 0, "Lookup table is empty", return -EINVAL);
count             471 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) {
count             477 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	if (entry_id >= table_info->vdd_dep_on_sclk->count) {
count             506 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 		table_clk_vlt->count = 4;
count             543 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	if (!table || table->count <= 0
count             548 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < table->count; i++) {
count             556 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i = 0; i < vddc_table->count; i++) {
count             683 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	PP_ASSERT_WITH_CODE((0 != allowed_dep_table->count),
count             687 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	dep_table->count = allowed_dep_table->count;
count             688 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c 	for (i=0; i<dep_table->count; i++) {
count              80 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern int phm_reset_single_dpm_table(void *table, uint32_t count, int max);
count             324 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < vddc_lookup_table->count; i++)
count             327 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	od_lookup_table->count = vddc_lookup_table->count;
count             340 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc;
count             344 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	i = od_table[2]->count - 1;
count             524 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(lookup_table->count != 0,
count             529 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) {
count             535 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(entry_id < table_info->vdd_dep_on_socclk->count,
count             570 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				for (j = 1; j < socclk_table->count; j++) {
count             591 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				data->vddc_leakage.actual_voltage[data->vddc_leakage.count] = (uint16_t)(vddc/100);
count             592 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				data->vddc_leakage.leakage_id[data->vddc_leakage.count] = vv_id;
count             593 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				data->vddc_leakage.count++;
count             614 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (index = 0; index < leakage_table->count; index++) {
count             641 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < lookup_table->count; i++)
count             681 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (entry_id = 0; entry_id < vdt->count; entry_id++) {
count             688 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (entry_id = 0; entry_id < mm_table->count; ++entry_id) {
count             694 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (entry_id = 0; entry_id < mclk_table->count; ++entry_id) {
count             717 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(lookup_table && lookup_table->count,
count             720 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	table_size = lookup_table->count;
count             779 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_sclk_vdd_table->count >= 1,
count             784 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(allowed_mclk_vdd_table->count >= 1,
count             788 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		allowed_sclk_vdd_table->entries[allowed_sclk_vdd_table->count - 1].clk;
count             790 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		allowed_mclk_vdd_table->entries[allowed_mclk_vdd_table->count - 1].clk;
count             792 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		allowed_sclk_vdd_table->entries[allowed_sclk_vdd_table->count - 1].vddc;
count             794 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		allowed_mclk_vdd_table->entries[allowed_mclk_vdd_table->count - 1].vddci;
count            1024 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < vol_table->count; i++) {
count            1028 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (j = 0; j < table->count; j++) {
count            1036 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			table->entries[table->count].value = vvalue;
count            1037 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			table->entries[table->count].smio_low =
count            1039 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			table->count++;
count            1055 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_table->count,
count            1061 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vol_table->count = dep_table->count;
count            1063 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < vol_table->count; i++) {
count            1082 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_table->count,
count            1088 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vol_table->count = dep_table->count;
count            1090 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            1108 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_table->count,
count            1114 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vol_table->count = dep_table->count;
count            1116 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < vol_table->count; i++) {
count            1136 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (vol_table->count <= max_vol_steps)
count            1139 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	diff = vol_table->count - max_vol_steps;
count            1144 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	vol_table->count = max_vol_steps;
count            1189 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 16,
count            1194 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(data->vddci_voltage_table.count <= 16,
count            1199 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(data->mvdd_voltage_table.count <= 16,
count            1229 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	dpm_table->count = 0;
count            1231 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            1232 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (i == 0 || dpm_table->dpm_levels[dpm_table->count - 1].value <=
count            1234 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].value =
count            1236 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].enabled = true;
count            1237 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->count++;
count            1251 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(bios_pcie_table->count,
count            1277 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	pcie_table->count = NUM_LINK_LEVELS;
count            1318 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_soc_table->count >= 1,
count            1325 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_gfx_table->count >= 1,
count            1332 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_mclk_table->count >= 1,
count            1350 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					dpm_table->dpm_levels[dpm_table->count-1].value;
count            1354 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	data->dpm_table.mem_table.count = 0;
count            1361 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					dpm_table->dpm_levels[dpm_table->count-1].value;
count            1364 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	data->dpm_table.eclk_table.count = 0;
count            1366 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_mm_table->count; i++) {
count            1368 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				[dpm_table->count - 1].value <=
count            1370 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].value =
count            1372 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].enabled =
count            1374 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->count++;
count            1379 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	data->dpm_table.vclk_table.count = 0;
count            1380 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	data->dpm_table.dclk_table.count = 0;
count            1382 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_mm_table->count; i++) {
count            1384 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				[dpm_table->count - 1].value <=
count            1386 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].value =
count            1388 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].enabled =
count            1390 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->count++;
count            1396 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_mm_table->count; i++) {
count            1398 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				[dpm_table->count - 1].value <=
count            1400 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].value =
count            1402 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[dpm_table->count].enabled =
count            1404 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->count++;
count            1512 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < pcie_table->count; i++) {
count            1575 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dep_on_sclk->count; i++) {
count            1579 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		PP_ASSERT_WITH_CODE(dep_on_sclk->count > i,
count            1628 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dep_on_soc->count; i++) {
count            1634 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dep_on_soc->count; i++) {
count            1640 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_on_soc->count > i,
count            1670 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            1694 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            1732 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	max_vddc_level = vddc_lookup_table->count;
count            1776 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dep_on_mclk->count; i++) {
count            1780 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		PP_ASSERT_WITH_CODE(dep_on_mclk->count > i,
count            1819 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            1882 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	PP_ASSERT_WITH_CODE(dep_table->count <= NUM_DSPCLK_LEVELS,
count            1886 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            1940 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            1956 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            2026 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < vclk_dpm_table->count; i++) {
count            2044 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dclk_dpm_table->count; i++) {
count            2062 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            2092 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            2175 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			for (i = 0; i < dep_table->count; i++)
count            2468 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            2477 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            3149 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	int32_t count;
count            3195 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (count = table_info->vdd_dep_on_sclk->count - 1;
count            3196 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				count >= 0; count--) {
count            3198 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					table_info->vdd_dep_on_sclk->entries[count].clk) {
count            3200 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 						table_info->vdd_dep_on_sclk->entries[count].clk;
count            3205 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (count < 0)
count            3257 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < data->mclk_latency_table.count; i++) {
count            3298 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            3303 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (i >= sclk_table->count) {
count            3310 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < mclk_table->count; i++) {
count            3315 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (i >= mclk_table->count) {
count            3336 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	int count;
count            3342 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (count = 0; count < dpm_table->gfx_table.count; count++)
count            3343 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->gfx_table.dpm_levels[count].value = odn_clk_table->entries[count].clk;
count            3348 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (count = 0; count < dpm_table->mem_table.count; count++)
count            3349 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->mem_table.dpm_levels[count].value = odn_clk_table->entries[count].clk;
count            3379 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            3396 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            3444 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < table->count; i++) {
count            3457 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (table->count <= MAX_REGULAR_DPM_NUMBER) {
count            3458 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = table->count; i > 0; i--) {
count            3785 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (mclk_idx < dpm_table->mem_table.count) {
count            3894 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	uint8_t count;
count            3897 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (mclk_table == NULL || mclk_table->count == 0)
count            3900 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	count = (uint8_t)(mclk_table->count);
count            3902 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for(i = 0; i < count; i++) {
count            3935 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dpm_table->count; i++) {
count            3940 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (i < dpm_table->count) {
count            4037 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (table_info->vdd_dep_on_sclk->count > VEGA10_UMD_PSTATE_GFXCLK_LEVEL &&
count            4038 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		table_info->vdd_dep_on_socclk->count > VEGA10_UMD_PSTATE_SOCCLK_LEVEL &&
count            4039 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		table_info->vdd_dep_on_mclk->count > VEGA10_UMD_PSTATE_MCLK_LEVEL) {
count            4052 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		*sclk_mask = table_info->vdd_dep_on_sclk->count - 1;
count            4053 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		*soc_mask = table_info->vdd_dep_on_socclk->count - 1;
count            4054 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		*mclk_mask = table_info->vdd_dep_on_mclk->count - 1;
count            4218 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            4239 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            4251 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	clocks->num_levels = data->mclk_latency_table.count = j;
count            4263 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            4279 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            4339 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	for (i = 0; i < dep_table->count; i++) {
count            4346 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	if (i < dep_table->count)
count            4488 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < sclk_table->count; i++)
count            4500 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < mclk_table->count; i++)
count            4512 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < soc_table->count; i++)
count            4525 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dcef_table->count; i++)
count            4535 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < pcie_table->count; i++)
count            4546 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			for (i = 0; i < podn_vdd_dep->count; i++)
count            4556 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			for (i = 0; i < podn_vdd_dep->count; i++)
count            4754 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	int value = sclk_table->dpm_levels[sclk_table->count - 1].value;
count            4756 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_sclk_table->count - 1].value;
count            4782 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_sclk_table->count - 1].value *
count            4785 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_sclk_table->count - 1].value;
count            4805 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	int value = mclk_table->dpm_levels[mclk_table->count - 1].value;
count            4807 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_mclk_table->count - 1].value;
count            4833 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_mclk_table->count - 1].value *
count            4836 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			[golden_mclk_table->count - 1].value;
count            5047 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    gfx_dpm_table->dpm_levels[gfx_dpm_table->count - 1].value)
count            5049 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			gfx_dpm_table->dpm_levels[gfx_dpm_table->count - 1].value;
count            5052 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    soc_dpm_table->dpm_levels[soc_dpm_table->count - 1].value)
count            5054 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			soc_dpm_table->dpm_levels[soc_dpm_table->count - 1].value;
count            5057 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    mem_dpm_table->dpm_levels[mem_dpm_table->count - 1].value)
count            5059 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			mem_dpm_table->dpm_levels[mem_dpm_table->count - 1].value;
count            5069 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    gfx_dpm_table->dpm_levels[gfx_dpm_table->count - 1].value)
count            5071 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			gfx_dpm_table->dpm_levels[gfx_dpm_table->count - 1].value;
count            5074 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    soc_dpm_table->dpm_levels[soc_dpm_table->count - 1].value)
count            5076 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			soc_dpm_table->dpm_levels[soc_dpm_table->count - 1].value;
count            5079 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 	    mem_dpm_table->dpm_levels[mem_dpm_table->count - 1].value)
count            5081 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			mem_dpm_table->dpm_levels[mem_dpm_table->count - 1].value;
count            5101 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < podn_vdd_dep->count; i++)
count            5105 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dpm_table->count; i++) {
count            5106 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			for (j = 0; j < od_vddc_lookup_table->count; j++) {
count            5111 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			if (j == od_vddc_lookup_table->count) {
count            5112 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				j = od_vddc_lookup_table->count - 1;
count            5120 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		for (i = 0; i < dep_table->count; i++) {
count            5121 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			if (dep_table->entries[i].vddInd == podn_vdd_dep->entries[podn_vdd_dep->count-1].vddInd &&
count            5122 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					dep_table->entries[i].clk < podn_vdd_dep->entries[podn_vdd_dep->count-1].clk) {
count            5124 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				for (; (i < dep_table->count) &&
count            5125 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				       (dep_table->entries[i].clk < podn_vdd_dep->entries[podn_vdd_dep->count - 1].clk); i++) {
count            5126 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					podn_vdd_dep_on_socclk->entries[i].clk = podn_vdd_dep->entries[podn_vdd_dep->count-1].clk;
count            5137 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (podn_vdd_dep_on_socclk->entries[podn_vdd_dep_on_socclk->count - 1].clk <
count            5138 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					podn_vdd_dep->entries[podn_vdd_dep->count - 1].clk) {
count            5140 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			podn_vdd_dep_on_socclk->entries[podn_vdd_dep_on_socclk->count - 1].clk =
count            5141 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				podn_vdd_dep->entries[podn_vdd_dep->count - 1].clk;
count            5142 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			dpm_table->dpm_levels[podn_vdd_dep_on_socclk->count - 1].value =
count            5143 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				podn_vdd_dep->entries[podn_vdd_dep->count - 1].clk;
count            5145 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (podn_vdd_dep_on_socclk->entries[podn_vdd_dep_on_socclk->count - 1].vddInd <
count            5146 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 					podn_vdd_dep->entries[podn_vdd_dep->count - 1].vddInd) {
count            5148 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 			podn_vdd_dep_on_socclk->entries[podn_vdd_dep_on_socclk->count - 1].vddInd =
count            5149 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 				podn_vdd_dep->entries[podn_vdd_dep->count - 1].vddInd;
count            5201 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c 		if (i + 3 > size || input[i] >= podn_vdd_dep_table->count) {
count             134 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint32_t		count;
count             140 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint16_t count;
count             162 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint16_t  count;
count             220 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint32_t  count;
count             285 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint32_t count;
count             290 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h 	uint32_t count;
count             936 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	uint32_t num_se = 0, count, data;
count             943 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	for (count = 0; count < num_se; count++) {
count             944 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 		data = GRBM_GFX_INDEX__INSTANCE_BROADCAST_WRITES_MASK | GRBM_GFX_INDEX__SH_BROADCAST_WRITES_MASK | ( count << GRBM_GFX_INDEX__SE_INDEX__SHIFT);
count             987 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	uint32_t num_se = 0, count, data;
count             994 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	for (count = 0; count < num_se; count++) {
count             995 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 		data = GRBM_GFX_INDEX__INSTANCE_BROADCAST_WRITES_MASK | GRBM_GFX_INDEX__SH_BROADCAST_WRITES_MASK | ( count << GRBM_GFX_INDEX__SE_INDEX__SHIFT);
count            1048 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	uint32_t num_se = 0, count, data;
count            1055 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	for (count = 0; count < num_se; count++) {
count            1056 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 		data = GRBM_GFX_INDEX__INSTANCE_BROADCAST_WRITES_MASK | GRBM_GFX_INDEX__SH_BROADCAST_WRITES_MASK | ( count << GRBM_GFX_INDEX__SE_INDEX__SHIFT);
count            1096 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	uint32_t count, data;
count            1105 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 	for (count = 0; count < num_se; count++) {
count            1106 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c 		data = GRBM_GFX_INDEX__INSTANCE_BROADCAST_WRITES_MASK | GRBM_GFX_INDEX__SH_BROADCAST_WRITES_MASK | ( count << GRBM_GFX_INDEX__SE_INDEX__SHIFT);
count             362 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	mm_table->count = mm_dependency_table->ucNumEntries;
count             589 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	clk_table->count = (uint32_t)clk_dep_table->ucNumEntries;
count             623 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	mclk_table->count = (uint32_t)mclk_dep_table->ucNumEntries;
count             664 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	clk_table->count = clk_dep_table->ucNumEntries;
count             667 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		for (i = 0; i < clk_table->count; i++) {
count             682 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		for (i = 0; i < clk_table->count; i++) {
count             730 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	clk_table->count = clk_dep_table->ucNumEntries;
count             732 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	for (i = 0; i < clk_table->count; i++) {
count             787 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	clk_table->count = (uint32_t)num_entries;
count             830 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	pcie_count = table_info->vdd_dep_on_sclk->count;
count             838 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	pcie_table->count = pcie_count;
count             881 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	PP_ASSERT_WITH_CODE(clk_volt_pp_table->count,
count             885 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 			sizeof(uint32_t) * clk_volt_pp_table->count;
count             892 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	table->count = (uint32_t)clk_volt_pp_table->count;
count             894 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	for (i = 0; i < table->count; i++)
count            1034 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		pp_table_info->vdd_dep_on_socclk->count)
count            1041 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		pp_table_info->vdd_dep_on_sclk->count)
count            1048 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		pp_table_info->vdd_dep_on_dcefclk->count)
count            1055 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 		pp_table_info->vdd_dep_on_mclk->count)
count            1083 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c 	table->count = vddc_lookup_pp_tables->ucNumEntries;
count             529 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->count = num_of_levels;
count             569 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             582 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             595 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             608 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             621 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             634 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             647 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 1;
count             660 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 0;
count             671 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 0;
count             682 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->count = 0;
count             705 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	if (dpm_table->count > 2)
count             706 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		min_level = dpm_table->count - 2;
count             707 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	else if (dpm_table->count == 2)
count            1004 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	for (i = 0; i < table->count; i++) {
count            1009 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	if (i >= table->count) {
count            1021 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	PP_ASSERT_WITH_CODE(table->count <= MAX_REGULAR_DPM_NUMBER,
count            1025 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	for (i = table->count - 1; i >= 0; i--) {
count            1594 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	if (gfx_dpm_table->count > VEGA12_UMD_PSTATE_GFXCLK_LEVEL &&
count            1595 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	    mem_dpm_table->count > VEGA12_UMD_PSTATE_MCLK_LEVEL &&
count            1596 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	    soc_dpm_table->count > VEGA12_UMD_PSTATE_SOCCLK_LEVEL) {
count            1607 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		*sclk_mask = gfx_dpm_table->count - 1;
count            1608 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		*mclk_mask = mem_dpm_table->count - 1;
count            1609 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		*soc_mask  = soc_dpm_table->count - 1;
count            1722 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	ucount = (dpm_table->count > MAX_NUM_CLOCKS) ?
count            1723 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		MAX_NUM_CLOCKS : dpm_table->count;
count            1754 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	ucount = (dpm_table->count > MAX_NUM_CLOCKS) ?
count            1755 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		MAX_NUM_CLOCKS : dpm_table->count;
count            1765 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	clocks->num_levels = data->mclk_latency_table.count = ucount;
count            1783 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	ucount = (dpm_table->count > MAX_NUM_CLOCKS) ?
count            1784 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		MAX_NUM_CLOCKS : dpm_table->count;
count            1811 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	ucount = (dpm_table->count > MAX_NUM_CLOCKS) ?
count            1812 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		MAX_NUM_CLOCKS : dpm_table->count;
count            1933 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (soft_max_level >= data->dpm_table.soc_table.count) {
count            1936 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 					data->dpm_table.soc_table.count - 1);
count            1960 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (hard_min_level >= data->dpm_table.dcef_table.count) {
count            1963 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 					data->dpm_table.dcef_table.count - 1);
count            2187 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2189 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2192 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_GFXCLK_LEVEL < dpm_table->count) {
count            2203 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2204 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2211 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2213 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2216 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_MCLK_LEVEL < dpm_table->count) {
count            2227 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2228 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2238 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2239 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		for (i = 0; i < data->mclk_latency_table.count - 1; i++) {
count            2250 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2255 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2257 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2260 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            2266 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2267 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2274 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2276 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2279 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            2285 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2286 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2293 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2295 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2298 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_SOCCLK_LEVEL < dpm_table->count) {
count            2304 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2305 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2312 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2314 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2317 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		if (VEGA12_UMD_PSTATE_VCEMCLK_LEVEL < dpm_table->count) {
count            2323 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2324 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2338 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count > 0,
count            2341 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count <= NUM_UCLK_DPM_LEVELS,
count            2345 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2483 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	for (i = 0; i < dpm_table->gfx_table.count; i++) {
count            2491 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	for (i = 0; i < dpm_table->mem_table.count; i++) {
count            2514 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	int value = sclk_table->dpm_levels[sclk_table->count - 1].value;
count            2516 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			[golden_sclk_table->count - 1].value;
count            2535 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 	int value = mclk_table->dpm_levels[mclk_table->count - 1].value;
count            2537 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c 			[golden_mclk_table->count - 1].value;
count             108 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint32_t		count;
count             114 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint32_t	count;
count             119 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint16_t count;
count             141 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint16_t  count;
count             211 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint32_t  count;
count             283 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h 	uint32_t count;
count             570 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	dpm_table->count = num_of_levels;
count             598 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             619 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             651 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             678 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             691 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             704 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             717 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count             730 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 0;
count             741 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 0;
count             752 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 0;
count             763 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->count = 1;
count            1040 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			data->dpm_table.mem_table.dpm_levels[data->dpm_table.mem_table.count - 2].value;
count            1446 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int value = sclk_table->dpm_levels[sclk_table->count - 1].value;
count            1448 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			[golden_sclk_table->count - 1].value;
count            1466 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	od_sclk = golden_sclk_table->dpm_levels[golden_sclk_table->count - 1].value * value;
count            1468 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	od_sclk += golden_sclk_table->dpm_levels[golden_sclk_table->count - 1].value;
count            1492 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int value = mclk_table->dpm_levels[mclk_table->count - 1].value;
count            1494 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			[golden_mclk_table->count - 1].value;
count            1512 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	od_mclk = golden_mclk_table->dpm_levels[golden_mclk_table->count - 1].value * value;
count            1514 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	od_mclk += golden_mclk_table->dpm_levels[golden_mclk_table->count - 1].value;
count            1540 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	if (gfx_table->count > VEGA20_UMD_PSTATE_GFXCLK_LEVEL &&
count            1541 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	    mem_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL) {
count            1754 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = 0; i < table->count; i++) {
count            1758 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	if (i >= table->count) {
count            1774 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	PP_ASSERT_WITH_CODE(table->count > 0,
count            1777 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	PP_ASSERT_WITH_CODE(table->count <= MAX_REGULAR_DPM_NUMBER,
count            1781 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = table->count - 1; i >= 0; i--) {
count            2485 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	if (gfx_dpm_table->count > VEGA20_UMD_PSTATE_GFXCLK_LEVEL &&
count            2486 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	    mem_dpm_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL &&
count            2487 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	    soc_dpm_table->count > VEGA20_UMD_PSTATE_SOCCLK_LEVEL) {
count            2498 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		*sclk_mask = gfx_dpm_table->count - 1;
count            2499 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		*mclk_mask = mem_dpm_table->count - 1;
count            2500 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		*soc_mask  = soc_dpm_table->count - 1;
count            2518 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (soft_max_level >= data->dpm_table.gfx_table.count) {
count            2521 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 					data->dpm_table.gfx_table.count - 1);
count            2545 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (soft_max_level >= data->dpm_table.mem_table.count) {
count            2548 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 					data->dpm_table.mem_table.count - 1);
count            2573 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (soft_max_level >= data->dpm_table.soc_table.count) {
count            2576 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 					data->dpm_table.soc_table.count - 1);
count            2601 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (soft_max_level >= data->dpm_table.fclk_table.count) {
count            2604 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 					data->dpm_table.fclk_table.count - 1);
count            2628 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (hard_min_level >= data->dpm_table.dcef_table.count) {
count            2631 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 					data->dpm_table.dcef_table.count - 1);
count            2759 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int i, count;
count            2764 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count            2765 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	clocks->num_levels = count;
count            2767 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = 0; i < count; i++) {
count            2787 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int i, count;
count            2792 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count            2793 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	clocks->num_levels = data->mclk_latency_table.count = count;
count            2795 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = 0; i < count; i++) {
count            2812 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int i, count;
count            2817 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count            2818 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	clocks->num_levels = count;
count            2820 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = 0; i < count; i++) {
count            2834 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	int i, count;
count            2839 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count            2840 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	clocks->num_levels = count;
count            2842 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	for (i = 0; i < count; i++) {
count            3330 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		for (i = 0; i < fclk_dpm_table->count; i++)
count            3484 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count > 0,
count            3487 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count <= NUM_UCLK_DPM_LEVELS,
count            3491 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3509 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count > 0,
count            3512 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		PP_ASSERT_WITH_CODE(dpm_table->count <= NUM_FCLK_DPM_LEVELS,
count            3516 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3651 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_GFXCLK_LEVEL < dpm_table->count) {
count            3662 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3663 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3675 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_MCLK_LEVEL < dpm_table->count) {
count            3686 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3687 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3697 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3698 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		for (i = 0; i < data->mclk_latency_table.count - 1; i++) {
count            3709 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3712 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	    (dpm_table->dpm_state.hard_min_level == dpm_table->dpm_levels[dpm_table->count - 1].value)) ||
count            3713 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 	     hwmgr->display_config->min_mem_set_clock / 100 >= dpm_table->dpm_levels[dpm_table->count - 1].value)
count            3725 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3735 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            3741 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3742 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3754 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            3760 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3761 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3773 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_SOCCLK_LEVEL < dpm_table->count) {
count            3779 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3780 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3792 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 		if (VEGA20_UMD_PSTATE_VCEMCLK_LEVEL < dpm_table->count) {
count            3798 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            3799 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count             160 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint32_t		count;
count             166 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint32_t	count;
count             171 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint16_t count;
count             194 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint16_t  count;
count             271 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint32_t  count;
count             345 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h 	uint32_t count;
count             321 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	uint32_t  count;
count             495 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*init_display_count)(struct smu_context *smu, uint32_t count);
count             506 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*set_active_display_count)(struct smu_context *smu, uint32_t count);
count             610 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_init_display_count(smu, count) \
count             611 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	((smu)->funcs->init_display_count ? (smu)->funcs->init_display_count((smu), (count)) : 0)
count             707 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_set_active_display_count(smu, count) \
count             708 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	((smu)->funcs->set_active_display_count ? (smu)->funcs->set_active_display_count((smu), (count)) : 0)
count             830 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int smu_set_display_count(struct smu_context *smu, uint32_t count);
count             466 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h extern int phm_set_active_display_count(struct pp_hwmgr *hwmgr, uint32_t count);
count              62 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;
count              93 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;
count             125 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;										/* Number of entries. */
count             142 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;
count             152 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;
count             163 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t                           count;
count             168 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;                                    /* Number of entries. */
count             173 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;                                    /* Number of entries. */
count             178 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;                                    /* Number of entries. */
count             183 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;                                    /* Number of entries. */
count             188 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;
count             324 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	int (*set_active_display_count)(struct pp_hwmgr *hwmgr, uint32_t count);
count             385 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint32_t count;
count             396 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h 	uint8_t count;
count             115 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0_pptable.h     uint32_t count;                                           //power_saving_clock_count = SMU_11_0_PPCLOCK_COUNT
count             687 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	uint32_t cur_value = 0, value = 0, count = 0;
count             706 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 		ret = smu_get_dpm_level_count(smu, clk_type, &count);
count             711 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 			for (i = 0; i < count; i++) {
count             723 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 			ret = smu_get_dpm_freq_by_index(smu, clk_type, count - 1, &freq_values[2]);
count             184 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 	uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0;
count             224 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 		count = NUM_SOCCLK_DPM_LEVELS;
count             228 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 		count = NUM_MEMCLK_DPM_LEVELS;
count             232 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 		count = NUM_DCFCLK_DPM_LEVELS;
count             236 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 		count = NUM_FCLK_DPM_LEVELS;
count             243 drivers/gpu/drm/amd/powerplay/renoir_ppt.c 	for (i = 0; i < count; i++) {
count             834 drivers/gpu/drm/amd/powerplay/smu_v11_0.c static int smu_v11_0_init_display_count(struct smu_context *smu, uint32_t count)
count             841 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	ret = smu_send_smc_msg_with_param(smu, SMU_MSG_NumOfDisplays, count);
count             281 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	if (allowed_clock_voltage_table->count == 0)
count             284 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < allowed_clock_voltage_table->count; i++) {
count             378 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < pl->count; i++) {
count             484 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count             492 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		if (i == (dpm_table->sclk_table.count - 1))
count             499 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	smu_data->smc_state_table.GraphicsDpmLevelCount = (u8)dpm_table->sclk_table.count;
count             585 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count <= 8,
count             587 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count == hwmgr->dyn_state.vddc_dependency_on_sclk->count,
count             590 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; (uint32_t) i < hwmgr->dyn_state.cac_leakage_table->count; i++) {
count             611 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8,
count             615 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < (int)data->vddc_voltage_table.count; i++)
count             780 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (v_index = 0; (uint32_t)v_index < hwmgr->dyn_state.vddc_dependency_on_sclk->count; v_index++) {
count             783 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			if ((uint32_t)v_index < hwmgr->dyn_state.cac_leakage_table->count) {
count             788 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				*lo = hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Vddc * VOLTAGE_SCALE;
count             789 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				*hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE);
count             796 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		for (v_index = 0; (uint32_t)v_index < hwmgr->dyn_state.vddc_dependency_on_sclk->count; v_index++) {
count             799 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				if ((uint32_t)v_index < hwmgr->dyn_state.cac_leakage_table->count) {
count             804 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 					*lo = hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Vddc * VOLTAGE_SCALE;
count             805 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 					*hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE);
count             842 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	unsigned int count;
count             846 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->VddcLevelCount = data->vddc_voltage_table.count;
count             847 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->VddcLevelCount; count++) {
count             849 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&(data->vddc_voltage_table.entries[count]),
count             850 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&(table->VddcLevel[count]));
count             855 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->VddcLevel[count].Smio = (uint8_t) count;
count             856 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low;
count             857 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low;
count             859 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->VddcLevel[count].Smio = 0;
count             872 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint32_t count;
count             875 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->VddciLevelCount = data->vddci_voltage_table.count;
count             877 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->VddciLevelCount; count++) {
count             879 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&(data->vddci_voltage_table.entries[count]),
count             880 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&(table->VddciLevel[count]));
count             883 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->VddciLevel[count].Smio = (uint8_t) count;
count             884 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->Smio[count] |= data->vddci_voltage_table.entries[count].smio_low;
count             885 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->SmioMaskVddciVid |= data->vddci_voltage_table.entries[count].smio_low;
count             887 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->VddciLevel[count].Smio = 0;
count             900 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint32_t count;
count             903 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->MvddLevelCount = data->mvdd_voltage_table.count;
count             905 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->MvddLevelCount; count++) {
count             907 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&(data->mvdd_voltage_table.entries[count]),
count             908 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				&table->MvddLevel[count]);
count             911 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->MvddLevel[count].Smio = (uint8_t) count;
count             912 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->Smio[count] |= data->mvdd_voltage_table.entries[count].smio_low;
count             913 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->SmioMaskMvddVid |= data->mvdd_voltage_table.entries[count].smio_low;
count             915 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 			table->MvddLevel[count].Smio = 0;
count            1003 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count            1014 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		(uint8_t)dpm_table->pcie_speed_table.count;
count            1162 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < pl->count; i++) {
count            1314 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1327 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	if ((dpm_table->mclk_table.count >= 2)
count            1337 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	smu_data->smc_state_table.MemoryDpmLevelCount = (uint8_t)dpm_table->mclk_table.count;
count            1339 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	smu_data->smc_state_table.MemoryLevel[dpm_table->mclk_table.count-1].DisplayWatermark = PPSMC_DISPLAY_WATERMARK_HIGH;
count            1357 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		for (i = 0; i < hwmgr->dyn_state.mvdd_dependency_on_mclk->count; i++) {
count            1365 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		PP_ASSERT_WITH_CODE(i < hwmgr->dyn_state.mvdd_dependency_on_mclk->count,
count            1520 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint8_t count;
count            1525 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->UvdLevelCount = (uint8_t)(uvd_table->count);
count            1527 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            1528 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].VclkFrequency =
count            1529 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 					uvd_table->entries[count].vclk;
count            1530 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].DclkFrequency =
count            1531 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 					uvd_table->entries[count].dclk;
count            1532 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].MinVddc =
count            1533 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 					uvd_table->entries[count].v * VOLTAGE_SCALE;
count            1534 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].MinVddcPhases = 1;
count            1537 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				table->UvdLevel[count].VclkFrequency, &dividers);
count            1541 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider;
count            1544 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				table->UvdLevel[count].DclkFrequency, &dividers);
count            1548 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider;
count            1549 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency);
count            1550 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency);
count            1551 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_US(table->UvdLevel[count].MinVddc);
count            1561 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint8_t count;
count            1566 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->VceLevelCount = (uint8_t)(vce_table->count);
count            1569 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            1570 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->VceLevel[count].Frequency = vce_table->entries[count].evclk;
count            1571 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->VceLevel[count].MinVoltage =
count            1572 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				vce_table->entries[count].v * VOLTAGE_SCALE;
count            1573 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->VceLevel[count].MinPhases = 1;
count            1576 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				table->VceLevel[count].Frequency, &dividers);
count            1581 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1583 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency);
count            1584 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_US(table->VceLevel[count].MinVoltage);
count            1593 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint8_t count;
count            1598 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->AcpLevelCount = (uint8_t)(acp_table->count);
count            1601 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (count = 0; count < table->AcpLevelCount; count++) {
count            1602 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->AcpLevel[count].Frequency = acp_table->entries[count].acpclk;
count            1603 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->AcpLevel[count].MinVoltage = acp_table->entries[count].v;
count            1604 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->AcpLevel[count].MinPhases = 1;
count            1607 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				table->AcpLevel[count].Frequency, &dividers);
count            1611 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		table->AcpLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1613 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->AcpLevel[count].Frequency);
count            1614 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_US(table->AcpLevel[count].MinVoltage);
count            1658 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < data->dpm_table.sclk_table.count; i++) {
count            1659 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		for (j = 0; j < data->dpm_table.mclk_table.count; j++) {
count            1794 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = 0; i < data->dpm_table.mclk_table.count; i++) {
count            1830 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 				sizeof(SMU7_Discrete_MCRegisterSet) * data->dpm_table.mclk_table.count,
count            1856 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	uint8_t count, level;
count            1858 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	count = (uint8_t)(hwmgr->dyn_state.vddc_dependency_on_sclk->count);
count            1860 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (level = 0; level < count; level++) {
count            1868 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	count = (uint8_t)(hwmgr->dyn_state.vddc_dependency_on_mclk->count);
count            1870 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (level = 0; level < count; level++) {
count            2052 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	PP_ASSERT_WITH_CODE((1 <= data->dpm_table.pcie_speed_table.count),
count            2056 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	table->PCIeBootLinkLevel = (uint8_t)data->dpm_table.pcie_speed_table.count;
count            2868 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	if (PP_CAP(PHM_PlatformCaps_UVDDPM) || uvd_table->count <= 0)
count            2871 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 		smu_data->smc_state_table.UvdBootLevel = uvd_table->count - 1;
count            2878 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = uvd_table->count - 1; i >= 0; i--) {
count            2909 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c 	for (i = vce_table->count - 1; i >= 0; i--) {
count             365 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	if (dep_table->count == 0)
count             368 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i < dep_table->count; i++) {
count             759 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint32_t count;
count             772 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (count = 0; count < lookup_table->count; count++) {
count             774 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				data->vddc_voltage_table.entries[count].value);
count             775 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->BapmVddcVidLoSidd[count] =
count             777 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->BapmVddcVidHiSidd[count] =
count             838 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count             850 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			(uint8_t)dpm_table->pcie_speed_table.count;
count            1012 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint8_t pcie_entry_cnt = (uint8_t) data->dpm_table.pcie_speed_table.count;
count            1024 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			count = 0;
count            1026 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count            1042 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	levels[dpm_table->sclk_table.count - 1].DisplayWatermark =
count            1046 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			(uint8_t)dpm_table->sclk_table.count;
count            1055 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		for (i = 0; i < dpm_table->sclk_table.count; i++)
count            1069 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		while ((count < hightest_pcie_level_enabled) &&
count            1071 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 						(1 << (lowest_pcie_level_enabled + 1 + count))) == 0))
count            1072 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			count++;
count            1074 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		mid_pcie_level_enabled = (lowest_pcie_level_enabled + 1 + count) <
count            1076 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 						(lowest_pcie_level_enabled + 1 + count) :
count            1080 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		for (i = 2; i < dpm_table->sclk_table.count; i++)
count            1238 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1261 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			(uint8_t)dpm_table->mclk_table.count;
count            1265 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	levels[dpm_table->mclk_table.count - 1].DisplayWatermark =
count            1285 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) {
count            1291 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count,
count            1426 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint8_t count;
count            1433 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	table->VceLevelCount = (uint8_t)(mm_table->count);
count            1436 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            1437 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].Frequency = mm_table->entries[count].eclk;
count            1438 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].MinVoltage = 0;
count            1439 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1440 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				(mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT;
count            1441 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1442 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				((mm_table->entries[count].vddc - VDDC_VDDCI_DELTA) *
count            1444 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1448 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				table->VceLevel[count].Frequency, &dividers);
count            1453 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1455 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency);
count            1456 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].MinVoltage);
count            1465 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint8_t count;
count            1472 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	table->AcpLevelCount = (uint8_t)(mm_table->count);
count            1475 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (count = 0; count < table->AcpLevelCount; count++) {
count            1476 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->AcpLevel[count].Frequency = mm_table->entries[count].aclk;
count            1477 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->AcpLevel[count].MinVoltage |= (mm_table->entries[count].vddc *
count            1479 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->AcpLevel[count].MinVoltage |= ((mm_table->entries[count].vddc -
count            1481 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->AcpLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1485 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				table->AcpLevel[count].Frequency, &dividers);
count            1489 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->AcpLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1491 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->AcpLevel[count].Frequency);
count            1492 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->AcpLevel[count].MinVoltage);
count            1537 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i < data->dpm_table.sclk_table.count; i++) {
count            1538 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		for (j = 0; j < data->dpm_table.mclk_table.count; j++) {
count            1562 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint8_t count;
count            1569 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	table->UvdLevelCount = (uint8_t)(mm_table->count);
count            1572 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            1573 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].MinVoltage = 0;
count            1574 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk;
count            1575 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk;
count            1576 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].MinVoltage |= (mm_table->entries[count].vddc *
count            1578 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].MinVoltage |= ((mm_table->entries[count].vddc -
count            1580 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1584 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				table->UvdLevel[count].VclkFrequency, &dividers);
count            1588 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider;
count            1591 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				table->UvdLevel[count].DclkFrequency, &dividers);
count            1595 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider;
count            1597 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency);
count            1598 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency);
count            1599 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].MinVoltage);
count            1643 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	uint8_t count, level;
count            1645 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_sclk->count);
count            1646 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (level = 0; level < count; level++) {
count            1654 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_mclk->count);
count            1655 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (level = 0; level < count; level++) {
count            1706 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            2376 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 	if (table_info->mm_dep_table->count > 0)
count            2378 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 				(uint8_t) (table_info->mm_dep_table->count - 1);
count            2410 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c 			(uint8_t) (table_info->mm_dep_table->count - 1);
count             398 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count <= 8,
count             400 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	PP_ASSERT_WITH_CODE(hwmgr->dyn_state.cac_leakage_table->count == hwmgr->dyn_state.vddc_dependency_on_sclk->count,
count             404 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		for (i = 0; (uint32_t) i < hwmgr->dyn_state.cac_leakage_table->count; i++) {
count             422 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	PP_ASSERT_WITH_CODE(data->vddc_voltage_table.count <= 8,
count             426 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < (int)data->vddc_voltage_table.count; i++) {
count             513 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	if (allowed_clock_voltage_table->count == 0)
count             516 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < allowed_clock_voltage_table->count; i++) {
count             554 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (v_index = 0; (uint32_t)v_index < hwmgr->dyn_state.vddc_dependency_on_sclk->count; v_index++) {
count             557 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			if ((uint32_t)v_index < hwmgr->dyn_state.cac_leakage_table->count) {
count             562 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				*lo = hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Vddc * VOLTAGE_SCALE;
count             563 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				*hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE);
count             574 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		for (v_index = 0; (uint32_t)v_index < hwmgr->dyn_state.vddc_dependency_on_sclk->count; v_index++) {
count             577 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				if ((uint32_t)v_index < hwmgr->dyn_state.cac_leakage_table->count) {
count             582 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 					*lo = hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Vddc * VOLTAGE_SCALE;
count             583 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 					*hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE);
count             620 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	unsigned int count;
count             624 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	table->VddcLevelCount = data->vddc_voltage_table.count;
count             625 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (count = 0; count < table->VddcLevelCount; count++) {
count             627 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&(data->vddc_voltage_table.entries[count]),
count             628 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&(table->VddcLevel[count]));
count             633 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low;
count             635 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->VddcLevel[count].Smio = 0;
count             647 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	uint32_t count;
count             650 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	table->VddciLevelCount = data->vddci_voltage_table.count;
count             652 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (count = 0; count < table->VddciLevelCount; count++) {
count             654 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&(data->vddci_voltage_table.entries[count]),
count             655 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&(table->VddciLevel[count]));
count             658 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->VddciLevel[count].Smio |= data->vddci_voltage_table.entries[count].smio_low;
count             660 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->VddciLevel[count].Smio |= 0;
count             672 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	uint32_t count;
count             675 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	table->MvddLevelCount = data->mvdd_voltage_table.count;
count             677 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (count = 0; count < table->VddciLevelCount; count++) {
count             679 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&(data->mvdd_voltage_table.entries[count]),
count             680 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				&table->MvddLevel[count]);
count             683 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->MvddLevel[count].Smio |= data->mvdd_voltage_table.entries[count].smio_low;
count             685 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 			table->MvddLevel[count].Smio |= 0;
count             772 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count             788 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		(uint8_t)dpm_table->pcie_speed_table.count;
count             882 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < pl->count; i++) {
count             975 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	uint8_t count = 0;
count             980 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count             996 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	if (dpm_table->sclk_table.count > 1)
count             997 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		smu_data->smc_state_table.GraphicsLevel[dpm_table->sclk_table.count-1].DisplayWatermark =
count            1001 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		(uint8_t)dpm_table->sclk_table.count;
count            1015 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	while ((count < highest_pcie_level_enabled) &&
count            1017 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				(1 << (lowest_pcie_level_enabled + 1 + count))) == 0)) {
count            1018 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		count++;
count            1021 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	mid_pcie_level_enabled = (lowest_pcie_level_enabled+1+count) < highest_pcie_level_enabled ?
count            1022 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		(lowest_pcie_level_enabled+1+count) : highest_pcie_level_enabled;
count            1026 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 2; i < dpm_table->sclk_table.count; i++) {
count            1217 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < pl->count; i++) {
count            1361 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1382 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	smu_data->smc_state_table.MemoryDpmLevelCount = (uint8_t)dpm_table->mclk_table.count;
count            1385 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	smu_data->smc_state_table.MemoryLevel[dpm_table->mclk_table.count-1].DisplayWatermark = PPSMC_DISPLAY_WATERMARK_HIGH;
count            1404 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		for (i = 0; i < hwmgr->dyn_state.mvdd_dependency_on_mclk->count; i++) {
count            1412 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		PP_ASSERT_WITH_CODE(i < hwmgr->dyn_state.mvdd_dependency_on_mclk->count,
count            1621 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < data->dpm_table.sclk_table.count; i++) {
count            1622 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 		for (j = 0; j < data->dpm_table.mclk_table.count; j++) {
count            1761 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (i = 0; i < data->dpm_table.mclk_table.count; i++) {
count            1798 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 				sizeof(SMU71_Discrete_MCRegisterSet) * data->dpm_table.mclk_table.count,
count            1824 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	uint8_t count, level;
count            1826 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	count = (uint8_t)(hwmgr->dyn_state.vddc_dependency_on_sclk->count);
count            1828 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (level = 0; level < count; level++) {
count            1836 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	count = (uint8_t)(hwmgr->dyn_state.vddc_dependency_on_mclk->count);
count            1838 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c 	for (level = 0; level < count; level++) {
count             363 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	if (dep_table->count == 0)
count             366 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i < dep_table->count; i++) {
count             650 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint32_t count, level;
count             653 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		count = data->mvdd_voltage_table.count;
count             654 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		if (count > SMU_MAX_SMIO_LEVELS)
count             655 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			count = SMU_MAX_SMIO_LEVELS;
count             656 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (level = 0; level < count; level++) {
count             667 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count);
count             676 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint32_t count, level;
count             679 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	count = data->vddci_voltage_table.count;
count             682 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		if (count > SMU_MAX_SMIO_LEVELS)
count             683 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			count = SMU_MAX_SMIO_LEVELS;
count             684 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (level = 0; level < count; ++level) {
count             701 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint32_t count;
count             713 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (count = 0; count < lookup_table->count; count++) {
count             715 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				data->vddc_voltage_table.entries[count].value);
count             716 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low);
count             717 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid);
count             718 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high);
count             776 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count             788 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			(uint8_t)dpm_table->pcie_speed_table.count;
count             985 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint8_t pcie_entry_cnt = (uint8_t) hw_data->dpm_table.pcie_speed_table.count;
count             997 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		count = 0;
count            1001 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count            1019 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			(uint8_t)dpm_table->sclk_table.count;
count            1029 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (i = 0; i < dpm_table->sclk_table.count; i++)
count            1043 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		while ((count < hightest_pcie_level_enabled) &&
count            1045 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 						(1 << (lowest_pcie_level_enabled + 1 + count))) == 0))
count            1046 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			count++;
count            1048 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		mid_pcie_level_enabled = (lowest_pcie_level_enabled + 1 + count) <
count            1050 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 						(lowest_pcie_level_enabled + 1 + count) :
count            1054 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (i = 2; i < dpm_table->sclk_table.count; i++)
count            1139 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1146 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		if (i == dpm_table->mclk_table.count - 1) {
count            1163 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			(uint8_t)dpm_table->mclk_table.count;
count            1184 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) {
count            1190 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count,
count            1290 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint8_t count;
count            1299 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	table->VceLevelCount = (uint8_t)(mm_table->count);
count            1302 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            1303 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].Frequency = mm_table->entries[count].eclk;
count            1304 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].MinVoltage = 0;
count            1305 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1306 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				(mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT;
count            1310 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 						mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1312 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA;
count            1317 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1319 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1323 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				table->VceLevel[count].Frequency, &dividers);
count            1328 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1330 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency);
count            1331 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].MinVoltage);
count            1370 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i < hw_data->dpm_table.sclk_table.count; i++) {
count            1371 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		for (j = 0; j < hw_data->dpm_table.mclk_table.count; j++) {
count            1396 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint8_t count;
count            1405 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	table->UvdLevelCount = (uint8_t)(mm_table->count);
count            1408 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            1409 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].MinVoltage = 0;
count            1410 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk;
count            1411 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk;
count            1412 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].MinVoltage |= (mm_table->entries[count].vddc *
count            1417 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 						mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1419 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA;
count            1423 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT;
count            1424 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1428 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				table->UvdLevel[count].VclkFrequency, &dividers);
count            1432 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider;
count            1435 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				table->UvdLevel[count].DclkFrequency, &dividers);
count            1439 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider;
count            1441 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency);
count            1442 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency);
count            1443 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].MinVoltage);
count            1487 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	uint8_t count, level;
count            1489 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_sclk->count);
count            1491 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (level = 0; level < count; level++) {
count            1499 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_mclk->count);
count            1500 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (level = 0; level < count; level++) {
count            1556 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            1988 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	for (i = 0; i <= hw_data->dpm_table.pcie_speed_table.count; i++) {
count            2185 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	if (table_info->mm_dep_table->count > 0)
count            2187 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 				(uint8_t) (table_info->mm_dep_table->count - 1);
count            2219 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 			(uint8_t) (table_info->mm_dep_table->count - 1);
count            2249 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 	max_entry = (SMU74_MAX_LEVELS_LINK < pcie_table->count) ?
count            2251 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c 						pcie_table->count;
count             256 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	if (allowed_clock_voltage_table->count == 0)
count             259 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < allowed_clock_voltage_table->count; i++) {
count             305 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	unsigned int count;
count             309 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VddcLevelCount = data->vddc_voltage_table.count;
count             310 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (count = 0; count < table->VddcLevelCount; count++) {
count             311 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->VddcTable[count] =
count             312 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->vddc_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             322 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	unsigned int count;
count             326 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VddGfxLevelCount = data->vddgfx_voltage_table.count;
count             327 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (count = 0; count < data->vddgfx_voltage_table.count; count++) {
count             328 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->VddGfxTable[count] =
count             329 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->vddgfx_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             340 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint32_t count;
count             342 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	table->VddciLevelCount = data->vddci_voltage_table.count;
count             343 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (count = 0; count < table->VddciLevelCount; count++) {
count             345 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->VddciTable[count] =
count             346 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             348 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->SmioTable1.Pattern[count].Voltage =
count             349 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             351 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->SmioTable1.Pattern[count].Smio =
count             352 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				(uint8_t) count;
count             353 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->Smio[count] |=
count             354 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				data->vddci_voltage_table.entries[count].smio_low;
count             355 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->VddciTable[count] =
count             356 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             370 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint32_t count;
count             373 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->MvddLevelCount = data->mvdd_voltage_table.count;
count             374 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (count = 0; count < table->MvddLevelCount; count++) {
count             375 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->SmioTable2.Pattern[count].Voltage =
count             376 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				PP_HOST_TO_SMC_US(data->mvdd_voltage_table.entries[count].value * VOLTAGE_SCALE);
count             378 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->SmioTable2.Pattern[count].Smio =
count             379 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				(uint8_t) count;
count             380 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->Smio[count] |=
count             381 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				data->mvdd_voltage_table.entries[count].smio_low;
count             394 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint32_t count;
count             410 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (count = 0; count < vddc_level_count; count++) {
count             413 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			data->vddc_voltage_table.entries[count].value);
count             414 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->BapmVddcVidLoSidd[count] =
count             416 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->BapmVddcVidHiSidd[count] =
count             418 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->BapmVddcVidHiSidd2[count] =
count             424 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (count = 0; count < vddgfx_level_count; count++) {
count             427 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->BapmVddGfxVidHiSidd2[count] =
count             431 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (count = 0; count < vddc_level_count; count++) {
count             433 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				data->vddc_voltage_table.entries[count].value);
count             434 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->BapmVddGfxVidLoSidd[count] =
count             436 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->BapmVddGfxVidHiSidd[count] =
count             438 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->BapmVddGfxVidHiSidd2[count] =
count             515 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count             531 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		(uint8_t)dpm_table->pcie_speed_table.count;
count             693 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint8_t pcie_entry_count = (uint8_t) data->dpm_table.pcie_speed_table.count;
count             705 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint8_t count = 0;
count             710 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count             726 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	if (dpm_table->sclk_table.count > 1)
count             727 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		smu_data->smc_state_table.GraphicsLevel[dpm_table->sclk_table.count-1].DisplayWatermark =
count             731 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		(uint8_t)dpm_table->sclk_table.count;
count             740 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (i = 0; i < dpm_table->sclk_table.count; i++) {
count             760 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		while ((count < highest_pcie_level_enabled) &&
count             762 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 					(1<<(lowest_pcie_level_enabled+1+count))) == 0)) {
count             763 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			count++;
count             765 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		mid_pcie_level_enabled = (lowest_pcie_level_enabled+1+count) < highest_pcie_level_enabled ?
count             766 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			(lowest_pcie_level_enabled+1+count) : highest_pcie_level_enabled;
count             770 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (i = 2; i < dpm_table->sclk_table.count; i++)
count            1107 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1130 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	smu_data->smc_state_table.MemoryDpmLevelCount = (uint8_t)dpm_table->mclk_table.count;
count            1133 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	smu_data->smc_state_table.MemoryLevel[dpm_table->mclk_table.count-1].DisplayWatermark = PPSMC_DISPLAY_WATERMARK_HIGH;
count            1153 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) {
count            1162 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count,
count            1312 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint8_t count;
count            1320 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	table->UvdLevelCount = (uint8_t) (mm_table->count);
count            1323 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            1324 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk;
count            1325 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk;
count            1326 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].MinVoltage.Vddc =
count            1328 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 						mm_table->entries[count].vddc);
count            1329 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].MinVoltage.VddGfx =
count            1332 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 						mm_table->entries[count].vddgfx) : 0;
count            1333 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].MinVoltage.Vddci =
count            1335 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 					     mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1336 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].MinVoltage.Phases = 1;
count            1341 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 					table->UvdLevel[count].VclkFrequency,
count            1348 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider;
count            1351 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 							  table->UvdLevel[count].DclkFrequency, &dividers);
count            1356 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->UvdLevel[count].DclkDivider =
count            1359 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency);
count            1360 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency);
count            1372 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint8_t count;
count            1380 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	table->VceLevelCount = (uint8_t) (mm_table->count);
count            1383 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            1384 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].Frequency =
count            1385 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			mm_table->entries[count].eclk;
count            1386 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].MinVoltage.Vddc =
count            1388 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				mm_table->entries[count].vddc);
count            1389 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].MinVoltage.VddGfx =
count            1392 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				mm_table->entries[count].vddgfx) : 0;
count            1393 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].MinVoltage.Vddci =
count            1395 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1396 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].MinVoltage.Phases = 1;
count            1400 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 					table->VceLevel[count].Frequency, &dividers);
count            1405 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1407 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency);
count            1417 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	uint8_t count;
count            1425 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	table->AcpLevelCount = (uint8_t) (mm_table->count);
count            1428 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (count = 0; count < table->AcpLevelCount; count++) {
count            1429 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].Frequency =
count            1430 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			pptable_info->mm_dep_table->entries[count].aclk;
count            1431 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].MinVoltage.Vddc =
count            1433 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			mm_table->entries[count].vddc);
count            1434 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].MinVoltage.VddGfx =
count            1437 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				mm_table->entries[count].vddgfx) : 0;
count            1438 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].MinVoltage.Vddci =
count            1440 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1441 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].MinVoltage.Phases = 1;
count            1445 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			table->AcpLevel[count].Frequency, &dividers);
count            1449 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		table->AcpLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1451 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->AcpLevel[count].Frequency);
count            1497 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < data->dpm_table.sclk_table.count; i++) {
count            1498 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		for (j = 0; j < data->dpm_table.mclk_table.count; j++) {
count            1620 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            2140 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	for (i = 0; i < data->dpm_table.mclk_table.count; i++) {
count            2180 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 			data->dpm_table.mclk_table.count,
count            2346 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	PP_ASSERT_WITH_CODE((1 <= data->dpm_table.pcie_speed_table.count),
count            2350 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	table->PCIeBootLinkLevel = (uint8_t) (data->dpm_table.pcie_speed_table.count);
count            2684 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 	if (table_info->mm_dep_table->count > 0)
count            2686 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 				(uint8_t) (table_info->mm_dep_table->count - 1);
count            2719 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c 		(uint8_t) (table_info->mm_dep_table->count - 1);
count             339 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	if (table_info->mm_dep_table->count > 0)
count             341 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				(uint8_t) (table_info->mm_dep_table->count - 1);
count             373 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			(uint8_t) (table_info->mm_dep_table->count - 1);
count             403 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	max_entry = (SMU75_MAX_LEVELS_LINK < pcie_table->count) ?
count             405 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 						pcie_table->count;
count             451 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint32_t count, level;
count             454 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		count = data->mvdd_voltage_table.count;
count             455 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		if (count > SMU_MAX_SMIO_LEVELS)
count             456 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			count = SMU_MAX_SMIO_LEVELS;
count             457 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (level = 0; level < count; level++) {
count             468 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count);
count             477 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint32_t count, level;
count             480 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	count = data->vddci_voltage_table.count;
count             483 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		if (count > SMU_MAX_SMIO_LEVELS)
count             484 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			count = SMU_MAX_SMIO_LEVELS;
count             485 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (level = 0; level < count; ++level) {
count             502 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint32_t count;
count             514 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (count = 0; count < lookup_table->count; count++) {
count             516 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				data->vddc_voltage_table.entries[count].value);
count             517 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->BapmVddcVidLoSidd[count] =
count             519 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->BapmVddcVidHiSidd[count] =
count             521 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->BapmVddcVidHiSidd2[count] =
count             578 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) {
count             590 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			(uint8_t)dpm_table->pcie_speed_table.count;
count             610 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	if (dep_table->count == 0)
count             613 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < dep_table->count; i++) {
count             869 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint8_t pcie_entry_cnt = (uint8_t) hw_data->dpm_table.pcie_speed_table.count;
count             881 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		count = 0;
count             885 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count             906 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			(uint8_t)dpm_table->sclk_table.count;
count             910 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < dpm_table->sclk_table.count; i++)
count             919 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (i = 0; i < dpm_table->sclk_table.count; i++)
count             933 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		while ((count < hightest_pcie_level_enabled) &&
count             935 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 						(1 << (lowest_pcie_level_enabled + 1 + count))) == 0))
count             936 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			count++;
count             938 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		mid_pcie_level_enabled = (lowest_pcie_level_enabled + 1 + count) <
count             940 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 						(lowest_pcie_level_enabled + 1 + count) :
count             944 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (i = 2; i < dpm_table->sclk_table.count; i++)
count            1046 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            1064 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			(uint8_t)dpm_table->mclk_table.count;
count            1068 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < dpm_table->mclk_table.count; i++)
count            1072 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	levels[dpm_table->mclk_table.count - 1].DisplayWatermark =
count            1092 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) {
count            1098 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count,
count            1207 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint8_t count;
count            1216 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	table->VceLevelCount = (uint8_t)(mm_table->count);
count            1219 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            1220 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].Frequency = mm_table->entries[count].eclk;
count            1221 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].MinVoltage = 0;
count            1222 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1223 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				(mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT;
count            1227 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 						mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1229 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA;
count            1234 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].MinVoltage |=
count            1236 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1240 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				table->VceLevel[count].Frequency, &dividers);
count            1245 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->VceLevel[count].Divider = (uint8_t)dividers.pll_post_divider;
count            1247 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].Frequency);
count            1248 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->VceLevel[count].MinVoltage);
count            1296 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < hw_data->dpm_table.sclk_table.count; i++) {
count            1297 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (j = 0; j < hw_data->dpm_table.mclk_table.count; j++) {
count            1320 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint8_t count;
count            1329 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	table->UvdLevelCount = (uint8_t)(mm_table->count);
count            1332 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            1333 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].MinVoltage = 0;
count            1334 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].VclkFrequency = mm_table->entries[count].vclk;
count            1335 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].DclkFrequency = mm_table->entries[count].dclk;
count            1336 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].MinVoltage |=
count            1337 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				(mm_table->entries[count].vddc * VOLTAGE_SCALE) << VDDC_SHIFT;
count            1341 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 						mm_table->entries[count].vddc - VDDC_VDDCI_DELTA);
count            1343 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			vddci = mm_table->entries[count].vddc - VDDC_VDDCI_DELTA;
count            1347 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].MinVoltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT;
count            1348 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].MinVoltage |= 1 << PHASES_SHIFT;
count            1352 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				table->UvdLevel[count].VclkFrequency, &dividers);
count            1356 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].VclkDivider = (uint8_t)dividers.pll_post_divider;
count            1359 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 				table->UvdLevel[count].DclkFrequency, &dividers);
count            1363 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		table->UvdLevel[count].DclkDivider = (uint8_t)dividers.pll_post_divider;
count            1365 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].VclkFrequency);
count            1366 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].DclkFrequency);
count            1367 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		CONVERT_FROM_HOST_TO_SMC_UL(table->UvdLevel[count].MinVoltage);
count            1411 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	uint8_t count, level;
count            1413 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_sclk->count);
count            1415 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (level = 0; level < count; level++) {
count            1423 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	count = (uint8_t)(table_info->vdd_dep_on_mclk->count);
count            1424 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (level = 0; level < count; level++) {
count            1514 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i < sclk_table->count; i++) {
count            1635 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 		for (i = 0; i < sclk_table->count; i++) {
count            2040 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	PP_ASSERT_WITH_CODE(hw_data->dpm_table.pcie_speed_table.count >= 1,
count            2044 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 			hw_data->dpm_table.pcie_speed_table.count;
count            2109 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c 	for (i = 0; i <= hw_data->dpm_table.pcie_speed_table.count; i++) {
count             682 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	single_dpm_table->count = num_of_levels;
count             732 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             748 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             764 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             779 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             794 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             809 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             825 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count             841 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 0;
count             856 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 0;
count             871 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 0;
count             886 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 0;
count             910 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (gfx_table->count > VEGA20_UMD_PSTATE_GFXCLK_LEVEL &&
count             911 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	    mem_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL) {
count             926 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	int i, count;
count             928 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	count = (dpm_table->count > MAX_NUM_CLOCKS) ? MAX_NUM_CLOCKS : dpm_table->count;
count             929 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	clocks->num_levels = count;
count             931 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	for (i = 0; i < count; i++) {
count            1032 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		for (i = 0; i < single_dpm_table->count; i++)
count            1296 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count            1298 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count            1323 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count            1325 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count            1350 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count            1352 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count            1377 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (soft_max_level >= single_dpm_table->count) {
count            1379 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 					soft_max_level, single_dpm_table->count - 1);
count            1405 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (hard_min_level >= single_dpm_table->count) {
count            1407 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 					hard_min_level, single_dpm_table->count - 1);
count            1776 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	value = single_dpm_table->dpm_levels[single_dpm_table->count - 1].value;
count            1777 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	golden_value = golden_dpm_table->dpm_levels[golden_dpm_table->count - 1].value;
count            2008 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (gfx_dpm_table->count > VEGA20_UMD_PSTATE_GFXCLK_LEVEL &&
count            2009 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	    mem_dpm_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL &&
count            2010 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	    soc_dpm_table->count > VEGA20_UMD_PSTATE_SOCCLK_LEVEL) {
count            2021 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		*sclk_mask = gfx_dpm_table->count - 1;
count            2022 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		*mclk_mask = mem_dpm_table->count - 1;
count            2023 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		*soc_mask  = soc_dpm_table->count - 1;
count            2039 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (dpm_table->count <= 0) {
count            2044 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (dpm_table->count > NUM_UCLK_DPM_LEVELS) {
count            2049 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2119 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2121 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2123 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_GFXCLK_LEVEL < dpm_table->count) {
count            2134 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2135 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2141 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2143 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2145 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_MCLK_LEVEL < dpm_table->count) {
count            2156 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2157 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2166 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2167 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		for (i = 0; i < smu_dpm_ctx->mclk_latency_table->count - 1; i++) {
count            2178 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		dpm_table->dpm_state.hard_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2183 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2185 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2187 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            2193 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2194 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2200 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2202 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2204 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_UVDCLK_LEVEL < dpm_table->count) {
count            2210 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2211 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2217 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2219 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2221 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_SOCCLK_LEVEL < dpm_table->count) {
count            2227 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2228 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2234 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2236 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	dpm_table->dpm_state.hard_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2238 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		if (VEGA20_UMD_PSTATE_VCEMCLK_LEVEL < dpm_table->count) {
count            2244 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_min_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2245 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 			dpm_table->dpm_state.soft_max_level = dpm_table->dpm_levels[dpm_table->count - 1].value;
count            2299 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	for (i = 0; i < table->count; i++) {
count            2303 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (i >= table->count) {
count            2319 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (table->count <= 0) {
count            2323 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (table->count > MAX_REGULAR_DPM_NUMBER) {
count            2328 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	for (i = table->count - 1; i >= 0; i--) {
count            2581 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	od_clk = golden_dpm_table->dpm_levels[golden_dpm_table->count - 1].value * value;
count            2583 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	od_clk += golden_dpm_table->dpm_levels[golden_dpm_table->count - 1].value;
count            2599 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 		single_dpm_table->count = 1;
count            2821 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 				single_dpm_table->count = 1;
count              97 drivers/gpu/drm/amd/powerplay/vega20_ppt.h         uint32_t                count;
count             103 drivers/gpu/drm/amd/powerplay/vega20_ppt.h         uint16_t count;
count              27 drivers/gpu/drm/arc/arcpgu_sim.c 	int count;
count              29 drivers/gpu/drm/arc/arcpgu_sim.c 	count = drm_add_modes_noedid(connector, XRES_MAX, YRES_MAX);
count              31 drivers/gpu/drm/arc/arcpgu_sim.c 	return count;
count              74 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c 				u32 count, u32 *val)
count              78 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c 	for (i = 0; i < count; i++) {
count             286 drivers/gpu/drm/arm/malidp_hw.c 	u32 status, count = 100;
count             289 drivers/gpu/drm/arm/malidp_hw.c 	while (count) {
count             298 drivers/gpu/drm/arm/malidp_hw.c 		count--;
count             300 drivers/gpu/drm/arm/malidp_hw.c 	WARN(count == 0, "timeout while entering config mode");
count             305 drivers/gpu/drm/arm/malidp_hw.c 	u32 status, count = 100;
count             309 drivers/gpu/drm/arm/malidp_hw.c 	while (count) {
count             314 drivers/gpu/drm/arm/malidp_hw.c 		count--;
count             316 drivers/gpu/drm/arm/malidp_hw.c 	WARN(count == 0, "timeout while leaving config mode");
count             598 drivers/gpu/drm/arm/malidp_hw.c 	u32 status, count = 100;
count             601 drivers/gpu/drm/arm/malidp_hw.c 	while (count) {
count             610 drivers/gpu/drm/arm/malidp_hw.c 		count--;
count             612 drivers/gpu/drm/arm/malidp_hw.c 	WARN(count == 0, "timeout while entering config mode");
count             617 drivers/gpu/drm/arm/malidp_hw.c 	u32 status, count = 100;
count             621 drivers/gpu/drm/arm/malidp_hw.c 	while (count) {
count             626 drivers/gpu/drm/arm/malidp_hw.c 		count--;
count             628 drivers/gpu/drm/arm/malidp_hw.c 	WARN(count == 0, "timeout while leaving config mode");
count             390 drivers/gpu/drm/armada/armada_gem.c 		int count;
count             392 drivers/gpu/drm/armada/armada_gem.c 		count = dobj->obj.size / PAGE_SIZE;
count             393 drivers/gpu/drm/armada/armada_gem.c 		if (sg_alloc_table(sgt, count, GFP_KERNEL))
count             398 drivers/gpu/drm/armada/armada_gem.c 		for_each_sg(sgt->sgl, sg, count, i) {
count             962 drivers/gpu/drm/ast/ast_mode.c 	uint32_t val, val2, count, pass;
count             964 drivers/gpu/drm/ast/ast_mode.c 	count = 0;
count             975 drivers/gpu/drm/ast/ast_mode.c 	} while ((pass < 5) && (count++ < 0x10000));
count             984 drivers/gpu/drm/ast/ast_mode.c 	uint32_t val, val2, count, pass;
count             986 drivers/gpu/drm/ast/ast_mode.c 	count = 0;
count             997 drivers/gpu/drm/ast/ast_mode.c 	} while ((pass < 5) && (count++ < 0x10000));
count             105 drivers/gpu/drm/bochs/bochs_kms.c 	int count = 0;
count             108 drivers/gpu/drm/bochs/bochs_kms.c 		count = drm_add_edid_modes(connector, bochs->edid);
count             110 drivers/gpu/drm/bochs/bochs_kms.c 	if (!count) {
count             111 drivers/gpu/drm/bochs/bochs_kms.c 		count = drm_add_modes_noedid(connector, 8192, 8192);
count             114 drivers/gpu/drm/bochs/bochs_kms.c 	return count;
count             596 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c 	unsigned int count;
count             617 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c 	count = drm_add_edid_modes(connector, edid);
count             626 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c 	return count;
count             210 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h void analogix_dp_set_lane_count(struct analogix_dp_device *dp, u32 count);
count             211 drivers/gpu/drm/bridge/analogix/analogix_dp_core.h void analogix_dp_get_lane_count(struct analogix_dp_device *dp, u32 *count);
count             632 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c void analogix_dp_set_lane_count(struct analogix_dp_device *dp, u32 count)
count             636 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c 	reg = count;
count             640 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c void analogix_dp_get_lane_count(struct analogix_dp_device *dp, u32 *count)
count             645 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c 	*count = reg;
count             472 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_update_array(u8 *dst, u8 *src, int count)
count             474 drivers/gpu/drm/bridge/sil-sii8620.c 	while (--count >= 0) {
count             670 drivers/gpu/drm/bridge/sil-sii8620.c 	int count;
count             673 drivers/gpu/drm/bridge/sil-sii8620.c 	count = get_unaligned_le16(buf);
count             674 drivers/gpu/drm/bridge/sil-sii8620.c 	while (count > 0) {
count             675 drivers/gpu/drm/bridge/sil-sii8620.c 		int len = min(count, 3);
count             678 drivers/gpu/drm/bridge/sil-sii8620.c 		count -= len;
count             692 drivers/gpu/drm/bridge/sil-sii8620.c 		count -= len;
count             745 drivers/gpu/drm/bridge/sil-sii8620.c 	int count = ctx->burst.rx_count;
count             747 drivers/gpu/drm/bridge/sil-sii8620.c 	while (count-- > 0) {
count             758 drivers/gpu/drm/bridge/sil-sii8620.c 		count -= len;
count            1928 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	unsigned int count;
count            1951 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		count = 4;
count            1959 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		count = 1;
count            1969 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	for (i = 0; i < count; i++)
count             304 drivers/gpu/drm/bridge/tc358767.c 	int ret, count = ALIGN(size, sizeof(u32));
count             308 drivers/gpu/drm/bridge/tc358767.c 	ret = regmap_raw_write(tc->regmap, DP0_AUXWDATA(0), auxwdata, count);
count             318 drivers/gpu/drm/bridge/tc358767.c 	int ret, count = ALIGN(size, sizeof(u32));
count             320 drivers/gpu/drm/bridge/tc358767.c 	ret = regmap_raw_read(tc->regmap, DP0_AUXRDATA(0), auxrdata, count);
count            1320 drivers/gpu/drm/bridge/tc358767.c 	int count;
count            1329 drivers/gpu/drm/bridge/tc358767.c 	count = drm_panel_get_modes(tc->panel);
count            1330 drivers/gpu/drm/bridge/tc358767.c 	if (count > 0)
count            1331 drivers/gpu/drm/bridge/tc358767.c 		return count;
count            1341 drivers/gpu/drm/bridge/tc358767.c 	count = drm_add_edid_modes(connector, edid);
count            1343 drivers/gpu/drm/bridge/tc358767.c 	return count;
count             361 drivers/gpu/drm/cirrus/cirrus.c 	int count;
count             363 drivers/gpu/drm/cirrus/cirrus.c 	count = drm_add_modes_noedid(conn,
count             367 drivers/gpu/drm/cirrus/cirrus.c 	return count;
count             719 drivers/gpu/drm/drm_bufs.c 	int count;
count             732 drivers/gpu/drm/drm_bufs.c 	count = request->count;
count             744 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("count:      %d\n", count);
count             759 drivers/gpu/drm/drm_bufs.c 		    (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) {
count             784 drivers/gpu/drm/drm_bufs.c 	if (count < 0 || count > 4096) {
count             790 drivers/gpu/drm/drm_bufs.c 	entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL);
count             802 drivers/gpu/drm/drm_bufs.c 	while (entry->buf_count < count) {
count             821 drivers/gpu/drm/drm_bufs.c 			entry->buf_count = count;
count             863 drivers/gpu/drm/drm_bufs.c 	request->count = entry->buf_count;
count             878 drivers/gpu/drm/drm_bufs.c 	int count;
count             903 drivers/gpu/drm/drm_bufs.c 	count = request->count;
count             908 drivers/gpu/drm/drm_bufs.c 		  request->count, request->size, size, order);
count             934 drivers/gpu/drm/drm_bufs.c 	if (count < 0 || count > 4096) {
count             940 drivers/gpu/drm/drm_bufs.c 	entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL);
count             947 drivers/gpu/drm/drm_bufs.c 	entry->seglist = kcalloc(count, sizeof(*entry->seglist), GFP_KERNEL);
count             958 drivers/gpu/drm/drm_bufs.c 	temp_pagelist = kmalloc_array(dma->page_count + (count << page_order),
count             971 drivers/gpu/drm/drm_bufs.c 		  dma->page_count + (count << page_order));
count             978 drivers/gpu/drm/drm_bufs.c 	while (entry->buf_count < count) {
count             984 drivers/gpu/drm/drm_bufs.c 			entry->buf_count = count;
count             985 drivers/gpu/drm/drm_bufs.c 			entry->seg_count = count;
count            1001 drivers/gpu/drm/drm_bufs.c 		     offset + size <= total && entry->buf_count < count;
count            1021 drivers/gpu/drm/drm_bufs.c 				entry->buf_count = count;
count            1022 drivers/gpu/drm/drm_bufs.c 				entry->seg_count = count;
count            1068 drivers/gpu/drm/drm_bufs.c 	request->count = entry->buf_count;
count            1088 drivers/gpu/drm/drm_bufs.c 	int count;
count            1107 drivers/gpu/drm/drm_bufs.c 	count = request->count;
count            1119 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("count:      %d\n", count);
count            1146 drivers/gpu/drm/drm_bufs.c 	if (count < 0 || count > 4096) {
count            1152 drivers/gpu/drm/drm_bufs.c 	entry->buflist = kcalloc(count, sizeof(*entry->buflist), GFP_KERNEL);
count            1164 drivers/gpu/drm/drm_bufs.c 	while (entry->buf_count < count) {
count            1184 drivers/gpu/drm/drm_bufs.c 			entry->buf_count = count;
count            1226 drivers/gpu/drm/drm_bufs.c 	request->count = entry->buf_count;
count            1299 drivers/gpu/drm/drm_bufs.c 	int count;
count            1318 drivers/gpu/drm/drm_bufs.c 	for (i = 0, count = 0; i < DRM_MAX_ORDER + 1; i++) {
count            1320 drivers/gpu/drm/drm_bufs.c 			++count;
count            1323 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("count = %d\n", count);
count            1325 drivers/gpu/drm/drm_bufs.c 	if (*p >= count) {
count            1326 drivers/gpu/drm/drm_bufs.c 		for (i = 0, count = 0; i < DRM_MAX_ORDER + 1; i++) {
count            1329 drivers/gpu/drm/drm_bufs.c 				if (f(data, count, from) < 0)
count            1337 drivers/gpu/drm/drm_bufs.c 				++count;
count            1341 drivers/gpu/drm/drm_bufs.c 	*p = count;
count            1346 drivers/gpu/drm/drm_bufs.c static int copy_one_buf(void *data, int count, struct drm_buf_entry *from)
count            1349 drivers/gpu/drm/drm_bufs.c 	struct drm_buf_desc __user *to = &request->list[count];
count            1350 drivers/gpu/drm/drm_bufs.c 	struct drm_buf_desc v = {.count = from->buf_count,
count            1364 drivers/gpu/drm/drm_bufs.c 	return __drm_legacy_infobufs(dev, data, &request->count, copy_one_buf);
count            1446 drivers/gpu/drm/drm_bufs.c 	DRM_DEBUG("%d\n", request->count);
count            1447 drivers/gpu/drm/drm_bufs.c 	for (i = 0; i < request->count; i++) {
count            1575 drivers/gpu/drm/drm_bufs.c 	return __drm_legacy_mapbufs(dev, data, &request->count,
count             235 drivers/gpu/drm/drm_client_modeset.c 	int count, i, j;
count             243 drivers/gpu/drm/drm_client_modeset.c 	count = 0;
count             246 drivers/gpu/drm/drm_client_modeset.c 			count++;
count             250 drivers/gpu/drm/drm_client_modeset.c 	if (count <= 1)
count             511 drivers/gpu/drm/drm_client_modeset.c 	unsigned int count = min_t(unsigned int, connector_count, BITS_PER_LONG);
count             524 drivers/gpu/drm/drm_client_modeset.c 	save_enabled = kcalloc(count, sizeof(bool), GFP_KERNEL);
count             533 drivers/gpu/drm/drm_client_modeset.c 	memcpy(save_enabled, enabled, count);
count             534 drivers/gpu/drm/drm_client_modeset.c 	mask = GENMASK(count - 1, 0);
count             538 drivers/gpu/drm/drm_client_modeset.c 	for (i = 0; i < count; i++) {
count             589 drivers/gpu/drm/drm_client_modeset.c 		for (j = 0; j < count; j++) {
count             667 drivers/gpu/drm/drm_client_modeset.c 		memcpy(enabled, save_enabled, count);
count             341 drivers/gpu/drm/drm_context.c 	if (res->count >= DRM_RESERVED_CONTEXTS) {
count             349 drivers/gpu/drm/drm_context.c 	res->count = DRM_RESERVED_CONTEXTS;
count             510 drivers/gpu/drm/drm_crtc_helper.c 	int count = 0, ro, fail = 0;
count             569 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             571 drivers/gpu/drm/drm_crtc_helper.c 		save_encoder_crtcs[count++] = encoder->crtc;
count             574 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             577 drivers/gpu/drm/drm_crtc_helper.c 		save_connector_encoders[count++] = connector->encoder;
count             619 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             661 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             747 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             749 drivers/gpu/drm/drm_crtc_helper.c 		encoder->crtc = save_encoder_crtcs[count++];
count             752 drivers/gpu/drm/drm_crtc_helper.c 	count = 0;
count             755 drivers/gpu/drm/drm_crtc_helper.c 		connector->encoder = save_connector_encoders[count++];
count             175 drivers/gpu/drm/drm_debugfs.c int drm_debugfs_create_files(const struct drm_info_list *files, int count,
count             182 drivers/gpu/drm/drm_debugfs.c 	for (i = 0; i < count; i++) {
count             262 drivers/gpu/drm/drm_debugfs.c int drm_debugfs_remove_files(const struct drm_info_list *files, int count,
count             270 drivers/gpu/drm/drm_debugfs.c 	for (i = 0; i < count; i++) {
count              88 drivers/gpu/drm/drm_debugfs_crc.c 		size_t count;
count              90 drivers/gpu/drm/drm_debugfs_crc.c 									&count);
count              94 drivers/gpu/drm/drm_debugfs_crc.c 		if (count == 0 || !sources)
count              97 drivers/gpu/drm/drm_debugfs_crc.c 		for (i = 0; i < count; i++)
count             278 drivers/gpu/drm/drm_debugfs_crc.c 			     size_t count, loff_t *pos)
count             312 drivers/gpu/drm/drm_debugfs_crc.c 	if (count < LINE_LEN(crc->values_cnt)) {
count            1014 drivers/gpu/drm/drm_dp_helper.c 	u8 buf, count;
count            1027 drivers/gpu/drm/drm_dp_helper.c 	count = buf & DP_TEST_COUNT_MASK;
count            1028 drivers/gpu/drm/drm_dp_helper.c 	if (count == aux->crc_count)
count            1031 drivers/gpu/drm/drm_dp_helper.c 	aux->crc_count = count;
count            3512 drivers/gpu/drm/drm_dp_mst_topology.c 	int count = 0;
count            3524 drivers/gpu/drm/drm_dp_mst_topology.c 		count++;
count            3527 drivers/gpu/drm/drm_dp_mst_topology.c 	} while (count < 30);
count            3530 drivers/gpu/drm/drm_dp_mst_topology.c 		DRM_DEBUG_KMS("failed to get ACT bit %d after %d retries\n", status, count);
count            3813 drivers/gpu/drm/drm_edid.c 	u8 count;
count            3838 drivers/gpu/drm/drm_edid.c 	for (count = 0; count < map_len; count++)
count            3839 drivers/gpu/drm/drm_edid.c 		map |= (u64)db[2 + count] << (8 * count);
count            4183 drivers/gpu/drm/drm_edid.c 	int count = 0;
count            4210 drivers/gpu/drm/drm_edid.c 			count = dbl / 3; /* SAD is 3B */
count            4211 drivers/gpu/drm/drm_edid.c 			*sads = kcalloc(count, sizeof(**sads), GFP_KERNEL);
count            4214 drivers/gpu/drm/drm_edid.c 			for (j = 0; j < count; j++) {
count            4226 drivers/gpu/drm/drm_edid.c 	return count;
count            4244 drivers/gpu/drm/drm_edid.c 	int count = 0;
count            4275 drivers/gpu/drm/drm_edid.c 				count = dbl;
count            4281 drivers/gpu/drm/drm_edid.c 	return count;
count            4934 drivers/gpu/drm/drm_edid.c 	int i, count, num_modes = 0;
count            4938 drivers/gpu/drm/drm_edid.c 	count = ARRAY_SIZE(drm_dmt_modes);
count            4944 drivers/gpu/drm/drm_edid.c 	for (i = 0; i < count; i++) {
count             734 drivers/gpu/drm/drm_fb_helper.c 			       size_t count, loff_t *ppos)
count             736 drivers/gpu/drm/drm_fb_helper.c 	return fb_sys_read(info, buf, count, ppos);
count             750 drivers/gpu/drm/drm_fb_helper.c 				size_t count, loff_t *ppos)
count             754 drivers/gpu/drm/drm_fb_helper.c 	ret = fb_sys_write(info, buf, count, ppos);
count             483 drivers/gpu/drm/drm_file.c 		 size_t count, loff_t *offset)
count             489 drivers/gpu/drm/drm_file.c 	if (!access_ok(buffer, count))
count             527 drivers/gpu/drm/drm_file.c 			if (length > count - ret) {
count             656 drivers/gpu/drm/drm_gem.c static int objects_lookup(struct drm_file *filp, u32 *handle, int count,
count             664 drivers/gpu/drm/drm_gem.c 	for (i = 0; i < count; i++) {
count             699 drivers/gpu/drm/drm_gem.c 			   int count, struct drm_gem_object ***objs_out)
count             705 drivers/gpu/drm/drm_gem.c 	if (!count)
count             708 drivers/gpu/drm/drm_gem.c 	objs = kvmalloc_array(count, sizeof(struct drm_gem_object *),
count             713 drivers/gpu/drm/drm_gem.c 	handles = kvmalloc_array(count, sizeof(u32), GFP_KERNEL);
count             719 drivers/gpu/drm/drm_gem.c 	if (copy_from_user(handles, bo_handles, count * sizeof(u32))) {
count             725 drivers/gpu/drm/drm_gem.c 	ret = objects_lookup(filp, handles, count, objs);
count            1282 drivers/gpu/drm/drm_gem.c drm_gem_lock_reservations(struct drm_gem_object **objs, int count,
count            1302 drivers/gpu/drm/drm_gem.c 	for (i = 0; i < count; i++) {
count            1334 drivers/gpu/drm/drm_gem.c drm_gem_unlock_reservations(struct drm_gem_object **objs, int count,
count            1339 drivers/gpu/drm/drm_gem.c 	for (i = 0; i < count; i++)
count              68 drivers/gpu/drm/drm_hashtab.c 	int count = 0;
count              74 drivers/gpu/drm/drm_hashtab.c 		DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key);
count              94 drivers/gpu/drm/drm_hdcp.c static int drm_hdcp_parse_hdcp1_srm(const u8 *buf, size_t count)
count              99 drivers/gpu/drm/drm_hdcp.c 	if (count < (sizeof(struct hdcp_srm_header) +
count             114 drivers/gpu/drm/drm_hdcp.c 	if (count < (sizeof(struct hdcp_srm_header) + vrl_length) ||
count             134 drivers/gpu/drm/drm_hdcp.c 		return count;
count             153 drivers/gpu/drm/drm_hdcp.c 	return count;
count             156 drivers/gpu/drm/drm_hdcp.c static int drm_hdcp_parse_hdcp2_srm(const u8 *buf, size_t count)
count             161 drivers/gpu/drm/drm_hdcp.c 	if (count < (sizeof(struct hdcp_srm_header) +
count             178 drivers/gpu/drm/drm_hdcp.c 	if (count < (sizeof(struct hdcp_srm_header) + vrl_length) ||
count             198 drivers/gpu/drm/drm_hdcp.c 		return count;
count             216 drivers/gpu/drm/drm_hdcp.c 	return count;
count             229 drivers/gpu/drm/drm_hdcp.c static void drm_hdcp_srm_update(const u8 *buf, size_t count)
count             231 drivers/gpu/drm/drm_hdcp.c 	if (count < sizeof(struct hdcp_srm_header))
count             235 drivers/gpu/drm/drm_hdcp.c 		drm_hdcp_parse_hdcp1_srm(buf, count);
count             237 drivers/gpu/drm/drm_hdcp.c 		drm_hdcp_parse_hdcp2_srm(buf, count);
count             287 drivers/gpu/drm/drm_ioc32.c 	u32 count;
count             311 drivers/gpu/drm/drm_ioc32.c 	int count;		 /* Number of buffers of this size */
count             331 drivers/gpu/drm/drm_ioc32.c 		desc32.count, desc32.size, desc32.low_mark, desc32.high_mark,
count             341 drivers/gpu/drm/drm_ioc32.c 		desc.count, desc.size, desc.low_mark, desc.high_mark,
count             369 drivers/gpu/drm/drm_ioc32.c 	int count;		/**< Entries in list */
count             373 drivers/gpu/drm/drm_ioc32.c static int copy_one_buf32(void *data, int count, struct drm_buf_entry *from)
count             377 drivers/gpu/drm/drm_ioc32.c 	drm_buf_desc32_t v = {.count = from->buf_count,
count             382 drivers/gpu/drm/drm_ioc32.c 	if (copy_to_user(to + count, &v, offsetof(drm_buf_desc32_t, flags)))
count             391 drivers/gpu/drm/drm_ioc32.c 	return __drm_legacy_infobufs(dev, data, &request->count, copy_one_buf32);
count             404 drivers/gpu/drm/drm_ioc32.c 	if (req32.count < 0)
count             405 drivers/gpu/drm/drm_ioc32.c 		req32.count = 0;
count             411 drivers/gpu/drm/drm_ioc32.c 	if (put_user(req32.count, &argp->count))
count             425 drivers/gpu/drm/drm_ioc32.c 	int count;		/**< Length of the buffer list */
count             451 drivers/gpu/drm/drm_ioc32.c 	int err = __drm_legacy_mapbufs(dev, data, &request->count,
count             467 drivers/gpu/drm/drm_ioc32.c 	if (req32.count < 0)
count             474 drivers/gpu/drm/drm_ioc32.c 	if (put_user(req32.count, &argp->count)
count             482 drivers/gpu/drm/drm_ioc32.c 	int count;
count             496 drivers/gpu/drm/drm_ioc32.c 	request.count = req32.count;
count             546 drivers/gpu/drm/drm_ioc32.c 	int count;
count             561 drivers/gpu/drm/drm_ioc32.c 	res.count = res32.count;
count             567 drivers/gpu/drm/drm_ioc32.c 	res32.count = res.count;
count             609 drivers/gpu/drm/drm_lease.c 	int count;
count             623 drivers/gpu/drm/drm_lease.c 	count = 0;
count             627 drivers/gpu/drm/drm_lease.c 			if (count_lessees > count) {
count             629 drivers/gpu/drm/drm_lease.c 				ret = put_user(lessee->lessee_id, lessee_ids + count);
count             633 drivers/gpu/drm/drm_lease.c 			count++;
count             637 drivers/gpu/drm/drm_lease.c 	DRM_DEBUG_LEASE("Lessor leases to %d\n", count);
count             639 drivers/gpu/drm/drm_lease.c 		arg->count_lessees = count;
count             663 drivers/gpu/drm/drm_lease.c 	int count;
count             686 drivers/gpu/drm/drm_lease.c 	count = 0;
count             688 drivers/gpu/drm/drm_lease.c 		if (count_objects > count) {
count             690 drivers/gpu/drm/drm_lease.c 			ret = put_user(object, object_ids + count);
count             694 drivers/gpu/drm/drm_lease.c 		count++;
count             697 drivers/gpu/drm/drm_lease.c 	DRM_DEBUG("lease holds %d objects\n", count);
count             699 drivers/gpu/drm/drm_lease.c 		arg->count_objects = count;
count            1184 drivers/gpu/drm/drm_mipi_dbi.c 					      size_t count, loff_t *ppos)
count            1195 drivers/gpu/drm/drm_mipi_dbi.c 	buf = memdup_user_nul(ubuf, count);
count            1202 drivers/gpu/drm/drm_mipi_dbi.c 	for (i = count - 1; i > 0; i--)
count            1238 drivers/gpu/drm/drm_mipi_dbi.c 	return ret < 0 ? ret : count;
count              96 drivers/gpu/drm/drm_mode_config.c 	int count, ret = 0;
count             107 drivers/gpu/drm/drm_mode_config.c 	count = 0;
count             110 drivers/gpu/drm/drm_mode_config.c 		if (count < card_res->count_fbs &&
count             111 drivers/gpu/drm/drm_mode_config.c 		    put_user(fb->base.id, fb_id + count)) {
count             115 drivers/gpu/drm/drm_mode_config.c 		count++;
count             117 drivers/gpu/drm/drm_mode_config.c 	card_res->count_fbs = count;
count             125 drivers/gpu/drm/drm_mode_config.c 	count = 0;
count             129 drivers/gpu/drm/drm_mode_config.c 			if (count < card_res->count_crtcs &&
count             130 drivers/gpu/drm/drm_mode_config.c 			    put_user(crtc->base.id, crtc_id + count))
count             132 drivers/gpu/drm/drm_mode_config.c 			count++;
count             135 drivers/gpu/drm/drm_mode_config.c 	card_res->count_crtcs = count;
count             137 drivers/gpu/drm/drm_mode_config.c 	count = 0;
count             140 drivers/gpu/drm/drm_mode_config.c 		if (count < card_res->count_encoders &&
count             141 drivers/gpu/drm/drm_mode_config.c 		    put_user(encoder->base.id, encoder_id + count))
count             143 drivers/gpu/drm/drm_mode_config.c 		count++;
count             145 drivers/gpu/drm/drm_mode_config.c 	card_res->count_encoders = count;
count             148 drivers/gpu/drm/drm_mode_config.c 	count = 0;
count             157 drivers/gpu/drm/drm_mode_config.c 			if (count < card_res->count_connectors &&
count             158 drivers/gpu/drm/drm_mode_config.c 			    put_user(connector->base.id, connector_id + count)) {
count             162 drivers/gpu/drm/drm_mode_config.c 			count++;
count             165 drivers/gpu/drm/drm_mode_config.c 	card_res->count_connectors = count;
count             232 drivers/gpu/drm/drm_mode_object.c 	int count = obj->properties->count;
count             234 drivers/gpu/drm/drm_mode_object.c 	if (count == DRM_OBJECT_MAX_PROPERTY) {
count             242 drivers/gpu/drm/drm_mode_object.c 	obj->properties->properties[count] = property;
count             243 drivers/gpu/drm/drm_mode_object.c 	obj->properties->values[count] = init_val;
count             244 drivers/gpu/drm/drm_mode_object.c 	obj->properties->count++;
count             275 drivers/gpu/drm/drm_mode_object.c 	for (i = 0; i < obj->properties->count; i++) {
count             300 drivers/gpu/drm/drm_mode_object.c 	for (i = 0; i < obj->properties->count; i++) {
count             343 drivers/gpu/drm/drm_mode_object.c 	int i, ret, count;
count             345 drivers/gpu/drm/drm_mode_object.c 	for (i = 0, count = 0; i < obj->properties->count; i++) {
count             352 drivers/gpu/drm/drm_mode_object.c 		if (*arg_count_props > count) {
count             357 drivers/gpu/drm/drm_mode_object.c 			if (put_user(prop->base.id, prop_ptr + count))
count             360 drivers/gpu/drm/drm_mode_object.c 			if (put_user(val, prop_values + count))
count             364 drivers/gpu/drm/drm_mode_object.c 		count++;
count             366 drivers/gpu/drm/drm_mode_object.c 	*arg_count_props = count;
count             425 drivers/gpu/drm/drm_mode_object.c 	for (i = 0; i < obj->properties->count; i++)
count             480 drivers/gpu/drm/drm_plane.c 	int count = 0;
count             501 drivers/gpu/drm/drm_plane.c 			if (count < plane_resp->count_planes &&
count             502 drivers/gpu/drm/drm_plane.c 			    put_user(plane->base.id, plane_ptr + count))
count             504 drivers/gpu/drm/drm_plane.c 			count++;
count             507 drivers/gpu/drm/drm_plane.c 	plane_resp->count_planes = count;
count              78 drivers/gpu/drm/drm_plane_helper.c 	int count = 0;
count              90 drivers/gpu/drm/drm_plane_helper.c 			if (connector_list != NULL && count < num_connectors)
count              93 drivers/gpu/drm/drm_plane_helper.c 			count++;
count              98 drivers/gpu/drm/drm_plane_helper.c 	return count;
count             950 drivers/gpu/drm/drm_prime.c 	unsigned count;
count             957 drivers/gpu/drm/drm_prime.c 	for_each_sg(sgt->sgl, sg, sgt->nents, count) {
count             395 drivers/gpu/drm/drm_probe_helper.c 	int count = 0, ret;
count             481 drivers/gpu/drm/drm_probe_helper.c 	count = (*connector_funcs->get_modes)(connector);
count             487 drivers/gpu/drm/drm_probe_helper.c 	if (count == 0 && connector->status == connector_status_connected)
count             488 drivers/gpu/drm/drm_probe_helper.c 		count = drm_add_override_edid_modes(connector);
count             490 drivers/gpu/drm/drm_probe_helper.c 	if (count == 0 && connector->status == connector_status_connected)
count             491 drivers/gpu/drm/drm_probe_helper.c 		count = drm_add_modes_noedid(connector, 1024, 768);
count             492 drivers/gpu/drm/drm_probe_helper.c 	count += drm_helper_probe_add_cmdline_mode(connector);
count             493 drivers/gpu/drm/drm_probe_helper.c 	if (count == 0)
count             545 drivers/gpu/drm/drm_probe_helper.c 	return count;
count             871 drivers/gpu/drm/drm_syncobj.c 						  uint32_t count,
count             881 drivers/gpu/drm/drm_syncobj.c 	points = kmalloc_array(count, sizeof(*points), GFP_KERNEL);
count             886 drivers/gpu/drm/drm_syncobj.c 		memset(points, 0, count * sizeof(uint64_t));
count             889 drivers/gpu/drm/drm_syncobj.c 				  sizeof(uint64_t) * count)) {
count             894 drivers/gpu/drm/drm_syncobj.c 	entries = kcalloc(count, sizeof(*entries), GFP_KERNEL);
count             905 drivers/gpu/drm/drm_syncobj.c 	for (i = 0; i < count; ++i) {
count             934 drivers/gpu/drm/drm_syncobj.c 	if (signaled_count == count ||
count             947 drivers/gpu/drm/drm_syncobj.c 		for (i = 0; i < count; ++i)
count             955 drivers/gpu/drm/drm_syncobj.c 		for (i = 0; i < count; ++i) {
count             977 drivers/gpu/drm/drm_syncobj.c 		if (signaled_count == count)
count             997 drivers/gpu/drm/drm_syncobj.c 	for (i = 0; i < count; ++i) {
count            1126 drivers/gpu/drm/drm_syncobj.c 				   uint32_t count)
count            1129 drivers/gpu/drm/drm_syncobj.c 	for (i = 0; i < count; i++)
count             112 drivers/gpu/drm/drm_sysfs.c 			   const char *buf, size_t count)
count             149 drivers/gpu/drm/drm_sysfs.c 	return ret ? ret : count;
count             192 drivers/gpu/drm/drm_sysfs.c 			 size_t count)
count             212 drivers/gpu/drm/drm_sysfs.c 	if (off + count > size)
count             213 drivers/gpu/drm/drm_sysfs.c 		count = size - off;
count             214 drivers/gpu/drm/drm_sysfs.c 	memcpy(buf, edid + off, count);
count             216 drivers/gpu/drm/drm_sysfs.c 	ret = count;
count             109 drivers/gpu/drm/drm_vblank.c 	vblank->count += vblank_count_inc;
count             162 drivers/gpu/drm/drm_vblank.c 	int count = DRM_TIMESTAMP_MAXRETRIES;
count             173 drivers/gpu/drm/drm_vblank.c 	} while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0);
count             211 drivers/gpu/drm/drm_vblank.c 	int count = DRM_TIMESTAMP_MAXRETRIES;
count             230 drivers/gpu/drm/drm_vblank.c 	} while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0);
count             275 drivers/gpu/drm/drm_vblank.c 		      pipe, vblank->count, diff, cur_vblank, vblank->last);
count             301 drivers/gpu/drm/drm_vblank.c 	return vblank->count;
count             803 drivers/gpu/drm/drm_vblank.c 		vblank_count = vblank->count;
count            1317 drivers/gpu/drm/drm_vblank.c 	int count = DRM_TIMESTAMP_MAXRETRIES;
count            1333 drivers/gpu/drm/drm_vblank.c 	} while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0);
count             487 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	int count = 0;
count             496 drivers/gpu/drm/etnaviv/etnaviv_gem.c 		count++;
count             501 drivers/gpu/drm/etnaviv/etnaviv_gem.c 	seq_printf(m, "Total %d objects, %zu bytes\n", count, size);
count              61 drivers/gpu/drm/exynos/exynos_drm_fb.c 			    int count)
count              71 drivers/gpu/drm/exynos/exynos_drm_fb.c 	for (i = 0; i < count; i++) {
count              19 drivers/gpu/drm/exynos/exynos_drm_fb.h 			    int count);
count             382 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	int count = GSC_RESET_TIMEOUT;
count             389 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	while (count--) {
count             110 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	unsigned int count = num_ipp, copied = 0;
count             116 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	if (count && resp->count_ipps >= count) {
count             123 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	resp->count_ipps = count;
count              84 drivers/gpu/drm/exynos/exynos_hdmi.c 	int count;
count              89 drivers/gpu/drm/exynos/exynos_hdmi.c 	int count;
count              93 drivers/gpu/drm/exynos/exynos_hdmi.c #define INIT_ARRAY_SPEC(a) { .count = ARRAY_SIZE(a), .data = a }
count             740 drivers/gpu/drm/exynos/exynos_hdmi.c 	for (i = 0; i < hdata->drv_data->clk_gates.count; ++i) {
count             757 drivers/gpu/drm/exynos/exynos_hdmi.c 	int i = hdata->drv_data->clk_gates.count;
count             769 drivers/gpu/drm/exynos/exynos_hdmi.c 	for (i = 0; i < hdata->drv_data->clk_muxes.count; i += 3) {
count             905 drivers/gpu/drm/exynos/exynos_hdmi.c 	for (i = 0; i < confs->count; i++)
count            1683 drivers/gpu/drm/exynos/exynos_hdmi.c 	for (i = 0; i < names->count; ++i) {
count            1704 drivers/gpu/drm/exynos/exynos_hdmi.c 	int count = drv_data->clk_gates.count + drv_data->clk_muxes.count;
count            1709 drivers/gpu/drm/exynos/exynos_hdmi.c 	if (!count)
count            1712 drivers/gpu/drm/exynos/exynos_hdmi.c 	clks = devm_kcalloc(dev, count, sizeof(*clks), GFP_KERNEL);
count            1717 drivers/gpu/drm/exynos/exynos_hdmi.c 	hdata->clk_muxes = clks + drv_data->clk_gates.count;
count             329 drivers/gpu/drm/gma500/intel_bios.c 	int i, child_device_num, count;
count             352 drivers/gpu/drm/gma500/intel_bios.c 	count = 0;
count             402 drivers/gpu/drm/gma500/intel_bios.c 		count++;
count             405 drivers/gpu/drm/gma500/intel_bios.c 	if (!count) {
count             442 drivers/gpu/drm/gma500/intel_bios.c 	int i, child_device_num, count;
count             465 drivers/gpu/drm/gma500/intel_bios.c 	count = 0;
count             473 drivers/gpu/drm/gma500/intel_bios.c 		count++;
count             475 drivers/gpu/drm/gma500/intel_bios.c 	if (!count) {
count             479 drivers/gpu/drm/gma500/intel_bios.c 	dev_priv->child_dev = kcalloc(count, sizeof(*p_child), GFP_KERNEL);
count             485 drivers/gpu/drm/gma500/intel_bios.c 	dev_priv->child_dev_num = count;
count             486 drivers/gpu/drm/gma500/intel_bios.c 	count = 0;
count             493 drivers/gpu/drm/gma500/intel_bios.c 		child_dev_ptr = dev_priv->child_dev + count;
count             494 drivers/gpu/drm/gma500/intel_bios.c 		count++;
count              46 drivers/gpu/drm/gma500/mdfld_intel_display.c 	int count, temp;
count              63 drivers/gpu/drm/gma500/mdfld_intel_display.c 	for (count = 0; count < COUNT_MAX; count++) {
count              74 drivers/gpu/drm/gma500/mdfld_intel_display.c 	int count, temp;
count              91 drivers/gpu/drm/gma500/mdfld_intel_display.c 	for (count = 0; count < COUNT_MAX; count++) {
count             309 drivers/gpu/drm/gma500/mmu.c 	pt->count = 0;
count             379 drivers/gpu/drm/gma500/mmu.c 	if (pt->count == 0) {
count             576 drivers/gpu/drm/gma500/mmu.c 			--pt->count;
count             632 drivers/gpu/drm/gma500/mmu.c 				--pt->count;
count             677 drivers/gpu/drm/gma500/mmu.c 			pt->count++;
count             740 drivers/gpu/drm/gma500/mmu.c 				pt->count++;
count              38 drivers/gpu/drm/gma500/mmu.h 	uint32_t count;
count             618 drivers/gpu/drm/gma500/psb_irq.c 	uint32_t high1 = 0, high2 = 0, low = 0, count = 0;
count             663 drivers/gpu/drm/gma500/psb_irq.c 	count = (high1 << 8) | low;
count             669 drivers/gpu/drm/gma500/psb_irq.c 	return count;
count             288 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c 	int count = ARRAY_SIZE(hibmc_pll_table);
count             290 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c 	for (i = 0; i < count; i++) {
count              89 drivers/gpu/drm/i915/display/intel_acpi.c 	for (i = 1; i < pkg->package.count; i++) {
count             453 drivers/gpu/drm/i915/display/intel_bios.c 	int i, count = 0;
count             464 drivers/gpu/drm/i915/display/intel_bios.c 	for (i = 0, count = 0; i < dev_priv->vbt.child_dev_num; i++) {
count             510 drivers/gpu/drm/i915/display/intel_bios.c 		count++;
count             513 drivers/gpu/drm/i915/display/intel_bios.c 	if (!count) {
count            1595 drivers/gpu/drm/i915/display/intel_bios.c 	int i, child_device_num, count;
count            1651 drivers/gpu/drm/i915/display/intel_bios.c 	count = 0;
count            1657 drivers/gpu/drm/i915/display/intel_bios.c 		count++;
count            1659 drivers/gpu/drm/i915/display/intel_bios.c 	if (!count) {
count            1663 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.child_dev = kcalloc(count, sizeof(*child), GFP_KERNEL);
count            1669 drivers/gpu/drm/i915/display/intel_bios.c 	dev_priv->vbt.child_dev_num = count;
count            1670 drivers/gpu/drm/i915/display/intel_bios.c 	count = 0;
count            1684 drivers/gpu/drm/i915/display/intel_bios.c 		memcpy(dev_priv->vbt.child_dev + count, child,
count            1686 drivers/gpu/drm/i915/display/intel_bios.c 		count++;
count             694 drivers/gpu/drm/i915/display/intel_crt.c 		int count, detect;
count             729 drivers/gpu/drm/i915/display/intel_crt.c 		count = 0;
count             731 drivers/gpu/drm/i915/display/intel_crt.c 			count++;
count             747 drivers/gpu/drm/i915/display/intel_crt.c 		status = detect * 4 > count * 3 ?
count             195 drivers/gpu/drm/i915/display/intel_display_power.c 	if (!power_well->count++)
count             202 drivers/gpu/drm/i915/display/intel_display_power.c 	WARN(!power_well->count, "Use count on power well %s is already zero",
count             205 drivers/gpu/drm/i915/display/intel_display_power.c 	if (!--power_well->count)
count             525 drivers/gpu/drm/i915/display/intel_display_power.c 	WARN_ON(refs > power_well->count);
count             539 drivers/gpu/drm/i915/display/intel_display_power.c 	    power_well->count)
count             935 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->count > 0)
count             939 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->count > 0)
count             945 drivers/gpu/drm/i915/display/intel_display_power.c 		if (power_well->count > 0)
count            1050 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->count > 0)
count            5112 drivers/gpu/drm/i915/display/intel_display_power.c 				 power_well->desc->name, power_well->count);
count            5149 drivers/gpu/drm/i915/display/intel_display_power.c 		if ((power_well->count || power_well->desc->always_on) !=
count            5153 drivers/gpu/drm/i915/display/intel_display_power.c 				  power_well->count, enabled);
count            5159 drivers/gpu/drm/i915/display/intel_display_power.c 		if (power_well->count != domains_count) {
count            5162 drivers/gpu/drm/i915/display/intel_display_power.c 				  power_well->desc->name, power_well->count,
count             206 drivers/gpu/drm/i915/display/intel_display_power.h 	int count;
count            1732 drivers/gpu/drm/i915/display/intel_dp.c 	int i, count = 0;
count            1736 drivers/gpu/drm/i915/display/intel_dp.c 		count = ARRAY_SIZE(g4x_dpll);
count            1739 drivers/gpu/drm/i915/display/intel_dp.c 		count = ARRAY_SIZE(pch_dpll);
count            1742 drivers/gpu/drm/i915/display/intel_dp.c 		count = ARRAY_SIZE(chv_dpll);
count            1745 drivers/gpu/drm/i915/display/intel_dp.c 		count = ARRAY_SIZE(vlv_dpll);
count            1748 drivers/gpu/drm/i915/display/intel_dp.c 	if (divisor && count) {
count            1749 drivers/gpu/drm/i915/display/intel_dp.c 		for (i = 0; i < count; i++) {
count            4331 drivers/gpu/drm/i915/display/intel_dp.c 		u8 count;
count            4334 drivers/gpu/drm/i915/display/intel_dp.c 		r = drm_dp_dpcd_readb(&intel_dp->aux, DP_SINK_COUNT, &count);
count            4343 drivers/gpu/drm/i915/display/intel_dp.c 		intel_dp->sink_count = DP_GET_SINK_COUNT(count);
count             216 drivers/gpu/drm/i915/display/intel_dpio_phy.c bxt_get_phy_list(struct drm_i915_private *dev_priv, int *count)
count             219 drivers/gpu/drm/i915/display/intel_dpio_phy.c 		*count =  ARRAY_SIZE(glk_ddi_phy_info);
count             222 drivers/gpu/drm/i915/display/intel_dpio_phy.c 		*count =  ARRAY_SIZE(bxt_ddi_phy_info);
count             230 drivers/gpu/drm/i915/display/intel_dpio_phy.c 	int count;
count             232 drivers/gpu/drm/i915/display/intel_dpio_phy.c 		bxt_get_phy_list(dev_priv, &count);
count             241 drivers/gpu/drm/i915/display/intel_dpio_phy.c 	int i, count;
count             243 drivers/gpu/drm/i915/display/intel_dpio_phy.c 	phys = bxt_get_phy_list(dev_priv, &count);
count             245 drivers/gpu/drm/i915/display/intel_dpio_phy.c 	for (i = 0; i < count; i++) {
count             168 drivers/gpu/drm/i915/display/intel_hotplug.c 		hpd->stats[pin].count = 0;
count             171 drivers/gpu/drm/i915/display/intel_hotplug.c 	hpd->stats[pin].count += increment;
count             172 drivers/gpu/drm/i915/display/intel_hotplug.c 	if (hpd->stats[pin].count > threshold) {
count             178 drivers/gpu/drm/i915/display/intel_hotplug.c 			      hpd->stats[pin].count);
count             578 drivers/gpu/drm/i915/display/intel_hotplug.c 		dev_priv->hotplug.stats[i].count = 0;
count             560 drivers/gpu/drm/i915/display/intel_pipe_crc.c 					      size_t *count)
count             562 drivers/gpu/drm/i915/display/intel_pipe_crc.c 	*count = ARRAY_SIZE(pipe_crc_sources);
count              21 drivers/gpu/drm/i915/display/intel_pipe_crc.h 					      size_t *count);
count            1769 drivers/gpu/drm/i915/display/intel_tv.c 	int i, count = 0;
count            1797 drivers/gpu/drm/i915/display/intel_tv.c 		if (count == 0) {
count            1808 drivers/gpu/drm/i915/display/intel_tv.c 		count++;
count            1811 drivers/gpu/drm/i915/display/intel_tv.c 	return count;
count             261 drivers/gpu/drm/i915/gem/i915_gem_context.c static void __free_engines(struct i915_gem_engines *e, unsigned int count)
count             263 drivers/gpu/drm/i915/gem/i915_gem_context.c 	while (count--) {
count             264 drivers/gpu/drm/i915/gem/i915_gem_context.c 		if (!e->engines[count])
count             267 drivers/gpu/drm/i915/gem/i915_gem_context.c 		intel_context_put(e->engines[count]);
count            1673 drivers/gpu/drm/i915/gem/i915_gem_context.c 	size_t n, count, size;
count            1689 drivers/gpu/drm/i915/gem/i915_gem_context.c 	count = e->num_engines;
count            1692 drivers/gpu/drm/i915/gem/i915_gem_context.c 	if (!check_struct_size(user, engines, count, &size)) {
count            1722 drivers/gpu/drm/i915/gem/i915_gem_context.c 	for (n = 0; n < count; n++) {
count             639 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const unsigned int count = eb->buffer_count;
count             673 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		for (i = 0; i < count; i++) {
count             852 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const unsigned int count = eb->buffer_count;
count             855 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	for (i = 0; i < count; i++) {
count            1466 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		unsigned int count =
count            1479 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		copied = __copy_from_user_inatomic(r, urelocs, count * sizeof(r[0]));
count            1486 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		remain -= count;
count            1522 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		} while (r++, --count);
count            1583 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const unsigned int count = eb->buffer_count;
count            1587 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	for (i = 0; i < count; i++) {
count            1663 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const unsigned int count = eb->buffer_count;
count            1669 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	for (i = 0; i < count; i++) {
count            1767 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		const unsigned int count = eb->buffer_count;
count            1770 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		for (i = 0; i < count; i++) {
count            1809 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const unsigned int count = eb->buffer_count;
count            1816 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	for (i = 0; i < count; i++) {
count            2739 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c static bool check_buffer_count(size_t count)
count            2749 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	return !(count < 1 || count > INT_MAX || count > SIZE_MAX / sz - 1);
count            2764 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const size_t count = args->buffer_count;
count            2768 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	if (!check_buffer_count(count)) {
count            2769 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		DRM_DEBUG("execbuf2 with %zd buffers\n", count);
count            2788 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	exec_list = kvmalloc_array(count, sizeof(*exec_list),
count            2790 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	exec2_list = kvmalloc_array(count + 1, eb_element_size(),
count            2801 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			     sizeof(*exec_list) * count);
count            2854 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	const size_t count = args->buffer_count;
count            2857 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	if (!check_buffer_count(count)) {
count            2858 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		DRM_DEBUG("execbuf2 with %zd buffers\n", count);
count            2866 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 	exec2_list = kvmalloc_array(count + 1, eb_element_size(),
count            2870 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			  count);
count            2875 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 			   sizeof(*exec2_list) * count)) {
count            2876 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		DRM_DEBUG("copy %zd exec entries failed\n", count);
count            2910 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 		if (!user_access_begin(user_exec_list, count * sizeof(*user_exec_list)))
count              23 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	u64 count;
count              32 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	count = div_u64(vma->size, block_size);
count              33 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	size = (1 + 8 * count) * sizeof(u32);
count             207 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	u64 count, rem;
count             216 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	count = div_u64(dst->size, block_size);
count             217 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c 	size = (1 + 11 * count) * sizeof(u32);
count             380 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	unsigned int idx, count;
count             407 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	count = __sg_page_count(sg);
count             409 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	while (idx + count <= n) {
count             427 drivers/gpu/drm/i915/gem/i915_gem_pages.c 		for (i = 1; i < count; i++) {
count             433 drivers/gpu/drm/i915/gem/i915_gem_pages.c 		idx += count;
count             435 drivers/gpu/drm/i915/gem/i915_gem_pages.c 		count = __sg_page_count(sg);
count             450 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	while (idx + count <= n) {
count             451 drivers/gpu/drm/i915/gem/i915_gem_pages.c 		idx += count;
count             453 drivers/gpu/drm/i915/gem/i915_gem_pages.c 		count = __sg_page_count(sg);
count             163 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 	unsigned long count = 0;
count             229 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 		while (count < target &&
count             261 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 					count += obj->base.size >> PAGE_SHIFT;
count             282 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 	return count;
count             320 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 	unsigned long count;
count             322 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 	count = READ_ONCE(i915->mm.shrink_memory) >> PAGE_SHIFT;
count             333 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 		unsigned long avg = 2 * count / num_objects;
count             340 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 	return count;
count             444 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 		unsigned long count = vma->node.size >> PAGE_SHIFT;
count             451 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c 			freed_pages += count;
count              43 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		unsigned int count, i;
count              47 drivers/gpu/drm/i915/gem/i915_gem_wait.c 							&excl, &count, &shared);
count              51 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		for (i = 0; i < count; i++) {
count              60 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		for (; i < count; i++)
count              73 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		prune_fences = count && timeout >= 0;
count             140 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		unsigned int count, i;
count             144 drivers/gpu/drm/i915/gem/i915_gem_wait.c 							&excl, &count, &shared);
count             148 drivers/gpu/drm/i915/gem/i915_gem_wait.c 		for (i = 0; i < count; i++) {
count             284 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 	unsigned long count, n;
count             297 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 	for (count = 0; count < ncachelines; count++)
count             298 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 		offsets[count] = count * 64 + 4 * (count % 16);
count             325 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 				for_each_prime_number_from(count, 1, ncachelines) {
count             333 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 					for (n = 0; n < count; n++)
count             336 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 					for (n = 0; n < count; n++) {
count             340 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 							       n, count, over->name, err);
count             345 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 					for (n = 0; n < count; n++) {
count             349 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 							       n, count, write->name, err);
count             354 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 					for (n = 0; n < count; n++) {
count             360 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 							       n, count, read->name, err);
count             366 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c 							       n, count, over->name,
count            1373 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	unsigned long count;
count            1416 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 	count = 0;
count            1453 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		count += this;
count            1456 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		count, RUNTIME_INFO(i915)->num_engines);
count              41 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 		  unsigned long count,
count              50 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 	size = (4 * count + 1) * sizeof(u32);
count              62 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 	GEM_BUG_ON(offset + (count - 1) * PAGE_SIZE > vma->node.size);
count              65 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 	for (n = 0; n < count; n++) {
count             108 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 		    unsigned long count,
count             121 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c 	batch = igt_emit_store_dw(vma, offset, count, val);
count              23 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h 		  unsigned long count,
count              30 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h 		    unsigned long count,
count            1269 drivers/gpu/drm/i915/gt/intel_engine_cs.c 			   enableddisabled(!atomic_read(&engine->execlists.tasklet.count)));
count            1374 drivers/gpu/drm/i915/gt/intel_engine_cs.c 	drm_printf(m, "\tAwake? %d\n", atomic_read(&engine->wakeref.count));
count             156 drivers/gpu/drm/i915/gt/intel_engine_types.h 	unsigned int count;
count            1035 drivers/gpu/drm/i915/gt/intel_lrc.c 	(void)I915_SELFTEST_ONLY(execlists->preempt_hang.count++);
count            2092 drivers/gpu/drm/i915/gt/intel_lrc.c static u32 *emit_lri(u32 *batch, const struct lri *lri, unsigned int count)
count            2094 drivers/gpu/drm/i915/gt/intel_lrc.c 	GEM_BUG_ON(!count || count > 63);
count            2096 drivers/gpu/drm/i915/gt/intel_lrc.c 	*batch++ = MI_LOAD_REGISTER_IMM(count);
count            2100 drivers/gpu/drm/i915/gt/intel_lrc.c 	} while (lri++, --count);
count            2379 drivers/gpu/drm/i915/gt/intel_lrc.c 		  atomic_read(&execlists->tasklet.count));
count            2662 drivers/gpu/drm/i915/gt/intel_lrc.c 		  atomic_read(&execlists->tasklet.count));
count            3709 drivers/gpu/drm/i915/gt/intel_lrc.c 			       unsigned int count)
count            3715 drivers/gpu/drm/i915/gt/intel_lrc.c 	if (count == 0)
count            3718 drivers/gpu/drm/i915/gt/intel_lrc.c 	if (count == 1)
count            3721 drivers/gpu/drm/i915/gt/intel_lrc.c 	ve = kzalloc(struct_size(ve, siblings, count), GFP_KERNEL);
count            3770 drivers/gpu/drm/i915/gt/intel_lrc.c 	for (n = 0; n < count; n++) {
count            3820 drivers/gpu/drm/i915/gt/intel_lrc.c 			 "v%dx%d", ve->base.class, count);
count            3924 drivers/gpu/drm/i915/gt/intel_lrc.c 	unsigned int count;
count            3930 drivers/gpu/drm/i915/gt/intel_lrc.c 	count = 0;
count            3932 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count++ < max - 1)
count            3938 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
count            3941 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
count            3947 drivers/gpu/drm/i915/gt/intel_lrc.c 	count = 0;
count            3956 drivers/gpu/drm/i915/gt/intel_lrc.c 			if (count++ < max - 1)
count            3963 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
count            3966 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
count            3972 drivers/gpu/drm/i915/gt/intel_lrc.c 	count = 0;
count            3979 drivers/gpu/drm/i915/gt/intel_lrc.c 			if (count++ < max - 1)
count            3986 drivers/gpu/drm/i915/gt/intel_lrc.c 		if (count > max) {
count            3989 drivers/gpu/drm/i915/gt/intel_lrc.c 				   count - max);
count             124 drivers/gpu/drm/i915/gt/intel_lrc.h 			       unsigned int count);
count              64 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (!IS_ALIGNED(wal->count, WA_LIST_CHUNK)) {
count              66 drivers/gpu/drm/i915/gt/intel_workarounds.c 					       wal->count * sizeof(*list),
count              75 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (!wal->count)
count              85 drivers/gpu/drm/i915/gt/intel_workarounds.c 	unsigned int start = 0, end = wal->count;
count              91 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (IS_ALIGNED(wal->count, grow)) { /* Either uninitialized or full. */
count              94 drivers/gpu/drm/i915/gt/intel_workarounds.c 		list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*wa),
count             102 drivers/gpu/drm/i915/gt/intel_workarounds.c 			memcpy(list, wal->list, sizeof(*wa) * wal->count);
count             134 drivers/gpu/drm/i915/gt/intel_workarounds.c 	wa_ = &wal->list[wal->count++];
count             625 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (wal->count == 0)
count             632 drivers/gpu/drm/i915/gt/intel_workarounds.c 	cs = intel_ring_begin(rq, (wal->count * 2 + 2));
count             636 drivers/gpu/drm/i915/gt/intel_workarounds.c 	*cs++ = MI_LOAD_REGISTER_IMM(wal->count);
count             637 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++) {
count             941 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++)
count             973 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (!wal->count)
count             981 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++) {
count            1006 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++)
count            1040 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (GEM_DEBUG_WARN_ON(wal->count >= RING_MAX_NONPRIV_SLOTS))
count            1241 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (!wal->count)
count            1244 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++)
count            1416 drivers/gpu/drm/i915/gt/intel_workarounds.c create_scratch(struct i915_address_space *vm, int count)
count            1423 drivers/gpu/drm/i915/gt/intel_workarounds.c 	size = round_up(count * sizeof(u32), PAGE_SIZE);
count            1467 drivers/gpu/drm/i915/gt/intel_workarounds.c 	unsigned int i, count = 0;
count            1475 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++) {
count            1477 drivers/gpu/drm/i915/gt/intel_workarounds.c 			count++;
count            1480 drivers/gpu/drm/i915/gt/intel_workarounds.c 	cs = intel_ring_begin(rq, 4 * count);
count            1484 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++) {
count            1511 drivers/gpu/drm/i915/gt/intel_workarounds.c 	if (!wal->count)
count            1514 drivers/gpu/drm/i915/gt/intel_workarounds.c 	vma = create_scratch(&ce->engine->gt->ggtt->vm, wal->count);
count            1541 drivers/gpu/drm/i915/gt/intel_workarounds.c 	for (i = 0, wa = wal->list; i < wal->count; i++, wa++) {
count              25 drivers/gpu/drm/i915/gt/intel_workarounds_types.h 	unsigned int	count;
count             374 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	unsigned int reset_count, count;
count             396 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	count = 0;
count             426 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		if (i915_reset_count(global) != reset_count + ++count) {
count             436 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	pr_info("%s: %d resets\n", __func__, count);
count             479 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		unsigned int count;
count             484 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		count = 0;
count             523 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			    reset_engine_count + ++count) {
count             531 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		pr_info("%s(%s): %d resets\n", __func__, engine->name, count);
count             720 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	unsigned long count = 0;
count             727 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	for (count = 0; count < ARRAY_SIZE(ctx); count++) {
count             729 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		ctx[count] = live_context(engine->i915, file);
count             731 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		if (IS_ERR(ctx[count])) {
count             732 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			err = PTR_ERR(ctx[count]);
count             733 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			while (--count)
count             734 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 				i915_gem_context_put(ctx[count]);
count             740 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		unsigned int idx = count++ & (ARRAY_SIZE(rq) - 1);
count             767 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	for (count = 0; count < ARRAY_SIZE(rq); count++) {
count             768 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		int err__ = active_request_put(rq[count]);
count             811 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		unsigned long count = 0, reported;
count             891 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			count++;
count             931 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			engine->name, test_name, count);
count             935 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		if (reported != count) {
count             937 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			       engine->name, test_name, count, reported);
count            1039 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	u32 count = i915_reset_count(&gt->i915->gpu_error);
count            1043 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 	return count;
count            1414 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		unsigned int count;
count            1428 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		count = 0;
count            1512 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 			count++;
count            1514 drivers/gpu/drm/i915/gt/selftest_hangcheck.c 		pr_info("%s: Completed %d resets\n", engine->name, count);
count             181 drivers/gpu/drm/i915/gt/selftest_lrc.c 		      int count)
count             194 drivers/gpu/drm/i915/gt/selftest_lrc.c 		for (i = 0; i < count; i++) {
count             211 drivers/gpu/drm/i915/gt/selftest_lrc.c 			      2 * RUNTIME_INFO(outer->i915)->num_engines * (count + 2) * (count + 3)) < 0) {
count             213 drivers/gpu/drm/i915/gt/selftest_lrc.c 		       count, n);
count             232 drivers/gpu/drm/i915/gt/selftest_lrc.c 	int count;
count             268 drivers/gpu/drm/i915/gt/selftest_lrc.c 	for_each_prime_number_from(count, 1, 16) {
count             278 drivers/gpu/drm/i915/gt/selftest_lrc.c 			err = slice_semaphore_queue(engine, vma, count);
count             781 drivers/gpu/drm/i915/gt/selftest_lrc.c 		engine->execlists.preempt_hang.count = 0;
count             828 drivers/gpu/drm/i915/gt/selftest_lrc.c 		if (engine->execlists.preempt_hang.count) {
count             830 drivers/gpu/drm/i915/gt/selftest_lrc.c 			       engine->execlists.preempt_hang.count);
count             900 drivers/gpu/drm/i915/gt/selftest_lrc.c 		engine->execlists.preempt_hang.count = 0;
count             942 drivers/gpu/drm/i915/gt/selftest_lrc.c 		if (engine->execlists.preempt_hang.count) {
count             945 drivers/gpu/drm/i915/gt/selftest_lrc.c 			       engine->execlists.preempt_hang.count,
count            1066 drivers/gpu/drm/i915/gt/selftest_lrc.c 			engine->execlists.preempt_hang.count = 0;
count            1111 drivers/gpu/drm/i915/gt/selftest_lrc.c 			if (engine->execlists.preempt_hang.count) {
count            1114 drivers/gpu/drm/i915/gt/selftest_lrc.c 				       engine->execlists.preempt_hang.count,
count            1177 drivers/gpu/drm/i915/gt/selftest_lrc.c 		int ring_size, count, i;
count            1207 drivers/gpu/drm/i915/gt/selftest_lrc.c 		for_each_prime_number_from(count, 1, ring_size) {
count            1224 drivers/gpu/drm/i915/gt/selftest_lrc.c 			for (i = 0; i < count; i++) {
count            1243 drivers/gpu/drm/i915/gt/selftest_lrc.c 				       count);
count            1259 drivers/gpu/drm/i915/gt/selftest_lrc.c 				       count);
count            1425 drivers/gpu/drm/i915/gt/selftest_lrc.c 	unsigned long count;
count            1485 drivers/gpu/drm/i915/gt/selftest_lrc.c 	unsigned long count;
count            1487 drivers/gpu/drm/i915/gt/selftest_lrc.c 	count = 0;
count            1494 drivers/gpu/drm/i915/gt/selftest_lrc.c 				   ctx, count % I915_PRIORITY_MAX,
count            1500 drivers/gpu/drm/i915/gt/selftest_lrc.c 		count++;
count            1503 drivers/gpu/drm/i915/gt/selftest_lrc.c 	smoke->count = count;
count            1514 drivers/gpu/drm/i915/gt/selftest_lrc.c 	unsigned long count;
count            1524 drivers/gpu/drm/i915/gt/selftest_lrc.c 		arg[id].count = 0;
count            1535 drivers/gpu/drm/i915/gt/selftest_lrc.c 	count = 0;
count            1546 drivers/gpu/drm/i915/gt/selftest_lrc.c 		count += arg[id].count;
count            1554 drivers/gpu/drm/i915/gt/selftest_lrc.c 		count, flags,
count            1563 drivers/gpu/drm/i915/gt/selftest_lrc.c 	unsigned long count;
count            1565 drivers/gpu/drm/i915/gt/selftest_lrc.c 	count = 0;
count            1577 drivers/gpu/drm/i915/gt/selftest_lrc.c 			count++;
count            1582 drivers/gpu/drm/i915/gt/selftest_lrc.c 		count, flags,
count              40 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long count, max;
count              60 drivers/gpu/drm/i915/gt/selftest_timeline.c 				unsigned int count,
count              66 drivers/gpu/drm/i915/gt/selftest_timeline.c 	while (count--) {
count              85 drivers/gpu/drm/i915/gt/selftest_timeline.c 		idx = state->count++ % state->max;
count              92 drivers/gpu/drm/i915/gt/selftest_timeline.c 				     min(state->count, state->max),
count              95 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = i915_prandom_u32_max_state(min(state->count, state->max),
count              97 drivers/gpu/drm/i915/gt/selftest_timeline.c 	while (count--) {
count              98 drivers/gpu/drm/i915/gt/selftest_timeline.c 		idx = --state->count % state->max;
count             132 drivers/gpu/drm/i915/gt/selftest_timeline.c 	state.count = 0;
count             253 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long end_time, count;
count             266 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             275 drivers/gpu/drm/i915/gt/selftest_timeline.c 		count++;
count             279 drivers/gpu/drm/i915/gt/selftest_timeline.c 		 __func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             280 drivers/gpu/drm/i915/gt/selftest_timeline.c 	prng32_1M = div64_ul(ktime_to_ns(kt) << 20, count);
count             284 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             291 drivers/gpu/drm/i915/gt/selftest_timeline.c 		count++;
count             294 drivers/gpu/drm/i915/gt/selftest_timeline.c 	kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20);
count             296 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             300 drivers/gpu/drm/i915/gt/selftest_timeline.c 	end_time = count;
count             312 drivers/gpu/drm/i915/gt/selftest_timeline.c 	kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20);
count             314 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             322 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             326 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__intel_timeline_sync_set(&tl, count++, 0);
count             330 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             333 drivers/gpu/drm/i915/gt/selftest_timeline.c 	end_time = count;
count             344 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             353 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             363 drivers/gpu/drm/i915/gt/selftest_timeline.c 		count++;
count             366 drivers/gpu/drm/i915/gt/selftest_timeline.c 	kt = ktime_sub_ns(kt, (count * prng32_1M * 2) >> 20);
count             368 drivers/gpu/drm/i915/gt/selftest_timeline.c 		__func__, count, (long long)div64_ul(ktime_to_ns(kt), count));
count             379 drivers/gpu/drm/i915/gt/selftest_timeline.c 		count = 0;
count             387 drivers/gpu/drm/i915/gt/selftest_timeline.c 			u64 id = (u64)(count & mask) << order;
count             392 drivers/gpu/drm/i915/gt/selftest_timeline.c 			count++;
count             396 drivers/gpu/drm/i915/gt/selftest_timeline.c 			__func__, count, order,
count             397 drivers/gpu/drm/i915/gt/selftest_timeline.c 			(long long)div64_ul(ktime_to_ns(kt), count));
count             504 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long count, n;
count             521 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             536 drivers/gpu/drm/i915/gt/selftest_timeline.c 			rq = tl_write(tl, engine, count);
count             543 drivers/gpu/drm/i915/gt/selftest_timeline.c 			timelines[count++] = tl;
count             551 drivers/gpu/drm/i915/gt/selftest_timeline.c 	for (n = 0; n < count; n++) {
count             579 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long count, n;
count             597 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             612 drivers/gpu/drm/i915/gt/selftest_timeline.c 			rq = tl_write(tl, engine, count);
count             619 drivers/gpu/drm/i915/gt/selftest_timeline.c 			timelines[count++] = tl;
count             627 drivers/gpu/drm/i915/gt/selftest_timeline.c 	for (n = 0; n < count; n++) {
count             769 drivers/gpu/drm/i915/gt/selftest_timeline.c 	unsigned long count;
count             781 drivers/gpu/drm/i915/gt/selftest_timeline.c 	count = 0;
count             798 drivers/gpu/drm/i915/gt/selftest_timeline.c 			rq = tl_write(tl, engine, count);
count             812 drivers/gpu/drm/i915/gt/selftest_timeline.c 			if (*tl->hwsp_seqno != count) {
count             814 drivers/gpu/drm/i915/gt/selftest_timeline.c 				       count, *tl->hwsp_seqno);
count             819 drivers/gpu/drm/i915/gt/selftest_timeline.c 			count++;
count             158 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	i915_reg_t reg = i < engine->whitelist.count ?
count             296 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		engine->whitelist.count, engine->name, name);
count             424 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	int count = engine->whitelist.count;
count             427 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < engine->whitelist.count; i++) {
count             431 drivers/gpu/drm/i915/gt/selftest_workarounds.c 			count--;
count             434 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	return count;
count             481 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < engine->whitelist.count; i++) {
count             712 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		if (engine->whitelist.count == 0)
count             737 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	if (!engine || engine->whitelist.count == 0)
count             779 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	cs = intel_ring_begin(rq, 4 * engine->whitelist.count);
count             785 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < engine->whitelist.count; i++) {
count             827 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < engine->whitelist.count; i++) {
count             876 drivers/gpu/drm/i915/gt/selftest_workarounds.c 		     unsigned long count)
count             880 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	while (count--) {
count             957 drivers/gpu/drm/i915/gt/selftest_workarounds.c 	for (i = 0; i < engine->whitelist.count; i++) {
count              29 drivers/gpu/drm/i915/gt/uc/intel_guc.c 	GEM_BUG_ON(!guc->send_regs.count);
count              30 drivers/gpu/drm/i915/gt/uc/intel_guc.c 	GEM_BUG_ON(i >= guc->send_regs.count);
count              44 drivers/gpu/drm/i915/gt/uc/intel_guc.c 		guc->send_regs.count = GEN11_SOFT_SCRATCH_COUNT;
count              47 drivers/gpu/drm/i915/gt/uc/intel_guc.c 		guc->send_regs.count = GUC_MAX_MMIO_MSG_LEN;
count              51 drivers/gpu/drm/i915/gt/uc/intel_guc.c 	for (i = 0; i < guc->send_regs.count; i++) {
count             354 drivers/gpu/drm/i915/gt/uc/intel_guc.c 	GEM_BUG_ON(len > guc->send_regs.count);
count             394 drivers/gpu/drm/i915/gt/uc/intel_guc.c 		int count = min(response_buf_size, guc->send_regs.count - 1);
count             396 drivers/gpu/drm/i915/gt/uc/intel_guc.c 		for (i = 0; i < count; i++)
count              65 drivers/gpu/drm/i915/gt/uc/intel_guc.h 		unsigned int count;
count             748 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		  atomic_read(&execlists->tasklet.count));
count              56 drivers/gpu/drm/i915/gvt/firmware.c 	     loff_t offset, size_t count)
count              58 drivers/gpu/drm/i915/gvt/firmware.c 	memcpy(buf, attr->private + offset, count);
count              59 drivers/gpu/drm/i915/gvt/firmware.c 	return count;
count              67 drivers/gpu/drm/i915/gvt/kvmgt.c 			size_t count, loff_t *ppos, bool iswrite);
count             410 drivers/gpu/drm/i915/gvt/kvmgt.c 		size_t count, loff_t *ppos, bool iswrite)
count             421 drivers/gpu/drm/i915/gvt/kvmgt.c 	count = min(count, (size_t)(vgpu->vdev.region[i].size - pos));
count             422 drivers/gpu/drm/i915/gvt/kvmgt.c 	memcpy(buf, base + pos, count);
count             424 drivers/gpu/drm/i915/gvt/kvmgt.c 	return count;
count             439 drivers/gpu/drm/i915/gvt/kvmgt.c 			size_t count, u16 offset, bool is_write)
count             444 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (offset + count > sizeof(*regs))
count             447 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (count != 4)
count             488 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy(buf, (char *)regs + offset, count);
count             491 drivers/gpu/drm/i915/gvt/kvmgt.c 	return count;
count             495 drivers/gpu/drm/i915/gvt/kvmgt.c 			size_t count, u16 offset, bool is_write)
count             497 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (offset + count > region->vfio_edid_regs.edid_size)
count             501 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy(region->edid_blob + offset, buf, count);
count             503 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy(buf, region->edid_blob + offset, count);
count             505 drivers/gpu/drm/i915/gvt/kvmgt.c 	return count;
count             509 drivers/gpu/drm/i915/gvt/kvmgt.c 		size_t count, loff_t *ppos, bool iswrite)
count             519 drivers/gpu/drm/i915/gvt/kvmgt.c 		ret = handle_edid_regs(vgpu, region, buf, count, pos, iswrite);
count             522 drivers/gpu/drm/i915/gvt/kvmgt.c 		ret = handle_edid_blob(region, buf, count, pos, iswrite);
count             885 drivers/gpu/drm/i915/gvt/kvmgt.c 			     void *buf, unsigned int count, bool is_write)
count             892 drivers/gpu/drm/i915/gvt/kvmgt.c 					bar_start + off, buf, count);
count             895 drivers/gpu/drm/i915/gvt/kvmgt.c 					bar_start + off, buf, count);
count             906 drivers/gpu/drm/i915/gvt/kvmgt.c 		void *buf, unsigned long count, bool is_write)
count             911 drivers/gpu/drm/i915/gvt/kvmgt.c 	    !intel_vgpu_in_aperture(vgpu, off + count)) {
count             918 drivers/gpu/drm/i915/gvt/kvmgt.c 					count + offset_in_page(off));
count             923 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy_toio(aperture_va + offset_in_page(off), buf, count);
count             925 drivers/gpu/drm/i915/gvt/kvmgt.c 		memcpy_fromio(buf, aperture_va + offset_in_page(off), count);
count             933 drivers/gpu/drm/i915/gvt/kvmgt.c 			size_t count, loff_t *ppos, bool is_write)
count             950 drivers/gpu/drm/i915/gvt/kvmgt.c 						buf, count);
count             953 drivers/gpu/drm/i915/gvt/kvmgt.c 						buf, count);
count             957 drivers/gpu/drm/i915/gvt/kvmgt.c 					buf, count, is_write);
count             960 drivers/gpu/drm/i915/gvt/kvmgt.c 		ret = intel_vgpu_aperture_rw(vgpu, pos, buf, count, is_write);
count             974 drivers/gpu/drm/i915/gvt/kvmgt.c 		return vgpu->vdev.region[index].ops->rw(vgpu, buf, count,
count             978 drivers/gpu/drm/i915/gvt/kvmgt.c 	return ret == 0 ? count : ret;
count            1001 drivers/gpu/drm/i915/gvt/kvmgt.c 			size_t count, loff_t *ppos)
count            1006 drivers/gpu/drm/i915/gvt/kvmgt.c 	while (count) {
count            1010 drivers/gpu/drm/i915/gvt/kvmgt.c 		if (count >= 8 && !(*ppos % 8) &&
count            1023 drivers/gpu/drm/i915/gvt/kvmgt.c 		} else if (count >= 4 && !(*ppos % 4)) {
count            1035 drivers/gpu/drm/i915/gvt/kvmgt.c 		} else if (count >= 2 && !(*ppos % 2)) {
count            1061 drivers/gpu/drm/i915/gvt/kvmgt.c 		count -= filled;
count            1075 drivers/gpu/drm/i915/gvt/kvmgt.c 				size_t count, loff_t *ppos)
count            1080 drivers/gpu/drm/i915/gvt/kvmgt.c 	while (count) {
count            1084 drivers/gpu/drm/i915/gvt/kvmgt.c 		if (count >= 8 && !(*ppos % 8) &&
count            1097 drivers/gpu/drm/i915/gvt/kvmgt.c 		} else if (count >= 4 && !(*ppos % 4)) {
count            1109 drivers/gpu/drm/i915/gvt/kvmgt.c 		} else if (count >= 2 && !(*ppos % 2)) {
count            1135 drivers/gpu/drm/i915/gvt/kvmgt.c 		count -= filled;
count            1193 drivers/gpu/drm/i915/gvt/kvmgt.c 			unsigned int count, u32 flags,
count            1201 drivers/gpu/drm/i915/gvt/kvmgt.c 			unsigned int count, u32 flags, void *data)
count            1207 drivers/gpu/drm/i915/gvt/kvmgt.c 		unsigned int index, unsigned int start, unsigned int count,
count            1214 drivers/gpu/drm/i915/gvt/kvmgt.c 		unsigned int index, unsigned int start, unsigned int count,
count            1228 drivers/gpu/drm/i915/gvt/kvmgt.c 	} else if ((flags & VFIO_IRQ_SET_DATA_NONE) && !count)
count            1235 drivers/gpu/drm/i915/gvt/kvmgt.c 		unsigned int index, unsigned int start, unsigned int count,
count            1239 drivers/gpu/drm/i915/gvt/kvmgt.c 			unsigned int start, unsigned int count, u32 flags,
count            1272 drivers/gpu/drm/i915/gvt/kvmgt.c 	return func(vgpu, index, start, count, flags, data);
count            1457 drivers/gpu/drm/i915/gvt/kvmgt.c 		minsz = offsetofend(struct vfio_irq_info, count);
count            1475 drivers/gpu/drm/i915/gvt/kvmgt.c 		info.count = intel_vgpu_get_irq_count(vgpu, info.index);
count            1491 drivers/gpu/drm/i915/gvt/kvmgt.c 		minsz = offsetofend(struct vfio_irq_set, count);
count            1514 drivers/gpu/drm/i915/gvt/kvmgt.c 					hdr.start, hdr.count, data);
count             200 drivers/gpu/drm/i915/gvt/mmio_context.c 	int count = gvt->engine_mmio_list.ctx_mmio_count[ring_id];
count             202 drivers/gpu/drm/i915/gvt/mmio_context.c 	if (count == 0)
count             209 drivers/gpu/drm/i915/gvt/mmio_context.c 	cs = intel_ring_begin(req, count * 2 + 2);
count             213 drivers/gpu/drm/i915/gvt/mmio_context.c 	*cs++ = MI_LOAD_REGISTER_IMM(count);
count             133 drivers/gpu/drm/i915/i915_active.c 	if (atomic_dec_and_test(&ref->count)) {
count             159 drivers/gpu/drm/i915/i915_active.c 	GEM_BUG_ON(!atomic_read(&ref->count));
count             160 drivers/gpu/drm/i915/i915_active.c 	if (atomic_add_unless(&ref->count, -1, 1))
count             255 drivers/gpu/drm/i915/i915_active.c 	atomic_set(&ref->count, 0);
count             338 drivers/gpu/drm/i915/i915_active.c 			atomic_inc(&ref->count);
count             340 drivers/gpu/drm/i915/i915_active.c 	GEM_BUG_ON(!atomic_read(&ref->count));
count             353 drivers/gpu/drm/i915/i915_active.c 	if (atomic_add_unless(&ref->count, 1, 0))
count             360 drivers/gpu/drm/i915/i915_active.c 	if (!atomic_read(&ref->count) && ref->active)
count             364 drivers/gpu/drm/i915/i915_active.c 		atomic_inc(&ref->count);
count             390 drivers/gpu/drm/i915/i915_active.c 	if (!atomic_add_unless(&ref->count, 1, 0)) {
count             421 drivers/gpu/drm/i915/i915_active.c 	if (!atomic_add_unless(&ref->count, 1, 0)) {
count             490 drivers/gpu/drm/i915/i915_active.c 	GEM_BUG_ON(atomic_read(&ref->count));
count             635 drivers/gpu/drm/i915/i915_active.c 			atomic_inc(&ref->count);
count             649 drivers/gpu/drm/i915/i915_active.c 		atomic_dec(&ref->count);
count             393 drivers/gpu/drm/i915/i915_active.h 	return !atomic_read(&ref->count);
count              52 drivers/gpu/drm/i915/i915_active_types.h 	atomic_t count;
count             180 drivers/gpu/drm/i915/i915_cmd_parser.c 	int count;
count             800 drivers/gpu/drm/i915/i915_cmd_parser.c 		for (j = 0; j < table->count; j++) {
count             898 drivers/gpu/drm/i915/i915_cmd_parser.c 		for (j = 0; j < table->count; j++) {
count            1098 drivers/gpu/drm/i915/i915_cmd_parser.c __find_reg(const struct drm_i915_reg_descriptor *table, int count, u32 addr)
count            1100 drivers/gpu/drm/i915/i915_cmd_parser.c 	int start = 0, end = count;
count            1119 drivers/gpu/drm/i915/i915_cmd_parser.c 	int count = engine->reg_table_count;
count            1121 drivers/gpu/drm/i915/i915_cmd_parser.c 	for (; !reg && (count > 0); ++table, --count)
count             234 drivers/gpu/drm/i915/i915_debugfs.c 	unsigned long count;
count             246 drivers/gpu/drm/i915/i915_debugfs.c 	stats->count++;
count             297 drivers/gpu/drm/i915/i915_debugfs.c 	if (stats.count) \
count             300 drivers/gpu/drm/i915/i915_debugfs.c 			   stats.count, \
count             673 drivers/gpu/drm/i915/i915_debugfs.c 			      size_t count, loff_t *pos)
count             684 drivers/gpu/drm/i915/i915_debugfs.c 	buf = kmalloc(count, GFP_KERNEL);
count             688 drivers/gpu/drm/i915/i915_debugfs.c 	ret = i915_gpu_state_copy_to_buffer(error, buf, *pos, count);
count            2359 drivers/gpu/drm/i915/i915_debugfs.c 			   power_well->count);
count            2791 drivers/gpu/drm/i915/i915_debugfs.c 		   atomic_read(&dev_priv->gt.wakeref.count));
count            2881 drivers/gpu/drm/i915/i915_debugfs.c 		unsigned int count;
count            2883 drivers/gpu/drm/i915/i915_debugfs.c 		count = wal->count;
count            2884 drivers/gpu/drm/i915/i915_debugfs.c 		if (!count)
count            2888 drivers/gpu/drm/i915/i915_debugfs.c 			   engine->name, count);
count            2890 drivers/gpu/drm/i915/i915_debugfs.c 		for (wa = wal->list; count--; wa++)
count            4066 drivers/gpu/drm/i915/i915_debugfs.c 		hotplug->stats[i].count = 0;
count            4144 drivers/gpu/drm/i915/i915_debugfs.c 		hotplug->stats[i].count = 0;
count             143 drivers/gpu/drm/i915/i915_drv.h 		int count;
count            1061 drivers/gpu/drm/i915/i915_drv.h 		    size_t count,
count            1264 drivers/gpu/drm/i915/i915_drv.h 		    size_t count,
count            2069 drivers/gpu/drm/i915/i915_drv.h #define ENGINE_INSTANCES_MASK(dev_priv, first, count) ({		\
count            2071 drivers/gpu/drm/i915/i915_drv.h 	unsigned int count__ = (count);					\
count              88 drivers/gpu/drm/i915/i915_gem.h 	if (!atomic_fetch_inc(&t->count))
count              94 drivers/gpu/drm/i915/i915_gem.h 	return !atomic_read(&t->count);
count              99 drivers/gpu/drm/i915/i915_gem.h 	return atomic_dec_and_test(&t->count);
count             427 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	int count;
count             433 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	count = 0;
count             435 drivers/gpu/drm/i915/i915_gem_fence_reg.c 		count += !atomic_read(&fence->pin_count);
count             436 drivers/gpu/drm/i915/i915_gem_fence_reg.c 	if (count <= 1)
count             606 drivers/gpu/drm/i915/i915_gem_gtt.c fill_page_dma(const struct i915_page_dma *p, const u64 val, unsigned int count)
count             608 drivers/gpu/drm/i915/i915_gem_gtt.c 	kunmap_atomic(memset64(kmap_atomic(p->page), val, count));
count             936 drivers/gpu/drm/i915/i915_gem_gtt.c 				 int count, int lvl)
count             946 drivers/gpu/drm/i915/i915_gem_gtt.c 		} while (pde++, --count);
count             995 drivers/gpu/drm/i915/i915_gem_gtt.c 			unsigned int count;
count             998 drivers/gpu/drm/i915/i915_gem_gtt.c 			count = gen8_pt_count(start, end);
count            1001 drivers/gpu/drm/i915/i915_gem_gtt.c 			    gen8_pd_index(start, 0), count,
count            1003 drivers/gpu/drm/i915/i915_gem_gtt.c 			GEM_BUG_ON(!count || count >= atomic_read(&pt->used));
count            1008 drivers/gpu/drm/i915/i915_gem_gtt.c 				 count);
count            1011 drivers/gpu/drm/i915/i915_gem_gtt.c 			atomic_sub(count, &pt->used);
count            1012 drivers/gpu/drm/i915/i915_gem_gtt.c 			start += count;
count            1113 drivers/gpu/drm/i915/i915_gem_gtt.c 			unsigned int count = gen8_pt_count(*start, end);
count            1117 drivers/gpu/drm/i915/i915_gem_gtt.c 			    gen8_pd_index(*start, 0), count,
count            1120 drivers/gpu/drm/i915/i915_gem_gtt.c 			atomic_add(count, &pt->used);
count            1123 drivers/gpu/drm/i915/i915_gem_gtt.c 			*start += count;
count            1450 drivers/gpu/drm/i915/i915_gem_gtt.c 	const unsigned int count = gen8_pd_top_count(vm);
count            1453 drivers/gpu/drm/i915/i915_gem_gtt.c 	GEM_BUG_ON(count > ARRAY_SIZE(pd->entry));
count            1455 drivers/gpu/drm/i915/i915_gem_gtt.c 	pd = __alloc_pd(offsetof(typeof(*pd), entry[count]));
count            1464 drivers/gpu/drm/i915/i915_gem_gtt.c 	fill_page_dma(px_base(pd), vm->scratch[vm->top].encode, count);
count            1617 drivers/gpu/drm/i915/i915_gem_gtt.c 		const unsigned int count = min(num_entries, GEN6_PTES - pte);
count            1622 drivers/gpu/drm/i915/i915_gem_gtt.c 		num_entries -= count;
count            1624 drivers/gpu/drm/i915/i915_gem_gtt.c 		GEM_BUG_ON(count > atomic_read(&pt->used));
count            1625 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (!atomic_sub_return(count, &pt->used))
count            1636 drivers/gpu/drm/i915/i915_gem_gtt.c 		memset32(vaddr + pte, scratch_pte, count);
count            1701 drivers/gpu/drm/i915/i915_gem_gtt.c 		const unsigned int count = gen6_pte_count(start, length);
count            1730 drivers/gpu/drm/i915/i915_gem_gtt.c 		atomic_add(count, &pt->used);
count            3514 drivers/gpu/drm/i915/i915_gem_gtt.c 	unsigned int count = view->partial.size;
count            3522 drivers/gpu/drm/i915/i915_gem_gtt.c 	ret = sg_alloc_table(st, count, GFP_KERNEL);
count            3535 drivers/gpu/drm/i915/i915_gem_gtt.c 			  count << PAGE_SHIFT);
count            3542 drivers/gpu/drm/i915/i915_gem_gtt.c 		count -= len >> PAGE_SHIFT;
count            3543 drivers/gpu/drm/i915/i915_gem_gtt.c 		if (count == 0) {
count             832 drivers/gpu/drm/i915/i915_gpu_error.c 	size_t count;
count             850 drivers/gpu/drm/i915/i915_gpu_error.c 	count = 0;
count             878 drivers/gpu/drm/i915/i915_gpu_error.c 		count += len;
count             889 drivers/gpu/drm/i915/i915_gpu_error.c 	return count;
count            1193 drivers/gpu/drm/i915/i915_gpu_error.c 	int count;
count            1195 drivers/gpu/drm/i915/i915_gpu_error.c 	count = 0;
count            1198 drivers/gpu/drm/i915/i915_gpu_error.c 		count++;
count            1199 drivers/gpu/drm/i915/i915_gpu_error.c 	if (!count)
count            1202 drivers/gpu/drm/i915/i915_gpu_error.c 	ee->requests = kcalloc(count, sizeof(*ee->requests), ATOMIC_MAYFAIL);
count            1206 drivers/gpu/drm/i915/i915_gpu_error.c 	ee->num_requests = count;
count            1208 drivers/gpu/drm/i915/i915_gpu_error.c 	count = 0;
count            1212 drivers/gpu/drm/i915/i915_gpu_error.c 		if (count >= ee->num_requests) {
count            1231 drivers/gpu/drm/i915/i915_gpu_error.c 		record_request(request, &ee->requests[count++]);
count            1233 drivers/gpu/drm/i915/i915_gpu_error.c 	ee->num_requests = count;
count            1313 drivers/gpu/drm/i915/i915_gpu_error.c 	long count, max;
count            1330 drivers/gpu/drm/i915/i915_gpu_error.c 	count = 0;
count            1332 drivers/gpu/drm/i915/i915_gpu_error.c 		capture = capture_vma(capture, c->vma, &bo[count]);
count            1333 drivers/gpu/drm/i915/i915_gpu_error.c 		if (++count == max)
count            1338 drivers/gpu/drm/i915/i915_gpu_error.c 	ee->user_bo_count = count;
count             214 drivers/gpu/drm/i915/i915_gpu_error.h 				      char *buf, loff_t offset, size_t count);
count             567 drivers/gpu/drm/i915/i915_perf.c 			    size_t count,
count             573 drivers/gpu/drm/i915/i915_perf.c 	if ((count - *offset) < header.size)
count             603 drivers/gpu/drm/i915/i915_perf.c 			    size_t count,
count             615 drivers/gpu/drm/i915/i915_perf.c 	if ((count - *offset) < header.size)
count             655 drivers/gpu/drm/i915/i915_perf.c 				  size_t count,
count             806 drivers/gpu/drm/i915/i915_perf.c 			ret = append_oa_sample(stream, buf, count, offset,
count             864 drivers/gpu/drm/i915/i915_perf.c 			size_t count,
count             891 drivers/gpu/drm/i915/i915_perf.c 		ret = append_oa_status(stream, buf, count, offset,
count             910 drivers/gpu/drm/i915/i915_perf.c 		ret = append_oa_status(stream, buf, count, offset,
count             918 drivers/gpu/drm/i915/i915_perf.c 	return gen8_append_oa_reports(stream, buf, count, offset);
count             943 drivers/gpu/drm/i915/i915_perf.c 				  size_t count,
count            1025 drivers/gpu/drm/i915/i915_perf.c 		ret = append_oa_sample(stream, buf, count, offset, report);
count            1075 drivers/gpu/drm/i915/i915_perf.c 			size_t count,
count            1115 drivers/gpu/drm/i915/i915_perf.c 		ret = append_oa_status(stream, buf, count, offset,
count            1130 drivers/gpu/drm/i915/i915_perf.c 		ret = append_oa_status(stream, buf, count, offset,
count            1138 drivers/gpu/drm/i915/i915_perf.c 	return gen7_append_oa_reports(stream, buf, count, offset);
count            1196 drivers/gpu/drm/i915/i915_perf.c 			size_t count,
count            1201 drivers/gpu/drm/i915/i915_perf.c 	return dev_priv->perf.ops.read(stream, buf, count, offset);
count            1719 drivers/gpu/drm/i915/i915_perf.c 		const struct flex *flex, unsigned int count)
count            1724 drivers/gpu/drm/i915/i915_perf.c 	cs = intel_ring_begin(rq, 4 * count);
count            1734 drivers/gpu/drm/i915/i915_perf.c 	} while (flex++, --count);
count            1744 drivers/gpu/drm/i915/i915_perf.c 	       const struct flex *flex, unsigned int count)
count            1748 drivers/gpu/drm/i915/i915_perf.c 	GEM_BUG_ON(!count || count > 63);
count            1750 drivers/gpu/drm/i915/i915_perf.c 	cs = intel_ring_begin(rq, 2 * count + 2);
count            1754 drivers/gpu/drm/i915/i915_perf.c 	*cs++ = MI_LOAD_REGISTER_IMM(count);
count            1758 drivers/gpu/drm/i915/i915_perf.c 	} while (flex++, --count);
count            1767 drivers/gpu/drm/i915/i915_perf.c 			       const struct flex *flex, unsigned int count)
count            1781 drivers/gpu/drm/i915/i915_perf.c 		err = gen8_store_flex(rq, ce, flex, count);
count            1788 drivers/gpu/drm/i915/i915_perf.c 			    const struct flex *flex, unsigned int count)
count            1797 drivers/gpu/drm/i915/i915_perf.c 	err = gen8_load_flex(rq, ce, flex, count);
count            1804 drivers/gpu/drm/i915/i915_perf.c 				  struct flex *flex, unsigned int count)
count            1824 drivers/gpu/drm/i915/i915_perf.c 			err = gen8_modify_context(ce, flex, count);
count            2343 drivers/gpu/drm/i915/i915_perf.c 				     size_t count,
count            2353 drivers/gpu/drm/i915/i915_perf.c 	int ret = stream->ops->read(stream, buf, count, &offset);
count            2378 drivers/gpu/drm/i915/i915_perf.c 			      size_t count,
count            2407 drivers/gpu/drm/i915/i915_perf.c 						    buf, count, ppos);
count            2412 drivers/gpu/drm/i915/i915_perf.c 		ret = i915_perf_read_locked(stream, file, buf, count, ppos);
count             586 drivers/gpu/drm/i915/i915_pmu.c 	local64_add(new - prev, &event->count);
count             859 drivers/gpu/drm/i915/i915_pmu.c 	unsigned int count = 0;
count             869 drivers/gpu/drm/i915/i915_pmu.c 			count++;
count             876 drivers/gpu/drm/i915/i915_pmu.c 				count++;
count             881 drivers/gpu/drm/i915/i915_pmu.c 	i915_attr = kcalloc(count, sizeof(*i915_attr), GFP_KERNEL);
count             885 drivers/gpu/drm/i915/i915_pmu.c 	pmu_attr = kcalloc(count, sizeof(*pmu_attr), GFP_KERNEL);
count             890 drivers/gpu/drm/i915/i915_pmu.c 	attr = kcalloc(count * 2 + 1, sizeof(*attr), GFP_KERNEL);
count            1068 drivers/gpu/drm/i915/i915_request.c 		unsigned int count, i;
count            1071 drivers/gpu/drm/i915/i915_request.c 							&excl, &count, &shared);
count            1075 drivers/gpu/drm/i915/i915_request.c 		for (i = 0; i < count; i++) {
count            1083 drivers/gpu/drm/i915/i915_request.c 		for (; i < count; i++)
count              84 drivers/gpu/drm/i915/i915_selftest.h 		    unsigned int count,
count             540 drivers/gpu/drm/i915/i915_sw_fence.c 		unsigned int count, i;
count             543 drivers/gpu/drm/i915/i915_sw_fence.c 							&excl, &count, &shared);
count             547 drivers/gpu/drm/i915/i915_sw_fence.c 		for (i = 0; i < count; i++) {
count             563 drivers/gpu/drm/i915/i915_sw_fence.c 		for (i = 0; i < count; i++)
count             162 drivers/gpu/drm/i915/i915_sysfs.c 	     loff_t offset, size_t count)
count             170 drivers/gpu/drm/i915/i915_sysfs.c 	count = round_down(count, 4);
count             176 drivers/gpu/drm/i915/i915_sysfs.c 	count = min_t(size_t, GEN7_L3LOG_SIZE - offset, count);
count             185 drivers/gpu/drm/i915/i915_sysfs.c 		       count);
count             187 drivers/gpu/drm/i915/i915_sysfs.c 		memset(buf, 0, count);
count             191 drivers/gpu/drm/i915/i915_sysfs.c 	return count;
count             197 drivers/gpu/drm/i915/i915_sysfs.c 	      loff_t offset, size_t count)
count             228 drivers/gpu/drm/i915/i915_sysfs.c 	memcpy(*remap_info + (offset/4), buf, count);
count             234 drivers/gpu/drm/i915/i915_sysfs.c 	ret = count;
count             305 drivers/gpu/drm/i915/i915_sysfs.c 				       const char *buf, size_t count)
count             331 drivers/gpu/drm/i915/i915_sysfs.c 	return count;
count             355 drivers/gpu/drm/i915/i915_sysfs.c 				     const char *buf, size_t count)
count             397 drivers/gpu/drm/i915/i915_sysfs.c 	return ret ?: count;
count             411 drivers/gpu/drm/i915/i915_sysfs.c 				     const char *buf, size_t count)
count             449 drivers/gpu/drm/i915/i915_sysfs.c 	return ret ?: count;
count             513 drivers/gpu/drm/i915/i915_sysfs.c 				loff_t off, size_t count)
count             525 drivers/gpu/drm/i915/i915_sysfs.c 		ret = i915_gpu_state_copy_to_buffer(gpu, buf, off, count);
count             531 drivers/gpu/drm/i915/i915_sysfs.c 		ret = min_t(size_t, count, len - off);
count             540 drivers/gpu/drm/i915/i915_sysfs.c 				 loff_t off, size_t count)
count             548 drivers/gpu/drm/i915/i915_sysfs.c 	return count;
count              18 drivers/gpu/drm/i915/i915_user_extensions.c 			 unsigned int count,
count              45 drivers/gpu/drm/i915/i915_user_extensions.c 		if (name < count) {
count              46 drivers/gpu/drm/i915/i915_user_extensions.c 			name = array_index_nospec(name, count);
count              17 drivers/gpu/drm/i915/i915_user_extensions.h 			 unsigned int count,
count             113 drivers/gpu/drm/i915/i915_utils.h __check_struct_size(size_t base, size_t arr, size_t count, size_t *size)
count             117 drivers/gpu/drm/i915/i915_utils.h 	if (check_mul_overflow(count, arr, &sz))
count            8216 drivers/gpu/drm/i915/intel_pm.c 	u32 count;
count            8228 drivers/gpu/drm/i915/intel_pm.c 	count = I915_READ(GFXEC);
count            8230 drivers/gpu/drm/i915/intel_pm.c 	if (count < dev_priv->ips.last_count2) {
count            8232 drivers/gpu/drm/i915/intel_pm.c 		diff += count;
count            8234 drivers/gpu/drm/i915/intel_pm.c 		diff = count - dev_priv->ips.last_count2;
count            8237 drivers/gpu/drm/i915/intel_pm.c 	dev_priv->ips.last_count2 = count;
count              99 drivers/gpu/drm/i915/intel_runtime_pm.c 	if (!rpm->debug.count)
count             103 drivers/gpu/drm/i915/intel_runtime_pm.c 			  (rpm->debug.count + 1) * sizeof(*stacks),
count             106 drivers/gpu/drm/i915/intel_runtime_pm.c 		stacks[rpm->debug.count++] = stack;
count             127 drivers/gpu/drm/i915/intel_runtime_pm.c 	for (n = rpm->debug.count; n--; ) {
count             131 drivers/gpu/drm/i915/intel_runtime_pm.c 				(--rpm->debug.count - n) * sizeof(stack));
count             140 drivers/gpu/drm/i915/intel_runtime_pm.c 		 rpm->debug.count, atomic_read(&rpm->wakeref_count))) {
count             193 drivers/gpu/drm/i915/intel_runtime_pm.c 	drm_printf(p, "Wakeref count: %lu\n", dbg->count);
count             195 drivers/gpu/drm/i915/intel_runtime_pm.c 	sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL);
count             197 drivers/gpu/drm/i915/intel_runtime_pm.c 	for (i = 0; i < dbg->count; i++) {
count             202 drivers/gpu/drm/i915/intel_runtime_pm.c 		while (i + 1 < dbg->count && dbg->owners[i + 1] == stack)
count             218 drivers/gpu/drm/i915/intel_runtime_pm.c 	debug->count = 0;
count             225 drivers/gpu/drm/i915/intel_runtime_pm.c 	if (debug->count) {
count             270 drivers/gpu/drm/i915/intel_runtime_pm.c 		unsigned long alloc = dbg.count;
count             274 drivers/gpu/drm/i915/intel_runtime_pm.c 		dbg.count = rpm->debug.count;
count             275 drivers/gpu/drm/i915/intel_runtime_pm.c 		if (dbg.count <= alloc) {
count             278 drivers/gpu/drm/i915/intel_runtime_pm.c 			       dbg.count * sizeof(*s));
count             283 drivers/gpu/drm/i915/intel_runtime_pm.c 		if (dbg.count <= alloc)
count             287 drivers/gpu/drm/i915/intel_runtime_pm.c 			     dbg.count * sizeof(*s),
count             598 drivers/gpu/drm/i915/intel_runtime_pm.c 	int count = atomic_read(&rpm->wakeref_count);
count             600 drivers/gpu/drm/i915/intel_runtime_pm.c 	WARN(count,
count             602 drivers/gpu/drm/i915/intel_runtime_pm.c 	     intel_rpm_raw_wakeref_count(count),
count             603 drivers/gpu/drm/i915/intel_runtime_pm.c 	     intel_rpm_wakelock_count(count));
count              72 drivers/gpu/drm/i915/intel_runtime_pm.h 		unsigned long count;
count             342 drivers/gpu/drm/i915/intel_uncore.c 	u32 count = __raw_uncore_read32(uncore, GTFIFOCTL);
count             344 drivers/gpu/drm/i915/intel_uncore.c 	return count & GT_FIFO_FREE_ENTRIES_MASK;
count              34 drivers/gpu/drm/i915/intel_wakeref.c 	if (!atomic_read(&wf->count)) {
count              48 drivers/gpu/drm/i915/intel_wakeref.c 	atomic_inc(&wf->count);
count              51 drivers/gpu/drm/i915/intel_wakeref.c 	INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0);
count              57 drivers/gpu/drm/i915/intel_wakeref.c 	if (!atomic_dec_and_test(&wf->count))
count              88 drivers/gpu/drm/i915/intel_wakeref.c 	if (atomic_add_unless(&wf->count, -1, 1))
count             104 drivers/gpu/drm/i915/intel_wakeref.c 	atomic_set(&wf->count, 0);
count             122 drivers/gpu/drm/i915/intel_wakeref.c 	if (!refcount_dec_and_lock_irqsave(&wf->count, &wf->lock, &flags))
count             136 drivers/gpu/drm/i915/intel_wakeref.c 	refcount_set(&wf->count, 0);
count             154 drivers/gpu/drm/i915/intel_wakeref.c 	if (!refcount_inc_not_zero(&wf->count)) {
count             156 drivers/gpu/drm/i915/intel_wakeref.c 		if (!refcount_inc_not_zero(&wf->count)) {
count             159 drivers/gpu/drm/i915/intel_wakeref.c 			refcount_set(&wf->count, 1);
count              38 drivers/gpu/drm/i915/intel_wakeref.h 	atomic_t count;
count              81 drivers/gpu/drm/i915/intel_wakeref.h 	if (unlikely(!atomic_inc_not_zero(&wf->count)))
count              99 drivers/gpu/drm/i915/intel_wakeref.h 	return atomic_inc_not_zero(&wf->count);
count             121 drivers/gpu/drm/i915/intel_wakeref.h 	INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0);
count             122 drivers/gpu/drm/i915/intel_wakeref.h 	if (unlikely(!atomic_add_unless(&wf->count, -1, 1)))
count             173 drivers/gpu/drm/i915/intel_wakeref.h 	INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count));
count             174 drivers/gpu/drm/i915/intel_wakeref.h 	atomic_set_release(&wf->count, 1);
count             195 drivers/gpu/drm/i915/intel_wakeref.h 	refcount_t count;
count              83 drivers/gpu/drm/i915/selftests/i915_active.c 	unsigned int count = 0;
count             120 drivers/gpu/drm/i915/selftests/i915_active.c 		count++;
count             124 drivers/gpu/drm/i915/selftests/i915_active.c 	if (active->retired && count) {
count             128 drivers/gpu/drm/i915/selftests/i915_active.c 	if (atomic_read(&active->base.count) != count) {
count             130 drivers/gpu/drm/i915/selftests/i915_active.c 		       atomic_read(&active->base.count), count);
count              49 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	unsigned long unbound, bound, count;
count              52 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	count = 0;
count              70 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		count++;
count              73 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		 count, i915->ggtt.vm.total / PAGE_SIZE);
count              85 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	GEM_BUG_ON(bound + unbound != count);
count              93 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	if (bound != count) {
count              95 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		       __func__, bound, count);
count             394 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	unsigned long count;
count             424 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	count = 0;
count             445 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		count++;
count             449 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	pr_info("Filled GGTT with %lu 1MiB nodes\n", count);
count             462 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 		count = 0;
count             497 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 			count++;
count             504 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 			count, engine->name);
count             230 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		unsigned int *order, count, n;
count             236 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		count = hole_size >> 1;
count             237 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (!count) {
count             244 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			order = i915_random_order(count, &prng);
count             247 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		} while (count >>= 1);
count             248 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (!count)
count             252 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		GEM_BUG_ON(count * BIT_ULL(size) > vm->total);
count             253 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		GEM_BUG_ON(hole_start + count * BIT_ULL(size) > hole_end);
count             275 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		for (n = 0; n < count; n++) {
count             283 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					__func__, n, count)) {
count             300 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		count = n;
count             302 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		i915_random_reorder(order, count, &prng);
count             303 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		for (n = 0; n < count; n++) {
count             730 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		unsigned int *order, count, n;
count             738 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		count = hole_size >> 1;
count             739 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (!count) {
count             746 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 			order = i915_random_order(count, &prng);
count             749 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		} while (count >>= 1);
count             750 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		if (!count)
count             774 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 		for (n = 0; n < count; n++) {
count             803 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					__func__, n, count)) {
count            1141 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	const unsigned int count = PAGE_SIZE/sizeof(u32);
count            1165 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 					  count * PAGE_SIZE, 0,
count            1174 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (n = 0; n < count; n++) {
count            1182 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	order = i915_random_order(count, &prng);
count            1188 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (n = 0; n < count; n++) {
count            1198 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	i915_random_reorder(order, count, &prng);
count            1199 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	for (n = 0; n < count; n++) {
count              44 drivers/gpu/drm/i915/selftests/i915_random.c void i915_prandom_shuffle(void *arr, size_t elsz, size_t count,
count              49 drivers/gpu/drm/i915/selftests/i915_random.c 	if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX))
count              52 drivers/gpu/drm/i915/selftests/i915_random.c 	if (!elsz || !count)
count              56 drivers/gpu/drm/i915/selftests/i915_random.c 	while (--count) {
count              59 drivers/gpu/drm/i915/selftests/i915_random.c 		swp = i915_prandom_u32_max_state(count + 1, state);
count              60 drivers/gpu/drm/i915/selftests/i915_random.c 		if (swp == count)
count              63 drivers/gpu/drm/i915/selftests/i915_random.c 		memcpy(stack, arr + count * elsz, elsz);
count              64 drivers/gpu/drm/i915/selftests/i915_random.c 		memcpy(arr + count * elsz, arr + swp * elsz, elsz);
count              69 drivers/gpu/drm/i915/selftests/i915_random.c void i915_random_reorder(unsigned int *order, unsigned int count,
count              72 drivers/gpu/drm/i915/selftests/i915_random.c 	i915_prandom_shuffle(order, sizeof(*order), count, state);
count              75 drivers/gpu/drm/i915/selftests/i915_random.c unsigned int *i915_random_order(unsigned int count, struct rnd_state *state)
count              79 drivers/gpu/drm/i915/selftests/i915_random.c 	order = kmalloc_array(count, sizeof(*order),
count              84 drivers/gpu/drm/i915/selftests/i915_random.c 	for (i = 0; i < count; i++)
count              87 drivers/gpu/drm/i915/selftests/i915_random.c 	i915_random_reorder(order, count, state);
count              52 drivers/gpu/drm/i915/selftests/i915_random.h unsigned int *i915_random_order(unsigned int count,
count              55 drivers/gpu/drm/i915/selftests/i915_random.h 			 unsigned int count,
count              58 drivers/gpu/drm/i915/selftests/i915_random.h void i915_prandom_shuffle(void *arr, size_t elsz, size_t count,
count             315 drivers/gpu/drm/i915/selftests/i915_request.c 		unsigned int n, count;
count             332 drivers/gpu/drm/i915/selftests/i915_request.c 		count = 1 + i915_prandom_u32_max_state(max_batch, &prng);
count             334 drivers/gpu/drm/i915/selftests/i915_request.c 		for (n = 0; n < count; n++) {
count             349 drivers/gpu/drm/i915/selftests/i915_request.c 				count = n;
count             370 drivers/gpu/drm/i915/selftests/i915_request.c 				count = n;
count             381 drivers/gpu/drm/i915/selftests/i915_request.c 			struct i915_request *rq = requests[count - 1];
count             384 drivers/gpu/drm/i915/selftests/i915_request.c 			       atomic_read(&wait->pending), count,
count             395 drivers/gpu/drm/i915/selftests/i915_request.c 		for (n = 0; n < count; n++) {
count             414 drivers/gpu/drm/i915/selftests/i915_request.c 		num_fences += count;
count              97 drivers/gpu/drm/i915/selftests/i915_selftest.c static void set_default_test_all(struct selftest *st, unsigned int count)
count             101 drivers/gpu/drm/i915/selftests/i915_selftest.c 	for (i = 0; i < count; i++)
count             105 drivers/gpu/drm/i915/selftests/i915_selftest.c 	for (i = 0; i < count; i++)
count             111 drivers/gpu/drm/i915/selftests/i915_selftest.c 			   unsigned int count,
count             124 drivers/gpu/drm/i915/selftests/i915_selftest.c 	set_default_test_all(st, count);
count             130 drivers/gpu/drm/i915/selftests/i915_selftest.c 	for (; count--; st++) {
count             301 drivers/gpu/drm/i915/selftests/i915_selftest.c 		    unsigned int count,
count             306 drivers/gpu/drm/i915/selftests/i915_selftest.c 	for (; count--; st++) {
count             547 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	unsigned long count, phase, i;
count             559 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	count = 0;
count             568 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		count++;
count             581 drivers/gpu/drm/i915/selftests/i915_syncmap.c 		for (i = 0; i < count; i++) {
count             598 drivers/gpu/drm/i915/selftests/i915_syncmap.c 	pr_debug("Completed %lu passes, each of %lu contexts\n", phase, count);
count             721 drivers/gpu/drm/i915/selftests/i915_vma.c 		unsigned int count, nvma;
count             766 drivers/gpu/drm/i915/selftests/i915_vma.c 		count = 0;
count             768 drivers/gpu/drm/i915/selftests/i915_vma.c 			count++;
count             769 drivers/gpu/drm/i915/selftests/i915_vma.c 		if (count != nvma) {
count             771 drivers/gpu/drm/i915/selftests/i915_vma.c 			       p->name, count, nvma);
count             795 drivers/gpu/drm/i915/selftests/i915_vma.c 		count = 0;
count             797 drivers/gpu/drm/i915/selftests/i915_vma.c 			count++;
count             798 drivers/gpu/drm/i915/selftests/i915_vma.c 		if (count != nvma) {
count             184 drivers/gpu/drm/i915/selftests/mock_gem_device.c 	atomic_inc(&i915->gt.wakeref.count); /* disable; no hw support */
count              38 drivers/gpu/drm/i915/selftests/scatterlist.c 				    unsigned long count,
count             166 drivers/gpu/drm/i915/selftests/scatterlist.c 			unsigned long count,
count             173 drivers/gpu/drm/i915/selftests/scatterlist.c 			 unsigned long count,
count             180 drivers/gpu/drm/i915/selftests/scatterlist.c 			   unsigned long count,
count             183 drivers/gpu/drm/i915/selftests/scatterlist.c 	return count - n;
count             187 drivers/gpu/drm/i915/selftests/scatterlist.c 			   unsigned long count,
count             194 drivers/gpu/drm/i915/selftests/scatterlist.c 					   unsigned long count,
count             215 drivers/gpu/drm/i915/selftests/scatterlist.c 		       unsigned long count, unsigned long max,
count             228 drivers/gpu/drm/i915/selftests/scatterlist.c 	GEM_BUG_ON(overflows_type(count * PAGE_SIZE, sg->length));
count             237 drivers/gpu/drm/i915/selftests/scatterlist.c 	for (n = 0; n < count; n++) {
count             238 drivers/gpu/drm/i915/selftests/scatterlist.c 		unsigned long npages = npages_fn(n, count, rnd);
count              15 drivers/gpu/drm/lib/drm_random.c void drm_random_reorder(unsigned int *order, unsigned int count,
count              20 drivers/gpu/drm/lib/drm_random.c 	for (i = 0; i < count; ++i) {
count              22 drivers/gpu/drm/lib/drm_random.c 		j = drm_prandom_u32_max_state(count, state);
count              28 drivers/gpu/drm/lib/drm_random.c unsigned int *drm_random_order(unsigned int count, struct rnd_state *state)
count              32 drivers/gpu/drm/lib/drm_random.c 	order = kmalloc_array(count, sizeof(*order), GFP_KERNEL);
count              36 drivers/gpu/drm/lib/drm_random.c 	for (i = 0; i < count; i++)
count              39 drivers/gpu/drm/lib/drm_random.c 	drm_random_reorder(order, count, state);
count              20 drivers/gpu/drm/lib/drm_random.h unsigned int *drm_random_order(unsigned int count,
count              23 drivers/gpu/drm/lib/drm_random.h 			unsigned int count,
count             398 drivers/gpu/drm/meson/meson_drv.c 	int count = 1;
count             415 drivers/gpu/drm/meson/meson_drv.c 		count += meson_probe_remote(pdev, match, remote, remote_node);
count             420 drivers/gpu/drm/meson/meson_drv.c 	return count;
count             428 drivers/gpu/drm/meson/meson_drv.c 	int count = 0;
count             437 drivers/gpu/drm/meson/meson_drv.c 		count += meson_probe_remote(pdev, &match, np, remote);
count             441 drivers/gpu/drm/meson/meson_drv.c 	if (count && !match)
count             445 drivers/gpu/drm/meson/meson_drv.c 	if (count) {
count             446 drivers/gpu/drm/meson/meson_drv.c 		dev_info(&pdev->dev, "Queued %d outputs on vpu\n", count);
count             554 drivers/gpu/drm/mga/mga_dma.c 	req.count = dma_bs->secondary_bin_count;
count             687 drivers/gpu/drm/mga/mga_dma.c 		req.count = bin_count;
count             837 drivers/gpu/drm/mgag200/mgag200_mode.c 	int count;
count             843 drivers/gpu/drm/mgag200/mgag200_mode.c 	count = RREG8(MGAREG_VCOUNT) + 2;
count             844 drivers/gpu/drm/mgag200/mgag200_mode.c 	while (RREG8(MGAREG_VCOUNT) < count);
count            1184 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 	u32 count;
count            1207 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 	u32 offset, count = 0;
count            1222 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 		count += a5xx_hlsq_aperture_regs[i].count;
count            1224 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 	a5xx_state->hlsqregs = kcalloc(count, sizeof(u32), GFP_KERNEL);
count            1231 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 		u32 c = a5xx_hlsq_aperture_regs[i].count;
count            1257 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 		count * sizeof(u32));
count            1330 drivers/gpu/drm/msm/adreno/a5xx_gpu.c 		u32 c = a5xx_hlsq_aperture_regs[i].count;
count             880 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	int count, i;
count             886 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	count = bo->size >> PAGE_SHIFT;
count             889 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	for (i = 0; i < count; i++, iova += PAGE_SIZE) {
count             902 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	int ret, count, i;
count             910 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	count = bo->size >> PAGE_SHIFT;
count             912 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	bo->pages = kcalloc(count, sizeof(struct page *), GFP_KERNEL);
count             918 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	for (i = 0; i < count; i++) {
count             926 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	for (i = 0; i < count; i++) {
count             944 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	bo->virt = vmap(bo->pages, count, VM_IOREMAP,
count             955 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	for (i = 0; i < count; i++) {
count            1112 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	int count = dev_pm_opp_get_opp_count(dev);
count            1122 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	if (WARN(count + 1 > size,
count            1124 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 		count = size - 1;
count            1129 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	for (i = 0; i < count; i++) {
count             205 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 reg, int count, u32 *data)
count             211 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < count; i++) {
count             216 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	return count;
count             290 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->data = state_kcalloc(a6xx_state, block->count, sizeof(u64));
count             296 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (ptr = obj->data, i = 0; i < block->count; i++)
count             308 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->data = state_kcalloc(a6xx_state, block->count, sizeof(u64));
count             314 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (ptr = obj->data, i = 0; i < block->count; i++)
count             444 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		for (j = 0; j < dbgahb->count; j += 2) {
count             445 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			int count = RANGE(dbgahb->registers, j);
count             449 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			in += CRASHDUMP_READ(in, offset, count, out);
count             451 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			out += count * sizeof(u32);
count             454 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 				regcount += count;
count             516 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		for (j = 0; j < cluster->count; j += 2) {
count             517 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			int count = RANGE(cluster->registers, j);
count             520 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 				count, out);
count             522 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			out += count * sizeof(u32);
count             525 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 				regcount += count;
count             628 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
count             629 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
count             633 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		in += CRASHDUMP_READ(in, offset, count, out);
count             635 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		out += count * sizeof(u32);
count             636 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		regcount += count;
count             668 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
count             669 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
count             671 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		in += CRASHDUMP_READ(in, regs->registers[i], count, out);
count             673 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		out += count * sizeof(u32);
count             674 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		regcount += count;
count             698 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2)
count             706 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
count             707 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
count             710 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		for (j = 0; j < count; j++)
count             727 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2)
count             735 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < regs->count; i += 2) {
count             736 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(regs->registers, i);
count             739 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		for (j = 0; j < count; j++)
count             777 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	int i, count = ARRAY_SIZE(a6xx_ahb_reglist) +
count             783 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		count, sizeof(*a6xx_state->registers));
count             788 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	a6xx_state->nr_registers = count;
count             817 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	obj->data = state_kcalloc(a6xx_state, indexed->count, sizeof(u32));
count             825 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < indexed->count; i++)
count             833 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	int count = ARRAY_SIZE(a6xx_indexed_reglist) + 1;
count             836 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	a6xx_state->indexed_regs = state_kcalloc(a6xx_state, count,
count             862 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	a6xx_state->nr_indexed_regs = count;
count             928 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c static void a6xx_show_registers(const u32 *registers, u32 *data, size_t count,
count             936 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	for (i = 0; i < count; i += 2) {
count             937 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		u32 count = RANGE(registers, i);
count             941 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		for (j = 0; j < count; index++, offset++, j++) {
count            1017 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			u32 count = RANGE(registers, j);
count            1021 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 			for (k = 0; k < count; index++, offset++, k++) {
count            1039 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_cluster_data(dbgahb->registers, dbgahb->count,
count            1051 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_cluster_data(cluster->registers, cluster->count,
count            1065 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	drm_printf(p, "    dwords: %d\n", indexed->count);
count            1067 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 	print_ascii85(p, indexed->count << 2, obj->data);
count            1080 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		drm_printf(p, "    count: %d\n", block->count << 1);
count            1082 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		print_ascii85(p, block->count << 3, data);
count            1134 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_registers(regs->registers, obj->data, regs->count, p);
count            1145 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 		a6xx_show_registers(regs->registers, obj->data, regs->count, p);
count              53 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 		.count = ARRAY_SIZE(_reg), \
count              60 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	size_t count;
count             125 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 		.registers = _reg, .count = ARRAY_SIZE(_reg) }
count             132 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	size_t count;
count             167 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	size_t count;
count             174 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 		.count = ARRAY_SIZE(_array), }
count             280 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	{ .registers = _array, .count = ARRAY_SIZE(_array), \
count             360 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	u32 count;
count             377 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h #define DEBUGBUS(_id, _count) { .id = _id, .name = #_id, .count = _count }
count             382 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h 	u32 count;
count             526 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	int i, count = 0;
count             564 drivers/gpu/drm/msm/adreno/adreno_gpu.c 		count += adreno_gpu->registers[i + 1] -
count             567 drivers/gpu/drm/msm/adreno/adreno_gpu.c 	state->registers = kcalloc(count * 2, sizeof(u32), GFP_KERNEL);
count             582 drivers/gpu/drm/msm/adreno/adreno_gpu.c 		state->nr_registers = count;
count             387 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 		    const char __user *user_buf, size_t count, loff_t *ppos)
count             394 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	ret = kstrtouint_from_user(user_buf, count, 0, &perf_mode);
count             417 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	return count;
count             421 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 			char __user *buff, size_t count, loff_t *ppos)
count             433 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	return simple_read_from_buffer(buff, count, ppos, buf, len);
count              73 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c alpha, chroma, count, bp, flg, fm, np)                                    \
count              83 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c 	.unpack_count = count,                                            \
count             513 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h 	u32 count;
count              51 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c static int _mixer_stages(const struct dpu_lm_cfg *mixer, int count,
count              57 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 	for (i = 0; i < count; i++) {
count            1249 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 			char __user *buff, size_t count, loff_t *ppos)
count            1257 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	return simple_read_from_buffer(buff, count, ppos, buf, len);
count            1284 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		    const char __user *user_buf, size_t count, loff_t *ppos)
count            1290 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	ret = kstrtouint_from_user(user_buf, count, 0, &disable_panic);
count            1306 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	return count;
count             321 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h 	TP_PROTO(uint32_t drm_id, int count),
count             322 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h 	TP_ARGS(drm_id, count)
count              83 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c 	for (i = 0; i < tbl->count; i++) {
count             324 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c 		for (j = 0; j < vbif->dynamic_ot_rd_tbl.count; j++) {
count             338 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c 		for (j = 0; j < vbif->dynamic_ot_wr_tbl.count; j++) {
count              20 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count              34 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count              39 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count              48 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count              56 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count              63 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count              82 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count              86 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             104 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             118 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             123 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             130 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             136 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             141 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             160 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             164 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             168 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             186 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             208 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             213 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             220 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             226 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             231 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 6,
count             254 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             259 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             263 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             281 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             295 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             300 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             307 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             313 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             318 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2, /* LM0 and LM3 */
count             331 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             348 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             370 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             375 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             382 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             388 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             393 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 6,
count             416 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             421 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             425 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             443 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             450 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             455 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             466 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             476 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             484 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             494 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 6,
count             517 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             521 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             525 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             529 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             533 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             551 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             555 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             560 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             571 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             580 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             588 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             598 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             611 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             616 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             620 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             636 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             643 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 5,
count             648 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             659 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             669 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2, /* driver supports max of 2 currently */
count             677 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             687 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 6,
count             710 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count             714 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 3,
count             718 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 4,
count             722 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 1,
count             726 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c 		.count = 2,
count              27 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h 	unsigned int count; \
count             449 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	u32 count;
count             451 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	count = intf->mode == MDP5_INTF_DSI_MODE_COMMAND ? 0 : 0xffffffff;
count             452 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	drm_crtc_set_max_vblank_count(crtc, count);
count             698 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	if (WARN_ON(ctl_cfg->count > MAX_CTL)) {
count             700 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 				ctl_cfg->count);
count             707 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	ctl_mgr->nlm = hw_cfg->lm.count;
count             708 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	ctl_mgr->nctl = ctl_cfg->count;
count             845 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes,
count             851 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	ret = construct_pipes(mdp5_kms, hw_cfg->pipe_vig.count, vig_planes,
count             857 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	ret = construct_pipes(mdp5_kms, hw_cfg->pipe_dma.count, dma_planes,
count             863 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	ret = construct_pipes(mdp5_kms, hw_cfg->pipe_cursor.count,
count             880 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 	for (i = 0; i < hw_cfg->lm.count; i++) {
count              14 drivers/gpu/drm/msm/disp/mdp_kms.c 	int count;
count              83 drivers/gpu/drm/msm/disp/mdp_kms.c 	wait->count--;
count              94 drivers/gpu/drm/msm/disp/mdp_kms.c 		.count = 1,
count              97 drivers/gpu/drm/msm/disp/mdp_kms.c 	wait_event_timeout(wait_event, (wait.count <= 0),
count             157 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 	u32 *pdata, u32 count)
count             164 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 	WARN_ON(!pdata || !preg || (count == 0));
count             169 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 		while (count) {
count             171 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 			for (i = 0; i < count && i < QCOM_SCM_HDCP_MAX_REQ_CNT;
count             186 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 			count -= i;
count             189 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c 		for (i = 0; i < count; i++)
count              86 drivers/gpu/drm/msm/msm_drv.c struct clk *msm_clk_bulk_get_clock(struct clk_bulk_data *bulk, int count,
count              94 drivers/gpu/drm/msm/msm_drv.c 	for (i = 0; bulk && i < count; i++) {
count             406 drivers/gpu/drm/msm/msm_drv.h struct clk *msm_clk_bulk_get_clock(struct clk_bulk_data *bulk, int count,
count             866 drivers/gpu/drm/msm/msm_gem.c 	int count = 0;
count             874 drivers/gpu/drm/msm/msm_gem.c 		count++;
count             878 drivers/gpu/drm/msm/msm_gem.c 	seq_printf(m, "Total %d objects, %zu bytes\n", count, size);
count              47 drivers/gpu/drm/msm/msm_gem_shrinker.c 	unsigned long count = 0;
count              55 drivers/gpu/drm/msm/msm_gem_shrinker.c 			count += msm_obj->base.size >> PAGE_SHIFT;
count              61 drivers/gpu/drm/msm/msm_gem_shrinker.c 	return count;
count             263 drivers/gpu/drm/msm/msm_gpu.c 		size_t count, void *data, size_t datalen)
count             277 drivers/gpu/drm/msm/msm_gpu.c 	iter.remain = count;
count             295 drivers/gpu/drm/msm/msm_gpu.c 	return count - iter.remain;
count              46 drivers/gpu/drm/nouveau/include/nvif/cl0080.h 	__u8  count;
count              16 drivers/gpu/drm/nouveau/include/nvif/if0000.h 	__u8  count;
count              11 drivers/gpu/drm/nouveau/include/nvif/if0001.h 	__u8  count; /* out: number of power states */
count              39 drivers/gpu/drm/nouveau/include/nvif/if0008.h 	__u16 count;
count              42 drivers/gpu/drm/nouveau/include/nvif/ioctl.h 	__u8  count;
count              27 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h void nvkm_ltc_tags_clear(struct nvkm_device *, u32 first, u32 count);
count              51 drivers/gpu/drm/nouveau/include/nvkm/subdev/therm.h 	u8  count;
count             397 drivers/gpu/drm/nouveau/nouveau_acpi.c 	rom_arg.count = 2;
count             521 drivers/gpu/drm/nouveau/nouveau_chan.c 		.m.count = sizeof(args.v) / sizeof(args.v.channels),
count              85 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	for (i = 0; i < info.count + 1; i++) {
count              86 drivers/gpu/drm/nouveau/nouveau_debugfs.c 		const s32 state = i < info.count ? i :
count              98 drivers/gpu/drm/nouveau/nouveau_debugfs.c 		if (i < info.count)
count             109 drivers/gpu/drm/nouveau/nouveau_dma.c nv50_dma_push_wait(struct nouveau_channel *chan, int count)
count             113 drivers/gpu/drm/nouveau/nouveau_dma.c 	while (chan->dma.ib_free < count) {
count             135 drivers/gpu/drm/nouveau/nouveau_dma.c nv50_dma_wait(struct nouveau_channel *chan, int slots, int count)
count             144 drivers/gpu/drm/nouveau/nouveau_dma.c 	while (chan->dma.free < count) {
count             155 drivers/gpu/drm/nouveau/nouveau_dma.c 			if (chan->dma.free >= count)
count             708 drivers/gpu/drm/nouveau/nouveau_drm.c 	aper->count = 1;
count             711 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->ranges[aper->count].base = pci_resource_start(pdev, 2);
count             712 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->ranges[aper->count].size = pci_resource_len(pdev, 2);
count             713 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->count++;
count             717 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->ranges[aper->count].base = pci_resource_start(pdev, 3);
count             718 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->ranges[aper->count].size = pci_resource_len(pdev, 3);
count             719 drivers/gpu/drm/nouveau/nouveau_drm.c 		aper->count++;
count              63 drivers/gpu/drm/nouveau/nouveau_hwmon.c 					 const char *buf, size_t count)
count              76 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	return count;
count              96 drivers/gpu/drm/nouveau/nouveau_hwmon.c 					      const char *buf, size_t count)
count             109 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	return count;
count             149 drivers/gpu/drm/nouveau/nouveau_hwmon.c 			   const char *buf, size_t count)
count             164 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	return count;
count             172 drivers/gpu/drm/nouveau/nouveau_hwmon.c 			   const char *buf, size_t count)
count             187 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	return count;
count              43 drivers/gpu/drm/nouveau/nvif/fifo.c 	a->m.count = sizeof(a->v) / sizeof(a->v.runlists);
count              81 drivers/gpu/drm/nouveau/nvif/fifo.c 		.m.count = sizeof(a.v) / sizeof(a.v.engine),
count             118 drivers/gpu/drm/nouveau/nvif/mmu.c 		kind->count = mmu->kind_nr;
count             123 drivers/gpu/drm/nouveau/nvif/mmu.c 			memcpy(mmu->kind, kind->data, kind->count);
count              75 drivers/gpu/drm/nouveau/nvif/object.c 		args->sclass.count = cnt;
count              78 drivers/gpu/drm/nouveau/nvif/object.c 		if (ret == 0 && args->sclass.count <= cnt)
count              80 drivers/gpu/drm/nouveau/nvif/object.c 		cnt = args->sclass.count;
count              86 drivers/gpu/drm/nouveau/nvif/object.c 	*psclass = kcalloc(args->sclass.count, sizeof(**psclass), GFP_KERNEL);
count              88 drivers/gpu/drm/nouveau/nvif/object.c 		for (i = 0; i < args->sclass.count; i++) {
count              93 drivers/gpu/drm/nouveau/nvif/object.c 		ret = args->sclass.count;
count             202 drivers/gpu/drm/nouveau/nvkm/core/client.c 			   args->v0.version, args->v0.count);
count             203 drivers/gpu/drm/nouveau/nvkm/core/client.c 		if (size == sizeof(args->v0.device[0]) * args->v0.count) {
count             204 drivers/gpu/drm/nouveau/nvkm/core/client.c 			ret = nvkm_device_list(args->v0.device, args->v0.count);
count             206 drivers/gpu/drm/nouveau/nvkm/core/client.c 				args->v0.count = ret;
count              62 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 			   args->v0.version, args->v0.count);
count              63 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		if (size != args->v0.count * sizeof(args->v0.oclass[0]))
count              68 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 			if (i < args->v0.count) {
count              76 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c 		args->v0.count = i;
count              51 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c 		args->v0.count = clk->state_nr;
count              57 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c 		args->v0.count = 0;
count             118 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 			   args->v1.version, args->v1.count);
count             119 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 		if (args->v1.count * sizeof(args->v1.data[0]) == size) {
count             120 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c 			for (i = 0; i < args->v1.count; i++)
count              70 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	const int count = ARRAY_SIZE(nvkm_dma_sclass);
count              71 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	if (index < count) {
count              78 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	return count;
count              84 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	const int count = ARRAY_SIZE(nvkm_dma_sclass);
count              85 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	if (index < count) {
count              89 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c 	return count;
count            1027 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 next = init->addr + init->count * init->pitch;
count            1047 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 next = init->addr + init->count * init->pitch;
count            1084 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 next = init->addr + init->count * init->pitch;
count            1665 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c 		u32 tail = head + init->count * init->pitch;
count             282 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h 	u8  count;
count             294 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h 		  for (init = pack->init; init && init->count; init++)
count              66 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 		ent->count = 1;
count             115 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 		ent->count = 1;
count             175 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c 		init->count = 1;
count             628 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 6);
count             638 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = 0; i < count; i++) {
count             661 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 1);
count             664 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("REPEAT\t0x%02x\n", count);
count             669 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count             672 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		if (count)
count             673 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			trace("REPEAT\t0x%02x\n", count);
count             692 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 7);
count             702 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = 0; i < count; i++) {
count             927 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 17);
count             933 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count             957 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 6);
count             967 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = 0; i < count; i++) {
count            1007 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 3);
count            1012 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1038 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 3);
count            1043 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1064 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 3);
count            1070 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = 0; i < count; i++) {
count            1079 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			.addr = addr, .flags = 0, .len = count, .buf = data,
count            1123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 2);
count            1129 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1152 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 4);
count            1159 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1216 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 1);
count            1221 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1285 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 5);
count            1287 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("ZM_REG_SEQUENCE\t0x%02x\n", count);
count            1290 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            1916 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = init_ram_restrict_group_count(init);
count            1923 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (cconf = 0; cconf < count; cconf++) {
count            1986 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = init_ram_restrict_group_count(init);
count            1996 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 		for (j = 0; j < count; j++) {
count            2039 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 5);
count            2044 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            2110 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 5);
count            2112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("AUXCH\tAUX[0x%08x] 0x%02x\n", addr, count);
count            2115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            2134 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 5);
count            2136 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	trace("ZM_AUXCH\tAUX[0x%08x] 0x%02x\n", addr, count);
count            2139 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	while (count--) {
count            2196 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8 count = nvbios_rd08(bios, init->offset + 1);
count            2203 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = init->offset; i < init->offset + count; i++)
count            2209 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			for (i = init->offset; i < init->offset + count; i++) {
count            2215 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 			if (i == (init->offset + count)) {
count            2224 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	init->offset += count;
count              29 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_tags_clear(struct nvkm_device *device, u32 first, u32 count)
count              32 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c 	const u32 limit = first + count - 1;
count              33 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gf100.c gf100_mmu_kind(struct nvkm_mmu *mmu, int *count)
count              71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gf100.c 	*count = ARRAY_SIZE(kind);
count              30 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c gm200_mmu_kind(struct nvkm_mmu *mmu, int *count)
count              67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c 	*count = ARRAY_SIZE(kind);
count              30 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv50.c nv50_mmu_kind(struct nvkm_mmu *base, int *count)
count              59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv50.c 	*count = ARRAY_SIZE(kind);
count              38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h 	const u8 *(*kind)(struct nvkm_mmu *, int *count);
count              44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h const u8 *nv50_mmu_kind(struct nvkm_mmu *, int *count);
count              46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h const u8 *gf100_mmu_kind(struct nvkm_mmu *, int *count);
count             113 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 	int ret = -ENOSYS, count = 0;
count             116 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 		kind = mmu->func->kind(mmu, &count);
count             119 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 		if (argc != args->v0.count * sizeof(*args->v0.data))
count             121 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 		if (args->v0.count > count)
count             123 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c 		memcpy(args->v0.data, kind, args->v0.count);
count             385 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	u32 count = 0;
count             390 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		count++;
count             398 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	offset = sizeof(img->wpr_header) * (count + 1);
count             241 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	u32 count = 0;
count             246 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		count++;
count             254 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	offset = sizeof(img->wpr_header) * (count + 1);
count              30 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 		  for (init = pack->init; init && init->count; init++)
count              41 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 		next = init->addr + init->count * 8;
count              45 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c 			   init->addr, init->count, init->data);
count             470 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		const char *buf, size_t count)
count             499 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	return count;
count             518 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 		const char *buf, size_t count)
count             544 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	return count;
count            4639 drivers/gpu/drm/omapdrm/dss/dispc.c 	unsigned int count;
count            4675 drivers/gpu/drm/omapdrm/dss/dispc.c 	count = 0;
count            4677 drivers/gpu/drm/omapdrm/dss/dispc.c 		if (count++ > 10000) {
count             480 drivers/gpu/drm/omapdrm/dss/dsi.c 	return dsi->bus_lock.count == 0;
count            1056 drivers/gpu/drm/omapdrm/omap_gem.c 	int count = 0;
count            1063 drivers/gpu/drm/omapdrm/omap_gem.c 		count++;
count            1067 drivers/gpu/drm/omapdrm/omap_gem.c 	seq_printf(m, "Total %d objects, %zu bytes\n", count, size);
count              15 drivers/gpu/drm/omapdrm/omap_irq.c 	int count;
count              37 drivers/gpu/drm/omapdrm/omap_irq.c 	wait->count--;
count              42 drivers/gpu/drm/omapdrm/omap_irq.c 		u32 irqmask, int count)
count              50 drivers/gpu/drm/omapdrm/omap_irq.c 	wait->count = count;
count              67 drivers/gpu/drm/omapdrm/omap_irq.c 	ret = wait_event_timeout(wait->wq, (wait->count <= 0), timeout);
count              25 drivers/gpu/drm/omapdrm/omap_irq.h 		u32 irqmask, int count);
count             291 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 				    size_t count)
count              57 drivers/gpu/drm/panel/panel-lg-lg4573.c 				      unsigned int count)
count              62 drivers/gpu/drm/panel/panel-lg-lg4573.c 	for (i = 0; i < count; i++) {
count             236 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	size_t count = ARRAY_SIZE(manufacturer_cmd_set);
count             239 drivers/gpu/drm/panel/panel-raydium-rm67191.c 	for (i = 0; i < count; i++) {
count             201 drivers/gpu/drm/panel/panel-sony-acx565akm.c 			       const char *buf, size_t count)
count             210 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		if (count > 0 && buf[count - 1] == '\n')
count             211 drivers/gpu/drm/panel/panel-sony-acx565akm.c 			count--;
count             212 drivers/gpu/drm/panel/panel-sony-acx565akm.c 		if (count != cmp_len)
count             229 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	return count;
count             193 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 			     const char *buf, size_t count)
count             209 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	return count;
count             221 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 			  const char *buf, size_t count)
count             236 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	return count;
count             260 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 			   const char *buf, size_t count)
count             278 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	return count;
count              24 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c 	unsigned long count = 0;
count              31 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c 			count += shmem->base.size >> PAGE_SHIFT;
count              36 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c 	return count;
count             251 drivers/gpu/drm/panfrost/panfrost_mmu.c 	unsigned int count;
count             256 drivers/gpu/drm/panfrost/panfrost_mmu.c 	for_each_sg(sgt->sgl, sgl, sgt->nents, count) {
count             431 drivers/gpu/drm/qxl/qxl_cmd.c 	int count = 0;
count             443 drivers/gpu/drm/qxl/qxl_cmd.c 		count++;
count             255 drivers/gpu/drm/qxl/qxl_dev.h 		uint16_t count;
count             772 drivers/gpu/drm/qxl/qxl_dev.h 	uint32_t count;
count             870 drivers/gpu/drm/qxl/qxl_dev.h 	uint16_t count;
count              45 drivers/gpu/drm/qxl/qxl_display.c 		unsigned int count)
count              48 drivers/gpu/drm/qxl/qxl_display.c 	    count > qdev->client_monitors_config->count) {
count              55 drivers/gpu/drm/qxl/qxl_display.c 				heads, count), GFP_KERNEL);
count              59 drivers/gpu/drm/qxl/qxl_display.c 	qdev->client_monitors_config->count = count;
count              77 drivers/gpu/drm/qxl/qxl_display.c 	num_monitors = qdev->rom->client_monitors_config.count;
count              91 drivers/gpu/drm/qxl/qxl_display.c 		num_monitors = qdev->rom->client_monitors_config.count;
count              94 drivers/gpu/drm/qxl/qxl_display.c 	      && (num_monitors != qdev->client_monitors_config->count)) {
count             103 drivers/gpu/drm/qxl/qxl_display.c 	for (i = 0 ; i < qdev->client_monitors_config->count ; ++i) {
count             256 drivers/gpu/drm/qxl/qxl_display.c 	if (h >= qdev->client_monitors_config->count)
count             292 drivers/gpu/drm/qxl/qxl_display.c 	if (qdev->monitors_config->count == 0)
count             295 drivers/gpu/drm/qxl/qxl_display.c 	for (i = 0 ; i < qdev->monitors_config->count ; ++i) {
count             328 drivers/gpu/drm/qxl/qxl_display.c 	oldcount = qdev->monitors_config->count;
count             336 drivers/gpu/drm/qxl/qxl_display.c 		if (qdev->monitors_config->count < i + 1)
count             337 drivers/gpu/drm/qxl/qxl_display.c 			qdev->monitors_config->count = i + 1;
count             345 drivers/gpu/drm/qxl/qxl_display.c 		if (qdev->monitors_config->count == i + 1)
count             346 drivers/gpu/drm/qxl/qxl_display.c 			qdev->monitors_config->count = i;
count             356 drivers/gpu/drm/qxl/qxl_display.c 	    oldcount    == qdev->monitors_config->count)
count             362 drivers/gpu/drm/qxl/qxl_display.c 	if (oldcount != qdev->monitors_config->count)
count             364 drivers/gpu/drm/qxl/qxl_display.c 			      oldcount, qdev->monitors_config->count,
count            1048 drivers/gpu/drm/qxl/qxl_display.c 		connected = qdev->client_monitors_config->count > output->index &&
count              62 drivers/gpu/drm/qxl/qxl_release.c 	int count = 0, sc = 0;
count              78 drivers/gpu/drm/qxl/qxl_release.c 	for (count = 0; count < 11; count++) {
count              47 drivers/gpu/drm/r128/r128_state.c 				 struct drm_clip_rect *boxes, int count)
count              53 drivers/gpu/drm/r128/r128_state.c 	BEGIN_RING((count < 3 ? count : 3) * 5 + 2);
count              55 drivers/gpu/drm/r128/r128_state.c 	if (count >= 1) {
count              64 drivers/gpu/drm/r128/r128_state.c 	if (count >= 2) {
count              73 drivers/gpu/drm/r128/r128_state.c 	if (count >= 3) {
count             697 drivers/gpu/drm/r128/r128_state.c 				      int start, int end, int count)
count             709 drivers/gpu/drm/r128/r128_state.c 	DRM_DEBUG("indices: s=%d e=%d c=%d\n", start, end, count);
count             732 drivers/gpu/drm/r128/r128_state.c 				       (count << 16)));
count             734 drivers/gpu/drm/r128/r128_state.c 		if (count & 0x1) {
count             894 drivers/gpu/drm/r128/r128_state.c 	int count, x, y;
count             901 drivers/gpu/drm/r128/r128_state.c 	count = depth->n;
count             902 drivers/gpu/drm/r128/r128_state.c 	if (count > 4096 || count <= 0)
count             923 drivers/gpu/drm/r128/r128_state.c 		for (i = 0; i < count; i++, x++) {
count             948 drivers/gpu/drm/r128/r128_state.c 		for (i = 0; i < count; i++, x++) {
count             979 drivers/gpu/drm/r128/r128_state.c 	int count, *x, *y;
count             986 drivers/gpu/drm/r128/r128_state.c 	count = depth->n;
count             987 drivers/gpu/drm/r128/r128_state.c 	if (count > 4096 || count <= 0)
count             990 drivers/gpu/drm/r128/r128_state.c 	xbuf_size = count * sizeof(*x);
count             991 drivers/gpu/drm/r128/r128_state.c 	ybuf_size = count * sizeof(*y);
count            1018 drivers/gpu/drm/r128/r128_state.c 		for (i = 0; i < count; i++) {
count            1043 drivers/gpu/drm/r128/r128_state.c 		for (i = 0; i < count; i++) {
count            1076 drivers/gpu/drm/r128/r128_state.c 	int count, x, y;
count            1080 drivers/gpu/drm/r128/r128_state.c 	count = depth->n;
count            1081 drivers/gpu/drm/r128/r128_state.c 	if (count > 4096 || count <= 0)
count            1106 drivers/gpu/drm/r128/r128_state.c 	OUT_RING((count << 16) | 1);
count            1117 drivers/gpu/drm/r128/r128_state.c 	int count, *x, *y;
count            1122 drivers/gpu/drm/r128/r128_state.c 	count = depth->n;
count            1123 drivers/gpu/drm/r128/r128_state.c 	if (count > 4096 || count <= 0)
count            1126 drivers/gpu/drm/r128/r128_state.c 	if (count > dev_priv->depth_pitch)
count            1127 drivers/gpu/drm/r128/r128_state.c 		count = dev_priv->depth_pitch;
count            1129 drivers/gpu/drm/r128/r128_state.c 	xbuf_size = count * sizeof(*x);
count            1130 drivers/gpu/drm/r128/r128_state.c 	ybuf_size = count * sizeof(*y);
count            1150 drivers/gpu/drm/r128/r128_state.c 	for (i = 0; i < count; i++) {
count            1327 drivers/gpu/drm/r128/r128_state.c 		  task_pid_nr(current), vertex->idx, vertex->count, vertex->discard);
count            1356 drivers/gpu/drm/r128/r128_state.c 	buf->used = vertex->count;
count            1373 drivers/gpu/drm/r128/r128_state.c 	int count;
count            1409 drivers/gpu/drm/r128/r128_state.c 	count = (elts->end - elts->start) / sizeof(u16);
count            1425 drivers/gpu/drm/r128/r128_state.c 	r128_cce_dispatch_indices(dev, buf, elts->start, elts->end, count);
count             663 drivers/gpu/drm/radeon/atom.c 	unsigned count = U8((*ptr)++);
count             664 drivers/gpu/drm/radeon/atom.c 	SDEBUG("   count: %d\n", count);
count             666 drivers/gpu/drm/radeon/atom.c 		udelay(count);
count             668 drivers/gpu/drm/radeon/atom.c 		mdelay(count);
count             670 drivers/gpu/drm/radeon/atom.c 		msleep(count);
count            1180 drivers/gpu/drm/radeon/btc_dpm.c 	if ((table == NULL) || (table->count == 0)) {
count            1185 drivers/gpu/drm/radeon/btc_dpm.c 	for (i = 0; i < table->count; i++) {
count            1197 drivers/gpu/drm/radeon/btc_dpm.c 	if ((table == NULL) || (table->count == 0))
count            1200 drivers/gpu/drm/radeon/btc_dpm.c 	for (i= 0; i < table->count; i++) {
count            1217 drivers/gpu/drm/radeon/btc_dpm.c 	if ((clocks == NULL) || (clocks->count == 0))
count            1220 drivers/gpu/drm/radeon/btc_dpm.c 	for (i = 0; i < clocks->count; i++) {
count            1225 drivers/gpu/drm/radeon/btc_dpm.c 	return (clocks->values[clocks->count - 1] < max_clock) ?
count            1226 drivers/gpu/drm/radeon/btc_dpm.c 		clocks->values[clocks->count - 1] : max_clock;
count            1301 drivers/gpu/drm/radeon/btc_dpm.c 	for (i = 0; i < table->count; i++) {
count            1306 drivers/gpu/drm/radeon/btc_dpm.c 	return table->entries[table->count - 1].value;
count            1442 drivers/gpu/drm/radeon/btc_dpm.c 				  const u32 *sequence, u32 count)
count            1444 drivers/gpu/drm/radeon/btc_dpm.c 	u32 i, length = count * 3;
count            1457 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1462 drivers/gpu/drm/radeon/btc_dpm.c 		count = BARTS_CGCG_CGLS_DEFAULT_LENGTH;
count            1465 drivers/gpu/drm/radeon/btc_dpm.c 		count = TURKS_CGCG_CGLS_DEFAULT_LENGTH;
count            1468 drivers/gpu/drm/radeon/btc_dpm.c 		count = CAICOS_CGCG_CGLS_DEFAULT_LENGTH;
count            1472 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            1478 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1484 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_CGCG_CGLS_ENABLE_LENGTH;
count            1487 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_CGCG_CGLS_ENABLE_LENGTH;
count            1490 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_CGCG_CGLS_ENABLE_LENGTH;
count            1496 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_CGCG_CGLS_DISABLE_LENGTH;
count            1499 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_CGCG_CGLS_DISABLE_LENGTH;
count            1502 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_CGCG_CGLS_DISABLE_LENGTH;
count            1507 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            1512 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1517 drivers/gpu/drm/radeon/btc_dpm.c 		count = BARTS_MGCG_DEFAULT_LENGTH;
count            1520 drivers/gpu/drm/radeon/btc_dpm.c 		count = TURKS_MGCG_DEFAULT_LENGTH;
count            1523 drivers/gpu/drm/radeon/btc_dpm.c 		count = CAICOS_MGCG_DEFAULT_LENGTH;
count            1527 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            1533 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1539 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_MGCG_ENABLE_LENGTH;
count            1542 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_MGCG_ENABLE_LENGTH;
count            1545 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_MGCG_ENABLE_LENGTH;
count            1551 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_MGCG_DISABLE_LENGTH;
count            1554 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_MGCG_DISABLE_LENGTH;
count            1557 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_MGCG_DISABLE_LENGTH;
count            1562 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            1567 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1572 drivers/gpu/drm/radeon/btc_dpm.c 		count = BARTS_SYSLS_DEFAULT_LENGTH;
count            1575 drivers/gpu/drm/radeon/btc_dpm.c 		count = TURKS_SYSLS_DEFAULT_LENGTH;
count            1578 drivers/gpu/drm/radeon/btc_dpm.c 		count = CAICOS_SYSLS_DEFAULT_LENGTH;
count            1582 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            1588 drivers/gpu/drm/radeon/btc_dpm.c 	u32 count;
count            1594 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_SYSLS_ENABLE_LENGTH;
count            1597 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_SYSLS_ENABLE_LENGTH;
count            1600 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_SYSLS_ENABLE_LENGTH;
count            1606 drivers/gpu/drm/radeon/btc_dpm.c 			count = BARTS_SYSLS_DISABLE_LENGTH;
count            1609 drivers/gpu/drm/radeon/btc_dpm.c 			count = TURKS_SYSLS_DISABLE_LENGTH;
count            1612 drivers/gpu/drm/radeon/btc_dpm.c 			count = CAICOS_SYSLS_DISABLE_LENGTH;
count            1617 drivers/gpu/drm/radeon/btc_dpm.c 	btc_program_mgcg_hw_sequence(rdev, p, count);
count            2593 drivers/gpu/drm/radeon/btc_dpm.c 	rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4;
count            2704 drivers/gpu/drm/radeon/btc_dpm.c 	rdev->pm.dpm.dyn_state.valid_sclk_values.count = ARRAY_SIZE(btc_valid_sclk);
count            2706 drivers/gpu/drm/radeon/btc_dpm.c 	rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0;
count              43 drivers/gpu/drm/radeon/btc_dpm.h 				  const u32 *sequence, u32 count);
count             285 drivers/gpu/drm/radeon/ci_dpm.c 	if (rdev->pm.dpm.dyn_state.cac_leakage_table.count > 8)
count             287 drivers/gpu/drm/radeon/ci_dpm.c 	if (rdev->pm.dpm.dyn_state.cac_leakage_table.count !=
count             288 drivers/gpu/drm/radeon/ci_dpm.c 	    rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count)
count             291 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < rdev->pm.dpm.dyn_state.cac_leakage_table.count; i++) {
count             310 drivers/gpu/drm/radeon/ci_dpm.c 	if (pi->vddc_voltage_table.count > 8)
count             313 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < pi->vddc_voltage_table.count; i++)
count            1345 drivers/gpu/drm/radeon/ci_dpm.c 	pi->vddc_leakage.count = 0;
count            1346 drivers/gpu/drm/radeon/ci_dpm.c 	pi->vddci_leakage.count = 0;
count            1354 drivers/gpu/drm/radeon/ci_dpm.c 				pi->vddc_leakage.actual_voltage[pi->vddc_leakage.count] = vddc;
count            1355 drivers/gpu/drm/radeon/ci_dpm.c 				pi->vddc_leakage.leakage_id[pi->vddc_leakage.count] = virtual_voltage_id;
count            1356 drivers/gpu/drm/radeon/ci_dpm.c 				pi->vddc_leakage.count++;
count            1366 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddc_leakage.actual_voltage[pi->vddc_leakage.count] = vddc;
count            1367 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddc_leakage.leakage_id[pi->vddc_leakage.count] = virtual_voltage_id;
count            1368 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddc_leakage.count++;
count            1371 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddci_leakage.actual_voltage[pi->vddci_leakage.count] = vddci;
count            1372 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddci_leakage.leakage_id[pi->vddci_leakage.count] = virtual_voltage_id;
count            1373 drivers/gpu/drm/radeon/ci_dpm.c 					pi->vddci_leakage.count++;
count            2125 drivers/gpu/drm/radeon/ci_dpm.c 	voltage_table->count = voltage_dependency_table->count;
count            2126 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < voltage_table->count; i++) {
count            2153 drivers/gpu/drm/radeon/ci_dpm.c 	if (pi->vddc_voltage_table.count > SMU7_MAX_LEVELS_VDDC)
count            2171 drivers/gpu/drm/radeon/ci_dpm.c 	if (pi->vddci_voltage_table.count > SMU7_MAX_LEVELS_VDDCI)
count            2189 drivers/gpu/drm/radeon/ci_dpm.c 	if (pi->mvdd_voltage_table.count > SMU7_MAX_LEVELS_MVDD)
count            2222 drivers/gpu/drm/radeon/ci_dpm.c 	unsigned int count;
count            2224 drivers/gpu/drm/radeon/ci_dpm.c 	table->VddcLevelCount = pi->vddc_voltage_table.count;
count            2225 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->VddcLevelCount; count++) {
count            2227 drivers/gpu/drm/radeon/ci_dpm.c 					      &pi->vddc_voltage_table.entries[count],
count            2228 drivers/gpu/drm/radeon/ci_dpm.c 					      &table->VddcLevel[count]);
count            2231 drivers/gpu/drm/radeon/ci_dpm.c 			table->VddcLevel[count].Smio |=
count            2232 drivers/gpu/drm/radeon/ci_dpm.c 				pi->vddc_voltage_table.entries[count].smio_low;
count            2234 drivers/gpu/drm/radeon/ci_dpm.c 			table->VddcLevel[count].Smio = 0;
count            2244 drivers/gpu/drm/radeon/ci_dpm.c 	unsigned int count;
count            2247 drivers/gpu/drm/radeon/ci_dpm.c 	table->VddciLevelCount = pi->vddci_voltage_table.count;
count            2248 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->VddciLevelCount; count++) {
count            2250 drivers/gpu/drm/radeon/ci_dpm.c 					      &pi->vddci_voltage_table.entries[count],
count            2251 drivers/gpu/drm/radeon/ci_dpm.c 					      &table->VddciLevel[count]);
count            2254 drivers/gpu/drm/radeon/ci_dpm.c 			table->VddciLevel[count].Smio |=
count            2255 drivers/gpu/drm/radeon/ci_dpm.c 				pi->vddci_voltage_table.entries[count].smio_low;
count            2257 drivers/gpu/drm/radeon/ci_dpm.c 			table->VddciLevel[count].Smio = 0;
count            2268 drivers/gpu/drm/radeon/ci_dpm.c 	unsigned int count;
count            2270 drivers/gpu/drm/radeon/ci_dpm.c 	table->MvddLevelCount = pi->mvdd_voltage_table.count;
count            2271 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->MvddLevelCount; count++) {
count            2273 drivers/gpu/drm/radeon/ci_dpm.c 					      &pi->mvdd_voltage_table.entries[count],
count            2274 drivers/gpu/drm/radeon/ci_dpm.c 					      &table->MvddLevel[count]);
count            2277 drivers/gpu/drm/radeon/ci_dpm.c 			table->MvddLevel[count].Smio |=
count            2278 drivers/gpu/drm/radeon/ci_dpm.c 				pi->mvdd_voltage_table.entries[count].smio_low;
count            2280 drivers/gpu/drm/radeon/ci_dpm.c 			table->MvddLevel[count].Smio = 0;
count            2314 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.count; i++) {
count            2321 drivers/gpu/drm/radeon/ci_dpm.c 		if (i >= rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk.count)
count            2341 drivers/gpu/drm/radeon/ci_dpm.c 		for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            2345 drivers/gpu/drm/radeon/ci_dpm.c 				if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)
count            2348 drivers/gpu/drm/radeon/ci_dpm.c 					idx = rdev->pm.dpm.dyn_state.cac_leakage_table.count - 1;
count            2358 drivers/gpu/drm/radeon/ci_dpm.c 			for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            2362 drivers/gpu/drm/radeon/ci_dpm.c 					if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)
count            2365 drivers/gpu/drm/radeon/ci_dpm.c 						idx = rdev->pm.dpm.dyn_state.cac_leakage_table.count - 1;
count            2388 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < limits->count; i++) {
count            2405 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < limits->count; i++) {
count            2437 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_clock_voltage_table->count == 0)
count            2440 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < allowed_clock_voltage_table->count; i++) {
count            2555 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < pi->dpm_table.sclk_table.count; i++) {
count            2556 drivers/gpu/drm/radeon/ci_dpm.c 		for (j = 0; j < pi->dpm_table.mclk_table.count; j++) {
count            2593 drivers/gpu/drm/radeon/ci_dpm.c 	for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; level++) {
count            2601 drivers/gpu/drm/radeon/ci_dpm.c 	for (level = 0; level < rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.count; level++) {
count            2615 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = dpm_table->count; i > 0; i--) {
count            2633 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < dpm_table->pcie_speed_table.count; i++) {
count            2643 drivers/gpu/drm/radeon/ci_dpm.c 	pi->smc_state_table.LinkLevelCount = (u8)dpm_table->pcie_speed_table.count;
count            2651 drivers/gpu/drm/radeon/ci_dpm.c 	u32 count;
count            2656 drivers/gpu/drm/radeon/ci_dpm.c 		rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count;
count            2658 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->UvdLevelCount; count++) {
count            2659 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].VclkFrequency =
count            2660 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].vclk;
count            2661 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].DclkFrequency =
count            2662 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].dclk;
count            2663 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].MinVddc =
count            2664 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE;
count            2665 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].MinVddcPhases = 1;
count            2669 drivers/gpu/drm/radeon/ci_dpm.c 						     table->UvdLevel[count].VclkFrequency, false, &dividers);
count            2673 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].VclkDivider = (u8)dividers.post_divider;
count            2677 drivers/gpu/drm/radeon/ci_dpm.c 						     table->UvdLevel[count].DclkFrequency, false, &dividers);
count            2681 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].DclkDivider = (u8)dividers.post_divider;
count            2683 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency);
count            2684 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency);
count            2685 drivers/gpu/drm/radeon/ci_dpm.c 		table->UvdLevel[count].MinVddc = cpu_to_be16(table->UvdLevel[count].MinVddc);
count            2694 drivers/gpu/drm/radeon/ci_dpm.c 	u32 count;
count            2699 drivers/gpu/drm/radeon/ci_dpm.c 		rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count;
count            2701 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->VceLevelCount; count++) {
count            2702 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].Frequency =
count            2703 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].evclk;
count            2704 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].MinVoltage =
count            2705 drivers/gpu/drm/radeon/ci_dpm.c 			(u16)rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE;
count            2706 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].MinPhases = 1;
count            2710 drivers/gpu/drm/radeon/ci_dpm.c 						     table->VceLevel[count].Frequency, false, &dividers);
count            2714 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].Divider = (u8)dividers.post_divider;
count            2716 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].Frequency = cpu_to_be32(table->VceLevel[count].Frequency);
count            2717 drivers/gpu/drm/radeon/ci_dpm.c 		table->VceLevel[count].MinVoltage = cpu_to_be16(table->VceLevel[count].MinVoltage);
count            2727 drivers/gpu/drm/radeon/ci_dpm.c 	u32 count;
count            2732 drivers/gpu/drm/radeon/ci_dpm.c 		(rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count);
count            2734 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->AcpLevelCount; count++) {
count            2735 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].Frequency =
count            2736 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[count].clk;
count            2737 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].MinVoltage =
count            2738 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[count].v;
count            2739 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].MinPhases = 1;
count            2743 drivers/gpu/drm/radeon/ci_dpm.c 						     table->AcpLevel[count].Frequency, false, &dividers);
count            2747 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].Divider = (u8)dividers.post_divider;
count            2749 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].Frequency = cpu_to_be32(table->AcpLevel[count].Frequency);
count            2750 drivers/gpu/drm/radeon/ci_dpm.c 		table->AcpLevel[count].MinVoltage = cpu_to_be16(table->AcpLevel[count].MinVoltage);
count            2759 drivers/gpu/drm/radeon/ci_dpm.c 	u32 count;
count            2764 drivers/gpu/drm/radeon/ci_dpm.c 		rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count;
count            2766 drivers/gpu/drm/radeon/ci_dpm.c 	for (count = 0; count < table->SamuLevelCount; count++) {
count            2767 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].Frequency =
count            2768 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[count].clk;
count            2769 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].MinVoltage =
count            2770 drivers/gpu/drm/radeon/ci_dpm.c 			rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[count].v * VOLTAGE_SCALE;
count            2771 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].MinPhases = 1;
count            2775 drivers/gpu/drm/radeon/ci_dpm.c 						     table->SamuLevel[count].Frequency, false, &dividers);
count            2779 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].Divider = (u8)dividers.post_divider;
count            2781 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].Frequency = cpu_to_be32(table->SamuLevel[count].Frequency);
count            2782 drivers/gpu/drm/radeon/ci_dpm.c 		table->SamuLevel[count].MinVoltage = cpu_to_be16(table->SamuLevel[count].MinVoltage);
count            3289 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < dpm_table->sclk_table.count; i++) {
count            3298 drivers/gpu/drm/radeon/ci_dpm.c 		if (i == (dpm_table->sclk_table.count - 1))
count            3304 drivers/gpu/drm/radeon/ci_dpm.c 	pi->smc_state_table.GraphicsDpmLevelCount = (u8)dpm_table->sclk_table.count;
count            3336 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < dpm_table->mclk_table.count; i++) {
count            3348 drivers/gpu/drm/radeon/ci_dpm.c 	if ((dpm_table->mclk_table.count >= 2) &&
count            3358 drivers/gpu/drm/radeon/ci_dpm.c 	pi->smc_state_table.MemoryDpmLevelCount = (u8)dpm_table->mclk_table.count;
count            3362 drivers/gpu/drm/radeon/ci_dpm.c 	pi->smc_state_table.MemoryLevel[dpm_table->mclk_table.count - 1].DisplayWatermark =
count            3376 drivers/gpu/drm/radeon/ci_dpm.c 				      u32 count)
count            3380 drivers/gpu/drm/radeon/ci_dpm.c 	dpm_table->count = count;
count            3436 drivers/gpu/drm/radeon/ci_dpm.c 	pi->dpm_table.pcie_speed_table.count = 6;
count            3454 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_sclk_vddc_table->count < 1)
count            3458 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_mclk_table->count < 1)
count            3479 drivers/gpu/drm/radeon/ci_dpm.c 	pi->dpm_table.sclk_table.count = 0;
count            3480 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < allowed_sclk_vddc_table->count; i++) {
count            3482 drivers/gpu/drm/radeon/ci_dpm.c 		    (pi->dpm_table.sclk_table.dpm_levels[pi->dpm_table.sclk_table.count-1].value !=
count            3484 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.sclk_table.dpm_levels[pi->dpm_table.sclk_table.count].value =
count            3486 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.sclk_table.dpm_levels[pi->dpm_table.sclk_table.count].enabled =
count            3488 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.sclk_table.count++;
count            3492 drivers/gpu/drm/radeon/ci_dpm.c 	pi->dpm_table.mclk_table.count = 0;
count            3493 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < allowed_mclk_table->count; i++) {
count            3495 drivers/gpu/drm/radeon/ci_dpm.c 		    (pi->dpm_table.mclk_table.dpm_levels[pi->dpm_table.mclk_table.count-1].value !=
count            3497 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.mclk_table.dpm_levels[pi->dpm_table.mclk_table.count].value =
count            3499 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.mclk_table.dpm_levels[pi->dpm_table.mclk_table.count].enabled =
count            3501 drivers/gpu/drm/radeon/ci_dpm.c 			pi->dpm_table.mclk_table.count++;
count            3505 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < allowed_sclk_vddc_table->count; i++) {
count            3512 drivers/gpu/drm/radeon/ci_dpm.c 	pi->dpm_table.vddc_table.count = allowed_sclk_vddc_table->count;
count            3516 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < allowed_mclk_table->count; i++) {
count            3521 drivers/gpu/drm/radeon/ci_dpm.c 		pi->dpm_table.vddci_table.count = allowed_mclk_table->count;
count            3526 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < allowed_mclk_table->count; i++) {
count            3531 drivers/gpu/drm/radeon/ci_dpm.c 		pi->dpm_table.mvdd_table.count = allowed_mclk_table->count;
count            3545 drivers/gpu/drm/radeon/ci_dpm.c 	for(i = 0; i < table->count; i++) {
count            3666 drivers/gpu/drm/radeon/ci_dpm.c 	table->PCIeBootLinkLevel = pi->dpm_table.pcie_speed_table.count - 1;
count            3709 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < dpm_table->count; i++) {
count            3726 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < pcie_table->count; i++) {
count            3736 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < pcie_table->count; i++) {
count            3738 drivers/gpu/drm/radeon/ci_dpm.c 			for (j = i + 1; j < pcie_table->count; j++) {
count            3794 drivers/gpu/drm/radeon/ci_dpm.c 	if (!disp_voltage_table->count)
count            3797 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < disp_voltage_table->count; i++) {
count            3802 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < vddc_table->count; i++) {
count            3868 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < sclk_table->count; i++) {
count            3873 drivers/gpu/drm/radeon/ci_dpm.c 	if (i >= sclk_table->count) {
count            3884 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < mclk_table->count; i++) {
count            3889 drivers/gpu/drm/radeon/ci_dpm.c 	if (i >= mclk_table->count)
count            3911 drivers/gpu/drm/radeon/ci_dpm.c 		dpm_table->sclk_table.dpm_levels[dpm_table->sclk_table.count-1].value = sclk;
count            3914 drivers/gpu/drm/radeon/ci_dpm.c 		dpm_table->mclk_table.dpm_levels[dpm_table->mclk_table.count-1].value = mclk;
count            3945 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count - 1; i >= 0; i--) {
count            3993 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count - 1; i >= 0; i--) {
count            4026 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count - 1; i >= 0; i--) {
count            4057 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count - 1; i >= 0; i--) {
count            4084 drivers/gpu/drm/radeon/ci_dpm.c 		    (rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count <= 0))
count            4088 drivers/gpu/drm/radeon/ci_dpm.c 				rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count - 1;
count            4106 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < table->count; i++) {
count            4111 drivers/gpu/drm/radeon/ci_dpm.c 	return table->count - 1;
count            4744 drivers/gpu/drm/radeon/ci_dpm.c 	for (i = 0; i < pi->dpm_table.mclk_table.count; i++)
count            4785 drivers/gpu/drm/radeon/ci_dpm.c 				    pi->dpm_table.mclk_table.count,
count            4929 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_sclk_vddc_table->count < 1)
count            4933 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_mclk_vddc_table->count < 1)
count            4937 drivers/gpu/drm/radeon/ci_dpm.c 	if (allowed_mclk_vddci_table->count < 1)
count            4942 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].v;
count            4946 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_mclk_vddci_table->entries[allowed_mclk_vddci_table->count - 1].v;
count            4949 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].clk;
count            4951 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_mclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].clk;
count            4953 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_sclk_vddc_table->entries[allowed_sclk_vddc_table->count - 1].v;
count            4955 drivers/gpu/drm/radeon/ci_dpm.c 		allowed_mclk_vddci_table->entries[allowed_mclk_vddci_table->count - 1].v;
count            4966 drivers/gpu/drm/radeon/ci_dpm.c 	for (leakage_index = 0; leakage_index < leakage_table->count; leakage_index++) {
count            4980 drivers/gpu/drm/radeon/ci_dpm.c 	for (leakage_index = 0; leakage_index < leakage_table->count; leakage_index++) {
count            4994 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5005 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5016 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5027 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5038 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5058 drivers/gpu/drm/radeon/ci_dpm.c 		for (i = 0; i < table->count; i++)
count            5796 drivers/gpu/drm/radeon/ci_dpm.c 	rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4;
count            5810 drivers/gpu/drm/radeon/ci_dpm.c 	rdev->pm.dpm.dyn_state.valid_sclk_values.count = 0;
count            5812 drivers/gpu/drm/radeon/ci_dpm.c 	rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0;
count              64 drivers/gpu/drm/radeon/ci_dpm.h 	u32 count;
count             101 drivers/gpu/drm/radeon/ci_dpm.h 	u16 count;
count            6684 drivers/gpu/drm/radeon/cik.c 	u32 count = 0;
count            6692 drivers/gpu/drm/radeon/cik.c 	count += 2;
count            6694 drivers/gpu/drm/radeon/cik.c 	count += 3;
count            6699 drivers/gpu/drm/radeon/cik.c 				count += 2 + ext->reg_count;
count            6705 drivers/gpu/drm/radeon/cik.c 	count += 4;
count            6707 drivers/gpu/drm/radeon/cik.c 	count += 2;
count            6709 drivers/gpu/drm/radeon/cik.c 	count += 2;
count            6711 drivers/gpu/drm/radeon/cik.c 	return count;
count            6716 drivers/gpu/drm/radeon/cik.c 	u32 count = 0, i;
count            6725 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            6726 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            6728 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            6729 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            6730 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            6735 drivers/gpu/drm/radeon/cik.c 				buffer[count++] =
count            6737 drivers/gpu/drm/radeon/cik.c 				buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000);
count            6739 drivers/gpu/drm/radeon/cik.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            6746 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 2));
count            6747 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START);
count            6750 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x16000012);
count            6751 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            6754 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
count            6755 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            6759 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
count            6760 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            6763 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x3a00161a);
count            6764 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x0000002e);
count            6767 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            6768 drivers/gpu/drm/radeon/cik.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            6772 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            6773 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            6775 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            6776 drivers/gpu/drm/radeon/cik.c 	buffer[count++] = cpu_to_le32(0);
count             806 drivers/gpu/drm/radeon/cik_sdma.c 			    unsigned count)
count             808 drivers/gpu/drm/radeon/cik_sdma.c 	while (count) {
count             809 drivers/gpu/drm/radeon/cik_sdma.c 		unsigned bytes = count * 8;
count             824 drivers/gpu/drm/radeon/cik_sdma.c 		count -= bytes / 8;
count             844 drivers/gpu/drm/radeon/cik_sdma.c 			     uint64_t addr, unsigned count,
count             850 drivers/gpu/drm/radeon/cik_sdma.c 	while (count) {
count             851 drivers/gpu/drm/radeon/cik_sdma.c 		ndw = count * 2;
count             861 drivers/gpu/drm/radeon/cik_sdma.c 		for (; ndw > 0; ndw -= 2, --count, pe += 8) {
count             893 drivers/gpu/drm/radeon/cik_sdma.c 			   uint64_t addr, unsigned count,
count             899 drivers/gpu/drm/radeon/cik_sdma.c 	while (count) {
count             900 drivers/gpu/drm/radeon/cik_sdma.c 		ndw = count;
count             923 drivers/gpu/drm/radeon/cik_sdma.c 		count -= ndw;
count             410 drivers/gpu/drm/radeon/cypress_dpm.c 	for (i = 0; i < table->count; i++) {
count             418 drivers/gpu/drm/radeon/cypress_dpm.c 	if (i == table->count)
count            1473 drivers/gpu/drm/radeon/cypress_dpm.c 	if (voltage_table->count <= MAX_NO_VREG_STEPS)
count            1476 drivers/gpu/drm/radeon/cypress_dpm.c 	diff = voltage_table->count - MAX_NO_VREG_STEPS;
count            1481 drivers/gpu/drm/radeon/cypress_dpm.c 	voltage_table->count = MAX_NO_VREG_STEPS;
count            1494 drivers/gpu/drm/radeon/cypress_dpm.c 	if (eg_pi->vddc_voltage_table.count > MAX_NO_VREG_STEPS)
count            1504 drivers/gpu/drm/radeon/cypress_dpm.c 		if (eg_pi->vddci_voltage_table.count > MAX_NO_VREG_STEPS)
count            1518 drivers/gpu/drm/radeon/cypress_dpm.c 	for (i = 0; i < voltage_table->count; i++) {
count            1531 drivers/gpu/drm/radeon/cypress_dpm.c 	if (eg_pi->vddc_voltage_table.count) {
count            1540 drivers/gpu/drm/radeon/cypress_dpm.c 		for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) {
count            1549 drivers/gpu/drm/radeon/cypress_dpm.c 	if (eg_pi->vddci_voltage_table.count) {
count            1079 drivers/gpu/drm/radeon/evergreen_cs.c 	for (i = 0; i <= pkt->count; i++, idx++, reg += 4) {
count            1796 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            1828 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            1836 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count) {
count            1846 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count) {
count            1855 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            1881 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 0) {
count            1890 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            1918 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 4) {
count            1943 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            1954 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2) {
count            1965 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count < 2) {
count            1976 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2) {
count            1987 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            2006 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2) {
count            2040 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            2059 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            2070 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 1) {
count            2087 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 5) {
count            2116 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 4) {
count            2214 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count) {
count            2220 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            2236 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2 && pkt->count != 0) {
count            2240 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count) {
count            2260 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 4) {
count            2282 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            2302 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2319 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2335 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count % 8) {
count            2340 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2347 drivers/gpu/drm/radeon/evergreen_cs.c 		for (i = 0; i < (pkt->count / 8); i++) {
count            2443 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2453 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2463 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2472 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count % 3) {
count            2477 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2486 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 4) {
count            2533 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 3) {
count            2559 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 4) {
count            2623 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2) {
count            2755 drivers/gpu/drm/radeon/evergreen_cs.c 		p->idx += pkt.count + 2;
count            2801 drivers/gpu/drm/radeon/evergreen_cs.c 	u32 header, cmd, count, sub_cmd;
count            2816 drivers/gpu/drm/radeon/evergreen_cs.c 		count = GET_DMA_COUNT(header);
count            2833 drivers/gpu/drm/radeon/evergreen_cs.c 				p->idx += count + 7;
count            2842 drivers/gpu/drm/radeon/evergreen_cs.c 				p->idx += count + 3;
count            2848 drivers/gpu/drm/radeon/evergreen_cs.c 			if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2873 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            2875 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            2878 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2880 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            2913 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            2915 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            2918 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2920 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            2932 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + count) > radeon_bo_size(src_reloc->robj)) {
count            2934 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + count, radeon_bo_size(src_reloc->robj));
count            2937 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + count) > radeon_bo_size(dst_reloc->robj)) {
count            2939 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + count, radeon_bo_size(dst_reloc->robj));
count            2976 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            2978 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            2981 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2983 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            2986 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst2_offset + (count * 4)) > radeon_bo_size(dst2_reloc->robj)) {
count            2988 drivers/gpu/drm/radeon/evergreen_cs.c 							dst2_offset + (count * 4), radeon_bo_size(dst2_reloc->robj));
count            3016 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            3018 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            3021 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            3023 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            3026 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst2_offset + (count * 4)) > radeon_bo_size(dst2_reloc->robj)) {
count            3028 drivers/gpu/drm/radeon/evergreen_cs.c 							dst2_offset + (count * 4), radeon_bo_size(dst2_reloc->robj));
count            3078 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            3080 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            3083 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            3085 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            3088 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst2_offset + (count * 4)) > radeon_bo_size(dst2_reloc->robj)) {
count            3090 drivers/gpu/drm/radeon/evergreen_cs.c 							dst2_offset + (count * 4), radeon_bo_size(dst2_reloc->robj));
count            3124 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            3126 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            3129 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            3131 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            3165 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            3167 drivers/gpu/drm/radeon/evergreen_cs.c 							src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            3170 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            3172 drivers/gpu/drm/radeon/evergreen_cs.c 							dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            3175 drivers/gpu/drm/radeon/evergreen_cs.c 				if ((dst2_offset + (count * 4)) > radeon_bo_size(dst2_reloc->robj)) {
count            3177 drivers/gpu/drm/radeon/evergreen_cs.c 							dst2_offset + (count * 4), radeon_bo_size(dst2_reloc->robj));
count            3199 drivers/gpu/drm/radeon/evergreen_cs.c 			if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            3423 drivers/gpu/drm/radeon/evergreen_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            3430 drivers/gpu/drm/radeon/evergreen_cs.c 		for (i = 0; i < pkt->count; i++) {
count            3498 drivers/gpu/drm/radeon/evergreen_cs.c 		if (pkt->count != 2) {
count            3530 drivers/gpu/drm/radeon/evergreen_cs.c 		pkt.count = RADEON_CP_PACKET_GET_COUNT(ib->ptr[idx]);
count            3543 drivers/gpu/drm/radeon/evergreen_cs.c 			idx += pkt.count + 2;
count            3569 drivers/gpu/drm/radeon/evergreen_cs.c 	u32 header, cmd, count, sub_cmd;
count            3574 drivers/gpu/drm/radeon/evergreen_cs.c 		count = GET_DMA_COUNT(header);
count            3582 drivers/gpu/drm/radeon/evergreen_cs.c 				idx += count + 7;
count            3586 drivers/gpu/drm/radeon/evergreen_cs.c 				idx += count + 3;
count             263 drivers/gpu/drm/radeon/kv_dpm.c 	u32 i, count, data;
count             267 drivers/gpu/drm/radeon/kv_dpm.c 		count = values->signal_id;
count             268 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < count; i++) {
count             561 drivers/gpu/drm/radeon/kv_dpm.c 	if (vddc_sclk_table && vddc_sclk_table->count) {
count             562 drivers/gpu/drm/radeon/kv_dpm.c 		if (vid_2bit < vddc_sclk_table->count)
count             565 drivers/gpu/drm/radeon/kv_dpm.c 			return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v;
count             583 drivers/gpu/drm/radeon/kv_dpm.c 	if (vddc_sclk_table && vddc_sclk_table->count) {
count             584 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < vddc_sclk_table->count; i++) {
count             588 drivers/gpu/drm/radeon/kv_dpm.c 		return vddc_sclk_table->count - 1;
count             723 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count             828 drivers/gpu/drm/radeon/kv_dpm.c 	if (table == NULL || table->count == 0)
count             832 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count             899 drivers/gpu/drm/radeon/kv_dpm.c 	if (table == NULL || table->count == 0)
count             903 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count             962 drivers/gpu/drm/radeon/kv_dpm.c 	if (table == NULL || table->count == 0)
count             966 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1028 drivers/gpu/drm/radeon/kv_dpm.c 	if (table == NULL || table->count == 0)
count            1032 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1084 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count            1434 drivers/gpu/drm/radeon/kv_dpm.c 		if (table->count)
count            1435 drivers/gpu/drm/radeon/kv_dpm.c 			pi->uvd_boot_level = table->count - 1;
count            1467 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1489 drivers/gpu/drm/radeon/kv_dpm.c 			pi->vce_boot_level = table->count - 1;
count            1527 drivers/gpu/drm/radeon/kv_dpm.c 			pi->samu_boot_level = table->count - 1;
count            1555 drivers/gpu/drm/radeon/kv_dpm.c 	for (i = 0; i < table->count; i++) {
count            1560 drivers/gpu/drm/radeon/kv_dpm.c 	if (i >= table->count)
count            1561 drivers/gpu/drm/radeon/kv_dpm.c 		i = table->count - 1;
count            1591 drivers/gpu/drm/radeon/kv_dpm.c 			pi->acp_boot_level = table->count - 1;
count            1716 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count            1997 drivers/gpu/drm/radeon/kv_dpm.c 	if (uvd_table->count) {
count            1998 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < uvd_table->count; i++)
count            2004 drivers/gpu/drm/radeon/kv_dpm.c 	if (vce_table->count) {
count            2005 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < vce_table->count; i++)
count            2011 drivers/gpu/drm/radeon/kv_dpm.c 	if (samu_table->count) {
count            2012 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < samu_table->count; i++)
count            2018 drivers/gpu/drm/radeon/kv_dpm.c 	if (acp_table->count) {
count            2019 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < acp_table->count; i++)
count            2112 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count            2113 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = table->count - 1; i >= 0; i--) {
count            2169 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = table->count - 1; i >= 0; i--) {
count            2194 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count            2356 drivers/gpu/drm/radeon/kv_dpm.c 	if (table && table->count) {
count            2360 drivers/gpu/drm/radeon/kv_dpm.c 		for (i = 0; i < table->count; i++) {
count             122 drivers/gpu/drm/radeon/kv_smc.c 	u32 data, original_data, addr, extra_shift, t_byte, count, mask;
count             142 drivers/gpu/drm/radeon/kv_smc.c 		count = 4;
count             143 drivers/gpu/drm/radeon/kv_smc.c 		while (count > 0) {
count             155 drivers/gpu/drm/radeon/kv_smc.c 			count--;
count             318 drivers/gpu/drm/radeon/ni_dma.c 			      unsigned count)
count             322 drivers/gpu/drm/radeon/ni_dma.c 	while (count) {
count             323 drivers/gpu/drm/radeon/ni_dma.c 		ndw = count * 2;
count             336 drivers/gpu/drm/radeon/ni_dma.c 		count -= ndw / 2;
count             356 drivers/gpu/drm/radeon/ni_dma.c 			       uint64_t addr, unsigned count,
count             362 drivers/gpu/drm/radeon/ni_dma.c 	while (count) {
count             363 drivers/gpu/drm/radeon/ni_dma.c 		ndw = count * 2;
count             372 drivers/gpu/drm/radeon/ni_dma.c 		for (; ndw > 0; ndw -= 2, --count, pe += 8) {
count             404 drivers/gpu/drm/radeon/ni_dma.c 			     uint64_t addr, unsigned count,
count             410 drivers/gpu/drm/radeon/ni_dma.c 	while (count) {
count             411 drivers/gpu/drm/radeon/ni_dma.c 		ndw = count * 2;
count             433 drivers/gpu/drm/radeon/ni_dma.c 		count -= ndw / 2;
count             908 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             912 drivers/gpu/drm/radeon/ni_dpm.c 	count = CAYMAN_CGCG_CGLS_DEFAULT_LENGTH;
count             914 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             920 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             925 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_CGCG_CGLS_ENABLE_LENGTH;
count             928 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_CGCG_CGLS_DISABLE_LENGTH;
count             931 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             936 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             940 drivers/gpu/drm/radeon/ni_dpm.c 	count = CAYMAN_MGCG_DEFAULT_LENGTH;
count             942 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             948 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             953 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_MGCG_ENABLE_LENGTH;
count             956 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_MGCG_DISABLE_LENGTH;
count             959 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             964 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             968 drivers/gpu/drm/radeon/ni_dpm.c 	count = CAYMAN_SYSLS_DEFAULT_LENGTH;
count             970 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             976 drivers/gpu/drm/radeon/ni_dpm.c 	u32 count;
count             981 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_SYSLS_ENABLE_LENGTH;
count             984 drivers/gpu/drm/radeon/ni_dpm.c 		count = CAYMAN_SYSLS_DISABLE_LENGTH;
count             987 drivers/gpu/drm/radeon/ni_dpm.c 	btc_program_mgcg_hw_sequence(rdev, ps, count);
count             998 drivers/gpu/drm/radeon/ni_dpm.c 		for (i = 0; i < table->count; i++) {
count            1265 drivers/gpu/drm/radeon/ni_dpm.c 	for (i = 0; i < voltage_table->count; i++) {
count            1278 drivers/gpu/drm/radeon/ni_dpm.c 	if (eg_pi->vddc_voltage_table.count) {
count            1284 drivers/gpu/drm/radeon/ni_dpm.c 		for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) {
count            1292 drivers/gpu/drm/radeon/ni_dpm.c 	if (eg_pi->vddci_voltage_table.count) {
count            1308 drivers/gpu/drm/radeon/ni_dpm.c 	for (i = 0; i < table->count; i++) {
count            1316 drivers/gpu/drm/radeon/ni_dpm.c 	if (i >= table->count)
count            1349 drivers/gpu/drm/radeon/ni_dpm.c 	    ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count))
count            3057 drivers/gpu/drm/radeon/ni_dpm.c 	table_size = eg_pi->vddc_voltage_table.count;
count            3106 drivers/gpu/drm/radeon/ni_dpm.c 	table_size = leakage_table->count;
count            3108 drivers/gpu/drm/radeon/ni_dpm.c 	if (eg_pi->vddc_voltage_table.count != table_size)
count            3109 drivers/gpu/drm/radeon/ni_dpm.c 		table_size = (eg_pi->vddc_voltage_table.count < leakage_table->count) ?
count            3110 drivers/gpu/drm/radeon/ni_dpm.c 			eg_pi->vddc_voltage_table.count : leakage_table->count;
count            4088 drivers/gpu/drm/radeon/ni_dpm.c 	rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4;
count            4200 drivers/gpu/drm/radeon/ni_dpm.c 	rdev->pm.dpm.dyn_state.valid_sclk_values.count = ARRAY_SIZE(btc_valid_sclk);
count            4202 drivers/gpu/drm/radeon/ni_dpm.c 	rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0;
count            1386 drivers/gpu/drm/radeon/r100.c 		if (((reg + (pkt->count << 2)) >> 7) > n) {
count            1390 drivers/gpu/drm/radeon/r100.c 	for (i = 0; i <= pkt->count; i++, idx++) {
count            1443 drivers/gpu/drm/radeon/r100.c 	    waitreloc.count != 0) {
count            1454 drivers/gpu/drm/radeon/r100.c 	r = radeon_cs_packet_parse(p, &p3reloc, p->idx + waitreloc.count + 2);
count            1459 drivers/gpu/drm/radeon/r100.c 	p->idx += waitreloc.count + 2;
count            1460 drivers/gpu/drm/radeon/r100.c 	p->idx += p3reloc.count + 2;
count            1959 drivers/gpu/drm/radeon/r100.c 		track->immd_dwords = pkt->count - 1;
count            1971 drivers/gpu/drm/radeon/r100.c 		track->immd_dwords = pkt->count - 1;
count            1983 drivers/gpu/drm/radeon/r100.c 		track->immd_dwords = pkt->count;
count            2047 drivers/gpu/drm/radeon/r100.c 		p->idx += pkt.count + 2;
count            2951 drivers/gpu/drm/radeon/r100.c 	unsigned count, i, j;
count            2956 drivers/gpu/drm/radeon/r100.c 	count = (rdp + ring->ring_size - wdp) & ring->ptr_mask;
count            2961 drivers/gpu/drm/radeon/r100.c 	seq_printf(m, "%u dwords in ring\n", count);
count            2963 drivers/gpu/drm/radeon/r100.c 		for (j = 0; j <= count; j++) {
count            1217 drivers/gpu/drm/radeon/r300.c 		track->immd_dwords = pkt->count - 1;
count            1232 drivers/gpu/drm/radeon/r300.c 		track->immd_dwords = pkt->count;
count            1300 drivers/gpu/drm/radeon/r300.c 		p->idx += pkt.count + 2;
count             878 drivers/gpu/drm/radeon/r600_cs.c 	r = radeon_cs_packet_parse(p, &p3reloc, p->idx + wait_reg_mem.count + 2);
count             883 drivers/gpu/drm/radeon/r600_cs.c 	p->idx += wait_reg_mem.count + 2;
count             884 drivers/gpu/drm/radeon/r600_cs.c 	p->idx += p3reloc.count + 2;
count             950 drivers/gpu/drm/radeon/r600_cs.c 	for (i = 0; i <= pkt->count; i++, idx++, reg += 4) {
count            1650 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 1) {
count            1683 drivers/gpu/drm/radeon/r600_cs.c 		if (p->family >= CHIP_RV770 || pkt->count) {
count            1689 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 1) {
count            1696 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count) {
count            1704 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 3) {
count            1729 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 1) {
count            1741 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count < 2) {
count            1752 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 5) {
count            1781 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 4) {
count            1850 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 3) {
count            1866 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 2 && pkt->count != 0) {
count            1870 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count) {
count            1890 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 4) {
count            1910 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            1917 drivers/gpu/drm/radeon/r600_cs.c 		for (i = 0; i < pkt->count; i++) {
count            1926 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            1933 drivers/gpu/drm/radeon/r600_cs.c 		for (i = 0; i < pkt->count; i++) {
count            1941 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count % 7) {
count            1946 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            1953 drivers/gpu/drm/radeon/r600_cs.c 		for (i = 0; i < (pkt->count / 7); i++) {
count            2026 drivers/gpu/drm/radeon/r600_cs.c 			end_reg = 4 * pkt->count + start_reg - 4;
count            2037 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2047 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2057 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2066 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count % 3) {
count            2071 drivers/gpu/drm/radeon/r600_cs.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            2085 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 1) {
count            2127 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count) {
count            2133 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 4) {
count            2180 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 3) {
count            2206 drivers/gpu/drm/radeon/r600_cs.c 		if (pkt->count != 4) {
count            2298 drivers/gpu/drm/radeon/r600_cs.c 		p->idx += pkt.count + 2;
count            2382 drivers/gpu/drm/radeon/r600_cs.c 	u32 header, cmd, count, tiled;
count            2397 drivers/gpu/drm/radeon/r600_cs.c 		count = GET_DMA_COUNT(header);
count            2412 drivers/gpu/drm/radeon/r600_cs.c 				p->idx += count + 5;
count            2419 drivers/gpu/drm/radeon/r600_cs.c 				p->idx += count + 3;
count            2421 drivers/gpu/drm/radeon/r600_cs.c 			if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2423 drivers/gpu/drm/radeon/r600_cs.c 					 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            2488 drivers/gpu/drm/radeon/r600_cs.c 			if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) {
count            2490 drivers/gpu/drm/radeon/r600_cs.c 					 src_offset + (count * 4), radeon_bo_size(src_reloc->robj));
count            2493 drivers/gpu/drm/radeon/r600_cs.c 			if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2495 drivers/gpu/drm/radeon/r600_cs.c 					 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count            2511 drivers/gpu/drm/radeon/r600_cs.c 			if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) {
count            2513 drivers/gpu/drm/radeon/r600_cs.c 					 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj));
count             840 drivers/gpu/drm/radeon/r600_dpm.c 	radeon_table->count = atom_table->ucNumEntries;
count            1012 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.phase_shedding_limits_table.count =
count            1062 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries;
count            1099 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count =
count            1153 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count =
count            1185 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count =
count            1243 drivers/gpu/drm/radeon/r600_dpm.c 			rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count =
count            1104 drivers/gpu/drm/radeon/radeon.h 	int		count;
count            1381 drivers/gpu/drm/radeon/radeon.h 	u32 count;
count            1391 drivers/gpu/drm/radeon/radeon.h 	u32 count;
count            1408 drivers/gpu/drm/radeon/radeon.h 	u32 count;
count            1419 drivers/gpu/drm/radeon/radeon.h 	u32 count;
count            1430 drivers/gpu/drm/radeon/radeon.h 	u8 count;
count            1441 drivers/gpu/drm/radeon/radeon.h 	u8 count;
count            1873 drivers/gpu/drm/radeon/radeon.h 				   unsigned count);
count            1877 drivers/gpu/drm/radeon/radeon.h 				    uint64_t addr, unsigned count,
count            1882 drivers/gpu/drm/radeon/radeon.h 				  uint64_t addr, unsigned count,
count            2711 drivers/gpu/drm/radeon/radeon.h #define radeon_asic_vm_copy_pages(rdev, ib, pe, src, count) ((rdev)->asic->vm.copy_pages((rdev), (ib), (pe), (src), (count)))
count            2712 drivers/gpu/drm/radeon/radeon.h #define radeon_asic_vm_write_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.write_pages((rdev), (ib), (pe), (addr), (count), (incr), (flags)))
count            2713 drivers/gpu/drm/radeon/radeon.h #define radeon_asic_vm_set_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.set_pages((rdev), (ib), (pe), (addr), (count), (incr), (flags)))
count             123 drivers/gpu/drm/radeon/radeon_acpi.c 	atif_arg.count = 2;
count             324 drivers/gpu/drm/radeon/radeon_acpi.c 	int count = 0;
count             332 drivers/gpu/drm/radeon/radeon_acpi.c 		count = -EINVAL;
count             341 drivers/gpu/drm/radeon/radeon_acpi.c 	count = hweight32(req->pending);
count             345 drivers/gpu/drm/radeon/radeon_acpi.c 	return count;
count             364 drivers/gpu/drm/radeon/radeon_acpi.c 	int count;
count             379 drivers/gpu/drm/radeon/radeon_acpi.c 	count = radeon_atif_get_sbios_requests(handle, &req);
count             381 drivers/gpu/drm/radeon/radeon_acpi.c 	if (count <= 0)
count             384 drivers/gpu/drm/radeon/radeon_acpi.c 	DRM_DEBUG_DRIVER("ATIF: %d pending SBIOS requests\n", count);
count             448 drivers/gpu/drm/radeon/radeon_acpi.c 	atcs_arg.count = 2;
count             627 drivers/gpu/drm/radeon/radeon_asic.h 			      unsigned count);
count             631 drivers/gpu/drm/radeon/radeon_asic.h 			       uint64_t addr, unsigned count,
count             636 drivers/gpu/drm/radeon/radeon_asic.h 			     uint64_t addr, unsigned count,
count             733 drivers/gpu/drm/radeon/radeon_asic.h 			  unsigned count);
count             737 drivers/gpu/drm/radeon/radeon_asic.h 			   uint64_t addr, unsigned count,
count             742 drivers/gpu/drm/radeon/radeon_asic.h 			 uint64_t addr, unsigned count,
count             835 drivers/gpu/drm/radeon/radeon_asic.h 			    unsigned count);
count             839 drivers/gpu/drm/radeon/radeon_asic.h 			     uint64_t addr, unsigned count,
count             844 drivers/gpu/drm/radeon/radeon_asic.h 			   uint64_t addr, unsigned count,
count            3316 drivers/gpu/drm/radeon/radeon_atombios.c 	u32 count = rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count;
count            3319 drivers/gpu/drm/radeon/radeon_atombios.c 	for (entry_id = 0; entry_id < count; entry_id++) {
count            3325 drivers/gpu/drm/radeon/radeon_atombios.c 	if (entry_id >= count)
count            3768 drivers/gpu/drm/radeon/radeon_atombios.c 					voltage_table->count = formula->ucNumOfVoltageEntries;
count            3799 drivers/gpu/drm/radeon/radeon_atombios.c 					voltage_table->count = gpio->ucGpioEntryNum;
count              98 drivers/gpu/drm/radeon/radeon_atpx_handler.c 	atpx_arg.count = 2;
count             158 drivers/gpu/drm/radeon/radeon_bios.c 	atrm_arg.count = 2;
count             749 drivers/gpu/drm/radeon/radeon_cs.c 	pkt->count = RADEON_CP_PACKET_GET_COUNT(header);
count             764 drivers/gpu/drm/radeon/radeon_cs.c 		pkt->count = -1;
count             771 drivers/gpu/drm/radeon/radeon_cs.c 	if ((pkt->count + 1 + pkt->idx) >= ib_chunk->length_dw) {
count             773 drivers/gpu/drm/radeon/radeon_cs.c 			  pkt->idx, pkt->type, pkt->count, ib_chunk->length_dw);
count             826 drivers/gpu/drm/radeon/radeon_cs.c 	for (i = 0; i <= (pkt->count + 1); i++, idx++)
count             859 drivers/gpu/drm/radeon/radeon_cs.c 	p->idx += p3reloc.count + 2;
count              50 drivers/gpu/drm/radeon/radeon_encoders.c 	int count;
count              62 drivers/gpu/drm/radeon/radeon_encoders.c 	count = -1;
count              65 drivers/gpu/drm/radeon/radeon_encoders.c 		count++;
count              74 drivers/gpu/drm/radeon/radeon_encoders.c 			index_mask |= (1 << count);
count             757 drivers/gpu/drm/radeon/radeon_kms.c 	u32 count;
count             778 drivers/gpu/drm/radeon/radeon_kms.c 			count = radeon_get_vblank_counter(rdev, pipe);
count             787 drivers/gpu/drm/radeon/radeon_kms.c 		} while (count != radeon_get_vblank_counter(rdev, pipe));
count             802 drivers/gpu/drm/radeon/radeon_kms.c 				count++;
count             807 drivers/gpu/drm/radeon/radeon_kms.c 	    count = radeon_get_vblank_counter(rdev, pipe);
count             811 drivers/gpu/drm/radeon/radeon_kms.c 	return count;
count             681 drivers/gpu/drm/radeon/radeon_mode.h 	u32 count;
count             373 drivers/gpu/drm/radeon/radeon_pm.c 				     size_t count)
count             396 drivers/gpu/drm/radeon/radeon_pm.c 			count = -EINVAL;
count             402 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             407 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             426 drivers/gpu/drm/radeon/radeon_pm.c 				    size_t count)
count             434 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             440 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             459 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             464 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             483 drivers/gpu/drm/radeon/radeon_pm.c 				    size_t count)
count             497 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             508 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             531 drivers/gpu/drm/radeon/radeon_pm.c 						       size_t count)
count             551 drivers/gpu/drm/radeon/radeon_pm.c 		count = -EINVAL;
count             556 drivers/gpu/drm/radeon/radeon_pm.c 			count = -EINVAL;
count             561 drivers/gpu/drm/radeon/radeon_pm.c 			count = -EINVAL;
count             566 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             586 drivers/gpu/drm/radeon/radeon_pm.c 					    size_t count)
count             608 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             627 drivers/gpu/drm/radeon/radeon_pm.c 				     const char *buf, size_t count)
count             643 drivers/gpu/drm/radeon/radeon_pm.c 	return count;
count             473 drivers/gpu/drm/radeon/radeon_ring.c 	unsigned count, i, j;
count             476 drivers/gpu/drm/radeon/radeon_ring.c 	count = (ring->ring_size / 4) - ring->ring_free_dw;
count             500 drivers/gpu/drm/radeon/radeon_ring.c 	seq_printf(m, "%u dwords in ring\n", count);
count             509 drivers/gpu/drm/radeon/radeon_ring.c 	for (j = 0; j <= (count + 32); j++) {
count             140 drivers/gpu/drm/radeon/radeon_sync.c 	unsigned count = 0;
count             157 drivers/gpu/drm/radeon/radeon_sync.c 		if (count >= RADEON_NUM_SYNCS) {
count             168 drivers/gpu/drm/radeon/radeon_sync.c 		sync->semaphores[count++] = semaphore;
count              84 drivers/gpu/drm/radeon/radeon_trace.h 	    TP_PROTO(uint64_t pe, uint64_t addr, unsigned count,
count              86 drivers/gpu/drm/radeon/radeon_trace.h 	    TP_ARGS(pe, addr, count, incr, flags),
count              90 drivers/gpu/drm/radeon/radeon_trace.h 			     __field(u32, count)
count              98 drivers/gpu/drm/radeon/radeon_trace.h 			   __entry->count = count;
count             104 drivers/gpu/drm/radeon/radeon_trace.h 		      __entry->flags, __entry->count)
count            1064 drivers/gpu/drm/radeon/radeon_ttm.c 	unsigned count;
count            1076 drivers/gpu/drm/radeon/radeon_ttm.c 	count = ARRAY_SIZE(radeon_ttm_debugfs_list);
count            1080 drivers/gpu/drm/radeon/radeon_ttm.c 		--count;
count            1083 drivers/gpu/drm/radeon/radeon_ttm.c 	return radeon_debugfs_add_files(rdev, radeon_ttm_debugfs_list, count);
count             657 drivers/gpu/drm/radeon/radeon_uvd.c 	for (i = 0; i <= pkt->count; ++i) {
count             724 drivers/gpu/drm/radeon/radeon_uvd.c 			p->idx += pkt.count + 2;
count             362 drivers/gpu/drm/radeon/radeon_vm.c 				uint64_t addr, unsigned count,
count             365 drivers/gpu/drm/radeon/radeon_vm.c 	trace_radeon_vm_set_page(pe, addr, count, incr, flags);
count             369 drivers/gpu/drm/radeon/radeon_vm.c 		radeon_asic_vm_copy_pages(rdev, ib, pe, src, count);
count             371 drivers/gpu/drm/radeon/radeon_vm.c 	} else if ((flags & R600_PTE_SYSTEM) || (count < 3)) {
count             373 drivers/gpu/drm/radeon/radeon_vm.c 					   count, incr, flags);
count             377 drivers/gpu/drm/radeon/radeon_vm.c 					 count, incr, flags);
count             648 drivers/gpu/drm/radeon/radeon_vm.c 	unsigned count = 0, pt_idx, ndw;
count             681 drivers/gpu/drm/radeon/radeon_vm.c 		if (((last_pde + 8 * count) != pde) ||
count             682 drivers/gpu/drm/radeon/radeon_vm.c 		    ((last_pt + incr * count) != pt)) {
count             684 drivers/gpu/drm/radeon/radeon_vm.c 			if (count) {
count             686 drivers/gpu/drm/radeon/radeon_vm.c 						    last_pt, count, incr,
count             690 drivers/gpu/drm/radeon/radeon_vm.c 			count = 1;
count             694 drivers/gpu/drm/radeon/radeon_vm.c 			++count;
count             698 drivers/gpu/drm/radeon/radeon_vm.c 	if (count)
count             699 drivers/gpu/drm/radeon/radeon_vm.c 		radeon_vm_set_pages(rdev, &ib, last_pde, last_pt, count,
count             766 drivers/gpu/drm/radeon/radeon_vm.c 	unsigned count;
count             772 drivers/gpu/drm/radeon/radeon_vm.c 		count = (pe_end - pe_start) / 8;
count             773 drivers/gpu/drm/radeon/radeon_vm.c 		radeon_vm_set_pages(rdev, ib, pe_start, addr, count,
count             780 drivers/gpu/drm/radeon/radeon_vm.c 		count = (frag_start - pe_start) / 8;
count             781 drivers/gpu/drm/radeon/radeon_vm.c 		radeon_vm_set_pages(rdev, ib, pe_start, addr, count,
count             783 drivers/gpu/drm/radeon/radeon_vm.c 		addr += RADEON_GPU_PAGE_SIZE * count;
count             787 drivers/gpu/drm/radeon/radeon_vm.c 	count = (frag_end - frag_start) / 8;
count             788 drivers/gpu/drm/radeon/radeon_vm.c 	radeon_vm_set_pages(rdev, ib, frag_start, addr, count,
count             793 drivers/gpu/drm/radeon/radeon_vm.c 		addr += RADEON_GPU_PAGE_SIZE * count;
count             794 drivers/gpu/drm/radeon/radeon_vm.c 		count = (pe_end - frag_end) / 8;
count             795 drivers/gpu/drm/radeon/radeon_vm.c 		radeon_vm_set_pages(rdev, ib, frag_end, addr, count,
count             822 drivers/gpu/drm/radeon/radeon_vm.c 	unsigned count = 0;
count             846 drivers/gpu/drm/radeon/radeon_vm.c 		if ((last_pte + 8 * count) != pte) {
count             848 drivers/gpu/drm/radeon/radeon_vm.c 			if (count) {
count             850 drivers/gpu/drm/radeon/radeon_vm.c 						    last_pte + 8 * count,
count             854 drivers/gpu/drm/radeon/radeon_vm.c 			count = nptes;
count             858 drivers/gpu/drm/radeon/radeon_vm.c 			count += nptes;
count             865 drivers/gpu/drm/radeon/radeon_vm.c 	if (count) {
count             867 drivers/gpu/drm/radeon/radeon_vm.c 				    last_pte + 8 * count,
count            4599 drivers/gpu/drm/radeon/si.c 				for (i = 0; i < (pkt->count - 2); i++) {
count            4623 drivers/gpu/drm/radeon/si.c 		end_reg = 4 * pkt->count + start_reg - 4;
count            4630 drivers/gpu/drm/radeon/si.c 		for (i = 0; i < pkt->count; i++) {
count            4702 drivers/gpu/drm/radeon/si.c 				for (i = 0; i < (pkt->count - 2); i++) {
count            4745 drivers/gpu/drm/radeon/si.c 		pkt.count = RADEON_CP_PACKET_GET_COUNT(ib->ptr[idx]);
count            4774 drivers/gpu/drm/radeon/si.c 			idx += pkt.count + 2;
count            5685 drivers/gpu/drm/radeon/si.c 	u32 count = 0;
count            5693 drivers/gpu/drm/radeon/si.c 	count += 2;
count            5695 drivers/gpu/drm/radeon/si.c 	count += 3;
count            5700 drivers/gpu/drm/radeon/si.c 				count += 2 + ext->reg_count;
count            5706 drivers/gpu/drm/radeon/si.c 	count += 3;
count            5708 drivers/gpu/drm/radeon/si.c 	count += 2;
count            5710 drivers/gpu/drm/radeon/si.c 	count += 2;
count            5712 drivers/gpu/drm/radeon/si.c 	return count;
count            5717 drivers/gpu/drm/radeon/si.c 	u32 count = 0, i;
count            5726 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            5727 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_BEGIN_CLEAR_STATE);
count            5729 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CONTEXT_CONTROL, 1));
count            5730 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            5731 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(0x80000000);
count            5736 drivers/gpu/drm/radeon/si.c 				buffer[count++] =
count            5738 drivers/gpu/drm/radeon/si.c 				buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000);
count            5740 drivers/gpu/drm/radeon/si.c 					buffer[count++] = cpu_to_le32(ext->extent[i]);
count            5747 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_SET_CONTEXT_REG, 1));
count            5748 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PA_SC_RASTER_CONFIG - PACKET3_SET_CONTEXT_REG_START);
count            5752 drivers/gpu/drm/radeon/si.c 		buffer[count++] = cpu_to_le32(0x2a00126a);
count            5755 drivers/gpu/drm/radeon/si.c 		buffer[count++] = cpu_to_le32(0x0000124a);
count            5758 drivers/gpu/drm/radeon/si.c 		buffer[count++] = cpu_to_le32(0x00000082);
count            5761 drivers/gpu/drm/radeon/si.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            5764 drivers/gpu/drm/radeon/si.c 		buffer[count++] = cpu_to_le32(0x00000000);
count            5768 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0));
count            5769 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3_PREAMBLE_END_CLEAR_STATE);
count            5771 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0));
count            5772 drivers/gpu/drm/radeon/si.c 	buffer[count++] = cpu_to_le32(0);
count              72 drivers/gpu/drm/radeon/si_dma.c 			  unsigned count)
count              74 drivers/gpu/drm/radeon/si_dma.c 	while (count) {
count              75 drivers/gpu/drm/radeon/si_dma.c 		unsigned bytes = count * 8;
count              88 drivers/gpu/drm/radeon/si_dma.c 		count -= bytes / 8;
count             108 drivers/gpu/drm/radeon/si_dma.c 			   uint64_t addr, unsigned count,
count             114 drivers/gpu/drm/radeon/si_dma.c 	while (count) {
count             115 drivers/gpu/drm/radeon/si_dma.c 		ndw = count * 2;
count             123 drivers/gpu/drm/radeon/si_dma.c 		for (; ndw > 0; ndw -= 2, --count, pe += 8) {
count             155 drivers/gpu/drm/radeon/si_dma.c 			 uint64_t addr, unsigned count,
count             161 drivers/gpu/drm/radeon/si_dma.c 	while (count) {
count             162 drivers/gpu/drm/radeon/si_dma.c 		ndw = count * 2;
count             183 drivers/gpu/drm/radeon/si_dma.c 		count -= ndw / 2;
count            2550 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            2925 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < si_pi->leakage_voltage.count; i++){
count            2930 drivers/gpu/drm/radeon/si_dpm.c 	if (si_pi->leakage_voltage.count && (highest_leakage < vce_voltage))
count            2945 drivers/gpu/drm/radeon/si_dpm.c 	    (table && (table->count == 0))) {
count            2950 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            2961 drivers/gpu/drm/radeon/si_dpm.c 		*voltage = table->entries[table->count - 1].v;
count            3236 drivers/gpu/drm/radeon/si_dpm.c 	u16 vddc, count = 0;
count            3243 drivers/gpu/drm/radeon/si_dpm.c 			si_pi->leakage_voltage.entries[count].voltage = vddc;
count            3244 drivers/gpu/drm/radeon/si_dpm.c 			si_pi->leakage_voltage.entries[count].leakage_index =
count            3246 drivers/gpu/drm/radeon/si_dpm.c 			count++;
count            3249 drivers/gpu/drm/radeon/si_dpm.c 	si_pi->leakage_voltage.count = count;
count            3270 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < si_pi->leakage_voltage.count; i++) {
count            3911 drivers/gpu/drm/radeon/si_dpm.c 	if (table->count != num_levels)
count            3914 drivers/gpu/drm/radeon/si_dpm.c 	if (limits->count != (num_levels - 1))
count            3926 drivers/gpu/drm/radeon/si_dpm.c 	if (voltage_table->count <= max_voltage_steps)
count            3929 drivers/gpu/drm/radeon/si_dpm.c 	diff = voltage_table->count - max_voltage_steps;
count            3934 drivers/gpu/drm/radeon/si_dpm.c 	voltage_table->count = max_voltage_steps;
count            3949 drivers/gpu/drm/radeon/si_dpm.c 	voltage_table->count = voltage_dependency_table->count;
count            3950 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < voltage_table->count; i++) {
count            3971 drivers/gpu/drm/radeon/si_dpm.c 		if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            3991 drivers/gpu/drm/radeon/si_dpm.c 		if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            4013 drivers/gpu/drm/radeon/si_dpm.c 		if (si_pi->mvdd_voltage_table.count == 0) {
count            4018 drivers/gpu/drm/radeon/si_dpm.c 		if (si_pi->mvdd_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS)
count            4030 drivers/gpu/drm/radeon/si_dpm.c 		if ((si_pi->vddc_phase_shed_table.count == 0) ||
count            4031 drivers/gpu/drm/radeon/si_dpm.c 		    (si_pi->vddc_phase_shed_table.count > SISLANDS_MAX_NO_VREG_STEPS))
count            4044 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < voltage_table->count; i++)
count            4064 drivers/gpu/drm/radeon/si_dpm.c 		if (eg_pi->vddc_voltage_table.count) {
count            4069 drivers/gpu/drm/radeon/si_dpm.c 			for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) {
count            4077 drivers/gpu/drm/radeon/si_dpm.c 		if (eg_pi->vddci_voltage_table.count) {
count            4085 drivers/gpu/drm/radeon/si_dpm.c 		if (si_pi->mvdd_voltage_table.count) {
count            4117 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < table->count; i++) {
count            4125 drivers/gpu/drm/radeon/si_dpm.c 	if (i >= table->count)
count            4141 drivers/gpu/drm/radeon/si_dpm.c 			voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1;
count            4161 drivers/gpu/drm/radeon/si_dpm.c 			for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            4165 drivers/gpu/drm/radeon/si_dpm.c 					if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4170 drivers/gpu/drm/radeon/si_dpm.c 							rdev->pm.dpm.dyn_state.cac_leakage_table.entries[rdev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc;
count            4176 drivers/gpu/drm/radeon/si_dpm.c 				for (v_index = 0; (u32)v_index < rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; v_index++) {
count            4180 drivers/gpu/drm/radeon/si_dpm.c 						if ((u32)v_index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4185 drivers/gpu/drm/radeon/si_dpm.c 								rdev->pm.dpm.dyn_state.cac_leakage_table.entries[rdev->pm.dpm.dyn_state.cac_leakage_table.count-1].vddc;
count            4191 drivers/gpu/drm/radeon/si_dpm.c 			if ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)
count            4216 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < limits->count; i++) {
count            5160 drivers/gpu/drm/radeon/si_dpm.c 	for (i = 0; i < rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count; i++) {
count            5878 drivers/gpu/drm/radeon/si_dpm.c 		for (i = 0; i < table->count; i++) {
count            5893 drivers/gpu/drm/radeon/si_dpm.c 		for (j = (table->count - 2); j >= 0; j--) {
count            6968 drivers/gpu/drm/radeon/si_dpm.c 	rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.count = 4;
count            7061 drivers/gpu/drm/radeon/si_dpm.c 	rdev->pm.dpm.dyn_state.valid_sclk_values.count = 0;
count            7063 drivers/gpu/drm/radeon/si_dpm.c 	rdev->pm.dpm.dyn_state.valid_mclk_values.count = 0;
count             136 drivers/gpu/drm/radeon/si_dpm.h 	u16 count;
count             343 drivers/gpu/drm/radeon/trinity_dpm.c 						   const u32 *seq, u32 count);
count             434 drivers/gpu/drm/radeon/trinity_dpm.c 	u32 count;
count             438 drivers/gpu/drm/radeon/trinity_dpm.c 	count = sizeof(trinity_mgcg_shls_default) / (3 * sizeof(u32));
count             440 drivers/gpu/drm/radeon/trinity_dpm.c 	trinity_program_clk_gating_hw_sequence(rdev, seq, count);
count             457 drivers/gpu/drm/radeon/trinity_dpm.c 						   const u32 *seq, u32 count)
count             459 drivers/gpu/drm/radeon/trinity_dpm.c 	u32 i, length = count * 3;
count             466 drivers/gpu/drm/radeon/trinity_dpm.c 						    const u32 *seq, u32 count)
count             468 drivers/gpu/drm/radeon/trinity_dpm.c 	u32  i, length = count * 2;
count             477 drivers/gpu/drm/radeon/trinity_dpm.c 	u32 count;
count             481 drivers/gpu/drm/radeon/trinity_dpm.c 	count = sizeof(trinity_override_mgpg_sequences) / (2 * sizeof(u32));
count             483 drivers/gpu/drm/radeon/trinity_dpm.c 	trinity_program_override_mgpg_sequences(rdev, seq, count);
count             489 drivers/gpu/drm/radeon/trinity_dpm.c 	u32 count;
count             494 drivers/gpu/drm/radeon/trinity_dpm.c 		count = sizeof(trinity_sysls_enable) / (3 * sizeof(u32));
count             497 drivers/gpu/drm/radeon/trinity_dpm.c 		count = sizeof(trinity_sysls_disable) / (3 * sizeof(u32));
count             500 drivers/gpu/drm/radeon/trinity_dpm.c 	trinity_program_clk_gating_hw_sequence(rdev, seq, count);
count            1514 drivers/gpu/drm/radeon/trinity_dpm.c 	    (table && (table->count == 0))) {
count            1519 drivers/gpu/drm/radeon/trinity_dpm.c 	for (i = 0; i < table->count; i++) {
count            1530 drivers/gpu/drm/radeon/trinity_dpm.c 		*voltage = table->entries[table->count - 1].v;
count             807 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	unsigned int count;
count             815 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	count = rcrtc->vsp->num_planes + 1;
count             817 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	sources = kmalloc_array(count, sizeof(*sources), GFP_KERNEL);
count             836 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	rcrtc->sources_count = count;
count             990 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_get_crc_sources(struct drm_crtc *crtc, size_t *count)
count             994 drivers/gpu/drm/rcar-du/rcar_du_crtc.c 	*count = rcrtc->sources_count;
count             216 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	unsigned int count = obj->size >> PAGE_SHIFT;
count             222 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	return vm_map_pages(vma, rk_obj->pages, count);
count             463 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 						     int count)
count             470 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	for_each_sg(sgt->sgl, s, count, i) {
count             495 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	int count = dma_map_sg(drm->dev, sg->sgl, sg->nents,
count             497 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	if (!count)
count             500 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	if (rockchip_sg_get_contiguous_size(sg, count) < attach->dmabuf->size) {
count             176 drivers/gpu/drm/savage/savage_bci.c 	uint16_t count;
count             181 drivers/gpu/drm/savage/savage_bci.c 		count = dev_priv->status_ptr[1023];
count             182 drivers/gpu/drm/savage/savage_bci.c 		if (count < dev_priv->event_counter)
count             185 drivers/gpu/drm/savage/savage_bci.c 		count = dev_priv->event_counter;
count             187 drivers/gpu/drm/savage/savage_bci.c 	count = (count + 1) & 0xffff;
count             188 drivers/gpu/drm/savage/savage_bci.c 	if (count == 0) {
count             189 drivers/gpu/drm/savage/savage_bci.c 		count++;	/* See the comment above savage_wait_event_*. */
count             192 drivers/gpu/drm/savage/savage_bci.c 	dev_priv->event_counter = count;
count             194 drivers/gpu/drm/savage/savage_bci.c 		dev_priv->status_ptr[1023] = (uint32_t) count;
count             207 drivers/gpu/drm/savage/savage_bci.c 	BCI_WRITE(BCI_CMD_UPDATE_EVENT_TAG | (uint32_t) count);
count             209 drivers/gpu/drm/savage/savage_bci.c 	return count;
count             947 drivers/gpu/drm/savage/savage_bci.c 	event->count = savage_bci_emit_event(dev_priv, event->flags);
count             948 drivers/gpu/drm/savage/savage_bci.c 	event->count |= dev_priv->event_wrap << 16;
count             971 drivers/gpu/drm/savage/savage_bci.c 	event_e = event->count & 0xffff;
count             972 drivers/gpu/drm/savage/savage_bci.c 	event_w = event->count >> 16;
count             563 drivers/gpu/drm/savage/savage_drv.h 		uint16_t count;				\
count             565 drivers/gpu/drm/savage/savage_drv.h 		count = dev_priv->status_ptr[1023];	\
count             566 drivers/gpu/drm/savage/savage_drv.h 		if (count < dev_priv->event_counter)	\
count             568 drivers/gpu/drm/savage/savage_drv.h 		dev_priv->event_counter = count;	\
count             124 drivers/gpu/drm/savage/savage_state.c 	if(start <= reg && start+count > reg)	\
count             127 drivers/gpu/drm/savage/savage_state.c 	if(start <= reg && start+count > reg) {			\
count             136 drivers/gpu/drm/savage/savage_state.c 				   unsigned int start, unsigned int count,
count             140 drivers/gpu/drm/savage/savage_state.c 	    start + count - 1 > SAVAGE_DESTTEXRWWATERMARK_S3D) {
count             142 drivers/gpu/drm/savage/savage_state.c 			  start, start + count - 1);
count             153 drivers/gpu/drm/savage/savage_state.c 	    start + count > SAVAGE_TEXPALADDR_S3D) {
count             166 drivers/gpu/drm/savage/savage_state.c 				  unsigned int start, unsigned int count,
count             172 drivers/gpu/drm/savage/savage_state.c 	    start + count - 1 > SAVAGE_TEXBLENDCOLOR_S4) {
count             174 drivers/gpu/drm/savage/savage_state.c 			  start, start + count - 1);
count             185 drivers/gpu/drm/savage/savage_state.c 	    start + count > SAVAGE_TEXPALADDR_S4) {
count             208 drivers/gpu/drm/savage/savage_state.c 	unsigned int count = cmd_header->state.count;
count             215 drivers/gpu/drm/savage/savage_state.c 	if (!count)
count             219 drivers/gpu/drm/savage/savage_state.c 		ret = savage_verify_state_s3d(dev_priv, start, count, regs);
count             224 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_SCEND_S3D + 1)
count             225 drivers/gpu/drm/savage/savage_state.c 				count2 = count - (SAVAGE_SCEND_S3D + 1 - start);
count             226 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_SCSTART_S3D)
count             227 drivers/gpu/drm/savage/savage_state.c 				count = SAVAGE_SCSTART_S3D - start;
count             229 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_SCEND_S3D + 1) {
count             230 drivers/gpu/drm/savage/savage_state.c 				count -= SAVAGE_SCEND_S3D + 1 - start;
count             236 drivers/gpu/drm/savage/savage_state.c 		ret = savage_verify_state_s4(dev_priv, start, count, regs);
count             241 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_DRAWCTRL1_S4 + 1)
count             242 drivers/gpu/drm/savage/savage_state.c 				count2 = count -
count             244 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_DRAWCTRL0_S4)
count             245 drivers/gpu/drm/savage/savage_state.c 				count = SAVAGE_DRAWCTRL0_S4 - start;
count             247 drivers/gpu/drm/savage/savage_state.c 			if (start + count > SAVAGE_DRAWCTRL1_S4 + 1) {
count             248 drivers/gpu/drm/savage/savage_state.c 				count -= SAVAGE_DRAWCTRL1_S4 + 1 - start;
count             255 drivers/gpu/drm/savage/savage_state.c 	bci_size = count + (count + 254) / 255 + count2 + (count2 + 254) / 255;
count             266 drivers/gpu/drm/savage/savage_state.c 		while (count > 0) {
count             267 drivers/gpu/drm/savage/savage_state.c 			unsigned int n = count < 255 ? count : 255;
count             270 drivers/gpu/drm/savage/savage_state.c 			count -= n;
count             276 drivers/gpu/drm/savage/savage_state.c 		count = count2;
count             278 drivers/gpu/drm/savage/savage_state.c 	} while (count);
count             292 drivers/gpu/drm/savage/savage_state.c 	unsigned int n = cmd_header->prim.count;
count             382 drivers/gpu/drm/savage/savage_state.c 		unsigned int count = n > 255 ? 255 : n;
count             390 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 1 + 1) / 2);
count             391 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S3D(count, prim, start + 2);
count             393 drivers/gpu/drm/savage/savage_state.c 			for (i = start + 1; i + 1 < start + count; i += 2)
count             397 drivers/gpu/drm/savage/savage_state.c 			if (i < start + count)
count             400 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 1 + 1) / 2);
count             401 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S3D(count, prim, start);
count             403 drivers/gpu/drm/savage/savage_state.c 			for (i = start + 1; i + 1 < start + count; i += 2)
count             405 drivers/gpu/drm/savage/savage_state.c 			if (i < start + count)
count             408 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 2 + 1) / 2);
count             409 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S4(count, prim, skip);
count             411 drivers/gpu/drm/savage/savage_state.c 			for (i = start; i + 1 < start + count; i += 2)
count             413 drivers/gpu/drm/savage/savage_state.c 			if (i < start + count)
count             417 drivers/gpu/drm/savage/savage_state.c 		start += count;
count             418 drivers/gpu/drm/savage/savage_state.c 		n -= count;
count             434 drivers/gpu/drm/savage/savage_state.c 	unsigned int n = cmd_header->prim.count;
count             502 drivers/gpu/drm/savage/savage_state.c 		unsigned int count = n > 255 ? 255 : n;
count             510 drivers/gpu/drm/savage/savage_state.c 			BEGIN_DMA(count * vtx_size + 1);
count             511 drivers/gpu/drm/savage/savage_state.c 			DMA_DRAW_PRIMITIVE(count, prim, skip);
count             513 drivers/gpu/drm/savage/savage_state.c 			for (i = start; i < start + count; ++i) {
count             520 drivers/gpu/drm/savage/savage_state.c 			BEGIN_DMA(count * vtx_size + 1);
count             521 drivers/gpu/drm/savage/savage_state.c 			DMA_DRAW_PRIMITIVE(count, prim, skip);
count             525 drivers/gpu/drm/savage/savage_state.c 					 vtx_size * count);
count             527 drivers/gpu/drm/savage/savage_state.c 				for (i = start; i < start + count; ++i) {
count             536 drivers/gpu/drm/savage/savage_state.c 		start += count;
count             537 drivers/gpu/drm/savage/savage_state.c 		n -= count;
count             553 drivers/gpu/drm/savage/savage_state.c 	unsigned int n = cmd_header->idx.count;
count             634 drivers/gpu/drm/savage/savage_state.c 		unsigned int count = n > 255 ? 255 : n;
count             637 drivers/gpu/drm/savage/savage_state.c 		for (i = 0; i < count; ++i) {
count             651 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 1 + 1) / 2);
count             652 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S3D(count, prim, idx[2]);
count             654 drivers/gpu/drm/savage/savage_state.c 			for (i = 1; i + 1 < count; i += 2)
count             658 drivers/gpu/drm/savage/savage_state.c 			if (i < count)
count             661 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 1 + 1) / 2);
count             662 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S3D(count, prim, idx[0]);
count             664 drivers/gpu/drm/savage/savage_state.c 			for (i = 1; i + 1 < count; i += 2)
count             666 drivers/gpu/drm/savage/savage_state.c 			if (i < count)
count             669 drivers/gpu/drm/savage/savage_state.c 			BEGIN_BCI((count + 2 + 1) / 2);
count             670 drivers/gpu/drm/savage/savage_state.c 			BCI_DRAW_INDICES_S4(count, prim, skip);
count             672 drivers/gpu/drm/savage/savage_state.c 			for (i = 0; i + 1 < count; i += 2)
count             674 drivers/gpu/drm/savage/savage_state.c 			if (i < count)
count             678 drivers/gpu/drm/savage/savage_state.c 		idx += count;
count             679 drivers/gpu/drm/savage/savage_state.c 		n -= count;
count             696 drivers/gpu/drm/savage/savage_state.c 	unsigned int n = cmd_header->idx.count;
count             755 drivers/gpu/drm/savage/savage_state.c 		unsigned int count = n > 255 ? 255 : n;
count             758 drivers/gpu/drm/savage/savage_state.c 		for (i = 0; i < count; ++i) {
count             772 drivers/gpu/drm/savage/savage_state.c 			BEGIN_DMA(count * vtx_size + 1);
count             773 drivers/gpu/drm/savage/savage_state.c 			DMA_DRAW_PRIMITIVE(count, prim, skip);
count             775 drivers/gpu/drm/savage/savage_state.c 			for (i = 0; i < count; ++i) {
count             782 drivers/gpu/drm/savage/savage_state.c 			BEGIN_DMA(count * vtx_size + 1);
count             783 drivers/gpu/drm/savage/savage_state.c 			DMA_DRAW_PRIMITIVE(count, prim, skip);
count             785 drivers/gpu/drm/savage/savage_state.c 			for (i = 0; i < count; ++i) {
count             793 drivers/gpu/drm/savage/savage_state.c 		idx += count;
count             794 drivers/gpu/drm/savage/savage_state.c 		n -= count;
count             935 drivers/gpu/drm/savage/savage_state.c 				j = (cmd_header.idx.count + 3) / 4;
count             943 drivers/gpu/drm/savage/savage_state.c 				j = (cmd_header.idx.count + 3) / 4;
count            1061 drivers/gpu/drm/savage/savage_state.c 			j = (cmd_header.idx.count + 3) / 4;
count            1095 drivers/gpu/drm/savage/savage_state.c 			j = (cmd_header.state.count + 1) / 2;
count              50 drivers/gpu/drm/selftests/drm_selftest.c static void set_default_test_all(struct drm_selftest *st, unsigned long count)
count              54 drivers/gpu/drm/selftests/drm_selftest.c 	for (i = 0; i < count; i++)
count              58 drivers/gpu/drm/selftests/drm_selftest.c 	for (i = 0; i < count; i++)
count              63 drivers/gpu/drm/selftests/drm_selftest.c 			 unsigned long count,
count              68 drivers/gpu/drm/selftests/drm_selftest.c 	set_default_test_all(st, count);
count              71 drivers/gpu/drm/selftests/drm_selftest.c 	for (; count--; st++) {
count              93 drivers/gpu/drm/selftests/drm_selftest.c 	       int count,
count              98 drivers/gpu/drm/selftests/drm_selftest.c 	for (; count--; st++) {
count              34 drivers/gpu/drm/selftests/drm_selftest.h 			  int count,
count              57 drivers/gpu/drm/selftests/test-drm_mm.c 	unsigned long count;
count              59 drivers/gpu/drm/selftests/test-drm_mm.c 	count = 0;
count              61 drivers/gpu/drm/selftests/test-drm_mm.c 		count++;
count              62 drivers/gpu/drm/selftests/test-drm_mm.c 	if (count) {
count              63 drivers/gpu/drm/selftests/test-drm_mm.c 		pr_err("Expected to find no holes (after reserve), found %lu instead\n", count);
count              81 drivers/gpu/drm/selftests/test-drm_mm.c 	unsigned long count;
count              87 drivers/gpu/drm/selftests/test-drm_mm.c 	count = 0;
count              96 drivers/gpu/drm/selftests/test-drm_mm.c 		count++;
count              98 drivers/gpu/drm/selftests/test-drm_mm.c 	if (count != 1) {
count              99 drivers/gpu/drm/selftests/test-drm_mm.c 		pr_err("Expected to find one hole, found %lu instead\n", count);
count             327 drivers/gpu/drm/selftests/test-drm_mm.c 				     unsigned int count,
count             338 drivers/gpu/drm/selftests/test-drm_mm.c 		B(size * count, 0),
count             344 drivers/gpu/drm/selftests/test-drm_mm.c 		B(count*size, size),
count             345 drivers/gpu/drm/selftests/test-drm_mm.c 		B(count*size, -size),
count             346 drivers/gpu/drm/selftests/test-drm_mm.c 		B(count*size, count*size),
count             347 drivers/gpu/drm/selftests/test-drm_mm.c 		B(count*size, -count*size),
count             348 drivers/gpu/drm/selftests/test-drm_mm.c 		B(count*size, -(count+1)*size),
count             349 drivers/gpu/drm/selftests/test-drm_mm.c 		B((count+1)*size, size),
count             350 drivers/gpu/drm/selftests/test-drm_mm.c 		B((count+1)*size, -size),
count             351 drivers/gpu/drm/selftests/test-drm_mm.c 		B((count+1)*size, -2*size),
count             363 drivers/gpu/drm/selftests/test-drm_mm.c 			       n, boundaries[n].name, count, size);
count             371 drivers/gpu/drm/selftests/test-drm_mm.c static int __igt_reserve(unsigned int count, u64 size)
count             385 drivers/gpu/drm/selftests/test-drm_mm.c 	DRM_MM_BUG_ON(!count);
count             389 drivers/gpu/drm/selftests/test-drm_mm.c 	order = drm_random_order(count, &prng);
count             393 drivers/gpu/drm/selftests/test-drm_mm.c 	nodes = vzalloc(array_size(count, sizeof(*nodes)));
count             398 drivers/gpu/drm/selftests/test-drm_mm.c 	drm_mm_init(&mm, 0, count * size);
count             400 drivers/gpu/drm/selftests/test-drm_mm.c 	if (!check_reserve_boundaries(&mm, count, size))
count             403 drivers/gpu/drm/selftests/test-drm_mm.c 	for (n = 0; n < count; n++) {
count             430 drivers/gpu/drm/selftests/test-drm_mm.c 	drm_random_reorder(order, count, &prng);
count             431 drivers/gpu/drm/selftests/test-drm_mm.c 	for (n = 0; n < count; n++) {
count             451 drivers/gpu/drm/selftests/test-drm_mm.c 	for (n = 0; n < count; n++) {
count             452 drivers/gpu/drm/selftests/test-drm_mm.c 		if (!expect_reserve_fail(&mm, set_node(&tmp, 0, size*count)))
count             455 drivers/gpu/drm/selftests/test-drm_mm.c 	for (n = 0; n < count; n++) {
count             459 drivers/gpu/drm/selftests/test-drm_mm.c 						  size * (count - n))))
count             464 drivers/gpu/drm/selftests/test-drm_mm.c 	for_each_prime_number(n, min(max_prime, count)) {
count             466 drivers/gpu/drm/selftests/test-drm_mm.c 			node = &nodes[order[(o + m) % count]];
count             471 drivers/gpu/drm/selftests/test-drm_mm.c 			node = &nodes[order[(o + m) % count]];
count             501 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = min_t(unsigned int, BIT(10), max_iterations);
count             507 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_reserve(count, size - 1);
count             511 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_reserve(count, size);
count             515 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_reserve(count, size + 1);
count             568 drivers/gpu/drm/selftests/test-drm_mm.c static int __igt_insert(unsigned int count, u64 size, bool replace)
count             579 drivers/gpu/drm/selftests/test-drm_mm.c 	DRM_MM_BUG_ON(!count);
count             583 drivers/gpu/drm/selftests/test-drm_mm.c 	nodes = vmalloc(array_size(count, sizeof(*nodes)));
count             587 drivers/gpu/drm/selftests/test-drm_mm.c 	order = drm_random_order(count, &prng);
count             592 drivers/gpu/drm/selftests/test-drm_mm.c 	drm_mm_init(&mm, 0, count * size);
count             595 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 0; n < count; n++) {
count             638 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 0; n < count; n++) {
count             659 drivers/gpu/drm/selftests/test-drm_mm.c 		for_each_prime_number(n, min(max_prime, count)) {
count             661 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count             666 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count             704 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = min_t(unsigned int, BIT(10), max_iterations);
count             711 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size - 1, false);
count             715 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size, false);
count             719 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size + 1, false);
count             731 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = min_t(unsigned int, BIT(10), max_iterations);
count             744 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size - 1, true);
count             748 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size, true);
count             752 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert(count, size + 1, true);
count             876 drivers/gpu/drm/selftests/test-drm_mm.c static int __igt_insert_range(unsigned int count, u64 size, u64 start, u64 end)
count             884 drivers/gpu/drm/selftests/test-drm_mm.c 	DRM_MM_BUG_ON(!count);
count             893 drivers/gpu/drm/selftests/test-drm_mm.c 	nodes = vzalloc(array_size(count, sizeof(*nodes)));
count             898 drivers/gpu/drm/selftests/test-drm_mm.c 	drm_mm_init(&mm, 0, count * size);
count             993 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = min_t(unsigned int, BIT(13), max_iterations);
count            1004 drivers/gpu/drm/selftests/test-drm_mm.c 		const u64 max = count * size;
count            1006 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max);
count            1010 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 1, max);
count            1014 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max - 1);
count            1018 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, 0, max/2);
count            1022 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, max/2, max);
count            1026 drivers/gpu/drm/selftests/test-drm_mm.c 		ret = __igt_insert_range(count, size, max/4+1, 3*max/4-1);
count            1150 drivers/gpu/drm/selftests/test-drm_mm.c static void show_holes(const struct drm_mm *mm, int count)
count            1177 drivers/gpu/drm/selftests/test-drm_mm.c 		if (!--count)
count            1190 drivers/gpu/drm/selftests/test-drm_mm.c 			unsigned int count,
count            1197 drivers/gpu/drm/selftests/test-drm_mm.c 	for (i = 0; i < count; i++) {
count            1209 drivers/gpu/drm/selftests/test-drm_mm.c 		       scan->size, count, scan->alignment, scan->color);
count            1334 drivers/gpu/drm/selftests/test-drm_mm.c 			   unsigned int count,
count            1350 drivers/gpu/drm/selftests/test-drm_mm.c 			 nodes, order, count, false,
count            1617 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = 8192;
count            1631 drivers/gpu/drm/selftests/test-drm_mm.c 	nodes = vzalloc(array_size(count, sizeof(*nodes)));
count            1635 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap = bitmap_zalloc(count, GFP_KERNEL);
count            1639 drivers/gpu/drm/selftests/test-drm_mm.c 	order = drm_random_order(count, &prng);
count            1645 drivers/gpu/drm/selftests/test-drm_mm.c 		drm_mm_init(&mm, 0, size*count);
count            1646 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 0; n < count; n++) {
count            1660 drivers/gpu/drm/selftests/test-drm_mm.c 			if (!assert_one_hole(&mm, 0, size*(count - n - 1)))
count            1667 drivers/gpu/drm/selftests/test-drm_mm.c 		drm_random_reorder(order, count, &prng);
count            1668 drivers/gpu/drm/selftests/test-drm_mm.c 		for_each_prime_number_from(n, 1, min(count, max_prime)) {
count            1670 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count            1678 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count            1692 drivers/gpu/drm/selftests/test-drm_mm.c 				last = find_last_bit(bitmap, count);
count            1702 drivers/gpu/drm/selftests/test-drm_mm.c 			DRM_MM_BUG_ON(find_first_bit(bitmap, count) != count);
count            1731 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = 8192;
count            1744 drivers/gpu/drm/selftests/test-drm_mm.c 	nodes = vzalloc(array_size(count, sizeof(*nodes)));
count            1748 drivers/gpu/drm/selftests/test-drm_mm.c 	bitmap = bitmap_zalloc(count, GFP_KERNEL);
count            1752 drivers/gpu/drm/selftests/test-drm_mm.c 	order = drm_random_order(count, &prng);
count            1758 drivers/gpu/drm/selftests/test-drm_mm.c 		drm_mm_init(&mm, 0, size*count);
count            1759 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 0; n < count; n++) {
count            1767 drivers/gpu/drm/selftests/test-drm_mm.c 			if (!assert_one_hole(&mm, size*(n + 1), size*count))
count            1774 drivers/gpu/drm/selftests/test-drm_mm.c 		drm_random_reorder(order, count, &prng);
count            1775 drivers/gpu/drm/selftests/test-drm_mm.c 		for_each_prime_number_from(n, 1, min(count, max_prime)) {
count            1777 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count            1785 drivers/gpu/drm/selftests/test-drm_mm.c 				node = &nodes[order[(o + m) % count]];
count            1793 drivers/gpu/drm/selftests/test-drm_mm.c 				first = find_first_bit(bitmap, count);
count            1802 drivers/gpu/drm/selftests/test-drm_mm.c 			DRM_MM_BUG_ON(find_first_bit(bitmap, count) != count);
count            1928 drivers/gpu/drm/selftests/test-drm_mm.c 	const unsigned int count = min(4096u, max_iterations);
count            1944 drivers/gpu/drm/selftests/test-drm_mm.c 	for (n = 1; n <= count; n++) {
count            1983 drivers/gpu/drm/selftests/test-drm_mm.c 		node->size = 1 + 2*count;
count            1995 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 1; n <= count; n++) {
count            2005 drivers/gpu/drm/selftests/test-drm_mm.c 			node->size = n + count;
count            2016 drivers/gpu/drm/selftests/test-drm_mm.c 			rem = misalignment(node, n + count);
count            2017 drivers/gpu/drm/selftests/test-drm_mm.c 			node->start += n + count - rem;
count            2029 drivers/gpu/drm/selftests/test-drm_mm.c 		for (n = 1; n <= count; n++) {
count            2087 drivers/gpu/drm/selftests/test-drm_mm.c 		       unsigned int count,
count            2104 drivers/gpu/drm/selftests/test-drm_mm.c 			 nodes, order, count, true,
count             575 drivers/gpu/drm/sti/sti_hda.c 	int count = 0;
count             595 drivers/gpu/drm/sti/sti_hda.c 		count++;
count             598 drivers/gpu/drm/sti/sti_hda.c 	return count;
count             972 drivers/gpu/drm/sti/sti_hdmi.c 	int count;
count             986 drivers/gpu/drm/sti/sti_hdmi.c 	count = drm_add_edid_modes(connector, edid);
count             990 drivers/gpu/drm/sti/sti_hdmi.c 	return count;
count              83 drivers/gpu/drm/sti/sti_mixer.c 	int count = 0;
count              91 drivers/gpu/drm/sti/sti_mixer.c 			count++;
count              99 drivers/gpu/drm/sti/sti_mixer.c 		count++;
count             101 drivers/gpu/drm/sti/sti_mixer.c 	if (!count)
count             301 drivers/gpu/drm/sun4i/sun4i_drv.c 	int count = 0;
count             333 drivers/gpu/drm/sun4i/sun4i_drv.c 		count++;
count             345 drivers/gpu/drm/sun4i/sun4i_drv.c 	return count;
count             353 drivers/gpu/drm/sun4i/sun4i_drv.c 	int i, ret, count = 0;
count             376 drivers/gpu/drm/sun4i/sun4i_drv.c 		count += ret;
count             379 drivers/gpu/drm/sun4i/sun4i_drv.c 	if (count)
count             169 drivers/gpu/drm/sun4i/sun4i_hdmi.h #define SUN6I_HDMI_DDC_CMD_BYTE_COUNT(count)	((count) << 16)
count            1493 drivers/gpu/drm/tegra/dc.c 	unsigned int i, count = ARRAY_SIZE(debugfs_files);
count            1510 drivers/gpu/drm/tegra/dc.c 	for (i = 0; i < count; i++)
count            1513 drivers/gpu/drm/tegra/dc.c 	err = drm_debugfs_create_files(dc->debugfs_files, count, root, minor);
count            1528 drivers/gpu/drm/tegra/dc.c 	unsigned int count = ARRAY_SIZE(debugfs_files);
count            1532 drivers/gpu/drm/tegra/dc.c 	drm_debugfs_remove_files(dc->debugfs_files, count, minor);
count             239 drivers/gpu/drm/tegra/dpaux.c 			size_t count = value & DPAUX_DP_AUXSTAT_REPLY_MASK;
count             241 drivers/gpu/drm/tegra/dpaux.c 			if (WARN_ON(count != msg->size))
count             242 drivers/gpu/drm/tegra/dpaux.c 				count = min_t(size_t, count, msg->size);
count             244 drivers/gpu/drm/tegra/dpaux.c 			tegra_dpaux_read_fifo(dpaux, msg->buffer, count);
count             245 drivers/gpu/drm/tegra/dpaux.c 			ret = count;
count             233 drivers/gpu/drm/tegra/dsi.c 	unsigned int i, count = ARRAY_SIZE(debugfs_files);
count             244 drivers/gpu/drm/tegra/dsi.c 	for (i = 0; i < count; i++)
count             247 drivers/gpu/drm/tegra/dsi.c 	err = drm_debugfs_create_files(dsi->debugfs_files, count, root, minor);
count             263 drivers/gpu/drm/tegra/dsi.c 	unsigned int count = ARRAY_SIZE(debugfs_files);
count             266 drivers/gpu/drm/tegra/dsi.c 	drm_debugfs_remove_files(dsi->debugfs_files, count,
count            1120 drivers/gpu/drm/tegra/dsi.c 				       size_t count)
count            1170 drivers/gpu/drm/tegra/dsi.c 		for (i = 0, j = 0; i < count - 1; i++, j += 4) {
count            1208 drivers/gpu/drm/tegra/dsi.c 		u8 count = value & 0x1f;
count            1210 drivers/gpu/drm/tegra/dsi.c 		if (count > 0)
count            1211 drivers/gpu/drm/tegra/dsi.c 			return count;
count            1243 drivers/gpu/drm/tegra/dsi.c 	size_t count;
count            1319 drivers/gpu/drm/tegra/dsi.c 		count = err;
count            1340 drivers/gpu/drm/tegra/dsi.c 		if (count > 1) {
count            1341 drivers/gpu/drm/tegra/dsi.c 			err = tegra_dsi_read_response(dsi, msg, count);
count            1351 drivers/gpu/drm/tegra/dsi.c 				count = err;
count            1359 drivers/gpu/drm/tegra/dsi.c 		count = 4 + packet.payload_length;
count            1362 drivers/gpu/drm/tegra/dsi.c 	return count;
count            1063 drivers/gpu/drm/tegra/hdmi.c 	unsigned int i, count = ARRAY_SIZE(debugfs_files);
count            1074 drivers/gpu/drm/tegra/hdmi.c 	for (i = 0; i < count; i++)
count            1077 drivers/gpu/drm/tegra/hdmi.c 	err = drm_debugfs_create_files(hdmi->debugfs_files, count, root, minor);
count            1094 drivers/gpu/drm/tegra/hdmi.c 	unsigned int count = ARRAY_SIZE(debugfs_files);
count            1097 drivers/gpu/drm/tegra/hdmi.c 	drm_debugfs_remove_files(hdmi->debugfs_files, count, minor);
count            1461 drivers/gpu/drm/tegra/sor.c 	unsigned int i, count = ARRAY_SIZE(debugfs_files);
count            1472 drivers/gpu/drm/tegra/sor.c 	for (i = 0; i < count; i++)
count            1475 drivers/gpu/drm/tegra/sor.c 	err = drm_debugfs_create_files(sor->debugfs_files, count, root, minor);
count            1491 drivers/gpu/drm/tegra/sor.c 	unsigned int count = ARRAY_SIZE(debugfs_files);
count            1494 drivers/gpu/drm/tegra/sor.c 	drm_debugfs_remove_files(sor->debugfs_files, count,
count             604 drivers/gpu/drm/ttm/ttm_memory.c 	int count = TTM_MEMORY_ALLOC_RETRIES;
count             612 drivers/gpu/drm/ttm/ttm_memory.c 		if (unlikely(count-- == 0))
count             418 drivers/gpu/drm/ttm/ttm_page_alloc.c 	unsigned long count = 0;
count             423 drivers/gpu/drm/ttm/ttm_page_alloc.c 		count += (pool->npages << pool->order);
count             426 drivers/gpu/drm/ttm/ttm_page_alloc.c 	return count;
count             489 drivers/gpu/drm/ttm/ttm_page_alloc.c 			       unsigned count, unsigned order)
count             496 drivers/gpu/drm/ttm/ttm_page_alloc.c 	unsigned max_cpages = min(count << order, (unsigned)NUM_PAGES_TO_ALLOC);
count             507 drivers/gpu/drm/ttm/ttm_page_alloc.c 	for (i = 0, cpages = 0; i < count; ++i) {
count             573 drivers/gpu/drm/ttm/ttm_page_alloc.c 				      unsigned count, unsigned long *irq_flags)
count             590 drivers/gpu/drm/ttm/ttm_page_alloc.c 	if (count < _manager->options.small
count             591 drivers/gpu/drm/ttm/ttm_page_alloc.c 		&& count > pool->npages) {
count             633 drivers/gpu/drm/ttm/ttm_page_alloc.c 				   unsigned count, unsigned order)
count             642 drivers/gpu/drm/ttm/ttm_page_alloc.c 		ttm_page_pool_fill_locked(pool, ttm_flags, cstate, count,
count             645 drivers/gpu/drm/ttm/ttm_page_alloc.c 	if (count >= pool->npages) {
count             648 drivers/gpu/drm/ttm/ttm_page_alloc.c 		count -= pool->npages;
count             654 drivers/gpu/drm/ttm/ttm_page_alloc.c 	if (count <= pool->npages/2) {
count             657 drivers/gpu/drm/ttm/ttm_page_alloc.c 			if (++i == count)
count             663 drivers/gpu/drm/ttm/ttm_page_alloc.c 			if (--i == count)
count             669 drivers/gpu/drm/ttm/ttm_page_alloc.c 	pool->npages -= count;
count             670 drivers/gpu/drm/ttm/ttm_page_alloc.c 	count = 0;
count             687 drivers/gpu/drm/ttm/ttm_page_alloc.c 	if (count) {
count             701 drivers/gpu/drm/ttm/ttm_page_alloc.c 					count, order);
count             835 drivers/gpu/drm/ttm/ttm_page_alloc.c 	unsigned count, first;
count             898 drivers/gpu/drm/ttm/ttm_page_alloc.c 	count = 0;
count             911 drivers/gpu/drm/ttm/ttm_page_alloc.c 				pages[count++] = &p[j];
count             918 drivers/gpu/drm/ttm/ttm_page_alloc.c 				    npages - count, 0);
count             920 drivers/gpu/drm/ttm/ttm_page_alloc.c 	first = count;
count             925 drivers/gpu/drm/ttm/ttm_page_alloc.c 		if (count > first && pages[count - 1] == tmp - 1)
count             926 drivers/gpu/drm/ttm/ttm_page_alloc.c 			swap(tmp, pages[count - 1]);
count             927 drivers/gpu/drm/ttm/ttm_page_alloc.c 		pages[count++] = tmp;
count             935 drivers/gpu/drm/ttm/ttm_page_alloc.c 		ttm_put_pages(pages, count, flags, cstate);
count             701 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 					unsigned count)
count             708 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned max_cpages = min(count,
count             721 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	if (count > 1)
count             723 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			 pool->dev_name, pool->name, current->pid, count);
count             725 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	for (i = 0, cpages = 0; i < count; ++i) {
count             790 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned count = _manager->options.small;
count             793 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	if (count > pool->npages_free) {
count             802 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		r = ttm_dma_pool_alloc_new_pages(pool, &d_pages, count);
count             809 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			pool->npages_free += count;
count             810 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			r = count;
count             841 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	int count;
count             844 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	count = ttm_dma_page_pool_fill_locked(pool, &irq_flags);
count             845 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	if (count) {
count            1000 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned count, i, npages = 0;
count            1008 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		count = 0;
count            1014 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			count++;
count            1024 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		pool->npages_in_use -= count;
count            1025 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		pool->nfrees += count;
count            1038 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	count = 0;
count            1041 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		ttm->pages[count] = d_page->p;
count            1042 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		count++;
count            1055 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	pool->npages_in_use -= count;
count            1057 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		pool->nfrees += count;
count            1059 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		pool->npages_free += count;
count            1138 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned long count = 0;
count            1143 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		count += p->pool->npages_free;
count            1145 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	return count;
count              49 drivers/gpu/drm/udl/udl_drv.h 	int count;
count             169 drivers/gpu/drm/udl/udl_main.c 	int count = udl->urbs.count;
count             177 drivers/gpu/drm/udl/udl_main.c 	while (count--) {
count             196 drivers/gpu/drm/udl/udl_main.c 	udl->urbs.count = 0;
count             199 drivers/gpu/drm/udl/udl_main.c static int udl_alloc_urb_list(struct drm_device *dev, int count, size_t size)
count             205 drivers/gpu/drm/udl/udl_main.c 	size_t wanted_size = count * size;
count             214 drivers/gpu/drm/udl/udl_main.c 	udl->urbs.count = 0;
count             217 drivers/gpu/drm/udl/udl_main.c 	while (udl->urbs.count * size < wanted_size) {
count             254 drivers/gpu/drm/udl/udl_main.c 		udl->urbs.count++;
count             258 drivers/gpu/drm/udl/udl_main.c 	DRM_DEBUG("allocated %d %d byte urbs\n", udl->urbs.count, (int) size);
count             260 drivers/gpu/drm/udl/udl_main.c 	return udl->urbs.count;
count             350 drivers/gpu/drm/udl/udl_main.c 	if (udl->urbs.count)
count             368 drivers/gpu/drm/udl/udl_main.c 	if (udl->urbs.count)
count              93 drivers/gpu/drm/v3d/v3d_mmu.c 	unsigned int count;
count              96 drivers/gpu/drm/v3d/v3d_mmu.c 	for_each_sg(shmem_obj->sgt->sgl, sgl, shmem_obj->sgt->nents, count) {
count             235 drivers/gpu/drm/vc4/vc4_drv.c 				  int count)
count             239 drivers/gpu/drm/vc4/vc4_drv.c 	for (i = 0; i < count; i++) {
count             957 drivers/gpu/drm/vc4/vc4_hdmi.c 	uinfo->count = sizeof(hdmi->connector->eld);
count             123 drivers/gpu/drm/via/via_dma.c 	uint32_t count;
count             127 drivers/gpu/drm/via/via_dma.c 	count = 1000000;
count             130 drivers/gpu/drm/via/via_dma.c 		if (count-- == 0) {
count             411 drivers/gpu/drm/via/via_dma.c 	int paused, count;
count             438 drivers/gpu/drm/via/via_dma.c 	count = 10000000;
count             439 drivers/gpu/drm/via/via_dma.c 	while (diff == 0 && count--) {
count             475 drivers/gpu/drm/via/via_dma.c 	int count = 10000000;
count             477 drivers/gpu/drm/via/via_dma.c 	while (!(via_read(dev_priv, VIA_REG_STATUS) & VIA_VR_QUEUE_BUSY) && --count)
count             480 drivers/gpu/drm/via/via_dma.c 	while (count && (via_read(dev_priv, VIA_REG_STATUS) &
count             483 drivers/gpu/drm/via/via_dma.c 		--count;
count             484 drivers/gpu/drm/via/via_dma.c 	return count;
count             526 drivers/gpu/drm/via/via_dma.c 	int count;
count             559 drivers/gpu/drm/via/via_dma.c 	count = 10000000;
count             560 drivers/gpu/drm/via/via_dma.c 	while (!(via_read(dev_priv, 0x41c) & 0x80000000) && count--);
count             684 drivers/gpu/drm/via/via_dma.c 	uint32_t tmp_size, count;
count             697 drivers/gpu/drm/via/via_dma.c 	count = 1000000;
count             702 drivers/gpu/drm/via/via_dma.c 		       && --count) {
count             706 drivers/gpu/drm/via/via_dma.c 		if (!count) {
count             713 drivers/gpu/drm/via/via_dma.c 		       && --count) {
count             717 drivers/gpu/drm/via/via_dma.c 		if (!count) {
count             890 drivers/gpu/drm/via/via_verifier.c 	uint32_t addr, count, i;
count             894 drivers/gpu/drm/via/via_verifier.c 	i = count = *buf;
count             898 drivers/gpu/drm/via/via_verifier.c 	if (count & 3)
count             899 drivers/gpu/drm/via/via_verifier.c 		buf += 4 - (count & 3);
count             946 drivers/gpu/drm/via/via_verifier.c 	uint32_t addr, count, i;
count             949 drivers/gpu/drm/via/via_verifier.c 	i = count = *++buf;
count             955 drivers/gpu/drm/via/via_verifier.c 	count <<= 1;
count             956 drivers/gpu/drm/via/via_verifier.c 	if (count & 3)
count             957 drivers/gpu/drm/via/via_verifier.c 		buf += 4 - (count & 3);
count             157 drivers/gpu/drm/virtio/virtgpu_display.c 	int count, width, height;
count             160 drivers/gpu/drm/virtio/virtgpu_display.c 		count = drm_add_edid_modes(connector, output->edid);
count             161 drivers/gpu/drm/virtio/virtgpu_display.c 		if (count)
count             162 drivers/gpu/drm/virtio/virtgpu_display.c 			return count;
count             167 drivers/gpu/drm/virtio/virtgpu_display.c 	count = drm_add_modes_noedid(connector, XRES_MAX, YRES_MAX);
count             179 drivers/gpu/drm/virtio/virtgpu_display.c 		count++;
count             182 drivers/gpu/drm/virtio/virtgpu_display.c 	return count;
count             199 drivers/gpu/drm/vkms/vkms_composer.c 					size_t *count)
count             201 drivers/gpu/drm/vkms/vkms_composer.c 	*count = ARRAY_SIZE(pipe_crc_sources);
count             137 drivers/gpu/drm/vkms/vkms_drv.h 					size_t *count);
count              26 drivers/gpu/drm/vkms/vkms_output.c 	int count;
count              28 drivers/gpu/drm/vkms/vkms_output.c 	count = drm_add_modes_noedid(connector, XRES_MAX, YRES_MAX);
count              31 drivers/gpu/drm/vkms/vkms_output.c 	return count;
count            1304 drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h       uint32 count : 30;
count             872 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 			     size_t count, loff_t *offset);
count             441 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		      size_t count, loff_t *offset)
count             448 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	return drm_read(filp, buffer, count, offset);
count             168 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c 	uint32_t count = 0;
count             207 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c 		else if ((++count & 0x0F) == 0) {
count             132 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	uint32_t count;
count             138 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	count = vmw_mmio_read(fifo_mem + SVGA_FIFO_CURSOR_COUNT);
count             139 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	vmw_mmio_write(++count, fifo_mem + SVGA_FIFO_CURSOR_COUNT);
count             312 drivers/gpu/host1x/bus.c 	unsigned int count = 0;
count             329 drivers/gpu/host1x/bus.c 		add_uevent_var(env, "OF_COMPATIBLE_%u=%s", count, compat);
count             330 drivers/gpu/host1x/bus.c 		count++;
count             333 drivers/gpu/host1x/bus.c 	add_uevent_var(env, "OF_COMPATIBLE_N=%u", count);
count              84 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              86 drivers/gpu/host1x/hw/host1x01_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              89 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              91 drivers/gpu/host1x/hw/host1x01_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             115 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             117 drivers/gpu/host1x/hw/host1x01_hardware.h 	return (6 << 28) | count;
count             120 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             122 drivers/gpu/host1x/hw/host1x01_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             125 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             127 drivers/gpu/host1x/hw/host1x01_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count              83 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              85 drivers/gpu/host1x/hw/host1x02_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              88 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              90 drivers/gpu/host1x/hw/host1x02_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             114 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             116 drivers/gpu/host1x/hw/host1x02_hardware.h 	return (6 << 28) | count;
count             119 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             121 drivers/gpu/host1x/hw/host1x02_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             124 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             126 drivers/gpu/host1x/hw/host1x02_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count              83 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              85 drivers/gpu/host1x/hw/host1x04_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              88 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              90 drivers/gpu/host1x/hw/host1x04_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             114 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             116 drivers/gpu/host1x/hw/host1x04_hardware.h 	return (6 << 28) | count;
count             119 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             121 drivers/gpu/host1x/hw/host1x04_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             124 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             126 drivers/gpu/host1x/hw/host1x04_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count              83 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              85 drivers/gpu/host1x/hw/host1x05_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              88 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              90 drivers/gpu/host1x/hw/host1x05_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             114 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             116 drivers/gpu/host1x/hw/host1x05_hardware.h 	return (6 << 28) | count;
count             119 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             121 drivers/gpu/host1x/hw/host1x05_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             124 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             126 drivers/gpu/host1x/hw/host1x05_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count              84 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              86 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              89 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              91 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             115 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             117 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (6 << 28) | count;
count             120 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             122 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             125 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             127 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count             130 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_gather_wide(unsigned count)
count             132 drivers/gpu/host1x/hw/host1x06_hardware.h 	return (12 << 28) | count;
count              84 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_incr(unsigned offset, unsigned count)
count              86 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (1 << 28) | (offset << 16) | count;
count              89 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count)
count              91 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (2 << 28) | (offset << 16) | count;
count             115 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_gather(unsigned count)
count             117 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (6 << 28) | count;
count             120 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_gather_nonincr(unsigned offset,	unsigned count)
count             122 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | count;
count             125 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
count             127 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
count             130 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_gather_wide(unsigned count)
count             132 drivers/gpu/host1x/hw/host1x07_hardware.h 	return (12 << 28) | count;
count              74 drivers/gpu/host1x/intr.c 				prev->count++;
count             107 drivers/gpu/host1x/intr.c 					     waiter->count, waiter->thresh);
count             224 drivers/gpu/host1x/intr.c 	waiter->count = 1;
count              53 drivers/gpu/host1x/intr.h 	int count;
count             267 drivers/gpu/host1x/job.c 	u32 count;
count             329 drivers/gpu/host1x/job.c 	u32 count = fw->count;
count             333 drivers/gpu/host1x/job.c 	while (count) {
count             344 drivers/gpu/host1x/job.c 		count--;
count             352 drivers/gpu/host1x/job.c 	u32 count = fw->count;
count             355 drivers/gpu/host1x/job.c 	while (count) {
count             365 drivers/gpu/host1x/job.c 		count--;
count             388 drivers/gpu/host1x/job.c 		fw->count = 0;
count             405 drivers/gpu/host1x/job.c 			fw->count = word & 0xffff;
count             413 drivers/gpu/host1x/job.c 			fw->count = word & 0xffff;
count             157 drivers/gpu/ipu-v3/ipu-di.c 		int start, int count)
count             162 drivers/gpu/ipu-v3/ipu-di.c 	for (i = 0; i < count; i++) {
count            1242 drivers/gpu/ipu-v3/ipu-image-convert.c 	int count = 0;
count            1248 drivers/gpu/ipu-v3/ipu-image-convert.c 			count++;
count            1251 drivers/gpu/ipu-v3/ipu-image-convert.c 	return count;
count             987 drivers/gpu/vga/vgaarb.c static int vga_pci_str_to_vars(char *buf, int count, unsigned int *domain,
count            1004 drivers/gpu/vga/vgaarb.c 			    size_t count, loff_t *ppos)
count            1057 drivers/gpu/vga/vgaarb.c 	if (len > count)
count            1058 drivers/gpu/vga/vgaarb.c 		len = count;
count            1071 drivers/gpu/vga/vgaarb.c 			     size_t count, loff_t *ppos)
count            1080 drivers/gpu/vga/vgaarb.c 	size_t remaining = count;
count            1085 drivers/gpu/vga/vgaarb.c 	if (count >= sizeof(kbuf))
count            1087 drivers/gpu/vga/vgaarb.c 	if (copy_from_user(kbuf, buf, count))
count            1090 drivers/gpu/vga/vgaarb.c 	kbuf[count] = '\0';	/* Just to make sure... */
count            1126 drivers/gpu/vga/vgaarb.c 		ret_val = count;
count            1182 drivers/gpu/vga/vgaarb.c 		ret_val = count;
count            1218 drivers/gpu/vga/vgaarb.c 			ret_val = count;
count            1287 drivers/gpu/vga/vgaarb.c 		ret_val = count;
count            1308 drivers/gpu/vga/vgaarb.c 		ret_val = count;
count            1118 drivers/greybus/es2.c 			    size_t count, loff_t *ppos)
count            1125 drivers/greybus/es2.c 	if (count > APB1_LOG_SIZE)
count            1126 drivers/greybus/es2.c 		count = APB1_LOG_SIZE;
count            1128 drivers/greybus/es2.c 	tmp_buf = kmalloc(count, GFP_KERNEL);
count            1132 drivers/greybus/es2.c 	copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count);
count            1133 drivers/greybus/es2.c 	ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied);
count            1172 drivers/greybus/es2.c 				   size_t count, loff_t *ppos)
count            1179 drivers/greybus/es2.c 	return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3);
count            1183 drivers/greybus/es2.c 				    size_t count, loff_t *ppos)
count            1189 drivers/greybus/es2.c 	retval = kstrtoint_from_user(buf, count, 10, &enable);
count            1198 drivers/greybus/es2.c 	return count;
count             236 drivers/greybus/manifest.c 	u32 count = 0;
count             272 drivers/greybus/manifest.c 		count++;
count             275 drivers/greybus/manifest.c 	if (!count)
count             278 drivers/greybus/manifest.c 	bundle->cport_desc = kcalloc(count, sizeof(*bundle->cport_desc),
count             283 drivers/greybus/manifest.c 	bundle->num_cports = count;
count             295 drivers/greybus/manifest.c 	return count;
count             317 drivers/greybus/manifest.c 	u32 count = 0;
count             375 drivers/greybus/manifest.c 		count++;
count             378 drivers/greybus/manifest.c 	return count;
count             383 drivers/greybus/manifest.c 		count--;
count             199 drivers/hid/hid-asus.c 	int oldid, count, i;
count             206 drivers/hid/hid-asus.c 	count = 0;
count             218 drivers/hid/hid-asus.c 		count++;
count             477 drivers/hid/hid-core.c 	__u32 count;
count             532 drivers/hid/hid-core.c 		count = data - parser->local.usage_minimum;
count             533 drivers/hid/hid-core.c 		if (count + parser->local.usage_index >= HID_MAX_USAGES) {
count            1527 drivers/hid/hid-core.c 	unsigned count = field->report_count;
count            1534 drivers/hid/hid-core.c 	value = kmalloc_array(count, sizeof(__s32), GFP_ATOMIC);
count            1538 drivers/hid/hid-core.c 	for (n = 0; n < count; n++) {
count            1553 drivers/hid/hid-core.c 	for (n = 0; n < count; n++) {
count            1563 drivers/hid/hid-core.c 			&& search(value, field->value[n], count))
count            1569 drivers/hid/hid-core.c 			&& search(field->value, value[n], count))
count            1573 drivers/hid/hid-core.c 	memcpy(field->value, value, count * sizeof(__s32));
count            1585 drivers/hid/hid-core.c 	unsigned count = field->report_count;
count            1590 drivers/hid/hid-core.c 	for (n = 0; n < count; n++) {
count            1874 drivers/hid/hid-core.c 		char *buf, loff_t off, size_t count)
count            1882 drivers/hid/hid-core.c 	if (off + count > hdev->rsize)
count            1883 drivers/hid/hid-core.c 		count = hdev->rsize - off;
count            1885 drivers/hid/hid-core.c 	memcpy(buf, hdev->rdesc + off, count);
count            1887 drivers/hid/hid-core.c 	return count;
count            2120 drivers/hid/hid-core.c 		size_t count)
count            2149 drivers/hid/hid-core.c 	return ret ? : count;
count             310 drivers/hid/hid-corsair.c 				    const char *buf, size_t count)
count             334 drivers/hid/hid-corsair.c 	return count;
count             379 drivers/hid/hid-corsair.c 					 const char *buf, size_t count)
count             402 drivers/hid/hid-corsair.c 	return count;
count             321 drivers/hid/hid-cp2112.c 			  u8 *data, size_t count, unsigned char report_type)
count             326 drivers/hid/hid-cp2112.c 	buf = kmalloc(count, GFP_KERNEL);
count             330 drivers/hid/hid-cp2112.c 	ret = hid_hw_raw_request(hdev, report_number, buf, count,
count             332 drivers/hid/hid-cp2112.c 	memcpy(data, buf, count);
count             337 drivers/hid/hid-cp2112.c static int cp2112_hid_output(struct hid_device *hdev, u8 *data, size_t count,
count             343 drivers/hid/hid-cp2112.c 	buf = kmemdup(data, count, GFP_KERNEL);
count             348 drivers/hid/hid-cp2112.c 		ret = hid_hw_output_report(hdev, buf, count);
count             350 drivers/hid/hid-cp2112.c 		ret = hid_hw_raw_request(hdev, buf[0], buf, count, report_type,
count             523 drivers/hid/hid-cp2112.c 	ssize_t count;
count             537 drivers/hid/hid-cp2112.c 			count = cp2112_read_req(buf, msgs->addr, msgs->len);
count             541 drivers/hid/hid-cp2112.c 			count = cp2112_i2c_write_req(buf, msgs->addr,
count             544 drivers/hid/hid-cp2112.c 		if (count < 0)
count             545 drivers/hid/hid-cp2112.c 			return count;
count             554 drivers/hid/hid-cp2112.c 		count = cp2112_i2c_write_read_req(buf, msgs[0].addr,
count             556 drivers/hid/hid-cp2112.c 		if (count < 0)
count             557 drivers/hid/hid-cp2112.c 			return count;
count             570 drivers/hid/hid-cp2112.c 	ret = cp2112_hid_output(hdev, buf, count, HID_OUTPUT_REPORT);
count             599 drivers/hid/hid-cp2112.c 	for (count = 0; count < read_length;) {
count             600 drivers/hid/hid-cp2112.c 		ret = cp2112_read(dev, read_buf + count, read_length - count);
count             608 drivers/hid/hid-cp2112.c 		count += ret;
count             609 drivers/hid/hid-cp2112.c 		if (count > read_length) {
count             619 drivers/hid/hid-cp2112.c 				ret, read_length - count + ret);
count             642 drivers/hid/hid-cp2112.c 	ssize_t count;
count             656 drivers/hid/hid-cp2112.c 			count = cp2112_read_req(buf, addr, read_length);
count             658 drivers/hid/hid-cp2112.c 			count = cp2112_write_req(buf, addr, command, NULL,
count             665 drivers/hid/hid-cp2112.c 			count = cp2112_write_read_req(buf, addr, read_length,
count             668 drivers/hid/hid-cp2112.c 			count = cp2112_write_req(buf, addr, command,
count             676 drivers/hid/hid-cp2112.c 			count = cp2112_write_read_req(buf, addr, read_length,
count             679 drivers/hid/hid-cp2112.c 			count = cp2112_write_req(buf, addr, command,
count             688 drivers/hid/hid-cp2112.c 		count = cp2112_write_read_req(buf, addr, read_length, command,
count             694 drivers/hid/hid-cp2112.c 			count = cp2112_write_read_req(buf, addr, read_length,
count             697 drivers/hid/hid-cp2112.c 			count = cp2112_write_req(buf, addr, command,
count             704 drivers/hid/hid-cp2112.c 			count = cp2112_write_read_req(buf, addr,
count             708 drivers/hid/hid-cp2112.c 			count = cp2112_write_req(buf, addr, command,
count             717 drivers/hid/hid-cp2112.c 		count = cp2112_write_read_req(buf, addr, I2C_SMBUS_BLOCK_MAX,
count             726 drivers/hid/hid-cp2112.c 	if (count < 0)
count             727 drivers/hid/hid-cp2112.c 		return count;
count             735 drivers/hid/hid-cp2112.c 	ret = cp2112_hid_output(hdev, buf, count, HID_OUTPUT_REPORT);
count             868 drivers/hid/hid-cp2112.c 			    size_t count) \
count             880 drivers/hid/hid-cp2112.c 	return count; \
count             948 drivers/hid/hid-cp2112.c 			  size_t count)
count             958 drivers/hid/hid-cp2112.c 	ret = utf8s_to_utf16s(buf, count, UTF16_LITTLE_ENDIAN,
count             975 drivers/hid/hid-cp2112.c 	return count;
count            1092 drivers/hid/hid-debug.c 		size_t count, loff_t *ppos)
count            1142 drivers/hid/hid-debug.c 	ret = kfifo_to_user(&list->hid_debug_fifo, buffer, count, &copied);
count              97 drivers/hid/hid-gt683r.c 				const char *buf, size_t count)
count             119 drivers/hid/hid-gt683r.c 	return count;
count            1333 drivers/hid/hid-input.c 		int count = abs(value);
count            1337 drivers/hid/hid-input.c 		for (i = 0; i < count; i++) {
count            1455 drivers/hid/hid-input.c 	unsigned int count = 0;
count            1465 drivers/hid/hid-input.c 					count += 1;
count            1468 drivers/hid/hid-input.c 	return count;
count             269 drivers/hid/hid-lenovo.c 		size_t count)
count             283 drivers/hid/hid-lenovo.c 	return count;
count             300 drivers/hid/hid-lenovo.c 		size_t count)
count             312 drivers/hid/hid-lenovo.c 	return count;
count             436 drivers/hid/hid-lenovo.c 		size_t count)
count             450 drivers/hid/hid-lenovo.c 	return count;
count             466 drivers/hid/hid-lenovo.c 		size_t count)
count             480 drivers/hid/hid-lenovo.c 	return count;
count             496 drivers/hid/hid-lenovo.c 		size_t count)
count             510 drivers/hid/hid-lenovo.c 	return count;
count             526 drivers/hid/hid-lenovo.c 		size_t count)
count             540 drivers/hid/hid-lenovo.c 	return count;
count             557 drivers/hid/hid-lenovo.c 		size_t count)
count             569 drivers/hid/hid-lenovo.c 	return count;
count             586 drivers/hid/hid-lenovo.c 		size_t count)
count             598 drivers/hid/hid-lenovo.c 	return count;
count             803 drivers/hid/hid-lg4ff.c 	ssize_t count = 0;
count             826 drivers/hid/hid-lg4ff.c 			count += scnprintf(buf + count, PAGE_SIZE - count, "%s: %s",
count             829 drivers/hid/hid-lg4ff.c 			if (count >= PAGE_SIZE - 1)
count             830 drivers/hid/hid-lg4ff.c 				return count;
count             835 drivers/hid/hid-lg4ff.c 				count += scnprintf(buf + count, PAGE_SIZE - count, " *\n");
count             837 drivers/hid/hid-lg4ff.c 				count += scnprintf(buf + count, PAGE_SIZE - count, "\n");
count             839 drivers/hid/hid-lg4ff.c 			if (count >= PAGE_SIZE - 1)
count             840 drivers/hid/hid-lg4ff.c 				return count;
count             844 drivers/hid/hid-lg4ff.c 	return count;
count             847 drivers/hid/hid-lg4ff.c static ssize_t lg4ff_alternate_modes_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             906 drivers/hid/hid-lg4ff.c 		return count;
count             929 drivers/hid/hid-lg4ff.c 	return (ret == 0 ? count : ret);
count             939 drivers/hid/hid-lg4ff.c 	size_t count;
count             953 drivers/hid/hid-lg4ff.c 	count = scnprintf(buf, PAGE_SIZE, "%u\n", entry->wdata.combine);
count             954 drivers/hid/hid-lg4ff.c 	return count;
count             958 drivers/hid/hid-lg4ff.c 				 const char *buf, size_t count)
count             981 drivers/hid/hid-lg4ff.c 	return count;
count             992 drivers/hid/hid-lg4ff.c 	size_t count;
count            1006 drivers/hid/hid-lg4ff.c 	count = scnprintf(buf, PAGE_SIZE, "%u\n", entry->wdata.range);
count            1007 drivers/hid/hid-lg4ff.c 	return count;
count            1013 drivers/hid/hid-lg4ff.c 				 const char *buf, size_t count)
count            1042 drivers/hid/hid-lg4ff.c 	return count;
count            1051 drivers/hid/hid-lg4ff.c 	size_t count;
count            1070 drivers/hid/hid-lg4ff.c 	count = scnprintf(buf, PAGE_SIZE, "%s: %s\n", entry->wdata.real_tag, entry->wdata.real_name);
count            1071 drivers/hid/hid-lg4ff.c 	return count;
count            1074 drivers/hid/hid-lg4ff.c static ssize_t lg4ff_real_id_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             757 drivers/hid/hid-logitech-dj.c 	int count;
count             775 drivers/hid/hid-logitech-dj.c 	count = kfifo_out(&djrcv_dev->notif_fifo, &workitem, sizeof(workitem));
count             777 drivers/hid/hid-logitech-dj.c 	if (count != sizeof(workitem)) {
count            1245 drivers/hid/hid-logitech-dj.c 				  size_t count, unsigned char report_type,
count            1256 drivers/hid/hid-logitech-dj.c 		if (count < 2)
count            1261 drivers/hid/hid-logitech-dj.c 		if (count == 7 && !memcmp(buf, unifying_pairing_query,
count            1267 drivers/hid/hid-logitech-dj.c 				count, report_type, reqtype);
count            1273 drivers/hid/hid-logitech-dj.c 	if (djrcv_dev->type != recvr_type_dj && count >= 2) {
count            1279 drivers/hid/hid-logitech-dj.c 		return hid_hw_raw_request(djrcv_dev->keyboard, 0, buf, count,
count            1287 drivers/hid/hid-logitech-dj.c 	if (count > DJREPORT_SHORT_LENGTH - 2)
count            1288 drivers/hid/hid-logitech-dj.c 		count = DJREPORT_SHORT_LENGTH - 2;
count            1292 drivers/hid/hid-logitech-dj.c 	memcpy(out_buf + 2, buf, count);
count             941 drivers/hid/hid-logitech-hidpp.c 	int count;
count             957 drivers/hid/hid-logitech-hidpp.c 		count = hidpp->very_long_report_length - 4;
count             960 drivers/hid/hid-logitech-hidpp.c 		count = HIDPP_REPORT_LONG_LENGTH - 4;
count             963 drivers/hid/hid-logitech-hidpp.c 		count = HIDPP_REPORT_SHORT_LENGTH - 4;
count             969 drivers/hid/hid-logitech-hidpp.c 	if (len_buf < count)
count             970 drivers/hid/hid-logitech-hidpp.c 		count = len_buf;
count             972 drivers/hid/hid-logitech-hidpp.c 	for (i = 0; i < count; i++)
count             975 drivers/hid/hid-logitech-hidpp.c 	return count;
count            2060 drivers/hid/hid-logitech-hidpp.c static ssize_t hidpp_ff_range_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            2076 drivers/hid/hid-logitech-hidpp.c 	return count;
count             392 drivers/hid/hid-multitouch.c 			  const char *buf, size_t count)
count             411 drivers/hid/hid-multitouch.c 	return count;
count            1153 drivers/hid/hid-multitouch.c 	unsigned count;
count            1200 drivers/hid/hid-multitouch.c 		count = field->report_count;
count            1205 drivers/hid/hid-multitouch.c 		for (n = 0; n < count; n++)
count             230 drivers/hid/hid-ntrig.c 			     const char *buf, size_t count)
count             246 drivers/hid/hid-ntrig.c 	return count;
count             265 drivers/hid/hid-ntrig.c 			      const char *buf, size_t count)
count             281 drivers/hid/hid-ntrig.c 	return count;
count             299 drivers/hid/hid-ntrig.c 				  const char *buf, size_t count)
count             314 drivers/hid/hid-ntrig.c 	return count;
count             334 drivers/hid/hid-ntrig.c 				    const char *buf, size_t count)
count             350 drivers/hid/hid-ntrig.c 	return count;
count             370 drivers/hid/hid-ntrig.c 				     const char *buf, size_t count)
count             386 drivers/hid/hid-ntrig.c 	return count;
count             404 drivers/hid/hid-ntrig.c 				    const char *buf, size_t count)
count             424 drivers/hid/hid-ntrig.c 	return count;
count             265 drivers/hid/hid-picolcd_core.c 		struct device_attribute *attr, const char *buf, size_t count)
count             290 drivers/hid/hid-picolcd_core.c 	return count;
count             308 drivers/hid/hid-picolcd_core.c 		struct device_attribute *attr, const char *buf, size_t count)
count             318 drivers/hid/hid-picolcd_core.c 	return count;
count              38 drivers/hid/hid-picolcd_debugfs.c 		size_t count, loff_t *ppos)
count              42 drivers/hid/hid-picolcd_debugfs.c 	size_t cnt = min(count, sizeof(buf)-1);
count              57 drivers/hid/hid-picolcd_debugfs.c 	return count;
count             323 drivers/hid/hid-picolcd_fb.c 		size_t count, loff_t *ppos)
count             328 drivers/hid/hid-picolcd_fb.c 	ret = fb_sys_write(info, buf, count, ppos);
count             471 drivers/hid/hid-picolcd_fb.c 		struct device_attribute *attr, const char *buf, size_t count)
count             478 drivers/hid/hid-picolcd_fb.c 	if (count < 1 || count > 10)
count             492 drivers/hid/hid-picolcd_fb.c 	return count;
count             113 drivers/hid/hid-prodikeys.c 	struct device_attribute *attr, const char *buf, size_t count)
count             150 drivers/hid/hid-prodikeys.c 	struct device_attribute *attr, const char *buf, size_t count)
count             189 drivers/hid/hid-prodikeys.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1144 drivers/hid/hid-quirks.c int hid_quirks_init(char **quirks_param, __u16 bus, int count)
count            1153 drivers/hid/hid-quirks.c 	for (; n < count && quirks_param[n]; n++) {
count             189 drivers/hid/hid-roccat-arvo.c 		loff_t off, size_t count, size_t real_size, uint command)
count             196 drivers/hid/hid-roccat-arvo.c 	if (off != 0 || count != real_size)
count             208 drivers/hid/hid-roccat-arvo.c 		size_t count, size_t real_size, uint command)
count             218 drivers/hid/hid-roccat-arvo.c 	if (off != 0 || count != real_size)
count             230 drivers/hid/hid-roccat-arvo.c 		loff_t off, size_t count)
count             232 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_write(fp, kobj, buf, off, count,
count             240 drivers/hid/hid-roccat-arvo.c 		loff_t off, size_t count)
count             242 drivers/hid/hid-roccat-arvo.c 	return arvo_sysfs_read(fp, kobj, buf, off, count,
count             131 drivers/hid/hid-roccat-common.c 		char *buf, loff_t off, size_t count,
count             142 drivers/hid/hid-roccat-common.c 	if (off != 0 || count != real_size)
count             154 drivers/hid/hid-roccat-common.c 		void const *buf, loff_t off, size_t count,
count             162 drivers/hid/hid-roccat-common.c 	if (off != 0 || count != real_size)
count              41 drivers/hid/hid-roccat-common.h 		char *buf, loff_t off, size_t count,
count              44 drivers/hid/hid-roccat-common.h 		void const *buf, loff_t off, size_t count,
count              50 drivers/hid/hid-roccat-common.h 		loff_t off, size_t count) \
count              52 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_write(fp, kobj, buf, off, count, \
count              59 drivers/hid/hid-roccat-common.h 		loff_t off, size_t count) \
count              61 drivers/hid/hid-roccat-common.h 	return roccat_common2_sysfs_read(fp, kobj, buf, off, count, \
count             118 drivers/hid/hid-roccat-isku.c 		char *buf, loff_t off, size_t count,
count             129 drivers/hid/hid-roccat-isku.c 	if (off != 0 || count > real_size)
count             133 drivers/hid/hid-roccat-isku.c 	retval = isku_receive(usb_dev, command, buf, count);
count             136 drivers/hid/hid-roccat-isku.c 	return retval ? retval : count;
count             140 drivers/hid/hid-roccat-isku.c 		void const *buf, loff_t off, size_t count,
count             148 drivers/hid/hid-roccat-isku.c 	if (off != 0 || count > real_size)
count             153 drivers/hid/hid-roccat-isku.c 			(void *)buf, count);
count             156 drivers/hid/hid-roccat-isku.c 	return retval ? retval : count;
count             162 drivers/hid/hid-roccat-isku.c 		loff_t off, size_t count) \
count             164 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_write(fp, kobj, buf, off, count, \
count             171 drivers/hid/hid-roccat-isku.c 		loff_t off, size_t count) \
count             173 drivers/hid/hid-roccat-isku.c 	return isku_sysfs_read(fp, kobj, buf, off, count, \
count             268 drivers/hid/hid-roccat-kone.c 		loff_t off, size_t count) {
count             275 drivers/hid/hid-roccat-kone.c 	if (off + count > sizeof(struct kone_settings))
count             276 drivers/hid/hid-roccat-kone.c 		count = sizeof(struct kone_settings) - off;
count             279 drivers/hid/hid-roccat-kone.c 	memcpy(buf, ((char const *)&kone->settings) + off, count);
count             282 drivers/hid/hid-roccat-kone.c 	return count;
count             292 drivers/hid/hid-roccat-kone.c 		loff_t off, size_t count) {
count             299 drivers/hid/hid-roccat-kone.c 	if (off != 0 || count != sizeof(struct kone_settings))
count             329 drivers/hid/hid-roccat-kone.c 		char *buf, loff_t off, size_t count) {
count             336 drivers/hid/hid-roccat-kone.c 	if (off + count > sizeof(struct kone_profile))
count             337 drivers/hid/hid-roccat-kone.c 		count = sizeof(struct kone_profile) - off;
count             340 drivers/hid/hid-roccat-kone.c 	memcpy(buf, ((char const *)&kone->profiles[*(uint *)(attr->private)]) + off, count);
count             343 drivers/hid/hid-roccat-kone.c 	return count;
count             349 drivers/hid/hid-roccat-kone.c 		char *buf, loff_t off, size_t count) {
count             357 drivers/hid/hid-roccat-kone.c 	if (off != 0 || count != sizeof(struct kone_profile))
count              39 drivers/hid/hid-roccat-kone.h 	uint8_t count;
count              84 drivers/hid/hid-roccat-koneplus.c 		char *buf, loff_t off, size_t count,
count              95 drivers/hid/hid-roccat-koneplus.c 	if (off != 0 || count != real_size)
count             109 drivers/hid/hid-roccat-koneplus.c 		void const *buf, loff_t off, size_t count,
count             117 drivers/hid/hid-roccat-koneplus.c 	if (off != 0 || count != real_size)
count             134 drivers/hid/hid-roccat-koneplus.c 		loff_t off, size_t count) \
count             136 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_write(fp, kobj, buf, off, count, \
count             143 drivers/hid/hid-roccat-koneplus.c 		loff_t off, size_t count) \
count             145 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count, \
count             189 drivers/hid/hid-roccat-koneplus.c 		loff_t off, size_t count)
count             200 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
count             207 drivers/hid/hid-roccat-koneplus.c 		loff_t off, size_t count)
count             218 drivers/hid/hid-roccat-koneplus.c 	return koneplus_sysfs_read(fp, kobj, buf, off, count,
count             127 drivers/hid/hid-roccat-kovaplus.c 		char *buf, loff_t off, size_t count,
count             138 drivers/hid/hid-roccat-kovaplus.c 	if (off != 0 || count != real_size)
count             152 drivers/hid/hid-roccat-kovaplus.c 		void const *buf, loff_t off, size_t count,
count             160 drivers/hid/hid-roccat-kovaplus.c 	if (off != 0 || count != real_size)
count             177 drivers/hid/hid-roccat-kovaplus.c 		loff_t off, size_t count) \
count             179 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_write(fp, kobj, buf, off, count, \
count             186 drivers/hid/hid-roccat-kovaplus.c 		loff_t off, size_t count) \
count             188 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count, \
count             219 drivers/hid/hid-roccat-kovaplus.c 		loff_t off, size_t count)
count             230 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
count             237 drivers/hid/hid-roccat-kovaplus.c 		loff_t off, size_t count)
count             248 drivers/hid/hid-roccat-kovaplus.c 	return kovaplus_sysfs_read(fp, kobj, buf, off, count,
count              27 drivers/hid/hid-roccat-lua.c 		char *buf, loff_t off, size_t count,
count              38 drivers/hid/hid-roccat-lua.c 	if (off != 0 || count != real_size)
count              49 drivers/hid/hid-roccat-lua.c 		void const *buf, loff_t off, size_t count,
count              57 drivers/hid/hid-roccat-lua.c 	if (off != 0 || count != real_size)
count              70 drivers/hid/hid-roccat-lua.c 		char *buf, loff_t off, size_t count) \
count              72 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_write(fp, kobj, buf, off, count, \
count              79 drivers/hid/hid-roccat-lua.c 		char *buf, loff_t off, size_t count) \
count              81 drivers/hid/hid-roccat-lua.c 	return lua_sysfs_read(fp, kobj, buf, off, count, \
count              87 drivers/hid/hid-roccat-pyra.c 		char *buf, loff_t off, size_t count,
count              98 drivers/hid/hid-roccat-pyra.c 	if (off != 0 || count != real_size)
count             112 drivers/hid/hid-roccat-pyra.c 		void const *buf, loff_t off, size_t count,
count             120 drivers/hid/hid-roccat-pyra.c 	if (off != 0 || count != real_size)
count             136 drivers/hid/hid-roccat-pyra.c 		loff_t off, size_t count) \
count             138 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_write(fp, kobj, buf, off, count, \
count             145 drivers/hid/hid-roccat-pyra.c 		loff_t off, size_t count) \
count             147 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count, \
count             187 drivers/hid/hid-roccat-pyra.c 		loff_t off, size_t count)
count             198 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
count             205 drivers/hid/hid-roccat-pyra.c 		loff_t off, size_t count)
count             216 drivers/hid/hid-roccat-pyra.c 	return pyra_sysfs_read(fp, kobj, buf, off, count,
count             242 drivers/hid/hid-roccat-pyra.c 		loff_t off, size_t count)
count             251 drivers/hid/hid-roccat-pyra.c 	if (off != 0 || count != PYRA_SIZE_SETTINGS)
count              74 drivers/hid/hid-roccat.c 		size_t count, loff_t *ppos)
count             123 drivers/hid/hid-roccat.c 	len = device->report_size > count ? count : device->report_size;
count             229 drivers/hid/hid-sensor-custom.c 				   const char *buf, size_t count)
count             260 drivers/hid/hid-sensor-custom.c 	return count;
count             382 drivers/hid/hid-sensor-custom.c 			   const char *buf, size_t count)
count             409 drivers/hid/hid-sensor-custom.c 	return count;
count             636 drivers/hid/hid-sensor-custom.c 				      size_t count, loff_t *f_ps)
count             645 drivers/hid/hid-sensor-custom.c 	if (count < sizeof(struct hid_sensor_sample))
count             658 drivers/hid/hid-sensor-custom.c 		ret = kfifo_to_user(&sensor_inst->data_fifo, buf, count,
count              73 drivers/hid/hid-sensor-hub.c 	int count = 0;
count              79 drivers/hid/hid-sensor-hub.c 			++count;
count              82 drivers/hid/hid-sensor-hub.c 	return count;
count             616 drivers/hid/hid-sony.c 				const char *buf, size_t count)
count             635 drivers/hid/hid-sony.c 	return count;
count             657 drivers/hid/hid-steam.c 				size_t count, unsigned char report_type,
count             662 drivers/hid/hid-steam.c 	return hid_hw_raw_request(steam->hdev, reportnum, buf, count,
count              23 drivers/hid/hid-wiimote-core.c 			    size_t count)
count              31 drivers/hid/hid-wiimote-core.c 	buf = kmemdup(buffer, count, GFP_KERNEL);
count              35 drivers/hid/hid-wiimote-core.c 	ret = hid_hw_output_report(hdev, buf, count);
count              71 drivers/hid/hid-wiimote-core.c 								size_t count)
count              76 drivers/hid/hid-wiimote-core.c 	if (count > HID_MAX_BUFFER_SIZE) {
count              95 drivers/hid/hid-wiimote-core.c 	memcpy(wdata->queue.outq[wdata->queue.head].data, buffer, count);
count              96 drivers/hid/hid-wiimote-core.c 	wdata->queue.outq[wdata->queue.head].size = count;
count            1683 drivers/hid/hid-wiimote-core.c 				 const char *buf, size_t count)
count            1812 drivers/hid/hid-wiimote-modules.c 				      const char *buf, size_t count)
count              39 drivers/hid/hidraw.c static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos)
count              80 drivers/hid/hidraw.c 		len = list->buffer[list->tail].len > count ?
count              81 drivers/hid/hidraw.c 			count : list->buffer[list->tail].len;
count             103 drivers/hid/hidraw.c static ssize_t hidraw_send_report(struct file *file, const char __user *buffer, size_t count, unsigned char report_type)
count             119 drivers/hid/hidraw.c 	if (count > HID_MAX_BUFFER_SIZE) {
count             126 drivers/hid/hidraw.c 	if (count < 2) {
count             133 drivers/hid/hidraw.c 	buf = memdup_user(buffer, count);
count             141 drivers/hid/hidraw.c 		ret = hid_hw_output_report(dev, buf, count);
count             151 drivers/hid/hidraw.c 	ret = hid_hw_raw_request(dev, buf[0], buf, count, report_type,
count             160 drivers/hid/hidraw.c static ssize_t hidraw_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
count             164 drivers/hid/hidraw.c 	ret = hidraw_send_report(file, buffer, count, HID_OUTPUT_REPORT);
count             177 drivers/hid/hidraw.c static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t count, unsigned char report_type)
count             199 drivers/hid/hidraw.c 	if (count > HID_MAX_BUFFER_SIZE) {
count             206 drivers/hid/hidraw.c 	if (count < 2) {
count             213 drivers/hid/hidraw.c 	buf = kmalloc(count, GFP_KERNEL);
count             228 drivers/hid/hidraw.c 	ret = hid_hw_raw_request(dev, report_number, buf, count, report_type,
count             234 drivers/hid/hidraw.c 	len = (ret < count) ? ret : count;
count             602 drivers/hid/i2c-hid/i2c-hid-core.c 		unsigned char report_number, __u8 *buf, size_t count,
count             614 drivers/hid/i2c-hid/i2c-hid-core.c 	ask_count = min(count + 2, (size_t)ihid->bufsize);
count             631 drivers/hid/i2c-hid/i2c-hid-core.c 	count = min(count, ret_count - 2);
count             632 drivers/hid/i2c-hid/i2c-hid-core.c 	memcpy(buf, ihid->rawbuf + 2, count);
count             634 drivers/hid/i2c-hid/i2c-hid-core.c 	return count;
count             638 drivers/hid/i2c-hid/i2c-hid-core.c 		size_t count, unsigned char report_type, bool use_data)
count             652 drivers/hid/i2c-hid/i2c-hid-core.c 		count--;
count             657 drivers/hid/i2c-hid/i2c-hid-core.c 				report_id, buf, count, use_data);
count             668 drivers/hid/i2c-hid/i2c-hid-core.c 		size_t count)
count             670 drivers/hid/i2c-hid/i2c-hid-core.c 	return i2c_hid_output_raw_report(hid, buf, count, HID_OUTPUT_REPORT,
count             213 drivers/hid/uhid.c 			       u8 *buf, size_t count, u8 rtype)
count             246 drivers/hid/uhid.c 		ret = min3(count, (size_t)req->size, (size_t)UHID_DATA_MAX);
count             256 drivers/hid/uhid.c 			       const u8 *buf, size_t count, u8 rtype)
count             262 drivers/hid/uhid.c 	if (!uhid->running || count > UHID_DATA_MAX)
count             272 drivers/hid/uhid.c 	ev->u.set_report.size = count;
count             273 drivers/hid/uhid.c 	memcpy(ev->u.set_report.data, buf, count);
count             289 drivers/hid/uhid.c 		ret = count;
count             326 drivers/hid/uhid.c static int uhid_hid_output_raw(struct hid_device *hid, __u8 *buf, size_t count,
count             345 drivers/hid/uhid.c 	if (count < 1 || count > UHID_DATA_MAX)
count             353 drivers/hid/uhid.c 	ev->u.output.size = count;
count             355 drivers/hid/uhid.c 	memcpy(ev->u.output.data, buf, count);
count             361 drivers/hid/uhid.c 	return count;
count             365 drivers/hid/uhid.c 				  size_t count)
count             367 drivers/hid/uhid.c 	return uhid_hid_output_raw(hid, buf, count, HID_OUTPUT_REPORT);
count             653 drivers/hid/uhid.c 				size_t count, loff_t *ppos)
count             661 drivers/hid/uhid.c 	if (count < sizeof(__u32))
count             683 drivers/hid/uhid.c 		len = min(count, sizeof(**uhid->outq));
count             701 drivers/hid/uhid.c 				size_t count, loff_t *ppos)
count             708 drivers/hid/uhid.c 	if (count < sizeof(__u32))
count             716 drivers/hid/uhid.c 	len = min(count, sizeof(uhid->input_buf));
count             763 drivers/hid/uhid.c 	return ret ? ret : count;
count             872 drivers/hid/usbhid/hid-core.c 		unsigned char report_number, __u8 *buf, size_t count,
count             888 drivers/hid/usbhid/hid-core.c 		count--;
count             895 drivers/hid/usbhid/hid-core.c 		interface->desc.bInterfaceNumber, buf, count,
count             906 drivers/hid/usbhid/hid-core.c 				 __u8 *buf, size_t count, unsigned char rtype)
count             924 drivers/hid/usbhid/hid-core.c 		count--;
count             932 drivers/hid/usbhid/hid-core.c 			interface->desc.bInterfaceNumber, buf, count,
count             941 drivers/hid/usbhid/hid-core.c static int usbhid_output_report(struct hid_device *hid, __u8 *buf, size_t count)
count             953 drivers/hid/usbhid/hid-core.c 		count--;
count             958 drivers/hid/usbhid/hid-core.c 				buf, count, &actual_length,
count             759 drivers/hid/usbhid/hid-pidff.c 			     struct hid_report *report, int count, int strict)
count             763 drivers/hid/usbhid/hid-pidff.c 	for (k = 0; k < count; k++) {
count             895 drivers/hid/usbhid/hid-pidff.c 				   const u8 *usagetable, int count)
count             901 drivers/hid/usbhid/hid-pidff.c 	for (i = 0; i < count; i++) {
count             311 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_write(struct file * file, const char __user * buffer, size_t count, loff_t *ppos)
count             319 drivers/hid/usbhid/hiddev.c static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos)
count             329 drivers/hid/usbhid/hiddev.c 	if (count < event_size)
count             375 drivers/hid/usbhid/hiddev.c 		       retval + event_size <= count) {
count             129 drivers/hid/wacom.h 	unsigned int count;
count             173 drivers/hid/wacom.h 		unsigned int count;
count            1037 drivers/hid/wacom_sys.c 				      const char *buf, size_t count)
count            1055 drivers/hid/wacom_sys.c 	return err < 0 ? err : count;
count            1060 drivers/hid/wacom_sys.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count            1062 drivers/hid/wacom_sys.c 	return wacom_led_select_store(dev, SET_ID, buf, count);		\
count            1080 drivers/hid/wacom_sys.c 				     const char *buf, size_t count)
count            1096 drivers/hid/wacom_sys.c 	return err < 0 ? err : count;
count            1101 drivers/hid/wacom_sys.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count            1107 drivers/hid/wacom_sys.c 				     buf, count);			\
count            1124 drivers/hid/wacom_sys.c 					const char *buf, size_t count)
count            1140 drivers/hid/wacom_sys.c 	if (count != len)
count            1149 drivers/hid/wacom_sys.c 	return err < 0 ? err : count;
count            1154 drivers/hid/wacom_sys.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count            1156 drivers/hid/wacom_sys.c 	return wacom_button_image_store(dev, BUTTON_ID, buf, count);	\
count            1394 drivers/hid/wacom_sys.c 						   int group_id, int count,
count            1400 drivers/hid/wacom_sys.c 	if (group_id >= wacom->led.count || count <= 0)
count            1406 drivers/hid/wacom_sys.c 	leds = devm_kcalloc(dev, count, sizeof(struct wacom_led), GFP_KERNEL);
count            1413 drivers/hid/wacom_sys.c 	wacom->led.groups[group_id].count = count;
count            1415 drivers/hid/wacom_sys.c 	for (i = 0; i < count; i++) {
count            1453 drivers/hid/wacom_sys.c 	if (group_id >= wacom->led.count)
count            1461 drivers/hid/wacom_sys.c 	id %= group->count;
count            1497 drivers/hid/wacom_sys.c 	wacom->led.count = 0;
count            1500 drivers/hid/wacom_sys.c static int wacom_led_groups_allocate(struct wacom *wacom, int count)
count            1506 drivers/hid/wacom_sys.c 	groups = devm_kcalloc(dev, count, sizeof(struct wacom_group_leds),
count            1516 drivers/hid/wacom_sys.c 	wacom->led.count = count;
count            1801 drivers/hid/wacom_sys.c 				const char *buf, size_t count)
count            1815 drivers/hid/wacom_sys.c 	return count;
count            1907 drivers/hid/wacom_sys.c 					 const char *buf, size_t count)
count            1928 drivers/hid/wacom_sys.c 	return err < 0 ? err : count;
count            2615 drivers/hid/wacom_sys.c 	unsigned int count;
count            2621 drivers/hid/wacom_sys.c 	count = kfifo_out(&remote->remote_fifo, &data, sizeof(data));
count            2623 drivers/hid/wacom_sys.c 	if (count != sizeof(data)) {
count            1232 drivers/hid/wacom_wac.c 	int count = 0;
count            1246 drivers/hid/wacom_wac.c 			count++;
count            1249 drivers/hid/wacom_wac.c 	return count;
count            2148 drivers/hid/wacom_wac.c 		for (i = 0; i < wacom->led.count; i++)
count            2740 drivers/hid/wacom_wac.c 		unsigned count, n;
count            2743 drivers/hid/wacom_wac.c 		count = field->report_count;
count            2748 drivers/hid/wacom_wac.c 		for (n = 0 ; n < count; n++) {
count            2939 drivers/hid/wacom_wac.c 	int count = data[1] & 0x07;
count            2946 drivers/hid/wacom_wac.c 	for (i = 0; i < count; i++) {
count            3939 drivers/hid/wacom_wac.c 	group_button = group * (button_count/wacom->led.count);
count            3995 drivers/hid/wacom_wac.c 	for (i = 0; i < wacom->led.count; i++)
count            1130 drivers/hsi/clients/cmt_speech.c static ssize_t cs_char_read(struct file *file, char __user *buf, size_t count,
count            1137 drivers/hsi/clients/cmt_speech.c 	if (count < sizeof(data))
count            1178 drivers/hsi/clients/cmt_speech.c 						size_t count, loff_t *unused)
count            1185 drivers/hsi/clients/cmt_speech.c 	if (count < sizeof(data))
count            1191 drivers/hsi/clients/cmt_speech.c 		retval = count;
count             593 drivers/hv/hv_balloon.c 	unsigned long pfn = start_pfn, count = 0;
count             609 drivers/hv/hv_balloon.c 					count++;
count             623 drivers/hv/hv_balloon.c 	return count;
count              28 drivers/hv/hv_utils_transport.c 			   size_t count, loff_t *ppos)
count              51 drivers/hv/hv_utils_transport.c 	if (count < hvt->outmsg_len) {
count              75 drivers/hv/hv_utils_transport.c 			    size_t count, loff_t *ppos)
count              83 drivers/hv/hv_utils_transport.c 	inmsg = memdup_user(buf, count);
count              90 drivers/hv/hv_utils_transport.c 		ret = hvt->on_msg(inmsg, count);
count              94 drivers/hv/hv_utils_transport.c 	return ret ? ret : count;
count             572 drivers/hv/vmbus_drv.c 				     const char *buf, size_t count)
count             578 drivers/hv/vmbus_drv.c 	if (count >= (PAGE_SIZE - 1))
count             581 drivers/hv/vmbus_drv.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
count             601 drivers/hv/vmbus_drv.c 	return count;
count             799 drivers/hv/vmbus_drv.c 			    size_t count)
count             815 drivers/hv/vmbus_drv.c 	return count;
count             825 drivers/hv/vmbus_drv.c 			       size_t count)
count             844 drivers/hv/vmbus_drv.c 			retval = count;
count            1529 drivers/hv/vmbus_drv.c 			 const char *buf, size_t count);
count             376 drivers/hwmon/abituguru.c 	u8 bank_addr, u8 sensor_addr, u8 *buf, int count, int retries)
count             386 drivers/hwmon/abituguru.c 	for (i = 0; i < count; i++) {
count             408 drivers/hwmon/abituguru.c 	u8 bank_addr, u8 sensor_addr, u8 *buf, int count)
count             423 drivers/hwmon/abituguru.c 	for (i = 0; i < count; i++) {
count             830 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
count             841 drivers/hwmon/abituguru.c 	ret = count;
count             863 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
count             874 drivers/hwmon/abituguru.c 	ret = count;
count             954 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, const char *buf, size_t count)
count             966 drivers/hwmon/abituguru.c 	ret = count;
count             987 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, const char *buf, size_t count)
count             999 drivers/hwmon/abituguru.c 	ret = count;
count            1030 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
count            1042 drivers/hwmon/abituguru.c 	ret = count;
count            1098 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
count            1115 drivers/hwmon/abituguru.c 	ret = count;
count            1144 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
count            1156 drivers/hwmon/abituguru.c 	ret = count;
count             738 drivers/hwmon/abituguru3.c 	u8 count, u8 *buf)
count             773 drivers/hwmon/abituguru3.c 	outb(count, data->addr + ABIT_UGURU3_CMD);
count             782 drivers/hwmon/abituguru3.c 	for (i = 0; i < count; i++) {
count             800 drivers/hwmon/abituguru3.c 					    u8 bank, u8 offset, u8 count,
count             806 drivers/hwmon/abituguru3.c 		x = abituguru3_read(data, bank, offset + i, count,
count             807 drivers/hwmon/abituguru3.c 				    buf + i * count);
count             808 drivers/hwmon/abituguru3.c 		if (x != count) {
count             811 drivers/hwmon/abituguru3.c 			return i * count + x;
count             815 drivers/hwmon/abituguru3.c 	return i * count;
count             157 drivers/hwmon/abx500.c 			 const char *buf, size_t count)
count             173 drivers/hwmon/abx500.c 	return count;
count             177 drivers/hwmon/abx500.c 			 const char *buf, size_t count)
count             193 drivers/hwmon/abx500.c 	return count;
count             198 drivers/hwmon/abx500.c 			      const char *buf, size_t count)
count             214 drivers/hwmon/abx500.c 	return count;
count             104 drivers/hwmon/acpi_power_meter.c 		       const char *buf, size_t count);
count             141 drivers/hwmon/acpi_power_meter.c 				const char *buf, size_t count)
count             177 drivers/hwmon/acpi_power_meter.c 	return count;
count             212 drivers/hwmon/acpi_power_meter.c 		       const char *buf, size_t count)
count             248 drivers/hwmon/acpi_power_meter.c 	return count;
count             285 drivers/hwmon/acpi_power_meter.c 			const char *buf, size_t count)
count             307 drivers/hwmon/acpi_power_meter.c 	return count;
count             562 drivers/hwmon/acpi_power_meter.c 	if (!pss->package.count)
count             565 drivers/hwmon/acpi_power_meter.c 	resource->domain_devices = kcalloc(pss->package.count,
count             580 drivers/hwmon/acpi_power_meter.c 	resource->num_domain_devices = pss->package.count;
count             582 drivers/hwmon/acpi_power_meter.c 	for (i = 0; i < pss->package.count; i++) {
count             750 drivers/hwmon/acpi_power_meter.c 	    pss->package.count != 14) {
count             124 drivers/hwmon/ad7414.c 			     size_t count)
count             143 drivers/hwmon/ad7414.c 	return count;
count             158 drivers/hwmon/ad7418.c 			  size_t count)
count             175 drivers/hwmon/ad7418.c 	return count;
count             164 drivers/hwmon/adc128d818.c 			       size_t count)
count             185 drivers/hwmon/adc128d818.c 	return count;
count             204 drivers/hwmon/adc128d818.c 				 const char *buf, size_t count)
count             225 drivers/hwmon/adc128d818.c 	return count;
count             110 drivers/hwmon/adcxx.c 			       const char *buf, size_t count)
count             126 drivers/hwmon/adcxx.c 	return count;
count             191 drivers/hwmon/adm1021.c 			      const char *buf, size_t count)
count             212 drivers/hwmon/adm1021.c 	return count;
count             217 drivers/hwmon/adm1021.c 			      const char *buf, size_t count)
count             238 drivers/hwmon/adm1021.c 	return count;
count             250 drivers/hwmon/adm1021.c 			       const char *buf, size_t count)
count             273 drivers/hwmon/adm1021.c 	return count;
count             215 drivers/hwmon/adm1025.c 			    const char *buf, size_t count)
count             232 drivers/hwmon/adm1025.c 	return count;
count             236 drivers/hwmon/adm1025.c 			    const char *buf, size_t count)
count             253 drivers/hwmon/adm1025.c 	return count;
count             277 drivers/hwmon/adm1025.c 			      size_t count)
count             294 drivers/hwmon/adm1025.c 	return count;
count             299 drivers/hwmon/adm1025.c 			      size_t count)
count             316 drivers/hwmon/adm1025.c 	return count;
count             366 drivers/hwmon/adm1025.c 			 const char *buf, size_t count)
count             380 drivers/hwmon/adm1025.c 	return count;
count             484 drivers/hwmon/adm1026.c 			    const char *buf, size_t count)
count             501 drivers/hwmon/adm1026.c 	return count;
count             512 drivers/hwmon/adm1026.c 			    const char *buf, size_t count)
count             529 drivers/hwmon/adm1026.c 	return count;
count             597 drivers/hwmon/adm1026.c 			      size_t count)
count             615 drivers/hwmon/adm1026.c 	return count;
count             626 drivers/hwmon/adm1026.c 			      size_t count)
count             644 drivers/hwmon/adm1026.c 	return count;
count             673 drivers/hwmon/adm1026.c 			     size_t count)
count             691 drivers/hwmon/adm1026.c 	return count;
count             740 drivers/hwmon/adm1026.c 			     size_t count)
count             778 drivers/hwmon/adm1026.c 	return count;
count             809 drivers/hwmon/adm1026.c 			      size_t count)
count             827 drivers/hwmon/adm1026.c 	return count;
count             839 drivers/hwmon/adm1026.c 			      size_t count)
count             857 drivers/hwmon/adm1026.c 	return count;
count             880 drivers/hwmon/adm1026.c 				 const char *buf, size_t count)
count             898 drivers/hwmon/adm1026.c 	return count;
count             936 drivers/hwmon/adm1026.c 					   const char *buf, size_t count)
count             954 drivers/hwmon/adm1026.c 	return count;
count             977 drivers/hwmon/adm1026.c 		struct device_attribute *attr, const char *buf, size_t count)
count             996 drivers/hwmon/adm1026.c 	return count;
count            1016 drivers/hwmon/adm1026.c 			       size_t count)
count            1034 drivers/hwmon/adm1026.c 	return count;
count            1049 drivers/hwmon/adm1026.c 				const char *buf, size_t count)
count            1064 drivers/hwmon/adm1026.c 	return count;
count            1089 drivers/hwmon/adm1026.c 			 const char *buf, size_t count)
count            1103 drivers/hwmon/adm1026.c 	return count;
count            1162 drivers/hwmon/adm1026.c 				const char *buf, size_t count)
count            1190 drivers/hwmon/adm1026.c 	return count;
count            1202 drivers/hwmon/adm1026.c 			  const char *buf, size_t count)
count            1223 drivers/hwmon/adm1026.c 	return count;
count            1237 drivers/hwmon/adm1026.c 			       size_t count)
count            1258 drivers/hwmon/adm1026.c 	return count;
count            1271 drivers/hwmon/adm1026.c 			  const char *buf, size_t count)
count            1289 drivers/hwmon/adm1026.c 	return count;
count            1302 drivers/hwmon/adm1026.c 					   const char *buf, size_t count)
count            1321 drivers/hwmon/adm1026.c 	return count;
count            1340 drivers/hwmon/adm1026.c 				 const char *buf, size_t count)
count            1372 drivers/hwmon/adm1026.c 	return count;
count             198 drivers/hwmon/adm1029.c 			     const char *buf, size_t count)
count             244 drivers/hwmon/adm1029.c 	return count;
count             331 drivers/hwmon/adm1031.c 		       const char *buf, size_t count)
count             379 drivers/hwmon/adm1031.c 	return count;
count             404 drivers/hwmon/adm1031.c 		    const char *buf, size_t count)
count             422 drivers/hwmon/adm1031.c 	return count;
count             434 drivers/hwmon/adm1031.c 		    const char *buf, size_t count)
count             453 drivers/hwmon/adm1031.c 	return count;
count             475 drivers/hwmon/adm1031.c 			 const char *buf, size_t count)
count             500 drivers/hwmon/adm1031.c 	return count;
count             586 drivers/hwmon/adm1031.c 			     size_t count)
count             607 drivers/hwmon/adm1031.c 	return count;
count             611 drivers/hwmon/adm1031.c 			     size_t count)
count             655 drivers/hwmon/adm1031.c 	return count;
count             708 drivers/hwmon/adm1031.c 				 const char *buf, size_t count)
count             726 drivers/hwmon/adm1031.c 	return count;
count             730 drivers/hwmon/adm1031.c 			      size_t count)
count             748 drivers/hwmon/adm1031.c 	return count;
count             752 drivers/hwmon/adm1031.c 			      size_t count)
count             770 drivers/hwmon/adm1031.c 	return count;
count             774 drivers/hwmon/adm1031.c 			       size_t count)
count             792 drivers/hwmon/adm1031.c 	return count;
count             860 drivers/hwmon/adm1031.c 				     const char *buf, size_t count)
count             892 drivers/hwmon/adm1031.c 	return count;
count             268 drivers/hwmon/adm9240.c 			 const char *buf, size_t count)
count             285 drivers/hwmon/adm9240.c 	return count;
count             322 drivers/hwmon/adm9240.c 			    size_t count)
count             339 drivers/hwmon/adm9240.c 	return count;
count             344 drivers/hwmon/adm9240.c 			    size_t count)
count             361 drivers/hwmon/adm9240.c 	return count;
count             423 drivers/hwmon/adm9240.c 			     const char *buf, size_t count)
count             478 drivers/hwmon/adm9240.c 	return count;
count             533 drivers/hwmon/adm9240.c 				 const char *buf, size_t count)
count             548 drivers/hwmon/adm9240.c 	return count;
count             553 drivers/hwmon/adm9240.c 			   const char *buf, size_t count)
count             568 drivers/hwmon/adm9240.c 	return count;
count             177 drivers/hwmon/adt7411.c 			       size_t count)
count             196 drivers/hwmon/adt7411.c 	return ret < 0 ? ret : count;
count             792 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count             811 drivers/hwmon/adt7462.c 	return count;
count             828 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count             847 drivers/hwmon/adt7462.c 	return count;
count             888 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count             910 drivers/hwmon/adt7462.c 	return count;
count             928 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count             950 drivers/hwmon/adt7462.c 	return count;
count            1014 drivers/hwmon/adt7462.c 			     const char *buf, size_t count)
count            1035 drivers/hwmon/adt7462.c 	return count;
count            1061 drivers/hwmon/adt7462.c 				   const char *buf, size_t count)
count            1081 drivers/hwmon/adt7462.c 	return count;
count            1093 drivers/hwmon/adt7462.c 			 const char *buf, size_t count)
count            1110 drivers/hwmon/adt7462.c 	return count;
count            1122 drivers/hwmon/adt7462.c 			     const char *buf, size_t count)
count            1138 drivers/hwmon/adt7462.c 	return count;
count            1151 drivers/hwmon/adt7462.c 			     const char *buf, size_t count)
count            1169 drivers/hwmon/adt7462.c 	return count;
count            1183 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count            1206 drivers/hwmon/adt7462.c 	return count;
count            1225 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count            1252 drivers/hwmon/adt7462.c 	return count;
count            1265 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count            1284 drivers/hwmon/adt7462.c 	return count;
count            1320 drivers/hwmon/adt7462.c 			      const char *buf, size_t count)
count            1333 drivers/hwmon/adt7462.c 		return count;
count            1336 drivers/hwmon/adt7462.c 		return count;
count            1377 drivers/hwmon/adt7462.c 				   const char *buf, size_t count)
count            1393 drivers/hwmon/adt7462.c 	return count;
count             403 drivers/hwmon/adt7470.c 					  const char *buf, size_t count)
count             417 drivers/hwmon/adt7470.c 	return count;
count             430 drivers/hwmon/adt7470.c 				      const char *buf, size_t count)
count             446 drivers/hwmon/adt7470.c 	return count;
count             459 drivers/hwmon/adt7470.c 			      const char *buf, size_t count)
count             478 drivers/hwmon/adt7470.c 	return count;
count             491 drivers/hwmon/adt7470.c 			      const char *buf, size_t count)
count             510 drivers/hwmon/adt7470.c 	return count;
count             532 drivers/hwmon/adt7470.c 				const char *buf, size_t count)
count             548 drivers/hwmon/adt7470.c 	return count;
count             566 drivers/hwmon/adt7470.c 			     const char *buf, size_t count)
count             584 drivers/hwmon/adt7470.c 	return count;
count             602 drivers/hwmon/adt7470.c 			     const char *buf, size_t count)
count             620 drivers/hwmon/adt7470.c 	return count;
count             645 drivers/hwmon/adt7470.c 				   const char *buf, size_t count)
count             665 drivers/hwmon/adt7470.c 	return count;
count             677 drivers/hwmon/adt7470.c 			 const char *buf, size_t count)
count             694 drivers/hwmon/adt7470.c 	return count;
count             726 drivers/hwmon/adt7470.c 			       const char *buf, size_t count)
count             758 drivers/hwmon/adt7470.c 	return count;
count             771 drivers/hwmon/adt7470.c 			     const char *buf, size_t count)
count             789 drivers/hwmon/adt7470.c 	return count;
count             802 drivers/hwmon/adt7470.c 			     const char *buf, size_t count)
count             820 drivers/hwmon/adt7470.c 	return count;
count             842 drivers/hwmon/adt7470.c 			      const char *buf, size_t count)
count             861 drivers/hwmon/adt7470.c 	return count;
count             874 drivers/hwmon/adt7470.c 			      const char *buf, size_t count)
count             906 drivers/hwmon/adt7470.c 	return count;
count             933 drivers/hwmon/adt7470.c 				   const char *buf, size_t count)
count             964 drivers/hwmon/adt7470.c 	return count;
count             347 drivers/hwmon/adt7475.c 			     size_t count)
count             380 drivers/hwmon/adt7475.c 	return count;
count             442 drivers/hwmon/adt7475.c 			  const char *buf, size_t count)
count             535 drivers/hwmon/adt7475.c 	return count;
count             571 drivers/hwmon/adt7475.c 			     size_t count)
count             617 drivers/hwmon/adt7475.c 	return count;
count             649 drivers/hwmon/adt7475.c 			    const char *buf, size_t count)
count             688 drivers/hwmon/adt7475.c 	return count;
count             710 drivers/hwmon/adt7475.c 			  const char *buf, size_t count)
count             729 drivers/hwmon/adt7475.c 	return count;
count             769 drivers/hwmon/adt7475.c 			 const char *buf, size_t count)
count             795 drivers/hwmon/adt7475.c 			return count;
count             815 drivers/hwmon/adt7475.c 	return count;
count             831 drivers/hwmon/adt7475.c 				   const char *buf, size_t count)
count             853 drivers/hwmon/adt7475.c 	return count;
count             915 drivers/hwmon/adt7475.c 			     size_t count)
count             931 drivers/hwmon/adt7475.c 		count = r;
count             934 drivers/hwmon/adt7475.c 	return count;
count             939 drivers/hwmon/adt7475.c 			     size_t count)
count             955 drivers/hwmon/adt7475.c 		count = r;
count             958 drivers/hwmon/adt7475.c 	return count;
count             983 drivers/hwmon/adt7475.c 			     size_t count)
count            1007 drivers/hwmon/adt7475.c 	return count;
count            1024 drivers/hwmon/adt7475.c 					const char *buf, size_t count)
count            1044 drivers/hwmon/adt7475.c 	return count;
count            1055 drivers/hwmon/adt7475.c 			 const char *buf, size_t count)
count            1066 drivers/hwmon/adt7475.c 	return count;
count             241 drivers/hwmon/adt7x10.c 				  const char *buf, size_t count)
count             257 drivers/hwmon/adt7x10.c 		count = ret;
count             259 drivers/hwmon/adt7x10.c 	return count;
count             284 drivers/hwmon/adt7x10.c 				    const char *buf, size_t count)
count             302 drivers/hwmon/adt7x10.c 	return count;
count             277 drivers/hwmon/amc6821.c 			  const char *buf, size_t count)
count             293 drivers/hwmon/amc6821.c 		count = -EIO;
count             296 drivers/hwmon/amc6821.c 	return count;
count             354 drivers/hwmon/amc6821.c 			  size_t count)
count             367 drivers/hwmon/amc6821.c 	return count;
count             379 drivers/hwmon/amc6821.c 				 const char *buf, size_t count)
count             393 drivers/hwmon/amc6821.c 			count = config;
count             411 drivers/hwmon/amc6821.c 		count = -EINVAL;
count             417 drivers/hwmon/amc6821.c 			count = -EIO;
count             421 drivers/hwmon/amc6821.c 	return count;
count             485 drivers/hwmon/amc6821.c 					  const char *buf, size_t count)
count             529 drivers/hwmon/amc6821.c 				count = -EIO;
count             542 drivers/hwmon/amc6821.c 		count = -EINVAL;
count             547 drivers/hwmon/amc6821.c 		count = -EIO;
count             551 drivers/hwmon/amc6821.c 	return count;
count             556 drivers/hwmon/amc6821.c 					 const char *buf, size_t count)
count             571 drivers/hwmon/amc6821.c 		count = -EIO;
count             577 drivers/hwmon/amc6821.c 		count = -EIO;
count             582 drivers/hwmon/amc6821.c 		count = -EIO;
count             589 drivers/hwmon/amc6821.c 	return count;
count             613 drivers/hwmon/amc6821.c 			 const char *buf, size_t count)
count             629 drivers/hwmon/amc6821.c 		count = -EIO;
count             635 drivers/hwmon/amc6821.c 		count = -EIO;
count             639 drivers/hwmon/amc6821.c 	return count;
count             651 drivers/hwmon/amc6821.c 			      size_t count)
count             665 drivers/hwmon/amc6821.c 		count = config;
count             678 drivers/hwmon/amc6821.c 		count = -EINVAL;
count             684 drivers/hwmon/amc6821.c 		count = -EIO;
count             688 drivers/hwmon/amc6821.c 	return count;
count             281 drivers/hwmon/applesmc.c static int read_register_count(unsigned int *count)
count             290 drivers/hwmon/applesmc.c 	*count = be32_to_cpu(be);
count             529 drivers/hwmon/applesmc.c 	unsigned int count;
count             536 drivers/hwmon/applesmc.c 	ret = read_register_count(&count);
count             540 drivers/hwmon/applesmc.c 	if (s->cache && s->key_count != count) {
count             542 drivers/hwmon/applesmc.c 			s->key_count, count);
count             546 drivers/hwmon/applesmc.c 	s->key_count = count;
count             818 drivers/hwmon/applesmc.c 					const char *sysfsbuf, size_t count)
count             838 drivers/hwmon/applesmc.c 		return count;
count             859 drivers/hwmon/applesmc.c 					 const char *sysfsbuf, size_t count)
count             888 drivers/hwmon/applesmc.c 		return count;
count             916 drivers/hwmon/applesmc.c 	struct device_attribute *attr, const char *sysfsbuf, size_t count)
count             920 drivers/hwmon/applesmc.c 	return count;
count             946 drivers/hwmon/applesmc.c 	u32 count;
count             949 drivers/hwmon/applesmc.c 	count = ((u32)buffer[0]<<24) + ((u32)buffer[1]<<16) +
count             955 drivers/hwmon/applesmc.c 		return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", count);
count            1017 drivers/hwmon/applesmc.c 	struct device_attribute *attr, const char *sysfsbuf, size_t count)
count            1026 drivers/hwmon/applesmc.c 	return count;
count             250 drivers/hwmon/asb100.c 		const char *buf, size_t count) \
count             264 drivers/hwmon/asb100.c 	return count; \
count             314 drivers/hwmon/asb100.c 		const char *buf, size_t count)
count             330 drivers/hwmon/asb100.c 	return count;
count             340 drivers/hwmon/asb100.c 		const char *buf, size_t count)
count             386 drivers/hwmon/asb100.c 	return count;
count             432 drivers/hwmon/asb100.c 		const char *buf, size_t count) \
count             453 drivers/hwmon/asb100.c 	return count; \
count             491 drivers/hwmon/asb100.c 			 const char *buf, size_t count)
count             505 drivers/hwmon/asb100.c 	return count;
count             548 drivers/hwmon/asb100.c 			  const char *buf, size_t count)
count             564 drivers/hwmon/asb100.c 	return count;
count             576 drivers/hwmon/asb100.c 				 const char *buf, size_t count)
count             592 drivers/hwmon/asb100.c 	return count;
count             173 drivers/hwmon/asc7621.c 			const char *buf, size_t count)
count             187 drivers/hwmon/asc7621.c 	return count;
count             205 drivers/hwmon/asc7621.c 			     const char *buf, size_t count)
count             224 drivers/hwmon/asc7621.c 	return count;
count             250 drivers/hwmon/asc7621.c 			   size_t count)
count             273 drivers/hwmon/asc7621.c 	return count;
count             324 drivers/hwmon/asc7621.c 			 const char *buf, size_t count)
count             344 drivers/hwmon/asc7621.c 	return count;
count             357 drivers/hwmon/asc7621.c 			   size_t count)
count             374 drivers/hwmon/asc7621.c 	return count;
count             413 drivers/hwmon/asc7621.c 			    size_t count)
count             432 drivers/hwmon/asc7621.c 	return count;
count             467 drivers/hwmon/asc7621.c 			      const char *buf, size_t count)
count             494 drivers/hwmon/asc7621.c 	return count;
count             518 drivers/hwmon/asc7621.c 			    const char *buf, size_t count)
count             553 drivers/hwmon/asc7621.c 	return count;
count             586 drivers/hwmon/asc7621.c 				const char *buf, size_t count)
count             637 drivers/hwmon/asc7621.c 	return count;
count             659 drivers/hwmon/asc7621.c 			      const char *buf, size_t count)
count             686 drivers/hwmon/asc7621.c 	return count;
count             708 drivers/hwmon/asc7621.c 			     const char *buf, size_t count)
count             735 drivers/hwmon/asc7621.c 	return count;
count             755 drivers/hwmon/asc7621.c 			     const char *buf, size_t count)
count             783 drivers/hwmon/asc7621.c 	return count;
count             571 drivers/hwmon/aspeed-pwm-tacho.c 			 const char *buf, size_t count)
count             587 drivers/hwmon/aspeed-pwm-tacho.c 		return count;
count             592 drivers/hwmon/aspeed-pwm-tacho.c 	return count;
count             743 drivers/hwmon/aspeed-pwm-tacho.c 					   int count,
count             748 drivers/hwmon/aspeed-pwm-tacho.c 	for (val = 0; val < count; val++) {
count             849 drivers/hwmon/aspeed-pwm-tacho.c 	int ret, count;
count             865 drivers/hwmon/aspeed-pwm-tacho.c 	count = of_property_count_u8_elems(child, "aspeed,fan-tach-ch");
count             866 drivers/hwmon/aspeed-pwm-tacho.c 	if (count < 1)
count             868 drivers/hwmon/aspeed-pwm-tacho.c 	fan_tach_ch = devm_kcalloc(dev, count, sizeof(*fan_tach_ch),
count             873 drivers/hwmon/aspeed-pwm-tacho.c 					fan_tach_ch, count);
count             876 drivers/hwmon/aspeed-pwm-tacho.c 	aspeed_create_fan_tach_channel(priv, fan_tach_ch, count, pwm_port);
count             340 drivers/hwmon/asus_atk0110.c 	if (obj->package.count != expected_size) {
count             342 drivers/hwmon/asus_atk0110.c 				obj->package.count, expected_size);
count             474 drivers/hwmon/asus_atk0110.c 	params.count = 1;
count             498 drivers/hwmon/asus_atk0110.c 	params.count = 1;
count             515 drivers/hwmon/asus_atk0110.c 	if (pack->package.count < 1) {
count             541 drivers/hwmon/asus_atk0110.c 	params.count = 1;
count             578 drivers/hwmon/asus_atk0110.c 	params.count = 1;
count             708 drivers/hwmon/asus_atk0110.c 	for (i = 0; i < pack->package.count; i++) {
count             737 drivers/hwmon/asus_atk0110.c 	for (i = 0; i < ret->package.count; i++) {
count             743 drivers/hwmon/asus_atk0110.c 		if (!pack->package.count)
count             768 drivers/hwmon/asus_atk0110.c 		size_t count, loff_t *pos)
count             773 drivers/hwmon/asus_atk0110.c 	return simple_read_from_buffer(buf, count, pos, str, len);
count             945 drivers/hwmon/asus_atk0110.c 	int count = 0;
count             959 drivers/hwmon/asus_atk0110.c 	for (i = 1; i < pack->package.count; i++) {
count             964 drivers/hwmon/asus_atk0110.c 			count++;
count             980 drivers/hwmon/asus_atk0110.c 	for (i = 1; i < pack->package.count; i++) {
count             985 drivers/hwmon/asus_atk0110.c 			count++;
count            1001 drivers/hwmon/asus_atk0110.c 	for (i = 1; i < pack->package.count; i++) {
count            1006 drivers/hwmon/asus_atk0110.c 			count++;
count            1010 drivers/hwmon/asus_atk0110.c 	return count;
count            1033 drivers/hwmon/asus_atk0110.c 	for (i = 0; i < pack->package.count; i++) {
count            1148 drivers/hwmon/asus_atk0110.c 	for (i = 0; i < pack->package.count; i++) {
count            1299 drivers/hwmon/asus_atk0110.c 		if (obj->package.count >= 2) {
count              91 drivers/hwmon/atxp1.c 			      size_t count)
count             124 drivers/hwmon/atxp1.c 		return count;
count             141 drivers/hwmon/atxp1.c 	return count;
count             165 drivers/hwmon/atxp1.c 			   const char *buf, size_t count)
count             186 drivers/hwmon/atxp1.c 	return count;
count             210 drivers/hwmon/atxp1.c 			   const char *buf, size_t count)
count             230 drivers/hwmon/atxp1.c 	return count;
count             711 drivers/hwmon/dell-smm-hwmon.c 				   const char *buf, size_t count)
count             726 drivers/hwmon/dell-smm-hwmon.c 	return err < 0 ? -EIO : count;
count             831 drivers/hwmon/dme1737.c 		      const char *buf, size_t count)
count             862 drivers/hwmon/dme1737.c 	return count;
count             915 drivers/hwmon/dme1737.c 			const char *buf, size_t count)
count             951 drivers/hwmon/dme1737.c 	return count;
count            1007 drivers/hwmon/dme1737.c 			const char *buf, size_t count)
count            1066 drivers/hwmon/dme1737.c 	return count;
count            1121 drivers/hwmon/dme1737.c 		       const char *buf, size_t count)
count            1162 drivers/hwmon/dme1737.c 			count = -EINVAL;
count            1179 drivers/hwmon/dme1737.c 	return count;
count            1260 drivers/hwmon/dme1737.c 		       const char *buf, size_t count)
count            1289 drivers/hwmon/dme1737.c 			count = -EINVAL;
count            1394 drivers/hwmon/dme1737.c 			count = -EINVAL;
count            1455 drivers/hwmon/dme1737.c 	return count;
count            1472 drivers/hwmon/dme1737.c 			 const char *buf, size_t count)
count            1486 drivers/hwmon/dme1737.c 	return count;
count             234 drivers/hwmon/ds1621.c 			  const char *buf, size_t count)
count             250 drivers/hwmon/ds1621.c 	return count;
count             277 drivers/hwmon/ds1621.c 				     const char *buf, size_t count)
count             303 drivers/hwmon/ds1621.c 	return count;
count             142 drivers/hwmon/ds620.c 			  const char *buf, size_t count)
count             163 drivers/hwmon/ds620.c 	return count;
count              64 drivers/hwmon/emc1403.c 			  const char *buf, size_t count)
count              77 drivers/hwmon/emc1403.c 	return count;
count              81 drivers/hwmon/emc1403.c 			 const char *buf, size_t count)
count              95 drivers/hwmon/emc1403.c 	return count;
count             133 drivers/hwmon/emc1403.c 			  const char *buf, size_t count)
count             155 drivers/hwmon/emc1403.c 		retval = count;
count             232 drivers/hwmon/emc2103.c 			      const char *buf, size_t count)
count             250 drivers/hwmon/emc2103.c 	return count;
count             254 drivers/hwmon/emc2103.c 			      const char *buf, size_t count)
count             272 drivers/hwmon/emc2103.c 	return count;
count             300 drivers/hwmon/emc2103.c 			      const char *buf, size_t count)
count             312 drivers/hwmon/emc2103.c 		return count;
count             357 drivers/hwmon/emc2103.c 	return count;
count             376 drivers/hwmon/emc2103.c 				 size_t count)
count             401 drivers/hwmon/emc2103.c 	return count;
count             421 drivers/hwmon/emc2103.c 				 size_t count)
count             441 drivers/hwmon/emc2103.c 		count = -EINVAL;
count             447 drivers/hwmon/emc2103.c 		count = result;
count             459 drivers/hwmon/emc2103.c 	return count;
count             191 drivers/hwmon/emc6w201.c 			const char *buf, size_t count)
count             215 drivers/hwmon/emc6w201.c 	return err < 0 ? err : count;
count             230 drivers/hwmon/emc6w201.c 			  size_t count)
count             254 drivers/hwmon/emc6w201.c 	return err < 0 ? err : count;
count             274 drivers/hwmon/emc6w201.c 			 const char *buf, size_t count)
count             300 drivers/hwmon/emc6w201.c 	return err < 0 ? err : count;
count             450 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
count             467 drivers/hwmon/f71805f.c 	return count;
count             471 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
count             488 drivers/hwmon/f71805f.c 	return count;
count             522 drivers/hwmon/f71805f.c 			  *devattr, const char *buf, size_t count)
count             539 drivers/hwmon/f71805f.c 	return count;
count             543 drivers/hwmon/f71805f.c 			  *devattr, const char *buf, size_t count)
count             560 drivers/hwmon/f71805f.c 	return count;
count             594 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
count             611 drivers/hwmon/f71805f.c 	return count;
count             615 drivers/hwmon/f71805f.c 			      *devattr, const char *buf, size_t count)
count             633 drivers/hwmon/f71805f.c 	return count;
count             689 drivers/hwmon/f71805f.c 		       const char *buf, size_t count)
count             709 drivers/hwmon/f71805f.c 	return count;
count             715 drivers/hwmon/f71805f.c 			      *devattr, const char *buf, size_t count)
count             761 drivers/hwmon/f71805f.c 	return count;
count             765 drivers/hwmon/f71805f.c 			    *devattr, const char *buf, size_t count)
count             782 drivers/hwmon/f71805f.c 	return count;
count             800 drivers/hwmon/f71805f.c 				       const char *buf, size_t count)
count             819 drivers/hwmon/f71805f.c 	return count;
count             837 drivers/hwmon/f71805f.c 				      const char *buf, size_t count)
count             856 drivers/hwmon/f71805f.c 	return count;
count             901 drivers/hwmon/f71805f.c 			    *devattr, const char *buf, size_t count)
count             918 drivers/hwmon/f71805f.c 	return count;
count             922 drivers/hwmon/f71805f.c 			     *devattr, const char *buf, size_t count)
count             939 drivers/hwmon/f71805f.c 	return count;
count             299 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             303 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             312 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             316 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             325 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             329 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             333 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             341 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
count             350 drivers/hwmon/f71882fg.c 	const char *buf, size_t count);
count             354 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             358 drivers/hwmon/f71882fg.c 	struct device_attribute	*devattr, const char *buf, size_t count);
count             362 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             366 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             370 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             374 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count             378 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
count            1395 drivers/hwmon/f71882fg.c 				    const char *buf, size_t count)
count            1413 drivers/hwmon/f71882fg.c 	return count;
count            1429 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1449 drivers/hwmon/f71882fg.c 	return count;
count            1482 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1503 drivers/hwmon/f71882fg.c 	return count;
count            1519 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1546 drivers/hwmon/f71882fg.c 	return count;
count            1596 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1614 drivers/hwmon/f71882fg.c 	return count;
count            1636 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1640 drivers/hwmon/f71882fg.c 	ssize_t ret = count;
count            1680 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1698 drivers/hwmon/f71882fg.c 	return count;
count            1741 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
count            1761 drivers/hwmon/f71882fg.c 	return count;
count            1808 drivers/hwmon/f71882fg.c 			 size_t count)
count            1824 drivers/hwmon/f71882fg.c 		count = -EROFS;
count            1844 drivers/hwmon/f71882fg.c 	return count;
count            1859 drivers/hwmon/f71882fg.c 				const char *buf, size_t count)
count            1876 drivers/hwmon/f71882fg.c 	return count;
count            1906 drivers/hwmon/f71882fg.c 				*devattr, const char *buf, size_t count)
count            1932 drivers/hwmon/f71882fg.c 			count = -EINVAL;
count            1941 drivers/hwmon/f71882fg.c 				count = -EINVAL;
count            1950 drivers/hwmon/f71882fg.c 			count = -EINVAL;
count            1958 drivers/hwmon/f71882fg.c 	return count;
count            1985 drivers/hwmon/f71882fg.c 					const char *buf, size_t count)
count            2013 drivers/hwmon/f71882fg.c 	return count;
count            2038 drivers/hwmon/f71882fg.c 					      const char *buf, size_t count)
count            2069 drivers/hwmon/f71882fg.c 	return count;
count            2086 drivers/hwmon/f71882fg.c 				     const char *buf, size_t count)
count            2107 drivers/hwmon/f71882fg.c 	return count;
count            2126 drivers/hwmon/f71882fg.c 					    const char *buf, size_t count)
count            2158 drivers/hwmon/f71882fg.c 	return count;
count            2176 drivers/hwmon/f71882fg.c 					 const char *buf, size_t count)
count            2199 drivers/hwmon/f71882fg.c 	return count;
count            2210 drivers/hwmon/f71882fg.c 	struct sensor_device_attribute_2 *attr, int count)
count            2214 drivers/hwmon/f71882fg.c 	for (i = 0; i < count; i++) {
count            2223 drivers/hwmon/f71882fg.c 	struct sensor_device_attribute_2 *attr, int count)
count            2227 drivers/hwmon/f71882fg.c 	for (i = 0; i < count; i++)
count             286 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             302 drivers/hwmon/f75375s.c 	return count;
count             306 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             327 drivers/hwmon/f75375s.c 	return count;
count             331 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             351 drivers/hwmon/f75375s.c 	return count;
count             427 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             442 drivers/hwmon/f75375s.c 	return err ? err : count;
count             446 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             486 drivers/hwmon/f75375s.c 	return count;
count             533 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             550 drivers/hwmon/f75375s.c 	return count;
count             554 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             571 drivers/hwmon/f75375s.c 	return count;
count             602 drivers/hwmon/f75375s.c 		const char *buf, size_t count)
count             619 drivers/hwmon/f75375s.c 	return count;
count             623 drivers/hwmon/f75375s.c 	struct device_attribute *attr, const char *buf, size_t count)
count             641 drivers/hwmon/f75375s.c 	return count;
count             270 drivers/hwmon/fam15h_power.c 					     const char *buf, size_t count)
count             289 drivers/hwmon/fam15h_power.c 	return count;
count             359 drivers/hwmon/fschmd.c 			      const char *buf, size_t count)
count             378 drivers/hwmon/fschmd.c 	return count;
count             431 drivers/hwmon/fschmd.c 			     const char *buf, size_t count)
count             477 drivers/hwmon/fschmd.c 	return count;
count             522 drivers/hwmon/fschmd.c 					 const char *buf, size_t count)
count             547 drivers/hwmon/fschmd.c 	return count;
count             567 drivers/hwmon/fschmd.c 	struct device_attribute *devattr, const char *buf, size_t count)
count             593 drivers/hwmon/fschmd.c 	return count;
count             853 drivers/hwmon/fschmd.c 	size_t count, loff_t *offset)
count             858 drivers/hwmon/fschmd.c 	if (count) {
count             865 drivers/hwmon/fschmd.c 			for (i = 0; i != count; i++) {
count             877 drivers/hwmon/fschmd.c 	return count;
count             404 drivers/hwmon/ftsteutates.c 		 const char *buf, size_t count)
count             428 drivers/hwmon/ftsteutates.c 	ret = count;
count             478 drivers/hwmon/ftsteutates.c 		const char *buf, size_t count)
count             502 drivers/hwmon/ftsteutates.c 	ret = count;
count             139 drivers/hwmon/g760a.c 			  const char *buf, size_t count)
count             153 drivers/hwmon/g760a.c 	return count;
count             763 drivers/hwmon/g762.c 			       size_t count)
count             775 drivers/hwmon/g762.c 	return count;
count             794 drivers/hwmon/g762.c 			      const char *buf, size_t count)
count             806 drivers/hwmon/g762.c 	return count;
count             826 drivers/hwmon/g762.c 				 size_t count)
count             838 drivers/hwmon/g762.c 	return count;
count             869 drivers/hwmon/g762.c 				 size_t count)
count             881 drivers/hwmon/g762.c 	return count;
count             901 drivers/hwmon/g762.c 			  const char *buf, size_t count)
count             913 drivers/hwmon/g762.c 	return count;
count             948 drivers/hwmon/g762.c 				 size_t count)
count             960 drivers/hwmon/g762.c 	return count;
count             283 drivers/hwmon/gl518sm.c 			    const char *buf, size_t count)		\
count             296 drivers/hwmon/gl518sm.c 	return count;							\
count             302 drivers/hwmon/gl518sm.c 			    const char *buf, size_t count)		\
count             318 drivers/hwmon/gl518sm.c 	return count;							\
count             342 drivers/hwmon/gl518sm.c 			     size_t count)
count             371 drivers/hwmon/gl518sm.c 	return count;
count             376 drivers/hwmon/gl518sm.c 			     size_t count)
count             416 drivers/hwmon/gl518sm.c 	return count;
count             473 drivers/hwmon/gl518sm.c 			  const char *buf, size_t count)
count             496 drivers/hwmon/gl518sm.c 	return count;
count             245 drivers/hwmon/gl520sm.c 			    const char *buf, size_t count)
count             275 drivers/hwmon/gl520sm.c 	return count;
count             279 drivers/hwmon/gl520sm.c 			    const char *buf, size_t count)
count             309 drivers/hwmon/gl520sm.c 	return count;
count             376 drivers/hwmon/gl520sm.c 			     size_t count)
count             411 drivers/hwmon/gl520sm.c 	return count;
count             416 drivers/hwmon/gl520sm.c 			     size_t count)
count             461 drivers/hwmon/gl520sm.c 	return count;
count             466 drivers/hwmon/gl520sm.c 			      size_t count)
count             486 drivers/hwmon/gl520sm.c 	return count;
count             530 drivers/hwmon/gl520sm.c 			      size_t count)
count             546 drivers/hwmon/gl520sm.c 	return count;
count             551 drivers/hwmon/gl520sm.c 				   const char *buf, size_t count)
count             568 drivers/hwmon/gl520sm.c 	return count;
count             601 drivers/hwmon/gl520sm.c 				 const char *buf, size_t count)
count             621 drivers/hwmon/gl520sm.c 	return count;
count             626 drivers/hwmon/gl520sm.c 			       size_t count)
count             642 drivers/hwmon/gl520sm.c 	return count;
count             678 drivers/hwmon/gl520sm.c 			  const char *buf, size_t count)
count             701 drivers/hwmon/gl520sm.c 	return count;
count             175 drivers/hwmon/gpio-fan.c 			  const char *buf, size_t count)
count             180 drivers/hwmon/gpio-fan.c 	int ret = count;
count             211 drivers/hwmon/gpio-fan.c 				 const char *buf, size_t count)
count             220 drivers/hwmon/gpio-fan.c 		return count;
count             232 drivers/hwmon/gpio-fan.c 	return count;
count             267 drivers/hwmon/gpio-fan.c 		       const char *buf, size_t count)
count             271 drivers/hwmon/gpio-fan.c 	int ret = count;
count             238 drivers/hwmon/hwmon.c 				const char *buf, size_t count)
count             256 drivers/hwmon/hwmon.c 	return count;
count             143 drivers/hwmon/i5k_amb.c 			     size_t count)
count             157 drivers/hwmon/i5k_amb.c 	return count;
count             163 drivers/hwmon/i5k_amb.c 			     size_t count)
count             177 drivers/hwmon/i5k_amb.c 	return count;
count             183 drivers/hwmon/i5k_amb.c 			     size_t count)
count             197 drivers/hwmon/i5k_amb.c 	return count;
count             120 drivers/hwmon/ibmaem.c 		       const char *buf, size_t count);
count             886 drivers/hwmon/ibmaem.c 				    const char *buf, size_t count)
count             904 drivers/hwmon/ibmaem.c 	return count;
count             281 drivers/hwmon/ibmpex.c 				     const char *buf, size_t count)
count             287 drivers/hwmon/ibmpex.c 	return count;
count             134 drivers/hwmon/ibmpowernv.c 			    const char *buf, size_t count)
count             157 drivers/hwmon/ibmpowernv.c 		ret = count;
count             318 drivers/hwmon/ibmpowernv.c 				  struct sensor_data *sdata_table, int count)
count             326 drivers/hwmon/ibmpowernv.c 		for (i = 0; i < count; i++)
count             339 drivers/hwmon/ibmpowernv.c 	int count = 0, ret = 0;
count             376 drivers/hwmon/ibmpowernv.c 		sgrp_data[count].gid = gid;
count             377 drivers/hwmon/ibmpowernv.c 		mutex_init(&sgrp_data[count].mutex);
count             378 drivers/hwmon/ibmpowernv.c 		sgrp_data[count++].enable = false;
count             489 drivers/hwmon/ibmpowernv.c 					     const char *buf, size_t count))
count             515 drivers/hwmon/ibmpowernv.c 					     const char *buf, size_t count))
count             558 drivers/hwmon/ibmpowernv.c 	u32 count = 0;
count             592 drivers/hwmon/ibmpowernv.c 		sdata[count].id = sensor_id;
count             593 drivers/hwmon/ibmpowernv.c 		sdata[count].type = type;
count             607 drivers/hwmon/ibmpowernv.c 		hw_id = get_sensor_hwmon_index(&sdata[count], sdata, count);
count             609 drivers/hwmon/ibmpowernv.c 		populate_sensor(&sdata[count], opal_index, hw_id, sensor_id,
count             612 drivers/hwmon/ibmpowernv.c 		count++;
count             622 drivers/hwmon/ibmpowernv.c 			make_sensor_label(np, &sdata[count], label);
count             623 drivers/hwmon/ibmpowernv.c 			populate_sensor(&sdata[count], opal_index, hw_id,
count             626 drivers/hwmon/ibmpowernv.c 			count++;
count             631 drivers/hwmon/ibmpowernv.c 			populate_sensor(&sdata[count], opal_index, hw_id,
count             635 drivers/hwmon/ibmpowernv.c 			count++;
count             640 drivers/hwmon/ibmpowernv.c 			populate_sensor(&sdata[count], opal_index, hw_id,
count             644 drivers/hwmon/ibmpowernv.c 			count++;
count             650 drivers/hwmon/ibmpowernv.c 			populate_sensor(&sdata[count], opal_index, hw_id,
count             654 drivers/hwmon/ibmpowernv.c 			count++;
count             232 drivers/hwmon/ina209.c 				     const char *buf, size_t count)
count             254 drivers/hwmon/ina209.c 	return count;
count             281 drivers/hwmon/ina209.c 				    const char *buf, size_t count)
count             302 drivers/hwmon/ina209.c 	return count;
count             307 drivers/hwmon/ina209.c 				  const char *buf, size_t count)
count             325 drivers/hwmon/ina209.c 		count = ret;
count             332 drivers/hwmon/ina209.c 	return count;
count             339 drivers/hwmon/ina2xx.c 				  const char *buf, size_t count)
count             352 drivers/hwmon/ina2xx.c 	return count;
count             357 drivers/hwmon/ina2xx.c 				     const char *buf, size_t count)
count             376 drivers/hwmon/ina2xx.c 	return count;
count             610 drivers/hwmon/ina3221.c 				   const char *buf, size_t count)
count             627 drivers/hwmon/ina3221.c 	return count;
count             867 drivers/hwmon/it87.c 		      const char *buf, size_t count)
count             885 drivers/hwmon/it87.c 	return count;
count             955 drivers/hwmon/it87.c 			const char *buf, size_t count)
count             991 drivers/hwmon/it87.c 	return count;
count            1039 drivers/hwmon/it87.c 			     const char *buf, size_t count)
count            1084 drivers/hwmon/it87.c 	return count;
count            1176 drivers/hwmon/it87.c 		       const char *buf, size_t count)
count            1217 drivers/hwmon/it87.c 	return count;
count            1221 drivers/hwmon/it87.c 			   const char *buf, size_t count)
count            1262 drivers/hwmon/it87.c 	return count;
count            1296 drivers/hwmon/it87.c 			      const char *buf, size_t count)
count            1364 drivers/hwmon/it87.c 	return count;
count            1368 drivers/hwmon/it87.c 		       const char *buf, size_t count)
count            1405 drivers/hwmon/it87.c 	return count;
count            1409 drivers/hwmon/it87.c 			    const char *buf, size_t count)
count            1441 drivers/hwmon/it87.c 	return count;
count            1463 drivers/hwmon/it87.c 				size_t count)
count            1504 drivers/hwmon/it87.c 	return count;
count            1521 drivers/hwmon/it87.c 			    const char *buf, size_t count)
count            1542 drivers/hwmon/it87.c 	return count;
count            1557 drivers/hwmon/it87.c 				  const char *buf, size_t count)
count            1572 drivers/hwmon/it87.c 	return count;
count            1594 drivers/hwmon/it87.c 			     const char *buf, size_t count)
count            1621 drivers/hwmon/it87.c 	return count;
count            1820 drivers/hwmon/it87.c 			       size_t count)
count            1832 drivers/hwmon/it87.c 		count = config;
count            1841 drivers/hwmon/it87.c 	return count;
count            1874 drivers/hwmon/it87.c 			const char *buf, size_t count)
count            1891 drivers/hwmon/it87.c 	return count;
count            1924 drivers/hwmon/it87.c 			 const char *buf, size_t count)
count            1934 drivers/hwmon/it87.c 	return count;
count             340 drivers/hwmon/lm63.c 		       const char *buf, size_t count)
count             358 drivers/hwmon/lm63.c 	return count;
count             380 drivers/hwmon/lm63.c 			const char *buf, size_t count)
count             405 drivers/hwmon/lm63.c 	return count;
count             417 drivers/hwmon/lm63.c 				 const char *buf, size_t count)
count             447 drivers/hwmon/lm63.c 	return count;
count             486 drivers/hwmon/lm63.c 			 const char *buf, size_t count)
count             521 drivers/hwmon/lm63.c 	return count;
count             551 drivers/hwmon/lm63.c 			  const char *buf, size_t count)
count             584 drivers/hwmon/lm63.c 	return count;
count             617 drivers/hwmon/lm63.c 				     const char *buf, size_t count)
count             634 drivers/hwmon/lm63.c 	return count;
count             671 drivers/hwmon/lm63.c 				     const char *buf, size_t count)
count             685 drivers/hwmon/lm63.c 	return count;
count             698 drivers/hwmon/lm63.c 				const char *buf, size_t count)
count             720 drivers/hwmon/lm63.c 	return count;
count              63 drivers/hwmon/lm73.c 			  const char *buf, size_t count)
count              78 drivers/hwmon/lm73.c 	return (err < 0) ? err : count;
count              99 drivers/hwmon/lm73.c 			      const char *buf, size_t count)
count             130 drivers/hwmon/lm73.c 	return count;
count             156 drivers/hwmon/lm77.c 			  size_t count)
count             174 drivers/hwmon/lm77.c 	return count;
count             183 drivers/hwmon/lm77.c 			       const char *buf, size_t count)
count             200 drivers/hwmon/lm77.c 	return count;
count             167 drivers/hwmon/lm78.c 			    const char *buf, size_t count)
count             183 drivers/hwmon/lm78.c 	return count;
count             187 drivers/hwmon/lm78.c 			    const char *buf, size_t count)
count             203 drivers/hwmon/lm78.c 	return count;
count             245 drivers/hwmon/lm78.c 			       size_t count)
count             259 drivers/hwmon/lm78.c 	return count;
count             271 drivers/hwmon/lm78.c 				    const char *buf, size_t count)
count             285 drivers/hwmon/lm78.c 	return count;
count             314 drivers/hwmon/lm78.c 			     const char *buf, size_t count)
count             330 drivers/hwmon/lm78.c 	return count;
count             348 drivers/hwmon/lm78.c 			     const char *buf, size_t count)
count             403 drivers/hwmon/lm78.c 	return count;
count             272 drivers/hwmon/lm80.c 			const char *buf, size_t count)
count             290 drivers/hwmon/lm80.c 	return count;
count             316 drivers/hwmon/lm80.c 			 const char *buf, size_t count)
count             333 drivers/hwmon/lm80.c 	return count;
count             344 drivers/hwmon/lm80.c 			     size_t count)
count             398 drivers/hwmon/lm80.c 	return count;
count             413 drivers/hwmon/lm80.c 			  size_t count)
count             428 drivers/hwmon/lm80.c 	return count;
count             162 drivers/hwmon/lm83.c 			  size_t count)
count             180 drivers/hwmon/lm83.c 	return count;
count             570 drivers/hwmon/lm85.c 			     size_t count)
count             586 drivers/hwmon/lm85.c 	return count;
count             627 drivers/hwmon/lm85.c 			 const char *buf, size_t count)
count             641 drivers/hwmon/lm85.c 	return count;
count             692 drivers/hwmon/lm85.c 			 const char *buf, size_t count)
count             708 drivers/hwmon/lm85.c 	return count;
count             735 drivers/hwmon/lm85.c 				const char *buf, size_t count)
count             774 drivers/hwmon/lm85.c 	return count;
count             795 drivers/hwmon/lm85.c 			      size_t count)
count             828 drivers/hwmon/lm85.c 	return count;
count             861 drivers/hwmon/lm85.c 			    const char *buf, size_t count)
count             877 drivers/hwmon/lm85.c 	return count;
count             889 drivers/hwmon/lm85.c 			    const char *buf, size_t count)
count             905 drivers/hwmon/lm85.c 	return count;
count             954 drivers/hwmon/lm85.c 			      size_t count)
count             973 drivers/hwmon/lm85.c 	return count;
count             986 drivers/hwmon/lm85.c 			      size_t count)
count            1005 drivers/hwmon/lm85.c 	return count;
count            1031 drivers/hwmon/lm85.c 				       const char *buf, size_t count)
count            1049 drivers/hwmon/lm85.c 	return count;
count            1062 drivers/hwmon/lm85.c 				      const char *buf, size_t count)
count            1079 drivers/hwmon/lm85.c 	return count;
count            1093 drivers/hwmon/lm85.c 					 const char *buf, size_t count)
count            1114 drivers/hwmon/lm85.c 	return count;
count            1141 drivers/hwmon/lm85.c 					const char *buf, size_t count)
count            1166 drivers/hwmon/lm85.c 	return count;
count            1180 drivers/hwmon/lm85.c 					const char *buf, size_t count)
count            1206 drivers/hwmon/lm85.c 	return count;
count            1221 drivers/hwmon/lm85.c 					const char *buf, size_t count)
count            1243 drivers/hwmon/lm85.c 	return count;
count            1257 drivers/hwmon/lm85.c 					 const char *buf, size_t count)
count            1274 drivers/hwmon/lm85.c 	return count;
count             297 drivers/hwmon/lm87.c 			    const char *buf, size_t count)
count             314 drivers/hwmon/lm87.c 	return count;
count             318 drivers/hwmon/lm87.c 			    const char *buf, size_t count)
count             335 drivers/hwmon/lm87.c 	return count;
count             394 drivers/hwmon/lm87.c 			      size_t count)
count             410 drivers/hwmon/lm87.c 	return count;
count             415 drivers/hwmon/lm87.c 			       size_t count)
count             431 drivers/hwmon/lm87.c 	return count;
count             494 drivers/hwmon/lm87.c 			     size_t count)
count             511 drivers/hwmon/lm87.c 	return count;
count             522 drivers/hwmon/lm87.c 			     size_t count)
count             574 drivers/hwmon/lm87.c 	return count;
count             607 drivers/hwmon/lm87.c 			 const char *buf, size_t count)
count             621 drivers/hwmon/lm87.c 	return count;
count             633 drivers/hwmon/lm87.c 				 const char *buf, size_t count)
count             648 drivers/hwmon/lm87.c 	return count;
count             951 drivers/hwmon/lm90.c 			 const char *buf, size_t count)
count             972 drivers/hwmon/lm90.c 	return count;
count             148 drivers/hwmon/lm92.c 			  size_t count)
count             165 drivers/hwmon/lm92.c 	return count;
count             189 drivers/hwmon/lm92.c 			       const char *buf, size_t count)
count             208 drivers/hwmon/lm92.c 	return count;
count             595 drivers/hwmon/lm93.c 	const u16 count = le16_to_cpu(regs) >> 2;
count             596 drivers/hwmon/lm93.c 	return count == 0 ? -1 : count == 0x3fff ? 0 : 1350000 / count;
count             605 drivers/hwmon/lm93.c 	u16 count, regs;
count             608 drivers/hwmon/lm93.c 		count = 0x3fff;
count             611 drivers/hwmon/lm93.c 		count = clamp_val((1350000 + rpm) / rpm, 1, 0x3ffe);
count             614 drivers/hwmon/lm93.c 	regs = count << 2;
count            1145 drivers/hwmon/lm93.c 			    const char *buf, size_t count)
count            1172 drivers/hwmon/lm93.c 	return count;
count            1210 drivers/hwmon/lm93.c 			    const char *buf, size_t count)
count            1237 drivers/hwmon/lm93.c 	return count;
count            1279 drivers/hwmon/lm93.c 			      size_t count)
count            1295 drivers/hwmon/lm93.c 	return count;
count            1312 drivers/hwmon/lm93.c 			      size_t count)
count            1328 drivers/hwmon/lm93.c 	return count;
count            1345 drivers/hwmon/lm93.c 				    const char *buf, size_t count)
count            1361 drivers/hwmon/lm93.c 	return count;
count            1378 drivers/hwmon/lm93.c 				     const char *buf, size_t count)
count            1394 drivers/hwmon/lm93.c 	return count;
count            1414 drivers/hwmon/lm93.c 					  const char *buf, size_t count)
count            1435 drivers/hwmon/lm93.c 	return count;
count            1457 drivers/hwmon/lm93.c 				      const char *buf, size_t count)
count            1481 drivers/hwmon/lm93.c 	return count;
count            1536 drivers/hwmon/lm93.c 				       const char *buf, size_t count)
count            1559 drivers/hwmon/lm93.c 	return count;
count            1579 drivers/hwmon/lm93.c 					   const char *buf, size_t count)
count            1602 drivers/hwmon/lm93.c 	return count;
count            1635 drivers/hwmon/lm93.c 			     size_t count)
count            1651 drivers/hwmon/lm93.c 	return count;
count            1714 drivers/hwmon/lm93.c 				    const char *buf, size_t count)
count            1739 drivers/hwmon/lm93.c 	return count;
count            1766 drivers/hwmon/lm93.c 			 const char *buf, size_t count)
count            1790 drivers/hwmon/lm93.c 	return count;
count            1814 drivers/hwmon/lm93.c 				const char *buf, size_t count)
count            1847 drivers/hwmon/lm93.c 	return count;
count            1890 drivers/hwmon/lm93.c 			      size_t count)
count            1912 drivers/hwmon/lm93.c 	return count;
count            1929 drivers/hwmon/lm93.c 				       const char *buf, size_t count)
count            1946 drivers/hwmon/lm93.c 	return count;
count            1969 drivers/hwmon/lm93.c 					 const char *buf, size_t count)
count            1991 drivers/hwmon/lm93.c 	return count;
count            2009 drivers/hwmon/lm93.c 					  const char *buf, size_t count)
count            2028 drivers/hwmon/lm93.c 	return count;
count            2044 drivers/hwmon/lm93.c 						const char *buf, size_t count)
count            2061 drivers/hwmon/lm93.c 	return count;
count            2076 drivers/hwmon/lm93.c 						const char *buf, size_t count)
count            2141 drivers/hwmon/lm93.c 				 const char *buf, size_t count)
count            2158 drivers/hwmon/lm93.c 	return count;
count            2177 drivers/hwmon/lm93.c 				      const char *buf, size_t count)
count            2197 drivers/hwmon/lm93.c 	return count;
count            2218 drivers/hwmon/lm93.c 				      const char *buf, size_t count)
count            2240 drivers/hwmon/lm93.c 	return count;
count            2256 drivers/hwmon/lm93.c 						const char *buf, size_t count)
count            2273 drivers/hwmon/lm93.c 	return count;
count            2287 drivers/hwmon/lm93.c 					const char *buf, size_t count)
count            2305 drivers/hwmon/lm93.c 	return count;
count             246 drivers/hwmon/lm95234.c 			  const char *buf, size_t count)
count             273 drivers/hwmon/lm95234.c 	return count;
count             290 drivers/hwmon/lm95234.c 			    const char *buf, size_t count)
count             311 drivers/hwmon/lm95234.c 	return count;
count             339 drivers/hwmon/lm95234.c 			    const char *buf, size_t count)
count             360 drivers/hwmon/lm95234.c 	return count;
count             380 drivers/hwmon/lm95234.c 				 const char *buf, size_t count)
count             402 drivers/hwmon/lm95234.c 	return count;
count             419 drivers/hwmon/lm95234.c 			    const char *buf, size_t count)
count             441 drivers/hwmon/lm95234.c 	return count;
count             459 drivers/hwmon/lm95234.c 				     const char *buf, size_t count)
count             483 drivers/hwmon/lm95234.c 	return count;
count             234 drivers/hwmon/ltc2945.c 				   const char *buf, size_t count)
count             264 drivers/hwmon/ltc2945.c 	return ret < 0 ? ret : count;
count             269 drivers/hwmon/ltc2945.c 				     const char *buf, size_t count)
count             317 drivers/hwmon/ltc2945.c 	return ret ? : count;
count             221 drivers/hwmon/max16065.c 				    const char *buf, size_t count)
count             243 drivers/hwmon/max16065.c 	return count;
count             150 drivers/hwmon/max1619.c 			  size_t count)
count             165 drivers/hwmon/max1619.c 	return count;
count             193 drivers/hwmon/max1668.c 			    const char *buf, size_t count)
count             211 drivers/hwmon/max1668.c 		count = ret;
count             214 drivers/hwmon/max1668.c 	return count;
count             219 drivers/hwmon/max1668.c 			    const char *buf, size_t count)
count             237 drivers/hwmon/max1668.c 		count = ret;
count             240 drivers/hwmon/max1668.c 	return count;
count             117 drivers/hwmon/max197.c 				  const char *buf, size_t count)
count             166 drivers/hwmon/max197.c 	return count;
count             189 drivers/hwmon/max6639.c 			      const char *buf, size_t count)
count             207 drivers/hwmon/max6639.c 	return count;
count             221 drivers/hwmon/max6639.c 			       const char *buf, size_t count)
count             239 drivers/hwmon/max6639.c 	return count;
count             254 drivers/hwmon/max6639.c 				    const char *buf, size_t count)
count             272 drivers/hwmon/max6639.c 	return count;
count             286 drivers/hwmon/max6639.c 			 size_t count)
count             306 drivers/hwmon/max6639.c 	return count;
count             217 drivers/hwmon/max6642.c 			      size_t count)
count             233 drivers/hwmon/max6642.c 	return count;
count             113 drivers/hwmon/max6650.c 	u8 count;
count             452 drivers/hwmon/max6650.c 	data->count = reg;
count             564 drivers/hwmon/max6650.c 						 DIV_FROM_REG(data->count));
count             567 drivers/hwmon/max6650.c 			*val = DIV_FROM_REG(data->count);
count             668 drivers/hwmon/max6650.c 			data->count = reg;
count             294 drivers/hwmon/max6697.c 			  size_t count)
count             316 drivers/hwmon/max6697.c 	return ret < 0 ? ret : count;
count             404 drivers/hwmon/nct6683.c 	int i, j, count;
count             410 drivers/hwmon/nct6683.c 	for (count = 0; *t; t++, count++)
count             413 drivers/hwmon/nct6683.c 	if (count == 0)
count             420 drivers/hwmon/nct6683.c 	attrs = devm_kcalloc(dev, repeat * count + 1, sizeof(*attrs),
count             425 drivers/hwmon/nct6683.c 	su = devm_kzalloc(dev, array3_size(repeat, count, sizeof(*su)),
count             922 drivers/hwmon/nct6683.c 	  size_t count)
count             939 drivers/hwmon/nct6683.c 	return count;
count             999 drivers/hwmon/nct6683.c 		  const char *buf, size_t count)
count            1013 drivers/hwmon/nct6683.c 		count = ret;
count            1027 drivers/hwmon/nct6683.c 	return count;
count            1060 drivers/hwmon/nct6683.c 		       const char *buf, size_t count)
count            1079 drivers/hwmon/nct6683.c 		count = ret;
count            1094 drivers/hwmon/nct6683.c 	return count;
count            1291 drivers/hwmon/nct6775.c 	int i, count;
count            1297 drivers/hwmon/nct6775.c 	for (count = 0; *t; t++, count++)
count            1300 drivers/hwmon/nct6775.c 	if (count == 0)
count            1307 drivers/hwmon/nct6775.c 	attrs = devm_kcalloc(dev, repeat * count + 1, sizeof(*attrs),
count            1312 drivers/hwmon/nct6775.c 	su = devm_kzalloc(dev, array3_size(repeat, count, sizeof(*su)),
count            1883 drivers/hwmon/nct6775.c 	     size_t count)
count            1900 drivers/hwmon/nct6775.c 	return count;
count            1914 drivers/hwmon/nct6775.c static int find_temp_source(struct nct6775_data *data, int index, int count)
count            1919 drivers/hwmon/nct6775.c 	for (nr = 0; nr < count; nr++) {
count            1964 drivers/hwmon/nct6775.c 	   size_t count)
count            1987 drivers/hwmon/nct6775.c 	return count;
count            2014 drivers/hwmon/nct6775.c 		const char *buf, size_t count)
count            2044 drivers/hwmon/nct6775.c 	return count;
count            2122 drivers/hwmon/nct6775.c 	      const char *buf, size_t count)
count            2211 drivers/hwmon/nct6775.c 	return count;
count            2226 drivers/hwmon/nct6775.c 		 const char *buf, size_t count)
count            2250 drivers/hwmon/nct6775.c 	return count;
count            2333 drivers/hwmon/nct6775.c 	   size_t count)
count            2351 drivers/hwmon/nct6775.c 	return count;
count            2365 drivers/hwmon/nct6775.c 		  const char *buf, size_t count)
count            2384 drivers/hwmon/nct6775.c 	return count;
count            2399 drivers/hwmon/nct6775.c 		const char *buf, size_t count)
count            2437 drivers/hwmon/nct6775.c 	return count;
count            2533 drivers/hwmon/nct6775.c 	       const char *buf, size_t count)
count            2553 drivers/hwmon/nct6775.c 		return count;
count            2564 drivers/hwmon/nct6775.c 	return count;
count            2590 drivers/hwmon/nct6775.c 	  size_t count)
count            2619 drivers/hwmon/nct6775.c 	return count;
count            2693 drivers/hwmon/nct6775.c 		 const char *buf, size_t count)
count            2733 drivers/hwmon/nct6775.c 	return count;
count            2765 drivers/hwmon/nct6775.c 		   const char *buf, size_t count)
count            2790 drivers/hwmon/nct6775.c 	return count;
count            2807 drivers/hwmon/nct6775.c 			  const char *buf, size_t count)
count            2841 drivers/hwmon/nct6775.c 	return count;
count            2855 drivers/hwmon/nct6775.c 		  const char *buf, size_t count)
count            2874 drivers/hwmon/nct6775.c 	return count;
count            2891 drivers/hwmon/nct6775.c 		   const char *buf, size_t count)
count            2911 drivers/hwmon/nct6775.c 	return count;
count            2928 drivers/hwmon/nct6775.c 		     const char *buf, size_t count)
count            2953 drivers/hwmon/nct6775.c 	return count;
count            2993 drivers/hwmon/nct6775.c 		      const char *buf, size_t count)
count            3025 drivers/hwmon/nct6775.c 	return count;
count            3057 drivers/hwmon/nct6775.c 		  const char *buf, size_t count)
count            3076 drivers/hwmon/nct6775.c 	return count;
count            3107 drivers/hwmon/nct6775.c 	       const char *buf, size_t count)
count            3125 drivers/hwmon/nct6775.c 	return count;
count            3139 drivers/hwmon/nct6775.c 	       const char *buf, size_t count)
count            3208 drivers/hwmon/nct6775.c 	return count;
count            3228 drivers/hwmon/nct6775.c 		const char *buf, size_t count)
count            3254 drivers/hwmon/nct6775.c 	return count;
count            3410 drivers/hwmon/nct6775.c 	       const char *buf, size_t count)
count            3430 drivers/hwmon/nct6775.c 		count = ret;
count            3445 drivers/hwmon/nct6775.c 	return count;
count              82 drivers/hwmon/nct7802.c 			       size_t count)
count              98 drivers/hwmon/nct7802.c 	return err ? : count;
count             138 drivers/hwmon/nct7802.c 			 const char *buf, size_t count)
count             150 drivers/hwmon/nct7802.c 	return err ? : count;
count             170 drivers/hwmon/nct7802.c 				const char *buf, size_t count)
count             185 drivers/hwmon/nct7802.c 	return ret ? : count;
count             356 drivers/hwmon/nct7802.c 			const char *buf, size_t count)
count             370 drivers/hwmon/nct7802.c 	return err ? : count;
count             448 drivers/hwmon/nct7802.c 			  const char *buf, size_t count)
count             463 drivers/hwmon/nct7802.c 	return err ? : count;
count             496 drivers/hwmon/nct7802.c 			     size_t count)
count             508 drivers/hwmon/nct7802.c 	return err ? : count;
count             544 drivers/hwmon/nct7802.c 	   size_t count)
count             559 drivers/hwmon/nct7802.c 	return err ? : count;
count             635 drivers/hwmon/occ/common.c 				   const char *buf, size_t count)
count             652 drivers/hwmon/occ/common.c 	return count;
count             278 drivers/hwmon/pc87360.c 			     const char *buf, size_t count)
count             311 drivers/hwmon/pc87360.c 	return count;
count             354 drivers/hwmon/pc87360.c 			 const char *buf, size_t count)
count             371 drivers/hwmon/pc87360.c 	return count;
count             425 drivers/hwmon/pc87360.c 			    size_t count)
count             441 drivers/hwmon/pc87360.c 	return count;
count             445 drivers/hwmon/pc87360.c 			    size_t count)
count             462 drivers/hwmon/pc87360.c 	return count;
count             596 drivers/hwmon/pc87360.c 			 const char *buf, size_t count)
count             610 drivers/hwmon/pc87360.c 	return count;
count             685 drivers/hwmon/pc87360.c 			       const char *buf, size_t count)
count             701 drivers/hwmon/pc87360.c 	return count;
count             706 drivers/hwmon/pc87360.c 			       const char *buf, size_t count)
count             722 drivers/hwmon/pc87360.c 	return count;
count             726 drivers/hwmon/pc87360.c 				const char *buf, size_t count)
count             742 drivers/hwmon/pc87360.c 	return count;
count             887 drivers/hwmon/pc87360.c 			      const char *buf, size_t count)
count             903 drivers/hwmon/pc87360.c 	return count;
count             908 drivers/hwmon/pc87360.c 			      const char *buf, size_t count)
count             924 drivers/hwmon/pc87360.c 	return count;
count             929 drivers/hwmon/pc87360.c 			       const char *buf, size_t count)
count             945 drivers/hwmon/pc87360.c 	return count;
count             427 drivers/hwmon/pc87427.c 			     const char *buf, size_t count)
count             450 drivers/hwmon/pc87427.c 	return count;
count             579 drivers/hwmon/pc87427.c 				const char *buf, size_t count)
count             596 drivers/hwmon/pc87427.c 	return count;
count             609 drivers/hwmon/pc87427.c 			 const char *buf, size_t count)
count             651 drivers/hwmon/pc87427.c 	return count;
count             936 drivers/hwmon/pc87427.c 					     int count)
count             941 drivers/hwmon/pc87427.c 	for (i = 0; i < count; i++) {
count             102 drivers/hwmon/pcf8591.c 				 const char *buf, size_t count)
count             119 drivers/hwmon/pcf8591.c 	return count;
count             133 drivers/hwmon/pcf8591.c 				 const char *buf, size_t count)
count             151 drivers/hwmon/pcf8591.c 	return count;
count              87 drivers/hwmon/pmbus/ibm-cffps.c 					    char __user *buf, size_t count,
count             129 drivers/hwmon/pmbus/ibm-cffps.c 	return simple_read_from_buffer(buf, count, ppos,
count             135 drivers/hwmon/pmbus/ibm-cffps.c 				    size_t count, loff_t *ppos)
count             148 drivers/hwmon/pmbus/ibm-cffps.c 		return ibm_cffps_read_input_history(psu, buf, count, ppos);
count             209 drivers/hwmon/pmbus/ibm-cffps.c 	return simple_read_from_buffer(buf, count, ppos, data, rc);
count             132 drivers/hwmon/pmbus/inspur-ipsps.c 				const char *buf, size_t count)
count             145 drivers/hwmon/pmbus/inspur-ipsps.c 		return count;
count             151 drivers/hwmon/pmbus/inspur-ipsps.c 		return count;
count              33 drivers/hwmon/pmbus/isl68137.c 					      const char *buf, size_t count)
count              65 drivers/hwmon/pmbus/isl68137.c 	return (rc < 0) ? rc : count;
count              80 drivers/hwmon/pmbus/isl68137.c 				const char *buf, size_t count)
count              85 drivers/hwmon/pmbus/isl68137.c 	return isl68137_avs_enable_store_page(client, attr->index, buf, count);
count             962 drivers/hwmon/pmbus/pmbus_core.c 				const char *buf, size_t count)
count             967 drivers/hwmon/pmbus/pmbus_core.c 	ssize_t rv = count;
count            1020 drivers/hwmon/pmbus/pmbus_core.c 						 const char *buf, size_t count))
count            1037 drivers/hwmon/pmbus/pmbus_core.c 					     const char *buf, size_t count),
count            1965 drivers/hwmon/pmbus/pmbus_core.c 				 const char *buf, size_t count)
count            1980 drivers/hwmon/pmbus/pmbus_core.c 	return ret ? : count;
count             393 drivers/hwmon/pmbus/ucd9000.c 					       char __user *buf, size_t count,
count             410 drivers/hwmon/pmbus/ucd9000.c 	return simple_read_from_buffer(buf, count, ppos, str, res - str);
count             105 drivers/hwmon/pwm-fan.c 			 const char *buf, size_t count)
count             119 drivers/hwmon/pwm-fan.c 	return count;
count             704 drivers/hwmon/sht15.c 				  const char *buf, size_t count)
count             724 drivers/hwmon/sht15.c 	return ret ? ret : count;
count             341 drivers/hwmon/sht3x.c 			  size_t count,
count             383 drivers/hwmon/sht3x.c 	return count;
count             389 drivers/hwmon/sht3x.c 				 size_t count)
count             403 drivers/hwmon/sht3x.c 	ret = limit_store(dev, count, index, temperature,
count             413 drivers/hwmon/sht3x.c 				     size_t count)
count             426 drivers/hwmon/sht3x.c 	ret = limit_store(dev, count, index, data->temperature_limits[index],
count             522 drivers/hwmon/sht3x.c 				   size_t count)
count             560 drivers/hwmon/sht3x.c 				     size_t count)
count             579 drivers/hwmon/sht3x.c 		return count;
count             619 drivers/hwmon/sht3x.c 	return count;
count             239 drivers/hwmon/sis5595.c 			    const char *buf, size_t count)
count             255 drivers/hwmon/sis5595.c 	return count;
count             259 drivers/hwmon/sis5595.c 			    const char *buf, size_t count)
count             275 drivers/hwmon/sis5595.c 	return count;
count             311 drivers/hwmon/sis5595.c 			       size_t count)
count             325 drivers/hwmon/sis5595.c 	return count;
count             337 drivers/hwmon/sis5595.c 				    const char *buf, size_t count)
count             351 drivers/hwmon/sis5595.c 	return count;
count             380 drivers/hwmon/sis5595.c 			     const char *buf, size_t count)
count             396 drivers/hwmon/sis5595.c 	return count;
count             415 drivers/hwmon/sis5595.c 			     const char *buf, size_t count)
count             468 drivers/hwmon/sis5595.c 	return count;
count             268 drivers/hwmon/smsc47m1.c 			     const char *buf, size_t count)
count             294 drivers/hwmon/smsc47m1.c 	return count;
count             305 drivers/hwmon/smsc47m1.c 			     const char *buf, size_t count)
count             320 drivers/hwmon/smsc47m1.c 		return count;
count             366 drivers/hwmon/smsc47m1.c 	return count;
count             370 drivers/hwmon/smsc47m1.c 			 const char *buf, size_t count)
count             392 drivers/hwmon/smsc47m1.c 	return count;
count             397 drivers/hwmon/smsc47m1.c 			    size_t count)
count             419 drivers/hwmon/smsc47m1.c 	return count;
count             197 drivers/hwmon/smsc47m192.c 			    const char *buf, size_t count)
count             215 drivers/hwmon/smsc47m192.c 	return count;
count             219 drivers/hwmon/smsc47m192.c 			    const char *buf, size_t count)
count             237 drivers/hwmon/smsc47m192.c 	return count;
count             295 drivers/hwmon/smsc47m192.c 			      size_t count)
count             313 drivers/hwmon/smsc47m192.c 	return count;
count             318 drivers/hwmon/smsc47m192.c 			      size_t count)
count             336 drivers/hwmon/smsc47m192.c 	return count;
count             350 drivers/hwmon/smsc47m192.c 				 const char *buf, size_t count)
count             383 drivers/hwmon/smsc47m192.c 	return count;
count             416 drivers/hwmon/smsc47m192.c 			 const char *buf, size_t count)
count             429 drivers/hwmon/smsc47m192.c 	return count;
count             434 drivers/hwmon/stts751.c 			   const char *buf, size_t count)
count             464 drivers/hwmon/stts751.c 	return count;
count             476 drivers/hwmon/stts751.c 			  const char *buf, size_t count)
count             497 drivers/hwmon/stts751.c 	return count;
count             524 drivers/hwmon/stts751.c 			 const char *buf, size_t count)
count             543 drivers/hwmon/stts751.c 	ret = count;
count             558 drivers/hwmon/stts751.c 			 const char *buf, size_t count)
count             577 drivers/hwmon/stts751.c 	ret = count;
count             594 drivers/hwmon/stts751.c 			      size_t count)
count             598 drivers/hwmon/stts751.c 	int ret = count;
count             642 drivers/hwmon/stts751.c 	ret = count;
count             226 drivers/hwmon/tc654.c 			     const char *buf, size_t count)
count             246 drivers/hwmon/tc654.c 	return ret < 0 ? ret : count;
count             285 drivers/hwmon/tc654.c 				size_t count)
count             321 drivers/hwmon/tc654.c 	return ret < 0 ? ret : count;
count             336 drivers/hwmon/tc654.c 			      const char *buf, size_t count)
count             359 drivers/hwmon/tc654.c 	return ret < 0 ? ret : count;
count             383 drivers/hwmon/tc654.c 			 const char *buf, size_t count)
count             414 drivers/hwmon/tc654.c 	return ret < 0 ? ret : count;
count             127 drivers/hwmon/thmc50.c 				const char *buf, size_t count)
count             152 drivers/hwmon/thmc50.c 	return count;
count             181 drivers/hwmon/thmc50.c 			      size_t count)
count             198 drivers/hwmon/thmc50.c 	return count;
count             211 drivers/hwmon/thmc50.c 			      size_t count)
count             228 drivers/hwmon/thmc50.c 	return count;
count              71 drivers/hwmon/tmp103.c 				 const char *buf, size_t count)
count              83 drivers/hwmon/tmp103.c 	return ret ? ret : count;
count             325 drivers/hwmon/tmp401.c 			  size_t count)
count             354 drivers/hwmon/tmp401.c 	return count;
count             359 drivers/hwmon/tmp401.c 				    const char *buf, size_t count)
count             389 drivers/hwmon/tmp401.c 	return count;
count             399 drivers/hwmon/tmp401.c 					const char *buf, size_t count)
count             419 drivers/hwmon/tmp401.c 	return count;
count             432 drivers/hwmon/tmp401.c 				     const char *buf, size_t count)
count             458 drivers/hwmon/tmp401.c 	return count;
count             116 drivers/hwmon/ultra45_env.c 			     const char *buf, size_t count)
count             136 drivers/hwmon/ultra45_env.c 	return count;
count             369 drivers/hwmon/via686a.c 			    const char *buf, size_t count) {
count             385 drivers/hwmon/via686a.c 	return count;
count             388 drivers/hwmon/via686a.c 			    const char *buf, size_t count) {
count             404 drivers/hwmon/via686a.c 	return count;
count             447 drivers/hwmon/via686a.c 			       size_t count) {
count             463 drivers/hwmon/via686a.c 	return count;
count             467 drivers/hwmon/via686a.c 			       size_t count) {
count             483 drivers/hwmon/via686a.c 	return count;
count             522 drivers/hwmon/via686a.c 			     const char *buf, size_t count) {
count             537 drivers/hwmon/via686a.c 	return count;
count             540 drivers/hwmon/via686a.c 			     const char *buf, size_t count) {
count             558 drivers/hwmon/via686a.c 	return count;
count             372 drivers/hwmon/vt1211.c 		      const char *buf, size_t count)
count             401 drivers/hwmon/vt1211.c 	return count;
count             446 drivers/hwmon/vt1211.c 			const char *buf, size_t count)
count             477 drivers/hwmon/vt1211.c 	return count;
count             522 drivers/hwmon/vt1211.c 		       const char *buf, size_t count)
count             566 drivers/hwmon/vt1211.c 			count = -EINVAL;
count             583 drivers/hwmon/vt1211.c 	return count;
count             628 drivers/hwmon/vt1211.c 		       const char *buf, size_t count)
count             670 drivers/hwmon/vt1211.c 			count = -EINVAL;
count             697 drivers/hwmon/vt1211.c 			count = -EINVAL;
count             704 drivers/hwmon/vt1211.c 			count = -EINVAL;
count             723 drivers/hwmon/vt1211.c 	return count;
count             766 drivers/hwmon/vt1211.c 				       const char *buf, size_t count)
count             794 drivers/hwmon/vt1211.c 	return count;
count             829 drivers/hwmon/vt1211.c 				      const char *buf, size_t count)
count             849 drivers/hwmon/vt1211.c 	return count;
count             865 drivers/hwmon/vt1211.c 		       const char *buf, size_t count)
count             880 drivers/hwmon/vt1211.c 	return count;
count             213 drivers/hwmon/vt8231.c 			    const char *buf, size_t count)
count             229 drivers/hwmon/vt8231.c 	return count;
count             233 drivers/hwmon/vt8231.c 			    const char *buf, size_t count)
count             249 drivers/hwmon/vt8231.c 	return count;
count             282 drivers/hwmon/vt8231.c 			     size_t count)
count             297 drivers/hwmon/vt8231.c 	return count;
count             302 drivers/hwmon/vt8231.c 			     size_t count)
count             317 drivers/hwmon/vt8231.c 	return count;
count             364 drivers/hwmon/vt8231.c 			       size_t count)
count             378 drivers/hwmon/vt8231.c 	return count;
count             382 drivers/hwmon/vt8231.c 				    const char *buf, size_t count)
count             396 drivers/hwmon/vt8231.c 	return count;
count             428 drivers/hwmon/vt8231.c 			      size_t count)
count             444 drivers/hwmon/vt8231.c 	return count;
count             448 drivers/hwmon/vt8231.c 			      size_t count)
count             464 drivers/hwmon/vt8231.c 	return count;
count             524 drivers/hwmon/vt8231.c 			     size_t count)
count             540 drivers/hwmon/vt8231.c 	return count;
count             545 drivers/hwmon/vt8231.c 			     size_t count)
count             589 drivers/hwmon/vt8231.c 	return count;
count             948 drivers/hwmon/w83627ehf.c 	       const char *buf, size_t count) \
count             964 drivers/hwmon/w83627ehf.c 	return count; \
count            1063 drivers/hwmon/w83627ehf.c 	      const char *buf, size_t count)
count            1151 drivers/hwmon/w83627ehf.c 	return count;
count            1218 drivers/hwmon/w83627ehf.c 	    const char *buf, size_t count) \
count            1233 drivers/hwmon/w83627ehf.c 	return count; \
count            1250 drivers/hwmon/w83627ehf.c 		  const char *buf, size_t count)
count            1268 drivers/hwmon/w83627ehf.c 	return count;
count            1384 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1413 drivers/hwmon/w83627ehf.c 	return count;
count            1418 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1436 drivers/hwmon/w83627ehf.c 	return count;
count            1441 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1477 drivers/hwmon/w83627ehf.c 	return count;
count            1497 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1515 drivers/hwmon/w83627ehf.c 	return count;
count            1520 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1555 drivers/hwmon/w83627ehf.c 	return count;
count            1623 drivers/hwmon/w83627ehf.c 			    const char *buf, size_t count) \
count            1639 drivers/hwmon/w83627ehf.c 	return count; \
count            1662 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count) \
count            1678 drivers/hwmon/w83627ehf.c 	return count; \
count            1771 drivers/hwmon/w83627ehf.c 			const char *buf, size_t count)
count            1789 drivers/hwmon/w83627ehf.c 	return count;
count             499 drivers/hwmon/w83627hf.c 	     const char *buf, size_t count)
count             514 drivers/hwmon/w83627hf.c 	return count;
count             518 drivers/hwmon/w83627hf.c 	     const char *buf, size_t count)
count             533 drivers/hwmon/w83627hf.c 	return count;
count             602 drivers/hwmon/w83627hf.c 			     size_t count)
count             627 drivers/hwmon/w83627hf.c 	return count;
count             632 drivers/hwmon/w83627hf.c 			     size_t count)
count             657 drivers/hwmon/w83627hf.c 	return count;
count             683 drivers/hwmon/w83627hf.c 	      const char *buf, size_t count)
count             700 drivers/hwmon/w83627hf.c 	return count;
count             746 drivers/hwmon/w83627hf.c 	       const char *buf, size_t count)
count             763 drivers/hwmon/w83627hf.c 	return count;
count             768 drivers/hwmon/w83627hf.c 		    const char *buf, size_t count)
count             785 drivers/hwmon/w83627hf.c 	return count;
count             814 drivers/hwmon/w83627hf.c 	  size_t count)
count             828 drivers/hwmon/w83627hf.c 	return count;
count             873 drivers/hwmon/w83627hf.c 		const char *buf, size_t count)
count             896 drivers/hwmon/w83627hf.c 	return count;
count             911 drivers/hwmon/w83627hf.c 	   size_t count)
count             956 drivers/hwmon/w83627hf.c 	return count;
count             992 drivers/hwmon/w83627hf.c 	      const char *buf, size_t count)
count            1028 drivers/hwmon/w83627hf.c 	return count;
count            1045 drivers/hwmon/w83627hf.c 	  const char *buf, size_t count)
count            1074 drivers/hwmon/w83627hf.c 	return count;
count            1092 drivers/hwmon/w83627hf.c 		 const char *buf, size_t count)
count            1113 drivers/hwmon/w83627hf.c 	return count;
count            1135 drivers/hwmon/w83627hf.c 	       const char *buf, size_t count)
count            1162 drivers/hwmon/w83627hf.c 	return count;
count            1180 drivers/hwmon/w83627hf.c 		const char *buf, size_t count)
count            1231 drivers/hwmon/w83627hf.c 	return count;
count             261 drivers/hwmon/w83781d.c 		*da, const char *buf, size_t count) \
count             276 drivers/hwmon/w83781d.c 	return count; \
count             314 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             333 drivers/hwmon/w83781d.c 	return count;
count             366 drivers/hwmon/w83781d.c 		struct device_attribute *da, const char *buf, size_t count) \
count             388 drivers/hwmon/w83781d.c 	return count; \
count             423 drivers/hwmon/w83781d.c 	  size_t count)
count             434 drivers/hwmon/w83781d.c 	return count;
count             491 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             514 drivers/hwmon/w83781d.c 	return count;
count             529 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             574 drivers/hwmon/w83781d.c 	return count;
count             636 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             678 drivers/hwmon/w83781d.c 	return count;
count             705 drivers/hwmon/w83781d.c 		size_t count)
count             721 drivers/hwmon/w83781d.c 	return count;
count             726 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             759 drivers/hwmon/w83781d.c 	return count;
count             779 drivers/hwmon/w83781d.c 		const char *buf, size_t count)
count             831 drivers/hwmon/w83781d.c 	return count;
count             371 drivers/hwmon/w83791d.c 				const char *buf, size_t count) \
count             387 drivers/hwmon/w83791d.c 	return count; \
count             444 drivers/hwmon/w83791d.c 			const char *buf, size_t count)
count             475 drivers/hwmon/w83791d.c 	return count;
count             535 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count             553 drivers/hwmon/w83791d.c 	return count;
count             572 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count             627 drivers/hwmon/w83791d.c 		count = -EINVAL;
count             658 drivers/hwmon/w83791d.c 	return count;
count             722 drivers/hwmon/w83791d.c 		const char *buf, size_t count)
count             737 drivers/hwmon/w83791d.c 	return count;
count             763 drivers/hwmon/w83791d.c 		struct device_attribute *attr, const char *buf, size_t count)
count             807 drivers/hwmon/w83791d.c 	return count;
count             829 drivers/hwmon/w83791d.c 		struct device_attribute *attr, const char *buf, size_t count)
count             848 drivers/hwmon/w83791d.c 	return count;
count             870 drivers/hwmon/w83791d.c 		struct device_attribute *attr, const char *buf, size_t count)
count             910 drivers/hwmon/w83791d.c 	return count;
count             932 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count             949 drivers/hwmon/w83791d.c 	return count;
count             965 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count             987 drivers/hwmon/w83791d.c 	return count;
count            1062 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count            1092 drivers/hwmon/w83791d.c 	return count;
count            1097 drivers/hwmon/w83791d.c 				const char *buf, size_t count)
count            1126 drivers/hwmon/w83791d.c 	return count;
count            1154 drivers/hwmon/w83791d.c 			 const char *buf, size_t count)
count            1174 drivers/hwmon/w83791d.c 	return count;
count             371 drivers/hwmon/w83792d.c 				const char *buf, size_t count) \
count             388 drivers/hwmon/w83792d.c 	return count; \
count             410 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             429 drivers/hwmon/w83792d.c 	return count;
count             450 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             486 drivers/hwmon/w83792d.c 	return count;
count             501 drivers/hwmon/w83792d.c 				const char *buf, size_t count)
count             520 drivers/hwmon/w83792d.c 	return count;
count             539 drivers/hwmon/w83792d.c 				const char *buf, size_t count)
count             563 drivers/hwmon/w83792d.c 	return count;
count             619 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             639 drivers/hwmon/w83792d.c 	return count;
count             644 drivers/hwmon/w83792d.c 			const char *buf, size_t count)
count             681 drivers/hwmon/w83792d.c 	return count;
count             696 drivers/hwmon/w83792d.c 			const char *buf, size_t count)
count             721 drivers/hwmon/w83792d.c 	return count;
count             734 drivers/hwmon/w83792d.c 		       const char *buf, size_t count)
count             750 drivers/hwmon/w83792d.c 	return count;
count             766 drivers/hwmon/w83792d.c 			const char *buf, size_t count)
count             790 drivers/hwmon/w83792d.c 	return count;
count             806 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             832 drivers/hwmon/w83792d.c 	return count;
count             850 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             874 drivers/hwmon/w83792d.c 	return count;
count             892 drivers/hwmon/w83792d.c 		const char *buf, size_t count)
count             920 drivers/hwmon/w83792d.c 	return count;
count             333 drivers/hwmon/w83793.c 	  const char *buf, size_t count)
count             347 drivers/hwmon/w83793.c 	return count;
count             374 drivers/hwmon/w83793.c 	   const char *buf, size_t count)
count             400 drivers/hwmon/w83793.c 	return count;
count             412 drivers/hwmon/w83793.c 		  const char *buf, size_t count)
count             433 drivers/hwmon/w83793.c 	return count;
count             440 drivers/hwmon/w83793.c 		    size_t count)
count             459 drivers/hwmon/w83793.c 	return count;
count             484 drivers/hwmon/w83793.c 	      const char *buf, size_t count)
count             506 drivers/hwmon/w83793.c 	return count;
count             529 drivers/hwmon/w83793.c 	  const char *buf, size_t count)
count             560 drivers/hwmon/w83793.c 	return count;
count             582 drivers/hwmon/w83793.c 	   const char *buf, size_t count)
count             602 drivers/hwmon/w83793.c 	return count;
count             647 drivers/hwmon/w83793.c 		const char *buf, size_t count)
count             684 drivers/hwmon/w83793.c 	return count;
count             714 drivers/hwmon/w83793.c 	       const char *buf, size_t count)
count             754 drivers/hwmon/w83793.c 	return count;
count             814 drivers/hwmon/w83793.c 	      const char *buf, size_t count)
count             869 drivers/hwmon/w83793.c 	return count;
count             886 drivers/hwmon/w83793.c 	      const char *buf, size_t count)
count             909 drivers/hwmon/w83793.c 	return count;
count             927 drivers/hwmon/w83793.c 	       const char *buf, size_t count)
count             950 drivers/hwmon/w83793.c 	return count;
count             975 drivers/hwmon/w83793.c 	 const char *buf, size_t count)
count            1011 drivers/hwmon/w83793.c 	return count;
count            1358 drivers/hwmon/w83793.c 	size_t count, loff_t *offset)
count            1363 drivers/hwmon/w83793.c 	if (count) {
count            1370 drivers/hwmon/w83793.c 			for (i = 0; i != count; i++) {
count            1382 drivers/hwmon/w83793.c 	return count;
count             721 drivers/hwmon/w83795.c 	   const char *buf, size_t count)
count             744 drivers/hwmon/w83795.c 	return count;
count             751 drivers/hwmon/w83795.c 		    size_t count)
count             769 drivers/hwmon/w83795.c 	return count;
count             794 drivers/hwmon/w83795.c 	      const char *buf, size_t count)
count             822 drivers/hwmon/w83795.c 	return count;
count             855 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count             883 drivers/hwmon/w83795.c 	return count;
count             916 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count             958 drivers/hwmon/w83795.c 	return count;
count            1020 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1054 drivers/hwmon/w83795.c 	return count;
count            1088 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1120 drivers/hwmon/w83795.c 	return count;
count            1149 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1178 drivers/hwmon/w83795.c 	return count;
count            1197 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1240 drivers/hwmon/w83795.c 	return count;
count            1257 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1275 drivers/hwmon/w83795.c 	return count;
count            1293 drivers/hwmon/w83795.c 	  const char *buf, size_t count)
count            1312 drivers/hwmon/w83795.c 	return count;
count            1333 drivers/hwmon/w83795.c 	   const char *buf, size_t count)
count            1350 drivers/hwmon/w83795.c 	return count;
count            1395 drivers/hwmon/w83795.c 	   const char *buf, size_t count)
count            1411 drivers/hwmon/w83795.c 	return count;
count            1435 drivers/hwmon/w83795.c 		const char *buf, size_t count)
count            1469 drivers/hwmon/w83795.c 	return count;
count            1510 drivers/hwmon/w83795.c 	 const char *buf, size_t count)
count            1544 drivers/hwmon/w83795.c 	return count;
count            1570 drivers/hwmon/w83795.c 	 const char *buf, size_t count)
count            1598 drivers/hwmon/w83795.c 	return count;
count             239 drivers/hwmon/w83l786ng.c 	       const char *buf, size_t count) \
count             253 drivers/hwmon/w83l786ng.c 	return count; \
count             292 drivers/hwmon/w83l786ng.c 	      const char *buf, size_t count)
count             310 drivers/hwmon/w83l786ng.c 	return count;
count             330 drivers/hwmon/w83l786ng.c 	      const char *buf, size_t count)
count             380 drivers/hwmon/w83l786ng.c 	return count;
count             418 drivers/hwmon/w83l786ng.c 	   const char *buf, size_t count)
count             439 drivers/hwmon/w83l786ng.c 	return count;
count             476 drivers/hwmon/w83l786ng.c 	       const char *buf, size_t count)
count             499 drivers/hwmon/w83l786ng.c 	return count;
count             504 drivers/hwmon/w83l786ng.c 	  const char *buf, size_t count)
count             523 drivers/hwmon/w83l786ng.c 	return count;
count             528 drivers/hwmon/w83l786ng.c 		 const char *buf, size_t count)
count             551 drivers/hwmon/w83l786ng.c 	return count;
count             584 drivers/hwmon/w83l786ng.c 		const char *buf, size_t count)
count             609 drivers/hwmon/w83l786ng.c 	return count;
count             473 drivers/hwtracing/coresight/coresight-cpu-debug.c 		const char __user *buf, size_t count, loff_t *ppos)
count             478 drivers/hwtracing/coresight/coresight-cpu-debug.c 	ret = kstrtou8_from_user(buf, count, 2, &val);
count             500 drivers/hwtracing/coresight/coresight-cpu-debug.c 	ret = count;
count             507 drivers/hwtracing/coresight/coresight-cpu-debug.c 		char __user *ubuf, size_t count, loff_t *ppos)
count             516 drivers/hwtracing/coresight/coresight-cpu-debug.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, sizeof(buf));
count             357 drivers/hwtracing/coresight/coresight-platform.c 	    obj->package.count < 3)
count             445 drivers/hwtracing/coresight/coresight-platform.c 	if (graph->package.count < 2)
count             465 drivers/hwtracing/coresight/coresight-platform.c 	if (graph->package.count != (n + 2))
count             476 drivers/hwtracing/coresight/coresight-platform.c 		    obj->package.count < 3)
count             503 drivers/hwtracing/coresight/coresight-platform.c 	for (i = 0; i + 1 < dsd->package.count; i += 2) {
count             534 drivers/hwtracing/coresight/coresight-platform.c 	if (cs_graph->package.count != (nlinks + 3))
count             599 drivers/hwtracing/coresight/coresight-platform.c 	    link->package.count != 4)
count             149 drivers/hwtracing/intel_th/gth.c 	size_t count;
count             157 drivers/hwtracing/intel_th/gth.c 		count = snprintf(buf, PAGE_SIZE, "%x\n", port);
count             159 drivers/hwtracing/intel_th/gth.c 		count = snprintf(buf, PAGE_SIZE, "disabled\n");
count             161 drivers/hwtracing/intel_th/gth.c 	return count;
count             166 drivers/hwtracing/intel_th/gth.c 				 const char *buf, size_t count)
count             199 drivers/hwtracing/intel_th/gth.c 			count = -ENODEV;
count             215 drivers/hwtracing/intel_th/gth.c 	return count;
count             330 drivers/hwtracing/intel_th/gth.c 	size_t count;
count             335 drivers/hwtracing/intel_th/gth.c 	count = snprintf(buf, PAGE_SIZE, "%x\n",
count             341 drivers/hwtracing/intel_th/gth.c 	return count;
count             346 drivers/hwtracing/intel_th/gth.c 				 const char *buf, size_t count)
count             364 drivers/hwtracing/intel_th/gth.c 	return count;
count             481 drivers/hwtracing/intel_th/gth.c 	unsigned long count;
count             489 drivers/hwtracing/intel_th/gth.c 	for (reg = 0, count = GTH_PLE_WAITLOOP_DEPTH;
count             490 drivers/hwtracing/intel_th/gth.c 	     count && !(reg & BIT(output->port)); count--) {
count             495 drivers/hwtracing/intel_th/gth.c 	if (!count)
count             614 drivers/hwtracing/intel_th/gth.c 	unsigned long count;
count             621 drivers/hwtracing/intel_th/gth.c 	for (reg = 0, count = CTS_TRIG_WAITLOOP_DEPTH;
count             622 drivers/hwtracing/intel_th/gth.c 	     count && !(reg & BIT(4)); count--) {
count             626 drivers/hwtracing/intel_th/gth.c 	if (!count)
count            1325 drivers/hwtracing/intel_th/msu.c 	int count, ret = 0;
count            1327 drivers/hwtracing/intel_th/msu.c 	count = atomic_cmpxchg(&msc->user_count, 0, -1);
count            1330 drivers/hwtracing/intel_th/msu.c 	if (count > 0)
count            1333 drivers/hwtracing/intel_th/msu.c 	else if (!count)
count            1651 drivers/hwtracing/intel_th/msu.c 	unsigned long count;
count            1654 drivers/hwtracing/intel_th/msu.c 	for (reg = 0, count = MSC_PLE_WAITLOOP_DEPTH;
count            1655 drivers/hwtracing/intel_th/msu.c 	     count && !(reg & MSCSTS_PLE); count--) {
count            1660 drivers/hwtracing/intel_th/msu.c 	if (!count)
count            1926 drivers/hwtracing/intel_th/msu.c 	size_t count = 0;
count            1931 drivers/hwtracing/intel_th/msu.c 		count = scnprintf(buf, PAGE_SIZE, "%ld\n", msc->nr_pages);
count            1934 drivers/hwtracing/intel_th/msu.c 			count += scnprintf(buf + count, PAGE_SIZE - count,
count            1939 drivers/hwtracing/intel_th/msu.c 		count = scnprintf(buf, PAGE_SIZE, "unsupported\n");
count            1944 drivers/hwtracing/intel_th/msu.c 	return count;
count             578 drivers/hwtracing/stm/core.c 			       size_t count)
count             584 drivers/hwtracing/stm/core.c 	for (pos = 0, sz = 0; pos < count; pos += sz) {
count             585 drivers/hwtracing/stm/core.c 		sz = min_t(unsigned int, count - pos, 8);
count             603 drivers/hwtracing/stm/core.c 	  unsigned int chan, const char *buf, size_t count)
count             611 drivers/hwtracing/stm/core.c 	err = stm->pdrv->write(stm->data, output, chan, buf, count);
count             619 drivers/hwtracing/stm/core.c 			      size_t count, loff_t *ppos)
count             626 drivers/hwtracing/stm/core.c 	if (count + 1 > PAGE_SIZE)
count             627 drivers/hwtracing/stm/core.c 		count = PAGE_SIZE - 1;
count             648 drivers/hwtracing/stm/core.c 	kbuf = kmalloc(count + 1, GFP_KERNEL);
count             652 drivers/hwtracing/stm/core.c 	err = copy_from_user(kbuf, buf, count);
count             660 drivers/hwtracing/stm/core.c 	count = stm_write(stm, &stmf->output, 0, kbuf, count);
count             666 drivers/hwtracing/stm/core.c 	return count;
count            1178 drivers/hwtracing/stm/core.c 				     const char *buf, size_t count)
count            1199 drivers/hwtracing/stm/core.c 	return err ? : count;
count            1295 drivers/hwtracing/stm/core.c 			     const char *buf, size_t count)
count            1311 drivers/hwtracing/stm/core.c 		count = stm_write(stm, &src->output, chan, buf, count);
count            1313 drivers/hwtracing/stm/core.c 		count = -ENODEV;
count            1317 drivers/hwtracing/stm/core.c 	return count;
count              13 drivers/hwtracing/stm/p_basic.c 			   unsigned int chan, const char *buf, size_t count)
count              20 drivers/hwtracing/stm/p_basic.c 	sz = stm_data_write(data, m, c, true, buf, count);
count             128 drivers/hwtracing/stm/p_sys-t.c 			size_t count)
count             138 drivers/hwtracing/stm/p_sys-t.c 	return ret < 0 ? ret : count;
count             153 drivers/hwtracing/stm/p_sys-t.c 			size_t count)
count             163 drivers/hwtracing/stm/p_sys-t.c 	return ret ? ret : count;
count             178 drivers/hwtracing/stm/p_sys-t.c 			       size_t count)
count             191 drivers/hwtracing/stm/p_sys-t.c 		return count;
count             209 drivers/hwtracing/stm/p_sys-t.c 				      const char *page, size_t count)
count             222 drivers/hwtracing/stm/p_sys-t.c 		return count;
count             288 drivers/hwtracing/stm/p_sys-t.c 			   unsigned int chan, const char *buf, size_t count)
count             331 drivers/hwtracing/stm/p_sys-t.c 		u16 length = count;
count             349 drivers/hwtracing/stm/p_sys-t.c 	sz = stm_data_write(data, m, c, false, buf, count);
count              93 drivers/hwtracing/stm/policy.c 	ssize_t count;
count              95 drivers/hwtracing/stm/policy.c 	count = sprintf(page, "%u %u\n", policy_node->first_master,
count              98 drivers/hwtracing/stm/policy.c 	return count;
count             103 drivers/hwtracing/stm/policy.c 			      size_t count)
count             126 drivers/hwtracing/stm/policy.c 	ret = count;
count             140 drivers/hwtracing/stm/policy.c 	ssize_t count;
count             142 drivers/hwtracing/stm/policy.c 	count = sprintf(page, "%u %u\n", policy_node->first_channel,
count             145 drivers/hwtracing/stm/policy.c 	return count;
count             150 drivers/hwtracing/stm/policy.c 			       size_t count)
count             172 drivers/hwtracing/stm/policy.c 	ret = count;
count             297 drivers/hwtracing/stm/policy.c 	ssize_t count;
count             299 drivers/hwtracing/stm/policy.c 	count = sprintf(page, "%s\n",
count             304 drivers/hwtracing/stm/policy.c 	return count;
count             313 drivers/hwtracing/stm/policy.c 	ssize_t count;
count             315 drivers/hwtracing/stm/policy.c 	count = sprintf(page, "%s\n",
count             320 drivers/hwtracing/stm/policy.c 	return count;
count              99 drivers/hwtracing/stm/stm.h 				 const char *buf, size_t count);
count             115 drivers/hwtracing/stm/stm.h 		       size_t count);
count             362 drivers/i2c/algos/i2c-algo-bit.c 	int count = msg->len;
count             367 drivers/i2c/algos/i2c-algo-bit.c 	while (count > 0) {
count             372 drivers/i2c/algos/i2c-algo-bit.c 			count--;
count             421 drivers/i2c/algos/i2c-algo-bit.c 	int count = msg->len;
count             424 drivers/i2c/algos/i2c-algo-bit.c 	while (count > 0) {
count             434 drivers/i2c/algos/i2c-algo-bit.c 		count--;
count             450 drivers/i2c/algos/i2c-algo-bit.c 			count += inval;
count             458 drivers/i2c/algos/i2c-algo-bit.c 				: (count ? "A" : "NA"));
count             461 drivers/i2c/algos/i2c-algo-bit.c 			inval = acknak(i2c_adap, count);
count             206 drivers/i2c/algos/i2c-algo-pcf.c 			 int count, int last)
count             211 drivers/i2c/algos/i2c-algo-pcf.c 	for (wrcount=0; wrcount<count; ++wrcount) {
count             239 drivers/i2c/algos/i2c-algo-pcf.c 			 int count, int last)
count             246 drivers/i2c/algos/i2c-algo-pcf.c 	for (i = 0; i <= count; i++) {
count             257 drivers/i2c/algos/i2c-algo-pcf.c 		if ((status & I2C_PCF_LRB) && (i != count)) {
count             263 drivers/i2c/algos/i2c-algo-pcf.c 		if (i == count - 1) {
count             265 drivers/i2c/algos/i2c-algo-pcf.c 		} else if (i == count) {
count             571 drivers/i2c/busses/i2c-cadence.c 	int ret, count;
count             598 drivers/i2c/busses/i2c-cadence.c 		for (count = 0; (count < num - 1 && hold_quirk); count++) {
count             599 drivers/i2c/busses/i2c-cadence.c 			if (msgs[count].flags & I2C_M_RD) {
count             615 drivers/i2c/busses/i2c-cadence.c 	for (count = 0; count < num; count++, msgs++) {
count             616 drivers/i2c/busses/i2c-cadence.c 		if (count == (num - 1))
count             606 drivers/i2c/busses/i2c-davinci.c 	int count = 0;
count             614 drivers/i2c/busses/i2c-davinci.c 		if (count++ == 100) {
count             701 drivers/i2c/busses/i2c-davinci.c 	return count ? IRQ_HANDLED : IRQ_NONE;
count              72 drivers/i2c/busses/i2c-designware-platdrv.c 	if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 3) {
count             489 drivers/i2c/busses/i2c-eg20t.c 	u32 count;
count             547 drivers/i2c/busses/i2c-eg20t.c 		count = length;
count             582 drivers/i2c/busses/i2c-eg20t.c 		count = read_index;
count             585 drivers/i2c/busses/i2c-eg20t.c 	return count;
count             143 drivers/i2c/busses/i2c-emev2.c 	int count, status, read = !!(msg->flags & I2C_M_RD);
count             176 drivers/i2c/busses/i2c-emev2.c 	for (count = 0; count < msg->len; count++) {
count             178 drivers/i2c/busses/i2c-emev2.c 			msg->buf[count] = readb(priv->base + I2C_OFS_IIC0);
count             189 drivers/i2c/busses/i2c-emev2.c 			writeb(msg->buf[count], priv->base + I2C_OFS_IIC0);
count             201 drivers/i2c/busses/i2c-emev2.c 	return count;
count             263 drivers/i2c/busses/i2c-i801.c 	int count;
count             565 drivers/i2c/busses/i2c-i801.c 		    (priv->count == 0)) {
count             582 drivers/i2c/busses/i2c-i801.c 		if (priv->count < priv->len)
count             583 drivers/i2c/busses/i2c-i801.c 			priv->data[priv->count++] = inb(SMBBLKDAT(priv));
count             589 drivers/i2c/busses/i2c-i801.c 		if (priv->count == priv->len - 1)
count             592 drivers/i2c/busses/i2c-i801.c 	} else if (priv->count < priv->len - 1) {
count             594 drivers/i2c/busses/i2c-i801.c 		outb_p(priv->data[++priv->count], SMBBLKDAT(priv));
count             712 drivers/i2c/busses/i2c-i801.c 		priv->count = 0;
count            1144 drivers/i2c/busses/i2c-i801.c 	int i, count;
count            1149 drivers/i2c/busses/i2c-i801.c 	count = (dm->length - sizeof(struct dmi_header)) / 2;
count            1150 drivers/i2c/busses/i2c-i801.c 	for (i = 0; i < count; i++) {
count             471 drivers/i2c/busses/i2c-ibm_iic.c 		int count = len > 4 ? 4 : len;
count             472 drivers/i2c/busses/i2c-ibm_iic.c 		u8 cmd = cntl | ((count - 1) << CNTL_TCT_SHIFT);
count             475 drivers/i2c/busses/i2c-ibm_iic.c 			for (j = 0; j < count; ++j)
count             483 drivers/i2c/busses/i2c-ibm_iic.c 		DBG2("%d: xfer_bytes, %d, CNTL = 0x%02x\n", dev->idx, count, cmd);
count             493 drivers/i2c/busses/i2c-ibm_iic.c 		else if (unlikely(ret != count)){
count             495 drivers/i2c/busses/i2c-ibm_iic.c 				dev->idx, count, ret);
count             506 drivers/i2c/busses/i2c-ibm_iic.c 			for (j = 0; j < count; ++j)
count             301 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_writebytes(struct i2c_adapter *i2c_adap, const char *buf, int count)
count             307 drivers/i2c/busses/i2c-iop3xx.c 	for (ii = 0; rc == 0 && ii != count; ++ii)
count             308 drivers/i2c/busses/i2c-iop3xx.c 		rc = iop3xx_i2c_write_byte(iop3xx_adap, buf[ii], ii==count-1);
count             313 drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_readbytes(struct i2c_adapter *i2c_adap, char *buf, int count)
count             319 drivers/i2c/busses/i2c-iop3xx.c 	for (ii = 0; rc == 0 && ii != count; ++ii)
count             320 drivers/i2c/busses/i2c-iop3xx.c 		rc = iop3xx_i2c_read_byte(iop3xx_adap, &buf[ii], ii==count-1);
count             641 drivers/i2c/busses/i2c-jz4780.c 			   int count)
count             658 drivers/i2c/busses/i2c-jz4780.c 	for (i = 0; i < count; i++, msg++) {
count             661 drivers/i2c/busses/i2c-jz4780.c 						   count, i);
count             664 drivers/i2c/busses/i2c-jz4780.c 						    count, i);
count              90 drivers/i2c/busses/i2c-meson.c 	int			count;
count             194 drivers/i2c/busses/i2c-meson.c 	i2c->count = min(i2c->msg->len - i2c->pos, 8);
count             196 drivers/i2c/busses/i2c-meson.c 	for (i = 0; i < i2c->count - 1; i++)
count             199 drivers/i2c/busses/i2c-meson.c 	if (i2c->count) {
count             200 drivers/i2c/busses/i2c-meson.c 		if (write || i2c->pos + i2c->count < i2c->msg->len)
count             207 drivers/i2c/busses/i2c-meson.c 		meson_i2c_put_data(i2c, i2c->msg->buf + i2c->pos, i2c->count);
count             209 drivers/i2c/busses/i2c-meson.c 	if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len)
count             228 drivers/i2c/busses/i2c-meson.c 		i2c->state, i2c->pos, i2c->count, ctrl);
count             249 drivers/i2c/busses/i2c-meson.c 	if (i2c->state == STATE_READ && i2c->count)
count             250 drivers/i2c/busses/i2c-meson.c 		meson_i2c_get_data(i2c, i2c->msg->buf + i2c->pos, i2c->count);
count             252 drivers/i2c/busses/i2c-meson.c 	i2c->pos += i2c->count;
count             290 drivers/i2c/busses/i2c-meson.c 	i2c->count = 0;
count             144 drivers/i2c/busses/i2c-nomadik.c 	unsigned long		count;
count             339 drivers/i2c/busses/i2c-nomadik.c 	mcr |= GEN_MASK(dev->cli.count, I2C_MCR_LENGTH, 15);
count             490 drivers/i2c/busses/i2c-nomadik.c 	int count;
count             492 drivers/i2c/busses/i2c-nomadik.c 	for (count = (no_bytes - 2);
count             493 drivers/i2c/busses/i2c-nomadik.c 			(count > 0) &&
count             494 drivers/i2c/busses/i2c-nomadik.c 			(dev->cli.count != 0);
count             495 drivers/i2c/busses/i2c-nomadik.c 			count--) {
count             500 drivers/i2c/busses/i2c-nomadik.c 		dev->cli.count--;
count             538 drivers/i2c/busses/i2c-nomadik.c 	if (dev->cli.count != 0)
count             679 drivers/i2c/busses/i2c-nomadik.c 			dev->cli.count		= msgs[i].len;
count             728 drivers/i2c/busses/i2c-nomadik.c 	u32 count;
count             756 drivers/i2c/busses/i2c-nomadik.c 			if (dev->cli.count == 0)
count             769 drivers/i2c/busses/i2c-nomadik.c 		for (count = rft; count > 0; count--) {
count             774 drivers/i2c/busses/i2c-nomadik.c 		dev->cli.count -= rft;
count             780 drivers/i2c/busses/i2c-nomadik.c 		for (count = MAX_I2C_FIFO_THRESHOLD; count > 0; count--) {
count             784 drivers/i2c/busses/i2c-nomadik.c 		dev->cli.count -= MAX_I2C_FIFO_THRESHOLD;
count             794 drivers/i2c/busses/i2c-nomadik.c 				if (dev->cli.count == 0)
count             799 drivers/i2c/busses/i2c-nomadik.c 				dev->cli.count--;
count             807 drivers/i2c/busses/i2c-nomadik.c 		if (dev->cli.count) {
count             811 drivers/i2c/busses/i2c-nomadik.c 				dev->cli.count);
count              65 drivers/i2c/busses/i2c-octeon-platdrv.c 	int count;
count              72 drivers/i2c/busses/i2c-octeon-platdrv.c 	count = atomic_dec_if_positive(cnt);
count              73 drivers/i2c/busses/i2c-octeon-platdrv.c 	if (count >= 0)
count             648 drivers/i2c/busses/i2c-omap.c 	int count = 0;
count             652 drivers/i2c/busses/i2c-omap.c 		count++;
count             653 drivers/i2c/busses/i2c-omap.c 	} while (!(stat & mask) && count < 5);
count            1073 drivers/i2c/busses/i2c-omap.c 	int err = 0, count = 0;
count            1093 drivers/i2c/busses/i2c-omap.c 		if (count++ == 100) {
count             192 drivers/i2c/busses/i2c-qup.c 	int		count;
count             505 drivers/i2c/busses/i2c-qup.c 	qup->blk.count = DIV_ROUND_UP(msg->len, qup->blk_xfer_limit);
count             554 drivers/i2c/busses/i2c-qup.c 	int last = (qup->blk.pos == (qup->blk.count - 1)) && (qup->is_last);
count             576 drivers/i2c/busses/i2c-qup.c 			tags[len++] = qup->blk.pos == (qup->blk.count - 1) ?
count             663 drivers/i2c/busses/i2c-qup.c 	blocks = qup->blk.count;
count            1445 drivers/i2c/busses/i2c-qup.c 	for (i = 0; i < blk->count; i++) {
count            1465 drivers/i2c/busses/i2c-qup.c 					   !qup->is_last || i < blk->count - 1);
count             165 drivers/i2c/busses/i2c-scmi.c 		input.count = 3;
count             169 drivers/i2c/busses/i2c-scmi.c 		input.count = 5;
count              87 drivers/i2c/busses/i2c-sprd.c 	u32 count;
count              92 drivers/i2c/busses/i2c-sprd.c static void sprd_i2c_set_count(struct sprd_i2c *i2c_dev, u32 count)
count              94 drivers/i2c/busses/i2c-sprd.c 	writel(count, i2c_dev->base + I2C_COUNT);
count             212 drivers/i2c/busses/i2c-sprd.c 	u32 i2c_count = i2c_dev->count;
count             218 drivers/i2c/busses/i2c-sprd.c 		i2c_dev->count -= I2C_FIFO_FULL_THLD;
count             226 drivers/i2c/busses/i2c-sprd.c 		if (i2c_dev->count >= I2C_FIFO_FULL_THLD)
count             231 drivers/i2c/busses/i2c-sprd.c 		i2c_dev->count -= need_tran;
count             250 drivers/i2c/busses/i2c-sprd.c 	i2c_dev->count = msg->len;
count             371 drivers/i2c/busses/i2c-sprd.c 		i2c_tran = i2c_dev->count >= I2C_FIFO_FULL_THLD;
count             373 drivers/i2c/busses/i2c-sprd.c 		i2c_tran = i2c_dev->count;
count             396 drivers/i2c/busses/i2c-sprd.c 	else if (msg->flags & I2C_M_RD && i2c_dev->count)
count             397 drivers/i2c/busses/i2c-sprd.c 		sprd_i2c_read_bytes(i2c_dev, i2c_dev->buf, i2c_dev->count);
count             415 drivers/i2c/busses/i2c-sprd.c 		i2c_tran = i2c_dev->count >= I2C_FIFO_FULL_THLD;
count             417 drivers/i2c/busses/i2c-sprd.c 		i2c_tran = i2c_dev->count;
count             162 drivers/i2c/busses/i2c-st.c 	u32	count;
count             237 drivers/i2c/busses/i2c-st.c 	int count, i;
count             245 drivers/i2c/busses/i2c-st.c 		count = SSC_RXFIFO_SIZE;
count             247 drivers/i2c/busses/i2c-st.c 		count = readl_relaxed(i2c_dev->base + SSC_RX_FSTAT) &
count             250 drivers/i2c/busses/i2c-st.c 	for (i = 0; i < count; i++)
count             425 drivers/i2c/busses/i2c-st.c 	if (c->count < (SSC_TXFIFO_SIZE - tx_fstat))
count             426 drivers/i2c/busses/i2c-st.c 		i = c->count;
count             430 drivers/i2c/busses/i2c-st.c 	for (; i > 0; i--, c->count--, c->buf++)
count             478 drivers/i2c/busses/i2c-st.c 	for (; (i > 0) && (c->count > 0); i--, c->count--) {
count             519 drivers/i2c/busses/i2c-st.c 	if (!c->count)
count             543 drivers/i2c/busses/i2c-st.c 	if (!c->count) {
count             546 drivers/i2c/busses/i2c-st.c 	} else if (c->count == 1) {
count             554 drivers/i2c/busses/i2c-st.c 		st_i2c_rd_fill_tx_fifo(i2c_dev, c->count);
count             556 drivers/i2c/busses/i2c-st.c 		st_i2c_rd_fill_tx_fifo(i2c_dev, c->count - 1);
count             601 drivers/i2c/busses/i2c-st.c 		if ((c->addr & I2C_M_RD) && (c->count == 1) && (c->xfered)) {
count             655 drivers/i2c/busses/i2c-st.c 	c->count	= msg->len;
count             106 drivers/i2c/busses/i2c-stm32f4.c 	u32 count;
count             336 drivers/i2c/busses/i2c-stm32f4.c 	msg->count--;
count             346 drivers/i2c/busses/i2c-stm32f4.c 	msg->count--;
count             374 drivers/i2c/busses/i2c-stm32f4.c 	if (msg->count) {
count             376 drivers/i2c/busses/i2c-stm32f4.c 		if (!msg->count) {
count             399 drivers/i2c/busses/i2c-stm32f4.c 	switch (msg->count) {
count             441 drivers/i2c/busses/i2c-stm32f4.c 	switch (msg->count) {
count             491 drivers/i2c/busses/i2c-stm32f4.c 	switch (msg->count) {
count             690 drivers/i2c/busses/i2c-stm32f4.c 	f4_msg->count = msg->len;
count             253 drivers/i2c/busses/i2c-stm32f7.c 	u32 count;
count             669 drivers/i2c/busses/i2c-stm32f7.c 	if (f7_msg->count) {
count             671 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count--;
count             680 drivers/i2c/busses/i2c-stm32f7.c 	if (f7_msg->count) {
count             682 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count--;
count             695 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count -= STM32F7_I2C_MAX_LEN;
count             700 drivers/i2c/busses/i2c-stm32f7.c 	if (f7_msg->count > STM32F7_I2C_MAX_LEN) {
count             704 drivers/i2c/busses/i2c-stm32f7.c 		cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count);
count             726 drivers/i2c/busses/i2c-stm32f7.c 	f7_msg->count = *val;
count             729 drivers/i2c/busses/i2c-stm32f7.c 	cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count);
count             780 drivers/i2c/busses/i2c-stm32f7.c 	f7_msg->count = msg->len;
count             807 drivers/i2c/busses/i2c-stm32f7.c 	if (f7_msg->count > STM32F7_I2C_MAX_LEN) {
count             811 drivers/i2c/busses/i2c-stm32f7.c 		cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count);
count             824 drivers/i2c/busses/i2c-stm32f7.c 	if (i2c_dev->dma && f7_msg->count >= STM32F7_I2C_DMA_LEN_MIN) {
count             827 drivers/i2c/busses/i2c-stm32f7.c 					      f7_msg->count, f7_msg->buf,
count             887 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 0;
count             891 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 1;
count             896 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = 1;
count             900 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = 2;
count             907 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = 1;
count             911 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = 3;
count             919 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = 1;
count             929 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count = data->block[0] + 2;
count             930 drivers/i2c/busses/i2c-stm32f7.c 			for (i = 1; i < f7_msg->count; i++)
count             936 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 3;
count             949 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = data->block[0] + 2;
count             950 drivers/i2c/busses/i2c-stm32f7.c 		for (i = 1; i < f7_msg->count; i++)
count             970 drivers/i2c/busses/i2c-stm32f7.c 			f7_msg->count++;
count             978 drivers/i2c/busses/i2c-stm32f7.c 	cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count);
count             990 drivers/i2c/busses/i2c-stm32f7.c 	if (i2c_dev->dma && f7_msg->count >= STM32F7_I2C_DMA_LEN_MIN) {
count             993 drivers/i2c/busses/i2c-stm32f7.c 					      f7_msg->count, f7_msg->buf,
count            1041 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 1;
count            1045 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 2;
count            1049 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count = 1;
count            1059 drivers/i2c/busses/i2c-stm32f7.c 		f7_msg->count++;
count            1063 drivers/i2c/busses/i2c-stm32f7.c 	cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count);
count            1080 drivers/i2c/busses/i2c-stm32f7.c 	if (i2c_dev->dma && f7_msg->count >= STM32F7_I2C_DMA_LEN_MIN &&
count            1085 drivers/i2c/busses/i2c-stm32f7.c 					      f7_msg->count, f7_msg->buf,
count            1111 drivers/i2c/busses/i2c-stm32f7.c 	u8 count, internal_pec, received_pec;
count            1126 drivers/i2c/busses/i2c-stm32f7.c 		count = f7_msg->smbus_buf[0];
count            1127 drivers/i2c/busses/i2c-stm32f7.c 		received_pec = f7_msg->smbus_buf[count];
count            1060 drivers/i2c/i2c-core-base.c 		     const char *buf, size_t count)
count            1113 drivers/i2c/i2c-core-base.c 	return count;
count            1128 drivers/i2c/i2c-core-base.c 			const char *buf, size_t count)
count            1159 drivers/i2c/i2c-core-base.c 			res = count;
count            2080 drivers/i2c/i2c-core-base.c 			      int count, u16 flags)
count            2086 drivers/i2c/i2c-core-base.c 		.len = count,
count            2096 drivers/i2c/i2c-core-base.c 	return (ret == 1) ? count : ret;
count              41 drivers/i2c/i2c-core-smbus.c static u8 i2c_smbus_pec(u8 crc, u8 *p, size_t count)
count              45 drivers/i2c/i2c-core-smbus.c 	for (i = 0; i < count; i++)
count             133 drivers/i2c/i2c-dev.c static ssize_t i2cdev_read(struct file *file, char __user *buf, size_t count,
count             141 drivers/i2c/i2c-dev.c 	if (count > 8192)
count             142 drivers/i2c/i2c-dev.c 		count = 8192;
count             144 drivers/i2c/i2c-dev.c 	tmp = kmalloc(count, GFP_KERNEL);
count             149 drivers/i2c/i2c-dev.c 		iminor(file_inode(file)), count);
count             151 drivers/i2c/i2c-dev.c 	ret = i2c_master_recv(client, tmp, count);
count             153 drivers/i2c/i2c-dev.c 		ret = copy_to_user(buf, tmp, count) ? -EFAULT : ret;
count             159 drivers/i2c/i2c-dev.c 		size_t count, loff_t *offset)
count             165 drivers/i2c/i2c-dev.c 	if (count > 8192)
count             166 drivers/i2c/i2c-dev.c 		count = 8192;
count             168 drivers/i2c/i2c-dev.c 	tmp = memdup_user(buf, count);
count             173 drivers/i2c/i2c-dev.c 		iminor(file_inode(file)), count);
count             175 drivers/i2c/i2c-dev.c 	ret = i2c_master_send(client, tmp, count);
count              94 drivers/i2c/i2c-slave-eeprom.c 		struct bin_attribute *attr, char *buf, loff_t off, size_t count)
count             102 drivers/i2c/i2c-slave-eeprom.c 	memcpy(buf, &eeprom->buffer[off], count);
count             105 drivers/i2c/i2c-slave-eeprom.c 	return count;
count             109 drivers/i2c/i2c-slave-eeprom.c 		struct bin_attribute *attr, char *buf, loff_t off, size_t count)
count             117 drivers/i2c/i2c-slave-eeprom.c 	memcpy(&eeprom->buffer[off], buf, count);
count             120 drivers/i2c/i2c-slave-eeprom.c 	return count;
count             167 drivers/i2c/muxes/i2c-demux-pinctrl.c 	int count = 0, i;
count             169 drivers/i2c/muxes/i2c-demux-pinctrl.c 	for (i = 0; i < priv->num_chan && count < PAGE_SIZE; i++)
count             170 drivers/i2c/muxes/i2c-demux-pinctrl.c 		count += scnprintf(buf + count, PAGE_SIZE - count, "%d:%pOF%c",
count             174 drivers/i2c/muxes/i2c-demux-pinctrl.c 	return count;
count             189 drivers/i2c/muxes/i2c-demux-pinctrl.c 				    const char *buf, size_t count)
count             204 drivers/i2c/muxes/i2c-demux-pinctrl.c 	return ret < 0 ? ret : count;
count             291 drivers/i2c/muxes/i2c-mux-pca954x.c 				const char *buf, size_t count)
count             319 drivers/i2c/muxes/i2c-mux-pca954x.c 	return ret < 0 ? ret : count;
count             915 drivers/i3c/master.c 	defslvs->count = ndevs;
count              57 drivers/ide/au1xxx-ide.c static inline void auide_insw(unsigned long port, void *addr, u32 count)
count              64 drivers/ide/au1xxx-ide.c 				   count << 1, DDMA_FLAGS_NOIE)) {
count              75 drivers/ide/au1xxx-ide.c static inline void auide_outsw(unsigned long port, void *addr, u32 count)
count              82 drivers/ide/au1xxx-ide.c 				     count << 1, DDMA_FLAGS_NOIE)) {
count             220 drivers/ide/au1xxx-ide.c 	int i = cmd->sg_nents, count = 0;
count             239 drivers/ide/au1xxx-ide.c 			if (++count >= PRD_ENTRIES) {
count             272 drivers/ide/au1xxx-ide.c 	if (count)
count             486 drivers/ide/ide-acpi.c 	input.count = 3;
count             119 drivers/ide/ide-dma-sff.c 	unsigned int count = 0;
count             137 drivers/ide/ide-dma-sff.c 			if (count++ >= PRD_ENTRIES)
count             148 drivers/ide/ide-dma-sff.c 				if (count++ >= PRD_ENTRIES)
count             160 drivers/ide/ide-dma-sff.c 	if (count) {
count             163 drivers/ide/ide-dma-sff.c 		return count;
count             168 drivers/ide/ide-dma-sff.c 		count ? "DMA table too small" : "empty DMA table?");
count             739 drivers/ide/ide-io.c 		static unsigned long last_msgtime, count;
count             740 drivers/ide/ide-io.c 		++count;
count             746 drivers/ide/ide-io.c 				hwif->name, stat, count);
count             283 drivers/ide/ide-proc.c 				       size_t count, loff_t *pos)
count             298 drivers/ide/ide-proc.c 	if (count >= PAGE_SIZE)
count             305 drivers/ide/ide-proc.c 	if (copy_from_user(buf, buffer, count)) {
count             310 drivers/ide/ide-proc.c 	buf[count] = '\0';
count             315 drivers/ide/ide-proc.c 	while (count && isspace(*s)) {
count             316 drivers/ide/ide-proc.c 		--count;
count             325 drivers/ide/ide-proc.c 		n = count;
count             377 drivers/ide/ide-proc.c 	return count;
count             912 drivers/ide/ide-tape.c static void idetape_create_space_cmd(struct ide_atapi_pc *pc, int count, u8 cmd)
count             916 drivers/ide/ide-tape.c 	put_unaligned(cpu_to_be32(count), (unsigned int *) &pc->c[1]);
count             998 drivers/ide/ide-tape.c 		unsigned int count = min(tape->buffer_size, bcount);
count            1000 drivers/ide/ide-tape.c 		idetape_queue_rw_tail(drive, REQ_IDETAPE_WRITE, count);
count            1001 drivers/ide/ide-tape.c 		bcount -= count;
count            1069 drivers/ide/ide-tape.c 	int retval, count = 0;
count            1087 drivers/ide/ide-tape.c 			++count;
count            1094 drivers/ide/ide-tape.c 		idetape_create_space_cmd(&pc, mt_count - count,
count            1102 drivers/ide/ide-tape.c 						      mt_count - count);
count            1105 drivers/ide/ide-tape.c 		count = (MTBSFM == mt_op ? 1 : -1);
count            1106 drivers/ide/ide-tape.c 		return idetape_space_over_filemarks(drive, MTFSF, count);
count            1130 drivers/ide/ide-tape.c 				   size_t count, loff_t *ppos)
count            1138 drivers/ide/ide-tape.c 	ide_debug_log(IDE_DBG_FUNC, "count %zd", count);
count            1142 drivers/ide/ide-tape.c 			if (count > tape->blk_size &&
count            1143 drivers/ide/ide-tape.c 			    (count % tape->blk_size) == 0)
count            1144 drivers/ide/ide-tape.c 				tape->user_bs_factor = count / tape->blk_size;
count            1151 drivers/ide/ide-tape.c 	while (done < count) {
count            1167 drivers/ide/ide-tape.c 		todo = min_t(size_t, count - done, tape->valid);
count            1185 drivers/ide/ide-tape.c 				     size_t count, loff_t *ppos)
count            1197 drivers/ide/ide-tape.c 	ide_debug_log(IDE_DBG_FUNC, "count %zd", count);
count            1204 drivers/ide/ide-tape.c 	while (done < count) {
count            1214 drivers/ide/ide-tape.c 		todo = min_t(size_t, count - done,
count             204 drivers/ide/pdc202xx_new.c 	long count = 0, last;
count             208 drivers/ide/pdc202xx_new.c 		last = count;
count             220 drivers/ide/pdc202xx_new.c 		count = (cnt3 << 23) | (cnt2 << 15) | (cnt1 << 8) | cnt0;
count             227 drivers/ide/pdc202xx_new.c 	} while (retry-- && (((last ^ count) & 0x3fff8000) || last < count));
count             232 drivers/ide/pdc202xx_new.c 	return count;
count            1461 drivers/ide/pmac.c 	int i = cmd->sg_nents, count = 0;
count            1491 drivers/ide/pmac.c 			if (count++ >= MAX_DCMDS) {
count            1511 drivers/ide/pmac.c 	if (count) {
count             195 drivers/ide/trm290.c 	unsigned int count, rw = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 2;
count             197 drivers/ide/trm290.c 	count = ide_build_dmatable(drive, cmd);
count             198 drivers/ide/trm290.c 	if (count == 0)
count             204 drivers/ide/trm290.c 	outw(count * 2 - 1, hwif->dma_base + 2);
count              79 drivers/ide/tx4938ide.c 	unsigned int count = (len + 1) / 2;
count              81 drivers/ide/tx4938ide.c 	while (count--)
count              91 drivers/ide/tx4938ide.c 	unsigned int count = (len + 1) / 2;
count              93 drivers/ide/tx4938ide.c 	while (count--) {
count             238 drivers/ide/tx4939ide.c 	unsigned int count = 0;
count             253 drivers/ide/tx4939ide.c 			if (count++ >= PRD_ENTRIES)
count             272 drivers/ide/tx4939ide.c 	if (count) {
count             274 drivers/ide/tx4939ide.c 		return count;
count             279 drivers/ide/tx4939ide.c 		count ? "DMA table too small" : "empty DMA table?");
count             452 drivers/ide/tx4939ide.c 	unsigned int count = (len + 1) / 2;
count             454 drivers/ide/tx4939ide.c 	while (count--)
count             464 drivers/ide/tx4939ide.c 	unsigned int count = (len + 1) / 2;
count             466 drivers/ide/tx4939ide.c 	while (count--) {
count             863 drivers/iio/accel/bmc150-accel-core.c 	u8 count;
count             875 drivers/iio/accel/bmc150-accel-core.c 	count = val & 0x7F;
count             877 drivers/iio/accel/bmc150-accel-core.c 	if (!count)
count             908 drivers/iio/accel/bmc150-accel-core.c 	do_div(sample_period, count);
count             909 drivers/iio/accel/bmc150-accel-core.c 	tstamp = data->timestamp - (count - 1) * sample_period;
count             911 drivers/iio/accel/bmc150-accel-core.c 	if (samples && count > samples)
count             912 drivers/iio/accel/bmc150-accel-core.c 		count = samples;
count             914 drivers/iio/accel/bmc150-accel-core.c 	ret = bmc150_accel_fifo_transfer(data, (u8 *)buffer, count);
count             924 drivers/iio/accel/bmc150-accel-core.c 	for (i = 0; i < count; i++) {
count             938 drivers/iio/accel/bmc150-accel-core.c 	return count;
count            1056 drivers/iio/accel/st_accel_core.c 	if (ont->type != ACPI_TYPE_PACKAGE || ont->package.count != 6)
count             126 drivers/iio/accel/stk8312.c 	int count = 10;
count             141 drivers/iio/accel/stk8312.c 		count--;
count             142 drivers/iio/accel/stk8312.c 	} while (!(ret & BIT(7)) && count > 0);
count             144 drivers/iio/accel/stk8312.c 	if (count == 0) {
count              18 drivers/iio/adc/ad7606_par.c 				   int count, void *buf)
count              23 drivers/iio/adc/ad7606_par.c 	insw((unsigned long)st->base_address, buf, count);
count              33 drivers/iio/adc/ad7606_par.c 				  int count, void *buf)
count              38 drivers/iio/adc/ad7606_par.c 	insb((unsigned long)st->base_address, buf, count * 2);
count             104 drivers/iio/adc/ad7606_spi.c 				 int count, void *buf)
count             111 drivers/iio/adc/ad7606_spi.c 	ret = spi_read(spi, buf, count * 2);
count             117 drivers/iio/adc/ad7606_spi.c 	for (i = 0; i < count; i++)
count             745 drivers/iio/adc/at91_adc.c 	int count, i, ret = 0;
count             749 drivers/iio/adc/at91_adc.c 	count = of_property_count_strings(np, "atmel,adc-res-names");
count             750 drivers/iio/adc/at91_adc.c 	if (count < 2) {
count             753 drivers/iio/adc/at91_adc.c 		return count;
count             756 drivers/iio/adc/at91_adc.c 	resolutions = kmalloc_array(count, sizeof(*resolutions), GFP_KERNEL);
count             760 drivers/iio/adc/at91_adc.c 	if (of_property_read_u32_array(np, "atmel,adc-res", resolutions, count)) {
count             769 drivers/iio/adc/at91_adc.c 	for (i = 0; i < count; i++) {
count             148 drivers/iio/adc/dln2-adc.c 	u8 count;
count             149 drivers/iio/adc/dln2-adc.c 	int olen = sizeof(count);
count             152 drivers/iio/adc/dln2-adc.c 			    &port, sizeof(port), &count, &olen);
count             157 drivers/iio/adc/dln2-adc.c 	if (olen < sizeof(count))
count             160 drivers/iio/adc/dln2-adc.c 	return count;
count             185 drivers/iio/adc/max1363.c 						const char *buf, int count);
count             187 drivers/iio/adc/max1363.c 						char *buf, int count);
count             314 drivers/iio/adc/max1363.c 		int count)
count             318 drivers/iio/adc/max1363.c 	for (i = err = 0; err == 0 && i < count; ++i)
count             321 drivers/iio/adc/max1363.c 	return err ? err : count;
count             325 drivers/iio/adc/max1363.c 		int count)
count             329 drivers/iio/adc/max1363.c 	for (i = 0; i < count; ++i) {
count             336 drivers/iio/adc/max1363.c 	return count;
count             348 drivers/iio/adc/meson_saradc.c 	int regval, fifo_chan, fifo_val, count;
count             354 drivers/iio/adc/meson_saradc.c 	count = meson_sar_adc_get_fifo_count(indio_dev);
count             355 drivers/iio/adc/meson_saradc.c 	if (count != 1) {
count             357 drivers/iio/adc/meson_saradc.c 			"ADC FIFO has %d element(s) instead of one\n", count);
count             536 drivers/iio/adc/meson_saradc.c 	unsigned int count, tmp;
count             538 drivers/iio/adc/meson_saradc.c 	for (count = 0; count < MESON_SAR_ADC_MAX_FIFO_SIZE; count++) {
count             244 drivers/iio/adc/qcom-spmi-adc5.c 	unsigned int count, retry = ADC5_CONV_TIME_RETRY;
count             248 drivers/iio/adc/qcom-spmi-adc5.c 	for (count = 0; count < retry; count++) {
count             249 drivers/iio/adc/qcom-spmi-iadc.c 	unsigned int count, retry;
count             255 drivers/iio/adc/qcom-spmi-iadc.c 	for (count = 0; count < retry; count++) {
count             251 drivers/iio/adc/qcom-spmi-vadc.c 	unsigned int count, retry;
count             257 drivers/iio/adc/qcom-spmi-vadc.c 	for (count = 0; count < retry; count++) {
count              97 drivers/iio/adc/spear_adc.c 	u32 clk_high, clk_low, count;
count             100 drivers/iio/adc/spear_adc.c 	count = DIV_ROUND_UP(apb_clk, val);
count             101 drivers/iio/adc/spear_adc.c 	clk_low = count / 2;
count             102 drivers/iio/adc/spear_adc.c 	clk_high = count - clk_low;
count             103 drivers/iio/adc/spear_adc.c 	st->current_clk = apb_clk / count;
count             176 drivers/iio/adc/ti_am335x_adc.c 	unsigned short count = 0;
count             198 drivers/iio/adc/ti_am335x_adc.c 		} while (adc_fsm != 0x10 && count++ < 100);
count             384 drivers/iio/adc/twl4030-madc.c 	int count = 0;
count             397 drivers/iio/adc/twl4030-madc.c 			count++;
count             407 drivers/iio/adc/twl4030-madc.c 				count++;
count             418 drivers/iio/adc/twl4030-madc.c 				count++;
count             422 drivers/iio/adc/twl4030-madc.c 			count++;
count             437 drivers/iio/adc/twl4030-madc.c 	return count;
count              65 drivers/iio/chemical/bme680_spi.c 				   size_t count)
count              73 drivers/iio/gyro/adis16136.c 		char __user *userbuf, size_t count, loff_t *ppos)
count             101 drivers/iio/gyro/adis16136.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             157 drivers/iio/health/afe4403.c 				      const char *buf, size_t count)
count             179 drivers/iio/health/afe4403.c 	return count;
count             191 drivers/iio/health/afe4404.c 				      const char *buf, size_t count)
count             213 drivers/iio/health/afe4404.c 	return count;
count             211 drivers/iio/imu/adis16400.c 		char __user *userbuf, size_t count, loff_t *ppos)
count             235 drivers/iio/imu/adis16400.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             175 drivers/iio/imu/adis16480.c 		char __user *userbuf, size_t count, loff_t *ppos)
count             189 drivers/iio/imu/adis16480.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             200 drivers/iio/imu/adis16480.c 		char __user *userbuf, size_t count, loff_t *ppos)
count             219 drivers/iio/imu/adis16480.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count              58 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	for (i = 0; i < cpm->package.count; ++i) {
count              63 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 		for (j = 0; j < elem->package.count; ++j) {
count              78 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c 	ret = cpm->package.count;
count             682 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 			    const char *buf, size_t count)
count             731 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	return count;
count             667 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	int count;
count             670 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	count = hw->settings->fifo_ops.read_fifo(hw);
count             673 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	return count ? IRQ_HANDLED : IRQ_NONE;
count             300 drivers/iio/industrialio-core.c 			      size_t count, loff_t *ppos)
count             318 drivers/iio/industrialio-core.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             322 drivers/iio/industrialio-core.c 		     const char __user *userbuf, size_t count, loff_t *ppos)
count             329 drivers/iio/industrialio-core.c 	count = min_t(size_t, count, (sizeof(buf)-1));
count             330 drivers/iio/industrialio-core.c 	if (copy_from_user(buf, userbuf, count))
count             333 drivers/iio/industrialio-core.c 	buf[count] = 0;
count             355 drivers/iio/industrialio-core.c 	return count;
count             115 drivers/iio/industrialio-event.c 				     size_t count,
count             126 drivers/iio/industrialio-event.c 	if (count < sizeof(struct iio_event_data))
count             145 drivers/iio/industrialio-event.c 		ret = kfifo_to_user(&ev_int->det_events, buf, count, &copied);
count             337 drivers/iio/light/isl29018.c 			 const char *buf, size_t count)
count             356 drivers/iio/light/isl29018.c 	return count;
count            1161 drivers/iio/light/si1145.c 	unsigned int count = 0;
count            1167 drivers/iio/light/si1145.c 			count++;
count            1170 drivers/iio/light/si1145.c 	return count <= 1;
count            1108 drivers/iio/light/tsl2772.c 	int ret = -EINVAL, count, persistence;
count            1147 drivers/iio/light/tsl2772.c 		count = 256 - time;
count            1149 drivers/iio/light/tsl2772.c 			(count * tsl2772_int_time_avail[chip->id][3]);
count              15 drivers/iio/pressure/bmp280-spi.c                                    size_t count)
count             108 drivers/iio/pressure/hp206c.c 	int count = 0;
count             112 drivers/iio/pressure/hp206c.c 	while (++count <= HP206C_MAX_DEV_RDY_WAIT_COUNT) {
count             290 drivers/iio/pressure/ms5611_core.c 						size_t count)
count             294 drivers/iio/pressure/ms5611_core.c 	for (r = 0; r < count; r++)
count             297 drivers/iio/pressure/ms5611_core.c 	if (r >= count)
count             101 drivers/iio/trigger/iio-trig-sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             108 drivers/iio/trigger/iio-trig-sysfs.c 	return count;
count            4331 drivers/infiniband/core/cm.c 	int count = 0;
count            4378 drivers/infiniband/core/cm.c 		count++;
count            4381 drivers/infiniband/core/cm.c 	if (!count)
count             122 drivers/infiniband/core/cma_configfs.c 				       const char *buf, size_t count)
count             140 drivers/infiniband/core/cma_configfs.c 	return !ret ? strnlen(buf, count) : ret;
count             163 drivers/infiniband/core/cma_configfs.c 				      const char *buf, size_t count)
count             181 drivers/infiniband/core/cma_configfs.c 	return ret ? ret : strnlen(buf, count);
count             168 drivers/infiniband/core/iwcm.c static int alloc_work_entries(struct iwcm_id_private *cm_id_priv, int count)
count             173 drivers/infiniband/core/iwcm.c 	while (count--) {
count             705 drivers/infiniband/core/mad.c 	mad_queue->count--;
count            1249 drivers/infiniband/core/mad.c 	if (qp_info->send_queue.count < qp_info->send_queue.max_active) {
count            1260 drivers/infiniband/core/mad.c 		qp_info->send_queue.count++;
count            2547 drivers/infiniband/core/mad.c 	if (send_queue->count-- > send_queue->max_active) {
count            2973 drivers/infiniband/core/mad.c 		post = (++recv_queue->count < recv_queue->max_active);
count            2980 drivers/infiniband/core/mad.c 			recv_queue->count--;
count            3028 drivers/infiniband/core/mad.c 	qp_info->recv_queue.count = 0;
count            3129 drivers/infiniband/core/mad.c 	mad_queue->count = 0;
count             182 drivers/infiniband/core/mad_priv.h 	int count;
count             823 drivers/infiniband/core/multicast.c 	int count = 0;
count             843 drivers/infiniband/core/multicast.c 		++count;
count             846 drivers/infiniband/core/multicast.c 	if (!count) {
count              70 drivers/infiniband/core/rw.c 	int count = 0;
count              76 drivers/infiniband/core/rw.c 		count++;
count              81 drivers/infiniband/core/rw.c 	return count;
count              92 drivers/infiniband/core/rw.c 	int count = 0, ret;
count              98 drivers/infiniband/core/rw.c 	count += rdma_rw_inv_key(reg);
count             111 drivers/infiniband/core/rw.c 	count++;
count             115 drivers/infiniband/core/rw.c 	return count;
count             125 drivers/infiniband/core/rw.c 	int i, j, ret = 0, count = 0;
count             142 drivers/infiniband/core/rw.c 		count += ret;
count             165 drivers/infiniband/core/rw.c 		count++;
count             179 drivers/infiniband/core/rw.c 	return count;
count             381 drivers/infiniband/core/rw.c 	int count = 0, ret;
count             417 drivers/infiniband/core/rw.c 	count += rdma_rw_inv_key(ctx->reg);
count             437 drivers/infiniband/core/rw.c 	count++;
count             454 drivers/infiniband/core/rw.c 	count++;
count             456 drivers/infiniband/core/rw.c 	return count;
count            2332 drivers/infiniband/core/sa_query.c 	int count = 0;
count            2366 drivers/infiniband/core/sa_query.c 		count++;
count            2369 drivers/infiniband/core/sa_query.c 	if (!count)
count              72 drivers/infiniband/core/sysfs.c 			 const char *buf, size_t count);
count              95 drivers/infiniband/core/sysfs.c 					 size_t count);
count             115 drivers/infiniband/core/sysfs.c 			       const char *buf, size_t count)
count             123 drivers/infiniband/core/sysfs.c 	return port_attr->store(p, port_attr, buf, count);
count             881 drivers/infiniband/core/sysfs.c 				  const char *buf, size_t count)
count             911 drivers/infiniband/core/sysfs.c 	return count;
count            1264 drivers/infiniband/core/sysfs.c 			       const char *buf, size_t count)
count            1273 drivers/infiniband/core/sysfs.c 	memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX));
count            1278 drivers/infiniband/core/sysfs.c 	return count;
count             293 drivers/infiniband/core/user_mad.c 			     struct ib_umad_packet *packet, size_t count)
count             304 drivers/infiniband/core/user_mad.c 	     count < hdr_size(file) + packet->length) ||
count             306 drivers/infiniband/core/user_mad.c 	     count < hdr_size(file) + seg_size))
count             322 drivers/infiniband/core/user_mad.c 		if (count < hdr_size(file) + packet->length) {
count             349 drivers/infiniband/core/user_mad.c 			     struct ib_umad_packet *packet, size_t count)
count             353 drivers/infiniband/core/user_mad.c 	if (count < size)
count             371 drivers/infiniband/core/user_mad.c 			    size_t count, loff_t *pos)
count             377 drivers/infiniband/core/user_mad.c 	if (count < hdr_size(file))
count             401 drivers/infiniband/core/user_mad.c 		ret = copy_recv_mad(file, buf, packet, count);
count             403 drivers/infiniband/core/user_mad.c 		ret = copy_send_mad(file, buf, packet, count);
count             484 drivers/infiniband/core/user_mad.c 			     size_t count, loff_t *pos)
count             496 drivers/infiniband/core/user_mad.c 	if (count < hdr_size(file) + IB_MGMT_RMPP_HDR)
count             567 drivers/infiniband/core/user_mad.c 	data_len = count - hdr_size(file) - hdr_len;
count             634 drivers/infiniband/core/user_mad.c 	return count;
count            1359 drivers/infiniband/core/user_mad.c 	int count = 0;
count            1377 drivers/infiniband/core/user_mad.c 		count++;
count            1380 drivers/infiniband/core/user_mad.c 	if (!count)
count            1192 drivers/infiniband/core/uverbs_cmd.c 	while (resp.count < cmd.ne) {
count            1204 drivers/infiniband/core/uverbs_cmd.c 		++resp.count;
count             224 drivers/infiniband/core/uverbs_main.c 				    size_t count, loff_t *pos,
count             254 drivers/infiniband/core/uverbs_main.c 	if (eventsz > count) {
count             280 drivers/infiniband/core/uverbs_main.c 					  size_t count, loff_t *pos)
count             284 drivers/infiniband/core/uverbs_main.c 	return ib_uverbs_event_read(&file->ev_queue, filp, buf, count, pos,
count             289 drivers/infiniband/core/uverbs_main.c 					 size_t count, loff_t *pos)
count             294 drivers/infiniband/core/uverbs_main.c 	return ib_uverbs_event_read(&comp_ev_file->ev_queue, filp, buf, count,
count             601 drivers/infiniband/core/uverbs_main.c 			  struct ib_uverbs_ex_cmd_hdr *ex_hdr, size_t count,
count             605 drivers/infiniband/core/uverbs_main.c 		count -= sizeof(*hdr) + sizeof(*ex_hdr);
count             607 drivers/infiniband/core/uverbs_main.c 		if ((hdr->in_words + ex_hdr->provider_in_words) * 8 != count)
count             635 drivers/infiniband/core/uverbs_main.c 	if (hdr->in_words * 4 != count)
count             638 drivers/infiniband/core/uverbs_main.c 	if (count < method_elm->req_size + sizeof(hdr)) {
count             647 drivers/infiniband/core/uverbs_main.c 		    count == 16) {
count             660 drivers/infiniband/core/uverbs_main.c 			     size_t count, loff_t *pos)
count             677 drivers/infiniband/core/uverbs_main.c 	if (count < sizeof(hdr))
count             688 drivers/infiniband/core/uverbs_main.c 		if (count < (sizeof(hdr) + sizeof(ex_hdr)))
count             694 drivers/infiniband/core/uverbs_main.c 	ret = verify_hdr(&hdr, &ex_hdr, count, method_elm);
count             770 drivers/infiniband/core/uverbs_main.c 	return (ret) ? : count;
count              65 drivers/infiniband/core/uverbs_std_types_device.c 	u64 count = 0;
count              82 drivers/infiniband/core/uverbs_std_types_device.c 		if (count >= max_count)
count              85 drivers/infiniband/core/uverbs_std_types_device.c 		handles[count] = obj_id;
count              86 drivers/infiniband/core/uverbs_std_types_device.c 		count++;
count              90 drivers/infiniband/core/uverbs_std_types_device.c 	*total = count;
count             511 drivers/infiniband/core/uverbs_uapi.c 	unsigned int count = 0;
count             514 drivers/infiniband/core/uverbs_uapi.c 		count++;
count             516 drivers/infiniband/core/uverbs_uapi.c 		count++;
count             518 drivers/infiniband/core/uverbs_uapi.c 		count++;
count             520 drivers/infiniband/core/uverbs_uapi.c 		count++;
count             522 drivers/infiniband/core/uverbs_uapi.c 		count++;
count             523 drivers/infiniband/core/uverbs_uapi.c 	WARN(count != 1, "Bad count %d key=%x", count, key);
count            2464 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	u32 count = 0;
count            2498 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		if (++count >= BNXT_RE_RQ_WQE_THRESHOLD) {
count            2500 drivers/infiniband/hw/bnxt_re/ib_verbs.c 			count = 0;
count            2506 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	if (count)
count             615 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	u32 sw_prod, sw_cons, count = 0;
count             620 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	count = sw_prod > sw_cons ? sw_prod - sw_cons :
count             622 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (count > srq->threshold) {
count             666 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	u32 sw_prod, sw_cons, count = 0;
count             708 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	count = sw_prod > sw_cons ? sw_prod - sw_cons :
count             713 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	if (srq->arm_req == true && count > srq->threshold) {
count             376 drivers/infiniband/hw/bnxt_re/qplib_fp.h 	u16				count;
count              70 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c 	u32 count = RCFW_BLOCKED_CMD_WAIT_COUNT;
count              79 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c 	} while (test_bit(cbit, rcfw->cmdq_bitmap) && --count);
count              81 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c 	return count ? 0 : -ETIMEDOUT;
count             348 drivers/infiniband/hw/cxgb3/cxio_hal.c int cxio_flush_rq(struct t3_wq *wq, struct t3_cq *cq, int count)
count             357 drivers/infiniband/hw/cxgb3/cxio_hal.c 		 wq->rq_rptr, wq->rq_wptr, count);
count             358 drivers/infiniband/hw/cxgb3/cxio_hal.c 	ptr = wq->rq_rptr + count;
count             387 drivers/infiniband/hw/cxgb3/cxio_hal.c int cxio_flush_sq(struct t3_wq *wq, struct t3_cq *cq, int count)
count             389 drivers/infiniband/hw/cxgb3/cxio_hal.c 	__u32 ptr = wq->sq_rptr + count;
count             442 drivers/infiniband/hw/cxgb3/cxio_hal.c void cxio_count_scqes(struct t3_cq *cq, struct t3_wq *wq, int *count)
count             447 drivers/infiniband/hw/cxgb3/cxio_hal.c 	*count = 0;
count             454 drivers/infiniband/hw/cxgb3/cxio_hal.c 			(*count)++;
count             457 drivers/infiniband/hw/cxgb3/cxio_hal.c 	pr_debug("%s cq %p count %d\n", __func__, cq, *count);
count             460 drivers/infiniband/hw/cxgb3/cxio_hal.c void cxio_count_rcqes(struct t3_cq *cq, struct t3_wq *wq, int *count)
count             465 drivers/infiniband/hw/cxgb3/cxio_hal.c 	*count = 0;
count             466 drivers/infiniband/hw/cxgb3/cxio_hal.c 	pr_debug("%s count zero %d\n", __func__, *count);
count             472 drivers/infiniband/hw/cxgb3/cxio_hal.c 			(*count)++;
count             475 drivers/infiniband/hw/cxgb3/cxio_hal.c 	pr_debug("%s cq %p count %d\n", __func__, cq, *count);
count            1046 drivers/infiniband/hw/cxgb3/cxio_hal.c 	int count = Q_COUNT(wq->sq_rptr, wq->sq_wptr);
count            1049 drivers/infiniband/hw/cxgb3/cxio_hal.c 	while (count--)
count             189 drivers/infiniband/hw/cxgb3/cxio_hal.h int cxio_flush_rq(struct t3_wq *wq, struct t3_cq *cq, int count);
count             190 drivers/infiniband/hw/cxgb3/cxio_hal.h int cxio_flush_sq(struct t3_wq *wq, struct t3_cq *cq, int count);
count             191 drivers/infiniband/hw/cxgb3/cxio_hal.h void cxio_count_rcqes(struct t3_cq *cq, struct t3_wq *wq, int *count);
count             192 drivers/infiniband/hw/cxgb3/cxio_hal.h void cxio_count_scqes(struct t3_cq *cq, struct t3_wq *wq, int *count);
count             728 drivers/infiniband/hw/cxgb3/iwch_qp.c 	int count;
count             742 drivers/infiniband/hw/cxgb3/iwch_qp.c 	cxio_count_rcqes(&rchp->cq, &qhp->wq, &count);
count             743 drivers/infiniband/hw/cxgb3/iwch_qp.c 	flushed = cxio_flush_rq(&qhp->wq, &rchp->cq, count);
count             756 drivers/infiniband/hw/cxgb3/iwch_qp.c 	cxio_count_scqes(&schp->cq, &qhp->wq, &count);
count             757 drivers/infiniband/hw/cxgb3/iwch_qp.c 	flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count);
count             805 drivers/infiniband/hw/cxgb3/iwch_qp.c 	u16 count = 0;
count             807 drivers/infiniband/hw/cxgb3/iwch_qp.c 	while (count < USHRT_MAX && fw_riwrh_opcode((struct fw_riwrh *)wqe) == T3_WR_RCV) {
count             808 drivers/infiniband/hw/cxgb3/iwch_qp.c 		count++;
count             811 drivers/infiniband/hw/cxgb3/iwch_qp.c 	pr_debug("%s qhp %p count %u\n", __func__, qhp, count);
count             812 drivers/infiniband/hw/cxgb3/iwch_qp.c 	return count;
count             203 drivers/infiniband/hw/cxgb4/cq.c int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count)
count             206 drivers/infiniband/hw/cxgb4/cq.c 	int in_use = wq->rq.in_use - count;
count             209 drivers/infiniband/hw/cxgb4/cq.c 		 wq, cq, wq->rq.in_use, count);
count             443 drivers/infiniband/hw/cxgb4/cq.c void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count)
count             448 drivers/infiniband/hw/cxgb4/cq.c 	*count = 0;
count             449 drivers/infiniband/hw/cxgb4/cq.c 	pr_debug("count zero %d\n", *count);
count             455 drivers/infiniband/hw/cxgb4/cq.c 			(*count)++;
count             459 drivers/infiniband/hw/cxgb4/cq.c 	pr_debug("cq %p count %d\n", cq, *count);
count              84 drivers/infiniband/hw/cxgb4/device.c static ssize_t debugfs_read(struct file *file, char __user *buf, size_t count,
count              89 drivers/infiniband/hw/cxgb4/device.c 	return simple_read_from_buffer(buf, count, ppos, d->buf, d->pos);
count             179 drivers/infiniband/hw/cxgb4/device.c 			    size_t count, loff_t *pos)
count             187 drivers/infiniband/hw/cxgb4/device.c 	return count;
count             331 drivers/infiniband/hw/cxgb4/device.c 	int count = 1;
count             345 drivers/infiniband/hw/cxgb4/device.c 		count++;
count             347 drivers/infiniband/hw/cxgb4/device.c 	qpd->bufsize = count * 180;
count             425 drivers/infiniband/hw/cxgb4/device.c 	int count = 1;
count             436 drivers/infiniband/hw/cxgb4/device.c 		count++;
count             438 drivers/infiniband/hw/cxgb4/device.c 	stagd->bufsize = count * 256;
count             519 drivers/infiniband/hw/cxgb4/device.c 		size_t count, loff_t *pos)
count             546 drivers/infiniband/hw/cxgb4/device.c 	return count;
count             676 drivers/infiniband/hw/cxgb4/device.c 	int count = 1;
count             687 drivers/infiniband/hw/cxgb4/device.c 		count++;
count             689 drivers/infiniband/hw/cxgb4/device.c 		count++;
count             691 drivers/infiniband/hw/cxgb4/device.c 		count++;
count             693 drivers/infiniband/hw/cxgb4/device.c 	epd->bufsize = count * 240;
count            1418 drivers/infiniband/hw/cxgb4/device.c 	int count = 0;
count            1439 drivers/infiniband/hw/cxgb4/device.c 		count++;
count            1441 drivers/infiniband/hw/cxgb4/device.c 	qp_list.qps = kcalloc(count, sizeof(*qp_list.qps), GFP_ATOMIC);
count            1021 drivers/infiniband/hw/cxgb4/iw_cxgb4.h void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count);
count            1023 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count);
count            1598 drivers/infiniband/hw/cxgb4/qp.c 	int count;
count            1622 drivers/infiniband/hw/cxgb4/qp.c 		c4iw_count_rcqes(&rchp->cq, &qhp->wq, &count);
count            1623 drivers/infiniband/hw/cxgb4/qp.c 		rq_flushed = c4iw_flush_rq(&qhp->wq, &rchp->cq, count);
count             582 drivers/infiniband/hw/cxgb4/t4.h 	int count = 8;
count             584 drivers/infiniband/hw/cxgb4/t4.h 	while (count) {
count             588 drivers/infiniband/hw/cxgb4/t4.h 		count--;
count            5908 drivers/infiniband/hw/hfi1/chip.c 	u32 count;
count            5911 drivers/infiniband/hw/hfi1/chip.c 	count = 0;
count            5919 drivers/infiniband/hw/hfi1/chip.c 		count++;
count            5920 drivers/infiniband/hw/hfi1/chip.c 		if (count > MAX_CLEAR_COUNT) {
count            13392 drivers/infiniband/hw/hfi1/chip.c 			dd->sc_sizes[SC_KERNEL].count,
count            13393 drivers/infiniband/hw/hfi1/chip.c 			dd->sc_sizes[SC_ACK].count,
count            13394 drivers/infiniband/hw/hfi1/chip.c 			dd->sc_sizes[SC_USER].count,
count            13395 drivers/infiniband/hw/hfi1/chip.c 			dd->sc_sizes[SC_VL15].count);
count            13707 drivers/infiniband/hw/hfi1/chip.c 	int count;
count            13713 drivers/infiniband/hw/hfi1/chip.c 	count = 0;
count            13726 drivers/infiniband/hw/hfi1/chip.c 		if (count++ > 500) {
count            13747 drivers/infiniband/hw/hfi1/chip.c 	count = 0;
count            13756 drivers/infiniband/hw/hfi1/chip.c 		if (count++ > 50) {
count             460 drivers/infiniband/hw/hfi1/debugfs.c 				 size_t count, loff_t *ppos)
count             469 drivers/infiniband/hw/hfi1/debugfs.c 	rval =  simple_read_from_buffer(buf, count, ppos, counters, avail);
count             475 drivers/infiniband/hw/hfi1/debugfs.c 			      size_t count, loff_t *ppos)
count             484 drivers/infiniband/hw/hfi1/debugfs.c 	rval =  simple_read_from_buffer(buf, count, ppos, names, avail);
count             500 drivers/infiniband/hw/hfi1/debugfs.c 			      size_t count, loff_t *ppos)
count             509 drivers/infiniband/hw/hfi1/debugfs.c 	rval = simple_read_from_buffer(buf, count, ppos, names, avail);
count             515 drivers/infiniband/hw/hfi1/debugfs.c 				      size_t count, loff_t *ppos)
count             524 drivers/infiniband/hw/hfi1/debugfs.c 	rval = simple_read_from_buffer(buf, count, ppos, counters, avail);
count             543 drivers/infiniband/hw/hfi1/debugfs.c 			       size_t count, loff_t *ppos)
count             586 drivers/infiniband/hw/hfi1/debugfs.c 	ret = simple_read_from_buffer(buf, count, ppos, tmp, used);
count             592 drivers/infiniband/hw/hfi1/debugfs.c 				size_t count, loff_t *ppos)
count             606 drivers/infiniband/hw/hfi1/debugfs.c 	buff = memdup_user_nul(buf, count);
count             629 drivers/infiniband/hw/hfi1/debugfs.c 	ret = count;
count             638 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos)
count             661 drivers/infiniband/hw/hfi1/debugfs.c 		end = (*ppos + count + 7) & ~0x7; /* round up */
count             670 drivers/infiniband/hw/hfi1/debugfs.c 	rval = simple_read_from_buffer(buf, count, ppos, tmp,
count             678 drivers/infiniband/hw/hfi1/debugfs.c 				size_t count, loff_t *ppos)
count             688 drivers/infiniband/hw/hfi1/debugfs.c 	if ((count % 8) != 0)
count             694 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos >= (LCB_END - LCB_START) || !count)
count             697 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos + count > LCB_END - LCB_START)
count             698 drivers/infiniband/hw/hfi1/debugfs.c 		count = (LCB_END - LCB_START) - *ppos;
count             701 drivers/infiniband/hw/hfi1/debugfs.c 	for (total = 0; total < count; total += 8, csr_off += 8) {
count             712 drivers/infiniband/hw/hfi1/debugfs.c 				 size_t count, loff_t *ppos)
count             721 drivers/infiniband/hw/hfi1/debugfs.c 	if ((count % 8) != 0)
count             727 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos >= (LCB_END - LCB_START) || !count)
count             730 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos + count > LCB_END - LCB_START)
count             731 drivers/infiniband/hw/hfi1/debugfs.c 		count = (LCB_END - LCB_START) - *ppos;
count             734 drivers/infiniband/hw/hfi1/debugfs.c 	for (total = 0; total < count; total += 8, csr_off += 8) {
count             748 drivers/infiniband/hw/hfi1/debugfs.c 				 size_t count, loff_t *ppos)
count             761 drivers/infiniband/hw/hfi1/debugfs.c 		ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
count             768 drivers/infiniband/hw/hfi1/debugfs.c 				   size_t count, loff_t *ppos, u32 target)
count             787 drivers/infiniband/hw/hfi1/debugfs.c 	buff = memdup_user(buf, count);
count             791 drivers/infiniband/hw/hfi1/debugfs.c 	total_written = i2c_write(ppd, target, i2c_addr, offset, buff, count);
count             808 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos)
count             810 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_write(file, buf, count, ppos, 0);
count             815 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos)
count             817 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_write(file, buf, count, ppos, 1);
count             822 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos, u32 target)
count             841 drivers/infiniband/hw/hfi1/debugfs.c 	buff = kmalloc(count, GFP_KERNEL);
count             845 drivers/infiniband/hw/hfi1/debugfs.c 	total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count);
count             868 drivers/infiniband/hw/hfi1/debugfs.c 				 size_t count, loff_t *ppos)
count             870 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_read(file, buf, count, ppos, 0);
count             875 drivers/infiniband/hw/hfi1/debugfs.c 				 size_t count, loff_t *ppos)
count             877 drivers/infiniband/hw/hfi1/debugfs.c 	return __i2c_debugfs_read(file, buf, count, ppos, 1);
count             882 drivers/infiniband/hw/hfi1/debugfs.c 				    size_t count, loff_t *ppos, u32 target)
count             889 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos + count > QSFP_PAGESIZE * 4) /* base page + page00-page03 */
count             894 drivers/infiniband/hw/hfi1/debugfs.c 	buff = memdup_user(buf, count);
count             898 drivers/infiniband/hw/hfi1/debugfs.c 	total_written = qsfp_write(ppd, target, *ppos, buff, count);
count             915 drivers/infiniband/hw/hfi1/debugfs.c 				   size_t count, loff_t *ppos)
count             917 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_write(file, buf, count, ppos, 0);
count             922 drivers/infiniband/hw/hfi1/debugfs.c 				   size_t count, loff_t *ppos)
count             924 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_write(file, buf, count, ppos, 1);
count             929 drivers/infiniband/hw/hfi1/debugfs.c 				   size_t count, loff_t *ppos, u32 target)
count             936 drivers/infiniband/hw/hfi1/debugfs.c 	if (*ppos + count > QSFP_PAGESIZE * 4) { /* base page + page00-page03 */
count             943 drivers/infiniband/hw/hfi1/debugfs.c 	buff = kmalloc(count, GFP_KERNEL);
count             949 drivers/infiniband/hw/hfi1/debugfs.c 	total_read = qsfp_read(ppd, target, *ppos, buff, count);
count             973 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos)
count             975 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_read(file, buf, count, ppos, 0);
count             980 drivers/infiniband/hw/hfi1/debugfs.c 				  size_t count, loff_t *ppos)
count             982 drivers/infiniband/hw/hfi1/debugfs.c 	return __qsfp_debugfs_read(file, buf, count, ppos, 1);
count            1104 drivers/infiniband/hw/hfi1/debugfs.c 				      size_t count, loff_t *ppos)
count            1110 drivers/infiniband/hw/hfi1/debugfs.c 				       const char __user *buf, size_t count,
count            1116 drivers/infiniband/hw/hfi1/debugfs.c 	if (count != 1)
count              58 drivers/infiniband/hw/hfi1/exp_rcv.c 	set->count = 0;
count              52 drivers/infiniband/hw/hfi1/exp_rcv.h #define EXP_TID_SET_EMPTY(set) (set.count == 0 && list_empty(&set.list))
count             151 drivers/infiniband/hw/hfi1/exp_rcv.h 	set->count++;
count             158 drivers/infiniband/hw/hfi1/exp_rcv.h 	set->count--;
count             174 drivers/infiniband/hw/hfi1/exp_rcv.h 	set->count--;
count             332 drivers/infiniband/hw/hfi1/file_ops.c 		unsigned long count = 0;
count             336 drivers/infiniband/hw/hfi1/file_ops.c 			dim, &count);
count             341 drivers/infiniband/hw/hfi1/file_ops.c 		dim -= count;
count             342 drivers/infiniband/hw/hfi1/file_ops.c 		done += count;
count             275 drivers/infiniband/hw/hfi1/firmware.c 	int count;
count             286 drivers/infiniband/hw/hfi1/firmware.c 	count = 0;
count             290 drivers/infiniband/hw/hfi1/firmware.c 		count++;
count             291 drivers/infiniband/hw/hfi1/firmware.c 		if (count > DC8051_ACCESS_TIMEOUT) {
count             341 drivers/infiniband/hw/hfi1/firmware.c 	int aligned, count;
count             371 drivers/infiniband/hw/hfi1/firmware.c 		count = 0;
count             375 drivers/infiniband/hw/hfi1/firmware.c 			count++;
count             376 drivers/infiniband/hw/hfi1/firmware.c 			if (count > DC8051_ACCESS_TIMEOUT) {
count            1217 drivers/infiniband/hw/hfi1/firmware.c 	u64 reg, count = 0;
count            1229 drivers/infiniband/hw/hfi1/firmware.c 		if (count++ >= SBUS_MAX_POLL_COUNT) {
count            1245 drivers/infiniband/hw/hfi1/firmware.c 	count = 0;
count            1250 drivers/infiniband/hw/hfi1/firmware.c 		if (count++ >= SBUS_MAX_POLL_COUNT)
count            1375 drivers/infiniband/hw/hfi1/firmware.c 				 const u8 *addrs, int count)
count            1377 drivers/infiniband/hw/hfi1/firmware.c 	while (--count >= 0) {
count            1390 drivers/infiniband/hw/hfi1/firmware.c 		sbus_request(dd, addrs[count], 0xfd, WRITE_SBUS_RECEIVER,
count            1651 drivers/infiniband/hw/hfi1/firmware.c 	u64 reg, count = 0;
count            1656 drivers/infiniband/hw/hfi1/firmware.c 		if (count++ >= SBUS_MAX_POLL_COUNT)
count             189 drivers/infiniband/hw/hfi1/hfi.h 	u16 count;               /* size of buffers array */
count             197 drivers/infiniband/hw/hfi1/hfi.h 	u32 count;
count            1354 drivers/infiniband/hw/hfi1/hfi.h 				u64 pbc, const void *from, size_t count);
count             432 drivers/infiniband/hw/hfi1/init.c 		rcd->egrbufs.count = round_down(rcvtids,
count             434 drivers/infiniband/hw/hfi1/init.c 		if (rcd->egrbufs.count > MAX_EAGER_ENTRIES) {
count             437 drivers/infiniband/hw/hfi1/init.c 			rcd->egrbufs.count = MAX_EAGER_ENTRIES;
count             441 drivers/infiniband/hw/hfi1/init.c 			  rcd->ctxt, rcd->egrbufs.count);
count             452 drivers/infiniband/hw/hfi1/init.c 			kcalloc_node(rcd->egrbufs.count,
count             458 drivers/infiniband/hw/hfi1/init.c 			kcalloc_node(rcd->egrbufs.count,
count            1966 drivers/infiniband/hw/hfi1/init.c 	       rcd->egrbufs.alloced < rcd->egrbufs.count) {
count            2018 drivers/infiniband/hw/hfi1/init.c 				if (i >= rcd->egrbufs.count)
count              55 drivers/infiniband/hw/hfi1/iowait.c 	wait->count = 0;
count             156 drivers/infiniband/hw/hfi1/iowait.h 	u32 count;
count             244 drivers/infiniband/hw/hfi1/iowait.h static inline void iowait_sdma_add(struct iowait *wait, int count)
count             246 drivers/infiniband/hw/hfi1/iowait.h 	atomic_add(count, &wait->sdma_busy);
count             463 drivers/infiniband/hw/hfi1/iowait.h 	w->iow->count += n;
count             154 drivers/infiniband/hw/hfi1/pio.c 			.count = SCC_PER_VL },	/* one per NUMA */
count             156 drivers/infiniband/hw/hfi1/pio.c 			.count = SCC_PER_KRCVQ },
count             158 drivers/infiniband/hw/hfi1/pio.c 			.count = SCC_PER_CPU },	/* one per CPU */
count             160 drivers/infiniband/hw/hfi1/pio.c 			.count = 1 },
count             183 drivers/infiniband/hw/hfi1/pio.c 	int count;		/* count of contexts in the pool */
count             320 drivers/infiniband/hw/hfi1/pio.c 		int count = sc_config_sizes[i].count;
count             331 drivers/infiniband/hw/hfi1/pio.c 			count = dd->n_krcv_queues;
count             333 drivers/infiniband/hw/hfi1/pio.c 			count = INIT_SC_PER_VL * num_vls;
count             334 drivers/infiniband/hw/hfi1/pio.c 		} else if (count == SCC_PER_CPU) {
count             335 drivers/infiniband/hw/hfi1/pio.c 			count = dd->num_rcv_contexts - dd->n_krcv_queues;
count             336 drivers/infiniband/hw/hfi1/pio.c 		} else if (count < 0) {
count             340 drivers/infiniband/hw/hfi1/pio.c 				sc_type_name(i), count);
count             343 drivers/infiniband/hw/hfi1/pio.c 		if (total_contexts + count > chip_send_contexts(dd))
count             344 drivers/infiniband/hw/hfi1/pio.c 			count = chip_send_contexts(dd) - total_contexts;
count             346 drivers/infiniband/hw/hfi1/pio.c 		total_contexts += count;
count             356 drivers/infiniband/hw/hfi1/pio.c 			fixed_blocks += size * count;
count             358 drivers/infiniband/hw/hfi1/pio.c 			mem_pool_info[pool].count += count;
count             367 drivers/infiniband/hw/hfi1/pio.c 		dd->sc_sizes[i].count = count;
count             397 drivers/infiniband/hw/hfi1/pio.c 		if (pi->blocks == 0 && pi->count != 0) {
count             401 drivers/infiniband/hw/hfi1/pio.c 				i, pi->count);
count             404 drivers/infiniband/hw/hfi1/pio.c 		if (pi->count == 0) {
count             413 drivers/infiniband/hw/hfi1/pio.c 			pi->size = pi->blocks / pi->count;
count             432 drivers/infiniband/hw/hfi1/pio.c 		used_blocks += dd->sc_sizes[i].size * dd->sc_sizes[i].count;
count             475 drivers/infiniband/hw/hfi1/pio.c 		for (j = 0; j < scs->count; j++) {
count            1076 drivers/infiniband/hw/hfi1/pio.c 	int count;
count            1119 drivers/infiniband/hw/hfi1/pio.c 			count = get_buffers_allocated(sc);
count            1120 drivers/infiniband/hw/hfi1/pio.c 			if (count == 0)
count            1126 drivers/infiniband/hw/hfi1/pio.c 					   sc->hw_context, count);
count            1236 drivers/infiniband/hw/hfi1/pio.c 	int max, count = 0;
count            1244 drivers/infiniband/hw/hfi1/pio.c 		if (count >= max)
count            1247 drivers/infiniband/hw/hfi1/pio.c 		count++;
count             168 drivers/infiniband/hw/hfi1/pio.h 	short int count;
count             328 drivers/infiniband/hw/hfi1/pio.h 	      const void *from, size_t count);
count              72 drivers/infiniband/hw/hfi1/pio_copy.c 	      const void *from, size_t count)
count              83 drivers/infiniband/hw/hfi1/pio_copy.c 	dend = dest + ((count >> 1) * sizeof(u64));
count             146 drivers/infiniband/hw/hfi1/pio_copy.c 	if (count & 1) {
count             400 drivers/infiniband/hw/hfi1/qsfp.c 	int count = 0;
count             409 drivers/infiniband/hw/hfi1/qsfp.c 	while (count < len) {
count             428 drivers/infiniband/hw/hfi1/qsfp.c 		nwrite = len - count;
count             434 drivers/infiniband/hw/hfi1/qsfp.c 				  offset, bp + count, nwrite);
count             440 drivers/infiniband/hw/hfi1/qsfp.c 		count += nwrite;
count             446 drivers/infiniband/hw/hfi1/qsfp.c 	return count;
count             480 drivers/infiniband/hw/hfi1/qsfp.c 	int count = 0;
count             489 drivers/infiniband/hw/hfi1/qsfp.c 	while (count < len) {
count             507 drivers/infiniband/hw/hfi1/qsfp.c 		nread = len - count;
count             513 drivers/infiniband/hw/hfi1/qsfp.c 				 offset, bp + count, nread);
count             517 drivers/infiniband/hw/hfi1/qsfp.c 		count += nread;
count             523 drivers/infiniband/hw/hfi1/qsfp.c 	return count;
count             728 drivers/infiniband/hw/hfi1/sdma.c 	u16 count = sdma_descq_cnt;
count             730 drivers/infiniband/hw/hfi1/sdma.c 	if (!count)
count             735 drivers/infiniband/hw/hfi1/sdma.c 	if (!is_power_of_2(count))
count             737 drivers/infiniband/hw/hfi1/sdma.c 	if (count < 64 || count > 32768)
count             739 drivers/infiniband/hw/hfi1/sdma.c 	return count;
count             934 drivers/infiniband/hw/hfi1/sdma.c 				size_t count)
count            1068 drivers/infiniband/hw/hfi1/sdma.h 				size_t count);
count              62 drivers/infiniband/hw/hfi1/sysfs.c 				 char *buf, loff_t pos, size_t count)
count              75 drivers/infiniband/hw/hfi1/sysfs.c 	if (count > ret - pos)
count              76 drivers/infiniband/hw/hfi1/sysfs.c 		count = ret - pos;
count              78 drivers/infiniband/hw/hfi1/sysfs.c 	if (!count)
count              79 drivers/infiniband/hw/hfi1/sysfs.c 		return count;
count              87 drivers/infiniband/hw/hfi1/sysfs.c 	memcpy(buf, (void *)&cc_state->cct + pos, count);
count              90 drivers/infiniband/hw/hfi1/sysfs.c 	return count;
count             111 drivers/infiniband/hw/hfi1/sysfs.c 				   char *buf, loff_t pos, size_t count)
count             122 drivers/infiniband/hw/hfi1/sysfs.c 	if (count > ret - pos)
count             123 drivers/infiniband/hw/hfi1/sysfs.c 		count = ret - pos;
count             125 drivers/infiniband/hw/hfi1/sysfs.c 	if (!count)
count             126 drivers/infiniband/hw/hfi1/sysfs.c 		return count;
count             134 drivers/infiniband/hw/hfi1/sysfs.c 	memcpy(buf, (void *)&cc_state->cong_setting + pos, count);
count             137 drivers/infiniband/hw/hfi1/sysfs.c 	return count;
count             158 drivers/infiniband/hw/hfi1/sysfs.c 				size_t count)
count             165 drivers/infiniband/hw/hfi1/sysfs.c 	return count;
count             183 drivers/infiniband/hw/hfi1/sysfs.c 			     const char *buf, size_t count)
count             190 drivers/infiniband/hw/hfi1/sysfs.c 	return port_attr->store(ppd, buf, count);
count             550 drivers/infiniband/hw/hfi1/sysfs.c 			     (u32)dd->sc_sizes[SC_USER].count));
count             579 drivers/infiniband/hw/hfi1/sysfs.c 				size_t count)
count             586 drivers/infiniband/hw/hfi1/sysfs.c 	if (count < 5 || memcmp(buf, "reset", 5) || !dd->diag_client) {
count             593 drivers/infiniband/hw/hfi1/sysfs.c 	return ret < 0 ? ret : count;
count             772 drivers/infiniband/hw/hfi1/sysfs.c 			 const char *buf, size_t count)
count             785 drivers/infiniband/hw/hfi1/sysfs.c 	return sde_attr->store(sde, buf, count);
count             807 drivers/infiniband/hw/hfi1/sysfs.c 					const char *buf, size_t count)
count             809 drivers/infiniband/hw/hfi1/sysfs.c 	return sdma_set_cpu_to_sde_map(sde, buf, count);
count             856 drivers/infiniband/hw/hfi1/tid_rdma.c 	u8 count = s->count;
count             858 drivers/infiniband/hw/hfi1/tid_rdma.c 	return ilog2(count) + 1;
count             928 drivers/infiniband/hw/hfi1/tid_rdma.c 				list[setcount].count = maxpages;
count             931 drivers/infiniband/hw/hfi1/tid_rdma.c 						       list[setcount].count);
count             946 drivers/infiniband/hw/hfi1/tid_rdma.c 		list[setcount++].count = 0;
count             981 drivers/infiniband/hw/hfi1/tid_rdma.c 		list[sets++].count = maxpages;
count             987 drivers/infiniband/hw/hfi1/tid_rdma.c 		list[sets++].count = 0;
count            1037 drivers/infiniband/hw/hfi1/tid_rdma.c 			list[sets++].count = 1;
count            1039 drivers/infiniband/hw/hfi1/tid_rdma.c 				list[sets].count = 1;
count            1042 drivers/infiniband/hw/hfi1/tid_rdma.c 				list[sets++].count = 0;
count            1124 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (pset->count && pset->addr) {
count            1127 drivers/infiniband/hw/hfi1/tid_rdma.c 				       PAGE_SIZE * pset->count,
count            1142 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (pset->count) {
count            1146 drivers/infiniband/hw/hfi1/tid_rdma.c 						  PAGE_SIZE * pset->count,
count            1313 drivers/infiniband/hw/hfi1/tid_rdma.c 		if (pset->count) {
count            1319 drivers/infiniband/hw/hfi1/tid_rdma.c 		npages += pset->count;
count            1333 drivers/infiniband/hw/hfi1/tid_rdma.c 			if (!pset->count)
count             153 drivers/infiniband/hw/hfi1/tid_rdma.h 	u8 count : 7;
count             457 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_PROTO(struct rvt_qp *qp, u32 index, u16 idx, u16 count),
count             458 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_ARGS(qp, index, idx, count),
count             464 drivers/infiniband/hw/hfi1/trace_tid.h 		__field(u16, count)
count             471 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->count = count;
count             479 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->count
count             485 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_PROTO(struct rvt_qp *qp, u32 index, u16 idx, u16 count),
count             486 drivers/infiniband/hw/hfi1/trace_tid.h 	TP_ARGS(qp, index, idx, count)
count              69 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			    unsigned int start, u16 count,
count             385 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	while (ngroups && uctxt->tid_group_list.count) {
count             417 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		if (!uctxt->tid_used_list.count || need_group) {
count             418 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			if (!uctxt->tid_group_list.count)
count             638 drivers/infiniband/hw/hfi1/user_exp_rcv.c 				list[setcount].count = maxpages;
count             682 drivers/infiniband/hw/hfi1/user_exp_rcv.c 			    unsigned int start, u16 count,
count             693 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	if (count > grp->size)
count             706 drivers/infiniband/hw/hfi1/user_exp_rcv.c 	while (idx < count) {
count             723 drivers/infiniband/hw/hfi1/user_exp_rcv.c 		npages = tbuf->psets[setidx].count;
count              55 drivers/infiniband/hw/hfi1/user_exp_rcv.h 	u16 count;
count             344 drivers/infiniband/hw/hfi1/user_sdma.c 				   unsigned long *count)
count             612 drivers/infiniband/hw/hfi1/user_sdma.c 	*count += idx;
count             781 drivers/infiniband/hw/hfi1/user_sdma.c 	u16 count;
count             936 drivers/infiniband/hw/hfi1/user_sdma.c 			       &req->txps, &count);
count             937 drivers/infiniband/hw/hfi1/user_sdma.c 	req->seqsubmitted += count;
count             251 drivers/infiniband/hw/hfi1/user_sdma.h 				   unsigned long *count);
count            1762 drivers/infiniband/hw/hfi1/verbs.c 	int count;
count            1772 drivers/infiniband/hw/hfi1/verbs.c 		count = num_dev_cntrs + num_driver_cntrs;
count            1777 drivers/infiniband/hw/hfi1/verbs.c 		count = num_port_cntrs;
count            1780 drivers/infiniband/hw/hfi1/verbs.c 	memcpy(stats->value, values, count * sizeof(u64));
count            1781 drivers/infiniband/hw/hfi1/verbs.c 	return count;
count             304 drivers/infiniband/hw/hns/hns_roce_alloc.c 	region->count = buf_cnt;
count             325 drivers/infiniband/hw/hns/hns_roce_alloc.c 		bufs[i] = kcalloc(r->count, sizeof(dma_addr_t), GFP_KERNEL);
count             350 drivers/infiniband/hw/hns/hns_roce_device.h 	u32 count; /* page count */
count            1220 drivers/infiniband/hw/hns/hns_roce_device.h 			    dma_addr_t **bufs, int count);
count            1221 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_free_buf_list(dma_addr_t **bufs, int count);
count            1123 drivers/infiniband/hw/hns/hns_roce_hem.c 	size_t count; /* max ba numbers */
count            1130 drivers/infiniband/hw/hns/hns_roce_hem.c 						   int count, bool exist_bt,
count            1141 drivers/infiniband/hw/hns/hns_roce_hem.c 						   count * BA_BYTE_LEN,
count            1149 drivers/infiniband/hw/hns/hns_roce_hem.c 	hem->count = count;
count            1162 drivers/infiniband/hw/hns/hns_roce_hem.c 		dma_free_coherent(hr_dev->dev, hem->count * BA_BYTE_LEN,
count            1279 drivers/infiniband/hw/hns/hns_roce_hem.c 				total += (r->count + step - 1) / step;
count            1281 drivers/infiniband/hw/hns/hns_roce_hem.c 			total += r->count;
count            1320 drivers/infiniband/hw/hns/hns_roce_hem.c 	max_ofs = r->offset + r->count - 1;
count            1400 drivers/infiniband/hw/hns/hns_roce_hem.c 	root_hem = hem_list_alloc_item(hr_dev, total, r->offset + r->count - 1,
count            1415 drivers/infiniband/hw/hns/hns_roce_hem.c 		if (!r->count)
count            1427 drivers/infiniband/hw/hns/hns_roce_hem.c 						  r->offset + r->count - 1,
count            1428 drivers/infiniband/hw/hns/hns_roce_hem.c 						  r->count, false, 0);
count            1436 drivers/infiniband/hw/hns/hns_roce_hem.c 			total += r->count;
count            1491 drivers/infiniband/hw/hns/hns_roce_hem.c 		if (!r->count)
count            1494 drivers/infiniband/hw/hns/hns_roce_hem.c 		end = r->offset + r->count;
count            3683 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	int count;
count            3690 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr,
count            3694 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		if (!check_wqe_rq_mtt_count(hr_dev, hr_qp, count, page_size))
count            3923 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	int count;
count            3926 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, 0, &sq_cur_blk, 1, NULL);
count            3927 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (count < 1) {
count            3934 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr,
count            3937 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		if (count < 1) {
count            1582 drivers/infiniband/hw/hns/hns_roce_mr.c 	int count;
count            1589 drivers/infiniband/hw/hns/hns_roce_mr.c 	end = offset + r->count;
count            1593 drivers/infiniband/hw/hns/hns_roce_mr.c 						  offset, &count, NULL);
count            1598 drivers/infiniband/hw/hns/hns_roce_mr.c 		for (i = 0; i < count; i++) {
count            1606 drivers/infiniband/hw/hns/hns_roce_mr.c 		offset += count;
count             767 drivers/infiniband/hw/hns/hns_roce_qp.c 					buf_list[i], r->count, r->offset,
count             769 drivers/infiniband/hw/hns/hns_roce_qp.c 			if (buf_count != r->count) {
count             772 drivers/infiniband/hw/hns/hns_roce_qp.c 					r->count, buf_count);
count             868 drivers/infiniband/hw/hns/hns_roce_qp.c 					buf_list[i], r->count, r->offset,
count             870 drivers/infiniband/hw/hns/hns_roce_qp.c 			if (buf_count != r->count) {
count             873 drivers/infiniband/hw/hns/hns_roce_qp.c 					r->count, buf_count);
count              61 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 		cqp_timeout->count = 0;
count              64 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 			cqp_timeout->count++;
count             100 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 						u32 count)
count             105 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 	while (i < count) {
count            1894 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 							  u32 count)
count            1898 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 		i40iw_wr32(dev->hw, I40E_PFPE_AEQALLOC, count);
count            1900 drivers/infiniband/hw/i40iw/i40iw_ctrl.c 		i40iw_wr32(dev->hw, I40E_VFPE_AEQALLOC1, count);
count             275 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if ((info->start_idx + info->count) >
count             309 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if ((info->start_idx + info->count) >
count             313 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			    __func__, info->rsrc_type, info->start_idx, info->count,
count             319 drivers/infiniband/hw/i40iw/i40iw_hmc.c 		return i40iw_vchnl_vf_add_hmc_objs(dev, info->rsrc_type, 0, info->count);
count             322 drivers/infiniband/hw/i40iw/i40iw_hmc.c 				  info->start_idx, info->count,
count             329 drivers/infiniband/hw/i40iw/i40iw_hmc.c 				  info->start_idx, info->count, &pd_idx, &pd_lmt);
count             465 drivers/infiniband/hw/i40iw/i40iw_hmc.c 	if ((info->start_idx + info->count) >
count             469 drivers/infiniband/hw/i40iw/i40iw_hmc.c 			    __func__, info->start_idx, info->count,
count             476 drivers/infiniband/hw/i40iw/i40iw_hmc.c 						      info->count);
count             482 drivers/infiniband/hw/i40iw/i40iw_hmc.c 				  info->start_idx, info->count, &pd_idx, &pd_lmt);
count             504 drivers/infiniband/hw/i40iw/i40iw_hmc.c 				  info->start_idx, info->count, &sd_idx, &sd_lmt);
count             196 drivers/infiniband/hw/i40iw/i40iw_hmc.h 	u32 count;
count             207 drivers/infiniband/hw/i40iw/i40iw_hmc.h 	u32 count;
count             417 drivers/infiniband/hw/i40iw/i40iw_main.c 	info.count = hmc_info->hmc_obj[obj_type].cnt;
count             489 drivers/infiniband/hw/i40iw/i40iw_main.c 		info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt;
count             938 drivers/infiniband/hw/i40iw/i40iw_main.c 	info.count = 1;
count             967 drivers/infiniband/hw/i40iw/i40iw_main.c 	info.count = 1;
count             851 drivers/infiniband/hw/i40iw/i40iw_puda.c 						   u32 count)
count             857 drivers/infiniband/hw/i40iw/i40iw_puda.c 	for (i = 0; i < count; i++) {
count             892 drivers/infiniband/hw/i40iw/i40iw_puda.c 	info->count = 1;
count             915 drivers/infiniband/hw/i40iw/i40iw_puda.c 		vsi->ilq_count = info->count;
count             920 drivers/infiniband/hw/i40iw/i40iw_puda.c 		vsi->ieq_count = info->count;
count             101 drivers/infiniband/hw/i40iw/i40iw_puda.h 	u32 count;
count            1360 drivers/infiniband/hw/i40iw/i40iw_type.h 	u8 count;
count             735 drivers/infiniband/hw/i40iw/i40iw_uk.c 						    u8 count)
count             737 drivers/infiniband/hw/i40iw/i40iw_uk.c 	I40IW_RING_MOVE_TAIL_BY_COUNT(cq->cq_ring, count);
count             308 drivers/infiniband/hw/i40iw/i40iw_user.h 	enum i40iw_status_code (*iw_cq_post_entries)(struct i40iw_cq_uk *, u8 count);
count             523 drivers/infiniband/hw/i40iw/i40iw_utils.c 		if (cqp_timeout.count < CQP_TIMEOUT_THRESHOLD)
count             360 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c 	info.count = add_hmc_obj->obj_count;
count             363 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c 		    info.count, info.rsrc_type);
count             395 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c 	info.count = del_hmc_obj->obj_count;
count             398 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c 		    info.count, info.rsrc_type);
count            2947 drivers/infiniband/hw/mlx4/main.c int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn)
count            2955 drivers/infiniband/hw/mlx4/main.c 					 get_count_order(count));
count            2963 drivers/infiniband/hw/mlx4/main.c void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count)
count            2976 drivers/infiniband/hw/mlx4/main.c 			      get_count_order(count));
count            1079 drivers/infiniband/hw/mlx4/mcg.c 	int count;
count            1086 drivers/infiniband/hw/mlx4/mcg.c 		count = 0;
count            1089 drivers/infiniband/hw/mlx4/mcg.c 			++count;
count            1091 drivers/infiniband/hw/mlx4/mcg.c 		if (!count)
count             890 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn);
count             891 drivers/infiniband/hw/mlx4/mlx4_ib.h void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count);
count              70 drivers/infiniband/hw/mlx4/sysfs.c 				      const char *buf, size_t count)
count              85 drivers/infiniband/hw/mlx4/sysfs.c 		return count;
count             108 drivers/infiniband/hw/mlx4/sysfs.c 	return count;
count             169 drivers/infiniband/hw/mlx4/sysfs.c 					       const char *buf, size_t count)
count             395 drivers/infiniband/hw/mlx4/sysfs.c 			 const char *buf, size_t count);
count             457 drivers/infiniband/hw/mlx4/sysfs.c 			       const char *buf, size_t count)
count             485 drivers/infiniband/hw/mlx4/sysfs.c 	return count;
count             498 drivers/infiniband/hw/mlx4/sysfs.c 				   const char *buf, size_t count),
count             573 drivers/infiniband/hw/mlx4/sysfs.c 					    const char *buf, size_t count)
count             585 drivers/infiniband/hw/mlx4/sysfs.c 	return count;
count             330 drivers/infiniband/hw/mlx5/cong.c 			 size_t count, loff_t *pos)
count             338 drivers/infiniband/hw/mlx5/cong.c 	if (count > sizeof(lbuf))
count             341 drivers/infiniband/hw/mlx5/cong.c 	if (copy_from_user(lbuf, buf, count))
count             350 drivers/infiniband/hw/mlx5/cong.c 	return ret ? ret : count;
count             353 drivers/infiniband/hw/mlx5/cong.c static ssize_t get_param(struct file *filp, char __user *buf, size_t count,
count             370 drivers/infiniband/hw/mlx5/cong.c 	return simple_read_from_buffer(buf, count, pos, lbuf, ret);
count            2446 drivers/infiniband/hw/mlx5/devx.c 					 size_t count, loff_t *pos)
count            2481 drivers/infiniband/hw/mlx5/devx.c 	if (eventsz > count) {
count            2544 drivers/infiniband/hw/mlx5/devx.c 				     size_t count, loff_t *pos)
count            2602 drivers/infiniband/hw/mlx5/devx.c 	if (eventsz > count) {
count            1369 drivers/infiniband/hw/mlx5/main.c 	unsigned int count;
count            1403 drivers/infiniband/hw/mlx5/main.c 		count = mlx5_core_reserved_gids_count(mdev);
count            1406 drivers/infiniband/hw/mlx5/main.c 		props->gid_tbl_len -= count;
count            1848 drivers/infiniband/hw/mlx5/main.c 	bfregi->count = kcalloc(bfregi->total_num_bfregs, sizeof(*bfregi->count),
count            1850 drivers/infiniband/hw/mlx5/main.c 	if (!bfregi->count) {
count            1983 drivers/infiniband/hw/mlx5/main.c 	kfree(bfregi->count);
count            2003 drivers/infiniband/hw/mlx5/main.c 	kfree(bfregi->count);
count            2146 drivers/infiniband/hw/mlx5/main.c 		if (bfregi->count[bfreg_dyn_idx]) {
count            2152 drivers/infiniband/hw/mlx5/main.c 		bfregi->count[bfreg_dyn_idx]++;
count            5726 drivers/infiniband/hw/mlx5/main.c 				       size_t count, loff_t *pos)
count            5733 drivers/infiniband/hw/mlx5/main.c 	return simple_read_from_buffer(buf, count, pos, lbuf, len);
count            5737 drivers/infiniband/hw/mlx5/main.c 					size_t count, loff_t *pos)
count            5743 drivers/infiniband/hw/mlx5/main.c 	if (kstrtouint_from_user(buf, count, 0, &var))
count            5754 drivers/infiniband/hw/mlx5/main.c 	return count;
count              48 drivers/infiniband/hw/mlx5/mem.c 			int *count, int *shift,
count             100 drivers/infiniband/hw/mlx5/mem.c 	*count = i;
count            1213 drivers/infiniband/hw/mlx5/mlx5_ib.h 			int *count, int *shift,
count             231 drivers/infiniband/hw/mlx5/mr.c 			  size_t count, loff_t *pos)
count             240 drivers/infiniband/hw/mlx5/mr.c 	count = min(count, sizeof(lbuf) - 1);
count             241 drivers/infiniband/hw/mlx5/mr.c 	if (copy_from_user(lbuf, buf, count))
count             264 drivers/infiniband/hw/mlx5/mr.c 	return count;
count             267 drivers/infiniband/hw/mlx5/mr.c static ssize_t size_read(struct file *filp, char __user *buf, size_t count,
count             278 drivers/infiniband/hw/mlx5/mr.c 	return simple_read_from_buffer(buf, count, pos, lbuf, err);
count             289 drivers/infiniband/hw/mlx5/mr.c 			   size_t count, loff_t *pos)
count             298 drivers/infiniband/hw/mlx5/mr.c 	count = min(count, sizeof(lbuf) - 1);
count             299 drivers/infiniband/hw/mlx5/mr.c 	if (copy_from_user(lbuf, buf, count))
count             318 drivers/infiniband/hw/mlx5/mr.c 	return count;
count             321 drivers/infiniband/hw/mlx5/mr.c static ssize_t limit_read(struct file *filp, char __user *buf, size_t count,
count             332 drivers/infiniband/hw/mlx5/mr.c 	return simple_read_from_buffer(buf, count, pos, lbuf, err);
count             619 drivers/infiniband/hw/mlx5/qp.c 		if (!bfregi->count[i]) {
count             620 drivers/infiniband/hw/mlx5/qp.c 			bfregi->count[i]++;
count             638 drivers/infiniband/hw/mlx5/qp.c 		if (bfregi->count[i] < bfregi->count[minidx])
count             640 drivers/infiniband/hw/mlx5/qp.c 		if (!bfregi->count[minidx])
count             644 drivers/infiniband/hw/mlx5/qp.c 	bfregi->count[minidx]++;
count             663 drivers/infiniband/hw/mlx5/qp.c 		bfregi->count[bfregn]++;
count             673 drivers/infiniband/hw/mlx5/qp.c 	bfregi->count[bfregn]--;
count            1839 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		u8 count = 0;
count            1842 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			count = 0;
count            1845 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			count = 1;
count            1848 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			count = 2;
count            1853 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->cmd.ev_cnt_flags |= (count << OCRDMA_CREATE_CQ_CNT_SHIFT);
count              50 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 				char *name, u64 count)
count              55 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	snprintf(buff, 128, "%s: %llu\n", name, count);
count             636 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 					size_t count, loff_t *ppos)
count             644 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	if (*ppos != 0 || count == 0 || count > sizeof(tmp_str))
count             647 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	if (copy_from_user(tmp_str, buffer, count))
count             650 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	tmp_str[count-1] = '\0';
count             668 drivers/infiniband/hw/ocrdma/ocrdma_stats.c 	return count;
count            1145 drivers/infiniband/hw/qib/qib.h void qib_pio_copy(void __iomem *to, const void *from, size_t count);
count             134 drivers/infiniband/hw/qib/qib_diag.c 			     size_t count, loff_t *off);
count             136 drivers/infiniband/hw/qib/qib_diag.c 			      size_t count, loff_t *off);
count             152 drivers/infiniband/hw/qib/qib_diag.c 				 size_t count, loff_t *off);
count             340 drivers/infiniband/hw/qib/qib_diag.c 			   u32 regoffs, size_t count)
count             352 drivers/infiniband/hw/qib/qib_diag.c 	if (count >= limit)
count             353 drivers/infiniband/hw/qib/qib_diag.c 		count = limit;
count             354 drivers/infiniband/hw/qib/qib_diag.c 	reg_end = reg_addr + (count / sizeof(u64));
count             384 drivers/infiniband/hw/qib/qib_diag.c 			    const void __user *uaddr, size_t count)
count             396 drivers/infiniband/hw/qib/qib_diag.c 	if (count >= limit)
count             397 drivers/infiniband/hw/qib/qib_diag.c 		count = limit;
count             398 drivers/infiniband/hw/qib/qib_diag.c 	reg_end = reg_addr + (count / sizeof(u64));
count             429 drivers/infiniband/hw/qib/qib_diag.c 			   u32 regoffs, size_t count)
count             441 drivers/infiniband/hw/qib/qib_diag.c 	if (count >= limit)
count             442 drivers/infiniband/hw/qib/qib_diag.c 		count = limit;
count             443 drivers/infiniband/hw/qib/qib_diag.c 	reg_end = reg_addr + (count / sizeof(u32));
count             475 drivers/infiniband/hw/qib/qib_diag.c 			    const void __user *uaddr, size_t count)
count             487 drivers/infiniband/hw/qib/qib_diag.c 	if (count >= limit)
count             488 drivers/infiniband/hw/qib/qib_diag.c 		count = limit;
count             489 drivers/infiniband/hw/qib/qib_diag.c 	reg_end = reg_addr + (count / sizeof(u32));
count             549 drivers/infiniband/hw/qib/qib_diag.c 				 size_t count, loff_t *off)
count             559 drivers/infiniband/hw/qib/qib_diag.c 	if (count != sizeof(dp)) {
count             760 drivers/infiniband/hw/qib/qib_diag.c 			     size_t count, loff_t *off)
count             771 drivers/infiniband/hw/qib/qib_diag.c 	if (count == 0)
count             773 drivers/infiniband/hw/qib/qib_diag.c 	else if ((count % 4) || (*off % 4))
count             776 drivers/infiniband/hw/qib/qib_diag.c 	else if (dc->state < READY && (*off || count != 8))
count             784 drivers/infiniband/hw/qib/qib_diag.c 		use_32 = (count % 8) || (*off % 8);
count             810 drivers/infiniband/hw/qib/qib_diag.c 						      count);
count             813 drivers/infiniband/hw/qib/qib_diag.c 						      count);
count             814 drivers/infiniband/hw/qib/qib_diag.c 		} else if (ret == count) {
count             824 drivers/infiniband/hw/qib/qib_diag.c 		*off += count;
count             825 drivers/infiniband/hw/qib/qib_diag.c 		ret = count;
count             834 drivers/infiniband/hw/qib/qib_diag.c 			      size_t count, loff_t *off)
count             845 drivers/infiniband/hw/qib/qib_diag.c 	if (count == 0)
count             847 drivers/infiniband/hw/qib/qib_diag.c 	else if ((count % 4) || (*off % 4))
count             851 drivers/infiniband/hw/qib/qib_diag.c 		((*off || count != 8) || dc->state != INIT))
count             857 drivers/infiniband/hw/qib/qib_diag.c 		int use_32 =  (count % 8) || (*off % 8);
count             867 drivers/infiniband/hw/qib/qib_diag.c 		if (count == 4 || count == 8) {
count             871 drivers/infiniband/hw/qib/qib_diag.c 			ret = copy_from_user(&data64, data, count);
count             891 drivers/infiniband/hw/qib/qib_diag.c 						       count);
count             894 drivers/infiniband/hw/qib/qib_diag.c 						       count);
count             899 drivers/infiniband/hw/qib/qib_diag.c 		*off += count;
count             900 drivers/infiniband/hw/qib/qib_diag.c 		ret = count;
count            2034 drivers/infiniband/hw/qib/qib_file_ops.c 			 size_t count, loff_t *off)
count            2050 drivers/infiniband/hw/qib/qib_file_ops.c 	if (count < sizeof(cmd.type)) {
count            2140 drivers/infiniband/hw/qib/qib_file_ops.c 		if ((count - consumed) < copy) {
count             106 drivers/infiniband/hw/qib/qib_fs.c 				 size_t count, loff_t *ppos)
count             109 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, &qib_stats,
count             134 drivers/infiniband/hw/qib/qib_fs.c 				 size_t count, loff_t *ppos)
count             136 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, qib_statnames,
count             147 drivers/infiniband/hw/qib/qib_fs.c 				 size_t count, loff_t *ppos)
count             154 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, counters, avail);
count             159 drivers/infiniband/hw/qib/qib_fs.c 			      size_t count, loff_t *ppos)
count             166 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, names, avail);
count             181 drivers/infiniband/hw/qib/qib_fs.c 			      size_t count, loff_t *ppos)
count             188 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, names, avail);
count             193 drivers/infiniband/hw/qib/qib_fs.c 				size_t count, loff_t *ppos)
count             200 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, counters, avail);
count             205 drivers/infiniband/hw/qib/qib_fs.c 				size_t count, loff_t *ppos)
count             212 drivers/infiniband/hw/qib/qib_fs.c 	return simple_read_from_buffer(buf, count, ppos, counters, avail);
count             225 drivers/infiniband/hw/qib/qib_fs.c 			   size_t count, loff_t *ppos)
count             237 drivers/infiniband/hw/qib/qib_fs.c 		ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
count             246 drivers/infiniband/hw/qib/qib_fs.c 			   size_t count, loff_t *ppos)
count             261 drivers/infiniband/hw/qib/qib_fs.c 		ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
count             272 drivers/infiniband/hw/qib/qib_fs.c 			  size_t count, loff_t *ppos)
count             291 drivers/infiniband/hw/qib/qib_fs.c 	if (count > sizeof(struct qib_flash) - pos)
count             292 drivers/infiniband/hw/qib/qib_fs.c 		count = sizeof(struct qib_flash) - pos;
count             294 drivers/infiniband/hw/qib/qib_fs.c 	tmp = kmalloc(count, GFP_KERNEL);
count             301 drivers/infiniband/hw/qib/qib_fs.c 	if (qib_eeprom_read(dd, pos, tmp, count)) {
count             307 drivers/infiniband/hw/qib/qib_fs.c 	if (copy_to_user(buf, tmp, count)) {
count             312 drivers/infiniband/hw/qib/qib_fs.c 	*ppos = pos + count;
count             313 drivers/infiniband/hw/qib/qib_fs.c 	ret = count;
count             323 drivers/infiniband/hw/qib/qib_fs.c 			   size_t count, loff_t *ppos)
count             332 drivers/infiniband/hw/qib/qib_fs.c 	if (pos != 0 || count != sizeof(struct qib_flash))
count             335 drivers/infiniband/hw/qib/qib_fs.c 	tmp = memdup_user(buf, count);
count             340 drivers/infiniband/hw/qib/qib_fs.c 	if (qib_eeprom_write(dd, pos, tmp, count)) {
count             346 drivers/infiniband/hw/qib/qib_fs.c 	*ppos = pos + count;
count             347 drivers/infiniband/hw/qib/qib_fs.c 	ret = count;
count            1107 drivers/infiniband/hw/qib/qib_init.c 		u32 count = num_online_cpus();
count            1109 drivers/infiniband/hw/qib/qib_init.c 		qib_cpulist = kcalloc(BITS_TO_LONGS(count), sizeof(long),
count            1112 drivers/infiniband/hw/qib/qib_init.c 			qib_cpulist_count = count;
count              45 drivers/infiniband/hw/qib/qib_pio_copy.c void qib_pio_copy(void __iomem *to, const void *from, size_t count)
count              50 drivers/infiniband/hw/qib/qib_pio_copy.c 	const u64 *end = src + (count >> 1);
count              54 drivers/infiniband/hw/qib/qib_pio_copy.c 	if (count & 1)
count              59 drivers/infiniband/hw/qib/qib_pio_copy.c 	const u32 *end = src + count;
count              54 drivers/infiniband/hw/qib/qib_sysfs.c 			       size_t count)
count              74 drivers/infiniband/hw/qib/qib_sysfs.c 	return ret < 0 ? ret : count;
count              78 drivers/infiniband/hw/qib/qib_sysfs.c 			      size_t count)
count              81 drivers/infiniband/hw/qib/qib_sysfs.c 	int ret = count, r;
count              91 drivers/infiniband/hw/qib/qib_sysfs.c 				  size_t count)
count             104 drivers/infiniband/hw/qib/qib_sysfs.c 	return count;
count             213 drivers/infiniband/hw/qib/qib_sysfs.c 		char *buf, loff_t pos, size_t count)
count             228 drivers/infiniband/hw/qib/qib_sysfs.c 	if (count > ret - pos)
count             229 drivers/infiniband/hw/qib/qib_sysfs.c 		count = ret - pos;
count             231 drivers/infiniband/hw/qib/qib_sysfs.c 	if (!count)
count             232 drivers/infiniband/hw/qib/qib_sysfs.c 		return count;
count             235 drivers/infiniband/hw/qib/qib_sysfs.c 	memcpy(buf, ppd->ccti_entries_shadow, count);
count             238 drivers/infiniband/hw/qib/qib_sysfs.c 	return count;
count             263 drivers/infiniband/hw/qib/qib_sysfs.c 		char *buf, loff_t pos, size_t count)
count             276 drivers/infiniband/hw/qib/qib_sysfs.c 	if (count > ret - pos)
count             277 drivers/infiniband/hw/qib/qib_sysfs.c 		count = ret - pos;
count             279 drivers/infiniband/hw/qib/qib_sysfs.c 	if (!count)
count             280 drivers/infiniband/hw/qib/qib_sysfs.c 		return count;
count             283 drivers/infiniband/hw/qib/qib_sysfs.c 	memcpy(buf, ppd->congestion_entries_shadow, count);
count             286 drivers/infiniband/hw/qib/qib_sysfs.c 	return count;
count             665 drivers/infiniband/hw/qib/qib_sysfs.c 				size_t count)
count             672 drivers/infiniband/hw/qib/qib_sysfs.c 	if (count < 5 || memcmp(buf, "reset", 5) || !dd->diag_client) {
count             679 drivers/infiniband/hw/qib/qib_sysfs.c 	return ret < 0 ? ret : count;
count            1323 drivers/infiniband/hw/qib/qib_user_sdma.c 				 struct list_head *pktlist, int count)
count            1337 drivers/infiniband/hw/qib/qib_user_sdma.c 		pq->num_pending += count;
count            1351 drivers/infiniband/hw/qib/qib_user_sdma.c 	pq->num_pending += count;
count              47 drivers/infiniband/hw/usnic/usnic_debugfs.c 						size_t count, loff_t *ppos)
count              60 drivers/infiniband/hw/usnic/usnic_debugfs.c 	return simple_read_from_buffer(data, count, ppos, buf, res);
count              70 drivers/infiniband/hw/usnic/usnic_debugfs.c 				size_t count, loff_t *ppos)
count              80 drivers/infiniband/hw/usnic/usnic_debugfs.c 	left = count;
count             104 drivers/infiniband/hw/usnic/usnic_debugfs.c 	return simple_read_from_buffer(data, count, ppos, buf, ptr - buf);
count             137 drivers/infiniband/sw/rdmavt/mr.c 			    int count, unsigned int percpu_flags)
count             143 drivers/infiniband/sw/rdmavt/mr.c 	m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ;
count             159 drivers/infiniband/sw/rdmavt/mr.c 	mr->max_segs = count;
count             280 drivers/infiniband/sw/rdmavt/mr.c static struct rvt_mr *__rvt_alloc_mr(int count, struct ib_pd *pd)
count             287 drivers/infiniband/sw/rdmavt/mr.c 	m = (count + RVT_SEGSZ - 1) / RVT_SEGSZ;
count             292 drivers/infiniband/sw/rdmavt/mr.c 	rval = rvt_init_mregion(&mr->mr, pd, count, 0);
count             503 drivers/infiniband/sw/rdmavt/mr.c 			   atomic_long_read(&mr->refcount.count));
count             795 drivers/infiniband/sw/rdmavt/mr.c 	i = atomic_long_read(&fmr->mr.refcount.count);
count             902 drivers/infiniband/sw/rdmavt/qp.c 		qp->r_rq.kwq->count = qp->r_rq.size;
count            2364 drivers/infiniband/sw/rdmavt/qp.c 	u32 count;
count            2366 drivers/infiniband/sw/rdmavt/qp.c 	count = head;
count            2368 drivers/infiniband/sw/rdmavt/qp.c 	if (count >= rq->size)
count            2369 drivers/infiniband/sw/rdmavt/qp.c 		count = 0;
count            2370 drivers/infiniband/sw/rdmavt/qp.c 	if (count < tail)
count            2371 drivers/infiniband/sw/rdmavt/qp.c 		count += rq->size - tail;
count            2373 drivers/infiniband/sw/rdmavt/qp.c 		count -= tail;
count            2375 drivers/infiniband/sw/rdmavt/qp.c 	return count;
count            2450 drivers/infiniband/sw/rdmavt/qp.c 	if (kwq->count < RVT_RWQ_COUNT_THRESHOLD) {
count            2452 drivers/infiniband/sw/rdmavt/qp.c 		kwq->count = get_count(rq, tail, head);
count            2454 drivers/infiniband/sw/rdmavt/qp.c 	if (unlikely(kwq->count == 0)) {
count            2478 drivers/infiniband/sw/rdmavt/qp.c 	kwq->count--;
count            2486 drivers/infiniband/sw/rdmavt/qp.c 		if (kwq->count < srq->limit) {
count            2487 drivers/infiniband/sw/rdmavt/qp.c 			kwq->count = get_count(rq, tail, get_rvt_head(rq, ip));
count            2488 drivers/infiniband/sw/rdmavt/qp.c 			if (kwq->count < srq->limit) {
count             110 drivers/infiniband/sw/rdmavt/rc.c 		credits = READ_ONCE(qp->r_rq.kwq->count);
count              41 drivers/infiniband/sw/rxe/rxe_cq.c 	int count;
count              55 drivers/infiniband/sw/rxe/rxe_cq.c 		count = queue_count(cq->queue);
count              56 drivers/infiniband/sw/rxe/rxe_cq.c 		if (cqe < count) {
count              58 drivers/infiniband/sw/rxe/rxe_cq.c 				cqe, count);
count             871 drivers/infiniband/sw/rxe/rxe_verbs.c 	int count = queue_count(cq->queue);
count             873 drivers/infiniband/sw/rxe/rxe_verbs.c 	return (count > wc_cnt) ? wc_cnt : count;
count             123 drivers/infiniband/sw/siw/siw_cm.c 	rd_desc.count = 1;
count             106 drivers/infiniband/sw/siw/siw_qp.c 		read_descriptor_t rd_desc = { .arg.data = qp, .count = 1 };
count            1523 drivers/infiniband/ulp/ipoib/ipoib_cm.c 			const char *buf, size_t count)
count            1546 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	return (!ret || ret == -EBUSY) ? count : ret;
count            2277 drivers/infiniband/ulp/ipoib/ipoib_main.c 			  const char *buf, size_t count)
count            2283 drivers/infiniband/ulp/ipoib/ipoib_main.c 	return count;
count            2358 drivers/infiniband/ulp/ipoib/ipoib_main.c 			    const char *buf, size_t count)
count            2371 drivers/infiniband/ulp/ipoib/ipoib_main.c 	return ret ? ret : count;
count            2377 drivers/infiniband/ulp/ipoib/ipoib_main.c 			    const char *buf, size_t count)
count            2390 drivers/infiniband/ulp/ipoib/ipoib_main.c 	return ret ? ret : count;
count            2519 drivers/infiniband/ulp/ipoib/ipoib_main.c 	int count = 0;
count            2534 drivers/infiniband/ulp/ipoib/ipoib_main.c 			count++;
count            2538 drivers/infiniband/ulp/ipoib/ipoib_main.c 	if (!count) {
count             611 drivers/infiniband/ulp/iser/iscsi_iser.h int  iser_post_recvm(struct iser_conn *iser_conn, int count);
count             657 drivers/infiniband/ulp/iser/iser_initiator.c 	int outstanding, count, err;
count             694 drivers/infiniband/ulp/iser/iser_initiator.c 		count = min(iser_conn->qp_max_recv_dtos - outstanding,
count             696 drivers/infiniband/ulp/iser/iser_initiator.c 		err = iser_post_recvm(iser_conn, count);
count             698 drivers/infiniband/ulp/iser/iser_initiator.c 			iser_err("posting %d rx bufs err %d\n", count, err);
count             999 drivers/infiniband/ulp/iser/iser_verbs.c int iser_post_recvm(struct iser_conn *iser_conn, int count)
count            1007 drivers/infiniband/ulp/iser/iser_verbs.c 	for (wr = ib_conn->rx_wr, i = 0; i < count; i++, wr++) {
count            1020 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->post_recv_buf_count += count;
count            1024 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->post_recv_buf_count -= count;
count             803 drivers/infiniband/ulp/isert/ib_isert.c isert_post_recvm(struct isert_conn *isert_conn, u32 count)
count             809 drivers/infiniband/ulp/isert/ib_isert.c 	for (rx_wr = isert_conn->rx_wr, i = 0; i < count; i++, rx_wr++) {
count             317 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 	u16 start_idx, num_macs, idx = 0, count = 0;
count             323 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		struct opa_vnic_iface_mac_entry *entry = &macs->entry[count];
count             327 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		else if (num_macs == count)
count             330 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		count++;
count             334 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 	macs->num_macs_in_msg = cpu_to_be16(count);
count             349 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 	u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0;
count             356 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		struct opa_vnic_iface_mac_entry *entry = &macs->entry[count];
count             367 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		else if (num_macs == count)
count             370 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		count++;
count             375 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		struct opa_vnic_iface_mac_entry *entry = &macs->entry[count];
count             379 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		else if (num_macs == count)
count             382 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 		count++;
count             388 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema_iface.c 	macs->num_macs_in_msg = cpu_to_be16(count);
count            1645 drivers/infiniband/ulp/srp/ib_srp.c 			  int count)
count            1654 drivers/infiniband/ulp/srp/ib_srp.c 	for_each_sg(scat, sg, count, i) {
count            1669 drivers/infiniband/ulp/srp/ib_srp.c 			 int count)
count            1677 drivers/infiniband/ulp/srp/ib_srp.c 	if (count == 0)
count            1680 drivers/infiniband/ulp/srp/ib_srp.c 	while (count) {
count            1683 drivers/infiniband/ulp/srp/ib_srp.c 		n = srp_map_finish_fr(state, req, ch, count, &sg_offset);
count            1687 drivers/infiniband/ulp/srp/ib_srp.c 		count -= n;
count            1697 drivers/infiniband/ulp/srp/ib_srp.c 			  int count)
count            1703 drivers/infiniband/ulp/srp/ib_srp.c 	for_each_sg(scat, sg, count, i) {
count            1768 drivers/infiniband/ulp/srp/ib_srp.c 			      struct scatterlist *scat, int count)
count            1806 drivers/infiniband/ulp/srp/ib_srp.c 	int i, len, nents, count, ret;
count            1836 drivers/infiniband/ulp/srp/ib_srp.c 	count = ib_dma_map_sg(ibdev, scat, nents, scmnd->sc_data_direction);
count            1837 drivers/infiniband/ulp/srp/ib_srp.c 	if (unlikely(count == 0))
count            1841 drivers/infiniband/ulp/srp/ib_srp.c 	    count <= SRP_MAX_IMM_SGE &&
count            1853 drivers/infiniband/ulp/srp/ib_srp.c 		for_each_sg(scat, sg, count, i) {
count            1858 drivers/infiniband/ulp/srp/ib_srp.c 		req->cmd->num_sge += count;
count            1866 drivers/infiniband/ulp/srp/ib_srp.c 	if (count == 1 && target->global_rkey) {
count            1896 drivers/infiniband/ulp/srp/ib_srp.c 		ret = srp_map_sg_fr(&state, ch, req, scat, count);
count            1898 drivers/infiniband/ulp/srp/ib_srp.c 		ret = srp_map_sg_fmr(&state, ch, req, scat, count);
count            1900 drivers/infiniband/ulp/srp/ib_srp.c 		ret = srp_map_sg_dma(&state, ch, req, scat, count);
count            1909 drivers/infiniband/ulp/srp/ib_srp.c 			srp_check_mapping(&state, ch, req, scat, count);
count            1938 drivers/infiniband/ulp/srp/ib_srp.c 	count = min(state.ndesc, target->cmd_sg_cnt);
count            1945 drivers/infiniband/ulp/srp/ib_srp.c 	len += count * sizeof (struct srp_direct_buf);
count            1948 drivers/infiniband/ulp/srp/ib_srp.c 	       count * sizeof (struct srp_direct_buf));
count            1966 drivers/infiniband/ulp/srp/ib_srp.c 		cmd->data_out_desc_cnt = count;
count            1968 drivers/infiniband/ulp/srp/ib_srp.c 		cmd->data_in_desc_cnt = count;
count            3769 drivers/infiniband/ulp/srp/ib_srp.c 				 const char *buf, size_t count)
count            4002 drivers/infiniband/ulp/srp/ib_srp.c 	ret = count;
count            3392 drivers/infiniband/ulp/srpt/ib_srpt.c 	unsigned len, count, leading_zero_bytes;
count            3402 drivers/infiniband/ulp/srpt/ib_srpt.c 	count = min(len / 2, 16U);
count            3403 drivers/infiniband/ulp/srpt/ib_srpt.c 	leading_zero_bytes = 16 - count;
count            3405 drivers/infiniband/ulp/srpt/ib_srpt.c 	ret = hex2bin(i_port_id + leading_zero_bytes, p, count);
count            3451 drivers/infiniband/ulp/srpt/ib_srpt.c 		const char *page, size_t count)
count            3475 drivers/infiniband/ulp/srpt/ib_srpt.c 	return count;
count            3488 drivers/infiniband/ulp/srpt/ib_srpt.c 		const char *page, size_t count)
count            3512 drivers/infiniband/ulp/srpt/ib_srpt.c 	return count;
count            3525 drivers/infiniband/ulp/srpt/ib_srpt.c 		const char *page, size_t count)
count            3549 drivers/infiniband/ulp/srpt/ib_srpt.c 	return count;
count            3562 drivers/infiniband/ulp/srpt/ib_srpt.c 					     const char *page, size_t count)
count            3589 drivers/infiniband/ulp/srpt/ib_srpt.c 	ret = count;
count            3652 drivers/infiniband/ulp/srpt/ib_srpt.c 				       const char *page, size_t count)
count            3663 drivers/infiniband/ulp/srpt/ib_srpt.c 	ret = count;
count            3687 drivers/infiniband/ulp/srpt/ib_srpt.c 	ret = count;
count            3708 drivers/infiniband/ulp/srpt/ib_srpt.c 		const char *page, size_t count)
count            3730 drivers/infiniband/ulp/srpt/ib_srpt.c 	return count;
count             245 drivers/input/evdev.c 			const struct input_value *vals, unsigned int count,
count             264 drivers/input/evdev.c 	for (v = vals; v != vals + count; v++) {
count             292 drivers/input/evdev.c 			 const struct input_value *vals, unsigned int count)
count             303 drivers/input/evdev.c 		evdev_pass_values(client, vals, count, ev_time);
count             306 drivers/input/evdev.c 			evdev_pass_values(client, vals, count, ev_time);
count             502 drivers/input/evdev.c 			   size_t count, loff_t *ppos)
count             509 drivers/input/evdev.c 	if (count != 0 && count < input_event_size())
count             521 drivers/input/evdev.c 	while (retval + input_event_size() <= count) {
count             558 drivers/input/evdev.c 			  size_t count, loff_t *ppos)
count             566 drivers/input/evdev.c 	if (count != 0 && count < input_event_size())
count             581 drivers/input/evdev.c 		if (count == 0)
count             584 drivers/input/evdev.c 		while (read + input_event_size() <= count &&
count              41 drivers/input/ff-memless.c 	int count;		/* loop count of the effect */
count             372 drivers/input/ff-memless.c 			if (--state->count <= 0) {
count             444 drivers/input/ff-memless.c 		state->count = value;
count              59 drivers/input/gameport/gameport.c 	unsigned int count;
count              63 drivers/input/gameport/gameport.c 	count = inb_p(0x40);
count              64 drivers/input/gameport/gameport.c 	count |= inb_p(0x40) << 8;
count              67 drivers/input/gameport/gameport.c 	return count;
count             466 drivers/input/gameport/gameport.c static ssize_t drvctl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             476 drivers/input/gameport/gameport.c 	if (!strncmp(buf, "none", count)) {
count             478 drivers/input/gameport/gameport.c 	} else if (!strncmp(buf, "reconnect", count)) {
count             480 drivers/input/gameport/gameport.c 	} else if (!strncmp(buf, "rescan", count)) {
count             492 drivers/input/gameport/gameport.c 	return error ? error : count;
count              74 drivers/input/input-leds.c 	int count = 0;
count              78 drivers/input/input-leds.c 			count++;
count              80 drivers/input/input-leds.c 	return count;
count             174 drivers/input/input-mt.c void input_mt_report_finger_count(struct input_dev *dev, int count)
count             176 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1);
count             177 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2);
count             178 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3);
count             179 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4);
count             180 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5);
count             199 drivers/input/input-mt.c 	int oldid, count, i;
count             206 drivers/input/input-mt.c 	count = 0;
count             218 drivers/input/input-mt.c 		count++;
count             221 drivers/input/input-mt.c 	input_event(dev, EV_KEY, BTN_TOUCH, count > 0);
count             224 drivers/input/input-mt.c 		if (count == 0 &&
count             234 drivers/input/input-mt.c 			count = 1;
count             237 drivers/input/input-mt.c 		input_mt_report_finger_count(dev, count);
count              79 drivers/input/input-polldev.c 				size_t count)
count             108 drivers/input/input-polldev.c 	return count;
count             139 drivers/input/input-poller.c 					   const char *buf, size_t count)
count             168 drivers/input/input-poller.c 	return count;
count              94 drivers/input/input.c 			struct input_value *vals, unsigned int count)
count             101 drivers/input/input.c 		for (v = vals; v != vals + count; v++) {
count             108 drivers/input/input.c 		count = end - vals;
count             111 drivers/input/input.c 	if (!count)
count             115 drivers/input/input.c 		handler->events(handle, vals, count);
count             117 drivers/input/input.c 		for (v = vals; v != vals + count; v++)
count             120 drivers/input/input.c 	return count;
count             129 drivers/input/input.c 			      struct input_value *vals, unsigned int count)
count             134 drivers/input/input.c 	if (!count)
count             141 drivers/input/input.c 		count = input_to_handler(handle, vals, count);
count             145 drivers/input/input.c 				count = input_to_handler(handle, vals, count);
count             146 drivers/input/input.c 				if (!count)
count             155 drivers/input/input.c 		for (v = vals; v != vals + count; v++) {
count             385 drivers/input/joydev.c 			   size_t count, loff_t *ppos)
count             396 drivers/input/joydev.c 	if (count < sizeof(struct js_event))
count             399 drivers/input/joydev.c 	if (count == sizeof(struct JS_DATA_TYPE))
count             413 drivers/input/joydev.c 	while (retval + sizeof(struct js_event) <= count &&
count             422 drivers/input/joydev.c 	while (retval + sizeof(struct js_event) <= count &&
count              88 drivers/input/joystick/a3d.c static int a3d_csum(char *data, int count)
count              92 drivers/input/joystick/a3d.c 	for (i = 0; i < count - 2; i++)
count              94 drivers/input/joystick/a3d.c 	return (csum & 0x3f) != ((data[count - 2] << 3) | data[count - 1]);
count             186 drivers/input/joystick/adi.c static inline int adi_get_bits(struct adi *adi, int count)
count             190 drivers/input/joystick/adi.c 	if ((adi->idx += count) > adi->ret) return 0;
count             191 drivers/input/joystick/adi.c 	for (i = 0; i < count; i++)
count             136 drivers/input/joystick/analog.c         unsigned int count;
count             140 drivers/input/joystick/analog.c         count = inb_p(0x40);
count             141 drivers/input/joystick/analog.c         count |= inb_p(0x40) << 8;
count             144 drivers/input/joystick/analog.c         return count;
count             926 drivers/input/joystick/gamecon.c 	int count = 0;
count             973 drivers/input/joystick/gamecon.c 		count++;
count             976 drivers/input/joystick/gamecon.c 	if (count == 0) {
count              52 drivers/input/joystick/magellan.c static int magellan_crunch_nibbles(unsigned char *data, int count)
count              57 drivers/input/joystick/magellan.c 		if (data[count] == nibbles[data[count] & 0xf])
count              58 drivers/input/joystick/magellan.c 			data[count] = data[count] & 0xf;
count              61 drivers/input/joystick/magellan.c 	} while (--count);
count             250 drivers/input/keyboard/atkbd.c static ssize_t atkbd_attr_set_helper(struct device *dev, const char *buf, size_t count,
count            1317 drivers/input/keyboard/atkbd.c static ssize_t atkbd_attr_set_helper(struct device *dev, const char *buf, size_t count,
count            1329 drivers/input/keyboard/atkbd.c 	retval = handler(atkbd, buf, count);
count            1342 drivers/input/keyboard/atkbd.c static ssize_t atkbd_set_extra(struct atkbd *atkbd, const char *buf, size_t count)
count            1395 drivers/input/keyboard/atkbd.c 	return count;
count            1410 drivers/input/keyboard/atkbd.c 					const char *buf, size_t count)
count            1421 drivers/input/keyboard/atkbd.c 	return count;
count            1430 drivers/input/keyboard/atkbd.c static ssize_t atkbd_set_scroll(struct atkbd *atkbd, const char *buf, size_t count)
count            1470 drivers/input/keyboard/atkbd.c 	return count;
count            1478 drivers/input/keyboard/atkbd.c static ssize_t atkbd_set_set(struct atkbd *atkbd, const char *buf, size_t count)
count            1525 drivers/input/keyboard/atkbd.c 	return count;
count            1533 drivers/input/keyboard/atkbd.c static ssize_t atkbd_set_softrepeat(struct atkbd *atkbd, const char *buf, size_t count)
count            1578 drivers/input/keyboard/atkbd.c 	return count;
count            1587 drivers/input/keyboard/atkbd.c static ssize_t atkbd_set_softraw(struct atkbd *atkbd, const char *buf, size_t count)
count            1625 drivers/input/keyboard/atkbd.c 	return count;
count              51 drivers/input/keyboard/goldfish_events.c 			unsigned long bits[], unsigned int type, size_t count)
count              61 drivers/input/keyboard/goldfish_events.c 	if (size < count)
count              62 drivers/input/keyboard/goldfish_events.c 		count = size;
count              65 drivers/input/keyboard/goldfish_events.c 	for (i = 0; i < count; i += 8) {
count              78 drivers/input/keyboard/goldfish_events.c 	int count;
count              83 drivers/input/keyboard/goldfish_events.c 	count = __raw_readl(addr + REG_LEN) / sizeof(val);
count              84 drivers/input/keyboard/goldfish_events.c 	if (count > ABS_MAX)
count              85 drivers/input/keyboard/goldfish_events.c 		count = ABS_MAX;
count              87 drivers/input/keyboard/goldfish_events.c 	for (i = 0; i < count; i++) {
count             318 drivers/input/keyboard/gpio_keys.c 				      size_t count)			\
count             328 drivers/input/keyboard/gpio_keys.c 	return count;							\
count              32 drivers/input/keyboard/gpio_keys_polled.c 	int count;
count              83 drivers/input/keyboard/gpio_keys_polled.c 			bdata->count = 0;
count             102 drivers/input/keyboard/gpio_keys_polled.c 		if (bdata->count < bdata->threshold) {
count             103 drivers/input/keyboard/gpio_keys_polled.c 			bdata->count++;
count              57 drivers/input/keyboard/jornada720_kbd.c 	u8 count, kbd_data, scan_code;
count              67 drivers/input/keyboard/jornada720_kbd.c 		count = jornada_ssp_byte(TXDUMMY);
count              70 drivers/input/keyboard/jornada720_kbd.c 		while (count--) {
count             600 drivers/input/keyboard/lm8323.c 				  const char *buf, size_t count)
count             614 drivers/input/keyboard/lm8323.c 	return count;
count             151 drivers/input/keyboard/omap-keypad.c 				    const char *buf, size_t count)
count             172 drivers/input/keyboard/omap-keypad.c 	return strnlen(buf, count);
count             108 drivers/input/keyboard/qt2160.c 			     u8 inireg, u8 *buffer, unsigned int count)
count             126 drivers/input/keyboard/qt2160.c 		error = i2c_master_recv(client, buffer, count);
count             127 drivers/input/keyboard/qt2160.c 		if (error != count) {
count             134 drivers/input/keyboard/qt2160.c 		while (count--) {
count              34 drivers/input/misc/adxl34x-i2c.c 				    unsigned char reg, int count,
count              39 drivers/input/misc/adxl34x-i2c.c 	return i2c_smbus_read_i2c_block_data(client, reg, count, buf);
count              43 drivers/input/misc/adxl34x-i2c.c 				  unsigned char reg, int count,
count              53 drivers/input/misc/adxl34x-i2c.c 	ret = i2c_master_recv(client, buf, count);
count              57 drivers/input/misc/adxl34x-i2c.c 	if (ret != count)
count              49 drivers/input/misc/adxl34x-spi.c 				  unsigned char reg, int count,
count              56 drivers/input/misc/adxl34x-spi.c 	status = spi_write_then_read(spi, &reg, 1, buf, count);
count             451 drivers/input/misc/adxl34x.c 				     const char *buf, size_t count)
count             477 drivers/input/misc/adxl34x.c 	return count;
count             486 drivers/input/misc/adxl34x.c 	ssize_t count;
count             489 drivers/input/misc/adxl34x.c 	count = sprintf(buf, "%d,%d,%d\n",
count             495 drivers/input/misc/adxl34x.c 	return count;
count             500 drivers/input/misc/adxl34x.c 				       const char *buf, size_t count)
count             524 drivers/input/misc/adxl34x.c 	return count;
count             540 drivers/input/misc/adxl34x.c 				  const char *buf, size_t count)
count             559 drivers/input/misc/adxl34x.c 	return count;
count             575 drivers/input/misc/adxl34x.c 				  const char *buf, size_t count)
count             597 drivers/input/misc/adxl34x.c 	return count;
count             607 drivers/input/misc/adxl34x.c 	ssize_t count;
count             610 drivers/input/misc/adxl34x.c 	count = sprintf(buf, "(%d, %d, %d)\n",
count             614 drivers/input/misc/adxl34x.c 	return count;
count             622 drivers/input/misc/adxl34x.c 				   const char *buf, size_t count)
count             639 drivers/input/misc/adxl34x.c 	return count;
count             713 drivers/input/misc/ati_remote2.c 					      const char *buf, size_t count)
count             747 drivers/input/misc/ati_remote2.c 	return r ? r : count;
count             763 drivers/input/misc/ati_remote2.c 					   const char *buf, size_t count)
count             780 drivers/input/misc/ati_remote2.c 	return count;
count             132 drivers/input/misc/axp20x-pek.c 				 size_t count)
count             171 drivers/input/misc/axp20x-pek.c 	return count;
count             176 drivers/input/misc/axp20x-pek.c 					 const char *buf, size_t count)
count             181 drivers/input/misc/axp20x-pek.c 				 axp20x_pek->info->startup_mask, buf, count);
count             186 drivers/input/misc/axp20x-pek.c 					  const char *buf, size_t count)
count             191 drivers/input/misc/axp20x-pek.c 				 axp20x_pek->info->shutdown_mask, buf, count);
count              31 drivers/input/misc/cobalt_btns.c 	int count[ARRAY_SIZE(cobalt_map)];
count              46 drivers/input/misc/cobalt_btns.c 			if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) {
count              52 drivers/input/misc/cobalt_btns.c 			if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) {
count              57 drivers/input/misc/cobalt_btns.c 			bdev->count[i] = 0;
count              68 drivers/input/misc/hp_sdc_rtc.c 			       size_t count, loff_t *ppos);
count             401 drivers/input/misc/hp_sdc_rtc.c 			       size_t count, loff_t *ppos) {
count             404 drivers/input/misc/hp_sdc_rtc.c         if (count < sizeof(unsigned long))
count             180 drivers/input/misc/ideapad_slidebar.c 				   const char *buf, size_t count)
count             191 drivers/input/misc/ideapad_slidebar.c 	return count;
count             532 drivers/input/misc/ims-pcu.c 	int count = 0;
count             540 drivers/input/misc/ims-pcu.c 	pcu->urb_out_buf[count++] = IMS_PCU_PROTOCOL_STX;
count             543 drivers/input/misc/ims-pcu.c 	pcu->urb_out_buf[count++] = command;
count             551 drivers/input/misc/ims-pcu.c 		pcu->urb_out_buf[count++] = IMS_PCU_PROTOCOL_DLE;
count             553 drivers/input/misc/ims-pcu.c 	pcu->urb_out_buf[count++] = ack_id;
count             559 drivers/input/misc/ims-pcu.c 		if (count + delta >= pcu->max_out_size) {
count             561 drivers/input/misc/ims-pcu.c 						       ++chunk, count);
count             565 drivers/input/misc/ims-pcu.c 			count = 0;
count             569 drivers/input/misc/ims-pcu.c 			pcu->urb_out_buf[count++] = IMS_PCU_PROTOCOL_DLE;
count             571 drivers/input/misc/ims-pcu.c 		pcu->urb_out_buf[count++] = data[i];
count             578 drivers/input/misc/ims-pcu.c 	if (count + delta >= pcu->max_out_size) {
count             579 drivers/input/misc/ims-pcu.c 		error = ims_pcu_send_cmd_chunk(pcu, command, ++chunk, count);
count             583 drivers/input/misc/ims-pcu.c 		count = 0;
count             587 drivers/input/misc/ims-pcu.c 		pcu->urb_out_buf[count++] = IMS_PCU_PROTOCOL_DLE;
count             589 drivers/input/misc/ims-pcu.c 	pcu->urb_out_buf[count++] = csum;
count             590 drivers/input/misc/ims-pcu.c 	pcu->urb_out_buf[count++] = IMS_PCU_PROTOCOL_ETX;
count             592 drivers/input/misc/ims-pcu.c 	return ims_pcu_send_cmd_chunk(pcu, command, ++chunk, count);
count             770 drivers/input/misc/ims-pcu.c 	unsigned int count = 0;
count             773 drivers/input/misc/ims-pcu.c 		count++;
count             777 drivers/input/misc/ims-pcu.c 	return count;
count             825 drivers/input/misc/ims-pcu.c 	unsigned int count = 0;
count             869 drivers/input/misc/ims-pcu.c 		count++;
count             870 drivers/input/misc/ims-pcu.c 		pcu->update_firmware_status = (count * 100) / n_fw_records;
count            1058 drivers/input/misc/ims-pcu.c 				       const char *buf, size_t count)
count            1069 drivers/input/misc/ims-pcu.c 	if (count > attr->field_length)
count            1093 drivers/input/misc/ims-pcu.c 	return error < 0 ? error : count;
count            1120 drivers/input/misc/ims-pcu.c 				    const char *buf, size_t count)
count            1145 drivers/input/misc/ims-pcu.c 	return count;
count            1152 drivers/input/misc/ims-pcu.c 					     const char *buf, size_t count)
count            1195 drivers/input/misc/ims-pcu.c 	return error ?: count;
count            1317 drivers/input/misc/ims-pcu.c 					  const char *buf, size_t count)
count            1332 drivers/input/misc/ims-pcu.c 	return error ?: count;
count            1355 drivers/input/misc/ims-pcu.c 					  const char *buf, size_t count)
count            1370 drivers/input/misc/ims-pcu.c 	return count;
count            1405 drivers/input/misc/ims-pcu.c 				     const char *buf, size_t count)
count            1436 drivers/input/misc/ims-pcu.c 	return error ?: count;
count              31 drivers/input/misc/ixp4xx-beeper.c static void ixp4xx_spkr_control(unsigned int pin, unsigned int count)
count              37 drivers/input/misc/ixp4xx-beeper.c 	if (count) {
count              39 drivers/input/misc/ixp4xx-beeper.c 		*IXP4XX_OSRT2 = (count & ~IXP4XX_OST_RELOAD_MASK) | IXP4XX_OST_ENABLE;
count              52 drivers/input/misc/ixp4xx-beeper.c 	unsigned int count = 0;
count              68 drivers/input/misc/ixp4xx-beeper.c 		count = (ixp4xx_timer_freq / (value * 4)) - 1;
count              70 drivers/input/misc/ixp4xx-beeper.c 	ixp4xx_spkr_control(pin, count);
count             352 drivers/input/misc/kxtj9.c 						const char *buf, size_t count)
count             380 drivers/input/misc/kxtj9.c 	return count;
count              27 drivers/input/misc/m68kspkr.c 	unsigned int count = 0;
count              39 drivers/input/misc/m68kspkr.c 		count = 1193182 / value;
count              41 drivers/input/misc/m68kspkr.c 	mach_beep(count, -1);
count              26 drivers/input/misc/pcspkr.c 	unsigned int count = 0;
count              43 drivers/input/misc/pcspkr.c 		count = PIT_TICK_RATE / value;
count              47 drivers/input/misc/pcspkr.c 	if (count) {
count              51 drivers/input/misc/pcspkr.c 		outb_p(count & 0xff, 0x42);
count              52 drivers/input/misc/pcspkr.c 		outb((count >> 8) & 0xff, 0x42);
count              50 drivers/input/misc/sgi_btns.c 	int count[ARRAY_SIZE(sgi_map)];
count              64 drivers/input/misc/sgi_btns.c 			if (++bdev->count[i] == BUTTONS_COUNT_THRESHOLD) {
count              70 drivers/input/misc/sgi_btns.c 			if (bdev->count[i] >= BUTTONS_COUNT_THRESHOLD) {
count              75 drivers/input/misc/sgi_btns.c 			bdev->count[i] = 0;
count             165 drivers/input/misc/soc_button_array.c 	    desc->package.count != 5 ||
count             245 drivers/input/misc/soc_button_array.c 	for (i = 0; (i + 1) < desc->package.count; i += 2) {
count             269 drivers/input/misc/soc_button_array.c 	    el0->package.count == 5 &&
count             284 drivers/input/misc/soc_button_array.c 	button_info = devm_kcalloc(dev, btns_desc->package.count,
count             292 drivers/input/misc/soc_button_array.c 	for (i = 1, btn = 0; i < btns_desc->package.count; i++, btn++) {
count              42 drivers/input/misc/sparcspkr.c static u32 bbc_count_to_reg(struct bbc_beep_info *info, unsigned int count)
count              47 drivers/input/misc/sparcspkr.c 	if (!count)
count              50 drivers/input/misc/sparcspkr.c 	if (count <= clock_freq >> 20)
count              53 drivers/input/misc/sparcspkr.c 	if (count >= clock_freq >> 12)
count              59 drivers/input/misc/sparcspkr.c 		if (count <= clock_freq >> i)
count              70 drivers/input/misc/sparcspkr.c 	unsigned int count = 0;
count              83 drivers/input/misc/sparcspkr.c 		count = 1193182 / value;
count              85 drivers/input/misc/sparcspkr.c 	count = bbc_count_to_reg(info, count);
count              89 drivers/input/misc/sparcspkr.c 	if (count) {
count              92 drivers/input/misc/sparcspkr.c 		sbus_writeb((count >> 16) & 0xff, info->regs + 3);
count              93 drivers/input/misc/sparcspkr.c 		sbus_writeb((count >>  8) & 0xff, info->regs + 4);
count             108 drivers/input/misc/sparcspkr.c 	unsigned int count = 0;
count             121 drivers/input/misc/sparcspkr.c 		count = 1193182 / value;
count             125 drivers/input/misc/sparcspkr.c 	if (count) {
count             131 drivers/input/misc/sparcspkr.c 		sbus_writeb(count & 0xff, info->freq_regs + 0);
count             132 drivers/input/misc/sparcspkr.c 		sbus_writeb((count >> 8) & 0xff, info->freq_regs + 0);
count             510 drivers/input/misc/uinput.c 				      const char __user *buffer, size_t count)
count             517 drivers/input/misc/uinput.c 	if (count != sizeof(struct uinput_user_dev))
count             565 drivers/input/misc/uinput.c 	retval = count;
count             573 drivers/input/misc/uinput.c 				    const char __user *buffer, size_t count)
count             578 drivers/input/misc/uinput.c 	if (count != 0 && count < input_event_size())
count             581 drivers/input/misc/uinput.c 	while (bytes + input_event_size() <= count) {
count             600 drivers/input/misc/uinput.c 			    size_t count, loff_t *ppos)
count             605 drivers/input/misc/uinput.c 	if (count == 0)
count             613 drivers/input/misc/uinput.c 			uinput_inject_events(udev, buffer, count) :
count             614 drivers/input/misc/uinput.c 			uinput_setup_device_legacy(udev, buffer, count);
count             640 drivers/input/misc/uinput.c 				     char __user *buffer, size_t count)
count             645 drivers/input/misc/uinput.c 	while (read + input_event_size() <= count &&
count             658 drivers/input/misc/uinput.c 			   size_t count, loff_t *ppos)
count             663 drivers/input/misc/uinput.c 	if (count != 0 && count < input_event_size())
count             677 drivers/input/misc/uinput.c 			retval = uinput_events_to_user(udev, buffer, count);
count             681 drivers/input/misc/uinput.c 		if (retval || count == 0)
count             630 drivers/input/misc/yealink.c static ssize_t store_line(struct device *dev, const char *buf, size_t count,
count             643 drivers/input/misc/yealink.c 	if (len > count)
count             644 drivers/input/misc/yealink.c 		len = count;
count             649 drivers/input/misc/yealink.c 	return count;
count             653 drivers/input/misc/yealink.c 				const char *buf, size_t count)
count             655 drivers/input/misc/yealink.c 	return store_line(dev, buf, count, LCD_LINE1_OFFSET, LCD_LINE1_SIZE);
count             659 drivers/input/misc/yealink.c 				const char *buf, size_t count)
count             661 drivers/input/misc/yealink.c 	return store_line(dev, buf, count, LCD_LINE2_OFFSET, LCD_LINE2_SIZE);
count             665 drivers/input/misc/yealink.c 				const char *buf, size_t count)
count             667 drivers/input/misc/yealink.c 	return store_line(dev, buf, count, LCD_LINE3_OFFSET, LCD_LINE3_SIZE);
count             700 drivers/input/misc/yealink.c static ssize_t set_icon(struct device *dev, const char *buf, size_t count,
count             716 drivers/input/misc/yealink.c 		if (strncmp(buf, lcdMap[i].u.p.name, count) == 0) {
count             723 drivers/input/misc/yealink.c 	return count;
count             727 drivers/input/misc/yealink.c 		const char *buf, size_t count)
count             729 drivers/input/misc/yealink.c 	return set_icon(dev, buf, count, buf[0]);
count             733 drivers/input/misc/yealink.c 		const char *buf, size_t count)
count             735 drivers/input/misc/yealink.c 	return set_icon(dev, buf, count, ' ');
count             744 drivers/input/misc/yealink.c 		const char *buf, size_t count)
count             756 drivers/input/misc/yealink.c 	yealink_set_ringtone(yld, (char *)buf, count);
count             758 drivers/input/misc/yealink.c 	return count;
count             779 drivers/input/mouse/cyapa.c 					     const char *buf, size_t count)
count             798 drivers/input/mouse/cyapa.c 		count = -EINVAL;
count             803 drivers/input/mouse/cyapa.c 	return count;
count             889 drivers/input/mouse/cyapa.c 						const char *buf, size_t count)
count             895 drivers/input/mouse/cyapa.c 	if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) {
count             919 drivers/input/mouse/cyapa.c 	return count;
count            1078 drivers/input/mouse/cyapa.c 				     const char *buf, size_t count)
count            1084 drivers/input/mouse/cyapa.c 	if (count >= NAME_MAX) {
count            1089 drivers/input/mouse/cyapa.c 	memcpy(fw_name, buf, count);
count            1090 drivers/input/mouse/cyapa.c 	if (fw_name[count - 1] == '\n')
count            1091 drivers/input/mouse/cyapa.c 		fw_name[count - 1] = '\0';
count            1093 drivers/input/mouse/cyapa.c 		fw_name[count] = '\0';
count            1133 drivers/input/mouse/cyapa.c 	return error ? error : count;
count            1138 drivers/input/mouse/cyapa.c 				     const char *buf, size_t count)
count            1149 drivers/input/mouse/cyapa.c 		error = cyapa->ops->calibrate_store(dev, attr, buf, count);
count            1156 drivers/input/mouse/cyapa.c 	return error < 0 ? error : count;
count             432 drivers/input/mouse/cyapa.h 			       const char *buf, size_t count);
count             538 drivers/input/mouse/cyapa_gen3.c static u16 cyapa_gen3_csum(const u8 *buf, size_t count)
count             543 drivers/input/mouse/cyapa_gen3.c 	for (i = 0; i < count; i++)
count             746 drivers/input/mouse/cyapa_gen3.c 				     const char *buf, size_t count)
count             796 drivers/input/mouse/cyapa_gen3.c 	return ret < 0 ? ret : count;
count            1821 drivers/input/mouse/cyapa_gen5.c 				     const char *buf, size_t count)
count            1849 drivers/input/mouse/cyapa_gen5.c 	return count;
count            1945 drivers/input/mouse/cyapa_gen5.c 	int sum, count, max_element_cnt;
count            1959 drivers/input/mouse/cyapa_gen5.c 	sum = count = tmp_count = 0;
count            2015 drivers/input/mouse/cyapa_gen5.c 		read_elements = min(read_elements, max_element_cnt - count);
count            2085 drivers/input/mouse/cyapa_gen5.c 			count++;
count            2087 drivers/input/mouse/cyapa_gen5.c 			if (count >= max_element_cnt)
count            2093 drivers/input/mouse/cyapa_gen5.c 	*idac_ave = count ? (sum / count) : 0;
count            2219 drivers/input/mouse/cyapa_gen5.c 	int sum, count;
count            2233 drivers/input/mouse/cyapa_gen5.c 	sum = count = 0;
count            2279 drivers/input/mouse/cyapa_gen5.c 					put_unaligned_le32(value, &intp[count]);
count            2282 drivers/input/mouse/cyapa_gen5.c 				count++;
count            2287 drivers/input/mouse/cyapa_gen5.c 		if (count >= raw_data_max_num)
count            2295 drivers/input/mouse/cyapa_gen5.c 	*raw_data_ave = count ? (sum / count) : 0;
count             591 drivers/input/mouse/elan_i2c_core.c 				    const char *buf, size_t count)
count             638 drivers/input/mouse/elan_i2c_core.c 	return error ?: count;
count             643 drivers/input/mouse/elan_i2c_core.c 			       const char *buf, size_t count)
count             704 drivers/input/mouse/elan_i2c_core.c 	return retval ?: count;
count             757 drivers/input/mouse/elan_i2c_core.c 			     const char *buf, size_t count)
count             812 drivers/input/mouse/elan_i2c_core.c 	return retval ?: count;
count            1234 drivers/input/mouse/elantech.c 				     void *data, const char *buf, size_t count)
count            1259 drivers/input/mouse/elantech.c 	return count;
count             777 drivers/input/mouse/hgpk.c 				const char *buf, size_t count)
count             800 drivers/input/mouse/hgpk.c 	return err ? err : count;
count             872 drivers/input/mouse/hgpk.c 				const char *buf, size_t count)
count             891 drivers/input/mouse/hgpk.c 	return count;
count             159 drivers/input/mouse/logips2pp.c 					  const char *buf, size_t count)
count             173 drivers/input/mouse/logips2pp.c 	return count;
count            1821 drivers/input/mouse/psmouse-base.c 				const char *buf, size_t count)
count            1855 drivers/input/mouse/psmouse-base.c 	retval = attr->set(psmouse, attr->data, buf, count);
count            1878 drivers/input/mouse/psmouse-base.c static ssize_t psmouse_set_int_attr(struct psmouse *psmouse, void *offset, const char *buf, size_t count)
count            1890 drivers/input/mouse/psmouse-base.c 	return count;
count            1898 drivers/input/mouse/psmouse-base.c static ssize_t psmouse_attr_set_protocol(struct psmouse *psmouse, void *data, const char *buf, size_t count)
count            1907 drivers/input/mouse/psmouse-base.c 	proto = psmouse_protocol_by_name(buf, count);
count            1912 drivers/input/mouse/psmouse-base.c 		return count;
count            1937 drivers/input/mouse/psmouse-base.c 			return count; /* switched by other thread */
count            1994 drivers/input/mouse/psmouse-base.c 	return count;
count            1997 drivers/input/mouse/psmouse-base.c static ssize_t psmouse_attr_set_rate(struct psmouse *psmouse, void *data, const char *buf, size_t count)
count            2007 drivers/input/mouse/psmouse-base.c 	return count;
count            2010 drivers/input/mouse/psmouse-base.c static ssize_t psmouse_attr_set_resolution(struct psmouse *psmouse, void *data, const char *buf, size_t count)
count            2020 drivers/input/mouse/psmouse-base.c 	return count;
count             152 drivers/input/mouse/psmouse.h 			const char *buf, size_t count);
count             160 drivers/input/mouse/psmouse.h 				const char *buf, size_t count);
count             420 drivers/input/mouse/sentelic.c 				   const char *buf, size_t count)
count             440 drivers/input/mouse/sentelic.c 	retval = fsp_reg_write(psmouse, reg, val) < 0 ? -EIO : count;
count             444 drivers/input/mouse/sentelic.c 	return count;
count             463 drivers/input/mouse/sentelic.c 					const char *buf, size_t count)
count             482 drivers/input/mouse/sentelic.c 	return count;
count             500 drivers/input/mouse/sentelic.c 					const char *buf, size_t count)
count             515 drivers/input/mouse/sentelic.c 	return count;
count             530 drivers/input/mouse/sentelic.c 					const char *buf, size_t count)
count             544 drivers/input/mouse/sentelic.c 	return count;
count             559 drivers/input/mouse/sentelic.c 					const char *buf, size_t count)
count             573 drivers/input/mouse/sentelic.c 	return count;
count             589 drivers/input/mouse/sentelic.c 					const char *buf, size_t count)
count             594 drivers/input/mouse/sentelic.c 	for (i = 0; i < count; i++) {
count             606 drivers/input/mouse/sentelic.c 	return count;
count              33 drivers/input/mouse/sermouse.c 	unsigned char count;
count              50 drivers/input/mouse/sermouse.c 	switch (sermouse->count) {
count              77 drivers/input/mouse/sermouse.c 	if (++sermouse->count == 5)
count              78 drivers/input/mouse/sermouse.c 		sermouse->count = 0;
count              93 drivers/input/mouse/sermouse.c 		sermouse->count = 0;
count              94 drivers/input/mouse/sermouse.c 	else if (sermouse->count == 0)
count              97 drivers/input/mouse/sermouse.c 	switch (sermouse->count) {
count             184 drivers/input/mouse/sermouse.c 	sermouse->count++;
count             198 drivers/input/mouse/sermouse.c 		sermouse->count = 0;
count             116 drivers/input/mouse/trackpoint.c 					const char *buf, size_t count)
count             131 drivers/input/mouse/trackpoint.c 	return err ?: count;
count             145 drivers/input/mouse/trackpoint.c 					const char *buf, size_t count)
count             166 drivers/input/mouse/trackpoint.c 	return err ?: count;
count             150 drivers/input/mouse/vmmouse.c 	unsigned int count = 255;
count             152 drivers/input/mouse/vmmouse.c 	while (count--) {
count             106 drivers/input/mouse/vsxxxaa.c 	unsigned char count;
count             116 drivers/input/mouse/vsxxxaa.c 	if (num >= mouse->count) {
count             117 drivers/input/mouse/vsxxxaa.c 		mouse->count = 0;
count             120 drivers/input/mouse/vsxxxaa.c 		mouse->count -= num;
count             126 drivers/input/mouse/vsxxxaa.c 	if (mouse->count == BUFLEN) {
count             134 drivers/input/mouse/vsxxxaa.c 	mouse->buf[mouse->count++] = byte;
count             193 drivers/input/mouse/vsxxxaa.c 	return mouse->count >= len && MATCH_PACKET_TYPE(mouse->buf[0], type);
count             391 drivers/input/mouse/vsxxxaa.c 		while (mouse->count > 0 && !IS_HDR_BYTE(buf[0])) {
count             675 drivers/input/mousedev.c 				size_t count, loff_t *ppos)
count             681 drivers/input/mousedev.c 	for (i = 0; i < count; i++) {
count             713 drivers/input/mousedev.c 	return count;
count             717 drivers/input/mousedev.c 			     size_t count, loff_t *ppos)
count             743 drivers/input/mousedev.c 	if (count > client->buffer)
count             744 drivers/input/mousedev.c 		count = client->buffer;
count             746 drivers/input/mousedev.c 	memcpy(data, client->ps2 + client->bufsiz - client->buffer, count);
count             747 drivers/input/mousedev.c 	client->buffer -= count;
count             751 drivers/input/mousedev.c 	if (copy_to_user(buffer, data, count))
count             754 drivers/input/mousedev.c 	return count;
count             193 drivers/input/rmi4/rmi_driver.c 	int ret, count;
count             195 drivers/input/rmi4/rmi_driver.c 	count = kfifo_get(&drvdata->attn_fifo, &attn_data);
count             196 drivers/input/rmi4/rmi_driver.c 	if (count) {
count             206 drivers/input/rmi4/rmi_driver.c 	if (count) {
count             917 drivers/input/rmi4/rmi_driver.c 	int retval, count;
count             936 drivers/input/rmi4/rmi_driver.c 		count = kfifo_get(&data->attn_fifo, &attn_data);
count             937 drivers/input/rmi4/rmi_driver.c 		if (count)
count             460 drivers/input/rmi4/rmi_f34.c 					  const char *buf, size_t count)
count             465 drivers/input/rmi4/rmi_f34.c 	size_t copy_count = count;
count             468 drivers/input/rmi4/rmi_f34.c 	if (count == 0 || count >= NAME_MAX)
count             471 drivers/input/rmi4/rmi_f34.c 	if (buf[count - 1] == '\0' || buf[count - 1] == '\n')
count             487 drivers/input/rmi4/rmi_f34.c 	return ret ?: count;
count             265 drivers/input/serio/i8042.c 	int count = 0;
count             271 drivers/input/serio/i8042.c 		if (count++ < I8042_BUFFER_SIZE) {
count             382 drivers/input/serio/serio.c static ssize_t drvctl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             392 drivers/input/serio/serio.c 	if (!strncmp(buf, "none", count)) {
count             394 drivers/input/serio/serio.c 	} else if (!strncmp(buf, "reconnect", count)) {
count             396 drivers/input/serio/serio.c 	} else if (!strncmp(buf, "rescan", count)) {
count             410 drivers/input/serio/serio.c 	return error ? error : count;
count             419 drivers/input/serio/serio.c static ssize_t serio_set_bind_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             424 drivers/input/serio/serio.c 	retval = count;
count             425 drivers/input/serio/serio.c 	if (!strncmp(buf, "manual", count)) {
count             427 drivers/input/serio/serio.c 	} else if (!strncmp(buf, "auto", count)) {
count             748 drivers/input/serio/serio.c static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count)
count             753 drivers/input/serio/serio.c 	retval = count;
count             754 drivers/input/serio/serio.c 	if (!strncmp(buf, "manual", count)) {
count             756 drivers/input/serio/serio.c 	} else if (!strncmp(buf, "auto", count)) {
count             158 drivers/input/serio/serio_raw.c 			      size_t count, loff_t *ppos)
count             174 drivers/input/serio/serio_raw.c 		if (count == 0)
count             177 drivers/input/serio/serio_raw.c 		while (read < count && serio_raw_fetch_byte(serio_raw, &c)) {
count             199 drivers/input/serio/serio_raw.c 			       size_t count, loff_t *ppos)
count             215 drivers/input/serio/serio_raw.c 	if (count > 32)
count             216 drivers/input/serio/serio_raw.c 		count = 32;
count             218 drivers/input/serio/serio_raw.c 	while (count--) {
count             117 drivers/input/serio/serport.c static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, int count)
count             129 drivers/input/serio/serport.c 	for (i = 0; i < count; i++) {
count             122 drivers/input/serio/userio.c 				size_t count, loff_t *ppos)
count             143 drivers/input/serio/userio.c 		copylen = min(nonwrap_len, count);
count             163 drivers/input/serio/userio.c 		if (count == 0)
count             180 drivers/input/serio/userio.c 				 size_t count, loff_t *ppos)
count             186 drivers/input/serio/userio.c 	if (count != sizeof(cmd)) {
count             248 drivers/input/serio/userio.c 	return error ?: count;
count             353 drivers/input/tablet/aiptek.c static int map_str_to_val(const struct aiptek_map *map, const char *str, size_t count)
count             357 drivers/input/tablet/aiptek.c 	if (str[count - 1] == '\n')
count             358 drivers/input/tablet/aiptek.c 		count--;
count             361 drivers/input/tablet/aiptek.c 	        if (!strncmp(str, p->string, count))
count            1073 drivers/input/tablet/aiptek.c store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1076 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(pointer_mode_map, buf, count);
count            1082 drivers/input/tablet/aiptek.c 	return count;
count            1110 drivers/input/tablet/aiptek.c store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1113 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(coordinate_mode_map, buf, count);
count            1119 drivers/input/tablet/aiptek.c 	return count;
count            1152 drivers/input/tablet/aiptek.c store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1155 drivers/input/tablet/aiptek.c 	int new_mode = map_str_to_val(tool_mode_map, buf, count);
count            1161 drivers/input/tablet/aiptek.c 	return count;
count            1185 drivers/input/tablet/aiptek.c store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1191 drivers/input/tablet/aiptek.c 		size_t len = buf[count - 1] == '\n' ? count - 1 : count;
count            1204 drivers/input/tablet/aiptek.c 	return count;
count            1227 drivers/input/tablet/aiptek.c store_tabletYtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1233 drivers/input/tablet/aiptek.c 		size_t len = buf[count - 1] == '\n' ? count - 1 : count;
count            1246 drivers/input/tablet/aiptek.c 	return count;
count            1264 drivers/input/tablet/aiptek.c store_tabletJitterDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1274 drivers/input/tablet/aiptek.c 	return count;
count            1294 drivers/input/tablet/aiptek.c store_tabletProgrammableDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1304 drivers/input/tablet/aiptek.c 	return count;
count            1384 drivers/input/tablet/aiptek.c store_tabletStylusUpper(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1387 drivers/input/tablet/aiptek.c 	int new_button = map_str_to_val(stylus_button_map, buf, count);
count            1393 drivers/input/tablet/aiptek.c 	return count;
count            1415 drivers/input/tablet/aiptek.c store_tabletStylusLower(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1418 drivers/input/tablet/aiptek.c 	int new_button = map_str_to_val(stylus_button_map, buf, count);
count            1424 drivers/input/tablet/aiptek.c 	return count;
count            1453 drivers/input/tablet/aiptek.c store_tabletMouseLeft(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1456 drivers/input/tablet/aiptek.c 	int new_button = map_str_to_val(mouse_button_map, buf, count);
count            1462 drivers/input/tablet/aiptek.c 	return count;
count            1483 drivers/input/tablet/aiptek.c store_tabletMouseMiddle(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1486 drivers/input/tablet/aiptek.c 	int new_button = map_str_to_val(mouse_button_map, buf, count);
count            1492 drivers/input/tablet/aiptek.c 	return count;
count            1513 drivers/input/tablet/aiptek.c store_tabletMouseRight(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1516 drivers/input/tablet/aiptek.c 	int new_button = map_str_to_val(mouse_button_map, buf, count);
count            1522 drivers/input/tablet/aiptek.c 	return count;
count            1546 drivers/input/tablet/aiptek.c store_tabletWheel(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1556 drivers/input/tablet/aiptek.c 	return count;
count            1576 drivers/input/tablet/aiptek.c store_tabletExecute(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1589 drivers/input/tablet/aiptek.c 	return count;
count             470 drivers/input/touchscreen/ad7877.c 				     const char *buf, size_t count)
count             485 drivers/input/touchscreen/ad7877.c 	return count;
count             500 drivers/input/touchscreen/ad7877.c 				     const char *buf, size_t count)
count             515 drivers/input/touchscreen/ad7877.c 	return count;
count             530 drivers/input/touchscreen/ad7877.c 				     const char *buf, size_t count)
count             546 drivers/input/touchscreen/ad7877.c 	return count;
count             561 drivers/input/touchscreen/ad7877.c 				     const char *buf, size_t count)
count             577 drivers/input/touchscreen/ad7877.c 	return count;
count             368 drivers/input/touchscreen/ad7879.c 				     const char *buf, size_t count)
count             380 drivers/input/touchscreen/ad7879.c 	return count;
count             576 drivers/input/touchscreen/ads7846.c 				     const char *buf, size_t count)
count             591 drivers/input/touchscreen/ads7846.c 	return count;
count             416 drivers/input/touchscreen/atmel_mxt_ts.c 			       u8 *val, unsigned int count)
count             424 drivers/input/touchscreen/atmel_mxt_ts.c 	msg.len = count;
count             440 drivers/input/touchscreen/atmel_mxt_ts.c 				const u8 * const val, unsigned int count)
count             447 drivers/input/touchscreen/atmel_mxt_ts.c 	msg.len = count;
count             662 drivers/input/touchscreen/atmel_mxt_ts.c 	size_t count;
count             665 drivers/input/touchscreen/atmel_mxt_ts.c 	count = len + 2;
count             666 drivers/input/touchscreen/atmel_mxt_ts.c 	buf = kmalloc(count, GFP_KERNEL);
count             674 drivers/input/touchscreen/atmel_mxt_ts.c 	ret = i2c_master_send(client, buf, count);
count             675 drivers/input/touchscreen/atmel_mxt_ts.c 	if (ret == count) {
count             987 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_read_and_process_messages(struct mxt_data *data, u8 count)
count             995 drivers/input/touchscreen/atmel_mxt_ts.c 	if (count > data->max_reportid)
count            1000 drivers/input/touchscreen/atmel_mxt_ts.c 				data->T5_msg_size * count, data->msg_buf);
count            1002 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_err(dev, "Failed to read %u messages (%d)\n", count, ret);
count            1006 drivers/input/touchscreen/atmel_mxt_ts.c 	for (i = 0;  i < count; i++) {
count            1022 drivers/input/touchscreen/atmel_mxt_ts.c 	u8 count, num_left;
count            1032 drivers/input/touchscreen/atmel_mxt_ts.c 	count = data->msg_buf[0];
count            1038 drivers/input/touchscreen/atmel_mxt_ts.c 	if (count == 0)
count            1041 drivers/input/touchscreen/atmel_mxt_ts.c 	if (count > data->max_reportid) {
count            1042 drivers/input/touchscreen/atmel_mxt_ts.c 		dev_warn(dev, "T44 count %d exceeded max report id\n", count);
count            1043 drivers/input/touchscreen/atmel_mxt_ts.c 		count = data->max_reportid;
count            1053 drivers/input/touchscreen/atmel_mxt_ts.c 	num_left = count - 1;
count            1076 drivers/input/touchscreen/atmel_mxt_ts.c 	int count, read;
count            1079 drivers/input/touchscreen/atmel_mxt_ts.c 	count = data->max_reportid;
count            1083 drivers/input/touchscreen/atmel_mxt_ts.c 		read = mxt_read_and_process_messages(data, count);
count            1084 drivers/input/touchscreen/atmel_mxt_ts.c 		if (read < count)
count            1100 drivers/input/touchscreen/atmel_mxt_ts.c 	u8 count = data->last_message_count;
count            1102 drivers/input/touchscreen/atmel_mxt_ts.c 	if (count < 1 || count > data->max_reportid)
count            1103 drivers/input/touchscreen/atmel_mxt_ts.c 		count = 1;
count            1106 drivers/input/touchscreen/atmel_mxt_ts.c 	total_handled = mxt_read_and_process_messages(data, count + 1);
count            1110 drivers/input/touchscreen/atmel_mxt_ts.c 	else if (total_handled <= count)
count            2686 drivers/input/touchscreen/atmel_mxt_ts.c static ssize_t mxt_show_instance(char *buf, int count,
count            2693 drivers/input/touchscreen/atmel_mxt_ts.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count            2697 drivers/input/touchscreen/atmel_mxt_ts.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count            2699 drivers/input/touchscreen/atmel_mxt_ts.c 	count += scnprintf(buf + count, PAGE_SIZE - count, "\n");
count            2701 drivers/input/touchscreen/atmel_mxt_ts.c 	return count;
count            2709 drivers/input/touchscreen/atmel_mxt_ts.c 	int count = 0;
count            2726 drivers/input/touchscreen/atmel_mxt_ts.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count            2737 drivers/input/touchscreen/atmel_mxt_ts.c 			count = mxt_show_instance(buf, count, object, j, obuf);
count            2743 drivers/input/touchscreen/atmel_mxt_ts.c 	return error ?: count;
count            2893 drivers/input/touchscreen/atmel_mxt_ts.c 					const char *buf, size_t count)
count            2901 drivers/input/touchscreen/atmel_mxt_ts.c 		count = error;
count            2910 drivers/input/touchscreen/atmel_mxt_ts.c 	return count;
count             203 drivers/input/touchscreen/chipone_icn8505.c 	size_t offset, count;
count             238 drivers/input/touchscreen/chipone_icn8505.c 	for (offset = 0; offset < fw->size; offset += count) {
count             239 drivers/input/touchscreen/chipone_icn8505.c 		count = min_t(size_t, fw->size - offset, 32);
count             241 drivers/input/touchscreen/chipone_icn8505.c 					      fw->data + offset, count);
count             372 drivers/input/touchscreen/edt-ft5x06.c 	size_t count = 0;
count             423 drivers/input/touchscreen/edt-ft5x06.c 	count = scnprintf(buf, PAGE_SIZE, "%d\n", val);
count             426 drivers/input/touchscreen/edt-ft5x06.c 	return error ?: count;
count             431 drivers/input/touchscreen/edt-ft5x06.c 					const char *buf, size_t count)
count             491 drivers/input/touchscreen/edt-ft5x06.c 	return error ?: count;
count             680 drivers/input/touchscreen/edt-ft5x06.c 				char __user *buf, size_t count, loff_t *off)
count             745 drivers/input/touchscreen/edt-ft5x06.c 	read = min_t(size_t, count, tsdata->raw_bufsize - *off);
count             952 drivers/input/touchscreen/elants_i2c.c 			      const char *buf, size_t count)
count             965 drivers/input/touchscreen/elants_i2c.c 	return error ?: count;
count             970 drivers/input/touchscreen/elants_i2c.c 			       const char *buf, size_t count)
count             984 drivers/input/touchscreen/elants_i2c.c 	return error ?: count;
count             179 drivers/input/touchscreen/hideep.c 			    const __be32 *data, size_t count)
count             182 drivers/input/touchscreen/hideep.c 	size_t len = count * sizeof(*data);
count             194 drivers/input/touchscreen/hideep.c 	packet->header.len = 0x80 | (count - 1);
count             206 drivers/input/touchscreen/hideep.c 			    __be32 *data, size_t count)
count             209 drivers/input/touchscreen/hideep.c 	size_t len = count * sizeof(*data);
count             229 drivers/input/touchscreen/hideep.c 	packet->header.len = count - 1;
count             855 drivers/input/touchscreen/hideep.c 				const char *buf, size_t count)
count             907 drivers/input/touchscreen/hideep.c 	return error ?: count;
count             216 drivers/input/touchscreen/ili210x.c 				 const char *buf, size_t count)
count             236 drivers/input/touchscreen/ili210x.c 	return count;
count             956 drivers/input/touchscreen/iqs5xx.c 				const char *buf, size_t count)
count             960 drivers/input/touchscreen/iqs5xx.c 	size_t len = count;
count             995 drivers/input/touchscreen/iqs5xx.c 	return count;
count             111 drivers/input/touchscreen/mainstone-wm97xx.c 	unsigned int count;
count             115 drivers/input/touchscreen/mainstone-wm97xx.c 	for (count = 0; count < 16; count++)
count            1289 drivers/input/touchscreen/melfas_mip4.c 				    const char *buf, size_t count)
count            1323 drivers/input/touchscreen/melfas_mip4.c 	return count;
count            1334 drivers/input/touchscreen/melfas_mip4.c 	size_t count;
count            1339 drivers/input/touchscreen/melfas_mip4.c 	count = snprintf(buf, PAGE_SIZE, "%04X %04X %04X %04X\n",
count            1345 drivers/input/touchscreen/melfas_mip4.c 	return count;
count            1356 drivers/input/touchscreen/melfas_mip4.c 	size_t count;
count            1365 drivers/input/touchscreen/melfas_mip4.c 	count = snprintf(buf, PAGE_SIZE, "%.*s\n",
count            1370 drivers/input/touchscreen/melfas_mip4.c 	return count;
count            1381 drivers/input/touchscreen/melfas_mip4.c 	size_t count;
count            1385 drivers/input/touchscreen/melfas_mip4.c 	count = snprintf(buf, PAGE_SIZE, "%04X\n", ts->product_id);
count            1389 drivers/input/touchscreen/melfas_mip4.c 	return count;
count            1400 drivers/input/touchscreen/melfas_mip4.c 	size_t count;
count            1404 drivers/input/touchscreen/melfas_mip4.c 	count = snprintf(buf, PAGE_SIZE, "%.*s\n",
count            1409 drivers/input/touchscreen/melfas_mip4.c 	return count;
count              93 drivers/input/touchscreen/migor_ts.c 	int count;
count              96 drivers/input/touchscreen/migor_ts.c 	count = i2c_master_send(client, migor_ts_ena_seq,
count              98 drivers/input/touchscreen/migor_ts.c 	if (count != sizeof(migor_ts_ena_seq)) {
count             889 drivers/input/touchscreen/raydium_i2c_ts.c 					   const char *buf, size_t count)
count             903 drivers/input/touchscreen/raydium_i2c_ts.c 	return error ?: count;
count             908 drivers/input/touchscreen/raydium_i2c_ts.c 					   const char *buf, size_t count)
count             925 drivers/input/touchscreen/raydium_i2c_ts.c 	return error ?: count;
count             535 drivers/input/touchscreen/rohm_bu21023.c 	int count;
count             603 drivers/input/touchscreen/rohm_bu21023.c 			count = ts->contact_count[finger_count];
count             605 drivers/input/touchscreen/rohm_bu21023.c 			ts->contact_count[finger_count] = count;
count             740 drivers/input/touchscreen/rohm_bu21023.c 			     const char *buf, size_t count)
count             766 drivers/input/touchscreen/rohm_bu21023.c 	return error ? error : count;
count             779 drivers/input/touchscreen/rohm_bu21023.c 			   const char *buf, size_t count)
count             805 drivers/input/touchscreen/rohm_bu21023.c 	return error ? error : count;
count             818 drivers/input/touchscreen/rohm_bu21023.c 			   const char *buf, size_t count)
count             844 drivers/input/touchscreen/rohm_bu21023.c 	return error ? error : count;
count              71 drivers/input/touchscreen/s3c2410_ts.c 	int count;
count             104 drivers/input/touchscreen/s3c2410_ts.c 		if (ts.count == (1 << ts.shift)) {
count             109 drivers/input/touchscreen/s3c2410_ts.c 				__func__, ts.xp, ts.yp, ts.count);
count             119 drivers/input/touchscreen/s3c2410_ts.c 			ts.count = 0;
count             126 drivers/input/touchscreen/s3c2410_ts.c 		ts.count = 0;
count             162 drivers/input/touchscreen/s3c2410_ts.c 		dev_dbg(ts.dev, "%s: count=%d\n", __func__, ts.count);
count             190 drivers/input/touchscreen/s3c2410_ts.c 	ts.count++;
count             103 drivers/input/touchscreen/st1232.c 	int count = 0;
count             122 drivers/input/touchscreen/st1232.c 		count++;
count             126 drivers/input/touchscreen/st1232.c 	if (!count) {
count              45 drivers/input/touchscreen/sur40.c 	__le16 count;      /* count of blobs (if 0: continue prev. packet) */
count             489 drivers/input/touchscreen/sur40.c 			need_blobs = le16_to_cpu(header->count);
count             901 drivers/input/touchscreen/sur40.c static int sur40_start_streaming(struct vb2_queue *vq, unsigned int count)
count             154 drivers/input/touchscreen/wacom_w8001.c 	int count = 0;
count             171 drivers/input/touchscreen/wacom_w8001.c 			count++;
count             181 drivers/input/touchscreen/wacom_w8001.c 		w8001->type = count == 1 ? BTN_TOOL_FINGER : KEY_RESERVED;
count             567 drivers/input/touchscreen/wdt87xx_i2c.c 	int count = 0;
count             599 drivers/input/touchscreen/wdt87xx_i2c.c 		if ((++count % 32) == 0) {
count             913 drivers/input/touchscreen/wdt87xx_i2c.c 				   const char *buf, size_t count)
count             919 drivers/input/touchscreen/wdt87xx_i2c.c 	return error ? error : count;
count             924 drivers/input/touchscreen/wdt87xx_i2c.c 			       const char *buf, size_t count)
count             930 drivers/input/touchscreen/wdt87xx_i2c.c 	return error ? error : count;
count              89 drivers/input/touchscreen/wm831x-ts.c 	int count;
count              93 drivers/input/touchscreen/wm831x-ts.c 		count = 3;
count              95 drivers/input/touchscreen/wm831x-ts.c 		count = 2;
count             100 drivers/input/touchscreen/wm831x-ts.c 	ret = wm831x_bulk_read(wm831x, WM831X_TOUCH_DATA_X, count,
count             113 drivers/input/touchscreen/wm831x-ts.c 	for (i = 0; i < count; i++) {
count             137 drivers/input/touchscreen/wm831x-ts.c 		wm831x_bulk_read(wm831x, WM831X_TOUCH_DATA_X, count, data);
count             342 drivers/input/touchscreen/zforce_ts.c 	int count, i, num = 0;
count             344 drivers/input/touchscreen/zforce_ts.c 	count = payload[0];
count             345 drivers/input/touchscreen/zforce_ts.c 	if (count > ZFORCE_REPORT_POINTS) {
count             348 drivers/input/touchscreen/zforce_ts.c 			 count, ZFORCE_REPORT_POINTS);
count             349 drivers/input/touchscreen/zforce_ts.c 		count = ZFORCE_REPORT_POINTS;
count             352 drivers/input/touchscreen/zforce_ts.c 	for (i = 0; i < count; i++) {
count             380 drivers/input/touchscreen/zforce_ts.c 			i, count, point.state, point.id,
count             491 drivers/iommu/amd_iommu.c 			 unsigned long *count)
count             504 drivers/iommu/amd_iommu.c 	if (count)
count             505 drivers/iommu/amd_iommu.c 		*count = cnt;
count             563 drivers/iommu/amd_iommu.c 	int count = 0;
count             576 drivers/iommu/amd_iommu.c 		if (++count == LOOP_TIMEOUT) {
count            1032 drivers/iommu/amd_iommu.c 	unsigned int count = 0;
count            1041 drivers/iommu/amd_iommu.c 		if (count++) {
count            1042 drivers/iommu/amd_iommu.c 			if (count == LOOP_TIMEOUT) {
count            1528 drivers/iommu/amd_iommu.c 			unsigned long count, i;
count            1531 drivers/iommu/amd_iommu.c 			lpte = first_pte_l7(pte, NULL, &count);
count            1537 drivers/iommu/amd_iommu.c 			for (i = 0; i < count; ++i)
count            1668 drivers/iommu/amd_iommu.c 	int ret, i, count;
count            1677 drivers/iommu/amd_iommu.c 	count = PAGE_SIZE_PTE_COUNT(page_size);
count            1684 drivers/iommu/amd_iommu.c 	for (i = 0; i < count; ++i)
count            1690 drivers/iommu/amd_iommu.c 	if (count > 1) {
count            1701 drivers/iommu/amd_iommu.c 	for (i = 0; i < count; ++i)
count            1738 drivers/iommu/amd_iommu.c 			int i, count;
count            1740 drivers/iommu/amd_iommu.c 			count = PAGE_SIZE_PTE_COUNT(unmap_size);
count            1741 drivers/iommu/amd_iommu.c 			for (i = 0; i < count; i++)
count            3823 drivers/iommu/amd_iommu.c static int alloc_irq_index(u16 devid, int count, bool align,
count            3839 drivers/iommu/amd_iommu.c 		alignment = roundup_pow_of_two(count);
count            3854 drivers/iommu/amd_iommu.c 		if (c == count)	{
count            3858 drivers/iommu/amd_iommu.c 			index -= count - 1;
count              38 drivers/iommu/amd_iommu_v2.c 	atomic_t count;				/* Reference count */
count              56 drivers/iommu/amd_iommu_v2.c 	atomic_t count;
count             118 drivers/iommu/amd_iommu_v2.c 		atomic_inc(&dev_state->count);
count             149 drivers/iommu/amd_iommu_v2.c 	if (atomic_dec_and_test(&dev_state->count))
count             247 drivers/iommu/amd_iommu_v2.c 		atomic_inc(&ret->count);
count             262 drivers/iommu/amd_iommu_v2.c 	if (atomic_dec_and_test(&pasid_state->count))
count             268 drivers/iommu/amd_iommu_v2.c 	atomic_dec(&pasid_state->count);
count             269 drivers/iommu/amd_iommu_v2.c 	wait_event(pasid_state->wq, !atomic_read(&pasid_state->count));
count             631 drivers/iommu/amd_iommu_v2.c 	atomic_set(&pasid_state->count, 1);
count             765 drivers/iommu/amd_iommu_v2.c 	atomic_set(&dev_state->count, 1);
count             856 drivers/iommu/amd_iommu_v2.c 	wait_event(dev_state->wq, !atomic_read(&dev_state->count));
count              77 drivers/iommu/arm-smmu.c 	int				count;
count             997 drivers/iommu/arm-smmu.c 	if (--smmu->s2crs[idx].count)
count            1032 drivers/iommu/arm-smmu.c 		if (smrs && smmu->s2crs[idx].count == 0) {
count            1037 drivers/iommu/arm-smmu.c 		smmu->s2crs[idx].count++;
count             485 drivers/iommu/dma-iommu.c static void __iommu_dma_free_pages(struct page **pages, int count)
count             487 drivers/iommu/dma-iommu.c 	while (count--)
count             488 drivers/iommu/dma-iommu.c 		__free_page(pages[count]);
count             493 drivers/iommu/dma-iommu.c 		unsigned int count, unsigned long order_mask, gfp_t gfp)
count             502 drivers/iommu/dma-iommu.c 	pages = kvzalloc(count * sizeof(*pages), GFP_KERNEL);
count             509 drivers/iommu/dma-iommu.c 	while (count) {
count             518 drivers/iommu/dma-iommu.c 		for (order_mask &= (2U << __fls(count)) - 1;
count             543 drivers/iommu/dma-iommu.c 		count -= order_size;
count             573 drivers/iommu/dma-iommu.c 	unsigned int count, min_size, alloc_sizes = domain->pgsize_bitmap;
count             591 drivers/iommu/dma-iommu.c 	count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count             592 drivers/iommu/dma-iommu.c 	pages = __iommu_dma_alloc_pages(dev, count, alloc_sizes >> PAGE_SHIFT,
count             602 drivers/iommu/dma-iommu.c 	if (sg_alloc_table_from_pages(&sgt, pages, count, 0, size, GFP_KERNEL))
count             633 drivers/iommu/dma-iommu.c 	__iommu_dma_free_pages(pages, count);
count             741 drivers/iommu/dma-iommu.c 	int i, count = 0;
count             770 drivers/iommu/dma-iommu.c 			count++;
count             781 drivers/iommu/dma-iommu.c 	return count;
count             925 drivers/iommu/dma-iommu.c 	int count = alloc_size >> PAGE_SHIFT;
count             948 drivers/iommu/dma-iommu.c 		__iommu_dma_free_pages(pages, count);
count             183 drivers/iommu/dmar.c 				struct acpi_dmar_pci_path *path, int count)
count             189 drivers/iommu/dmar.c 	if (info->level != count)
count             192 drivers/iommu/dmar.c 	for (i = 0; i < count; i++) {
count             202 drivers/iommu/dmar.c 	if (count != 1)
count             276 drivers/iommu/dmar.c 			  struct dmar_dev_scope *devices, int count)
count             284 drivers/iommu/dmar.c 	for_each_active_dev_scope(devices, count, index, tmp)
count              27 drivers/iommu/fsl_pamu.c 	unsigned int count;		/* The number of PAMUs */
count             758 drivers/iommu/fsl_pamu.c 	for (i = 0; i < data->count; i++) {
count            1047 drivers/iommu/fsl_pamu.c 	data->count = size / PAMU_OFFSET;
count            1767 drivers/iommu/intel-iommu.c 	int num, count;
count            1773 drivers/iommu/intel-iommu.c 	count = --domain->iommu_count;
count            1783 drivers/iommu/intel-iommu.c 	return count;
count            3647 drivers/iommu/intel-iommu.c 		unsigned int count = size >> PAGE_SHIFT;
count            3649 drivers/iommu/intel-iommu.c 		page = dma_alloc_from_contiguous(dev, count, order,
count             105 drivers/iommu/intel_irq_remapping.c 		      struct irq_2_iommu *irq_iommu, u16 count)
count             112 drivers/iommu/intel_irq_remapping.c 	if (!count || !irq_iommu)
count             115 drivers/iommu/intel_irq_remapping.c 	if (count > 1) {
count             116 drivers/iommu/intel_irq_remapping.c 		count = __roundup_pow_of_two(count);
count             117 drivers/iommu/intel_irq_remapping.c 		mask = ilog2(count);
count             371 drivers/iommu/intel_irq_remapping.c 	int count;
count             379 drivers/iommu/intel_irq_remapping.c 	if (data->count == 0 || PCI_BUS_NUM(alias) == PCI_BUS_NUM(data->alias))
count             384 drivers/iommu/intel_irq_remapping.c 	data->count++;
count             396 drivers/iommu/intel_irq_remapping.c 	data.count = 0;
count             421 drivers/iommu/intel_irq_remapping.c 	else if (data.count >= 2 && data.busmatch_count == data.count)
count             840 drivers/iommu/intel_irq_remapping.c 	int count, free = -1;
count             844 drivers/iommu/intel_irq_remapping.c 	count = (scope->length - sizeof(struct acpi_dmar_device_scope))
count             847 drivers/iommu/intel_irq_remapping.c 	while (--count > 0) {
count             857 drivers/iommu/intel_irq_remapping.c 	for (count = 0; count < MAX_HPET_TBS; count++) {
count             858 drivers/iommu/intel_irq_remapping.c 		if (ir_hpet[count].iommu == iommu &&
count             859 drivers/iommu/intel_irq_remapping.c 		    ir_hpet[count].id == scope->enumeration_id)
count             861 drivers/iommu/intel_irq_remapping.c 		else if (ir_hpet[count].iommu == NULL && free == -1)
count             862 drivers/iommu/intel_irq_remapping.c 			free = count;
count             885 drivers/iommu/intel_irq_remapping.c 	int count, free = -1;
count             889 drivers/iommu/intel_irq_remapping.c 	count = (scope->length - sizeof(struct acpi_dmar_device_scope))
count             892 drivers/iommu/intel_irq_remapping.c 	while (--count > 0) {
count             902 drivers/iommu/intel_irq_remapping.c 	for (count = 0; count < MAX_IO_APICS; count++) {
count             903 drivers/iommu/intel_irq_remapping.c 		if (ir_ioapic[count].iommu == iommu &&
count             904 drivers/iommu/intel_irq_remapping.c 		    ir_ioapic[count].id == scope->enumeration_id)
count             906 drivers/iommu/intel_irq_remapping.c 		else if (ir_ioapic[count].iommu == NULL && free == -1)
count             907 drivers/iommu/intel_irq_remapping.c 			free = count;
count              58 drivers/iommu/iommu.c 			 const char *buf, size_t count);
count             250 drivers/iommu/iommu.c 				      const char *buf, size_t count)
count             257 drivers/iommu/iommu.c 		ret = attr->store(group, buf, count);
count             299 drivers/iommu/ipmmu-vmsa.c 	unsigned int count = 0;
count             303 drivers/iommu/ipmmu-vmsa.c 		if (++count == TLB_LOOP_TIMEOUT) {
count             431 drivers/iommu/mtk_iommu_v1.c 		int count = of_phandle_iterator_args(&it, iommu_spec.args,
count             434 drivers/iommu/mtk_iommu_v1.c 		iommu_spec.args_count = count;
count             593 drivers/iommu/mtk_iommu_v1.c 		int count = of_phandle_iterator_args(&it, larb_spec.args,
count             596 drivers/iommu/mtk_iommu_v1.c 		if (count)
count              84 drivers/iommu/omap-iommu-debug.c 			       size_t count, loff_t *ppos)
count              93 drivers/iommu/omap-iommu-debug.c 	buf = kmalloc(count, GFP_KERNEL);
count             100 drivers/iommu/omap-iommu-debug.c 	bytes = omap_iommu_dump_ctx(obj, p, count);
count             101 drivers/iommu/omap-iommu-debug.c 	bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes);
count            1418 drivers/iommu/omap-iommu.c 	int count = 0;
count            1421 drivers/iommu/omap-iommu.c 		count++;
count            1425 drivers/iommu/omap-iommu.c 	return count;
count             121 drivers/iommu/rockchip-iommu.c 				  unsigned int count)
count             123 drivers/iommu/rockchip-iommu.c 	size_t size = count * sizeof(u32); /* count of u32 entry */
count              52 drivers/iommu/tegra-smmu.c 	u32 *count;
count             296 drivers/iommu/tegra-smmu.c 	as->count = kcalloc(SMMU_NUM_PDE, sizeof(u32), GFP_KERNEL);
count             297 drivers/iommu/tegra-smmu.c 	if (!as->count) {
count             305 drivers/iommu/tegra-smmu.c 		kfree(as->count);
count             326 drivers/iommu/tegra-smmu.c 	kfree(as->count);
count             613 drivers/iommu/tegra-smmu.c 	as->count[pd_index]++;
count             625 drivers/iommu/tegra-smmu.c 	if (--as->count[pde] == 0) {
count             419 drivers/ipack/devices/ipoctal.c 					    int count)
count             426 drivers/ipack/devices/ipoctal.c 	for (i = 0; i < count; i++) {
count             441 drivers/ipack/devices/ipoctal.c 			     const unsigned char *buf, int count)
count             446 drivers/ipack/devices/ipoctal.c 	char_copied = ipoctal_copy_write_buffer(channel, buf, count);
count              59 drivers/irqchip/irq-ath79-cpu.c 	int err, i, count;
count              62 drivers/irqchip/irq-ath79-cpu.c 	count = of_count_phandle_with_args(
count              65 drivers/irqchip/irq-ath79-cpu.c 	for (i = 0; i < count; i++) {
count              35 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	int msi, msix, *count = data;
count              39 drivers/irqchip/irq-gic-v3-its-pci-msi.c 	*count += max(msi, msix);
count             703 drivers/irqchip/irq-gic-v3-its.c 	u32 count = 1000000;	/* 1s! */
count             706 drivers/irqchip/irq-gic-v3-its.c 		count--;
count             707 drivers/irqchip/irq-gic-v3-its.c 		if (!count) {
count             756 drivers/irqchip/irq-gic-v3-its.c 	u32 count = 1000000;	/* 1s! */
count             782 drivers/irqchip/irq-gic-v3-its.c 		count--;
count             783 drivers/irqchip/irq-gic-v3-its.c 		if (!count) {
count            2091 drivers/irqchip/irq-gic-v3-its.c 	u32 count = 1000000;	/* 1s! */
count            2103 drivers/irqchip/irq-gic-v3-its.c 			count--;
count            2107 drivers/irqchip/irq-gic-v3-its.c 	} while (!clean && count);
count            3189 drivers/irqchip/irq-gic-v3-its.c 	u32 count = 1000000;	/* 1s */
count            3211 drivers/irqchip/irq-gic-v3-its.c 		count--;
count            3212 drivers/irqchip/irq-gic-v3-its.c 		if (!count)
count            3897 drivers/irqchip/irq-gic-v3-its.c 	int count;
count            3899 drivers/irqchip/irq-gic-v3-its.c 	count = acpi_table_parse_entries(ACPI_SIG_SRAT,
count            3903 drivers/irqchip/irq-gic-v3-its.c 	if (count <= 0)
count            3906 drivers/irqchip/irq-gic-v3-its.c 	its_srat_maps = kmalloc_array(count, sizeof(struct its_srat_map),
count             167 drivers/irqchip/irq-gic-v3.c 	u32 count = 1000000;	/* 1s! */
count             170 drivers/irqchip/irq-gic-v3.c 		count--;
count             171 drivers/irqchip/irq-gic-v3.c 		if (!count) {
count             206 drivers/irqchip/irq-gic-v3.c 	u32 count = 1000000;	/* 1s! */
count             228 drivers/irqchip/irq-gic-v3.c 	while (--count) {
count             235 drivers/irqchip/irq-gic-v3.c 	if (!count)
count            1813 drivers/irqchip/irq-gic-v3.c 	static int count = 0;
count            1815 drivers/irqchip/irq-gic-v3.c 	acpi_data.redist_regs[count].phys_base = phys_base;
count            1816 drivers/irqchip/irq-gic-v3.c 	acpi_data.redist_regs[count].redist_base = redist_base;
count            1817 drivers/irqchip/irq-gic-v3.c 	acpi_data.redist_regs[count].single_redist = acpi_data.single_redist;
count            1818 drivers/irqchip/irq-gic-v3.c 	count++;
count            1916 drivers/irqchip/irq-gic-v3.c 	int count;
count            1923 drivers/irqchip/irq-gic-v3.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR,
count            1925 drivers/irqchip/irq-gic-v3.c 	if (count > 0) {
count            1927 drivers/irqchip/irq-gic-v3.c 		return count;
count            1930 drivers/irqchip/irq-gic-v3.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_INTERRUPT,
count            1932 drivers/irqchip/irq-gic-v3.c 	if (count > 0) {
count            1934 drivers/irqchip/irq-gic-v3.c 		count = acpi_data.enabled_rdists;
count            1937 drivers/irqchip/irq-gic-v3.c 	return count;
count            1944 drivers/irqchip/irq-gic-v3.c 	int count;
count            1951 drivers/irqchip/irq-gic-v3.c 	count = gic_acpi_count_gicr_regions();
count            1952 drivers/irqchip/irq-gic-v3.c 	if (count <= 0)
count            1955 drivers/irqchip/irq-gic-v3.c 	acpi_data.nr_redist_regions = count;
count            1997 drivers/irqchip/irq-gic-v3.c 	int count;
count            1999 drivers/irqchip/irq-gic-v3.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_INTERRUPT,
count            2002 drivers/irqchip/irq-gic-v3.c 	return (count > 0);
count            1602 drivers/irqchip/irq-gic.c 	int count, ret;
count            1605 drivers/irqchip/irq-gic.c 	count = acpi_table_parse_madt(ACPI_MADT_TYPE_GENERIC_INTERRUPT,
count            1607 drivers/irqchip/irq-gic.c 	if (count <= 0) {
count              27 drivers/irqchip/irq-mvebu-gicp.c 	unsigned int count;
count              47 drivers/irqchip/irq-mvebu-gicp.c 		if (idx < r->count)
count              50 drivers/irqchip/irq-mvebu-gicp.c 		idx -= r->count;
count             208 drivers/irqchip/irq-mvebu-gicp.c 					   &gicp->spi_ranges[i].count);
count             210 drivers/irqchip/irq-mvebu-gicp.c 		gicp->spi_cnt += gicp->spi_ranges[i].count;
count             147 drivers/irqchip/qcom-irq-combiner.c 	int *count = context;
count             150 drivers/irqchip/qcom-irq-combiner.c 		++(*count);
count             158 drivers/irqchip/qcom-irq-combiner.c 	int count = 0;
count             164 drivers/irqchip/qcom-irq-combiner.c 				     count_registers_cb, &count);
count             167 drivers/irqchip/qcom-irq-combiner.c 	return count;
count             320 drivers/isdn/capi/capi.c 	unsigned int count = 0;
count             326 drivers/isdn/capi/capi.c 			count = tty->count;
count             330 drivers/isdn/capi/capi.c 	return count;
count             647 drivers/isdn/capi/capi.c capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             666 drivers/isdn/capi/capi.c 	if (skb->len > count) {
count             682 drivers/isdn/capi/capi.c capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
count             691 drivers/isdn/capi/capi.c 	if (count < CAPIMSG_BASELEN)
count             694 drivers/isdn/capi/capi.c 	skb = alloc_skb(count, GFP_USER);
count             698 drivers/isdn/capi/capi.c 	if (copy_from_user(skb_put(skb, count), buf, count)) {
count             704 drivers/isdn/capi/capi.c 		if (count < CAPI_DATA_B3_REQ_LEN ||
count             705 drivers/isdn/capi/capi.c 		    (size_t)(mlen + CAPIMSG_DATALEN(skb->data)) != count) {
count             710 drivers/isdn/capi/capi.c 		if (mlen != count) {
count             718 drivers/isdn/capi/capi.c 		if (count < CAPI_DISCONNECT_B3_RESP_LEN) {
count             733 drivers/isdn/capi/capi.c 	return count;
count             902 drivers/isdn/capi/capi.c 		int count = 0;
count             910 drivers/isdn/capi/capi.c 			count = capincci_minor_opencount(nccip);
count             912 drivers/isdn/capi/capi.c 		return count;
count            1047 drivers/isdn/capi/capi.c 			    const unsigned char *buf, int count)
count            1052 drivers/isdn/capi/capi.c 	pr_debug("capinc_tty_write(count=%d)\n", count);
count            1062 drivers/isdn/capi/capi.c 	skb = alloc_skb(CAPI_DATA_B3_REQ_LEN + count, GFP_ATOMIC);
count            1070 drivers/isdn/capi/capi.c 	skb_put_data(skb, buf, count);
count            1078 drivers/isdn/capi/capi.c 	return count;
count             390 drivers/isdn/hardware/mISDN/avmfritz.c hdlc_empty_fifo(struct bchannel *bch, int count)
count             398 drivers/isdn/hardware/mISDN/avmfritz.c 	pr_debug("%s: %s %d\n", fc->name, __func__, count);
count             401 drivers/isdn/hardware/mISDN/avmfritz.c 		bch->dropcnt += count;
count             403 drivers/isdn/hardware/mISDN/avmfritz.c 		cnt = bchannel_get_rxbuf(bch, count);
count             406 drivers/isdn/hardware/mISDN/avmfritz.c 				   fc->name, bch->nr, count);
count             409 drivers/isdn/hardware/mISDN/avmfritz.c 		p = skb_put(bch->rx_skb, count);
count             420 drivers/isdn/hardware/mISDN/avmfritz.c 	while (cnt < count) {
count             430 drivers/isdn/hardware/mISDN/avmfritz.c 			 bch->nr, fc->name, count);
count             431 drivers/isdn/hardware/mISDN/avmfritz.c 		print_hex_dump_bytes(fc->log, DUMP_PREFIX_OFFSET, p, count);
count             440 drivers/isdn/hardware/mISDN/avmfritz.c 	int count, fs, cnt = 0, idx;
count             452 drivers/isdn/hardware/mISDN/avmfritz.c 		count = fs;
count             456 drivers/isdn/hardware/mISDN/avmfritz.c 		count = bch->tx_skb->len - bch->tx_idx;
count             457 drivers/isdn/hardware/mISDN/avmfritz.c 		if (count <= 0)
count             462 drivers/isdn/hardware/mISDN/avmfritz.c 	if (count > fs) {
count             463 drivers/isdn/hardware/mISDN/avmfritz.c 		count = fs;
count             470 drivers/isdn/hardware/mISDN/avmfritz.c 		pr_debug("%s.B%d: %d/%d/%d", fc->name, bch->nr, count,
count             472 drivers/isdn/hardware/mISDN/avmfritz.c 		bch->tx_idx += count;
count             474 drivers/isdn/hardware/mISDN/avmfritz.c 		pr_debug("%s.B%d: fillempty %d\n", fc->name, bch->nr, count);
count             476 drivers/isdn/hardware/mISDN/avmfritz.c 	hdlc->ctrl.sr.xml = ((count == fs) ? 0 : count);
count             486 drivers/isdn/hardware/mISDN/avmfritz.c 		while (cnt < count) {
count             492 drivers/isdn/hardware/mISDN/avmfritz.c 		while (cnt < count) {
count             501 drivers/isdn/hardware/mISDN/avmfritz.c 			 bch->nr, fc->name, count);
count             502 drivers/isdn/hardware/mISDN/avmfritz.c 		print_hex_dump_bytes(fc->log, DUMP_PREFIX_OFFSET, p, count);
count             393 drivers/isdn/hardware/mISDN/hfcpci.c 		   u_char *bdata, int count)
count             402 drivers/isdn/hardware/mISDN/hfcpci.c 	new_z2 = le16_to_cpu(zp->z2) + count;	/* new position in fifo */
count             406 drivers/isdn/hardware/mISDN/hfcpci.c 	if ((count > MAX_DATA_SIZE + 3) || (count < 4) ||
count             410 drivers/isdn/hardware/mISDN/hfcpci.c 			       "invalid length %d or crc\n", count);
count             417 drivers/isdn/hardware/mISDN/hfcpci.c 		bch->rx_skb = mI_alloc_skb(count - 3, GFP_ATOMIC);
count             422 drivers/isdn/hardware/mISDN/hfcpci.c 		count -= 3;
count             423 drivers/isdn/hardware/mISDN/hfcpci.c 		ptr = skb_put(bch->rx_skb, count);
count             425 drivers/isdn/hardware/mISDN/hfcpci.c 		if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL)
count             426 drivers/isdn/hardware/mISDN/hfcpci.c 			maxlen = count;		/* complete transfer */
count             434 drivers/isdn/hardware/mISDN/hfcpci.c 		count -= maxlen;
count             436 drivers/isdn/hardware/mISDN/hfcpci.c 		if (count) {	/* rest remaining */
count             439 drivers/isdn/hardware/mISDN/hfcpci.c 			memcpy(ptr, ptr1, count);	/* rest */
count             456 drivers/isdn/hardware/mISDN/hfcpci.c 	int		count = 5;
count             462 drivers/isdn/hardware/mISDN/hfcpci.c 	while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) {
count             602 drivers/isdn/hardware/mISDN/hfcpci.c 	int		receive = 0, count = 5;
count             619 drivers/isdn/hardware/mISDN/hfcpci.c 	count--;
count             653 drivers/isdn/hardware/mISDN/hfcpci.c 	if (count && receive)
count             666 drivers/isdn/hardware/mISDN/hfcpci.c 	int		count, new_z1, maxlen;
count             675 drivers/isdn/hardware/mISDN/hfcpci.c 	count = dch->tx_skb->len - dch->tx_idx;
count             676 drivers/isdn/hardware/mISDN/hfcpci.c 	if (count <= 0)
count             704 drivers/isdn/hardware/mISDN/hfcpci.c 		       count, maxlen);
count             705 drivers/isdn/hardware/mISDN/hfcpci.c 	if (count > maxlen) {
count             710 drivers/isdn/hardware/mISDN/hfcpci.c 	new_z1 = (le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1) + count) &
count             717 drivers/isdn/hardware/mISDN/hfcpci.c 	if (maxlen > count)
count             718 drivers/isdn/hardware/mISDN/hfcpci.c 		maxlen = count;	/* limit size */
count             721 drivers/isdn/hardware/mISDN/hfcpci.c 	count -= maxlen;	/* remaining bytes */
count             722 drivers/isdn/hardware/mISDN/hfcpci.c 	if (count) {
count             725 drivers/isdn/hardware/mISDN/hfcpci.c 		memcpy(dst, src, count);
count             743 drivers/isdn/hardware/mISDN/hfcpci.c 	int		count, new_z1;
count             755 drivers/isdn/hardware/mISDN/hfcpci.c 		count = HFCPCI_FILLEMPTY;
count             757 drivers/isdn/hardware/mISDN/hfcpci.c 		count = bch->tx_skb->len - bch->tx_idx;
count             772 drivers/isdn/hardware/mISDN/hfcpci.c 			       "cnt(%d) z1(%x) z2(%x)\n", bch->nr, count,
count             779 drivers/isdn/hardware/mISDN/hfcpci.c 			if (count > fcnt)
count             780 drivers/isdn/hardware/mISDN/hfcpci.c 				count = fcnt;
count             781 drivers/isdn/hardware/mISDN/hfcpci.c 			new_z1 = le16_to_cpu(*z1t) + count;
count             792 drivers/isdn/hardware/mISDN/hfcpci.c 			if (maxlen > count)
count             793 drivers/isdn/hardware/mISDN/hfcpci.c 				maxlen = count;		/* limit size */
count             795 drivers/isdn/hardware/mISDN/hfcpci.c 			count -= maxlen;		/* remaining bytes */
count             796 drivers/isdn/hardware/mISDN/hfcpci.c 			if (count) {
count             798 drivers/isdn/hardware/mISDN/hfcpci.c 				memset(dst, bch->fill[0], count);
count             808 drivers/isdn/hardware/mISDN/hfcpci.c 		count = bch->tx_skb->len - bch->tx_idx;
count             810 drivers/isdn/hardware/mISDN/hfcpci.c 		if (count > (poll << 1) - fcnt)
count             811 drivers/isdn/hardware/mISDN/hfcpci.c 			count = (poll << 1) - fcnt;
count             812 drivers/isdn/hardware/mISDN/hfcpci.c 		if (count <= 0)
count             815 drivers/isdn/hardware/mISDN/hfcpci.c 		new_z1 = le16_to_cpu(*z1t) + count;
count             828 drivers/isdn/hardware/mISDN/hfcpci.c 		fcnt += count;
count             829 drivers/isdn/hardware/mISDN/hfcpci.c 		bch->tx_idx += count;
count             830 drivers/isdn/hardware/mISDN/hfcpci.c 		if (maxlen > count)
count             831 drivers/isdn/hardware/mISDN/hfcpci.c 			maxlen = count;		/* limit size */
count             833 drivers/isdn/hardware/mISDN/hfcpci.c 		count -= maxlen;	/* remaining bytes */
count             834 drivers/isdn/hardware/mISDN/hfcpci.c 		if (count) {
count             837 drivers/isdn/hardware/mISDN/hfcpci.c 			memcpy(dst, src, count);
count             869 drivers/isdn/hardware/mISDN/hfcpci.c 		       bch->nr, count, maxlen);
count             871 drivers/isdn/hardware/mISDN/hfcpci.c 	if (maxlen < count) {
count             876 drivers/isdn/hardware/mISDN/hfcpci.c 	new_z1 = le16_to_cpu(bz->za[bz->f1].z1) + count;
count             886 drivers/isdn/hardware/mISDN/hfcpci.c 	if (maxlen > count)
count             887 drivers/isdn/hardware/mISDN/hfcpci.c 		maxlen = count;	/* limit size */
count             890 drivers/isdn/hardware/mISDN/hfcpci.c 	count -= maxlen;	/* remaining bytes */
count             891 drivers/isdn/hardware/mISDN/hfcpci.c 	if (count) {
count             894 drivers/isdn/hardware/mISDN/hfcpci.c 		memcpy(dst, src, count);
count             119 drivers/isdn/hardware/mISDN/isdnhdlc.c 		    int *count, u8 *dst, int dsize)
count             159 drivers/isdn/hardware/mISDN/isdnhdlc.c 	*count = slen;
count             276 drivers/isdn/hardware/mISDN/isdnhdlc.c 				*count -= slen;
count             318 drivers/isdn/hardware/mISDN/isdnhdlc.c 	*count -= slen;
count             342 drivers/isdn/hardware/mISDN/isdnhdlc.c 		    int *count, u8 *dst, int dsize)
count             350 drivers/isdn/hardware/mISDN/isdnhdlc.c 	*count = slen;
count             613 drivers/isdn/hardware/mISDN/isdnhdlc.c 	*count -= slen;
count              62 drivers/isdn/hardware/mISDN/isdnhdlc.h 			int slen, int *count, u8 *dst, int dsize);
count              67 drivers/isdn/hardware/mISDN/isdnhdlc.h 			u16 slen, int *count, u8 *dst, int dsize);
count             104 drivers/isdn/hardware/mISDN/mISDNipac.c isac_empty_fifo(struct isac_hw *isac, int count)
count             108 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: %s  %d\n", isac->name, __func__, count);
count             118 drivers/isdn/hardware/mISDN/mISDNipac.c 	if ((isac->dch.rx_skb->len + count) >= isac->dch.maxlen) {
count             120 drivers/isdn/hardware/mISDN/mISDNipac.c 			 isac->dch.rx_skb->len + count);
count             124 drivers/isdn/hardware/mISDN/mISDNipac.c 	ptr = skb_put(isac->dch.rx_skb, count);
count             125 drivers/isdn/hardware/mISDN/mISDNipac.c 	isac->read_fifo(isac->dch.hw, isac->off, ptr, count);
count             131 drivers/isdn/hardware/mISDN/mISDNipac.c 			 isac->name, count);
count             132 drivers/isdn/hardware/mISDN/mISDNipac.c 		print_hex_dump_bytes(pfx, DUMP_PREFIX_OFFSET, ptr, count);
count             139 drivers/isdn/hardware/mISDN/mISDNipac.c 	int count, more;
count             144 drivers/isdn/hardware/mISDN/mISDNipac.c 	count = isac->dch.tx_skb->len - isac->dch.tx_idx;
count             145 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (count <= 0)
count             149 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (count > 32) {
count             151 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = 32;
count             153 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: %s  %d\n", isac->name, __func__, count);
count             155 drivers/isdn/hardware/mISDN/mISDNipac.c 	isac->dch.tx_idx += count;
count             156 drivers/isdn/hardware/mISDN/mISDNipac.c 	isac->write_fifo(isac->dch.hw, isac->off, ptr, count);
count             168 drivers/isdn/hardware/mISDN/mISDNipac.c 			 isac->name, count);
count             169 drivers/isdn/hardware/mISDN/mISDNipac.c 		print_hex_dump_bytes(pfx, DUMP_PREFIX_OFFSET, ptr, count);
count             176 drivers/isdn/hardware/mISDN/mISDNipac.c 	u8 val, count;
count             196 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = ReadISAC(isac, ISAC_RBCL) & 0x1f;
count             197 drivers/isdn/hardware/mISDN/mISDNipac.c 		if (count == 0)
count             198 drivers/isdn/hardware/mISDN/mISDNipac.c 			count = 32;
count             199 drivers/isdn/hardware/mISDN/mISDNipac.c 		isac_empty_fifo(isac, count);
count             448 drivers/isdn/hardware/mISDN/mISDNipac.c 	int count;
count             468 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = ReadISAC(isac, ISACX_RBCLD) & 0x1f;
count             469 drivers/isdn/hardware/mISDN/mISDNipac.c 		if (count == 0)
count             470 drivers/isdn/hardware/mISDN/mISDNipac.c 			count = 32;
count             471 drivers/isdn/hardware/mISDN/mISDNipac.c 		isac_empty_fifo(isac, count);
count             923 drivers/isdn/hardware/mISDN/mISDNipac.c hscx_empty_fifo(struct hscx_hw *hscx, u8 count)
count             928 drivers/isdn/hardware/mISDN/mISDNipac.c 	pr_debug("%s: B%1d %d\n", hscx->ip->name, hscx->bch.nr, count);
count             930 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->bch.dropcnt += count;
count             934 drivers/isdn/hardware/mISDN/mISDNipac.c 	maxlen = bchannel_get_rxbuf(&hscx->bch, count);
count             940 drivers/isdn/hardware/mISDN/mISDNipac.c 			   hscx->ip->name, hscx->bch.nr, count);
count             943 drivers/isdn/hardware/mISDN/mISDNipac.c 	p = skb_put(hscx->bch.rx_skb, count);
count             947 drivers/isdn/hardware/mISDN/mISDNipac.c 				    hscx->off + IPACX_RFIFOB, p, count);
count             950 drivers/isdn/hardware/mISDN/mISDNipac.c 				    hscx->off, p, count);
count             956 drivers/isdn/hardware/mISDN/mISDNipac.c 			 hscx->bch.nr, hscx->ip->name, count);
count             957 drivers/isdn/hardware/mISDN/mISDNipac.c 		print_hex_dump_bytes(hscx->log, DUMP_PREFIX_OFFSET, p, count);
count             964 drivers/isdn/hardware/mISDN/mISDNipac.c 	int count, more;
count             970 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = hscx->fifo_size;
count             973 drivers/isdn/hardware/mISDN/mISDNipac.c 		memset(p, hscx->bch.fill[0], count);
count             975 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = hscx->bch.tx_skb->len - hscx->bch.tx_idx;
count             976 drivers/isdn/hardware/mISDN/mISDNipac.c 		if (count <= 0)
count             981 drivers/isdn/hardware/mISDN/mISDNipac.c 		if (count > hscx->fifo_size) {
count             982 drivers/isdn/hardware/mISDN/mISDNipac.c 			count = hscx->fifo_size;
count             986 drivers/isdn/hardware/mISDN/mISDNipac.c 			 count, hscx->bch.tx_idx, hscx->bch.tx_skb->len);
count             987 drivers/isdn/hardware/mISDN/mISDNipac.c 		hscx->bch.tx_idx += count;
count             991 drivers/isdn/hardware/mISDN/mISDNipac.c 				     hscx->off + IPACX_XFIFOB, p, count);
count             995 drivers/isdn/hardware/mISDN/mISDNipac.c 				     hscx->off, p, count);
count            1001 drivers/isdn/hardware/mISDN/mISDNipac.c 			 hscx->bch.nr, hscx->ip->name, count);
count            1002 drivers/isdn/hardware/mISDN/mISDNipac.c 		print_hex_dump_bytes(hscx->log, DUMP_PREFIX_OFFSET, p, count);
count            1025 drivers/isdn/hardware/mISDN/mISDNipac.c 	int count;
count            1055 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = ReadHSCX(hx, IPACX_RBCLB);
count            1057 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = ReadHSCX(hx, IPAC_RBCLB);
count            1058 drivers/isdn/hardware/mISDN/mISDNipac.c 	count &= (hx->fifo_size - 1);
count            1059 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (count == 0)
count            1060 drivers/isdn/hardware/mISDN/mISDNipac.c 		count = hx->fifo_size;
count            1061 drivers/isdn/hardware/mISDN/mISDNipac.c 	hscx_empty_fifo(hx, count);
count             576 drivers/isdn/hardware/mISDN/mISDNisar.c 	int count;
count             589 drivers/isdn/hardware/mISDN/mISDNisar.c 		count = ch->mml;
count             591 drivers/isdn/hardware/mISDN/mISDNisar.c 		memset(ch->is->buf, ch->bch.fill[0], count);
count             593 drivers/isdn/hardware/mISDN/mISDNisar.c 			  0, count, ch->is->buf);
count             596 drivers/isdn/hardware/mISDN/mISDNisar.c 	count = ch->bch.tx_skb->len - ch->bch.tx_idx;
count             597 drivers/isdn/hardware/mISDN/mISDNisar.c 	if (count <= 0)
count             599 drivers/isdn/hardware/mISDN/mISDNisar.c 	if (count > ch->mml) {
count             601 drivers/isdn/hardware/mISDN/mISDNisar.c 		count = ch->mml;
count             610 drivers/isdn/hardware/mISDN/mISDNisar.c 			if (count > 1) {
count             625 drivers/isdn/hardware/mISDN/mISDNisar.c 	ch->bch.tx_idx += count;
count             634 drivers/isdn/hardware/mISDN/mISDNisar.c 			  0, count, ptr);
count             638 drivers/isdn/hardware/mISDN/mISDNisar.c 			  msb, count, ptr);
count             645 drivers/isdn/hardware/mISDN/mISDNisar.c 				  msb, count, ptr);
count             648 drivers/isdn/hardware/mISDN/mISDNisar.c 				  0, count, ptr);
count             490 drivers/isdn/hardware/mISDN/netjet.c 	int count, i;
count             501 drivers/isdn/hardware/mISDN/netjet.c 	count = isdnhdlc_encode(&bc->hsend, NULL, 0, &i,
count             504 drivers/isdn/hardware/mISDN/netjet.c 		 bc->bch.nr, count);
count             505 drivers/isdn/hardware/mISDN/netjet.c 	bc->free -= count;
count             508 drivers/isdn/hardware/mISDN/netjet.c 	for (i = 0; i < count; i++) {
count             518 drivers/isdn/hardware/mISDN/netjet.c 			 bc->bch.nr, card->name, count);
count             519 drivers/isdn/hardware/mISDN/netjet.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, p, count);
count             527 drivers/isdn/hardware/mISDN/netjet.c 	int count, i, fillempty = 0;
count             537 drivers/isdn/hardware/mISDN/netjet.c 		count = card->send.size >> 1;
count             540 drivers/isdn/hardware/mISDN/netjet.c 		count = bc->bch.tx_skb->len - bc->bch.tx_idx;
count             541 drivers/isdn/hardware/mISDN/netjet.c 		if (count <= 0)
count             544 drivers/isdn/hardware/mISDN/netjet.c 			 card->name, __func__, bc->bch.nr, count, bc->free,
count             552 drivers/isdn/hardware/mISDN/netjet.c 		count = isdnhdlc_encode(&bc->hsend, p, count, &i,
count             555 drivers/isdn/hardware/mISDN/netjet.c 			 bc->bch.nr, i, count);
count             557 drivers/isdn/hardware/mISDN/netjet.c 		bc->free -= count;
count             560 drivers/isdn/hardware/mISDN/netjet.c 		if (count > bc->free)
count             561 drivers/isdn/hardware/mISDN/netjet.c 			count = bc->free;
count             563 drivers/isdn/hardware/mISDN/netjet.c 			bc->bch.tx_idx += count;
count             564 drivers/isdn/hardware/mISDN/netjet.c 		bc->free -= count;
count             571 drivers/isdn/hardware/mISDN/netjet.c 		for (i = 0; i < count; i++) {
count             580 drivers/isdn/hardware/mISDN/netjet.c 		for (i = 0; i < count; i++) {
count             592 drivers/isdn/hardware/mISDN/netjet.c 			 bc->bch.nr, card->name, count);
count             593 drivers/isdn/hardware/mISDN/netjet.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, p, count);
count             242 drivers/isdn/hardware/mISDN/w6692.c W6692_empty_Dfifo(struct w6692_hw *card, int count)
count             247 drivers/isdn/hardware/mISDN/w6692.c 	pr_debug("%s: empty_Dfifo %d\n", card->name, count);
count             256 drivers/isdn/hardware/mISDN/w6692.c 	if ((dch->rx_skb->len + count) >= dch->maxlen) {
count             258 drivers/isdn/hardware/mISDN/w6692.c 			 dch->rx_skb->len + count);
count             262 drivers/isdn/hardware/mISDN/w6692.c 	ptr = skb_put(dch->rx_skb, count);
count             263 drivers/isdn/hardware/mISDN/w6692.c 	insb(card->addr + W_D_RFIFO, ptr, count);
count             267 drivers/isdn/hardware/mISDN/w6692.c 			 card->name, count);
count             268 drivers/isdn/hardware/mISDN/w6692.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count);
count             276 drivers/isdn/hardware/mISDN/w6692.c 	int count;
count             283 drivers/isdn/hardware/mISDN/w6692.c 	count = dch->tx_skb->len - dch->tx_idx;
count             284 drivers/isdn/hardware/mISDN/w6692.c 	if (count <= 0)
count             286 drivers/isdn/hardware/mISDN/w6692.c 	if (count > W_D_FIFO_THRESH)
count             287 drivers/isdn/hardware/mISDN/w6692.c 		count = W_D_FIFO_THRESH;
count             291 drivers/isdn/hardware/mISDN/w6692.c 	dch->tx_idx += count;
count             292 drivers/isdn/hardware/mISDN/w6692.c 	outsb(card->addr + W_D_XFIFO, ptr, count);
count             302 drivers/isdn/hardware/mISDN/w6692.c 			 card->name, count);
count             303 drivers/isdn/hardware/mISDN/w6692.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count);
count             337 drivers/isdn/hardware/mISDN/w6692.c 	int	count;
count             363 drivers/isdn/hardware/mISDN/w6692.c 		count = ReadW6692(card, W_D_RBCL) & (W_D_FIFO_THRESH - 1);
count             364 drivers/isdn/hardware/mISDN/w6692.c 		if (count == 0)
count             365 drivers/isdn/hardware/mISDN/w6692.c 			count = W_D_FIFO_THRESH;
count             366 drivers/isdn/hardware/mISDN/w6692.c 		W6692_empty_Dfifo(card, count);
count             445 drivers/isdn/hardware/mISDN/w6692.c W6692_empty_Bfifo(struct w6692_ch *wch, int count)
count             451 drivers/isdn/hardware/mISDN/w6692.c 	pr_debug("%s: empty_Bfifo %d\n", card->name, count);
count             460 drivers/isdn/hardware/mISDN/w6692.c 		wch->bch.dropcnt += count;
count             464 drivers/isdn/hardware/mISDN/w6692.c 	maxlen = bchannel_get_rxbuf(&wch->bch, count);
count             470 drivers/isdn/hardware/mISDN/w6692.c 			   card->name, wch->bch.nr, count);
count             473 drivers/isdn/hardware/mISDN/w6692.c 	ptr = skb_put(wch->bch.rx_skb, count);
count             474 drivers/isdn/hardware/mISDN/w6692.c 	insb(wch->addr + W_B_RFIFO, ptr, count);
count             478 drivers/isdn/hardware/mISDN/w6692.c 			 wch->bch.nr, card->name, count);
count             479 drivers/isdn/hardware/mISDN/w6692.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count);
count             487 drivers/isdn/hardware/mISDN/w6692.c 	int count, fillempty = 0;
count             495 drivers/isdn/hardware/mISDN/w6692.c 		count = W_B_FIFO_THRESH;
count             498 drivers/isdn/hardware/mISDN/w6692.c 		count = wch->bch.tx_skb->len - wch->bch.tx_idx;
count             499 drivers/isdn/hardware/mISDN/w6692.c 		if (count <= 0)
count             503 drivers/isdn/hardware/mISDN/w6692.c 	if (count > W_B_FIFO_THRESH)
count             504 drivers/isdn/hardware/mISDN/w6692.c 		count = W_B_FIFO_THRESH;
count             509 drivers/isdn/hardware/mISDN/w6692.c 		 count, wch->bch.tx_idx);
count             510 drivers/isdn/hardware/mISDN/w6692.c 	wch->bch.tx_idx += count;
count             512 drivers/isdn/hardware/mISDN/w6692.c 		while (count > 0) {
count             514 drivers/isdn/hardware/mISDN/w6692.c 			count -= MISDN_BCH_FILL_SIZE;
count             517 drivers/isdn/hardware/mISDN/w6692.c 		outsb(wch->addr + W_B_XFIFO, ptr, count);
count             522 drivers/isdn/hardware/mISDN/w6692.c 			 wch->bch.nr, card->name, count);
count             523 drivers/isdn/hardware/mISDN/w6692.c 		print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count);
count             651 drivers/isdn/hardware/mISDN/w6692.c 	int		count;
count             688 drivers/isdn/hardware/mISDN/w6692.c 			count = ReadW6692B(wch, W_B_RBCL) &
count             690 drivers/isdn/hardware/mISDN/w6692.c 			if (count == 0)
count             691 drivers/isdn/hardware/mISDN/w6692.c 				count = W_B_FIFO_THRESH;
count             692 drivers/isdn/hardware/mISDN/w6692.c 			W6692_empty_Bfifo(wch, count);
count             185 drivers/isdn/mISDN/clock.c 	u16		count;
count             193 drivers/isdn/mISDN/clock.c 	count =	iclock_count + delta;
count             195 drivers/isdn/mISDN/clock.c 	return count;
count              96 drivers/isdn/mISDN/core.c 			const char *buf, size_t count)
count              99 drivers/isdn/mISDN/core.c 	char *out = kmalloc(count + 1, GFP_KERNEL);
count             104 drivers/isdn/mISDN/core.c 	memcpy(out, buf, count);
count             105 drivers/isdn/mISDN/core.c 	if (count && out[count - 1] == '\n')
count             106 drivers/isdn/mISDN/core.c 		out[--count] = 0;
count             107 drivers/isdn/mISDN/core.c 	if (count)
count             111 drivers/isdn/mISDN/core.c 	return (err < 0) ? err : count;
count             129 drivers/isdn/mISDN/dsp.h 	int		count;
count             152 drivers/isdn/mISDN/dsp.h 	int		count;
count             601 drivers/isdn/mISDN/dsp_blowfish.c 	short i, j, count;
count             623 drivers/isdn/mISDN/dsp_blowfish.c 	for (i = 0, count = 0; i < 256; i++)
count             624 drivers/isdn/mISDN/dsp_blowfish.c 		for (j = 0; j < 4; j++, count++)
count             625 drivers/isdn/mISDN/dsp_blowfish.c 			S[count] = bf_sbox[count];
count             653 drivers/isdn/mISDN/dsp_blowfish.c 		for (j = 0, count = i * 256; j < 256; j += 2, count += 2) {
count             656 drivers/isdn/mISDN/dsp_blowfish.c 			S[count] = data[0];
count             657 drivers/isdn/mISDN/dsp_blowfish.c 			S[count + 1] = data[1];
count            1640 drivers/isdn/mISDN/dsp_cmx.c 	u16 length, count;
count            1650 drivers/isdn/mISDN/dsp_cmx.c 		count = mISDN_clock_get();
count            1651 drivers/isdn/mISDN/dsp_cmx.c 		length = count - dsp_count;
count            1652 drivers/isdn/mISDN/dsp_cmx.c 		dsp_count = count;
count              45 drivers/isdn/mISDN/dsp_dtmf.c 	dsp->dtmf.count = 0;
count             288 drivers/isdn/mISDN/dsp_dtmf.c 		dsp->dtmf.count = 0;
count             291 drivers/isdn/mISDN/dsp_dtmf.c 	if (dsp->dtmf.count == 2) {
count             308 drivers/isdn/mISDN/dsp_dtmf.c 		dsp->dtmf.count++;
count             377 drivers/isdn/mISDN/dsp_tones.c 	int index, count, start, num;
count             391 drivers/isdn/mISDN/dsp_tones.c 	count = tone->count; /* gives current sample */
count             399 drivers/isdn/mISDN/dsp_tones.c 				count = 0;
count             403 drivers/isdn/mISDN/dsp_tones.c 			if (count < pat->seq[index])
count             408 drivers/isdn/mISDN/dsp_tones.c 			count -= pat->seq[index];
count             412 drivers/isdn/mISDN/dsp_tones.c 		start = count % (*(pat->siz[index]));
count             414 drivers/isdn/mISDN/dsp_tones.c 		if (num + count > pat->seq[index])
count             415 drivers/isdn/mISDN/dsp_tones.c 			num = pat->seq[index] - count;
count             422 drivers/isdn/mISDN/dsp_tones.c 		count += num;
count             426 drivers/isdn/mISDN/dsp_tones.c 	tone->count = count;
count             534 drivers/isdn/mISDN/dsp_tones.c 	tonet->count = 0;
count              93 drivers/isdn/mISDN/timerdev.c mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off)
count             102 drivers/isdn/mISDN/timerdev.c 		       filep, buf, (int)count, off);
count             104 drivers/isdn/mISDN/timerdev.c 	if (count < sizeof(int))
count             329 drivers/leds/led-core.c 	int count;
count             331 drivers/leds/led-core.c 	count = fwnode_property_count_u32(fwnode, "led-pattern");
count             332 drivers/leds/led-core.c 	if (count < 0)
count             335 drivers/leds/led-core.c 	pattern = kcalloc(count, sizeof(*pattern), GFP_KERNEL);
count             339 drivers/leds/led-core.c 	if (fwnode_property_read_u32_array(fwnode, "led-pattern", pattern, count)) {
count             344 drivers/leds/led-core.c 	*size = count;
count              30 drivers/leds/led-triggers.c 		const char *buf, size_t count)
count              34 drivers/leds/led-triggers.c 	int ret = count;
count             206 drivers/leds/leds-an30259a.c 	int count, ret;
count             211 drivers/leds/leds-an30259a.c 	count = of_get_child_count(np);
count             212 drivers/leds/leds-an30259a.c 	if (!count || count > AN30259A_MAX_LEDS)
count             222 drivers/leds/leds-an30259a.c 			count--;
count             247 drivers/leds/leds-an30259a.c 	if (!count)
count             319 drivers/leds/leds-bd2802.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count             324 drivers/leds/leds-bd2802.c 	if (!count)							\
count             332 drivers/leds/leds-bd2802.c 	return count;							\
count             445 drivers/leds/leds-bd2802.c 	struct device_attribute *attr, const char *buf, size_t count)
count             449 drivers/leds/leds-bd2802.c 	if (!count)
count             459 drivers/leds/leds-bd2802.c 	return count;
count             483 drivers/leds/leds-bd2802.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count             488 drivers/leds/leds-bd2802.c 	if (!count)							\
count             496 drivers/leds/leds-bd2802.c 	return count;							\
count             202 drivers/leds/leds-blinkm.c 			 const char *buf, size_t count)
count             209 drivers/leds/leds-blinkm.c 	return count;
count             221 drivers/leds/leds-blinkm.c 			   const char *buf, size_t count)
count             229 drivers/leds/leds-blinkm.c 	return count;
count             241 drivers/leds/leds-blinkm.c 			  const char *buf, size_t count)
count             248 drivers/leds/leds-blinkm.c 	return count;
count             261 drivers/leds/leds-blinkm.c 			  const char *buf, size_t count)
count             273 drivers/leds/leds-blinkm.c 	return count;
count             525 drivers/leds/leds-blinkm.c 	int count = 99;
count             537 drivers/leds/leds-blinkm.c 	while (count > 0) {
count             547 drivers/leds/leds-blinkm.c 			count = 0;
count             548 drivers/leds/leds-blinkm.c 		count--;
count             178 drivers/leds/leds-clevo-mail.c 	int count = 0;
count             182 drivers/leds/leds-clevo-mail.c 		count = dmi_check_system(clevo_mail_led_dmi_table);
count             184 drivers/leds/leds-clevo-mail.c 		count = 1;
count             191 drivers/leds/leds-clevo-mail.c 	if (!count)
count              52 drivers/leds/leds-cr0014114.c 	size_t			count;
count              94 drivers/leds/leds-cr0014114.c 	for (i = 0; i < priv->count; i++) {
count             133 drivers/leds/leds-cr0014114.c 	for (i = 0; i < priv->count; i++)
count             135 drivers/leds/leds-cr0014114.c 	cr0014114_calc_crc(priv->buf, priv->count + 2);
count             136 drivers/leds/leds-cr0014114.c 	ret = spi_write(priv->spi, priv->buf, priv->count + 2);
count             220 drivers/leds/leds-cr0014114.c 	size_t			count;
count             223 drivers/leds/leds-cr0014114.c 	count = device_get_child_node_count(&spi->dev);
count             224 drivers/leds/leds-cr0014114.c 	if (!count) {
count             229 drivers/leds/leds-cr0014114.c 	priv = devm_kzalloc(&spi->dev, struct_size(priv, leds, count),
count             234 drivers/leds/leds-cr0014114.c 	priv->buf = devm_kzalloc(&spi->dev, count + 2, GFP_KERNEL);
count             240 drivers/leds/leds-cr0014114.c 	priv->count	= count;
count             139 drivers/leds/leds-gpio.c 	int count, ret;
count             141 drivers/leds/leds-gpio.c 	count = device_get_child_node_count(dev);
count             142 drivers/leds/leds-gpio.c 	if (!count)
count             145 drivers/leds/leds-gpio.c 	priv = devm_kzalloc(dev, sizeof_gpio_leds_priv(count), GFP_KERNEL);
count             204 drivers/leds/leds-is31fl319x.c 	int count;
count             218 drivers/leds/leds-is31fl319x.c 	count = of_get_child_count(np);
count             221 drivers/leds/leds-is31fl319x.c 		of_dev_id->compatible, count);
count             223 drivers/leds/leds-is31fl319x.c 	if (!count || count > is31->cdef->num_leds) {
count             434 drivers/leds/leds-is31fl32xx.c 	int count;
count             443 drivers/leds/leds-is31fl32xx.c 	count = of_get_child_count(dev->of_node);
count             444 drivers/leds/leds-is31fl32xx.c 	if (!count)
count             447 drivers/leds/leds-is31fl32xx.c 	priv = devm_kzalloc(dev, struct_size(priv, leds, count),
count             682 drivers/leds/leds-lm3532.c 	int count;
count             684 drivers/leds/leds-lm3532.c 	count = device_get_child_node_count(&client->dev);
count             685 drivers/leds/leds-lm3532.c 	if (!count) {
count             690 drivers/leds/leds-lm3532.c 	drvdata = devm_kzalloc(&client->dev, struct_size(drvdata, leds, count),
count             306 drivers/leds/leds-lm3697.c 	int count;
count             309 drivers/leds/leds-lm3697.c 	count = device_get_child_node_count(&client->dev);
count             310 drivers/leds/leds-lm3697.c 	if (!count) {
count             315 drivers/leds/leds-lm3697.c 	led = devm_kzalloc(&client->dev, struct_size(led, leds, count),
count             243 drivers/leds/leds-netxbig.c 				      const char *buff, size_t count)
count             262 drivers/leds/leds-netxbig.c 		ret = count;
count             284 drivers/leds/leds-netxbig.c 	ret = count;
count             123 drivers/leds/leds-ns2.c 				  const char *buff, size_t count)
count             151 drivers/leds/leds-ns2.c 	return count;
count             368 drivers/leds/leds-pca955x.c 	int count;
count             370 drivers/leds/leds-pca955x.c 	count = device_get_child_node_count(&client->dev);
count             371 drivers/leds/leds-pca955x.c 	if (!count || count > chip->bits)
count             286 drivers/leds/leds-pca963x.c 	int count;
count             288 drivers/leds/leds-pca963x.c 	count = device_get_child_node_count(&client->dev);
count             289 drivers/leds/leds-pca963x.c 	if (!count || count > chip->n_leds)
count             160 drivers/leds/leds-pwm.c 	int count, i;
count             164 drivers/leds/leds-pwm.c 		count = pdata->num_leds;
count             166 drivers/leds/leds-pwm.c 		count = device_get_child_node_count(&pdev->dev);
count             168 drivers/leds/leds-pwm.c 	if (!count)
count             171 drivers/leds/leds-pwm.c 	priv = devm_kzalloc(&pdev->dev, struct_size(priv, leds, count),
count             177 drivers/leds/leds-pwm.c 		for (i = 0; i < count; i++) {
count             281 drivers/leds/leds-sc27xx-bltc.c 	u32 base, count, reg;
count             284 drivers/leds/leds-sc27xx-bltc.c 	count = of_get_child_count(np);
count             285 drivers/leds/leds-sc27xx-bltc.c 	if (!count || count > SC27XX_LEDS_MAX)
count             695 drivers/leds/leds-tca6507.c 	int count;
count             697 drivers/leds/leds-tca6507.c 	count = of_get_child_count(np);
count             698 drivers/leds/leds-tca6507.c 	if (!count || count > NUM_LEDS)
count             201 drivers/leds/leds-tlc591xx.c 	int err, count, reg;
count             211 drivers/leds/leds-tlc591xx.c 	count = of_get_child_count(np);
count             212 drivers/leds/leds-tlc591xx.c 	if (!count || count > tlc591xx->max_leds)
count             162 drivers/leds/trigger/ledtrig-pattern.c 			    const char *buf, size_t count)
count             193 drivers/leds/trigger/ledtrig-pattern.c 	return err < 0 ? err : count;
count             201 drivers/leds/trigger/ledtrig-pattern.c 	ssize_t count = 0;
count             210 drivers/leds/trigger/ledtrig-pattern.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             216 drivers/leds/trigger/ledtrig-pattern.c 	buf[count - 1] = '\n';
count             220 drivers/leds/trigger/ledtrig-pattern.c 	return count;
count             224 drivers/leds/trigger/ledtrig-pattern.c 					      const char *buf, size_t count)
count             228 drivers/leds/trigger/ledtrig-pattern.c 	while (offset < count - 1 && data->npatterns < MAX_PATTERNS) {
count             246 drivers/leds/trigger/ledtrig-pattern.c 					   const u32 *buf, size_t count)
count             250 drivers/leds/trigger/ledtrig-pattern.c 	for (i = 0; i < count; i += 2) {
count             261 drivers/leds/trigger/ledtrig-pattern.c 					   size_t count, bool hw_pattern)
count             277 drivers/leds/trigger/ledtrig-pattern.c 		err = pattern_trig_store_patterns_string(data, buf, count);
count             279 drivers/leds/trigger/ledtrig-pattern.c 		err = pattern_trig_store_patterns_int(data, buf_int, count);
count             289 drivers/leds/trigger/ledtrig-pattern.c 	return err < 0 ? err : count;
count             302 drivers/leds/trigger/ledtrig-pattern.c 			     const char *buf, size_t count)
count             306 drivers/leds/trigger/ledtrig-pattern.c 	return pattern_trig_store_patterns(led_cdev, buf, NULL, count, false);
count             322 drivers/leds/trigger/ledtrig-pattern.c 				const char *buf, size_t count)
count             326 drivers/leds/trigger/ledtrig-pattern.c 	return pattern_trig_store_patterns(led_cdev, buf, NULL, count, true);
count              74 drivers/leds/uleds.c 			   size_t count, loff_t *ppos)
count              80 drivers/leds/uleds.c 	if (count == 0)
count              92 drivers/leds/uleds.c 	if (count != sizeof(struct uleds_user_dev)) {
count             123 drivers/leds/uleds.c 	ret = count;
count             131 drivers/leds/uleds.c static ssize_t uleds_read(struct file *file, char __user *buffer, size_t count,
count             137 drivers/leds/uleds.c 	if (count < sizeof(udev->brightness))
count             282 drivers/lightnvm/pblk-rb.c 	unsigned int space, count;
count             292 drivers/lightnvm/pblk-rb.c 	count = nr_entries - space;
count             294 drivers/lightnvm/pblk-rb.c 	ret = __pblk_rb_update_l2p(rb, count);
count             552 drivers/lightnvm/pblk-rb.c 				 unsigned int count)
count             564 drivers/lightnvm/pblk-rb.c 	if (count < nr_entries) {
count             565 drivers/lightnvm/pblk-rb.c 		pad = nr_entries - count;
count             566 drivers/lightnvm/pblk-rb.c 		to_read = count;
count             740 drivers/lightnvm/pblk.h 				 unsigned int count);
count             117 drivers/macintosh/adb-iop.c 	       (uint)amsg->count + 2, (uint)amsg->flags, (uint)amsg->cmd);
count             118 drivers/macintosh/adb-iop.c 	for (i = 0; i < amsg->count; i++)
count             142 drivers/macintosh/adb-iop.c 			req->reply_len = amsg->count + 1;
count             145 drivers/macintosh/adb-iop.c 			adb_input(&amsg->cmd, amsg->count + 1,
count             188 drivers/macintosh/adb-iop.c 	amsg.count = req->nbytes - 2;
count             715 drivers/macintosh/adb.c 			size_t count, loff_t *ppos)
count             723 drivers/macintosh/adb.c 	if (count < 2)
count             725 drivers/macintosh/adb.c 	if (count > sizeof(req->reply))
count             726 drivers/macintosh/adb.c 		count = sizeof(req->reply);
count             763 drivers/macintosh/adb.c 	if (ret > count)
count             764 drivers/macintosh/adb.c 		ret = count;
count             773 drivers/macintosh/adb.c 			 size_t count, loff_t *ppos)
count             779 drivers/macintosh/adb.c 	if (count < 2 || count > sizeof(req->data))
count             789 drivers/macintosh/adb.c 	req->nbytes = count;
count             795 drivers/macintosh/adb.c 	if (copy_from_user(req->data, buf, count))
count             805 drivers/macintosh/adb.c 		if (count > 1)
count             813 drivers/macintosh/adb.c 	else if ((req->data[0] == ADB_PACKET) && (count > 1)
count             819 drivers/macintosh/adb.c 			ret = count;
count             834 drivers/macintosh/adb.c 	return count;
count              91 drivers/macintosh/ams/ams-i2c.c 	int count = 3;
count              96 drivers/macintosh/ams/ams-i2c.c 	while (count--) {
count             113 drivers/macintosh/ams/ams-input.c 	struct device_attribute *attr, const char *buf, size_t count)
count             136 drivers/macintosh/ams/ams-input.c 	return error ? error : count;
count              58 drivers/macintosh/ans-lcd.c 				size_t count, loff_t *ppos )
count              67 drivers/macintosh/ans-lcd.c 	if (!access_ok(buf, count))
count              71 drivers/macintosh/ans-lcd.c 	for ( i = *ppos; count > 0; ++i, ++p, --count ) 
count            1115 drivers/macintosh/smu.c 			 size_t count, loff_t *ppos)
count            1168 drivers/macintosh/smu.c 	return count;
count            1173 drivers/macintosh/smu.c 				char __user *buf, size_t count)
count            1182 drivers/macintosh/smu.c 	if (count < sizeof(struct smu_user_reply_hdr))
count            1212 drivers/macintosh/smu.c 	if (count < size)
count            1213 drivers/macintosh/smu.c 		size = count;
count            1229 drivers/macintosh/smu.c 			       char __user *buf, size_t count)
count            1238 drivers/macintosh/smu.c 			size_t count, loff_t *ppos)
count            1243 drivers/macintosh/smu.c 		return smu_read_command(file, pp, buf, count);
count            1245 drivers/macintosh/smu.c 		return smu_read_events(file, pp, buf, count);
count              26 drivers/macintosh/via-pmu-backlight.c 	int i, flat, count, range = (max - min);
count              33 drivers/macintosh/via-pmu-backlight.c 	count = FB_BACKLIGHT_LEVELS * 15 / 16;
count              34 drivers/macintosh/via-pmu-backlight.c 	for (i = 0; i < count; ++i)
count              35 drivers/macintosh/via-pmu-backlight.c 		bl_curve[flat + i] = min + (range * (i + 1) / count);
count             934 drivers/macintosh/via-pmu.c 		const char __user *buffer, size_t count, loff_t *pos)
count             938 drivers/macintosh/via-pmu.c 	size_t fcount = count;
count             940 drivers/macintosh/via-pmu.c 	if (!count)
count             942 drivers/macintosh/via-pmu.c 	if (count > 32)
count             943 drivers/macintosh/via-pmu.c 		count = 32;
count             944 drivers/macintosh/via-pmu.c 	if (copy_from_user(tmp, buffer, count))
count             946 drivers/macintosh/via-pmu.c 	tmp[count] = 0;
count            2182 drivers/macintosh/via-pmu.c 			size_t count, loff_t *ppos)
count            2189 drivers/macintosh/via-pmu.c 	if (count < 1 || !pp)
count            2191 drivers/macintosh/via-pmu.c 	if (!access_ok(buf, count))
count            2205 drivers/macintosh/via-pmu.c 			if (ret > count)
count            2206 drivers/macintosh/via-pmu.c 				ret = count;
count            2234 drivers/macintosh/via-pmu.c 			 size_t count, loff_t *ppos)
count             191 drivers/macintosh/windfarm_core.c 				const char *buf, size_t count)
count             199 drivers/macintosh/windfarm_core.c 	while (endp < buf + count && (*endp == ' ' || *endp == '\n'))
count             201 drivers/macintosh/windfarm_core.c 	if (endp - buf < count)
count             206 drivers/macintosh/windfarm_core.c 	return count;
count             991 drivers/mailbox/bcm-flexrm-mailbox.c 	u32 val, count, nhcnt;
count            1032 drivers/mailbox/bcm-flexrm-mailbox.c 	count = flexrm_estimate_header_desc_count(nhcnt) + nhcnt + 1;
count            1036 drivers/mailbox/bcm-flexrm-mailbox.c 	while (count) {
count            1038 drivers/mailbox/bcm-flexrm-mailbox.c 			count--;
count            1045 drivers/mailbox/bcm-flexrm-mailbox.c 	if (count) {
count            1087 drivers/mailbox/bcm-flexrm-mailbox.c 	int err, count = 0;
count            1156 drivers/mailbox/bcm-flexrm-mailbox.c 		count++;
count            1159 drivers/mailbox/bcm-flexrm-mailbox.c 	return count;
count             425 drivers/mailbox/bcm-pdc-mailbox.c 				size_t count, loff_t *offp)
count             473 drivers/mailbox/bcm-pdc-mailbox.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset);
count              48 drivers/mailbox/mailbox-test.c 				       size_t count, loff_t *ppos)
count              57 drivers/mailbox/mailbox-test.c 	if (count > MBOX_MAX_SIG_LEN) {
count              60 drivers/mailbox/mailbox-test.c 			count, MBOX_MAX_SIG_LEN);
count              71 drivers/mailbox/mailbox-test.c 	if (copy_from_user(tdev->signal, userbuf, count)) {
count              77 drivers/mailbox/mailbox-test.c 	return count;
count              95 drivers/mailbox/mailbox-test.c 				       size_t count, loff_t *ppos)
count             106 drivers/mailbox/mailbox-test.c 	if (count > MBOX_MAX_MSG_LEN) {
count             109 drivers/mailbox/mailbox-test.c 			count, MBOX_MAX_MSG_LEN);
count             117 drivers/mailbox/mailbox-test.c 	ret = copy_from_user(tdev->message, userbuf, count);
count             147 drivers/mailbox/mailbox-test.c 	return ret < 0 ? ret : count;
count             163 drivers/mailbox/mailbox-test.c 				      size_t count, loff_t *ppos)
count             179 drivers/mailbox/mailbox-test.c 		ret = simple_read_from_buffer(userbuf, count, ppos,
count             225 drivers/mailbox/mailbox-test.c 	ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN);
count              55 drivers/mailbox/mailbox.c 	unsigned count, idx;
count              65 drivers/mailbox/mailbox.c 	count = chan->msg_count;
count              67 drivers/mailbox/mailbox.c 	if (idx >= count)
count              68 drivers/mailbox/mailbox.c 		idx -= count;
count              70 drivers/mailbox/mailbox.c 		idx += MBOX_TX_QUEUE_LEN - count;
count             435 drivers/mailbox/pcc.c 	int count, i, rc;
count             448 drivers/mailbox/pcc.c 		proc[i].count = 0;
count             452 drivers/mailbox/pcc.c 	count = acpi_table_parse_entries_array(ACPI_SIG_PCCT,
count             455 drivers/mailbox/pcc.c 	if (count <= 0 || count > MAX_PCC_SUBSPACES) {
count             456 drivers/mailbox/pcc.c 		if (count < 0)
count             459 drivers/mailbox/pcc.c 			pr_warn("Invalid PCCT: %d PCC subspaces\n", count);
count             463 drivers/mailbox/pcc.c 	pcc_mbox_channels = kcalloc(count, sizeof(struct mbox_chan),
count             470 drivers/mailbox/pcc.c 	pcc_doorbell_vaddr = kcalloc(count, sizeof(void *), GFP_KERNEL);
count             476 drivers/mailbox/pcc.c 	pcc_doorbell_ack_vaddr = kcalloc(count, sizeof(void *), GFP_KERNEL);
count             482 drivers/mailbox/pcc.c 	pcc_doorbell_irq = kcalloc(count, sizeof(int), GFP_KERNEL);
count             496 drivers/mailbox/pcc.c 	for (i = 0; i < count; i++) {
count             524 drivers/mailbox/pcc.c 	pcc_mbox_ctrl.num_chans = count;
count             665 drivers/mailbox/tegra-hsp.c 		unsigned int count = 0;
count             683 drivers/mailbox/tegra-hsp.c 				count++;
count             689 drivers/mailbox/tegra-hsp.c 		if (count == 0) {
count             310 drivers/md/bcache/bcache.h 	refcount_t		count;
count             876 drivers/md/bcache/bcache.h 	if (refcount_dec_and_test(&dc->count))
count             882 drivers/md/bcache/bcache.h 	if (!refcount_inc_not_zero(&dc->count))
count             577 drivers/md/bcache/btree.c 	BUG_ON(b->io_mutex.count != 1);
count             977 drivers/md/bcache/btree.c 	BUG_ON(b->io_mutex.count != 1);
count              92 drivers/md/bcache/io.c 		unsigned int count = atomic_inc_return(&ca->io_count);
count              94 drivers/md/bcache/io.c 		while (count > ca->set->error_decay) {
count              96 drivers/md/bcache/io.c 			unsigned int old = count;
count              97 drivers/md/bcache/io.c 			unsigned int new = count - ca->set->error_decay;
count             104 drivers/md/bcache/io.c 			count = atomic_cmpxchg(&ca->io_count, old, new);
count             106 drivers/md/bcache/io.c 			if (count == old) {
count             107 drivers/md/bcache/io.c 				count = new;
count            1045 drivers/md/bcache/super.c 	BUG_ON(refcount_read(&dc->count));
count            1200 drivers/md/bcache/super.c 	refcount_set(&dc->count, 1);
count             758 drivers/md/bcache/writeback.c 	size_t		count;
count             774 drivers/md/bcache/writeback.c 	op->count++;
count             776 drivers/md/bcache/writeback.c 	    !(op->count % INIT_KEYS_EACH_TIME)) {
count             791 drivers/md/bcache/writeback.c 	op.count = 0;
count             294 drivers/md/dm-bio-prison-v1.c 	unsigned count;
count             319 drivers/md/dm-bio-prison-v1.c 		ds->entries[i].count = 0;
count             340 drivers/md/dm-bio-prison-v1.c 	entry->count++;
count             355 drivers/md/dm-bio-prison-v1.c 	       !ds->entries[ds->sweeper].count) {
count             360 drivers/md/dm-bio-prison-v1.c 	if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count)
count             369 drivers/md/dm-bio-prison-v1.c 	BUG_ON(!entry->count);
count             370 drivers/md/dm-bio-prison-v1.c 	--entry->count;
count             387 drivers/md/dm-bio-prison-v1.c 	    !ds->entries[ds->current_entry].count)
count             392 drivers/md/dm-bio-prison-v1.c 		if (!ds->entries[next_entry].count)
count             430 drivers/md/dm-bio-prison-v1.c 	const int count = ARRAY_SIZE(_inits);
count             434 drivers/md/dm-bio-prison-v1.c 	for (i = 0; i < count; i++) {
count             568 drivers/md/dm-bufio.c 		.count = n_sectors,
count            1319 drivers/md/dm-bufio.c 		.count = 0,
count            1558 drivers/md/dm-bufio.c 	unsigned long count = c->n_buffers[LIST_CLEAN] +
count            1566 drivers/md/dm-bufio.c 			if (!--nr_to_scan || ((count - freed) <= retain_target))
count            1595 drivers/md/dm-bufio.c 	unsigned long count = READ_ONCE(c->n_buffers[LIST_CLEAN]) +
count            1599 drivers/md/dm-bufio.c 	return (count < retain_target) ? 0 : (count - retain_target);
count            1794 drivers/md/dm-bufio.c 	unsigned long count;
count            1806 drivers/md/dm-bufio.c 	count = c->n_buffers[LIST_CLEAN] + c->n_buffers[LIST_DIRTY];
count            1808 drivers/md/dm-bufio.c 		if (count <= retain_target)
count            1815 drivers/md/dm-bufio.c 			count--;
count            1193 drivers/md/dm-cache-target.c 	o_region.count = cache->sectors_per_block;
count            1197 drivers/md/dm-cache-target.c 	c_region.count = cache->sectors_per_block;
count            3112 drivers/md/dm-cache-target.c 	unsigned count = (cf->metadata_version == 2) + !cf->discard_passdown + 1;
count            3114 drivers/md/dm-cache-target.c 	DMEMIT("%u ", count);
count            3358 drivers/md/dm-cache-target.c static int process_invalidate_cblocks_message(struct cache *cache, unsigned count,
count            3371 drivers/md/dm-cache-target.c 	for (i = 0; i < count; i++) {
count             826 drivers/md/dm-clone-target.c 	from.count = total_size;
count             830 drivers/md/dm-clone-target.c 	to.count = from.count;
count            1397 drivers/md/dm-clone-target.c 	unsigned int count;
count            1399 drivers/md/dm-clone-target.c 	count = !test_bit(DM_CLONE_HYDRATION_ENABLED, &clone->flags);
count            1400 drivers/md/dm-clone-target.c 	count += !test_bit(DM_CLONE_DISCARD_PASSDOWN, &clone->flags);
count            1402 drivers/md/dm-clone-target.c 	DMEMIT("%u ", count);
count            1417 drivers/md/dm-clone-target.c 	unsigned int count = 4;
count            1419 drivers/md/dm-clone-target.c 	DMEMIT("%u hydration_threshold %u hydration_batch_size %u ", count,
count             226 drivers/md/dm-dust.c 				   unsigned long long count)
count             232 drivers/md/dm-dust.c 		BUG_ON(count != 0);
count             240 drivers/md/dm-dust.c 		count--;
count             243 drivers/md/dm-dust.c 	BUG_ON(count != 0);
count             487 drivers/md/dm-integrity.c 	io_loc.count = SB_SECTORS;
count             969 drivers/md/dm-integrity.c 	io_loc.count = n_sectors;
count            1083 drivers/md/dm-integrity.c 	io_loc.count = n_sectors;
count            2423 drivers/md/dm-integrity.c 	io_loc.count = n_sectors;
count              35 drivers/md/dm-io.c 	atomic_t count;
count             133 drivers/md/dm-io.c 	if (atomic_dec_and_test(&io->count))
count             305 drivers/md/dm-io.c 	sector_t remaining = where->count;
count             322 drivers/md/dm-io.c 		atomic_inc(&io->count);
count             349 drivers/md/dm-io.c 		bio->bi_iter.bi_sector = where->sector + (where->count - remaining);
count             385 drivers/md/dm-io.c 		atomic_inc(&io->count);
count             408 drivers/md/dm-io.c 		if (where[i].count || (op_flags & REQ_PREFLUSH))
count             448 drivers/md/dm-io.c 	atomic_set(&io->count, 1); /* see dispatch_io() */
count             480 drivers/md/dm-io.c 	atomic_set(&io->count, 1); /* see dispatch_io() */
count             543 drivers/md/dm-io.c 	r = dp_init(io_req, &dp, (unsigned long)where->count << SECTOR_SHIFT);
count            1457 drivers/md/dm-ioctl.c 	unsigned int count = 0;
count            1469 drivers/md/dm-ioctl.c 		count++;
count            1474 drivers/md/dm-ioctl.c 	needed = sizeof(*deps) + (sizeof(*deps->dev) * count);
count            1483 drivers/md/dm-ioctl.c 	deps->count = count;
count            1484 drivers/md/dm-ioctl.c 	count = 0;
count            1486 drivers/md/dm-ioctl.c 		deps->dev[count++] = huge_encode_dev(dd->dm_dev->bdev->bd_dev);
count             427 drivers/md/dm-kcopyd.c 			job->master_job->write_offset += job->source.count;
count             587 drivers/md/dm-kcopyd.c 	unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9);
count             611 drivers/md/dm-kcopyd.c 	int r, count = 0;
count             637 drivers/md/dm-kcopyd.c 		count++;
count             640 drivers/md/dm-kcopyd.c 	return count;
count             680 drivers/md/dm-kcopyd.c 	if (unlikely(!job->source.count))
count             694 drivers/md/dm-kcopyd.c 	sector_t count = 0;
count             715 drivers/md/dm-kcopyd.c 		count = job->source.count - progress;
count             716 drivers/md/dm-kcopyd.c 		if (count) {
count             717 drivers/md/dm-kcopyd.c 			if (count > kc->sub_job_size)
count             718 drivers/md/dm-kcopyd.c 				count = kc->sub_job_size;
count             720 drivers/md/dm-kcopyd.c 			job->progress += count;
count             725 drivers/md/dm-kcopyd.c 	if (count) {
count             731 drivers/md/dm-kcopyd.c 		sub_job->source.count = count;
count             735 drivers/md/dm-kcopyd.c 			sub_job->dests[i].count = count;
count             826 drivers/md/dm-kcopyd.c 		job->source.count = job->dests[0].count;
count             845 drivers/md/dm-kcopyd.c 	if (job->source.count <= kc->sub_job_size)
count             487 drivers/md/dm-log-userspace-base.c 	int count;
count             497 drivers/md/dm-log-userspace-base.c 		count = 0;
count             500 drivers/md/dm-log-userspace-base.c 			group[count] = fe->region;
count             501 drivers/md/dm-log-userspace-base.c 			count++;
count             506 drivers/md/dm-log-userspace-base.c 			if (count >= MAX_FLUSH_GROUP_COUNT)
count             513 drivers/md/dm-log-userspace-base.c 						 count * sizeof(uint64_t),
count             523 drivers/md/dm-log-userspace-base.c 						 count * sizeof(uint64_t),
count             307 drivers/md/dm-log.c 		.count = 0,
count             457 drivers/md/dm-log.c 		lc->header_location.count = buf_size >> SECTOR_SHIFT;
count             273 drivers/md/dm-raid1.c 		io[i].count = 0;
count             347 drivers/md/dm-raid1.c 		from.count = ms->ti->len & (region_size - 1);
count             348 drivers/md/dm-raid1.c 		if (!from.count)
count             349 drivers/md/dm-raid1.c 			from.count = region_size;
count             351 drivers/md/dm-raid1.c 		from.count = region_size;
count             361 drivers/md/dm-raid1.c 		dest->count = from.count;
count             469 drivers/md/dm-raid1.c 	io->count = bio_sectors(bio);
count             443 drivers/md/dm-rq.c 						     const char *buf, size_t count)
count             445 drivers/md/dm-rq.c 	return count;
count              45 drivers/md/dm-rq.h 						     const char *buf, size_t count);
count             235 drivers/md/dm-snap-persistent.c 		.count = ps->store->chunk_size,
count             450 drivers/md/dm-snap.c 	int count = 0;
count             473 drivers/md/dm-snap.c 		count++;
count             477 drivers/md/dm-snap.c 	return count;
count            1082 drivers/md/dm-snap.c 	dest.count = min(io_size, get_dev_size(dest.bdev) - dest.sector);
count            1086 drivers/md/dm-snap.c 	src.count = dest.count;
count            1798 drivers/md/dm-snap.c 	src.count = min((sector_t)s->store->chunk_size, dev_size - src.sector);
count            1802 drivers/md/dm-snap.c 	dest.count = src.count;
count            1927 drivers/md/dm-snap.c 	dest.count = s->store->chunk_size;
count              15 drivers/md/dm-sysfs.c 	ssize_t (*store)(struct mapped_device *, const char *, size_t count);
count              48 drivers/md/dm-sysfs.c 			     const char *page, size_t count)
count              62 drivers/md/dm-sysfs.c 	ret = dm_attr->store(md, page, count);
count             451 drivers/md/dm-table.c 		refcount_set(&dd->count, 1);
count             460 drivers/md/dm-table.c 	refcount_inc(&dd->count);
count             516 drivers/md/dm-table.c 	if (refcount_dec_and_test(&dd->count)) {
count            1662 drivers/md/dm-thin-metadata.c 	unsigned count, total_count = 0;
count            1700 drivers/md/dm-thin-metadata.c 		r = dm_btree_remove_leaves(&pmd->bl_info, mapping_root, &begin, end, &mapping_root, &count);
count            1704 drivers/md/dm-thin-metadata.c 		total_count += count;
count            1298 drivers/md/dm-thin.c 	to.count = end - begin;
count            1358 drivers/md/dm-thin.c 		from.count = len;
count            1362 drivers/md/dm-thin.c 		to.count = len;
count            2179 drivers/md/dm-thin.c 	unsigned count = 0;
count            2223 drivers/md/dm-thin.c 		if ((count++ & 127) == 0) {
count            2250 drivers/md/dm-thin.c 	unsigned count = 0;
count            2254 drivers/md/dm-thin.c 		if (count >= CELL_SORT_ARRAY_SIZE)
count            2257 drivers/md/dm-thin.c 		pool->cell_sort_array[count++] = cell;
count            2261 drivers/md/dm-thin.c 	sort(pool->cell_sort_array, count, sizeof(cell), cmp_cells, NULL);
count            2263 drivers/md/dm-thin.c 	return count;
count            2272 drivers/md/dm-thin.c 	unsigned i, j, count;
count            2284 drivers/md/dm-thin.c 		count = sort_cells(tc->pool, &cells);
count            2286 drivers/md/dm-thin.c 		for (i = 0; i < count; i++) {
count            2296 drivers/md/dm-thin.c 				for (j = i; j < count; j++)
count            3900 drivers/md/dm-thin.c 	unsigned count = !pf->zero_new_blocks + !pf->discard_enabled +
count            3903 drivers/md/dm-thin.c 	DMEMIT("%u ", count);
count             431 drivers/md/dm-writecache.c 	atomic_t count;
count             440 drivers/md/dm-writecache.c 	BUG_ON(atomic_read(&endio->count) <= 0);
count             441 drivers/md/dm-writecache.c 	if (atomic_dec_and_test(&endio->count))
count             472 drivers/md/dm-writecache.c 		region.count = (sector_t)(j - i) * (BITMAP_GRANULARITY >> SECTOR_SHIFT);
count             476 drivers/md/dm-writecache.c 		if (unlikely(region.sector + region.count > wc->metadata_sectors))
count             477 drivers/md/dm-writecache.c 			region.count = wc->metadata_sectors - region.sector;
count             480 drivers/md/dm-writecache.c 		atomic_inc(&endio.count);
count             521 drivers/md/dm-writecache.c 	region.count = 0;
count             888 drivers/md/dm-writecache.c 	region.count = n_sectors;
count            1575 drivers/md/dm-writecache.c 		from.count = n_sectors;
count            1578 drivers/md/dm-writecache.c 		to.count = n_sectors;
count             460 drivers/md/dm-zoned-metadata.c 	unsigned long count = 0;
count             467 drivers/md/dm-zoned-metadata.c 	       count < limit) {
count             473 drivers/md/dm-zoned-metadata.c 		count++;
count             476 drivers/md/dm-zoned-metadata.c 	return count;
count             497 drivers/md/dm-zoned-metadata.c 	unsigned long count;
count             500 drivers/md/dm-zoned-metadata.c 	count = dmz_shrink_mblock_cache(zmd, sc->nr_to_scan);
count             503 drivers/md/dm-zoned-metadata.c 	return count ? count : SHRINK_STOP;
count            2039 drivers/md/dm-zoned-metadata.c 	unsigned int count, bit, nr_bits;
count            2060 drivers/md/dm-zoned-metadata.c 		count = dmz_set_bits((unsigned long *)mblk->data, bit, nr_bits);
count            2061 drivers/md/dm-zoned-metadata.c 		if (count) {
count            2063 drivers/md/dm-zoned-metadata.c 			n += count;
count            2120 drivers/md/dm-zoned-metadata.c 	unsigned int count, bit, nr_bits;
count            2139 drivers/md/dm-zoned-metadata.c 		count = dmz_clear_bits((unsigned long *)mblk->data,
count            2141 drivers/md/dm-zoned-metadata.c 		if (count) {
count            2143 drivers/md/dm-zoned-metadata.c 			n += count;
count             161 drivers/md/dm-zoned-reclaim.c 		src.count = dmz_blk2sect(nr_blocks);
count             165 drivers/md/dm-zoned-reclaim.c 		dst.count = src.count;
count             157 drivers/md/dm.c 	refcount_t count;
count             289 drivers/md/dm.c 	const int count = ARRAY_SIZE(_inits);
count             293 drivers/md/dm.c 	for (i = 0; i < count; i++) {
count             819 drivers/md/dm.c 		refcount_set(&td->count, 1);
count             822 drivers/md/dm.c 		refcount_inc(&td->count);
count             836 drivers/md/dm.c 	if (refcount_dec_and_test(&td->count)) {
count             853 drivers/md/dm.c 		       td->dm_dev.name, refcount_read(&td->count));
count              42 drivers/md/dm.h 	refcount_t count;
count             123 drivers/md/md-bitmap.c 	if (bitmap->bp[page].count) /* page is still busy */
count             361 drivers/md/md-bitmap.c 		     unsigned long count,
count             380 drivers/md/md-bitmap.c 		if (count == 0)
count             390 drivers/md/md-bitmap.c 			if (count < (1<<inode->i_blkbits))
count             391 drivers/md/md-bitmap.c 				count = 0;
count             393 drivers/md/md-bitmap.c 				count -= (1<<inode->i_blkbits);
count            1114 drivers/md/md-bitmap.c 			int count;
count            1117 drivers/md/md-bitmap.c 				count = store->bytes - index * PAGE_SIZE;
count            1119 drivers/md/md-bitmap.c 				count = PAGE_SIZE;
count            1123 drivers/md/md-bitmap.c 						count, page);
count            1129 drivers/md/md-bitmap.c 					index + node_offset, count);
count            1207 drivers/md/md-bitmap.c 	bitmap->bp[page].count += inc;
count            2184 drivers/md/md-bitmap.c 				bitmap->counts.bp[page].count += 1;
count             176 drivers/md/md-bitmap.h 	unsigned int  count:30;
count             257 drivers/md/md-faulty.c 	int count = mddev->new_layout >> ModeShift;
count             273 drivers/md/md-faulty.c 		conf->period[mode] = count;
count             274 drivers/md/md-faulty.c 		if (!count) count++;
count             275 drivers/md/md-faulty.c 		atomic_set(&conf->counters[mode], count);
count            1637 drivers/md/md.c 	    rdev->badblocks.count == 0) {
count            1659 drivers/md/md.c 			int count = bb & (0x3ff);
count            1662 drivers/md/md.c 			count <<= sb->bblog_shift;
count            1665 drivers/md/md.c 			if (badblocks_set(&rdev->badblocks, sector, count, 1))
count            1986 drivers/md/md.c 	if (rdev->badblocks.count == 0)
count            2004 drivers/md/md.c 			for (i = 0 ; i < bb->count ; i++) {
count            2383 drivers/md/md.c 	rdev->badblocks.count = 0;
count             213 drivers/md/md.h 	if (unlikely(rdev->badblocks.count)) {
count             979 drivers/md/persistent-data/dm-array.c int dm_array_cursor_skip(struct dm_array_cursor *c, uint32_t count)
count             986 drivers/md/persistent-data/dm-array.c 		if (count < remaining) {
count             987 drivers/md/persistent-data/dm-array.c 			c->index += count;
count             991 drivers/md/persistent-data/dm-array.c 		count -= remaining;
count             210 drivers/md/persistent-data/dm-array.h int dm_array_cursor_skip(struct dm_array_cursor *c, uint32_t count);
count             276 drivers/md/persistent-data/dm-bitset.c int dm_bitset_cursor_skip(struct dm_bitset_cursor *c, uint32_t count)
count             283 drivers/md/persistent-data/dm-bitset.c 	if (c->entries_remaining < count)
count             286 drivers/md/persistent-data/dm-bitset.c 	if (count < remaining_in_word) {
count             287 drivers/md/persistent-data/dm-bitset.c 		c->bit_index += count;
count             288 drivers/md/persistent-data/dm-bitset.c 		c->entries_remaining -= count;
count             293 drivers/md/persistent-data/dm-bitset.c 		count -= remaining_in_word;
count             296 drivers/md/persistent-data/dm-bitset.c 	nr_array_skip = (count / 64) + 1;
count             302 drivers/md/persistent-data/dm-bitset.c 	c->entries_remaining -= count;
count             304 drivers/md/persistent-data/dm-bitset.c 	c->bit_index = count & 63;
count             200 drivers/md/persistent-data/dm-bitset.h int dm_bitset_cursor_skip(struct dm_bitset_cursor *c, uint32_t count);
count              45 drivers/md/persistent-data/dm-block-manager.c 	__s32 count;
count             152 drivers/md/persistent-data/dm-block-manager.c 	BUG_ON(lock->count < 0);
count             154 drivers/md/persistent-data/dm-block-manager.c 		if (lock->count >= MAX_HOLDERS)
count             158 drivers/md/persistent-data/dm-block-manager.c 			if (lock->count > 0)
count             161 drivers/md/persistent-data/dm-block-manager.c 			lock->count = -1;
count             167 drivers/md/persistent-data/dm-block-manager.c 		lock->count++;
count             178 drivers/md/persistent-data/dm-block-manager.c 	lock->count = 0;
count             186 drivers/md/persistent-data/dm-block-manager.c 	return lock->count >= 0 &&
count             187 drivers/md/persistent-data/dm-block-manager.c 		lock->count < MAX_HOLDERS &&
count             204 drivers/md/persistent-data/dm-block-manager.c 		lock->count++;
count             232 drivers/md/persistent-data/dm-block-manager.c 		lock->count++;
count             246 drivers/md/persistent-data/dm-block-manager.c 	BUG_ON(lock->count <= 0);
count             248 drivers/md/persistent-data/dm-block-manager.c 	--lock->count;
count             266 drivers/md/persistent-data/dm-block-manager.c 	if (lock->count == 0 && list_empty(&lock->waiters)) {
count             267 drivers/md/persistent-data/dm-block-manager.c 		lock->count = -1;
count             294 drivers/md/persistent-data/dm-block-manager.c 	lock->count = 0;
count              66 drivers/md/persistent-data/dm-btree-internal.h 	int count;
count              79 drivers/md/persistent-data/dm-btree-internal.h 	int count;
count             173 drivers/md/persistent-data/dm-btree-remove.c static void shift(struct btree_node *left, struct btree_node *right, int count)
count             181 drivers/md/persistent-data/dm-btree-remove.c 	BUG_ON(nr_left - count > max_entries);
count             182 drivers/md/persistent-data/dm-btree-remove.c 	BUG_ON(nr_right + count > max_entries);
count             184 drivers/md/persistent-data/dm-btree-remove.c 	if (!count)
count             187 drivers/md/persistent-data/dm-btree-remove.c 	if (count > 0) {
count             188 drivers/md/persistent-data/dm-btree-remove.c 		node_shift(right, count);
count             189 drivers/md/persistent-data/dm-btree-remove.c 		node_copy(left, right, count);
count             191 drivers/md/persistent-data/dm-btree-remove.c 		node_copy(left, right, count);
count             192 drivers/md/persistent-data/dm-btree-remove.c 		node_shift(right, count);
count             195 drivers/md/persistent-data/dm-btree-remove.c 	left->header.nr_entries = cpu_to_le32(nr_left - count);
count             196 drivers/md/persistent-data/dm-btree-remove.c 	right->header.nr_entries = cpu_to_le32(nr_right + count);
count             130 drivers/md/persistent-data/dm-btree-spine.c 	s->count = 0;
count             139 drivers/md/persistent-data/dm-btree-spine.c 	for (i = 0; i < s->count; i++) {
count             150 drivers/md/persistent-data/dm-btree-spine.c 	if (s->count == 2) {
count             153 drivers/md/persistent-data/dm-btree-spine.c 		s->count--;
count             156 drivers/md/persistent-data/dm-btree-spine.c 	r = bn_read_lock(s->info, new_child, s->nodes + s->count);
count             158 drivers/md/persistent-data/dm-btree-spine.c 		s->count++;
count             165 drivers/md/persistent-data/dm-btree-spine.c 	BUG_ON(!s->count);
count             166 drivers/md/persistent-data/dm-btree-spine.c 	--s->count;
count             167 drivers/md/persistent-data/dm-btree-spine.c 	unlock_block(s->info, s->nodes[s->count]);
count             174 drivers/md/persistent-data/dm-btree-spine.c 	BUG_ON(!s->count);
count             175 drivers/md/persistent-data/dm-btree-spine.c 	block = s->nodes[s->count - 1];
count             185 drivers/md/persistent-data/dm-btree-spine.c 	s->count = 0;
count             192 drivers/md/persistent-data/dm-btree-spine.c 	for (i = 0; i < s->count; i++) {
count             204 drivers/md/persistent-data/dm-btree-spine.c 	if (s->count == 2) {
count             207 drivers/md/persistent-data/dm-btree-spine.c 		s->count--;
count             210 drivers/md/persistent-data/dm-btree-spine.c 	r = bn_shadow(s->info, b, vt, s->nodes + s->count);
count             212 drivers/md/persistent-data/dm-btree-spine.c 		if (!s->count)
count             215 drivers/md/persistent-data/dm-btree-spine.c 		s->count++;
count             223 drivers/md/persistent-data/dm-btree-spine.c 	BUG_ON(!s->count);
count             225 drivers/md/persistent-data/dm-btree-spine.c 	return s->nodes[s->count - 1];
count             230 drivers/md/persistent-data/dm-btree-spine.c 	BUG_ON(s->count != 2);
count             232 drivers/md/persistent-data/dm-btree-spine.c 	return s->count == 2 ? s->nodes[0] : NULL;
count             237 drivers/md/persistent-data/dm-btree-spine.c 	return s->count >= 2;
count             908 drivers/md/persistent-data/dm-btree.c 	int r = 0, count = 0, level;
count             922 drivers/md/persistent-data/dm-btree.c 		count++;
count             926 drivers/md/persistent-data/dm-btree.c 	return r ? r : count;
count            1137 drivers/md/persistent-data/dm-btree.c int dm_btree_cursor_skip(struct dm_btree_cursor *c, uint32_t count)
count            1141 drivers/md/persistent-data/dm-btree.c 	while (count-- && !r)
count             212 drivers/md/persistent-data/dm-btree.h int dm_btree_cursor_skip(struct dm_btree_cursor *c, uint32_t count);
count             387 drivers/md/persistent-data/dm-space-map-common.c 	uint32_t count;
count             396 drivers/md/persistent-data/dm-space-map-common.c 			count = 0;
count             398 drivers/md/persistent-data/dm-space-map-common.c 			r = sm_ll_lookup(old_ll, *b, &count);
count             402 drivers/md/persistent-data/dm-space-map-common.c 			if (count)
count             405 drivers/md/persistent-data/dm-space-map-common.c 	} while (count);
count              48 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
count              51 drivers/md/persistent-data/dm-space-map-disk.c 	*count = smd->old_ll.nr_blocks;
count              56 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
count              59 drivers/md/persistent-data/dm-space-map-disk.c 	*count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction;
count              75 drivers/md/persistent-data/dm-space-map-disk.c 	uint32_t count;
count              77 drivers/md/persistent-data/dm-space-map-disk.c 	r = sm_disk_get_count(sm, b, &count);
count              81 drivers/md/persistent-data/dm-space-map-disk.c 	*result = count > 1;
count              87 drivers/md/persistent-data/dm-space-map-disk.c 			     uint32_t count)
count              94 drivers/md/persistent-data/dm-space-map-disk.c 	r = sm_ll_insert(&smd->ll, b, count, &ev);
count             281 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
count             285 drivers/md/persistent-data/dm-space-map-metadata.c 	*count = smm->ll.nr_blocks;
count             290 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
count             294 drivers/md/persistent-data/dm-space-map-metadata.c 	*count = smm->old_ll.nr_blocks - smm->old_ll.nr_allocated -
count             393 drivers/md/persistent-data/dm-space-map-metadata.c 				 uint32_t count)
count             405 drivers/md/persistent-data/dm-space-map-metadata.c 	r = sm_ll_insert(&smm->ll, b, count, &ev);
count             476 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t count;
count             485 drivers/md/persistent-data/dm-space-map-metadata.c 	r = sm_metadata_get_nr_free(sm, &count);
count             491 drivers/md/persistent-data/dm-space-map-metadata.c 	check_threshold(&smm->threshold, count);
count             585 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
count             589 drivers/md/persistent-data/dm-space-map-metadata.c 	*count = smm->ll.nr_blocks;
count             594 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
count             598 drivers/md/persistent-data/dm-space-map-metadata.c 	*count = smm->ll.nr_blocks - smm->begin;
count             622 drivers/md/persistent-data/dm-space-map-metadata.c 				  uint32_t count)
count              30 drivers/md/persistent-data/dm-space-map.h 	int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
count              40 drivers/md/persistent-data/dm-space-map.h 	int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
count              45 drivers/md/persistent-data/dm-space-map.h 	int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
count              87 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
count              89 drivers/md/persistent-data/dm-space-map.h 	return sm->get_nr_blocks(sm, count);
count              92 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
count              94 drivers/md/persistent-data/dm-space-map.h 	return sm->get_nr_free(sm, count);
count             110 drivers/md/persistent-data/dm-space-map.h 				  uint32_t count)
count             112 drivers/md/persistent-data/dm-space-map.h 	return sm->set_count(sm, b, count);
count            1694 drivers/md/raid1.c 	int count = 0;
count            1716 drivers/md/raid1.c 				count++;
count            1731 drivers/md/raid1.c 			count++;
count            1735 drivers/md/raid1.c 	mddev->degraded -= count;
count            1739 drivers/md/raid1.c 	return count;
count            1711 drivers/md/raid10.c 	int count = 0;
count            1727 drivers/md/raid10.c 				count++;
count            1742 drivers/md/raid10.c 			count++;
count            1747 drivers/md/raid10.c 	mddev->degraded -= count;
count            1751 drivers/md/raid10.c 	return count;
count            3297 drivers/md/raid10.c 		int count = 0;
count            3374 drivers/md/raid10.c 			count++;
count            3396 drivers/md/raid10.c 			count++;
count            3400 drivers/md/raid10.c 		if (count < 2) {
count            1041 drivers/md/raid5-cache.c 	atomic_inc(&sh->count);
count            1380 drivers/md/raid5-cache.c 	atomic_inc(&sh->count);
count            1401 drivers/md/raid5-cache.c 	int count;
count            1408 drivers/md/raid5-cache.c 	count = 0;
count            1411 drivers/md/raid5-cache.c 		count++;
count            1414 drivers/md/raid5-cache.c 	if (count >= num)
count            1419 drivers/md/raid5-cache.c 		if (++count >= num)
count            1428 drivers/md/raid5-cache.c 	int count = 0;
count            1483 drivers/md/raid5-cache.c 			    atomic_read(&sh->count) == 0) {
count            1485 drivers/md/raid5-cache.c 				if (count++ >= R5C_RECLAIM_STRIPE_GROUP)
count            2115 drivers/md/raid5-cache.c 			int i, count;
count            2117 drivers/md/raid5-cache.c 			count = le32_to_cpu(payload_flush->size) / sizeof(__le64);
count            2118 drivers/md/raid5-cache.c 			for (i = 0; i < count; ++i) {
count            2915 drivers/md/raid5-cache.c 	atomic_inc(&sh->count);
count              92 drivers/md/raid5-ppl.c 	int count;
count             163 drivers/md/raid5-ppl.c 	int count = 0, pd_idx = sh->pd_idx, i;
count             180 drivers/md/raid5-ppl.c 		srcs[count++] = sh->dev[pd_idx].page;
count             186 drivers/md/raid5-ppl.c 				srcs[count++] = dev->page;
count             195 drivers/md/raid5-ppl.c 	if (count == 1)
count             199 drivers/md/raid5-ppl.c 		tx = async_xor(sh->ppl_page, srcs, 0, count, PAGE_SIZE,
count             384 drivers/md/raid5-ppl.c 	atomic_inc(&sh->count);
count             544 drivers/md/raid5-ppl.c 	for (i = 0; i < ppl_conf->count; i++) {
count             679 drivers/md/raid5-ppl.c 		for (i = 0; i < ppl_conf->count; i++) {
count            1202 drivers/md/raid5-ppl.c 	for (i = 0; i < ppl_conf->count; i++) {
count            1396 drivers/md/raid5-ppl.c 	ppl_conf->count = conf->raid_disks;
count            1397 drivers/md/raid5-ppl.c 	ppl_conf->child_logs = kcalloc(ppl_conf->count, sizeof(struct ppl_log),
count            1416 drivers/md/raid5-ppl.c 	for (i = 0; i < ppl_conf->count; i++) {
count            1482 drivers/md/raid5-ppl.c 	if (rdev->raid_disk >= ppl_conf->count)
count             135 drivers/md/raid5.c 			     int *count, int syndrome_disks)
count             137 drivers/md/raid5.c 	int slot = *count;
count             140 drivers/md/raid5.c 		(*count)++;
count             146 drivers/md/raid5.c 		(*count)++;
count             300 drivers/md/raid5.c 	if (atomic_dec_and_test(&sh->count))
count             358 drivers/md/raid5.c 	int count = 0;
count             376 drivers/md/raid5.c 		count++;
count             379 drivers/md/raid5.c 	return count;
count             392 drivers/md/raid5.c 	if (atomic_add_unless(&sh->count, -1, 1))
count             404 drivers/md/raid5.c 	if (atomic_dec_and_lock_irqsave(&sh->count, &conf->device_lock, flags)) {
count             493 drivers/md/raid5.c 	BUG_ON(atomic_read(&sh->count) != 0);
count             670 drivers/md/raid5.c 				atomic_inc(&sh->count);
count             672 drivers/md/raid5.c 		} else if (!atomic_inc_not_zero(&sh->count)) {
count             674 drivers/md/raid5.c 			if (!atomic_read(&sh->count)) {
count             690 drivers/md/raid5.c 			atomic_inc(&sh->count);
count             756 drivers/md/raid5.c 	if (head && !atomic_inc_not_zero(&head->count)) {
count             758 drivers/md/raid5.c 		if (!atomic_read(&head->count)) {
count             774 drivers/md/raid5.c 		atomic_inc(&head->count);
count             843 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            1106 drivers/md/raid5.c 			atomic_inc(&sh->count);
count            1108 drivers/md/raid5.c 				atomic_inc(&head_sh->count);
count            1173 drivers/md/raid5.c 			atomic_inc(&sh->count);
count            1175 drivers/md/raid5.c 				atomic_inc(&head_sh->count);
count            1355 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            1412 drivers/md/raid5.c 	int count = 0;
count            1425 drivers/md/raid5.c 			xor_srcs[count++] = sh->dev[i].page;
count            1427 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            1431 drivers/md/raid5.c 	if (unlikely(count == 1))
count            1434 drivers/md/raid5.c 		tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit);
count            1455 drivers/md/raid5.c 	int count;
count            1461 drivers/md/raid5.c 	count = 0;
count            1464 drivers/md/raid5.c 		int slot = raid6_idx_to_slot(i, sh, &count, syndrome_disks);
count            1498 drivers/md/raid5.c 	int count;
count            1516 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            1519 drivers/md/raid5.c 		count = set_syndrome_sources(blocks, sh, SYNDROME_SRC_ALL);
count            1520 drivers/md/raid5.c 		blocks[count] = NULL; /* regenerating p is not necessary */
count            1521 drivers/md/raid5.c 		BUG_ON(blocks[count+1] != dest); /* q should already be set */
count            1525 drivers/md/raid5.c 		tx = async_gen_syndrome(blocks, 0, count+2, STRIPE_SIZE, &submit);
count            1528 drivers/md/raid5.c 		count = 0;
count            1532 drivers/md/raid5.c 			blocks[count++] = sh->dev[i].page;
count            1538 drivers/md/raid5.c 		tx = async_xor(dest, blocks, 0, count, STRIPE_SIZE, &submit);
count            1547 drivers/md/raid5.c 	int i, count, disks = sh->disks;
count            1571 drivers/md/raid5.c 	count = 0;
count            1574 drivers/md/raid5.c 		int slot = raid6_idx_to_slot(i, sh, &count, syndrome_disks);
count            1591 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            1613 drivers/md/raid5.c 			count = 0;
count            1617 drivers/md/raid5.c 				blocks[count++] = sh->dev[i].page;
count            1624 drivers/md/raid5.c 			tx = async_xor(dest, blocks, 0, count, STRIPE_SIZE,
count            1627 drivers/md/raid5.c 			count = set_syndrome_sources(blocks, sh, SYNDROME_SRC_ALL);
count            1631 drivers/md/raid5.c 			return async_gen_syndrome(blocks, 0, count+2,
count            1673 drivers/md/raid5.c 	int count = 0, pd_idx = sh->pd_idx, i;
count            1677 drivers/md/raid5.c 	struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page;
count            1687 drivers/md/raid5.c 			xor_srcs[count++] = dev->orig_page;
count            1689 drivers/md/raid5.c 			xor_srcs[count++] = dev->page;
count            1694 drivers/md/raid5.c 	tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit);
count            1704 drivers/md/raid5.c 	int count;
count            1710 drivers/md/raid5.c 	count = set_syndrome_sources(blocks, sh, SYNDROME_SRC_WANT_DRAIN);
count            1714 drivers/md/raid5.c 	tx = async_gen_syndrome(blocks, 0, count+2, STRIPE_SIZE,  &submit);
count            1844 drivers/md/raid5.c 	int count, pd_idx = sh->pd_idx, i;
count            1862 drivers/md/raid5.c 		atomic_inc(&sh->count);
count            1868 drivers/md/raid5.c 	count = 0;
count            1875 drivers/md/raid5.c 		xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page;
count            1880 drivers/md/raid5.c 				xor_srcs[count++] = dev->page;
count            1887 drivers/md/raid5.c 				xor_srcs[count++] = dev->page;
count            1903 drivers/md/raid5.c 		atomic_inc(&head_sh->count);
count            1912 drivers/md/raid5.c 	if (unlikely(count == 1))
count            1915 drivers/md/raid5.c 		tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit);
count            1930 drivers/md/raid5.c 	int count, i, j = 0;
count            1945 drivers/md/raid5.c 		atomic_inc(&sh->count);
count            1963 drivers/md/raid5.c 	count = set_syndrome_sources(blocks, sh, synflags);
count            1969 drivers/md/raid5.c 		atomic_inc(&head_sh->count);
count            1975 drivers/md/raid5.c 	tx = async_gen_syndrome(blocks, 0, count+2, STRIPE_SIZE,  &submit);
count            2005 drivers/md/raid5.c 	int count;
count            2012 drivers/md/raid5.c 	count = 0;
count            2014 drivers/md/raid5.c 	xor_srcs[count++] = xor_dest;
count            2018 drivers/md/raid5.c 		xor_srcs[count++] = sh->dev[i].page;
count            2023 drivers/md/raid5.c 	tx = async_xor_val(xor_dest, xor_srcs, 0, count, STRIPE_SIZE,
count            2026 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            2035 drivers/md/raid5.c 	int count;
count            2041 drivers/md/raid5.c 	count = set_syndrome_sources(srcs, sh, SYNDROME_SRC_ALL);
count            2043 drivers/md/raid5.c 		srcs[count] = NULL;
count            2045 drivers/md/raid5.c 	atomic_inc(&sh->count);
count            2048 drivers/md/raid5.c 	async_syndrome_val(srcs, 0, count+2, STRIPE_SIZE,
count            2145 drivers/md/raid5.c 		atomic_set(&sh->count, 1);
count            2443 drivers/md/raid5.c 	BUG_ON(atomic_read(&sh->count));
count            2475 drivers/md/raid5.c 		(unsigned long long)sh->sector, i, atomic_read(&sh->count),
count            2621 drivers/md/raid5.c 		(unsigned long long)sh->sector, i, atomic_read(&sh->count),
count            3246 drivers/md/raid5.c 		int count = 0;
count            3253 drivers/md/raid5.c 				if (count == 0 || sector < first)
count            3257 drivers/md/raid5.c 				count++;
count            3261 drivers/md/raid5.c 		if (first + conf->chunk_sectors * (count - 1) != last)
count            4714 drivers/md/raid5.c 	       atomic_read(&sh->count), sh->pd_idx, sh->qd_idx,
count            5089 drivers/md/raid5.c 		atomic_inc(&sh->count);
count            5413 drivers/md/raid5.c 	BUG_ON(atomic_inc_return(&sh->count) != 1);
count            7557 drivers/md/raid5.c 	int count = 0;
count            7569 drivers/md/raid5.c 				count++;
count            7584 drivers/md/raid5.c 			count++;
count            7592 drivers/md/raid5.c 	return count;
count             211 drivers/md/raid5.h 	atomic_t		count;	      /* nr of active thread/requests */
count             206 drivers/media/cec/cec-core.c 	const char __user *ubuf, size_t count, loff_t *ppos)
count             214 drivers/media/cec/cec-core.c 	buf = memdup_user_nul(ubuf, min_t(size_t, PAGE_SIZE, count));
count             229 drivers/media/cec/cec-core.c 	return count;
count             957 drivers/media/common/cx2341x.c 		for (i = 0; i < ctrls->count; i++) {
count             968 drivers/media/common/cx2341x.c 	for (i = 0; i < ctrls->count; i++) {
count             990 drivers/media/common/cx2341x.c 		ctrls->error_idx = ctrls->count;
count             374 drivers/media/common/saa7146/saa7146_fops.c static ssize_t fops_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
count             386 drivers/media/common/saa7146/saa7146_fops.c 		return saa7146_video_uops.read(file,data,count,ppos);
count             395 drivers/media/common/saa7146/saa7146_fops.c 			ret = saa7146_vbi_uops.read(file, data, count, ppos);
count             405 drivers/media/common/saa7146/saa7146_fops.c static ssize_t fops_write(struct file *file, const char __user *data, size_t count, loff_t *ppos)
count             418 drivers/media/common/saa7146/saa7146_fops.c 			ret = fh->dev->ext_vv_data->vbi_fops.write(file, data, count, ppos);
count             559 drivers/media/common/saa7146/saa7146_fops.c 	vbi->count[0] = 16;
count             561 drivers/media/common/saa7146/saa7146_fops.c 	vbi->count[1] = 16;
count             309 drivers/media/common/saa7146/saa7146_hlp.c static int sort_and_eliminate(u32* values, int* count)
count             315 drivers/media/common/saa7146/saa7146_hlp.c 	if( (0 > *count) || (NULL == values) ) {
count             320 drivers/media/common/saa7146/saa7146_hlp.c 	for( top = *count; top > 0; top--) {
count             328 drivers/media/common/saa7146/saa7146_hlp.c 	for( cur = 0, next = 1; next < *count; next++) {
count             333 drivers/media/common/saa7146/saa7146_hlp.c 	*count = cur + 1;
count             933 drivers/media/common/saa7146/saa7146_hlp.c 	int count = 0;
count             293 drivers/media/common/saa7146/saa7146_i2c.c 	int i = 0, count = 0;
count             306 drivers/media/common/saa7146/saa7146_i2c.c 	count = saa7146_i2c_msg_prepare(msgs, num, buffer);
count             307 drivers/media/common/saa7146/saa7146_i2c.c 	if ( 0 > count ) {
count             312 drivers/media/common/saa7146/saa7146_i2c.c 	if ( count > 3 || 0 != (SAA7146_I2C_SHORT_DELAY & dev->ext->flags) )
count             324 drivers/media/common/saa7146/saa7146_i2c.c 		for(i = 0; i < count; i++) {
count              13 drivers/media/common/saa7146/saa7146_vbi.c 	int count = 0;
count             141 drivers/media/common/saa7146/saa7146_vbi.c 	int count = 0;
count             163 drivers/media/common/saa7146/saa7146_vbi.c 	count = 0;
count             274 drivers/media/common/saa7146/saa7146_vbi.c static int buffer_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size)
count             282 drivers/media/common/saa7146/saa7146_vbi.c 	*count = 2;
count             284 drivers/media/common/saa7146/saa7146_vbi.c 	DEB_VBI("count:%d, size:%d\n", *count, *size);
count             456 drivers/media/common/saa7146/saa7146_vbi.c static ssize_t vbi_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
count             478 drivers/media/common/saa7146/saa7146_vbi.c 	ret = videobuf_read_stream(&fh->vbi_q, data, count, ppos, 1,
count            1120 drivers/media/common/saa7146/saa7146_video.c static int buffer_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size)
count            1126 drivers/media/common/saa7146/saa7146_video.c 	if (0 == *count || *count > MAX_SAA7146_CAPTURE_BUFFERS)
count            1127 drivers/media/common/saa7146/saa7146_video.c 		*count = MAX_SAA7146_CAPTURE_BUFFERS;
count            1132 drivers/media/common/saa7146/saa7146_video.c 	if( (*count * *size) > (max_memory*1048576) ) {
count            1133 drivers/media/common/saa7146/saa7146_video.c 		*count = (max_memory*1048576) / *size;
count            1136 drivers/media/common/saa7146/saa7146_video.c 	DEB_CAP("%d buffers, %d bytes each\n", *count, *size);
count            1241 drivers/media/common/saa7146/saa7146_video.c static ssize_t video_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
count            1265 drivers/media/common/saa7146/saa7146_video.c 	ret = videobuf_read_one(&fh->video_q , data, count, ppos,
count             668 drivers/media/common/videobuf2/videobuf2-core.c 		unsigned int *count)
count             680 drivers/media/common/videobuf2/videobuf2-core.c 	if (q->waiting_in_dqbuf && *count) {
count             685 drivers/media/common/videobuf2/videobuf2-core.c 	if (*count == 0 || q->num_buffers != 0 ||
count             711 drivers/media/common/videobuf2/videobuf2-core.c 		if (*count == 0)
count             719 drivers/media/common/videobuf2/videobuf2-core.c 	num_buffers = max_t(unsigned int, *count, q->min_buffers_needed);
count             799 drivers/media/common/videobuf2/videobuf2-core.c 	*count = allocated_buffers;
count             807 drivers/media/common/videobuf2/videobuf2-core.c 		unsigned int *count, unsigned requested_planes,
count             820 drivers/media/common/videobuf2/videobuf2-core.c 		if (q->waiting_in_dqbuf && *count) {
count             832 drivers/media/common/videobuf2/videobuf2-core.c 	num_buffers = min(*count, VB2_MAX_FRAME - q->num_buffers);
count             896 drivers/media/common/videobuf2/videobuf2-core.c 	*count = allocated_buffers;
count            2435 drivers/media/common/videobuf2/videobuf2-core.c 	unsigned int count;
count            2456 drivers/media/common/videobuf2/videobuf2-core.c 	unsigned int count = 0;
count            2480 drivers/media/common/videobuf2/videobuf2-core.c 	count = 1;
count            2483 drivers/media/common/videobuf2/videobuf2-core.c 		(read) ? "read" : "write", count, q->fileio_read_once,
count            2497 drivers/media/common/videobuf2/videobuf2-core.c 	fileio->count = count;
count            2501 drivers/media/common/videobuf2/videobuf2-core.c 	ret = vb2_core_reqbufs(q, fileio->memory, &fileio->count);
count            2557 drivers/media/common/videobuf2/videobuf2-core.c 	fileio->count = 0;
count            2558 drivers/media/common/videobuf2/videobuf2-core.c 	vb2_core_reqbufs(q, fileio->memory, &fileio->count);
count            2577 drivers/media/common/videobuf2/videobuf2-core.c 		fileio->count = 0;
count            2578 drivers/media/common/videobuf2/videobuf2-core.c 		vb2_core_reqbufs(q, fileio->memory, &fileio->count);
count            2594 drivers/media/common/videobuf2/videobuf2-core.c static size_t __vb2_perform_fileio(struct vb2_queue *q, char __user *data, size_t count,
count            2610 drivers/media/common/videobuf2/videobuf2-core.c 		read ? "read" : "write", (long)*ppos, count,
count            2673 drivers/media/common/videobuf2/videobuf2-core.c 	if (buf->pos + count > buf->size) {
count            2674 drivers/media/common/videobuf2/videobuf2-core.c 		count = buf->size - buf->pos;
count            2675 drivers/media/common/videobuf2/videobuf2-core.c 		dprintk(5, "reducing read count: %zd\n", count);
count            2682 drivers/media/common/videobuf2/videobuf2-core.c 		count, index, buf->pos);
count            2684 drivers/media/common/videobuf2/videobuf2-core.c 		ret = copy_to_user(data, buf->vaddr + buf->pos, count);
count            2686 drivers/media/common/videobuf2/videobuf2-core.c 		ret = copy_from_user(buf->vaddr + buf->pos, data, count);
count            2695 drivers/media/common/videobuf2/videobuf2-core.c 	buf->pos += count;
count            2696 drivers/media/common/videobuf2/videobuf2-core.c 	*ppos += count;
count            2751 drivers/media/common/videobuf2/videobuf2-core.c 		ret = count;
count            2755 drivers/media/common/videobuf2/videobuf2-core.c size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count,
count            2758 drivers/media/common/videobuf2/videobuf2-core.c 	return __vb2_perform_fileio(q, data, count, ppos, nonblocking, 1);
count            2762 drivers/media/common/videobuf2/videobuf2-core.c size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count,
count            2765 drivers/media/common/videobuf2/videobuf2-core.c 	return __vb2_perform_fileio(q, (char __user *) data, count,
count             668 drivers/media/common/videobuf2/videobuf2-v4l2.c 	return ret ? ret : vb2_core_reqbufs(q, req->memory, &req->count);
count             701 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (create->count == 0)
count             722 drivers/media/common/videobuf2/videobuf2-v4l2.c 			(f->fmt.vbi.count[0] + f->fmt.vbi.count[1]);
count             743 drivers/media/common/videobuf2/videobuf2-v4l2.c 		&create->count, requested_planes, requested_sizes);
count             918 drivers/media/common/videobuf2/videobuf2-v4l2.c 	res = vb2_core_reqbufs(vdev->queue, p->memory, &p->count);
count             922 drivers/media/common/videobuf2/videobuf2-v4l2.c 		vdev->queue->owner = p->count ? file->private_data : NULL;
count             940 drivers/media/common/videobuf2/videobuf2-v4l2.c 	if (p->count == 0)
count            1060 drivers/media/common/videobuf2/videobuf2-v4l2.c 		size_t count, loff_t *ppos)
count            1072 drivers/media/common/videobuf2/videobuf2-v4l2.c 	err = vb2_write(vdev->queue, buf, count, ppos,
count            1084 drivers/media/common/videobuf2/videobuf2-v4l2.c 		size_t count, loff_t *ppos)
count            1096 drivers/media/common/videobuf2/videobuf2-v4l2.c 	err = vb2_read(vdev->queue, buf, count, ppos,
count              65 drivers/media/dvb-core/dmxdev.c 				      size_t count, loff_t *ppos)
count              80 drivers/media/dvb-core/dmxdev.c 	for (todo = count; todo > 0; todo -= ret) {
count             109 drivers/media/dvb-core/dmxdev.c 	return (count - todo) ? (count - todo) : ret;
count             253 drivers/media/dvb-core/dmxdev.c 			     size_t count, loff_t *ppos)
count             270 drivers/media/dvb-core/dmxdev.c 	ret = dmxdev->demux->write(dmxdev->demux, buf, count);
count             275 drivers/media/dvb-core/dmxdev.c static ssize_t dvb_dvr_read(struct file *file, char __user *buf, size_t count,
count             286 drivers/media/dvb-core/dmxdev.c 				      buf, count, ppos);
count             974 drivers/media/dvb-core/dmxdev.c 				   size_t count, loff_t *ppos)
count             981 drivers/media/dvb-core/dmxdev.c 		if (hcount > count)
count             982 drivers/media/dvb-core/dmxdev.c 			hcount = count;
count             994 drivers/media/dvb-core/dmxdev.c 		count -= result;
count             999 drivers/media/dvb-core/dmxdev.c 		if (!count)
count            1002 drivers/media/dvb-core/dmxdev.c 	if (count > dfil->todo)
count            1003 drivers/media/dvb-core/dmxdev.c 		count = dfil->todo;
count            1006 drivers/media/dvb-core/dmxdev.c 					buf, count, ppos);
count            1014 drivers/media/dvb-core/dmxdev.c dvb_demux_read(struct file *file, char __user *buf, size_t count,
count            1024 drivers/media/dvb-core/dmxdev.c 		ret = dvb_dmxdev_read_sec(dmxdevfilter, file, buf, count, ppos);
count            1028 drivers/media/dvb-core/dmxdev.c 					     buf, count, ppos);
count            1436 drivers/media/dvb-core/dvb_ca_en50221.c 				       const char __user *buf, size_t count,
count            1456 drivers/media/dvb-core/dvb_ca_en50221.c 	if (count < 2)
count            1465 drivers/media/dvb-core/dvb_ca_en50221.c 	count -= 2;
count            1477 drivers/media/dvb-core/dvb_ca_en50221.c 	while (fragpos < count) {
count            1483 drivers/media/dvb-core/dvb_ca_en50221.c 		if ((count - fragpos) < fraglen)
count            1484 drivers/media/dvb-core/dvb_ca_en50221.c 			fraglen = count - fragpos;
count            1487 drivers/media/dvb-core/dvb_ca_en50221.c 		fragbuf[1] = ((fragpos + fraglen) < count) ? 0x80 : 0x00;
count            1526 drivers/media/dvb-core/dvb_ca_en50221.c 	status = count + 2;
count            1592 drivers/media/dvb-core/dvb_ca_en50221.c 				      size_t count, loff_t *ppos)
count            1614 drivers/media/dvb-core/dvb_ca_en50221.c 	if (count < 2)
count            1650 drivers/media/dvb-core/dvb_ca_en50221.c 			if (pktlen < count) {
count            1651 drivers/media/dvb-core/dvb_ca_en50221.c 				if ((pktlen + fraglen - 2) > count)
count            1652 drivers/media/dvb-core/dvb_ca_en50221.c 					fraglen = count - pktlen;
count             116 drivers/media/dvb-core/dvb_demux.c 	int count = payload(buf);
count             121 drivers/media/dvb-core/dvb_demux.c 	if (count == 0)
count             124 drivers/media/dvb-core/dvb_demux.c 	p = 188 - count;
count             138 drivers/media/dvb-core/dvb_demux.c 	feed->peslen += count;
count             140 drivers/media/dvb-core/dvb_demux.c 	return feed->cb.ts(&buf[p], count, NULL, 0, &feed->feed.ts,
count             300 drivers/media/dvb-core/dvb_demux.c 	u8 p, count;
count             304 drivers/media/dvb-core/dvb_demux.c 	count = payload(buf);
count             306 drivers/media/dvb-core/dvb_demux.c 	if (count == 0)		/* count == 0 if no payload or out of range */
count             309 drivers/media/dvb-core/dvb_demux.c 	p = 188 - count;	/* payload start */
count             331 drivers/media/dvb-core/dvb_demux.c 				cc, (feed->cc + 1) & 0x0f, count + 4);
count             352 drivers/media/dvb-core/dvb_demux.c 		if (count > 1 && buf[p] < count) {
count             356 drivers/media/dvb-core/dvb_demux.c 			u8 after_len = count - 1 - before_len;
count             365 drivers/media/dvb-core/dvb_demux.c 		} else if (count > 0) {
count             368 drivers/media/dvb-core/dvb_demux.c 			dprintk_sect_loss("PUSI=1 but %d bytes lost\n", count);
count             372 drivers/media/dvb-core/dvb_demux.c 		dvb_dmx_swfilter_section_copy_dump(feed, &buf[p], count);
count             505 drivers/media/dvb-core/dvb_demux.c 			      size_t count)
count             511 drivers/media/dvb-core/dvb_demux.c 	while (count--) {
count             522 drivers/media/dvb-core/dvb_demux.c static inline int find_next_packet(const u8 *buf, int pos, size_t count,
count             527 drivers/media/dvb-core/dvb_demux.c 	while (pos < count) {
count             548 drivers/media/dvb-core/dvb_demux.c 		size_t count, const int pktsize)
count             559 drivers/media/dvb-core/dvb_demux.c 		if (count < j) {
count             560 drivers/media/dvb-core/dvb_demux.c 			memcpy(&demux->tsbuf[i], buf, count);
count             561 drivers/media/dvb-core/dvb_demux.c 			demux->tsbufp += count;
count             572 drivers/media/dvb-core/dvb_demux.c 		p = find_next_packet(buf, p, count, pktsize);
count             573 drivers/media/dvb-core/dvb_demux.c 		if (p >= count)
count             575 drivers/media/dvb-core/dvb_demux.c 		if (count - p < pktsize)
count             589 drivers/media/dvb-core/dvb_demux.c 	i = count - p;
count             601 drivers/media/dvb-core/dvb_demux.c void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count)
count             603 drivers/media/dvb-core/dvb_demux.c 	_dvb_dmx_swfilter(demux, buf, count, 188);
count             607 drivers/media/dvb-core/dvb_demux.c void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, size_t count)
count             609 drivers/media/dvb-core/dvb_demux.c 	_dvb_dmx_swfilter(demux, buf, count, 204);
count             613 drivers/media/dvb-core/dvb_demux.c void dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf, size_t count)
count             619 drivers/media/dvb-core/dvb_demux.c 	demux->feed->cb.ts(buf, count, NULL, 0, &demux->feed->feed.ts,
count            1148 drivers/media/dvb-core/dvb_demux.c static int dvbdmx_write(struct dmx_demux *demux, const char __user *buf, size_t count)
count            1156 drivers/media/dvb-core/dvb_demux.c 	p = memdup_user(buf, count);
count            1163 drivers/media/dvb-core/dvb_demux.c 	dvb_dmx_swfilter(dvbdemux, p, count);
count            1169 drivers/media/dvb-core/dvb_demux.c 	return count;
count              84 drivers/media/dvb-core/dvb_vb2.c static int _start_streaming(struct vb2_queue *vq, unsigned int count)
count              88 drivers/media/dvb-core/dvb_vb2.c 	dprintk(3, "[%s] count=%d\n", ctx->name, count);
count             344 drivers/media/dvb-core/dvb_vb2.c 	ctx->buf_cnt = req->count;
count             345 drivers/media/dvb-core/dvb_vb2.c 	ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, &req->count);
count             410 drivers/media/dvb-core/dvb_vb2.c 	b->count = ctx->count++;
count             416 drivers/media/dvb-core/dvb_vb2.c 		ctx->name, b->index, ctx->count, b->flags);
count            1362 drivers/media/dvb-frontends/af9013.c static int af9013_regmap_write(void *context, const void *data, size_t count)
count            1371 drivers/media/dvb-frontends/af9013.c 	const unsigned int len = count - 3;
count            4252 drivers/media/dvb-frontends/drx39xyj/drxj.c static int adc_sync_measurement(struct drx_demod_instance *demod, u16 *count)
count            4275 drivers/media/dvb-frontends/drx39xyj/drxj.c 	*count = 0;
count            4282 drivers/media/dvb-frontends/drx39xyj/drxj.c 		*count = *count + 1;
count            4289 drivers/media/dvb-frontends/drx39xyj/drxj.c 		*count = *count + 1;
count            4296 drivers/media/dvb-frontends/drx39xyj/drxj.c 		*count = *count + 1;
count            4319 drivers/media/dvb-frontends/drx39xyj/drxj.c 	u16 count = 0;
count            4323 drivers/media/dvb-frontends/drx39xyj/drxj.c 	rc = adc_sync_measurement(demod, &count);
count            4329 drivers/media/dvb-frontends/drx39xyj/drxj.c 	if (count == 1) {
count            4346 drivers/media/dvb-frontends/drx39xyj/drxj.c 		rc = adc_sync_measurement(demod, &count);
count            4354 drivers/media/dvb-frontends/drx39xyj/drxj.c 	if (count < 2)
count            11640 drivers/media/dvb-frontends/drx39xyj/drxj.c 	unsigned count = 2 * sizeof(u16);
count            11656 drivers/media/dvb-frontends/drx39xyj/drxj.c 		if (count + 3 * sizeof(u16) + sizeof(u32) > size)
count            11660 drivers/media/dvb-frontends/drx39xyj/drxj.c 		block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count));
count            11661 drivers/media/dvb-frontends/drx39xyj/drxj.c 		count += sizeof(u32);
count            11662 drivers/media/dvb-frontends/drx39xyj/drxj.c 		block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count));
count            11663 drivers/media/dvb-frontends/drx39xyj/drxj.c 		count += sizeof(u16);
count            11664 drivers/media/dvb-frontends/drx39xyj/drxj.c 		block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count));
count            11665 drivers/media/dvb-frontends/drx39xyj/drxj.c 		count += sizeof(u16);
count            11666 drivers/media/dvb-frontends/drx39xyj/drxj.c 		block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count));
count            11667 drivers/media/dvb-frontends/drx39xyj/drxj.c 		count += sizeof(u16);
count            11670 drivers/media/dvb-frontends/drx39xyj/drxj.c 			count, block_hdr.addr, block_hdr.size, block_hdr.flags,
count            11703 drivers/media/dvb-frontends/drx39xyj/drxj.c 		} else if (count + block_hdr.size * sizeof(u16) > size)
count            11706 drivers/media/dvb-frontends/drx39xyj/drxj.c 		count += block_hdr.size * sizeof(u16);
count            11710 drivers/media/dvb-frontends/drx39xyj/drxj.c 	pr_err("Firmware is truncated at pos %u/%u\n", count, size);
count            2850 drivers/media/dvb-frontends/drxk_hard.c static int adc_sync_measurement(struct drxk_state *state, u16 *count)
count            2865 drivers/media/dvb-frontends/drxk_hard.c 	*count = 0;
count            2870 drivers/media/dvb-frontends/drxk_hard.c 		*count = *count + 1;
count            2875 drivers/media/dvb-frontends/drxk_hard.c 		*count = *count + 1;
count            2880 drivers/media/dvb-frontends/drxk_hard.c 		*count = *count + 1;
count            2890 drivers/media/dvb-frontends/drxk_hard.c 	u16 count = 0;
count            2895 drivers/media/dvb-frontends/drxk_hard.c 	status = adc_sync_measurement(state, &count);
count            2899 drivers/media/dvb-frontends/drxk_hard.c 	if (count == 1) {
count            2919 drivers/media/dvb-frontends/drxk_hard.c 		status = adc_sync_measurement(state, &count);
count            2924 drivers/media/dvb-frontends/drxk_hard.c 	if (count < 2)
count              60 drivers/media/dvb-frontends/dvb-pll.c 	int  count;
count              78 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             101 drivers/media/dvb-frontends/dvb-pll.c 	.count = 5,
count             124 drivers/media/dvb-frontends/dvb-pll.c 	.count = 7,
count             142 drivers/media/dvb-frontends/dvb-pll.c 	.count = 5,
count             157 drivers/media/dvb-frontends/dvb-pll.c 	.count = 9,
count             179 drivers/media/dvb-frontends/dvb-pll.c 	.count = 3,
count             193 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             219 drivers/media/dvb-frontends/dvb-pll.c 	.count = 12,
count             251 drivers/media/dvb-frontends/dvb-pll.c 	.count = 3,
count             276 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             293 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             310 drivers/media/dvb-frontends/dvb-pll.c 	.count = 6,
count             329 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             398 drivers/media/dvb-frontends/dvb-pll.c 	.count = 8,
count             442 drivers/media/dvb-frontends/dvb-pll.c 	.count  = 8,
count             462 drivers/media/dvb-frontends/dvb-pll.c 	.count	= 3,
count             476 drivers/media/dvb-frontends/dvb-pll.c 	.count = 2,
count             497 drivers/media/dvb-frontends/dvb-pll.c 	.count = 2,
count             518 drivers/media/dvb-frontends/dvb-pll.c 	.count = 4,
count             536 drivers/media/dvb-frontends/dvb-pll.c 	.count = 3,
count             551 drivers/media/dvb-frontends/dvb-pll.c 	.count = 10,
count             604 drivers/media/dvb-frontends/dvb-pll.c 	for (i = 0; i < desc->count; i++) {
count             612 drivers/media/dvb-frontends/dvb-pll.c 		       frequency, i, desc->count);
count             613 drivers/media/dvb-frontends/dvb-pll.c 	if (i == desc->count)
count              65 drivers/media/dvb-frontends/ix2505v.c static int ix2505v_write(struct ix2505v_state *state, u8 buf[], u8 count)
count              69 drivers/media/dvb-frontends/ix2505v.c 		  .buf = buf, .len = count },
count             472 drivers/media/dvb-frontends/mb86a20s.c 	int rc, count;
count             490 drivers/media/dvb-frontends/mb86a20s.c 	count = (rc >> 4) & 0x0f;
count             492 drivers/media/dvb-frontends/mb86a20s.c 	dev_dbg(&state->i2c->dev, "%s: segments: %d.\n", __func__, count);
count             494 drivers/media/dvb-frontends/mb86a20s.c 	return count;
count             802 drivers/media/dvb-frontends/mb86a20s.c 				u32 *error, u32 *count)
count             850 drivers/media/dvb-frontends/mb86a20s.c 	*count = rc << 16;
count             857 drivers/media/dvb-frontends/mb86a20s.c 	*count |= rc << 8;
count             864 drivers/media/dvb-frontends/mb86a20s.c 	*count |= rc;
count             868 drivers/media/dvb-frontends/mb86a20s.c 		__func__, 'A' + layer, *count);
count             879 drivers/media/dvb-frontends/mb86a20s.c 	    && state->estimated_rate[layer] != *count) {
count             935 drivers/media/dvb-frontends/mb86a20s.c 				  u32 *error, u32 *count)
count             992 drivers/media/dvb-frontends/mb86a20s.c 	*count = counter * 204 * 8;
count             996 drivers/media/dvb-frontends/mb86a20s.c 		__func__, 'A' + layer, *count);
count            1063 drivers/media/dvb-frontends/mb86a20s.c 			    u32 *error, u32 *count)
count            1115 drivers/media/dvb-frontends/mb86a20s.c 	*count = rc << 8;
count            1122 drivers/media/dvb-frontends/mb86a20s.c 	*count |= rc;
count            1126 drivers/media/dvb-frontends/mb86a20s.c 		__func__, 'A' + layer, *count);
count            1144 drivers/media/dvb-frontends/mb86a20s.c 	if (collect_rate != *count) {
count              51 drivers/media/dvb-frontends/mt312.c 		      u8 *buf, const size_t count)
count              64 drivers/media/dvb-frontends/mt312.c 	msg[1].len = count;
count              76 drivers/media/dvb-frontends/mt312.c 		for (i = 0; i < count; i++)
count              85 drivers/media/dvb-frontends/mt312.c 		       const u8 *src, const size_t count)
count              91 drivers/media/dvb-frontends/mt312.c 	if (1 + count > sizeof(buf)) {
count              93 drivers/media/dvb-frontends/mt312.c 		       "mt312: write: len=%zu is too big!\n", count);
count             100 drivers/media/dvb-frontends/mt312.c 		for (i = 0; i < count; i++)
count             106 drivers/media/dvb-frontends/mt312.c 	memcpy(&buf[1], src, count);
count             111 drivers/media/dvb-frontends/mt312.c 	msg.len = count + 1;
count              55 drivers/media/dvb-frontends/mxl5xx.c 	u32                  count;
count             186 drivers/media/dvb-frontends/mxl5xx.c 	u32 val, count = 10;
count             193 drivers/media/dvb-frontends/mxl5xx.c 		while ((DMA_INTR_PROT_WR_CMP & val) && --count) {
count             200 drivers/media/dvb-frontends/mxl5xx.c 		if (!count) {
count             370 drivers/media/dvb-frontends/mxl5xx.c 	state->base->count--;
count             371 drivers/media/dvb-frontends/mxl5xx.c 	if (state->base->count == 0) {
count            1362 drivers/media/dvb-frontends/mxl5xx.c 	u32 val, count = 10;
count            1373 drivers/media/dvb-frontends/mxl5xx.c 	while (--count && ((val >> tuner) & 1) != enable) {
count            1377 drivers/media/dvb-frontends/mxl5xx.c 	if (!count)
count            1855 drivers/media/dvb-frontends/mxl5xx.c 		base->count++;
count            1856 drivers/media/dvb-frontends/mxl5xx.c 		if (base->count > base->demod_num)
count            1866 drivers/media/dvb-frontends/mxl5xx.c 		base->count = 1;
count             324 drivers/media/dvb-frontends/nxt200x.c 	u8 buf, count = 0;
count             337 drivers/media/dvb-frontends/nxt200x.c 			while (count < 20) {
count             342 drivers/media/dvb-frontends/nxt200x.c 				count++;
count             366 drivers/media/dvb-frontends/nxt200x.c 			while (count < 20) {
count             371 drivers/media/dvb-frontends/nxt200x.c 				count++;
count             719 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_regmap_write(void *context, const void *data, size_t count)
count             727 drivers/media/dvb-frontends/rtl2830.c 			.len = count,
count             844 drivers/media/dvb-frontends/rtl2832_sdr.c static int rtl2832_sdr_start_streaming(struct vb2_queue *vq, unsigned int count)
count              60 drivers/media/dvb-frontends/si2165.c 			const u8 *src, const int count)
count              65 drivers/media/dvb-frontends/si2165.c 		reg, count, src);
count              67 drivers/media/dvb-frontends/si2165.c 	ret = regmap_bulk_write(state->regmap, reg, src, count);
count              76 drivers/media/dvb-frontends/si2165.c 		       const u16 reg, u8 *val, const int count)
count              78 drivers/media/dvb-frontends/si2165.c 	int ret = regmap_bulk_read(state->regmap, reg, val, count);
count              87 drivers/media/dvb-frontends/si2165.c 		reg, count, val);
count             181 drivers/media/dvb-frontends/si2165.c 				 int count)
count             186 drivers/media/dvb-frontends/si2165.c 	for (i = 0; i < count; i++) {
count             440 drivers/media/dvb-frontends/stb0899_drv.c int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count)
count             456 drivers/media/dvb-frontends/stb0899_drv.c 			.len	= count
count             464 drivers/media/dvb-frontends/stb0899_drv.c 			       __func__, reg, count, status);
count             477 drivers/media/dvb-frontends/stb0899_drv.c 		"%s [0x%04x]: %*ph", __func__, reg, count, buf);
count             484 drivers/media/dvb-frontends/stb0899_drv.c int stb0899_write_regs(struct stb0899_state *state, unsigned int reg, u8 *data, u32 count)
count             492 drivers/media/dvb-frontends/stb0899_drv.c 		.len	= 2 + count
count             495 drivers/media/dvb-frontends/stb0899_drv.c 	if (2 + count > sizeof(buf)) {
count             498 drivers/media/dvb-frontends/stb0899_drv.c 		       KBUILD_MODNAME, reg, count);
count             504 drivers/media/dvb-frontends/stb0899_drv.c 	memcpy(&buf[2], data, count);
count             507 drivers/media/dvb-frontends/stb0899_drv.c 		"%s [0x%04x]: %*ph", __func__, reg, count, data);
count             521 drivers/media/dvb-frontends/stb0899_drv.c 				reg, data[0], count, ret);
count             224 drivers/media/dvb-frontends/stb0899_priv.h 			     u32 count);
count             228 drivers/media/dvb-frontends/stb0899_priv.h 			      u32 count);
count             712 drivers/media/dvb-frontends/stv090x.c static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8 *data, u32 count)
count             717 drivers/media/dvb-frontends/stv090x.c 	struct i2c_msg i2c_msg = { .addr = config->address, .flags = 0, .buf = buf, .len = 2 + count };
count             719 drivers/media/dvb-frontends/stv090x.c 	if (2 + count > sizeof(buf)) {
count             722 drivers/media/dvb-frontends/stv090x.c 		       KBUILD_MODNAME, reg, count);
count             728 drivers/media/dvb-frontends/stv090x.c 	memcpy(&buf[2], data, count);
count             731 drivers/media/dvb-frontends/stv090x.c 		__func__, reg, count, data);
count             737 drivers/media/dvb-frontends/stv090x.c 				reg, data[0], count, ret);
count            3568 drivers/media/dvb-frontends/stv090x.c 	s32 count_4, count_3, count_2, count_1, count_0, count;
count            3595 drivers/media/dvb-frontends/stv090x.c 			count  = (count_2 & 0xff) << 16;
count            3596 drivers/media/dvb-frontends/stv090x.c 			count |= (count_1 & 0xff) <<  8;
count            3597 drivers/media/dvb-frontends/stv090x.c 			count |=  count_0 & 0xff;
count            3599 drivers/media/dvb-frontends/stv090x.c 			count = 1 << 24;
count            3601 drivers/media/dvb-frontends/stv090x.c 		if (count == 0)
count              84 drivers/media/dvb-frontends/stv0910.c 	int                  count;
count             157 drivers/media/dvb-frontends/stv0910.c 				  u16 reg, u8 *val, int count)
count             163 drivers/media/dvb-frontends/stv0910.c 				   .buf  = val, .len   = count } };
count            1277 drivers/media/dvb-frontends/stv0910.c 	state->base->count--;
count            1278 drivers/media/dvb-frontends/stv0910.c 	if (state->base->count == 0) {
count            1802 drivers/media/dvb-frontends/stv0910.c 		base->count++;
count            1810 drivers/media/dvb-frontends/stv0910.c 		base->count = 1;
count              82 drivers/media/dvb-frontends/zl10036.c static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count)
count              86 drivers/media/dvb-frontends/zl10036.c 		  .buf = buf, .len = count },
count             110 drivers/media/dvb-frontends/zl10036.c 			for (i = 0; i < count; i++)
count              59 drivers/media/dvb-frontends/zl10039.c 			const size_t count)
count              72 drivers/media/dvb-frontends/zl10039.c 			.len = count,
count              88 drivers/media/dvb-frontends/zl10039.c 			const size_t count)
count              95 drivers/media/dvb-frontends/zl10039.c 		.len = count + 1,
count              98 drivers/media/dvb-frontends/zl10039.c 	if (1 + count > sizeof(buf)) {
count             101 drivers/media/dvb-frontends/zl10039.c 		       KBUILD_MODNAME, reg, count);
count             108 drivers/media/dvb-frontends/zl10039.c 	memcpy(&buf[1], src, count);
count             199 drivers/media/i2c/cx25840/cx25840-ir.c static inline unsigned int lpf_count_to_ns(unsigned int count)
count             202 drivers/media/i2c/cx25840/cx25840-ir.c 	return DIV_ROUND_CLOSEST(count * 1000,
count             206 drivers/media/i2c/cx25840/cx25840-ir.c static inline unsigned int lpf_count_to_us(unsigned int count)
count             209 drivers/media/i2c/cx25840/cx25840-ir.c 	return DIV_ROUND_CLOSEST(count, CX25840_IR_REFCLK_FREQ / 1000000);
count             226 drivers/media/i2c/cx25840/cx25840-ir.c static u64 pulse_width_count_to_ns(u16 count, u16 divider)
count             235 drivers/media/i2c/cx25840/cx25840-ir.c 	n = (((u64) count << 2) | 0x3) * (divider + 1) * 1000; /* millicycles */
count             268 drivers/media/i2c/cx25840/cx25840-ir.c static unsigned int pulse_width_count_to_us(u16 count, u16 divider)
count             277 drivers/media/i2c/cx25840/cx25840-ir.c 	n = (((u64) count << 2) | 0x3) * (divider + 1);    /* cycles      */
count             303 drivers/media/i2c/cx25840/cx25840-ir.c static u16 pulse_clocks_to_clock_divider(u64 count)
count             305 drivers/media/i2c/cx25840/cx25840-ir.c 	do_div(count, (FIFO_RXTX << 2) | 0x3);
count             308 drivers/media/i2c/cx25840/cx25840-ir.c 	if (count > RXCLK_RCD + 1)
count             309 drivers/media/i2c/cx25840/cx25840-ir.c 		count = RXCLK_RCD;
count             310 drivers/media/i2c/cx25840/cx25840-ir.c 	else if (count < 2)
count             311 drivers/media/i2c/cx25840/cx25840-ir.c 		count = 1;
count             313 drivers/media/i2c/cx25840/cx25840-ir.c 		count--;
count             314 drivers/media/i2c/cx25840/cx25840-ir.c 	return (u16) count;
count             476 drivers/media/i2c/cx25840/cx25840-ir.c 	u32 count = ns_to_lpf_count(min_width_ns);
count             477 drivers/media/i2c/cx25840/cx25840-ir.c 	cx25840_write4(c, CX25840_IR_FILTR_REG, count);
count             478 drivers/media/i2c/cx25840/cx25840-ir.c 	return lpf_count_to_ns(count);
count             648 drivers/media/i2c/cx25840/cx25840-ir.c static int cx25840_ir_rx_read(struct v4l2_subdev *sd, u8 *buf, size_t count,
count             664 drivers/media/i2c/cx25840/cx25840-ir.c 	n = count / sizeof(union cx25840_ir_fifo_rec)
count             841 drivers/media/i2c/cx25840/cx25840-ir.c static int cx25840_ir_tx_write(struct v4l2_subdev *sd, u8 *buf, size_t count,
count             867 drivers/media/i2c/cx25840/cx25840-ir.c 	n = min(n, (unsigned int) count);
count             891 drivers/media/i2c/cx25840/cx25840-ir.c 	*num = count;
count             451 drivers/media/i2c/ir-kbd-i2c.c static void copy_codes(u8 *dst, u8 *src, unsigned int count)
count             455 drivers/media/i2c/ir-kbd-i2c.c 	while (count--) {
count             470 drivers/media/i2c/ir-kbd-i2c.c static int cmp_no_trail(u8 *a, u8 *b, unsigned int count)
count             472 drivers/media/i2c/ir-kbd-i2c.c 	while (--count) {
count             497 drivers/media/i2c/ir-kbd-i2c.c 			   unsigned int count, struct code_block *code_block)
count             509 drivers/media/i2c/ir-kbd-i2c.c 	for (i = 0; i < count; i++) {
count             608 drivers/media/i2c/ir-kbd-i2c.c 		    unsigned int count)
count             615 drivers/media/i2c/ir-kbd-i2c.c 	ret = zilog_ir_format(rcdev, txbuf, count, &code_block);
count             695 drivers/media/i2c/ir-kbd-i2c.c 	ret = count;
count             495 drivers/media/i2c/msp3400-kthreads.c 	int count, max1, max2, val1, val2, val, i;
count             536 drivers/media/i2c/msp3400-kthreads.c 		count = ARRAY_SIZE(msp3400c_carrier_detect_main);
count             541 drivers/media/i2c/msp3400-kthreads.c 			count = 0;
count             545 drivers/media/i2c/msp3400-kthreads.c 		for (i = 0; i < count; i++) {
count             562 drivers/media/i2c/msp3400-kthreads.c 			count = ARRAY_SIZE(msp3400c_carrier_detect_55);
count             566 drivers/media/i2c/msp3400-kthreads.c 			count = ARRAY_SIZE(msp3400c_carrier_detect_65);
count             572 drivers/media/i2c/msp3400-kthreads.c 			count = 0;
count             579 drivers/media/i2c/msp3400-kthreads.c 			count = 0;
count             582 drivers/media/i2c/msp3400-kthreads.c 		for (i = 0; i < count; i++) {
count             668 drivers/media/i2c/msp3400-kthreads.c 		count = 3;
count             670 drivers/media/i2c/msp3400-kthreads.c 			if (msp_sleep(state, count ? 1000 : 5000))
count             672 drivers/media/i2c/msp3400-kthreads.c 			if (count)
count             673 drivers/media/i2c/msp3400-kthreads.c 				count--;
count             686 drivers/media/i2c/msp3400-kthreads.c 	int val, i, std, count;
count             830 drivers/media/i2c/msp3400-kthreads.c 		count = 3;
count             832 drivers/media/i2c/msp3400-kthreads.c 			if (msp_sleep(state, count ? 1000 : 5000))
count             834 drivers/media/i2c/msp3400-kthreads.c 			if (count)
count             835 drivers/media/i2c/msp3400-kthreads.c 				count--;
count             535 drivers/media/i2c/mt9t001.c 	unsigned int count;
count             549 drivers/media/i2c/mt9t001.c 		for (i = 0, count = 0; i < 4; ++i) {
count             553 drivers/media/i2c/mt9t001.c 				count++;
count             556 drivers/media/i2c/mt9t001.c 		if (count > 1) {
count             578 drivers/media/i2c/mt9t001.c 		if (count > 1) {
count             245 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	int count = 0;
count             252 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		++count;
count             255 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	if (count > 0)
count             306 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	int count = 0;
count             328 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		if (++count > 100) {
count             524 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	int count = 0;
count             545 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		++count;
count             547 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	} while (count < 500);
count              66 drivers/media/i2c/s5c73m3/s5c73m3-spi.c 	u32 count = len / tx_size;
count              74 drivers/media/i2c/s5c73m3/s5c73m3-spi.c 	for (i = 0; i < count; i++) {
count              94 drivers/media/i2c/s5c73m3/s5c73m3-spi.c 	u32 count = len / tx_size;
count              99 drivers/media/i2c/s5c73m3/s5c73m3-spi.c 	for (i = 0; i < count; i++) {
count             279 drivers/media/i2c/s5k5baf.c 	u16 count;
count             353 drivers/media/i2c/s5k5baf.c 			    size_t count, const __le16 *data)
count             359 drivers/media/i2c/s5k5baf.c 	if (count < S5K5BAG_FW_TAG_LEN + 1) {
count             360 drivers/media/i2c/s5k5baf.c 		dev_err(dev, "firmware file too short (%zu)\n", count);
count             371 drivers/media/i2c/s5k5baf.c 	count -= S5K5BAG_FW_TAG_LEN;
count             373 drivers/media/i2c/s5k5baf.c 	d = devm_kcalloc(dev, count, sizeof(u16), GFP_KERNEL);
count             377 drivers/media/i2c/s5k5baf.c 	for (i = 0; i < count; ++i)
count             381 drivers/media/i2c/s5k5baf.c 	if (count < 1 + 2 * f->count) {
count             383 drivers/media/i2c/s5k5baf.c 			f->count, 2 * (count + S5K5BAG_FW_TAG_LEN));
count             386 drivers/media/i2c/s5k5baf.c 	end = d + count;
count             387 drivers/media/i2c/s5k5baf.c 	d += 1 + 2 * f->count;
count             389 drivers/media/i2c/s5k5baf.c 	for (i = 0; i < f->count; ++i) {
count             479 drivers/media/i2c/s5k5baf.c 				  u16 count, const u16 *seq)
count             488 drivers/media/i2c/s5k5baf.c 	v4l2_dbg(3, debug, c, "i2c_write_seq(count=%d): %*ph\n", count,
count             489 drivers/media/i2c/s5k5baf.c 		 min(2 * count, 64), seq);
count             493 drivers/media/i2c/s5k5baf.c 	while (count > 0) {
count             494 drivers/media/i2c/s5k5baf.c 		int n = min_t(int, count, ARRAY_SIZE(buf) - 1);
count             508 drivers/media/i2c/s5k5baf.c 		count -= n;
count             529 drivers/media/i2c/s5k5baf.c 	int count;
count             531 drivers/media/i2c/s5k5baf.c 	while ((count = *nseq++)) {
count             533 drivers/media/i2c/s5k5baf.c 		--count;
count             535 drivers/media/i2c/s5k5baf.c 		s5k5baf_write_arr_seq(state, addr, count, nseq);
count             536 drivers/media/i2c/s5k5baf.c 		nseq += count;
count             566 drivers/media/i2c/s5k5baf.c 	data = fw->data + 2 * fw->count;
count             568 drivers/media/i2c/s5k5baf.c 	for (i = 0; i < fw->count; ++i) {
count             219 drivers/media/i2c/saa711x_regs.h 	int count;
count             828 drivers/media/i2c/saa717x.c 	static const int count = ARRAY_SIZE(vals);
count             832 drivers/media/i2c/saa717x.c 	for (i = 0; i < count; i++)
count             835 drivers/media/i2c/saa717x.c 	if (i == count)
count              69 drivers/media/i2c/tvaudio.c 	int             count;             /* # of bytes to send */
count             278 drivers/media/i2c/tvaudio.c 	if (0 == cmd->count)
count             281 drivers/media/i2c/tvaudio.c 	if (cmd->count + cmd->bytes[0] - 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
count             284 drivers/media/i2c/tvaudio.c 			 cmd->bytes[0] + 1, cmd->bytes[0] + cmd->count - 1);
count             293 drivers/media/i2c/tvaudio.c 	for (i = 1; i < cmd->count; i++) {
count             302 drivers/media/i2c/tvaudio.c 	rc = i2c_master_send(c, cmd->bytes, cmd->count);
count             303 drivers/media/i2c/tvaudio.c 	if (rc != cmd->count) {
count            1986 drivers/media/i2c/tvaudio.c 	chip->shadow.count = desc->registers+1;
count            1270 drivers/media/i2c/tvp5150.c 	if (fmt->count[0] == 18 && fmt->count[1] == 18) {
count             506 drivers/media/i2c/video-i2c.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count              63 drivers/media/pci/b2c2/flexcop-pci.c 	int count;
count             113 drivers/media/pci/b2c2/flexcop-pci.c 		if (fc_pci->count == fc_pci->count_prev) {
count             135 drivers/media/pci/b2c2/flexcop-pci.c 			fc_pci->count_prev = fc_pci->count;
count             167 drivers/media/pci/b2c2/flexcop-pci.c 	if ((fc_pci->count % 1000) == 0)
count             168 drivers/media/pci/b2c2/flexcop-pci.c 		deb_chk("%d valid irq took place so far\n", fc_pci->count);
count             221 drivers/media/pci/b2c2/flexcop-pci.c 		fc_pci->count++;
count             246 drivers/media/pci/b2c2/flexcop-pci.c 		fc_pci->count_prev = fc_pci->count;
count             250 drivers/media/pci/bt8xx/bt878.c 	int count;
count             255 drivers/media/pci/bt8xx/bt878.c 	count = 0;
count             306 drivers/media/pci/bt8xx/bt878.c 		count++;
count             307 drivers/media/pci/bt8xx/bt878.c 		if (count > 20) {
count            1629 drivers/media/pci/bt8xx/bttv-driver.c buffer_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size)
count            1634 drivers/media/pci/bt8xx/bttv-driver.c 	if (0 == *count)
count            1635 drivers/media/pci/bt8xx/bttv-driver.c 		*count = gbuffers;
count            1636 drivers/media/pci/bt8xx/bttv-driver.c 	if (*size * *count > gbuffers * gbufsize)
count            1637 drivers/media/pci/bt8xx/bttv-driver.c 		*count = (gbuffers * gbufsize) / *size;
count            2869 drivers/media/pci/bt8xx/bttv-driver.c 			 size_t count, loff_t *ppos)
count            2877 drivers/media/pci/bt8xx/bttv-driver.c 		fh->btv->c.nr, (int)count, v4l2_type_names[fh->type]);
count            2886 drivers/media/pci/bt8xx/bttv-driver.c 		retval = videobuf_read_one(&fh->cap, data, count, ppos,
count            2893 drivers/media/pci/bt8xx/bttv-driver.c 		retval = videobuf_read_stream(&fh->vbi, data, count, ppos, 1,
count            3258 drivers/media/pci/bt8xx/bttv-driver.c 			 size_t count, loff_t *ppos)
count            3264 drivers/media/pci/bt8xx/bttv-driver.c 	cmd.block_count = count / 3;
count            3753 drivers/media/pci/bt8xx/bttv-driver.c 	int count;
count            3759 drivers/media/pci/bt8xx/bttv-driver.c 	count=0;
count            3774 drivers/media/pci/bt8xx/bttv-driver.c 				 btv->c.nr, count, btv->field_count,
count            3835 drivers/media/pci/bt8xx/bttv-driver.c 		count++;
count            3836 drivers/media/pci/bt8xx/bttv-driver.c 		if (count > 4) {
count            3838 drivers/media/pci/bt8xx/bttv-driver.c 			if (count > 8 || !(astat & BT848_INT_GPINT)) {
count              65 drivers/media/pci/bt8xx/bttv-vbi.c 	(((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line)
count              71 drivers/media/pci/bt8xx/bttv-vbi.c 			    unsigned int *count, unsigned int *size)
count              76 drivers/media/pci/bt8xx/bttv-vbi.c 	if (0 == *count)
count              77 drivers/media/pci/bt8xx/bttv-vbi.c 		*count = vbibufs;
count              85 drivers/media/pci/bt8xx/bttv-vbi.c 		fh->vbi_fmt.fmt.count[0],
count              86 drivers/media/pci/bt8xx/bttv-vbi.c 		fh->vbi_fmt.fmt.count[1]);
count             119 drivers/media/pci/bt8xx/bttv-vbi.c 	if (fh->vbi_fmt.fmt.count[0] > 0)
count             122 drivers/media/pci/bt8xx/bttv-vbi.c 	if (fh->vbi_fmt.fmt.count[1] > 0)
count             130 drivers/media/pci/bt8xx/bttv-vbi.c 	    buf->vbi_count[0] != fh->vbi_fmt.fmt.count[0] ||
count             131 drivers/media/pci/bt8xx/bttv-vbi.c 	    buf->vbi_count[1] != fh->vbi_fmt.fmt.count[1]) {
count             134 drivers/media/pci/bt8xx/bttv-vbi.c 		buf->vbi_count[0] = fh->vbi_fmt.fmt.count[0];
count             135 drivers/media/pci/bt8xx/bttv-vbi.c 		buf->vbi_count[1] = fh->vbi_fmt.fmt.count[1];
count             152 drivers/media/pci/bt8xx/bttv-vbi.c 		if (fh->vbi_fmt.fmt.count[0] > 0) {
count             157 drivers/media/pci/bt8xx/bttv-vbi.c 					      fh->vbi_fmt.fmt.count[0]);
count             162 drivers/media/pci/bt8xx/bttv-vbi.c 		if (fh->vbi_fmt.fmt.count[1] > 0) {
count             163 drivers/media/pci/bt8xx/bttv-vbi.c 			offset = fh->vbi_fmt.fmt.count[0] * VBI_BPL;
count             169 drivers/media/pci/bt8xx/bttv-vbi.c 					      fh->vbi_fmt.fmt.count[1]);
count             263 drivers/media/pci/bt8xx/bttv-vbi.c 		if (0 == f->count[i]) {
count             269 drivers/media/pci/bt8xx/bttv-vbi.c 			s64 start, count;
count             273 drivers/media/pci/bt8xx/bttv-vbi.c 			count = (s64) f->start[i] + f->count[i] - start;
count             275 drivers/media/pci/bt8xx/bttv-vbi.c 			f->count[i] = clamp(count, (s64) 1,
count             284 drivers/media/pci/bt8xx/bttv-vbi.c 	if (0 == (f->count[0] | f->count[1])) {
count             288 drivers/media/pci/bt8xx/bttv-vbi.c 		f->count[0] = 1;
count             289 drivers/media/pci/bt8xx/bttv-vbi.c 		f->count[1] = 1;
count             396 drivers/media/pci/bt8xx/bttv-vbi.c 			frt->fmt.vbi.count[i] =
count             397 drivers/media/pci/bt8xx/bttv-vbi.c 				min((__s32) frt->fmt.vbi.count[i],
count             421 drivers/media/pci/bt8xx/bttv-vbi.c 	f->fmt.count[0]		= VBI_DEFLINES;
count             422 drivers/media/pci/bt8xx/bttv-vbi.c 	f->fmt.count[1]		= VBI_DEFLINES;
count             366 drivers/media/pci/bt8xx/dst_ca.c 	u8 length_field = 0, word_count = 0, count = 0;
count             376 drivers/media/pci/bt8xx/dst_ca.c 		for (count = 0; count < word_count; count++) {
count             378 drivers/media/pci/bt8xx/dst_ca.c 			length += asn_1_array[count + 1];
count             279 drivers/media/pci/cobalt/cobalt-v4l2.c static int cobalt_start_streaming(struct vb2_queue *q, unsigned int count)
count              16 drivers/media/pci/cobalt/m00460_evcnt_memmap_package.h 	uint32_t count;   /* Reg 0x0004 */
count             491 drivers/media/pci/cx18/cx18-driver.h 	u32 count;    /* Count of VBI data lines: 60 Hz: 12 or 50 Hz: 18 */
count             471 drivers/media/pci/cx18/cx18-fileops.c 		size_t count, loff_t *pos, int non_block)
count             473 drivers/media/pci/cx18/cx18-fileops.c 	ssize_t rc = count ? cx18_read(s, ubuf, count, non_block) : 0;
count             476 drivers/media/pci/cx18/cx18-fileops.c 	CX18_DEBUG_HI_FILE("read %zd from %s, got %zd\n", count, s->name, rc);
count             571 drivers/media/pci/cx18/cx18-fileops.c ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,
count             579 drivers/media/pci/cx18/cx18-fileops.c 	CX18_DEBUG_HI_FILE("read %zd bytes from %s\n", count, s->name);
count             589 drivers/media/pci/cx18/cx18-fileops.c 		return videobuf_read_stream(&s->vbuf_q, buf, count, pos, 0,
count             593 drivers/media/pci/cx18/cx18-fileops.c 	return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK);
count              12 drivers/media/pci/cx18/cx18-fileops.h ssize_t cx18_v4l2_read(struct file *filp, char __user *buf, size_t count,
count              14 drivers/media/pci/cx18/cx18-fileops.h ssize_t cx18_v4l2_write(struct file *filp, const char __user *buf, size_t count,
count              13 drivers/media/pci/cx18/cx18-io.c void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count)
count              20 drivers/media/pci/cx18/cx18-io.c 	if ((count > 0) && ((unsigned long)dst & 1)) {
count              22 drivers/media/pci/cx18/cx18-io.c 		count--;
count              25 drivers/media/pci/cx18/cx18-io.c 	if ((count > 1) && ((unsigned long)dst & 2)) {
count              27 drivers/media/pci/cx18/cx18-io.c 		count -= 2;
count              30 drivers/media/pci/cx18/cx18-io.c 	while (count > 3) {
count              32 drivers/media/pci/cx18/cx18-io.c 		count -= 4;
count              35 drivers/media/pci/cx18/cx18-io.c 	if (count > 1) {
count              37 drivers/media/pci/cx18/cx18-io.c 		count -= 2;
count              40 drivers/media/pci/cx18/cx18-io.c 	if (count > 0)
count             133 drivers/media/pci/cx18/cx18-io.h void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count);
count             170 drivers/media/pci/cx18/cx18-ioctl.c 	vbifmt->count[0] = vbifmt->count[1] = cx->vbi.count;
count             591 drivers/media/pci/cx18/cx18-ioctl.c 	cx->vbi.count = cx->is_50hz ? 18 : 12;
count             182 drivers/media/pci/cx18/cx18-streams.c 	unsigned int *count, unsigned int *size)
count             188 drivers/media/pci/cx18/cx18-streams.c 	if (*count == 0)
count             189 drivers/media/pci/cx18/cx18-streams.c 		*count = VB_MIN_BUFFERS;
count             191 drivers/media/pci/cx18/cx18-streams.c 	while (*size * *count > VB_MIN_BUFFERS * VB_MIN_BUFSIZE)
count             192 drivers/media/pci/cx18/cx18-streams.c 		(*count)--;
count             545 drivers/media/pci/cx18/cx18-streams.c 		cx->vbi.count = 12;
count             549 drivers/media/pci/cx18/cx18-streams.c 		cx->vbi.count = 18;
count             569 drivers/media/pci/cx18/cx18-streams.c 		lines = cx->vbi.count * 2;
count              98 drivers/media/pci/cx18/cx18-vbi.c 	u32 lines = cx->vbi.count * 2;
count            1167 drivers/media/pci/cx23885/cx23885-417.c static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count)
count             174 drivers/media/pci/cx23885/cx23885-alsa.c 	atomic_set(&chip->count, 0);
count             250 drivers/media/pci/cx23885/cx23885-alsa.c 		atomic_set(&chip->count, cx_read(AUD_INT_A_GPCNT));
count             475 drivers/media/pci/cx23885/cx23885-alsa.c 	u16 count;
count             477 drivers/media/pci/cx23885/cx23885-alsa.c 	count = atomic_read(&chip->count);
count             479 drivers/media/pci/cx23885/cx23885-alsa.c 	return runtime->period_size * (count & (runtime->periods-1));
count             425 drivers/media/pci/cx23885/cx23885-core.c 			   struct cx23885_dmaqueue *q, u32 count)
count             438 drivers/media/pci/cx23885/cx23885-core.c 		buf->vb.sequence = q->count++;
count             439 drivers/media/pci/cx23885/cx23885-core.c 		if (count != (q->count % 65536)) {
count             441 drivers/media/pci/cx23885/cx23885-core.c 				buf->vb.vb2_buf.index, count, q->count);
count             444 drivers/media/pci/cx23885/cx23885-core.c 				buf->vb.vb2_buf.index, count, q->count);
count             450 drivers/media/pci/cx23885/cx23885-core.c 		count_delta = ((int)count - (int)(q->count % 65536));
count            1449 drivers/media/pci/cx23885/cx23885-core.c 	q->count = 0;
count            1673 drivers/media/pci/cx23885/cx23885-core.c 	int count = 0;
count            1679 drivers/media/pci/cx23885/cx23885-core.c 	count = cx_read(port->reg_gpcnt);
count            1681 drivers/media/pci/cx23885/cx23885-core.c 		status, cx_read(port->reg_ts_int_msk), count);
count            1714 drivers/media/pci/cx23885/cx23885-core.c 		cx23885_wakeup(port, &port->mpegq, count);
count            1729 drivers/media/pci/cx23885/cx23885-core.c 	u32 count;
count            1763 drivers/media/pci/cx23885/cx23885-core.c 		count = cx_read(port->reg_gpcnt);
count            1764 drivers/media/pci/cx23885/cx23885-core.c 		cx23885_wakeup(port, &port->mpegq, count);
count             150 drivers/media/pci/cx23885/cx23885-dvb.c static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count)
count              53 drivers/media/pci/cx23885/cx23885-i2c.c 	int count;
count              55 drivers/media/pci/cx23885/cx23885-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count              61 drivers/media/pci/cx23885/cx23885-i2c.c 	if (I2C_WAIT_RETRY == count)
count              39 drivers/media/pci/cx23885/cx23885-input.c 	int count, i;
count              48 drivers/media/pci/cx23885/cx23885-input.c 		count = num / sizeof(struct ir_raw_event);
count              50 drivers/media/pci/cx23885/cx23885-input.c 		for (i = 0; i < count; i++) {
count              50 drivers/media/pci/cx23885/cx23885-vbi.c 		f->fmt.vbi.count[0] = VBI_NTSC_LINE_COUNT;
count              51 drivers/media/pci/cx23885/cx23885-vbi.c 		f->fmt.vbi.count[1] = VBI_NTSC_LINE_COUNT;
count              56 drivers/media/pci/cx23885/cx23885-vbi.c 		f->fmt.vbi.count[0] = VBI_PAL_LINE_COUNT;
count              57 drivers/media/pci/cx23885/cx23885-vbi.c 		f->fmt.vbi.count[1] = VBI_PAL_LINE_COUNT;
count              71 drivers/media/pci/cx23885/cx23885-vbi.c 	u32 count;
count              77 drivers/media/pci/cx23885/cx23885-vbi.c 		count = cx_read(VBI_A_GPCNT);
count              78 drivers/media/pci/cx23885/cx23885-vbi.c 		cx23885_video_wakeup(dev, &dev->vbiq, count);
count              99 drivers/media/pci/cx23885/cx23885-vbi.c 	q->count = 0;
count             217 drivers/media/pci/cx23885/cx23885-vbi.c static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count)
count              89 drivers/media/pci/cx23885/cx23885-video.c 	struct cx23885_dmaqueue *q, u32 count)
count              98 drivers/media/pci/cx23885/cx23885-video.c 	buf->vb.sequence = q->count++;
count             101 drivers/media/pci/cx23885/cx23885-video.c 			buf->vb.vb2_buf.index, count, q->count);
count             316 drivers/media/pci/cx23885/cx23885-video.c 	q->count = 0;
count             484 drivers/media/pci/cx23885/cx23885-video.c static int cx23885_start_streaming(struct vb2_queue *q, unsigned int count)
count            1049 drivers/media/pci/cx23885/cx23885-video.c 	u32 mask, count;
count            1085 drivers/media/pci/cx23885/cx23885-video.c 		count = cx_read(VID_A_GPCNT);
count            1086 drivers/media/pci/cx23885/cx23885-video.c 		cx23885_video_wakeup(dev, &dev->vidq, count);
count             180 drivers/media/pci/cx23885/cx23885.h 	u32                    count;
count             250 drivers/media/pci/cx23885/cx23885.h 	u32                    count;
count             341 drivers/media/pci/cx23885/cx23885.h 	atomic_t		count;
count             578 drivers/media/pci/cx23885/cx23885.h 	struct cx23885_dmaqueue *q, u32 count);
count             238 drivers/media/pci/cx23885/cx23888-ir.c static inline unsigned int lpf_count_to_ns(unsigned int count)
count             241 drivers/media/pci/cx23885/cx23888-ir.c 	return DIV_ROUND_CLOSEST(count * 1000,
count             245 drivers/media/pci/cx23885/cx23888-ir.c static inline unsigned int lpf_count_to_us(unsigned int count)
count             248 drivers/media/pci/cx23885/cx23888-ir.c 	return DIV_ROUND_CLOSEST(count, CX23888_IR_REFCLK_FREQ / 1000000);
count             265 drivers/media/pci/cx23885/cx23888-ir.c static u64 pulse_width_count_to_ns(u16 count, u16 divider)
count             274 drivers/media/pci/cx23885/cx23888-ir.c 	n = (((u64) count << 2) | 0x3) * (divider + 1) * 1000; /* millicycles */
count             281 drivers/media/pci/cx23885/cx23888-ir.c static unsigned int pulse_width_count_to_us(u16 count, u16 divider)
count             290 drivers/media/pci/cx23885/cx23888-ir.c 	n = (((u64) count << 2) | 0x3) * (divider + 1);    /* cycles      */
count             316 drivers/media/pci/cx23885/cx23888-ir.c static u16 pulse_clocks_to_clock_divider(u64 count)
count             318 drivers/media/pci/cx23885/cx23888-ir.c 	do_div(count, (FIFO_RXTX << 2) | 0x3);
count             321 drivers/media/pci/cx23885/cx23888-ir.c 	if (count > RXCLK_RCD + 1)
count             322 drivers/media/pci/cx23885/cx23888-ir.c 		count = RXCLK_RCD;
count             323 drivers/media/pci/cx23885/cx23888-ir.c 	else if (count < 2)
count             324 drivers/media/pci/cx23885/cx23888-ir.c 		count = 1;
count             326 drivers/media/pci/cx23885/cx23888-ir.c 		count--;
count             327 drivers/media/pci/cx23885/cx23888-ir.c 	return (u16) count;
count             496 drivers/media/pci/cx23885/cx23888-ir.c 	u32 count = ns_to_lpf_count(min_width_ns);
count             497 drivers/media/pci/cx23885/cx23888-ir.c 	cx23888_ir_write4(dev, CX23888_IR_FILTR_REG, count);
count             498 drivers/media/pci/cx23885/cx23888-ir.c 	return lpf_count_to_ns(count);
count             649 drivers/media/pci/cx23885/cx23888-ir.c static int cx23888_ir_rx_read(struct v4l2_subdev *sd, u8 *buf, size_t count,
count             660 drivers/media/pci/cx23885/cx23888-ir.c 	n = count / sizeof(union cx23888_ir_fifo_rec)
count             820 drivers/media/pci/cx23885/cx23888-ir.c static int cx23888_ir_tx_write(struct v4l2_subdev *sd, u8 *buf, size_t count,
count             827 drivers/media/pci/cx23885/cx23888-ir.c 	*num = count;
count              74 drivers/media/pci/cx25821/cx25821-alsa.c 	atomic_t count;
count             239 drivers/media/pci/cx25821/cx25821-alsa.c 	atomic_set(&chip->count, 0);
count             342 drivers/media/pci/cx25821/cx25821-alsa.c 		atomic_set(&chip->count, cx_read(AUD_A_GPCNT));
count             618 drivers/media/pci/cx25821/cx25821-alsa.c 	u16 count;
count             620 drivers/media/pci/cx25821/cx25821-alsa.c 	count = atomic_read(&chip->count);
count             622 drivers/media/pci/cx25821/cx25821-alsa.c 	return runtime->period_size * (count & (runtime->periods - 1));
count              52 drivers/media/pci/cx25821/cx25821-i2c.c 	int count;
count              54 drivers/media/pci/cx25821/cx25821-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count              60 drivers/media/pci/cx25821/cx25821-i2c.c 	if (I2C_WAIT_RETRY == count)
count             117 drivers/media/pci/cx25821/cx25821-video.c 			buf->vb.sequence = dmaq->count++;
count             261 drivers/media/pci/cx25821/cx25821-video.c static int cx25821_start_streaming(struct vb2_queue *q, unsigned int count)
count             269 drivers/media/pci/cx25821/cx25821-video.c 	dmaq->count = 0;
count              40 drivers/media/pci/cx25821/cx25821-video.h 				 struct cx25821_dmaqueue *q, u32 count);
count             159 drivers/media/pci/cx25821/cx25821.h 	u32 count;
count              66 drivers/media/pci/cx88/cx88-alsa.c 	atomic_t		   count;
count             131 drivers/media/pci/cx88/cx88-alsa.c 	atomic_set(&chip->count, 0);
count             233 drivers/media/pci/cx88/cx88-alsa.c 		atomic_set(&chip->count, cx_read(MO_AUDD_GPCNT));
count             561 drivers/media/pci/cx88/cx88-alsa.c 	u16 count;
count             563 drivers/media/pci/cx88/cx88-alsa.c 	count = atomic_read(&chip->count);
count             568 drivers/media/pci/cx88/cx88-alsa.c 	return runtime->period_size * (count & (runtime->periods - 1));
count             623 drivers/media/pci/cx88/cx88-alsa.c 	info->count = 2;
count             701 drivers/media/pci/cx88/cx88-blackbird.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count             519 drivers/media/pci/cx88/cx88-core.c 		 struct cx88_dmaqueue *q, u32 count)
count             527 drivers/media/pci/cx88/cx88-core.c 	buf->vb.sequence = q->count++;
count             119 drivers/media/pci/cx88/cx88-dvb.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count             163 drivers/media/pci/cx88/cx88-mpeg.c 	q->count = 0;
count             304 drivers/media/pci/cx88/cx88-mpeg.c 	u32 status, mask, count;
count             331 drivers/media/pci/cx88/cx88-mpeg.c 		count = cx_read(MO_TS_GPCNT);
count             332 drivers/media/pci/cx88/cx88-mpeg.c 		cx88_wakeup(dev->core, &dev->mpegq, count);
count              37 drivers/media/pci/cx88/cx88-vbi.c 		f->fmt.vbi.count[0] = VBI_LINE_NTSC_COUNT;
count              38 drivers/media/pci/cx88/cx88-vbi.c 		f->fmt.vbi.count[1] = VBI_LINE_NTSC_COUNT;
count              45 drivers/media/pci/cx88/cx88-vbi.c 		f->fmt.vbi.count[0] = VBI_LINE_PAL_COUNT;
count              46 drivers/media/pci/cx88/cx88-vbi.c 		f->fmt.vbi.count[1] = VBI_LINE_PAL_COUNT;
count              67 drivers/media/pci/cx88/cx88-vbi.c 	q->count = 0;
count             194 drivers/media/pci/cx88/cx88-vbi.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count             363 drivers/media/pci/cx88/cx88-video.c 	q->count = 0;
count             529 drivers/media/pci/cx88/cx88-video.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count            1065 drivers/media/pci/cx88/cx88-video.c 	u32 status, mask, count;
count            1088 drivers/media/pci/cx88/cx88-video.c 		count = cx_read(MO_VIDY_GPCNT);
count            1089 drivers/media/pci/cx88/cx88-video.c 		cx88_wakeup(core, &dev->vidq, count);
count            1096 drivers/media/pci/cx88/cx88-video.c 		count = cx_read(MO_VBI_GPCNT);
count            1097 drivers/media/pci/cx88/cx88-video.c 		cx88_wakeup(core, &dev->vbiq, count);
count             325 drivers/media/pci/cx88/cx88.h 	u32                    count;
count             616 drivers/media/pci/cx88/cx88.h 		 struct cx88_dmaqueue *q, u32 count);
count              31 drivers/media/pci/ddbridge/ddbridge-ci.c 	u32 count = 10;
count              39 drivers/media/pci/ddbridge/ddbridge-ci.c 		if ((--count) == 0)
count              74 drivers/media/pci/ddbridge/ddbridge-ci.c 	u32 count = 100;
count              86 drivers/media/pci/ddbridge/ddbridge-ci.c 		if ((--count) == 0)
count             600 drivers/media/pci/ddbridge/ddbridge-core.c 				const __user u8 *buf, size_t count)
count             604 drivers/media/pci/ddbridge/ddbridge-core.c 	u32 left = count, len;
count             650 drivers/media/pci/ddbridge/ddbridge-core.c 	return count - left;
count             673 drivers/media/pci/ddbridge/ddbridge-core.c 			      __user u8 *buf, size_t count)
count             676 drivers/media/pci/ddbridge/ddbridge-core.c 	u32 left = count;
count             684 drivers/media/pci/ddbridge/ddbridge-core.c 			return count - left;
count             709 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count             716 drivers/media/pci/ddbridge/ddbridge-core.c 			size_t count, loff_t *ppos)
count             721 drivers/media/pci/ddbridge/ddbridge-core.c 	size_t left = count;
count             741 drivers/media/pci/ddbridge/ddbridge-core.c 	return (left == count) ? -EAGAIN : (count - left);
count             745 drivers/media/pci/ddbridge/ddbridge-core.c 		       size_t count, loff_t *ppos)
count             751 drivers/media/pci/ddbridge/ddbridge-core.c 	size_t left = count;
count             771 drivers/media/pci/ddbridge/ddbridge-core.c 	return (count && (left == count)) ? -EAGAIN : (count - left);
count            2582 drivers/media/pci/ddbridge/ddbridge-core.c 	u32 count = 0;
count            2586 drivers/media/pci/ddbridge/ddbridge-core.c 		if (++count == 100)
count            2779 drivers/media/pci/ddbridge/ddbridge-core.c 			 const char *buf, size_t count)
count            2788 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count            2892 drivers/media/pci/ddbridge/ddbridge-core.c 			 const char *buf, size_t count)
count            2905 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count            2967 drivers/media/pci/ddbridge/ddbridge-core.c 			      const char *buf, size_t count)
count            2978 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count            2991 drivers/media/pci/ddbridge/ddbridge-core.c 			 const char *buf, size_t count)
count            3004 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count            3051 drivers/media/pci/ddbridge/ddbridge-core.c 			   const char *buf, size_t count)
count            3062 drivers/media/pci/ddbridge/ddbridge-core.c 	return count;
count              48 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count)
count              50 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_toio(dev->regs + adr, src, count);
count              53 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count)
count              55 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_fromio(dst, dev->regs + adr, count);
count             143 drivers/media/pci/ddbridge/ddbridge-mci.c 		base->count++;
count             150 drivers/media/pci/ddbridge/ddbridge-mci.c 		base->count = 1;
count             229 drivers/media/pci/ddbridge/ddbridge-mci.h 	int                  count;
count              60 drivers/media/pci/ddbridge/ddbridge-sx8.c 	mci_base->count--;
count              61 drivers/media/pci/ddbridge/ddbridge-sx8.c 	if (mci_base->count == 0) {
count             148 drivers/media/pci/dt3155/dt3155.c static int dt3155_start_streaming(struct vb2_queue *q, unsigned count)
count             987 drivers/media/pci/intel/ipu3/ipu3-cio2.c static int cio2_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count             552 drivers/media/pci/ivtv/ivtv-driver.h 	u32 count;				/* number of VBI lines per field */
count             403 drivers/media/pci/ivtv/ivtv-fileops.c static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count,
count             406 drivers/media/pci/ivtv/ivtv-fileops.c 	ssize_t rc = count ? ivtv_read(s, ubuf, count, non_block) : 0;
count             409 drivers/media/pci/ivtv/ivtv-fileops.c 	IVTV_DEBUG_HI_FILE("read %zd from %s, got %zd\n", count, s->name, rc);
count             493 drivers/media/pci/ivtv/ivtv-fileops.c ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_t * pos)
count             500 drivers/media/pci/ivtv/ivtv-fileops.c 	IVTV_DEBUG_HI_FILE("read %zd bytes from %s\n", count, s->name);
count             506 drivers/media/pci/ivtv/ivtv-fileops.c 		rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK);
count             536 drivers/media/pci/ivtv/ivtv-fileops.c static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
count             549 drivers/media/pci/ivtv/ivtv-fileops.c 	IVTV_DEBUG_HI_FILE("write %zd bytes to %s\n", count, s->name);
count             563 drivers/media/pci/ivtv/ivtv-fileops.c 		int elems = count / sizeof(struct v4l2_sliced_vbi_data);
count             594 drivers/media/pci/ivtv/ivtv-fileops.c 		while (count >= itv->dma_data_req_size) {
count             602 drivers/media/pci/ivtv/ivtv-fileops.c 			count -= itv->dma_data_req_size;
count             604 drivers/media/pci/ivtv/ivtv-fileops.c 		if (count == 0) {
count             612 drivers/media/pci/ivtv/ivtv-fileops.c 		while (q.length - q.bytesused < count && (buf = ivtv_dequeue(s, &s->q_io)))
count             614 drivers/media/pci/ivtv/ivtv-fileops.c 		while (q.length - q.bytesused < count && (buf = ivtv_dequeue(s, &s->q_free))) {
count             639 drivers/media/pci/ivtv/ivtv-fileops.c 		    yi->stream_size + count > itv->dma_data_req_size)
count             643 drivers/media/pci/ivtv/ivtv-fileops.c 			rc = ivtv_buf_copy_from_user(s, buf, user_buf, count);
count             651 drivers/media/pci/ivtv/ivtv-fileops.c 		count -= rc;
count             702 drivers/media/pci/ivtv/ivtv-fileops.c 	if (count && !(filp->f_flags & O_NONBLOCK))
count             708 drivers/media/pci/ivtv/ivtv-fileops.c ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
count             716 drivers/media/pci/ivtv/ivtv-fileops.c 	res = ivtv_write(filp, user_buf, count, pos);
count              14 drivers/media/pci/ivtv/ivtv-fileops.h ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count,
count              16 drivers/media/pci/ivtv/ivtv-fileops.h ssize_t ivtv_v4l2_write(struct file *filp, const char __user *buf, size_t count,
count             370 drivers/media/pci/ivtv/ivtv-ioctl.c 	vbifmt->count[0] = vbifmt->count[1] = itv->vbi.count;
count            1105 drivers/media/pci/ivtv/ivtv-ioctl.c 	itv->vbi.count = itv->is_50hz ? 18 : 12;
count             399 drivers/media/pci/ivtv/ivtv-streams.c 		lines = itv->vbi.count * 2;
count             302 drivers/media/pci/ivtv/ivtv-vbi.c 	u32 lines = itv->vbi.count;
count              14 drivers/media/pci/ivtv/ivtv-vbi.h 			 size_t count);
count             322 drivers/media/pci/ivtv/ivtvfb.c 			      unsigned long dest_offset, int count)
count             328 drivers/media/pci/ivtv/ivtvfb.c 	if (count == 0) {
count             334 drivers/media/pci/ivtv/ivtvfb.c 	if ((dest_offset + count) > oi->video_buffer_size) {
count             336 drivers/media/pci/ivtv/ivtvfb.c 			dest_offset + count, oi->video_buffer_size);
count             348 drivers/media/pci/ivtv/ivtvfb.c 	if (count & 3)
count             349 drivers/media/pci/ivtv/ivtvfb.c 		IVTVFB_WARN("ivtvfb_prep_frame: Count not a multiple of 4 (%d)\n", count);
count             352 drivers/media/pci/ivtv/ivtvfb.c 	if (!access_ok(source + dest_offset, count)) {
count             356 drivers/media/pci/ivtv/ivtvfb.c 				  dest_offset, source, count);
count             364 drivers/media/pci/ivtv/ivtvfb.c 	return ivtvfb_prep_dec_dma_to_device(itv, dest_offset, source, count);
count             368 drivers/media/pci/ivtv/ivtvfb.c 						size_t count, loff_t *ppos)
count             392 drivers/media/pci/ivtv/ivtvfb.c 	if (count > total_size) {
count             394 drivers/media/pci/ivtv/ivtvfb.c 		count = total_size;
count             397 drivers/media/pci/ivtv/ivtvfb.c 	if (count + p > total_size) {
count             400 drivers/media/pci/ivtv/ivtvfb.c 		count = total_size - p;
count             410 drivers/media/pci/ivtv/ivtvfb.c 	if (count >= 4096 &&
count             421 drivers/media/pci/ivtv/ivtvfb.c 		if ((count - lead) & 3)
count             422 drivers/media/pci/ivtv/ivtvfb.c 			tail = (count - lead) & 3;
count             424 drivers/media/pci/ivtv/ivtvfb.c 		dma_size = count - lead - tail;
count             434 drivers/media/pci/ivtv/ivtvfb.c 	} else if (copy_from_user(dst, buf, count)) {
count             439 drivers/media/pci/ivtv/ivtvfb.c 		*ppos += count;
count             441 drivers/media/pci/ivtv/ivtvfb.c 	return (err) ? err : count;
count             466 drivers/media/pci/ivtv/ivtvfb.c 			vblank.count = itv->last_vsync_field;
count             488 drivers/media/pci/ivtv/ivtvfb.c 			return ivtvfb_prep_frame(itv, cmd, args.source, args.dest_offset, args.count);
count              80 drivers/media/pci/mantis/mantis_hif.c 	u32 hif_addr = 0, data, count = 4;
count              90 drivers/media/pci/mantis/mantis_hif.c 	mmwrite(count, MANTIS_GPIF_BRBYTES);
count            1218 drivers/media/pci/meye/meye.c 	if (meye.grab_fbuffer && req->count == gbuffers) {
count            1234 drivers/media/pci/meye/meye.c 	gbuffers = max(2, min((int)req->count, MEYE_MAX_BUFNBRS));
count            1235 drivers/media/pci/meye/meye.c 	req->count = gbuffers;
count             330 drivers/media/pci/netup_unidvb/netup_unidvb_core.c static int netup_unidvb_start_streaming(struct vb2_queue *q, unsigned int count)
count              46 drivers/media/pci/ngene/ngene-core.c #define ngcpyto(adr, src, count)   memcpy_toio(dev->iomem + (adr), (src), (count))
count              47 drivers/media/pci/ngene/ngene-core.c #define ngcpyfrom(dst, adr, count) memcpy_fromio((dst), dev->iomem + (adr), (count))
count              37 drivers/media/pci/ngene/ngene-dvb.c 			size_t count, loff_t *ppos)
count              45 drivers/media/pci/ngene/ngene-dvb.c 				     (&dev->tsout_rbuf) >= count) < 0)
count              48 drivers/media/pci/ngene/ngene-dvb.c 	dvb_ringbuffer_write_user(&dev->tsout_rbuf, buf, count);
count              50 drivers/media/pci/ngene/ngene-dvb.c 	return count;
count              54 drivers/media/pci/ngene/ngene-dvb.c 		       size_t count, loff_t *ppos)
count              61 drivers/media/pci/ngene/ngene-dvb.c 	left = count;
count              74 drivers/media/pci/ngene/ngene-dvb.c 	return count;
count             710 drivers/media/pci/pt1/pt1.c 	int i, count;
count             713 drivers/media/pci/pt1/pt1.c 	for (i = 0, count = 0; i < PT1_NR_ADAPS; i++)
count             714 drivers/media/pci/pt1/pt1.c 		count += pt1->adaps[i]->users;
count             716 drivers/media/pci/pt1/pt1.c 	if (count == 0 && pt1->kthread) {
count             909 drivers/media/pci/saa7134/saa7134-alsa.c 	uinfo->count = 2;
count            1006 drivers/media/pci/saa7134/saa7134-alsa.c 	uinfo->count = 2;
count             193 drivers/media/pci/saa7134/saa7134-core.c int saa7134_buffer_count(unsigned int size, unsigned int count)
count             198 drivers/media/pci/saa7134/saa7134-core.c 	if (count > maxcount)
count             199 drivers/media/pci/saa7134/saa7134-core.c 		count = maxcount;
count             200 drivers/media/pci/saa7134/saa7134-core.c 	return count;
count              31 drivers/media/pci/saa7134/saa7134-empress.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count              38 drivers/media/pci/saa7134/saa7134-empress.c 	err = saa7134_ts_start_streaming(vq, count);
count             141 drivers/media/pci/saa7134/saa7134-go7007.c 	int count = 20;
count             169 drivers/media/pci/saa7134/saa7134-go7007.c 	} while (--count > 0);
count             145 drivers/media/pci/saa7134/saa7134-i2c.c 	int count;
count             147 drivers/media/pci/saa7134/saa7134-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count             153 drivers/media/pci/saa7134/saa7134-i2c.c 	if (I2C_WAIT_RETRY == count)
count             161 drivers/media/pci/saa7134/saa7134-i2c.c 	int count;
count             169 drivers/media/pci/saa7134/saa7134-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count             175 drivers/media/pci/saa7134/saa7134-i2c.c 	if (I2C_WAIT_RETRY == count)
count             125 drivers/media/pci/saa7134/saa7134-ts.c int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count)
count             657 drivers/media/pci/saa7134/saa7134-tvaudio.c 	int state, count = DSP_RETRY;
count             666 drivers/media/pci/saa7134/saa7134-tvaudio.c 		if (unlikely(0 == count)) {
count             676 drivers/media/pci/saa7134/saa7134-tvaudio.c 		count--;
count             482 drivers/media/pci/saa7134/saa7134-video.c 	static const int count = ARRAY_SIZE(vals);
count             485 drivers/media/pci/saa7134/saa7134-video.c 	for (i = 0; i < count; i++)
count             488 drivers/media/pci/saa7134/saa7134-video.c 	if (i == count)
count             976 drivers/media/pci/saa7134/saa7134-video.c int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1189 drivers/media/pci/saa7134/saa7134-video.c 			 size_t count, loff_t *ppos)
count            1194 drivers/media/pci/saa7134/saa7134-video.c 	cmd.block_count = count/3;
count            1237 drivers/media/pci/saa7134/saa7134-video.c 	f->fmt.vbi.count[0] = norm->vbi_v_stop_0 - norm->vbi_v_start_0 +1;
count            1239 drivers/media/pci/saa7134/saa7134-video.c 	f->fmt.vbi.count[1] = f->fmt.vbi.count[0];
count             495 drivers/media/pci/saa7134/saa7134.h 	unsigned int               count;
count             761 drivers/media/pci/saa7134/saa7134.h int saa7134_buffer_count(unsigned int size, unsigned int count);
count             807 drivers/media/pci/saa7134/saa7134.h int saa7134_vb2_start_streaming(struct vb2_queue *vq, unsigned int count);
count             847 drivers/media/pci/saa7134/saa7134.h int saa7134_ts_start_streaming(struct vb2_queue *vq, unsigned int count);
count             219 drivers/media/pci/saa7164/saa7164-core.c 			hg->counter1[i].count++;
count             234 drivers/media/pci/saa7164/saa7164-core.c 		if (hg->counter1[i].count == 0)
count             239 drivers/media/pci/saa7164/saa7164-core.c 			hg->counter1[i].count,
count             789 drivers/media/pci/saa7164/saa7164-encoder.c 	size_t count, loff_t *pos)
count             837 drivers/media/pci/saa7164/saa7164-encoder.c 	while ((count > 0) && ubuf) {
count             841 drivers/media/pci/saa7164/saa7164-encoder.c 		cnt = rem > count ? count : rem;
count             847 drivers/media/pci/saa7164/saa7164-encoder.c 			__func__, (int)count, cnt, rem, ubuf, ubuf->pos);
count             859 drivers/media/pci/saa7164/saa7164-encoder.c 		count -= cnt;
count             406 drivers/media/pci/saa7164/saa7164-vbi.c 	f->fmt.vbi.count[0] = 18;
count             408 drivers/media/pci/saa7164/saa7164-vbi.c 	f->fmt.vbi.count[1] = 18;
count             493 drivers/media/pci/saa7164/saa7164-vbi.c 	size_t count, loff_t *pos)
count             541 drivers/media/pci/saa7164/saa7164-vbi.c 	while ((count > 0) && ubuf) {
count             545 drivers/media/pci/saa7164/saa7164-vbi.c 		cnt = rem > count ? count : rem;
count             551 drivers/media/pci/saa7164/saa7164-vbi.c 			__func__, (int)count, cnt, rem, ubuf, ubuf->pos);
count             563 drivers/media/pci/saa7164/saa7164-vbi.c 		count -= cnt;
count             191 drivers/media/pci/saa7164/saa7164.h 	u32 count;
count             160 drivers/media/pci/solo6x10/solo6x10-core.c 			    const char *buf, size_t count)
count             167 drivers/media/pci/solo6x10/solo6x10-core.c 	if (count & 0x1)
count             170 drivers/media/pci/solo6x10/solo6x10-core.c 	if (!full_eeprom && count > 64) {
count             172 drivers/media/pci/solo6x10/solo6x10-core.c 		count = 64;
count             173 drivers/media/pci/solo6x10/solo6x10-core.c 	} else if (full_eeprom && count > 128) {
count             175 drivers/media/pci/solo6x10/solo6x10-core.c 		count = 128;
count             181 drivers/media/pci/solo6x10/solo6x10-core.c 					       (int)(count / 2)); i++)
count             186 drivers/media/pci/solo6x10/solo6x10-core.c 	return count;
count             195 drivers/media/pci/solo6x10/solo6x10-core.c 	int count = (full_eeprom ? 128 : 64);
count             198 drivers/media/pci/solo6x10/solo6x10-core.c 	for (i = (full_eeprom ? 0 : 32); i < (count / 2); i++)
count             201 drivers/media/pci/solo6x10/solo6x10-core.c 	return count;
count             274 drivers/media/pci/solo6x10/solo6x10-core.c 				 const char *buf, size_t count)
count             285 drivers/media/pci/solo6x10/solo6x10-core.c 	return count;
count             369 drivers/media/pci/solo6x10/solo6x10-core.c 			  loff_t off, size_t count)
count             379 drivers/media/pci/solo6x10/solo6x10-core.c 	if (off + count > size)
count             380 drivers/media/pci/solo6x10/solo6x10-core.c 		count = size - off;
count             382 drivers/media/pci/solo6x10/solo6x10-core.c 	if (solo_p2m_dma(solo_dev, 0, buf, off, count, 0, 0))
count             385 drivers/media/pci/solo6x10/solo6x10-core.c 	return count;
count             219 drivers/media/pci/solo6x10/solo6x10-g723.c 				  unsigned long count)
count             225 drivers/media/pci/solo6x10/solo6x10-g723.c 	for (i = 0; i < (count / G723_FRAMES_PER_PAGE); i++) {
count             246 drivers/media/pci/solo6x10/solo6x10-g723.c 				    unsigned long count)
count             252 drivers/media/pci/solo6x10/solo6x10-g723.c 	for (i = 0; i < (count / G723_FRAMES_PER_PAGE); i++) {
count             287 drivers/media/pci/solo6x10/solo6x10-g723.c 	info->count = 1;
count             398 drivers/media/pci/solo6x10/solo6x10-g723.c 	kctl.count = solo_dev->nr_chans;
count             708 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static int solo_enc_start_streaming(struct vb2_queue *q, unsigned int count)
count             322 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_start_streaming(struct vb2_queue *q, unsigned int count)
count             331 drivers/media/pci/sta2x11/sta2x11_vip.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count             340 drivers/media/pci/sta2x11/sta2x11_vip.c 	if (count)
count            2352 drivers/media/pci/ttpci/av7110.c 	int ret, count = 0;
count            2395 drivers/media/pci/ttpci/av7110.c 		count = 0;
count            2557 drivers/media/pci/ttpci/av7110.c 		count = 0;
count             349 drivers/media/pci/ttpci/av7110_av.c static int get_video_format(struct av7110 *av7110, u8 *buf, int count)
count             361 drivers/media/pci/ttpci/av7110_av.c 	for (i = 7; i < count - 10; i++) {
count             385 drivers/media/pci/ttpci/av7110_av.c 					 const u8 *buf, unsigned long count)
count             387 drivers/media/pci/ttpci/av7110_av.c 	unsigned long todo = count;
count             394 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             404 drivers/media/pci/ttpci/av7110_av.c 	return count - todo;
count             407 drivers/media/pci/ttpci/av7110_av.c static void play_video_cb(u8 *buf, int count, void *priv)
count             413 drivers/media/pci/ttpci/av7110_av.c 		get_video_format(av7110, buf, count);
count             414 drivers/media/pci/ttpci/av7110_av.c 		aux_ring_buffer_write(&av7110->avout, buf, count);
count             416 drivers/media/pci/ttpci/av7110_av.c 		aux_ring_buffer_write(&av7110->aout, buf, count);
count             419 drivers/media/pci/ttpci/av7110_av.c static void play_audio_cb(u8 *buf, int count, void *priv)
count             424 drivers/media/pci/ttpci/av7110_av.c 	aux_ring_buffer_write(&av7110->aout, buf, count);
count             431 drivers/media/pci/ttpci/av7110_av.c 		       unsigned long count, int nonblock, int type)
count             435 drivers/media/pci/ttpci/av7110_av.c 	unsigned long todo = count;
count             437 drivers/media/pci/ttpci/av7110_av.c 	dprintk(2, "%s: type %d cnt %lu\n", __func__, type, count);
count             451 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             453 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             462 drivers/media/pci/ttpci/av7110_av.c 	return count - todo;
count             470 drivers/media/pci/ttpci/av7110_av.c 			unsigned long count, int nonblock, int type)
count             472 drivers/media/pci/ttpci/av7110_av.c 	unsigned long todo = count, n;
count             484 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             487 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             499 drivers/media/pci/ttpci/av7110_av.c 	return count - todo;
count             503 drivers/media/pci/ttpci/av7110_av.c 			unsigned long count, int nonblock, int type)
count             505 drivers/media/pci/ttpci/av7110_av.c 	unsigned long todo = count, n;
count             517 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             520 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             529 drivers/media/pci/ttpci/av7110_av.c 	return count - todo;
count             533 drivers/media/pci/ttpci/av7110_av.c 			 unsigned long count, int nonblock, int type)
count             535 drivers/media/pci/ttpci/av7110_av.c 	unsigned long todo = count, n;
count             546 drivers/media/pci/ttpci/av7110_av.c 				return count - todo;
count             549 drivers/media/pci/ttpci/av7110_av.c 				return count-todo;
count             561 drivers/media/pci/ttpci/av7110_av.c 	return count - todo;
count             955 drivers/media/pci/ttpci/av7110_av.c 			       size_t count, loff_t *ppos)
count             971 drivers/media/pci/ttpci/av7110_av.c 	if (c == 0x47 && count % TS_SIZE == 0)
count             972 drivers/media/pci/ttpci/av7110_av.c 		return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1);
count             974 drivers/media/pci/ttpci/av7110_av.c 		return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1);
count             997 drivers/media/pci/ttpci/av7110_av.c 			       size_t count, loff_t *ppos)
count            1012 drivers/media/pci/ttpci/av7110_av.c 	if (c == 0x47 && count % TS_SIZE == 0)
count            1013 drivers/media/pci/ttpci/av7110_av.c 		return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0);
count            1015 drivers/media/pci/ttpci/av7110_av.c 		return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0);
count             134 drivers/media/pci/ttpci/av7110_ca.c 			   const char __user *buf, size_t count, loff_t *ppos)
count             145 drivers/media/pci/ttpci/av7110_ca.c 	if (count > 2048)
count             149 drivers/media/pci/ttpci/av7110_ca.c 	if (copy_from_user(page, buf, count))
count             153 drivers/media/pci/ttpci/av7110_ca.c 	if (count + 2 > free) {
count             159 drivers/media/pci/ttpci/av7110_ca.c 					     (dvb_ringbuffer_free(cibuf) >= count + 2)))
count             163 drivers/media/pci/ttpci/av7110_ca.c 	DVB_RINGBUFFER_WRITE_BYTE(cibuf, count >> 8);
count             164 drivers/media/pci/ttpci/av7110_ca.c 	DVB_RINGBUFFER_WRITE_BYTE(cibuf, count & 0xff);
count             166 drivers/media/pci/ttpci/av7110_ca.c 	res = dvb_ringbuffer_write(cibuf, page, count);
count             173 drivers/media/pci/ttpci/av7110_ca.c 			  char __user *buf, size_t count, loff_t *ppos)
count             179 drivers/media/pci/ttpci/av7110_ca.c 	if (!cibuf->data || !count)
count             191 drivers/media/pci/ttpci/av7110_ca.c 	if (avail < len + 2 || count < len)
count             322 drivers/media/pci/ttpci/av7110_ca.c 			    size_t count, loff_t *ppos)
count             328 drivers/media/pci/ttpci/av7110_ca.c 	return ci_ll_write(&av7110->ci_wbuffer, file, buf, count, ppos);
count             332 drivers/media/pci/ttpci/av7110_ca.c 			   size_t count, loff_t *ppos)
count             338 drivers/media/pci/ttpci/av7110_ca.c 	return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos);
count              44 drivers/media/pci/ttpci/av7110_hw.c 		     int addr, u32 val, unsigned int count)
count              48 drivers/media/pci/ttpci/av7110_hw.c 	if (count > 32764) {
count              49 drivers/media/pci/ttpci/av7110_hw.c 		printk("%s: invalid count %d\n", __func__, count);
count              57 drivers/media/pci/ttpci/av7110_hw.c 	if (count <= 4)		/* immediate transfer */
count              61 drivers/media/pci/ttpci/av7110_hw.c 	saa7146_write(dev, DEBI_COMMAND, (count << 17) | (addr & 0xffff));
count              66 drivers/media/pci/ttpci/av7110_hw.c u32 av7110_debiread(struct av7110 *av7110, u32 config, int addr, unsigned int count)
count              71 drivers/media/pci/ttpci/av7110_hw.c 	if (count > 32764) {
count              72 drivers/media/pci/ttpci/av7110_hw.c 		printk("%s: invalid count %d\n", __func__, count);
count              80 drivers/media/pci/ttpci/av7110_hw.c 	saa7146_write(dev, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff));
count              84 drivers/media/pci/ttpci/av7110_hw.c 	if (count > 4)
count              85 drivers/media/pci/ttpci/av7110_hw.c 		return count;
count              92 drivers/media/pci/ttpci/av7110_hw.c 	result &= (0xffffffffUL >> ((4 - count) * 8));
count             381 drivers/media/pci/ttpci/av7110_hw.h 			    int addr, u32 val, unsigned int count);
count             383 drivers/media/pci/ttpci/av7110_hw.h 			   int addr, unsigned int count);
count             388 drivers/media/pci/ttpci/av7110_hw.h static inline void iwdebi(struct av7110 *av7110, u32 config, int addr, u32 val, unsigned int count)
count             390 drivers/media/pci/ttpci/av7110_hw.h 	av7110_debiwrite(av7110, config, addr, val, count);
count             395 drivers/media/pci/ttpci/av7110_hw.h 			  const u8 *val, int count)
count             397 drivers/media/pci/ttpci/av7110_hw.h 	memcpy(av7110->debi_virt, val, count);
count             398 drivers/media/pci/ttpci/av7110_hw.h 	av7110_debiwrite(av7110, config, addr, 0, count);
count             401 drivers/media/pci/ttpci/av7110_hw.h static inline u32 irdebi(struct av7110 *av7110, u32 config, int addr, u32 val, unsigned int count)
count             405 drivers/media/pci/ttpci/av7110_hw.h 	res=av7110_debiread(av7110, config, addr, count);
count             406 drivers/media/pci/ttpci/av7110_hw.h 	if (count<=4)
count             407 drivers/media/pci/ttpci/av7110_hw.h 		memcpy(av7110->debi_virt, (char *) &res, count);
count             412 drivers/media/pci/ttpci/av7110_hw.h static inline void wdebi(struct av7110 *av7110, u32 config, int addr, u32 val, unsigned int count)
count             417 drivers/media/pci/ttpci/av7110_hw.h 	av7110_debiwrite(av7110, config, addr, val, count);
count             421 drivers/media/pci/ttpci/av7110_hw.h static inline u32 rdebi(struct av7110 *av7110, u32 config, int addr, u32 val, unsigned int count)
count             427 drivers/media/pci/ttpci/av7110_hw.h 	res=av7110_debiread(av7110, config, addr, count);
count              20 drivers/media/pci/ttpci/av7110_ipack.c 	p->count = 0;
count              56 drivers/media/pci/ttpci/av7110_ipack.c 		if (p->count < 10)
count              59 drivers/media/pci/ttpci/av7110_ipack.c 		p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8);
count              60 drivers/media/pci/ttpci/av7110_ipack.c 		p->buf[5] = (u8)((p->count - 6) & 0x00ff);
count              68 drivers/media/pci/ttpci/av7110_ipack.c 				if (ac3_off < p->count)
count              70 drivers/media/pci/ttpci/av7110_ipack.c 								   p->count - ac3_off, &ai, 0);
count              72 drivers/media/pci/ttpci/av7110_ipack.c 					nframes = (p->count - off - 3 - ac3_off) /
count              77 drivers/media/pci/ttpci/av7110_ipack.c 					ac3_off +=  nframes * ai.framesize - p->count;
count              81 drivers/media/pci/ttpci/av7110_ipack.c 		p->func(p->buf, p->count, p->data);
count              86 drivers/media/pci/ttpci/av7110_ipack.c 		p->count = 9;
count              89 drivers/media/pci/ttpci/av7110_ipack.c 			p->count += 4;
count              98 drivers/media/pci/ttpci/av7110_ipack.c 		if (p->count < 8)
count             101 drivers/media/pci/ttpci/av7110_ipack.c 		p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8);
count             102 drivers/media/pci/ttpci/av7110_ipack.c 		p->buf[5] = (u8)((p->count - 6) & 0x00ff);
count             103 drivers/media/pci/ttpci/av7110_ipack.c 		p->func(p->buf, p->count, p->data);
count             106 drivers/media/pci/ttpci/av7110_ipack.c 		p->count = 7;
count             123 drivers/media/pci/ttpci/av7110_ipack.c static void write_ipack(struct ipack *p, const u8 *data, int count)
count             127 drivers/media/pci/ttpci/av7110_ipack.c 	if (p->count < 6) {
count             129 drivers/media/pci/ttpci/av7110_ipack.c 		p->count = 6;
count             132 drivers/media/pci/ttpci/av7110_ipack.c 	if (p->count + count < p->size){
count             133 drivers/media/pci/ttpci/av7110_ipack.c 		memcpy(p->buf+p->count, data, count);
count             134 drivers/media/pci/ttpci/av7110_ipack.c 		p->count += count;
count             136 drivers/media/pci/ttpci/av7110_ipack.c 		int rest = p->size - p->count;
count             137 drivers/media/pci/ttpci/av7110_ipack.c 		memcpy(p->buf+p->count, data, rest);
count             138 drivers/media/pci/ttpci/av7110_ipack.c 		p->count += rest;
count             140 drivers/media/pci/ttpci/av7110_ipack.c 		if (count - rest > 0)
count             141 drivers/media/pci/ttpci/av7110_ipack.c 			write_ipack(p, data + rest, count - rest);
count             146 drivers/media/pci/ttpci/av7110_ipack.c int av7110_ipack_instant_repack (const u8 *buf, int count, struct ipack *p)
count             151 drivers/media/pci/ttpci/av7110_ipack.c 	while (c < count && (p->mpeg == 0 ||
count             200 drivers/media/pci/ttpci/av7110_ipack.c 			if (count-c > 1) {
count             210 drivers/media/pci/ttpci/av7110_ipack.c 				return count;
count             253 drivers/media/pci/ttpci/av7110_ipack.c 	if (c == count)
count             254 drivers/media/pci/ttpci/av7110_ipack.c 		return count;
count             276 drivers/media/pci/ttpci/av7110_ipack.c 				while (c < count && p->found < 14) {
count             282 drivers/media/pci/ttpci/av7110_ipack.c 				if (c == count)
count             283 drivers/media/pci/ttpci/av7110_ipack.c 					return count;
count             293 drivers/media/pci/ttpci/av7110_ipack.c 				while (!p->which && c < count &&
count             302 drivers/media/pci/ttpci/av7110_ipack.c 				if (c == count)
count             303 drivers/media/pci/ttpci/av7110_ipack.c 					return count;
count             313 drivers/media/pci/ttpci/av7110_ipack.c 					if (c == count)
count             314 drivers/media/pci/ttpci/av7110_ipack.c 						return count;
count             321 drivers/media/pci/ttpci/av7110_ipack.c 					if (c == count)
count             322 drivers/media/pci/ttpci/av7110_ipack.c 						return count;
count             332 drivers/media/pci/ttpci/av7110_ipack.c 					if (c == count)
count             333 drivers/media/pci/ttpci/av7110_ipack.c 						return count;
count             342 drivers/media/pci/ttpci/av7110_ipack.c 				if (c == count)
count             343 drivers/media/pci/ttpci/av7110_ipack.c 					return count;
count             346 drivers/media/pci/ttpci/av7110_ipack.c 						while (c < count && p->which < 7) {
count             354 drivers/media/pci/ttpci/av7110_ipack.c 						if (c == count)
count             355 drivers/media/pci/ttpci/av7110_ipack.c 							return count;
count             357 drivers/media/pci/ttpci/av7110_ipack.c 						while (c < count && p->which < 12) {
count             366 drivers/media/pci/ttpci/av7110_ipack.c 						if (c == count)
count             367 drivers/media/pci/ttpci/av7110_ipack.c 							return count;
count             374 drivers/media/pci/ttpci/av7110_ipack.c 			while (c < count && p->found < p->plength + 6) {
count             375 drivers/media/pci/ttpci/av7110_ipack.c 				l = count - c;
count             387 drivers/media/pci/ttpci/av7110_ipack.c 			if (p->found + count - c < p->plength + 6) {
count             388 drivers/media/pci/ttpci/av7110_ipack.c 				p->found += count - c;
count             389 drivers/media/pci/ttpci/av7110_ipack.c 				c = count;
count             399 drivers/media/pci/ttpci/av7110_ipack.c 			if (c < count)
count             400 drivers/media/pci/ttpci/av7110_ipack.c 				av7110_ipack_instant_repack(buf + c, count - c, p);
count             403 drivers/media/pci/ttpci/av7110_ipack.c 	return count;
count               9 drivers/media/pci/ttpci/av7110_ipack.h extern int  av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p);
count             604 drivers/media/pci/ttpci/av7110_v4l.c static ssize_t av7110_vbi_write(struct file *file, const char __user *data, size_t count, loff_t *ppos)
count             613 drivers/media/pci/ttpci/av7110_v4l.c 	if (FW_VERSION(av7110->arm_app) < 0x2623 || !av7110->wssMode || count != sizeof d)
count             615 drivers/media/pci/ttpci/av7110_v4l.c 	if (copy_from_user(&d, data, count))
count             624 drivers/media/pci/ttpci/av7110_v4l.c 	return (rc < 0) ? rc : count;
count             180 drivers/media/pci/ttpci/budget-core.c 	u32 count;
count             197 drivers/media/pci/ttpci/budget-core.c 		count = newdma - olddma;
count             198 drivers/media/pci/ttpci/budget-core.c 		dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188);
count             200 drivers/media/pci/ttpci/budget-core.c 		count = budget->buffer_size - olddma;
count             201 drivers/media/pci/ttpci/budget-core.c 		dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188);
count             202 drivers/media/pci/ttpci/budget-core.c 		count += newdma;
count             206 drivers/media/pci/ttpci/budget-core.c 	if (count > budget->buffer_warning_threshold)
count             211 drivers/media/pci/ttpci/budget-core.c 			budget->dev->name, __func__, budget->buffer_warnings, count);
count             219 drivers/media/pci/ttpci/budget-core.c 		int addr, int count, int nobusyloop)
count             228 drivers/media/pci/ttpci/budget-core.c 	saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff));
count             238 drivers/media/pci/ttpci/budget-core.c 	result &= (0xffffffffUL >> ((4 - count) * 8));
count             242 drivers/media/pci/ttpci/budget-core.c int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
count             245 drivers/media/pci/ttpci/budget-core.c 	if (count > 4 || count <= 0)
count             254 drivers/media/pci/ttpci/budget-core.c 						      count, nobusyloop);
count             259 drivers/media/pci/ttpci/budget-core.c 					    count, nobusyloop);
count             263 drivers/media/pci/ttpci/budget-core.c 		int addr, int count, u32 value, int nobusyloop)
count             272 drivers/media/pci/ttpci/budget-core.c 	saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x00000 | (addr & 0xffff));
count             283 drivers/media/pci/ttpci/budget-core.c 			   int count, u32 value, int uselocks, int nobusyloop)
count             285 drivers/media/pci/ttpci/budget-core.c 	if (count > 4 || count <= 0)
count             294 drivers/media/pci/ttpci/budget-core.c 						count, value, nobusyloop);
count             299 drivers/media/pci/ttpci/budget-core.c 					     count, value, nobusyloop);
count             377 drivers/media/pci/ttpci/budget-patch.c 	int count = 0;
count             428 drivers/media/pci/ttpci/budget-patch.c 	count = 0;
count             553 drivers/media/pci/ttpci/budget-patch.c 	count = 0;
count             124 drivers/media/pci/ttpci/budget.h extern int ttpci_budget_debiread(struct budget *budget, u32 config, int addr, int count,
count             126 drivers/media/pci/ttpci/budget.h extern int ttpci_budget_debiwrite(struct budget *budget, u32 config, int addr, int count, u32 value,
count              21 drivers/media/pci/ttpci/dvb_filter.c int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr)
count              29 drivers/media/pci/ttpci/dvb_filter.c 	while ( !found  && c < count){
count              44 drivers/media/pci/ttpci/dvb_filter.c 	if (c+5 >= count) return -1;
count             148 drivers/media/pci/ttpci/dvb_filter.h 	int count;
count             239 drivers/media/pci/ttpci/dvb_filter.h int dvb_filter_get_ac3info(u8 *mbuf, int count, struct dvb_audio_info *ai, int pr);
count              44 drivers/media/pci/tw5864/tw5864-h264.c static void bs_write(struct bs *s, int count, u32 bits)
count              48 drivers/media/pci/tw5864/tw5864-h264.c 	while (count > 0) {
count              49 drivers/media/pci/tw5864/tw5864-h264.c 		if (count < 32)
count              50 drivers/media/pci/tw5864/tw5864-h264.c 			bits &= (1 << count) - 1;
count              51 drivers/media/pci/tw5864/tw5864-h264.c 		if (count < s->bits_left) {
count              52 drivers/media/pci/tw5864/tw5864-h264.c 			*s->ptr = (*s->ptr << count) | bits;
count              53 drivers/media/pci/tw5864/tw5864-h264.c 			s->bits_left -= count;
count              57 drivers/media/pci/tw5864/tw5864-h264.c 			(bits >> (count - s->bits_left));
count              58 drivers/media/pci/tw5864/tw5864-h264.c 		count -= s->bits_left;
count             427 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_start_streaming(struct vb2_queue *q, unsigned int count)
count             345 drivers/media/pci/tw68/tw68-video.c static int tw68_buffer_count(unsigned int size, unsigned int count)
count             350 drivers/media/pci/tw68/tw68-video.c 	if (count > maxcount)
count             351 drivers/media/pci/tw68/tw68-video.c 		count = maxcount;
count             352 drivers/media/pci/tw68/tw68-video.c 	return count;
count             491 drivers/media/pci/tw68/tw68-video.c static int tw68_start_streaming(struct vb2_queue *q, unsigned int count)
count             191 drivers/media/pci/tw686x/tw686x-video.c 	int i, count;
count             196 drivers/media/pci/tw686x/tw686x-video.c 	count = 0;
count             203 drivers/media/pci/tw686x/tw686x-video.c 			if (count == TW686X_MAX_SG_DESC_COUNT)
count             209 drivers/media/pci/tw686x/tw686x-video.c 			descs[count].phys = cpu_to_le32(phys);
count             210 drivers/media/pci/tw686x/tw686x-video.c 			descs[count++].flags_length =
count             493 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1969 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1429 drivers/media/platform/aspeed-video.c 					unsigned int count)
count             768 drivers/media/platform/atmel/atmel-isc-base.c static int isc_start_streaming(struct vb2_queue *vq, unsigned int count)
count             419 drivers/media/platform/atmel/atmel-isi.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count              59 drivers/media/platform/cadence/cdns-csi2rx.c 	unsigned int			count;
count             218 drivers/media/platform/cadence/cdns-csi2rx.c 		if (!csi2rx->count) {
count             224 drivers/media/platform/cadence/cdns-csi2rx.c 		csi2rx->count++;
count             226 drivers/media/platform/cadence/cdns-csi2rx.c 		csi2rx->count--;
count             231 drivers/media/platform/cadence/cdns-csi2rx.c 		if (!csi2rx->count)
count              93 drivers/media/platform/cadence/cdns-csi2tx.c 	unsigned int			count;
count             402 drivers/media/platform/cadence/cdns-csi2tx.c 		if (!csi2tx->count) {
count             408 drivers/media/platform/cadence/cdns-csi2tx.c 		csi2tx->count++;
count             410 drivers/media/platform/cadence/cdns-csi2tx.c 		csi2tx->count--;
count             415 drivers/media/platform/cadence/cdns-csi2tx.c 		if (!csi2tx->count)
count            1047 drivers/media/platform/coda/coda-bit.c 	if (rb->count) {
count            1789 drivers/media/platform/coda/coda-bit.c 	if (rb->count) {
count            1461 drivers/media/platform/coda/coda-common.c 		unsigned int count;
count            1463 drivers/media/platform/coda/coda-common.c 		count = hweight32(ctx->frm_dis_flg);
count            1464 drivers/media/platform/coda/coda-common.c 		if (ctx->use_vdoa && count >= (ctx->num_internal_frames - 1)) {
count            1467 drivers/media/platform/coda/coda-common.c 				 count, ctx->num_internal_frames,
count            1834 drivers/media/platform/coda/coda-common.c static int coda_start_streaming(struct vb2_queue *q, unsigned int count)
count            1844 drivers/media/platform/coda/coda-common.c 	if (count < 1)
count             365 drivers/media/platform/davinci/dm355_ccdc.c 	u32 val, count = DFC_WRITE_WAIT_COUNT;
count             381 drivers/media/platform/davinci/dm355_ccdc.c 		count--;
count             387 drivers/media/platform/davinci/dm355_ccdc.c 	if (count) {
count             401 drivers/media/platform/davinci/isif.c 	u32 val, count, retries = loops_per_jiffy / (4000/HZ);
count             435 drivers/media/platform/davinci/isif.c 	count = retries;
count             436 drivers/media/platform/davinci/isif.c 	while (count && (regr(DFCMEMCTL) & 0x1))
count             437 drivers/media/platform/davinci/isif.c 		count--;
count             439 drivers/media/platform/davinci/isif.c 	if (!count) {
count             459 drivers/media/platform/davinci/isif.c 		count = retries;
count             460 drivers/media/platform/davinci/isif.c 		while (count && (regr(DFCMEMCTL) & 0x1))
count             461 drivers/media/platform/davinci/isif.c 			count--;
count             463 drivers/media/platform/davinci/isif.c 		if (!count) {
count             270 drivers/media/platform/davinci/vpbe_display.c static int vpbe_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1156 drivers/media/platform/davinci/vpfe_capture.c 				unsigned int *count,
count            1168 drivers/media/platform/davinci/vpfe_capture.c 	if (*count < config_params.min_numbuffers)
count            1169 drivers/media/platform/davinci/vpfe_capture.c 		*count = config_params.min_numbuffers;
count            1171 drivers/media/platform/davinci/vpfe_capture.c 		"count=%d, size=%d\n", *count, *size);
count             164 drivers/media/platform/davinci/vpif_capture.c static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count)
count             164 drivers/media/platform/davinci/vpif_display.c static int vpif_start_streaming(struct vb2_queue *vq, unsigned int count)
count              56 drivers/media/platform/exynos-gsc/gsc-m2m.c static int gsc_m2m_start_streaming(struct vb2_queue *q, unsigned int count)
count             377 drivers/media/platform/exynos-gsc/gsc-m2m.c 	if (reqbufs->count > max_cnt)
count             258 drivers/media/platform/exynos4-is/fimc-capture.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count            1260 drivers/media/platform/exynos4-is/fimc-capture.c 		fimc->vid_cap.reqbufs_count = reqbufs->count;
count             165 drivers/media/platform/exynos4-is/fimc-is-param.c 	unsigned int count;
count             168 drivers/media/platform/exynos4-is/fimc-is-param.c 	count = hweight32(config->p_region_index[0]);
count             169 drivers/media/platform/exynos4-is/fimc-is-param.c 	count += hweight32(config->p_region_index[1]);
count             172 drivers/media/platform/exynos4-is/fimc-is-param.c 	return count;
count             486 drivers/media/platform/exynos4-is/fimc-is.c 		is->fd_header.count = is->i2h_cmd.args[0];
count             154 drivers/media/platform/exynos4-is/fimc-is.h 	u32 count;
count              77 drivers/media/platform/exynos4-is/fimc-isp-video.c 						unsigned int count)
count             538 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (rb->count && rb->count < FIMC_ISP_REQ_BUFS_MIN) {
count             539 drivers/media/platform/exynos4-is/fimc-isp-video.c 		rb->count = 0;
count             544 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.reqbufs_count = rb->count;
count             304 drivers/media/platform/exynos4-is/fimc-lite.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count             863 drivers/media/platform/exynos4-is/fimc-lite.c 	reqbufs->count = max_t(u32, FLITE_REQ_BUFS_MIN, reqbufs->count);
count             866 drivers/media/platform/exynos4-is/fimc-lite.c 		fimc->reqbufs_count = reqbufs->count;
count              73 drivers/media/platform/exynos4-is/fimc-m2m.c static int start_streaming(struct vb2_queue *q, unsigned int count)
count            1227 drivers/media/platform/exynos4-is/media-dev.c 				   const char *buf, size_t count)
count            1238 drivers/media/platform/exynos4-is/media-dev.c 		return count;
count            1244 drivers/media/platform/exynos4-is/media-dev.c 	return count;
count             363 drivers/media/platform/fsl-viu.c static int buffer_setup(struct videobuf_queue *vq, unsigned int *count,
count             369 drivers/media/platform/fsl-viu.c 	if (*count == 0)
count             370 drivers/media/platform/fsl-viu.c 		*count = 32;
count             372 drivers/media/platform/fsl-viu.c 	while (*size * *count > VIU_VID_MEM_LIMIT * 1024 * 1024)
count             373 drivers/media/platform/fsl-viu.c 		(*count)--;
count             375 drivers/media/platform/fsl-viu.c 	dprintk(1, "%s, count=%d, size=%d\n", __func__, *count, *size);
count            1230 drivers/media/platform/fsl-viu.c static ssize_t viu_read(struct file *file, char __user *data, size_t count,
count            1245 drivers/media/platform/fsl-viu.c 		ret = videobuf_read_stream(&fh->vb_vidq, data, count,
count            1373 drivers/media/platform/imx-pxp.c 	unsigned int size, count = *nbuffers;
count            1379 drivers/media/platform/imx-pxp.c 	*nbuffers = count;
count            1387 drivers/media/platform/imx-pxp.c 	dprintk(ctx->dev, "get %d buffer(s) of size %d each.\n", count, size);
count            1431 drivers/media/platform/imx-pxp.c static int pxp_start_streaming(struct vb2_queue *q, unsigned int count)
count             737 drivers/media/platform/m2m-deinterlace.c 	unsigned int size, count = *nbuffers;
count             751 drivers/media/platform/m2m-deinterlace.c 	*nbuffers = count;
count             754 drivers/media/platform/m2m-deinterlace.c 	dprintk(ctx->dev, "get %d buffer(s) of size %d each.\n", count, size);
count            1157 drivers/media/platform/marvell-ccic/mcam-core.c static int mcam_vb_start_streaming(struct vb2_queue *vq, unsigned int count)
count             706 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c static int mtk_jpeg_start_streaming(struct vb2_queue *q, unsigned int count)
count             400 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static int mtk_mdp_m2m_start_streaming(struct vb2_queue *q, unsigned int count)
count             745 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	if (reqbufs->count == 0) {
count            1281 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c static int vb2ops_vdec_start_streaming(struct vb2_queue *q, unsigned int count)
count             817 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c static int vb2ops_venc_start_streaming(struct vb2_queue *q, unsigned int count)
count              63 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 	unsigned int count;
count             209 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 	if (list->count > H264_MAX_FB_NUM ||
count             213 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 			       disp_list ? "disp" : "free", list->count,
count             230 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 		if (list->count == H264_MAX_FB_NUM) {
count             241 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 		list->count++;
count             444 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 	if (list->count == 0) {
count             463 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c 	list->count--;
count             617 drivers/media/platform/mtk-vpu/mtk_vpu.c 			      size_t count, loff_t *ppos)
count             653 drivers/media/platform/mtk-vpu/mtk_vpu.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             626 drivers/media/platform/mx2_emmaprp.c 	unsigned int size, count = *nbuffers;
count             635 drivers/media/platform/mx2_emmaprp.c 	while (size * count > MEM2MEM_VID_MEM_LIMIT)
count             636 drivers/media/platform/mx2_emmaprp.c 		(count)--;
count             639 drivers/media/platform/mx2_emmaprp.c 	*nbuffers = count;
count             642 drivers/media/platform/mx2_emmaprp.c 	dprintk(ctx->dev, "get %d buffer(s) of size %d each.\n", count, size);
count             993 drivers/media/platform/omap/omap_vout.c static int omap_vout_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1016 drivers/media/platform/omap/omap_vout.c 		if (omap_vout_vrfb_buffer_setup(vout, &count, 0)) {
count              31 drivers/media/platform/omap/omap_vout_vrfb.c 		unsigned int *count, int startindex)
count              35 drivers/media/platform/omap/omap_vout_vrfb.c 	for (i = 0; i < *count; i++) {
count              53 drivers/media/platform/omap/omap_vout_vrfb.c 			*count = 0;
count             198 drivers/media/platform/omap/omap_vout_vrfb.c 			  unsigned int *count, unsigned int startindex)
count             207 drivers/media/platform/omap/omap_vout_vrfb.c 	*count = *count > VRFB_NUM_BUFS ? VRFB_NUM_BUFS : *count;
count             213 drivers/media/platform/omap/omap_vout_vrfb.c 		if (omap_vout_allocate_vrfb_buffers(vout, count, startindex))
count             222 drivers/media/platform/omap/omap_vout_vrfb.c 	for (i = 0; i < *count; i++)
count              21 drivers/media/platform/omap/omap_vout_vrfb.h 			unsigned int *count, unsigned int startindex);
count              32 drivers/media/platform/omap/omap_vout_vrfb.h 			unsigned int *count, unsigned int startindex)
count             330 drivers/media/platform/omap3isp/ispvideo.c 				 unsigned int *count, unsigned int *num_planes,
count             342 drivers/media/platform/omap3isp/ispvideo.c 	*count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0]));
count             459 drivers/media/platform/omap3isp/ispvideo.c 				     unsigned int count)
count            1021 drivers/media/platform/omap3isp/ispvideo.c 	ctrls.count = 1;
count            1533 drivers/media/platform/pxa_camera.c static int pxac_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1538 drivers/media/platform/pxa_camera.c 		__func__, count, pcdev->active);
count             430 drivers/media/platform/qcom/camss/camss-video.c static int video_start_streaming(struct vb2_queue *q, unsigned int count)
count             132 drivers/media/platform/qcom/venus/helpers.c 	u32 count;
count             151 drivers/media/platform/qcom/venus/helpers.c 	count = HFI_BUFREQ_COUNT_MIN(&bufreq, ver);
count             153 drivers/media/platform/qcom/venus/helpers.c 	for (i = 0; i < count; i++) {
count             452 drivers/media/platform/qcom/venus/hfi_cmds.c 		struct hfi_buffer_count_actual *in = pdata, *count = prop_data;
count             454 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->count_actual = in->count_actual;
count             455 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->type = in->type;
count             456 drivers/media/platform/qcom/venus/hfi_cmds.c 		pkt->shdr.hdr.size += sizeof(u32) + sizeof(*count);
count             469 drivers/media/platform/qcom/venus/hfi_cmds.c 		struct hfi_buffer_display_hold_count_actual *count = prop_data;
count             471 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->hold_count = in->hold_count;
count             472 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->type = in->type;
count             473 drivers/media/platform/qcom/venus/hfi_cmds.c 		pkt->shdr.hdr.size += sizeof(u32) + sizeof(*count);
count             534 drivers/media/platform/qcom/venus/hfi_cmds.c 		struct hfi_display_picture_buffer_count *count = prop_data;
count             536 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->count = in->count;
count             537 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->enable = in->enable;
count             538 drivers/media/platform/qcom/venus/hfi_cmds.c 		pkt->shdr.hdr.size += sizeof(u32) + sizeof(*count);
count            1185 drivers/media/platform/qcom/venus/hfi_cmds.c 		struct hfi_buffer_count_actual_4xx *count = prop_data;
count            1187 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->count_actual = in->count_actual;
count            1188 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->type = in->type;
count            1189 drivers/media/platform/qcom/venus/hfi_cmds.c 		count->count_min_host = in->count_actual;
count            1190 drivers/media/platform/qcom/venus/hfi_cmds.c 		pkt->shdr.hdr.size += sizeof(u32) + sizeof(*count);
count            1057 drivers/media/platform/qcom/venus/hfi_helper.h 	u32 count;
count             362 drivers/media/platform/qcom/venus/hfi_venus.c 	unsigned int count = res->reg_tbl_size;
count             365 drivers/media/platform/qcom/venus/hfi_venus.c 	for (i = 0; i < count; i++)
count             443 drivers/media/platform/qcom/venus/hfi_venus.c 	unsigned int count = 0;
count             450 drivers/media/platform/qcom/venus/hfi_venus.c 	while (!ctrl_status && count < max_tries) {
count             459 drivers/media/platform/qcom/venus/hfi_venus.c 		count++;
count             462 drivers/media/platform/qcom/venus/hfi_venus.c 	if (count >= max_tries)
count             942 drivers/media/platform/qcom/venus/vdec.c static int vdec_start_streaming(struct vb2_queue *q, unsigned int count)
count             964 drivers/media/platform/qcom/venus/venc.c static int venc_start_streaming(struct vb2_queue *q, unsigned int count)
count             261 drivers/media/platform/rcar-vin/rcar-core.c 	group->count = 0;
count             264 drivers/media/platform/rcar-vin/rcar-core.c 			group->count++;
count             266 drivers/media/platform/rcar-vin/rcar-core.c 	vin_dbg(vin, "found %u enabled VIN's in DT", group->count);
count             832 drivers/media/platform/rcar-vin/rcar-core.c 	unsigned int count = 0, vin_mask = 0;
count             841 drivers/media/platform/rcar-vin/rcar-core.c 			count++;
count             846 drivers/media/platform/rcar-vin/rcar-core.c 	if (vin->group->count != count) {
count            1157 drivers/media/platform/rcar-vin/rcar-dma.c static int rvin_start_streaming(struct vb2_queue *vq, unsigned int count)
count             251 drivers/media/platform/rcar-vin/rcar-vin.h 	unsigned int count;
count             769 drivers/media/platform/rcar_drif.c static int rcar_drif_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1926 drivers/media/platform/rcar_fdp1.c static int fdp1_start_streaming(struct vb2_queue *q, unsigned int count)
count            1151 drivers/media/platform/rcar_jpu.c static int jpu_start_streaming(struct vb2_queue *vq, unsigned count)
count             621 drivers/media/platform/renesas-ceu.c static int ceu_vb2_setup(struct vb2_queue *vq, unsigned int *count,
count             679 drivers/media/platform/renesas-ceu.c static int ceu_start_streaming(struct vb2_queue *vq, unsigned int count)
count              76 drivers/media/platform/rockchip/rga/rga-buf.c static int rga_buf_start_streaming(struct vb2_queue *q, unsigned int count)
count             374 drivers/media/platform/s3c-camif/camif-capture.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count             892 drivers/media/platform/s3c-camif/camif-capture.c 		 vp->id, rb->count, vp->owner, priv);
count             897 drivers/media/platform/s3c-camif/camif-capture.c 	if (rb->count)
count             898 drivers/media/platform/s3c-camif/camif-capture.c 		rb->count = max_t(u32, CAMIF_REQ_BUFS_MIN, rb->count);
count             906 drivers/media/platform/s3c-camif/camif-capture.c 	if (rb->count && rb->count < CAMIF_REQ_BUFS_MIN) {
count             907 drivers/media/platform/s3c-camif/camif-capture.c 		rb->count = 0;
count             912 drivers/media/platform/s3c-camif/camif-capture.c 	vp->reqbufs_count = rb->count;
count             913 drivers/media/platform/s3c-camif/camif-capture.c 	if (vp->owner == NULL && rb->count > 0)
count             961 drivers/media/platform/s3c-camif/camif-capture.c 	create->count = max_t(u32, 1, create->count);
count              27 drivers/media/platform/s5p-cec/exynos_hdmi_cec.h 			 size_t count, u8 retries);
count             134 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c 			 size_t count, u8 retries)
count             139 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c 	while (i < count) {
count             144 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c 	writeb(count, cec->reg + S5P_CEC_TX_BYTES);
count             159 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c 	dev_dbg(cec->dev, "cec-tx: cec count (%zu): %*ph", count,
count             160 drivers/media/platform/s5p-cec/exynos_hdmi_cecctrl.c 		(int)count, data);
count            2468 drivers/media/platform/s5p-jpeg/jpeg-core.c 	unsigned int size, count = *nbuffers;
count            2480 drivers/media/platform/s5p-jpeg/jpeg-core.c 		count = 1;
count            2482 drivers/media/platform/s5p-jpeg/jpeg-core.c 	*nbuffers = count;
count            2579 drivers/media/platform/s5p-jpeg/jpeg-core.c static int s5p_jpeg_start_streaming(struct vb2_queue *q, unsigned int count)
count              21 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	int count = 1000;
count              25 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	while (reg != 0 && --count > 0) {
count              32 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	count = 1000;
count              34 drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c 	while (reg != 1 && --count > 0) {
count             451 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	if (reqbufs->count == 0) {
count             468 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 				reqbufs->count);
count             475 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 			reqbufs->count = 0;
count             499 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 	if (reqbufs->count == 0) {
count             509 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 				reqbufs->count);
count             515 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 		ctx->total_dpb_count = reqbufs->count;
count             520 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 			reqbufs->count = 0;
count             994 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count)
count            1485 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		if (reqbufs->count == 0) {
count            1509 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 			reqbufs->count = 0;
count            1514 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		if (reqbufs->count == 0) {
count            1531 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 				(reqbufs->count < ctx->pb_count)) {
count            1532 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 				reqbufs->count = ctx->pb_count;
count            1536 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 				ctx->pb_count = reqbufs->count;
count            2489 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c static int s5p_mfc_start_streaming(struct vb2_queue *q, unsigned int count)
count              41 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c 	unsigned int count = b->size >> PAGE_SHIFT;
count              48 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c 		start = bitmap_find_next_zero_area(dev->mem_bitmap, bits, 0, count, align);
count              52 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c 		bitmap_set(dev->mem_bitmap, start, count);
count             103 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c 		unsigned int count = b->size >> PAGE_SHIFT;
count             105 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c 		bitmap_clear(dev->mem_bitmap, start, count);
count              43 drivers/media/platform/seco-cec/seco-cec.c 	unsigned int count;
count              59 drivers/media/platform/seco-cec/seco-cec.c 	for (count = 0; count <= SMBTIMEOUT; ++count) {
count              65 drivers/media/platform/seco-cec/seco-cec.c 	if (count > SMBTIMEOUT)
count              81 drivers/media/platform/seco-cec/seco-cec.c 	for (count = 0; count <= SMBTIMEOUT; count++) {
count              87 drivers/media/platform/seco-cec/seco-cec.c 	if (count > SMBTIMEOUT) {
count             859 drivers/media/platform/sh_veu.c 	unsigned int count = *nbuffers;
count             863 drivers/media/platform/sh_veu.c 	if (count < 2)
count             864 drivers/media/platform/sh_veu.c 		*nbuffers = count = 2;
count             866 drivers/media/platform/sh_veu.c 	if (size * count > VIDEO_MEM_LIMIT) {
count             867 drivers/media/platform/sh_veu.c 		count = VIDEO_MEM_LIMIT / size;
count             868 drivers/media/platform/sh_veu.c 		*nbuffers = count;
count             877 drivers/media/platform/sh_veu.c 	dev_dbg(veu->dev, "get %d buffer(s) of size %d each.\n", count, size);
count             287 drivers/media/platform/sh_vou.c static int sh_vou_start_streaming(struct vb2_queue *vq, unsigned int count)
count             498 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static int bdisp_start_streaming(struct vb2_queue *q, unsigned int count)
count            1305 drivers/media/platform/sti/delta/delta-v4l2.c 					unsigned int count)
count             994 drivers/media/platform/sti/hva/hva-v4l2.c static int hva_start_streaming(struct vb2_queue *vq, unsigned int count)
count             725 drivers/media/platform/stm32/stm32-dcmi.c static int dcmi_start_streaming(struct vb2_queue *vq, unsigned int count)
count             226 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c static int sun4i_csi_start_streaming(struct vb2_queue *vq, unsigned int count)
count              49 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_reg.h #define CSI_CAP_CH0_CAP_MASK(count)		(((count) << 2) & CSI_CAP_CH0_CAP_MASK_MASK)
count             132 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int sun6i_video_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1271 drivers/media/platform/ti-vpe/cal.c static int cal_start_streaming(struct vb2_queue *vq, unsigned int count)
count            2149 drivers/media/platform/ti-vpe/vpe.c static int vpe_start_streaming(struct vb2_queue *q, unsigned int count)
count             621 drivers/media/platform/via-camera.c static int viacam_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count            1598 drivers/media/platform/vicodec/vicodec-core.c 				   unsigned int count)
count            2017 drivers/media/platform/vicodec/vicodec-core.c 	unsigned int count;
count            2035 drivers/media/platform/vicodec/vicodec-core.c 	count = vb2_request_buffer_cnt(req);
count            2036 drivers/media/platform/vicodec/vicodec-core.c 	if (!count) {
count            2040 drivers/media/platform/vicodec/vicodec-core.c 	} else if (count > 1) {
count             998 drivers/media/platform/vim2m.c 	unsigned int size, count = *nbuffers;
count            1006 drivers/media/platform/vim2m.c 	while (size * count > MEM2MEM_VID_MEM_LIMIT)
count            1007 drivers/media/platform/vim2m.c 		(count)--;
count            1008 drivers/media/platform/vim2m.c 	*nbuffers = count;
count            1017 drivers/media/platform/vim2m.c 		type_name(vq->type), count, size);
count            1068 drivers/media/platform/vim2m.c static int vim2m_start_streaming(struct vb2_queue *q, unsigned int count)
count             234 drivers/media/platform/vimc/vimc-capture.c static int vimc_cap_start_streaming(struct vb2_queue *vq, unsigned int count)
count              79 drivers/media/platform/vivid/vivid-osd.c 		vblank.count = 0;
count             258 drivers/media/platform/vivid/vivid-sdr-cap.c static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count)
count              76 drivers/media/platform/vivid/vivid-vbi-cap.c 	vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18;
count             185 drivers/media/platform/vivid/vivid-vbi-cap.c static int vbi_cap_start_streaming(struct vb2_queue *vq, unsigned count)
count             129 drivers/media/platform/vivid/vivid-vbi-gen.c 			linebuf += (line + data->field * vbi_fmt->count[0]) *
count              81 drivers/media/platform/vivid/vivid-vbi-out.c static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count)
count             152 drivers/media/platform/vivid/vivid-vbi-out.c 	vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18;
count             217 drivers/media/platform/vivid/vivid-vid-cap.c static int vid_cap_start_streaming(struct vb2_queue *vq, unsigned count)
count             156 drivers/media/platform/vivid/vivid-vid-out.c static int vid_out_start_streaming(struct vb2_queue *vq, unsigned count)
count             134 drivers/media/platform/vsp1/vsp1_histo.c static int histo_start_streaming(struct vb2_queue *vq, unsigned int count)
count             862 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_start_streaming(struct vb2_queue *vq, unsigned int count)
count             390 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_dma_start_streaming(struct vb2_queue *vq, unsigned int count)
count             326 drivers/media/radio/radio-cadet.c static ssize_t cadet_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
count             344 drivers/media/radio/radio-cadet.c 	while (i < count && dev->rdsin != dev->rdsout)
count            1094 drivers/media/radio/radio-si476x.c 				      size_t count, loff_t *ppos)
count            1120 drivers/media/radio/radio-si476x.c 			  min(fifo_len, count),
count            1193 drivers/media/radio/radio-si476x.c 					  size_t count, loff_t *ppos)
count            1209 drivers/media/radio/radio-si476x.c 	return simple_read_from_buffer(user_buf, count, ppos, &report,
count            1221 drivers/media/radio/radio-si476x.c 						  size_t count, loff_t *ppos)
count            1238 drivers/media/radio/radio-si476x.c 	return simple_read_from_buffer(user_buf, count, ppos, &report,
count            1250 drivers/media/radio/radio-si476x.c 					  size_t count, loff_t *ppos)
count            1266 drivers/media/radio/radio-si476x.c 	return simple_read_from_buffer(user_buf, count, ppos, &report,
count            1278 drivers/media/radio/radio-si476x.c 					  size_t count, loff_t *ppos)
count            1301 drivers/media/radio/radio-si476x.c 	return simple_read_from_buffer(user_buf, count, ppos, &report,
count            1313 drivers/media/radio/radio-si476x.c 						  size_t count, loff_t *ppos)
count            1336 drivers/media/radio/radio-si476x.c 	return simple_read_from_buffer(user_buf, count, ppos, &report,
count            1029 drivers/media/radio/radio-wl1273.c 				    size_t count, loff_t *ppos)
count            1039 drivers/media/radio/radio-wl1273.c 		return count;
count            1059 drivers/media/radio/radio-wl1273.c 	if (count > 255)
count            1062 drivers/media/radio/radio-wl1273.c 		val = count;
count            1175 drivers/media/radio/radio-wl1273.c 				   size_t count, loff_t *ppos)
count            1233 drivers/media/radio/radio-wl1273.c 	count /= RDS_BLOCK_SIZE;
count            1236 drivers/media/radio/radio-wl1273.c 	while (block_count < count) {
count             460 drivers/media/radio/si470x/radio-si470x-common.c 		size_t count, loff_t *ppos)
count             484 drivers/media/radio/si470x/radio-si470x-common.c 	count /= 3;
count             487 drivers/media/radio/si470x/radio-si470x-common.c 	while (block_count < count) {
count            1057 drivers/media/radio/wl128x/fmdrv_common.c 		u8 __user *buf, size_t count)
count            1075 drivers/media/radio/wl128x/fmdrv_common.c 	count /= FM_RDS_BLK_SIZE;
count            1079 drivers/media/radio/wl128x/fmdrv_common.c 	while (block_count < count) {
count              33 drivers/media/radio/wl128x/fmdrv_v4l2.c 					size_t count, loff_t *ppos)
count              65 drivers/media/radio/wl128x/fmdrv_v4l2.c 	ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count);
count              73 drivers/media/radio/wl128x/fmdrv_v4l2.c 		size_t count, loff_t *ppos)
count             596 drivers/media/rc/ati_remote.c 			int count = 1;
count             605 drivers/media/rc/ati_remote.c 				count = (scancode & 0x07) + 1;
count             609 drivers/media/rc/ati_remote.c 			while (count--) {
count              54 drivers/media/rc/gpio-ir-tx.c 		      unsigned int count)
count              77 drivers/media/rc/gpio-ir-tx.c 	for (i = 0; i < count; i++) {
count             114 drivers/media/rc/gpio-ir-tx.c 	return count;
count             336 drivers/media/rc/iguanair.c static int iguanair_tx(struct rc_dev *dev, unsigned *txbuf, unsigned count)
count             345 drivers/media/rc/iguanair.c 	for (i = size = 0; i < count; i++) {
count             373 drivers/media/rc/iguanair.c 	return rc ? rc : count;
count             777 drivers/media/rc/imon.c 				      const char *buf, size_t count)
count             791 drivers/media/rc/imon.c 	return count;
count             825 drivers/media/rc/imon.c 				const char *buf, size_t count)
count             862 drivers/media/rc/imon.c 	retval = count;
count             105 drivers/media/rc/ir-imon-decoder.c 		data->state, data->count, TO_US(ev.duration),
count             135 drivers/media/rc/ir-imon-decoder.c 				data->count = IMON_BITS;
count             139 drivers/media/rc/ir-imon-decoder.c 			if (IMON_CHKBITS & BIT(data->count))
count             150 drivers/media/rc/ir-imon-decoder.c 			if (IMON_CHKBITS & BIT(data->count)) {
count             155 drivers/media/rc/ir-imon-decoder.c 			if (!data->count--)
count             172 drivers/media/rc/ir-imon-decoder.c 		data->state, data->count, TO_US(ev.duration),
count              64 drivers/media/rc/ir-jvc-decoder.c 		data->count = 0;
count             102 drivers/media/rc/ir-jvc-decoder.c 		data->count++;
count             104 drivers/media/rc/ir-jvc-decoder.c 		if (data->count == JVC_NBITS)
count             143 drivers/media/rc/ir-jvc-decoder.c 		data->count = 0;
count             252 drivers/media/rc/ir-mce_kbd-decoder.c 		data->count = 0;
count             263 drivers/media/rc/ir-mce_kbd-decoder.c 		data->count++;
count             270 drivers/media/rc/ir-mce_kbd-decoder.c 		if (data->count != MCIR2_HEADER_NBITS) {
count             287 drivers/media/rc/ir-mce_kbd-decoder.c 		data->count = 0;
count             299 drivers/media/rc/ir-mce_kbd-decoder.c 		data->count++;
count             304 drivers/media/rc/ir-mce_kbd-decoder.c 		if (data->count == data->wanted_bits)
count              69 drivers/media/rc/ir-nec-decoder.c 		data->count = 0;
count             101 drivers/media/rc/ir-nec-decoder.c 		if (data->necx_repeat && data->count == NECX_REPEAT_BITS &&
count             107 drivers/media/rc/ir-nec-decoder.c 		} else if (data->count > NECX_REPEAT_BITS)
count             115 drivers/media/rc/ir-nec-decoder.c 		data->count++;
count             117 drivers/media/rc/ir-nec-decoder.c 		if (data->count == NEC_NBITS)
count             141 drivers/media/rc/ir-nec-decoder.c 		if (data->count == NEC_NBITS) {
count             166 drivers/media/rc/ir-nec-decoder.c 		data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
count              70 drivers/media/rc/ir-rc5-decoder.c 		data->count = 1;
count              86 drivers/media/rc/ir-rc5-decoder.c 		data->count++;
count              91 drivers/media/rc/ir-rc5-decoder.c 		if (data->count == CHECK_RC5X_NBITS)
count             112 drivers/media/rc/ir-rc5-decoder.c 		if (data->is_rc5x && data->count == RC5X_NBITS) {
count             127 drivers/media/rc/ir-rc5-decoder.c 		} else if (!data->is_rc5x && data->count == RC5_NBITS) {
count             141 drivers/media/rc/ir-rc5-decoder.c 		} else if (!data->is_rc5x && data->count == RC5_SZ_NBITS) {
count             167 drivers/media/rc/ir-rc5-decoder.c 		data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse));
count             116 drivers/media/rc/ir-rc6-decoder.c 		data->count = 0;
count             137 drivers/media/rc/ir-rc6-decoder.c 		data->count++;
count             142 drivers/media/rc/ir-rc6-decoder.c 		if (data->count == RC6_HEADER_NBITS)
count             166 drivers/media/rc/ir-rc6-decoder.c 		data->count = 0;
count             185 drivers/media/rc/ir-rc6-decoder.c 			if (data->count++ < CHAR_BIT * sizeof data->body) {
count             200 drivers/media/rc/ir-rc6-decoder.c 		if (data->count == data->wanted_bits)
count             222 drivers/media/rc/ir-rc6-decoder.c 			if (data->count > CHAR_BIT * sizeof data->body) {
count             224 drivers/media/rc/ir-rc6-decoder.c 					data->count);
count             229 drivers/media/rc/ir-rc6-decoder.c 			switch (data->count) {
count              31 drivers/media/rc/ir-rcmm-decoder.c 	switch (data->count) {
count              86 drivers/media/rc/ir-rcmm-decoder.c 		data->count = 0;
count             134 drivers/media/rc/ir-rcmm-decoder.c 		data->count += 2;
count             136 drivers/media/rc/ir-rcmm-decoder.c 		if (data->count < 32)
count             105 drivers/media/rc/ir-rx51.c 		      unsigned int count)
count             109 drivers/media/rc/ir-rx51.c 	if (count > WBUF_LEN)
count             112 drivers/media/rc/ir-rx51.c 	memcpy(ir_rx51->wbuf, buffer, count * sizeof(unsigned int));
count             118 drivers/media/rc/ir-rx51.c 	if (count < WBUF_LEN)
count             119 drivers/media/rc/ir-rx51.c 		ir_rx51->wbuf[count] = -1; /* Insert termination mark */
count             139 drivers/media/rc/ir-rx51.c 	return count;
count              71 drivers/media/rc/ir-sanyo-decoder.c 			data->count = 0;
count             103 drivers/media/rc/ir-sanyo-decoder.c 		if (!data->count && geq_margin(ev.duration, SANYO_REPEAT_SPACE, SANYO_UNIT / 2)) {
count             115 drivers/media/rc/ir-sanyo-decoder.c 		data->count++;
count             117 drivers/media/rc/ir-sanyo-decoder.c 		if (data->count == SANYO_NBITS)
count             161 drivers/media/rc/ir-sanyo-decoder.c 		data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
count              62 drivers/media/rc/ir-sharp-decoder.c 		data->count = 0;
count              90 drivers/media/rc/ir-sharp-decoder.c 		data->count++;
count              92 drivers/media/rc/ir-sharp-decoder.c 		if (data->count == SHARP_NBITS ||
count              93 drivers/media/rc/ir-sharp-decoder.c 		    data->count == SHARP_NBITS * 2)
count             108 drivers/media/rc/ir-sharp-decoder.c 		if (data->count == SHARP_NBITS) {
count             162 drivers/media/rc/ir-sharp-decoder.c 		data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
count              62 drivers/media/rc/ir-sony-decoder.c 		data->count = 0;
count              86 drivers/media/rc/ir-sony-decoder.c 		data->count++;
count             114 drivers/media/rc/ir-sony-decoder.c 		switch (data->count) {
count             144 drivers/media/rc/ir-sony-decoder.c 				data->count);
count             149 drivers/media/rc/ir-sony-decoder.c 		dev_dbg(&dev->dev, "Sony(%u) scancode 0x%05x\n", data->count,
count              35 drivers/media/rc/ir-spi.c 		     unsigned int *buffer, unsigned int count)
count              44 drivers/media/rc/ir-spi.c 	for (i = 0; i < count; i++) {
count              80 drivers/media/rc/ir-spi.c 	return ret ? ret : count;
count              45 drivers/media/rc/ir-xmp-decoder.c 		data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse));
count              54 drivers/media/rc/ir-xmp-decoder.c 			data->count = 0;
count              79 drivers/media/rc/ir-xmp-decoder.c 			if (data->count != 16) {
count              81 drivers/media/rc/ir-xmp-decoder.c 					data->count, ev.duration);
count             148 drivers/media/rc/ir-xmp-decoder.c 			if (data->count == 16) {
count             150 drivers/media/rc/ir-xmp-decoder.c 					data->count, ev.duration);
count             156 drivers/media/rc/ir-xmp-decoder.c 				data->count = 8;
count             159 drivers/media/rc/ir-xmp-decoder.c 			else if (data->count != 8)
count             161 drivers/media/rc/ir-xmp-decoder.c 					data->count, ev.duration);
count             168 drivers/media/rc/ir-xmp-decoder.c 			if (data->count == 16) {
count             170 drivers/media/rc/ir-xmp-decoder.c 					data->count, ev.duration);
count             174 drivers/media/rc/ir-xmp-decoder.c 			data->durations[data->count] = ev.duration;
count             175 drivers/media/rc/ir-xmp-decoder.c 			data->count++;
count             186 drivers/media/rc/ir-xmp-decoder.c 		data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
count             234 drivers/media/rc/lirc_dev.c 	size_t count;
count             295 drivers/media/rc/lirc_dev.c 		count = ret;
count             297 drivers/media/rc/lirc_dev.c 		txbuf = kmalloc_array(count, sizeof(unsigned int), GFP_KERNEL);
count             303 drivers/media/rc/lirc_dev.c 		for (i = 0; i < count; i++)
count             319 drivers/media/rc/lirc_dev.c 		count = n / sizeof(unsigned int);
count             320 drivers/media/rc/lirc_dev.c 		if (count > LIRCBUF_SIZE || count % 2 == 0) {
count             332 drivers/media/rc/lirc_dev.c 	for (i = 0; i < count; i++) {
count             343 drivers/media/rc/lirc_dev.c 	ret = dev->tx_ir(dev, txbuf, count);
count             925 drivers/media/rc/mceusb.c static int mceusb_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned count)
count             939 drivers/media/rc/mceusb.c 	for (i = 0; i < count; i++) {
count            1001 drivers/media/rc/mceusb.c 	return count;
count             175 drivers/media/rc/nuvoton-cir.c 				   const u8 *wbuf, int count)
count             183 drivers/media/rc/nuvoton-cir.c 	tolerance = DIV_ROUND_UP(count, 10);
count             188 drivers/media/rc/nuvoton-cir.c 	nvt_cir_wake_reg_write(nvt, count, CIR_WAKE_FIFO_CMP_DEEP);
count             197 drivers/media/rc/nuvoton-cir.c 	if (count)
count             198 drivers/media/rc/nuvoton-cir.c 		pr_info("Wake samples (%d) =", count);
count             202 drivers/media/rc/nuvoton-cir.c 	for (i = 0; i < count; i++)
count             250 drivers/media/rc/nuvoton-cir.c 	int i, count;
count             254 drivers/media/rc/nuvoton-cir.c 	argv = argv_split(GFP_KERNEL, buf, &count);
count             257 drivers/media/rc/nuvoton-cir.c 	if (!count || count > WAKEUP_MAX_SIZE) {
count             262 drivers/media/rc/nuvoton-cir.c 	for (i = 0; i < count; i++) {
count             277 drivers/media/rc/nuvoton-cir.c 	nvt_write_wakeup_codes(rc_dev, wake_buf, count);
count             603 drivers/media/rc/nuvoton-cir.c 	u32 count, carrier, duration = 0;
count             606 drivers/media/rc/nuvoton-cir.c 	count = nvt_cir_reg_read(nvt, CIR_FCCL) |
count             616 drivers/media/rc/nuvoton-cir.c 	if (!count || !duration) {
count             619 drivers/media/rc/nuvoton-cir.c 			   count, duration);
count             623 drivers/media/rc/nuvoton-cir.c 	carrier = MS_TO_NS(count) / duration;
count             629 drivers/media/rc/nuvoton-cir.c 		carrier, count, duration);
count             663 drivers/media/rc/nuvoton-cir.c 	int i, ret, count;
count             686 drivers/media/rc/nuvoton-cir.c 	for (i = 0, count = 0; i < ret && count < WAKEUP_MAX_SIZE; ++i) {
count             691 drivers/media/rc/nuvoton-cir.c 		while (val > 0 && count < WAKEUP_MAX_SIZE) {
count             699 drivers/media/rc/nuvoton-cir.c 			wake_buf[count] = buf_val;
count             702 drivers/media/rc/nuvoton-cir.c 				wake_buf[count] |= BUF_PULSE_BIT;
count             703 drivers/media/rc/nuvoton-cir.c 			count++;
count             707 drivers/media/rc/nuvoton-cir.c 	nvt_write_wakeup_codes(dev, wake_buf, count);
count              52 drivers/media/rc/pwm-ir-tx.c 		     unsigned int count)
count              67 drivers/media/rc/pwm-ir-tx.c 	for (i = 0; i < count; i++) {
count              81 drivers/media/rc/pwm-ir-tx.c 	return count;
count              69 drivers/media/rc/rc-core-priv.h 		unsigned count;
count              77 drivers/media/rc/rc-core-priv.h 		unsigned count;
count              85 drivers/media/rc/rc-core-priv.h 		unsigned count;
count              91 drivers/media/rc/rc-core-priv.h 		unsigned count;
count              97 drivers/media/rc/rc-core-priv.h 		unsigned count;
count             103 drivers/media/rc/rc-core-priv.h 		unsigned count;
count             108 drivers/media/rc/rc-core-priv.h 		unsigned count;
count             119 drivers/media/rc/rc-core-priv.h 		unsigned count;
count             124 drivers/media/rc/rc-core-priv.h 		unsigned count;
count             129 drivers/media/rc/rc-core-priv.h 		int count;
count             136 drivers/media/rc/rc-core-priv.h 		unsigned int count;
count              91 drivers/media/rc/rc-loopback.c static int loop_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned count)
count             114 drivers/media/rc/rc-loopback.c 	for (i = 0; i < count; i++) {
count             129 drivers/media/rc/rc-loopback.c 	return count;
count            1126 drivers/media/rc/rc-main.c 	unsigned count = 0;
count            1165 drivers/media/rc/rc-main.c 		count++;
count            1175 drivers/media/rc/rc-main.c 	if (!count) {
count            1180 drivers/media/rc/rc-main.c 	return count;
count             750 drivers/media/rc/redrat3.c 				unsigned count)
count             766 drivers/media/rc/redrat3.c 	if (count > RR3_MAX_SIG_SIZE - RR3_TX_TRAILER_LEN)
count             784 drivers/media/rc/redrat3.c 	for (i = 0; i < count; i++) {
count             813 drivers/media/rc/redrat3.c 	irdata->sigdata[count] = RR3_END_OF_SIGNAL;
count             814 drivers/media/rc/redrat3.c 	irdata->sigdata[count + 1] = RR3_END_OF_SIGNAL;
count             817 drivers/media/rc/redrat3.c 					sigdata[count + RR3_TX_TRAILER_LEN]);
count             825 drivers/media/rc/redrat3.c 	irdata->sig_size = cpu_to_be16(count + RR3_TX_TRAILER_LEN);
count             841 drivers/media/rc/redrat3.c 		ret = count;
count             477 drivers/media/rc/serial_ir.c 			unsigned int count);
count             635 drivers/media/rc/serial_ir.c 			unsigned int count)
count             649 drivers/media/rc/serial_ir.c 	for (i = 0; i < count; i++) {
count             667 drivers/media/rc/serial_ir.c 	return count;
count              72 drivers/media/rc/sir_ir.c 		     unsigned int count)
count              78 drivers/media/rc/sir_ir.c 	for (i = 0; i < count;) {
count              82 drivers/media/rc/sir_ir.c 		if (i >= count)
count              90 drivers/media/rc/sir_ir.c 	return count;
count             627 drivers/media/rc/winbond-cir.c wbcir_tx(struct rc_dev *dev, unsigned *b, unsigned count)
count             634 drivers/media/rc/winbond-cir.c 	buf = kmalloc_array(count, sizeof(*b), GFP_KERNEL);
count             639 drivers/media/rc/winbond-cir.c 	for (i = 0; i < count; i++)
count             652 drivers/media/rc/winbond-cir.c 	data->txlen = count;
count             658 drivers/media/rc/winbond-cir.c 	return count;
count             304 drivers/media/tuners/mxl5005s.c 	u8 *RegVal, int *count);
count             311 drivers/media/tuners/mxl5005s.c 	u8 *RegVal, int *count);
count             316 drivers/media/tuners/mxl5005s.c 	u8 *RegVal, int *count);
count            3589 drivers/media/tuners/mxl5005s.c 	u8 *RegVal, int *count)
count            3600 drivers/media/tuners/mxl5005s.c 	*count = ARRAY_SIZE(RegAddr);
count            3604 drivers/media/tuners/mxl5005s.c 	for (i = 0 ; i < *count; i++) {
count            3613 drivers/media/tuners/mxl5005s.c 	int *count)
count            3636 drivers/media/tuners/mxl5005s.c 	*count = ARRAY_SIZE(RegAddr);
count            3638 drivers/media/tuners/mxl5005s.c 	for (i = 0 ; i < *count; i++) {
count            3647 drivers/media/tuners/mxl5005s.c 	u8 *RegVal, int *count)
count            3654 drivers/media/tuners/mxl5005s.c 	*count = ARRAY_SIZE(RegAddr);
count            3656 drivers/media/tuners/mxl5005s.c 	for (i = 0; i < *count; i++) {
count             434 drivers/media/tuners/tda18271-fe.c 	int sgn, bcal, count, wait, ret;
count             474 drivers/media/tuners/tda18271-fe.c 	count = 0;
count             479 drivers/media/tuners/tda18271-fe.c 		freq = *freq_in + (sgn * count) + 1000000;
count             498 drivers/media/tuners/tda18271-fe.c 		count += 200;
count             500 drivers/media/tuners/tda18271-fe.c 		if (count <= count_limit)
count             507 drivers/media/tuners/tda18271-fe.c 		count = 200;
count              20 drivers/media/tuners/tuner-i2c.h 	int count;
count             129 drivers/media/tuners/tuner-i2c.h 			state->i2c_props.count++;			\
count             130 drivers/media/tuners/tuner-i2c.h 			__ret = state->i2c_props.count;			\
count             144 drivers/media/tuners/tuner-i2c.h 		state->i2c_props.count++;				\
count             145 drivers/media/tuners/tuner-i2c.h 		__ret = state->i2c_props.count;				\
count             154 drivers/media/tuners/tuner-i2c.h 	state->i2c_props.count--;					\
count             155 drivers/media/tuners/tuner-i2c.h 	__ret = state->i2c_props.count;					\
count             156 drivers/media/tuners/tuner-i2c.h 	if (!state->i2c_props.count) {					\
count             168 drivers/media/tuners/tuner-i2c.h 		__ret = state->i2c_props.count;				\
count             242 drivers/media/tuners/tuner-simple.c 	for (i = 0; i < tun->count; i++)
count             247 drivers/media/tuners/tuner-simple.c 	if (i == tun->count) {
count             266 drivers/media/tuners/tuner-simple.c 	for (i = 0; i < t_params->count; i++) {
count             271 drivers/media/tuners/tuner-simple.c 	if (i == t_params->count) {
count             678 drivers/media/tuners/tuner-simple.c 	for (j = tun->count-1; j > 0; j--)
count              74 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_ranges),
count              90 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_i_ranges),
count             106 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_ntsc_ranges),
count             123 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_secam_ranges),
count             140 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_ranges),
count             157 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_ntsc_ranges),
count             173 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_i_ranges),
count             189 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
count             205 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
count             216 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
count             232 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
count             242 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
count             252 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
count             268 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             284 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges),
count             300 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_dk_ranges),
count             316 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
count             332 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
count             342 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
count             359 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
count             375 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
count             385 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
count             395 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             405 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             419 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             429 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             445 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges),
count             455 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             465 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_ranges),
count             476 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
count             492 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges),
count             508 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges),
count             518 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
count             528 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_ranges),
count             538 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
count             554 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
count             570 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
count             595 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1216mk5_pal_ranges),
count             614 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
count             625 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
count             641 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
count             663 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fcv1236d_ntsc_ranges),
count             668 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fcv1236d_atsc_ranges),
count             685 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
count             700 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
count             710 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
count             731 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
count             752 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
count             774 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
count             779 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_microtune_4042fi5_atsc_ranges),
count             797 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
count             808 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
count             826 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
count             831 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
count             848 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
count             864 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
count             880 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges),
count             897 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
count             907 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
count             923 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
count             947 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
count             955 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges),
count             972 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges),
count             988 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tena_tnf_5337_ntsc_ranges),
count            1014 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
count            1025 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
count            1034 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
count            1047 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
count            1070 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
count            1075 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tua6034_atsc_ranges),
count            1092 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
count            1114 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges),
count            1118 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges),
count            1146 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
count            1151 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_td1316_dvb_ranges),
count            1174 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
count            1179 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
count            1206 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
count            1211 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tnf_5335_d_if_pal_ranges),
count            1229 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
count            1252 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_fe6600_pal_ranges),
count            1257 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_fe6600_dvb_ranges),
count            1275 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges),
count            1295 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_mf02gip_5n_ntsc_ranges),
count            1307 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
count            1336 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_partsnic_pti_5nf05_ranges),
count            1353 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_cu1216l_ranges),
count            1370 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pxn01z_ranges),
count            1380 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
count            1397 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg472z_ranges),
count            1417 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg467z_ranges),
count            1433 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg463z_ranges),
count            1444 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_params),
count            1449 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_i_params),
count            1454 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_ntsc_params),
count            1459 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_secam_params),
count            1467 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_params),
count            1472 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_ntsc_params),
count            1477 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_i_params),
count            1482 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params),
count            1487 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params),
count            1494 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsb_1_params),
count            1499 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsbb5_params),
count            1504 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsbe5_params),
count            1509 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tsbc5_params),
count            1514 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4006fh5_params),
count            1519 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_alps_tshc6_params),
count            1524 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_pal_dk_params),
count            1529 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_ntsc_m_params),
count            1534 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params),
count            1539 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4006fn5_multi_params),
count            1546 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009f_5_params),
count            1551 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4039fr5_params),
count            1556 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4046fm5_params),
count            1561 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_dk_params),
count            1566 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1216me_params),
count            1571 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_i_fm_params),
count            1576 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_i_params),
count            1581 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_ntsc_fm_params),
count            1586 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_fm_params),
count            1591 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_params),
count            1598 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params),
count            1603 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sharp_2u5jf5540_params),
count            1608 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params),
count            1616 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4106fh5_params),
count            1621 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4012fy5_params),
count            1626 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_temic_4136_fy5_params),
count            1631 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_pal_new_tapc_params),
count            1636 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1216me_mk3_params),
count            1641 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params),
count            1648 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_hitachi_ntsc_params),
count            1653 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_pal_mk_params),
count            1658 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fcv1236d_params),
count            1666 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_params),
count            1671 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_4in1_params),
count            1676 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_microtune_4049_fm5_params),
count            1681 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_panasonic_vp27_params),
count            1686 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1236_mk3_params),
count            1691 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tnf_8831bgff_params),
count            1696 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_microtune_4042fi5_params),
count            1706 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_2002n_params),
count            1711 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fm1256_ih3_params),
count            1716 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt7610_params),
count            1724 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1286_params),
count            1732 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_2002mb_params),
count            1737 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params),
count            1742 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params),
count            1747 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params),
count            1752 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params),
count            1760 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_dtt761x_params),
count            1769 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tena_9533_di_params),
count            1778 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params),
count            1788 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params),
count            1797 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
count            1802 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_lg_taln_params),
count            1807 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_td1316_params),
count            1815 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tuv1236d_params),
count            1823 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tnf_5335mf_params),
count            1830 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params),
count            1839 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_thomson_fe6600_params),
count            1847 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params),
count            1869 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tcl_mf02gip_5n_params),
count            1874 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fmd1216mex_mk3_params),
count            1884 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fm1216mk5_params),
count            1891 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_fq1216lme_mk3_params),
count            1897 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_partsnic_pti_5nf05_params),
count            1902 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_cu1216l_params),
count            1912 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pxn01z_params),
count            1917 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_philips_fq1236_mk5_params),
count            1922 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_tena_tnf_5337_params),
count            1931 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg472z_params),
count            1938 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg467z_params),
count            1943 drivers/media/tuners/tuner-types.c 		.count  = ARRAY_SIZE(tuner_sony_btf_pg463z_params),
count             514 drivers/media/usb/airspy/airspy.c static int airspy_start_streaming(struct vb2_queue *vq, unsigned int count)
count              44 drivers/media/usb/as102/as102_fw.c 	int count = 0;
count              56 drivers/media/usb/as102/as102_fw.c 		switch (count) {
count              76 drivers/media/usb/as102/as102_fw.c 				addr[(count - 4)] = dst;
count              78 drivers/media/usb/as102/as102_fw.c 				data[(count - 4)] = dst;
count              81 drivers/media/usb/as102/as102_fw.c 			data[(count - 4)] = dst;
count              84 drivers/media/usb/as102/as102_fw.c 		count++;
count              88 drivers/media/usb/as102/as102_fw.c 	return (count * 2) + 2;
count              42 drivers/media/usb/au0828/au0828-i2c.c 	int count;
count              44 drivers/media/usb/au0828/au0828-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count              50 drivers/media/usb/au0828/au0828-i2c.c 	if (I2C_WAIT_RETRY == count)
count              65 drivers/media/usb/au0828/au0828-i2c.c 	int count;
count              67 drivers/media/usb/au0828/au0828-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count              73 drivers/media/usb/au0828/au0828-i2c.c 	if (I2C_WAIT_RETRY == count)
count              88 drivers/media/usb/au0828/au0828-i2c.c 	int count;
count              90 drivers/media/usb/au0828/au0828-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count              96 drivers/media/usb/au0828/au0828-i2c.c 	if (I2C_WAIT_RETRY == count)
count             111 drivers/media/usb/au0828/au0828-i2c.c 	int count;
count             113 drivers/media/usb/au0828/au0828-i2c.c 	for (count = 0; count < I2C_WAIT_RETRY; count++) {
count             119 drivers/media/usb/au0828/au0828-i2c.c 	if (I2C_WAIT_RETRY == count)
count             812 drivers/media/usb/au0828/au0828-video.c int au0828_start_analog_streaming(struct vb2_queue *vq, unsigned int count)
count            1594 drivers/media/usb/au0828/au0828-video.c 	format->fmt.vbi.count[0] = dev->vbi_height;
count            1595 drivers/media/usb/au0828/au0828-video.c 	format->fmt.vbi.count[1] = dev->vbi_height;
count             321 drivers/media/usb/au0828/au0828.h 						unsigned int count);
count             437 drivers/media/usb/cpia2/cpia2.h 		char __user *buf, unsigned long count, int noblock);
count             450 drivers/media/usb/cpia2/cpia2.h 			   u8 request, u8 start, u8 count, u8 direction);
count             527 drivers/media/usb/cpia2/cpia2_core.c 	u8 count;
count             534 drivers/media/usb/cpia2/cpia2_core.c 		count = cmd->reg_count * sizeof(struct cpia2_register);
count             542 drivers/media/usb/cpia2/cpia2_core.c 		count = cmd->reg_count;
count             550 drivers/media/usb/cpia2/cpia2_core.c 		count = cmd->reg_count * sizeof(struct cpia2_reg_mask);
count             558 drivers/media/usb/cpia2/cpia2_core.c 		count = cmd->reg_count;
count             573 drivers/media/usb/cpia2/cpia2_core.c 					start, count, cmd->direction);
count            2305 drivers/media/usb/cpia2/cpia2_core.c 		char __user *buf, unsigned long count, int noblock)
count            2309 drivers/media/usb/cpia2/cpia2_core.c 	if (!count)
count            2347 drivers/media/usb/cpia2/cpia2_core.c 	if (frame->length > count)
count            2352 drivers/media/usb/cpia2/cpia2_core.c 	count = frame->length;
count            2356 drivers/media/usb/cpia2/cpia2_core.c 	return count;
count             602 drivers/media/usb/cpia2/cpia2_usb.c 			   u8 request, u8 start, u8 count, u8 direction)
count             618 drivers/media/usb/cpia2/cpia2_usb.c 		err = read_packet(udev, request, (u8 *)registers, start, count);
count             622 drivers/media/usb/cpia2/cpia2_usb.c 		err =write_packet(udev, request, (u8 *)registers, start, count);
count             628 drivers/media/usb/cpia2/cpia2_usb.c 			    count, ((unsigned char *) registers)[0]);
count             140 drivers/media/usb/cpia2/cpia2_v4l.c static ssize_t cpia2_v4l_read(struct file *file, char __user *buf, size_t count,
count             152 drivers/media/usb/cpia2/cpia2_v4l.c 	ret = cpia2_read(cam, buf, count, noblock);
count             759 drivers/media/usb/cpia2/cpia2_v4l.c 	DBG("REQBUFS requested:%d returning:%d\n", req->count, cam->num_frames);
count             760 drivers/media/usb/cpia2/cpia2_v4l.c 	req->count = cam->num_frames;
count             341 drivers/media/usb/cx231xx/cx231xx-417.c 	u8 count = 0;
count             349 drivers/media/usb/cx231xx/cx231xx-417.c 		if (count++ > 100) {
count            1231 drivers/media/usb/cx231xx/cx231xx-417.c 	unsigned int *count, unsigned int *size)
count            1239 drivers/media/usb/cx231xx/cx231xx-417.c 	*count = mpegbufs;
count            1807 drivers/media/usb/cx231xx/cx231xx-417.c 	size_t count, loff_t *ppos)
count            1821 drivers/media/usb/cx231xx/cx231xx-417.c 	return videobuf_read_stream(&fh->vidq, data, count, ppos, 0,
count             157 drivers/media/usb/cx231xx/cx231xx-vbi.c vbi_buffer_setup(struct videobuf_queue *vq, unsigned int *count,
count             168 drivers/media/usb/cx231xx/cx231xx-vbi.c 	if (0 == *count)
count             169 drivers/media/usb/cx231xx/cx231xx-vbi.c 		*count = CX231XX_DEF_VBI_BUF;
count             171 drivers/media/usb/cx231xx/cx231xx-vbi.c 	if (*count < CX231XX_MIN_BUF)
count             172 drivers/media/usb/cx231xx/cx231xx-vbi.c 		*count = CX231XX_MIN_BUF;
count             712 drivers/media/usb/cx231xx/cx231xx-video.c buffer_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size)
count             718 drivers/media/usb/cx231xx/cx231xx-video.c 	if (0 == *count)
count             719 drivers/media/usb/cx231xx/cx231xx-video.c 		*count = CX231XX_DEF_BUF;
count             721 drivers/media/usb/cx231xx/cx231xx-video.c 	if (*count < CX231XX_MIN_BUF)
count             722 drivers/media/usb/cx231xx/cx231xx-video.c 		*count = CX231XX_MIN_BUF;
count            1599 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ?
count            1603 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[1] = f->fmt.vbi.count[0];
count            1623 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ?
count            1627 drivers/media/usb/cx231xx/cx231xx-video.c 	f->fmt.vbi.count[1] = f->fmt.vbi.count[0];
count            1972 drivers/media/usb/cx231xx/cx231xx-video.c cx231xx_v4l2_read(struct file *filp, char __user *buf, size_t count,
count            1992 drivers/media/usb/cx231xx/cx231xx-video.c 		rc = videobuf_read_stream(&fh->vb_vidq, buf, count, pos, 0,
count             831 drivers/media/usb/cx231xx/cx231xx.h u32 cx231xx_request_buffers(struct cx231xx *dev, u32 count);
count            1294 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_regmap_write(void *context, const void *data, size_t count)
count            1301 drivers/media/usb/dvb-usb-v2/af9015.c 	const unsigned int len = count - 2;
count             241 drivers/media/usb/dvb-usb-v2/ce6230.c 				.count = 6,
count              67 drivers/media/usb/dvb-usb-v2/dvb_usb.h 	.count = count_, \
count              78 drivers/media/usb/dvb-usb-v2/dvb_usb.h 	.count = count_, \
count             145 drivers/media/usb/dvb-usb-v2/dvb_usb.h 	u8 count;
count             365 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c #define CALCULATE_BER(avg_errors, count) \
count             366 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c 	((u32)(avg_errors * 4)/(count*64*188*8))
count             370 drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c #define CALCULATE_BER(avg_errors, count) 0
count             382 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 				  u8 count, u8 *rbuf)
count             390 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 	mxl_i2c("read %d bytes", count);
count             401 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 	for (i = 0; i < count; i++) {
count             413 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 		for (i = 0; i < count; i++) {
count            1040 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	stream->count = 5;
count            1051 drivers/media/usb/dvb-usb-v2/mxl111sf.c 	stream->count = 5;
count             141 drivers/media/usb/dvb-usb-v2/usb_urb.c 	for (i = 0; i < stream->props.count; i++) {
count             168 drivers/media/usb/dvb-usb-v2/usb_urb.c 	for (i = 0; i < stream->props.count; i++) {
count             269 drivers/media/usb/dvb-usb-v2/usb_urb.c 	if (stream->buf_num < props->count || stream->buf_size < buf_size) {
count             278 drivers/media/usb/dvb-usb-v2/usb_urb.c 			stream->props.count == props->count &&
count             325 drivers/media/usb/dvb-usb-v2/usb_urb.c 		ret = usb_alloc_stream_buffers(stream, stream->props.count,
count             332 drivers/media/usb/dvb-usb-v2/usb_urb.c 		ret = usb_alloc_stream_buffers(stream, stream->props.count,
count             103 drivers/media/usb/dvb-usb/a800.c 				.count = 7,
count            1041 drivers/media/usb/dvb-usb/af9005.c 				.count = 10,
count            1115 drivers/media/usb/dvb-usb/az6027.c 				.count = 10,
count             219 drivers/media/usb/dvb-usb/cinergyT2-core.c 				.count = 5,
count             773 drivers/media/usb/dvb-usb/cxusb-analog.c 					  unsigned int count)
count            1786 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            1838 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            1897 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            1965 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2024 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2076 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2130 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2187 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2241 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2287 drivers/media/usb/dvb-usb/cxusb.c 				.count = 7,
count            2341 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            2396 drivers/media/usb/dvb-usb/cxusb.c 				.count = 5,
count            3933 drivers/media/usb/dvb-usb/dib0700_devices.c 		.count = 4, \
count             200 drivers/media/usb/dvb-usb/dibusb-mb.c 				.count = 7,
count             290 drivers/media/usb/dvb-usb/dibusb-mb.c 				.count = 7,
count             359 drivers/media/usb/dvb-usb/dibusb-mb.c 				.count = 7,
count             421 drivers/media/usb/dvb-usb/dibusb-mb.c 				.count = 7,
count              70 drivers/media/usb/dvb-usb/dibusb-mc.c 				.count = 8,
count             316 drivers/media/usb/dvb-usb/digitv.c 				.count = 7,
count             196 drivers/media/usb/dvb-usb/dtt200u.c 		.count = 7,
count             248 drivers/media/usb/dvb-usb/dtt200u.c 		.count = 7,
count             300 drivers/media/usb/dvb-usb/dtt200u.c 		.count = 7,
count             352 drivers/media/usb/dvb-usb/dtt200u.c 				.count = 7,
count             183 drivers/media/usb/dvb-usb/dtv5100.c 			.count = 8,
count             107 drivers/media/usb/dvb-usb/dvb-usb.h 	int count;
count            1927 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            1982 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            2034 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            2081 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            2172 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            2241 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count            2290 drivers/media/usb/dvb-usb/dw2102.c 				.count = 8,
count             340 drivers/media/usb/dvb-usb/gp8psk.c 				.count = 7,
count             940 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count             988 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count            1051 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count            1075 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count            1117 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count            1171 drivers/media/usb/dvb-usb/m920x.c 			.count = 5,
count            1228 drivers/media/usb/dvb-usb/m920x.c 			.count = 8,
count             191 drivers/media/usb/dvb-usb/nova-t-usb2.c 				.count = 7,
count             529 drivers/media/usb/dvb-usb/opera1.c 				.count = 10,
count             972 drivers/media/usb/dvb-usb/pctv452e.c 				.count    = 4,
count            1025 drivers/media/usb/dvb-usb/pctv452e.c 				.count = 4,
count             723 drivers/media/usb/dvb-usb/technisat-usb2.c 				.count = 4,
count             666 drivers/media/usb/dvb-usb/ttusb2.c 				.count = 5,
count             721 drivers/media/usb/dvb-usb/ttusb2.c 				.count = 5,
count             782 drivers/media/usb/dvb-usb/ttusb2.c 				.count = 5,
count             801 drivers/media/usb/dvb-usb/ttusb2.c 				.count = 5,
count             109 drivers/media/usb/dvb-usb/umt-010.c 				.count = MAX_NO_URBS_FOR_DATA_STREAM,
count             142 drivers/media/usb/dvb-usb/usb-urb.c 	if ((i = usb_allocate_stream_buffers(stream,stream->props.count,
count             147 drivers/media/usb/dvb-usb/usb-urb.c 	for (i = 0; i < stream->props.count; i++) {
count             172 drivers/media/usb/dvb-usb/usb-urb.c 	if ((i = usb_allocate_stream_buffers(stream,stream->props.count,
count             177 drivers/media/usb/dvb-usb/usb-urb.c 	for (i = 0; i < stream->props.count; i++) {
count              62 drivers/media/usb/dvb-usb/vp702x-fe.c static u8 vp702x_chksum(u8 *buf,int f, int count)
count              66 drivers/media/usb/dvb-usb/vp702x-fe.c 	for (i = f; i < f+count; i++)
count             394 drivers/media/usb/dvb-usb/vp702x.c 				.count = 10,
count             198 drivers/media/usb/dvb-usb/vp7045.c 				.count = 7,
count             495 drivers/media/usb/em28xx/em28xx-audio.c 	info->count = 2;
count              18 drivers/media/usb/em28xx/em28xx-v4l.h int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count);
count            1079 drivers/media/usb/em28xx/em28xx-video.c int em28xx_start_analog_streaming(struct vb2_queue *vq, unsigned int count)
count            2066 drivers/media/usb/em28xx/em28xx-video.c 	format->fmt.vbi.count[0] = v4l2->vbi_height;
count            2067 drivers/media/usb/em28xx/em28xx-video.c 	format->fmt.vbi.count[1] = v4l2->vbi_height;
count              58 drivers/media/usb/go7007/go7007-driver.c 	int count = 100;
count              63 drivers/media/usb/go7007/go7007-driver.c 	while (count-- > 0) {
count             397 drivers/media/usb/go7007/go7007-v4l2.c static int go7007_start_streaming(struct vb2_queue *q, unsigned int count)
count            1351 drivers/media/usb/gspca/gspca.c static int gspca_start_streaming(struct vb2_queue *vq, unsigned int count)
count             475 drivers/media/usb/gspca/se401.c 	int i, plen, bits, pixels, info, count;
count             490 drivers/media/usb/gspca/se401.c 			count = 4 - sd->packet_read;
count             491 drivers/media/usb/gspca/se401.c 			if (count > len - i)
count             492 drivers/media/usb/gspca/se401.c 				count = len - i;
count             493 drivers/media/usb/gspca/se401.c 			memcpy(&sd->packet[sd->packet_read], &data[i], count);
count             494 drivers/media/usb/gspca/se401.c 			sd->packet_read += count;
count             495 drivers/media/usb/gspca/se401.c 			i += count;
count             515 drivers/media/usb/gspca/se401.c 		count = plen - sd->packet_read;
count             516 drivers/media/usb/gspca/se401.c 		if (count > len - i)
count             517 drivers/media/usb/gspca/se401.c 			count = len - i;
count             518 drivers/media/usb/gspca/se401.c 		memcpy(&sd->packet[sd->packet_read], &data[i], count);
count             519 drivers/media/usb/gspca/se401.c 		sd->packet_read += count;
count             520 drivers/media/usb/gspca/se401.c 		i += count;
count             372 drivers/media/usb/gspca/sunplus.c 			u16 idx, u16 val, u8 endcode, u8 count)
count             382 drivers/media/usb/gspca/sunplus.c 	if (!count)
count             384 drivers/media/usb/gspca/sunplus.c 	count = 200;
count             385 drivers/media/usb/gspca/sunplus.c 	while (--count > 0) {
count             393 drivers/media/usb/gspca/sunplus.c 				  status, 200 - count);
count             401 drivers/media/usb/gspca/sunplus.c 	int count = 10;
count             403 drivers/media/usb/gspca/sunplus.c 	while (--count > 0) {
count             413 drivers/media/usb/gspca/sunplus.c 	int count = 50;
count             415 drivers/media/usb/gspca/sunplus.c 	while (--count > 0) {
count            1075 drivers/media/usb/gspca/topro.c 	int count, actual_count, ret;
count            1080 drivers/media/usb/gspca/topro.c 		count = length > BULK_OUT_SIZE - 1
count            1083 drivers/media/usb/gspca/topro.c 		memcpy(&gspca_dev->usb_buf[1], data, count);
count            1086 drivers/media/usb/gspca/topro.c 				   gspca_dev->usb_buf, count + 1,
count            1094 drivers/media/usb/gspca/topro.c 		length -= count;
count            1097 drivers/media/usb/gspca/topro.c 		data += count;
count             790 drivers/media/usb/hackrf/hackrf.c static int hackrf_start_streaming(struct vb2_queue *vq, unsigned int count)
count             797 drivers/media/usb/hackrf/hackrf.c 	dev_dbg(&intf->dev, "count=%i\n", count);
count              58 drivers/media/usb/hdpvr/hdpvr-video.c 	uint count = 0;
count              61 drivers/media/usb/hdpvr/hdpvr-video.c 		count++;
count              64 drivers/media/usb/hdpvr/hdpvr-video.c 	return count;
count             132 drivers/media/usb/hdpvr/hdpvr-video.c int hdpvr_alloc_buffers(struct hdpvr_device *dev, uint count)
count             141 drivers/media/usb/hdpvr/hdpvr-video.c 		 "allocating %u buffers\n", count);
count             143 drivers/media/usb/hdpvr/hdpvr-video.c 	for (i = 0; i < count; i++) {
count             407 drivers/media/usb/hdpvr/hdpvr-video.c static ssize_t hdpvr_read(struct file *file, char __user *buffer, size_t count,
count             444 drivers/media/usb/hdpvr/hdpvr-video.c 	while (count > 0 && buf) {
count             489 drivers/media/usb/hdpvr/hdpvr-video.c 		cnt = rem > count ? count : rem;
count             500 drivers/media/usb/hdpvr/hdpvr-video.c 		count -= cnt;
count             324 drivers/media/usb/hdpvr/hdpvr.h int hdpvr_alloc_buffers(struct hdpvr_device *dev, uint count);
count             826 drivers/media/usb/msi2500/msi2500.c static int msi2500_start_streaming(struct vb2_queue *vq, unsigned int count)
count              20 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c 		if (val >= cptr->info->def.type_enum.count) return -ERANGE;
count             145 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c 			ret = cptr->info->def.type_enum.count;
count             516 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c 				cptr->info->def.type_enum.count);
count             551 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c 		    (val < cptr->info->def.type_enum.count)) {
count              19 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 					      unsigned int count)
count              24 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	for (scnt = 0; scnt < count; scnt++) {
count              36 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 						 unsigned int count)
count              41 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	for (scnt = 0; scnt < count; scnt++) {
count              51 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c static unsigned int debugifc_isolate_word(const char *buf,unsigned int count,
count              62 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	scnt = debugifc_count_whitespace(buf,count);
count              63 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	consume_cnt += scnt; count -= scnt; buf += scnt;
count              64 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	if (!count) goto done;
count              66 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	scnt = debugifc_count_nonwhitespace(buf,count);
count              70 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	consume_cnt += scnt; count -= scnt; buf += scnt;
count              79 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c static int debugifc_parse_unsigned_number(const char *buf,unsigned int count,
count              84 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	if ((count >= 2) && (buf[0] == '0') &&
count              87 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= 2;
count              89 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	} else if ((count >= 1) && (buf[0] == '0')) {
count              93 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	while (count--) {
count             105 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c static int debugifc_match_keyword(const char *buf,unsigned int count,
count             111 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	if (kl != count) return 0;
count             180 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 				unsigned int count)
count             186 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             188 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	count -= scnt; buf += scnt;
count             193 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             195 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= scnt; buf += scnt;
count             220 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             222 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= scnt; buf += scnt;
count             225 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 			scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             227 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 				count -= scnt; buf += scnt;
count             253 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             255 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= scnt; buf += scnt;
count             262 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             264 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= scnt; buf += scnt;
count             268 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		scnt = debugifc_isolate_word(buf,count,&wptr,&wlen);
count             290 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 			unsigned int count)
count             295 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 	while (count) {
count             296 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		for (bcnt = 0; bcnt < count; bcnt++) {
count             302 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		if (bcnt < count) bcnt++;
count             304 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c 		count -= bcnt;
count              24 drivers/media/usb/pvrusb2/pvrusb2-dvb.c 	unsigned int count;
count              41 drivers/media/usb/pvrusb2/pvrusb2-dvb.c 			count = pvr2_buffer_get_count(bp);
count              42 drivers/media/usb/pvrusb2/pvrusb2-dvb.c 			if (count) {
count              47 drivers/media/usb/pvrusb2/pvrusb2-dvb.c 					count);
count             104 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h 			unsigned int count;       /* enum value count */
count             745 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	cs.count = 1;
count             763 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	cs.count = 1;
count             943 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	.def.type_enum.count = ARRAY_SIZE(tab), \
count            2495 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			ciptr->def.type_enum.count = cnt1;
count            3064 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			cs.count = 1;
count            3126 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		cs.count = 1;
count             241 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			 const char *buf,unsigned int count)
count             246 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 		ret = pvr2_ctrl_custom_sym_to_value(cip->cptr, buf, count,
count             249 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 		ret = pvr2_ctrl_sym_to_value(cip->cptr, buf, count,
count             260 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			      const char *buf, size_t count)
count             266 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			 cip->chptr, cip->ctl_id, (int)count, buf);
count             267 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = store_val_any(cip, 0, buf, count);
count             268 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	if (!ret) ret = count;
count             274 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 				const char *buf, size_t count)
count             280 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			 cip->chptr, cip->ctl_id, (int)count, buf);
count             281 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = store_val_any(cip, 1, buf, count);
count             282 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	if (!ret) ret = count;
count             411 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			      const char *, size_t count);
count             824 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 			      const char *buf, size_t count)
count             832 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	ret = pvr2_debugifc_docmd(sfp->channel.hdw,buf,count);
count             834 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	return count;
count              97 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 				.count = { 0, 0 },
count             611 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	for (idx = 0; idx < ctls->count; idx++) {
count             648 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	for (idx = 0; idx < ctls->count; idx++) {
count             674 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 	for (idx = 0; idx < ctls->count; idx++) {
count            1082 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			      char __user *buff, size_t count, loff_t *ppos)
count            1097 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		while (count) {
count            1098 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			c1 = count;
count            1113 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 			count -= c2;
count            1128 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c 		ret = pvr2_ioread_read(fh->rhp,buff,count);
count             697 drivers/media/usb/pwc/pwc-if.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count             698 drivers/media/usb/s2255/s2255drv.c static int start_streaming(struct vb2_queue *vq, unsigned int count);
count            1063 drivers/media/usb/s2255/s2255drv.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count             715 drivers/media/usb/stk1160/stk1160-v4l.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count             652 drivers/media/usb/stkwebcam/stk-webcam.c 		size_t count, loff_t *f_pos)
count             688 drivers/media/usb/stkwebcam/stk-webcam.c 	if (count + *f_pos > dev->frame_size)
count             689 drivers/media/usb/stkwebcam/stk-webcam.c 		count = dev->frame_size - *f_pos;
count             699 drivers/media/usb/stkwebcam/stk-webcam.c 	if (copy_to_user(buf, sbuf->buffer + *f_pos, count))
count             702 drivers/media/usb/stkwebcam/stk-webcam.c 	*f_pos += count;
count             710 drivers/media/usb/stkwebcam/stk-webcam.c 	return count;
count             714 drivers/media/usb/stkwebcam/stk-webcam.c 		size_t count, loff_t *f_pos)
count             721 drivers/media/usb/stkwebcam/stk-webcam.c 	ret = stk_read(fp, buf, count, f_pos);
count            1044 drivers/media/usb/stkwebcam/stk-webcam.c 	if (rb->count == 0) {
count            1053 drivers/media/usb/stkwebcam/stk-webcam.c 	if (rb->count < 3)
count            1054 drivers/media/usb/stkwebcam/stk-webcam.c 		rb->count = 3;
count            1056 drivers/media/usb/stkwebcam/stk-webcam.c 	else if (rb->count > 5)
count            1057 drivers/media/usb/stkwebcam/stk-webcam.c 		rb->count = 5;
count            1059 drivers/media/usb/stkwebcam/stk-webcam.c 	stk_allocate_buffers(dev, rb->count);
count            1060 drivers/media/usb/stkwebcam/stk-webcam.c 	rb->count = dev->n_sbufs;
count             672 drivers/media/usb/tm6000/tm6000-video.c buffer_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size)
count             677 drivers/media/usb/tm6000/tm6000-video.c 	if (0 == *count)
count             678 drivers/media/usb/tm6000/tm6000-video.c 		*count = TM6000_DEF_BUF;
count             680 drivers/media/usb/tm6000/tm6000-video.c 	if (*count < TM6000_MIN_BUF)
count             681 drivers/media/usb/tm6000/tm6000-video.c 		*count = TM6000_MIN_BUF;
count             683 drivers/media/usb/tm6000/tm6000-video.c 	while (*size * *count > vid_limit * 1024 * 1024)
count             684 drivers/media/usb/tm6000/tm6000-video.c 		(*count)--;
count            1392 drivers/media/usb/tm6000/tm6000-video.c tm6000_read(struct file *file, char __user *data, size_t count, loff_t *pos)
count            1405 drivers/media/usb/tm6000/tm6000-video.c 		res = videobuf_read_stream(&fh->vb_vidq, data, count, pos, 0,
count             362 drivers/media/usb/tm6000/tm6000.h ssize_t tm6000_v4l2_read(struct file *filp, char __user * buf, size_t count,
count             981 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static ssize_t stc_read(struct file *file, char *buf, size_t count,
count             984 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 	return simple_read_from_buffer(buf, count, offset, stc_firmware, 8192);
count             754 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_start_streaming(struct vb2_queue *vq, unsigned int count)
count             397 drivers/media/usb/usbvision/usbvision-i2c.c 	int count;
count             401 drivers/media/usb/usbvision/usbvision-i2c.c 		count = (len > max_len) ? max_len : len;
count             402 drivers/media/usb/usbvision/usbvision-i2c.c 		retval = usbvision_i2c_write_max4(usbvision, addr, buf_ptr, count);
count             404 drivers/media/usb/usbvision/usbvision-i2c.c 			len -= count;
count             405 drivers/media/usb/usbvision/usbvision-i2c.c 			buf_ptr += count;
count             406 drivers/media/usb/usbvision/usbvision-i2c.c 			wrcount += count;
count             419 drivers/media/usb/usbvision/usbvision-i2c.c 	int count;
count             422 drivers/media/usb/usbvision/usbvision-i2c.c 		count = (len > 3) ? 4 : len;
count             423 drivers/media/usb/usbvision/usbvision-i2c.c 		retval = usbvision_i2c_read_max4(usbvision, addr, temp, count);
count             427 drivers/media/usb/usbvision/usbvision-i2c.c 			len -= count;
count             428 drivers/media/usb/usbvision/usbvision-i2c.c 			rdcount += count;
count             649 drivers/media/usb/usbvision/usbvision-video.c 	RESTRICT_TO_RANGE(vr->count, 1, USBVISION_NUMFRAMES);
count             664 drivers/media/usb/usbvision/usbvision-video.c 	vr->count = usbvision_frames_alloc(usbvision, vr->count);
count             885 drivers/media/usb/usbvision/usbvision-video.c 		      size_t count, loff_t *ppos)
count             894 drivers/media/usb/usbvision/usbvision-video.c 	       (unsigned long)count, noblock);
count             966 drivers/media/usb/usbvision/usbvision-video.c 	if ((count + frame->bytes_read) > (unsigned long)frame->scanlength)
count             967 drivers/media/usb/usbvision/usbvision-video.c 		count = frame->scanlength - frame->bytes_read;
count             969 drivers/media/usb/usbvision/usbvision-video.c 	if (copy_to_user(buf, frame->data + frame->bytes_read, count))
count             972 drivers/media/usb/usbvision/usbvision-video.c 	frame->bytes_read += count;
count             975 drivers/media/usb/usbvision/usbvision-video.c 	       (unsigned long)count, frame->bytes_read);
count             986 drivers/media/usb/usbvision/usbvision-video.c 	return count;
count             990 drivers/media/usb/usbvision/usbvision-video.c 		      size_t count, loff_t *ppos)
count             997 drivers/media/usb/usbvision/usbvision-video.c 	res = usbvision_read(file, buf, count, ppos);
count            2194 drivers/media/usb/uvc/uvc_ctrl.c 	unsigned int count;
count            2201 drivers/media/usb/uvc/uvc_ctrl.c 		count = ARRAY_SIZE(processing_blacklist);
count            2208 drivers/media/usb/uvc/uvc_ctrl.c 		count = ARRAY_SIZE(camera_blacklist);
count            2217 drivers/media/usb/uvc/uvc_ctrl.c 	for (i = 0; i < count; ++i) {
count              23 drivers/media/usb/uvc/uvc_debugfs.c 	size_t count;
count              36 drivers/media/usb/uvc/uvc_debugfs.c 	buf->count = uvc_video_stats_dump(stream, buf->data, sizeof(buf->data));
count              48 drivers/media/usb/uvc/uvc_debugfs.c 				       buf->count);
count             164 drivers/media/usb/uvc/uvc_queue.c static int uvc_start_streaming(struct vb2_queue *vq, unsigned int count)
count             275 drivers/media/usb/uvc/uvc_queue.c 	return ret ? ret : rb->count;
count            1015 drivers/media/usb/uvc/uvc_v4l2.c 		for (i = 0; i < ctrls->count; ++ctrl, ++i) {
count            1034 drivers/media/usb/uvc/uvc_v4l2.c 	for (i = 0; i < ctrls->count; ++ctrl, ++i) {
count            1065 drivers/media/usb/uvc/uvc_v4l2.c 	for (i = 0; i < ctrls->count; ++ctrl, ++i) {
count            1069 drivers/media/usb/uvc/uvc_v4l2.c 			ctrls->error_idx = commit ? ctrls->count : i;
count            1077 drivers/media/usb/uvc/uvc_v4l2.c 		return uvc_ctrl_commit(handle, ctrls->controls, ctrls->count);
count            1318 drivers/media/usb/uvc/uvc_v4l2.c 	u32 count;
count            1323 drivers/media/usb/uvc/uvc_v4l2.c 	count = p->menu_count;
count            1327 drivers/media/usb/uvc/uvc_v4l2.c 	kp->menu_info = count ? compat_ptr(info) : NULL;
count            1328 drivers/media/usb/uvc/uvc_v4l2.c 	kp->menu_count = count;
count            1428 drivers/media/usb/uvc/uvc_v4l2.c 		    size_t count, loff_t *ppos)
count             528 drivers/media/usb/uvc/uvc_video.c 	if (stream->clock.count < stream->clock.size)
count             529 drivers/media/usb/uvc/uvc_video.c 		stream->clock.count++;
count             539 drivers/media/usb/uvc/uvc_video.c 	clock->count = 0;
count             684 drivers/media/usb/uvc/uvc_video.c 	if (clock->count < clock->size)
count             914 drivers/media/usb/uvc/uvc_video.c 	size_t count = 0;
count             927 drivers/media/usb/uvc/uvc_video.c 	count += scnprintf(buf + count, size - count,
count             935 drivers/media/usb/uvc/uvc_video.c 	count += scnprintf(buf + count, size - count,
count             940 drivers/media/usb/uvc/uvc_video.c 	count += scnprintf(buf + count, size - count,
count             944 drivers/media/usb/uvc/uvc_video.c 	count += scnprintf(buf + count, size - count,
count             950 drivers/media/usb/uvc/uvc_video.c 	return count;
count             607 drivers/media/usb/uvc/uvcvideo.h 		unsigned int count;
count             341 drivers/media/usb/zr364xx/zr364xx.c static int buffer_setup(struct videobuf_queue *vq, unsigned int *count,
count             348 drivers/media/usb/zr364xx/zr364xx.c 	if (*count == 0)
count             349 drivers/media/usb/zr364xx/zr364xx.c 		*count = ZR364XX_DEF_BUFS;
count             351 drivers/media/usb/zr364xx/zr364xx.c 	if (*size * *count > ZR364XX_DEF_BUFS * 1024 * 1024)
count             352 drivers/media/usb/zr364xx/zr364xx.c 		*count = (ZR364XX_DEF_BUFS * 1024 * 1024) / *size;
count             439 drivers/media/usb/zr364xx/zr364xx.c static ssize_t zr364xx_read(struct file *file, char __user *buf, size_t count,
count             450 drivers/media/usb/zr364xx/zr364xx.c 	if (!count)
count             460 drivers/media/usb/zr364xx/zr364xx.c 				(int) count, (int) *ppos);
count             463 drivers/media/usb/zr364xx/zr364xx.c 		err = videobuf_read_one(&cam->vb_vidq, buf, count, ppos,
count             253 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	__u32			count;
count             844 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	__u32 count;
count             895 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	u32 count;
count             898 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    get_user(count, &p32->count))
count             900 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (count > V4L2_CID_MAX_CTRLS)
count             902 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	*size = count * sizeof(struct v4l2_ext_control);
count             913 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	u32 count;
count             919 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    get_user(count, &p32->count) ||
count             920 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user(count, &p64->count) ||
count             926 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (count == 0)
count             928 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (count > V4L2_CID_MAX_CTRLS)
count             933 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (!access_ok(ucontrols, count * sizeof(*ucontrols)))
count             935 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (aux_space < count * sizeof(*kcontrols))
count             941 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	for (n = 0; n < count; n++) {
count             971 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	u32 count;
count             985 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    get_user(count, &p64->count) ||
count             986 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	    put_user(count, &p32->count) ||
count             993 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (!count || count > (U32_MAX/sizeof(*ucontrols)))
count             998 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	if (!access_ok(ucontrols, count * sizeof(*ucontrols)))
count            1001 drivers/media/v4l2-core/v4l2-compat-ioctl32.c 	for (n = 0; n < count; n++) {
count            3305 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0, h = helpers; i < cs->count; i++, h++) {
count            3385 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0; i < cs->count; i++)
count            3387 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0, h = helpers; i < cs->count; i++, h++) {
count            3432 drivers/media/v4l2-core/v4l2-ctrls.c 	cs->error_idx = cs->count;
count            3438 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count == 0)
count            3441 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count > ARRAY_SIZE(helper)) {
count            3442 drivers/media/v4l2-core/v4l2-ctrls.c 		helpers = kvmalloc_array(cs->count, sizeof(helper[0]),
count            3449 drivers/media/v4l2-core/v4l2-ctrls.c 	cs->error_idx = cs->count;
count            3451 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0; !ret && i < cs->count; i++)
count            3455 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0; !ret && i < cs->count; i++) {
count            3498 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count > ARRAY_SIZE(helper))
count            3728 drivers/media/v4l2-core/v4l2-ctrls.c 	cs->error_idx = cs->count;
count            3729 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0; i < cs->count; i++) {
count            3795 drivers/media/v4l2-core/v4l2-ctrls.c 	cs->error_idx = cs->count;
count            3812 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count == 0)
count            3815 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count > ARRAY_SIZE(helper)) {
count            3816 drivers/media/v4l2-core/v4l2-ctrls.c 		helpers = kvmalloc_array(cs->count, sizeof(helper[0]),
count            3825 drivers/media/v4l2-core/v4l2-ctrls.c 		cs->error_idx = cs->count;
count            3826 drivers/media/v4l2-core/v4l2-ctrls.c 	for (i = 0; !ret && i < cs->count; i++) {
count            3902 drivers/media/v4l2-core/v4l2-ctrls.c 	if (cs->count > ARRAY_SIZE(helper))
count             346 drivers/media/v4l2-core/v4l2-ioctl.c 			vbi->count[0], vbi->count[1]);
count             465 drivers/media/v4l2-core/v4l2-ioctl.c 		p->count,
count             520 drivers/media/v4l2-core/v4l2-ioctl.c 			p->index, p->count,
count             594 drivers/media/v4l2-core/v4l2-ioctl.c 			p->which, p->count, p->error_idx, p->request_fd);
count             595 drivers/media/v4l2-core/v4l2-ioctl.c 	for (i = 0; i < p->count; i++) {
count             911 drivers/media/v4l2-core/v4l2-ioctl.c 	for (i = 0; i < c->count; i++)
count             924 drivers/media/v4l2-core/v4l2-ioctl.c 	for (i = 0; i < c->count; i++) {
count            2144 drivers/media/v4l2-core/v4l2-ioctl.c 	ctrls.count = 1;
count            2178 drivers/media/v4l2-core/v4l2-ioctl.c 	ctrls.count = 1;
count            2195 drivers/media/v4l2-core/v4l2-ioctl.c 	p->error_idx = p->count;
count            2216 drivers/media/v4l2-core/v4l2-ioctl.c 	p->error_idx = p->count;
count            2237 drivers/media/v4l2-core/v4l2-ioctl.c 	p->error_idx = p->count;
count            2996 drivers/media/v4l2-core/v4l2-ioctl.c 		if (ctrls->count != 0) {
count            2997 drivers/media/v4l2-core/v4l2-ioctl.c 			if (ctrls->count > V4L2_CID_MAX_CTRLS) {
count            3004 drivers/media/v4l2-core/v4l2-ioctl.c 				    * ctrls->count;
count             457 drivers/media/v4l2-core/v4l2-mem2mem.c 		vq->owner = reqbufs->count ? file->private_data : NULL;
count             442 drivers/media/v4l2-core/videobuf-core.c 	unsigned int size, count;
count             470 drivers/media/v4l2-core/videobuf-core.c 	if (req->count == 0) {
count             471 drivers/media/v4l2-core/videobuf-core.c 		dprintk(1, "reqbufs: count invalid (%d)\n", req->count);
count             476 drivers/media/v4l2-core/videobuf-core.c 	count = req->count;
count             477 drivers/media/v4l2-core/videobuf-core.c 	if (count > VIDEO_MAX_FRAME)
count             478 drivers/media/v4l2-core/videobuf-core.c 		count = VIDEO_MAX_FRAME;
count             480 drivers/media/v4l2-core/videobuf-core.c 	q->ops->buf_setup(q, &count, &size);
count             482 drivers/media/v4l2-core/videobuf-core.c 		count, size,
count             483 drivers/media/v4l2-core/videobuf-core.c 		(unsigned int)((count * PAGE_ALIGN(size)) >> PAGE_SHIFT));
count             485 drivers/media/v4l2-core/videobuf-core.c 	retval = __videobuf_mmap_setup(q, count, size, req->memory);
count             491 drivers/media/v4l2-core/videobuf-core.c 	req->count = retval;
count             787 drivers/media/v4l2-core/videobuf-core.c 				      size_t count, loff_t *ppos)
count             802 drivers/media/v4l2-core/videobuf-core.c 	q->read_buf->bsize  = count;
count             832 drivers/media/v4l2-core/videobuf-core.c 				   char __user *data, size_t count,
count             838 drivers/media/v4l2-core/videobuf-core.c 	if (count > buf->size - q->read_off)
count             839 drivers/media/v4l2-core/videobuf-core.c 		count = buf->size - q->read_off;
count             841 drivers/media/v4l2-core/videobuf-core.c 	if (copy_to_user(data, vaddr + q->read_off, count))
count             844 drivers/media/v4l2-core/videobuf-core.c 	return count;
count             849 drivers/media/v4l2-core/videobuf-core.c 				  char __user *data, size_t count, size_t pos,
count             865 drivers/media/v4l2-core/videobuf-core.c 	count = __videobuf_copy_to_user(q, buf, data, count, nonblocking);
count             867 drivers/media/v4l2-core/videobuf-core.c 	if ((count == -EFAULT) && (pos == 0))
count             870 drivers/media/v4l2-core/videobuf-core.c 	return count;
count             874 drivers/media/v4l2-core/videobuf-core.c 			  char __user *data, size_t count, loff_t *ppos,
count             889 drivers/media/v4l2-core/videobuf-core.c 	    count >= size        &&
count             891 drivers/media/v4l2-core/videobuf-core.c 		retval = videobuf_read_zerocopy(q, data, count, ppos);
count             907 drivers/media/v4l2-core/videobuf-core.c 		q->read_buf->bsize = count; /* preferred size */
count             941 drivers/media/v4l2-core/videobuf-core.c 	retval = __videobuf_copy_to_user(q, q->read_buf, data, count, nonblocking);
count             964 drivers/media/v4l2-core/videobuf-core.c 	unsigned int count = 0, size = 0;
count             967 drivers/media/v4l2-core/videobuf-core.c 	q->ops->buf_setup(q, &count, &size);
count             968 drivers/media/v4l2-core/videobuf-core.c 	if (count < 2)
count             969 drivers/media/v4l2-core/videobuf-core.c 		count = 2;
count             970 drivers/media/v4l2-core/videobuf-core.c 	if (count > VIDEO_MAX_FRAME)
count             971 drivers/media/v4l2-core/videobuf-core.c 		count = VIDEO_MAX_FRAME;
count             974 drivers/media/v4l2-core/videobuf-core.c 	err = __videobuf_mmap_setup(q, count, size, V4L2_MEMORY_USERPTR);
count             978 drivers/media/v4l2-core/videobuf-core.c 	count = err;
count             980 drivers/media/v4l2-core/videobuf-core.c 	for (i = 0; i < count; i++) {
count             988 drivers/media/v4l2-core/videobuf-core.c 	for (i = 0; i < count; i++)
count            1046 drivers/media/v4l2-core/videobuf-core.c 			     char __user *data, size_t count, loff_t *ppos,
count            1066 drivers/media/v4l2-core/videobuf-core.c 	while (count > 0) {
count            1083 drivers/media/v4l2-core/videobuf-core.c 			rc = __videobuf_copy_stream(q, q->read_buf, data + retval, count,
count            1090 drivers/media/v4l2-core/videobuf-core.c 			count       -= rc;
count              68 drivers/media/v4l2-core/videobuf-dma-contig.c 		map, map->count, vma->vm_start, vma->vm_end);
count              70 drivers/media/v4l2-core/videobuf-dma-contig.c 	map->count++;
count              80 drivers/media/v4l2-core/videobuf-dma-contig.c 		map, map->count, vma->vm_start, vma->vm_end);
count              82 drivers/media/v4l2-core/videobuf-dma-contig.c 	map->count--;
count              83 drivers/media/v4l2-core/videobuf-dma-contig.c 	if (0 == map->count) {
count             392 drivers/media/v4l2-core/videobuf-dma-sg.c 		map->count, vma->vm_start, vma->vm_end);
count             394 drivers/media/v4l2-core/videobuf-dma-sg.c 	map->count++;
count             405 drivers/media/v4l2-core/videobuf-dma-sg.c 		map->count, vma->vm_start, vma->vm_end);
count             407 drivers/media/v4l2-core/videobuf-dma-sg.c 	map->count--;
count             408 drivers/media/v4l2-core/videobuf-dma-sg.c 	if (0 == map->count) {
count             636 drivers/media/v4l2-core/videobuf-dma-sg.c 	map->count    = 1;
count              56 drivers/media/v4l2-core/videobuf-vmalloc.c 		map->count, vma->vm_start, vma->vm_end);
count              58 drivers/media/v4l2-core/videobuf-vmalloc.c 	map->count++;
count              68 drivers/media/v4l2-core/videobuf-vmalloc.c 		map->count, vma->vm_start, vma->vm_end);
count              70 drivers/media/v4l2-core/videobuf-vmalloc.c 	map->count--;
count              71 drivers/media/v4l2-core/videobuf-vmalloc.c 	if (0 == map->count) {
count             721 drivers/memory/brcmstb_dpfe.c 			  const char *buf, size_t count)
count             743 drivers/memory/brcmstb_dpfe.c 	return count;
count              69 drivers/memory/jz4780-nemc.c 	unsigned int bank, count = 0;
count              77 drivers/memory/jz4780-nemc.c 			count++;
count              81 drivers/memory/jz4780-nemc.c 	return count;
count              63 drivers/memstick/core/mspro_block.c 	unsigned char           count;
count             697 drivers/memstick/core/mspro_block.c 	unsigned int count;
count             723 drivers/memstick/core/mspro_block.c 		count = blk_rq_bytes(msb->block_req);
count             725 drivers/memstick/core/mspro_block.c 		msb->setup_transfer(card, t_off, count);
count            1010 drivers/memstick/core/mspro_block.c 	if (attr->count > MSPRO_BLOCK_MAX_ATTRIBUTES) {
count            1015 drivers/memstick/core/mspro_block.c 		attr_count = attr->count;
count            3344 drivers/message/fusion/mptbase.c 	int			 count;
count            3424 drivers/message/fusion/mptbase.c 	count = 0;
count            3436 drivers/message/fusion/mptbase.c 					ioc->name, (int)((count+5)/HZ));
count            3441 drivers/message/fusion/mptbase.c 		count++;
count            3444 drivers/message/fusion/mptbase.c 			ioc->name, count));
count            3684 drivers/message/fusion/mptbase.c 	int			 count;
count            3713 drivers/message/fusion/mptbase.c 	for (count = 0; count < 30; count ++) {
count            3717 drivers/message/fusion/mptbase.c 				ioc->name, count));
count            3728 drivers/message/fusion/mptbase.c 	if ( count == 30 ) {
count            3843 drivers/message/fusion/mptbase.c 	for (count=0; count<HZ*20; count++) {
count            3847 drivers/message/fusion/mptbase.c 				ioc->name, count, ioc_state));
count            3972 drivers/message/fusion/mptbase.c 	int count = 0;
count            4006 drivers/message/fusion/mptbase.c 		for (count = 0; count < 60; count ++) {
count            4013 drivers/message/fusion/mptbase.c 				ioc->name, doorbell, count));
count            4060 drivers/message/fusion/mptbase.c 			count++;
count            4061 drivers/message/fusion/mptbase.c 			if (count > 20) {
count            4124 drivers/message/fusion/mptbase.c 			for (count = 0; count < 30; count ++) {
count            4131 drivers/message/fusion/mptbase.c 					ioc->name, diag0val, count));
count            4139 drivers/message/fusion/mptbase.c 			if ((count = mpt_downloadboot(ioc, cached_fw, sleepFlag)) < 0) {
count            4141 drivers/message/fusion/mptbase.c 					"firmware downloadboot failure (%d)!\n", ioc->name, count);
count            4151 drivers/message/fusion/mptbase.c 			for (count = 0; count < 60; count ++) {
count            4157 drivers/message/fusion/mptbase.c 				    " count=%d\n", ioc->name, doorbell, count));
count            4190 drivers/message/fusion/mptbase.c 	count = 0;
count            4209 drivers/message/fusion/mptbase.c 		count++;
count            4210 drivers/message/fusion/mptbase.c 		if (count > 20) {
count            4273 drivers/message/fusion/mptbase.c 	int cntdn, count;
count            4283 drivers/message/fusion/mptbase.c 	count = 0;
count            4288 drivers/message/fusion/mptbase.c 		count++;
count            4291 drivers/message/fusion/mptbase.c 				count *= 10;
count            4295 drivers/message/fusion/mptbase.c 			    ioc->name, state, (int)((count+5)/HZ));
count            4769 drivers/message/fusion/mptbase.c 	int count = 0;
count            4780 drivers/message/fusion/mptbase.c 			count++;
count            4788 drivers/message/fusion/mptbase.c 			count++;
count            4794 drivers/message/fusion/mptbase.c 				ioc->name, count));
count            4795 drivers/message/fusion/mptbase.c 		return count;
count            4799 drivers/message/fusion/mptbase.c 			ioc->name, count, intstat);
count            4819 drivers/message/fusion/mptbase.c 	int count = 0;
count            4829 drivers/message/fusion/mptbase.c 			count++;
count            4837 drivers/message/fusion/mptbase.c 			count++;
count            4843 drivers/message/fusion/mptbase.c 				ioc->name, count, howlong));
count            4844 drivers/message/fusion/mptbase.c 		return count;
count            4848 drivers/message/fusion/mptbase.c 			ioc->name, count, intstat);
count             741 drivers/message/fusion/mptfc.c 	int			 count = 400;
count             809 drivers/message/fusion/mptfc.c 				if (count-- > 0) {
count             611 drivers/message/fusion/mptlan.c 	u8 count;
count             613 drivers/message/fusion/mptlan.c 	count = pSendRep->NumberOfContexts;
count             622 drivers/message/fusion/mptlan.c 		dev->stats.tx_packets += count;
count             630 drivers/message/fusion/mptlan.c 		dev->stats.tx_errors += count;
count             636 drivers/message/fusion/mptlan.c 		dev->stats.tx_errors += count;
count             643 drivers/message/fusion/mptlan.c 	while (count > 0) {
count             661 drivers/message/fusion/mptlan.c 		count--;
count             912 drivers/message/fusion/mptlan.c 	int count;
count             915 drivers/message/fusion/mptlan.c 	count = pRecvRep->NumberOfContexts;
count             918 drivers/message/fusion/mptlan.c 		  "IOC returned %d buckets, freeing them...\n", count));
count             921 drivers/message/fusion/mptlan.c 	for (i = 0; i < count; i++) {
count             941 drivers/message/fusion/mptlan.c 	atomic_sub(count, &priv->buckets_out);
count             968 drivers/message/fusion/mptlan.c 	int count;
count             990 drivers/message/fusion/mptlan.c 	count  = pRecvRep->NumberOfContexts;
count            1005 drivers/message/fusion/mptlan.c 	if (count > 1) {
count            1021 drivers/message/fusion/mptlan.c 		for (i = 0; i < count; i++) {
count            1093 drivers/message/fusion/mptlan.c 	atomic_sub(count, &priv->buckets_out);
count            1094 drivers/message/fusion/mptlan.c 	priv->total_received += count;
count            1149 drivers/message/fusion/mptlan.c 	u32 curr, buckets, count, max;
count            1177 drivers/message/fusion/mptlan.c 		count = buckets;
count            1178 drivers/message/fusion/mptlan.c 		if (count > max)
count            1179 drivers/message/fusion/mptlan.c 			count = max;
count            1189 drivers/message/fusion/mptlan.c 		for (i = 0; i < count; i++) {
count            3203 drivers/message/fusion/mptscsih.c 			   const char *buf, size_t count)
count              45 drivers/mfd/88pm860x-i2c.c 		     int count, unsigned char *buf)
count              52 drivers/mfd/88pm860x-i2c.c 	ret = regmap_raw_read(map, reg, buf, count);
count              58 drivers/mfd/88pm860x-i2c.c 		      int count, unsigned char *buf)
count              65 drivers/mfd/88pm860x-i2c.c 	ret = regmap_raw_write(map, reg, buf, count);
count             159 drivers/mfd/88pm860x-i2c.c 			  int count, unsigned char *buf)
count             168 drivers/mfd/88pm860x-i2c.c 	ret = read_device(i2c, reg, count, buf);
count             219 drivers/mfd/aat2870-core.c 	ssize_t count = 0;
count             222 drivers/mfd/aat2870-core.c 	count += sprintf(buf, "aat2870 registers\n");
count             224 drivers/mfd/aat2870-core.c 		count += sprintf(buf + count, "0x%02x: ", addr);
count             225 drivers/mfd/aat2870-core.c 		if (count >= PAGE_SIZE - 1)
count             230 drivers/mfd/aat2870-core.c 			count += snprintf(buf + count, PAGE_SIZE - count,
count             233 drivers/mfd/aat2870-core.c 			count += snprintf(buf + count, PAGE_SIZE - count,
count             236 drivers/mfd/aat2870-core.c 		if (count >= PAGE_SIZE - 1)
count             239 drivers/mfd/aat2870-core.c 		count += snprintf(buf + count, PAGE_SIZE - count, "\n");
count             240 drivers/mfd/aat2870-core.c 		if (count >= PAGE_SIZE - 1)
count             245 drivers/mfd/aat2870-core.c 	if (count >= PAGE_SIZE)
count             246 drivers/mfd/aat2870-core.c 		count = PAGE_SIZE - 1;
count             248 drivers/mfd/aat2870-core.c 	return count;
count             252 drivers/mfd/aat2870-core.c 				     size_t count, loff_t *ppos)
count             264 drivers/mfd/aat2870-core.c 		ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count             272 drivers/mfd/aat2870-core.c 				      const char __user *user_buf, size_t count,
count             282 drivers/mfd/aat2870-core.c 	buf_size = min(count, (size_t)(sizeof(buf)-1));
count             489 drivers/mfd/ab3100-core.c 				  size_t count, loff_t *ppos)
count             501 drivers/mfd/ab3100-core.c 	buf_size = min(count, (sizeof(buf)-1));
count            1001 drivers/mfd/ab8500-core.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1004 drivers/mfd/ab8500-core.c 	int ret = count;
count            1010 drivers/mfd/ab8500-core.c 	if (count > 0) {
count            1405 drivers/mfd/ab8500-debugfs.c 	size_t count, loff_t *ppos)
count            1411 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_bank);
count            1422 drivers/mfd/ab8500-debugfs.c 	return count;
count            1438 drivers/mfd/ab8500-debugfs.c 				    size_t count, loff_t *ppos)
count            1444 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_address);
count            1454 drivers/mfd/ab8500-debugfs.c 	return count;
count            1482 drivers/mfd/ab8500-debugfs.c 				size_t count, loff_t *ppos)
count            1488 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_val);
count            1503 drivers/mfd/ab8500-debugfs.c 	return count;
count            2105 drivers/mfd/ab8500-debugfs.c 	size_t count, loff_t *ppos)
count            2111 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_avg_sample);
count            2125 drivers/mfd/ab8500-debugfs.c 	return count;
count            2152 drivers/mfd/ab8500-debugfs.c 	size_t count, loff_t *ppos)
count            2158 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_trig_edge);
count            2172 drivers/mfd/ab8500-debugfs.c 	return count;
count            2199 drivers/mfd/ab8500-debugfs.c 	size_t count, loff_t *ppos)
count            2205 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_trig_timer);
count            2217 drivers/mfd/ab8500-debugfs.c 	return count;
count            2244 drivers/mfd/ab8500-debugfs.c 	size_t count, loff_t *ppos)
count            2250 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_conv_type);
count            2264 drivers/mfd/ab8500-debugfs.c 	return count;
count            2431 drivers/mfd/ab8500-debugfs.c 	const char __user *user_buf, size_t count, loff_t *ppos)
count            2438 drivers/mfd/ab8500-debugfs.c 	buf_size = min(count, (sizeof(buf)-1));
count            2489 drivers/mfd/ab8500-debugfs.c 				      size_t count, loff_t *ppos)
count            2496 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_val);
count            2546 drivers/mfd/ab8500-debugfs.c 	return count;
count            2551 drivers/mfd/ab8500-debugfs.c 					size_t count, loff_t *ppos)
count            2558 drivers/mfd/ab8500-debugfs.c 	err = kstrtoul_from_user(user_buf, count, 0, &user_val);
count            2586 drivers/mfd/ab8500-debugfs.c 	return count;
count              23 drivers/mfd/da9150-core.c static int da9150_i2c_read_device(struct i2c_client *client, u8 addr, int count,
count              51 drivers/mfd/da9150-core.c 	xfer.len = count;
count              64 drivers/mfd/da9150-core.c 				   int count, const u8 *buf)
count              70 drivers/mfd/da9150-core.c 	reg_data = kzalloc(1 + count, GFP_KERNEL);
count              75 drivers/mfd/da9150-core.c 	memcpy(&reg_data[1], buf, count);
count              80 drivers/mfd/da9150-core.c 	xfer.len = 1 + count;
count             177 drivers/mfd/da9150-core.c void da9150_read_qif(struct da9150 *da9150, u8 addr, int count, u8 *buf)
count             181 drivers/mfd/da9150-core.c 	ret = da9150_i2c_read_device(da9150->core_qif, addr, count, buf);
count             188 drivers/mfd/da9150-core.c void da9150_write_qif(struct da9150 *da9150, u8 addr, int count, const u8 *buf)
count             192 drivers/mfd/da9150-core.c 	ret = da9150_i2c_write_device(da9150->core_qif, addr, count, buf);
count             234 drivers/mfd/da9150-core.c void da9150_bulk_read(struct da9150 *da9150, u16 reg, int count, u8 *buf)
count             238 drivers/mfd/da9150-core.c 	ret = regmap_bulk_read(da9150->regmap, reg, buf, count);
count             245 drivers/mfd/da9150-core.c void da9150_bulk_write(struct da9150 *da9150, u16 reg, int count, const u8 *buf)
count             249 drivers/mfd/da9150-core.c 	ret = regmap_raw_write(da9150->regmap, reg, buf, count);
count             227 drivers/mfd/intel_msic.c int intel_msic_bulk_read(unsigned short *reg, u8 *buf, size_t count)
count             229 drivers/mfd/intel_msic.c 	if (WARN_ON(count > SCU_IPC_RWBUF_LIMIT))
count             232 drivers/mfd/intel_msic.c 	return intel_scu_ipc_readv(reg, buf, count);
count             248 drivers/mfd/intel_msic.c int intel_msic_bulk_write(unsigned short *reg, u8 *buf, size_t count)
count             250 drivers/mfd/intel_msic.c 	if (WARN_ON(count > SCU_IPC_RWBUF_LIMIT))
count             253 drivers/mfd/intel_msic.c 	return intel_scu_ipc_writev(reg, buf, count);
count             344 drivers/mfd/intel_soc_pmic_bxtwc.c 	struct device_attribute *attr, const char *buf, size_t count)
count             350 drivers/mfd/intel_soc_pmic_bxtwc.c 	return (ssize_t)count;
count             370 drivers/mfd/intel_soc_pmic_bxtwc.c 	struct device_attribute *attr, const char *buf, size_t count)
count             386 drivers/mfd/intel_soc_pmic_bxtwc.c 	return count;
count             138 drivers/mfd/lp8788.c int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count)
count             140 drivers/mfd/lp8788.c 	return regmap_bulk_read(lp->regmap, reg, data, count);
count              81 drivers/mfd/max8925-i2c.c 		int count, unsigned char *buf)
count              87 drivers/mfd/max8925-i2c.c 	ret = max8925_read_device(i2c, reg, count, buf);
count              95 drivers/mfd/max8925-i2c.c 		int count, unsigned char *buf)
count             101 drivers/mfd/max8925-i2c.c 	ret = max8925_write_device(i2c, reg, count, buf);
count              63 drivers/mfd/max8997.c int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf)
count              69 drivers/mfd/max8997.c 	ret = i2c_smbus_read_i2c_block_data(i2c, reg, count, buf);
count              90 drivers/mfd/max8997.c int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf)
count              96 drivers/mfd/max8997.c 	ret = i2c_smbus_write_i2c_block_data(i2c, reg, count, buf);
count              59 drivers/mfd/max8998.c int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf)
count              65 drivers/mfd/max8998.c 	ret = i2c_smbus_read_i2c_block_data(i2c, reg, count, buf);
count              86 drivers/mfd/max8998.c int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf)
count              92 drivers/mfd/max8998.c 	ret = i2c_smbus_write_i2c_block_data(i2c, reg, count, buf);
count              90 drivers/mfd/mc13xxx-spi.c static int mc13xxx_spi_write(void *context, const void *data, size_t count)
count              96 drivers/mfd/mc13xxx-spi.c 	if (count != 4)
count             101 drivers/mfd/mc13xxx-spi.c 		spi_write(spi, data, count);
count             103 drivers/mfd/mc13xxx-spi.c 	return spi_write(spi, data, count);
count             448 drivers/mfd/qcom_rpm.c 		   u32 *buf, size_t count)
count             461 drivers/mfd/qcom_rpm.c 	if (WARN_ON(res->size != count))
count             206 drivers/mfd/retu-mfd.c static int retu_regmap_write(void *context, const void *data, size_t count)
count             213 drivers/mfd/retu-mfd.c 	BUG_ON(count != sizeof(reg) + sizeof(val));
count             436 drivers/mfd/si476x-i2c.c 		    char *buf, int count)
count             441 drivers/mfd/si476x-i2c.c 		err = i2c_master_send(core->client, buf, count);
count             443 drivers/mfd/si476x-i2c.c 		err = i2c_master_recv(core->client, buf, count);
count             112 drivers/mfd/sprd-sc27xx-spi.c static int sprd_pmic_spi_write(void *context, const void *data, size_t count)
count             117 drivers/mfd/sprd-sc27xx-spi.c 	return spi_write(spi, data, count);
count             538 drivers/mfd/wm831x-core.c 		     int count, u16 *buf)
count             540 drivers/mfd/wm831x-core.c 	return regmap_bulk_read(wm831x->regmap, reg, buf, count);
count             445 drivers/misc/ad525x_dpot.c 			     const char *buf, size_t count, u32 reg)
count             457 drivers/misc/ad525x_dpot.c 		return count;
count             479 drivers/misc/ad525x_dpot.c 	return count;
count             484 drivers/misc/ad525x_dpot.c 			    const char *buf, size_t count, u32 reg)
count             492 drivers/misc/ad525x_dpot.c 	return count;
count             507 drivers/misc/ad525x_dpot.c 			 const char *buf, size_t count) \
count             509 drivers/misc/ad525x_dpot.c 	return sysfs_set_reg(dev, attr, buf, count, _reg); \
count             612 drivers/misc/ad525x_dpot.c 			 const char *buf, size_t count) \
count             614 drivers/misc/ad525x_dpot.c 	return sysfs_do_cmd(dev, attr, buf, count, _cmd); \
count             117 drivers/misc/altera-stapl/altera-jtag.c 				u32 count, u32 start_index,
count             124 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->dr_pre) {
count             126 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_pre_data = (u8 *)alt_malloc((count + 7) >> 3);
count             130 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_pre = count;
count             132 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_pre = count;
count             135 drivers/misc/altera-stapl/altera-jtag.c 		for (i = 0; i < count; ++i) {
count             155 drivers/misc/altera-stapl/altera-jtag.c int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
count             162 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->ir_pre) {
count             164 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_pre_data = (u8 *)alt_malloc((count + 7) >> 3);
count             168 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_pre = count;
count             171 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_pre = count;
count             174 drivers/misc/altera-stapl/altera-jtag.c 		for (i = 0; i < count; ++i) {
count             193 drivers/misc/altera-stapl/altera-jtag.c int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
count             200 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->dr_post) {
count             202 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_post_data = (u8 *)alt_malloc((count + 7) >> 3);
count             207 drivers/misc/altera-stapl/altera-jtag.c 			js->dr_post = count;
count             210 drivers/misc/altera-stapl/altera-jtag.c 		js->dr_post = count;
count             213 drivers/misc/altera-stapl/altera-jtag.c 		for (i = 0; i < count; ++i) {
count             233 drivers/misc/altera-stapl/altera-jtag.c int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
count             240 drivers/misc/altera-stapl/altera-jtag.c 	if (count > js->ir_post) {
count             242 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_post_data = (u8 *)alt_malloc((count + 7) >> 3);
count             246 drivers/misc/altera-stapl/altera-jtag.c 			js->ir_post = count;
count             249 drivers/misc/altera-stapl/altera-jtag.c 		js->ir_post = count;
count             254 drivers/misc/altera-stapl/altera-jtag.c 	for (i = 0; i < count; ++i) {
count             290 drivers/misc/altera-stapl/altera-jtag.c 	int count = 0;
count             311 drivers/misc/altera-stapl/altera-jtag.c 		while ((js->jtag_state != state) && (count < 9)) {
count             327 drivers/misc/altera-stapl/altera-jtag.c 			++count;
count             343 drivers/misc/altera-stapl/altera-jtag.c 	s32 count;
count             356 drivers/misc/altera-stapl/altera-jtag.c 		for (count = 0L; count < cycles; count++)
count             436 drivers/misc/altera-stapl/altera-jtag.c 			int count,
count             474 drivers/misc/altera-stapl/altera-jtag.c 		for (i = 0; i < count; i++) {
count             476 drivers/misc/altera-stapl/altera-jtag.c 					(i == count - 1),
count             497 drivers/misc/altera-stapl/altera-jtag.c 		    int count,
count             538 drivers/misc/altera-stapl/altera-jtag.c 		for (i = 0; i < count; i++) {
count             540 drivers/misc/altera-stapl/altera-jtag.c 				      (i == count - 1),
count             584 drivers/misc/altera-stapl/altera-jtag.c 				u32 count,
count             592 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->ir_pre + count + js->ir_post;
count             658 drivers/misc/altera-stapl/altera-jtag.c 					count,
count             681 drivers/misc/altera-stapl/altera-jtag.c 			    u32 count,
count             691 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->ir_pre + count + js->ir_post;
count             757 drivers/misc/altera-stapl/altera-jtag.c 					count,
count             781 drivers/misc/altera-stapl/altera-jtag.c 					js->ir_pre, count);
count             787 drivers/misc/altera-stapl/altera-jtag.c 				u32 count,
count             795 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->dr_pre + count + js->dr_post;
count             861 drivers/misc/altera-stapl/altera-jtag.c 					count,
count             878 drivers/misc/altera-stapl/altera-jtag.c int altera_swap_dr(struct altera_state *astate, u32 count,
count             886 drivers/misc/altera-stapl/altera-jtag.c 	u32 shift_count = js->dr_pre + count + js->dr_post;
count             953 drivers/misc/altera-stapl/altera-jtag.c 				count,
count             978 drivers/misc/altera-stapl/altera-jtag.c 					count);
count              73 drivers/misc/altera-stapl/altera-jtag.h int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
count              75 drivers/misc/altera-stapl/altera-jtag.h int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
count              77 drivers/misc/altera-stapl/altera-jtag.h int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
count              79 drivers/misc/altera-stapl/altera-jtag.h int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
count              87 drivers/misc/altera-stapl/altera-jtag.h int altera_irscan(struct altera_state *astate, u32 count,
count              90 drivers/misc/altera-stapl/altera-jtag.h 				u32 count, u8 *in_data,
count              93 drivers/misc/altera-stapl/altera-jtag.h int altera_drscan(struct altera_state *astate, u32 count,
count              95 drivers/misc/altera-stapl/altera-jtag.h int altera_swap_dr(struct altera_state *astate, u32 count,
count             120 drivers/misc/altera-stapl/altera.c static int altera_check_stack(int stack_ptr, int count, int *status)
count             122 drivers/misc/altera-stapl/altera.c 	if (stack_ptr < count) {
count             138 drivers/misc/altera-stapl/altera.c static void altera_export_bool_array(char *key, u8 *data, s32 count)
count             144 drivers/misc/altera-stapl/altera.c 	if (count > HEX_LINE_BITS) {
count             146 drivers/misc/altera-stapl/altera.c 							key, count);
count             147 drivers/misc/altera-stapl/altera.c 		lines = (count + (HEX_LINE_BITS - 1)) / HEX_LINE_BITS;
count             153 drivers/misc/altera-stapl/altera.c 				offset = count - ((line + 1) * HEX_LINE_BITS);
count             156 drivers/misc/altera-stapl/altera.c 					count - ((lines - 1) * HEX_LINE_BITS);
count             182 drivers/misc/altera-stapl/altera.c 		size = (count + 3) / 4;
count             187 drivers/misc/altera-stapl/altera.c 		for (i = 0; i < count; ++i) {
count             200 drivers/misc/altera-stapl/altera.c 			key, count, string);
count             247 drivers/misc/altera-stapl/altera.c 	u32 count;
count             680 drivers/misc/altera-stapl/altera.c 				count = stack[stack_ptr - 1];
count             682 drivers/misc/altera-stapl/altera.c 				if ((count < 1) || (count > 32))
count             685 drivers/misc/altera-stapl/altera.c 					long_tmp &= ((-1L) >> (32 - count));
count             719 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             721 drivers/misc/altera-stapl/altera.c 			status = altera_drscan(astate, count, charbuf, 0);
count             732 drivers/misc/altera-stapl/altera.c 			count = stack[stack_ptr - 1];
count             734 drivers/misc/altera-stapl/altera.c 			status = altera_swap_dr(astate, count, charbuf,
count             747 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             749 drivers/misc/altera-stapl/altera.c 			status = altera_irscan(astate, count, charbuf, 0);
count             760 drivers/misc/altera-stapl/altera.c 			count = stack[stack_ptr - 1];
count             762 drivers/misc/altera-stapl/altera.c 			status = altera_swap_ir(astate, count, charbuf,
count             769 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             770 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, 0, NULL);
count             780 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             783 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, 0,
count             792 drivers/misc/altera-stapl/altera.c 				count = stack[--stack_ptr];
count             793 drivers/misc/altera-stapl/altera.c 				status = altera_set_dr_post(&astate->js, count,
count             805 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             808 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_post(&astate->js, count, 0,
count             813 drivers/misc/altera-stapl/altera.c 				count = stack[--stack_ptr];
count             814 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_pre(&astate->js, count,
count             825 drivers/misc/altera-stapl/altera.c 				count = stack[--stack_ptr];
count             828 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_pre(&astate->js, count,
count             838 drivers/misc/altera-stapl/altera.c 				count = stack[--stack_ptr];
count             839 drivers/misc/altera-stapl/altera.c 				status = altera_set_ir_post(&astate->js, count,
count             851 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count             854 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_post(&astate->js, count, 0,
count             860 drivers/misc/altera-stapl/altera.c 				count = strlen(msg_buff);
count             870 drivers/misc/altera-stapl/altera.c 				msg_buff[count] = ch;
count             871 drivers/misc/altera-stapl/altera.c 				msg_buff[count + 1] = '\0';
count            1037 drivers/misc/altera-stapl/altera.c 			count = strlen(msg_buff);
count            1038 drivers/misc/altera-stapl/altera.c 			strlcpy(&msg_buff[count],
count            1040 drivers/misc/altera-stapl/altera.c 				ALTERA_MESSAGE_LENGTH - count);
count            1123 drivers/misc/altera-stapl/altera.c 				count = var_size[variable_id];
count            1125 drivers/misc/altera-stapl/altera.c 				longptr_tmp = kcalloc(count, sizeof(long),
count            1135 drivers/misc/altera-stapl/altera.c 				for (i = 0; i < count; ++i) {
count            1387 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count            1394 drivers/misc/altera-stapl/altera.c 				count = 1 + count - index;
count            1397 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_pre(&astate->js, count, index,
count            1410 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count            1417 drivers/misc/altera-stapl/altera.c 				count = 1 + count - index;
count            1420 drivers/misc/altera-stapl/altera.c 			status = altera_set_dr_post(&astate->js, count, index,
count            1433 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count            1440 drivers/misc/altera-stapl/altera.c 				count = 1 + count - index;
count            1443 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_pre(&astate->js, count, index,
count            1457 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count            1464 drivers/misc/altera-stapl/altera.c 				count = 1 + count - index;
count            1467 drivers/misc/altera-stapl/altera.c 			status = altera_set_ir_post(&astate->js, count, index,
count            1529 drivers/misc/altera-stapl/altera.c 			count = stack[--stack_ptr];
count            1539 drivers/misc/altera-stapl/altera.c 				count = 1 + count - index;
count            1541 drivers/misc/altera-stapl/altera.c 			if ((count < 1) || (count > 32)) {
count            1548 drivers/misc/altera-stapl/altera.c 			for (i = 0; i < count; ++i)
count            1606 drivers/misc/altera-stapl/altera.c 				count = ((var_size[variable_id] + 7L) /
count            1609 drivers/misc/altera-stapl/altera.c 				for (index = 0; index < count; ++index)
count            1752 drivers/misc/altera-stapl/altera.c 			count = copy_count;
count            1812 drivers/misc/altera-stapl/altera.c 			if (count < 1) {
count            1818 drivers/misc/altera-stapl/altera.c 				index2 += (count - 1);
count            1820 drivers/misc/altera-stapl/altera.c 			for (i = 0; i < count; ++i) {
count            2056 drivers/misc/altera-stapl/altera.c 				count = long_count;
count            2058 drivers/misc/altera-stapl/altera.c 				for (i = 0; i < count; ++i) {
count             109 drivers/misc/apds9802als.c 		struct device_attribute *attr, const  char *buf, size_t count)
count             151 drivers/misc/apds9802als.c 		return count;
count             631 drivers/misc/bh1770glc.c 				      const char *buf, size_t count)
count             666 drivers/misc/bh1770glc.c 	ret = count;
count             709 drivers/misc/bh1770glc.c 				      const char *buf, size_t count)
count             736 drivers/misc/bh1770glc.c 	return count;
count             809 drivers/misc/bh1770glc.c 					const char *buf, size_t count)
count             822 drivers/misc/bh1770glc.c 	return count;
count             827 drivers/misc/bh1770glc.c 					const char *buf, size_t count)
count             840 drivers/misc/bh1770glc.c 	return count;
count             852 drivers/misc/bh1770glc.c 				      const char *buf, size_t count)
count             871 drivers/misc/bh1770glc.c 	return count;
count            1007 drivers/misc/bh1770glc.c 				      const char *buf, size_t count)
count            1029 drivers/misc/bh1770glc.c 	return count;
count             351 drivers/misc/c2port/core.c 			    const char *buf, size_t count)
count             375 drivers/misc/c2port/core.c 	return count;
count             381 drivers/misc/c2port/core.c 				const char *buf, size_t count)
count             396 drivers/misc/c2port/core.c 	return count;
count             520 drivers/misc/c2port/core.c 				const char *buf, size_t count)
count             540 drivers/misc/c2port/core.c 	return count;
count             604 drivers/misc/c2port/core.c 				const char *buf, size_t count)
count             622 drivers/misc/c2port/core.c 	return count;
count             627 drivers/misc/c2port/core.c 				char *buffer, loff_t offset, size_t count)
count             639 drivers/misc/c2port/core.c 	if (count < nread)
count             640 drivers/misc/c2port/core.c 		nread = count;
count             718 drivers/misc/c2port/core.c 				char *buffer, loff_t offset, size_t count)
count             728 drivers/misc/c2port/core.c 	ret = __c2port_read_flash_data(c2dev, buffer, offset, count);
count             738 drivers/misc/c2port/core.c 				char *buffer, loff_t offset, size_t count)
count             744 drivers/misc/c2port/core.c 	if (nwrite > count)
count             745 drivers/misc/c2port/core.c 		nwrite = count;
count             833 drivers/misc/c2port/core.c 				char *buffer, loff_t offset, size_t count)
count             843 drivers/misc/c2port/core.c 	ret = __c2port_write_flash_data(c2dev, buffer, offset, count);
count             453 drivers/misc/cardreader/rtsx_pcr.c 	int err = 0, count;
count             456 drivers/misc/cardreader/rtsx_pcr.c 	count = rtsx_pci_dma_map_sg(pcr, sglist, num_sg, read);
count             457 drivers/misc/cardreader/rtsx_pcr.c 	if (count < 1)
count             459 drivers/misc/cardreader/rtsx_pcr.c 	pcr_dbg(pcr, "DMA mapping count: %d\n", count);
count             461 drivers/misc/cardreader/rtsx_pcr.c 	err = rtsx_pci_dma_transfer(pcr, sglist, count, read, timeout);
count             494 drivers/misc/cardreader/rtsx_pcr.c 		int count, bool read, int timeout)
count             509 drivers/misc/cardreader/rtsx_pcr.c 	if ((sglist == NULL) || (count < 1))
count             514 drivers/misc/cardreader/rtsx_pcr.c 	for_each_sg(sglist, sg, count, i) {
count             517 drivers/misc/cardreader/rtsx_pcr.c 		rtsx_pci_add_sg_tbl(pcr, addr, len, i == count - 1);
count             377 drivers/misc/cxl/api.c ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
count             380 drivers/misc/cxl/api.c 	return afu_read(file, buf, count, off);
count             523 drivers/misc/cxl/api.c ssize_t cxl_read_adapter_vpd(struct pci_dev *dev, void *buf, size_t count)
count             529 drivers/misc/cxl/api.c 	return cxl_ops->read_adapter_vpd(afu->adapter, buf, count);
count             109 drivers/misc/cxl/base.c 	int count = 0;
count             120 drivers/misc/cxl/base.c 			count++;
count             122 drivers/misc/cxl/base.c 	pr_devel("Found %d cxl device(s)\n", count);
count             850 drivers/misc/cxl/cxl.h 				loff_t off, size_t count);
count             896 drivers/misc/cxl/cxl.h int afu_register_irqs(struct cxl_context *ctx, u32 count);
count            1038 drivers/misc/cxl/cxl.h int afu_allocate_irqs(struct cxl_context *ctx, u32 count);
count            1045 drivers/misc/cxl/cxl.h ssize_t afu_read(struct file *file, char __user *buf, size_t count, loff_t *off);
count            1087 drivers/misc/cxl/cxl.h 				loff_t off, size_t count);
count            1099 drivers/misc/cxl/cxl.h 	ssize_t (*read_adapter_vpd)(struct cxl *adapter, void *buf, size_t count);
count             424 drivers/misc/cxl/file.c ssize_t afu_read(struct file *file, char __user *buf, size_t count,
count             437 drivers/misc/cxl/file.c 	if (count < CXL_READ_MIN_SIZE)
count             675 drivers/misc/cxl/guest.c 					loff_t off, size_t count)
count             687 drivers/misc/cxl/guest.c 			       count);
count             691 drivers/misc/cxl/guest.c 	if (count > ERR_BUFF_MAX_COPY_SIZE)
count             692 drivers/misc/cxl/guest.c 		count = ERR_BUFF_MAX_COPY_SIZE - (off & 0x7);
count             693 drivers/misc/cxl/guest.c 	memcpy(buf, tbuf, count);
count             291 drivers/misc/cxl/irq.c int afu_allocate_irqs(struct cxl_context *ctx, u32 count)
count             306 drivers/misc/cxl/irq.c 		alloc_count = count;
count             308 drivers/misc/cxl/irq.c 		alloc_count = count + 1;
count             320 drivers/misc/cxl/irq.c 	ctx->irq_count = count;
count             321 drivers/misc/cxl/irq.c 	ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count),
count             389 drivers/misc/cxl/irq.c int afu_register_irqs(struct cxl_context *ctx, u32 count)
count             393 drivers/misc/cxl/irq.c 	rc = afu_allocate_irqs(ctx, count);
count            1036 drivers/misc/cxl/pci.c 				loff_t off, size_t count)
count            1043 drivers/misc/cxl/pci.c 	if (count == 0 || off < 0 || (size_t)off >= afu->eb_len)
count            1047 drivers/misc/cxl/pci.c 	count = min((size_t)(afu->eb_len - off), count);
count            1049 drivers/misc/cxl/pci.c 	aligned_end = round_up(off + count, 8);
count            1055 drivers/misc/cxl/pci.c 		count = ERR_BUFF_MAX_COPY_SIZE - (off & 0x7);
count            1065 drivers/misc/cxl/pci.c 	memcpy(buf, tbuf + (off & 0x7), count);
count            1069 drivers/misc/cxl/pci.c 	return count;
count              88 drivers/misc/cxl/sysfs.c 				   const char *buf, size_t count)
count             119 drivers/misc/cxl/sysfs.c 	return rc ? rc : count;
count             138 drivers/misc/cxl/sysfs.c 				 const char *buf, size_t count)
count             157 drivers/misc/cxl/sysfs.c 	return count;
count             171 drivers/misc/cxl/sysfs.c 				 const char *buf, size_t count)
count             182 drivers/misc/cxl/sysfs.c 	return count;
count             249 drivers/misc/cxl/sysfs.c 			       const char *buf, size_t count)
count             264 drivers/misc/cxl/sysfs.c 	rc = count;
count             290 drivers/misc/cxl/sysfs.c 				  const char *buf, size_t count)
count             313 drivers/misc/cxl/sysfs.c 	return count;
count             347 drivers/misc/cxl/sysfs.c 			  const char *buf, size_t count)
count             371 drivers/misc/cxl/sysfs.c 	return count;
count             388 drivers/misc/cxl/sysfs.c 			  const char *buf, size_t count)
count             426 drivers/misc/cxl/sysfs.c 	return count;
count             448 drivers/misc/cxl/sysfs.c 			       loff_t off, size_t count)
count             452 drivers/misc/cxl/sysfs.c 	return cxl_ops->afu_read_err_buffer(afu, buf, off, count);
count             542 drivers/misc/cxl/sysfs.c 			       loff_t off, size_t count)
count             549 drivers/misc/cxl/sysfs.c 	for (i = 0; i < count;) {
count             553 drivers/misc/cxl/sysfs.c 		for (j = off & 0x7; j < 8 && i < count; i++, j++, off++)
count             557 drivers/misc/cxl/sysfs.c 	return count;
count              98 drivers/misc/ds1682.c 			    const char *buf, size_t count)
count             130 drivers/misc/ds1682.c 	return count;
count             157 drivers/misc/ds1682.c 				  char *buf, loff_t off, size_t count)
count             163 drivers/misc/ds1682.c 		buf, off, count);
count             166 drivers/misc/ds1682.c 					   count, buf);
count             170 drivers/misc/ds1682.c 	return count;
count             175 drivers/misc/ds1682.c 				   char *buf, loff_t off, size_t count)
count             180 drivers/misc/ds1682.c 		buf, off, count);
count             184 drivers/misc/ds1682.c 					   count, buf) < 0)
count             187 drivers/misc/ds1682.c 	return count;
count              22 drivers/misc/dummy-irq.c 	static int count = 0;
count              24 drivers/misc/dummy-irq.c 	if (count == 0) {
count              27 drivers/misc/dummy-irq.c 		count++;
count             266 drivers/misc/eeprom/at24.c 				      unsigned int offset, size_t count)
count             279 drivers/misc/eeprom/at24.c 		if (count > remainder)
count             280 drivers/misc/eeprom/at24.c 			count = remainder;
count             283 drivers/misc/eeprom/at24.c 	if (count > at24_io_limit)
count             284 drivers/misc/eeprom/at24.c 		count = at24_io_limit;
count             286 drivers/misc/eeprom/at24.c 	return count;
count             290 drivers/misc/eeprom/at24.c 				unsigned int offset, size_t count)
count             301 drivers/misc/eeprom/at24.c 	count = at24_adjust_read_count(at24, offset, count);
count             314 drivers/misc/eeprom/at24.c 		ret = regmap_bulk_read(regmap, offset, buf, count);
count             316 drivers/misc/eeprom/at24.c 			count, offset, ret, jiffies);
count             318 drivers/misc/eeprom/at24.c 			return count;
count             336 drivers/misc/eeprom/at24.c 				      unsigned int offset, size_t count)
count             341 drivers/misc/eeprom/at24.c 	if (count > at24->write_max)
count             342 drivers/misc/eeprom/at24.c 		count = at24->write_max;
count             346 drivers/misc/eeprom/at24.c 	if (offset + count > next_page)
count             347 drivers/misc/eeprom/at24.c 		count = next_page - offset;
count             349 drivers/misc/eeprom/at24.c 	return count;
count             353 drivers/misc/eeprom/at24.c 				 unsigned int offset, size_t count)
count             364 drivers/misc/eeprom/at24.c 	count = at24_adjust_write_count(at24, offset, count);
count             374 drivers/misc/eeprom/at24.c 		ret = regmap_bulk_write(regmap, offset, buf, count);
count             376 drivers/misc/eeprom/at24.c 			count, offset, ret, jiffies);
count             378 drivers/misc/eeprom/at24.c 			return count;
count             386 drivers/misc/eeprom/at24.c static int at24_read(void *priv, unsigned int off, void *val, size_t count)
count             396 drivers/misc/eeprom/at24.c 	if (unlikely(!count))
count             397 drivers/misc/eeprom/at24.c 		return count;
count             399 drivers/misc/eeprom/at24.c 	if (off + count > at24->byte_len)
count             414 drivers/misc/eeprom/at24.c 	while (count) {
count             415 drivers/misc/eeprom/at24.c 		ret = at24_regmap_read(at24, buf, off, count);
count             423 drivers/misc/eeprom/at24.c 		count -= ret;
count             433 drivers/misc/eeprom/at24.c static int at24_write(void *priv, unsigned int off, void *val, size_t count)
count             443 drivers/misc/eeprom/at24.c 	if (unlikely(!count))
count             446 drivers/misc/eeprom/at24.c 	if (off + count > at24->byte_len)
count             462 drivers/misc/eeprom/at24.c 	while (count) {
count             463 drivers/misc/eeprom/at24.c 		ret = at24_regmap_write(at24, buf, off, count);
count             472 drivers/misc/eeprom/at24.c 		count -= ret;
count              63 drivers/misc/eeprom/at25.c 			void *val, size_t count)
count              76 drivers/misc/eeprom/at25.c 	if ((offset + count) > at25->chip.byte_len)
count              77 drivers/misc/eeprom/at25.c 		count = at25->chip.byte_len - offset;
count              78 drivers/misc/eeprom/at25.c 	if (unlikely(!count))
count             110 drivers/misc/eeprom/at25.c 	t[1].len = count;
count             123 drivers/misc/eeprom/at25.c 		count, offset, status);
count             129 drivers/misc/eeprom/at25.c static int at25_ee_write(void *priv, unsigned int off, void *val, size_t count)
count             139 drivers/misc/eeprom/at25.c 	if ((off + count) > at25->chip.byte_len)
count             140 drivers/misc/eeprom/at25.c 		count = at25->chip.byte_len - off;
count             141 drivers/misc/eeprom/at25.c 	if (unlikely(!count))
count             192 drivers/misc/eeprom/at25.c 		if (segment > count)
count             193 drivers/misc/eeprom/at25.c 			segment = count;
count             235 drivers/misc/eeprom/at25.c 		count -= segment;
count             237 drivers/misc/eeprom/at25.c 	} while (count > 0);
count              75 drivers/misc/eeprom/ee1004.c 				  unsigned int offset, size_t count)
count              79 drivers/misc/eeprom/ee1004.c 	if (count > I2C_SMBUS_BLOCK_MAX)
count              80 drivers/misc/eeprom/ee1004.c 		count = I2C_SMBUS_BLOCK_MAX;
count              82 drivers/misc/eeprom/ee1004.c 	if (unlikely(offset + count > EE1004_PAGE_SIZE))
count              83 drivers/misc/eeprom/ee1004.c 		count = EE1004_PAGE_SIZE - offset;
count              86 drivers/misc/eeprom/ee1004.c 							   count, buf);
count              87 drivers/misc/eeprom/ee1004.c 	dev_dbg(&client->dev, "read %zu@%d --> %d\n", count, offset, status);
count              94 drivers/misc/eeprom/ee1004.c 			   char *buf, loff_t off, size_t count)
count              98 drivers/misc/eeprom/ee1004.c 	size_t requested = count;
count             101 drivers/misc/eeprom/ee1004.c 	if (unlikely(!count))
count             102 drivers/misc/eeprom/ee1004.c 		return count;
count             115 drivers/misc/eeprom/ee1004.c 	while (count) {
count             143 drivers/misc/eeprom/ee1004.c 		status = ee1004_eeprom_read(client, buf, off, count);
count             150 drivers/misc/eeprom/ee1004.c 		count -= status;
count              77 drivers/misc/eeprom/eeprom.c 			   char *buf, loff_t off, size_t count)
count              84 drivers/misc/eeprom/eeprom.c 	for (slice = off >> 5; slice <= (off + count - 1) >> 5; slice++)
count              94 drivers/misc/eeprom/eeprom.c 		for (i = 0; i < count; i++) {
count             102 drivers/misc/eeprom/eeprom.c 		memcpy(buf, &data->data[off], count);
count             105 drivers/misc/eeprom/eeprom.c 	return count;
count              85 drivers/misc/eeprom/eeprom_93cx6.c 	const u16 data, const u16 count)
count             101 drivers/misc/eeprom/eeprom_93cx6.c 	for (i = count; i > 0; i--) {
count             124 drivers/misc/eeprom/eeprom_93cx6.c 	u16 *data, const u16 count)
count             141 drivers/misc/eeprom/eeprom_93cx6.c 	for (i = count; i > 0; i--) {
count              59 drivers/misc/eeprom/eeprom_93xx46.c 			      void *val, size_t count)
count              67 drivers/misc/eeprom/eeprom_93xx46.c 	if ((off + count) > edev->size)
count              68 drivers/misc/eeprom/eeprom_93xx46.c 		count = edev->size - off;
count              69 drivers/misc/eeprom/eeprom_93xx46.c 	if (unlikely(!count))
count              70 drivers/misc/eeprom/eeprom_93xx46.c 		return count;
count              77 drivers/misc/eeprom/eeprom_93xx46.c 	while (count) {
count              81 drivers/misc/eeprom/eeprom_93xx46.c 		size_t nbytes = count;
count             107 drivers/misc/eeprom/eeprom_93xx46.c 		t[1].len = count;
count             123 drivers/misc/eeprom/eeprom_93xx46.c 		count -= nbytes;
count             228 drivers/misc/eeprom/eeprom_93xx46.c 				   void *val, size_t count)
count             236 drivers/misc/eeprom/eeprom_93xx46.c 	if ((off + count) > edev->size)
count             237 drivers/misc/eeprom/eeprom_93xx46.c 		count = edev->size - off;
count             238 drivers/misc/eeprom/eeprom_93xx46.c 	if (unlikely(!count))
count             239 drivers/misc/eeprom/eeprom_93xx46.c 		return count;
count             244 drivers/misc/eeprom/eeprom_93xx46.c 		count &= ~1;
count             257 drivers/misc/eeprom/eeprom_93xx46.c 	for (i = 0; i < count; i += step) {
count             328 drivers/misc/eeprom/eeprom_93xx46.c 					 const char *buf, size_t count)
count             345 drivers/misc/eeprom/eeprom_93xx46.c 	return count;
count             882 drivers/misc/eeprom/idt_89hpesx.c 			    char *buf, loff_t off, size_t count)
count             891 drivers/misc/eeprom/idt_89hpesx.c 	ret = idt_eeprom_write(pdev, (u16)off, (u16)count, (u8 *)buf);
count             892 drivers/misc/eeprom/idt_89hpesx.c 	return (ret != 0 ? ret : count);
count             906 drivers/misc/eeprom/idt_89hpesx.c 			   char *buf, loff_t off, size_t count)
count             915 drivers/misc/eeprom/idt_89hpesx.c 	ret = idt_eeprom_read(pdev, (u16)off, (u16)count, (u8 *)buf);
count             916 drivers/misc/eeprom/idt_89hpesx.c 	return (ret != 0 ? ret : count);
count             935 drivers/misc/eeprom/idt_89hpesx.c 				   size_t count, loff_t *offp)
count             944 drivers/misc/eeprom/idt_89hpesx.c 	buf = kmalloc(count + 1, GFP_KERNEL);
count             948 drivers/misc/eeprom/idt_89hpesx.c 	ret = simple_write_to_buffer(buf, count, offp, ubuf, count);
count             951 drivers/misc/eeprom/idt_89hpesx.c 	buf[count] = 0;
count             954 drivers/misc/eeprom/idt_89hpesx.c 	colon_ch = strnchr(buf, count, ':');
count             977 drivers/misc/eeprom/idt_89hpesx.c 		csraddr_len = strnlen(csraddr_str, count);
count            1015 drivers/misc/eeprom/idt_89hpesx.c 	return (ret != 0 ? ret : count);
count            1029 drivers/misc/eeprom/idt_89hpesx.c 				  size_t count, loff_t *offp)
count            1049 drivers/misc/eeprom/idt_89hpesx.c 	return simple_read_from_buffer(ubuf, count, offp, buf, size);
count             108 drivers/misc/eeprom/max6875.c 			    char *buf, loff_t off, size_t count)
count             115 drivers/misc/eeprom/max6875.c 	max_slice = (off + count - 1) >> SLICE_BITS;
count             119 drivers/misc/eeprom/max6875.c 	memcpy(buf, &data->data[off], count);
count             121 drivers/misc/eeprom/max6875.c 	return count;
count             487 drivers/misc/enclosure.c 				   const char *buf, size_t count)
count             495 drivers/misc/enclosure.c 	return count;
count             511 drivers/misc/enclosure.c 				    const char *buf, size_t count)
count             527 drivers/misc/enclosure.c 		return count;
count             545 drivers/misc/enclosure.c 				    const char *buf, size_t count)
count             553 drivers/misc/enclosure.c 	return count;
count             569 drivers/misc/enclosure.c 				    const char *buf, size_t count)
count             577 drivers/misc/enclosure.c 	return count;
count             599 drivers/misc/enclosure.c 					  const char *buf, size_t count)
count             616 drivers/misc/enclosure.c 	return count;
count             433 drivers/misc/genwqe/card_base.h int  genwqe_set_interrupt_capability(struct genwqe_dev *cd, int count);
count             186 drivers/misc/genwqe/card_sysfs.c 				    const char *buf, size_t count)
count             206 drivers/misc/genwqe/card_sysfs.c 	return count;
count             212 drivers/misc/genwqe/card_sysfs.c 				const char *buf, size_t count)
count             230 drivers/misc/genwqe/card_sysfs.c 	return count;
count             739 drivers/misc/genwqe/card_utils.c int genwqe_set_interrupt_capability(struct genwqe_dev *cd, int count)
count             743 drivers/misc/genwqe/card_utils.c 	rc = pci_alloc_irq_vectors(cd->pci_dev, 1, count, PCI_IRQ_MSI);
count             461 drivers/misc/habanalabs/debugfs.c 		size_t count, loff_t *f_pos)
count             472 drivers/misc/habanalabs/debugfs.c 		return count;
count             474 drivers/misc/habanalabs/debugfs.c 	if (count > sizeof(kbuf) - 1)
count             476 drivers/misc/habanalabs/debugfs.c 	if (copy_from_user(kbuf, buf, count))
count             478 drivers/misc/habanalabs/debugfs.c 	kbuf[count] = 0;
count             495 drivers/misc/habanalabs/debugfs.c 	return count;
count             602 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             627 drivers/misc/habanalabs/debugfs.c 	return simple_read_from_buffer(buf, count, ppos, tmp_buf,
count             632 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             640 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 16, &value);
count             657 drivers/misc/habanalabs/debugfs.c 	return count;
count             661 drivers/misc/habanalabs/debugfs.c 		size_t count, loff_t *ppos)
count             680 drivers/misc/habanalabs/debugfs.c 	return simple_read_from_buffer(buf, count, ppos, tmp_buf,
count             685 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             692 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 10, &value);
count             709 drivers/misc/habanalabs/debugfs.c 	return count;
count             713 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             734 drivers/misc/habanalabs/debugfs.c 	rc = simple_read_from_buffer(buf, count, ppos, tmp_buf,
count             741 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             748 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 16, &value);
count             761 drivers/misc/habanalabs/debugfs.c 	return count;
count             765 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             772 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 10, &value);
count             780 drivers/misc/habanalabs/debugfs.c 	return count;
count             784 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             791 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 10, &value);
count             799 drivers/misc/habanalabs/debugfs.c 	return count;
count             803 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             810 drivers/misc/habanalabs/debugfs.c 	rc = kstrtouint_from_user(buf, count, 10, &value);
count             818 drivers/misc/habanalabs/debugfs.c 	return count;
count             822 drivers/misc/habanalabs/debugfs.c 					size_t count, loff_t *ppos)
count             826 drivers/misc/habanalabs/debugfs.c 	return simple_read_from_buffer(buf, count, ppos, help, strlen(help));
count             830 drivers/misc/habanalabs/debugfs.c 				     size_t count, loff_t *ppos)
count             840 drivers/misc/habanalabs/debugfs.c 	simple_write_to_buffer(data, 29, ppos, buf, count);
count             855 drivers/misc/habanalabs/debugfs.c 		count = -EINVAL;
count             858 drivers/misc/habanalabs/debugfs.c 	return count;
count             918 drivers/misc/habanalabs/debugfs.c 		size_t count, loff_t *f_pos)
count             923 drivers/misc/habanalabs/debugfs.c 		return node->info_ent->write(file, buf, count, f_pos);
count             941 drivers/misc/habanalabs/debugfs.c 	int count = ARRAY_SIZE(hl_debugfs_list);
count             947 drivers/misc/habanalabs/debugfs.c 	dev_entry->entry_arr = kmalloc_array(count,
count            1031 drivers/misc/habanalabs/debugfs.c 	for (i = 0, entry = dev_entry->entry_arr ; i < count ; i++, entry++) {
count            3139 drivers/misc/habanalabs/goya/goya.c 	u32 count, dma_desc_cnt;
count            3145 drivers/misc/habanalabs/goya/goya.c 	for_each_sg(sgt->sgl, sg, sgt->nents, count) {
count            3153 drivers/misc/habanalabs/goya/goya.c 		while ((count + 1) < sgt->nents) {
count            3164 drivers/misc/habanalabs/goya/goya.c 				count++;
count            3597 drivers/misc/habanalabs/goya/goya.c 	u32 count, dma_desc_cnt;
count            3657 drivers/misc/habanalabs/goya/goya.c 	for_each_sg(sgt->sgl, sg, sgt->nents, count) {
count            3664 drivers/misc/habanalabs/goya/goya.c 		while ((count + 1) < sgt->nents) {
count            3675 drivers/misc/habanalabs/goya/goya.c 				count++;
count              53 drivers/misc/habanalabs/goya/goya_hwmgr.c 				const char *buf, size_t count)
count              61 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -ENODEV;
count              66 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EPERM;
count              73 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EINVAL;
count              81 drivers/misc/habanalabs/goya/goya_hwmgr.c 	return count;
count             102 drivers/misc/habanalabs/goya/goya_hwmgr.c 				const char *buf, size_t count)
count             110 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -ENODEV;
count             115 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EPERM;
count             122 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EINVAL;
count             130 drivers/misc/habanalabs/goya/goya_hwmgr.c 	return count;
count             151 drivers/misc/habanalabs/goya/goya_hwmgr.c 				const char *buf, size_t count)
count             159 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -ENODEV;
count             164 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EPERM;
count             171 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EINVAL;
count             179 drivers/misc/habanalabs/goya/goya_hwmgr.c 	return count;
count             248 drivers/misc/habanalabs/goya/goya_hwmgr.c 		struct device_attribute *attr, const char *buf, size_t count)
count             253 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -ENODEV;
count             262 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EPERM;
count             289 drivers/misc/habanalabs/goya/goya_hwmgr.c 			return count;
count             293 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EINVAL;
count             299 drivers/misc/habanalabs/goya/goya_hwmgr.c 	return count;
count             314 drivers/misc/habanalabs/goya/goya_hwmgr.c 				const char *buf, size_t count)
count             321 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -ENODEV;
count             328 drivers/misc/habanalabs/goya/goya_hwmgr.c 		count = -EINVAL;
count             335 drivers/misc/habanalabs/goya/goya_hwmgr.c 	return count;
count             954 drivers/misc/habanalabs/habanalabs.h 				size_t count, loff_t *f_pos);
count             173 drivers/misc/habanalabs/sysfs.c 				size_t count)
count             182 drivers/misc/habanalabs/sysfs.c 		count = -EINVAL;
count             189 drivers/misc/habanalabs/sysfs.c 	return count;
count             194 drivers/misc/habanalabs/sysfs.c 				const char *buf, size_t count)
count             203 drivers/misc/habanalabs/sysfs.c 		count = -EINVAL;
count             210 drivers/misc/habanalabs/sysfs.c 	return count;
count             291 drivers/misc/habanalabs/sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             298 drivers/misc/habanalabs/sysfs.c 		count = -ENODEV;
count             305 drivers/misc/habanalabs/sysfs.c 		count = -EINVAL;
count             313 drivers/misc/habanalabs/sysfs.c 	return count;
count              30 drivers/misc/hmc6352.c static int compass_store(struct device *dev, const char *buf, size_t count,
count              48 drivers/misc/hmc6352.c 	return count;
count              52 drivers/misc/hmc6352.c 		struct device_attribute *attr, const char *buf, size_t count)
count              54 drivers/misc/hmc6352.c 	return compass_store(dev, buf, count, "EC");
count              58 drivers/misc/hmc6352.c 		struct device_attribute *attr, const  char *buf, size_t count)
count              60 drivers/misc/hmc6352.c 	return compass_store(dev, buf, count, "SW");
count             259 drivers/misc/ibmasm/ibmasmfs.c static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             268 drivers/misc/ibmasm/ibmasmfs.c 	if (count == 0 || count > IBMASM_CMD_MAX_BUFFER_SIZE)
count             286 drivers/misc/ibmasm/ibmasmfs.c 	len = min(count, cmd->buffer_size);
count             296 drivers/misc/ibmasm/ibmasmfs.c static ssize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset)
count             304 drivers/misc/ibmasm/ibmasmfs.c 	if (count == 0 || count > IBMASM_CMD_MAX_BUFFER_SIZE)
count             313 drivers/misc/ibmasm/ibmasmfs.c 	cmd = ibmasm_new_command(command_data->sp, count);
count             317 drivers/misc/ibmasm/ibmasmfs.c 	if (copy_from_user(cmd->buffer, ubuff, count)) {
count             334 drivers/misc/ibmasm/ibmasmfs.c 	return count;
count             368 drivers/misc/ibmasm/ibmasmfs.c static ssize_t event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             378 drivers/misc/ibmasm/ibmasmfs.c 	if (count == 0 || count > IBMASM_EVENT_MAX_SIZE)
count             395 drivers/misc/ibmasm/ibmasmfs.c 	if (count < reader->data_size) {
count             411 drivers/misc/ibmasm/ibmasmfs.c static ssize_t event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
count             417 drivers/misc/ibmasm/ibmasmfs.c 	if (count != 1)
count             452 drivers/misc/ibmasm/ibmasmfs.c static ssize_t r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             460 drivers/misc/ibmasm/ibmasmfs.c 	if (count == 0 || count > 1024)
count             480 drivers/misc/ibmasm/ibmasmfs.c static ssize_t r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
count             486 drivers/misc/ibmasm/ibmasmfs.c 	if (count != 1)
count             502 drivers/misc/ibmasm/ibmasmfs.c static ssize_t remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             512 drivers/misc/ibmasm/ibmasmfs.c 	return simple_read_from_buffer(buf, count, offset, lbuf, len);
count             515 drivers/misc/ibmasm/ibmasmfs.c static ssize_t remote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset)
count             523 drivers/misc/ibmasm/ibmasmfs.c 	if (count == 0 || count > 1024)
count             528 drivers/misc/ibmasm/ibmasmfs.c 	buff = kzalloc (count + 1, GFP_KERNEL);
count             533 drivers/misc/ibmasm/ibmasmfs.c 	if (copy_from_user(buff, ubuff, count)) {
count             542 drivers/misc/ibmasm/ibmasmfs.c 	return count;
count            1040 drivers/misc/ibmvmc.c 			    size_t count, loff_t *ppos)
count            1050 drivers/misc/ibmvmc.c 	size_t c = count;
count            1074 drivers/misc/ibmvmc.c 	if (count > ibmvmc.max_mtu) {
count            1076 drivers/misc/ibmvmc.c 			 (unsigned long)count);
count            1129 drivers/misc/ibmvmc.c 		(unsigned long)file, (unsigned long)count);
count            1131 drivers/misc/ibmvmc.c 	ibmvmc_send_msg(adapter, vmc_buffer, hmc, count);
count             194 drivers/misc/isl29003.c 				    const char *buf, size_t count)
count             211 drivers/misc/isl29003.c 	return count;
count             230 drivers/misc/isl29003.c 					 const char *buf, size_t count)
count             247 drivers/misc/isl29003.c 	return count;
count             263 drivers/misc/isl29003.c 		struct device_attribute *attr, const char *buf, size_t count)
count             280 drivers/misc/isl29003.c 	return count;
count             299 drivers/misc/isl29003.c 					  const char *buf, size_t count)
count             313 drivers/misc/isl29003.c 	return ret ? ret : count;
count              75 drivers/misc/isl29020.c 		struct device_attribute *attr, const  char *buf, size_t count)
count             108 drivers/misc/isl29020.c 	return count;
count             694 drivers/misc/kgdbts.c 	int count = 0;
count             699 drivers/misc/kgdbts.c 	while ((ch = buf[count])) {
count             701 drivers/misc/kgdbts.c 		count++;
count             704 drivers/misc/kgdbts.c 	get_buf[count + 2] = hex_asc_hi(checksum);
count             705 drivers/misc/kgdbts.c 	get_buf[count + 3] = hex_asc_lo(checksum);
count             706 drivers/misc/kgdbts.c 	get_buf[count + 4] = '\0';
count             488 drivers/misc/lis3lv02d/lis3lv02d.c 	atomic_inc(&lis3->count);
count             574 drivers/misc/lis3lv02d/lis3lv02d.c 	atomic_set(&lis3->count, 0);
count             590 drivers/misc/lis3lv02d/lis3lv02d.c 				size_t count, loff_t *pos)
count             600 drivers/misc/lis3lv02d/lis3lv02d.c 	if (count < 1)
count             606 drivers/misc/lis3lv02d/lis3lv02d.c 		data = atomic_xchg(&lis3->count, 0);
count             647 drivers/misc/lis3lv02d/lis3lv02d.c 	if (atomic_read(&lis3->count))
count             817 drivers/misc/lis3lv02d/lis3lv02d.c 				size_t count)
count             831 drivers/misc/lis3lv02d/lis3lv02d.c 	return count;
count             287 drivers/misc/lis3lv02d/lis3lv02d.h 	atomic_t		count;     /* interrupt count after last read */
count              34 drivers/misc/lkdtm/core.c 		size_t count, loff_t *off);
count              36 drivers/misc/lkdtm/core.c 			    size_t count, loff_t *off);
count              42 drivers/misc/lkdtm/core.c 				   size_t count, loff_t *off);
count             288 drivers/misc/lkdtm/core.c 				   size_t count, loff_t *off)
count             295 drivers/misc/lkdtm/core.c 	if (count >= PAGE_SIZE)
count             301 drivers/misc/lkdtm/core.c 	if (copy_from_user(buf, user_buf, count)) {
count             306 drivers/misc/lkdtm/core.c 	buf[count] = '\0';
count             319 drivers/misc/lkdtm/core.c 	*off += count;
count             321 drivers/misc/lkdtm/core.c 	return count;
count             327 drivers/misc/lkdtm/core.c 		size_t count, loff_t *off)
count             343 drivers/misc/lkdtm/core.c 	out = simple_read_from_buffer(user_buf, count, off,
count             357 drivers/misc/lkdtm/core.c 		size_t count, loff_t *off)
count             362 drivers/misc/lkdtm/core.c 	if (count >= PAGE_SIZE)
count             364 drivers/misc/lkdtm/core.c 	if (count < 1)
count             370 drivers/misc/lkdtm/core.c 	if (copy_from_user(buf, user_buf, count)) {
count             375 drivers/misc/lkdtm/core.c 	buf[count] = '\0';
count             385 drivers/misc/lkdtm/core.c 	*off += count;
count             387 drivers/misc/lkdtm/core.c 	return count;
count             363 drivers/misc/lkdtm/refcount.c 	atomic_t count = ATOMIC_INIT(1);
count             366 drivers/misc/lkdtm/refcount.c 		atomic_inc(&count);
count             369 drivers/misc/lkdtm/refcount.c 		if (atomic_dec_and_test(&count))
count             388 drivers/misc/lkdtm/refcount.c 	refcount_t count = REFCOUNT_INIT(1);
count             391 drivers/misc/lkdtm/refcount.c 		refcount_inc(&count);
count             394 drivers/misc/lkdtm/refcount.c 		if (refcount_dec_and_test(&count))
count             117 drivers/misc/mei/debugfs.c 					size_t count, loff_t *ppos)
count             125 drivers/misc/mei/debugfs.c 	ret = debugfs_write_file_bool(file, user_buf, count, ppos);
count             195 drivers/misc/mei/hw-me.c 	fw_status->count = fw_src->count;
count             196 drivers/misc/mei/hw-me.c 	for (i = 0; i < fw_src->count && i < MEI_FW_STATUS_MAX; i++) {
count            1362 drivers/misc/mei/hw-me.c 	.fw_status.count = 0
count            1365 drivers/misc/mei/hw-me.c 	.fw_status.count = 1,                   \
count            1369 drivers/misc/mei/hw-me.c 	.fw_status.count = 2,                   \
count            1374 drivers/misc/mei/hw-me.c 	.fw_status.count = 6,                   \
count             624 drivers/misc/mei/hw-txe.c 	.count = 2,
count             648 drivers/misc/mei/hw-txe.c 	fw_status->count = fw_src->count;
count             649 drivers/misc/mei/hw-txe.c 	for (i = 0; i < fw_src->count && i < MEI_FW_STATUS_MAX; i++) {
count              67 drivers/misc/mei/init.c 	for (i = 0; i < fw_status->count; i++)
count             728 drivers/misc/mei/main.c 	for (i = 0; i < fw_status.count; i++)
count             789 drivers/misc/mei/main.c 				    const char *buf, size_t count)
count             807 drivers/misc/mei/main.c 	return count;
count             141 drivers/misc/mei/mei_dev.h 	int count;
count              92 drivers/misc/mic/cosm/cosm_sysfs.c 	    const char *buf, size_t count)
count             116 drivers/misc/mic/cosm/cosm_sysfs.c 		count = rc;
count             117 drivers/misc/mic/cosm/cosm_sysfs.c 	return count;
count             149 drivers/misc/mic/cosm/cosm_sysfs.c 		       const char *buf, size_t count)
count             167 drivers/misc/mic/cosm/cosm_sysfs.c 	ret = count;
count             192 drivers/misc/mic/cosm/cosm_sysfs.c 	      const char *buf, size_t count)
count             202 drivers/misc/mic/cosm/cosm_sysfs.c 	cdev->cmdline = kmalloc(count + 1, GFP_KERNEL);
count             204 drivers/misc/mic/cosm/cosm_sysfs.c 		count = -ENOMEM;
count             208 drivers/misc/mic/cosm/cosm_sysfs.c 	strncpy(cdev->cmdline, buf, count);
count             210 drivers/misc/mic/cosm/cosm_sysfs.c 	if (cdev->cmdline[count - 1] == '\n')
count             211 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->cmdline[count - 1] = '\0';
count             213 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->cmdline[count] = '\0';
count             216 drivers/misc/mic/cosm/cosm_sysfs.c 	return count;
count             238 drivers/misc/mic/cosm/cosm_sysfs.c 	       const char *buf, size_t count)
count             248 drivers/misc/mic/cosm/cosm_sysfs.c 	cdev->firmware = kmalloc(count + 1, GFP_KERNEL);
count             250 drivers/misc/mic/cosm/cosm_sysfs.c 		count = -ENOMEM;
count             253 drivers/misc/mic/cosm/cosm_sysfs.c 	strncpy(cdev->firmware, buf, count);
count             255 drivers/misc/mic/cosm/cosm_sysfs.c 	if (cdev->firmware[count - 1] == '\n')
count             256 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->firmware[count - 1] = '\0';
count             258 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->firmware[count] = '\0';
count             261 drivers/misc/mic/cosm/cosm_sysfs.c 	return count;
count             283 drivers/misc/mic/cosm/cosm_sysfs.c 	      const char *buf, size_t count)
count             293 drivers/misc/mic/cosm/cosm_sysfs.c 	cdev->ramdisk = kmalloc(count + 1, GFP_KERNEL);
count             295 drivers/misc/mic/cosm/cosm_sysfs.c 		count = -ENOMEM;
count             299 drivers/misc/mic/cosm/cosm_sysfs.c 	strncpy(cdev->ramdisk, buf, count);
count             301 drivers/misc/mic/cosm/cosm_sysfs.c 	if (cdev->ramdisk[count - 1] == '\n')
count             302 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->ramdisk[count - 1] = '\0';
count             304 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->ramdisk[count] = '\0';
count             307 drivers/misc/mic/cosm/cosm_sysfs.c 	return count;
count             329 drivers/misc/mic/cosm/cosm_sysfs.c 	       const char *buf, size_t count)
count             342 drivers/misc/mic/cosm/cosm_sysfs.c 	cdev->bootmode = kmalloc(count + 1, GFP_KERNEL);
count             344 drivers/misc/mic/cosm/cosm_sysfs.c 		count = -ENOMEM;
count             348 drivers/misc/mic/cosm/cosm_sysfs.c 	strncpy(cdev->bootmode, buf, count);
count             350 drivers/misc/mic/cosm/cosm_sysfs.c 	if (cdev->bootmode[count - 1] == '\n')
count             351 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->bootmode[count - 1] = '\0';
count             353 drivers/misc/mic/cosm/cosm_sysfs.c 		cdev->bootmode[count] = '\0';
count             356 drivers/misc/mic/cosm/cosm_sysfs.c 	return count;
count             374 drivers/misc/mic/cosm/cosm_sysfs.c 		   const char *buf, size_t count)
count             388 drivers/misc/mic/cosm/cosm_sysfs.c 	ret = count;
count             408 drivers/misc/mic/cosm/cosm_sysfs.c 		  const char *buf, size_t count)
count             422 drivers/misc/mic/cosm/cosm_sysfs.c 	ret = count;
count            1382 drivers/misc/mic/scif/scif_api.c 	int i, count = 0, timed_out = timeout_msecs == 0;
count            1396 drivers/misc/mic/scif/scif_api.c 				count++;
count            1402 drivers/misc/mic/scif/scif_api.c 		if (!count) {
count            1403 drivers/misc/mic/scif/scif_api.c 			count = table.error;
count            1405 drivers/misc/mic/scif/scif_api.c 				count = -EINTR;
count            1407 drivers/misc/mic/scif/scif_api.c 		if (count || timed_out)
count            1414 drivers/misc/mic/scif/scif_api.c 	return count;
count             692 drivers/misc/mic/scif/scif_dma.c scif_ordered_memcpy_toio(char *dst, const char *src, size_t count)
count             694 drivers/misc/mic/scif/scif_dma.c 	if (!count)
count             697 drivers/misc/mic/scif/scif_dma.c 	memcpy_toio((void __iomem __force *)dst, src, --count);
count             700 drivers/misc/mic/scif/scif_dma.c 	*(dst + count) = *(src + count);
count             704 drivers/misc/mic/scif/scif_dma.c 					   size_t count, bool ordered)
count             707 drivers/misc/mic/scif/scif_dma.c 		scif_ordered_memcpy_toio(dst, src, count);
count             709 drivers/misc/mic/scif/scif_dma.c 		memcpy_toio((void __iomem __force *)dst, src, count);
count             713 drivers/misc/mic/scif/scif_dma.c void scif_ordered_memcpy_fromio(char *dst, const char *src, size_t count)
count             715 drivers/misc/mic/scif/scif_dma.c 	if (!count)
count             718 drivers/misc/mic/scif/scif_dma.c 	memcpy_fromio(dst, (void __iomem __force *)src, --count);
count             721 drivers/misc/mic/scif/scif_dma.c 	*(dst + count) = *(src + count);
count             725 drivers/misc/mic/scif/scif_dma.c 					     size_t count, bool ordered)
count             728 drivers/misc/mic/scif/scif_dma.c 		scif_ordered_memcpy_fromio(dst, src, count);
count             730 drivers/misc/mic/scif/scif_dma.c 		memcpy_fromio(dst, (void __iomem __force *)src, count);
count             674 drivers/misc/ocxl/config.c int ocxl_config_get_pasid_info(struct pci_dev *dev, int *count)
count             676 drivers/misc/ocxl/config.c 	return pnv_ocxl_get_pasid_count(dev, count);
count              63 drivers/misc/ocxl/context.c 	ctx->xsl_error.count++;
count             370 drivers/misc/ocxl/file.c 	body.count = ctx->xsl_error.count;
count             374 drivers/misc/ocxl/file.c 	ctx->xsl_error.count = 0;
count             395 drivers/misc/ocxl/file.c static ssize_t afu_read(struct file *file, char __user *buf, size_t count,
count             410 drivers/misc/ocxl/file.c 	if (count < (sizeof(struct ocxl_kernel_event_header) +
count              67 drivers/misc/ocxl/ocxl_internal.h 	u64 count; // The number of times this fault has been triggered
count             113 drivers/misc/ocxl/ocxl_internal.h int ocxl_config_get_pasid_info(struct pci_dev *dev, int *count);
count              63 drivers/misc/ocxl/sysfs.c 				loff_t off, size_t count)
count              67 drivers/misc/ocxl/sysfs.c 	if (count == 0 || off < 0 ||
count              70 drivers/misc/ocxl/sysfs.c 	memcpy_fromio(buf, afu->global_mmio_ptr + off, count);
count              71 drivers/misc/ocxl/sysfs.c 	return count;
count             484 drivers/misc/pch_phub.c 				 loff_t off, size_t count)
count             525 drivers/misc/pch_phub.c 		if (orom_size < count) {
count             530 drivers/misc/pch_phub.c 		for (addr_offset = 0; addr_offset < count; addr_offset++) {
count             554 drivers/misc/pch_phub.c 				  char *buf, loff_t off, size_t count)
count             570 drivers/misc/pch_phub.c 	if (count > PCH_PHUB_OROM_SIZE) {
count             581 drivers/misc/pch_phub.c 	for (addr_offset = 0; addr_offset < count; addr_offset++) {
count             625 drivers/misc/pch_phub.c 			     const char *buf, size_t count)
count             644 drivers/misc/pch_phub.c 	return count;
count             132 drivers/misc/phantom.c 		pr_debug("phantom: SRS %u regs %x\n", rs.count, rs.mask);
count             137 drivers/misc/phantom.c 			u32 m = min(rs.count, 8U);
count             165 drivers/misc/phantom.c 		m = min(rs.count, 8U);
count             167 drivers/misc/phantom.c 		pr_debug("phantom: GRS %u regs %x\n", rs.count, rs.mask);
count             300 drivers/misc/phantom.c 		u32 m = min(r->count, 8U);
count             375 drivers/misc/pti.c void pti_writedata(struct pti_masterchannel *mc, u8 *buf, int count)
count             382 drivers/misc/pti.c 	if ((mc != NULL) && (buf != NULL) && (count > 0))
count             383 drivers/misc/pti.c 		pti_write_to_aperture(mc, buf, count);
count              34 drivers/misc/sgi-gru/gruhandles.c 	atomic_long_inc(&mcs_op_statistics[op].count);
count             108 drivers/misc/sgi-gru/gruprocfs.c 				size_t count, loff_t *data)
count             111 drivers/misc/sgi-gru/gruprocfs.c 	return count;
count             117 drivers/misc/sgi-gru/gruprocfs.c 	unsigned long total, count, max;
count             124 drivers/misc/sgi-gru/gruprocfs.c 		count = atomic_long_read(&mcs_op_statistics[op].count);
count             127 drivers/misc/sgi-gru/gruprocfs.c 		seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count,
count             128 drivers/misc/sgi-gru/gruprocfs.c 			   count ? total / count : 0, max);
count             134 drivers/misc/sgi-gru/gruprocfs.c 			const char __user *userbuf, size_t count, loff_t *data)
count             137 drivers/misc/sgi-gru/gruprocfs.c 	return count;
count             148 drivers/misc/sgi-gru/gruprocfs.c 			     size_t count, loff_t *data)
count             152 drivers/misc/sgi-gru/gruprocfs.c 	ret = kstrtoul_from_user(userbuf, count, 0, &gru_options);
count             156 drivers/misc/sgi-gru/gruprocfs.c 	return count;
count             242 drivers/misc/sgi-gru/grutables.h 	atomic_long_t	count;
count              27 drivers/misc/sram.c 			 char *buf, loff_t pos, size_t count)
count              34 drivers/misc/sram.c 	memcpy_fromio(buf, part->base + pos, count);
count              37 drivers/misc/sram.c 	return count;
count              42 drivers/misc/sram.c 			  char *buf, loff_t pos, size_t count)
count              49 drivers/misc/sram.c 	memcpy_toio(part->base + pos, buf, count);
count              52 drivers/misc/sram.c 	return count;
count              71 drivers/misc/ti-st/st_core.c 	const unsigned char *data, int count)
count              81 drivers/misc/ti-st/st_core.c 		16, 1, data, count, 0);
count              83 drivers/misc/ti-st/st_core.c 	return tty->ops->write(tty, data, count);
count             225 drivers/misc/ti-st/st_core.c 	const unsigned char *data, long count)
count             244 drivers/misc/ti-st/st_core.c 		   "rx_count %ld", count, st_gdata->rx_state,
count             249 drivers/misc/ti-st/st_core.c 	while (count) {
count             251 drivers/misc/ti-st/st_core.c 			len = min_t(unsigned int, st_gdata->rx_count, count);
count             254 drivers/misc/ti-st/st_core.c 			count -= len;
count             317 drivers/misc/ti-st/st_core.c 			count--;
count             328 drivers/misc/ti-st/st_core.c 			count--;
count             372 drivers/misc/ti-st/st_core.c 		count--;
count             783 drivers/misc/ti-st/st_core.c 			   char *tty_flags, int count)
count             787 drivers/misc/ti-st/st_core.c 		16, 1, data, count, 0);
count             794 drivers/misc/ti-st/st_core.c 	st_recv(tty->disc_data, data, count);
count             125 drivers/misc/ti-st/st_kim.c 	const unsigned char *data, long count)
count             139 drivers/misc/ti-st/st_kim.c 	while (count) {
count             141 drivers/misc/ti-st/st_kim.c 			len = min_t(unsigned int, kim_gdata->rx_count, count);
count             144 drivers/misc/ti-st/st_kim.c 			count -= len;
count             177 drivers/misc/ti-st/st_kim.c 			count--;
count             181 drivers/misc/ti-st/st_kim.c 		count--;
count             416 drivers/misc/ti-st/st_kim.c void st_kim_recv(void *disc_data, const unsigned char *data, long count)
count             424 drivers/misc/ti-st/st_kim.c 	kim_int_recv(kim_gdata, data, count);
count             579 drivers/misc/ti-st/st_kim.c 		struct device_attribute *attr, const char *buf, size_t count)
count             583 drivers/misc/ti-st/st_kim.c 	strncpy(kim_data->dev_name, buf, count);
count             585 drivers/misc/ti-st/st_kim.c 	return count;
count             589 drivers/misc/ti-st/st_kim.c 		struct device_attribute *attr, const char *buf, size_t count)
count             595 drivers/misc/ti-st/st_kim.c 	return count;
count             186 drivers/misc/tsl2550.c 		struct device_attribute *attr, const char *buf, size_t count)
count             203 drivers/misc/tsl2550.c 	return count;
count             218 drivers/misc/tsl2550.c 		struct device_attribute *attr, const char *buf, size_t count)
count             238 drivers/misc/tsl2550.c 	return count;
count             228 drivers/mmc/core/block.c 		struct device_attribute *attr, const char *buf, size_t count)
count             240 drivers/mmc/core/block.c 		return count;
count             248 drivers/mmc/core/block.c 		count = PTR_ERR(req);
count             269 drivers/mmc/core/block.c 	return count;
count             286 drivers/mmc/core/block.c 			      const char *buf, size_t count)
count             298 drivers/mmc/core/block.c 	ret = count;
count              98 drivers/mmc/core/mmc_test.c 	unsigned int count;
count             533 drivers/mmc/core/mmc_test.c 	unsigned int count, unsigned int sectors, struct timespec64 ts,
count             545 drivers/mmc/core/mmc_test.c 	tr->count = count;
count             582 drivers/mmc/core/mmc_test.c 				    unsigned int count, struct timespec64 *ts1,
count             586 drivers/mmc/core/mmc_test.c 	uint64_t tot = bytes * count;
count             592 drivers/mmc/core/mmc_test.c 	iops = mmc_test_rate(count * 100, &ts); /* I/O ops per sec x 100 */
count             597 drivers/mmc/core/mmc_test.c 			 mmc_hostname(test->card->host), count, sectors, count,
count             603 drivers/mmc/core/mmc_test.c 	mmc_test_save_transfer_result(test, count, sectors, ts, rate, iops);
count             841 drivers/mmc/core/mmc_test.c 				      unsigned blksz, int write, int count)
count             858 drivers/mmc/core/mmc_test.c 	for (i = 0; i < count; i++) {
count            1437 drivers/mmc/core/mmc_test.c 				int max_scatter, int timed, int count,
count            1469 drivers/mmc/core/mmc_test.c 				 dev_addr, t->blocks, 512, write, count);
count            1471 drivers/mmc/core/mmc_test.c 		for (i = 0; i < count && ret == 0; i++) {
count            1483 drivers/mmc/core/mmc_test.c 		mmc_test_print_avg_rate(test, sz, count, &ts1, &ts2);
count            2359 drivers/mmc/core/mmc_test.c 	int count = 0;
count            2390 drivers/mmc/core/mmc_test.c 		count += 1;
count            2451 drivers/mmc/core/mmc_test.c 			mmc_hostname(test->card->host), count, t->blocks);
count            3056 drivers/mmc/core/mmc_test.c 				tr->count, tr->sectors,
count            3073 drivers/mmc/core/mmc_test.c 	size_t count, loff_t *pos)
count            3081 drivers/mmc/core/mmc_test.c 	ret = kstrtol_from_user(buf, count, 10, &testcase);
count            3118 drivers/mmc/core/mmc_test.c 	return count;
count              64 drivers/mmc/core/regulator.c 	int			count;
count              69 drivers/mmc/core/regulator.c 	count = regulator_count_voltages(supply);
count              70 drivers/mmc/core/regulator.c 	if (count < 0)
count              71 drivers/mmc/core/regulator.c 		return count;
count              73 drivers/mmc/core/regulator.c 	for (i = 0; i < count; i++) {
count             469 drivers/mmc/core/sdio_io.c 	unsigned int addr, int count)
count             471 drivers/mmc/core/sdio_io.c 	return sdio_io_rw_ext_helper(func, 0, addr, 1, dst, count);
count             486 drivers/mmc/core/sdio_io.c 	void *src, int count)
count             488 drivers/mmc/core/sdio_io.c 	return sdio_io_rw_ext_helper(func, 1, addr, 1, src, count);
count             503 drivers/mmc/core/sdio_io.c 	int count)
count             505 drivers/mmc/core/sdio_io.c 	return sdio_io_rw_ext_helper(func, 0, addr, 0, dst, count);
count             520 drivers/mmc/core/sdio_io.c 	int count)
count             522 drivers/mmc/core/sdio_io.c 	return sdio_io_rw_ext_helper(func, 1, addr, 0, src, count);
count              61 drivers/mmc/core/sdio_irq.c 	int i, ret, count;
count              88 drivers/mmc/core/sdio_irq.c 	count = 0;
count              98 drivers/mmc/core/sdio_irq.c 				count++;
count             107 drivers/mmc/core/sdio_irq.c 	if (count)
count             108 drivers/mmc/core/sdio_irq.c 		return count;
count             427 drivers/mmc/core/sdio_uart.c 	int count;
count             449 drivers/mmc/core/sdio_uart.c 	for (count = 0; count < len; count++) {
count             450 drivers/mmc/core/sdio_uart.c 		sdio_out(port, UART_TX, iobuf[count]);
count             778 drivers/mmc/core/sdio_uart.c 			   int count)
count             786 drivers/mmc/core/sdio_uart.c 	ret = kfifo_in_locked(&port->xmit_fifo, buf, count, &port->write_lock);
count             395 drivers/mmc/host/au1xmmc.c 	int sg_len, max, count;
count             417 drivers/mmc/host/au1xmmc.c 	for (count = 0; count < max; count++) {
count             423 drivers/mmc/host/au1xmmc.c 		val = sg_ptr[count];
count             430 drivers/mmc/host/au1xmmc.c 	host->pio.len -= count;
count             431 drivers/mmc/host/au1xmmc.c 	host->pio.offset += count;
count             433 drivers/mmc/host/au1xmmc.c 	if (count == sg_len) {
count             451 drivers/mmc/host/au1xmmc.c 	int max, count, sg_len = 0;
count             478 drivers/mmc/host/au1xmmc.c 	for (count = 0; count < max; count++) {
count             486 drivers/mmc/host/au1xmmc.c 					host->pio.len, count);
count             492 drivers/mmc/host/au1xmmc.c 					host->pio.len, count);
count             497 drivers/mmc/host/au1xmmc.c 					host->pio.len,	count);
count             504 drivers/mmc/host/au1xmmc.c 			sg_ptr[count] = (unsigned char)(val & 0xFF);
count             509 drivers/mmc/host/au1xmmc.c 	host->pio.len -= count;
count             510 drivers/mmc/host/au1xmmc.c 	host->pio.offset += count;
count             512 drivers/mmc/host/au1xmmc.c 	if (sg_len && count == sg_len) {
count             384 drivers/mmc/host/cavium.c 	int count;
count             388 drivers/mmc/host/cavium.c 	count = FIELD_GET(MIO_EMM_DMA_FIFO_CFG_COUNT, fifo_cfg);
count             389 drivers/mmc/host/cavium.c 	if (count)
count             390 drivers/mmc/host/cavium.c 		dev_err(host->dev, "%u requests still pending\n", count);
count             520 drivers/mmc/host/cavium.c 	int count, rw;
count             522 drivers/mmc/host/cavium.c 	count = dma_map_sg(host->dev, data->sg, data->sg_len,
count             524 drivers/mmc/host/cavium.c 	if (!count)
count             542 drivers/mmc/host/cavium.c 		 (rw) ? "W" : "R", sg_dma_len(&data->sg[0]), count);
count             557 drivers/mmc/host/cavium.c 	int count, i, rw;
count             559 drivers/mmc/host/cavium.c 	count = dma_map_sg(host->dev, data->sg, data->sg_len,
count             561 drivers/mmc/host/cavium.c 	if (!count)
count             563 drivers/mmc/host/cavium.c 	if (count > 16)
count             569 drivers/mmc/host/cavium.c 	for_each_sg(data->sg, sg, count, i) {
count             586 drivers/mmc/host/cavium.c 				       (i + 1 == count) ? 0 : 1);
count             599 drivers/mmc/host/cavium.c 			 (rw) ? "W" : "R", sg_dma_len(sg), i, count);
count             209 drivers/mmc/host/cb710-mmc.c 	size_t count, size_t blocksize)
count             213 drivers/mmc/host/cb710-mmc.c 		((count - 1) << 16)|(blocksize - 1));
count             216 drivers/mmc/host/cb710-mmc.c 		count, count == 1 ? "" : "s", blocksize);
count             372 drivers/mmc/host/davinci_mmc.c 		u32 count = poll_loopcount;
count             374 drivers/mmc/host/davinci_mmc.c 		while (host->active_request && count--) {
count            1347 drivers/mmc/host/mmci.c 		int count = host->get_rx_fifocnt(host, status, host_remain);
count            1349 drivers/mmc/host/mmci.c 		if (count > remain)
count            1350 drivers/mmc/host/mmci.c 			count = remain;
count            1352 drivers/mmc/host/mmci.c 		if (count <= 0)
count            1361 drivers/mmc/host/mmci.c 		if (unlikely(count & 0x3)) {
count            1362 drivers/mmc/host/mmci.c 			if (count < 4) {
count            1365 drivers/mmc/host/mmci.c 				memcpy(ptr, buf, count);
count            1367 drivers/mmc/host/mmci.c 				ioread32_rep(base + MMCIFIFO, ptr, count >> 2);
count            1368 drivers/mmc/host/mmci.c 				count &= ~0x3;
count            1371 drivers/mmc/host/mmci.c 			ioread32_rep(base + MMCIFIFO, ptr, count >> 2);
count            1374 drivers/mmc/host/mmci.c 		ptr += count;
count            1375 drivers/mmc/host/mmci.c 		remain -= count;
count            1376 drivers/mmc/host/mmci.c 		host_remain -= count;
count            1394 drivers/mmc/host/mmci.c 		unsigned int count, maxcnt;
count            1398 drivers/mmc/host/mmci.c 		count = min(remain, maxcnt);
count            1408 drivers/mmc/host/mmci.c 		iowrite32_rep(base + MMCIFIFO, ptr, (count + 3) >> 2);
count            1410 drivers/mmc/host/mmci.c 		ptr += count;
count            1411 drivers/mmc/host/mmci.c 		remain -= count;
count              73 drivers/mmc/host/mvsdio.c 		unsigned int hw_state,  count = 0;
count              80 drivers/mmc/host/mvsdio.c 			count++;
count              84 drivers/mmc/host/mvsdio.c 				   hw_state, count, jiffies - (t - HZ));
count             152 drivers/mmc/host/rtsx_pci_sdmmc.c 	int count = 0;
count             163 drivers/mmc/host/rtsx_pci_sdmmc.c 		count = rtsx_pci_dma_map_sg(pcr, data->sg, data->sg_len, read);
count             165 drivers/mmc/host/rtsx_pci_sdmmc.c 		count = host->cookie_sg_count;
count             170 drivers/mmc/host/rtsx_pci_sdmmc.c 		host->cookie_sg_count = count;
count             175 drivers/mmc/host/rtsx_pci_sdmmc.c 		host->sg_count = count;
count             119 drivers/mmc/host/sdhci-cadence.c 	unsigned int count = 0;
count             124 drivers/mmc/host/sdhci-cadence.c 			count++;
count             126 drivers/mmc/host/sdhci-cadence.c 	return count;
count            1252 drivers/mmc/host/sdhci-esdhc-imx.c 	int count = 10;
count            1262 drivers/mmc/host/sdhci-esdhc-imx.c 		if (count-- == 0) {
count             243 drivers/mmc/host/sdhci-omap.c 				      int count)
count             251 drivers/mmc/host/sdhci-omap.c 	reg |= (count << DLL_FORCE_SR_C_SHIFT);
count             196 drivers/mmc/host/sdhci-pxav3.c 	int count;
count             220 drivers/mmc/host/sdhci-pxav3.c 		count = 0;
count             222 drivers/mmc/host/sdhci-pxav3.c 		while (count++ < MAX_WAIT_COUNT) {
count             229 drivers/mmc/host/sdhci-pxav3.c 		if (count == MAX_WAIT_COUNT)
count             907 drivers/mmc/host/sdhci.c 	u8 count;
count             944 drivers/mmc/host/sdhci.c 	count = 0;
count             947 drivers/mmc/host/sdhci.c 		count++;
count             949 drivers/mmc/host/sdhci.c 		if (count >= 0xF)
count             953 drivers/mmc/host/sdhci.c 	if (count >= 0xF) {
count             956 drivers/mmc/host/sdhci.c 			    count, cmd->opcode);
count             957 drivers/mmc/host/sdhci.c 		count = 0xE;
count             962 drivers/mmc/host/sdhci.c 	return count;
count             998 drivers/mmc/host/sdhci.c 	u8 count = sdhci_calc_timeout(host, cmd, &too_big);
count            1008 drivers/mmc/host/sdhci.c 	sdhci_writeb(host, count, SDHCI_TIMEOUT_CONTROL);
count             209 drivers/mmc/host/tifm_sd.c 			      unsigned int count)
count             214 drivers/mmc/host/tifm_sd.c 	memcpy(dst_buf, src_buf, count);
count             238 drivers/mmc/host/tmio_mmc.h 				      u16 *buf, int count)
count             240 drivers/mmc/host/tmio_mmc.h 	ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count);
count             251 drivers/mmc/host/tmio_mmc.h 				      u32 *buf, int count)
count             253 drivers/mmc/host/tmio_mmc.h 	ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count);
count             268 drivers/mmc/host/tmio_mmc.h 				       u16 *buf, int count)
count             270 drivers/mmc/host/tmio_mmc.h 	iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count);
count             289 drivers/mmc/host/tmio_mmc.h 				       const u32 *buf, int count)
count             291 drivers/mmc/host/tmio_mmc.h 	iowrite32_rep(host->ctl + (addr << host->bus_shift), buf, count);
count             302 drivers/mmc/host/tmio_mmc_core.c 				   unsigned int count)
count             316 drivers/mmc/host/tmio_mmc_core.c 					   count >> 2);
count             319 drivers/mmc/host/tmio_mmc_core.c 					    count >> 2);
count             322 drivers/mmc/host/tmio_mmc_core.c 		if (!(count & 0x3))
count             325 drivers/mmc/host/tmio_mmc_core.c 		buf32 += count >> 2;
count             326 drivers/mmc/host/tmio_mmc_core.c 		count %= 4;
count             330 drivers/mmc/host/tmio_mmc_core.c 			memcpy(buf32, &data, count);
count             332 drivers/mmc/host/tmio_mmc_core.c 			memcpy(&data, buf32, count);
count             340 drivers/mmc/host/tmio_mmc_core.c 		sd_ctrl_read16_rep(host, CTL_SD_DATA_PORT, buf, count >> 1);
count             342 drivers/mmc/host/tmio_mmc_core.c 		sd_ctrl_write16_rep(host, CTL_SD_DATA_PORT, buf, count >> 1);
count             345 drivers/mmc/host/tmio_mmc_core.c 	if (!(count & 0x1))
count             349 drivers/mmc/host/tmio_mmc_core.c 	buf8 = (u8 *)(buf + (count >> 1));
count             373 drivers/mmc/host/tmio_mmc_core.c 	unsigned int count;
count             387 drivers/mmc/host/tmio_mmc_core.c 	count = host->sg_ptr->length - host->sg_off;
count             388 drivers/mmc/host/tmio_mmc_core.c 	if (count > data->blksz)
count             389 drivers/mmc/host/tmio_mmc_core.c 		count = data->blksz;
count             392 drivers/mmc/host/tmio_mmc_core.c 		 count, host->sg_off, data->flags);
count             395 drivers/mmc/host/tmio_mmc_core.c 	tmio_mmc_transfer_data(host, buf, count);
count             397 drivers/mmc/host/tmio_mmc_core.c 	host->sg_off += count;
count             162 drivers/mmc/host/toshsd.c 	int count;
count             183 drivers/mmc/host/toshsd.c 	count = sg_miter->length;
count             184 drivers/mmc/host/toshsd.c 	if (count > data->blksz)
count             185 drivers/mmc/host/toshsd.c 		count = data->blksz;
count             187 drivers/mmc/host/toshsd.c 	dev_dbg(&host->pdev->dev, "count: %08x, flags %08x\n", count,
count             192 drivers/mmc/host/toshsd.c 		ioread32_rep(host->ioaddr + SD_DATAPORT, buf, count >> 2);
count             194 drivers/mmc/host/toshsd.c 		iowrite32_rep(host->ioaddr + SD_DATAPORT, buf, count >> 2);
count             196 drivers/mmc/host/toshsd.c 	sg_miter->consumed = count;
count             448 drivers/mmc/host/via-sdmmc.c 			 dma_addr_t dmaaddr, u32 count, int dir, int enirq)
count             462 drivers/mmc/host/via-sdmmc.c 	writel(count, addrbase + VIA_CRDR_DMACOUNTER);
count             480 drivers/mmc/host/via-sdmmc.c 	int count;
count             490 drivers/mmc/host/via-sdmmc.c 	count = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
count             493 drivers/mmc/host/via-sdmmc.c 	BUG_ON(count != 1);
count             666 drivers/mmc/host/wbsd.c 	int count;
count             700 drivers/mmc/host/wbsd.c 		count = get_dma_residue(host->dma);
count             704 drivers/mmc/host/wbsd.c 			host->mrq->data->blksz - count;
count             710 drivers/mmc/host/wbsd.c 		if (count) {
count             713 drivers/mmc/host/wbsd.c 				mmc_hostname(host->mmc), count);
count            1869 drivers/mtd/chips/cfi_cmdset_0001.c 				unsigned long count, loff_t to, size_t *retlen)
count            1879 drivers/mtd/chips/cfi_cmdset_0001.c 	for (i = 0; i < count; i++)
count              40 drivers/mtd/chips/cfi_cmdset_0020.c 		unsigned long count, loff_t to, size_t *retlen);
count             666 drivers/mtd/chips/cfi_cmdset_0020.c 		unsigned long count, loff_t to, size_t *retlen)
count             684 drivers/mtd/chips/cfi_cmdset_0020.c 	for (i=0; i<count; i++) {
count            1500 drivers/mtd/devices/docg3.c 			       const char *buf, size_t count)
count            1505 drivers/mtd/devices/docg3.c 	if (count != DOC_LAYOUT_DPS_KEY_LENGTH)
count            1514 drivers/mtd/devices/docg3.c 	return count;
count            1519 drivers/mtd/devices/docg3.c 			       const char *buf, size_t count)
count            1524 drivers/mtd/devices/docg3.c 	if (count != DOC_LAYOUT_DPS_KEY_LENGTH)
count            1533 drivers/mtd/devices/docg3.c 	return count;
count             272 drivers/mtd/devices/ms02-nv.c 	int count = 0;
count             294 drivers/mtd/devices/ms02-nv.c 			count++;
count             296 drivers/mtd/devices/ms02-nv.c 	return (count > 0) ? 0 : -ENODEV;
count             310 drivers/mtd/devices/slram.c 	int count;
count             313 drivers/mtd/devices/slram.c 	for (count = 0; count < SLRAM_MAX_DEVICES_PARAMS && map[count];
count             314 drivers/mtd/devices/slram.c 			count++) {
count             317 drivers/mtd/devices/slram.c 	if ((count % 3 != 0) || (count == 0)) {
count             321 drivers/mtd/devices/slram.c 	for (i = 0; i < (count / 3); i++) {
count             852 drivers/mtd/devices/spear_smi.c 	int count = 0;
count             916 drivers/mtd/devices/spear_smi.c 		count = flash_info->nr_partitions;
count             920 drivers/mtd/devices/spear_smi.c 	ret = mtd_device_register(&flash->mtd, parts, count);
count              30 drivers/mtd/hyperbus/hbmc-am654.c 	int count = AM654_HBMC_CALIB_COUNT;
count              39 drivers/mtd/hyperbus/hbmc-am654.c 	while (count--) {
count              24 drivers/mtd/lpddr/lpddr_cmds.c 				unsigned long count, loff_t to, size_t *retlen);
count             619 drivers/mtd/lpddr/lpddr_cmds.c 				unsigned long count, loff_t to, size_t *retlen)
count             629 drivers/mtd/lpddr/lpddr_cmds.c 	for (i = 0; i < count; i++)
count             277 drivers/mtd/maps/physmap-core.c 	int count;
count             279 drivers/mtd/maps/physmap-core.c 	count = of_property_count_strings(dp, "linux,part-probe");
count             280 drivers/mtd/maps/physmap-core.c 	if (count < 0)
count             283 drivers/mtd/maps/physmap-core.c 	res = devm_kcalloc(&dev->dev, count + 1, sizeof(*res), GFP_KERNEL);
count             287 drivers/mtd/maps/physmap-core.c 	count = of_property_read_string_array(dp, "linux,part-probe", res,
count             288 drivers/mtd/maps/physmap-core.c 					      count);
count             289 drivers/mtd/maps/physmap-core.c 	if (count < 0)
count              26 drivers/mtd/mtdblock.c 	int count;
count             252 drivers/mtd/mtdblock.c 	if (mtdblk->count) {
count             253 drivers/mtd/mtdblock.c 		mtdblk->count++;
count             258 drivers/mtd/mtdblock.c 	mtdblk->count = 1;
count             281 drivers/mtd/mtdblock.c 	if (!--mtdblk->count) {
count             135 drivers/mtd/mtdchar.c static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count,
count             144 drivers/mtd/mtdchar.c 	size_t size = count;
count             149 drivers/mtd/mtdchar.c 	if (*ppos + count > mtd->size) {
count             151 drivers/mtd/mtdchar.c 			count = mtd->size - *ppos;
count             153 drivers/mtd/mtdchar.c 			count = 0;
count             156 drivers/mtd/mtdchar.c 	if (!count)
count             163 drivers/mtd/mtdchar.c 	while (count) {
count             164 drivers/mtd/mtdchar.c 		len = min_t(size_t, count, size);
count             209 drivers/mtd/mtdchar.c 			count -= retlen;
count             212 drivers/mtd/mtdchar.c 				count = 0;
count             225 drivers/mtd/mtdchar.c static ssize_t mtdchar_write(struct file *file, const char __user *buf, size_t count,
count             230 drivers/mtd/mtdchar.c 	size_t size = count;
count             242 drivers/mtd/mtdchar.c 	if (*ppos + count > mtd->size)
count             243 drivers/mtd/mtdchar.c 		count = mtd->size - *ppos;
count             245 drivers/mtd/mtdchar.c 	if (!count)
count             252 drivers/mtd/mtdchar.c 	while (count) {
count             253 drivers/mtd/mtdchar.c 		len = min_t(size_t, count, size);
count             299 drivers/mtd/mtdchar.c 			count -= retlen;
count             145 drivers/mtd/mtdconcat.c 		unsigned long count, loff_t to, size_t * retlen)
count             155 drivers/mtd/mtdconcat.c 	for (i = 0; i < count; i++)
count             166 drivers/mtd/mtdconcat.c 	vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL);
count             184 drivers/mtd/mtdconcat.c 		while (entry_high < count) {
count             242 drivers/mtd/mtdcore.c 					   const char *buf, size_t count)
count             253 drivers/mtd/mtdcore.c 	return count;
count            1822 drivers/mtd/mtdcore.c 			      unsigned long count, loff_t to, size_t *retlen)
count            1828 drivers/mtd/mtdcore.c 	for (i = 0; i < count; i++) {
count            1854 drivers/mtd/mtdcore.c 	       unsigned long count, loff_t to, size_t *retlen)
count            1860 drivers/mtd/mtdcore.c 		return default_mtd_writev(mtd, vecs, count, to, retlen);
count            1861 drivers/mtd/mtdcore.c 	return mtd->_writev(mtd, vecs, count, to, retlen);
count             220 drivers/mtd/mtdoops.c 	u32 count[2], maxcount = 0xffffffff;
count             229 drivers/mtd/mtdoops.c 			       &retlen, (u_char *)&count[0]);
count             238 drivers/mtd/mtdoops.c 		if (count[0] == 0xffffffff && count[1] == 0xffffffff)
count             240 drivers/mtd/mtdoops.c 		if (count[0] == 0xffffffff || count[1] != MTDOOPS_KERNMSG_MAGIC)
count             243 drivers/mtd/mtdoops.c 			maxcount = count[0];
count             245 drivers/mtd/mtdoops.c 		} else if (count[0] < 0x40000000 && maxcount > 0xc0000000) {
count             246 drivers/mtd/mtdoops.c 			maxcount = count[0];
count             248 drivers/mtd/mtdoops.c 		} else if (count[0] > maxcount && count[0] < 0xc0000000) {
count             249 drivers/mtd/mtdoops.c 			maxcount = count[0];
count             251 drivers/mtd/mtdoops.c 		} else if (count[0] > maxcount && count[0] > 0xc0000000
count             253 drivers/mtd/mtdoops.c 			maxcount = count[0];
count             190 drivers/mtd/mtdpart.c 		unsigned long count, loff_t to, size_t *retlen)
count             193 drivers/mtd/mtdpart.c 	return part->parent->_writev(part->parent, vecs, count,
count              86 drivers/mtd/mtdswap.c 	unsigned int count;
count             132 drivers/mtd/mtdswap.c 	__le32 count;
count             163 drivers/mtd/mtdswap.c #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count)
count             198 drivers/mtd/mtdswap.c 		d->trees[oldidx].count--;
count             233 drivers/mtd/mtdswap.c 	d->trees[idx].count++;
count             350 drivers/mtd/mtdswap.c 		eb->erase_count = le32_to_cpu(data->count);
count             382 drivers/mtd/mtdswap.c 		n.count = cpu_to_le32(eb->erase_count);
count             865 drivers/mtd/mtdswap.c 	d->trees[idx].count--;
count            1174 drivers/mtd/mtdswap.c 	unsigned int count[MTDSWAP_TREE_CNT];
count            1189 drivers/mtd/mtdswap.c 			count[i] = d->trees[i].count;
count            1193 drivers/mtd/mtdswap.c 			count[i] = 0;
count            1218 drivers/mtd/mtdswap.c 		if (!count[i])
count            1224 drivers/mtd/mtdswap.c 				name[i], count[i], min[i], max[i]);
count            1227 drivers/mtd/mtdswap.c 				"times\n", name[i], count[i], min[i]);
count             326 drivers/mtd/nand/onenand/omap2.c 					     size_t count)
count             331 drivers/mtd/nand/onenand/omap2.c 	tx = dmaengine_prep_dma_memcpy(c->dma_chan, dst, src, count,
count             362 drivers/mtd/nand/onenand/omap2.c 					size_t count)
count             379 drivers/mtd/nand/onenand/omap2.c 	    count < 384 || in_interrupt() || oops_in_progress )
count             382 drivers/mtd/nand/onenand/omap2.c 	xtra = count & 3;
count             384 drivers/mtd/nand/onenand/omap2.c 		count -= xtra;
count             385 drivers/mtd/nand/onenand/omap2.c 		memcpy(buf + count, this->base + bram_offset + count, xtra);
count             388 drivers/mtd/nand/onenand/omap2.c 	dma_dst = dma_map_single(dev, buf, count, DMA_FROM_DEVICE);
count             392 drivers/mtd/nand/onenand/omap2.c 		dev_err(dev, "Couldn't DMA map a %d byte buffer\n", count);
count             396 drivers/mtd/nand/onenand/omap2.c 	err = omap2_onenand_dma_transfer(c, dma_src, dma_dst, count);
count             397 drivers/mtd/nand/onenand/omap2.c 	dma_unmap_single(dev, dma_dst, count, DMA_FROM_DEVICE);
count             404 drivers/mtd/nand/onenand/omap2.c 	memcpy(buf, this->base + bram_offset, count);
count             410 drivers/mtd/nand/onenand/omap2.c 					 int offset, size_t count)
count             426 drivers/mtd/nand/onenand/omap2.c 	    count < 384 || in_interrupt() || oops_in_progress )
count             429 drivers/mtd/nand/onenand/omap2.c 	dma_src = dma_map_single(dev, buf, count, DMA_TO_DEVICE);
count             432 drivers/mtd/nand/onenand/omap2.c 		dev_err(dev, "Couldn't DMA map a %d byte buffer\n", count);
count             436 drivers/mtd/nand/onenand/omap2.c 	err = omap2_onenand_dma_transfer(c, dma_src, dma_dst, count);
count             437 drivers/mtd/nand/onenand/omap2.c 	dma_unmap_page(dev, dma_src, count, DMA_TO_DEVICE);
count             444 drivers/mtd/nand/onenand/omap2.c 	memcpy(this->base + bram_offset, buf, count);
count             278 drivers/mtd/nand/onenand/onenand_base.c static int onenand_buffer_address(int dataram1, int sectors, int count)
count             291 drivers/mtd/nand/onenand/onenand_base.c 	bsc = count & ONENAND_BSC_MASK;
count             481 drivers/mtd/nand/onenand/onenand_base.c 		int sectors = 0, count = 0;
count             507 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_buffer_address(dataram, sectors, count);
count             759 drivers/mtd/nand/onenand/onenand_base.c 		unsigned char *buffer, int offset, size_t count)
count             768 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_CHECK_BYTE_ACCESS(count)) {
count             772 drivers/mtd/nand/onenand/onenand_base.c 		count--;
count             775 drivers/mtd/nand/onenand/onenand_base.c 		word = this->read_word(bufferram + offset + count);
count             776 drivers/mtd/nand/onenand/onenand_base.c 		buffer[count] = (word & 0xff);
count             779 drivers/mtd/nand/onenand/onenand_base.c 	memcpy(buffer, bufferram + offset, count);
count             795 drivers/mtd/nand/onenand/onenand_base.c 		unsigned char *buffer, int offset, size_t count)
count             806 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_CHECK_BYTE_ACCESS(count)) {
count             810 drivers/mtd/nand/onenand/onenand_base.c 		count--;
count             813 drivers/mtd/nand/onenand/onenand_base.c 		word = this->read_word(bufferram + offset + count);
count             814 drivers/mtd/nand/onenand/onenand_base.c 		buffer[count] = (word & 0xff);
count             817 drivers/mtd/nand/onenand/onenand_base.c 	memcpy(buffer, bufferram + offset, count);
count             835 drivers/mtd/nand/onenand/onenand_base.c 		const unsigned char *buffer, int offset, size_t count)
count             844 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_CHECK_BYTE_ACCESS(count)) {
count             849 drivers/mtd/nand/onenand/onenand_base.c 		count--;
count             852 drivers/mtd/nand/onenand/onenand_base.c 		byte_offset = offset + count;
count             856 drivers/mtd/nand/onenand/onenand_base.c 		word = (word & ~0xff) | buffer[count];
count             860 drivers/mtd/nand/onenand/onenand_base.c 	memcpy(bufferram + offset, buffer, count);
count            2734 drivers/mtd/nand/onenand/onenand_base.c 		int sectors = 4, count = 4;
count            2751 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_buffer_address(dataram, sectors, count);
count             495 drivers/mtd/nand/onenand/samsung.c 				  size_t count)
count             500 drivers/mtd/nand/onenand/samsung.c 	memcpy(buffer, p + offset, count);
count             506 drivers/mtd/nand/onenand/samsung.c 				   size_t count)
count             511 drivers/mtd/nand/onenand/samsung.c 	memcpy(p + offset, buffer, count);
count             515 drivers/mtd/nand/onenand/samsung.c static int (*s5pc110_dma_ops)(dma_addr_t dst, dma_addr_t src, size_t count, int direction);
count             517 drivers/mtd/nand/onenand/samsung.c static int s5pc110_dma_poll(dma_addr_t dst, dma_addr_t src, size_t count, int direction)
count             534 drivers/mtd/nand/onenand/samsung.c 	writel(count, base + S5PC110_DMA_TRANS_SIZE);
count             583 drivers/mtd/nand/onenand/samsung.c static int s5pc110_dma_irq(dma_addr_t dst, dma_addr_t src, size_t count, int direction)
count             605 drivers/mtd/nand/onenand/samsung.c 	writel(count, base + S5PC110_DMA_TRANS_SIZE);
count             616 drivers/mtd/nand/onenand/samsung.c 		unsigned char *buffer, int offset, size_t count)
count             634 drivers/mtd/nand/onenand/samsung.c 		!onenand->dma_addr || count != mtd->writesize)
count             642 drivers/mtd/nand/onenand/samsung.c 		    ((size_t) (buf + count - 1) & PAGE_MASK))
count             654 drivers/mtd/nand/onenand/samsung.c 		dma_dst = dma_map_page(dev, page, ofs, count, DMA_FROM_DEVICE);
count             658 drivers/mtd/nand/onenand/samsung.c 		dma_dst = dma_map_single(dev, buf, count, DMA_FROM_DEVICE);
count             661 drivers/mtd/nand/onenand/samsung.c 		dev_err(dev, "Couldn't map a %d byte buffer for DMA\n", count);
count             665 drivers/mtd/nand/onenand/samsung.c 			count, S5PC110_DMA_DIR_READ);
count             668 drivers/mtd/nand/onenand/samsung.c 		dma_unmap_page(dev, dma_dst, count, DMA_FROM_DEVICE);
count             670 drivers/mtd/nand/onenand/samsung.c 		dma_unmap_single(dev, dma_dst, count, DMA_FROM_DEVICE);
count             676 drivers/mtd/nand/onenand/samsung.c 	if (count != mtd->writesize) {
count             682 drivers/mtd/nand/onenand/samsung.c 	memcpy(buffer, p, count);
count             188 drivers/mtd/nand/raw/ingenic/jz4780_bch.c 	int i, ret, count;
count             210 drivers/mtd/nand/raw/ingenic/jz4780_bch.c 		count = (reg & BCH_BHINT_ERRC_MASK) >> BCH_BHINT_ERRC_SHIFT;
count             213 drivers/mtd/nand/raw/ingenic/jz4780_bch.c 		for (i = 0; i < count; i++) {
count             407 drivers/mtd/nand/raw/lpc32xx_slc.c static void lpc32xx_slc_ecc_copy(uint8_t *spare, const uint32_t *ecc, int count)
count             411 drivers/mtd/nand/raw/lpc32xx_slc.c 	for (i = 0; i < (count * 3); i += 3) {
count             422 drivers/mtd/nand/raw/meson_nand.c 	int i, count;
count             424 drivers/mtd/nand/raw/meson_nand.c 	for (i = 0, count = 0; i < nand->ecc.steps; i++, count += 2) {
count             426 drivers/mtd/nand/raw/meson_nand.c 		*info |= oob_buf[count];
count             427 drivers/mtd/nand/raw/meson_nand.c 		*info |= oob_buf[count + 1] << 8;
count             435 drivers/mtd/nand/raw/meson_nand.c 	int i, count;
count             437 drivers/mtd/nand/raw/meson_nand.c 	for (i = 0, count = 0; i < nand->ecc.steps; i++, count += 2) {
count             439 drivers/mtd/nand/raw/meson_nand.c 		oob_buf[count] = *info;
count             440 drivers/mtd/nand/raw/meson_nand.c 		oob_buf[count + 1] = *info >> 8;
count              68 drivers/mtd/nand/raw/nand_bch.c 	int i, count;
count              70 drivers/mtd/nand/raw/nand_bch.c 	count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc,
count              72 drivers/mtd/nand/raw/nand_bch.c 	if (count > 0) {
count              73 drivers/mtd/nand/raw/nand_bch.c 		for (i = 0; i < count; i++) {
count              82 drivers/mtd/nand/raw/nand_bch.c 	} else if (count < 0) {
count              84 drivers/mtd/nand/raw/nand_bch.c 		count = -EBADMSG;
count              86 drivers/mtd/nand/raw/nand_bch.c 	return count;
count             337 drivers/mtd/nand/raw/nandsim.c 		uint     count;   /* internal counter */
count            1133 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count < (ns->geom.pgaddrbytes - ns->geom.secaddrbytes))
count            1134 drivers/mtd/nand/raw/nandsim.c 		ns->regs.column |= (byte << 8 * ns->regs.count);
count            1136 drivers/mtd/nand/raw/nandsim.c 		ns->regs.row |= (byte << 8 * (ns->regs.count -
count            1157 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count  = 0;
count            1299 drivers/mtd/nand/raw/nandsim.c static int get_pages(struct nandsim *ns, struct file *file, size_t count, loff_t pos)
count            1306 drivers/mtd/nand/raw/nandsim.c 	end_index = (pos + count - 1) >> PAGE_SHIFT;
count            1329 drivers/mtd/nand/raw/nandsim.c static ssize_t read_file(struct nandsim *ns, struct file *file, void *buf, size_t count, loff_t pos)
count            1335 drivers/mtd/nand/raw/nandsim.c 	err = get_pages(ns, file, count, pos);
count            1339 drivers/mtd/nand/raw/nandsim.c 	tx = kernel_read(file, buf, count, &pos);
count            1345 drivers/mtd/nand/raw/nandsim.c static ssize_t write_file(struct nandsim *ns, struct file *file, void *buf, size_t count, loff_t pos)
count            1351 drivers/mtd/nand/raw/nandsim.c 	err = get_pages(ns, file, count, pos);
count            1355 drivers/mtd/nand/raw/nandsim.c 	tx = kernel_write(file, buf, count, &pos);
count            1650 drivers/mtd/nand/raw/nandsim.c 		if (num != ns->regs.count) {
count            1652 drivers/mtd/nand/raw/nandsim.c 					ns->regs.count, num);
count            1765 drivers/mtd/nand/raw/nandsim.c 			&& ns->regs.count != ns->regs.num) {
count            1767 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num - ns->regs.count);
count            1783 drivers/mtd/nand/raw/nandsim.c 		ns->regs.num   = ns->regs.count = 0;
count            1804 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count = ns->regs.num = 0;
count            1817 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count = 0;
count            1846 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count = 0;
count            1877 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
count            1885 drivers/mtd/nand/raw/nandsim.c 				outb = ns->buf.byte[ns->regs.count];
count            1886 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count += 1;
count            1888 drivers/mtd/nand/raw/nandsim.c 				outb = (u_char)cpu_to_le16(ns->buf.word[ns->regs.count >> 1]);
count            1889 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count += 2;
count            1893 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num);
count            1894 drivers/mtd/nand/raw/nandsim.c 			outb = ns->ids[ns->regs.count];
count            1895 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 1;
count            1901 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
count            1955 drivers/mtd/nand/raw/nandsim.c 			    NS_STATE(ns->state) == STATE_DATAOUT_ID && ns->regs.count == 2)) {
count            1989 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count = 0;
count            2014 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
count            2022 drivers/mtd/nand/raw/nandsim.c 		ns->regs.count += 1;
count            2025 drivers/mtd/nand/raw/nandsim.c 				(uint)byte, ns->regs.count, ns->regs.num);
count            2027 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
count            2047 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
count            2054 drivers/mtd/nand/raw/nandsim.c 			ns->buf.byte[ns->regs.count] = byte;
count            2055 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 1;
count            2057 drivers/mtd/nand/raw/nandsim.c 			ns->buf.word[ns->regs.count >> 1] = cpu_to_le16((uint16_t)byte);
count            2058 drivers/mtd/nand/raw/nandsim.c 			ns->regs.count += 2;
count            2079 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
count            2085 drivers/mtd/nand/raw/nandsim.c 	memcpy(ns->buf.byte + ns->regs.count, buf, len);
count            2086 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count += len;
count            2088 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
count            2089 drivers/mtd/nand/raw/nandsim.c 		NS_DBG("write_buf: %d bytes were written\n", ns->regs.count);
count            2122 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
count            2128 drivers/mtd/nand/raw/nandsim.c 	memcpy(buf, ns->buf.byte + ns->regs.count, len);
count            2129 drivers/mtd/nand/raw/nandsim.c 	ns->regs.count += len;
count            2131 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
count              83 drivers/mtd/nand/raw/oxnas_nand.c 	int count = 0;
count             104 drivers/mtd/nand/raw/oxnas_nand.c 	count = of_get_child_count(np);
count             105 drivers/mtd/nand/raw/oxnas_nand.c 	if (count > 1)
count             577 drivers/mtd/nand/raw/sunxi_nand.c static u16 sunxi_nfc_randomizer_step(u16 state, int count)
count             585 drivers/mtd/nand/raw/sunxi_nand.c 	while (count--)
count             303 drivers/mtd/spi-nor/cadence-quadspi.c 	unsigned int count = 0;
count             314 drivers/mtd/spi-nor/cadence-quadspi.c 			count++;
count             316 drivers/mtd/spi-nor/cadence-quadspi.c 			count = 0;
count             318 drivers/mtd/spi-nor/cadence-quadspi.c 		if (count >= poll_idle_retry)
count            1095 drivers/mtd/spi-nor/spi-nor.c 	cmd->count = 1;
count            1164 drivers/mtd/spi-nor/spi-nor.c 			cmd->count++;
count            1210 drivers/mtd/spi-nor/spi-nor.c 		while (cmd->count) {
count            1218 drivers/mtd/spi-nor/spi-nor.c 			cmd->count--;
count             117 drivers/mtd/tests/oobtest.c 			       const void *ct, size_t count)
count             124 drivers/mtd/tests/oobtest.c 	for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--, i++) {
count             137 drivers/mtd/tests/oobtest.c #define memcmpshow(addr, cs, ct, count) memcmpshowoffset((addr), 0, (cs), (ct),\
count             138 drivers/mtd/tests/oobtest.c 							 (count))
count             145 drivers/mtd/tests/oobtest.c 			size_t count)
count             152 drivers/mtd/tests/oobtest.c 	for (su1 = cs; 0 < count; ++su1, count--, i++) {
count              28 drivers/mtd/tests/speedtest.c static int count;
count              29 drivers/mtd/tests/speedtest.c module_param(count, int, S_IRUGO);
count              30 drivers/mtd/tests/speedtest.c MODULE_PARM_DESC(count, "Maximum number of eraseblocks to use "
count             189 drivers/mtd/tests/speedtest.c 	if (count)
count             190 drivers/mtd/tests/speedtest.c 		pr_info("MTD device: %d    count: %d\n", dev, count);
count             219 drivers/mtd/tests/speedtest.c 	if (count > 0 && count < ebcnt)
count             220 drivers/mtd/tests/speedtest.c 		ebcnt = count;
count              28 drivers/mtd/tests/stresstest.c static int count = 10000;
count              29 drivers/mtd/tests/stresstest.c module_param(count, int, S_IRUGO);
count              30 drivers/mtd/tests/stresstest.c MODULE_PARM_DESC(count, "Number of operations to do (default is 10000)");
count             206 drivers/mtd/tests/stresstest.c 	for (op = 0; op < count; op++) {
count             189 drivers/mtd/ubi/build.c 	int i, count = 0;
count             209 drivers/mtd/ubi/build.c 		count += 1;
count             213 drivers/mtd/ubi/build.c 	return count;
count             227 drivers/mtd/ubi/build.c 	int i, count = 0;
count             238 drivers/mtd/ubi/build.c 		count += ubi_notify_all(ubi, UBI_VOLUME_ADDED, nb);
count             241 drivers/mtd/ubi/build.c 	return count;
count             171 drivers/mtd/ubi/cdev.c static ssize_t vol_cdev_read(struct file *file, __user char *buf, size_t count,
count             178 drivers/mtd/ubi/cdev.c 	size_t count_save = count;
count             182 drivers/mtd/ubi/cdev.c 		count, *offp, vol->vol_id);
count             192 drivers/mtd/ubi/cdev.c 	if (*offp == vol->used_bytes || count == 0)
count             198 drivers/mtd/ubi/cdev.c 	if (*offp + count > vol->used_bytes)
count             199 drivers/mtd/ubi/cdev.c 		count_save = count = vol->used_bytes - *offp;
count             202 drivers/mtd/ubi/cdev.c 	if (count < tbuf_size)
count             203 drivers/mtd/ubi/cdev.c 		tbuf_size = ALIGN(count, ubi->min_io_size);
count             208 drivers/mtd/ubi/cdev.c 	len = count > tbuf_size ? tbuf_size : count;
count             227 drivers/mtd/ubi/cdev.c 		count -= len;
count             237 drivers/mtd/ubi/cdev.c 		len = count > tbuf_size ? tbuf_size : count;
count             238 drivers/mtd/ubi/cdev.c 	} while (count);
count             241 drivers/mtd/ubi/cdev.c 	return err ? err : count_save - count;
count             249 drivers/mtd/ubi/cdev.c 				     size_t count, loff_t *offp)
count             255 drivers/mtd/ubi/cdev.c 	size_t count_save = count;
count             262 drivers/mtd/ubi/cdev.c 		count, *offp, vol->vol_id);
count             273 drivers/mtd/ubi/cdev.c 	if (*offp + count > vol->used_bytes)
count             274 drivers/mtd/ubi/cdev.c 		count_save = count = vol->used_bytes - *offp;
count             277 drivers/mtd/ubi/cdev.c 	if (count & (ubi->min_io_size - 1)) {
count             283 drivers/mtd/ubi/cdev.c 	if (count < tbuf_size)
count             284 drivers/mtd/ubi/cdev.c 		tbuf_size = ALIGN(count, ubi->min_io_size);
count             289 drivers/mtd/ubi/cdev.c 	len = count > tbuf_size ? tbuf_size : count;
count             291 drivers/mtd/ubi/cdev.c 	while (count) {
count             313 drivers/mtd/ubi/cdev.c 		count -= len;
count             316 drivers/mtd/ubi/cdev.c 		len = count > tbuf_size ? tbuf_size : count;
count             320 drivers/mtd/ubi/cdev.c 	return err ? err : count_save - count;
count             324 drivers/mtd/ubi/cdev.c 			      size_t count, loff_t *offp)
count             332 drivers/mtd/ubi/cdev.c 		return vol_cdev_direct_write(file, buf, count, offp);
count             335 drivers/mtd/ubi/cdev.c 		err = ubi_more_update_data(ubi, vol, buf, count);
count             337 drivers/mtd/ubi/cdev.c 		err = ubi_more_leb_change_data(ubi, vol, buf, count);
count             341 drivers/mtd/ubi/cdev.c 			count, err);
count             350 drivers/mtd/ubi/cdev.c 		count = err;
count             354 drivers/mtd/ubi/cdev.c 			return count;
count             375 drivers/mtd/ubi/cdev.c 	return count;
count             686 drivers/mtd/ubi/cdev.c 	if (req->count < 0 || req->count > UBI_MAX_RNVOL)
count             689 drivers/mtd/ubi/cdev.c 	if (req->count == 0)
count             693 drivers/mtd/ubi/cdev.c 	for (i = 0; i < req->count; i++) {
count             708 drivers/mtd/ubi/cdev.c 	for (i = 0; i < req->count - 1; i++) {
count             709 drivers/mtd/ubi/cdev.c 		for (n = i + 1; n < req->count; n++) {
count             725 drivers/mtd/ubi/cdev.c 	for (i = 0; i < req->count; i++) {
count             248 drivers/mtd/ubi/debug.c 			     size_t count, loff_t *ppos)
count             276 drivers/mtd/ubi/debug.c 		count = simple_read_from_buffer(user_buf, count, ppos,
count             281 drivers/mtd/ubi/debug.c 		count = simple_read_from_buffer(user_buf, count, ppos,
count             286 drivers/mtd/ubi/debug.c 		count = simple_read_from_buffer(user_buf, count, ppos,
count             291 drivers/mtd/ubi/debug.c 		count = -EINVAL;
count             302 drivers/mtd/ubi/debug.c 	count = simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             306 drivers/mtd/ubi/debug.c 	return count;
count             311 drivers/mtd/ubi/debug.c 			      size_t count, loff_t *ppos)
count             326 drivers/mtd/ubi/debug.c 	buf_size = min_t(size_t, count, (sizeof(buf) - 1));
count             328 drivers/mtd/ubi/debug.c 		count = -EFAULT;
count             334 drivers/mtd/ubi/debug.c 			count = -EINVAL;
count             338 drivers/mtd/ubi/debug.c 			count = -EINVAL;
count             342 drivers/mtd/ubi/debug.c 			count = -EINVAL;
count             353 drivers/mtd/ubi/debug.c 		count = -EINVAL;
count             370 drivers/mtd/ubi/debug.c 		count = -EINVAL;
count             374 drivers/mtd/ubi/debug.c 	return count;
count             236 drivers/mtd/ubi/gluebi.c 	int err, i, lnum, count;
count             243 drivers/mtd/ubi/gluebi.c 	count = mtd_div_by_eb(instr->len, mtd);
count             246 drivers/mtd/ubi/gluebi.c 	for (i = 0; i < count - 1; i++) {
count             855 drivers/mtd/ubi/ubi.h 			 const void __user *buf, int count);
count             859 drivers/mtd/ubi/ubi.h 			     const void __user *buf, int count);
count             266 drivers/mtd/ubi/upd.c 			 const void __user *buf, int count)
count             268 drivers/mtd/ubi/upd.c 	int lnum, offs, err = 0, len, to_write = count;
count             271 drivers/mtd/ubi/upd.c 		count, vol->upd_bytes, vol->upd_received);
count             277 drivers/mtd/ubi/upd.c 	if (vol->upd_received + count > vol->upd_bytes)
count             278 drivers/mtd/ubi/upd.c 		to_write = count = vol->upd_bytes - vol->upd_received;
count             293 drivers/mtd/ubi/upd.c 		if (len > count)
count             294 drivers/mtd/ubi/upd.c 			len = count;
count             316 drivers/mtd/ubi/upd.c 		count -= len;
count             325 drivers/mtd/ubi/upd.c 	while (count) {
count             326 drivers/mtd/ubi/upd.c 		if (count > vol->usable_leb_size)
count             329 drivers/mtd/ubi/upd.c 			len = count;
count             344 drivers/mtd/ubi/upd.c 		count -= len;
count             381 drivers/mtd/ubi/upd.c 			     const void __user *buf, int count)
count             386 drivers/mtd/ubi/upd.c 		count, vol->upd_bytes, vol->upd_received);
count             391 drivers/mtd/ubi/upd.c 	if (vol->upd_received + count > vol->upd_bytes)
count             392 drivers/mtd/ubi/upd.c 		count = vol->upd_bytes - vol->upd_received;
count             394 drivers/mtd/ubi/upd.c 	err = copy_from_user(vol->upd_buf + vol->upd_received, buf, count);
count             398 drivers/mtd/ubi/upd.c 	vol->upd_received += count;
count             415 drivers/mtd/ubi/upd.c 		err = count;
count             509 drivers/mtd/ubi/wl.c 	int count;
count             516 drivers/mtd/ubi/wl.c 	count = 0;
count             524 drivers/mtd/ubi/wl.c 		if (count++ > 32) {
count              10 drivers/mtd/ubi/wl.h static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count)
count              13 drivers/mtd/ubi/wl.h 	*count += (ubi->fm_size / ubi->leb_size) * 2;
count              22 drivers/mtd/ubi/wl.h static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) { }
count             165 drivers/net/arcnet/arc-rawmode.c 	int count;
count             169 drivers/net/arcnet/arc-rawmode.c 	for (count = 0; count < 256; count++)
count             170 drivers/net/arcnet/arc-rawmode.c 		if (arc_proto_map[count] == arc_proto_default)
count             171 drivers/net/arcnet/arc-rawmode.c 			arc_proto_map[count] = &rawmode_proto;
count              53 drivers/net/arcnet/arc-rimi.c 				 void *buf, int count);
count              55 drivers/net/arcnet/arc-rimi.c 				   int offset, void *buf, int count);
count             288 drivers/net/arcnet/arc-rimi.c 				 void *buf, int count)
count             293 drivers/net/arcnet/arc-rimi.c 	TIME(dev, "memcpy_toio", count, memcpy_toio(memaddr, buf, count));
count             297 drivers/net/arcnet/arc-rimi.c 				   int offset, void *buf, int count)
count             302 drivers/net/arcnet/arc-rimi.c 	TIME(dev, "memcpy_fromio", count, memcpy_fromio(buf, memaddr, count));
count             324 drivers/net/arcnet/arcdevice.h 				     int offset, void *buf, int count);
count             326 drivers/net/arcnet/arcdevice.h 				       int offset, void *buf, int count);
count             377 drivers/net/arcnet/arcdevice.h #define arcnet_insb(addr, offset, buffer, count)			\
count             378 drivers/net/arcnet/arcdevice.h 	insb((addr) + BUS_ALIGN * (offset), buffer, count)
count             379 drivers/net/arcnet/arcdevice.h #define arcnet_outsb(addr, offset, buffer, count)			\
count             380 drivers/net/arcnet/arcdevice.h 	outsb((addr) + BUS_ALIGN * (offset), buffer, count)
count             115 drivers/net/arcnet/arcnet.c 	int count;
count             123 drivers/net/arcnet/arcnet.c 	for (count = 0; count < 256; count++)
count             124 drivers/net/arcnet/arcnet.c 		arc_proto_map[count] = arc_proto_default;
count             266 drivers/net/arcnet/arcnet.c 	int count;
count             275 drivers/net/arcnet/arcnet.c 	for (count = 0; count < 256; count++) {
count             276 drivers/net/arcnet/arcnet.c 		if (arc_proto_map[count] == proto)
count             277 drivers/net/arcnet/arcnet.c 			arc_proto_map[count] = arc_proto_default;
count             343 drivers/net/arcnet/arcnet.c 	int count, mtu = 65535;
count             346 drivers/net/arcnet/arcnet.c 	for (count = 0; count < 256; count++) {
count             347 drivers/net/arcnet/arcnet.c 		if (arc_proto_map[count] != &arc_proto_null &&
count             348 drivers/net/arcnet/arcnet.c 		    arc_proto_map[count]->mtu < mtu) {
count             349 drivers/net/arcnet/arcnet.c 			mtu = arc_proto_map[count]->mtu;
count             471 drivers/net/arcnet/arcnet.c 	int count, newmtu, error;
count             481 drivers/net/arcnet/arcnet.c 		for (count = 0; count < 256; count++)
count             482 drivers/net/arcnet/arcnet.c 			arc_cont(D_PROTO, "%c", arc_proto_map[count]->suffix);
count             508 drivers/net/arcnet/arcnet.c 	for (count = 0; count < 256; count++) {
count             509 drivers/net/arcnet/arcnet.c 		if (arc_proto_map[count] == arc_bcast_proto) {
count             510 drivers/net/arcnet/arcnet.c 			lp->default_proto[0] = count;
count             243 drivers/net/arcnet/capmode.c 	int count;
count             247 drivers/net/arcnet/capmode.c 	for (count = 1; count <= 8; count++)
count             248 drivers/net/arcnet/capmode.c 		if (arc_proto_map[count] == arc_proto_default)
count             249 drivers/net/arcnet/capmode.c 			arc_proto_map[count] = &capmode_proto;
count              56 drivers/net/arcnet/com20020.c 				  int offset, void *buf, int count);
count              58 drivers/net/arcnet/com20020.c 				    int offset, void *buf, int count);
count              63 drivers/net/arcnet/com20020.c 				    int offset, void *buf, int count)
count              73 drivers/net/arcnet/com20020.c 	TIME(dev, "insb", count,
count              74 drivers/net/arcnet/com20020.c 	     arcnet_insb(ioaddr, COM20020_REG_RW_MEMDATA, buf, count));
count              78 drivers/net/arcnet/com20020.c 				  int offset, void *buf, int count)
count              87 drivers/net/arcnet/com20020.c 	TIME(dev, "outsb", count,
count              88 drivers/net/arcnet/com20020.c 	     arcnet_outsb(ioaddr, COM20020_REG_RW_MEMDATA, buf, count));
count              56 drivers/net/arcnet/com20020_cs.c 	int count;
count              59 drivers/net/arcnet/com20020_cs.c 	for (count = 0; count < 16; count++) {
count              60 drivers/net/arcnet/com20020_cs.c 		if (!(count % 16))
count              61 drivers/net/arcnet/com20020_cs.c 			pr_cont("%04X:", ioaddr + count);
count              62 drivers/net/arcnet/com20020_cs.c 		pr_cont(" %02X", arcnet_inb(ioaddr, count));
count              68 drivers/net/arcnet/com20020_cs.c 	count = 0;
count              69 drivers/net/arcnet/com20020_cs.c 	arcnet_outb((count >> 8) | RDDATAflag | AUTOINCflag,
count              71 drivers/net/arcnet/com20020_cs.c 	arcnet_outb(count & 0xff, ioaddr, COM20020_REG_W_ADDR_LO);
count              73 drivers/net/arcnet/com20020_cs.c 	for (count = 0; count < 256 + 32; count++) {
count              74 drivers/net/arcnet/com20020_cs.c 		if (!(count % 16))
count              75 drivers/net/arcnet/com20020_cs.c 			pr_cont("%04X:", count);
count              53 drivers/net/arcnet/com90io.c 				 void *buf, int count);
count              55 drivers/net/arcnet/com90io.c 				   int offset, void *buf, int count);
count             333 drivers/net/arcnet/com90io.c 				 int offset, void *buf, int count)
count             335 drivers/net/arcnet/com90io.c 	TIME(dev, "put_whole_buffer", count,
count             336 drivers/net/arcnet/com90io.c 	     put_whole_buffer(dev, bufnum * 512 + offset, count, buf));
count             340 drivers/net/arcnet/com90io.c 				   int offset, void *buf, int count)
count             342 drivers/net/arcnet/com90io.c 	TIME(dev, "get_whole_buffer", count,
count             343 drivers/net/arcnet/com90io.c 	     get_whole_buffer(dev, bufnum * 512 + offset, count, buf));
count              64 drivers/net/arcnet/com90xx.c 				 void *buf, int count);
count              66 drivers/net/arcnet/com90xx.c 				   int offset, void *buf, int count);
count              98 drivers/net/arcnet/com90xx.c 	int count, status, ioaddr, numprint, airq, openparen = 0;
count             129 drivers/net/arcnet/com90xx.c 		for (count = 0x200; count <= 0x3f0; count += 16)
count             130 drivers/net/arcnet/com90xx.c 			ports[numports++] = count;
count             134 drivers/net/arcnet/com90xx.c 		for (count = 0xA0000; count <= 0xFF800; count += 2048)
count             135 drivers/net/arcnet/com90xx.c 			shmems[numshmems++] = count;
count             630 drivers/net/arcnet/com90xx.c 				 int offset, void *buf, int count)
count             635 drivers/net/arcnet/com90xx.c 	TIME(dev, "memcpy_toio", count, memcpy_toio(memaddr, buf, count));
count             639 drivers/net/arcnet/com90xx.c 				   int offset, void *buf, int count)
count             644 drivers/net/arcnet/com90xx.c 	TIME(dev, "memcpy_fromio", count, memcpy_fromio(buf, memaddr, count));
count             663 drivers/net/arcnet/com90xx.c 	int count;
count             665 drivers/net/arcnet/com90xx.c 	for (count = 0; count < numcards; count++) {
count             666 drivers/net/arcnet/com90xx.c 		dev = cards[count];
count            1361 drivers/net/bonding/bond_alb.c 				unsigned int count;
count            1364 drivers/net/bonding/bond_alb.c 				count = slaves ? READ_ONCE(slaves->count) : 0;
count            1365 drivers/net/bonding/bond_alb.c 				if (likely(count))
count            1367 drivers/net/bonding/bond_alb.c 							       count];
count            1495 drivers/net/bonding/bond_alb.c 			unsigned int count;
count            1498 drivers/net/bonding/bond_alb.c 			count = slaves ? READ_ONCE(slaves->count) : 0;
count            1499 drivers/net/bonding/bond_alb.c 			if (likely(count))
count            1501 drivers/net/bonding/bond_alb.c 						       count];
count            4059 drivers/net/bonding/bond_main.c 			  new_arr->count);
count            4061 drivers/net/bonding/bond_main.c 		new_arr->arr[new_arr->count++] = slave;
count            4081 drivers/net/bonding/bond_main.c 		for (idx = 0; old_arr != NULL && idx < old_arr->count; idx++) {
count            4084 drivers/net/bonding/bond_main.c 				    old_arr->arr[old_arr->count-1];
count            4085 drivers/net/bonding/bond_main.c 				old_arr->count--;
count            4103 drivers/net/bonding/bond_main.c 	unsigned int count;
count            4106 drivers/net/bonding/bond_main.c 	count = slaves ? READ_ONCE(slaves->count) : 0;
count            4107 drivers/net/bonding/bond_main.c 	if (likely(count)) {
count            4108 drivers/net/bonding/bond_main.c 		slave = slaves->arr[bond_xmit_hash(bond, skb) % count];
count              80 drivers/net/bonding/bond_sysfs.c 				   const char *buffer, size_t count)
count              86 drivers/net/bonding/bond_sysfs.c 	int rv, res = count;
count             143 drivers/net/bonding/bond_sysfs.c 					  const char *buffer, size_t count)
count             153 drivers/net/bonding/bond_sysfs.c 	buffer_clone = kstrndup(buffer, count, GFP_KERNEL);
count             158 drivers/net/bonding/bond_sysfs.c 		ret = count;
count             414 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             419 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%s\n", primary->dev->name);
count             422 drivers/net/bonding/bond_sysfs.c 	return count;
count             464 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             469 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%s\n", slave_dev->name);
count             472 drivers/net/bonding/bond_sysfs.c 	return count;
count             494 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             499 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%d\n",
count             504 drivers/net/bonding/bond_sysfs.c 	return count;
count             514 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             519 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%d\n",
count             524 drivers/net/bonding/bond_sysfs.c 	return count;
count             534 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             539 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%d\n",
count             544 drivers/net/bonding/bond_sysfs.c 	return count;
count             554 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             559 drivers/net/bonding/bond_sysfs.c 		count = sprintf(buf, "%d\n",
count             564 drivers/net/bonding/bond_sysfs.c 	return count;
count             574 drivers/net/bonding/bond_sysfs.c 	int count = 0;
count             580 drivers/net/bonding/bond_sysfs.c 			count = sprintf(buf, "%pM\n", ad_info.partner_system);
count             583 drivers/net/bonding/bond_sysfs.c 	return count;
count             163 drivers/net/caif/caif_serial.c 			char *flags, int count)
count             191 drivers/net/caif/caif_serial.c 	skb = netdev_alloc_skb(ser->dev, count+1);
count             194 drivers/net/caif/caif_serial.c 	skb_put_data(skb, data, count);
count             198 drivers/net/caif/caif_serial.c 	debugfs_rx(ser, data, count);
count             203 drivers/net/caif/caif_serial.c 		ser->dev->stats.rx_bytes += count;
count             132 drivers/net/caif/caif_spi.c 			   size_t count, loff_t *ppos)
count             171 drivers/net/caif/caif_spi.c 	size = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             178 drivers/net/caif/caif_spi.c 			   size_t count, size_t cut)
count             182 drivers/net/caif/caif_spi.c 	for (i = 0; i < count; i++) {
count             186 drivers/net/caif/caif_spi.c 		if ((i == cut) && (count > (cut * 2))) {
count             188 drivers/net/caif/caif_spi.c 			i = count - cut;
count             191 drivers/net/caif/caif_spi.c 					count - (cut * 2));
count             204 drivers/net/caif/caif_spi.c 			   size_t count, loff_t *ppos)
count             234 drivers/net/caif/caif_spi.c 	size = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1191 drivers/net/can/at91_can.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1218 drivers/net/can/at91_can.c 	ret = count;
count            1490 drivers/net/can/grcan.c 					  size_t count)			\
count            1502 drivers/net/can/grcan.c 		return count;						\
count            1839 drivers/net/can/janz-ican3.c 				    const char *buf, size_t count)
count            1852 drivers/net/can/janz-ican3.c 	return count;
count             769 drivers/net/can/kvaser_pciefd.c 	u8 count;
count             806 drivers/net/can/kvaser_pciefd.c 	count = ioread32(can->reg_base + KVASER_PCIEFD_KCAN_TX_NPACKETS_REG);
count             810 drivers/net/can/kvaser_pciefd.c 	if (count >= KVASER_PCIEFD_CAN_TX_MAX_COUNT ||
count            1422 drivers/net/can/kvaser_pciefd.c 		u8 count = ioread32(can->reg_base +
count            1425 drivers/net/can/kvaser_pciefd.c 		if (!count)
count            1460 drivers/net/can/kvaser_pciefd.c 		u8 count = ioread32(can->reg_base +
count            1463 drivers/net/can/kvaser_pciefd.c 		if (count == 0)
count            1535 drivers/net/can/kvaser_pciefd.c 		u8 count = ioread32(can->reg_base +
count            1538 drivers/net/can/kvaser_pciefd.c 		if (count < KVASER_PCIEFD_CAN_TX_MAX_COUNT &&
count            1706 drivers/net/can/kvaser_pciefd.c 		u8 count = ioread32(can->reg_base +
count            1709 drivers/net/can/kvaser_pciefd.c 		if (count == 0)
count             211 drivers/net/can/m_can/tcan4x5x.c static int tcan4x5x_regmap_write(void *context, const void *data, size_t count)
count             216 drivers/net/can/m_can/tcan4x5x.c 	return regmap_spi_gather_write(context, reg, 4, val, count - 4);
count             100 drivers/net/can/sja1000/f81601.c 	int err, i, count;
count             145 drivers/net/can/sja1000/f81601.c 	count = ARRAY_SIZE(card->net_dev);
count             148 drivers/net/can/sja1000/f81601.c 		count = 1;
count             150 drivers/net/can/sja1000/f81601.c 	for (i = 0; i < count; i++) {
count             473 drivers/net/can/slcan.c 			      const unsigned char *cp, char *fp, int count)
count             481 drivers/net/can/slcan.c 	while (count--) {
count             568 drivers/net/can/softing/softing_main.c 		const char *buf, size_t count)
count             590 drivers/net/can/softing/softing_main.c 	return count;
count             156 drivers/net/can/usb/ems_usb.c 	u8 count;
count             636 drivers/net/can/usb/ucan.c 	u16 count, i;
count             647 drivers/net/can/usb/ucan.c 	count = (len - UCAN_IN_HDR_SIZE) / 2;
count             648 drivers/net/can/usb/ucan.c 	for (i = 0; i < count; i++) {
count            1630 drivers/net/dsa/b53/b53_common.c 	unsigned int count = 0;
count            1658 drivers/net/dsa/b53/b53_common.c 	} while (count++ < 1024);
count             119 drivers/net/dsa/bcm_sf2_cfp.c 	unsigned int i, count = 0;
count             123 drivers/net/dsa/bcm_sf2_cfp.c 			count++;
count             126 drivers/net/dsa/bcm_sf2_cfp.c 	return count;
count             832 drivers/net/dsa/mv88e6xxx/chip.c 	int count = 0;
count             840 drivers/net/dsa/mv88e6xxx/chip.c 		count = chip->info->ops->stats_get_strings(chip, data);
count             843 drivers/net/dsa/mv88e6xxx/chip.c 		data += count * ETH_GSTRING_LEN;
count             844 drivers/net/dsa/mv88e6xxx/chip.c 		count = chip->info->ops->serdes_get_strings(chip, port, data);
count             847 drivers/net/dsa/mv88e6xxx/chip.c 	data += count * ETH_GSTRING_LEN;
count             888 drivers/net/dsa/mv88e6xxx/chip.c 	int count = 0;
count             895 drivers/net/dsa/mv88e6xxx/chip.c 		count = chip->info->ops->stats_get_sset_count(chip);
count             896 drivers/net/dsa/mv88e6xxx/chip.c 	if (count < 0)
count             903 drivers/net/dsa/mv88e6xxx/chip.c 		count = serdes_count;
count             906 drivers/net/dsa/mv88e6xxx/chip.c 	count += serdes_count;
count             907 drivers/net/dsa/mv88e6xxx/chip.c 	count += ARRAY_SIZE(mv88e6xxx_atu_vtu_stats_strings);
count             912 drivers/net/dsa/mv88e6xxx/chip.c 	return count;
count             983 drivers/net/dsa/mv88e6xxx/chip.c 	int count = 0;
count             986 drivers/net/dsa/mv88e6xxx/chip.c 		count = chip->info->ops->stats_get_stats(chip, port, data);
count             990 drivers/net/dsa/mv88e6xxx/chip.c 		data += count;
count             991 drivers/net/dsa/mv88e6xxx/chip.c 		count = chip->info->ops->serdes_get_stats(chip, port, data);
count             993 drivers/net/dsa/mv88e6xxx/chip.c 	data += count;
count             408 drivers/net/dsa/sja1105/sja1105_ethtool.c 	int count = ARRAY_SIZE(sja1105_port_stats);
count             416 drivers/net/dsa/sja1105/sja1105_ethtool.c 		count += ARRAY_SIZE(sja1105pqrs_extra_port_stats);
count             418 drivers/net/dsa/sja1105/sja1105_ethtool.c 	return count;
count            1445 drivers/net/dsa/sja1105/sja1105_main.c 	int count, i;
count            1448 drivers/net/dsa/sja1105/sja1105_main.c 	count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count;
count            1450 drivers/net/dsa/sja1105/sja1105_main.c 	for (i = 0; i < count; i++)
count             335 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(u32 *index, const int count, const int num_entries)
count             341 drivers/net/ethernet/3com/typhoon.c 	*index += count * sizeof(struct cmd_desc);
count             346 drivers/net/ethernet/3com/typhoon.c typhoon_inc_cmd_index(u32 *index, const int count)
count             348 drivers/net/ethernet/3com/typhoon.c 	typhoon_inc_index(index, count, COMMAND_ENTRIES);
count             352 drivers/net/ethernet/3com/typhoon.c typhoon_inc_resp_index(u32 *index, const int count)
count             354 drivers/net/ethernet/3com/typhoon.c 	typhoon_inc_index(index, count, RESPONSE_ENTRIES);
count             358 drivers/net/ethernet/3com/typhoon.c typhoon_inc_rxfree_index(u32 *index, const int count)
count             360 drivers/net/ethernet/3com/typhoon.c 	typhoon_inc_index(index, count, RXFREE_ENTRIES);
count             364 drivers/net/ethernet/3com/typhoon.c typhoon_inc_tx_index(u32 *index, const int count)
count             367 drivers/net/ethernet/3com/typhoon.c 	typhoon_inc_index(index, count, TXLO_ENTRIES);
count             371 drivers/net/ethernet/3com/typhoon.c typhoon_inc_rx_index(u32 *index, const int count)
count             374 drivers/net/ethernet/3com/typhoon.c 	*index += count * sizeof(struct rx_desc);
count             487 drivers/net/ethernet/3com/typhoon.c 	int count, len, wrap_len;
count             495 drivers/net/ethernet/3com/typhoon.c 		count = resp->numDesc + 1;
count             497 drivers/net/ethernet/3com/typhoon.c 			if(count > resp_size) {
count             503 drivers/net/ethernet/3com/typhoon.c 			len = count * sizeof(*resp);
count             531 drivers/net/ethernet/3com/typhoon.c 		typhoon_inc_resp_index(&cleared, count);
count              21 drivers/net/ethernet/8390/8390.h   unsigned short count; /* header + packet length in bytes */
count              84 drivers/net/ethernet/8390/apne.c static void apne_block_input(struct net_device *dev, int count,
count              86 drivers/net/ethernet/8390/apne.c static void apne_block_output(struct net_device *dev, const int count,
count             426 drivers/net/ethernet/8390/apne.c     le16_to_cpus(&hdr->count);
count             435 drivers/net/ethernet/8390/apne.c apne_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
count             453 drivers/net/ethernet/8390/apne.c     outb(count & 0xff, nic_base + NE_EN0_RCNTLO);
count             454 drivers/net/ethernet/8390/apne.c     outb(count >> 8, nic_base + NE_EN0_RCNTHI);
count             460 drivers/net/ethernet/8390/apne.c       for (cnt = 0; cnt < (count>>1); cnt++)
count             462 drivers/net/ethernet/8390/apne.c       if (count & 0x01) {
count             463 drivers/net/ethernet/8390/apne.c 	buf[count-1] = inb(NE_BASE + NE_DATAPORT);
count             467 drivers/net/ethernet/8390/apne.c       for (cnt = 0; cnt < count; cnt++)
count             476 drivers/net/ethernet/8390/apne.c apne_block_output(struct net_device *dev, int count,
count             488 drivers/net/ethernet/8390/apne.c     if (ei_status.word16 && (count & 0x01))
count             489 drivers/net/ethernet/8390/apne.c       count++;
count             505 drivers/net/ethernet/8390/apne.c     outb(count & 0xff, nic_base + NE_EN0_RCNTLO);
count             506 drivers/net/ethernet/8390/apne.c     outb(count >> 8,   nic_base + NE_EN0_RCNTHI);
count             513 drivers/net/ethernet/8390/apne.c         for (cnt = 0; cnt < count>>1; cnt++)
count             517 drivers/net/ethernet/8390/apne.c         for (cnt = 0; cnt < count; cnt++)
count             212 drivers/net/ethernet/8390/ax88796.c 	le16_to_cpus(&hdr->count);
count             223 drivers/net/ethernet/8390/ax88796.c static void ax_block_input(struct net_device *dev, int count,
count             242 drivers/net/ethernet/8390/ax88796.c 	ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
count             243 drivers/net/ethernet/8390/ax88796.c 	ei_outb(count >> 8, nic_base + EN0_RCNTHI);
count             249 drivers/net/ethernet/8390/ax88796.c 		ioread16_rep(nic_base + NE_DATAPORT, buf, count >> 1);
count             250 drivers/net/ethernet/8390/ax88796.c 		if (count & 0x01)
count             251 drivers/net/ethernet/8390/ax88796.c 			buf[count-1] = ei_inb(nic_base + NE_DATAPORT);
count             254 drivers/net/ethernet/8390/ax88796.c 		ioread8_rep(nic_base + NE_DATAPORT, buf, count);
count             260 drivers/net/ethernet/8390/ax88796.c static void ax_block_output(struct net_device *dev, int count,
count             272 drivers/net/ethernet/8390/ax88796.c 	if (ei_local->word16 && (count & 0x01))
count             273 drivers/net/ethernet/8390/ax88796.c 		count++;
count             291 drivers/net/ethernet/8390/ax88796.c 	ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
count             292 drivers/net/ethernet/8390/ax88796.c 	ei_outb(count >> 8, nic_base + EN0_RCNTHI);
count             298 drivers/net/ethernet/8390/ax88796.c 		iowrite16_rep(nic_base + NE_DATAPORT, buf, count >> 1);
count             300 drivers/net/ethernet/8390/ax88796.c 		iowrite8_rep(nic_base + NE_DATAPORT, buf, count);
count              96 drivers/net/ethernet/8390/axnet_cs.c static void block_input(struct net_device *dev, int count,
count              98 drivers/net/ethernet/8390/axnet_cs.c static void block_output(struct net_device *dev, int count,
count             639 drivers/net/ethernet/8390/axnet_cs.c     hdr->count = le16_to_cpu(hdr->count);
count             645 drivers/net/ethernet/8390/axnet_cs.c static void block_input(struct net_device *dev, int count,
count             650 drivers/net/ethernet/8390/axnet_cs.c     int xfer_count = count;
count             653 drivers/net/ethernet/8390/axnet_cs.c     if ((netif_msg_rx_status(ei_local)) && (count != 4))
count             654 drivers/net/ethernet/8390/axnet_cs.c 	netdev_dbg(dev, "[bi=%d]\n", count+4);
count             659 drivers/net/ethernet/8390/axnet_cs.c     insw(nic_base + AXNET_DATAPORT,buf,count>>1);
count             660 drivers/net/ethernet/8390/axnet_cs.c     if (count & 0x01)
count             661 drivers/net/ethernet/8390/axnet_cs.c 	buf[count-1] = inb(nic_base + AXNET_DATAPORT), xfer_count++;
count             667 drivers/net/ethernet/8390/axnet_cs.c static void block_output(struct net_device *dev, int count,
count             672 drivers/net/ethernet/8390/axnet_cs.c     pr_debug("%s: [bo=%d]\n", dev->name, count);
count             677 drivers/net/ethernet/8390/axnet_cs.c     if (count & 0x01)
count             678 drivers/net/ethernet/8390/axnet_cs.c 	count++;
count             683 drivers/net/ethernet/8390/axnet_cs.c     outsw(nic_base + AXNET_DATAPORT, buf, count>>1);
count            1371 drivers/net/ethernet/8390/axnet_cs.c 		pkt_len = rx_frame.count - sizeof(struct e8390_pkt_hdr);
count            1380 drivers/net/ethernet/8390/axnet_cs.c 				  rx_frame.count, rx_frame.status,
count            1416 drivers/net/ethernet/8390/axnet_cs.c 				  rx_frame.count);
count             305 drivers/net/ethernet/8390/etherh.c etherh_block_output (struct net_device *dev, int count, const unsigned char *buf, int start_page)
count             321 drivers/net/ethernet/8390/etherh.c 	if (count & 1 && ei_local->word16)
count             322 drivers/net/ethernet/8390/etherh.c 		count++;
count             329 drivers/net/ethernet/8390/etherh.c 	count = (count + 1) & ~1;
count             341 drivers/net/ethernet/8390/etherh.c 	writeb (count, addr + EN0_RCNTLO);
count             342 drivers/net/ethernet/8390/etherh.c 	writeb (count >> 8, addr + EN0_RCNTHI);
count             348 drivers/net/ethernet/8390/etherh.c 		writesw (dma_base, buf, count >> 1);
count             350 drivers/net/ethernet/8390/etherh.c 		writesb (dma_base, buf, count);
count             370 drivers/net/ethernet/8390/etherh.c etherh_block_input (struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
count             390 drivers/net/ethernet/8390/etherh.c 	writeb (count, addr + EN0_RCNTLO);
count             391 drivers/net/ethernet/8390/etherh.c 	writeb (count >> 8, addr + EN0_RCNTHI);
count             397 drivers/net/ethernet/8390/etherh.c 		readsw (dma_base, buf, count >> 1);
count             398 drivers/net/ethernet/8390/etherh.c 		if (count & 1)
count             399 drivers/net/ethernet/8390/etherh.c 			buf[count - 1] = readb (dma_base);
count             401 drivers/net/ethernet/8390/etherh.c 		readsb (dma_base, buf, count);
count              64 drivers/net/ethernet/8390/hydra.c static void hydra_block_input(struct net_device *dev, int count,
count              66 drivers/net/ethernet/8390/hydra.c static void hydra_block_output(struct net_device *dev, int count,
count             217 drivers/net/ethernet/8390/hydra.c static void hydra_block_input(struct net_device *dev, int count,
count             224 drivers/net/ethernet/8390/hydra.c     if (count&1)
count             225 drivers/net/ethernet/8390/hydra.c 	count++;
count             227 drivers/net/ethernet/8390/hydra.c     if (xfer_start+count >  mem_base + (NESM_STOP_PG<<8)) {
count             231 drivers/net/ethernet/8390/hydra.c 	count -= semi_count;
count             232 drivers/net/ethernet/8390/hydra.c 	z_memcpy_fromio(skb->data+semi_count, mem_base, count);
count             234 drivers/net/ethernet/8390/hydra.c 	z_memcpy_fromio(skb->data, xfer_start,count);
count             238 drivers/net/ethernet/8390/hydra.c static void hydra_block_output(struct net_device *dev, int count,
count             244 drivers/net/ethernet/8390/hydra.c     if (count&1)
count             245 drivers/net/ethernet/8390/hydra.c 	count++;
count             247 drivers/net/ethernet/8390/hydra.c     z_memcpy_toio(mem_base+((start_page - NESM_START_PG)<<8), buf, count);
count             695 drivers/net/ethernet/8390/lib8390.c 		pkt_len = rx_frame.count - sizeof(struct e8390_pkt_hdr);
count             716 drivers/net/ethernet/8390/lib8390.c 				  rx_frame.count, rx_frame.status,
count             746 drivers/net/ethernet/8390/lib8390.c 				  rx_frame.count);
count             137 drivers/net/ethernet/8390/mac8390.c static void sane_block_input(struct net_device *dev, int count,
count             139 drivers/net/ethernet/8390/mac8390.c static void sane_block_output(struct net_device *dev, int count,
count             144 drivers/net/ethernet/8390/mac8390.c 				int from, int count);
count             146 drivers/net/ethernet/8390/mac8390.c 			      const void *from, int count);
count             151 drivers/net/ethernet/8390/mac8390.c static void dayna_block_input(struct net_device *dev, int count,
count             153 drivers/net/ethernet/8390/mac8390.c static void dayna_block_output(struct net_device *dev, int count,
count             159 drivers/net/ethernet/8390/mac8390.c static void slow_sane_block_input(struct net_device *dev, int count,
count             161 drivers/net/ethernet/8390/mac8390.c static void slow_sane_block_output(struct net_device *dev, int count,
count             163 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_tocard(unsigned long tp, const void *fp, int count);
count             164 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_fromcard(void *tp, unsigned long fp, int count);
count             662 drivers/net/ethernet/8390/mac8390.c 				  int count)
count             672 drivers/net/ethernet/8390/mac8390.c 		count--;
count             674 drivers/net/ethernet/8390/mac8390.c 	while (count >= 2) {
count             678 drivers/net/ethernet/8390/mac8390.c 		count -= 2;
count             681 drivers/net/ethernet/8390/mac8390.c 	if (count)
count             686 drivers/net/ethernet/8390/mac8390.c 				const void *from, int count)
count             696 drivers/net/ethernet/8390/mac8390.c 		count--;
count             698 drivers/net/ethernet/8390/mac8390.c 	while (count >= 2) {
count             702 drivers/net/ethernet/8390/mac8390.c 		count -= 2;
count             705 drivers/net/ethernet/8390/mac8390.c 	if (count) {
count             718 drivers/net/ethernet/8390/mac8390.c 	hdr->count = swab16(hdr->count);
count             721 drivers/net/ethernet/8390/mac8390.c static void sane_block_input(struct net_device *dev, int count,
count             727 drivers/net/ethernet/8390/mac8390.c 	if (xfer_start + count > ei_status.rmem_end) {
count             733 drivers/net/ethernet/8390/mac8390.c 		count -= semi_count;
count             735 drivers/net/ethernet/8390/mac8390.c 			      (void __iomem *)ei_status.rmem_start, count);
count             739 drivers/net/ethernet/8390/mac8390.c 			      count);
count             743 drivers/net/ethernet/8390/mac8390.c static void sane_block_output(struct net_device *dev, int count,
count             748 drivers/net/ethernet/8390/mac8390.c 	memcpy_toio((void __iomem *)dev->mem_start + shmem, buf, count);
count             759 drivers/net/ethernet/8390/mac8390.c 	hdr->count = (hdr->count & 0xFF) << 8 | (hdr->count >> 8);
count             762 drivers/net/ethernet/8390/mac8390.c static void dayna_block_input(struct net_device *dev, int count,
count             771 drivers/net/ethernet/8390/mac8390.c 	if (xfer_start + count > ei_status.rmem_end) {
count             775 drivers/net/ethernet/8390/mac8390.c 		count -= semi_count;
count             778 drivers/net/ethernet/8390/mac8390.c 				      count);
count             780 drivers/net/ethernet/8390/mac8390.c 		dayna_memcpy_fromcard(dev, skb->data, xfer_base, count);
count             784 drivers/net/ethernet/8390/mac8390.c static void dayna_block_output(struct net_device *dev, int count,
count             790 drivers/net/ethernet/8390/mac8390.c 	dayna_memcpy_tocard(dev, shmem, buf, count);
count             801 drivers/net/ethernet/8390/mac8390.c 	hdr->count = (hdr->count&0xFF)<<8|(hdr->count>>8);
count             804 drivers/net/ethernet/8390/mac8390.c static void slow_sane_block_input(struct net_device *dev, int count,
count             810 drivers/net/ethernet/8390/mac8390.c 	if (xfer_start + count > ei_status.rmem_end) {
count             815 drivers/net/ethernet/8390/mac8390.c 		count -= semi_count;
count             817 drivers/net/ethernet/8390/mac8390.c 				     ei_status.rmem_start, count);
count             820 drivers/net/ethernet/8390/mac8390.c 				     count);
count             824 drivers/net/ethernet/8390/mac8390.c static void slow_sane_block_output(struct net_device *dev, int count,
count             829 drivers/net/ethernet/8390/mac8390.c 	word_memcpy_tocard(dev->mem_start + shmem, buf, count);
count             832 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_tocard(unsigned long tp, const void *fp, int count)
count             837 drivers/net/ethernet/8390/mac8390.c 	count++;
count             838 drivers/net/ethernet/8390/mac8390.c 	count /= 2;
count             840 drivers/net/ethernet/8390/mac8390.c 	while (count--)
count             844 drivers/net/ethernet/8390/mac8390.c static void word_memcpy_fromcard(void *tp, unsigned long fp, int count)
count             849 drivers/net/ethernet/8390/mac8390.c 	count++;
count             850 drivers/net/ethernet/8390/mac8390.c 	count /= 2;
count             852 drivers/net/ethernet/8390/mac8390.c 	while (count--)
count             216 drivers/net/ethernet/8390/mcf8390.c 	hdr->count = cpu_to_le16(hdr->count);
count             226 drivers/net/ethernet/8390/mcf8390.c static void mcf8390_block_input(struct net_device *dev, int count,
count             241 drivers/net/ethernet/8390/mcf8390.c 	ei_outb(count & 0xff, addr + NE_EN0_RCNTLO);
count             242 drivers/net/ethernet/8390/mcf8390.c 	ei_outb(count >> 8, addr + NE_EN0_RCNTHI);
count             247 drivers/net/ethernet/8390/mcf8390.c 	ei_insw(addr + NE_DATAPORT, buf, count >> 1);
count             248 drivers/net/ethernet/8390/mcf8390.c 	if (count & 1)
count             249 drivers/net/ethernet/8390/mcf8390.c 		buf[count - 1] = ei_inb(addr + NE_DATAPORT);
count             255 drivers/net/ethernet/8390/mcf8390.c static void mcf8390_block_output(struct net_device *dev, int count,
count             264 drivers/net/ethernet/8390/mcf8390.c 	if (count & 0x1)
count             265 drivers/net/ethernet/8390/mcf8390.c 		count++;
count             279 drivers/net/ethernet/8390/mcf8390.c 	ei_outb(count & 0xff, addr + NE_EN0_RCNTLO);
count             280 drivers/net/ethernet/8390/mcf8390.c 	ei_outb(count >> 8, addr + NE_EN0_RCNTHI);
count             285 drivers/net/ethernet/8390/mcf8390.c 	ei_outsw(addr + NE_DATAPORT, buf, count >> 1);
count             181 drivers/net/ethernet/8390/ne.c static void ne_block_input(struct net_device *dev, int count,
count             183 drivers/net/ethernet/8390/ne.c static void ne_block_output(struct net_device *dev, const int count,
count             605 drivers/net/ethernet/8390/ne.c 	le16_to_cpus(&hdr->count);
count             613 drivers/net/ethernet/8390/ne.c static void ne_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
count             616 drivers/net/ethernet/8390/ne.c 	int xfer_count = count;
count             632 drivers/net/ethernet/8390/ne.c 	outb_p(count & 0xff, nic_base + EN0_RCNTLO);
count             633 drivers/net/ethernet/8390/ne.c 	outb_p(count >> 8, nic_base + EN0_RCNTHI);
count             639 drivers/net/ethernet/8390/ne.c 		insw(NE_BASE + NE_DATAPORT,buf,count>>1);
count             640 drivers/net/ethernet/8390/ne.c 		if (count & 0x01)
count             642 drivers/net/ethernet/8390/ne.c 			buf[count-1] = inb(NE_BASE + NE_DATAPORT);
count             648 drivers/net/ethernet/8390/ne.c 		insb(NE_BASE + NE_DATAPORT, buf, count);
count             680 drivers/net/ethernet/8390/ne.c static void ne_block_output(struct net_device *dev, int count,
count             694 drivers/net/ethernet/8390/ne.c 	if (ei_status.word16 && (count & 0x01))
count             695 drivers/net/ethernet/8390/ne.c 		count++;
count             731 drivers/net/ethernet/8390/ne.c 	outb_p(count & 0xff, nic_base + EN0_RCNTLO);
count             732 drivers/net/ethernet/8390/ne.c 	outb_p(count >> 8,   nic_base + EN0_RCNTHI);
count             738 drivers/net/ethernet/8390/ne.c 		outsw(NE_BASE + NE_DATAPORT, buf, count>>1);
count             740 drivers/net/ethernet/8390/ne.c 		outsb(NE_BASE + NE_DATAPORT, buf, count);
count             757 drivers/net/ethernet/8390/ne.c 			if ((start_page << 8) + count == addr)
count             765 drivers/net/ethernet/8390/ne.c 				    (start_page << 8) + count, addr);
count             173 drivers/net/ethernet/8390/ne2k-pci.c static void ne2k_pci_block_input(struct net_device *dev, int count,
count             175 drivers/net/ethernet/8390/ne2k-pci.c static void ne2k_pci_block_output(struct net_device *dev, const int count,
count             505 drivers/net/ethernet/8390/ne2k-pci.c 		le16_to_cpus(&hdr->count);
count             517 drivers/net/ethernet/8390/ne2k-pci.c static void ne2k_pci_block_input(struct net_device *dev, int count,
count             532 drivers/net/ethernet/8390/ne2k-pci.c 		count = (count + 3) & 0xFFFC;
count             534 drivers/net/ethernet/8390/ne2k-pci.c 	outb(count & 0xff, nic_base + EN0_RCNTLO);
count             535 drivers/net/ethernet/8390/ne2k-pci.c 	outb(count >> 8, nic_base + EN0_RCNTHI);
count             541 drivers/net/ethernet/8390/ne2k-pci.c 		insw(NE_BASE + NE_DATAPORT,buf,count>>1);
count             542 drivers/net/ethernet/8390/ne2k-pci.c 		if (count & 0x01) {
count             543 drivers/net/ethernet/8390/ne2k-pci.c 			buf[count-1] = inb(NE_BASE + NE_DATAPORT);
count             546 drivers/net/ethernet/8390/ne2k-pci.c 		insl(NE_BASE + NE_DATAPORT, buf, count>>2);
count             547 drivers/net/ethernet/8390/ne2k-pci.c 		if (count & 3) {
count             548 drivers/net/ethernet/8390/ne2k-pci.c 			buf += count & ~3;
count             549 drivers/net/ethernet/8390/ne2k-pci.c 			if (count & 2) {
count             555 drivers/net/ethernet/8390/ne2k-pci.c 			if (count & 1)
count             564 drivers/net/ethernet/8390/ne2k-pci.c static void ne2k_pci_block_output(struct net_device *dev, int count,
count             573 drivers/net/ethernet/8390/ne2k-pci.c 		count = (count + 3) & 0xFFFC;
count             575 drivers/net/ethernet/8390/ne2k-pci.c 		if (count & 0x01)
count             576 drivers/net/ethernet/8390/ne2k-pci.c 			count++;
count             603 drivers/net/ethernet/8390/ne2k-pci.c 	outb(count & 0xff, nic_base + EN0_RCNTLO);
count             604 drivers/net/ethernet/8390/ne2k-pci.c 	outb(count >> 8,   nic_base + EN0_RCNTHI);
count             609 drivers/net/ethernet/8390/ne2k-pci.c 		outsw(NE_BASE + NE_DATAPORT, buf, count>>1);
count             611 drivers/net/ethernet/8390/ne2k-pci.c 		outsl(NE_BASE + NE_DATAPORT, buf, count>>2);
count             612 drivers/net/ethernet/8390/ne2k-pci.c 		if (count & 3) {
count             613 drivers/net/ethernet/8390/ne2k-pci.c 			buf += count & ~3;
count             614 drivers/net/ethernet/8390/ne2k-pci.c 			if (count & 2) {
count            1148 drivers/net/ethernet/8390/pcnet_cs.c     hdr->count = le16_to_cpu(hdr->count);
count            1156 drivers/net/ethernet/8390/pcnet_cs.c static void dma_block_input(struct net_device *dev, int count,
count            1160 drivers/net/ethernet/8390/pcnet_cs.c     int xfer_count = count;
count            1164 drivers/net/ethernet/8390/pcnet_cs.c     if ((netif_msg_rx_status(ei_local)) && (count != 4))
count            1165 drivers/net/ethernet/8390/pcnet_cs.c 	netdev_dbg(dev, "[bi=%d]\n", count+4);
count            1174 drivers/net/ethernet/8390/pcnet_cs.c     outb_p(count & 0xff, nic_base + EN0_RCNTLO);
count            1175 drivers/net/ethernet/8390/pcnet_cs.c     outb_p(count >> 8, nic_base + EN0_RCNTHI);
count            1180 drivers/net/ethernet/8390/pcnet_cs.c     insw(nic_base + PCNET_DATAPORT,buf,count>>1);
count            1181 drivers/net/ethernet/8390/pcnet_cs.c     if (count & 0x01)
count            1182 drivers/net/ethernet/8390/pcnet_cs.c 	buf[count-1] = inb(nic_base + PCNET_DATAPORT), xfer_count++;
count            1211 drivers/net/ethernet/8390/pcnet_cs.c static void dma_block_output(struct net_device *dev, int count,
count            1223 drivers/net/ethernet/8390/pcnet_cs.c     netif_dbg(ei_local, tx_queued, dev, "[bo=%d]\n", count);
count            1229 drivers/net/ethernet/8390/pcnet_cs.c     if (count & 0x01)
count            1230 drivers/net/ethernet/8390/pcnet_cs.c 	count++;
count            1248 drivers/net/ethernet/8390/pcnet_cs.c     outb_p(count & 0xff, nic_base + EN0_RCNTLO);
count            1249 drivers/net/ethernet/8390/pcnet_cs.c     outb_p(count >> 8,   nic_base + EN0_RCNTHI);
count            1254 drivers/net/ethernet/8390/pcnet_cs.c     outsw(nic_base + PCNET_DATAPORT, buf, count>>1);
count            1268 drivers/net/ethernet/8390/pcnet_cs.c 	    if ((start_page << 8) + count == addr)
count            1274 drivers/net/ethernet/8390/pcnet_cs.c 			  (start_page << 8) + count, addr);
count            1364 drivers/net/ethernet/8390/pcnet_cs.c     hdr->count = le16_to_cpu(hdr->count);
count            1369 drivers/net/ethernet/8390/pcnet_cs.c static void shmem_block_input(struct net_device *dev, int count,
count            1377 drivers/net/ethernet/8390/pcnet_cs.c     if (offset + count > ei_status.priv) {
count            1383 drivers/net/ethernet/8390/pcnet_cs.c 	count -= semi_count;
count            1385 drivers/net/ethernet/8390/pcnet_cs.c     copyin(buf, base + offset, count);
count            1390 drivers/net/ethernet/8390/pcnet_cs.c static void shmem_block_output(struct net_device *dev, int count,
count            1395 drivers/net/ethernet/8390/pcnet_cs.c     copyout(shmem, buf, count);
count              91 drivers/net/ethernet/8390/smc-ultra.c static void ultra_block_input(struct net_device *dev, int count,
count              93 drivers/net/ethernet/8390/smc-ultra.c static void ultra_block_output(struct net_device *dev, int count,
count              97 drivers/net/ethernet/8390/smc-ultra.c static void ultra_pio_input(struct net_device *dev, int count,
count              99 drivers/net/ethernet/8390/smc-ultra.c static void ultra_pio_output(struct net_device *dev, int count,
count             451 drivers/net/ethernet/8390/smc-ultra.c 	hdr->count = le16_to_cpu(hdr->count);
count             462 drivers/net/ethernet/8390/smc-ultra.c ultra_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
count             469 drivers/net/ethernet/8390/smc-ultra.c 	if (ring_offset + count > ei_status.stop_page*256) {
count             473 drivers/net/ethernet/8390/smc-ultra.c 		count -= semi_count;
count             474 drivers/net/ethernet/8390/smc-ultra.c 		memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count);
count             476 drivers/net/ethernet/8390/smc-ultra.c 		memcpy_fromio(skb->data, xfer_start, count);
count             483 drivers/net/ethernet/8390/smc-ultra.c ultra_block_output(struct net_device *dev, int count, const unsigned char *buf,
count             491 drivers/net/ethernet/8390/smc-ultra.c 	memcpy_toio(shmem, buf, count);
count             513 drivers/net/ethernet/8390/smc-ultra.c static void ultra_pio_input(struct net_device *dev, int count,
count             523 drivers/net/ethernet/8390/smc-ultra.c 	insw(ioaddr + IOPD, buf, (count+1)>>1);
count             526 drivers/net/ethernet/8390/smc-ultra.c static void ultra_pio_output(struct net_device *dev, int count,
count             533 drivers/net/ethernet/8390/smc-ultra.c 	outsw(ioaddr + IOPD, buf, (count+1)>>1);
count              65 drivers/net/ethernet/8390/stnic.c static void stnic_block_input (struct net_device *dev, int count,
count              67 drivers/net/ethernet/8390/stnic.c static void stnic_block_output (struct net_device *dev, int count,
count             205 drivers/net/ethernet/8390/stnic.c   hdr->count = buf[1];
count             207 drivers/net/ethernet/8390/stnic.c   hdr->count = ((buf[1] >> 8) & 0xff) | (buf[1] << 8);
count             211 drivers/net/ethernet/8390/stnic.c 	    ring_page, hdr->status, hdr->next, hdr->count);
count              57 drivers/net/ethernet/8390/wd.c static void wd_block_input(struct net_device *dev, int count,
count              59 drivers/net/ethernet/8390/wd.c static void wd_block_output(struct net_device *dev, int count,
count             426 drivers/net/ethernet/8390/wd.c 	hdr->count = le16_to_cpu(hdr->count);
count             438 drivers/net/ethernet/8390/wd.c wd_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
count             444 drivers/net/ethernet/8390/wd.c 	if (offset + count > ei_status.priv) {
count             448 drivers/net/ethernet/8390/wd.c 		count -= semi_count;
count             449 drivers/net/ethernet/8390/wd.c 		memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count);
count             452 drivers/net/ethernet/8390/wd.c 		memcpy_fromio(skb->data, xfer_start, count);
count             461 drivers/net/ethernet/8390/wd.c wd_block_output(struct net_device *dev, int count, const unsigned char *buf,
count             471 drivers/net/ethernet/8390/wd.c 		memcpy_toio(shmem, buf, count);
count             474 drivers/net/ethernet/8390/wd.c 		memcpy_toio(shmem, buf, count);
count             101 drivers/net/ethernet/8390/xsurf100.c 			unsigned int count)
count             108 drivers/net/ethernet/8390/xsurf100.c 	while (count > XS100_8390_DATA_AREA_SIZE) {
count             113 drivers/net/ethernet/8390/xsurf100.c 		count -= XS100_8390_DATA_AREA_SIZE;
count             117 drivers/net/ethernet/8390/xsurf100.c 			src, count & ~3);
count             118 drivers/net/ethernet/8390/xsurf100.c 	src += count & ~3;
count             119 drivers/net/ethernet/8390/xsurf100.c 	if (count & 2) {
count             123 drivers/net/ethernet/8390/xsurf100.c 	if (count & 1)
count             127 drivers/net/ethernet/8390/xsurf100.c static void xs100_read(struct net_device *dev, void *dst, unsigned int count)
count             134 drivers/net/ethernet/8390/xsurf100.c 	while (count > XS100_8390_DATA_AREA_SIZE) {
count             139 drivers/net/ethernet/8390/xsurf100.c 		count -= XS100_8390_DATA_AREA_SIZE;
count             143 drivers/net/ethernet/8390/xsurf100.c 			  count & ~3);
count             144 drivers/net/ethernet/8390/xsurf100.c 	dst += count & ~3;
count             145 drivers/net/ethernet/8390/xsurf100.c 	if (count & 2) {
count             149 drivers/net/ethernet/8390/xsurf100.c 	if (count & 1)
count             159 drivers/net/ethernet/8390/xsurf100.c static void xs100_block_input(struct net_device *dev, int count,
count             177 drivers/net/ethernet/8390/xsurf100.c 	ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
count             178 drivers/net/ethernet/8390/xsurf100.c 	ei_outb(count >> 8, nic_base + EN0_RCNTHI);
count             183 drivers/net/ethernet/8390/xsurf100.c 	xs100_read(dev, buf, count);
count             188 drivers/net/ethernet/8390/xsurf100.c static void xs100_block_output(struct net_device *dev, int count,
count             199 drivers/net/ethernet/8390/xsurf100.c 	if (ei_local->word16 && (count & 0x01))
count             200 drivers/net/ethernet/8390/xsurf100.c 		count++;
count             220 drivers/net/ethernet/8390/xsurf100.c 	ei_outb(count & 0xff, nic_base + EN0_RCNTLO);
count             221 drivers/net/ethernet/8390/xsurf100.c 	ei_outb(count >> 8, nic_base + EN0_RCNTHI);
count             227 drivers/net/ethernet/8390/xsurf100.c 	xs100_write(dev, buf, count);
count             143 drivers/net/ethernet/8390/zorro8390.c 	hdr->count = WORDSWAP(hdr->count);
count             154 drivers/net/ethernet/8390/zorro8390.c static void zorro8390_block_input(struct net_device *dev, int count,
count             173 drivers/net/ethernet/8390/zorro8390.c 	z_writeb(count & 0xff, nic_base + NE_EN0_RCNTLO);
count             174 drivers/net/ethernet/8390/zorro8390.c 	z_writeb(count >> 8, nic_base + NE_EN0_RCNTHI);
count             179 drivers/net/ethernet/8390/zorro8390.c 	for (cnt = 0; cnt < count >> 1; cnt++)
count             181 drivers/net/ethernet/8390/zorro8390.c 	if (count & 0x01)
count             182 drivers/net/ethernet/8390/zorro8390.c 		buf[count - 1] = z_readb(NE_BASE + NE_DATAPORT);
count             188 drivers/net/ethernet/8390/zorro8390.c static void zorro8390_block_output(struct net_device *dev, int count,
count             201 drivers/net/ethernet/8390/zorro8390.c 	if (count & 0x01)
count             202 drivers/net/ethernet/8390/zorro8390.c 		count++;
count             219 drivers/net/ethernet/8390/zorro8390.c 	z_writeb(count & 0xff, nic_base + NE_EN0_RCNTLO);
count             220 drivers/net/ethernet/8390/zorro8390.c 	z_writeb(count >> 8,   nic_base + NE_EN0_RCNTHI);
count             226 drivers/net/ethernet/8390/zorro8390.c 	for (cnt = 0; cnt < count >> 1; cnt++)
count             743 drivers/net/ethernet/aeroflex/greth.c 	int bad, count;
count             749 drivers/net/ethernet/aeroflex/greth.c 	for (count = 0; count < limit; ++count) {
count             832 drivers/net/ethernet/aeroflex/greth.c 	return count;
count             859 drivers/net/ethernet/aeroflex/greth.c 	int bad, count = 0;
count             865 drivers/net/ethernet/aeroflex/greth.c 	for (count = 0; count < limit; ++count) {
count             965 drivers/net/ethernet/aeroflex/greth.c 	return count;
count             351 drivers/net/ethernet/agere/et131x.c 	u32 count;		/* Used to spot stuck/lost packets */
count            2299 drivers/net/ethernet/agere/et131x.c 	int count = 0;
count            2308 drivers/net/ethernet/agere/et131x.c 	while (count < limit) {
count            2335 drivers/net/ethernet/agere/et131x.c 		count++;
count            2338 drivers/net/ethernet/agere/et131x.c 	if (count == limit || !done) {
count            2347 drivers/net/ethernet/agere/et131x.c 	return count;
count            3843 drivers/net/ethernet/agere/et131x.c 		tcb->count++;
count            3845 drivers/net/ethernet/agere/et131x.c 		if (tcb->count > NIC_SEND_HANG_THRESHOLD) {
count             200 drivers/net/ethernet/allwinner/sun4i-emac.c static void emac_outblk_32bit(void __iomem *reg, void *data, int count)
count             202 drivers/net/ethernet/allwinner/sun4i-emac.c 	writesl(reg, data, round_up(count, 4) / 4);
count             205 drivers/net/ethernet/allwinner/sun4i-emac.c static void emac_inblk_32bit(void __iomem *reg, void *data, int count)
count             207 drivers/net/ethernet/allwinner/sun4i-emac.c 	readsl(reg, data, round_up(count, 4) / 4);
count             370 drivers/net/ethernet/altera/altera_tse_main.c 	unsigned int count = 0;
count             383 drivers/net/ethernet/altera/altera_tse_main.c 	while ((count < limit) &&
count             399 drivers/net/ethernet/altera/altera_tse_main.c 		count++;
count             439 drivers/net/ethernet/altera/altera_tse_main.c 	return count;
count             255 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	u16 count = 0, head_masked;
count             264 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		count++;
count             271 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		count += io_cq->cur_rx_pkt_cdesc_count;
count             279 drivers/net/ethernet/amazon/ena/ena_eth_com.c 			 io_cq->qid, *first_cdesc_idx, count);
count             281 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		io_cq->cur_rx_pkt_cdesc_count += count;
count             282 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		count = 0;
count             285 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	return count;
count            1287 drivers/net/ethernet/amd/declance.c 	int count = 0;
count            1292 drivers/net/ethernet/amd/declance.c 				count++;
count            1295 drivers/net/ethernet/amd/declance.c 				count++;
count            1299 drivers/net/ethernet/amd/declance.c 	return (count > 0) ? 0 : -ENODEV;
count             124 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgbe_common_read(char __user *buffer, size_t count,
count             137 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	if (count < strlen(buf)) {
count             142 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count             148 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c static ssize_t xgbe_common_write(const char __user *buffer, size_t count,
count             158 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	if (count >= sizeof(workarea))
count             162 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				     buffer, count);
count             175 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             179 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg);
count             184 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             188 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_write(buffer, count, ppos,
count             193 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             200 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, value);
count             205 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				     size_t count, loff_t *ppos)
count             211 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	len = xgbe_common_write(buffer, count, ppos, &value);
count             235 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 			     size_t count, loff_t *ppos)
count             239 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xpcs_mmd);
count             243 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 			      size_t count, loff_t *ppos)
count             247 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_write(buffer, count, ppos,
count             252 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				  size_t count, loff_t *ppos)
count             256 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xpcs_reg);
count             260 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             264 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_write(buffer, count, ppos,
count             269 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             277 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, value);
count             282 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             288 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	len = xgbe_common_write(buffer, count, ppos, &value);
count             320 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             324 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xprop_reg);
count             329 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             333 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_write(buffer, count, ppos,
count             338 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             345 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, value);
count             350 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				     size_t count, loff_t *ppos)
count             356 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	len = xgbe_common_write(buffer, count, ppos, &value);
count             380 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				  size_t count, loff_t *ppos)
count             384 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xi2c_reg);
count             389 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             393 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_write(buffer, count, ppos,
count             398 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				   size_t count, loff_t *ppos)
count             405 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	return xgbe_common_read(buffer, count, ppos, value);
count             410 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 				    size_t count, loff_t *ppos)
count             416 drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c 	len = xgbe_common_write(buffer, count, ppos, &value);
count            1525 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	unsigned int count = 10000;
count            1532 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSADDREG))
count            1535 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	if (!count)
count            1543 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	unsigned int count = 10000;
count            1551 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSINIT))
count            1554 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	if (!count)
count            2161 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	unsigned int count = 2000;
count            2170 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	while (--count && XGMAC_IOREAD_BITS(pdata, DMA_MR, SWR))
count            2173 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	if (!count)
count            2197 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	unsigned int i, count;
count            2207 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		count = 2000;
count            2208 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		while (--count && XGMAC_MTL_IOREAD_BITS(pdata, i,
count            2212 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		if (!count)
count            2449 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	unsigned int count, prio_queues;
count            2455 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	count = 0;
count            2462 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		count++;
count            2465 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	return count;
count             194 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	unsigned int count, i;
count             198 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	count = max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count);
count             199 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	for (i = 0; i < count; i++) {
count             253 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	pdata->channel_count = count;
count             274 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 				    struct xgbe_ring *ring, unsigned int count)
count             278 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (count > xgbe_tx_avail_desc(ring)) {
count             362 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			 unsigned int *count, const char *area)
count             365 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		(*count)++;
count             368 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		*count = 1;
count             371 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (*count > ecc_sec_info_threshold)
count             376 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (*count > ecc_sec_warn_threshold) {
count             387 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			 unsigned int *count, const char *area)
count             390 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		(*count)++;
count             393 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		*count = 1;
count             396 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (*count > ecc_ded_threshold) {
count            2943 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		       unsigned int idx, unsigned int count, unsigned int flag)
count            2948 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	while (count--) {
count             654 drivers/net/ethernet/amd/xgbe/xgbe-phy-v1.c 	unsigned int reg, count;
count             661 drivers/net/ethernet/amd/xgbe/xgbe-phy-v1.c 	count = 50;
count             665 drivers/net/ethernet/amd/xgbe/xgbe-phy-v1.c 	} while ((reg & MDIO_CTRL1_RESET) && --count);
count             266 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 	unsigned int count;
count             269 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 	for (i = 0, count = 0; i < pdev->num_resources; i++) {
count             273 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 			count++;
count             276 drivers/net/ethernet/amd/xgbe/xgbe-platform.c 	return count;
count             179 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_wr_cmd(struct xgene_enet_desc_ring *ring, int count)
count             181 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	iowrite32(count, ring->cmd);
count             609 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	u32 count;
count             611 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	xgene_enet_rd_mcx_csr(pdata, ICM_ECM_DROP_COUNT_REG0_ADDR, &count);
count             612 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	*rx = ICM_DROP_COUNT(count);
count             613 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	*tx = ECM_DROP_COUNT(count);
count             615 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	xgene_enet_rd_mcx_csr(pdata, ECM_CONFIG0_REG_0_ADDR, &count);
count             421 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	u32 i, fidx, nr_frags, count = 1;
count             521 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	count++;
count             543 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	pdata->tx_level[tx_ring->cp_ring->index] += count;
count             546 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	return count;
count             556 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	int count;
count             570 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	count = xgene_enet_setup_tx_desc(tx_ring, skb);
count             571 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	if (count == -EBUSY)
count             574 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	if (count <= 0) {
count             584 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	pdata->ring_ops->wr_cmd(tx_ring, count);
count             789 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	int ret, desc_count, count = 0, processed = 0;
count             811 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 			count++;
count             825 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		count++;
count             835 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	if (likely(count)) {
count             836 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		pdata->ring_ops->wr_cmd(ring, -count);
count            1815 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	u32 count;
count            1834 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		count = pdata->rx_buff_cnt;
count            1835 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		ret = xgene_enet_refill_bufpool(buf_pool, count);
count            1839 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		ret = xgene_enet_refill_pagepool(page_pool, count);
count             158 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_wr_cmd(struct xgene_enet_desc_ring *ring, int count)
count             166 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c 	data |= (count & GENMASK(16, 0));
count              89 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c 	u32 addr, count;
count              94 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c 	count = xgene_enet_rd_mcx_csr(pdata, addr);
count              95 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c 	*rx = ICM_DROP_COUNT(count);
count              96 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c 	*tx = ECM_DROP_COUNT(count);
count             174 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c 	u32 count;
count             176 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c 	xgene_enet_rd_axg_csr(pdata, XGENET_ICM_ECM_DROP_COUNT_REG0, &count);
count             177 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c 	*rx = ICM_DROP_COUNT(count);
count             178 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c 	*tx = ECM_DROP_COUNT(count);
count             180 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c 	xgene_enet_rd_axg_csr(pdata, XGENET_ECM_CONFIG0_REG_0, &count);
count             198 drivers/net/ethernet/apple/bmac.c 	     unsigned short cmd, unsigned count, unsigned long addr,
count             202 drivers/net/ethernet/apple/bmac.c 	out_le16(&cp->req_count, count);
count            1541 drivers/net/ethernet/apple/bmac.c static void dump_dbdma(volatile struct dbdma_cmd *cp,int count)
count            1545 drivers/net/ethernet/apple/bmac.c 	for (i=0;i< count;i++) {
count             759 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 	int count = 0;
count             765 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 		if (unlikely(count == cmd->rule_cnt))
count             768 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 		rule_locs[count++] = rule->aq_fsp.location;
count             771 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 	cmd->rule_cnt = count;
count             217 drivers/net/ethernet/aquantia/atlantic/aq_hw.h 				     u32 count);
count             348 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 						     self->mc_list.count);
count             639 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	self->mc_list.count = 0;
count             661 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 		self->mc_list.count = i;
count             664 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 						    self->mc_list.count);
count             713 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 	unsigned int count = 0U;
count             756 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 		data += count;
count             757 drivers/net/ethernet/aquantia/atlantic/aq_nic.c 		aq_vec_get_sw_stats(aq_vec, data, &count);
count             100 drivers/net/ethernet/aquantia/atlantic/aq_nic.h 		u32 count;
count             364 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	unsigned int count = 0U;
count             374 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[count] += stats_rx.packets;
count             375 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[++count] += stats_tx.packets;
count             376 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[++count] += stats_tx.queue_restarts;
count             377 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[++count] += stats_rx.jumbo_packets;
count             378 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[++count] += stats_rx.lro_packets;
count             379 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 	data[++count] += stats_rx.errors;
count             382 drivers/net/ethernet/aquantia/atlantic/aq_vec.c 		*p_count = ++count;
count             774 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c 					   u32 count)
count             778 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c 	if (count > (HW_ATL_A0_MAC_MAX - HW_ATL_A0_MAC_MIN)) {
count             783 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c 			self->aq_nic_cfg->mc_list_count < count;
count             846 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c 					   u32 count)
count             850 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c 	if (count > (HW_ATL_B0_MAC_MAX - HW_ATL_B0_MAC_MIN)) {
count             855 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c 			self->aq_nic_cfg->mc_list_count < count;
count            1103 drivers/net/ethernet/atheros/ag71xx.c 	unsigned int count;
count            1105 drivers/net/ethernet/atheros/ag71xx.c 	count = 0;
count            1119 drivers/net/ethernet/atheros/ag71xx.c 		count++;
count            1126 drivers/net/ethernet/atheros/ag71xx.c 		  count);
count            1128 drivers/net/ethernet/atheros/ag71xx.c 	return count;
count              65 drivers/net/ethernet/atheros/alx/alx.h 	u16 count;
count              81 drivers/net/ethernet/atheros/alx/alx.h 	u16 count;
count              78 drivers/net/ethernet/atheros/alx/main.c 	u16 cur, next, count = 0;
count             129 drivers/net/ethernet/atheros/alx/main.c 		count++;
count             132 drivers/net/ethernet/atheros/alx/main.c 	if (count) {
count             139 drivers/net/ethernet/atheros/alx/main.c 	return count;
count             161 drivers/net/ethernet/atheros/alx/main.c 		return txq->count + txq->read_idx - txq->write_idx - 1;
count             192 drivers/net/ethernet/atheros/alx/main.c 			if (++sw_read_idx == txq->count)
count             201 drivers/net/ethernet/atheros/alx/main.c 	    alx_tpd_avail(txq) > txq->count / 4)
count             282 drivers/net/ethernet/atheros/alx/main.c 		if (++rxq->read_idx == rxq->count)
count             284 drivers/net/ethernet/atheros/alx/main.c 		if (++rxq->rrd_read_idx == rxq->count)
count             496 drivers/net/ethernet/atheros/alx/main.c 	for (i = 0; i < txq->count; i++)
count             499 drivers/net/ethernet/atheros/alx/main.c 	memset(txq->bufs, 0, txq->count * sizeof(struct alx_buffer));
count             500 drivers/net/ethernet/atheros/alx/main.c 	memset(txq->tpd, 0, txq->count * sizeof(struct alx_txd));
count             515 drivers/net/ethernet/atheros/alx/main.c 	for (i = 0; i < rxq->count; i++) {
count             620 drivers/net/ethernet/atheros/alx/main.c 	txq->bufs = kcalloc(txq->count, sizeof(struct alx_buffer), GFP_KERNEL);
count             626 drivers/net/ethernet/atheros/alx/main.c 	offset += sizeof(struct alx_txd) * txq->count;
count             634 drivers/net/ethernet/atheros/alx/main.c 	rxq->bufs = kcalloc(rxq->count, sizeof(struct alx_buffer), GFP_KERNEL);
count             640 drivers/net/ethernet/atheros/alx/main.c 	offset += sizeof(struct alx_rrd) * rxq->count;
count             644 drivers/net/ethernet/atheros/alx/main.c 	offset += sizeof(struct alx_rfd) * rxq->count;
count             770 drivers/net/ethernet/atheros/alx/main.c 		txq->count = alx->tx_ringsz;
count             786 drivers/net/ethernet/atheros/alx/main.c 	rxq->count = alx->rx_ringsz;
count            1446 drivers/net/ethernet/atheros/alx/main.c 		if (++txq->write_idx == txq->count)
count            1470 drivers/net/ethernet/atheros/alx/main.c 		if (++txq->write_idx == txq->count)
count            1492 drivers/net/ethernet/atheros/alx/main.c 	if (++txq->write_idx == txq->count)
count            1501 drivers/net/ethernet/atheros/alx/main.c 		if (++f == txq->count)
count            1539 drivers/net/ethernet/atheros/alx/main.c 	if (alx_tpd_avail(txq) < txq->count / 8)
count             477 drivers/net/ethernet/atheros/atl1c/atl1c.h 	u16 count;		/* number of descriptors in the ring */
count             488 drivers/net/ethernet/atheros/atl1c/atl1c.h 	u16 count;		/* number of descriptors in the ring */
count             499 drivers/net/ethernet/atheros/atl1c/atl1c.h 	u16 count;		/* number of descriptors in the ring */
count             775 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	adapter->tpd_ring[0].count = 1024;
count             776 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	adapter->rfd_ring.count = 512;
count             861 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	ring_count = tpd_ring->count;
count             888 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	for (j = 0; j < rfd_ring->count; j++) {
count             915 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		for (j = 0; j < tpd_ring->count; j++)
count             923 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	for (j = 0; j < rfd_ring->count; j++) {
count             971 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	int count = 0;
count             975 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	rrd_ring->count = rfd_ring->count;
count             977 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		tpd_ring[i].count = tpd_ring[0].count;
count             981 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	size = sizeof(struct atl1c_buffer) * (tpd_ring->count * 2 +
count             982 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		rfd_ring->count);
count             989 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			(tpd_ring->buffer_info + count);
count             990 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		count += tpd_ring[i].count;
count             994 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		(tpd_ring->buffer_info + count);
count             995 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	count += rfd_ring->count;
count             996 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	rx_desc_count += rfd_ring->count;
count            1004 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		sizeof(struct atl1c_tpd_desc) * tpd_ring->count * 2 +
count            1023 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			sizeof(struct atl1c_tpd_desc) * tpd_ring[i].count;
count            1029 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	rfd_ring->size = sizeof(struct atl1c_rx_free_desc) * rfd_ring->count;
count            1036 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		rrd_ring->count;
count            1066 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			(u32)(tpd_ring[0].count & TPD_RING_SIZE_MASK));
count            1076 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			rfd_ring->count & RFD_RING_SIZE_MASK);
count            1084 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			(rrd_ring->count & RRD_RING_SIZE_MASK));
count            1558 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		if (++next_to_clean == tpd_ring->count)
count            1699 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	if (++next_next == rfd_ring->count)
count            1739 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		if (++next_next == rfd_ring->count)
count            1765 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		if (++rrd_ring->next_to_clean == rrd_ring->count)
count            1783 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		if (++rfd_index == rfd_ring->count)
count            1793 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	u16 count = 0;
count            1861 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		count++;
count            1863 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	if (count)
count            1919 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		(tpd_ring->count + next_to_clean - next_to_use - 1);
count            1935 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	if (++tpd_ring->next_to_use == tpd_ring->count)
count            2085 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		if (++index == tpd_ring->count)
count             399 drivers/net/ethernet/atheros/atl1e/atl1e.h 	u16       	   count;  /* the count of transmit rings  */
count             620 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	hw->tpd_thresh = adapter->tx_ring.count / 2;
count             655 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	ring_count = tx_ring->count;
count             711 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	*ring_size = ((u32)(adapter->tx_ring.count *
count             831 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	size = sizeof(struct atl1e_tx_buffer) * (tx_ring->count);
count             839 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	offset += (sizeof(struct atl1e_tpd_desc) * tx_ring->count);
count             897 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	AT_WRITE_REG(hw, REG_TPD_RING_SIZE, (u16)(tx_ring->count));
count            1253 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 		if (++next_to_clean == tx_ring->count)
count            1563 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 		(tx_ring->count + next_to_clean - next_to_use - 1);
count            1577 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	if (++tx_ring->next_to_use == tx_ring->count)
count            1835 drivers/net/ethernet/atheros/atl1e/atl1e_main.c static void atl1e_tx_queue(struct atl1e_adapter *adapter, u16 count,
count             193 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 			adapter->tx_ring.count = (u16) val & 0xFFFC;
count             195 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 			adapter->tx_ring.count = (u16)opt.def;
count            1031 drivers/net/ethernet/atheros/atlx/atl1.c 	size = sizeof(struct atl1_buffer) * (tpd_ring->count + rfd_ring->count);
count            1040 drivers/net/ethernet/atheros/atlx/atl1.c 		(tpd_ring->buffer_info + tpd_ring->count);
count            1048 drivers/net/ethernet/atheros/atlx/atl1.c 		sizeof(struct tx_packet_desc) * tpd_ring->count
count            1049 drivers/net/ethernet/atheros/atlx/atl1.c 		+ sizeof(struct rx_free_desc) * rfd_ring->count
count            1050 drivers/net/ethernet/atheros/atlx/atl1.c 		+ sizeof(struct rx_return_desc) * rrd_ring->count
count            1068 drivers/net/ethernet/atheros/atlx/atl1.c 	tpd_ring->size = sizeof(struct tx_packet_desc) * tpd_ring->count;
count            1075 drivers/net/ethernet/atheros/atlx/atl1.c 	rfd_ring->size = sizeof(struct rx_free_desc) * rfd_ring->count;
count            1083 drivers/net/ethernet/atheros/atlx/atl1.c 	rrd_ring->size = sizeof(struct rx_return_desc) * rrd_ring->count;
count            1138 drivers/net/ethernet/atheros/atlx/atl1.c 	for (i = 0; i < rfd_ring->count; i++) {
count            1151 drivers/net/ethernet/atheros/atlx/atl1.c 	size = sizeof(struct atl1_buffer) * rfd_ring->count;
count            1177 drivers/net/ethernet/atheros/atlx/atl1.c 	for (i = 0; i < tpd_ring->count; i++) {
count            1186 drivers/net/ethernet/atheros/atlx/atl1.c 	for (i = 0; i < tpd_ring->count; i++) {
count            1194 drivers/net/ethernet/atheros/atlx/atl1.c 	size = sizeof(struct atl1_buffer) * tpd_ring->count;
count            1397 drivers/net/ethernet/atheros/atlx/atl1.c 	value = adapter->rfd_ring.count;
count            1408 drivers/net/ethernet/atheros/atlx/atl1.c 	value = adapter->rrd_ring.count;
count            1488 drivers/net/ethernet/atheros/atlx/atl1.c 	value = adapter->rrd_ring.count;
count            1490 drivers/net/ethernet/atheros/atlx/atl1.c 	value += adapter->rfd_ring.count;
count            1492 drivers/net/ethernet/atheros/atlx/atl1.c 	iowrite32(adapter->tpd_ring.count, hw->hw_addr +
count            1599 drivers/net/ethernet/atheros/atlx/atl1.c 	value = (hw->cmb_tpd > adapter->tpd_ring.count) ?
count            1600 drivers/net/ethernet/atheros/atlx/atl1.c 		hw->cmb_tpd : adapter->tpd_ring.count;
count            1767 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++rfd_ring->next_to_clean == rfd_ring->count) {
count            1845 drivers/net/ethernet/atheros/atlx/atl1.c 	if (++next_next == rfd_ring->count)
count            1880 drivers/net/ethernet/atheros/atlx/atl1.c 		if (unlikely(++next_next == rfd_ring->count))
count            1903 drivers/net/ethernet/atheros/atlx/atl1.c 	int i, count;
count            1913 drivers/net/ethernet/atheros/atlx/atl1.c 	count = 0;
count            1917 drivers/net/ethernet/atheros/atlx/atl1.c 	while (count < budget) {
count            1964 drivers/net/ethernet/atheros/atlx/atl1.c 			if (++rrd_next_to_clean == rrd_ring->count)
count            1966 drivers/net/ethernet/atheros/atlx/atl1.c 			count++;
count            1977 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++rfd_ring->next_to_clean == rfd_ring->count)
count            1981 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++rrd_next_to_clean == rrd_ring->count)
count            1983 drivers/net/ethernet/atheros/atlx/atl1.c 		count++;
count            2029 drivers/net/ethernet/atheros/atlx/atl1.c 	if (count) {
count            2050 drivers/net/ethernet/atheros/atlx/atl1.c 	return count;
count            2059 drivers/net/ethernet/atheros/atlx/atl1.c 	int count = 0;
count            2077 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++sw_tpd_next_to_clean == tpd_ring->count)
count            2080 drivers/net/ethernet/atheros/atlx/atl1.c 		count++;
count            2088 drivers/net/ethernet/atheros/atlx/atl1.c 	return count;
count            2097 drivers/net/ethernet/atheros/atlx/atl1.c 		tpd_ring->count + next_to_clean - next_to_use - 1;
count            2219 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++next_to_use == tpd_ring->count)
count            2243 drivers/net/ethernet/atheros/atlx/atl1.c 				if (++next_to_use == tpd_ring->count)
count            2254 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++next_to_use == tpd_ring->count)
count            2278 drivers/net/ethernet/atheros/atlx/atl1.c 			if (++next_to_use == tpd_ring->count)
count            2287 drivers/net/ethernet/atheros/atlx/atl1.c static void atl1_tx_queue(struct atl1_adapter *adapter, u16 count,
count            2297 drivers/net/ethernet/atheros/atlx/atl1.c 	for (j = 0; j < count; j++) {
count            2320 drivers/net/ethernet/atheros/atlx/atl1.c 		if (j == (count - 1))
count            2323 drivers/net/ethernet/atheros/atlx/atl1.c 		if (++next_to_use == tpd_ring->count)
count            2344 drivers/net/ethernet/atheros/atlx/atl1.c 	int count = 1;
count            2363 drivers/net/ethernet/atheros/atlx/atl1.c 		count += (f_size + ATL1_MAX_TX_BUF_LEN - 1) /
count            2378 drivers/net/ethernet/atheros/atlx/atl1.c 				count += (len - proto_hdr_len +
count            2384 drivers/net/ethernet/atheros/atlx/atl1.c 	if (atl1_tpd_avail(&adapter->tpd_ring) < count) {
count            2421 drivers/net/ethernet/atheros/atlx/atl1.c 	atl1_tx_queue(adapter, count, ptpd);
count            2972 drivers/net/ethernet/atheros/atlx/atl1.c 	adapter->rfd_ring.count = adapter->rrd_ring.count = ATL1_DEFAULT_RFD;
count            2973 drivers/net/ethernet/atheros/atlx/atl1.c 	adapter->tpd_ring.count = ATL1_DEFAULT_TPD;
count            3453 drivers/net/ethernet/atheros/atlx/atl1.c 	ring->rx_pending = rxdr->count;
count            3454 drivers/net/ethernet/atheros/atlx/atl1.c 	ring->tx_pending = txdr->count;
count            3481 drivers/net/ethernet/atheros/atlx/atl1.c 	rfdr->count = (u16) max(ring->rx_pending, (u32) ATL1_MIN_RFD);
count            3482 drivers/net/ethernet/atheros/atlx/atl1.c 	rfdr->count = rfdr->count > ATL1_MAX_RFD ? ATL1_MAX_RFD :
count            3483 drivers/net/ethernet/atheros/atlx/atl1.c 			rfdr->count;
count            3484 drivers/net/ethernet/atheros/atlx/atl1.c 	rfdr->count = (rfdr->count + 3) & ~3;
count            3485 drivers/net/ethernet/atheros/atlx/atl1.c 	rrdr->count = rfdr->count;
count            3487 drivers/net/ethernet/atheros/atlx/atl1.c 	tpdr->count = (u16) max(ring->tx_pending, (u32) ATL1_MIN_TPD);
count            3488 drivers/net/ethernet/atheros/atlx/atl1.c 	tpdr->count = tpdr->count > ATL1_MAX_TPD ? ATL1_MAX_TPD :
count            3489 drivers/net/ethernet/atheros/atlx/atl1.c 			tpdr->count;
count            3490 drivers/net/ethernet/atheros/atlx/atl1.c 	tpdr->count = (tpdr->count + 3) & ~3;
count             605 drivers/net/ethernet/atheros/atlx/atl1.h 	u16 count;		/* number of descriptors in the ring */
count             617 drivers/net/ethernet/atheros/atlx/atl1.h 	u16 count;		/* number of descriptors in the ring */
count             628 drivers/net/ethernet/atheros/atlx/atl1.h 	u16 count;		/* number of descriptors in the ring */
count            2944 drivers/net/ethernet/broadcom/bnx2.c 			struct sk_buff *skb, int count)
count            2973 drivers/net/ethernet/broadcom/bnx2.c 	for (i = 0; i < count; i++) {
count            1342 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	u8 count;
count             543 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	NAPI_GRO_CB(skb)->count = num_of_coalesced_segs;
count            4240 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	int cos, prio, count, offset;
count            4288 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		count = BNX2X_NUM_ETH_QUEUES(bp);
count            4290 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		netdev_set_tc_queue(dev, cos, count, offset);
count            4293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		   cos, offset, count);
count             965 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	if (bp->udp_tunnel_ports[BNX2X_UDP_PORT_VXLAN].count) {
count             969 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 	if (bp->udp_tunnel_ports[BNX2X_UDP_PORT_GENEVE].count) {
count            1260 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	int count, i;
count            1267 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	count = BNX2X_NVRAM_TIMEOUT_COUNT;
count            1269 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		count *= 100;
count            1275 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	for (i = 0; i < count*10; i++) {
count            1296 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	int count, i;
count            1300 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	count = BNX2X_NVRAM_TIMEOUT_COUNT;
count            1302 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		count *= 100;
count            1308 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	for (i = 0; i < count*10; i++) {
count            1354 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	int count, i, rc;
count            1371 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	count = BNX2X_NVRAM_TIMEOUT_COUNT;
count            1373 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		count *= 100;
count            1378 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	for (i = 0; i < count; i++) {
count            1628 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	int count, i, rc;
count            1647 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	count = BNX2X_NVRAM_TIMEOUT_COUNT;
count            1649 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		count *= 100;
count            1653 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	for (i = 0; i < count; i++) {
count            2793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		int count = min_t(int, size - done, CRC_BUFF_SIZE);
count            2795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		rc = bnx2x_nvram_read(bp, offset + done, buff, count);
count            2800 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		crc = crc32_le(crc, buff, count);
count            2801 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		done += count;
count            2474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u32 count = 1000;
count            2484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	while ((init_crd != crd) && count) {
count            2487 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		count--;
count            7144 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u32 count = 0;
count            7182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		count++;
count            7183 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		if (count > 300) {
count            6673 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	int count, i;
count            6697 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	count = 1000 * factor;
count            6698 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	while (count) {
count            6706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		count--;
count            6714 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	count = 1000 * factor;
count            6715 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	while (count) {
count            6721 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		count--;
count            6753 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	count = 1000 * factor;
count            6754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	while (count) {
count            6762 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		count--;
count            10161 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (bp->udp_tunnel_ports[BNX2X_UDP_PORT_GENEVE].count) {
count            10167 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (bp->udp_tunnel_ports[BNX2X_UDP_PORT_VXLAN].count) {
count            10197 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (udp_port->count && udp_port->dst_port == port) {
count            10198 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		udp_port->count++;
count            10202 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (udp_port->count) {
count            10210 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	udp_port->count = 1;
count            10222 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (!udp_port->count || udp_port->dst_port != port) {
count            10229 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	udp_port->count--;
count            10230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	if (udp_port->count)
count            10411 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			if (!bp->udp_tunnel_ports[BNX2X_UDP_PORT_VXLAN].count &&
count            10412 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			    !bp->udp_tunnel_ports[BNX2X_UDP_PORT_GENEVE].count)
count            11687 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	u8 count = 0;
count            11701 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					count++;
count            11709 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 					count++;
count            11720 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				count++;
count            11724 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	return count;
count            14552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static void bnx2x_cnic_sp_post(struct bnx2x *bp, int count)
count            14563 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BUG_ON(bp->cnic_spq_pending < count);
count            14564 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bp->cnic_spq_pending -= count;
count            14622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		   bp->cnic_spq_pending, bp->cnic_kwq_pending, count);
count            14634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			       struct kwqe_16 *kwqes[], u32 count)
count            14654 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	for (i = 0; i < count; i++) {
count            14793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		int count = ctl->data.credit.credit_count;
count            14795 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bnx2x_cnic_sp_post(bp, count);
count            14861 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		int count = ctl->data.credit.credit_count;
count            14864 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		atomic_add(count, &bp->cq_spq_left);
count            15011 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	cnic_tbl->count = tbl->fc_npiv_cfg.num_of_npiv;
count            15012 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	for (i = 0; i < cnic_tbl->count; i++) {
count             467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	for (i = 0; i < filters->count; i++) {
count             475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 	if (i != filters->count) {
count             477 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 			  i, filters->count);
count             123 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 	int count;
count            1675 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 		fl->count++;
count            1678 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 	if (!fl->count)
count            1475 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	NAPI_GRO_CB(skb)->count = segs;
count            7886 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		int i, off, count;
count            7889 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			count = bp->tx_nr_rings_per_tc;
count            7890 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			off = i * count;
count            7891 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			netdev_set_tc_queue(dev, i, count, off);
count             328 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	get.count = 0;
count             340 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	n = data->count;
count             371 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c 	data->count = n;
count              22 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 				size_t count, loff_t *ppos)
count              49 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 	if (count < strlen(buf)) {
count              53 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 	len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count            6973 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	u8	count;
count            7049 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h 	u8	count;
count             290 drivers/net/ethernet/broadcom/cnic.c static void cnic_spq_completion(struct cnic_dev *dev, int cmd, u32 count)
count             298 drivers/net/ethernet/broadcom/cnic.c 	info.data.credit.credit_count = count;
count             175 drivers/net/ethernet/broadcom/cnic_if.h 	u32 count;
count             358 drivers/net/ethernet/brocade/bna/bna.h enum bna_cb_status bna_rx_ucast_listset(struct bna_rx *rx, int count,
count             363 drivers/net/ethernet/brocade/bna/bna.h enum bna_cb_status bna_rx_mcast_listset(struct bna_rx *rx, int count,
count              64 drivers/net/ethernet/brocade/bna/bna_enet.c 	count = sizeof(struct bfi_enet_stats_ ## _type) / sizeof(u64);	\
count              67 drivers/net/ethernet/brocade/bna/bna_enet.c 	for (i = 0; i < count; i++)					\
count             186 drivers/net/ethernet/brocade/bna/bna_enet.c 	int count;
count             204 drivers/net/ethernet/brocade/bna/bna_enet.c 			count = sizeof(struct bfi_enet_stats_rxf) /
count             206 drivers/net/ethernet/brocade/bna/bna_enet.c 			for (k = 0; k < count; k++) {
count             219 drivers/net/ethernet/brocade/bna/bna_enet.c 			count = sizeof(struct bfi_enet_stats_txf) /
count             221 drivers/net/ethernet/brocade/bna/bna_enet.c 			for (k = 0; k < count; k++) {
count             775 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_ucast_listset(struct bna_rx *rx, int count, const u8 *uclist)
count             804 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	for (i = 0, mcaddr = uclist; i < count; i++) {
count             833 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bna_rx_mcast_listset(struct bna_rx *rx, int count, const u8 *mclist)
count             863 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	for (i = 0, mcaddr = mclist; i < count; i++) {
count            2105 drivers/net/ethernet/brocade/bna/bnad.c 	u32 rx_id = 0, count = 0;
count            2121 drivers/net/ethernet/brocade/bna/bnad.c 		count++;
count            2139 drivers/net/ethernet/brocade/bna/bnad.c 	return count;
count             713 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	int i, j, count = 0, rxf_active_num = 0, txf_active_num = 0;
count             728 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	count = BNAD_ETHTOOL_STATS_NUM +
count             735 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 		count += bnad->num_rxp_per_rx * BNAD_NUM_CQ_COUNTERS;
count             736 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 		count += bnad->num_rxp_per_rx * BNAD_NUM_RXQ_COUNTERS;
count             741 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				count +=  BNAD_NUM_RXQ_COUNTERS;
count             747 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 		count += bnad->num_txq_per_tx * BNAD_NUM_TXQ_COUNTERS;
count             749 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	return count;
count            1152 drivers/net/ethernet/cadence/macb.h 	unsigned int count;
count            1007 drivers/net/ethernet/cadence/macb_main.c 	int			count = 0;
count            1009 drivers/net/ethernet/cadence/macb_main.c 	while (count < budget) {
count            1032 drivers/net/ethernet/cadence/macb_main.c 		count++;
count            1087 drivers/net/ethernet/cadence/macb_main.c 	return count;
count            1502 drivers/net/ethernet/cadence/macb_main.c 	unsigned int offset, size, count = 0;
count            1542 drivers/net/ethernet/cadence/macb_main.c 		count++;
count            1572 drivers/net/ethernet/cadence/macb_main.c 			count++;
count            1652 drivers/net/ethernet/cadence/macb_main.c 	return count;
count            3029 drivers/net/ethernet/cadence/macb_main.c 	bp->rx_fs_list.count++;
count            3067 drivers/net/ethernet/cadence/macb_main.c 			bp->rx_fs_list.count--;
count            3123 drivers/net/ethernet/cadence/macb_main.c 		cmd->rule_cnt = bp->rx_fs_list.count;
count            3596 drivers/net/ethernet/cadence/macb_main.c 			bp->rx_fs_list.count = 0;
count            1169 drivers/net/ethernet/calxeda/xgmac.c 	unsigned int count = 0;
count            1172 drivers/net/ethernet/calxeda/xgmac.c 	while (count < limit) {
count            1185 drivers/net/ethernet/calxeda/xgmac.c 		count++;
count            1218 drivers/net/ethernet/calxeda/xgmac.c 	return count;
count            1445 drivers/net/ethernet/calxeda/xgmac.c 	u32 count;
count            1462 drivers/net/ethernet/calxeda/xgmac.c 	count = readl(base + XGMAC_MMC_TXFRAME_GB_LO);
count            1463 drivers/net/ethernet/calxeda/xgmac.c 	storage->tx_errors = count - readl(base + XGMAC_MMC_TXFRAME_G_LO);
count            1464 drivers/net/ethernet/calxeda/xgmac.c 	storage->tx_packets = count;
count            1476 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c 	u32 count = 0, ret;
count            1501 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c 	} while ((atomic_read(&ctx.status) == 0) && (count++ < timeout));
count             409 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 	u32 q_no, count = 0;
count             442 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c 	} while ((!atomic_read(&status)) && (count++ < 100000));
count             126 drivers/net/ethernet/cavium/liquidio/liquidio_common.h static inline u32 incr_index(u32 index, u32 count, u32 max)
count             128 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	if ((index + count) >= max)
count             129 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 		index = index + count - max;
count             131 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 		index += count;
count            1017 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	oct->dispatch.count = 0;
count            1053 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	oct->dispatch.count = 0;
count            1076 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	if (octeon_dev->dispatch.count == 0) {
count            1139 drivers/net/ethernet/cavium/liquidio/octeon_device.c 		oct->dispatch.count++;
count            1171 drivers/net/ethernet/cavium/liquidio/octeon_device.c 		oct->dispatch.count++;
count             154 drivers/net/ethernet/cavium/liquidio/octeon_device.h 	u32 count;
count              67 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 	if (octeon_dev->dispatch.count == 0) {
count             113 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 	u32 count = 0;
count             124 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 		count += droq->buffer_size;
count             125 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 	} while (count < (64 * 1024));
count             324 drivers/net/ethernet/cavium/liquidio/octeon_iq.h #define INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count)  \
count             325 drivers/net/ethernet/cavium/liquidio/octeon_iq.h 		(((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count)
count             135 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 	u32 count, i, ret = OCTEON_MBOX_STATUS_SUCCESS;
count             161 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 	count = 0;
count             165 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 		if (count++ == LIO_MBOX_WRITE_WAIT_CNT) {
count             174 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 			count = 0;
count             178 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c 				if (count++ == LIO_MBOX_WRITE_WAIT_CNT) {
count             572 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 	if ((netdev->flags & IFF_PROMISC) || netdev->uc.count > 7) {
count             579 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c 		available_cam_entries = 7 - netdev->uc.count;
count             266 drivers/net/ethernet/cavium/thunder/nic.h 	int              count;
count            2019 drivers/net/ethernet/cavium/thunder/nicvf_main.c 		for (idx = 0; idx < mc_addrs->count; idx++) {
count            2083 drivers/net/ethernet/cavium/thunder/nicvf_main.c 				mc_list->count = 0;
count            2085 drivers/net/ethernet/cavium/thunder/nicvf_main.c 					mc_list->mc[mc_list->count] =
count            2087 drivers/net/ethernet/cavium/thunder/nicvf_main.c 					mc_list->count++;
count              98 drivers/net/ethernet/chelsio/cxgb/cphy.h 	int count;
count              46 drivers/net/ethernet/chelsio/cxgb/my3126.c 	if (cphy->count == 50) {
count              58 drivers/net/ethernet/chelsio/cxgb/my3126.c 		cphy->count = 0;
count              92 drivers/net/ethernet/chelsio/cxgb/my3126.c 	cphy->count++;
count            1113 drivers/net/ethernet/chelsio/cxgb/sge.c 	unsigned int count = 0;
count            1119 drivers/net/ethernet/chelsio/cxgb/sge.c 			count++;
count            1126 drivers/net/ethernet/chelsio/cxgb/sge.c 				count++;
count            1131 drivers/net/ethernet/chelsio/cxgb/sge.c 	return count;
count            1318 drivers/net/ethernet/chelsio/cxgb/sge.c 		unsigned int genbit, pidx, count;
count            1319 drivers/net/ethernet/chelsio/cxgb/sge.c 	        count = 1 + skb_shinfo(skb)->nr_frags;
count            1320 drivers/net/ethernet/chelsio/cxgb/sge.c 		count += compute_large_page_tx_descs(skb);
count            1321 drivers/net/ethernet/chelsio/cxgb/sge.c 		q->in_use += count;
count            1324 drivers/net/ethernet/chelsio/cxgb/sge.c 		q->pidx += count;
count            1664 drivers/net/ethernet/chelsio/cxgb/sge.c 	unsigned int credits, pidx, genbit, count, use_sched_skb = 0;
count            1672 drivers/net/ethernet/chelsio/cxgb/sge.c 	count = 1 + skb_shinfo(skb)->nr_frags;
count            1673 drivers/net/ethernet/chelsio/cxgb/sge.c 	count += compute_large_page_tx_descs(skb);
count            1676 drivers/net/ethernet/chelsio/cxgb/sge.c 	if (unlikely(credits < count)) {
count            1688 drivers/net/ethernet/chelsio/cxgb/sge.c 	if (unlikely(credits - count < q->stop_thres)) {
count            1709 drivers/net/ethernet/chelsio/cxgb/sge.c 		count = 1 + skb_shinfo(skb)->nr_frags;
count            1710 drivers/net/ethernet/chelsio/cxgb/sge.c 		count += compute_large_page_tx_descs(skb);
count            1713 drivers/net/ethernet/chelsio/cxgb/sge.c 	q->in_use += count;
count            1716 drivers/net/ethernet/chelsio/cxgb/sge.c 	q->pidx += count;
count             509 drivers/net/ethernet/chelsio/cxgb3/sge.c 	unsigned int count = 0;
count             553 drivers/net/ethernet/chelsio/cxgb3/sge.c 		count++;
count             556 drivers/net/ethernet/chelsio/cxgb3/sge.c 	q->credits += count;
count             557 drivers/net/ethernet/chelsio/cxgb3/sge.c 	q->pend_cred += count;
count             560 drivers/net/ethernet/chelsio/cxgb3/sge.c 	return count;
count             663 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			   size_t count, loff_t *pos)
count             668 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	size_t size = min(sizeof(s) - 1, count);
count             682 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count             802 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			      size_t count, loff_t *pos)
count             808 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            1278 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			  size_t count, loff_t *pos)
count            1289 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (count > sizeof(s) - 1 || !count)
count            1291 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (copy_from_user(s, buf, count))
count            1293 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	s[count] = '\0';
count            1313 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            1411 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			     size_t count, loff_t *pos)
count            1429 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (count > 1024)
count            1431 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	p = s = kzalloc(count + 1, GFP_USER);
count            1434 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (copy_from_user(s, buf, count)) {
count            1435 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		count = -EFAULT;
count            1439 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (s[count - 1] == '\n')
count            1440 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		s[count - 1] = '\0';
count            1496 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c inval:				count = -EINVAL;
count            1552 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 				count = -EFBIG;
count            1603 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		count = i;
count            1606 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            1618 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t flash_read(struct file *file, char __user *buf, size_t count,
count            1629 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (count > avail - pos)
count            1630 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		count = avail - pos;
count            1632 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	while (count) {
count            1638 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		len = min(count + ofst, sizeof(data));
count            1650 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		count -= len;
count            1652 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	count = pos - *ppos;
count            1654 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            2205 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			     size_t count, loff_t *pos)
count            2212 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (count > sizeof(s) - 1)
count            2214 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (copy_from_user(s, buf, count))
count            2216 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	for (i = count; i > 0 && isspace(s[i - 1]); i--)
count            2230 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            3078 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c static ssize_t mem_read(struct file *file, char __user *buf, size_t count,
count            3092 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	if (count > avail - pos)
count            3093 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 		count = avail - pos;
count            3095 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	data = kvzalloc(count, GFP_KERNEL);
count            3100 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	ret = t4_memory_rw(adap, 0, mem, pos, count, data, T4_MEMORY_READ);
count            3106 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	ret = copy_to_user(buf, data, count);
count            3112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	*ppos = pos + count;
count            3113 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count            3210 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			       size_t count, loff_t *ppos)
count            3225 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	size = simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            3231 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 				size_t count, loff_t *ppos)
count            3241 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	err = bitmap_parse_user(ubuf, count, t, adap->sge.egr_sz);
count            3249 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	return count;
count             942 drivers/net/ethernet/chelsio/cxgb4/sge.c 	int count = 8;
count             944 drivers/net/ethernet/chelsio/cxgb4/sge.c 	while (count) {
count             948 drivers/net/ethernet/chelsio/cxgb4/sge.c 		count--;
count            1002 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			unsigned int count = EQ_UNIT / sizeof(__be64);
count            1013 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			while (count) {
count            1021 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				count--;
count             105 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static void ppm_mark_entries(struct cxgbi_ppm *ppm, int i, int count,
count             111 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	pdata->npods = count;
count             119 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static int ppm_get_cpu_entries(struct cxgbi_ppm *ppm, unsigned int count,
count             135 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 				    pool->next, count, 0);
count             142 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	pool->next = i + count;
count             149 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		 __func__, cpu, i, count, i + cpu * ppm->pool_index_max,
count             153 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	ppm_mark_entries(ppm, i, count, caller_data);
count             158 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static int ppm_get_entries(struct cxgbi_ppm *ppm, unsigned int count,
count             165 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 				    ppm->next, count, 0);
count             170 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 			 count);
count             174 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	ppm->next = i + count;
count             183 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		 __func__, i, count, i + ppm->pool_rsvd, ppm->next,
count             187 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	ppm_mark_entries(ppm, i, count, caller_data);
count             192 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static void ppm_unmark_entries(struct cxgbi_ppm *ppm, int i, int count)
count             194 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	pr_debug("%s: idx %d + %d.\n", __func__, i, count);
count             205 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		bitmap_clear(pool->bmap, i, count);
count             217 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		bitmap_clear(ppm->ppod_bmap, i, count);
count             354 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	unsigned int count = 0;
count             379 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 		count += ppmax;
count             382 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c 	*total = count;
count             785 drivers/net/ethernet/cirrus/cs89x0.c 				int count = readreg(dev, PP_DmaFrameCnt);
count             786 drivers/net/ethernet/cirrus/cs89x0.c 				while (count) {
count             789 drivers/net/ethernet/cirrus/cs89x0.c 						 dev->name, count);
count             790 drivers/net/ethernet/cirrus/cs89x0.c 					if (count > 1)
count             793 drivers/net/ethernet/cirrus/cs89x0.c 							 dev->name, count);
count             795 drivers/net/ethernet/cirrus/cs89x0.c 					if (--count == 0)
count             796 drivers/net/ethernet/cirrus/cs89x0.c 						count = readreg(dev, PP_DmaFrameCnt);
count             797 drivers/net/ethernet/cirrus/cs89x0.c 					if (count > 0)
count             800 drivers/net/ethernet/cirrus/cs89x0.c 							 dev->name, count);
count            1476 drivers/net/ethernet/cirrus/cs89x0.c 		int count = 0;
count            1479 drivers/net/ethernet/cirrus/cs89x0.c 			count++;
count            1483 drivers/net/ethernet/cirrus/cs89x0.c 			count++;
count            1487 drivers/net/ethernet/cirrus/cs89x0.c 			count++;
count            1489 drivers/net/ethernet/cirrus/cs89x0.c 		if (count > 1)
count              90 drivers/net/ethernet/cisco/enic/vnic_dev.c 		u32 count = ioread32(&r->count);
count             107 drivers/net/ethernet/cisco/enic/vnic_dev.c 			len = count * VNIC_RES_STRIDE;
count             118 drivers/net/ethernet/cisco/enic/vnic_dev.c 			len = count;
count             124 drivers/net/ethernet/cisco/enic/vnic_dev.c 		vdev->res[type].count = count;
count             136 drivers/net/ethernet/cisco/enic/vnic_dev.c 	return vdev->res[type].count;
count              82 drivers/net/ethernet/cisco/enic/vnic_dev.h 	unsigned int count;
count              80 drivers/net/ethernet/cisco/enic/vnic_resource.h 	u32 count;
count              34 drivers/net/ethernet/cisco/enic/vnic_rq.c 	unsigned int i, j, count = rq->ring.desc_count;
count              35 drivers/net/ethernet/cisco/enic/vnic_rq.c 	unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count);
count              38 drivers/net/ethernet/cisco/enic/vnic_rq.c 		rq->bufs[i] = kzalloc(VNIC_RQ_BUF_BLK_SZ(count), GFP_KERNEL);
count              45 drivers/net/ethernet/cisco/enic/vnic_rq.c 		for (j = 0; j < VNIC_RQ_BUF_BLK_ENTRIES(count); j++) {
count              46 drivers/net/ethernet/cisco/enic/vnic_rq.c 			buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j;
count              49 drivers/net/ethernet/cisco/enic/vnic_rq.c 			if (buf->index + 1 == count) {
count              52 drivers/net/ethernet/cisco/enic/vnic_rq.c 			} else if (j + 1 == VNIC_RQ_BUF_BLK_ENTRIES(count)) {
count             120 drivers/net/ethernet/cisco/enic/vnic_rq.c 	unsigned int count = rq->ring.desc_count;
count             124 drivers/net/ethernet/cisco/enic/vnic_rq.c 	iowrite32(count, &rq->ctrl->ring_size);
count             134 drivers/net/ethernet/cisco/enic/vnic_rq.c 		&rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)]
count             135 drivers/net/ethernet/cisco/enic/vnic_rq.c 			[fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)];
count             189 drivers/net/ethernet/cisco/enic/vnic_rq.c 	unsigned int count = rq->ring.desc_count;
count             208 drivers/net/ethernet/cisco/enic/vnic_rq.c 		&rq->bufs[fetch_index / VNIC_RQ_BUF_BLK_ENTRIES(count)]
count             209 drivers/net/ethernet/cisco/enic/vnic_rq.c 			[fetch_index % VNIC_RQ_BUF_BLK_ENTRIES(count)];
count             154 drivers/net/ethernet/cisco/enic/vnic_rq.h static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count)
count             156 drivers/net/ethernet/cisco/enic/vnic_rq.h 	rq->ring.desc_avail += count;
count              34 drivers/net/ethernet/cisco/enic/vnic_wq.c 	unsigned int i, j, count = wq->ring.desc_count;
count              35 drivers/net/ethernet/cisco/enic/vnic_wq.c 	unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count);
count              38 drivers/net/ethernet/cisco/enic/vnic_wq.c 		wq->bufs[i] = kzalloc(VNIC_WQ_BUF_BLK_SZ(count), GFP_KERNEL);
count              45 drivers/net/ethernet/cisco/enic/vnic_wq.c 		for (j = 0; j < VNIC_WQ_BUF_BLK_ENTRIES(count); j++) {
count              46 drivers/net/ethernet/cisco/enic/vnic_wq.c 			buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES(count) + j;
count              49 drivers/net/ethernet/cisco/enic/vnic_wq.c 			if (buf->index + 1 == count) {
count              53 drivers/net/ethernet/cisco/enic/vnic_wq.c 			} else if (j + 1 == VNIC_WQ_BUF_BLK_ENTRIES(count)) {
count             140 drivers/net/ethernet/cisco/enic/vnic_wq.c 	unsigned int count = wq->ring.desc_count;
count             144 drivers/net/ethernet/cisco/enic/vnic_wq.c 	iowrite32(count, &wq->ctrl->ring_size);
count             153 drivers/net/ethernet/cisco/enic/vnic_wq.c 		&wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)]
count             154 drivers/net/ethernet/cisco/enic/vnic_wq.c 			[fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)];
count             877 drivers/net/ethernet/cortina/gemini.c 	unsigned int count = 0;
count             917 drivers/net/ethernet/cortina/gemini.c 		count += 1 << fpp_order;
count             926 drivers/net/ethernet/cortina/gemini.c 	return count;
count             198 drivers/net/ethernet/davicom/dm9000.c static void dm9000_outblk_8bit(void __iomem *reg, void *data, int count)
count             200 drivers/net/ethernet/davicom/dm9000.c 	iowrite8_rep(reg, data, count);
count             203 drivers/net/ethernet/davicom/dm9000.c static void dm9000_outblk_16bit(void __iomem *reg, void *data, int count)
count             205 drivers/net/ethernet/davicom/dm9000.c 	iowrite16_rep(reg, data, (count+1) >> 1);
count             208 drivers/net/ethernet/davicom/dm9000.c static void dm9000_outblk_32bit(void __iomem *reg, void *data, int count)
count             210 drivers/net/ethernet/davicom/dm9000.c 	iowrite32_rep(reg, data, (count+3) >> 2);
count             215 drivers/net/ethernet/davicom/dm9000.c static void dm9000_inblk_8bit(void __iomem *reg, void *data, int count)
count             217 drivers/net/ethernet/davicom/dm9000.c 	ioread8_rep(reg, data, count);
count             221 drivers/net/ethernet/davicom/dm9000.c static void dm9000_inblk_16bit(void __iomem *reg, void *data, int count)
count             223 drivers/net/ethernet/davicom/dm9000.c 	ioread16_rep(reg, data, (count+1) >> 1);
count             226 drivers/net/ethernet/davicom/dm9000.c static void dm9000_inblk_32bit(void __iomem *reg, void *data, int count)
count             228 drivers/net/ethernet/davicom/dm9000.c 	ioread32_rep(reg, data, (count+3) >> 2);
count             233 drivers/net/ethernet/davicom/dm9000.c static void dm9000_dumpblk_8bit(void __iomem *reg, int count)
count             238 drivers/net/ethernet/davicom/dm9000.c 	for (i = 0; i < count; i++)
count             242 drivers/net/ethernet/davicom/dm9000.c static void dm9000_dumpblk_16bit(void __iomem *reg, int count)
count             247 drivers/net/ethernet/davicom/dm9000.c 	count = (count + 1) >> 1;
count             249 drivers/net/ethernet/davicom/dm9000.c 	for (i = 0; i < count; i++)
count             253 drivers/net/ethernet/davicom/dm9000.c static void dm9000_dumpblk_32bit(void __iomem *reg, int count)
count             258 drivers/net/ethernet/davicom/dm9000.c 	count = (count + 3) >> 2;
count             260 drivers/net/ethernet/davicom/dm9000.c 	for (i = 0; i < count; i++)
count            1002 drivers/net/ethernet/dec/tulip/de4x5.c static int     type0_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1003 drivers/net/ethernet/dec/tulip/de4x5.c static int     type1_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1004 drivers/net/ethernet/dec/tulip/de4x5.c static int     type2_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1005 drivers/net/ethernet/dec/tulip/de4x5.c static int     type3_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1006 drivers/net/ethernet/dec/tulip/de4x5.c static int     type4_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1007 drivers/net/ethernet/dec/tulip/de4x5.c static int     type5_infoblock(struct net_device *dev, u_char count, u_char *p);
count            1008 drivers/net/ethernet/dec/tulip/de4x5.c static int     compact_infoblock(struct net_device *dev, u_char count, u_char *p);
count            4298 drivers/net/ethernet/dec/tulip/de4x5.c     int i, count;
count            4315 drivers/net/ethernet/dec/tulip/de4x5.c     count = *((u_char *)&lp->srom + 19);
count            4318 drivers/net/ethernet/dec/tulip/de4x5.c     if (count > 1) {
count            4319 drivers/net/ethernet/dec/tulip/de4x5.c 	for (i=count; i; --i, p+=3) {
count            4347 drivers/net/ethernet/dec/tulip/de4x5.c     u_char count;
count            4356 drivers/net/ethernet/dec/tulip/de4x5.c     count = *p++;
count            4359 drivers/net/ethernet/dec/tulip/de4x5.c     for (;count; --count) {
count            4390 drivers/net/ethernet/dec/tulip/de4x5.c     u_char count = (p ? *p++ : 0);
count            4393 drivers/net/ethernet/dec/tulip/de4x5.c     if (((lp->ibn != 1) && (lp->ibn != 3) && (lp->ibn != 5)) || !count) return;
count            4397 drivers/net/ethernet/dec/tulip/de4x5.c     while (count--) {
count            4424 drivers/net/ethernet/dec/tulip/de4x5.c     u_char count = 0;
count            4435 drivers/net/ethernet/dec/tulip/de4x5.c     count = *p++;
count            4439 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[COMPACT](dev, count, p);
count            4441 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[*(p+1)](dev, count, p);
count            4444 drivers/net/ethernet/dec/tulip/de4x5.c     if (lp->tcount == count) {
count            4462 drivers/net/ethernet/dec/tulip/de4x5.c     u_char count = 0;
count            4470 drivers/net/ethernet/dec/tulip/de4x5.c     count = *p++;
count            4474 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[COMPACT](dev, count, p);
count            4476 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[*(p+1)](dev, count, p);
count            4479 drivers/net/ethernet/dec/tulip/de4x5.c     if (lp->tcount == count) {
count            4497 drivers/net/ethernet/dec/tulip/de4x5.c     u_char count = 0;
count            4505 drivers/net/ethernet/dec/tulip/de4x5.c     count = *p++;
count            4509 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[COMPACT](dev, count, p);
count            4511 drivers/net/ethernet/dec/tulip/de4x5.c 	next_tick = dc_infoblock[*(p+1)](dev, count, p);
count            4513 drivers/net/ethernet/dec/tulip/de4x5.c     if (lp->tcount == count) {
count            4532 drivers/net/ethernet/dec/tulip/de4x5.c compact_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4538 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4540 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+COMPACT_LEN);
count            4542 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+COMPACT_LEN+1)](dev, count, p+COMPACT_LEN);
count            4572 drivers/net/ethernet/dec/tulip/de4x5.c type0_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4578 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4580 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4582 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count            4612 drivers/net/ethernet/dec/tulip/de4x5.c type1_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4618 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4620 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4622 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count            4651 drivers/net/ethernet/dec/tulip/de4x5.c type2_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4657 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4659 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4661 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count            4692 drivers/net/ethernet/dec/tulip/de4x5.c type3_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4698 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4700 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4702 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count            4734 drivers/net/ethernet/dec/tulip/de4x5.c type4_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4740 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4742 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4744 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count            4779 drivers/net/ethernet/dec/tulip/de4x5.c type5_infoblock(struct net_device *dev, u_char count, u_char *p)
count            4785 drivers/net/ethernet/dec/tulip/de4x5.c     if (--count > lp->tcount) {
count            4787 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[COMPACT](dev, count, p+len);
count            4789 drivers/net/ethernet/dec/tulip/de4x5.c 	    return dc_infoblock[*(p+len+1)](dev, count, p+len);
count             210 drivers/net/ethernet/dec/tulip/eeprom.c 		int count, new_advertise = 0;
count             217 drivers/net/ethernet/dec/tulip/eeprom.c 		count = *p++;
count             220 drivers/net/ethernet/dec/tulip/eeprom.c 	        if (count == 0) {
count             227 drivers/net/ethernet/dec/tulip/eeprom.c 		mtable = kmalloc(struct_size(mtable, mleaf, count), GFP_KERNEL);
count             232 drivers/net/ethernet/dec/tulip/eeprom.c 		mtable->leafcount = count;
count             241 drivers/net/ethernet/dec/tulip/eeprom.c 		for (i = 0; i < count; i++) {
count             259 drivers/net/ethernet/dec/tulip/eeprom.c 					count--;
count            1019 drivers/net/ethernet/emulex/benet/be_cmds.c 	AMAP_SET_BITS(struct amap_eq_context, count, req->context,
count            1183 drivers/net/ethernet/emulex/benet/be_cmds.c 		AMAP_SET_BITS(struct amap_cq_context_be, count, ctxt,
count            1200 drivers/net/ethernet/emulex/benet/be_cmds.c 		AMAP_SET_BITS(struct amap_cq_context_v2, count, ctxt,
count            4527 drivers/net/ethernet/emulex/benet/be_cmds.c 				     int size, int count, u8 version, u8 domain)
count            4547 drivers/net/ethernet/emulex/benet/be_cmds.c 	req->desc_count = cpu_to_le32(count);
count             373 drivers/net/ethernet/emulex/benet/be_cmds.h 	u8 count[3];		/* dword 1*/
count             458 drivers/net/ethernet/emulex/benet/be_cmds.h 	u8 count[2];		/* dword 0*/
count             479 drivers/net/ethernet/emulex/benet/be_cmds.h 	u8 count[2];		/* dword 0*/
count             419 drivers/net/ethernet/ethoc.c 	int count;
count             421 drivers/net/ethernet/ethoc.c 	for (count = 0; count < limit; ++count) {
count             473 drivers/net/ethernet/ethoc.c 	return count;
count             511 drivers/net/ethernet/ethoc.c 	int count;
count             514 drivers/net/ethernet/ethoc.c 	for (count = 0; count < limit; ++count) {
count             543 drivers/net/ethernet/ethoc.c 	return count;
count             663 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 				     u32 start, u32 count,
count             670 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	dpaa_fq = devm_kcalloc(dev, count, sizeof(*dpaa_fq),
count             675 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	for (i = 0; i < count; i++) {
count             681 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	for (i = 0; i < count; i++)
count            1201 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 				 size_t count, struct dpaa_fq *errq,
count            1227 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	count = min(ARRAY_SIZE(rx_p->ext_buf_pools.ext_buf_pool), count);
count            1228 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	rx_p->ext_buf_pools.num_of_pools_used = (u8)count;
count            1229 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	for (i = 0; i < count; i++) {
count            1255 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			       struct dpaa_bp **bps, size_t count,
count            1269 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	err = dpaa_eth_init_rx_port(rxport, bps, count, port_fqs->rx_errq,
count            1556 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	int count = *countptr;
count            1559 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	if (unlikely(count < FSL_DPAA_ETH_REFILL_THRESHOLD)) {
count            1569 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			count += new_bufs;
count            1570 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		} while (count < FSL_DPAA_ETH_MAX_BUF_COUNT);
count            1572 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		*countptr = count;
count            1573 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		if (unlikely(count < FSL_DPAA_ETH_MAX_BUF_COUNT))
count             206 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void free_bufs(struct dpaa2_eth_priv *priv, u64 *buf_array, int count)
count             212 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	for (i = 0; i < count; i++) {
count            1032 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void drain_bufs(struct dpaa2_eth_priv *priv, int count)
count            1039 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 					       buf_array, count);
count              23 drivers/net/ethernet/freescale/enetc/enetc.c 	int count;
count              31 drivers/net/ethernet/freescale/enetc/enetc.c 	count = skb_shinfo(skb)->nr_frags + 1; /* fragments + head */
count              32 drivers/net/ethernet/freescale/enetc/enetc.c 	if (enetc_bd_unused(tx_ring) < ENETC_TXBDS_NEEDED(count)) {
count              37 drivers/net/ethernet/freescale/enetc/enetc.c 	count = enetc_map_tx_buffs(tx_ring, skb, priv->active_offloads);
count              38 drivers/net/ethernet/freescale/enetc/enetc.c 	if (unlikely(!count))
count             118 drivers/net/ethernet/freescale/enetc/enetc.c 	int i, count = 0;
count             139 drivers/net/ethernet/freescale/enetc/enetc.c 	count++;
count             186 drivers/net/ethernet/freescale/enetc/enetc.c 		count++;
count             217 drivers/net/ethernet/freescale/enetc/enetc.c 		count++;
count             233 drivers/net/ethernet/freescale/enetc/enetc.c 	return count;
count             244 drivers/net/ethernet/freescale/enetc/enetc.c 	} while (count--);
count             641 drivers/net/ethernet/freescale/enetc/enetc.c 			int count = enetc_refill_rx_ring(rx_ring, cleaned_cnt);
count             643 drivers/net/ethernet/freescale/enetc/enetc.c 			cleaned_cnt -= count;
count             245 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count);
count             246 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count);
count             154 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c static int enetc_cmd_rss_table(struct enetc_si *si, u32 *table, int count,
count             162 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	if (count < RSSE_ALIGN)
count             166 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	tmp = dma_alloc_coherent(&si->pdev->dev, count + RSSE_ALIGN,
count             176 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 		for (i = 0; i < count; i++)
count             182 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	cbd.length = cpu_to_le16(count);
count             192 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 		for (i = 0; i < count; i++)
count             195 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	dma_free_coherent(&si->pdev->dev, count + RSSE_ALIGN, tmp, dma);
count             201 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count)
count             203 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	return enetc_cmd_rss_table(si, table, count, true);
count             207 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count)
count             209 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c 	return enetc_cmd_rss_table(si, (u32 *)table, count, false);
count            1433 drivers/net/ethernet/freescale/fman/fman.c 	int i, count;
count            1439 drivers/net/ethernet/freescale/fman/fman.c 	count = 100;
count            1442 drivers/net/ethernet/freescale/fman/fman.c 	} while ((ioread32be(&iram->iadd) != IRAM_IADD_AIE) && --count);
count            1443 drivers/net/ethernet/freescale/fman/fman.c 	if (count == 0)
count            1450 drivers/net/ethernet/freescale/fman/fman.c 	count = 100;
count            1453 drivers/net/ethernet/freescale/fman/fman.c 	} while ((ioread32be(&iram->idata) != 0xffffffff) && --count);
count            1454 drivers/net/ethernet/freescale/fman/fman.c 	if (count == 0)
count            1829 drivers/net/ethernet/freescale/fman/fman.c 	u32 count;
count            1835 drivers/net/ethernet/freescale/fman/fman.c 		count = 100;
count            1839 drivers/net/ethernet/freescale/fman/fman.c 			 FPM_RSTC_FM_RESET) && --count);
count            1840 drivers/net/ethernet/freescale/fman/fman.c 		if (count == 0)
count            1883 drivers/net/ethernet/freescale/fman/fman.c 		count = 100;
count            1887 drivers/net/ethernet/freescale/fman/fman.c 			 FPM_RSTC_FM_RESET) && --count);
count            1888 drivers/net/ethernet/freescale/fman/fman.c 		if (count == 0) {
count            1922 drivers/net/ethernet/freescale/fman/fman.c 	int err = 0, i, count;
count            1969 drivers/net/ethernet/freescale/fman/fman.c 		count = 100;
count            1973 drivers/net/ethernet/freescale/fman/fman.c 			 QMI_GS_HALT_NOT_BUSY) && --count);
count            1974 drivers/net/ethernet/freescale/fman/fman.c 		if (count == 0)
count             376 drivers/net/ethernet/freescale/fman/fman_memac.c 	int count;
count             384 drivers/net/ethernet/freescale/fman/fman_memac.c 	count = 100;
count             388 drivers/net/ethernet/freescale/fman/fman_memac.c 		 --count);
count             390 drivers/net/ethernet/freescale/fman/fman_memac.c 	if (count == 0)
count             381 drivers/net/ethernet/freescale/fman/fman_port.c 	u8 count;			/* Num of pools to set up */
count             792 drivers/net/ethernet/freescale/fman/fman_port.c 		for (i = 0; (i < (bp->count - 1) &&
count             800 drivers/net/ethernet/freescale/fman/fman_port.c 	for (i = 0; i < bp->count; i++) {
count             819 drivers/net/ethernet/freescale/fman/fman_port.c 	for (i = bp->count; i < max_bp_num; i++)
count             938 drivers/net/ethernet/freescale/fman/fman_port.c 	bpools.count = ext_buf_pools->num_of_pools_used;
count            1593 drivers/net/ethernet/freescale/fman/fman_port.c 	int count;
count            1619 drivers/net/ethernet/freescale/fman/fman_port.c 		count = 100;
count            1623 drivers/net/ethernet/freescale/fman/fman_port.c 		} while ((tmp & QMI_PORT_STATUS_DEQ_FD_BSY) && --count);
count            1625 drivers/net/ethernet/freescale/fman/fman_port.c 		if (count == 0) {
count            1636 drivers/net/ethernet/freescale/fman/fman_port.c 	count = 500;
count            1640 drivers/net/ethernet/freescale/fman/fman_port.c 	} while ((tmp & BMI_PORT_STATUS_BSY) && --count);
count            1642 drivers/net/ethernet/freescale/fman/fman_port.c 	if (count == 0) {
count             741 drivers/net/ethernet/freescale/gianfar.c 	priv->rx_list.count = 0;
count              52 drivers/net/ethernet/freescale/gianfar.h 	unsigned int count;
count             239 drivers/net/ethernet/freescale/gianfar.h #define mk_ic_value(count, time) (IC_ICEN | \
count             240 drivers/net/ethernet/freescale/gianfar.h 				mk_ic_icft(count) | \
count             199 drivers/net/ethernet/freescale/gianfar_ethtool.c 	unsigned int count;
count             204 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_GBIT_TIME;
count             207 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_100_TIME;
count             211 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_10_TIME;
count             217 drivers/net/ethernet/freescale/gianfar_ethtool.c 	return DIV_ROUND_UP(usecs * 1000, count);
count             226 drivers/net/ethernet/freescale/gianfar_ethtool.c 	unsigned int count;
count             231 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_GBIT_TIME;
count             234 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_100_TIME;
count             238 drivers/net/ethernet/freescale/gianfar_ethtool.c 		count = GFAR_10_TIME;
count             244 drivers/net/ethernet/freescale/gianfar_ethtool.c 	return (ticks * count) / 1000;
count            1339 drivers/net/ethernet/freescale/gianfar_ethtool.c 	priv->rx_list.count++;
count            1346 drivers/net/ethernet/freescale/gianfar_ethtool.c 	priv->rx_list.count--;
count            1365 drivers/net/ethernet/freescale/gianfar_ethtool.c 			priv->rx_list.count--;
count            1457 drivers/net/ethernet/freescale/gianfar_ethtool.c 		cmd->rule_cnt = priv->rx_list.count;
count             453 drivers/net/ethernet/hisilicon/hip04_eth.c 	unsigned int count;
count             456 drivers/net/ethernet/hisilicon/hip04_eth.c 	count = tx_count(READ_ONCE(priv->tx_head), tx_tail);
count             457 drivers/net/ethernet/hisilicon/hip04_eth.c 	if (count == 0)
count             460 drivers/net/ethernet/hisilicon/hip04_eth.c 	while (count) {
count             480 drivers/net/ethernet/hisilicon/hip04_eth.c 		count--;
count             490 drivers/net/ethernet/hisilicon/hip04_eth.c 	if (unlikely(netif_queue_stopped(ndev)) && (count < (TX_DESC_NUM - 1)))
count             493 drivers/net/ethernet/hisilicon/hip04_eth.c 	return count;
count             510 drivers/net/ethernet/hisilicon/hip04_eth.c 	unsigned int tx_head = priv->tx_head, count;
count             515 drivers/net/ethernet/hisilicon/hip04_eth.c 	count = tx_count(tx_head, READ_ONCE(priv->tx_tail));
count             516 drivers/net/ethernet/hisilicon/hip04_eth.c 	if (count == (TX_DESC_NUM - 1)) {
count             546 drivers/net/ethernet/hisilicon/hip04_eth.c 	count++;
count             557 drivers/net/ethernet/hisilicon/hip04_eth.c 	if (count >= priv->tx_coalesce_frames) {
count             214 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	unsigned int	count;
count             998 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	priv->rx_fq.count = RX_DESC_NUM;
count             999 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	priv->rx_bq.count = RX_DESC_NUM;
count            1000 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	priv->tx_bq.count = TX_DESC_NUM;
count            1001 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	priv->tx_rq.count = TX_DESC_NUM;
count            1004 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		size = priv->pool[i].count * sizeof(struct hix5hd2_desc);
count              72 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c        argv4.package.count = 3;
count              99 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c 	argv4.package.count = 2;
count             264 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c 	argv4.package.count = 3;
count             548 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c 	argv4.package.count = 1,
count             595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c 	argv4.package.count = 1,
count             689 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c 	argv4.package.count = 2;
count             119 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h 	atomic_t count;
count             285 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 				 size_t count, loff_t *ppos)
count             294 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	if (count < HNS3_DBG_READ_LEN)
count             314 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 				  size_t count, loff_t *ppos)
count             330 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	if (count > HNS3_DBG_WRITE_LEN)
count             333 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	cmd_buf = kzalloc(count + 1, GFP_KERNEL);
count             335 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 		return count;
count             337 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	uncopied_bytes = copy_from_user(cmd_buf, buffer, count);
count             343 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	cmd_buf[count] = '\0';
count             348 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 		count = cmd_buf_tmp - cmd_buf + 1;
count             370 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	return count;
count            2506 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
count            2764 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info,
count            3293 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	group->count++;
count            3432 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	group->count = 0;
count             473 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 	u16 count;
count             727 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	int count = 0;
count             741 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			count += 1;
count             745 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		count += 2;
count             750 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			count += 1;
count             755 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		count = ARRAY_SIZE(g_mac_stats_string) +
count             759 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	return count;
count             380 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	atomic_set(&hdev->arq.count, 0);
count             218 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 			if (atomic_read(&hdev->arq.count) >=
count             231 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 			atomic_inc(&hdev->arq.count);
count             324 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		atomic_dec(&hdev->arq.count);
count             684 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c 	int count, q_num;
count             689 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c 		count = ARRAY_LEN(hinic_function_stats) +
count             693 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c 		count += ARRAY_LEN(hinic_port_stats);
count             695 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c 		return count;
count             268 drivers/net/ethernet/i825xx/82596.c 	unsigned short count;
count             275 drivers/net/ethernet/i825xx/82596.c     unsigned short count;
count             487 drivers/net/ethernet/i825xx/82596.c 			rfd->count);
count             494 drivers/net/ethernet/i825xx/82596.c 			rbd, rbd->count, rbd->b_next, rbd->b_data, rbd->size);
count             772 drivers/net/ethernet/i825xx/82596.c 			int pkt_len = rbd->count & 0x3fff;
count             848 drivers/net/ethernet/i825xx/82596.c 		if (rbd != I596_NULL && (rbd->count & 0x4000)) {
count             849 drivers/net/ethernet/i825xx/82596.c 			rbd->count = 0;
count             858 drivers/net/ethernet/i825xx/82596.c 		rfd->count = 0;
count             241 drivers/net/ethernet/i825xx/lib82596.c 	unsigned short count;
count             252 drivers/net/ethernet/i825xx/lib82596.c 	unsigned short count;
count             441 drivers/net/ethernet/i825xx/lib82596.c 		       SWAP16(rfd->count));
count             450 drivers/net/ethernet/i825xx/lib82596.c 			rbd, SWAP16(rbd->count), SWAP32(rbd->b_next),
count             680 drivers/net/ethernet/i825xx/lib82596.c 			int pkt_len = SWAP16(rbd->count) & 0x3fff;
count             765 drivers/net/ethernet/i825xx/lib82596.c 		if (rbd != NULL && (rbd->count & SWAP16(0x4000))) {
count             766 drivers/net/ethernet/i825xx/lib82596.c 			rbd->count = 0;
count             776 drivers/net/ethernet/i825xx/lib82596.c 		rfd->count = 0;
count            3117 drivers/net/ethernet/ibm/ehea/ehea_main.c 			       const char *buf, size_t count)
count            3167 drivers/net/ethernet/ibm/ehea/ehea_main.c 	return (ssize_t) count;
count            3172 drivers/net/ethernet/ibm/ehea/ehea_main.c 				const char *buf, size_t count)
count            3202 drivers/net/ethernet/ibm/ehea/ehea_main.c 	return (ssize_t) count;
count             417 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 			  const u64 log_pageaddr, u64 count)
count             429 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 				       count,			/* R8 */
count             501 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 			     const u64 log_pageaddr, const u64 count)
count             503 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 	if ((count > 1) && (log_pageaddr & ~PAGE_MASK)) {
count             510 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 				     log_pageaddr, count);
count             378 drivers/net/ethernet/ibm/ehea/ehea_phyp.h 			  const u64 log_pageaddr, u64 count);
count             398 drivers/net/ethernet/ibm/ehea/ehea_phyp.h 			     const u64 log_pageaddr, const u64 count);
count             209 drivers/net/ethernet/ibm/ibmveth.c 	u32 count = pool->size - atomic_read(&pool->available);
count             219 drivers/net/ethernet/ibm/ibmveth.c 	for (i = 0; i < count; ++i) {
count            1761 drivers/net/ethernet/ibm/ibmveth.c 			       const char *buf, size_t count)
count            1852 drivers/net/ethernet/ibm/ibmveth.c 	return count;
count             245 drivers/net/ethernet/ibm/ibmvnic.c 	int count = pool->size - atomic_read(&pool->available);
count             266 drivers/net/ethernet/ibm/ibmvnic.c 	for (i = 0; i < count; ++i) {
count            5054 drivers/net/ethernet/ibm/ibmvnic.c 			      const char *buf, size_t count)
count            5084 drivers/net/ethernet/ibm/ibmvnic.c 	return count;
count             471 drivers/net/ethernet/intel/e100.c 	__le16 count;
count             532 drivers/net/ethernet/intel/e100.c 	u32 count;
count             789 drivers/net/ethernet/intel/e100.c static int e100_eeprom_save(struct nic *nic, u16 start, u16 count)
count             797 drivers/net/ethernet/intel/e100.c 	if (start + count >= nic->eeprom_wc)
count             800 drivers/net/ethernet/intel/e100.c 	for (addr = start; addr < start + count; addr++)
count            1041 drivers/net/ethernet/intel/e100.c 	struct param_range rfds = { .min = 16, .max = 256, .count = 256 };
count            1042 drivers/net/ethernet/intel/e100.c 	struct param_range cbs  = { .min = 64, .max = 256, .count = 128 };
count            1567 drivers/net/ethernet/intel/e100.c 	u16 i, count = min(netdev_mc_count(netdev), E100_MAX_MULTICAST_ADDRS);
count            1570 drivers/net/ethernet/intel/e100.c 	cb->u.multi.count = cpu_to_le16(count * ETH_ALEN);
count            1573 drivers/net/ethernet/intel/e100.c 		if (i == count)
count            1858 drivers/net/ethernet/intel/e100.c 		while (nic->cbs_avail != nic->params.cbs.count) {
count            1882 drivers/net/ethernet/intel/e100.c 	unsigned int i, count = nic->params.cbs.count;
count            1893 drivers/net/ethernet/intel/e100.c 	for (cb = nic->cbs, i = 0; i < count; cb++, i++) {
count            1894 drivers/net/ethernet/intel/e100.c 		cb->next = (i + 1 < count) ? cb + 1 : nic->cbs;
count            1895 drivers/net/ethernet/intel/e100.c 		cb->prev = (i == 0) ? nic->cbs + count - 1 : cb - 1;
count            1899 drivers/net/ethernet/intel/e100.c 			((i+1) % count) * sizeof(struct cb));
count            1903 drivers/net/ethernet/intel/e100.c 	nic->cbs_avail = count;
count            2133 drivers/net/ethernet/intel/e100.c 	unsigned int i, count = nic->params.rfds.count;
count            2138 drivers/net/ethernet/intel/e100.c 		for (rx = nic->rxs, i = 0; i < count; rx++, i++) {
count            2155 drivers/net/ethernet/intel/e100.c 	unsigned int i, count = nic->params.rfds.count;
count            2161 drivers/net/ethernet/intel/e100.c 	if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_ATOMIC)))
count            2164 drivers/net/ethernet/intel/e100.c 	for (rx = nic->rxs, i = 0; i < count; rx++, i++) {
count            2165 drivers/net/ethernet/intel/e100.c 		rx->next = (i + 1 < count) ? rx + 1 : nic->rxs;
count            2166 drivers/net/ethernet/intel/e100.c 		rx->prev = (i == 0) ? nic->rxs + count - 1 : rx - 1;
count            2558 drivers/net/ethernet/intel/e100.c 	ring->rx_pending = rfds->count;
count            2559 drivers/net/ethernet/intel/e100.c 	ring->tx_pending = cbs->count;
count            2574 drivers/net/ethernet/intel/e100.c 	rfds->count = max(ring->rx_pending, rfds->min);
count            2575 drivers/net/ethernet/intel/e100.c 	rfds->count = min(rfds->count, rfds->max);
count            2576 drivers/net/ethernet/intel/e100.c 	cbs->count = max(ring->tx_pending, cbs->min);
count            2577 drivers/net/ethernet/intel/e100.c 	cbs->count = min(cbs->count, cbs->max);
count            2579 drivers/net/ethernet/intel/e100.c 		   rfds->count, cbs->count);
count             152 drivers/net/ethernet/intel/e1000/e1000.h 	unsigned int count;
count             173 drivers/net/ethernet/intel/e1000/e1000.h 	unsigned int count;
count             193 drivers/net/ethernet/intel/e1000/e1000.h 	(clean > use ? 0 : (R)->count) + clean - use - 1;		\
count             556 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ring->rx_pending = rxdr->count;
count             557 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ring->tx_pending = txdr->count;
count             596 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->count = max(ring->rx_pending, (u32)E1000_MIN_RXD);
count             597 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->count = min(rxdr->count, (u32)(mac_type < e1000_82544 ?
count             599 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->count = ALIGN(rxdr->count, REQ_RX_DESCRIPTOR_MULTIPLE);
count             600 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->count = max(ring->tx_pending, (u32)E1000_MIN_TXD);
count             601 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->count = min(txdr->count, (u32)(mac_type < e1000_82544 ?
count             603 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->count = ALIGN(txdr->count, REQ_TX_DESCRIPTOR_MULTIPLE);
count             606 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		txdr[i].count = txdr->count;
count             608 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		rxdr[i].count = rxdr->count;
count             933 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		for (i = 0; i < txdr->count; i++) {
count             944 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		for (i = 0; i < rxdr->count; i++) {
count             982 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (!txdr->count)
count             983 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		txdr->count = E1000_DEFAULT_TXD;
count             985 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->buffer_info = kcalloc(txdr->count, sizeof(struct e1000_tx_buffer),
count             992 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->size = txdr->count * sizeof(struct e1000_tx_desc);
count            1004 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ew32(TDLEN, txdr->count * sizeof(struct e1000_tx_desc));
count            1011 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	for (i = 0; i < txdr->count; i++) {
count            1041 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (!rxdr->count)
count            1042 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		rxdr->count = E1000_DEFAULT_RXD;
count            1044 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->buffer_info = kcalloc(rxdr->count, sizeof(struct e1000_rx_buffer),
count            1051 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->size = rxdr->count * sizeof(struct e1000_rx_desc);
count            1072 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	for (i = 0; i < rxdr->count; i++) {
count            1262 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	u16 count = 0;
count            1272 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 			       count++ < 10);
count            1273 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 			if (count < 11)
count            1387 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	ew32(RDT, rxdr->count - 1);
count            1394 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (rxdr->count <= txdr->count)
count            1395 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		lc = ((txdr->count / 64) * 2) + 1;
count            1397 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		lc = ((rxdr->count / 64) * 2) + 1;
count            1408 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 			if (unlikely(++k == txdr->count))
count            1428 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 			if (unlikely(++l == rxdr->count))
count              41 drivers/net/ethernet/intel/e1000/e1000_hw.c static void e1000_shift_out_mdi_bits(struct e1000_hw *hw, u32 data, u16 count);
count              51 drivers/net/ethernet/intel/e1000/e1000_hw.c static void e1000_shift_out_ee_bits(struct e1000_hw *hw, u16 data, u16 count);
count              56 drivers/net/ethernet/intel/e1000/e1000_hw.c static u16 e1000_shift_in_ee_bits(struct e1000_hw *hw, u16 count);
count            2690 drivers/net/ethernet/intel/e1000/e1000_hw.c static void e1000_shift_out_mdi_bits(struct e1000_hw *hw, u32 data, u16 count)
count            2700 drivers/net/ethernet/intel/e1000/e1000_hw.c 	mask <<= (count - 1);
count            3577 drivers/net/ethernet/intel/e1000/e1000_hw.c static void e1000_shift_out_ee_bits(struct e1000_hw *hw, u16 data, u16 count)
count            3587 drivers/net/ethernet/intel/e1000/e1000_hw.c 	mask = 0x01 << (count - 1);
count            3628 drivers/net/ethernet/intel/e1000/e1000_hw.c static u16 e1000_shift_in_ee_bits(struct e1000_hw *hw, u16 count)
count            3646 drivers/net/ethernet/intel/e1000/e1000_hw.c 	for (i = 0; i < count; i++) {
count            1434 drivers/net/ethernet/intel/e1000/e1000_main.c 	int count = E1000_CHECK_RESET_COUNT;
count            1436 drivers/net/ethernet/intel/e1000/e1000_main.c 	while (test_bit(__E1000_RESETTING, &adapter->flags) && count--)
count            1498 drivers/net/ethernet/intel/e1000/e1000_main.c 	size = sizeof(struct e1000_tx_buffer) * txdr->count;
count            1505 drivers/net/ethernet/intel/e1000/e1000_main.c 	txdr->size = txdr->count * sizeof(struct e1000_tx_desc);
count            1600 drivers/net/ethernet/intel/e1000/e1000_main.c 		tdlen = adapter->tx_ring[0].count *
count            1688 drivers/net/ethernet/intel/e1000/e1000_main.c 	size = sizeof(struct e1000_rx_buffer) * rxdr->count;
count            1697 drivers/net/ethernet/intel/e1000/e1000_main.c 	rxdr->size = rxdr->count * desc_len;
count            1853 drivers/net/ethernet/intel/e1000/e1000_main.c 		rdlen = adapter->rx_ring[0].count *
count            1858 drivers/net/ethernet/intel/e1000/e1000_main.c 		rdlen = adapter->rx_ring[0].count *
count            1985 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; i < tx_ring->count; i++) {
count            1991 drivers/net/ethernet/intel/e1000/e1000_main.c 	size = sizeof(struct e1000_tx_buffer) * tx_ring->count;
count            2087 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; i < rx_ring->count; i++) {
count            2116 drivers/net/ethernet/intel/e1000/e1000_main.c 	size = sizeof(struct e1000_rx_buffer) * rx_ring->count;
count            2507 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (E1000_DESC_UNUSED(txdr) + 1 < txdr->count) {
count            2751 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (++i == tx_ring->count)
count            2808 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (unlikely(++i == tx_ring->count))
count            2829 drivers/net/ethernet/intel/e1000/e1000_main.c 	unsigned int offset = 0, size, count = 0, i;
count            2859 drivers/net/ethernet/intel/e1000/e1000_main.c 			     (size > 2015) && count == 0))
count            2883 drivers/net/ethernet/intel/e1000/e1000_main.c 		count++;
count            2886 drivers/net/ethernet/intel/e1000/e1000_main.c 			if (unlikely(i == tx_ring->count))
count            2900 drivers/net/ethernet/intel/e1000/e1000_main.c 			if (unlikely(i == tx_ring->count))
count            2934 drivers/net/ethernet/intel/e1000/e1000_main.c 			count++;
count            2947 drivers/net/ethernet/intel/e1000/e1000_main.c 	return count;
count            2952 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (count)
count            2953 drivers/net/ethernet/intel/e1000/e1000_main.c 		count--;
count            2955 drivers/net/ethernet/intel/e1000/e1000_main.c 	while (count--) {
count            2957 drivers/net/ethernet/intel/e1000/e1000_main.c 			i += tx_ring->count;
count            2968 drivers/net/ethernet/intel/e1000/e1000_main.c 			   int count)
count            2999 drivers/net/ethernet/intel/e1000/e1000_main.c 	while (count--) {
count            3006 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (unlikely(++i == tx_ring->count))
count            3108 drivers/net/ethernet/intel/e1000/e1000_main.c 	int count = 0;
count            3174 drivers/net/ethernet/intel/e1000/e1000_main.c 		count++;
count            3175 drivers/net/ethernet/intel/e1000/e1000_main.c 	count++;
count            3179 drivers/net/ethernet/intel/e1000/e1000_main.c 		count++;
count            3181 drivers/net/ethernet/intel/e1000/e1000_main.c 	count += TXD_USE_COUNT(len, max_txd_pwr);
count            3184 drivers/net/ethernet/intel/e1000/e1000_main.c 		count++;
count            3191 drivers/net/ethernet/intel/e1000/e1000_main.c 		count++;
count            3195 drivers/net/ethernet/intel/e1000/e1000_main.c 		count += TXD_USE_COUNT(skb_frag_size(&skb_shinfo(skb)->frags[f]),
count            3198 drivers/net/ethernet/intel/e1000/e1000_main.c 		count += nr_frags;
count            3203 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (unlikely(e1000_maybe_stop_tx(netdev, tx_ring, count + 2)))
count            3241 drivers/net/ethernet/intel/e1000/e1000_main.c 	count = e1000_tx_map(adapter, tx_ring, skb, first, max_per_txd,
count            3244 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (count) {
count            3257 drivers/net/ethernet/intel/e1000/e1000_main.c 		e1000_tx_queue(adapter, tx_ring, tx_flags, count);
count            3401 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
count            3443 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; rx_ring->desc && (i < rx_ring->count); i++) {
count            3828 drivers/net/ethernet/intel/e1000/e1000_main.c 	unsigned int count = 0;
count            3837 drivers/net/ethernet/intel/e1000/e1000_main.c 	       (count < tx_ring->count)) {
count            3840 drivers/net/ethernet/intel/e1000/e1000_main.c 		for ( ; !cleaned; count++) {
count            3857 drivers/net/ethernet/intel/e1000/e1000_main.c 			if (unlikely(++i == tx_ring->count))
count            3873 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (unlikely(count && netif_carrier_ok(netdev) &&
count            3926 drivers/net/ethernet/intel/e1000/e1000_main.c 	return count < tx_ring->count;
count            4147 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (++i == rx_ring->count)
count            4390 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (++i == rx_ring->count)
count            4526 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (unlikely(++i == rx_ring->count))
count            4534 drivers/net/ethernet/intel/e1000/e1000_main.c 			i = (rx_ring->count - 1);
count            4641 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (unlikely(++i == rx_ring->count))
count            4649 drivers/net/ethernet/intel/e1000/e1000_main.c 			i = (rx_ring->count - 1);
count            5062 drivers/net/ethernet/intel/e1000/e1000_main.c 		int count = E1000_CHECK_RESET_COUNT;
count            5064 drivers/net/ethernet/intel/e1000/e1000_main.c 		while (test_bit(__E1000_RESETTING, &adapter->flags) && count--)
count              22 drivers/net/ethernet/intel/e1000/e1000_osdep.h #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \
count              23 drivers/net/ethernet/intel/e1000/e1000_osdep.h 	(iowrite16_rep(base + offset, data, count))
count              25 drivers/net/ethernet/intel/e1000/e1000_osdep.h #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \
count              26 drivers/net/ethernet/intel/e1000/e1000_osdep.h 	(ioread16_rep(base + (offset << 1), data, count))
count             273 drivers/net/ethernet/intel/e1000/e1000_param.c 			tx_ring->count = TxDescriptors[bd];
count             274 drivers/net/ethernet/intel/e1000/e1000_param.c 			e1000_validate_option(&tx_ring->count, &opt, adapter);
count             275 drivers/net/ethernet/intel/e1000/e1000_param.c 			tx_ring->count = ALIGN(tx_ring->count,
count             278 drivers/net/ethernet/intel/e1000/e1000_param.c 			tx_ring->count = opt.def;
count             281 drivers/net/ethernet/intel/e1000/e1000_param.c 			tx_ring[i].count = tx_ring->count;
count             302 drivers/net/ethernet/intel/e1000/e1000_param.c 			rx_ring->count = RxDescriptors[bd];
count             303 drivers/net/ethernet/intel/e1000/e1000_param.c 			e1000_validate_option(&rx_ring->count, &opt, adapter);
count             304 drivers/net/ethernet/intel/e1000/e1000_param.c 			rx_ring->count = ALIGN(rx_ring->count,
count             307 drivers/net/ethernet/intel/e1000/e1000_param.c 			rx_ring->count = opt.def;
count             310 drivers/net/ethernet/intel/e1000/e1000_param.c 			rx_ring[i].count = rx_ring->count;
count             154 drivers/net/ethernet/intel/e1000e/e1000.h 	unsigned int count;		/* number of desc. in ring */
count             693 drivers/net/ethernet/intel/e1000e/ethtool.c 		adapter->tx_ring->count = new_tx_count;
count             694 drivers/net/ethernet/intel/e1000e/ethtool.c 		adapter->rx_ring->count = new_rx_count;
count             729 drivers/net/ethernet/intel/e1000e/ethtool.c 		temp_tx->count = new_tx_count;
count             736 drivers/net/ethernet/intel/e1000e/ethtool.c 		temp_rx->count = new_rx_count;
count            1121 drivers/net/ethernet/intel/e1000e/ethtool.c 		for (i = 0; i < tx_ring->count; i++) {
count            1134 drivers/net/ethernet/intel/e1000e/ethtool.c 		for (i = 0; i < rx_ring->count; i++) {
count            1174 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (!tx_ring->count)
count            1175 drivers/net/ethernet/intel/e1000e/ethtool.c 		tx_ring->count = E1000_DEFAULT_TXD;
count            1177 drivers/net/ethernet/intel/e1000e/ethtool.c 	tx_ring->buffer_info = kcalloc(tx_ring->count,
count            1184 drivers/net/ethernet/intel/e1000e/ethtool.c 	tx_ring->size = tx_ring->count * sizeof(struct e1000_tx_desc);
count            1197 drivers/net/ethernet/intel/e1000e/ethtool.c 	ew32(TDLEN(0), tx_ring->count * sizeof(struct e1000_tx_desc));
count            1204 drivers/net/ethernet/intel/e1000e/ethtool.c 	for (i = 0; i < tx_ring->count; i++) {
count            1235 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (!rx_ring->count)
count            1236 drivers/net/ethernet/intel/e1000e/ethtool.c 		rx_ring->count = E1000_DEFAULT_RXD;
count            1238 drivers/net/ethernet/intel/e1000e/ethtool.c 	rx_ring->buffer_info = kcalloc(rx_ring->count,
count            1245 drivers/net/ethernet/intel/e1000e/ethtool.c 	rx_ring->size = rx_ring->count * sizeof(union e1000_rx_desc_extended);
count            1270 drivers/net/ethernet/intel/e1000e/ethtool.c 	for (i = 0; i < rx_ring->count; i++) {
count            1638 drivers/net/ethernet/intel/e1000e/ethtool.c 	ew32(RDT(0), rx_ring->count - 1);
count            1645 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (rx_ring->count <= tx_ring->count)
count            1646 drivers/net/ethernet/intel/e1000e/ethtool.c 		lc = ((tx_ring->count / 64) * 2) + 1;
count            1648 drivers/net/ethernet/intel/e1000e/ethtool.c 		lc = ((rx_ring->count / 64) * 2) + 1;
count            1664 drivers/net/ethernet/intel/e1000e/ethtool.c 			if (k == tx_ring->count)
count            1685 drivers/net/ethernet/intel/e1000e/ethtool.c 			if (l == rx_ring->count)
count             271 drivers/net/ethernet/intel/e1000e/ich8lan.c 		u16 count = 20;
count             275 drivers/net/ethernet/intel/e1000e/ich8lan.c 		} while (!(er32(CTRL_EXT) & E1000_CTRL_EXT_LPCD) && count--);
count            3562 drivers/net/ethernet/intel/e1000e/ich8lan.c 	u8 count = 0;
count            3616 drivers/net/ethernet/intel/e1000e/ich8lan.c 	} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
count            3637 drivers/net/ethernet/intel/e1000e/ich8lan.c 	u8 count = 0;
count            3691 drivers/net/ethernet/intel/e1000e/ich8lan.c 	} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
count            4156 drivers/net/ethernet/intel/e1000e/ich8lan.c 	u8 count = 0;
count            4226 drivers/net/ethernet/intel/e1000e/ich8lan.c 	} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
count            4246 drivers/net/ethernet/intel/e1000e/ich8lan.c 	u8 count = 0;
count            4310 drivers/net/ethernet/intel/e1000e/ich8lan.c 	} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
count            4414 drivers/net/ethernet/intel/e1000e/ich8lan.c 	s32 count = 0;
count            4503 drivers/net/ethernet/intel/e1000e/ich8lan.c 		} while (++count < ICH_FLASH_CYCLE_REPEAT_COUNT);
count             289 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
count             360 drivers/net/ethernet/intel/e1000e/netdev.c 		for (i = 0; i < rx_ring->count; i++) {
count             426 drivers/net/ethernet/intel/e1000e/netdev.c 		for (i = 0; i < rx_ring->count; i++) {
count             477 drivers/net/ethernet/intel/e1000e/netdev.c 	return ring->count + ring->next_to_clean - ring->next_to_use - 1;
count             700 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == rx_ring->count)
count             801 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == rx_ring->count)
count             870 drivers/net/ethernet/intel/e1000e/netdev.c 		if (unlikely(++i == rx_ring->count))
count             878 drivers/net/ethernet/intel/e1000e/netdev.c 			i = (rx_ring->count - 1);
count             941 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == rx_ring->count)
count            1216 drivers/net/ethernet/intel/e1000e/netdev.c 	unsigned int count = 0;
count            1225 drivers/net/ethernet/intel/e1000e/netdev.c 	       (count < tx_ring->count)) {
count            1229 drivers/net/ethernet/intel/e1000e/netdev.c 		for (; !cleaned; count++) {
count            1247 drivers/net/ethernet/intel/e1000e/netdev.c 			if (i == tx_ring->count)
count            1262 drivers/net/ethernet/intel/e1000e/netdev.c 	if (count && netif_carrier_ok(netdev) &&
count            1291 drivers/net/ethernet/intel/e1000e/netdev.c 	return count < tx_ring->count;
count            1334 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == rx_ring->count)
count            1538 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == rx_ring->count)
count            1682 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; i < rx_ring->count; i++) {
count            2327 drivers/net/ethernet/intel/e1000e/netdev.c 	size = sizeof(struct e1000_buffer) * tx_ring->count;
count            2333 drivers/net/ethernet/intel/e1000e/netdev.c 	tx_ring->size = tx_ring->count * sizeof(struct e1000_tx_desc);
count            2362 drivers/net/ethernet/intel/e1000e/netdev.c 	size = sizeof(struct e1000_buffer) * rx_ring->count;
count            2367 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; i < rx_ring->count; i++) {
count            2379 drivers/net/ethernet/intel/e1000e/netdev.c 	rx_ring->size = rx_ring->count * desc_len;
count            2393 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; i < rx_ring->count; i++) {
count            2414 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; i < tx_ring->count; i++) {
count            2420 drivers/net/ethernet/intel/e1000e/netdev.c 	size = sizeof(struct e1000_buffer) * tx_ring->count;
count            2464 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; i < rx_ring->count; i++)
count            2634 drivers/net/ethernet/intel/e1000e/netdev.c 	adapter->tx_ring->count = adapter->tx_ring_count;
count            2640 drivers/net/ethernet/intel/e1000e/netdev.c 	adapter->rx_ring->count = adapter->rx_ring_count;
count            2920 drivers/net/ethernet/intel/e1000e/netdev.c 	tdlen = tx_ring->count * sizeof(struct e1000_tx_desc);
count            3192 drivers/net/ethernet/intel/e1000e/netdev.c 		rdlen = rx_ring->count *
count            3197 drivers/net/ethernet/intel/e1000e/netdev.c 		rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended);
count            3201 drivers/net/ethernet/intel/e1000e/netdev.c 		rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended);
count            3345 drivers/net/ethernet/intel/e1000e/netdev.c 	int count = 0;
count            3374 drivers/net/ethernet/intel/e1000e/netdev.c 			count++;
count            3385 drivers/net/ethernet/intel/e1000e/netdev.c 	return count;
count            3417 drivers/net/ethernet/intel/e1000e/netdev.c 		int count;
count            3426 drivers/net/ethernet/intel/e1000e/netdev.c 			count = e1000e_write_mc_addr_list(netdev);
count            3427 drivers/net/ethernet/intel/e1000e/netdev.c 			if (count < 0)
count            3435 drivers/net/ethernet/intel/e1000e/netdev.c 		count = e1000e_write_uc_addr_list(netdev);
count            3436 drivers/net/ethernet/intel/e1000e/netdev.c 		if (count < 0)
count            3816 drivers/net/ethernet/intel/e1000e/netdev.c 	if (tx_ring->next_to_use == tx_ring->count)
count            4707 drivers/net/ethernet/intel/e1000e/netdev.c 	int count = E1000_CHECK_RESET_COUNT;
count            4709 drivers/net/ethernet/intel/e1000e/netdev.c 	while (test_bit(__E1000_RESETTING, &adapter->state) && count--)
count            5358 drivers/net/ethernet/intel/e1000e/netdev.c 	    (e1000_desc_unused(tx_ring) + 1 < tx_ring->count))
count            5493 drivers/net/ethernet/intel/e1000e/netdev.c 	if (i == tx_ring->count)
count            5547 drivers/net/ethernet/intel/e1000e/netdev.c 	if (i == tx_ring->count)
count            5562 drivers/net/ethernet/intel/e1000e/netdev.c 	unsigned int offset = 0, size, count = 0, i;
count            5583 drivers/net/ethernet/intel/e1000e/netdev.c 		count++;
count            5587 drivers/net/ethernet/intel/e1000e/netdev.c 			if (i == tx_ring->count)
count            5600 drivers/net/ethernet/intel/e1000e/netdev.c 			if (i == tx_ring->count)
count            5618 drivers/net/ethernet/intel/e1000e/netdev.c 			count++;
count            5631 drivers/net/ethernet/intel/e1000e/netdev.c 	return count;
count            5636 drivers/net/ethernet/intel/e1000e/netdev.c 	if (count)
count            5637 drivers/net/ethernet/intel/e1000e/netdev.c 		count--;
count            5639 drivers/net/ethernet/intel/e1000e/netdev.c 	while (count--) {
count            5641 drivers/net/ethernet/intel/e1000e/netdev.c 			i += tx_ring->count;
count            5650 drivers/net/ethernet/intel/e1000e/netdev.c static void e1000_tx_queue(struct e1000_ring *tx_ring, int tx_flags, int count)
count            5696 drivers/net/ethernet/intel/e1000e/netdev.c 		if (i == tx_ring->count)
count            5698 drivers/net/ethernet/intel/e1000e/netdev.c 	} while (--count > 0);
count            5779 drivers/net/ethernet/intel/e1000e/netdev.c 	BUG_ON(size > tx_ring->count);
count            5796 drivers/net/ethernet/intel/e1000e/netdev.c 	int count = 0;
count            5844 drivers/net/ethernet/intel/e1000e/netdev.c 		count++;
count            5845 drivers/net/ethernet/intel/e1000e/netdev.c 	count++;
count            5847 drivers/net/ethernet/intel/e1000e/netdev.c 	count += DIV_ROUND_UP(len, adapter->tx_fifo_limit);
count            5851 drivers/net/ethernet/intel/e1000e/netdev.c 		count += DIV_ROUND_UP(skb_frag_size(&skb_shinfo(skb)->frags[f]),
count            5860 drivers/net/ethernet/intel/e1000e/netdev.c 	if (e1000_maybe_stop_tx(tx_ring, count + 2))
count            5893 drivers/net/ethernet/intel/e1000e/netdev.c 	count = e1000_tx_map(tx_ring, skb, first, adapter->tx_fifo_limit,
count            5895 drivers/net/ethernet/intel/e1000e/netdev.c 	if (count) {
count            5912 drivers/net/ethernet/intel/e1000e/netdev.c 		e1000_tx_queue(tx_ring, tx_flags, count);
count            6320 drivers/net/ethernet/intel/e1000e/netdev.c 		int count = E1000_CHECK_RESET_COUNT;
count            6322 drivers/net/ethernet/intel/e1000e/netdev.c 		while (test_bit(__E1000_RESETTING, &adapter->state) && count--)
count            6740 drivers/net/ethernet/intel/e1000e/netdev.c 		int count = E1000_CHECK_RESET_COUNT;
count            6742 drivers/net/ethernet/intel/e1000e/netdev.c 		while (test_bit(__E1000_RESETTING, &adapter->state) && count--)
count              46 drivers/net/ethernet/intel/e1000e/nvm.c static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count)
count              52 drivers/net/ethernet/intel/e1000e/nvm.c 	mask = BIT(count - 1);
count              88 drivers/net/ethernet/intel/e1000e/nvm.c static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count)
count              98 drivers/net/ethernet/intel/e1000e/nvm.c 	for (i = 0; i < count; i++) {
count              41 drivers/net/ethernet/intel/fm10k/fm10k.h 	u16 count;
count             126 drivers/net/ethernet/intel/fm10k/fm10k.h 	u16 count;			/* amount of descriptors */
count             152 drivers/net/ethernet/intel/fm10k/fm10k.h 	u8 count;			/* total number of rings in vector */
count             174 drivers/net/ethernet/intel/fm10k/fm10k.h 	for (pos = &(head).ring[(head).count]; (--pos) >= (head).ring;)
count             426 drivers/net/ethernet/intel/fm10k/fm10k.h 	return likely(unused < 0) ? unused + ring->count : unused;
count             359 drivers/net/ethernet/intel/fm10k/fm10k_common.c 		q->tx_packets.count += tx_packets;
count             360 drivers/net/ethernet/intel/fm10k/fm10k_common.c 		q->tx_bytes.count += tx_bytes;
count             413 drivers/net/ethernet/intel/fm10k/fm10k_common.c 		q->rx_drops.count += rx_drops;
count             414 drivers/net/ethernet/intel/fm10k/fm10k_common.c 		q->rx_packets.count += rx_packets;
count             415 drivers/net/ethernet/intel/fm10k/fm10k_common.c 		q->rx_bytes.count += rx_bytes;
count             437 drivers/net/ethernet/intel/fm10k/fm10k_common.c 			     u32 idx, u32 count)
count             441 drivers/net/ethernet/intel/fm10k/fm10k_common.c 	for (i = 0; i < count; i++, idx++, q++) {
count             456 drivers/net/ethernet/intel/fm10k/fm10k_common.c void fm10k_unbind_hw_stats_q(struct fm10k_hw_stats_q *q, u32 idx, u32 count)
count             460 drivers/net/ethernet/intel/fm10k/fm10k_common.c 	for (i = 0; i < count; i++, idx++, q++) {
count              44 drivers/net/ethernet/intel/fm10k/fm10k_common.h 			     u32 idx, u32 count);
count              46 drivers/net/ethernet/intel/fm10k/fm10k_common.h void fm10k_unbind_hw_stats_q(struct fm10k_hw_stats_q *q, u32 idx, u32 count);
count              17 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	return (*pos < ring->count) ? pos : NULL;
count              26 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	return (++(*pos) < ring->count) ? pos : NULL;
count             165 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	for (i = 0; i < q_vector->tx.count; i++) {
count             176 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	for (i = 0; i < q_vector->rx.count; i++) {
count              76 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("timeout", stats.timeout.count),
count              77 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("ur", stats.ur.count),
count              78 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("ca", stats.ca.count),
count              79 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("um", stats.um.count),
count              80 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("xec", stats.xec.count),
count              81 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("vlan_drop", stats.vlan_drop.count),
count              82 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("loopback_drop", stats.loopback_drop.count),
count              83 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	FM10K_STAT("nodesc_drop", stats.nodesc_drop.count),
count             550 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 			interface->tx_ring[i]->count = new_tx_count;
count             552 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 			interface->rx_ring[i]->count = new_rx_count;
count             579 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 			temp_ring[i].count = new_tx_count;
count             606 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 			temp_ring[i].count = new_rx_count;
count            1133 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	unsigned int count = ch->combined_count;
count            1136 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	if (!count || ch->rx_count || ch->tx_count)
count            1144 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	if (count > fm10k_max_channels(dev))
count            1147 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c 	interface->ring_feature[RING_F_RSS].limit = count;
count             124 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	i -= rx_ring->count;
count             141 drivers/net/ethernet/intel/fm10k/fm10k_main.c 			i -= rx_ring->count;
count             150 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	i += rx_ring->count;
count             188 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             499 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count             916 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	return i == tx_ring->count;
count            1055 drivers/net/ethernet/intel/fm10k/fm10k_main.c 			i = tx_ring->count;
count            1065 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	u16 count = TXD_USE_COUNT(skb_headlen(skb));
count            1079 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		count += TXD_USE_COUNT(skb_frag_size(frag));
count            1082 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	if (fm10k_maybe_stop_tx(tx_ring, count + 3)) {
count            1137 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	return ((head <= tail) ? tail : tail + ring->count) - head;
count            1204 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	i -= tx_ring->count;
count            1246 drivers/net/ethernet/intel/fm10k/fm10k_main.c 				i -= tx_ring->count;
count            1266 drivers/net/ethernet/intel/fm10k/fm10k_main.c 			i -= tx_ring->count;
count            1278 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	i += tx_ring->count;
count            1451 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	if (q_vector->rx.count > 1)
count            1452 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		per_ring_budget = max(budget / q_vector->rx.count, 1);
count            1632 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	q_vector->tx.count = txr_count;
count            1643 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		ring->count = interface->tx_ring_count;
count            1661 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	q_vector->rx.count = rxr_count;
count            1673 drivers/net/ethernet/intel/fm10k/fm10k_main.c 		ring->count = interface->rx_ring_count;
count              20 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	size = sizeof(struct fm10k_tx_buffer) * tx_ring->count;
count              29 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	tx_ring->size = tx_ring->count * sizeof(struct fm10k_tx_desc);
count              88 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	size = sizeof(struct fm10k_rx_buffer) * rx_ring->count;
count              97 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	rx_ring->size = rx_ring->count * sizeof(union fm10k_rx_desc);
count             180 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	for (i = 0; i < tx_ring->count; i++) {
count             189 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	size = sizeof(struct fm10k_tx_buffer) * tx_ring->count;
count             260 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	for (i = 0; i < rx_ring->count; i++) {
count             273 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	size = sizeof(struct fm10k_rx_buffer) * rx_ring->count;
count            1492 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	} else if ((l2_accel->count == FM10K_MAX_STATIONS) ||
count            1493 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		   (l2_accel->count == (interface->glort_count - 1))) {
count            1496 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	} else if (l2_accel->count == l2_accel->size) {
count            1523 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	l2_accel->count++;
count            1602 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	l2_accel->count--;
count            1614 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	if (l2_accel->count == 0) {
count             616 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		tx_bytes_nic += q->tx_bytes.count;
count             617 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		tx_pkts_nic += q->tx_packets.count;
count             618 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		rx_bytes_nic += q->rx_bytes.count;
count             619 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		rx_pkts_nic += q->rx_packets.count;
count             620 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		rx_drops_nic += q->rx_drops.count;
count             631 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	net_stats->rx_dropped = interface->stats.nodesc_drop.count;
count             722 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 			if (!qv->tx.count && !qv->rx.count)
count             872 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	u32 size = ring->count * sizeof(struct fm10k_tx_desc);
count             982 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	u32 size = ring->count * sizeof(union fm10k_rx_desc);
count            1187 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	if (q_vector->rx.count || q_vector->tx.count)
count            1734 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		if (!q_vector->tx.count && !q_vector->rx.count)
count            1768 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		if (q_vector->tx.count && q_vector->rx.count) {
count            1772 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		} else if (q_vector->rx.count) {
count            1775 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		} else if (q_vector->tx.count) {
count            1818 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 		if (!q_vector->tx.count && !q_vector->rx.count)
count            1884 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	int err, i = 0, count = 0;
count            1927 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	for (count = 0; count < TX_DMA_DRAIN_RETRIES; count++) {
count            1940 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 	if (count >= TX_DMA_DRAIN_RETRIES)
count            1943 drivers/net/ethernet/intel/fm10k/fm10k_pci.c 			count);
count             460 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 				       u16 count, bool enable)
count             466 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 	if (!count)
count             478 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 	lport_msg = ((u32)count << 16) | glort;
count            1465 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->timeout.count += timeout;
count            1466 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->ur.count += ur;
count            1467 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->ca.count += ca;
count            1468 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->um.count += um;
count            1469 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->xec.count += xec;
count            1470 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->vlan_drop.count += vlan_drop;
count            1471 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->loopback_drop.count += loopback_drop;
count            1472 drivers/net/ethernet/intel/fm10k/fm10k_pf.c 		stats->nodesc_drop.count += nodesc_drop;
count             414 drivers/net/ethernet/intel/fm10k/fm10k_type.h 	u64 count;
count             400 drivers/net/ethernet/intel/fm10k/fm10k_vf.c 				       u16 __always_unused count, bool enable)
count             377 drivers/net/ethernet/intel/i40e/i40e.h #define I40E_ORT_SET_COUNT(count)	(((count) << \
count             385 drivers/net/ethernet/intel/i40e/i40e.h #define I40E_ORT_PREP_VAL(idx, count, payload) (I40E_ORT_SET_IDX(idx) | \
count             386 drivers/net/ethernet/intel/i40e/i40e.h 						I40E_ORT_SET_COUNT(count) | \
count             341 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.asq.count > 0) {
count             373 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	hw->aq.asq.count = hw->aq.num_asq_entries;
count             400 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.arq.count > 0) {
count             432 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	hw->aq.arq.count = hw->aq.num_arq_entries;
count             454 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.asq.count == 0) {
count             466 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	hw->aq.asq.count = 0; /* to indicate uninitialized queue */
count             488 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.arq.count == 0) {
count             500 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	hw->aq.arq.count = 0; /* to indicate uninitialized queue */
count             692 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		if (ntc == asq->count)
count             746 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.asq.count == 0) {
count             844 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.asq.next_to_use == hw->aq.asq.count)
count             963 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	if (hw->aq.arq.count == 0) {
count            1031 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		*pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc);
count              26 drivers/net/ethernet/intel/i40e/i40e_adminq.h 	u16 count;		/* Number of descriptors */
count             390 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h 	__le32 count;
count            2720 drivers/net/ethernet/intel/i40e/i40e_common.c 			u16 count, struct i40e_asq_cmd_details *cmd_details)
count            2729 drivers/net/ethernet/intel/i40e/i40e_common.c 	if (count == 0 || !mv_list || !hw)
count            2732 drivers/net/ethernet/intel/i40e/i40e_common.c 	buf_size = count * sizeof(*mv_list);
count            2736 drivers/net/ethernet/intel/i40e/i40e_common.c 	cmd->num_addresses = cpu_to_le16(count);
count            2741 drivers/net/ethernet/intel/i40e/i40e_common.c 	for (i = 0; i < count; i++)
count            2768 drivers/net/ethernet/intel/i40e/i40e_common.c 			u16 count, struct i40e_asq_cmd_details *cmd_details)
count            2776 drivers/net/ethernet/intel/i40e/i40e_common.c 	if (count == 0 || !mv_list || !hw)
count            2779 drivers/net/ethernet/intel/i40e/i40e_common.c 	buf_size = count * sizeof(*mv_list);
count            2783 drivers/net/ethernet/intel/i40e/i40e_common.c 	cmd->num_addresses = cpu_to_le16(count);
count            2817 drivers/net/ethernet/intel/i40e/i40e_common.c 				u16 count, __le16 *mr_list,
count            2829 drivers/net/ethernet/intel/i40e/i40e_common.c 	buf_size = count * sizeof(*mr_list);
count            2836 drivers/net/ethernet/intel/i40e/i40e_common.c 	cmd->num_entries = cpu_to_le16(count);
count            2876 drivers/net/ethernet/intel/i40e/i40e_common.c 			u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
count            2882 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (count == 0 || !mr_list)
count            2887 drivers/net/ethernet/intel/i40e/i40e_common.c 				  rule_type, dest_vsi, count, mr_list,
count            2907 drivers/net/ethernet/intel/i40e/i40e_common.c 			u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
count            2917 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (count == 0 || !mr_list)
count            2922 drivers/net/ethernet/intel/i40e/i40e_common.c 				  rule_type, rule_id, count, mr_list,
count            3475 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_parse_discover_capabilities(hw, buff, le32_to_cpu(cmd->count),
count            5511 drivers/net/ethernet/intel/i40e/i40e_common.c 		u32 count;						\
count            5513 drivers/net/ethernet/intel/i40e/i40e_common.c 		count = p->device_table_count;				\
count            5514 drivers/net/ethernet/intel/i40e/i40e_common.c 		nvm = (u32 *)&p->device_table[count];			\
count              64 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				     size_t count, loff_t *ppos)
count              75 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	if (count < buf_size)
count             460 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	for (i = 0; i < ring->count; i++) {
count             473 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	for (i = 0; i < ring->count; i++) {
count             528 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		for (i = 0; i < ring->count; i++) {
count             545 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		if (desc_n >= ring->count || desc_n < 0) {
count             701 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				      size_t count, loff_t *ppos)
count             716 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	cmd_buf = kzalloc(count + 1, GFP_KERNEL);
count             718 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		return count;
count             719 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	bytes_not_copied = copy_from_user(cmd_buf, buffer, count);
count             724 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	cmd_buf[count] = '\0';
count             729 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		count = cmd_buf_tmp - cmd_buf + 1;
count            1548 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	return count;
count            1573 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 					size_t count, loff_t *ppos)
count            1584 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	if (count < buf_size)
count            1614 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 					 size_t count, loff_t *ppos)
count            1626 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	if (count >= sizeof(i40e_dbg_netdev_ops_buf))
count            1631 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 					  buffer, count);
count            1634 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	i40e_dbg_netdev_ops_buf[count] = '\0';
count            1639 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		count = buf_tmp - i40e_dbg_netdev_ops_buf + 1;
count            1715 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	return count;
count            1918 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	ring->rx_pending = vsi->rx_rings[0]->count;
count            1919 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	ring->tx_pending = vsi->tx_rings[0]->count;
count            1966 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if ((new_tx_count == vsi->tx_rings[0]->count) &&
count            1967 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	    (new_rx_count == vsi->rx_rings[0]->count))
count            1987 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			vsi->tx_rings[i]->count = new_tx_count;
count            1988 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			vsi->rx_rings[i]->count = new_rx_count;
count            1990 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 				vsi->xdp_rings[i]->count = new_tx_count;
count            2005 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (new_tx_count != vsi->tx_rings[0]->count) {
count            2008 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			    vsi->tx_rings[0]->count, new_tx_count);
count            2021 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			tx_rings[i].count = new_tx_count;
count            2044 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (new_rx_count != vsi->rx_rings[0]->count) {
count            2047 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			    vsi->rx_rings[0]->count, new_rx_count);
count            2060 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			rx_rings[i].count = new_rx_count;
count            4648 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	unsigned int count = ch->combined_count;
count            4667 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (!count || ch->rx_count || ch->tx_count)
count            4675 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (count > i40e_max_channels(vsi))
count            4683 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (rule->dest_ctl != drop && count <= rule->q_index) {
count            4694 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			count);
count            4704 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	new_count = i40e_reconfig_rss_queues(pf, count);
count             313 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	if ((info->start_idx + info->count) >
count             323 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 				 info->start_idx, info->count,
count             332 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 				 info->start_idx, info->count, &pd_idx,
count             458 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		info.count = 1;
count             470 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 		info.count = 1;
count             566 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	if ((info->start_idx + info->count) >
count             575 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 				 info->start_idx, info->count, &pd_idx,
count             598 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 				 info->start_idx, info->count,
count             643 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c 	info.count = 1;
count             128 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h 	u32 count;
count             137 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h 	u32 count;
count             247 drivers/net/ethernet/intel/i40e/i40e_main.c 	int count = 0;
count             257 drivers/net/ethernet/intel/i40e/i40e_main.c 		count++;
count             260 drivers/net/ethernet/intel/i40e/i40e_main.c 	if (count && index < pile->search_hint)
count             263 drivers/net/ethernet/intel/i40e/i40e_main.c 	return count;
count            1688 drivers/net/ethernet/intel/i40e/i40e_main.c 	num_qps = vsi->mqprio_qopt.qopt.count[0];
count            1698 drivers/net/ethernet/intel/i40e/i40e_main.c 	max_qcount = vsi->mqprio_qopt.qopt.count[0];
count            1703 drivers/net/ethernet/intel/i40e/i40e_main.c 			qcount = vsi->mqprio_qopt.qopt.count[i];
count            1745 drivers/net/ethernet/intel/i40e/i40e_main.c 	override_q = vsi->mqprio_qopt.qopt.count[0];
count            2031 drivers/net/ethernet/intel/i40e/i40e_main.c i40e_update_filter_state(int count,
count            2038 drivers/net/ethernet/intel/i40e/i40e_main.c 	for (i = 0; i < count; i++) {
count            3159 drivers/net/ethernet/intel/i40e/i40e_main.c 	tx_ctx.qlen = ring->count;
count            3167 drivers/net/ethernet/intel/i40e/i40e_main.c 			      (ring->count * sizeof(struct i40e_tx_desc));
count            3297 drivers/net/ethernet/intel/i40e/i40e_main.c 	rx_ctx.qlen = ring->count;
count            4067 drivers/net/ethernet/intel/i40e/i40e_main.c 	i -= tx_ring->count;
count            4094 drivers/net/ethernet/intel/i40e/i40e_main.c 			i -= tx_ring->count;
count            4118 drivers/net/ethernet/intel/i40e/i40e_main.c 			i -= tx_ring->count;
count            4127 drivers/net/ethernet/intel/i40e/i40e_main.c 	i += tx_ring->count;
count            4170 drivers/net/ethernet/intel/i40e/i40e_main.c 	q_vector->tx.count++;
count            4179 drivers/net/ethernet/intel/i40e/i40e_main.c 		q_vector->tx.count++;
count            4185 drivers/net/ethernet/intel/i40e/i40e_main.c 	q_vector->rx.count++;
count            4220 drivers/net/ethernet/intel/i40e/i40e_main.c 		q_vector->rx.count = 0;
count            4221 drivers/net/ethernet/intel/i40e/i40e_main.c 		q_vector->tx.count = 0;
count            6835 drivers/net/ethernet/intel/i40e/i40e_main.c 		if (!mqprio_qopt->qopt.count[i])
count            6849 drivers/net/ethernet/intel/i40e/i40e_main.c 		    (mqprio_qopt->qopt.offset[i] + mqprio_qopt->qopt.count[i]))
count            6853 drivers/net/ethernet/intel/i40e/i40e_main.c 	    (mqprio_qopt->qopt.offset[i] + mqprio_qopt->qopt.count[i])) {
count            10850 drivers/net/ethernet/intel/i40e/i40e_main.c 		ring->count = vsi->num_tx_desc;
count            10867 drivers/net/ethernet/intel/i40e/i40e_main.c 		ring->count = vsi->num_tx_desc;
count            10883 drivers/net/ethernet/intel/i40e/i40e_main.c 		ring->count = vsi->num_rx_desc;
count             148 drivers/net/ethernet/intel/i40e/i40e_prototype.h 			u16 count, struct i40e_asq_cmd_details *cmd_details);
count             151 drivers/net/ethernet/intel/i40e/i40e_prototype.h 			u16 count, struct i40e_asq_cmd_details *cmd_details);
count             153 drivers/net/ethernet/intel/i40e/i40e_prototype.h 			u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
count             157 drivers/net/ethernet/intel/i40e/i40e_prototype.h 			u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
count              34 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count             131 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0;
count             646 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		for (i = 0; i < tx_ring->count; i++)
count             651 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	bi_size = sizeof(struct i40e_tx_buffer) * tx_ring->count;
count             708 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			tail - head : (tail + ring->count - head);
count             786 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	i -= tx_ring->count;
count             837 drivers/net/ethernet/intel/i40e/i40e_txrx.c 				i -= tx_ring->count;
count             857 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			i -= tx_ring->count;
count             868 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	i += tx_ring->count;
count            1215 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            1276 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            1306 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	bi_size = sizeof(struct i40e_tx_buffer) * tx_ring->count;
count            1314 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->size = tx_ring->count * sizeof(struct i40e_tx_desc);
count            1363 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	for (i = 0; i < rx_ring->count; i++) {
count            1391 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	bi_size = sizeof(struct i40e_rx_buffer) * rx_ring->count;
count            1438 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	bi_size = sizeof(struct i40e_rx_buffer) * rx_ring->count;
count            1446 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	rx_ring->size = rx_ring->count * sizeof(union i40e_32byte_rx_desc);
count            1599 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (unlikely(ntu == rx_ring->count)) {
count            2163 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            2753 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            3218 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            3396 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			if (i == tx_ring->count) {
count            3418 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (i == tx_ring->count) {
count            3435 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (i == tx_ring->count)
count            3489 drivers/net/ethernet/intel/i40e/i40e_txrx.c 			i = tx_ring->count;
count            3542 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (i == xdp_ring->count)
count            3569 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	int tso, count;
count            3577 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	count = i40e_xmit_descriptor_count(skb);
count            3578 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (i40e_chk_linearize(skb, count)) {
count            3583 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		count = i40e_txd_use_count(skb->len);
count            3593 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (i40e_maybe_stop_tx(tx_ring, count + 4 + 1)) {
count             199 drivers/net/ethernet/intel/i40e/i40e_txrx.h 		if ((i) == (r)->count)		\
count             207 drivers/net/ethernet/intel/i40e/i40e_txrx.h 		if ((i) == (r)->count)		\
count             374 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	u16 count;			/* Number of descriptors */
count             462 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	u16 count;
count             508 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	void *head = (struct i40e_tx_desc *)tx_ring->desc + tx_ring->count;
count             526 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	int count = 0, size = skb_headlen(skb);
count             529 drivers/net/ethernet/intel/i40e/i40e_txrx.h 		count += i40e_txd_use_count(size);
count             537 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	return count;
count             563 drivers/net/ethernet/intel/i40e/i40e_txrx.h static inline bool i40e_chk_linearize(struct sk_buff *skb, int count)
count             566 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	if (likely(count < I40E_MAX_BUFFER_TXD))
count             573 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	return count != I40E_MAX_BUFFER_TXD;
count              82 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h 		    (I40E_DESC_UNUSED(tx_ring) != tx_ring->count))
count              39 drivers/net/ethernet/intel/i40e/i40e_type.h 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count            3603 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		if (!tci->list[i].count ||
count            3604 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		    tci->list[i].count > I40E_DEFAULT_QUEUES_PER_VF) {
count            3607 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 				vf->vf_id, i, tci->list[i].count,
count            3673 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c 		vf->ch[i].num_qps = tci->list[i].count;
count              95 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	reuseq = xsk_reuseq_prepare(vsi->rx_rings[0]->count);
count             314 drivers/net/ethernet/intel/i40e/i40e_xsk.c __i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count,
count             341 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		if (unlikely(ntu == rx_ring->count)) {
count             348 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		count--;
count             349 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	} while (count);
count             368 drivers/net/ethernet/intel/i40e/i40e_xsk.c bool i40e_alloc_rx_buffers_zc(struct i40e_ring *rx_ring, u16 count)
count             370 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	return __i40e_alloc_rx_buffers_zc(rx_ring, count,
count             384 drivers/net/ethernet/intel/i40e/i40e_xsk.c static bool i40e_alloc_rx_buffers_fast_zc(struct i40e_ring *rx_ring, u16 count)
count             386 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	return __i40e_alloc_rx_buffers_zc(rx_ring, count,
count             432 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             462 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             518 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count             681 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		if (xdp_ring->next_to_use == xdp_ring->count)
count             730 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		head_idx += tx_ring->count;
count             755 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		if (++ntc >= tx_ring->count)
count             760 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	if (unlikely(tx_ring->next_to_clean >= tx_ring->count))
count             761 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		tx_ring->next_to_clean -= tx_ring->count;
count             826 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	for (i = 0; i < rx_ring->count; i++) {
count             859 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		if (ntc >= tx_ring->count)
count             119 drivers/net/ethernet/intel/iavf/iavf.h 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count             328 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.asq.count > 0) {
count             360 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.asq.count = hw->aq.num_asq_entries;
count             387 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.arq.count > 0) {
count             419 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.arq.count = hw->aq.num_arq_entries;
count             441 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.asq.count == 0) {
count             453 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.asq.count = 0; /* to indicate uninitialized queue */
count             475 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.arq.count == 0) {
count             487 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	hw->aq.arq.count = 0; /* to indicate uninitialized queue */
count             595 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		if (ntc == asq->count)
count             648 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.asq.count == 0) {
count             746 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.asq.next_to_use == hw->aq.asq.count)
count             864 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	if (hw->aq.arq.count == 0) {
count             931 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		*pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc);
count              26 drivers/net/ethernet/intel/iavf/iavf_adminq.h 	u16 count;		/* Number of descriptors */
count             312 drivers/net/ethernet/intel/iavf/iavf_main.c 	q_vector->rx.count++;
count             338 drivers/net/ethernet/intel/iavf/iavf_main.c 	q_vector->tx.count++;
count            1132 drivers/net/ethernet/intel/iavf/iavf_main.c 		tx_ring->count = adapter->tx_desc_count;
count            1141 drivers/net/ethernet/intel/iavf/iavf_main.c 		rx_ring->count = adapter->rx_desc_count;
count            2424 drivers/net/ethernet/intel/iavf/iavf_main.c 		adapter->tx_rings[i].count = adapter->tx_desc_count;
count            2451 drivers/net/ethernet/intel/iavf/iavf_main.c 		adapter->rx_rings[i].count = adapter->rx_desc_count;
count            2544 drivers/net/ethernet/intel/iavf/iavf_main.c 		if (!mqprio_qopt->qopt.count[i] ||
count            2556 drivers/net/ethernet/intel/iavf/iavf_main.c 		num_qps += mqprio_qopt->qopt.count[i];
count            2645 drivers/net/ethernet/intel/iavf/iavf_main.c 				adapter->ch_config.ch_info[i].count =
count            2646 drivers/net/ethernet/intel/iavf/iavf_main.c 					mqprio_qopt->qopt.count[i];
count            2649 drivers/net/ethernet/intel/iavf/iavf_main.c 				total_qps += mqprio_qopt->qopt.count[i];
count            2657 drivers/net/ethernet/intel/iavf/iavf_main.c 				adapter->ch_config.ch_info[i].count = 1;
count            2669 drivers/net/ethernet/intel/iavf/iavf_main.c 			u16 qcount = mqprio_qopt->qopt.count[i];
count            2963 drivers/net/ethernet/intel/iavf/iavf_main.c 	int err = -EINVAL, count = 50;
count            2976 drivers/net/ethernet/intel/iavf/iavf_main.c 		if (--count == 0)
count            3903 drivers/net/ethernet/intel/iavf/iavf_main.c 	if (hw->aq.asq.count)
count              67 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	for (i = 0; i < tx_ring->count; i++)
count              70 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	bi_size = sizeof(struct iavf_tx_buffer) * tx_ring->count;
count             122 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			tail - head : (tail + ring->count - head);
count             201 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	i -= tx_ring->count;
count             248 drivers/net/ethernet/intel/iavf/iavf_txrx.c 				i -= tx_ring->count;
count             268 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			i -= tx_ring->count;
count             279 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	i += tx_ring->count;
count             299 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		    (IAVF_DESC_UNUSED(tx_ring) != tx_ring->count))
count             624 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	bi_size = sizeof(struct iavf_tx_buffer) * tx_ring->count;
count             630 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	tx_ring->size = tx_ring->count * sizeof(struct iavf_tx_desc);
count             670 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	for (i = 0; i < rx_ring->count; i++) {
count             697 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	bi_size = sizeof(struct iavf_rx_buffer) * rx_ring->count;
count             740 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	bi_size = sizeof(struct iavf_rx_buffer) * rx_ring->count;
count             748 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	rx_ring->size = rx_ring->count * sizeof(union iavf_32byte_rx_desc);
count             910 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (unlikely(ntu == rx_ring->count)) {
count            1135 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            1451 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            2140 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            2314 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			if (i == tx_ring->count) {
count            2335 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (i == tx_ring->count) {
count            2352 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (i == tx_ring->count)
count            2394 drivers/net/ethernet/intel/iavf/iavf_txrx.c 			i = tx_ring->count;
count            2419 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	int tso, count;
count            2426 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	count = iavf_xmit_descriptor_count(skb);
count            2427 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (iavf_chk_linearize(skb, count)) {
count            2432 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		count = iavf_txd_use_count(skb->len);
count            2442 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (iavf_maybe_stop_tx(tx_ring, count + 4 + 1)) {
count             178 drivers/net/ethernet/intel/iavf/iavf_txrx.h 		if ((i) == (r)->count)		\
count             186 drivers/net/ethernet/intel/iavf/iavf_txrx.h 		if ((i) == (r)->count)		\
count             347 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	u16 count;			/* Number of descriptors */
count             419 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	u16 count;
count             467 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	int count = 0, size = skb_headlen(skb);
count             470 drivers/net/ethernet/intel/iavf/iavf_txrx.h 		count += iavf_txd_use_count(size);
count             478 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	return count;
count             504 drivers/net/ethernet/intel/iavf/iavf_txrx.h static inline bool iavf_chk_linearize(struct sk_buff *skb, int count)
count             507 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	if (likely(count < IAVF_MAX_BUFFER_TXD))
count             514 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	return count != IAVF_MAX_BUFFER_TXD;
count              29 drivers/net/ethernet/intel/iavf/iavf_type.h 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count             274 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		vqpi->txq.ring_len = adapter->tx_rings[i].count;
count             278 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		vqpi->rxq.ring_len = adapter->rx_rings[i].count;
count             436 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int i = 0, count = 0;
count             451 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count             453 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count             460 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	len = struct_size(veal, list, count);
count             463 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		count = (IAVF_MAX_AQ_BUF_SIZE -
count             466 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		len = struct_size(veal, list, count);
count             477 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	veal->num_elements = count;
count             483 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			if (i == count)
count             506 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int i = 0, count = 0;
count             521 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count             523 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count             530 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	len = struct_size(veal, list, count);
count             533 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		count = (IAVF_MAX_AQ_BUF_SIZE -
count             536 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		len = struct_size(veal, list, count);
count             546 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	veal->num_elements = count;
count             553 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			if (i == count)
count             575 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int len, i = 0, count = 0;
count             590 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count             592 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count             600 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	      (count * sizeof(u16));
count             603 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		count = (IAVF_MAX_AQ_BUF_SIZE -
count             607 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		      (count * sizeof(u16));
count             617 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	vvfl->num_elements = count;
count             623 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			if (i == count)
count             646 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int len, i = 0, count = 0;
count             660 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count             662 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count             670 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	      (count * sizeof(u16));
count             673 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		count = (IAVF_MAX_AQ_BUF_SIZE -
count             677 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		      (count * sizeof(u16));
count             687 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	vvfl->num_elements = count;
count             694 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			if (i == count)
count             989 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		vti->list[i].count = adapter->ch_config.ch_info[i].count;
count            1071 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int len = 0, count = 0;
count            1081 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count            1085 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count            1119 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	int len = 0, count = 0;
count            1129 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 			count++;
count            1133 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	if (!count) {
count              93 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 	__le32 count;
count            1580 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h 	__le32 count;
count            1802 drivers/net/ethernet/intel/ice/ice_common.c 		ice_parse_caps(hw, buf, le32_to_cpu(cmd->count), opc);
count            1804 drivers/net/ethernet/intel/ice/ice_common.c 		*cap_count = le32_to_cpu(cmd->count);
count             325 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (cq->sq.count > 0) {
count             356 drivers/net/ethernet/intel/ice/ice_controlq.c 	cq->sq.count = cq->num_sq_entries;
count             384 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (cq->rq.count > 0) {
count             415 drivers/net/ethernet/intel/ice/ice_controlq.c 	cq->rq.count = cq->num_rq_entries;
count             460 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (!cq->sq.count) {
count             472 drivers/net/ethernet/intel/ice/ice_controlq.c 	cq->sq.count = 0;	/* to indicate uninitialized queue */
count             527 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (!cq->rq.count) {
count             540 drivers/net/ethernet/intel/ice/ice_controlq.c 	cq->rq.count = 0;
count             801 drivers/net/ethernet/intel/ice/ice_controlq.c 		if (ntc == sq->count)
count             861 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (!cq->sq.count) {
count             943 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (cq->sq.next_to_use == cq->sq.count)
count            1053 drivers/net/ethernet/intel/ice/ice_controlq.c 	if (!cq->rq.count) {
count            1119 drivers/net/ethernet/intel/ice/ice_controlq.c 		*pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc));
count              17 drivers/net/ethernet/intel/ice/ice_controlq.h 	(u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count              48 drivers/net/ethernet/intel/ice/ice_controlq.h 	u16 count;		/* Number of descriptors */
count             588 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (tx_ring->next_to_use >= tx_ring->count)
count             616 drivers/net/ethernet/intel/ice/ice_ethtool.c 	for (i = 0; i < rx_ring->count; i++) {
count             671 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (ice_alloc_rx_bufs(rx_ring, rx_ring->count)) {
count             699 drivers/net/ethernet/intel/ice/ice_ethtool.c 	num_frames = min_t(int, tx_ring->count, 32);
count            2565 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ring->rx_pending = vsi->rx_rings[0]->count;
count            2566 drivers/net/ethernet/intel/ice/ice_ethtool.c 	ring->tx_pending = vsi->tx_rings[0]->count;
count            2608 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (new_tx_cnt == vsi->tx_rings[0]->count &&
count            2609 drivers/net/ethernet/intel/ice/ice_ethtool.c 	    new_rx_cnt == vsi->rx_rings[0]->count) {
count            2624 drivers/net/ethernet/intel/ice/ice_ethtool.c 			vsi->tx_rings[i]->count = new_tx_cnt;
count            2626 drivers/net/ethernet/intel/ice/ice_ethtool.c 			vsi->rx_rings[i]->count = new_rx_cnt;
count            2631 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (new_tx_cnt == vsi->tx_rings[0]->count)
count            2636 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    vsi->tx_rings[0]->count, new_tx_cnt);
count            2648 drivers/net/ethernet/intel/ice/ice_ethtool.c 		tx_rings[i].count = new_tx_cnt;
count            2663 drivers/net/ethernet/intel/ice/ice_ethtool.c 	if (new_rx_cnt == vsi->rx_rings[0]->count)
count            2668 drivers/net/ethernet/intel/ice/ice_ethtool.c 		    vsi->rx_rings[0]->count, new_rx_cnt);
count            2680 drivers/net/ethernet/intel/ice/ice_ethtool.c 		rx_rings[i].count = new_rx_cnt;
count             300 drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_dwnld_cfg_bufs(struct ice_hw *hw, struct ice_buf *bufs, u32 count)
count             306 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	if (!bufs || !count)
count             331 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	for (i = 0; i < count; i++) {
count             332 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		bool last = ((i + 1) == count);
count             496 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	for (i = 0; i < le32_to_cpu(pkg_info->count); i++) {
count            1172 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	for (pt = 0; pt < hw->blk[blk].xlt1.count; pt++) {
count            1192 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	for (vsi = 0; vsi < hw->blk[blk].xlt2.count; vsi++) {
count            1267 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			sect_len = le16_to_cpu(xlt1->count) *
count            1270 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			dst_len = hw->blk[block_id].xlt1.count *
count            1280 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			sect_len = le16_to_cpu(xlt2->count) *
count            1283 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			dst_len = hw->blk[block_id].xlt2.count *
count            1293 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			sect_len = le16_to_cpu(pid->count) *
count            1296 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			dst_len = hw->blk[block_id].prof.count *
count            1306 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			sect_len = le16_to_cpu(pr->count) *
count            1309 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			dst_len = hw->blk[block_id].prof_redir.count *
count            1319 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			sect_len = (u32)(le16_to_cpu(es->count) *
count            1323 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 			dst_len = (u32)(hw->blk[block_id].es.count *
count            1418 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(xlt1->ptypes, 0, xlt1->count * sizeof(*xlt1->ptypes));
count            1421 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(xlt1->t, 0, xlt1->count * sizeof(*xlt1->t));
count            1423 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(xlt2->vsis, 0, xlt2->count * sizeof(*xlt2->vsis));
count            1425 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		       xlt2->count * sizeof(*xlt2->vsig_tbl));
count            1426 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(xlt2->t, 0, xlt2->count * sizeof(*xlt2->t));
count            1428 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(prof->t, 0, prof->count * sizeof(*prof->t));
count            1430 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		       prof_redir->count * sizeof(*prof_redir->t));
count            1432 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(es->t, 0, es->count * sizeof(*es->t));
count            1433 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(es->ref_count, 0, es->count * sizeof(*es->ref_count));
count            1434 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		memset(es->written, 0, es->count * sizeof(*es->written));
count            1463 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt1->count = blk_sizes[i].xlt1;
count            1465 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt1->ptypes = devm_kcalloc(ice_hw_to_dev(hw), xlt1->count,
count            1478 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt1->t = devm_kcalloc(ice_hw_to_dev(hw), xlt1->count,
count            1484 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt2->count = blk_sizes[i].xlt2;
count            1486 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt2->vsis = devm_kcalloc(ice_hw_to_dev(hw), xlt2->count,
count            1492 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt2->vsig_tbl = devm_kcalloc(ice_hw_to_dev(hw), xlt2->count,
count            1498 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		for (j = 0; j < xlt2->count; j++)
count            1501 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		xlt2->t = devm_kcalloc(ice_hw_to_dev(hw), xlt2->count,
count            1507 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		prof->count = blk_sizes[i].prof_tcam;
count            1510 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		prof->t = devm_kcalloc(ice_hw_to_dev(hw), prof->count,
count            1517 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		prof_redir->count = blk_sizes[i].prof_redir;
count            1519 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 					     prof_redir->count,
count            1527 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		es->count = blk_sizes[i].es;
count            1530 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 				     (u32)(es->count * es->fvw),
count            1535 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		es->ref_count = devm_kcalloc(ice_hw_to_dev(hw), es->count,
count            1539 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 		es->written = devm_kcalloc(ice_hw_to_dev(hw), es->count,
count             163 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             172 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             209 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             220 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             226 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             232 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             253 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u16 count;
count             305 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u16 count;
count             329 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u16 count;
count             345 drivers/net/ethernet/intel/ice/ice_flex_type.h 	__le16 count;
count             351 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u16 count;
count             360 drivers/net/ethernet/intel/ice/ice_flex_type.h 	u16 count;
count              32 drivers/net/ethernet/intel/ice/ice_lib.c 	rlan_ctx.qlen = ring->count;
count             126 drivers/net/ethernet/intel/ice/ice_lib.c 	tlan_ctx->qlen = ring->count;
count            1313 drivers/net/ethernet/intel/ice/ice_lib.c 		ring->count = vsi->num_tx_desc;
count            1332 drivers/net/ethernet/intel/ice/ice_lib.c 		ring->count = vsi->num_rx_desc;
count            2802 drivers/net/ethernet/intel/ice/ice_lib.c 	int count = 0;
count            2811 drivers/net/ethernet/intel/ice/ice_lib.c 		count++;
count            2814 drivers/net/ethernet/intel/ice/ice_lib.c 	return count;
count              63 drivers/net/ethernet/intel/ice/ice_main.c 			tail - head : (tail + ring->count - head);
count            2265 drivers/net/ethernet/intel/ice/ice_main.c 	u16 count = 0, bit;
count            2269 drivers/net/ethernet/intel/ice/ice_main.c 		count++;
count            2272 drivers/net/ethernet/intel/ice/ice_main.c 	return count;
count            4353 drivers/net/ethernet/intel/ice/ice_main.c 	u8 count = 0;
count            4372 drivers/net/ethernet/intel/ice/ice_main.c 			count++;
count            4378 drivers/net/ethernet/intel/ice/ice_main.c 	} while (count < 100);
count            4380 drivers/net/ethernet/intel/ice/ice_main.c 	if (count == 100) {
count              59 drivers/net/ethernet/intel/ice/ice_txrx.c 	for (i = 0; i < tx_ring->count; i++)
count              62 drivers/net/ethernet/intel/ice/ice_txrx.c 	memset(tx_ring->tx_buf, 0, sizeof(*tx_ring->tx_buf) * tx_ring->count);
count             114 drivers/net/ethernet/intel/ice/ice_txrx.c 	i -= tx_ring->count;
count             158 drivers/net/ethernet/intel/ice/ice_txrx.c 				i -= tx_ring->count;
count             178 drivers/net/ethernet/intel/ice/ice_txrx.c 			i -= tx_ring->count;
count             189 drivers/net/ethernet/intel/ice/ice_txrx.c 	i += tx_ring->count;
count             236 drivers/net/ethernet/intel/ice/ice_txrx.c 		devm_kzalloc(dev, sizeof(*tx_ring->tx_buf) * tx_ring->count,
count             242 drivers/net/ethernet/intel/ice/ice_txrx.c 	tx_ring->size = ALIGN(tx_ring->count * sizeof(struct ice_tx_desc),
count             277 drivers/net/ethernet/intel/ice/ice_txrx.c 	for (i = 0; i < rx_ring->count; i++) {
count             303 drivers/net/ethernet/intel/ice/ice_txrx.c 	memset(rx_ring->rx_buf, 0, sizeof(*rx_ring->rx_buf) * rx_ring->count);
count             348 drivers/net/ethernet/intel/ice/ice_txrx.c 		devm_kzalloc(dev, sizeof(*rx_ring->rx_buf) * rx_ring->count,
count             354 drivers/net/ethernet/intel/ice/ice_txrx.c 	rx_ring->size = ALIGN(rx_ring->count * sizeof(union ice_32byte_rx_desc),
count             500 drivers/net/ethernet/intel/ice/ice_txrx.c 		if (unlikely(ntu == rx_ring->count)) {
count             637 drivers/net/ethernet/intel/ice/ice_txrx.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             828 drivers/net/ethernet/intel/ice/ice_txrx.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            1646 drivers/net/ethernet/intel/ice/ice_txrx.c 			if (i == tx_ring->count) {
count            1667 drivers/net/ethernet/intel/ice/ice_txrx.c 		if (i == tx_ring->count) {
count            1688 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (i == tx_ring->count)
count            1726 drivers/net/ethernet/intel/ice/ice_txrx.c 			i = tx_ring->count;
count            1999 drivers/net/ethernet/intel/ice/ice_txrx.c 	unsigned int count = 0, size = skb_headlen(skb);
count            2002 drivers/net/ethernet/intel/ice/ice_txrx.c 		count += ice_txd_use_count(size);
count            2010 drivers/net/ethernet/intel/ice/ice_txrx.c 	return count;
count            2086 drivers/net/ethernet/intel/ice/ice_txrx.c static bool ice_chk_linearize(struct sk_buff *skb, unsigned int count)
count            2089 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (likely(count < ICE_MAX_BUF_TXD))
count            2096 drivers/net/ethernet/intel/ice/ice_txrx.c 	return count != ICE_MAX_BUF_TXD;
count            2112 drivers/net/ethernet/intel/ice/ice_txrx.c 	unsigned int count;
count            2115 drivers/net/ethernet/intel/ice/ice_txrx.c 	count = ice_xmit_desc_count(skb);
count            2116 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (ice_chk_linearize(skb, count)) {
count            2119 drivers/net/ethernet/intel/ice/ice_txrx.c 		count = ice_txd_use_count(skb->len);
count            2129 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (ice_maybe_stop_tx(tx_ring, count + ICE_DESCS_PER_CACHE_LINE +
count            2173 drivers/net/ethernet/intel/ice/ice_txrx.c 		tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count              41 drivers/net/ethernet/intel/ice/ice_txrx.h 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count             184 drivers/net/ethernet/intel/ice/ice_txrx.h 	u16 count;			/* Number of descriptors */
count            2281 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c 			vsi->tx_rings[i]->count = qpi->txq.ring_len;
count            2288 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c 			vsi->rx_rings[i]->count = qpi->rxq.ring_len;
count             191 drivers/net/ethernet/intel/igb/e1000_i210.c 	u16 i, count;
count             198 drivers/net/ethernet/intel/igb/e1000_i210.c 		count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
count             201 drivers/net/ethernet/intel/igb/e1000_i210.c 			status = igb_read_nvm_eerd(hw, offset, count,
count             291 drivers/net/ethernet/intel/igb/e1000_i210.c 	u16 i, count;
count             298 drivers/net/ethernet/intel/igb/e1000_i210.c 		count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
count             301 drivers/net/ethernet/intel/igb/e1000_i210.c 			status = igb_write_nvm_srwr(hw, offset, count,
count             324 drivers/net/ethernet/intel/igb/e1000_mbx.c 	int count = 10;
count             337 drivers/net/ethernet/intel/igb/e1000_mbx.c 	} while (count-- > 0);
count              50 drivers/net/ethernet/intel/igb/e1000_nvm.c static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count)
count              56 drivers/net/ethernet/intel/igb/e1000_nvm.c 	mask = 1u << (count - 1);
count              92 drivers/net/ethernet/intel/igb/e1000_nvm.c static u16 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count)
count             103 drivers/net/ethernet/intel/igb/e1000_nvm.c 	for (i = 0; i < count; i++) {
count             244 drivers/net/ethernet/intel/igb/igb.h 	u8 count;			/* total number of rings in vector */
count             262 drivers/net/ethernet/intel/igb/igb.h 	u16 count;			/* number of desc. in the ring */
count             380 drivers/net/ethernet/intel/igb/igb.h 	return ring->count + ring->next_to_clean - ring->next_to_use - 1;
count             899 drivers/net/ethernet/intel/igb/igb_ethtool.c 			adapter->tx_ring[i]->count = new_tx_count;
count             901 drivers/net/ethernet/intel/igb/igb_ethtool.c 			adapter->rx_ring[i]->count = new_rx_count;
count             930 drivers/net/ethernet/intel/igb/igb_ethtool.c 			temp_ring[i].count = new_tx_count;
count             956 drivers/net/ethernet/intel/igb/igb_ethtool.c 			temp_ring[i].count = new_rx_count;
count            1553 drivers/net/ethernet/intel/igb/igb_ethtool.c 	tx_ring->count = IGB_DEFAULT_TXD;
count            1567 drivers/net/ethernet/intel/igb/igb_ethtool.c 	rx_ring->count = IGB_DEFAULT_RXD;
count            1808 drivers/net/ethernet/intel/igb/igb_ethtool.c 	u16 rx_ntc, tx_ntc, count = 0;
count            1827 drivers/net/ethernet/intel/igb/igb_ethtool.c 			count++;
count            1850 drivers/net/ethernet/intel/igb/igb_ethtool.c 		if (rx_ntc == rx_ring->count)
count            1853 drivers/net/ethernet/intel/igb/igb_ethtool.c 		if (tx_ntc == tx_ring->count)
count            1863 drivers/net/ethernet/intel/igb/igb_ethtool.c 	igb_alloc_rx_buffers(rx_ring, count);
count            1867 drivers/net/ethernet/intel/igb/igb_ethtool.c 	return count;
count            1894 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (rx_ring->count <= tx_ring->count)
count            1895 drivers/net/ethernet/intel/igb/igb_ethtool.c 		lc = ((tx_ring->count / 64) * 2) + 1;
count            1897 drivers/net/ethernet/intel/igb/igb_ethtool.c 		lc = ((rx_ring->count / 64) * 2) + 1;
count            3411 drivers/net/ethernet/intel/igb/igb_ethtool.c 	unsigned int count = ch->combined_count;
count            3415 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (!count || ch->rx_count || ch->tx_count)
count            3424 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (count > max_combined)
count            3427 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (count != adapter->rss_queues) {
count            3428 drivers/net/ethernet/intel/igb/igb_ethtool.c 		adapter->rss_queues = count;
count             432 drivers/net/ethernet/intel/igb/igb_main.c 		for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
count             511 drivers/net/ethernet/intel/igb/igb_main.c 		for (i = 0; i < rx_ring->count; i++) {
count            1172 drivers/net/ethernet/intel/igb/igb_main.c 	head->count++;
count            1262 drivers/net/ethernet/intel/igb/igb_main.c 		ring->count = adapter->tx_ring_count;
count            1303 drivers/net/ethernet/intel/igb/igb_main.c 		ring->count = adapter->rx_ring_count;
count            4043 drivers/net/ethernet/intel/igb/igb_main.c 	size = sizeof(struct igb_tx_buffer) * tx_ring->count;
count            4050 drivers/net/ethernet/intel/igb/igb_main.c 	tx_ring->size = tx_ring->count * sizeof(union e1000_adv_tx_desc);
count            4138 drivers/net/ethernet/intel/igb/igb_main.c 	     ring->count * sizeof(union e1000_adv_tx_desc));
count            4153 drivers/net/ethernet/intel/igb/igb_main.c 	       sizeof(struct igb_tx_buffer) * ring->count);
count            4192 drivers/net/ethernet/intel/igb/igb_main.c 	size = sizeof(struct igb_rx_buffer) * rx_ring->count;
count            4199 drivers/net/ethernet/intel/igb/igb_main.c 	rx_ring->size = rx_ring->count * sizeof(union e1000_adv_rx_desc);
count            4492 drivers/net/ethernet/intel/igb/igb_main.c 	     ring->count * sizeof(union e1000_adv_rx_desc));
count            4523 drivers/net/ethernet/intel/igb/igb_main.c 	       sizeof(struct igb_rx_buffer) * ring->count);
count            4646 drivers/net/ethernet/intel/igb/igb_main.c 			if (unlikely(i == tx_ring->count)) {
count            4663 drivers/net/ethernet/intel/igb/igb_main.c 		if (unlikely(i == tx_ring->count)) {
count            4762 drivers/net/ethernet/intel/igb/igb_main.c 		if (i == rx_ring->count)
count            4987 drivers/net/ethernet/intel/igb/igb_main.c 	int count;
count            5006 drivers/net/ethernet/intel/igb/igb_main.c 			count = igb_write_mc_addr_list(netdev);
count            5007 drivers/net/ethernet/intel/igb/igb_main.c 			if (count < 0) {
count            5010 drivers/net/ethernet/intel/igb/igb_main.c 			} else if (count) {
count            5398 drivers/net/ethernet/intel/igb/igb_main.c 			if (igb_desc_unused(tx_ring) + 1 < tx_ring->count) {
count            5661 drivers/net/ethernet/intel/igb/igb_main.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            5956 drivers/net/ethernet/intel/igb/igb_main.c 			if (i == tx_ring->count) {
count            5975 drivers/net/ethernet/intel/igb/igb_main.c 		if (i == tx_ring->count) {
count            6014 drivers/net/ethernet/intel/igb/igb_main.c 	if (i == tx_ring->count)
count            6041 drivers/net/ethernet/intel/igb/igb_main.c 			i += tx_ring->count;
count            6067 drivers/net/ethernet/intel/igb/igb_main.c 	u16 count = TXD_USE_COUNT(skb_headlen(skb));
count            6078 drivers/net/ethernet/intel/igb/igb_main.c 		count += TXD_USE_COUNT(skb_frag_size(
count            6081 drivers/net/ethernet/intel/igb/igb_main.c 	if (igb_maybe_stop_tx(tx_ring, count + 3)) {
count            7154 drivers/net/ethernet/intel/igb/igb_main.c 	int i, count = 0;
count            7166 drivers/net/ethernet/intel/igb/igb_main.c 		count++;
count            7169 drivers/net/ethernet/intel/igb/igb_main.c 	return count;
count            7760 drivers/net/ethernet/intel/igb/igb_main.c 	i -= tx_ring->count;
count            7801 drivers/net/ethernet/intel/igb/igb_main.c 				i -= tx_ring->count;
count            7821 drivers/net/ethernet/intel/igb/igb_main.c 			i -= tx_ring->count;
count            7835 drivers/net/ethernet/intel/igb/igb_main.c 	i += tx_ring->count;
count            7926 drivers/net/ethernet/intel/igb/igb_main.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            8175 drivers/net/ethernet/intel/igb/igb_main.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            8457 drivers/net/ethernet/intel/igb/igb_main.c 	i -= rx_ring->count;
count            8481 drivers/net/ethernet/intel/igb/igb_main.c 			i -= rx_ring->count;
count            8490 drivers/net/ethernet/intel/igb/igb_main.c 	i += rx_ring->count;
count             188 drivers/net/ethernet/intel/igbvf/ethtool.c 	ring->rx_pending = rx_ring->count;
count             189 drivers/net/ethernet/intel/igbvf/ethtool.c 	ring->tx_pending = tx_ring->count;
count             211 drivers/net/ethernet/intel/igbvf/ethtool.c 	if ((new_tx_count == adapter->tx_ring->count) &&
count             212 drivers/net/ethernet/intel/igbvf/ethtool.c 	    (new_rx_count == adapter->rx_ring->count)) {
count             221 drivers/net/ethernet/intel/igbvf/ethtool.c 		adapter->tx_ring->count = new_tx_count;
count             222 drivers/net/ethernet/intel/igbvf/ethtool.c 		adapter->rx_ring->count = new_rx_count;
count             238 drivers/net/ethernet/intel/igbvf/ethtool.c 	if (new_tx_count != adapter->tx_ring->count) {
count             241 drivers/net/ethernet/intel/igbvf/ethtool.c 		temp_ring->count = new_tx_count;
count             251 drivers/net/ethernet/intel/igbvf/ethtool.c 	if (new_rx_count != adapter->rx_ring->count) {
count             254 drivers/net/ethernet/intel/igbvf/ethtool.c 		temp_ring->count = new_rx_count;
count             130 drivers/net/ethernet/intel/igbvf/igbvf.h 	unsigned int count;	/* number of desc. in ring */
count             214 drivers/net/ethernet/intel/igbvf/mbx.c 	int count = 10;
count             226 drivers/net/ethernet/intel/igbvf/mbx.c 	} while (count-- > 0);
count              73 drivers/net/ethernet/intel/igbvf/netdev.c 	return ring->count + ring->next_to_clean - ring->next_to_use - 1;
count             212 drivers/net/ethernet/intel/igbvf/netdev.c 		if (i == rx_ring->count)
count             221 drivers/net/ethernet/intel/igbvf/netdev.c 			i = (rx_ring->count - 1);
count             327 drivers/net/ethernet/intel/igbvf/netdev.c 		if (i == rx_ring->count)
count             420 drivers/net/ethernet/intel/igbvf/netdev.c 	size = sizeof(struct igbvf_buffer) * tx_ring->count;
count             426 drivers/net/ethernet/intel/igbvf/netdev.c 	tx_ring->size = tx_ring->count * sizeof(union e1000_adv_tx_desc);
count             458 drivers/net/ethernet/intel/igbvf/netdev.c 	size = sizeof(struct igbvf_buffer) * rx_ring->count;
count             466 drivers/net/ethernet/intel/igbvf/netdev.c 	rx_ring->size = rx_ring->count * desc_len;
count             504 drivers/net/ethernet/intel/igbvf/netdev.c 	for (i = 0; i < tx_ring->count; i++) {
count             509 drivers/net/ethernet/intel/igbvf/netdev.c 	size = sizeof(struct igbvf_buffer) * tx_ring->count;
count             559 drivers/net/ethernet/intel/igbvf/netdev.c 	for (i = 0; i < rx_ring->count; i++) {
count             592 drivers/net/ethernet/intel/igbvf/netdev.c 	size = sizeof(struct igbvf_buffer) * rx_ring->count;
count             777 drivers/net/ethernet/intel/igbvf/netdev.c 	unsigned int i, count = 0;
count             799 drivers/net/ethernet/intel/igbvf/netdev.c 		for (cleaned = false; !cleaned; count++) {
count             820 drivers/net/ethernet/intel/igbvf/netdev.c 			if (i == tx_ring->count)
count             827 drivers/net/ethernet/intel/igbvf/netdev.c 	} while (count < tx_ring->count);
count             831 drivers/net/ethernet/intel/igbvf/netdev.c 	if (unlikely(count && netif_carrier_ok(netdev) &&
count             846 drivers/net/ethernet/intel/igbvf/netdev.c 	return count < tx_ring->count;
count            1295 drivers/net/ethernet/intel/igbvf/netdev.c 	ew32(TDLEN(0), tx_ring->count * sizeof(union e1000_adv_tx_desc));
count            1381 drivers/net/ethernet/intel/igbvf/netdev.c 	ew32(RDLEN(0), rx_ring->count * sizeof(union e1000_adv_rx_desc));
count            1944 drivers/net/ethernet/intel/igbvf/netdev.c 			      tx_ring->count);
count            1983 drivers/net/ethernet/intel/igbvf/netdev.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            2160 drivers/net/ethernet/intel/igbvf/netdev.c 	unsigned int count = 0, i;
count            2179 drivers/net/ethernet/intel/igbvf/netdev.c 		count++;
count            2181 drivers/net/ethernet/intel/igbvf/netdev.c 		if (i == tx_ring->count)
count            2200 drivers/net/ethernet/intel/igbvf/netdev.c 	return ++count;
count            2210 drivers/net/ethernet/intel/igbvf/netdev.c 	if (count)
count            2211 drivers/net/ethernet/intel/igbvf/netdev.c 		count--;
count            2214 drivers/net/ethernet/intel/igbvf/netdev.c 	while (count--) {
count            2216 drivers/net/ethernet/intel/igbvf/netdev.c 			i += tx_ring->count;
count            2227 drivers/net/ethernet/intel/igbvf/netdev.c 				      int tx_flags, int count,
count            2259 drivers/net/ethernet/intel/igbvf/netdev.c 	while (count--) {
count            2267 drivers/net/ethernet/intel/igbvf/netdev.c 		if (i == tx_ring->count)
count            2291 drivers/net/ethernet/intel/igbvf/netdev.c 	int count = 0;
count            2342 drivers/net/ethernet/intel/igbvf/netdev.c 	count = igbvf_tx_map_adv(adapter, tx_ring, skb);
count            2344 drivers/net/ethernet/intel/igbvf/netdev.c 	if (count) {
count            2345 drivers/net/ethernet/intel/igbvf/netdev.c 		igbvf_tx_queue_adv(adapter, tx_ring, tx_flags, count,
count            2864 drivers/net/ethernet/intel/igbvf/netdev.c 	adapter->rx_ring->count = 1024;
count            2865 drivers/net/ethernet/intel/igbvf/netdev.c 	adapter->tx_ring->count = 1024;
count             239 drivers/net/ethernet/intel/igc/igc.h 	u8 count;                       /* total number of rings in vector */
count             257 drivers/net/ethernet/intel/igc/igc.h 	u16 count;                      /* number of desc. in the ring */
count             442 drivers/net/ethernet/intel/igc/igc.h 	return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;
count             514 drivers/net/ethernet/intel/igc/igc_ethtool.c 			adapter->tx_ring[i]->count = new_tx_count;
count             516 drivers/net/ethernet/intel/igc/igc_ethtool.c 			adapter->rx_ring[i]->count = new_rx_count;
count             545 drivers/net/ethernet/intel/igc/igc_ethtool.c 			temp_ring[i].count = new_tx_count;
count             571 drivers/net/ethernet/intel/igc/igc_ethtool.c 			temp_ring[i].count = new_rx_count;
count            1574 drivers/net/ethernet/intel/igc/igc_ethtool.c 	unsigned int count = ch->combined_count;
count            1578 drivers/net/ethernet/intel/igc/igc_ethtool.c 	if (!count || ch->rx_count || ch->tx_count)
count            1587 drivers/net/ethernet/intel/igc/igc_ethtool.c 	if (count > max_combined)
count            1590 drivers/net/ethernet/intel/igc/igc_ethtool.c 	if (count != adapter->rss_queues) {
count            1591 drivers/net/ethernet/intel/igc/igc_ethtool.c 		adapter->rss_queues = count;
count             183 drivers/net/ethernet/intel/igc/igc_i225.c 	u16 i, count;
count             190 drivers/net/ethernet/intel/igc/igc_i225.c 		count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ?
count             197 drivers/net/ethernet/intel/igc/igc_i225.c 		status = igc_read_nvm_eerd(hw, offset, count, data + i);
count             282 drivers/net/ethernet/intel/igc/igc_i225.c 	u16 i, count;
count             289 drivers/net/ethernet/intel/igc/igc_i225.c 		count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ?
count             296 drivers/net/ethernet/intel/igc/igc_i225.c 		status = igc_write_nvm_srwr(hw, offset, count, data + i);
count             314 drivers/net/ethernet/intel/igc/igc_i225.c 	s32 (*read_op_ptr)(struct igc_hw *hw, u16 offset, u16 count,
count             245 drivers/net/ethernet/intel/igc/igc_main.c 			if (unlikely(i == tx_ring->count)) {
count             262 drivers/net/ethernet/intel/igc/igc_main.c 		if (unlikely(i == tx_ring->count)) {
count             300 drivers/net/ethernet/intel/igc/igc_main.c 	size = sizeof(struct igc_tx_buffer) * tx_ring->count;
count             306 drivers/net/ethernet/intel/igc/igc_main.c 	tx_ring->size = tx_ring->count * sizeof(union igc_adv_tx_desc);
count             386 drivers/net/ethernet/intel/igc/igc_main.c 		if (i == rx_ring->count)
count             456 drivers/net/ethernet/intel/igc/igc_main.c 	size = sizeof(struct igc_rx_buffer) * rx_ring->count;
count             464 drivers/net/ethernet/intel/igc/igc_main.c 	rx_ring->size = rx_ring->count * desc_len;
count             537 drivers/net/ethernet/intel/igc/igc_main.c 	     ring->count * sizeof(union igc_adv_rx_desc));
count             564 drivers/net/ethernet/intel/igc/igc_main.c 	       sizeof(struct igc_rx_buffer) * ring->count);
count             614 drivers/net/ethernet/intel/igc/igc_main.c 	     ring->count * sizeof(union igc_adv_tx_desc));
count             810 drivers/net/ethernet/intel/igc/igc_main.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count             992 drivers/net/ethernet/intel/igc/igc_main.c 			if (i == tx_ring->count) {
count            1011 drivers/net/ethernet/intel/igc/igc_main.c 		if (i == tx_ring->count) {
count            1050 drivers/net/ethernet/intel/igc/igc_main.c 	if (i == tx_ring->count)
count            1077 drivers/net/ethernet/intel/igc/igc_main.c 			i += tx_ring->count;
count            1099 drivers/net/ethernet/intel/igc/igc_main.c 	u16 count = TXD_USE_COUNT(skb_headlen(skb));
count            1113 drivers/net/ethernet/intel/igc/igc_main.c 		count += TXD_USE_COUNT(skb_frag_size(
count            1116 drivers/net/ethernet/intel/igc/igc_main.c 	if (igc_maybe_stop_tx(tx_ring, count + 3)) {
count            1354 drivers/net/ethernet/intel/igc/igc_main.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            1421 drivers/net/ethernet/intel/igc/igc_main.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            1505 drivers/net/ethernet/intel/igc/igc_main.c 	i -= rx_ring->count;
count            1529 drivers/net/ethernet/intel/igc/igc_main.c 			i -= rx_ring->count;
count            1538 drivers/net/ethernet/intel/igc/igc_main.c 	i += rx_ring->count;
count            1716 drivers/net/ethernet/intel/igc/igc_main.c 	i -= tx_ring->count;
count            1757 drivers/net/ethernet/intel/igc/igc_main.c 				i -= tx_ring->count;
count            1777 drivers/net/ethernet/intel/igc/igc_main.c 			i -= tx_ring->count;
count            1792 drivers/net/ethernet/intel/igc/igc_main.c 	i += tx_ring->count;
count            3041 drivers/net/ethernet/intel/igc/igc_main.c 			if (igc_desc_unused(tx_ring) + 1 < tx_ring->count) {
count            3490 drivers/net/ethernet/intel/igc/igc_main.c 	head->count++;
count            3571 drivers/net/ethernet/intel/igc/igc_main.c 		ring->count = adapter->tx_ring_count;
count            3593 drivers/net/ethernet/intel/igc/igc_main.c 		ring->count = adapter->rx_ring_count;
count              92 drivers/net/ethernet/intel/ixgb/ixgb.h 	unsigned int count;
count             102 drivers/net/ethernet/intel/ixgb/ixgb.h 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count              13 drivers/net/ethernet/intel/ixgb/ixgb_ee.c 				u16 count);
count              68 drivers/net/ethernet/intel/ixgb/ixgb_ee.c 					 u16 count)
count              77 drivers/net/ethernet/intel/ixgb/ixgb_ee.c 	mask = 0x01 << (count - 1);
count             477 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	ring->rx_pending = rxdr->count;
count             478 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	ring->tx_pending = txdr->count;
count             500 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	rxdr->count = max(ring->rx_pending,(u32)MIN_RXD);
count             501 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	rxdr->count = min(rxdr->count,(u32)MAX_RXD);
count             502 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	rxdr->count = ALIGN(rxdr->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE);
count             504 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	txdr->count = max(ring->tx_pending,(u32)MIN_TXD);
count             505 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	txdr->count = min(txdr->count,(u32)MAX_TXD);
count             506 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	txdr->count = ALIGN(txdr->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE);
count             673 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	size = sizeof(struct ixgb_buffer) * txdr->count;
count             680 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	txdr->size = txdr->count * sizeof(struct ixgb_tx_desc);
count             707 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	u32 tdlen = adapter->tx_ring.count * sizeof(struct ixgb_tx_desc);
count             756 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	size = sizeof(struct ixgb_buffer) * rxdr->count;
count             763 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	rxdr->size = rxdr->count * sizeof(struct ixgb_rx_desc);
count             824 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	u32 rdlen = adapter->rx_ring.count * sizeof(struct ixgb_rx_desc);
count             930 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	for (i = 0; i < tx_ring->count; i++) {
count             935 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	size = sizeof(struct ixgb_buffer) * tx_ring->count;
count             989 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	for (i = 0; i < rx_ring->count; i++) {
count            1006 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	size = sizeof(struct ixgb_buffer) * rx_ring->count;
count            1159 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (IXGB_DESC_UNUSED(txdr) + 1 < txdr->count) {
count            1239 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (++i == adapter->tx_ring.count) i = 0;
count            1277 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (++i == adapter->tx_ring.count) i = 0;
count            1297 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	unsigned int offset = 0, size, count = 0, i;
count            1325 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		count++;
count            1328 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			if (i == tx_ring->count)
count            1340 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			if (i == tx_ring->count)
count            1364 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			count++;
count            1370 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	return count;
count            1375 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	if (count)
count            1376 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		count--;
count            1378 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	while (count--) {
count            1380 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			i += tx_ring->count;
count            1390 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_tx_queue(struct ixgb_adapter *adapter, int count, int vlan_id,int tx_flags)
count            1413 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	while (count--) {
count            1423 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (++i == tx_ring->count) i = 0;
count            1484 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	int count = 0;
count            1519 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	count = ixgb_tx_map(adapter, skb, first);
count            1521 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	if (count) {
count            1522 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		ixgb_tx_queue(adapter, count, vlan_id, tx_flags);
count            1811 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			if (++i == tx_ring->count) i = 0;
count            1964 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (++i == rx_ring->count)
count            1970 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (j == rx_ring->count)
count            2104 drivers/net/ethernet/intel/ixgb/ixgb_main.c 		if (++i == rx_ring->count)
count            2112 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			i = (rx_ring->count - 1);
count             256 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			tx_ring->count = TxDescriptors[bd];
count             257 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			ixgb_validate_option(&tx_ring->count, &opt);
count             259 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			tx_ring->count = opt.def;
count             261 drivers/net/ethernet/intel/ixgb/ixgb_param.c 		tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE);
count             275 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			rx_ring->count = RxDescriptors[bd];
count             276 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			ixgb_validate_option(&rx_ring->count, &opt);
count             278 drivers/net/ethernet/intel/ixgb/ixgb_param.c 			rx_ring->count = opt.def;
count             280 drivers/net/ethernet/intel/ixgb/ixgb_param.c 		rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE);
count             324 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	u16 count;			/* amount of descriptors */
count             432 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	u8 count;			/* total number of rings in vector */
count             512 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;
count              19 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 					u16 count);
count              20 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
count             903 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	u16 i, count;
count             927 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 		count = (words - i) / IXGBE_EEPROM_RD_BUFFER_MAX_COUNT > 0 ?
count             930 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 							    count, &data[i]);
count            1049 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	u16 i, count;
count            1065 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 		count = (words - i) / IXGBE_EEPROM_RD_BUFFER_MAX_COUNT > 0 ?
count            1069 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 							   count, &data[i]);
count            1540 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 					u16 count)
count            1552 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	mask = BIT(count - 1);
count            1554 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	for (i = 0; i < count; i++) {
count            1593 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count)
count            1610 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c 	for (i = 0; i < count; i++) {
count              14 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 					 size_t count, loff_t *ppos,
count              30 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	if (count < strlen(buf)) {
count              35 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count              49 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 				      size_t count, loff_t *ppos)
count              51 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos,
count              64 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 				     size_t count, loff_t *ppos)
count              72 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	if (count >= sizeof(ixgbe_dbg_reg_ops_buf))
count              79 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 				     count);
count             112 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	return count;
count             132 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 					 size_t count, loff_t *ppos)
count             134 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos,
count             147 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 					  size_t count, loff_t *ppos)
count             155 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	if (count >= sizeof(ixgbe_dbg_netdev_ops_buf))
count             162 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 				     count);
count             176 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c 	return count;
count            1028 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	ring->rx_pending = rx_ring->count;
count            1029 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	ring->tx_pending = tx_ring->count;
count            1062 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			adapter->tx_ring[i]->count = new_tx_count;
count            1064 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			adapter->xdp_ring[i]->count = new_tx_count;
count            1066 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			adapter->rx_ring[i]->count = new_rx_count;
count            1096 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			temp_ring[i].count = new_tx_count;
count            1111 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			temp_ring[i].count = new_tx_count;
count            1148 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			temp_ring[i].count = new_rx_count;
count            1731 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	tx_ring->count = IXGBE_DEFAULT_TXD;
count            1758 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	rx_ring->count = IXGBE_DEFAULT_RXD;
count            1891 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	u16 rx_ntc, tx_ntc, count = 0;
count            1906 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			return count;
count            1923 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		if (tx_ntc == tx_ring->count)
count            1941 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			count++;
count            1953 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		if (rx_ntc == rx_ring->count)
count            1963 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	ixgbe_alloc_rx_buffers(rx_ring, count);
count            1967 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	return count;
count            1998 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (rx_ring->count <= tx_ring->count)
count            1999 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		lc = ((tx_ring->count / 64) * 2) + 1;
count            2001 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		lc = ((rx_ring->count / 64) * 2) + 1;
count            2285 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (adapter->q_vector[0]->tx.count && adapter->q_vector[0]->rx.count)
count            2336 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (adapter->q_vector[0]->tx.count && adapter->q_vector[0]->rx.count) {
count            2370 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (adapter->q_vector[0]->tx.count && adapter->q_vector[0]->rx.count)
count            2390 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		if (q_vector->tx.count && !q_vector->rx.count)
count            3164 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	unsigned int count = ch->combined_count;
count            3168 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (!count || ch->rx_count || ch->tx_count)
count            3176 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (count > ixgbe_max_channels(adapter))
count            3180 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	adapter->ring_feature[RING_F_FDIR].limit = count;
count            3183 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (count > max_rss_indices)
count            3184 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		count = max_rss_indices;
count            3185 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	adapter->ring_feature[RING_F_RSS].limit = count;
count            3189 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (count > IXGBE_FCRETA_SIZE)
count            3190 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		count = IXGBE_FCRETA_SIZE;
count            3191 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	adapter->ring_feature[RING_F_FCOE].limit = count;
count             811 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 	head->count++;
count             922 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 		ring->count = adapter->tx_ring_count;
count             948 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 		ring->count = adapter->tx_ring_count;
count             992 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 		ring->count = adapter->rx_ring_count;
count            1290 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count             672 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		for (i = 0; ring->desc && (i < ring->count); i++) {
count             785 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		for (i = 0; i < rx_ring->count; i++) {
count            1023 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	return ((head <= tail) ? tail : tail + ring->count) - head;
count            1127 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	i -= tx_ring->count;
count            1173 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 				i -= tx_ring->count;
count            1193 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			i -= tx_ring->count;
count            1205 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	i += tx_ring->count;
count            1592 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	i -= rx_ring->count;
count            1617 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			i -= rx_ring->count;
count            1626 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	i += rx_ring->count;
count            1740 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count            1933 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            3185 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (q_vector->rx.count > 1)
count            3186 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		per_ring_budget = max(budget/q_vector->rx.count, 1);
count            3498 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			ring->count * sizeof(union ixgbe_adv_tx_desc));
count            3548 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	       sizeof(struct ixgbe_tx_buffer) * ring->count);
count            4098 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			ring->count * sizeof(union ixgbe_adv_rx_desc));
count            4149 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	       sizeof(struct ixgbe_rx_buffer) * ring->count);
count            4787 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	int i, count = 0;
count            4800 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		count++;
count            4803 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	return count;
count            4916 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	int count;
count            4956 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	count = ixgbe_write_mc_addr_list(netdev);
count            4957 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (count < 0) {
count            4960 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	} else if (count) {
count            5330 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (i == rx_ring->count) {
count            6010 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			if (unlikely(i == tx_ring->count)) {
count            6027 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (unlikely(i == tx_ring->count)) {
count            6450 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	size = sizeof(struct ixgbe_tx_buffer) * tx_ring->count;
count            6462 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	tx_ring->size = tx_ring->count * sizeof(union ixgbe_adv_tx_desc);
count            6544 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	size = sizeof(struct ixgbe_rx_buffer) * rx_ring->count;
count            6556 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	rx_ring->size = rx_ring->count * sizeof(union ixgbe_adv_rx_desc);
count            8252 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			if (i == tx_ring->count) {
count            8271 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (i == tx_ring->count) {
count            8315 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (i == tx_ring->count)
count            8342 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			i += tx_ring->count;
count            8515 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 					vdev->tc_to_txq[tc].count);
count            8596 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (i == ring->count)
count            8613 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	u16 count = TXD_USE_COUNT(skb_headlen(skb));
count            8626 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		count += TXD_USE_COUNT(skb_frag_size(
count            8629 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (ixgbe_maybe_stop_tx(tx_ring, count + 3)) {
count              81 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	reuseq = xsk_reuseq_prepare(adapter->rx_ring[0]->count);
count             215 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             241 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count             327 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	i -= rx_ring->count;
count             352 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 			i -= rx_ring->count;
count             361 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	i += rx_ring->count;
count             381 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c void ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 count)
count             383 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	__ixgbe_alloc_rx_buffers_zc(rx_ring, count,
count             388 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 					   u16 count)
count             390 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	return __ixgbe_alloc_rx_buffers_zc(rx_ring, count,
count             422 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count             569 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		if (i == rx_ring->count) {
count             618 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		if (xdp_ring->next_to_use == xdp_ring->count)
count             670 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		if (unlikely(ntc == tx_ring->count)) {
count             747 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		if (ntc == tx_ring->count)
count             269 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			adapter->tx_ring[i]->count = new_tx_count;
count             271 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			adapter->xdp_ring[i]->count = new_tx_count;
count             273 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			adapter->rx_ring[i]->count = new_rx_count;
count             292 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			tx_ring[i].count = new_tx_count;
count             310 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			tx_ring[i].count = new_tx_count;
count             342 drivers/net/ethernet/intel/ixgbevf/ethtool.c 			rx_ring[i].count = new_rx_count;
count             803 drivers/net/ethernet/intel/ixgbevf/ethtool.c 	if (adapter->q_vector[0]->tx.count && adapter->q_vector[0]->rx.count)
count             824 drivers/net/ethernet/intel/ixgbevf/ethtool.c 	if (adapter->q_vector[0]->tx.count &&
count             825 drivers/net/ethernet/intel/ixgbevf/ethtool.c 	    adapter->q_vector[0]->rx.count && ec->tx_coalesce_usecs)
count             856 drivers/net/ethernet/intel/ixgbevf/ethtool.c 		if (q_vector->tx.count && !q_vector->rx.count)
count              99 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	u16 count;			/* amount of descriptors */
count             220 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	u8 count;			/* total number of rings in vector */
count             291 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;
count             208 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			tail - head : (tail + ring->count - head);
count             273 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	unsigned int budget = tx_ring->count / 2;
count             281 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	i -= tx_ring->count;
count             327 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 				i -= tx_ring->count;
count             347 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			i -= tx_ring->count;
count             359 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	i += tx_ring->count;
count             590 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	ntc = (ntc < rx_ring->count) ? ntc : 0;
count             665 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	i -= rx_ring->count;
count             688 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			i -= rx_ring->count;
count             697 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	i += rx_ring->count;
count             777 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	rx_ring->next_to_alloc = (nta < rx_ring->count) ? nta : 0;
count            1051 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (i == ring->count)
count            1282 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (q_vector->rx.count > 1)
count            1283 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		per_ring_budget = max(budget/q_vector->rx.count, 1);
count            1692 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			ring->count * sizeof(union ixgbe_adv_tx_desc));
count            1724 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	       sizeof(struct ixgbevf_tx_buffer) * ring->count);
count            1913 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			ring->count * sizeof(union ixgbe_adv_rx_desc));
count            1932 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	       sizeof(struct ixgbevf_rx_buffer) * ring->count);
count            2082 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	int count = 0;
count            2088 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			hw->mac.ops.set_uc_addr(hw, ++count, ha->addr);
count            2098 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	return count;
count            2363 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (i == rx_ring->count)
count            2405 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			if (unlikely(i == tx_ring->count)) {
count            2422 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (unlikely(i == tx_ring->count)) {
count            2678 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	head->count++;
count            2735 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ring->count = adapter->tx_ring_count;
count            2763 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ring->count = adapter->tx_ring_count;
count            2792 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		ring->count = adapter->rx_ring_count;
count            3388 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	size = sizeof(struct ixgbevf_tx_buffer) * tx_ring->count;
count            3396 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	tx_ring->size = tx_ring->count * sizeof(union ixgbe_adv_tx_desc);
count            3466 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	size = sizeof(struct ixgbevf_rx_buffer) * rx_ring->count;
count            3474 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	rx_ring->size = rx_ring->count * sizeof(union ixgbe_adv_rx_desc);
count            3728 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	tx_ring->next_to_use = (i < tx_ring->count) ? i : 0;
count            3985 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			if (i == tx_ring->count) {
count            4004 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (i == tx_ring->count) {
count            4041 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (i == tx_ring->count)
count            4064 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 			i += tx_ring->count;
count            4116 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	u16 count = TXD_USE_COUNT(skb_headlen(skb));
count            4139 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		count += TXD_USE_COUNT(skb_frag_size(frag));
count            4142 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	count += skb_shinfo(skb)->nr_frags;
count            4144 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (ixgbevf_maybe_stop_tx(tx_ring, count + 3)) {
count            2004 drivers/net/ethernet/jme.c static void jme_drop_tx_map(struct jme_adapter *jme, int startidx, int count)
count            2011 drivers/net/ethernet/jme.c 	for (j = 0 ; j < count ; j++) {
count             358 drivers/net/ethernet/korina.c 	int count;
count             362 drivers/net/ethernet/korina.c 	for (count = 0; count < limit; count++) {
count             459 drivers/net/ethernet/korina.c 	return count;
count             560 drivers/net/ethernet/marvell/mvneta.c 	int count;
count            1176 drivers/net/ethernet/marvell/mvneta.c 	int count;
count            1187 drivers/net/ethernet/marvell/mvneta.c 	count = 0;
count            1189 drivers/net/ethernet/marvell/mvneta.c 		if (count++ >= MVNETA_RX_DISABLE_TIMEOUT_MSEC) {
count            1210 drivers/net/ethernet/marvell/mvneta.c 	count = 0;
count            1212 drivers/net/ethernet/marvell/mvneta.c 		if (count++ >= MVNETA_TX_DISABLE_TIMEOUT_MSEC) {
count            1226 drivers/net/ethernet/marvell/mvneta.c 	count = 0;
count            1228 drivers/net/ethernet/marvell/mvneta.c 		if (count++ >= MVNETA_TX_FIFO_EMPTY_TIMEOUT) {
count            1811 drivers/net/ethernet/marvell/mvneta.c 	txq->count -= tx_done;
count            1814 drivers/net/ethernet/marvell/mvneta.c 		if (txq->count <= txq->tx_wake_threshold)
count            2299 drivers/net/ethernet/marvell/mvneta.c 	if ((txq->count + tso_count_descs(skb)) >= txq->size)
count            2482 drivers/net/ethernet/marvell/mvneta.c 		txq->count += frags;
count            2483 drivers/net/ethernet/marvell/mvneta.c 		if (txq->count >= txq->tx_stop_threshold)
count            2511 drivers/net/ethernet/marvell/mvneta.c 	int tx_done = txq->count;
count            2516 drivers/net/ethernet/marvell/mvneta.c 	txq->count = 0;
count            2536 drivers/net/ethernet/marvell/mvneta.c 		if (txq->count)
count            1084 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	int count;
count            1117 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	int count;
count            1927 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if ((aggr_txq->count + num) > MVPP2_AGGR_TXQ_SIZE) {
count            1934 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		aggr_txq->count = val & MVPP2_AGGR_TXQ_PENDING_MASK;
count            1936 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if ((aggr_txq->count + num) > MVPP2_AGGR_TXQ_SIZE)
count            1987 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		desc_count += txq_pcpu_aux->count;
count            2281 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	txq_pcpu->count -= tx_done;
count            2284 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (txq_pcpu->count <= txq_pcpu->wake_threshold)
count            2302 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (txq_pcpu->count) {
count            2304 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			tx_todo += txq_pcpu->count;
count            2523 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		txq_pcpu->count = 0;
count            2625 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		mvpp2_txq_bufs_free(port, txq, txq_pcpu, txq_pcpu->count);
count            2628 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		txq_pcpu->count = 0;
count            3277 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		txq_pcpu->count += frags;
count            3278 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		aggr_txq->count += frags;
count            3284 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (txq_pcpu->count >= txq_pcpu->stop_threshold)
count            3297 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (!port->has_tx_irqs && txq_pcpu->count >= txq->done_pkts_coal)
count            3301 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (!port->has_tx_irqs && txq_pcpu->count <= frags &&
count            3302 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	    txq_pcpu->count > 0) {
count            3377 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		int count;
count            3384 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		count = mvpp2_rx(port, napi, budget, rxq);
count            3385 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		rx_done += count;
count            3386 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		budget -= count;
count             671 drivers/net/ethernet/marvell/octeontx2/af/mbox.h 	u16 count;    /* Number of entries requested */
count             679 drivers/net/ethernet/marvell/octeontx2/af/mbox.h 	u16 count; /* Number of entries allocated */
count             731 drivers/net/ethernet/marvell/octeontx2/af/mbox.h 	u16 count;	/* Number of counters requested */
count             739 drivers/net/ethernet/marvell/octeontx2/af/mbox.h 	u16 count;  /* Number of counters allocated */
count              76 drivers/net/ethernet/marvell/octeontx2/af/rvu.h 	int			count;
count              97 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	list->count = 0;
count             101 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static u16 nix_alloc_mce_list(struct nix_mcast *mcast, int count)
count             109 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mcast->next_free_mce += count;
count            1671 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		mce_list->count--;
count            1688 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	mce_list->count++;
count            1694 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	int err = 0, idx, next_idx, count;
count            1737 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	if (!mce_list->count)
count            1739 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	count = mce_list->count;
count            1744 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		count--;
count            1745 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 		if (count) {
count            1753 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 				    next_idx, count ? false : true);
count            2479 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c 	alloc_req.count = 1;
count             905 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c static inline u64 enable_mask(int count)
count             907 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	return (((count) < 64) ? ~(BIT_ULL(count) - 1) : (0x00ULL));
count            1426 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (fcnt > req->count)
count            1451 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (fcnt < req->count)
count            1511 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (fcnt > req->count) {
count            1514 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	} else if ((fcnt + (hp_fcnt / 2) + (lp_fcnt / 2)) > req->count) {
count            1547 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 						req->count, &max_contig);
count            1548 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		rsp->count = max_contig;
count            1557 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		rsp->count = 0;
count            1559 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		for (entry = 0; entry < req->count; entry++) {
count            1570 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			rsp->count++;
count            1577 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (!req->priority && (rsp->count < req->count) &&
count            1588 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (req->priority && rsp->count < req->count) {
count            1608 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (!req->contig && rsp->count) {
count            1610 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		for (entry = rsp->count - 1; entry >= 0; entry--) {
count            1619 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	for (entry = 0; entry < rsp->count; entry++) {
count            1664 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (!req->contig && req->count > NPC_MAX_NONCONTIG_ENTRIES)
count            1896 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (!req->contig && req->count > NPC_MAX_NONCONTIG_COUNTERS)
count            1907 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	rsp->count = 0;
count            1915 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 						req->count, &max_contig);
count            1916 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		rsp->count = max_contig;
count            1926 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 		for (cntr = 0; cntr < req->count; cntr++) {
count            1931 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 			rsp->count++;
count            2097 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	entry_req.count = 1;
count            2104 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	if (!entry_rsp.count)
count            2115 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c 	cntr_req.count = 1;
count             179 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h 	u64 count                 : 36;
count             181 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h 	u64 count                 : 36;
count             704 drivers/net/ethernet/marvell/pxa168_eth.c 	int count;
count             725 drivers/net/ethernet/marvell/pxa168_eth.c 		count = desc->byte_cnt;
count             735 drivers/net/ethernet/marvell/pxa168_eth.c 		dma_unmap_single(&pep->pdev->dev, addr, count, DMA_TO_DEVICE);
count             502 drivers/net/ethernet/marvell/skge.c 	p->rx_pending = skge->rx_ring.count;
count             503 drivers/net/ethernet/marvell/skge.c 	p->tx_pending = skge->tx_ring.count;
count             516 drivers/net/ethernet/marvell/skge.c 	skge->rx_ring.count = p->rx_pending;
count             517 drivers/net/ethernet/marvell/skge.c 	skge->tx_ring.count = p->tx_pending;
count             915 drivers/net/ethernet/marvell/skge.c 	ring->start = kcalloc(ring->count, sizeof(*e), GFP_KERNEL);
count             919 drivers/net/ethernet/marvell/skge.c 	for (i = 0, e = ring->start, d = vaddr; i < ring->count; i++, e++, d++) {
count             921 drivers/net/ethernet/marvell/skge.c 		if (i == ring->count - 1) {
count            2546 drivers/net/ethernet/marvell/skge.c 	rx_size = skge->rx_ring.count * sizeof(struct skge_rx_desc);
count            2547 drivers/net/ethernet/marvell/skge.c 	tx_size = skge->tx_ring.count * sizeof(struct skge_tx_desc);
count            2725 drivers/net/ethernet/marvell/skge.c 	return ((ring->to_clean > ring->to_use) ? 0 : ring->count)
count            3834 drivers/net/ethernet/marvell/skge.c 	skge->tx_ring.count = DEFAULT_TX_RING_SIZE;
count            3835 drivers/net/ethernet/marvell/skge.c 	skge->rx_ring.count = DEFAULT_RX_RING_SIZE;
count            2406 drivers/net/ethernet/marvell/skge.h 	unsigned long	    count;
count            1790 drivers/net/ethernet/marvell/sky2.c 	unsigned count;
count            1792 drivers/net/ethernet/marvell/sky2.c 	count = (skb_shinfo(skb)->nr_frags + 1)
count            1796 drivers/net/ethernet/marvell/sky2.c 		++count;
count            1798 drivers/net/ethernet/marvell/sky2.c 		++count;	/* possible vlan */
count            1801 drivers/net/ethernet/marvell/sky2.c 		++count;
count            1803 drivers/net/ethernet/marvell/sky2.c 	return count;
count            2561 drivers/net/ethernet/marvell/sky2.c 	u16 count = (status & GMR_FS_LEN) >> 16;
count            2571 drivers/net/ethernet/marvell/sky2.c 		count -= VLAN_HLEN;	/* Account for vlan tag */
count            2579 drivers/net/ethernet/marvell/sky2.c 	    length != count)
count            2589 drivers/net/ethernet/marvell/sky2.c 	if (length != count)
count            3758 drivers/net/ethernet/marvell/sky2.c static void sky2_phy_stats(struct sky2_port *sky2, u64 * data, unsigned count)
count            3767 drivers/net/ethernet/marvell/sky2.c 	for (i = 2; i < count; i++)
count             336 drivers/net/ethernet/mellanox/mlx4/alloc.c static u32 __mlx4_alloc_from_zone(struct mlx4_zone_entry *zone, int count,
count             344 drivers/net/ethernet/mellanox/mlx4/alloc.c 	res = mlx4_bitmap_alloc_range(zone->bitmap, count,
count             362 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(it->bitmap, count,
count             382 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(it->bitmap, count,
count             401 drivers/net/ethernet/mellanox/mlx4/alloc.c 			res = mlx4_bitmap_alloc_range(curr_node->bitmap, count,
count             419 drivers/net/ethernet/mellanox/mlx4/alloc.c 				  u32 count)
count             421 drivers/net/ethernet/mellanox/mlx4/alloc.c 	mlx4_bitmap_free_range(zone->bitmap, obj - zone->offset, count, zone->use_rr);
count             508 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
count             521 drivers/net/ethernet/mellanox/mlx4/alloc.c 	res = __mlx4_alloc_from_zone(zone, count, align, skip_mask, puid);
count             529 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count)
count             543 drivers/net/ethernet/mellanox/mlx4/alloc.c 	__mlx4_free_from_zone(zone, obj, count);
count             551 drivers/net/ethernet/mellanox/mlx4/alloc.c u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count)
count             568 drivers/net/ethernet/mellanox/mlx4/alloc.c 	__mlx4_free_from_zone(zone, obj, count);
count             170 drivers/net/ethernet/mellanox/mlx4/cq.c 		   u16 count, u16 period)
count             181 drivers/net/ethernet/mellanox/mlx4/cq.c 	cq_context->cq_max_count = cpu_to_be16(count);
count             309 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	unsigned int count;
count             316 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 					int count)
count             319 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	h->advance_array = !bitmap_empty(stats_bitmap, count);
count             320 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	h->count = h->advance_array ? bitmap_weight(stats_bitmap, count)
count             321 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		: count;
count             338 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	return h->count;
count            1244 drivers/net/ethernet/mellanox/mlx4/main.c 			     const char *buf, size_t count)
count            1272 drivers/net/ethernet/mellanox/mlx4/main.c 	return err ? err : count;
count            1325 drivers/net/ethernet/mellanox/mlx4/main.c 			     const char *buf, size_t count)
count            1365 drivers/net/ethernet/mellanox/mlx4/main.c 	return err ? err : count;
count            1467 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
count            1474 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   u32 uid, u32 obj, u32 count);
count            1480 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count);
count             308 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				      enum mlx4_resource res_type, int count,
count             332 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (allocated + count > res_alloc->quota[slave]) {
count             334 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  slave, port, resource_str(res_type), count,
count             339 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (allocated + count <= guaranteed) {
count             341 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		from_rsvd = count;
count             345 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			from_free = count - (guaranteed - allocated);
count             347 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			from_free = count;
count             349 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		from_rsvd = count - from_free;
count             363 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			(dev->persist->num_vfs + 1) + slave] += count;
count             364 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->res_port_free[port - 1] -= count;
count             367 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->allocated[slave] += count;
count             368 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			res_alloc->res_free -= count;
count             379 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				    enum mlx4_resource res_type, int count,
count             398 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (allocated - count >= guaranteed) {
count             403 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			from_rsvd = count - (allocated - guaranteed);
count             405 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			from_rsvd = count;
count             410 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		(dev->persist->num_vfs + 1) + slave] -= count;
count             411 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		res_alloc->res_port_free[port - 1] += count;
count             414 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		res_alloc->allocated[slave] -= count;
count             415 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		res_alloc->res_free += count;
count            1278 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count,
count            1288 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	res_arr = kcalloc(count, sizeof(*res_arr), GFP_KERNEL);
count            1292 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	for (i = 0; i < count; ++i) {
count            1304 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	for (i = 0; i < count; ++i) {
count            1328 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	for (i = 0; i < count; ++i)
count            1465 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count,
count            1475 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	for (i = base; i < base + count; ++i) {
count            1490 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	for (i = base; i < base + count; ++i) {
count            1790 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int count;
count            1798 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		count = get_param_l(&in_param) & 0xffffff;
count            1804 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = mlx4_grant_resource(dev, slave, RES_QP, count, 0);
count            1808 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = __mlx4_qp_reserve_range(dev, count, align, &base, flags);
count            1810 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			mlx4_release_resource(dev, slave, RES_QP, count, 0);
count            1814 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = add_res_range(dev, slave, base, count, RES_QP, 0);
count            1816 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			mlx4_release_resource(dev, slave, RES_QP, count, 0);
count            1817 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			__mlx4_qp_release_range(dev, base, count);
count            2363 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int count;
count            2370 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		count = get_param_h(&in_param);
count            2371 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = rem_res_range(dev, slave, base, count, RES_QP, 0);
count            2374 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		mlx4_release_resource(dev, slave, RES_QP, count, 0);
count            2375 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		__mlx4_qp_release_range(dev, base, count);
count              54 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 				   unsigned int count)
count              56 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 	return mlx5_fpga_ipsec_counters_read(mdev, counters, count);
count              47 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h 				   unsigned int count);
count            1084 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 			 size_t count, loff_t *pos)
count            1094 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	if (count < sizeof(lbuf) - 1)
count            1107 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	return err ? err : count;
count            1273 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 			  size_t count, loff_t *pos)
count            1285 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	ptr = memdup_user(buf, count);
count            1289 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	dbg->inlen = count;
count            1291 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	*pos = count;
count            1293 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	return count;
count            1296 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t data_read(struct file *filp, char __user *buf, size_t count,
count            1305 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	return simple_read_from_buffer(buf, count, pos, dbg->out_msg,
count            1316 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static ssize_t outlen_read(struct file *filp, char __user *buf, size_t count,
count            1328 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	return simple_read_from_buffer(buf, count, pos, outlen, err);
count            1332 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 			    size_t count, loff_t *pos)
count            1341 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	if (*pos != 0 || count > 6)
count            1348 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	if (copy_from_user(outlen_str, buf, count))
count            1362 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	*pos = count;
count            1364 drivers/net/ethernet/mellanox/mlx5/core/cmd.c 	return count;
count             124 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c static ssize_t average_read(struct file *filp, char __user *buf, size_t count,
count             138 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	return simple_read_from_buffer(buf, count, pos, tbuf, ret);
count             142 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 			     size_t count, loff_t *pos)
count             152 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	*pos += count;
count             154 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	return count;
count             371 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c static ssize_t dbg_read(struct file *filp, char __user *buf, size_t count,
count             406 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	return simple_read_from_buffer(buf, count, pos, tbuf, ret);
count              10 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c bool mlx5e_xsk_pages_enough_umem(struct mlx5e_rq *rq, int count)
count              15 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c 	return xsk_umem_has_addrs_rq(rq->umem, count);
count              12 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.h bool mlx5e_xsk_pages_enough_umem(struct mlx5e_rq *rq, int count);
count             417 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	unsigned int count = ch->combined_count;
count             422 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (!count) {
count             428 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (cur_params->num_channels == count)
count             444 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	new_channels.params.num_channels = count;
count            2914 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	u16 count = priv->channels.params.num_channels;
count            2918 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 					      MLX5E_INDIR_RQT_SIZE, count);
count             376 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	u32 count;
count             388 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	count = mlx5_fpga_ipsec_counters_count(mdev);
count             390 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	data = kzalloc(array3_size(sizeof(*data), count, 2), GFP_KERNEL);
count             396 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	ret = mlx5_fpga_mem_read(fdev, count * sizeof(u64), addr, data,
count             405 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (count > counters_count)
count             406 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		count = counters_count;
count             409 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	for (i = 0; i < count; i++)
count            1227 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	static int count = BIT(MLX5_SET_FTE_MODIFY_ENABLE_MASK_FLOW_COUNTERS);
count            1264 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 			*modify_mask |= type ? count : dst;
count             707 drivers/net/ethernet/mellanox/mlx5/core/health.c 	u32 count;
count             722 drivers/net/ethernet/mellanox/mlx5/core/health.c 	count = ioread32be(health->health_counter);
count             723 drivers/net/ethernet/mellanox/mlx5/core/health.c 	if (count == health->prev)
count             728 drivers/net/ethernet/mellanox/mlx5/core/health.c 	health->prev = count;
count              45 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.count = 0;
count              52 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.count = 0;
count              56 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count)
count              62 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	if (dev->roce.reserved_gids.start < count) {
count              64 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 			       count);
count              67 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) {
count              68 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 		mlx5_core_warn(dev, "Unable to reserve %d more GIDs\n", count);
count              72 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.start -= count;
count              73 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.count += count;
count              75 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 		      dev->roce.reserved_gids.count,
count              80 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count)
count              83 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	WARN(count > dev->roce.reserved_gids.count, "Unreserving %u GIDs when only %u reserved",
count              84 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	     count, dev->roce.reserved_gids.count);
count              86 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.start += count;
count              87 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	dev->roce.reserved_gids.count -= count;
count              89 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 		      dev->roce.reserved_gids.count,
count              96 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 		  dev->roce.reserved_gids.count;
count             118 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c 	return dev->roce.reserved_gids.count;
count              40 drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h int  mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count);
count              41 drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count);
count            1433 drivers/net/ethernet/mellanox/mlx5/core/main.c 	u32 count;
count            1437 drivers/net/ethernet/mellanox/mlx5/core/main.c 		count = ioread32be(health->health_counter);
count            1438 drivers/net/ethernet/mellanox/mlx5/core/main.c 		if (count && count != 0xffffffff) {
count            1439 drivers/net/ethernet/mellanox/mlx5/core/main.c 			if (last_count && last_count != count) {
count            1442 drivers/net/ethernet/mellanox/mlx5/core/main.c 					       count, i);
count            1445 drivers/net/ethernet/mellanox/mlx5/core/main.c 			last_count = count;
count             353 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 	int	count;
count             430 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 		for (i = 0; i < attr->vlans.count; i++) {
count             494 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 		for (i = 0; i < attr->vlans.count; i++) {
count             757 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 			attr.vlans.count++;
count             761 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 			if (attr.vlans.count == MAX_VLANS)
count             764 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 			attr.vlans.headers[attr.vlans.count++] = action->push_vlan.vlan_hdr;
count             373 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	u16 count;
count             382 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 					       &count);
count             386 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	*p_count = count;
count              43 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 		       const struct mlxfw_mfa2_tlv *from_tlv, u16 count)
count              48 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count)
count              81 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	u16 count = 0;
count              91 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 			count++;
count              93 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 	*p_count = count;
count              21 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 		       const struct mlxfw_mfa2_tlv *from_tlv, u16 count);
count              33 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h #define mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) \
count              34 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 	for (idx = 0, tlv = from_tlv; idx < (count); \
count             741 drivers/net/ethernet/mellanox/mlxsw/core.c 				    unsigned int count,
count             752 drivers/net/ethernet/mellanox/mlxsw/core.c 	return mlxsw_core->driver->port_split(mlxsw_core, port_index, count,
count            2016 drivers/net/ethernet/mellanox/mlxsw/core.c 	int count = size / sizeof(__be32);
count            2018 drivers/net/ethernet/mellanox/mlxsw/core.c 	for (i = count - 1; i >= 0; i--)
count            2022 drivers/net/ethernet/mellanox/mlxsw/core.c 	count = i ? i : 1;
count            2023 drivers/net/ethernet/mellanox/mlxsw/core.c 	for (i = 0; i < count; i += 4)
count             261 drivers/net/ethernet/mellanox/mlxsw/core.h 			  unsigned int count, struct netlink_ext_ack *extack);
count              26 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c static int mlxsw_hwmon_get_attr_index(int index, int count)
count              28 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	if (index >= count)
count              29 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 		return index % count + MLXSW_REG_MTMP_GBOX_INDEX_MIN;
count              77 drivers/net/ethernet/mellanox/mlxsw/pci.c 	u16 count; /* number of elements in queue */
count              99 drivers/net/ethernet/mellanox/mlxsw/pci.c 	u8 count; /* number of queues in group */
count             111 drivers/net/ethernet/mellanox/mlxsw/pci.c 		unsigned int count;
count             151 drivers/net/ethernet/mellanox/mlxsw/pci.c 	int index = q->producer_counter & (q->count - 1);
count             153 drivers/net/ethernet/mellanox/mlxsw/pci.c 	if ((u16) (q->producer_counter - q->consumer_counter) == q->count)
count             161 drivers/net/ethernet/mellanox/mlxsw/pci.c 	int index = q->consumer_counter & (q->count - 1);
count             173 drivers/net/ethernet/mellanox/mlxsw/pci.c 	return owner_bit != !!(q->consumer_counter & q->count);
count             189 drivers/net/ethernet/mellanox/mlxsw/pci.c 	return queue_group->count;
count             267 drivers/net/ethernet/mellanox/mlxsw/pci.c 				       q->consumer_counter + q->count);
count             414 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < q->count; i++) {
count             444 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < q->count; i++) {
count             469 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < q->count; i++) {
count             484 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_mbox_sw2hw_cq_log_cq_size_set(mbox, ilog2(q->count));
count             613 drivers/net/ethernet/mellanox/mlxsw/pci.c 	int credits = q->count >> 1;
count             666 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < q->count; i++) {
count             674 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_mbox_sw2hw_eq_log_eq_size_set(mbox, ilog2(q->count));
count             730 drivers/net/ethernet/mellanox/mlxsw/pci.c 	int credits = q->count >> 1;
count             834 drivers/net/ethernet/mellanox/mlxsw/pci.c 	q->count = q_ops->elem_count_f ? q_ops->elem_count_f(q) :
count             851 drivers/net/ethernet/mellanox/mlxsw/pci.c 	q->elem_info = kcalloc(q->count, sizeof(*q->elem_info), GFP_KERNEL);
count             860 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < q->count; i++) {
count             913 drivers/net/ethernet/mellanox/mlxsw/pci.c 	queue_group->count = num_qs;
count             931 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < queue_group->count; i++)
count            1221 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_pci->fw_area.count = num_pages;
count            1273 drivers/net/ethernet/mellanox/mlxsw/pci.c 	for (i = 0; i < mlxsw_pci->fw_area.count; i++) {
count            4002 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 				      u8 module, unsigned int count, u8 offset)
count            4004 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	u8 width = MLXSW_PORT_MODULE_MAX_WIDTH / count;
count            4007 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	for (i = 0; i < count; i++) {
count            4024 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 					 u8 base_port, unsigned int count)
count            4032 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	count = count / 2;
count            4034 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	for (i = 0; i < count; i++) {
count            4054 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 			       unsigned int count,
count            4082 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (count != 2 && count != 4) {
count            4095 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (count == 2) {
count            4114 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	for (i = 0; i < count; i++)
count            4118 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	err = mlxsw_sp_port_split_create(mlxsw_sp, base_port, module, count,
count            4128 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count);
count            4139 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	unsigned int count;
count            4164 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	count = cur_width == 1 ? 4 : 2;
count            4166 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (count == 2)
count            4174 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (count == 2 && local_port >= base_port + 2)
count            4177 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	for (i = 0; i < count; i++)
count            4181 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	mlxsw_sp_port_unsplit_create(mlxsw_sp, base_port, count);
count             217 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 						 unsigned long count)
count             224 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 			    from_index, count,
count             138 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c 						  unsigned long count)
count             145 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c 				       from_index, to_index, count);
count              50 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	unsigned int count[MLXSW_SP_ACL_TCAM_MASK_LEN];
count             168 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	if (mask->count[bit]++ == 0)
count             176 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 	if (--mask->count[bit] == 0)
count            2718 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	u16 count;
count            2799 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            2822 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            2852 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            2870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (nh_grp->count != fib6_entry->nrt6)
count            2926 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		val = nh_grp->count;
count            2927 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		for (i = 0; i < nh_grp->count; i++) {
count            3164 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3293 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3304 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3323 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3354 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3438 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3896 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	nh_grp->count = nhs;
count            3898 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            3930 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            4012 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            4040 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            4059 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            5150 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	nh_grp->count = fib6_entry->nrt6;
count            5151 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	for (i = 0; i < nh_grp->count; i++) {
count            5183 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	int i = nh_grp->count;
count             226 drivers/net/ethernet/microchip/encx24j600-regmap.c 				size_t count)
count             231 drivers/net/ethernet/microchip/encx24j600-regmap.c 		return encx24j600_cmdn(ctx, reg, data, count);
count             238 drivers/net/ethernet/microchip/encx24j600-regmap.c int regmap_encx24j600_spi_read(void *context, u8 reg, u8 *data, size_t count)
count             242 drivers/net/ethernet/microchip/encx24j600-regmap.c 	if (reg == RBSEL && count > 1)
count             243 drivers/net/ethernet/microchip/encx24j600-regmap.c 		count = 1;
count             245 drivers/net/ethernet/microchip/encx24j600-regmap.c 	return spi_write_then_read(ctx->spi, &reg, sizeof(reg), data, count);
count             174 drivers/net/ethernet/microchip/encx24j600.c 			       size_t count)
count             179 drivers/net/ethernet/microchip/encx24j600.c 	ret = regmap_encx24j600_spi_read(&priv->ctx, reg, data, count);
count             186 drivers/net/ethernet/microchip/encx24j600.c 				const u8 *data, size_t count)
count             191 drivers/net/ethernet/microchip/encx24j600.c 	ret = regmap_encx24j600_spi_write(&priv->ctx, reg, data, count);
count             434 drivers/net/ethernet/microchip/encx24j600_hw.h 				size_t count);
count             435 drivers/net/ethernet/microchip/encx24j600_hw.h int regmap_encx24j600_spi_read(void *context, u8 reg, u8 *data, size_t count);
count              86 drivers/net/ethernet/microchip/lan743x_main.c 				    int usleep_max, int count)
count              92 drivers/net/ethernet/microchip/lan743x_main.c 				  usleep_max, usleep_min * count);
count            2166 drivers/net/ethernet/microchip/lan743x_main.c 	int count;
count            2173 drivers/net/ethernet/microchip/lan743x_main.c 	count = 0;
count            2174 drivers/net/ethernet/microchip/lan743x_main.c 	while (count < weight) {
count            2178 drivers/net/ethernet/microchip/lan743x_main.c 			count++;
count            2187 drivers/net/ethernet/microchip/lan743x_main.c 	rx->frame_count += count;
count            2188 drivers/net/ethernet/microchip/lan743x_main.c 	if (count == weight)
count            2191 drivers/net/ethernet/microchip/lan743x_main.c 	if (!napi_complete_done(napi, count))
count            2207 drivers/net/ethernet/microchip/lan743x_main.c 	return count;
count             583 drivers/net/ethernet/microchip/lan743x_ptp.c 	int count = 0;
count             585 drivers/net/ethernet/microchip/lan743x_ptp.c 	while ((count < 100) &&
count             587 drivers/net/ethernet/microchip/lan743x_ptp.c 		count++;
count             565 drivers/net/ethernet/mscc/ocelot.c 	unsigned int i, count, last;
count             592 drivers/net/ethernet/mscc/ocelot.c 	count = (skb->len + 3) / 4;
count             594 drivers/net/ethernet/mscc/ocelot.c 	for (i = 0; i < count; i++) {
count              30 drivers/net/ethernet/mscc/ocelot_ace.c 		u16 count; /* Action type sub word count */
count              53 drivers/net/ethernet/mscc/ocelot_ace.c 			.count = 2
count              57 drivers/net/ethernet/mscc/ocelot_ace.c 			.count = 4
count             192 drivers/net/ethernet/mscc/ocelot_ace.c 	u32 i, col, offset, count, cnt, base, width = vcap_is2.tg_width;
count             194 drivers/net/ethernet/mscc/ocelot_ace.c 	count = (data->tg_sw == VCAP_TG_HALF ? 2 : 4);
count             196 drivers/net/ethernet/mscc/ocelot_ace.c 	cnt = (vcap_is2.sw_count / count);
count             207 drivers/net/ethernet/mscc/ocelot_ace.c 	col = (count - col - 1);
count             212 drivers/net/ethernet/mscc/ocelot_ace.c 	cnt = vcap_is2.action_table[i].count;
count             214 drivers/net/ethernet/mscc/ocelot_ace.c 		(((cnt * col * width) / count) + vcap_is2.action_type_width);
count             253 drivers/net/ethernet/mscc/ocelot_ace.c 			       u8 *msk, u32 count)
count             260 drivers/net/ethernet/mscc/ocelot_ace.c 	offset += (count * 8);
count             261 drivers/net/ethernet/mscc/ocelot_ace.c 	for (i = 0; i < count; i++) {
count             262 drivers/net/ethernet/mscc/ocelot_ace.c 		j = (count - i - 1);
count             266 drivers/net/ethernet/mscc/ocelot_ace.c 		if (n == ENTRY_WIDTH || (i + 1) == count) {
count             332 drivers/net/ethernet/mscc/ocelot_ace.c 	u32 val, msk, type, type_mask = 0xf, i, count;
count             557 drivers/net/ethernet/mscc/ocelot_ace.c 		count = (vcap_is2.entry_width / 2);
count             558 drivers/net/ethernet/mscc/ocelot_ace.c 		for (i = (IS2_HKO_PCP + IS2_HKL_PCP); i < count;
count             561 drivers/net/ethernet/mscc/ocelot_ace.c 			vcap_key_set(&data, i, min(32u, count - i), 0, 0);
count             600 drivers/net/ethernet/mscc/ocelot_ace.c 	block->count++;
count             656 drivers/net/ethernet/mscc/ocelot_ace.c 	for (i = acl_block->count - 1; i > index; i--) {
count             680 drivers/net/ethernet/mscc/ocelot_ace.c 	block->count--;
count             698 drivers/net/ethernet/mscc/ocelot_ace.c 	for (i = index; i < acl_block->count; i++) {
count             704 drivers/net/ethernet/mscc/ocelot_ace.c 	is2_entry_set(rule->port->ocelot, acl_block->count, &del_ace);
count             734 drivers/net/ethernet/mscc/ocelot_ace.c 	block->count = 0;
count             217 drivers/net/ethernet/mscc/ocelot_ace.h 	int count;
count            2637 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	int idx, avail, frag_cnt, frag_idx, count, mss, max_segments;
count            2740 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	count = 0;
count            2770 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 			if (unlikely(count == max_segments))
count            2820 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 			count++;
count            2842 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 		idx = (count + tx->req) & tx->mask;
count            2854 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	idx = ((count - 1) + tx->req) & tx->mask;
count            2856 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	myri10ge_submit_req(tx, tx->req_list, count);
count            2865 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	if ((avail - count) < MXGEFW_MAX_SEND_DESC) {
count             658 drivers/net/ethernet/natsemi/natsemi.c 	        const char *buf, size_t count); \
count             679 drivers/net/ethernet/natsemi/natsemi.c 					     const char *buf, size_t count)
count             686 drivers/net/ethernet/natsemi/natsemi.c         if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))
count             688 drivers/net/ethernet/natsemi/natsemi.c         else if (!strncmp("off", buf, count - 1) ||
count             689 drivers/net/ethernet/natsemi/natsemi.c                  !strncmp("0", buf, count - 1))
count             692 drivers/net/ethernet/natsemi/natsemi.c                  return count;
count             700 drivers/net/ethernet/natsemi/natsemi.c 	return count;
count            1123 drivers/net/ethernet/neterion/s2io.c 			int count = (nic->config.bus_speed * 125)/2;
count            1124 drivers/net/ethernet/neterion/s2io.c 			val64 = TTI_DATA1_MEM_TX_TIMER_VAL(count);
count            1671 drivers/net/ethernet/neterion/s2io.c 		int count = (nic->config.bus_speed * 125)/4;
count            1672 drivers/net/ethernet/neterion/s2io.c 		val64 = RTI_DATA1_MEM_RX_TIMER_VAL(count);
count            6448 drivers/net/ethernet/neterion/s2io.c 		int count = 0;
count            6455 drivers/net/ethernet/neterion/s2io.c 			count++;
count            6457 drivers/net/ethernet/neterion/s2io.c 		tmp_stats[i++] = count;
count              52 drivers/net/ethernet/neterion/vxge/vxge-config.c 	int count = 0, total_count = 0;
count              81 drivers/net/ethernet/neterion/vxge/vxge-config.c 			count = 0;
count              83 drivers/net/ethernet/neterion/vxge/vxge-config.c 			count++;
count              85 drivers/net/ethernet/neterion/vxge/vxge-config.c 	} while ((count < VXGE_HW_MIN_SUCCESSIVE_IDLE_COUNT) &&
count             266 drivers/net/ethernet/netronome/nfp/abm/main.c 	if (id > pf->eth_tbl->count) {
count             454 drivers/net/ethernet/netronome/nfp/abm/main.c 	if (pf->max_data_vnics != pf->eth_tbl->count) {
count             456 drivers/net/ethernet/netronome/nfp/abm/main.c 			pf->max_data_vnics, pf->eth_tbl->count);
count             204 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	unsigned int i, count, n_entries;
count             225 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	count = be32_to_cpu(reply->count);
count             227 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	for (i = 0; i < count; i++) {
count             238 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 			if (i + 1 == count)
count             296 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	unsigned int n_entries, reply_entries, count;
count             323 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	req->count = cpu_to_be32(n_entries);
count             347 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	count = be32_to_cpu(reply->count);
count             352 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	reply_entries = count + !!err;
count             353 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c 	if (n_entries > 1 && count)
count              99 drivers/net/ethernet/netronome/nfp/bpf/fw.h 	__be32 count;
count             105 drivers/net/ethernet/netronome/nfp/bpf/fw.h 	__be32 count;
count             112 drivers/net/ethernet/netronome/nfp/bpf/fw.h 	__be32 count;
count             673 drivers/net/ethernet/netronome/nfp/bpf/jit.c static void wrp_nops(struct nfp_prog *nfp_prog, unsigned int count)
count             675 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	while (count--)
count            4187 drivers/net/ethernet/netronome/nfp/bpf/jit.c 	u8 count = 0;
count            4207 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			if (!count)
count            4210 drivers/net/ethernet/netronome/nfp/bpf/jit.c 			if (count > 1) {
count            4241 drivers/net/ethernet/netronome/nfp/bpf/jit.c 				count = 1;
count            4247 drivers/net/ethernet/netronome/nfp/bpf/jit.c 				count = 0;
count            4266 drivers/net/ethernet/netronome/nfp/bpf/jit.c 		count++;
count              73 drivers/net/ethernet/netronome/nfp/bpf/main.c 	if (pf->max_data_vnics != pf->eth_tbl->count) {
count              75 drivers/net/ethernet/netronome/nfp/bpf/main.c 			pf->max_data_vnics, pf->eth_tbl->count);
count             228 drivers/net/ethernet/netronome/nfp/bpf/main.h 	u32 count;
count              42 drivers/net/ethernet/netronome/nfp/bpf/offload.c 		record->count++;
count              61 drivers/net/ethernet/netronome/nfp/bpf/offload.c 	record->count = 1;
count              86 drivers/net/ethernet/netronome/nfp/bpf/offload.c 		if (--nfp_prog->map_records[i]->count) {
count             217 drivers/net/ethernet/netronome/nfp/flower/cmsg.c 	flow_cnt = msg->count + 1;
count             528 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	u8 count;
count             266 drivers/net/ethernet/netronome/nfp/flower/main.c 	int i, err, count = 0;
count             283 drivers/net/ethernet/netronome/nfp/flower/main.c 			count++;
count             287 drivers/net/ethernet/netronome/nfp/flower/main.c 	return count;
count             496 drivers/net/ethernet/netronome/nfp/flower/main.c 	ctrl_skb = nfp_flower_cmsg_mac_repr_start(app, eth_tbl->count);
count             506 drivers/net/ethernet/netronome/nfp/flower/main.c 	for (i = 0; i < eth_tbl->count; i++) {
count              48 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	__be32 count;
count             103 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	__be32 count;
count             130 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	__be16 count;
count             172 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	int count, i, pay_len;
count             178 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	count = be32_to_cpu(payload->count);
count             179 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	if (count > NFP_FL_MAX_ROUTES) {
count             185 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	if (pay_len != struct_size(payload, tun_info, count)) {
count             191 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	for (i = 0; i < count; i++) {
count             430 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	int count;
count             434 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	count = 0;
count             436 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 		if (count >= NFP_FL_IPV4_ADDRS_MAX) {
count             442 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 		payload.ipv4_addr[count++] = entry->ipv4_addr;
count             444 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	payload.count = cpu_to_be32(count);
count             516 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	payload.count = cpu_to_be16(1);
count              66 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		       unsigned int count, struct netlink_ext_ack *extack)
count              73 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (count < 2)
count              84 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (eth_port.is_split || eth_port.port_lanes % count) {
count              90 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	lanes = eth_port.port_lanes / count;
count              91 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (eth_port.lanes == 10 && count == 2)
count              92 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		lanes = 8 / count;
count             412 drivers/net/ethernet/netronome/nfp/nfp_main.c 	for (i = 0; spc > 0 && i < pf->eth_tbl->count; i += j) {
count             415 drivers/net/ethernet/netronome/nfp/nfp_main.c 		while (i + j < pf->eth_tbl->count &&
count             588 drivers/net/ethernet/netronome/nfp/nfp_main.c 	for (i = 0; i < pf->eth_tbl->count; i++)
count             679 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	unsigned int count;
count             684 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 			count = nfp_vnic_get_hw_stats_count(0);
count             686 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 			count = nfp_mac_get_stats_count(netdev);
count             687 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		count += nfp_app_port_get_stats_count(port);
count             688 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		return count;
count              67 drivers/net/ethernet/netronome/nfp/nfp_net_main.c 	for (i = 0; eth_tbl && i < eth_tbl->count; i++)
count             193 drivers/net/ethernet/netronome/nfp/nfp_port.c 	if (!pf->eth_tbl || id >= pf->eth_tbl->count) {
count             151 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h 	unsigned int count;
count             180 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	for (i = 0; i < table->count; i++) {
count             183 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		for (j = 0; j < table->count; j++) {
count             279 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	table->count = cnt;
count             286 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	for (i = 0; i < table->count; i++)
count              13 drivers/net/ethernet/netronome/nfp/nic/main.c 	if (pf->eth_tbl && pf->max_data_vnics != pf->eth_tbl->count) {
count              15 drivers/net/ethernet/netronome/nfp/nic/main.c 			pf->max_data_vnics, pf->eth_tbl->count);
count             728 drivers/net/ethernet/nvidia/forcedeth.c #define nv_txrx_stats_add(member, count) \
count             729 drivers/net/ethernet/nvidia/forcedeth.c 		__this_cpu_add(np->txrx_stats->member, (count))
count            5227 drivers/net/ethernet/nvidia/forcedeth.c 	int result, count;
count            5229 drivers/net/ethernet/nvidia/forcedeth.c 	count = nv_get_sset_count(dev, ETH_SS_TEST);
count            5230 drivers/net/ethernet/nvidia/forcedeth.c 	memset(buffer, 0, count * sizeof(u64));
count            5274 drivers/net/ethernet/nvidia/forcedeth.c 		if (count > NV_TEST_COUNT_BASE && !nv_loopback_test(dev)) {
count             446 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h 	unsigned int count;
count             469 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h 	unsigned int count;
count             281 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	ring->rx_pending = rxdr->count;
count             282 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	ring->tx_pending = txdr->count;
count             325 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	rxdr->count =
count             327 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	rxdr->count = roundup(rxdr->count, PCH_GBE_RX_DESC_MULTIPLE);
count             329 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	txdr->count =
count             331 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	txdr->count = roundup(txdr->count, PCH_GBE_TX_DESC_MULTIPLE);
count              56 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
count             934 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (i = 0; i < tx_ring->count; i++) {
count             941 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	size = (unsigned long)sizeof(struct pch_gbe_buffer) * tx_ring->count;
count             967 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (i = 0; i < rx_ring->count; i++) {
count             973 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	size = (unsigned long)sizeof(struct pch_gbe_buffer) * rx_ring->count;
count            1150 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	if (unlikely((ring_num + 1) == tx_ring->count))
count            1189 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	if (unlikely(++ring_num == tx_ring->count))
count            1401 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 		if (unlikely(++i == rx_ring->count))
count            1407 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 			i = (rx_ring->count - 1);
count            1427 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY;
count            1435 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (i = 0; i < rx_ring->count; i++) {
count            1460 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (i = 0; i < tx_ring->count; i++) {
count            1500 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	thresh = tx_ring->count - PCH_GBE_TX_WEIGHT;
count            1517 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 			if (++k >= tx_ring->count) k = 0;  /*increment, wrap*/
count            1573 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 		if (unlikely(++i == tx_ring->count))
count            1712 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 		if (++i == rx_ring->count)
count            1737 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	size = (int)sizeof(struct pch_gbe_buffer) * tx_ring->count;
count            1742 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	tx_ring->size = tx_ring->count * (int)sizeof(struct pch_gbe_tx_desc);
count            1754 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (desNo = 0; desNo < tx_ring->count; desNo++) {
count            1781 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	size = (int)sizeof(struct pch_gbe_buffer) * rx_ring->count;
count            1786 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	rx_ring->size = rx_ring->count * (int)sizeof(struct pch_gbe_rx_desc);
count            1795 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	for (desNo = 0; desNo < rx_ring->count; desNo++) {
count            1902 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	err = pch_gbe_alloc_rx_buffers_pool(adapter, rx_ring, rx_ring->count);
count            1909 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	pch_gbe_alloc_rx_buffers(adapter, rx_ring, rx_ring->count);
count             449 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		tx_ring->count = TxDescriptors;
count             450 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		pch_gbe_validate_option(&tx_ring->count, &opt, adapter);
count             451 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		tx_ring->count = roundup(tx_ring->count,
count             465 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		rx_ring->count = RxDescriptors;
count             466 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		pch_gbe_validate_option(&rx_ring->count, &opt, adapter);
count             467 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c 		rx_ring->count = roundup(rx_ring->count,
count             582 drivers/net/ethernet/pasemi/pasemi_mac.c 	int fill, count;
count             588 drivers/net/ethernet/pasemi/pasemi_mac.c 	for (count = 0; count < limit; count++) {
count             620 drivers/net/ethernet/pasemi/pasemi_mac.c 	write_dma_reg(PAS_DMA_RXINT_INCR(mac->dma_if), count);
count             622 drivers/net/ethernet/pasemi/pasemi_mac.c 	rx_ring(mac)->next_to_fill = (rx_ring(mac)->next_to_fill + count) &
count             700 drivers/net/ethernet/pasemi/pasemi_mac.c 	int count, buf_index, tot_bytes, packets;
count             716 drivers/net/ethernet/pasemi/pasemi_mac.c 	for (count = 0; count < limit; count++) {
count             799 drivers/net/ethernet/pasemi/pasemi_mac.c 	write_dma_reg(PAS_DMA_RXCHAN_INCR(mac->rx->chan.chno), count << 1);
count             801 drivers/net/ethernet/pasemi/pasemi_mac.c 	pasemi_mac_replenish_rx_ring(mac->netdev, count);
count             808 drivers/net/ethernet/pasemi/pasemi_mac.c 	return count;
count              53 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	int count = 0;
count              57 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 		count = ionic_get_stats_count(lif);
count              60 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 		count = PRIV_FLAGS_COUNT;
count              63 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	return count;
count             696 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	int count = 10;
count             713 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	} while (--count);
count             715 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	if (!count)
count             210 drivers/net/ethernet/qlogic/netxen/netxen_nic.h #define get_index_range(index,length,count)	\
count             211 drivers/net/ethernet/qlogic/netxen/netxen_nic.h 	(((index) + (count)) & ((length) - 1))
count             145 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c 	int count =  adapter->mdump.md_template_size/sizeof(uint32_t) ;
count             147 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c 	while (count-- > 0)
count            1050 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	int count = 10;
count            1070 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	} while (--count > 0);
count            1072 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	if (count > 0)
count            2115 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	int i, count = 0;
count            2124 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	if (!lck_val && count < MAX_CTL_CHECK) {
count            2126 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 		count++;
count             874 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	u32 count, old_count;
count             901 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER);
count             902 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		if (count != old_count)
count             907 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	if (count == old_count)
count            1658 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	int count = 0;
count            1662 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	while (count < max) {
count            1705 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		count++;
count            1727 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	if (count) {
count            1732 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	return count;
count            1739 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	int count = 0, i;
count            1773 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		if (++count >= MAX_STATUS_HANDLE)
count            1779 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	if (count && netif_running(netdev)) {
count            1813 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	int producer, count = 0;
count            1829 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		count++;
count            1841 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	if (count) {
count            1871 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	int producer, count = 0;
count            1889 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		count++;
count            1901 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	if (count) {
count             148 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_alloc_sds_rings(struct netxen_recv_context *recv_ctx, int count)
count             150 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int size = sizeof(struct nx_host_sds_ring) * count;
count             450 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static void netxen_init_msix_entries(struct netxen_adapter *adapter, int count)
count             454 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	for (i = 0; i < count; i++)
count            2381 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int count;
count            2385 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	count = NXRD32(adapter, NX_CRB_DEV_REF_COUNT);
count            2387 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	NXWR32(adapter, NX_CRB_DEV_REF_COUNT, ++count);
count            2390 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	return count;
count            2396 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int count, state;
count            2400 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	count = NXRD32(adapter, NX_CRB_DEV_REF_COUNT);
count            2401 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	WARN_ON(count == 0);
count            2403 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	NXWR32(adapter, NX_CRB_DEV_REF_COUNT, --count);
count            2406 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	if (count == 0 && state != NX_DEV_FAILED)
count            2410 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	return count;
count            2462 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int count;
count            2470 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	count = NXRD32(adapter, NX_CRB_DEV_REF_COUNT);
count            2472 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	if ((count < 0) || (count >= NX_MAX_PCI_FUNC))
count            2473 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		count = 0;
count            2475 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	if (count == 0) {
count            2480 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	NXWR32(adapter, NX_CRB_DEV_REF_COUNT, ++count);
count            2540 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	int count;
count            2543 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		count = NXRD32(adapter, NX_CRB_DEV_REF_COUNT);
count            2544 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		WARN_ON(count == 0);
count            2545 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		if (count == 1) {
count            2558 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 			count = NXRD32(adapter, NX_CRB_DEV_REF_COUNT);
count            2559 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 			NXWR32(adapter, NX_CRB_DEV_REF_COUNT, --count);
count             131 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	u32 count;
count             353 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				iids->pf_tids[j] += segs[j].count;
count             359 drivers/net/ethernet/qlogic/qed/qed_cxt.c 			iids->per_vf_tids += segs[NUM_TASK_PF_SEGMENTS].count;
count             390 drivers/net/ethernet/qlogic/qed/qed_cxt.c 			iids->tids += segs[j].count;
count             396 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		vf_tids += segs[NUM_TASK_PF_SEGMENTS].count;
count             417 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		if (p_cfg->conn_cfg[i].tid_seg[seg].count)
count             479 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		cnt += p_hwfn->p_cxt_mngr->conn_cfg[type].tid_seg[i].count;
count             487 drivers/net/ethernet/qlogic/qed/qed_cxt.c 					u8 seg_type, u32 count, bool has_fl)
count             492 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	p_seg->count = count;
count             639 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		if (!p_seg || p_seg->count == 0)
count             643 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
count             654 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		if (!p_seg || p_seg->count == 0)
count             682 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
count             695 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	if (p_seg && p_seg->count) {
count             701 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		total = p_seg->count * p_mngr->task_type_size[p_seg->type];
count             867 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		if (!p_seg || p_seg->count == 0)
count            1873 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				 p_tid->count);
count            1877 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				 p_tid->count);
count            2386 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		       u32 start_iid, u32 count)
count            2392 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	u32 end_iid = start_iid + count;
count             279 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 		     u32 pri_tc_tbl, int count, u8 dcbx_version)
count             288 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 	DP_VERBOSE(p_hwfn, QED_MSG_DCB, "Num APP entries = %d\n", count);
count             293 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 	for (i = 0; i < count; i++) {
count            2421 drivers/net/ethernet/qlogic/qed/qed_dev.c 	u32 command = 0, addr, count = FINAL_CLEANUP_POLL_CNT;
count            2450 drivers/net/ethernet/qlogic/qed/qed_dev.c 	while (!REG_RD(p_hwfn, addr) && count--)
count             378 drivers/net/ethernet/qlogic/qed/qed_int.c 	u32 count = QED_DB_REC_COUNT;
count             394 drivers/net/ethernet/qlogic/qed/qed_int.c 	while (count-- && usage) {
count            1379 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	int count;
count            1383 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	count = init ? QED_IWARP_PREALLOC_CNT : 1;
count            1384 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	for (i = 0; i < count; i++) {
count            2250 drivers/net/ethernet/qlogic/qed/qed_main.c 	u16 cfg_id, count;
count            2260 drivers/net/ethernet/qlogic/qed/qed_main.c 	count = *((u16 *)*data);
count            2264 drivers/net/ethernet/qlogic/qed/qed_main.c 		   "Read config ids: num_attrs = %0d\n", count);
count            2268 drivers/net/ethernet/qlogic/qed/qed_main.c 	for (i = 1; i <= count; i++) {
count            2285 drivers/net/ethernet/qlogic/qed/qed_main.c 		if (!(i % QED_NVM_CFG_MAX_ATTRS) || i == count) {
count             568 drivers/net/ethernet/qlogic/qede/qede.h void qede_recycle_rx_bd_ring(struct qede_rx_queue *rxq, u8 count);
count             206 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c 				      u16 *count)
count             210 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c 	return edev->ops->dcb->peer_getappinfo(edev->cdev, info, count);
count            1097 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	u32 count;
count            1104 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	count = channels->rx_count + channels->tx_count +
count            1121 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	if (count > QEDE_MAX_RSS_CNT(edev)) {
count            1124 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			   count, QEDE_MAX_RSS_CNT(edev));
count            1129 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	if ((count == QEDE_QUEUE_CNT(edev)) &&
count            1138 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	if ((count % edev->dev_info.common.num_hwfns) ||
count            1148 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	edev->req_queues = count;
count             315 drivers/net/ethernet/qlogic/qede/qede_filter.c 	int count = QEDE_ARFS_POLL_COUNT;
count             317 drivers/net/ethernet/qlogic/qede/qede_filter.c 	while (count) {
count             324 drivers/net/ethernet/qlogic/qede/qede_filter.c 		count--;
count             327 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (!count) {
count            1465 drivers/net/ethernet/qlogic/qede/qede_filter.c 	int count = QEDE_ARFS_POLL_COUNT;
count            1467 drivers/net/ethernet/qlogic/qede/qede_filter.c 	while (fltr->used && count) {
count            1469 drivers/net/ethernet/qlogic/qede/qede_filter.c 		count--;
count            1472 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (count == 0 || fltr->fw_rc) {
count            1734 drivers/net/ethernet/qlogic/qede/qede_filter.c 	int count = 0;
count            1741 drivers/net/ethernet/qlogic/qede/qede_filter.c 	count = edev->arfs->filter_count;
count            1745 drivers/net/ethernet/qlogic/qede/qede_filter.c 	return count;
count             524 drivers/net/ethernet/qlogic/qede/qede_fp.c void qede_recycle_rx_bd_ring(struct qede_rx_queue *rxq, u8 count)
count             528 drivers/net/ethernet/qlogic/qede/qede_fp.c 	for (; count > 0; count--) {
count             989 drivers/net/ethernet/qlogic/qede/qede_fp.c 	NAPI_GRO_CB(skb)->count = le16_to_cpu(cqe->num_of_coalesced_segs);
count             533 drivers/net/ethernet/qlogic/qede/qede_main.c 	int cos, count, offset;
count             542 drivers/net/ethernet/qlogic/qede/qede_main.c 		count = QEDE_TSS_COUNT(edev);
count             544 drivers/net/ethernet/qlogic/qede/qede_main.c 		netdev_set_tc_queue(ndev, cos, count, offset);
count             565 drivers/net/ethernet/qlogic/qla3xxx.c 	int count = 1000;
count             567 drivers/net/ethernet/qlogic/qla3xxx.c 	while (count) {
count             572 drivers/net/ethernet/qlogic/qla3xxx.c 		count--;
count            2402 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h static inline void qlcnic_swap32_buffer(u32 *buffer, int count)
count            2408 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	for (i = 0; i < count; i++) {
count             734 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	u16 count;
count             738 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		count = (QLC_83XX_MAX_UC_COUNT - QLC_83XX_MAX_MC_COUNT) /
count             741 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		count = (QLC_83XX_LB_MAX_FILTERS - QLC_83XX_MAX_MC_COUNT) /
count             743 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	ahw->max_uc_count = count;
count            2637 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 				      int count)
count            2652 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	range = flash_offset + (count * sizeof(u32));
count            2657 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		for (i = 0; i < count; i++) {
count            2680 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		for (i = 0; i < count; i++) {
count            2788 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	int count, fdt_size, ret = 0;
count            2791 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	count = fdt_size / sizeof(u32);
count            2799 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 						count);
count            2800 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	qlcnic_swap32_buffer((u32 *)&adapter->ahw->fdt, count);
count            2892 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 				 u32 *p_data, int count)
count            2897 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	if ((count < QLC_83XX_FLASH_WRITE_MIN) ||
count            2898 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	    (count > QLC_83XX_FLASH_WRITE_MAX)) {
count            2924 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	count--;
count            2928 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	while (count != 1) {
count            2939 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		count--;
count            3085 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 				u32 *data, u32 count)
count            3097 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	for (i = 0; i < count; i++, addr += 16) {
count            3136 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			     u8 *p_data, int count)
count            3151 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	for (i = 0; i < count; i++) {
count              74 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	u16	count;
count              80 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	u16	count;
count            1690 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	int count = p_dev->ahw->reset.hdr->size / sizeof(u16);
count            1692 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	while (count-- > 0)
count            1709 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	u32 addr, count, prev_ver, curr_ver;
count            1728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	count = sizeof(struct qlc_83xx_reset_hdr) / sizeof(u32);
count            1731 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	if (qlcnic_83xx_flash_read32(p_dev, addr, p_buff, count)) {
count            1738 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	count = (ahw->reset.hdr->size - ahw->reset.hdr->hdr_size) / sizeof(u32);
count            1741 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	if (qlcnic_83xx_flash_read32(p_dev, addr, p_buff, count)) {
count            1803 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	for (i = 0; i < p_hdr->count; i++, entry++) {
count            1821 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	for (i = 0; i < p_hdr->count; i++, entry++) {
count            1847 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 		for (i = 0; i < p_hdr->count; i++, entry++)
count            1852 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 		for (i = 0; i < p_hdr->count; i++, entry++) {
count            1887 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	for (i = 0; i < p_hdr->count; i++, entry++) {
count            1912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	for (i = 0; i < p_hdr->count; i++, entry++) {
count            1943 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	for (i = 0; i < p_hdr->count; i++, entry++) {
count            2097 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	int timeout, count, ret = 0;
count            2140 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	count = 0;
count            2143 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 		count += 100;
count            2148 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	} while (timeout > count);
count            2150 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 	if (timeout <= count) {
count             850 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int  count = 0;
count             866 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		count++;
count             878 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	if (count) {
count             891 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int i, done, count = 0;
count             922 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		if (++count >= budget)
count             928 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	if (count && netif_running(netdev)) {
count            1364 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int opcode, desc_cnt, count = 0;
count            1369 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	while (count < max) {
count            1409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		count++;
count            1429 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	if (count) {
count            1434 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	return count;
count            1442 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int count = 0;
count            1458 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		count++;
count            1471 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	if (count) {
count            1890 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	int count = 0, opcode;
count            1893 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	while (count < max) {
count            1926 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		count++;
count            1943 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	if (count) {
count            1947 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	return count;
count             281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c int qlcnic_alloc_sds_rings(struct qlcnic_recv_context *recv_ctx, int count)
count             283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	int size = sizeof(struct qlcnic_host_sds_ring) * count;
count            2247 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	u16 count;
count            2251 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		count = (QLCNIC_MAX_UC_COUNT - QLCNIC_MAX_MC_COUNT) /
count            2254 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		count = (QLCNIC_LB_MAX_FILTERS - QLCNIC_MAX_MC_COUNT) /
count            2256 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	ahw->max_uc_count = count;
count             562 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	int i, count = 0;
count             570 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	if (!lck_val && count < MAX_CTL_CHECK) {
count             572 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 		count++;
count            1086 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	int count = temp_size / sizeof(uint32_t);
count            1087 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c 	while (count-- > 0)
count              63 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h 	int			count;
count             250 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		t_list->count--;
count             832 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		t_list->count--;
count             834 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		if (t_list->count > 0)
count            1122 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	t_list->count++;
count            1124 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	if (t_list->count == 1)
count            1154 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 	if (vf->rcv_pend.count > 0) {
count            1174 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			vf->rcv_pend.count--;
count            1257 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		vf->rcv_pend.count++;
count             372 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 			      struct qlcnic_pm_func_cfg *pm_cfg, int count)
count             378 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int count, rem, i, ret, index;
count             411 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count	= size / sizeof(struct qlcnic_pm_func_cfg);
count             418 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	ret = validate_pm_config(adapter, pm_cfg, count);
count             422 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             436 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             459 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	u32 count;
count             464 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(struct qlcnic_pm_func_cfg);
count             467 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 		if (pci_func >= count) {
count             469 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 				__func__, adapter->ahw->total_nic_func, count);
count             484 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 			       struct qlcnic_esw_func_cfg *esw_cfg, int count)
count             496 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             552 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int count, rem, i, ret;
count             556 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count	= size / sizeof(struct qlcnic_esw_func_cfg);
count             563 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	ret = validate_esw_config(adapter, esw_cfg, count);
count             567 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             600 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             636 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	u32 count;
count             641 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(struct qlcnic_esw_func_cfg);
count             644 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 		if (pci_func >= count) {
count             646 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 				__func__, adapter->ahw->total_nic_func, count);
count             662 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 				int count)
count             666 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             688 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int i, count, rem, ret, index;
count             691 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count	= size / sizeof(struct qlcnic_npar_func_cfg);
count             698 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	ret = validate_npar_config(adapter, np_cfg, count);
count             702 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             737 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	u32 count;
count             743 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(struct qlcnic_npar_func_cfg);
count             745 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 		if (adapter->npars[i].pci_func >= count) {
count             747 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 				__func__, adapter->ahw->total_nic_func, count);
count             912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	u32 count;
count             925 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(struct qlcnic_pci_func_cfg);
count             927 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             948 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int  ret, count;
count             955 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(u32);
count             958 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 		count++;
count             969 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 						count);
count             978 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	qlcnic_swap32_buffer((u32 *)p_read_buf, count);
count             989 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int  i, ret, count;
count             996 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(u32);
count             997 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	qlcnic_swap32_buffer((u32 *)buf, count);
count            1015 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count / QLC_83XX_FLASH_WRITE_MAX; i++) {
count            1057 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	int  i, ret, count;
count            1067 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	count = size / sizeof(u32);
count            1083 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c 	for (i = 0; i < count; i++) {
count             311 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	writel(adpt->tx_q.tpd.count & TPD_RING_SIZE_BMSK,
count             323 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	writel(adpt->rx_q.rfd.count & RFD_RING_SIZE_BMSK,
count             325 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	writel(adpt->rx_q.rrd.count & RRD_RING_SIZE_BMSK,
count             595 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	for (i = 0; i < tx_q->tpd.count; i++) {
count             610 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	size = sizeof(struct emac_buffer) * tx_q->tpd.count;
count             632 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	for (i = 0; i < rx_q->rfd.count; i++) {
count             646 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	size =  sizeof(struct emac_buffer) * rx_q->rfd.count;
count             681 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	size = sizeof(struct emac_buffer) * tx_q->tpd.count;
count             686 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	tx_q->tpd.size = tx_q->tpd.count * (adpt->tpd_size * 4);
count             723 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	size = sizeof(struct emac_buffer) * rx_q->rfd.count;
count             728 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	rx_q->rrd.size = rx_q->rrd.count * (adpt->rrd_size * 4);
count             729 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	rx_q->rfd.size = rx_q->rfd.count * (adpt->rfd_size * 4);
count             757 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	adpt->tx_q.tpd.count = adpt->tx_desc_cnt;
count             759 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	adpt->rx_q.rrd.count = adpt->rx_desc_cnt;
count             760 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	adpt->rx_q.rfd.count = adpt->rx_desc_cnt;
count             833 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	for (i = 0; i < adpt->tx_q.tpd.count; i++)
count             840 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	for (i = 0; i < adpt->rx_q.rfd.count; i++)
count             854 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (++rx_q->rfd.produce_idx == rx_q->rfd.count)
count             864 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	unsigned int count = 0;
count             868 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (next_produce_idx == rx_q->rfd.count)
count             898 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		if (next_produce_idx == rx_q->rfd.count)
count             903 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		count++;
count             906 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (count) {
count            1018 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (++rx_q->rrd.consume_idx == rx_q->rrd.count)
count            1033 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (++tx_q->tpd.produce_idx == tx_q->tpd.count)
count            1063 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		if (++consume_idx == rx_q->rfd.count)
count            1093 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	unsigned int count = 0;
count            1103 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		(hw_consume_idx + rx_q->rrd.count - rx_q->rrd.consume_idx);
count            1127 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		count++;
count            1158 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	if (count) {
count            1175 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		(tx_q->tpd.count + consume_idx - produce_idx - 1);
count            1203 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		if (++tx_q->tpd.consume_idx == tx_q->tpd.count)
count            1340 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	int count = 0;
count            1363 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		count++;
count            1384 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		count++;
count            1404 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		count++;
count            1422 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	while (count--) {
count            1429 drivers/net/ethernet/qualcomm/emac/emac-mac.c 		if (++first == tx_q->tpd.count)
count             155 drivers/net/ethernet/qualcomm/emac/emac-mac.h 	unsigned int		count;		/* number of desc in the ring */
count             166 drivers/net/ethernet/qualcomm/emac/emac-mac.h 	unsigned int		count;		/* number of desc in the ring */
count             200 drivers/net/ethernet/qualcomm/emac/emac-mac.h 	unsigned int		count;		/* number of desc in the ring */
count             156 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c 		int count;
count             163 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c 		count = atomic_inc_return(&phy->decode_error_count);
count             164 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c 		if (count == DECODE_ERROR_LIMIT) {
count             255 drivers/net/ethernet/qualcomm/qca_debug.c 	ring->tx_pending = qca->txr.count;
count             272 drivers/net/ethernet/qualcomm/qca_debug.c 	qca->txr.count = max_t(u32, ring->tx_pending, TX_RING_MIN_LEN);
count             273 drivers/net/ethernet/qualcomm/qca_debug.c 	qca->txr.count = min_t(u16, qca->txr.count, TX_RING_MAX_LEN);
count             241 drivers/net/ethernet/qualcomm/qca_spi.c 	u32 count;
count             254 drivers/net/ethernet/qualcomm/qca_spi.c 		count = len;
count             255 drivers/net/ethernet/qualcomm/qca_spi.c 		if (count > qca->burst_len)
count             256 drivers/net/ethernet/qualcomm/qca_spi.c 			count = qca->burst_len;
count             261 drivers/net/ethernet/qualcomm/qca_spi.c 						      count);
count             265 drivers/net/ethernet/qualcomm/qca_spi.c 						     count);
count             268 drivers/net/ethernet/qualcomm/qca_spi.c 		if (written != count)
count             271 drivers/net/ethernet/qualcomm/qca_spi.c 		offset += count;
count             272 drivers/net/ethernet/qualcomm/qca_spi.c 		len -= count;
count             328 drivers/net/ethernet/qualcomm/qca_spi.c 		if (new_head >= qca->txr.count)
count             383 drivers/net/ethernet/qualcomm/qca_spi.c 		u32 count = available;
count             385 drivers/net/ethernet/qualcomm/qca_spi.c 		if (count > qca->burst_len)
count             386 drivers/net/ethernet/qualcomm/qca_spi.c 			count = qca->burst_len;
count             390 drivers/net/ethernet/qualcomm/qca_spi.c 							count);
count             393 drivers/net/ethernet/qualcomm/qca_spi.c 						       count);
count             767 drivers/net/ethernet/qualcomm/qca_spi.c 	if (new_tail >= qca->txr.count)
count             872 drivers/net/ethernet/qualcomm/qca_spi.c 	qca->txr.count = TX_RING_MAX_LEN;
count              61 drivers/net/ethernet/qualcomm/qca_spi.h 	u16 count;
count              64 drivers/net/ethernet/qualcomm/qca_uart.c 		size_t count)
count              82 drivers/net/ethernet/qualcomm/qca_uart.c 	for (i = 0; i < count; i++) {
count             514 drivers/net/ethernet/rdc/r6040.c 	int count = 0;
count             518 drivers/net/ethernet/rdc/r6040.c 	while (count < limit && !(descptr->status & DSC_OWNER_MAC)) {
count             574 drivers/net/ethernet/rdc/r6040.c 		count++;
count             578 drivers/net/ethernet/rdc/r6040.c 	return count;
count             140 drivers/net/ethernet/realtek/r8169_firmware.c 	int predata = 0, count = 0;
count             155 drivers/net/ethernet/realtek/r8169_firmware.c 			count++;
count             177 drivers/net/ethernet/realtek/r8169_firmware.c 			count = 0;
count             183 drivers/net/ethernet/realtek/r8169_firmware.c 			if (count == data)
count            6144 drivers/net/ethernet/realtek/r8169_main.c 	unsigned int count;
count            6233 drivers/net/ethernet/realtek/r8169_main.c 	count = cur_rx - tp->cur_rx;
count            6236 drivers/net/ethernet/realtek/r8169_main.c 	return count;
count             487 drivers/net/ethernet/renesas/ravb_main.c 	int count;
count             490 drivers/net/ethernet/renesas/ravb_main.c 	count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8;
count             491 drivers/net/ethernet/renesas/ravb_main.c 	while (count--) {
count            1741 drivers/net/ethernet/renesas/sh_eth.c 			u32 count = (sh_eth_read(ndev, RDFAR) -
count            1744 drivers/net/ethernet/renesas/sh_eth.c 			mdp->cur_rx = count;
count            1745 drivers/net/ethernet/renesas/sh_eth.c 			mdp->dirty_rx = count;
count            1481 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	unsigned int count = 0;
count            1485 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	while (count < limit) {
count            1495 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		count++;
count            1536 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	return count;
count            1709 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	u64 count;
count            1745 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	count = sxgbe_get_stat64(ioaddr, SXGBE_MMC_TXFRAMELO_GBCNT_REG,
count            1750 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	stats->tx_errors = count - stats->tx_errors;
count            1751 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	stats->tx_packets = count;
count            4692 drivers/net/ethernet/sfc/ef10.c 	s32 count = 0;
count            4701 drivers/net/ethernet/sfc/ef10.c 			++count;
count            4705 drivers/net/ethernet/sfc/ef10.c 	return count;
count            4722 drivers/net/ethernet/sfc/ef10.c 	s32 count = 0;
count            4731 drivers/net/ethernet/sfc/ef10.c 			if (count == size) {
count            4732 drivers/net/ethernet/sfc/ef10.c 				count = -EMSGSIZE;
count            4735 drivers/net/ethernet/sfc/ef10.c 			buf[count++] =
count            4743 drivers/net/ethernet/sfc/ef10.c 	return count;
count            6362 drivers/net/ethernet/sfc/ef10.c 		if (nic_data->udp_tunnels[i].count &&
count            6456 drivers/net/ethernet/sfc/ef10.c 		if (!nic_data->udp_tunnels[i].count)
count            6492 drivers/net/ethernet/sfc/ef10.c 			match->count++;
count            6507 drivers/net/ethernet/sfc/ef10.c 		if (!nic_data->udp_tunnels[i].count) {
count            6509 drivers/net/ethernet/sfc/ef10.c 			nic_data->udp_tunnels[i].count = 1;
count            6572 drivers/net/ethernet/sfc/ef10.c 			if (--match->count) {
count            1388 drivers/net/ethernet/sfc/efx.c 	unsigned int count;
count            1392 drivers/net/ethernet/sfc/efx.c 		count = rss_cpus;
count            1400 drivers/net/ethernet/sfc/efx.c 		count = 0;
count            1403 drivers/net/ethernet/sfc/efx.c 				++count;
count            1412 drivers/net/ethernet/sfc/efx.c 	if (count > EFX_MAX_RX_QUEUES) {
count            1415 drivers/net/ethernet/sfc/efx.c 			       count, EFX_MAX_RX_QUEUES);
count            1416 drivers/net/ethernet/sfc/efx.c 		count = EFX_MAX_RX_QUEUES;
count            1425 drivers/net/ethernet/sfc/efx.c 		    count > efx_vf_size(efx)) {
count            1430 drivers/net/ethernet/sfc/efx.c 				   count, efx_vf_size(efx));
count            1431 drivers/net/ethernet/sfc/efx.c 			count = efx_vf_size(efx);
count            1436 drivers/net/ethernet/sfc/efx.c 	return count;
count            2536 drivers/net/ethernet/sfc/efx.c 			    const char *buf, size_t count)
count            2540 drivers/net/ethernet/sfc/efx.c 	bool enable = count > 0 && *buf != '0';
count            2543 drivers/net/ethernet/sfc/efx.c 	return count;
count            1327 drivers/net/ethernet/sfc/falcon/efx.c 	unsigned int count;
count            1331 drivers/net/ethernet/sfc/falcon/efx.c 		count = rss_cpus;
count            1339 drivers/net/ethernet/sfc/falcon/efx.c 		count = 0;
count            1342 drivers/net/ethernet/sfc/falcon/efx.c 				++count;
count            1351 drivers/net/ethernet/sfc/falcon/efx.c 	if (count > EF4_MAX_RX_QUEUES) {
count            1354 drivers/net/ethernet/sfc/falcon/efx.c 			       count, EF4_MAX_RX_QUEUES);
count            1355 drivers/net/ethernet/sfc/falcon/efx.c 		count = EF4_MAX_RX_QUEUES;
count            1358 drivers/net/ethernet/sfc/falcon/efx.c 	return count;
count            1017 drivers/net/ethernet/sfc/falcon/falcon.c 	int count;
count            1027 drivers/net/ethernet/sfc/falcon/falcon.c 	for (count = 0; count < 1000; count++) {
count            1274 drivers/net/ethernet/sfc/falcon/falcon.c 	int count;
count            1283 drivers/net/ethernet/sfc/falcon/falcon.c 		for (count = 0; count < 10000; count++) {
count            1308 drivers/net/ethernet/sfc/falcon/falcon.c 	count = 0;
count            1316 drivers/net/ethernet/sfc/falcon/falcon.c 				  count);
count            1319 drivers/net/ethernet/sfc/falcon/falcon.c 		if (count > 20) {
count            1323 drivers/net/ethernet/sfc/falcon/falcon.c 		count++;
count            1549 drivers/net/ethernet/sfc/falcon/falcon.c 	int count;
count            1552 drivers/net/ethernet/sfc/falcon/falcon.c 	for (count = 0; count < 5000; count++) {
count            2114 drivers/net/ethernet/sfc/falcon/falcon.c 	int count;
count            2129 drivers/net/ethernet/sfc/falcon/falcon.c 	count = 0;
count            2132 drivers/net/ethernet/sfc/falcon/falcon.c 			  "waiting for SRAM reset (attempt %d)...\n", count);
count            2145 drivers/net/ethernet/sfc/falcon/falcon.c 	} while (++count < 20);	/* wait up to 0.4 sec */
count             366 drivers/net/ethernet/sfc/falcon/falcon_boards.c 				 const char *buf, size_t count)
count             374 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	if (count == 0 || *buf == '0')
count             396 drivers/net/ethernet/sfc/falcon/falcon_boards.c 	return err ? err : count;
count            2628 drivers/net/ethernet/sfc/falcon/farch.c 	u32 count = 0;
count            2639 drivers/net/ethernet/sfc/falcon/farch.c 				++count;
count            2645 drivers/net/ethernet/sfc/falcon/farch.c 	return count;
count            2656 drivers/net/ethernet/sfc/falcon/farch.c 	s32 count = 0;
count            2667 drivers/net/ethernet/sfc/falcon/farch.c 				if (count == size) {
count            2668 drivers/net/ethernet/sfc/falcon/farch.c 					count = -EMSGSIZE;
count            2671 drivers/net/ethernet/sfc/falcon/farch.c 				buf[count++] = ef4_farch_filter_make_id(
count            2679 drivers/net/ethernet/sfc/falcon/farch.c 	return count;
count             446 drivers/net/ethernet/sfc/falcon/nic.c size_t ef4_nic_describe_stats(const struct ef4_hw_stat_desc *desc, size_t count,
count             452 drivers/net/ethernet/sfc/falcon/nic.c 	for_each_set_bit(index, mask, count) {
count             480 drivers/net/ethernet/sfc/falcon/nic.c void ef4_nic_update_stats(const struct ef4_hw_stat_desc *desc, size_t count,
count             486 drivers/net/ethernet/sfc/falcon/nic.c 	for_each_set_bit(index, mask, count) {
count             500 drivers/net/ethernet/sfc/falcon/nic.h size_t ef4_nic_describe_stats(const struct ef4_hw_stat_desc *desc, size_t count,
count             502 drivers/net/ethernet/sfc/falcon/nic.h void ef4_nic_update_stats(const struct ef4_hw_stat_desc *desc, size_t count,
count             157 drivers/net/ethernet/sfc/falcon/rx.c 	unsigned index, count;
count             159 drivers/net/ethernet/sfc/falcon/rx.c 	count = 0;
count             202 drivers/net/ethernet/sfc/falcon/rx.c 	} while (++count < efx->rx_pages_per_batch);
count             584 drivers/net/ethernet/sfc/falcon/selftest.c 	int count, link_up_count = 0;
count             587 drivers/net/ethernet/sfc/falcon/selftest.c 	for (count = 0; count < 40; count++) {
count             450 drivers/net/ethernet/sfc/falcon/tx.c 		net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
count             243 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 		int count = ef4_mdio_read(efx, mmd, TXC_BIST_RX0ERRCNT + lane);
count             244 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 		if (count != 0) {
count             246 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 				  "Lane %d had %d errs\n", lane, count);
count             249 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 		count = ef4_mdio_read(efx, mmd, TXC_BIST_RX0FRMCNT + lane);
count             250 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 		if (count == 0) {
count            2685 drivers/net/ethernet/sfc/farch.c 	u32 count = 0;
count            2696 drivers/net/ethernet/sfc/farch.c 				++count;
count            2702 drivers/net/ethernet/sfc/farch.c 	return count;
count            2713 drivers/net/ethernet/sfc/farch.c 	s32 count = 0;
count            2724 drivers/net/ethernet/sfc/farch.c 				if (count == size) {
count            2725 drivers/net/ethernet/sfc/farch.c 					count = -EMSGSIZE;
count            2728 drivers/net/ethernet/sfc/farch.c 				buf[count++] = efx_farch_filter_make_id(
count            2736 drivers/net/ethernet/sfc/farch.c 	return count;
count            1233 drivers/net/ethernet/sfc/mcdi.c 		int count;
count            1236 drivers/net/ethernet/sfc/mcdi.c 		for (count = 0; count < MCDI_STATUS_DELAY_COUNT; ++count) {
count            1973 drivers/net/ethernet/sfc/mcdi.c 	int rc, count;
count            1978 drivers/net/ethernet/sfc/mcdi.c 	count = 0;
count            1986 drivers/net/ethernet/sfc/mcdi.c 					count, efx_rx_queue_index(rx_queue));
count            1987 drivers/net/ethernet/sfc/mcdi.c 				count++;
count            1993 drivers/net/ethernet/sfc/mcdi.c 			  MC_CMD_FLUSH_RX_QUEUES_IN_LEN(count), NULL, 0, NULL);
count             783 drivers/net/ethernet/sfc/mcdi_port.c 	unsigned int retry, i, count = 0;
count             817 drivers/net/ethernet/sfc/mcdi_port.c 	results[count++] = (status == MC_CMD_POLL_BIST_PASSED) ? 1 : -1;
count             827 drivers/net/ethernet/sfc/mcdi_port.c 				results[count + i] =
count             832 drivers/net/ethernet/sfc/mcdi_port.c 		count += 8;
count             834 drivers/net/ethernet/sfc/mcdi_port.c 	rc = count;
count            1119 drivers/net/ethernet/sfc/net_driver.h 	u16 count;
count             453 drivers/net/ethernet/sfc/nic.c size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
count             459 drivers/net/ethernet/sfc/nic.c 	for_each_set_bit(index, mask, count) {
count             487 drivers/net/ethernet/sfc/nic.c void efx_nic_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
count             493 drivers/net/ethernet/sfc/nic.c 	for_each_set_bit(index, mask, count) {
count             681 drivers/net/ethernet/sfc/nic.h size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
count             683 drivers/net/ethernet/sfc/nic.h void efx_nic_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
count             157 drivers/net/ethernet/sfc/rx.c 	unsigned index, count;
count             159 drivers/net/ethernet/sfc/rx.c 	count = 0;
count             202 drivers/net/ethernet/sfc/rx.c 	} while (++count < efx->rx_pages_per_batch);
count             584 drivers/net/ethernet/sfc/selftest.c 	int count, link_up_count = 0;
count             587 drivers/net/ethernet/sfc/selftest.c 	for (count = 0; count < 40; count++) {
count             241 drivers/net/ethernet/sfc/siena_sriov.c 				  unsigned int count)
count             252 drivers/net/ethernet/sfc/siena_sriov.c 	if (WARN_ON(count > MC_CMD_MEMCPY_IN_RECORD_MAXNUM))
count             254 drivers/net/ethernet/sfc/siena_sriov.c 	used = MC_CMD_MEMCPY_IN_LEN(count);
count             256 drivers/net/ethernet/sfc/siena_sriov.c 	for (index = 0; index < count; index++) {
count             259 drivers/net/ethernet/sfc/siena_sriov.c 			       count);
count             405 drivers/net/ethernet/sfc/siena_sriov.c 	unsigned int pos, count;
count             435 drivers/net/ethernet/sfc/siena_sriov.c 	count = 0;
count             437 drivers/net/ethernet/sfc/siena_sriov.c 		if (count == vf->peer_page_count) {
count             447 drivers/net/ethernet/sfc/siena_sriov.c 		copy[pos].to_addr = vf->peer_page_addrs[count];
count             454 drivers/net/ethernet/sfc/siena_sriov.c 		++count;
count             477 drivers/net/ethernet/sfc/siena_sriov.c 				 u64 *addr, unsigned count)
count             482 drivers/net/ethernet/sfc/siena_sriov.c 	for (pos = 0; pos < count; ++pos) {
count             680 drivers/net/ethernet/sfc/siena_sriov.c 	unsigned count = efx_vf_size(efx);
count             696 drivers/net/ethernet/sfc/siena_sriov.c 	for (index = 0; index < count; ++index) {
count             723 drivers/net/ethernet/sfc/siena_sriov.c 		for (index = 0; index < count; ++index) {
count             740 drivers/net/ethernet/sfc/siena_sriov.c 	for (index = 0; index < count; ++index) {
count             945 drivers/net/ethernet/sfc/siena_sriov.c 	unsigned int pos, count, k, buftbl, abs_evq;
count             965 drivers/net/ethernet/sfc/siena_sriov.c 	for (pos = 0; pos < vf->evq0_count; pos += count) {
count             966 drivers/net/ethernet/sfc/siena_sriov.c 		count = min_t(unsigned, vf->evq0_count - pos,
count             968 drivers/net/ethernet/sfc/siena_sriov.c 		for (k = 0; k < count; k++) {
count             976 drivers/net/ethernet/sfc/siena_sriov.c 		rc = efx_siena_sriov_memcpy(efx, copy_req, count);
count            1053 drivers/net/ethernet/sfc/siena_sriov.c 	unsigned count;
count            1058 drivers/net/ethernet/sfc/siena_sriov.c 	if (efx_siena_sriov_cmd(efx, false, &efx->vi_scale, &count)) {
count            1062 drivers/net/ethernet/sfc/siena_sriov.c 	if (count > 0 && count > max_vfs)
count            1063 drivers/net/ethernet/sfc/siena_sriov.c 		count = max_vfs;
count            1066 drivers/net/ethernet/sfc/siena_sriov.c 	efx->vf_count = count;
count             707 drivers/net/ethernet/sfc/tx.c 		net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
count              48 drivers/net/ethernet/sis/sis190.c #define sis190_rx_quota(count, quota)	count
count             579 drivers/net/ethernet/sis/sis190.c 	u32 delta, count;
count             636 drivers/net/ethernet/sis/sis190.c 	count = cur_rx - tp->cur_rx;
count             640 drivers/net/ethernet/sis/sis190.c 	if (!delta && count)
count             647 drivers/net/ethernet/sis/sis190.c 	return count;
count             145 drivers/net/ethernet/smsc/smc911x.h 			      void *addr, unsigned int count)
count             150 drivers/net/ethernet/smsc/smc911x.h 		ioread32_rep(ioaddr, addr, count);
count             155 drivers/net/ethernet/smsc/smc911x.h 		ioread16_rep(ioaddr, addr, count * 2);
count             163 drivers/net/ethernet/smsc/smc911x.h 			     void *addr, unsigned int count)
count             168 drivers/net/ethernet/smsc/smc911x.h 		iowrite32_rep(ioaddr, addr, count);
count             173 drivers/net/ethernet/smsc/smc911x.h 		iowrite16_rep(ioaddr, addr, count * 2);
count            1467 drivers/net/ethernet/socionext/sni_ave.c 	int count, mc_cnt;
count            1487 drivers/net/ethernet/socionext/sni_ave.c 		for (count = 0; count < AVE_PF_MULTICAST_SIZE; count++)
count            1488 drivers/net/ethernet/socionext/sni_ave.c 			ave_pfsel_stop(ndev, AVE_PFNUM_MULTICAST + count);
count            1491 drivers/net/ethernet/socionext/sni_ave.c 		count = 0;
count            1493 drivers/net/ethernet/socionext/sni_ave.c 			if (count == mc_cnt)
count            1495 drivers/net/ethernet/socionext/sni_ave.c 			ave_pfsel_set_macaddr(ndev, AVE_PFNUM_MULTICAST + count,
count            1497 drivers/net/ethernet/socionext/sni_ave.c 			count++;
count             289 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 			int index, unsigned long *count, const char **desc)
count             298 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	if (count)
count             299 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 		*count = *(ptr + index);
count             373 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dwmac5_rxp_get_next_entry(struct stmmac_tc_entry *entries, unsigned int count,
count             381 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	for (i = count - 1; i >= 0; i--) {
count             413 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 		      unsigned int count)
count             431 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	for (i = 0; i < count; i++) {
count             438 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 		entry = dwmac5_rxp_get_next_entry(entries, count, curr_prio);
count             473 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	for (i = 0; i < count; i++) {
count              80 drivers/net/ethernet/stmicro/stmmac/dwmac5.h 			int index, unsigned long *count, const char **desc);
count              82 drivers/net/ethernet/stmicro/stmmac/dwmac5.h 		      unsigned int count);
count             859 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 				     int index, unsigned long *count,
count             869 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	if (count)
count             870 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 		*count = *(ptr + index);
count             939 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 			    unsigned int count, u32 curr_prio)
count             946 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	for (i = count - 1; i >= 0; i--) {
count             979 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 			       unsigned int count)
count             997 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	for (i = 0; i < count; i++) {
count            1004 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 		entry = dwxgmac3_rxp_get_next_entry(entries, count, curr_prio);
count            1039 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	for (i = 0; i < count; i++) {
count             345 drivers/net/ethernet/stmicro/stmmac/hwif.h 			int index, unsigned long *count, const char **desc);
count             348 drivers/net/ethernet/stmicro/stmmac/hwif.h 			  unsigned int count);
count             482 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 	unsigned long count;
count             488 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 						&count, NULL))
count             489 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 				data[j++] = count;
count            1874 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	unsigned int entry, count = 0;
count            1881 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	while ((entry != tx_q->cur_tx) && (count < budget)) {
count            1897 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		count++;
count            1973 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	return count;
count            3460 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	unsigned int count = 0, error = 0, len = 0;
count            3476 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	while (count < limit) {
count            3485 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		if (!count && rx_q->state_saved) {
count            3496 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		if (count >= limit)
count            3542 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			count++;
count            3582 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 				count++;
count            3648 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		count++;
count            3660 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	priv->xstats.rx_pkt_n += count;
count            3662 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	return count;
count            1845 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	int count = stmmac_selftest_get_count(priv);
count            1849 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	memset(buf, 0, sizeof(*buf) * count);
count            1868 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	for (i = 0; i < count; i++) {
count             244 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	unsigned int count;
count             283 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 		count = 64;
count             286 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 		count = 128;
count             289 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 		count = 256;
count             296 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	priv->tc_entries_max = count;
count             298 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 			count, sizeof(*priv->tc_entries), GFP_KERNEL);
count             302 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	tc_fill_all_pass_entry(&priv->tc_entries[count - 1]);
count            1848 drivers/net/ethernet/sun/cassini.c 	int entry, count;
count            1855 drivers/net/ethernet/sun/cassini.c 	count = TX_BUFF_COUNT(ring, entry, limit);
count            1869 drivers/net/ethernet/sun/cassini.c 		count -= skb_shinfo(skb)->nr_frags +
count            1871 drivers/net/ethernet/sun/cassini.c 		if (count < 0)
count            2208 drivers/net/ethernet/sun/cassini.c 	unsigned int entry, last, count, released;
count            2218 drivers/net/ethernet/sun/cassini.c 	count = entry & 0x3;
count            2246 drivers/net/ethernet/sun/cassini.c 		if (++count == 4) {
count            2248 drivers/net/ethernet/sun/cassini.c 			count = 0;
count             715 drivers/net/ethernet/sun/sungem.c 	int cluster_start, curr, count, kick;
count             718 drivers/net/ethernet/sun/sungem.c 	count = 0;
count             723 drivers/net/ethernet/sun/sungem.c 		if (++count == 4) {
count             734 drivers/net/ethernet/sun/sungem.c 			count = 0;
count            1625 drivers/net/ethernet/sun/sunvnet_common.c 			info.count = n_addrs;
count            1633 drivers/net/ethernet/sun/sunvnet_common.c 		info.count = n_addrs;
count            1651 drivers/net/ethernet/sun/sunvnet_common.c 			info.count = n_addrs;
count            1661 drivers/net/ethernet/sun/sunvnet_common.c 		info.count = n_addrs;
count             287 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c 			 unsigned int count,
count             293 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c 	while (count--) {
count            2945 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	unsigned int i, count;
count            2957 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		count = 2000;
count            2961 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		while (--count && regval)
count            2964 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		if (!count)
count            3043 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	unsigned int count = 2000;
count            3054 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	while (--count &&
count            3059 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	if (!count)
count              41 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 			unsigned int count)
count              45 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 	if (count > xlgmac_tx_avail_desc(ring)) {
count             639 drivers/net/ethernet/synopsys/dwc-xlgmac.h 			 unsigned int count,
count            2274 drivers/net/ethernet/ti/cpsw.c 	int fifo, num_tc, count, offset;
count            2301 drivers/net/ethernet/ti/cpsw.c 			count = mqprio->qopt.count[i];
count            2303 drivers/net/ethernet/ti/cpsw.c 			netdev_set_tc_queue(ndev, i, count, offset);
count             115 drivers/net/ethernet/ti/davinci_cpdma.c 	int				count;
count             395 drivers/net/ethernet/ti/davinci_cpdma.c 			chan_write(chan, rxfree, chan->count);
count            1026 drivers/net/ethernet/ti/davinci_cpdma.c 	if (chan->count >= chan->desc_num)	{
count            1075 drivers/net/ethernet/ti/davinci_cpdma.c 	chan->count++;
count            1187 drivers/net/ethernet/ti/davinci_cpdma.c 	free_tx_desc = (chan->count < chan->desc_num) &&
count            1255 drivers/net/ethernet/ti/davinci_cpdma.c 	chan->count--;
count            1360 drivers/net/ethernet/ti/davinci_cpdma.c 		chan->count--;
count            1097 drivers/net/ethernet/ti/tlan.c 	tail_list->buffer[0].count = TLAN_LAST_BUFFER | (u32) txlen;
count            1098 drivers/net/ethernet/ti/tlan.c 	tail_list->buffer[1].count = 0;
count            1927 drivers/net/ethernet/ti/tlan.c 		list->buffer[2].count = 0;
count            1940 drivers/net/ethernet/ti/tlan.c 		list->buffer[0].count = TLAN_MAX_FRAME_SIZE | TLAN_LAST_BUFFER;
count            1950 drivers/net/ethernet/ti/tlan.c 		list->buffer[1].count = 0;
count            2067 drivers/net/ethernet/ti/tlan.c 			i, list->buffer[i].count, list->buffer[i].address);
count             137 drivers/net/ethernet/ti/tlan.h 	u32	count;
count            1347 drivers/net/ethernet/toshiba/tc35815.c 	static int count;
count            1357 drivers/net/ethernet/toshiba/tc35815.c 	if (count++ > 100)
count            2046 drivers/net/ethernet/via/via-rhine.c 	int count;
count            2052 drivers/net/ethernet/via/via-rhine.c 	for (count = 0; count < limit; ++count) {
count            2148 drivers/net/ethernet/via/via-rhine.c 	return count;
count             987 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	int count;
count            1010 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	for (count = 0; !(sr & XAXIDMA_SR_HALT_MASK) && count < 5; ++count) {
count            1016 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	for (count = 0; !(sr & XAXIDMA_SR_HALT_MASK) && count < 5; ++count) {
count              29 drivers/net/fddi/skfp/h/fddimib.h 	Counter		count ;
count             713 drivers/net/fddi/skfp/h/smt.h 	u_int		count ;
count              80 drivers/net/fddi/skfp/hwmtm.c 			      int count);
count             322 drivers/net/fddi/skfp/hwmtm.c 			      int count)
count             330 drivers/net/fddi/skfp/hwmtm.c 	for (i=count-1, d1=start; i ; i--) {
count             344 drivers/net/fddi/skfp/hwmtm.c 	for (i=count, d1=start; i ; i--) {
count             486 drivers/net/fddi/skfp/pmf.c 		smc->mib.fddiSMTSetCount.count++ ;
count             538 drivers/net/fddi/skfp/pmf.c 		if ((smc->mib.fddiSMTSetCount.count != sc->count) ||
count             207 drivers/net/fddi/skfp/smt.c 	u_long	count;
count             212 drivers/net/fddi/skfp/smt.c 	count =	((time - smc->sm.last_tok_time[mac_index]) *
count             222 drivers/net/fddi/skfp/smt.c 		smc->mib.m[mac_index].fddiMACToken_Ct += count;
count            1518 drivers/net/fddi/skfp/smt.c 	setcount->count = smc->mib.fddiSMTSetCount.count ;
count             167 drivers/net/hamradio/6pack.c 	int actual, count;
count             194 drivers/net/hamradio/6pack.c 	count = encode_sixpack(p, sp->xbuff, len, sp->tx_delay);
count             223 drivers/net/hamradio/6pack.c 		actual = sp->tty->ops->write(sp->tty, sp->xbuff, count);
count             224 drivers/net/hamradio/6pack.c 		sp->xleft = count - actual;
count             229 drivers/net/hamradio/6pack.c 		sp->xleft = count;
count             231 drivers/net/hamradio/6pack.c 		sp->status2 = count;
count             340 drivers/net/hamradio/6pack.c 	int count;
count             343 drivers/net/hamradio/6pack.c 	count = sp->rcount + 1;
count             345 drivers/net/hamradio/6pack.c 	sp->dev->stats.rx_bytes += count;
count             347 drivers/net/hamradio/6pack.c 	if ((skb = dev_alloc_skb(count + 1)) == NULL)
count             350 drivers/net/hamradio/6pack.c 	ptr = skb_put(skb, count + 1);
count             353 drivers/net/hamradio/6pack.c 	memcpy(ptr, sp->cooked_buf + 1, count);
count             436 drivers/net/hamradio/6pack.c 	const unsigned char *cp, char *fp, int count)
count             441 drivers/net/hamradio/6pack.c 	if (!count)
count             449 drivers/net/hamradio/6pack.c 	count1 = count;
count             450 drivers/net/hamradio/6pack.c 	while (count) {
count             451 drivers/net/hamradio/6pack.c 		count--;
count             797 drivers/net/hamradio/6pack.c 	int count = 0;
count             805 drivers/net/hamradio/6pack.c 	for (count = 1; count < length; count++)
count             806 drivers/net/hamradio/6pack.c 		buf[count] = tx_buf[count];
count             808 drivers/net/hamradio/6pack.c 	for (count = 0; count < length; count++)
count             809 drivers/net/hamradio/6pack.c 		checksum += buf[count];
count             812 drivers/net/hamradio/6pack.c 	for (count = 0; count <= length; count++) {
count             813 drivers/net/hamradio/6pack.c 		if ((count % 3) == 0) {
count             814 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count++] = (buf[count] & 0x3f);
count             815 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count] = ((buf[count] >> 2) & 0x30);
count             816 drivers/net/hamradio/6pack.c 		} else if ((count % 3) == 1) {
count             817 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count++] |= (buf[count] & 0x0f);
count             818 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count] =	((buf[count] >> 2) & 0x3c);
count             820 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count++] |= (buf[count] & 0x03);
count             821 drivers/net/hamradio/6pack.c 			tx_buf_raw[raw_count++] = (buf[count] >> 2);
count             952 drivers/net/hamradio/6pack.c sixpack_decode(struct sixpack *sp, const unsigned char *pre_rbuff, int count)
count             957 drivers/net/hamradio/6pack.c 	for (count1 = 0; count1 < count; count1++) {
count             238 drivers/net/hamradio/mkiss.c 	int count;
count             281 drivers/net/hamradio/mkiss.c 	count = ax->rcount;
count             283 drivers/net/hamradio/mkiss.c 	if ((skb = dev_alloc_skb(count)) == NULL) {
count             291 drivers/net/hamradio/mkiss.c 	skb_put_data(skb, ax->rbuff, count);
count             295 drivers/net/hamradio/mkiss.c 	ax->dev->stats.rx_bytes += count;
count             427 drivers/net/hamradio/mkiss.c 	int actual, count;
count             477 drivers/net/hamradio/mkiss.c 			count = kiss_esc(p, ax->xbuff, len);
count             489 drivers/net/hamradio/mkiss.c 			count = kiss_esc_crc(p, ax->xbuff, crc, len+2);
count             498 drivers/net/hamradio/mkiss.c 			count = kiss_esc_crc(p, ax->xbuff, crc, len+2);
count             502 drivers/net/hamradio/mkiss.c 			count = kiss_esc(p, ax->xbuff, len);
count             508 drivers/net/hamradio/mkiss.c 	actual = ax->tty->ops->write(ax->tty, ax->xbuff, count);
count             513 drivers/net/hamradio/mkiss.c 	ax->xleft = count - actual;
count             875 drivers/net/hamradio/mkiss.c 	char *fp, int count)
count             890 drivers/net/hamradio/mkiss.c 	while (count--) {
count             609 drivers/net/hyperv/hyperv_net.h 	u32 count;
count             768 drivers/net/hyperv/hyperv_net.h 	u16 count;
count             837 drivers/net/hyperv/hyperv_net.h 	u32 count; /* counter of batched packets */
count             895 drivers/net/hyperv/netvsc.c 	msdp->count = 0;
count             937 drivers/net/hyperv/netvsc.c 	try_batch =  msd_len > 0 && msdp->count < net_device->max_pkt;
count             991 drivers/net/hyperv/netvsc.c 			msdp->count++;
count             996 drivers/net/hyperv/netvsc.c 			msdp->count = 0;
count            1068 drivers/net/hyperv/netvsc.c 	u32 count = nvdev->recv_completion_cnt;
count            1073 drivers/net/hyperv/netvsc.c 		*filled = (count - mrc->first) + mrc->next;
count            1075 drivers/net/hyperv/netvsc.c 	*avail = count - *filled - 1;
count            1123 drivers/net/hyperv/netvsc.c 	int count = 0;
count            1141 drivers/net/hyperv/netvsc.c 	count = vmxferpage_packet->range_cnt;
count            1144 drivers/net/hyperv/netvsc.c 	for (i = 0; i < count; i++) {
count            1162 drivers/net/hyperv/netvsc.c 		nvchan->rsc.is_last = (i == count - 1);
count            1177 drivers/net/hyperv/netvsc.c 	return count;
count            1186 drivers/net/hyperv/netvsc.c 	u32 count, offset, *tab;
count            1189 drivers/net/hyperv/netvsc.c 	count = nvmsg->msg.v5_msg.send_table.count;
count            1192 drivers/net/hyperv/netvsc.c 	if (count != VRSS_SEND_TAB_SIZE) {
count            1193 drivers/net/hyperv/netvsc.c 		netdev_err(ndev, "Received wrong send-table size:%u\n", count);
count            1202 drivers/net/hyperv/netvsc.c 	    sizeof(union nvsp_6_message_uber) + count * sizeof(u32))
count            1207 drivers/net/hyperv/netvsc.c 	if (offset > msglen - count * sizeof(u32)) {
count            1215 drivers/net/hyperv/netvsc.c 	for (i = 0; i < count; i++)
count            1007 drivers/net/hyperv/netvsc_drv.c 	unsigned int orig, count = channels->combined_count;
count            1012 drivers/net/hyperv/netvsc_drv.c 	if (count == 0 ||
count            1022 drivers/net/hyperv/netvsc_drv.c 	if (count > nvdev->max_chn)
count            1032 drivers/net/hyperv/netvsc_drv.c 	device_info->num_chn = count;
count             506 drivers/net/ieee802154/mrf24j40.c 				      size_t count)
count             511 drivers/net/ieee802154/mrf24j40.c 	if (count > 3)
count             518 drivers/net/ieee802154/mrf24j40.c 	memcpy(buf, data, count);
count             521 drivers/net/ieee802154/mrf24j40.c 	return spi_write(spi, buf, count);
count              99 drivers/net/ipvlan/ipvlan.h 	int			count;
count             146 drivers/net/ipvlan/ipvlan_main.c 	port->count += 1;
count             159 drivers/net/ipvlan/ipvlan_main.c 	port->count -= 1;
count             160 drivers/net/ipvlan/ipvlan_main.c 	if (!port->count)
count              50 drivers/net/macvlan.c 	int			count;
count             896 drivers/net/macvlan.c 	port->count += 1;
count             909 drivers/net/macvlan.c 	port->count -= 1;
count             910 drivers/net/macvlan.c 	if (!port->count)
count            1443 drivers/net/macvlan.c 		if (port->count) {
count             312 drivers/net/netconsole.c 		const char *buf, size_t count)
count             364 drivers/net/netconsole.c 	return strnlen(buf, count);
count             371 drivers/net/netconsole.c 		size_t count)
count             396 drivers/net/netconsole.c 	return strnlen(buf, count);
count             403 drivers/net/netconsole.c 		size_t count)
count             424 drivers/net/netconsole.c 	return strnlen(buf, count);
count             428 drivers/net/netconsole.c 		size_t count)
count             444 drivers/net/netconsole.c 	return strnlen(buf, count);
count             451 drivers/net/netconsole.c 		const char *buf, size_t count)
count             467 drivers/net/netconsole.c 	return strnlen(buf, count);
count             474 drivers/net/netconsole.c 		size_t count)
count             485 drivers/net/netconsole.c 	if (strnchr(buf, count, ':')) {
count             487 drivers/net/netconsole.c 		if (in6_pton(buf, count, nt->np.local_ip.in6.s6_addr, -1, &end) > 0) {
count             503 drivers/net/netconsole.c 	return strnlen(buf, count);
count             510 drivers/net/netconsole.c 	       size_t count)
count             521 drivers/net/netconsole.c 	if (strnchr(buf, count, ':')) {
count             523 drivers/net/netconsole.c 		if (in6_pton(buf, count, nt->np.remote_ip.in6.s6_addr, -1, &end) > 0) {
count             539 drivers/net/netconsole.c 	return strnlen(buf, count);
count             546 drivers/net/netconsole.c 		size_t count)
count             565 drivers/net/netconsole.c 	return strnlen(buf, count);
count              48 drivers/net/netdevsim/bus.c 			  const char *buf, size_t count)
count              74 drivers/net/netdevsim/bus.c 	ret = count;
count              96 drivers/net/netdevsim/bus.c 	       const char *buf, size_t count)
count             106 drivers/net/netdevsim/bus.c 	return ret ? ret : count;
count             113 drivers/net/netdevsim/bus.c 	       const char *buf, size_t count)
count             123 drivers/net/netdevsim/bus.c 	return ret ? ret : count;
count             160 drivers/net/netdevsim/bus.c new_device_store(struct bus_type *bus, const char *buf, size_t count)
count             190 drivers/net/netdevsim/bus.c 	return count;
count             197 drivers/net/netdevsim/bus.c del_device_store(struct bus_type *bus, const char *buf, size_t count)
count             227 drivers/net/netdevsim/bus.c 	return !err ? count : err;
count              43 drivers/net/netdevsim/dev.c 					    size_t count, loff_t *ppos)
count              65 drivers/net/netdevsim/dev.c 	return count;
count              14 drivers/net/netdevsim/ipsec.c 					size_t count, loff_t *ppos)
count              26 drivers/net/netdevsim/ipsec.c 	bufsize = (ipsec->count * 4 * 60) + 60;
count              34 drivers/net/netdevsim/ipsec.c 		      ipsec->count, ipsec->tx);
count              56 drivers/net/netdevsim/ipsec.c 	len = simple_read_from_buffer(buffer, count, ppos, buf, p - buf);
count              72 drivers/net/netdevsim/ipsec.c 	if (ipsec->count == NSIM_IPSEC_MAX_SA_COUNT)
count             190 drivers/net/netdevsim/ipsec.c 	ipsec->count++;
count             209 drivers/net/netdevsim/ipsec.c 	ipsec->count--;
count             295 drivers/net/netdevsim/ipsec.c 	if (ipsec->count)
count             297 drivers/net/netdevsim/ipsec.c 			   ipsec->count);
count              46 drivers/net/netdevsim/netdevsim.h 	u32 count;
count             130 drivers/net/phy/bcm-cygnus.c 	u8 count, rev;
count             156 drivers/net/phy/bcm-cygnus.c 	ret = bcm_phy_downshift_get(phydev, &count);
count             161 drivers/net/phy/bcm-cygnus.c 	ret = bcm_phy_set_eee(phydev, count == DOWNSHIFT_DEV_DISABLE);
count             200 drivers/net/phy/bcm-cygnus.c 	u8 count = *(u8 *)data;
count             205 drivers/net/phy/bcm-cygnus.c 		ret = bcm_phy_downshift_set(phydev, count);
count             218 drivers/net/phy/bcm-cygnus.c 	ret = bcm_phy_set_eee(phydev, count == DOWNSHIFT_DEV_DISABLE);
count             223 drivers/net/phy/bcm-phy-lib.c int bcm_phy_downshift_get(struct phy_device *phydev, u8 *count)
count             233 drivers/net/phy/bcm-phy-lib.c 		*count = DOWNSHIFT_DEV_DISABLE;
count             243 drivers/net/phy/bcm-phy-lib.c 		*count = 1;
count             248 drivers/net/phy/bcm-phy-lib.c 		*count = val + BCM54XX_SHD_SCR2_WSPD_RTRY_LMT_OFFSET;
count             255 drivers/net/phy/bcm-phy-lib.c int bcm_phy_downshift_set(struct phy_device *phydev, u8 count)
count             260 drivers/net/phy/bcm-phy-lib.c 	if (count - BCM54XX_SHD_SCR2_WSPD_RTRY_LMT_OFFSET >
count             262 drivers/net/phy/bcm-phy-lib.c 	    count != DOWNSHIFT_DEV_DEFAULT_COUNT) {
count             273 drivers/net/phy/bcm-phy-lib.c 	if (count == DOWNSHIFT_DEV_DISABLE) {
count             292 drivers/net/phy/bcm-phy-lib.c 	switch (count) {
count             300 drivers/net/phy/bcm-phy-lib.c 		val |= (count - BCM54XX_SHD_SCR2_WSPD_RTRY_LMT_OFFSET) <<
count              58 drivers/net/phy/bcm-phy-lib.h int bcm_phy_downshift_get(struct phy_device *phydev, u8 *count);
count              60 drivers/net/phy/bcm-phy-lib.h int bcm_phy_downshift_set(struct phy_device *phydev, u8 count);
count             141 drivers/net/phy/bcm7xxx.c 	u8 count;
count             184 drivers/net/phy/bcm7xxx.c 	ret = bcm_phy_downshift_get(phydev, &count);
count             189 drivers/net/phy/bcm7xxx.c 	ret = bcm_phy_set_eee(phydev, count == DOWNSHIFT_DEV_DISABLE);
count             484 drivers/net/phy/bcm7xxx.c 	u8 count = *(u8 *)data;
count             489 drivers/net/phy/bcm7xxx.c 		ret = bcm_phy_downshift_set(phydev, count);
count             502 drivers/net/phy/bcm7xxx.c 	ret = bcm_phy_set_eee(phydev, count == DOWNSHIFT_DEV_DISABLE);
count            1600 drivers/net/phy/marvell.c 	int count = marvell_get_sset_count(phydev);
count            1603 drivers/net/phy/marvell.c 	for (i = 0; i < count; i++) {
count            1631 drivers/net/phy/marvell.c 	int count = marvell_get_sset_count(phydev);
count            1634 drivers/net/phy/marvell.c 	for (i = 0; i < count; i++)
count              38 drivers/net/phy/mdio-moxart.c 	unsigned int count = 5;
count              54 drivers/net/phy/mdio-moxart.c 		count--;
count              55 drivers/net/phy/mdio-moxart.c 	} while (count > 0);
count              67 drivers/net/phy/mdio-moxart.c 	unsigned int count = 5;
count              86 drivers/net/phy/mdio-moxart.c 		count--;
count              87 drivers/net/phy/mdio-moxart.c 	} while (count > 0);
count             562 drivers/net/phy/mscc.c static int vsc85xx_downshift_get(struct phy_device *phydev, u8 *count)
count             573 drivers/net/phy/mscc.c 		*count = DOWNSHIFT_DEV_DISABLE;
count             575 drivers/net/phy/mscc.c 		*count = ((reg_val & ~DOWNSHIFT_EN) >> DOWNSHIFT_CNTL_POS) + 2;
count             580 drivers/net/phy/mscc.c static int vsc85xx_downshift_set(struct phy_device *phydev, u8 count)
count             582 drivers/net/phy/mscc.c 	if (count == DOWNSHIFT_DEV_DEFAULT_COUNT) {
count             584 drivers/net/phy/mscc.c 		count = ((1 << DOWNSHIFT_CNTL_POS) | DOWNSHIFT_EN);
count             585 drivers/net/phy/mscc.c 	} else if (count > DOWNSHIFT_COUNT_MAX || count == 1) {
count             588 drivers/net/phy/mscc.c 	} else if (count) {
count             590 drivers/net/phy/mscc.c 		count = (((count - 2) << DOWNSHIFT_CNTL_POS) | DOWNSHIFT_EN);
count             595 drivers/net/phy/mscc.c 				count);
count             198 drivers/net/phy/phy-core.c 	size_t count;
count             201 drivers/net/phy/phy-core.c 	for (i = 0, count = 0; i < ARRAY_SIZE(settings) && count < size; i++)
count             204 drivers/net/phy/phy-core.c 		    (count == 0 || speeds[count - 1] != settings[i].speed))
count             205 drivers/net/phy/phy-core.c 			speeds[count++] = settings[i].speed;
count             207 drivers/net/phy/phy-core.c 	return count;
count             205 drivers/net/phy/spi_ks8995.c 		 unsigned offset, size_t count)
count             222 drivers/net/phy/spi_ks8995.c 	t[1].len = count;
count             229 drivers/net/phy/spi_ks8995.c 	return err ? err : count;
count             233 drivers/net/phy/spi_ks8995.c 		 unsigned offset, size_t count)
count             250 drivers/net/phy/spi_ks8995.c 	t[1].len = count;
count             257 drivers/net/phy/spi_ks8995.c 	return err ? err : count;
count             298 drivers/net/phy/spi_ks8995.c 	struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count)
count             306 drivers/net/phy/spi_ks8995.c 	return ks8995_read(ks8995, buf, off, count);
count             310 drivers/net/phy/spi_ks8995.c 	struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count)
count             318 drivers/net/phy/spi_ks8995.c 	return ks8995_write(ks8995, buf, off, count);
count             101 drivers/net/ppp/ppp_async.c 			    char *flags, int count);
count             262 drivers/net/ppp/ppp_async.c 		  unsigned char __user *buf, size_t count)
count             273 drivers/net/ppp/ppp_async.c 		   const unsigned char *buf, size_t count)
count             342 drivers/net/ppp/ppp_async.c 		  char *cflags, int count)
count             350 drivers/net/ppp/ppp_async.c 	ppp_async_input(ap, buf, cflags, count);
count             531 drivers/net/ppp/ppp_async.c 	int fcs, i, count, c, proto;
count             541 drivers/net/ppp/ppp_async.c 	count = ap->tpkt->len;
count             554 drivers/net/ppp/ppp_async.c 			async_lcp_peek(ap, data, count, 0);
count             583 drivers/net/ppp/ppp_async.c 	while (i < count && buf < buflim) {
count             591 drivers/net/ppp/ppp_async.c 	if (i < count) {
count             750 drivers/net/ppp/ppp_async.c scan_ordinary(struct asyncppp *ap, const unsigned char *buf, int count)
count             754 drivers/net/ppp/ppp_async.c 	for (i = 0; i < count; ++i) {
count             832 drivers/net/ppp/ppp_async.c 		char *flags, int count)
count             841 drivers/net/ppp/ppp_async.c 		for (i = 0; i < count; ++i) {
count             852 drivers/net/ppp/ppp_async.c 	while (count > 0) {
count             857 drivers/net/ppp/ppp_async.c 			n = scan_ordinary(ap, buf, count);
count             901 drivers/net/ppp/ppp_async.c 		if (n >= count)
count             923 drivers/net/ppp/ppp_async.c 		count -= n;
count             423 drivers/net/ppp/ppp_generic.c 			size_t count, loff_t *ppos)
count             432 drivers/net/ppp/ppp_generic.c 	ret = count;
count             476 drivers/net/ppp/ppp_generic.c 	if (skb->len > count)
count             480 drivers/net/ppp/ppp_generic.c 	iov.iov_len = count;
count             481 drivers/net/ppp/ppp_generic.c 	iov_iter_init(&to, READ, &iov, 1, count);
count             493 drivers/net/ppp/ppp_generic.c 			 size_t count, loff_t *ppos)
count             502 drivers/net/ppp/ppp_generic.c 	skb = alloc_skb(count + pf->hdrlen, GFP_KERNEL);
count             507 drivers/net/ppp/ppp_generic.c 	if (copy_from_user(skb_put(skb, count), buf, count)) {
count             522 drivers/net/ppp/ppp_generic.c 	ret = count;
count              97 drivers/net/ppp/ppp_synctty.c 			   char *flags, int count);
count             108 drivers/net/ppp/ppp_synctty.c ppp_print_buffer (const char *name, const __u8 *buf, int count)
count             111 drivers/net/ppp/ppp_synctty.c 		printk(KERN_DEBUG "ppp_synctty: %s, count = %d\n", name, count);
count             113 drivers/net/ppp/ppp_synctty.c 	print_hex_dump_bytes("", DUMP_PREFIX_NONE, buf, count);
count             260 drivers/net/ppp/ppp_synctty.c 	       unsigned char __user *buf, size_t count)
count             271 drivers/net/ppp/ppp_synctty.c 		const unsigned char *buf, size_t count)
count             335 drivers/net/ppp/ppp_synctty.c 		  char *cflags, int count)
count             343 drivers/net/ppp/ppp_synctty.c 	ppp_sync_input(ap, buf, cflags, count);
count             668 drivers/net/ppp/ppp_synctty.c 		char *flags, int count)
count             673 drivers/net/ppp/ppp_synctty.c 	if (count == 0)
count             677 drivers/net/ppp/ppp_synctty.c 		ppp_print_buffer ("receive buffer", buf, count);
count             692 drivers/net/ppp/ppp_synctty.c 	} else if (count > skb_tailroom(skb)) {
count             697 drivers/net/ppp/ppp_synctty.c 	skb_put_data(skb, buf, count);
count             192 drivers/net/rionet.c 		int count = 0;
count             199 drivers/net/rionet.c 				if (count)
count             201 drivers/net/rionet.c 				count++;
count             323 drivers/net/slip/slip.c 	int count;
count             325 drivers/net/slip/slip.c 	count = sl->rcount;
count             337 drivers/net/slip/slip.c 			if (count + 80 > sl->buffsize) {
count             341 drivers/net/slip/slip.c 			count = slhc_uncompress(sl->slcomp, sl->rbuff, count);
count             342 drivers/net/slip/slip.c 			if (count <= 0)
count             352 drivers/net/slip/slip.c 			if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0)
count             358 drivers/net/slip/slip.c 	dev->stats.rx_bytes += count;
count             360 drivers/net/slip/slip.c 	skb = dev_alloc_skb(count);
count             367 drivers/net/slip/slip.c 	skb_put_data(skb, sl->rbuff, count);
count             378 drivers/net/slip/slip.c 	int actual, count;
count             394 drivers/net/slip/slip.c 		count = slip_esc6(p, sl->xbuff, len);
count             397 drivers/net/slip/slip.c 		count = slip_esc(p, sl->xbuff, len);
count             408 drivers/net/slip/slip.c 	actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
count             412 drivers/net/slip/slip.c 	sl->xleft = count - actual;
count             691 drivers/net/slip/slip.c 							char *fp, int count)
count             699 drivers/net/slip/slip.c 	while (count--) {
count             652 drivers/net/team/team.c 	if (!team->notify_peers.count || !netif_running(team->dev))
count             654 drivers/net/team/team.c 	atomic_add(team->notify_peers.count, &team->notify_peers.count_pending);
count             698 drivers/net/team/team.c 	if (!team->mcast_rejoin.count || !netif_running(team->dev))
count             700 drivers/net/team/team.c 	atomic_add(team->mcast_rejoin.count, &team->mcast_rejoin.count_pending);
count            1385 drivers/net/team/team.c 	ctx->data.u32_val = team->notify_peers.count;
count            1392 drivers/net/team/team.c 	team->notify_peers.count = ctx->data.u32_val;
count            1413 drivers/net/team/team.c 	ctx->data.u32_val = team->mcast_rejoin.count;
count            1420 drivers/net/team/team.c 	team->mcast_rejoin.count = ctx->data.u32_val;
count             126 drivers/net/tun.c 	unsigned int    count;    /* Number of addrs. Zero means disabled */
count             183 drivers/net/tun.c 	int count;
count             485 drivers/net/tun.c 	unsigned long count = 0;
count             503 drivers/net/tun.c 			count++;
count             509 drivers/net/tun.c 	if (count)
count             923 drivers/net/tun.c 	if (!uf.count) {
count             925 drivers/net/tun.c 		filter->count = 0;
count             929 drivers/net/tun.c 	alen = ETH_ALEN * uf.count;
count             937 drivers/net/tun.c 	filter->count = 0;
count             941 drivers/net/tun.c 	for (n = 0; n < uf.count && n < FLT_EXACT_COUNT; n++)
count             949 drivers/net/tun.c 	for (; n < uf.count; n++) {
count             964 drivers/net/tun.c 	filter->count = nexact;
count             982 drivers/net/tun.c 	for (i = 0; i < filter->count; i++)
count             999 drivers/net/tun.c 	if (!filter->count)
count            2425 drivers/net/tun.c 		__page_frag_cache_drain(tpage->page, tpage->count);
count            2472 drivers/net/tun.c 				++tpage->count;
count            2476 drivers/net/tun.c 				tpage->count = 1;
count            2810 drivers/net/tun.c 		tun->txflt.count = 0;
count              73 drivers/net/usb/gl620a.c 	u32			count;
count              82 drivers/net/usb/gl620a.c 	count = le32_to_cpu(header->packet_count);
count              83 drivers/net/usb/gl620a.c 	if (count > GL_MAX_TRANSMIT_PACKETS) {
count              86 drivers/net/usb/gl620a.c 			   count);
count              96 drivers/net/usb/gl620a.c 	while (count > 1) {
count             118 drivers/net/usb/gl620a.c 		count--;
count             844 drivers/net/usb/hso.c 			unsigned int count, unsigned char is_eop)
count             851 drivers/net/usb/hso.c 	hso_dbg(0x1, "Rx %d bytes\n", count);
count             852 drivers/net/usb/hso.c 	DUMP(ip_pkt, min(128, (int)count));
count             854 drivers/net/usb/hso.c 	while (count) {
count             860 drivers/net/usb/hso.c 			    (count <
count             861 drivers/net/usb/hso.c 			     odev->rx_buf_missing) ? count : odev->
count             871 drivers/net/usb/hso.c 			count -= temp_bytes;
count             913 drivers/net/usb/hso.c 			temp_bytes = (count < odev->rx_buf_missing)
count             914 drivers/net/usb/hso.c 					? count : odev->rx_buf_missing;
count             924 drivers/net/usb/hso.c 			count -= temp_bytes;
count             951 drivers/net/usb/hso.c 			count = 0;
count             955 drivers/net/usb/hso.c 			count--;
count            1139 drivers/net/usb/hso.c 	int count;
count            1144 drivers/net/usb/hso.c 		count = put_rxbuf_data(curr_urb, serial);
count            1145 drivers/net/usb/hso.c 		if (count == -1)
count            1147 drivers/net/usb/hso.c 		if (count == 0) {
count            1158 drivers/net/usb/hso.c 	int count = 0;
count            1162 drivers/net/usb/hso.c 	if (serial->port.count > 0) {
count            1163 drivers/net/usb/hso.c 		count = put_rxbuf_data(urb, serial);
count            1164 drivers/net/usb/hso.c 		if (count == -1)
count            1169 drivers/net/usb/hso.c 	if (count == 0 && ((urb->actual_length != 0) ||
count            1201 drivers/net/usb/hso.c 	if (serial->port.count == 0)
count            1262 drivers/net/usb/hso.c 	serial->port.count++;
count            1263 drivers/net/usb/hso.c 	if (serial->port.count == 1) {
count            1273 drivers/net/usb/hso.c 			serial->port.count--;
count            1311 drivers/net/usb/hso.c 	serial->port.count--;
count            1313 drivers/net/usb/hso.c 	if (serial->port.count <= 0) {
count            1314 drivers/net/usb/hso.c 		serial->port.count = 0;
count            1329 drivers/net/usb/hso.c 			    int count)
count            1344 drivers/net/usb/hso.c 	tx_bytes = (count < space) ? count : space;
count            1397 drivers/net/usb/hso.c 	if (serial->port.count)
count            1871 drivers/net/usb/hso.c 					serial->port.count > 0) {
count            1936 drivers/net/usb/hso.c 	int count = serial->tx_data_count;
count            1954 drivers/net/usb/hso.c 	return count;
count            2002 drivers/net/usb/hso.c 	int count;
count            2019 drivers/net/usb/hso.c 	count = tty_buffer_request_room(&serial->port, urb->actual_length);
count            2020 drivers/net/usb/hso.c 	if (count >= urb->actual_length) {
count            3052 drivers/net/usb/hso.c 			if (dev2ser(serial_table[i])->port.count) {
count             579 drivers/net/usb/kaweth.c 	int count = urb->actual_length;
count             617 drivers/net/usb/kaweth.c 	if(status && status != -EREMOTEIO && count != 1) {
count             620 drivers/net/usb/kaweth.c 			net->name, status, count, (int)pkt_len);
count             625 drivers/net/usb/kaweth.c 	if(kaweth->net && (count > 2)) {
count             626 drivers/net/usb/kaweth.c 		if(pkt_len > (count - 2)) {
count             629 drivers/net/usb/kaweth.c 				pkt_len, count);
count             584 drivers/net/usb/lan78xx.c 	u32 *p, *count, *max;
count             593 drivers/net/usb/lan78xx.c 	count = (u32 *)&dev->stats.rollover_count;
count             603 drivers/net/usb/lan78xx.c 		data[i] = (u64)p[i] + ((u64)count[i] * ((u64)max[i] + 1));
count            2235 drivers/net/usb/lan78xx.c 	int count = 0;
count            2268 drivers/net/usb/lan78xx.c 			count++;
count            2273 drivers/net/usb/lan78xx.c 	return count;
count            3326 drivers/net/usb/lan78xx.c 	int count, pos;
count            3331 drivers/net/usb/lan78xx.c 	count = 0;
count            3340 drivers/net/usb/lan78xx.c 			count = 1;
count            3361 drivers/net/usb/lan78xx.c 	for (count = pos = 0; count < pkt_cnt; count++) {
count            3380 drivers/net/usb/lan78xx.c 	entry->num_of_packet = count;
count             101 drivers/net/usb/lg-vl600.c 	int packet_len, count;
count             152 drivers/net/usb/lg-vl600.c 	count = le32_to_cpup(&frame->pkt_cnt);
count             156 drivers/net/usb/lg-vl600.c 	while (count--) {
count             198 drivers/net/usb/lg-vl600.c 		if (count) {
count             461 drivers/net/usb/pegasus.c 	int rx_status, count = urb->actual_length;
count             494 drivers/net/usb/pegasus.c 	if (count < 4)
count             497 drivers/net/usb/pegasus.c 	rx_status = buf[count - 2];
count             515 drivers/net/usb/pegasus.c 		pkt_len = buf[count - 3] << 8;
count             516 drivers/net/usb/pegasus.c 		pkt_len += buf[count - 4];
count             708 drivers/net/usb/pegasus.c 	int count = ((skb->len + 2) & 0x3f) ? skb->len + 2 : skb->len + 3;
count             718 drivers/net/usb/pegasus.c 			  pegasus->tx_buff, count,
count             409 drivers/net/usb/qmi_wwan.c 	ssize_t count = 0;
count             414 drivers/net/usb/qmi_wwan.c 		count += scnprintf(&buf[count], PAGE_SIZE - count,
count             418 drivers/net/usb/qmi_wwan.c 	return count;
count              98 drivers/net/usb/rndis_host.c 	unsigned		count;
count             141 drivers/net/usb/rndis_host.c 	for (count = 0; count < 10; count++) {
count             692 drivers/net/usb/rtl8150.c 	int count, res;
count             695 drivers/net/usb/rtl8150.c 	count = (skb->len < 60) ? 60 : skb->len;
count             696 drivers/net/usb/rtl8150.c 	count = (count & 0x3f) ? count : count + 1;
count             699 drivers/net/usb/rtl8150.c 		      skb->data, count, write_bulk_callback, dev);
count             708 drivers/net/usb/usbnet.c 	int			count = 0;
count             741 drivers/net/usb/usbnet.c 			count++;
count             746 drivers/net/usb/usbnet.c 	return count;
count              71 drivers/net/veth.c 	unsigned int count;
count             456 drivers/net/veth.c 	sent = veth_xdp_xmit(dev, bq->count, bq->q, 0);
count             460 drivers/net/veth.c 		for (i = 0; i < bq->count; i++)
count             463 drivers/net/veth.c 	trace_xdp_bulk_tx(dev, sent, bq->count - sent, err);
count             465 drivers/net/veth.c 	bq->count = 0;
count             499 drivers/net/veth.c 	if (unlikely(bq->count == VETH_XDP_TX_BULK_SIZE))
count             502 drivers/net/veth.c 	bq->q[bq->count++] = frame;
count             776 drivers/net/veth.c 	bq.count = 0;
count             954 drivers/net/vmxnet3/vmxnet3_drv.c 	int count = VMXNET3_TXD_NEEDED(skb_headlen(skb)) + 1;
count             960 drivers/net/vmxnet3/vmxnet3_drv.c 		count += VMXNET3_TXD_NEEDED(skb_frag_size(frag));
count             962 drivers/net/vmxnet3/vmxnet3_drv.c 	return count;
count             983 drivers/net/vmxnet3/vmxnet3_drv.c 	u32 count;
count             994 drivers/net/vmxnet3/vmxnet3_drv.c 	count = txd_estimate(skb);
count            1011 drivers/net/vmxnet3/vmxnet3_drv.c 		if (unlikely(count > VMXNET3_MAX_TXD_PER_PKT)) {
count            1023 drivers/net/vmxnet3/vmxnet3_drv.c 			count = VMXNET3_TXD_NEEDED(skb_headlen(skb)) + 1;
count            1054 drivers/net/vmxnet3/vmxnet3_drv.c 	if (count > vmxnet3_cmd_ring_desc_avail(&tq->tx_ring)) {
count             283 drivers/net/wan/cosa.c 	char __user *buf, size_t count, loff_t *ppos);
count             285 drivers/net/wan/cosa.c 	const char __user *buf, size_t count, loff_t *ppos);
count             770 drivers/net/wan/cosa.c 	char __user *buf, size_t count, loff_t *ppos)
count             813 drivers/net/wan/cosa.c 	count = chan->rxsize;
count             817 drivers/net/wan/cosa.c 	if (copy_to_user(buf, kbuf, count)) {
count             822 drivers/net/wan/cosa.c 	return count;
count             845 drivers/net/wan/cosa.c 	const char __user *buf, size_t count, loff_t *ppos)
count             861 drivers/net/wan/cosa.c 	if (count > COSA_MTU)
count             862 drivers/net/wan/cosa.c 		count = COSA_MTU;
count             865 drivers/net/wan/cosa.c 	kbuf = kmalloc(count, GFP_KERNEL|GFP_DMA);
count             870 drivers/net/wan/cosa.c 	if (copy_from_user(kbuf, buf, count)) {
count             876 drivers/net/wan/cosa.c 	cosa_start_tx(chan, kbuf, count);
count             900 drivers/net/wan/cosa.c 	return count;
count            1361 drivers/net/wan/cosa.c 	static int count;
count            1366 drivers/net/wan/cosa.c 		if (count++ < 5)
count            1753 drivers/net/wan/cosa.c 		int count=0;
count            1756 drivers/net/wan/cosa.c 			count++;
count            1758 drivers/net/wan/cosa.c 			if (count > 1000) break;
count            1761 drivers/net/wan/cosa.c 		pr_info("ready after %d loops\n", count);
count            1764 drivers/net/wan/cosa.c 		count = 0;
count            1766 drivers/net/wan/cosa.c 			count++;
count            1767 drivers/net/wan/cosa.c 			if (count > 1000) break;
count            1770 drivers/net/wan/cosa.c 		pr_info("ready after %d loops\n", count);
count            1931 drivers/net/wan/cosa.c 	int count = 0;
count            1953 drivers/net/wan/cosa.c 		if (count++ < 100) {
count            1958 drivers/net/wan/cosa.c 			cosa->num, status & 0xff, count);
count            1961 drivers/net/wan/cosa.c 	if (count)
count            1963 drivers/net/wan/cosa.c 			cosa->name, count);
count             291 drivers/net/wan/hd64572.c 	unsigned count = 0;
count             315 drivers/net/wan/hd64572.c 		count++;
count             319 drivers/net/wan/hd64572.c 	if (count)
count             192 drivers/net/wan/x25_asy.c 	int count;
count             195 drivers/net/wan/x25_asy.c 	count = sl->rcount;
count             196 drivers/net/wan/x25_asy.c 	dev->stats.rx_bytes += count;
count             198 drivers/net/wan/x25_asy.c 	skb = dev_alloc_skb(count+1);
count             205 drivers/net/wan/x25_asy.c 	skb_put_data(skb, sl->rbuff, count);
count             221 drivers/net/wan/x25_asy.c 	int actual, count, mtu = sl->dev->mtu;
count             234 drivers/net/wan/x25_asy.c 	count = x25_asy_esc(p, sl->xbuff, len);
count             245 drivers/net/wan/x25_asy.c 	actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
count             246 drivers/net/wan/x25_asy.c 	sl->xleft = count - actual;
count             522 drivers/net/wan/x25_asy.c 				const unsigned char *cp, char *fp, int count)
count             531 drivers/net/wan/x25_asy.c 	while (count--) {
count             347 drivers/net/wan/z85230.c 		if(c->count < c->max)
count             350 drivers/net/wan/z85230.c 			c->count++;
count             364 drivers/net/wan/z85230.c 				c->count=0;
count             793 drivers/net/wan/z85230.c 	c->count = 0;
count             859 drivers/net/wan/z85230.c 	c->count = 0;
count            1054 drivers/net/wan/z85230.c 	c->count = 0;
count            1400 drivers/net/wan/z85230.c 	c->count=0;
count            1661 drivers/net/wan/z85230.c 		ct=c->count;
count            1664 drivers/net/wan/z85230.c 		c->count = 0;
count            1670 drivers/net/wan/z85230.c 			c->count = 0;
count             270 drivers/net/wan/z85230.h 	u16		count;		/* Buyes received */
count              42 drivers/net/wimax/i2400m/debugfs.c 			     size_t count, loff_t *ppos)
count              50 drivers/net/wimax/i2400m/debugfs.c 	if (count < sizeof(buf))
count              59 drivers/net/wimax/i2400m/debugfs.c 	return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count              66 drivers/net/wimax/i2400m/debugfs.c 			      size_t count, loff_t *ppos)
count              80 drivers/net/wimax/i2400m/debugfs.c 	return count;
count              96 drivers/net/wimax/i2400m/debugfs.c 			     size_t count, loff_t *ppos)
count             104 drivers/net/wimax/i2400m/debugfs.c 	if (count < sizeof(buf))
count             113 drivers/net/wimax/i2400m/debugfs.c 	return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count             119 drivers/net/wimax/i2400m/debugfs.c 			      size_t count, loff_t *ppos)
count             133 drivers/net/wimax/i2400m/debugfs.c 	return count;
count             886 drivers/net/wimax/i2400m/fw.c 	int count = i2400m->bus_bm_retries;
count             900 drivers/net/wimax/i2400m/fw.c 	if (--count < 0)
count             903 drivers/net/wimax/i2400m/fw.c 		 count);
count             967 drivers/net/wimax/i2400m/fw.c 	d_printf(4, dev, "device reboot ack: sending ack [%d # left]\n", count);
count             974 drivers/net/wimax/i2400m/fw.c 		if (--count < 0)
count            1387 drivers/net/wimax/i2400m/fw.c 	int count = i2400m->bus_bm_retries;
count            1396 drivers/net/wimax/i2400m/fw.c 	if (count-- == 0) {
count            1470 drivers/net/wimax/i2400m/fw.c 	dev_err(dev, "device rebooted, %d tries left\n", count);
count             545 drivers/net/wimax/i2400m/rx.c 		unsigned ws, count, sn, nsn, new_ws;
count             563 drivers/net/wimax/i2400m/rx.c 			index, e->ws, e->count, e->sn, e->nsn, e->new_ws);
count             567 drivers/net/wimax/i2400m/rx.c 			index, e->ws, e->count, e->sn, e->nsn);
count             572 drivers/net/wimax/i2400m/rx.c 			index, e->ws, e->count, e->sn, e->nsn, e->new_ws);
count             577 drivers/net/wimax/i2400m/rx.c 			index, e->ws, e->count, e->sn, e->nsn, e->new_ws);
count             590 drivers/net/wimax/i2400m/rx.c 			unsigned ws, unsigned count, unsigned sn,
count             605 drivers/net/wimax/i2400m/rx.c 	e->count = count;
count            1724 drivers/net/wireless/admtek/adm8211.c 	txhdr->retry_limit = info->control.rates[0].count;
count             127 drivers/net/wireless/ath/ath.h 	void (*multi_read)(void *, u32 *addr, u32 *val, u16 count);
count             131 drivers/net/wireless/ath/ath10k/bmi.h 			__le32 count;
count             135 drivers/net/wireless/ath/ath10k/bmi.h 			__le32 count;
count             151 drivers/net/wireless/ath/ath10k/debug.c 					size_t count, loff_t *ppos)
count             187 drivers/net/wireless/ath/ath10k/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             444 drivers/net/wireless/ath/ath10k/debug.c 				    size_t count, loff_t *ppos)
count             449 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             462 drivers/net/wireless/ath/ath10k/debug.c 						size_t count, loff_t *ppos)
count             486 drivers/net/wireless/ath/ath10k/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             522 drivers/net/wireless/ath/ath10k/debug.c 					     size_t count, loff_t *ppos)
count             531 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count             543 drivers/net/wireless/ath/ath10k/debug.c 					      size_t count, loff_t *ppos)
count             551 drivers/net/wireless/ath/ath10k/debug.c 	if (*ppos != 0 || count >= sizeof(buf) || count == 0)
count             554 drivers/net/wireless/ath/ath10k/debug.c 	rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
count             598 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             614 drivers/net/wireless/ath/ath10k/debug.c 				   size_t count, loff_t *ppos)
count             622 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             634 drivers/net/wireless/ath/ath10k/debug.c 				    size_t count, loff_t *ppos)
count             647 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             652 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count             658 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtou32_from_user(user_buf, count, 0, &reg_addr);
count             669 drivers/net/wireless/ath/ath10k/debug.c 	return count;
count             682 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count             703 drivers/net/wireless/ath/ath10k/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             713 drivers/net/wireless/ath/ath10k/debug.c 				      size_t count, loff_t *ppos)
count             729 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtou32_from_user(user_buf, count, 0, &reg_val);
count             735 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             753 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count             762 drivers/net/wireless/ath/ath10k/debug.c 	if (!count)
count             767 drivers/net/wireless/ath/ath10k/debug.c 	buf = vmalloc(count);
count             779 drivers/net/wireless/ath/ath10k/debug.c 	ret = ath10k_hif_diag_read(ar, *ppos, buf, count);
count             786 drivers/net/wireless/ath/ath10k/debug.c 	ret = copy_to_user(user_buf, buf, count);
count             792 drivers/net/wireless/ath/ath10k/debug.c 	count -= ret;
count             793 drivers/net/wireless/ath/ath10k/debug.c 	*ppos += count;
count             794 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             805 drivers/net/wireless/ath/ath10k/debug.c 				      size_t count, loff_t *ppos)
count             814 drivers/net/wireless/ath/ath10k/debug.c 	if (!count)
count             819 drivers/net/wireless/ath/ath10k/debug.c 	buf = vmalloc(count);
count             831 drivers/net/wireless/ath/ath10k/debug.c 	ret = copy_from_user(buf, user_buf, count);
count             837 drivers/net/wireless/ath/ath10k/debug.c 	ret = ath10k_hif_diag_write(ar, *ppos, buf, count);
count             844 drivers/net/wireless/ath/ath10k/debug.c 	*ppos += count;
count             845 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             905 drivers/net/wireless/ath/ath10k/debug.c 					  size_t count, loff_t *ppos)
count             913 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             918 drivers/net/wireless/ath/ath10k/debug.c 					   size_t count, loff_t *ppos)
count             924 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtoul_from_user(user_buf, count, 0, &mask);
count             940 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             958 drivers/net/wireless/ath/ath10k/debug.c 					       size_t count, loff_t *ppos)
count             973 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             978 drivers/net/wireless/ath/ath10k/debug.c 						size_t count, loff_t *ppos)
count             986 drivers/net/wireless/ath/ath10k/debug.c 				     user_buf, count);
count            1001 drivers/net/wireless/ath/ath10k/debug.c 	res = count;
count            1020 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count            1029 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1034 drivers/net/wireless/ath/ath10k/debug.c 				      size_t count, loff_t *ppos)
count            1043 drivers/net/wireless/ath/ath10k/debug.c 				     user_buf, count);
count            1071 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            1299 drivers/net/wireless/ath/ath10k/debug.c 					  size_t count, loff_t *ppos)
count            1305 drivers/net/wireless/ath/ath10k/debug.c 	count = simple_read_from_buffer(user_buf, count, ppos,
count            1311 drivers/net/wireless/ath/ath10k/debug.c 	return count;
count            1316 drivers/net/wireless/ath/ath10k/debug.c 				       size_t count, loff_t *ppos)
count            1322 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtou8_from_user(user_buf, count, 0, &enable))
count            1328 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            1340 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            1349 drivers/net/wireless/ath/ath10k/debug.c 				      size_t count, loff_t *ppos)
count            1357 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1377 drivers/net/wireless/ath/ath10k/debug.c 					 size_t count, loff_t *ppos)
count            1385 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1390 drivers/net/wireless/ath/ath10k/debug.c 					  size_t count, loff_t *ppos)
count            1396 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtoul_from_user(user_buf, count, 0, &period);
count            1413 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            1425 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            1673 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count            1678 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1760 drivers/net/wireless/ath/ath10k/debug.c 					   size_t count, loff_t *ppos)
count            1775 drivers/net/wireless/ath/ath10k/debug.c 	return count;
count            1794 drivers/net/wireless/ath/ath10k/debug.c 				     size_t count, loff_t *ppos)
count            1834 drivers/net/wireless/ath/ath10k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1849 drivers/net/wireless/ath/ath10k/debug.c 					  size_t count, loff_t *ppos)
count            1855 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtouint_from_user(ubuf, count, 0, &filter))
count            1862 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            1867 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            1887 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            1895 drivers/net/wireless/ath/ath10k/debug.c 					 size_t count, loff_t *ppos)
count            1906 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            1917 drivers/net/wireless/ath/ath10k/debug.c 					 size_t count, loff_t *ppos)
count            1922 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtouint_from_user(ubuf, count, 0, &period))
count            1935 drivers/net/wireless/ath/ath10k/debug.c 	return count;
count            1939 drivers/net/wireless/ath/ath10k/debug.c 					size_t count, loff_t *ppos)
count            1950 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            1961 drivers/net/wireless/ath/ath10k/debug.c 				   size_t count, loff_t *ppos)
count            1970 drivers/net/wireless/ath/ath10k/debug.c 	buf_size = min(count, (sizeof(buf) - 1));
count            1988 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            1998 drivers/net/wireless/ath/ath10k/debug.c 			ret = count;
count            2011 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            2020 drivers/net/wireless/ath/ath10k/debug.c 				  size_t count, loff_t *ppos)
count            2031 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            2042 drivers/net/wireless/ath/ath10k/debug.c 						 size_t count, loff_t *ppos)
count            2048 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtouint_from_user(ubuf, count, 0, &filter))
count            2055 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            2060 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            2065 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            2074 drivers/net/wireless/ath/ath10k/debug.c 						size_t count, loff_t *ppos)
count            2086 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            2097 drivers/net/wireless/ath/ath10k/debug.c 				       size_t count, loff_t *ppos)
count            2105 drivers/net/wireless/ath/ath10k/debug.c 	buf_size = min(count, (sizeof(buf) - 1));
count            2123 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            2135 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            2143 drivers/net/wireless/ath/ath10k/debug.c 				      size_t count, loff_t *ppos)
count            2155 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count            2166 drivers/net/wireless/ath/ath10k/debug.c 					      size_t count, loff_t *ppos)
count            2204 drivers/net/wireless/ath/ath10k/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            2221 drivers/net/wireless/ath/ath10k/debug.c 					      size_t count, loff_t *ppos)
count            2228 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            2233 drivers/net/wireless/ath/ath10k/debug.c 					       size_t count, loff_t *ppos)
count            2240 drivers/net/wireless/ath/ath10k/debug.c 	len = min(count, sizeof(buf) - 1);
count            2334 drivers/net/wireless/ath/ath10k/debug.c 					   size_t count, loff_t *ppos)
count            2339 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            2352 drivers/net/wireless/ath/ath10k/debug.c 					  size_t count, loff_t *ppos)
count            2358 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtobool_from_user(user_buf, count, &val))
count            2382 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            2409 drivers/net/wireless/ath/ath10k/debug.c 					    size_t count, loff_t *ppos)
count            2416 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtou8_from_user(user_buf, count, 0, &ps_state_enable))
count            2425 drivers/net/wireless/ath/ath10k/debug.c 		ret = count;
count            2443 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count            2453 drivers/net/wireless/ath/ath10k/debug.c 					   size_t count, loff_t *ppos)
count            2464 drivers/net/wireless/ath/ath10k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            2477 drivers/net/wireless/ath/ath10k/debug.c 					    size_t count, loff_t *ppos)
count            2483 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtoul_from_user(user_buf, count, 0, &reset);
count            2499 drivers/net/wireless/ath/ath10k/debug.c 	ret = count;
count             177 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					     size_t count, loff_t *ppos)
count             191 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             196 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					      size_t count, loff_t *ppos)
count             204 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode))
count             213 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		ret = count;
count             239 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					  size_t count, loff_t *ppos)
count             249 drivers/net/wireless/ath/ath10k/debugfs_sta.c 				     user_buf, count);
count             264 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		ret = count;
count             275 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = count;
count             290 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					       size_t count, loff_t *ppos)
count             300 drivers/net/wireless/ath/ath10k/debugfs_sta.c 				     user_buf, count);
count             315 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		ret = count;
count             325 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = count;
count             340 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					  size_t count, loff_t *ppos)
count             350 drivers/net/wireless/ath/ath10k/debugfs_sta.c 				     user_buf, count);
count             365 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		ret = count;
count             376 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = count;
count             391 drivers/net/wireless/ath/ath10k/debugfs_sta.c 						      size_t count,
count             405 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             411 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					size_t count, loff_t *ppos)
count             419 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	if (kstrtou8_from_user(user_buf, count, 0, &peer_debug_trigger))
count             441 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	return count;
count             454 drivers/net/wireless/ath/ath10k/debugfs_sta.c 						 size_t count, loff_t *ppos)
count             469 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             564 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					     size_t count, loff_t *ppos)
count             629 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             647 drivers/net/wireless/ath/ath10k/debugfs_sta.c 					    size_t count, loff_t *ppos)
count             743 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1644 drivers/net/wireless/ath/ath10k/htt.h 	u8 count[HTT_TX_Q_STATE_NUM_TIDS][HTT_TX_Q_STATE_NUM_PEERS];
count            3560 drivers/net/wireless/ath/ath10k/htt_rx.c 		arsta->tx_info.status.rates[0].count = 1;
count              14 drivers/net/wireless/ath/ath10k/htt_tx.c static u8 ath10k_htt_tx_txq_calc_size(size_t count)
count              20 drivers/net/wireless/ath/ath10k/htt_tx.c 	factor = count >> 7;
count              30 drivers/net/wireless/ath/ath10k/htt_tx.c 	if (count > 0)
count              49 drivers/net/wireless/ath/ath10k/htt_tx.c 	u8 count;
count              71 drivers/net/wireless/ath/ath10k/htt_tx.c 	count = ath10k_htt_tx_txq_calc_size(byte_cnt);
count              80 drivers/net/wireless/ath/ath10k/htt_tx.c 	ar->htt.tx_q_state.vaddr->count[tid][peer_id] = count;
count              82 drivers/net/wireless/ath/ath10k/htt_tx.c 	ar->htt.tx_q_state.vaddr->map[tid][idx] |= count ? bit : 0;
count              85 drivers/net/wireless/ath/ath10k/htt_tx.c 		   peer_id, tid, count);
count            8585 drivers/net/wireless/ath/ath10k/mac.c 	    wrdd->package.count < 2 ||
count            8592 drivers/net/wireless/ath/ath10k/mac.c 	for (i = 1; i < wrdd->package.count; ++i) {
count            8597 drivers/net/wireless/ath/ath10k/mac.c 		if (mcc_pkg->package.count < 2)
count              42 drivers/net/wireless/ath/ath10k/p2p.c 		noa_attr->desc[i].count =
count            1473 drivers/net/wireless/ath/ath10k/pci.c 	unsigned int count, section_size, skip_size;
count            1497 drivers/net/wireless/ath/ath10k/pci.c 	count = 0;
count            1543 drivers/net/wireless/ath/ath10k/pci.c 		count += section_size;
count            1551 drivers/net/wireless/ath/ath10k/pci.c 		count += skip_size;
count            1560 drivers/net/wireless/ath/ath10k/pci.c 	return count;
count            1661 drivers/net/wireless/ath/ath10k/pci.c 	u32 count, shift;
count            1683 drivers/net/wireless/ath/ath10k/pci.c 		count = 0;
count            1715 drivers/net/wireless/ath/ath10k/pci.c 			count = ath10k_pci_dump_memory_sram(ar, current_region, buf);
count            1722 drivers/net/wireless/ath/ath10k/pci.c 			count = ret;
count            1729 drivers/net/wireless/ath/ath10k/pci.c 			count = ret;
count            1735 drivers/net/wireless/ath/ath10k/pci.c 		hdr->length = cpu_to_le32(count);
count            1737 drivers/net/wireless/ath/ath10k/pci.c 		if (count == 0)
count            1741 drivers/net/wireless/ath/ath10k/pci.c 		buf += count;
count            1742 drivers/net/wireless/ath/ath10k/pci.c 		buf_len -= count;
count             215 drivers/net/wireless/ath/ath10k/spectral.c 	int vdev_id, count, res = 0;
count             240 drivers/net/wireless/ath/ath10k/spectral.c 		count = WMI_SPECTRAL_COUNT_DEFAULT;
count             242 drivers/net/wireless/ath/ath10k/spectral.c 		count = max_t(u8, 1, ar->spectral.config.count);
count             245 drivers/net/wireless/ath/ath10k/spectral.c 	arg.scan_count = count;
count             274 drivers/net/wireless/ath/ath10k/spectral.c 				       size_t count, loff_t *ppos)
count             298 drivers/net/wireless/ath/ath10k/spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, mode, len);
count             303 drivers/net/wireless/ath/ath10k/spectral.c 					size_t count, loff_t *ppos)
count             310 drivers/net/wireless/ath/ath10k/spectral.c 	len = min(count, sizeof(buf) - 1);
count             353 drivers/net/wireless/ath/ath10k/spectral.c 	return count;
count             366 drivers/net/wireless/ath/ath10k/spectral.c 					size_t count, loff_t *ppos)
count             374 drivers/net/wireless/ath/ath10k/spectral.c 	spectral_count = ar->spectral.config.count;
count             378 drivers/net/wireless/ath/ath10k/spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             383 drivers/net/wireless/ath/ath10k/spectral.c 					 size_t count, loff_t *ppos)
count             390 drivers/net/wireless/ath/ath10k/spectral.c 	len = min(count, sizeof(buf) - 1);
count             402 drivers/net/wireless/ath/ath10k/spectral.c 	ar->spectral.config.count = val;
count             405 drivers/net/wireless/ath/ath10k/spectral.c 	return count;
count             418 drivers/net/wireless/ath/ath10k/spectral.c 				       size_t count, loff_t *ppos)
count             434 drivers/net/wireless/ath/ath10k/spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             439 drivers/net/wireless/ath/ath10k/spectral.c 					size_t count, loff_t *ppos)
count             446 drivers/net/wireless/ath/ath10k/spectral.c 	len = min(count, sizeof(buf) - 1);
count             465 drivers/net/wireless/ath/ath10k/spectral.c 	return count;
count             515 drivers/net/wireless/ath/ath10k/spectral.c 	ar->spectral.config.count = WMI_SPECTRAL_COUNT_DEFAULT;
count              18 drivers/net/wireless/ath/ath10k/spectral.h 	u8 count;
count             390 drivers/net/wireless/ath/ath10k/targaddrs.h #define HI_WOW_EXT_MAKE_CONFIG(num_lists, count, size) \
count             393 drivers/net/wireless/ath/ath10k/targaddrs.h 	(((count) << HI_WOW_EXT_NUM_PATTERNS_SHIFT) & \
count            4351 drivers/net/wireless/ath/ath10k/wmi.c 	u32 count, i, buf_len, phy_err_code;
count            4364 drivers/net/wireless/ath/ath10k/wmi.c 	count = hdr_arg.num_phyerrs;
count            4374 drivers/net/wireless/ath/ath10k/wmi.c 		   count, tsf);
count            4377 drivers/net/wireless/ath/ath10k/wmi.c 	for (i = 0; i < count; i++) {
count            6429 drivers/net/wireless/ath/ath10k/wmi.c 	chunks->count = __cpu_to_le32(ar->wmi.num_mem_chunks);
count            3042 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 count;
count             299 drivers/net/wireless/ath/ath5k/base.c 	unsigned int count, size, freq, ch;
count             318 drivers/net/wireless/ath/ath5k/base.c 	count = 0;
count             319 drivers/net/wireless/ath/ath5k/base.c 	for (ch = 1; ch <= size && count < max; ch++) {
count             326 drivers/net/wireless/ath/ath5k/base.c 		channels[count].center_freq = freq;
count             327 drivers/net/wireless/ath/ath5k/base.c 		channels[count].band = band;
count             328 drivers/net/wireless/ath/ath5k/base.c 		channels[count].hw_value = mode;
count             331 drivers/net/wireless/ath/ath5k/base.c 		if (!ath5k_channel_ok(ah, &channels[count]))
count             337 drivers/net/wireless/ath/ath5k/base.c 		count++;
count             340 drivers/net/wireless/ath/ath5k/base.c 	return count;
count             801 drivers/net/wireless/ath/ath5k/base.c 		bf->rates[0].count, keyidx, ah->ah_tx_ant, flags,
count             818 drivers/net/wireless/ath/ath5k/base.c 			mrr_tries[i] = bf->rates[i].count;
count            1682 drivers/net/wireless/ath/ath5k/base.c 	tries[0] = info->status.rates[0].count;
count            1683 drivers/net/wireless/ath/ath5k/base.c 	tries[1] = info->status.rates[1].count;
count            1684 drivers/net/wireless/ath/ath5k/base.c 	tries[2] = info->status.rates[2].count;
count            1692 drivers/net/wireless/ath/ath5k/base.c 		r->count = tries[i];
count            1695 drivers/net/wireless/ath/ath5k/base.c 	info->status.rates[ts->ts_final_idx].count = ts->ts_final_retry;
count            1713 drivers/net/wireless/ath/ath5k/base.c 		info->status.rates[ts->ts_final_idx].count++;
count             195 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             239 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             244 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             249 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             250 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             253 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             261 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             277 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             282 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             316 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             340 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             345 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             351 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             352 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             355 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             363 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             378 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             445 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             450 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             456 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             457 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             460 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             477 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             491 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             533 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             546 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             618 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             623 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             629 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             630 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             633 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             649 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             664 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             768 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             773 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             778 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             779 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             782 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             814 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             829 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             866 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             871 drivers/net/wireless/ath/ath5k/debug.c 				 size_t count, loff_t *ppos)
count             876 drivers/net/wireless/ath/ath5k/debug.c 	count = min_t(size_t, count, sizeof(buf) - 1);
count             877 drivers/net/wireless/ath/ath5k/debug.c 	if (copy_from_user(buf, userbuf, count))
count             880 drivers/net/wireless/ath/ath5k/debug.c 	buf[count] = '\0';
count             886 drivers/net/wireless/ath/ath5k/debug.c 	return count;
count             971 drivers/net/wireless/ath/ath5k/debug.c 				   size_t count, loff_t *ppos)
count             975 drivers/net/wireless/ath/ath5k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, ep->buf, ep->len);
count              22 drivers/net/wireless/ath/ath5k/sysfs.c 			const char *buf, size_t count)			\
count              32 drivers/net/wireless/ath/ath5k/sysfs.c 	return count;							\
count             924 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_refill_amsdu_rxbufs(struct ath6kl *ar, int count);
count             301 drivers/net/wireless/ath/ath6kl/debug.c 				   size_t count, loff_t *ppos)
count             323 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             399 drivers/net/wireless/ath/ath6kl/debug.c 				 size_t count, loff_t *ppos)
count             407 drivers/net/wireless/ath/ath6kl/debug.c 	buf = vmalloc(count);
count             417 drivers/net/wireless/ath/ath6kl/debug.c 		if (skb->len > count - len) {
count             434 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             451 drivers/net/wireless/ath/ath6kl/debug.c 				       size_t count,
count             461 drivers/net/wireless/ath/ath6kl/debug.c 	buf = vmalloc(count);
count             484 drivers/net/wireless/ath/ath6kl/debug.c 		if (skb->len > count - len) {
count             526 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count             534 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             539 drivers/net/wireless/ath/ath6kl/debug.c 				       size_t count, loff_t *ppos)
count             544 drivers/net/wireless/ath/ath6kl/debug.c 	ret = kstrtou32_from_user(user_buf, count, 0, &ar->debug.fwlog_mask);
count             554 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count             566 drivers/net/wireless/ath/ath6kl/debug.c 				   size_t count, loff_t *ppos)
count             684 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             705 drivers/net/wireless/ath/ath6kl/debug.c 					   size_t count, loff_t *ppos)
count             750 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             783 drivers/net/wireless/ath/ath6kl/debug.c 					  size_t count, loff_t *ppos)
count             831 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             838 drivers/net/wireless/ath/ath6kl/debug.c 					   size_t count, loff_t *ppos)
count             846 drivers/net/wireless/ath/ath6kl/debug.c 	ret = kstrtou32_from_user(user_buf, count, 0, &val);
count             856 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count             893 drivers/net/wireless/ath/ath6kl/debug.c 				    size_t count, loff_t *ppos)
count             906 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             911 drivers/net/wireless/ath/ath6kl/debug.c 				    size_t count, loff_t *ppos)
count             916 drivers/net/wireless/ath/ath6kl/debug.c 	if (kstrtoul_from_user(user_buf, count, 0, &reg_addr))
count             927 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1004 drivers/net/wireless/ath/ath6kl/debug.c 				  size_t count, loff_t *ppos)
count            1007 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count            1026 drivers/net/wireless/ath/ath6kl/debug.c 				       size_t count, loff_t *ppos)
count            1031 drivers/net/wireless/ath/ath6kl/debug.c 	if (kstrtoul_from_user(user_buf, count, 0, &lrssi_roam_threshold))
count            1038 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1043 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count            1051 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1064 drivers/net/wireless/ath/ath6kl/debug.c 				    size_t count, loff_t *ppos)
count            1073 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1078 drivers/net/wireless/ath/ath6kl/debug.c 				     size_t count, loff_t *ppos)
count            1086 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1113 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1158 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count            1215 drivers/net/wireless/ath/ath6kl/debug.c 	ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1230 drivers/net/wireless/ath/ath6kl/debug.c 				       size_t count, loff_t *ppos)
count            1238 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1250 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1262 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count            1270 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1290 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1306 drivers/net/wireless/ath/ath6kl/debug.c 				     size_t count, loff_t *ppos)
count            1314 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1319 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count            1325 drivers/net/wireless/ath/ath6kl/debug.c 	ret = kstrtou8_from_user(user_buf, count, 0, &val);
count            1333 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1351 drivers/net/wireless/ath/ath6kl/debug.c 					      size_t count, loff_t *ppos)
count            1359 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1364 drivers/net/wireless/ath/ath6kl/debug.c 					       size_t count, loff_t *ppos)
count            1370 drivers/net/wireless/ath/ath6kl/debug.c 	ret = kstrtou8_from_user(user_buf, count, 0, &val);
count            1378 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1391 drivers/net/wireless/ath/ath6kl/debug.c 						size_t count, loff_t *ppos)
count            1406 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1557 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1569 drivers/net/wireless/ath/ath6kl/debug.c 				size_t count, loff_t *ppos)
count            1583 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1604 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1616 drivers/net/wireless/ath/ath6kl/debug.c 				size_t count, loff_t *ppos)
count            1628 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1644 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1656 drivers/net/wireless/ath/ath6kl/debug.c 				       size_t count, loff_t *ppos)
count            1668 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1683 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count            1688 drivers/net/wireless/ath/ath6kl/debug.c 				      size_t count, loff_t *ppos)
count            1701 drivers/net/wireless/ath/ath6kl/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1714 drivers/net/wireless/ath/ath6kl/debug.c 						size_t count, loff_t *ppos)
count            1723 drivers/net/wireless/ath/ath6kl/debug.c 	len = min(count, sizeof(buf) - 1);
count            1762 drivers/net/wireless/ath/ath6kl/debug.c 	return count;
count              57 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	int count;
count             126 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			count = (cred_info->cur_free_credits /
count             129 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			count = (count * 3) >> 2;
count             130 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			count = max(count, cur_ep_dist->cred_per_msg);
count             131 drivers/net/wireless/ath/ath6kl/htc_mbox.c 			cur_ep_dist->cred_norm = count;
count            1134 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	int count = HTC_TARGET_RESPONSE_POLL_COUNT;
count            1136 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	while (count > 0) {
count            1147 drivers/net/wireless/ath/ath6kl/htc_pipe.c 		count--;
count            1152 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	if (count <= 0) {
count             238 drivers/net/wireless/ath/ath6kl/main.c 	u32 count, *buf = data;
count             244 drivers/net/wireless/ath/ath6kl/main.c 	for (count = 0; count < length / 4; count++, address += 4) {
count             245 drivers/net/wireless/ath/ath6kl/main.c 		ret = ath6kl_diag_read32(ar, address, &buf[count]);
count             255 drivers/net/wireless/ath/ath6kl/main.c 	u32 count;
count             262 drivers/net/wireless/ath/ath6kl/main.c 	for (count = 0; count < length / 4; count++, address += 4) {
count             263 drivers/net/wireless/ath/ath6kl/main.c 		ret = ath6kl_diag_write32(ar, address, buf[count]);
count            1313 drivers/net/wireless/ath/ath6kl/sdio.c 	int count;
count            1349 drivers/net/wireless/ath/ath6kl/sdio.c 	for (count = 0; count < BUS_REQUEST_MAX_NUM; count++)
count            1350 drivers/net/wireless/ath/ath6kl/sdio.c 		ath6kl_sdio_free_bus_req(ar_sdio, &ar_sdio->bus_req[count]);
count             347 drivers/net/wireless/ath/ath6kl/target.h 	__le32 count;
count             916 drivers/net/wireless/ath/ath6kl/txrx.c void ath6kl_refill_amsdu_rxbufs(struct ath6kl *ar, int count)
count             921 drivers/net/wireless/ath/ath6kl/txrx.c 	while (count) {
count             939 drivers/net/wireless/ath/ath6kl/txrx.c 		count--;
count             784 drivers/net/wireless/ath/ath9k/antenna.c 	antcomb->count++;
count             786 drivers/net/wireless/ath/ath9k/antenna.c 	if (antcomb->count == ATH_ANT_DIV_COMB_MAX_COUNT) {
count             795 drivers/net/wireless/ath/ath9k/antenna.c 		antcomb->count = 0;
count             481 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	u8 count;
count             505 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	count = param->count;
count             508 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			count = 0x80;
count             510 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			count = 0;
count             511 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	} else if (count & 0x80)
count             512 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		count = 0x7f;
count             513 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	else if (!count)
count             514 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		count = 1;
count             518 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			      AR_PHY_SPECTRAL_SCAN_COUNT, count);
count             521 drivers/net/wireless/ath/ath9k/ar9002_phy.c 			      AR_PHY_SPECTRAL_SCAN_COUNT_KIWI, count);
count            3043 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			       int count)
count            3048 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if ((address < 0) || ((address + count) / 2 > AR9300_EEPROM_SIZE - 1)) {
count            3062 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 		count--;
count            3065 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (i = 0; i < count / 2; i++) {
count            3073 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	if (count % 2)
count            3098 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			    int count)
count            3103 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 	for (i = 0; i < count; i++) {
count            3228 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c 			       int count);
count             827 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	int count = 0;
count             844 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			count++;
count             860 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			quick_drop_offset = min_t(int, count / 3, 2);
count             891 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 			if (count > 3) {
count             893 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 				capdiv2g -= count / 4;
count            1745 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	u8 count;
count            1760 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	count = param->count;
count            1762 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		count = 0;
count            1763 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	else if (param->count == 0)
count            1764 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		count = 1;
count            1774 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		      AR_PHY_SPECTRAL_SCAN_COUNT, count);
count             911 drivers/net/wireless/ath/ath9k/ath9k.h 	u16 count;
count            1537 drivers/net/wireless/ath/ath9k/channel.c 			noa->desc[i].count = 255;
count            1540 drivers/net/wireless/ath/ath9k/channel.c 			noa->desc[i].count = 1;
count            1549 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].count = 1;
count              20 drivers/net/wireless/ath/ath9k/common-debug.c 				      size_t count, loff_t *ppos)
count              33 drivers/net/wireless/ath/ath9k/common-debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              56 drivers/net/wireless/ath/ath9k/common-debug.c 				     size_t count, loff_t *ppos)
count              69 drivers/net/wireless/ath/ath9k/common-debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             124 drivers/net/wireless/ath/ath9k/common-debug.c 			      size_t count, loff_t *ppos)
count             165 drivers/net/wireless/ath/ath9k/common-debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             188 drivers/net/wireless/ath/ath9k/common-debug.c 				 size_t count, loff_t *ppos)
count             241 drivers/net/wireless/ath/ath9k/common-debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             690 drivers/net/wireless/ath/ath9k/common-spectral.c 				       size_t count, loff_t *ppos)
count             711 drivers/net/wireless/ath/ath9k/common-spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, mode, len);
count             791 drivers/net/wireless/ath/ath9k/common-spectral.c 					size_t count, loff_t *ppos)
count             801 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = min(count, sizeof(buf) - 1);
count             825 drivers/net/wireless/ath/ath9k/common-spectral.c 	return count;
count             842 drivers/net/wireless/ath/ath9k/common-spectral.c 					       size_t count, loff_t *ppos)
count             849 drivers/net/wireless/ath/ath9k/common-spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             854 drivers/net/wireless/ath/ath9k/common-spectral.c 						size_t count, loff_t *ppos)
count             861 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = min(count, sizeof(buf) - 1);
count             873 drivers/net/wireless/ath/ath9k/common-spectral.c 	return count;
count             890 drivers/net/wireless/ath/ath9k/common-spectral.c 					size_t count, loff_t *ppos)
count             896 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = sprintf(buf, "%d\n", spec_priv->spec_config.count);
count             897 drivers/net/wireless/ath/ath9k/common-spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             902 drivers/net/wireless/ath/ath9k/common-spectral.c 					 size_t count, loff_t *ppos)
count             909 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = min(count, sizeof(buf) - 1);
count             920 drivers/net/wireless/ath/ath9k/common-spectral.c 	spec_priv->spec_config.count = val;
count             921 drivers/net/wireless/ath/ath9k/common-spectral.c 	return count;
count             938 drivers/net/wireless/ath/ath9k/common-spectral.c 					 size_t count, loff_t *ppos)
count             945 drivers/net/wireless/ath/ath9k/common-spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             950 drivers/net/wireless/ath/ath9k/common-spectral.c 					  size_t count, loff_t *ppos)
count             957 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = min(count, sizeof(buf) - 1);
count             969 drivers/net/wireless/ath/ath9k/common-spectral.c 	return count;
count             986 drivers/net/wireless/ath/ath9k/common-spectral.c 					     size_t count, loff_t *ppos)
count             993 drivers/net/wireless/ath/ath9k/common-spectral.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             998 drivers/net/wireless/ath/ath9k/common-spectral.c 					      size_t count, loff_t *ppos)
count            1005 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = min(count, sizeof(buf) - 1);
count            1017 drivers/net/wireless/ath/ath9k/common-spectral.c 	return count;
count              72 drivers/net/wireless/ath/ath9k/debug.c 				      size_t count, loff_t *ppos)
count              75 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count              87 drivers/net/wireless/ath/ath9k/debug.c 			     size_t count, loff_t *ppos)
count              95 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              99 drivers/net/wireless/ath/ath9k/debug.c 			     size_t count, loff_t *ppos)
count             107 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count             116 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count             133 drivers/net/wireless/ath/ath9k/debug.c 			     size_t count, loff_t *ppos)
count             181 drivers/net/wireless/ath/ath9k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             189 drivers/net/wireless/ath/ath9k/debug.c 			      size_t count, loff_t *ppos)
count             197 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count             217 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count             232 drivers/net/wireless/ath/ath9k/debug.c 					  size_t count, loff_t *ppos)
count             240 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             245 drivers/net/wireless/ath/ath9k/debug.c 					   size_t count, loff_t *ppos)
count             254 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count             272 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count             301 drivers/net/wireless/ath/ath9k/debug.c 					   size_t count, loff_t *ppos)
count             391 drivers/net/wireless/ath/ath9k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             825 drivers/net/wireless/ath/ath9k/debug.c 				size_t count, loff_t *ppos)
count             832 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             836 drivers/net/wireless/ath/ath9k/debug.c 				 size_t count, loff_t *ppos)
count             843 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count             852 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count             864 drivers/net/wireless/ath/ath9k/debug.c 				size_t count, loff_t *ppos)
count             876 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             880 drivers/net/wireless/ath/ath9k/debug.c 				 size_t count, loff_t *ppos)
count             888 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count             899 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count             995 drivers/net/wireless/ath/ath9k/debug.c 				size_t count, loff_t *ppos)
count            1014 drivers/net/wireless/ath/ath9k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1030 drivers/net/wireless/ath/ath9k/debug.c 			       size_t count, loff_t *ppos)
count            1040 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1054 drivers/net/wireless/ath/ath9k/debug.c 			     size_t count, loff_t *ppos)
count            1071 drivers/net/wireless/ath/ath9k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1078 drivers/net/wireless/ath/ath9k/debug.c 			      size_t count, loff_t *ppos)
count            1085 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count            1101 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count            1115 drivers/net/wireless/ath/ath9k/debug.c 			     size_t count, loff_t *ppos)
count            1133 drivers/net/wireless/ath/ath9k/debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1140 drivers/net/wireless/ath/ath9k/debug.c 			      size_t count, loff_t *ppos)
count            1149 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count            1170 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count            1183 drivers/net/wireless/ath/ath9k/debug.c 				     size_t count, loff_t *ppos)
count            1195 drivers/net/wireless/ath/ath9k/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1200 drivers/net/wireless/ath/ath9k/debug.c 				      size_t count, loff_t *ppos)
count            1208 drivers/net/wireless/ath/ath9k/debug.c 	len = min(count, sizeof(buf) - 1);
count            1229 drivers/net/wireless/ath/ath9k/debug.c 	return count;
count              24 drivers/net/wireless/ath/ath9k/debug_sta.c 				   size_t count, loff_t *ppos)
count              74 drivers/net/wireless/ath/ath9k/debug_sta.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             169 drivers/net/wireless/ath/ath9k/debug_sta.c 				   size_t count, loff_t *ppos)
count             229 drivers/net/wireless/ath/ath9k/debug_sta.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              35 drivers/net/wireless/ath/ath9k/dfs_debug.c 			     size_t count, loff_t *ppos)
count              89 drivers/net/wireless/ath/ath9k/dfs_debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              98 drivers/net/wireless/ath/ath9k/dfs_debug.c 			      size_t count, loff_t *ppos)
count             105 drivers/net/wireless/ath/ath9k/dfs_debug.c 	len = min(count, sizeof(buf) - 1);
count             116 drivers/net/wireless/ath/ath9k/dfs_debug.c 	return count;
count             121 drivers/net/wireless/ath/ath9k/dfs_debug.c 					 size_t count, loff_t *ppos)
count             127 drivers/net/wireless/ath/ath9k/dfs_debug.c 	return count;
count              20 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 				       size_t count, loff_t *ppos)
count              67 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              78 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 				      size_t count, loff_t *ppos)
count             137 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             148 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 				      size_t count, loff_t *ppos)
count             183 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             194 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			      size_t count, loff_t *ppos)
count             235 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             252 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			      size_t count, loff_t *ppos)
count             276 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             290 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			      size_t count, loff_t *ppos)
count             303 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             314 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			       size_t count, loff_t *ppos)
count             349 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             361 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 			       size_t count, loff_t *ppos)
count             369 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             373 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 				size_t count, loff_t *ppos)
count             381 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	len = min(count, sizeof(buf) - 1);
count             390 drivers/net/wireless/ath/ath9k/htc_drv_debug.c 	return count;
count             256 drivers/net/wireless/ath/ath9k/htc_drv_init.c 				u32 *val, u16 count)
count             265 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	for (i = 0; i < count; i++) {
count             270 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			   (u8 *)tmpaddr , sizeof(u32) * count,
count             271 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			   (u8 *)tmpval, sizeof(u32) * count,
count             275 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			"Multiple REGISTER READ FAILED (count: %d)\n", count);
count             278 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	for (i = 0; i < count; i++) {
count             600 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->spec_priv.spec_config.count = 8;
count             486 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	rate->count = 1;
count             778 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		if (++event->count >= ATH9K_HTC_TX_TIMEOUT_COUNT) {
count            1644 drivers/net/wireless/ath/ath9k/hw.c 	int count = 50;
count            1676 drivers/net/wireless/ath/ath9k/hw.c 	} while (count-- > 0);
count             704 drivers/net/wireless/ath/ath9k/hw.h 	u8 count;
count             206 drivers/net/wireless/ath/ath9k/init.c                                 u32 *val, u16 count)
count             210 drivers/net/wireless/ath/ath9k/init.c 	for (i = 0; i < count; i++)
count             438 drivers/net/wireless/ath/ath9k/init.c 		sc->ant_comb.count = ATH_ANT_DIV_COMB_INIT_COUNT;
count             443 drivers/net/wireless/ath/ath9k/init.c 	sc->spec_priv.spec_config.count = 8;
count              99 drivers/net/wireless/ath/ath9k/link.c 	static int count;
count             103 drivers/net/wireless/ath/ath9k/link.c 		count++;
count             104 drivers/net/wireless/ath/ath9k/link.c 		if (count == 3) {
count             107 drivers/net/wireless/ath/ath9k/link.c 			count = 0;
count             111 drivers/net/wireless/ath/ath9k/link.c 		count = 0;
count             188 drivers/net/wireless/ath/ath9k/link.c 	tx_info->control.rates[0].count = 1;
count              86 drivers/net/wireless/ath/ath9k/tx99.c 	rate->count = 1;
count             160 drivers/net/wireless/ath/ath9k/tx99.c 			      size_t count, loff_t *ppos)
count             167 drivers/net/wireless/ath/ath9k/tx99.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             171 drivers/net/wireless/ath/ath9k/tx99.c 			       size_t count, loff_t *ppos)
count             180 drivers/net/wireless/ath/ath9k/tx99.c 	if (count < 1)
count             186 drivers/net/wireless/ath/ath9k/tx99.c 	len = min(count, sizeof(buf) - 1);
count             216 drivers/net/wireless/ath/ath9k/tx99.c 	return count;
count             229 drivers/net/wireless/ath/ath9k/tx99.c 				    size_t count, loff_t *ppos)
count             239 drivers/net/wireless/ath/ath9k/tx99.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             244 drivers/net/wireless/ath/ath9k/tx99.c 				     size_t count, loff_t *ppos)
count             250 drivers/net/wireless/ath/ath9k/tx99.c 	r = kstrtou8_from_user(user_buf, count, 0, &tx_power);
count             263 drivers/net/wireless/ath/ath9k/tx99.c 	return count;
count             143 drivers/net/wireless/ath/ath9k/wmi.h 	int count;
count             345 drivers/net/wireless/ath/ath9k/xmit.c 			     struct sk_buff *skb, int count)
count             353 drivers/net/wireless/ath/ath9k/xmit.c 	fi->retries += count;
count             469 drivers/net/wireless/ath/ath9k/xmit.c 		retries += rates[i].count;
count             675 drivers/net/wireless/ath/ath9k/xmit.c 		airtime += rate_dur * bf->rates[i].count;
count             742 drivers/net/wireless/ath/ath9k/xmit.c 		if (!rates[i].count || rates[i].idx < 0)
count             776 drivers/net/wireless/ath/ath9k/xmit.c 		if (!rates[i].count)
count            1232 drivers/net/wireless/ath/ath9k/xmit.c 		if (!rates[i].count || (rates[i].idx < 0))
count            1236 drivers/net/wireless/ath/ath9k/xmit.c 		info->rates[i].Tries = rates[i].count;
count            2538 drivers/net/wireless/ath/ath9k/xmit.c 			tx_info->status.rates[tx_rateindex].count =
count            2543 drivers/net/wireless/ath/ath9k/xmit.c 		tx_info->status.rates[i].count = 0;
count            2547 drivers/net/wireless/ath/ath9k/xmit.c 	tx_info->status.rates[tx_rateindex].count = ts->ts_longretry + 1;
count             166 drivers/net/wireless/ath/carl9170/carl9170.h 	unsigned int count;
count              63 drivers/net/wireless/ath/carl9170/debug.c 				     size_t count, loff_t *ppos)
count              71 drivers/net/wireless/ath/carl9170/debug.c 	if (!count)
count             100 drivers/net/wireless/ath/carl9170/debug.c 		err = simple_read_from_buffer(userbuf, count, ppos,
count             114 drivers/net/wireless/ath/carl9170/debug.c 	const char __user *userbuf, size_t count, loff_t *ppos)
count             121 drivers/net/wireless/ath/carl9170/debug.c 	if (!count)
count             124 drivers/net/wireless/ath/carl9170/debug.c 	if (count > PAGE_SIZE)
count             137 drivers/net/wireless/ath/carl9170/debug.c 	buf = vmalloc(count);
count             141 drivers/net/wireless/ath/carl9170/debug.c 	if (copy_from_user(buf, userbuf, count)) {
count             156 drivers/net/wireless/ath/carl9170/debug.c 	err = dfops->write(ar, buf, count);
count             261 drivers/net/wireless/ath/carl9170/debug.c 	    ar->tx_stats[0].count, ar->tx_stats[1].count,
count             262 drivers/net/wireless/ath/carl9170/debug.c 	    ar->tx_stats[2].count, ar->tx_stats[3].count);
count             545 drivers/net/wireless/ath/carl9170/debug.c 	const char *buf, size_t count)
count             550 drivers/net/wireless/ath/carl9170/debug.c 	if (!count)
count             553 drivers/net/wireless/ath/carl9170/debug.c 	if (count > max_len)
count             592 drivers/net/wireless/ath/carl9170/debug.c 	return err ? err : count;
count             617 drivers/net/wireless/ath/carl9170/debug.c 					  size_t count)
count             621 drivers/net/wireless/ath/carl9170/debug.c 	if (count < 1)
count             641 drivers/net/wireless/ath/carl9170/debug.c 			count = err;
count             649 drivers/net/wireless/ath/carl9170/debug.c 			count = err;
count             660 drivers/net/wireless/ath/carl9170/debug.c 	return count;
count             700 drivers/net/wireless/ath/carl9170/debug.c 					  size_t count)
count             704 drivers/net/wireless/ath/carl9170/debug.c 	if (count < 1)
count             716 drivers/net/wireless/ath/carl9170/debug.c 	return count;
count             722 drivers/net/wireless/ath/carl9170/debug.c 	const char *buf, size_t count)
count             727 drivers/net/wireless/ath/carl9170/debug.c 	if (!count)
count             730 drivers/net/wireless/ath/carl9170/debug.c 	if (count > max_len)
count             754 drivers/net/wireless/ath/carl9170/debug.c 	return err ? err : count;
count             129 drivers/net/wireless/ath/carl9170/fwcmd.h 	__le32  count;
count            1553 drivers/net/wireless/ath/carl9170/main.c 	unsigned int i, off = 0, transfer, count;
count            1561 drivers/net/wireless/ath/carl9170/main.c 	count = ARRAY_SIZE(ar->rng.cache);
count            1562 drivers/net/wireless/ath/carl9170/main.c 	while (count) {
count            1569 drivers/net/wireless/ath/carl9170/main.c 		transfer = min_t(unsigned int, count, RW);
count            1574 drivers/net/wireless/ath/carl9170/main.c 		count -= transfer;
count             114 drivers/net/wireless/ath/carl9170/rx.c 		int count;
count             116 drivers/net/wireless/ath/carl9170/rx.c 		count = (seq - ar->cmd_seq) % ar->fw.cmd_bufs;
count             119 drivers/net/wireless/ath/carl9170/rx.c 			  "w:%d g:%d\n", count, ar->cmd_seq, seq);
count              93 drivers/net/wireless/ath/carl9170/tx.c 	ar->tx_stats[queue].count++;
count             416 drivers/net/wireless/ath/carl9170/tx.c 	if (txinfo->status.rates[0].count == 1)
count             546 drivers/net/wireless/ath/carl9170/tx.c 			txinfo->status.rates[i].count = tries;
count             554 drivers/net/wireless/ath/carl9170/tx.c 		txinfo->status.rates[i].count = 0;
count             944 drivers/net/wireless/ath/carl9170/tx.c 			txrate->count);
count             304 drivers/net/wireless/ath/dfs_pattern_detector.c 				ps->pri, ps->count, ps->count_falses);
count             174 drivers/net/wireless/ath/dfs_pri_detector.c 		pde->count--;
count             178 drivers/net/wireless/ath/dfs_pri_detector.c 	return (pde->count > 0);
count             188 drivers/net/wireless/ath/dfs_pri_detector.c 	if (pde->count < 2)
count             217 drivers/net/wireless/ath/dfs_pri_detector.c 	pde->count++;
count             220 drivers/net/wireless/ath/dfs_pri_detector.c 	if (pde->count >= pde->max_count)
count             245 drivers/net/wireless/ath/dfs_pri_detector.c 		ps.count = 2;
count             267 drivers/net/wireless/ath/dfs_pri_detector.c 				ps.count++;
count             280 drivers/net/wireless/ath/dfs_pri_detector.c 		if (ps.count <= min_count)
count             325 drivers/net/wireless/ath/dfs_pri_detector.c 			ps->count++;
count             327 drivers/net/wireless/ath/dfs_pri_detector.c 			if (max_count < ps->count)
count             328 drivers/net/wireless/ath/dfs_pri_detector.c 				max_count = ps->count;
count             350 drivers/net/wireless/ath/dfs_pri_detector.c 		if ((ps->count >= pde->rs->ppb_thresh) &&
count             351 drivers/net/wireless/ath/dfs_pri_detector.c 		    (ps->count * pde->rs->num_pri >= ps->count_falses))
count             371 drivers/net/wireless/ath/dfs_pri_detector.c 	pde->count = 0;
count              39 drivers/net/wireless/ath/dfs_pri_detector.h 	u32 count;
count              71 drivers/net/wireless/ath/dfs_pri_detector.h 	u32 count;
count              28 drivers/net/wireless/ath/wcn36xx/debug.c 				   size_t count, loff_t *ppos)
count              48 drivers/net/wireless/ath/wcn36xx/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count              53 drivers/net/wireless/ath/wcn36xx/debug.c 				    size_t count, loff_t *ppos)
count              62 drivers/net/wireless/ath/wcn36xx/debug.c 	buf_size = min(count, (sizeof(buf)-1));
count              89 drivers/net/wireless/ath/wcn36xx/debug.c 	return count;
count             100 drivers/net/wireless/ath/wcn36xx/debug.c 				    size_t count, loff_t *ppos)
count             111 drivers/net/wireless/ath/wcn36xx/debug.c 	buf_size = min(count, (sizeof(buf) - 1));
count             131 drivers/net/wireless/ath/wcn36xx/debug.c 	return count;
count            3746 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 count;
count            4085 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 count;
count            4831 drivers/net/wireless/ath/wcn36xx/hal.h 	u32 count;
count            2386 drivers/net/wireless/ath/wcn36xx/smd.c 	for (i = 0; i < rsp->count; i++) {
count             626 drivers/net/wireless/ath/wil6210/debugfs.c 				    size_t count, loff_t *ppos)
count             640 drivers/net/wireless/ath/wil6210/debugfs.c 	if (pos >= available || !count)
count             643 drivers/net/wireless/ath/wil6210/debugfs.c 	if (count > available - pos)
count             644 drivers/net/wireless/ath/wil6210/debugfs.c 		count = available - pos;
count             645 drivers/net/wireless/ath/wil6210/debugfs.c 	if (count > max_count)
count             646 drivers/net/wireless/ath/wil6210/debugfs.c 		count = max_count;
count             651 drivers/net/wireless/ath/wil6210/debugfs.c 	aligned_count = count + unaligned_bytes;
count             673 drivers/net/wireless/ath/wil6210/debugfs.c 	ret = copy_to_user(user_buf, buf + unaligned_bytes, count);
count             679 drivers/net/wireless/ath/wil6210/debugfs.c 	if (ret == count)
count             682 drivers/net/wireless/ath/wil6210/debugfs.c 	count -= ret;
count             683 drivers/net/wireless/ath/wil6210/debugfs.c 	*ppos = pos + count;
count             685 drivers/net/wireless/ath/wil6210/debugfs.c 	return count;
count             747 drivers/net/wireless/ath/wil6210/debugfs.c 				      size_t count, loff_t *ppos)
count             753 drivers/net/wireless/ath/wil6210/debugfs.c 	rc = kstrtoint_from_user(buf, count, 0, &val);
count             775 drivers/net/wireless/ath/wil6210/debugfs.c 	return count;
count             862 drivers/net/wireless/ath/wil6210/debugfs.c 			     size_t count, loff_t *ppos)
count             871 drivers/net/wireless/ath/wil6210/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, text,
count             936 drivers/net/wireless/ath/wil6210/debugfs.c 			       size_t count, loff_t *ppos)
count             947 drivers/net/wireless/ath/wil6210/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, text,
count            1514 drivers/net/wireless/ath/wil6210/debugfs.c 				      size_t count, loff_t *ppos)
count            1527 drivers/net/wireless/ath/wil6210/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count            1533 drivers/net/wireless/ath/wil6210/debugfs.c 				       size_t count, loff_t *ppos)
count            1550 drivers/net/wireless/ath/wil6210/debugfs.c 	if (count > sizeof(buf)) {
count            1551 drivers/net/wireless/ath/wil6210/debugfs.c 		wil_err(wil, "Input too long, len = %d\n", (int)count);
count            1555 drivers/net/wireless/ath/wil6210/debugfs.c 	rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, buf_, count);
count            2070 drivers/net/wireless/ath/wil6210/debugfs.c 				     size_t count, loff_t *ppos)
count            2081 drivers/net/wireless/ath/wil6210/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count            2087 drivers/net/wireless/ath/wil6210/debugfs.c 				      size_t count, loff_t *ppos)
count            2093 drivers/net/wireless/ath/wil6210/debugfs.c 	rc = kstrtoint_from_user(buf_, count, 0, &val);
count            2107 drivers/net/wireless/ath/wil6210/debugfs.c 	return count;
count            2154 drivers/net/wireless/ath/wil6210/debugfs.c 				       size_t count, loff_t *ppos)
count            2171 drivers/net/wireless/ath/wil6210/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, text,
count            2245 drivers/net/wireless/ath/wil6210/debugfs.c 				      size_t count, loff_t *ppos)
count            2278 drivers/net/wireless/ath/wil6210/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, text, n);
count              31 drivers/net/wireless/ath/wil6210/fw.c 			size_t count)
count              35 drivers/net/wireless/ath/wil6210/fw.c 	for (count += 4; count > 4; count -= 4)
count             153 drivers/net/wireless/ath/wil6210/main.c 			  size_t count)
count             158 drivers/net/wireless/ath/wil6210/main.c 	for (; count >= 4; count -= 4)
count             161 drivers/net/wireless/ath/wil6210/main.c 	if (unlikely(count)) {
count             165 drivers/net/wireless/ath/wil6210/main.c 		memcpy(d, &tmp, count);
count             170 drivers/net/wireless/ath/wil6210/main.c 			size_t count)
count             175 drivers/net/wireless/ath/wil6210/main.c 	for (; count >= 4; count -= 4)
count             178 drivers/net/wireless/ath/wil6210/main.c 	if (unlikely(count)) {
count             182 drivers/net/wireless/ath/wil6210/main.c 		memcpy(&tmp, s, count);
count             329 drivers/net/wireless/ath/wil6210/pmc.c ssize_t wil_pmc_read(struct file *filp, char __user *buf, size_t count,
count             352 drivers/net/wireless/ath/wil6210/pmc.c 		     (u32)count, *f_pos);
count             370 drivers/net/wireless/ath/wil6210/pmc.c 		     *f_pos, idx, offset, count);
count             374 drivers/net/wireless/ath/wil6210/pmc.c 					 count,
count             619 drivers/net/wireless/ath/wil6210/txrx.c static int wil_rx_refill(struct wil6210_priv *wil, int count)
count             629 drivers/net/wireless/ath/wil6210/txrx.c 	     (next_tail != v->swhead) && (count-- > 0);
count             658 drivers/net/wireless/ath/wil6210/txrx.c int reverse_memcmp(const void *cs, const void *ct, size_t count)
count             663 drivers/net/wireless/ath/wil6210/txrx.c 	for (su1 = cs + count - 1, su2 = ct + count - 1; count > 0;
count             664 drivers/net/wireless/ath/wil6210/txrx.c 	     --su1, --su2, count--) {
count            1206 drivers/net/wireless/ath/wil6210/wil6210.h 			  size_t count);
count            1208 drivers/net/wireless/ath/wil6210/wil6210.h 			size_t count);
count            1436 drivers/net/wireless/ath/wil6210/wil6210.h int reverse_memcmp(const void *cs, const void *ct, size_t count);
count            3965 drivers/net/wireless/ath/wil6210/wmi.h 	u8 count;
count            1069 drivers/net/wireless/broadcom/b43/b43.h 				 size_t count, u16 offset, u8 reg_width)
count            1071 drivers/net/wireless/broadcom/b43/b43.h 	dev->dev->block_read(dev->dev, buffer, count, offset, reg_width);
count            1075 drivers/net/wireless/broadcom/b43/b43.h 				   size_t count, u16 offset, u8 reg_width)
count            1077 drivers/net/wireless/broadcom/b43/b43.h 	dev->dev->block_write(dev->dev, buffer, count, offset, reg_width);
count              64 drivers/net/wireless/broadcom/b43/bus.c 			     size_t count, u16 offset, u8 reg_width)
count              66 drivers/net/wireless/broadcom/b43/bus.c 	bcma_block_read(dev->bdev, buffer, count, offset, reg_width);
count              70 drivers/net/wireless/broadcom/b43/bus.c 			      size_t count, u16 offset, u8 reg_width)
count              72 drivers/net/wireless/broadcom/b43/bus.c 	bcma_block_write(dev->bdev, buffer, count, offset, reg_width);
count             167 drivers/net/wireless/broadcom/b43/bus.c 				   size_t count, u16 offset, u8 reg_width)
count             169 drivers/net/wireless/broadcom/b43/bus.c 	ssb_block_read(dev->sdev, buffer, count, offset, reg_width);
count             173 drivers/net/wireless/broadcom/b43/bus.c 			     size_t count, u16 offset, u8 reg_width)
count             175 drivers/net/wireless/broadcom/b43/bus.c 	ssb_block_write(dev->sdev, buffer, count, offset, reg_width);
count              34 drivers/net/wireless/broadcom/b43/bus.h 			   size_t count, u16 offset, u8 reg_width);
count              36 drivers/net/wireless/broadcom/b43/bus.h 			    size_t count, u16 offset, u8 reg_width);
count              32 drivers/net/wireless/broadcom/b43/debugfs.c 	int (*write)(struct b43_wldev *dev, const char *buf, size_t count);
count              53 drivers/net/wireless/broadcom/b43/debugfs.c 		if (bufsize - count)				\
count              54 drivers/net/wireless/broadcom/b43/debugfs.c 			count += snprintf(buf + count,		\
count              55 drivers/net/wireless/broadcom/b43/debugfs.c 					  bufsize - count,	\
count              69 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count              82 drivers/net/wireless/broadcom/b43/debugfs.c 	return count;
count              86 drivers/net/wireless/broadcom/b43/debugfs.c 				 const char *buf, size_t count)
count             110 drivers/net/wireless/broadcom/b43/debugfs.c 				  const char *buf, size_t count)
count             145 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count             158 drivers/net/wireless/broadcom/b43/debugfs.c 	return count;
count             162 drivers/net/wireless/broadcom/b43/debugfs.c 				 const char *buf, size_t count)
count             186 drivers/net/wireless/broadcom/b43/debugfs.c 				  const char *buf, size_t count)
count             224 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count             235 drivers/net/wireless/broadcom/b43/debugfs.c 	return count;
count             239 drivers/net/wireless/broadcom/b43/debugfs.c 				  const char *buf, size_t count)
count             258 drivers/net/wireless/broadcom/b43/debugfs.c 				   const char *buf, size_t count)
count             288 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count             299 drivers/net/wireless/broadcom/b43/debugfs.c 	return count;
count             303 drivers/net/wireless/broadcom/b43/debugfs.c 				  const char *buf, size_t count)
count             322 drivers/net/wireless/broadcom/b43/debugfs.c 				   const char *buf, size_t count)
count             353 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count             391 drivers/net/wireless/broadcom/b43/debugfs.c 	return count;
count             395 drivers/net/wireless/broadcom/b43/debugfs.c 			      const char *buf, size_t count)
count             399 drivers/net/wireless/broadcom/b43/debugfs.c 	if (count > 0 && buf[0] == '1') {
count             428 drivers/net/wireless/broadcom/b43/debugfs.c 	ssize_t count = 0;
count             485 drivers/net/wireless/broadcom/b43/debugfs.c 	return err ? err : count;
count             491 drivers/net/wireless/broadcom/b43/debugfs.c 				size_t count, loff_t *ppos)
count             502 drivers/net/wireless/broadcom/b43/debugfs.c 	if (!count)
count             539 drivers/net/wireless/broadcom/b43/debugfs.c 	ret = simple_read_from_buffer(userbuf, count, ppos,
count             555 drivers/net/wireless/broadcom/b43/debugfs.c 				 size_t count, loff_t *ppos)
count             562 drivers/net/wireless/broadcom/b43/debugfs.c 	if (!count)
count             564 drivers/net/wireless/broadcom/b43/debugfs.c 	if (count > PAGE_SIZE)
count             588 drivers/net/wireless/broadcom/b43/debugfs.c 	if (copy_from_user(buf, userbuf, count)) {
count             592 drivers/net/wireless/broadcom/b43/debugfs.c 	err = dfops->write(dev, buf, count);
count             601 drivers/net/wireless/broadcom/b43/debugfs.c 	return err ? err : count;
count            1074 drivers/net/wireless/broadcom/b43/main.c 	int i, count;
count            1077 drivers/net/wireless/broadcom/b43/main.c 		count = B43_NR_GROUP_KEYS + B43_NR_PAIRWISE_KEYS;
count            1079 drivers/net/wireless/broadcom/b43/main.c 		count = B43_NR_GROUP_KEYS * 2 + B43_NR_PAIRWISE_KEYS;
count            1080 drivers/net/wireless/broadcom/b43/main.c 	for (i = 0; i < count; i++)
count            1086 drivers/net/wireless/broadcom/b43/main.c 	unsigned int i, index, count, offset, pairwise_keys_start;
count            1102 drivers/net/wireless/broadcom/b43/main.c 		count = B43_NR_GROUP_KEYS + B43_NR_PAIRWISE_KEYS;
count            1105 drivers/net/wireless/broadcom/b43/main.c 		count = B43_NR_GROUP_KEYS * 2 + B43_NR_PAIRWISE_KEYS;
count            1107 drivers/net/wireless/broadcom/b43/main.c 	for (index = 0; index < count; index++) {
count            2753 drivers/net/wireless/broadcom/b43/main.c 			      size_t count,
count            2763 drivers/net/wireless/broadcom/b43/main.c 	for (i = 0; i < count; i++) {
count            2818 drivers/net/wireless/broadcom/b43/main.c 	size_t count;
count            2822 drivers/net/wireless/broadcom/b43/main.c 	count = be32_to_cpu(hdr->size);
count            2823 drivers/net/wireless/broadcom/b43/main.c 	return b43_write_initvals(dev, ivals, count,
count            2833 drivers/net/wireless/broadcom/b43/main.c 	size_t count;
count            2840 drivers/net/wireless/broadcom/b43/main.c 	count = be32_to_cpu(hdr->size);
count            2841 drivers/net/wireless/broadcom/b43/main.c 	return b43_write_initvals(dev, ivals, count,
count            3536 drivers/net/wireless/broadcom/b43/main.c 	int count = -ENODEV;
count            3542 drivers/net/wireless/broadcom/b43/main.c 		count = sizeof(u16);
count            3546 drivers/net/wireless/broadcom/b43/main.c 	return count;
count            2484 drivers/net/wireless/broadcom/b43/phy_lp.c 	u32 freqref, vco_freq, val1, val2, val3, timeout, timeoutref, count;
count            2535 drivers/net/wireless/broadcom/b43/phy_lp.c 	count = lpphy_qdiv_roundup(val3, val2 + 16, 16);
count            2536 drivers/net/wireless/broadcom/b43/phy_lp.c 	count *= (timeout + 1) * (timeoutref + 1);
count            2537 drivers/net/wireless/broadcom/b43/phy_lp.c 	count--;
count            2539 drivers/net/wireless/broadcom/b43/phy_lp.c 						0xF0, count >> 8);
count            2540 drivers/net/wireless/broadcom/b43/phy_lp.c 	b43_radio_write(dev, B2063_PLL_JTAG_PLL_VCO_CALIB8, count & 0xFF);
count            5381 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 tmp, core, type, count, max, numb, last = 0, cmd;
count            5486 drivers/net/wireless/broadcom/b43/phy_n.c 			count = nphy->mphase_txcal_cmdidx;
count            5488 drivers/net/wireless/broadcom/b43/phy_n.c 				(u16)(count + nphy->mphase_txcal_numcmds));
count            5490 drivers/net/wireless/broadcom/b43/phy_n.c 			count = 0;
count            5494 drivers/net/wireless/broadcom/b43/phy_n.c 		for (; count < numb; count++) {
count            5497 drivers/net/wireless/broadcom/b43/phy_n.c 					cmd = tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[count];
count            5499 drivers/net/wireless/broadcom/b43/phy_n.c 					cmd = tbl_tx_iqlo_cal_cmds_fullcal[count];
count            5502 drivers/net/wireless/broadcom/b43/phy_n.c 					cmd = tbl_tx_iqlo_cal_cmds_recal_nphyrev3[count];
count            5504 drivers/net/wireless/broadcom/b43/phy_n.c 					cmd = tbl_tx_iqlo_cal_cmds_recal[count];
count             764 drivers/net/wireless/broadcom/b43/pio.c 	unsigned int count = 0;
count             772 drivers/net/wireless/broadcom/b43/pio.c 		if (WARN_ON_ONCE(++count > 10000))
count              23 drivers/net/wireless/broadcom/b43/sysfs.c static int get_integer(const char *buf, size_t count)
count              28 drivers/net/wireless/broadcom/b43/sysfs.c 	if (count == 0)
count              30 drivers/net/wireless/broadcom/b43/sysfs.c 	count = min_t(size_t, count, 10);
count              31 drivers/net/wireless/broadcom/b43/sysfs.c 	memcpy(tmp, buf, count);
count              42 drivers/net/wireless/broadcom/b43/sysfs.c 	ssize_t count = 0;
count              56 drivers/net/wireless/broadcom/b43/sysfs.c 		count =
count              61 drivers/net/wireless/broadcom/b43/sysfs.c 		count =
count              66 drivers/net/wireless/broadcom/b43/sysfs.c 		count =
count              76 drivers/net/wireless/broadcom/b43/sysfs.c 	return count;
count              81 drivers/net/wireless/broadcom/b43/sysfs.c 					 const char *buf, size_t count)
count              90 drivers/net/wireless/broadcom/b43/sysfs.c 	mode = get_integer(buf, count);
count             121 drivers/net/wireless/broadcom/b43/sysfs.c 	return err ? err : count;
count            2394 drivers/net/wireless/broadcom/b43/tables_lpphy.c void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count,
count            2399 drivers/net/wireless/broadcom/b43/tables_lpphy.c 	for (i = offset; i < count; i++)
count              38 drivers/net/wireless/broadcom/b43/tables_lpphy.h void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count,
count             414 drivers/net/wireless/broadcom/b43/xmit.c 	    (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) {
count             415 drivers/net/wireless/broadcom/b43/xmit.c 		rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count;
count             418 drivers/net/wireless/broadcom/b43/xmit.c 		rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count;
count             869 drivers/net/wireless/broadcom/b43/xmit.c 	retry_limit = report->status.rates[0].count;
count             884 drivers/net/wireless/broadcom/b43/xmit.c 		report->status.rates[0].count = 0;
count             893 drivers/net/wireless/broadcom/b43/xmit.c 		report->status.rates[0].count = 0;
count             894 drivers/net/wireless/broadcom/b43/xmit.c 		report->status.rates[1].count = status->frame_count;
count             897 drivers/net/wireless/broadcom/b43/xmit.c 			report->status.rates[0].count = retry_limit;
count             898 drivers/net/wireless/broadcom/b43/xmit.c 			report->status.rates[1].count = status->frame_count -
count             902 drivers/net/wireless/broadcom/b43/xmit.c 			report->status.rates[0].count = status->frame_count;
count              33 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	int (*write)(struct b43legacy_wldev *dev, const char *buf, size_t count);
count              56 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		if (bufsize - count)				\
count              57 drivers/net/wireless/broadcom/b43legacy/debugfs.c 			count += snprintf(buf + count,		\
count              58 drivers/net/wireless/broadcom/b43legacy/debugfs.c 					  bufsize - count,	\
count              68 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	ssize_t count = 0;
count              76 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	return count;
count              80 drivers/net/wireless/broadcom/b43legacy/debugfs.c static int tsf_write_file(struct b43legacy_wldev *dev, const char *buf, size_t count)
count              94 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	ssize_t count = 0;
count             102 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	return count;
count             108 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	ssize_t count = 0;
count             118 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		count += sizeof(tmp);
count             122 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	return count;
count             128 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	ssize_t count = 0;
count             169 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	return count;
count             173 drivers/net/wireless/broadcom/b43legacy/debugfs.c static int restart_write_file(struct b43legacy_wldev *dev, const char *buf, size_t count)
count             177 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	if (count > 0 && buf[0] == '1') {
count             188 drivers/net/wireless/broadcom/b43legacy/debugfs.c 				size_t count, loff_t *ppos)
count             199 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	if (!count)
count             241 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	ret = simple_read_from_buffer(userbuf, count, ppos,
count             257 drivers/net/wireless/broadcom/b43legacy/debugfs.c 				 size_t count, loff_t *ppos)
count             264 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	if (!count)
count             266 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	if (count > PAGE_SIZE)
count             290 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	if (copy_from_user(buf, userbuf, count)) {
count             296 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		err = dfops->write(dev, buf, count);
count             299 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		err = dfops->write(dev, buf, count);
count             308 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	return err ? err : count;
count            1172 drivers/net/wireless/broadcom/b43legacy/dma.c 			retry_limit = info->status.rates[0].count;
count            1186 drivers/net/wireless/broadcom/b43legacy/dma.c 				info->status.rates[0].count = 0;
count            1187 drivers/net/wireless/broadcom/b43legacy/dma.c 				info->status.rates[1].count = status->frame_count;
count            1190 drivers/net/wireless/broadcom/b43legacy/dma.c 					info->status.rates[0].count = retry_limit;
count            1191 drivers/net/wireless/broadcom/b43legacy/dma.c 					info->status.rates[1].count = status->frame_count -
count            1195 drivers/net/wireless/broadcom/b43legacy/dma.c 					info->status.rates[0].count = status->frame_count;
count            1781 drivers/net/wireless/broadcom/b43legacy/main.c 				    size_t count,
count            1791 drivers/net/wireless/broadcom/b43legacy/main.c 	for (i = 0; i < count; i++) {
count            1846 drivers/net/wireless/broadcom/b43legacy/main.c 	size_t count;
count            1851 drivers/net/wireless/broadcom/b43legacy/main.c 	count = be32_to_cpu(hdr->size);
count            1852 drivers/net/wireless/broadcom/b43legacy/main.c 	err = b43legacy_write_initvals(dev, ivals, count,
count            1861 drivers/net/wireless/broadcom/b43legacy/main.c 		count = be32_to_cpu(hdr->size);
count            1862 drivers/net/wireless/broadcom/b43legacy/main.c 		err = b43legacy_write_initvals(dev, ivals, count,
count             498 drivers/net/wireless/broadcom/b43legacy/pio.c 	retry_limit = info->status.rates[0].count;
count             512 drivers/net/wireless/broadcom/b43legacy/pio.c 		info->status.rates[0].count = 0;
count             513 drivers/net/wireless/broadcom/b43legacy/pio.c 		info->status.rates[1].count = status->frame_count;
count             516 drivers/net/wireless/broadcom/b43legacy/pio.c 			info->status.rates[0].count = retry_limit;
count             517 drivers/net/wireless/broadcom/b43legacy/pio.c 			info->status.rates[1].count = status->frame_count -
count             521 drivers/net/wireless/broadcom/b43legacy/pio.c 			info->status.rates[0].count = status->frame_count;
count              25 drivers/net/wireless/broadcom/b43legacy/sysfs.c static int get_integer(const char *buf, size_t count)
count              30 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	if (count == 0)
count              32 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	count = min_t(size_t, count, 10);
count              33 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	memcpy(tmp, buf, count);
count              39 drivers/net/wireless/broadcom/b43legacy/sysfs.c static int get_boolean(const char *buf, size_t count)
count              41 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	if (count != 0) {
count              46 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 4 && memcmp(buf, "true", 4) == 0)
count              48 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 5 && memcmp(buf, "false", 5) == 0)
count              50 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 3 && memcmp(buf, "yes", 3) == 0)
count              52 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 2 && memcmp(buf, "no", 2) == 0)
count              54 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 2 && memcmp(buf, "on", 2) == 0)
count              56 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		if (count >= 3 && memcmp(buf, "off", 3) == 0)
count              67 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	ssize_t count = 0;
count              76 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		count = snprintf(buf, PAGE_SIZE, "0 (No Interference"
count              80 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference"
count              84 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference"
count              93 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	return count;
count              98 drivers/net/wireless/broadcom/b43legacy/sysfs.c 					       const char *buf, size_t count)
count             108 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	mode = get_integer(buf, count);
count             136 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	return err ? err : count;
count             148 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	ssize_t count;
count             156 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble"
count             159 drivers/net/wireless/broadcom/b43legacy/sysfs.c 		count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble"
count             164 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	return count;
count             169 drivers/net/wireless/broadcom/b43legacy/sysfs.c 					     const char *buf, size_t count)
count             178 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	value = get_boolean(buf, count);
count             189 drivers/net/wireless/broadcom/b43legacy/sysfs.c 	return count;
count             285 drivers/net/wireless/broadcom/b43legacy/xmit.c 	    (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) {
count             286 drivers/net/wireless/broadcom/b43legacy/xmit.c 		rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count;
count             289 drivers/net/wireless/broadcom/b43legacy/xmit.c 		rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count;
count             606 drivers/net/wireless/broadcom/b43legacy/xmit.c 	tmp = hw->count;
count             122 drivers/net/wireless/broadcom/b43legacy/xmit.h 	u8 count;
count             227 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u32 count;
count            1075 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	results->count = 0;
count            1647 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u16 count;
count            1726 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	count = ie[offset] + (ie[offset + 1] << 8);
count            1727 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	offset += WPA_IE_SUITE_COUNT_LEN + (count * WPA_IE_MIN_OUI_LEN);
count            1731 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	count = ie[offset] + (ie[offset + 1] << 8);
count            1732 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	offset += WPA_IE_SUITE_COUNT_LEN + (count * WPA_IE_MIN_OUI_LEN);
count            2733 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		cfg->assoclist.count = cpu_to_le32(BRCMF_MAX_ASSOCLIST);
count            2740 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			cfg->assoclist.count = 0;
count            2744 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (idx < le32_to_cpu(cfg->assoclist.count)) {
count            2880 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (bss_list->count != 0 &&
count            2886 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	brcmf_dbg(SCAN, "scanned AP count (%d)\n", bss_list->count);
count            2887 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	for (i = 0; i < bss_list->count; i++) {
count            3187 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		for (i = 0; i < list->count; i++) {
count            3199 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		list->count++;
count            3367 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	result_count = le32_to_cpu(pfn_result->count);
count            3536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (le32_to_cpu(pfn_result->count) < 1) {
count            3538 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 			 le32_to_cpu(pfn_result->count));
count            3952 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	u16 count;
count            4015 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	count = data[offset] + (data[offset + 1] << 8);
count            4018 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (offset + (WPA_IE_MIN_OUI_LEN * count) > len) {
count            4023 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	for (i = 0; i < count; i++) {
count            4049 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	count = data[offset] + (data[offset + 1] << 8);
count            4052 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (offset + (WPA_IE_MIN_OUI_LEN * count) > len) {
count            4057 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	for (i = 0; i < count; i++) {
count            4216 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		parsed_info = &vndr_ies->ie_info[vndr_ies->count];
count            4223 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		vndr_ies->count++;
count            4229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		if (vndr_ies->count >= VNDR_IE_PARSE_LIMIT)
count            4327 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		for (i = 0; i < new_vndr_ies.count; i++) {
count            4347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		for (i = 0; i < old_vndr_ies.count; i++) {
count            4372 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		for (i = 0; i < new_vndr_ies.count; i++) {
count            6055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	total = le32_to_cpu(list->count);
count            6200 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		num_chan = le32_to_cpu(list->count);
count             435 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	int count;
count             442 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	count = 0;
count             446 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		count++;
count             447 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		if (count > 50)
count            1090 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 			       size_t count, loff_t *ppos)
count            1095 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	if (kstrtou8_from_user(user_buf, count, 0, &value))
count            1103 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	return count;
count             314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 		__le32 count;   /* # rates in this set */
count             341 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 count;
count             390 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	u32 count;
count             541 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 count;			/* # rates in this set */
count             598 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 				__le32 count;					/* # rates in this set */
count             612 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 				__le32 count;					/* # rates in this set */
count             629 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32	count;		/* # of entries */
count             738 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 count;
count             869 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 count;
count             875 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	__le32 count;
count             323 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count             337 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = 0;
count             345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		count++;
count             346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	} while (count < pktids->array_size);
count             348 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	if (count == pktids->array_size)
count             395 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count             398 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = 0;
count             400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		if (array[count].allocated.counter) {
count             401 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 			pktid = &array[count];
count             407 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		count++;
count             408 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	} while (count < pktids->array_size);
count             699 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count             712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = BRCMF_MSGBUF_TX_FLUSH_CNT2 - BRCMF_MSGBUF_TX_FLUSH_CNT1;
count             735 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		count++;
count             756 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		if (count >= BRCMF_MSGBUF_TX_FLUSH_CNT2) {
count             758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 			count = 0;
count             761 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	if (count)
count             894 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c static u32 brcmf_msgbuf_rxbuf_data_post(struct brcmf_msgbuf *msgbuf, u32 count)
count             910 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 							      count,
count            1002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 			     u32 count)
count            1019 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 							      count,
count            1076 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count            1078 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = msgbuf->max_ioctlrespbuf - msgbuf->cur_ioctlrespbuf;
count            1079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = brcmf_msgbuf_rxbuf_ctrl_post(msgbuf, false, count);
count            1080 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	msgbuf->cur_ioctlrespbuf += count;
count            1086 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count            1088 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = msgbuf->max_eventbuf - msgbuf->cur_eventbuf;
count            1089 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = brcmf_msgbuf_rxbuf_ctrl_post(msgbuf, true, count);
count            1090 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	msgbuf->cur_eventbuf += count;
count            1332 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u16 count;
count            1336 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	buf = brcmf_commonring_get_read_ptr(commonring, &count);
count            1341 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	while (count) {
count            1350 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		count--;
count            1505 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	u32 count;
count            1525 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = BITS_TO_LONGS(if_msgbuf->max_flowrings);
count            1526 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = count * sizeof(unsigned long);
count            1527 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	msgbuf->flow_map = kzalloc(count, GFP_KERNEL);
count            1531 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	msgbuf->txstatus_done_map = kzalloc(count, GFP_KERNEL);
count            1593 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	count = 0;
count            1600 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		count++;
count            1601 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	} while (count < 10);
count             896 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	u32 count;
count             906 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	count = 0;
count             907 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 	while ((devinfo->in_irq) && (count < 20)) {
count             909 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c 		count++;
count             328 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	uint count;		/* Poll interval msec counter */
count            3665 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		bus->console.count += jiffies_to_msecs(BRCMF_WD_POLL);
count            3666 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		if (bus->console.count >= bus->console_interval) {
count            3667 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 			bus->console.count -= bus->console_interval;
count             573 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	if (txrate[0].count <= ampdu->rr_retry_limit_tid[tid]) {
count             574 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		txrate[0].count++;
count             577 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		txrate[1].count++;
count             706 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	fbr = txrate[1].count > 0;
count             832 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		txrate[i].count = 0;
count             266 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 	for (i = 0; i < rs->count; i++) {
count             966 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			txrate[0].count = fbl;
count             967 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			txrate[1].count = tx_frame_count - fbl;
count             973 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			txrate[0].count = tx_frame_count;
count             979 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			txrate[1].count = 0;
count             985 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			txrate[i].count = 0;
count            2265 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	uint count;
count            2269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	count = (nbytes / sizeof(u32));
count            2274 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < count; i++)
count            3442 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < rateset->count; i++) {
count            3474 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < wlc->band->hw_rateset.count; i++) {
count            3687 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < rs.count; i++) {
count            5311 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (!rs.count)
count            5315 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 		for (i = 0; i < rs.count; i++) {
count            5324 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	wlc->default_bss->rateset.count = rs.count;
count            5368 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if ((rs.count == 0) || (rs.count > BRCMS_NUMRATES))
count            5480 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	currs->count = rs->count;
count            5481 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	memcpy(&currs->rates, &rs->rates, rs->count);
count            5489 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (rs->count > BRCMS_NUMRATES)
count            5495 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	internal_rs.count = rs->count;
count            5496 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	memcpy(&internal_rs.rates, &rs->rates, internal_rs.count);
count            5864 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < hw_rateset->count; i++)
count            6478 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	txrate[0]->count = 0;
count            6479 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	txrate[1]->count = 0;
count            7261 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	for (i = 0; i < rs.count; i++) {
count             953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	uint count = 0;
count             962 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 				if (ISNPHY(pi) && (++count % 4 == 0))
count             971 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 				if (ISNPHY(pi) && (++count % 4 == 0))
count             986 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	int i, count;
count            1037 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	count = ofdm ? 30 : 250;
count            1038 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 	while ((i++ < count)
count             106 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h 	u32 count;
count             112 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h 	uint count;		/* number of rates in rates[] */
count             276 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	if (!rs->count)
count             283 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	for (idx = 0; idx < rs->count; idx++) {
count             308 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	uint count;
count             312 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	count = rs->count;
count             314 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	for (i = 0; i < count; i++) {
count             323 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	count = 0;
count             324 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	for (i = 0; i < hw_rs->count; i++) {
count             327 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 			rs->rates[count++] = rateset[r];
count             330 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	rs->count = count;
count             413 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	uint count;
count             415 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	count = 0;
count             416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	for (i = 0; i < src->count; i++) {
count             426 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 		dst->rates[count++] = r & xmask;
count             428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/rate.c 	dst->count = count;
count            4068 drivers/net/wireless/cisco/airo.c 		int count;
count            4069 drivers/net/wireless/cisco/airo.c 		count = (len>>1) < (words-i) ? (len>>1) : (words-i);
count            4072 drivers/net/wireless/cisco/airo.c 			      pu16Dst+i,count );
count            4075 drivers/net/wireless/cisco/airo.c 			      pu16Dst+i, count << 1 );
count            4076 drivers/net/wireless/cisco/airo.c 		i += count;
count             626 drivers/net/wireless/intel/ipw2x00/ipw2100.c static char *snprint_line(char *buf, size_t count,
count             632 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	out = snprintf(buf, count, "%08X", ofs);
count             635 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		out += snprintf(buf + out, count - out, " ");
count             637 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			out += snprintf(buf + out, count - out, "%02X ",
count             640 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			out += snprintf(buf + out, count - out, "   ");
count             643 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	out += snprintf(buf + out, count - out, " ");
count             645 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		out += snprintf(buf + out, count - out, " ");
count             651 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			out += snprintf(buf + out, count - out, "%c", c);
count             655 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			out += snprintf(buf + out, count - out, " ");
count            3914 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			    const char *buf, size_t count)
count            3922 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (count < 1)
count            3923 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		return count;
count            3926 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	    (count >= 2 && tolower(p[0]) == 'o' && tolower(p[1]) == 'n')) {
count            3931 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	} else if (p[0] == '0' || (count >= 2 && tolower(p[0]) == 'o' &&
count            3945 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return count;
count            4157 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				 const char *buf, size_t count)
count            4168 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return strnlen(buf, count);
count            4200 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				 size_t count)
count            4204 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return count;
count            4217 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			      const char *buf, size_t count)
count            4237 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return strnlen(buf, count);
count            4287 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			     const char *buf, size_t count)
count            4291 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	return count;
count             220 drivers/net/wireless/intel/ipw2x00/ipw2200.c static int snprint_line(char *buf, size_t count,
count             226 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	out = snprintf(buf, count, "%08X", ofs);
count             229 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		out += snprintf(buf + out, count - out, " ");
count             231 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			out += snprintf(buf + out, count - out, "%02X ",
count             234 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			out += snprintf(buf + out, count - out, "   ");
count             237 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	out += snprintf(buf + out, count - out, " ");
count             239 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		out += snprintf(buf + out, count - out, " ");
count             245 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			out += snprintf(buf + out, count - out, "%c", c);
count             249 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			out += snprintf(buf + out, count - out, " ");
count            1190 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				 size_t count)
count            1208 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1331 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			   const char *buf, size_t count)
count            1337 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1374 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			 const char *buf, size_t count)
count            1379 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (count < 1)
count            1385 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			return count;
count            1389 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			return count;
count            1398 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			return count;
count            1414 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1436 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			 const char *buf, size_t count)
count            1451 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1474 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			      const char *buf, size_t count)
count            1480 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	    (sizeof(buffer) - 1) > count ? count : sizeof(buffer) - 1;
count            1517 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			 const char *buf, size_t count)
count            1523 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (count == 0)
count            1537 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1610 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				  const char *buf, size_t count)
count            1614 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1630 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				       const char *buf, size_t count)
count            1637 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1654 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				  const char *buf, size_t count)
count            1661 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1681 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				    const char *buf, size_t count)
count            1687 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1708 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				   const char *buf, size_t count)
count            1714 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1735 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				  const char *buf, size_t count)
count            1741 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return strnlen(buf, count);
count            1806 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			     const char *buf, size_t count)
count            1812 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1833 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				const char *buf, size_t count)
count            1865 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            1878 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			       const char *buf, size_t count)
count            1886 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	return count;
count            2734 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_zero_memory(struct ipw_priv *priv, u32 start, u32 count)
count            2736 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	count >>= 2;
count            2737 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (!count)
count            2740 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	while (count--)
count            3742 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			   int count, u32 read, u32 write, u32 base, u32 size)
count            3744 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	q->n_bd = count;
count            3759 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	ipw_write32(priv, size, count);
count            3768 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			     int count, u32 read, u32 write, u32 base, u32 size)
count            3772 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	q->txb = kmalloc_array(count, sizeof(q->txb[0]), GFP_KERNEL);
count            3779 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	    pci_alloc_consistent(dev, sizeof(q->bd[0]) * count, &q->q.dma_addr);
count            3782 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			  sizeof(q->bd[0]) * count);
count            3788 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	ipw_queue_init(priv, &q->q, count, read, write, base, size);
count             417 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 count;
count             603 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 count;
count             607 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 count;
count             225 drivers/net/wireless/intel/ipw2x00/libipw_module.c 		const char __user *buffer, size_t count, loff_t *pos)
count             228 drivers/net/wireless/intel/ipw2x00/libipw_module.c 	size_t len = min(sizeof(buf) - 1, count);
count             232 drivers/net/wireless/intel/ipw2x00/libipw_module.c 		return count;
count            1287 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 			network->quiet.count = info_element->data[0];
count              35 drivers/net/wireless/intel/iwlegacy/3945-debug.c 			   size_t count, loff_t *ppos)
count             293 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             300 drivers/net/wireless/intel/iwlegacy/3945-debug.c 			   size_t count, loff_t *ppos)
count             383 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             390 drivers/net/wireless/intel/iwlegacy/3945-debug.c 				size_t count, loff_t *ppos)
count             484 drivers/net/wireless/intel/iwlegacy/3945-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1189 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	u32 count = 8;
count            1288 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			count++;
count            1289 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			if (count >= 8) {
count            1292 drivers/net/wireless/intel/iwlegacy/3945-mac.c 				count = 0;
count            1342 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	u32 desc, time, count, base, data1;
count            1352 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	count = il_read_targ_mem(il, base);
count            1354 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (ERROR_START_OFFSET <= count * ERROR_ELEM_SIZE) {
count            1356 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		IL_ERR("Status: 0x%08lX, count: %d\n", il->status, count);
count            1362 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	     i < (count * ERROR_ELEM_SIZE) + ERROR_START_OFFSET;
count            3085 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			 const char *buf, size_t count)
count            3097 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return strnlen(buf, count);
count            3128 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		      const char *buf, size_t count)
count            3140 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3155 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		   const char *buf, size_t count)
count            3173 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3189 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			  const char *buf, size_t count)
count            3208 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3249 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			 const char *buf, size_t count)
count            3261 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (count) {
count            3279 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3287 drivers/net/wireless/intel/iwlegacy/3945-mac.c 			const char *buf, size_t count)
count            3295 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3331 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		     const char *buf, size_t count)
count            3336 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (count == 0)
count            3341 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		return count;
count            3350 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return count;
count            3368 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		      const char *buf, size_t count)
count            3376 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	return strnlen(buf, count);
count             439 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	retries = info->status.rates[0].count;
count             796 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	info->control.rates[0].count = 1;
count             805 drivers/net/wireless/intel/iwlegacy/3945-rs.c 				  size_t count, loff_t *ppos)
count             830 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count             343 drivers/net/wireless/intel/iwlegacy/3945.c 	info->status.rates[0].count = fail + 1;	/* add final attempt */
count             600 drivers/net/wireless/intel/iwlegacy/3945.c 	int count;
count             611 drivers/net/wireless/intel/iwlegacy/3945.c 	count = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags));
count             613 drivers/net/wireless/intel/iwlegacy/3945.c 	if (count >= NUM_TFD_CHUNKS || count < 0) {
count             619 drivers/net/wireless/intel/iwlegacy/3945.c 	tfd->tbs[count].addr = cpu_to_le32(addr);
count             620 drivers/net/wireless/intel/iwlegacy/3945.c 	tfd->tbs[count].len = cpu_to_le32(len);
count             622 drivers/net/wireless/intel/iwlegacy/3945.c 	count++;
count             625 drivers/net/wireless/intel/iwlegacy/3945.c 	    cpu_to_le32(TFD_CTL_COUNT_SET(count) | TFD_CTL_PAD_SET(pad));
count              42 drivers/net/wireless/intel/iwlegacy/4965-debug.c 			   size_t count, loff_t *ppos)
count             447 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             454 drivers/net/wireless/intel/iwlegacy/4965-debug.c 			   size_t count, loff_t *ppos)
count             613 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             620 drivers/net/wireless/intel/iwlegacy/4965-debug.c 				size_t count, loff_t *ppos)
count             725 drivers/net/wireless/intel/iwlegacy/4965-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2676 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		info->status.rates[0].count = tx_resp->failure_frame + 1;
count            2845 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		info->status.rates[0].count = tx_resp->failure_frame + 1;
count            4219 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u32 count = 8;
count            4320 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			count++;
count            4321 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			if (count >= 8) {
count            4324 drivers/net/wireless/intel/iwlegacy/4965-mac.c 				count = 0;
count            4561 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			 const char *buf, size_t count)
count            4573 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	return strnlen(buf, count);
count            4608 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		      const char *buf, size_t count)
count            4622 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			ret = count;
count            5082 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u32 desc, time, count, base, data1;
count            5097 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	count = il_read_targ_mem(il, base);
count            5099 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (ERROR_START_OFFSET <= count * ERROR_ELEM_SIZE) {
count            5101 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		IL_ERR("Status: 0x%08lX, count: %d\n", il->status, count);
count             936 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		retries = info->status.rates[0].count - 1;
count            2249 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	info->control.rates[0].count = 1;
count            2532 drivers/net/wireless/intel/iwlegacy/4965-rs.c 				      size_t count, loff_t *ppos)
count            2542 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	buf_size = min(count, sizeof(buf) - 1);
count            2563 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	return count;
count            2568 drivers/net/wireless/intel/iwlegacy/4965-rs.c 				     size_t count, loff_t *ppos)
count            2662 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            2676 drivers/net/wireless/intel/iwlegacy/4965-rs.c 				     size_t count, loff_t *ppos)
count            2708 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            2721 drivers/net/wireless/intel/iwlegacy/4965-rs.c 					 char __user *user_buf, size_t count,
count            2738 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	return simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count             163 drivers/net/wireless/intel/iwlegacy/4965.c 	u16 count;
count             166 drivers/net/wireless/intel/iwlegacy/4965.c 	for (count = 0; count < EEPROM_SEM_RETRY_LIMIT; count++) {
count            1485 drivers/net/wireless/intel/iwlegacy/4965.c 	switch_count = ch_switch->count;
count            1522 drivers/net/wireless/intel/iwlegacy/common.h 				 size_t count, loff_t *ppos);
count            1524 drivers/net/wireless/intel/iwlegacy/common.h 				 size_t count, loff_t *ppos);
count            1526 drivers/net/wireless/intel/iwlegacy/common.h 				      char __user *user_buf, size_t count,
count             125 drivers/net/wireless/intel/iwlegacy/debug.c 					size_t count, loff_t *ppos);
count             130 drivers/net/wireless/intel/iwlegacy/debug.c 					size_t count, loff_t *ppos);
count             200 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count,
count             234 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             241 drivers/net/wireless/intel/iwlegacy/debug.c 				   const char __user *user_buf, size_t count,
count             250 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count             257 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count             261 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count,
count             296 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             305 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count,
count             358 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             365 drivers/net/wireless/intel/iwlegacy/debug.c 		    size_t count, loff_t *ppos)
count             373 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count             385 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count             389 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count,
count             447 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             453 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count,
count             491 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             497 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count,
count             570 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             576 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count,
count             633 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             637 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count,
count             710 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             717 drivers/net/wireless/intel/iwlegacy/debug.c 			 size_t count, loff_t *ppos)
count             725 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count             733 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count             737 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count,
count             758 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             763 drivers/net/wireless/intel/iwlegacy/debug.c 			    size_t count, loff_t *ppos)
count             771 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count             784 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count             789 drivers/net/wireless/intel/iwlegacy/debug.c 			   size_t count, loff_t *ppos)
count             799 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             812 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count,
count             853 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             859 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count,
count             884 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             889 drivers/net/wireless/intel/iwlegacy/debug.c 			     size_t count, loff_t *ppos)
count             893 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->rx_stats_read(file, user_buf, count, ppos);
count             898 drivers/net/wireless/intel/iwlegacy/debug.c 			     size_t count, loff_t *ppos)
count             902 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->tx_stats_read(file, user_buf, count, ppos);
count             907 drivers/net/wireless/intel/iwlegacy/debug.c 				  size_t count, loff_t *ppos)
count             911 drivers/net/wireless/intel/iwlegacy/debug.c 	return il->debugfs_ops->general_stats_read(file, user_buf, count, ppos);
count             916 drivers/net/wireless/intel/iwlegacy/debug.c 			  size_t count, loff_t *ppos)
count            1008 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1015 drivers/net/wireless/intel/iwlegacy/debug.c 			  size_t count, loff_t *ppos)
count            1079 drivers/net/wireless/intel/iwlegacy/debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1086 drivers/net/wireless/intel/iwlegacy/debug.c 				size_t count, loff_t *ppos)
count            1105 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1110 drivers/net/wireless/intel/iwlegacy/debug.c 				 const char __user *user_buf, size_t count,
count            1119 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count            1130 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count            1135 drivers/net/wireless/intel/iwlegacy/debug.c 			 size_t count, loff_t *ppos)
count            1143 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1148 drivers/net/wireless/intel/iwlegacy/debug.c 				size_t count, loff_t *ppos)
count            1157 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1161 drivers/net/wireless/intel/iwlegacy/debug.c il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count,
count            1173 drivers/net/wireless/intel/iwlegacy/debug.c 			    simple_read_from_buffer(user_buf, count, ppos, buf,
count            1184 drivers/net/wireless/intel/iwlegacy/debug.c 			    size_t count, loff_t *ppos)
count            1196 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1201 drivers/net/wireless/intel/iwlegacy/debug.c 			     size_t count, loff_t *ppos)
count            1209 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count            1221 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count            1226 drivers/net/wireless/intel/iwlegacy/debug.c 			  size_t count, loff_t *ppos)
count            1252 drivers/net/wireless/intel/iwlegacy/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1257 drivers/net/wireless/intel/iwlegacy/debug.c 			   size_t count, loff_t *ppos)
count            1265 drivers/net/wireless/intel/iwlegacy/debug.c 	return ret ? ret : count;
count            1270 drivers/net/wireless/intel/iwlegacy/debug.c 			  size_t count, loff_t *ppos)
count            1279 drivers/net/wireless/intel/iwlegacy/debug.c 	buf_size = min(count, sizeof(buf) - 1);
count            1289 drivers/net/wireless/intel/iwlegacy/debug.c 	return count;
count            3961 drivers/net/wireless/intel/iwlwifi/dvm/commands.h 	u8 count;
count              57 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count             140 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             147 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count             155 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count             170 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count             175 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					  size_t count, loff_t *ppos)
count             183 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count             188 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count             238 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             245 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				       size_t count,
count             277 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             283 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				       size_t count, loff_t *ppos)
count             342 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             349 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						size_t count, loff_t *ppos) {
count             378 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             383 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count             405 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             412 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count             421 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count             430 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count             434 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				       size_t count, loff_t *ppos)
count             457 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             462 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				size_t count, loff_t *ppos)
count             489 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             494 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count             502 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count             512 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count             517 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count             527 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             532 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count             540 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             546 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						    size_t count, loff_t *ppos)
count             554 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count             583 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count             588 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						   size_t count, loff_t *ppos)
count             601 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             606 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						    size_t count, loff_t *ppos)
count             625 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             672 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            1098 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1105 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            1295 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1302 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            1415 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1422 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            1503 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1510 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            1645 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1652 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1723 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1731 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1780 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1787 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						    size_t count, loff_t *ppos)
count            1805 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1810 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count            1818 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            1829 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            1834 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1850 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1855 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count            1863 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            1880 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            1885 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos) {
count            1893 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1898 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 						size_t count, loff_t *ppos) {
count            1906 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1911 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1921 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1926 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count            1934 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            1947 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            1952 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1962 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1967 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            1975 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            1986 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            1991 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				       size_t count, loff_t *ppos)
count            2011 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2016 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            2022 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return ret ? ret : count;
count            2027 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            2035 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            2046 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            2051 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            2060 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 		return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2091 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2096 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            2112 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2117 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos) {
count            2128 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            2137 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            2158 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            2165 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            2170 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            2176 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count            2184 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 		ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count            2191 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					size_t count, loff_t *ppos)
count            2203 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) -  1);
count            2211 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            2217 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					 size_t count, loff_t *ppos)
count            2240 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2245 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					      size_t count, loff_t *ppos)
count            2253 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	buf_size = min(count, sizeof(buf) - 1);
count            2261 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count            2266 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 					  size_t count, loff_t *ppos)
count            2283 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	return count;
count             416 drivers/net/wireless/intel/iwlwifi/dvm/devices.c 	switch_count = ch_switch->count;
count             584 drivers/net/wireless/intel/iwlwifi/dvm/devices.c 	switch_count = ch_switch->count;
count            1021 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		retries = info->status.rates[0].count - 1;
count            2756 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	info->control.rates[0].count = 1;
count            3072 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			const char __user *user_buf, size_t count, loff_t *ppos)
count            3083 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	buf_size = min(count, sizeof(buf) -  1);
count            3094 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	return count;
count            3098 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			char __user *user_buf, size_t count, loff_t *ppos)
count            3174 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            3186 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			char __user *user_buf, size_t count, loff_t *ppos)
count            3218 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            3230 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			char __user *user_buf, size_t count, loff_t *ppos)
count            3246 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	return simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            1095 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	info->status.rates[0].count = tx_resp->failure_frame + 1;
count             120 drivers/net/wireless/intel/iwlwifi/fw/acpi.c 	    data->package.count < 2 ||
count             130 drivers/net/wireless/intel/iwlwifi/fw/acpi.c 	for (i = 1; i < data->package.count; i++) {
count             137 drivers/net/wireless/intel/iwlwifi/fw/acpi.c 		    wifi_pkg->package.count != data_size)
count             188 drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h 	__le32 count;
count              88 drivers/net/wireless/intel/iwlwifi/fw/api/filter.h 	u8 count;
count             825 drivers/net/wireless/intel/iwlwifi/fw/api/rx.h 	__le32 count;
count             837 drivers/net/wireless/intel/iwlwifi/fw/api/rx.h 	__le32 count;
count             717 drivers/net/wireless/intel/iwlwifi/fw/api/scan.h 	u8 count;
count              94 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 					size_t count, loff_t *ppos)	\
count             107 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,		\
count             131 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 					 size_t count, loff_t *ppos)	\
count             136 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	size_t buf_size = min(count, sizeof(buf) -  1);			\
count             236 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 						char *buf, size_t count)
count             247 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	return count;
count             268 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 					 size_t count)
count             271 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	size_t data_size = (count - 1) / 2;
count             283 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	if (count < header_size + 1 || count > 1024 * 4)
count             299 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	if (count != header_size + hcmd.len[0] * 2 + 1) {
count             318 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 	return ret ?: count;
count              96 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	u16 count;
count              99 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 	for (count = 0; count < EEPROM_SEM_RETRY_LIMIT; count++) {
count             112 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c 					 count+1);
count            2099 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 				    size_t count, loff_t *ppos)
count             128 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             187 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return ret ?: count;
count             192 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             202 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             207 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					size_t count, loff_t *ppos)
count             218 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             223 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             302 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             351 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             444 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return ret ?: count;
count             449 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					size_t count, loff_t *ppos)
count             493 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             505 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 						 size_t count, loff_t *ppos)
count             522 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             526 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					   size_t count, loff_t *ppos)
count             543 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return count;
count             548 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 				  size_t count, loff_t *ppos)
count             576 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return count;
count             581 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					  size_t count, loff_t *ppos)
count             604 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             609 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 						size_t count, loff_t *ppos)
count             617 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             621 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 						 char *buf, size_t count,
count             632 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return ret ? count : -EINVAL;
count             636 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					  size_t count, loff_t *ppos)
count             670 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return ret ?: count;
count             675 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             685 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             699 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					 size_t count, loff_t *ppos)
count             724 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return ret ?: count;
count             729 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 					size_t count, loff_t *ppos)
count             738 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              77 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					  size_t count, loff_t *ppos)
count              99 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             103 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					 size_t count, loff_t *ppos)
count             118 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count             122 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					    size_t count, loff_t *ppos)
count             130 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count             134 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					size_t count, loff_t *ppos)
count             151 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		ret = iwl_mvm_flush_sta_tids(mvm, flush_arg, 0xFF, 0) ? : count;
count             160 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret =  iwl_mvm_flush_tx_path(mvm, flush_arg, 0) ? : count;
count             167 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					 size_t count, loff_t *ppos)
count             190 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		ret = iwl_mvm_drain_sta(mvm, mvmsta, drain) ? : count;
count             198 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				   size_t count, loff_t *ppos)
count             225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len);
count             233 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				    size_t count, loff_t *ppos)
count             260 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count             265 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						  size_t count, loff_t *ppos)
count             276 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             287 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						   char *buf, size_t count,
count             327 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count             332 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				       size_t count, loff_t *ppos)
count             351 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             357 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					      size_t count, loff_t *ppos)
count             393 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             398 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				       size_t count, loff_t *ppos)
count             423 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             427 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				      size_t count, loff_t *ppos)
count             465 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count             471 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					 char *buf, size_t count,
count             490 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count             495 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					size_t count, loff_t *ppos)
count             507 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             512 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						size_t count, loff_t *ppos)
count             524 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             528 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						 size_t count, loff_t *ppos)
count             551 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count             615 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				       size_t count, loff_t *ppos)
count             651 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             659 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				     size_t count, loff_t *ppos)
count             679 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             684 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			   size_t count, loff_t *ppos)
count             695 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count             700 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			     size_t count, loff_t *ppos)
count             731 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count             735 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				     size_t count, loff_t *ppos)
count             758 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
count             770 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					  char __user *user_buf, size_t count,
count             952 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count             960 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					  char __user *user_buf, size_t count,
count            1018 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
count            1025 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					   char __user *user_buf, size_t count,
count            1030 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return iwl_dbgfs_frame_stats_read(mvm, user_buf, count, ppos,
count            1035 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					  size_t count, loff_t *ppos)
count            1053 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count            1057 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				      size_t count, loff_t *ppos)
count            1064 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count            1070 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				size_t count, loff_t *ppos)
count            1087 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1092 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				 size_t count, loff_t *ppos)
count            1113 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count            1117 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					       char *buf, size_t count,
count            1129 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	int ret, i, num_repeats, nbytes = count / 2;
count            1160 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1164 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					     char *buf, size_t count,
count            1174 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	int bin_len = count / 2;
count            1220 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1307 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						char *buf, size_t count,
count            1310 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	int ret = _iwl_dbgfs_inject_beacon_ie(mvm, buf, count);
count            1313 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1318 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 							size_t count,
count            1325 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1330 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					  size_t count, loff_t *ppos)
count            1344 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1348 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					   char *buf, size_t count,
count            1368 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1372 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					      char *buf, size_t count,
count            1375 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	if (count == 0)
count            1379 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			   (count - 1), NULL);
count            1381 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count            1388 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					    size_t count, loff_t *ppos)
count            1435 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1441 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					     size_t count, loff_t *ppos)
count            1462 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		if (pos >= count)
count            1490 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return err ?: count;
count            1495 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						 size_t count, loff_t *ppos)
count            1523 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1529 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 						  char *buf, size_t count,
count            1563 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return err ?: count;
count            1593 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			size_t count, loff_t *ppos)
count            1607 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1612 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			 size_t count, loff_t *ppos)
count            1629 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return count;
count            1634 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			      size_t count, loff_t *ppos)
count            1645 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1668 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				  size_t count, loff_t *ppos)
count            1720 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1725 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				 size_t count, loff_t *ppos)
count            1737 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count            1742 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				  size_t count, loff_t *ppos)
count            1758 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            1763 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			   char *buf, size_t count, loff_t *ppos)
count            1790 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	return ret ?: count;
count            1844 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				  size_t count, loff_t *ppos)
count            1867 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	cmd.len = cpu_to_le32(min(ALIGN(count + delta, 4) / 4,
count            1885 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	len = min(len - delta, count);
count            1900 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				   const char __user *user_buf, size_t count,
count            1918 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	if (*ppos & 0x3 || count < 4) {
count            1920 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		len = min(count, (size_t)(4 - (*ppos & 0x3)));
count            1924 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		len = min(count >> 2, (size_t)DEBUG_MEM_MAX_SIZE_DWORDS);
count              71 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h 					 size_t count, loff_t *ppos)	\
count              75 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h 	size_t buf_size = min(count, sizeof(buf) -  1);			\
count            1663 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	len = roundup(sizeof(*cmd) + cmd->count * ETH_ALEN, 4);
count            1717 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				   cmd->count, addr->addr);
count            1718 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		memcpy(&cmd->addr_list[cmd->count * ETH_ALEN],
count            1720 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		cmd->count++;
count            1747 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		cmd->count = 0;
count            4418 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.cs_count = chsw->count,
count            4447 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (chsw->count <= 1)
count            4451 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			((vif->bss_conf.beacon_int * (chsw->count - 1) -
count            4526 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			if (!chsw->count ||
count            4527 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			    chsw->count * vif->bss_conf.beacon_int >
count            4542 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		mvmvif->csa_count = chsw->count;
count            4575 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.cs_count = chsw->count,
count            4582 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (chsw->count >= mvmvif->csa_count && chsw->block_tx) {
count            4592 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	mvmvif->csa_count = chsw->count;
count            1618 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 			    const u8 *data, u32 count, bool async);
count            2738 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	info->control.rates[0].count = 1;
count            3117 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			attempts = info->status.rates[0].count;
count            3246 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		retries = info->status.rates[0].count - 1;
count            3773 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			const char __user *user_buf, size_t count, loff_t *ppos)
count            3783 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	buf_size = min(count, sizeof(buf) -  1);
count            3794 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	return count;
count            3798 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			char __user *user_buf, size_t count, loff_t *ppos)
count            3891 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            3903 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			char __user *user_buf, size_t count, loff_t *ppos)
count            3939 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
count            3952 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					      size_t count, loff_t *ppos)
count            4018 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, pos - buff);
count            4025 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					       size_t count, loff_t *ppos)
count            4030 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	return count;
count            4042 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				       size_t count, loff_t *ppos)
count            4057 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            4061 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					size_t count, loff_t *ppos)
count            4090 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	return ret ?: count;
count             474 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			    const u8 *data, u32 count, bool async)
count             479 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 data_size = sizeof(*cmd) + count;
count             486 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (WARN_ON(count & 3 ||
count             487 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		    count > sizeof(struct iwl_mvm_rss_sync_notif)))
count             491 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	cmd->count =  cpu_to_le32(count);
count             493 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	memcpy(cmd->payload, data, count);
count            1592 drivers/net/wireless/intel/iwlwifi/mvm/scan.c 	chan_param->count = params->n_channels;
count              98 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	int count = 0;
count             115 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		count++;
count             118 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	return count;
count            1518 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		info->status.rates[0].count = tx_resp->failure_frame + 1;
count            1434 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 	u32 r, i, count = 0;
count            1497 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 			count++;
count            1498 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 			if (count == 8) {
count            1499 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 				count = 0;
count            1535 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 	if (unlikely(emergency && count))
count            2547 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				       size_t count, loff_t *ppos)
count            2580 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2587 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				       size_t count, loff_t *ppos)
count            2630 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2638 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 					size_t count, loff_t *ppos)
count            2689 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2696 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 					 size_t count, loff_t *ppos)
count            2704 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = kstrtou32_from_user(user_buf, count, 16, &reset_flag);
count            2710 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	return count;
count            2715 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				   size_t count, loff_t *ppos)
count            2721 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	return count;
count            2726 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				     size_t count, loff_t *ppos)
count            2737 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count            2744 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				     size_t count, loff_t *ppos)
count            2756 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
count            2761 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 				      size_t count, loff_t *ppos)
count            2768 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	ret = kstrtobool_from_user(user_buf, count, &new_value);
count            2772 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		return count;
count            2778 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	return count;
count            2811 drivers/net/wireless/intel/iwlwifi/pcie/trans.c static bool iwl_write_to_user_buf(char __user *user_buf, ssize_t count,
count            2815 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	int buf_size_left = count - *bytes_copied;
count            2831 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 					   size_t count, loff_t *ppos)
count            2867 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		b_full = iwl_write_to_user_buf(user_buf, count,
count            2876 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		b_full = iwl_write_to_user_buf(user_buf, count,
count            2883 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 			b_full = iwl_write_to_user_buf(user_buf, count,
count            2900 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		b_full = iwl_write_to_user_buf(user_buf, count,
count             451 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 		bss->count++;
count            2331 drivers/net/wireless/intersil/hostap/hostap_ap.c 	int count = 0;
count            2341 drivers/net/wireless/intersil/hostap/hostap_ap.c 		addr[count].sa_family = ARPHRD_ETHER;
count            2342 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(addr[count].sa_data, sta->addr, ETH_ALEN);
count            2344 drivers/net/wireless/intersil/hostap/hostap_ap.c 			qual[count].qual = sta->last_rx_signal < 27 ?
count            2347 drivers/net/wireless/intersil/hostap/hostap_ap.c 			qual[count].qual = sta->last_rx_signal -
count            2349 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal);
count            2350 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence);
count            2351 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].updated = sta->last_rx_updated;
count            2355 drivers/net/wireless/intersil/hostap/hostap_ap.c 		count++;
count            2356 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (count >= buf_size)
count            2361 drivers/net/wireless/intersil/hostap/hostap_ap.c 	return count;
count             139 drivers/net/wireless/intersil/hostap/hostap_proc.c 		   bss->count, bss->capab_info);
count             197 drivers/net/wireless/intersil/hostap/hostap_proc.c 				    size_t count, loff_t *_pos)
count             206 drivers/net/wireless/intersil/hostap/hostap_proc.c 	if (count > PRISM2_PDA_SIZE - off)
count             207 drivers/net/wireless/intersil/hostap/hostap_proc.c 		count = PRISM2_PDA_SIZE - off;
count             208 drivers/net/wireless/intersil/hostap/hostap_proc.c 	if (copy_to_user(buf, local->pda + off, count) != 0)
count             210 drivers/net/wireless/intersil/hostap/hostap_proc.c 	*_pos += count;
count             211 drivers/net/wireless/intersil/hostap/hostap_proc.c 	return count;
count             233 drivers/net/wireless/intersil/hostap/hostap_proc.c 				     int count, int *eof, void *data)
count             239 drivers/net/wireless/intersil/hostap/hostap_proc.c 	if (off + count > PRISM2_IO_DEBUG_SIZE * 4) {
count             243 drivers/net/wireless/intersil/hostap/hostap_proc.c 		count = PRISM2_IO_DEBUG_SIZE * 4 - off;
count             247 drivers/net/wireless/intersil/hostap/hostap_proc.c 	left = count;
count             251 drivers/net/wireless/intersil/hostap/hostap_proc.c 		if (copy > count)
count             252 drivers/net/wireless/intersil/hostap/hostap_proc.c 			copy = count;
count             264 drivers/net/wireless/intersil/hostap/hostap_proc.c 	return count;
count             628 drivers/net/wireless/intersil/hostap/hostap_wlan.h 	unsigned int count;
count             531 drivers/net/wireless/intersil/orinoco/hermes.c 	unsigned count;
count             543 drivers/net/wireless/intersil/orinoco/hermes.c 	count = length - 1;
count             545 drivers/net/wireless/intersil/orinoco/hermes.c 	hermes_write_bytes(hw, dreg, value, count << 1);
count             469 drivers/net/wireless/intersil/orinoco/hermes.h 				     void *buf, unsigned count)
count             472 drivers/net/wireless/intersil/orinoco/hermes.h 	ioread16_rep(hw->iobase + off, buf, count);
count             476 drivers/net/wireless/intersil/orinoco/hermes.h 				      const char *buf, unsigned count)
count             479 drivers/net/wireless/intersil/orinoco/hermes.h 	iowrite16_rep(hw->iobase + off, buf, count >> 1);
count             480 drivers/net/wireless/intersil/orinoco/hermes.h 	if (unlikely(count & 1))
count             481 drivers/net/wireless/intersil/orinoco/hermes.h 		iowrite8(buf[count - 1], hw->iobase + off);
count             485 drivers/net/wireless/intersil/orinoco/hermes.h 				      unsigned count)
count             491 drivers/net/wireless/intersil/orinoco/hermes.h 	for (i = 0; i < count; i++)
count            1879 drivers/net/wireless/intersil/orinoco/main.c 	int count = MAX_IRQLOOPS_PER_IRQ;
count            1908 drivers/net/wireless/intersil/orinoco/main.c 	while (events && count--) {
count             288 drivers/net/wireless/intersil/orinoco/orinoco_usb.c static inline u8 ezusb_reply_inc(u8 count)
count             290 drivers/net/wireless/intersil/orinoco/orinoco_usb.c 	if (count < 0x7F)
count             291 drivers/net/wireless/intersil/orinoco/orinoco_usb.c 		return count + 1;
count             273 drivers/net/wireless/intersil/p54/fwio.c 	tim->count = 1;
count             501 drivers/net/wireless/intersil/p54/lmac.h 	u8 count;
count             214 drivers/net/wireless/intersil/p54/main.c 		priv->tx_stats[i].count = 0;
count             161 drivers/net/wireless/intersil/p54/p54.h 	unsigned int count;
count             204 drivers/net/wireless/intersil/p54/txrx.c 	queue->count++;
count             408 drivers/net/wireless/intersil/p54/txrx.c 	int count, idx;
count             444 drivers/net/wireless/intersil/p54/txrx.c 	count = payload->tries;
count             446 drivers/net/wireless/intersil/p54/txrx.c 		if (count >= info->status.rates[idx].count) {
count             447 drivers/net/wireless/intersil/p54/txrx.c 			count -= info->status.rates[idx].count;
count             448 drivers/net/wireless/intersil/p54/txrx.c 		} else if (count > 0) {
count             449 drivers/net/wireless/intersil/p54/txrx.c 			info->status.rates[idx].count = count;
count             450 drivers/net/wireless/intersil/p54/txrx.c 			count = 0;
count             453 drivers/net/wireless/intersil/p54/txrx.c 			info->status.rates[idx].count = 0;
count             830 drivers/net/wireless/intersil/p54/txrx.c 	hdr->rts_tries = info->control.rates[0].count;
count             855 drivers/net/wireless/intersil/p54/txrx.c 						 info->control.rates[i].count);
count             861 drivers/net/wireless/intersil/p54/txrx.c 		int tmp = info->control.rates[i].count - calculated_tries[i];
count             880 drivers/net/wireless/intersil/p54/txrx.c 		info->control.rates[i].count = calculated_tries[i];
count             480 drivers/net/wireless/intersil/prism54/islpci_dev.c 	int count;
count             489 drivers/net/wireless/intersil/prism54/islpci_dev.c         for(count = 0; count < 2 && result; count++) {
count            1099 drivers/net/wireless/mac80211_hwsim.c 		tx_attempts[i].count = info->status.rates[i].count;
count            1440 drivers/net/wireless/mac80211_hwsim.c 	txi->control.rates[0].count = 1;
count            1710 drivers/net/wireless/mac80211_hwsim.c 	unsigned int *count = data;
count            1714 drivers/net/wireless/mac80211_hwsim.c 		(*count)++;
count            1761 drivers/net/wireless/mac80211_hwsim.c 			unsigned int count = 0;
count            1764 drivers/net/wireless/mac80211_hwsim.c 				mac80211_hwsim_bcn_en_iter, &count);
count            1766 drivers/net/wireless/mac80211_hwsim.c 				  count);
count            1767 drivers/net/wireless/mac80211_hwsim.c 			if (count == 0) {
count            3300 drivers/net/wireless/mac80211_hwsim.c 		txi->status.rates[i].count = tx_attempts[i].count;
count             183 drivers/net/wireless/mac80211_hwsim.h 	u8 count;
count              26 drivers/net/wireless/marvell/libertas/debugfs.c                                 size_t count, loff_t *ppos)
count              34 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count              49 drivers/net/wireless/marvell/libertas/debugfs.c 	res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count              56 drivers/net/wireless/marvell/libertas/debugfs.c 				const char __user *user_buf, size_t count,
count              65 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(user_buf, min(count, len - 1));
count              83 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = count;
count              93 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             113 drivers/net/wireless/marvell/libertas/debugfs.c 	ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             121 drivers/net/wireless/marvell/libertas/debugfs.c 				const char __user *user_buf, size_t count,
count             129 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(user_buf, min(count, len - 1));
count             155 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = count;
count             163 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             175 drivers/net/wireless/marvell/libertas/debugfs.c 	ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             219 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             258 drivers/net/wireless/marvell/libertas/debugfs.c 	ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             271 drivers/net/wireless/marvell/libertas/debugfs.c 				   const char __user *userbuf, size_t count,
count             282 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             329 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = count;
count             339 drivers/net/wireless/marvell/libertas/debugfs.c 				size_t count, loff_t *ppos)
count             342 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             347 drivers/net/wireless/marvell/libertas/debugfs.c 				 size_t count, loff_t *ppos)
count             350 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             355 drivers/net/wireless/marvell/libertas/debugfs.c 			       size_t count, loff_t *ppos)
count             358 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             363 drivers/net/wireless/marvell/libertas/debugfs.c 				size_t count, loff_t *ppos)
count             366 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             371 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             374 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             379 drivers/net/wireless/marvell/libertas/debugfs.c 				   size_t count, loff_t *ppos)
count             382 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             387 drivers/net/wireless/marvell/libertas/debugfs.c 				 size_t count, loff_t *ppos)
count             390 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             395 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             398 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             403 drivers/net/wireless/marvell/libertas/debugfs.c 				size_t count, loff_t *ppos)
count             406 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             411 drivers/net/wireless/marvell/libertas/debugfs.c 				 size_t count, loff_t *ppos)
count             414 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             418 drivers/net/wireless/marvell/libertas/debugfs.c 				size_t count, loff_t *ppos)
count             421 drivers/net/wireless/marvell/libertas/debugfs.c 				  file, userbuf, count, ppos);
count             426 drivers/net/wireless/marvell/libertas/debugfs.c 				 size_t count, loff_t *ppos)
count             429 drivers/net/wireless/marvell/libertas/debugfs.c 				   file, userbuf, count, ppos);
count             434 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             451 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             459 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             464 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             470 drivers/net/wireless/marvell/libertas/debugfs.c 	return count;
count             475 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             483 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             497 drivers/net/wireless/marvell/libertas/debugfs.c 		res = count;
count             504 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             521 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             530 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             535 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             542 drivers/net/wireless/marvell/libertas/debugfs.c 	return count;
count             547 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             555 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             569 drivers/net/wireless/marvell/libertas/debugfs.c 		res = count;
count             576 drivers/net/wireless/marvell/libertas/debugfs.c 				  size_t count, loff_t *ppos)
count             593 drivers/net/wireless/marvell/libertas/debugfs.c 		ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
count             602 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             607 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             613 drivers/net/wireless/marvell/libertas/debugfs.c 	return count;
count             618 drivers/net/wireless/marvell/libertas/debugfs.c 				    size_t count, loff_t *ppos)
count             626 drivers/net/wireless/marvell/libertas/debugfs.c 	buf = memdup_user_nul(userbuf, min(count, len - 1));
count             640 drivers/net/wireless/marvell/libertas/debugfs.c 		res = count;
count             807 drivers/net/wireless/marvell/libertas/debugfs.c 			size_t count, loff_t *ppos)
count             837 drivers/net/wireless/marvell/libertas/debugfs.c 	res = simple_read_from_buffer(userbuf, count, ppos, p, pos);
count             114 drivers/net/wireless/marvell/libertas/if_cs.c 	unsigned long count)
count             118 drivers/net/wireless/marvell/libertas/if_cs.c 			reg, count);
count             119 drivers/net/wireless/marvell/libertas/if_cs.c 	ioread16_rep(card->iobase + reg, buf, count);
count             140 drivers/net/wireless/marvell/libertas/if_cs.c 	unsigned long count)
count             144 drivers/net/wireless/marvell/libertas/if_cs.c 			reg, count);
count             145 drivers/net/wireless/marvell/libertas/if_cs.c 	iowrite16_rep(card->iobase + reg, buf, count);
count             594 drivers/net/wireless/marvell/libertas/if_cs.c 		int count = 256;
count             597 drivers/net/wireless/marvell/libertas/if_cs.c 		if (remain < count)
count             598 drivers/net/wireless/marvell/libertas/if_cs.c 			count = remain;
count             604 drivers/net/wireless/marvell/libertas/if_cs.c 		if_cs_write16(card, IF_CS_CMD_LEN, count);
count             607 drivers/net/wireless/marvell/libertas/if_cs.c 		if (count)
count             610 drivers/net/wireless/marvell/libertas/if_cs.c 				count >> 1);
count             636 drivers/net/wireless/marvell/libertas/if_cs.c 		if (count == 0)
count             639 drivers/net/wireless/marvell/libertas/if_cs.c 		sent += count;
count             183 drivers/net/wireless/marvell/libertas/mesh.c 		struct device_attribute *attr, const char * buf, size_t count)
count             235 drivers/net/wireless/marvell/libertas/mesh.c 		struct device_attribute *attr, const char *buf, size_t count)
count             282 drivers/net/wireless/marvell/libertas/mesh.c 		struct device_attribute *attr, const char * buf, size_t count)
count             290 drivers/net/wireless/marvell/libertas/mesh.c 		return count;
count             297 drivers/net/wireless/marvell/libertas/mesh.c 	return count;
count             381 drivers/net/wireless/marvell/libertas/mesh.c 			    const char *buf, size_t count)
count             431 drivers/net/wireless/marvell/libertas/mesh.c 		struct device_attribute *attr, const char *buf, size_t count)
count             490 drivers/net/wireless/marvell/libertas/mesh.c 			   const char *buf, size_t count)
count             549 drivers/net/wireless/marvell/libertas/mesh.c 			   const char *buf, size_t count)
count             558 drivers/net/wireless/marvell/libertas/mesh.c 	if (count < 2 || count > IEEE80211_MAX_SSID_LEN + 1)
count             572 drivers/net/wireless/marvell/libertas/mesh.c 	len = count - 1;
count             615 drivers/net/wireless/marvell/libertas/mesh.c 		struct device_attribute *attr, const char *buf, size_t count)
count             676 drivers/net/wireless/marvell/libertas/mesh.c 			     const char *buf, size_t count)
count             737 drivers/net/wireless/marvell/libertas/mesh.c 			      const char *buf, size_t count)
count             723 drivers/net/wireless/marvell/mwifiex/11n.c 	int count = 0;
count             739 drivers/net/wireless/marvell/mwifiex/11n.c 		count++;
count             741 drivers/net/wireless/marvell/mwifiex/11n.c 		if (count >= MWIFIEX_MAX_RX_BASTREAM_SUPPORTED)
count             746 drivers/net/wireless/marvell/mwifiex/11n.c 	return count;
count             757 drivers/net/wireless/marvell/mwifiex/11n.c 	int count = 0;
count             767 drivers/net/wireless/marvell/mwifiex/11n.c 		count++;
count             768 drivers/net/wireless/marvell/mwifiex/11n.c 		if (count >= MWIFIEX_MAX_TX_BASTREAM_SUPPORTED)
count             773 drivers/net/wireless/marvell/mwifiex/11n.c 	return count;
count             894 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 	u8 count = 0;
count             901 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 					count++;
count             905 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 					count++;
count             908 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 		if (count >= MWIFIEX_BSS_COEX_COUNT)
count             911 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c 	if (count >= MWIFIEX_BSS_COEX_COUNT)
count            3984 drivers/net/wireless/marvell/mwifiex/cfg80211.c 	chsw_msec = max(channel_sw->count * priv->bss_cfg.beacon_period, 100);
count              75 drivers/net/wireless/marvell/mwifiex/debugfs.c 		  size_t count, loff_t *ppos)
count             148 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
count             179 drivers/net/wireless/marvell/mwifiex/debugfs.c 		    size_t count, loff_t *ppos)
count             235 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
count             255 drivers/net/wireless/marvell/mwifiex/debugfs.c 		       size_t count, loff_t *ppos)
count             321 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page,
count             329 drivers/net/wireless/marvell/mwifiex/debugfs.c 			size_t count, loff_t *ppos)
count             389 drivers/net/wireless/marvell/mwifiex/debugfs.c 		   size_t count, loff_t *ppos)
count             406 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
count             425 drivers/net/wireless/marvell/mwifiex/debugfs.c 		      const char __user *ubuf, size_t count, loff_t *ppos)
count             431 drivers/net/wireless/marvell/mwifiex/debugfs.c 	buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
count             444 drivers/net/wireless/marvell/mwifiex/debugfs.c 		ret = count;
count             460 drivers/net/wireless/marvell/mwifiex/debugfs.c 		     size_t count, loff_t *ppos)
count             486 drivers/net/wireless/marvell/mwifiex/debugfs.c 		ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             501 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             514 drivers/net/wireless/marvell/mwifiex/debugfs.c 			size_t count, loff_t *ppos)
count             528 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             540 drivers/net/wireless/marvell/mwifiex/debugfs.c 			 size_t count, loff_t *ppos)
count             547 drivers/net/wireless/marvell/mwifiex/debugfs.c 	buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
count             557 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = count;
count             568 drivers/net/wireless/marvell/mwifiex/debugfs.c 		     size_t count, loff_t *ppos)
count             577 drivers/net/wireless/marvell/mwifiex/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             586 drivers/net/wireless/marvell/mwifiex/debugfs.c 	return count;
count             595 drivers/net/wireless/marvell/mwifiex/debugfs.c 		    size_t count, loff_t *ppos)
count             606 drivers/net/wireless/marvell/mwifiex/debugfs.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, ret);
count             614 drivers/net/wireless/marvell/mwifiex/debugfs.c mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count,
count             624 drivers/net/wireless/marvell/mwifiex/debugfs.c 	buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
count             649 drivers/net/wireless/marvell/mwifiex/debugfs.c 		ret = count;
count             662 drivers/net/wireless/marvell/mwifiex/debugfs.c 		   size_t count, loff_t *ppos)
count             674 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             691 drivers/net/wireless/marvell/mwifiex/debugfs.c 		       const char __user *ubuf, size_t count, loff_t *ppos)
count             697 drivers/net/wireless/marvell/mwifiex/debugfs.c 	buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
count             709 drivers/net/wireless/marvell/mwifiex/debugfs.c 		ret = count;
count             725 drivers/net/wireless/marvell/mwifiex/debugfs.c 		      size_t count, loff_t *ppos)
count             757 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             768 drivers/net/wireless/marvell/mwifiex/debugfs.c 		    size_t count, loff_t *ppos)
count             777 drivers/net/wireless/marvell/mwifiex/debugfs.c 	buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
count             799 drivers/net/wireless/marvell/mwifiex/debugfs.c 			ret = count;
count             815 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = count;
count             827 drivers/net/wireless/marvell/mwifiex/debugfs.c 		   size_t count, loff_t *ppos)
count             844 drivers/net/wireless/marvell/mwifiex/debugfs.c 	ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
count             852 drivers/net/wireless/marvell/mwifiex/debugfs.c 			    size_t count, loff_t *ppos)
count             869 drivers/net/wireless/marvell/mwifiex/debugfs.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, len);
count             874 drivers/net/wireless/marvell/mwifiex/debugfs.c 			     size_t count, loff_t *ppos)
count             886 drivers/net/wireless/marvell/mwifiex/debugfs.c 	if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count)))
count             897 drivers/net/wireless/marvell/mwifiex/debugfs.c 		return count;
count             902 drivers/net/wireless/marvell/mwifiex/debugfs.c 		    const char __user *ubuf, size_t count, loff_t *ppos)
count             909 drivers/net/wireless/marvell/mwifiex/debugfs.c 	rc = kstrtobool_from_user(ubuf, count, &result);
count             921 drivers/net/wireless/marvell/mwifiex/debugfs.c 	return count;
count             460 drivers/net/wireless/marvell/mwifiex/pcie.c 	u32 sleep_cookie, count;
count             463 drivers/net/wireless/marvell/mwifiex/pcie.c 	for (count = 0; count < max_delay_loop_cnt; count++) {
count             473 drivers/net/wireless/marvell/mwifiex/pcie.c 				    "sleep cookie found at count %d\n", count);
count             483 drivers/net/wireless/marvell/mwifiex/pcie.c 	if (count >= max_delay_loop_cnt)
count            1724 drivers/net/wireless/marvell/mwifiex/pcie.c 	int count = 0;
count            1768 drivers/net/wireless/marvell/mwifiex/pcie.c 			while (reg->sleep_cookie && (count++ < 10) &&
count             121 drivers/net/wireless/marvell/mwifiex/scan.c 	u8 count;
count             123 drivers/net/wireless/marvell/mwifiex/scan.c 	count = iebody->ptk_cnt[0];
count             129 drivers/net/wireless/marvell/mwifiex/scan.c 	while (count) {
count             133 drivers/net/wireless/marvell/mwifiex/scan.c 		--count;
count             134 drivers/net/wireless/marvell/mwifiex/scan.c 		if (count)
count            2598 drivers/net/wireless/marvell/mwifiex/sdio.c 	u8 count, func, data, index = 0, size = 0;
count            2611 drivers/net/wireless/marvell/mwifiex/sdio.c 	for (count = 0; count < 5; count++) {
count            2615 drivers/net/wireless/marvell/mwifiex/sdio.c 		switch (count) {
count            2618 drivers/net/wireless/marvell/mwifiex/sdio.c 			func = count;
count            2624 drivers/net/wireless/marvell/mwifiex/sdio.c 			func = count;
count            2637 drivers/net/wireless/marvell/mwifiex/sdio.c 			if (count == 4)
count            2644 drivers/net/wireless/marvell/mwifiex/sdio.c 		if (count != 2)
count            2656 drivers/net/wireless/marvell/mwifiex/sdio.c 			if (count == 2)
count            2665 drivers/net/wireless/marvell/mwifiex/sdio.c 			if (count == 2 && reg < reg_end)
count            1226 drivers/net/wireless/marvell/mwifiex/tdls.c 	int count = 0;
count            1240 drivers/net/wireless/marvell/mwifiex/tdls.c 			count++;
count            1241 drivers/net/wireless/marvell/mwifiex/tdls.c 			if (count >= MWIFIEX_MAX_TDLS_PEER_SUPPORTED)
count            1247 drivers/net/wireless/marvell/mwifiex/tdls.c 	return count;
count            1205 drivers/net/wireless/marvell/mwifiex/wmm.c 	int count = 0, total_size = 0;
count            1219 drivers/net/wireless/marvell/mwifiex/wmm.c 		if (++count >= MIN_NUM_AMSDU)
count              74 drivers/net/wireless/marvell/mwifiex/wmm.h 	int count = 0;
count              77 drivers/net/wireless/marvell/mwifiex/wmm.h 		++count;
count              79 drivers/net/wireless/marvell/mwifiex/wmm.h 	return count;
count            1750 drivers/net/wireless/marvell/mwl8k.c 		info->status.rates[0].count = 1;
count            5808 drivers/net/wireless/marvell/mwl8k.c 	int count = MAX_RESTART_ATTEMPTS;
count            5832 drivers/net/wireless/marvell/mwl8k.c 	if (rc && count) {
count            5836 drivers/net/wireless/marvell/mwl8k.c 		count--;
count               9 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 	int count[MT7603_MAX_INTERFACES];
count              64 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 	data->count[mvif->idx]++;
count             128 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 	for (i = 0; i < ARRAY_SIZE(data.count); i++)
count             130 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 			data.count[i] << MT_WF_ARB_CAB_COUNT_B0_SHIFT(i));
count             855 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (rate->idx >= 0 && rate->count &&
count             873 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		tx_count = rate->count;
count             962 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	int count;
count             967 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	fixed_rate = info->status.rates[0].count;
count             972 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	count = FIELD_GET(MT_TXS4_TX_COUNT, txs);
count             995 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	first_idx = max_t(int, 0, last_idx - (count + 1) / MT7603_RATE_RETRY);
count             998 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		info->status.rates[0].count = count;
count            1022 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	info->status.rates[0].count = 0;
count            1024 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) {
count            1029 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		cur_count = min_t(int, MT7603_RATE_RETRY, count);
count            1030 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		count -= cur_count;
count            1041 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			info->status.rates[i].count = 0;
count            1044 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		info->status.rates[i].count += cur_count;
count             609 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		msta->rates[i].count = sta_rates->rate[i].count;
count             612 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		if (msta->rates[i].idx < 0 || !msta->rates[i].count)
count             387 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (rate->idx >= 0 && rate->count &&
count             410 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		tx_count = rate->count;
count             841 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	int i, idx, count;
count             848 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	fixed_rate = info->status.rates[0].count;
count             855 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	count = FIELD_GET(MT_TXS3_TX_COUNT, txs);
count             878 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	first_idx = max_t(int, 0, last_idx - (count + 1) / MT7615_RATE_RETRY);
count             881 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		info->status.rates[0].count = count;
count             904 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	info->status.rates[0].count = 0;
count             906 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) {
count             911 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		cur_count = min_t(int, MT7615_RATE_RETRY, count);
count             912 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		count -= cur_count;
count             923 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			info->status.rates[i].count = 0;
count             926 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		info->status.rates[i].count += cur_count;
count            1049 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	u8 i, count;
count            1051 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	count = FIELD_GET(MT_TX_FREE_MSDU_ID_CNT, le16_to_cpu(free->ctrl));
count            1052 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	for (i = 0; i < count; i++) {
count             391 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		msta->rates[i].count = sta_rates->rate[i].count;
count             394 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		if (msta->rates[i].idx < 0 || !msta->rates[i].count)
count             482 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		seq.count = 2;
count             492 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				seq.count++;
count             497 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		if (seq.count <= cur_len)
count             538 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			seq->count++;
count             539 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			max_seq_len = max_t(u16, max_seq_len, seq->count);
count             554 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		if (seq->count > MT_DFS_SEQUENCE_TH) {
count              80 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h 	u16 count;
count             264 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	txrate->count = 1;
count             357 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	if (wcid && (rate->idx < 0 || !rate->count)) {
count             485 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			info->status.rates[i].count = max_t(int, retry, 1);
count             496 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		info->status.rates[i + 1].count = 0;
count             124 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c 	int i, count = 0, val;
count             182 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c 		    ++count > 10)
count             541 drivers/net/wireless/mediatek/mt76/usb.c 	int err, count;
count             550 drivers/net/wireless/mediatek/mt76/usb.c 		count = mt76u_process_rx_entry(dev, urb);
count             551 drivers/net/wireless/mediatek/mt76/usb.c 		if (count > 0) {
count             552 drivers/net/wireless/mediatek/mt76/usb.c 			err = mt76u_refill_rx(dev, urb, count, GFP_ATOMIC);
count             715 drivers/net/wireless/mediatek/mt76/usb.c 	u16 count = 0;
count             726 drivers/net/wireless/mediatek/mt76/usb.c 		count++;
count             729 drivers/net/wireless/mediatek/mt76/usb.c 	if (count && test_bit(MT76_STATE_RUNNING, &dev->state))
count              34 drivers/net/wireless/mediatek/mt7601u/mac.c 	txrate->count = 1;
count              82 drivers/net/wireless/mediatek/mt7601u/mac.c 		rate[i].count = 1;
count              86 drivers/net/wireless/mediatek/mt7601u/mac.c 		rate[last_rate - 1].count = st->retry + 1 - last_rate;
count             151 drivers/net/wireless/mediatek/mt7601u/tx.c 	if (rate->idx < 0 || !rate->count)
count             838 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c 		 params->chandef.chan->hw_value, params->count,
count            2121 drivers/net/wireless/quantenna/qtnfmac/commands.c 	int count = 0;
count            2133 drivers/net/wireless/quantenna/qtnfmac/commands.c 		while (count < scan_req->n_ssids) {
count            2135 drivers/net/wireless/quantenna/qtnfmac/commands.c 				scan_req->ssids[count].ssid,
count            2136 drivers/net/wireless/quantenna/qtnfmac/commands.c 				scan_req->ssids[count].ssid_len);
count            2137 drivers/net/wireless/quantenna/qtnfmac/commands.c 			count++;
count            2147 drivers/net/wireless/quantenna/qtnfmac/commands.c 		count = 0;
count            2150 drivers/net/wireless/quantenna/qtnfmac/commands.c 			sc = scan_req->channels[count];
count            2162 drivers/net/wireless/quantenna/qtnfmac/commands.c 			count++;
count            2515 drivers/net/wireless/quantenna/qtnfmac/commands.c 	cmd->beacon_count = params->count;
count            2653 drivers/net/wireless/quantenna/qtnfmac/commands.c 	int count = 0;
count            2674 drivers/net/wireless/quantenna/qtnfmac/commands.c 			while (count < wowl->n_patterns) {
count            2677 drivers/net/wireless/quantenna/qtnfmac/commands.c 					wowl->patterns[count].pattern,
count            2678 drivers/net/wireless/quantenna/qtnfmac/commands.c 					wowl->patterns[count].pattern_len);
count            2679 drivers/net/wireless/quantenna/qtnfmac/commands.c 				count++;
count             471 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c 	int count = 0;
count             502 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c 		count++;
count             508 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c 	priv->tx_reclaim_done += count;
count             388 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 	int count = 0;
count             421 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 		count++;
count             427 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 	priv->tx_reclaim_done += count;
count             907 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 	u32 count;
count             946 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 	for (count = 0 ; count < nblocks; count++) {
count             954 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 			 count, (void *)curr, &paddr, size);
count             960 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 			pr_err("confirmation for block #%d timed out\n", count);
count             990 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c 	pr_debug("FW upload completed: totally sent %d blocks\n", count);
count             606 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 				 struct link_qual *qual, const u32 count)
count             612 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	if (count > 60 || !(count & 1))
count             644 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 				 struct link_qual *qual, const u32 count)
count             652 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	    rt2x00dev->intf_associated && count > 20)
count             670 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	if (qual->rssi < -80 && count > 20) {
count             438 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	int i, count;
count             449 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	count = 0;
count             464 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			if (count >= 10)
count             473 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			count++;
count             475 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			count = 0;
count             488 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	} while (count != 0);
count            5653 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		       const u32 count)
count             231 drivers/net/wireless/ralink/rt2x00/rt2800lib.h 		       const u32 count);
count             296 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	u32 count;
count             560 drivers/net/wireless/ralink/rt2x00/rt2x00.h 			    struct link_qual *qual, const u32 count);
count             325 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 				queue->count, queue->limit, queue->length,
count             340 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 			tx_info->status.rates[i].count = retry_rates - i;
count             344 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		tx_info->status.rates[i].count = 1;
count             171 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 	} else if (rt2x00dev->link.count & 1) {
count             268 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 	rt2x00dev->link.count = 0;
count             325 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 		rt2x00dev->ops->lib->link_tuner(rt2x00dev, qual, link->count);
count             362 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 	    (link->count % (AGC_SECONDS / LINK_TUNE_SECONDS)) == 0)
count             367 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 	    (link->count % (VCO_SECONDS / LINK_TUNE_SECONDS)) == 0)
count             375 drivers/net/wireless/ralink/rt2x00/rt2x00link.c 	link->count++;
count             626 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 		rt2x00dev->link.count = 0;
count             427 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 	txdesc->retry_limit = tx_info->control.rates[0].count - 1;
count             886 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 		queue->count++;
count            1076 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 	queue->count = 0;
count             462 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	unsigned int count;
count             950 drivers/net/wireless/ralink/rt2x00/rt61pci.c 			       struct link_qual *qual, const u32 count)
count             910 drivers/net/wireless/ralink/rt2x00/rt73usb.c 			       struct link_qual *qual, const u32 count)
count            2706 drivers/net/wireless/ray_cs.c 		const char __user *buffer, size_t count, loff_t *pos)
count            2709 drivers/net/wireless/ray_cs.c 	unsigned int len = count;
count            2717 drivers/net/wireless/ray_cs.c 	return count;
count            2727 drivers/net/wireless/ray_cs.c 			      size_t count, loff_t *pos)
count            2733 drivers/net/wireless/ray_cs.c 	if (!count)
count            2736 drivers/net/wireless/ray_cs.c 	if (count > 9)
count            2738 drivers/net/wireless/ray_cs.c 	if (copy_from_user(proc_number, buffer, count))
count            2742 drivers/net/wireless/ray_cs.c 	len = count;
count            2751 drivers/net/wireless/ray_cs.c 	return count;
count             215 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	unsigned int count = 32;
count             220 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	while (count--) {
count             368 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 		info->status.rates[0].count = (flags & 0xFF) + 1;
count             560 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	entry->retry_limit = info->control.rates[0].count - 1;
count             282 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 		hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8);
count             297 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 		hdr->retry = cpu_to_le32((info->control.rates[0].count - 1) << 8);
count             535 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 			info->status.rates[0].count = pkt_rc + 1;
count             914 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 		info->status.rates[0].count = avg_retry + 1;
count             915 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c 		if (info->status.rates[0].count > RETRY_COUNT)
count            1374 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 			u32 *backup, int count);
count            1376 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 			   u32 *backup, int count);
count            1333 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	int count, ret = 0;
count            1351 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1359 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	if (!count) {
count            1376 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1385 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	if (!count) {
count            1456 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	int count, ret = 0;
count            1473 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1480 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c 	if (!count) {
count             226 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c 	int count, ret = 0;
count             251 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count             259 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c 	if (!count) {
count             286 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count             295 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c 	if (!count) {
count            1215 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	int count, ret = 0;
count            1235 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1242 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	if (!count) {
count            1272 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	int count, ret = 0;
count            1297 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1305 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	if (!count) {
count            1332 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            1341 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c 	if (!count) {
count             772 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	int ret, i, count, remainder;
count             774 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	count = len / blocksize;
count             777 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	for (i = 0; i < count; i++) {
count            2453 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	int count = 0;
count            2466 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	} while (count++ < 20);
count            2967 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			u32 *backup, int count)
count            2971 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	for (i = 0; i < count; i++)
count            2976 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			   u32 *backup, int count)
count            2980 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	for (i = 0; i < count; i++)
count            3550 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	int count, ret = 0;
count            3567 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            3574 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	if (!count) {
count            3599 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	int count, ret = 0;
count            3606 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	for (count = RTL8XXXU_MAX_REG_POLL; count; count--) {
count            3613 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	if (!count) {
count            4716 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	tx_info->status.rates[0].count = 0;
count              69 drivers/net/wireless/realtek/rtlwifi/debug.c 			    size_t count, loff_t *loff);
count             287 drivers/net/wireless/realtek/rtlwifi/debug.c 					 size_t count, loff_t *loff)
count             296 drivers/net/wireless/realtek/rtlwifi/debug.c 	if (count < 3)
count             299 drivers/net/wireless/realtek/rtlwifi/debug.c 	tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count);
count             302 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             310 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             327 drivers/net/wireless/realtek/rtlwifi/debug.c 	return count;
count             336 drivers/net/wireless/realtek/rtlwifi/debug.c 					 size_t count, loff_t *loff)
count             347 drivers/net/wireless/realtek/rtlwifi/debug.c 	if (count < 3)
count             350 drivers/net/wireless/realtek/rtlwifi/debug.c 	tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count);
count             353 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             364 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             373 drivers/net/wireless/realtek/rtlwifi/debug.c 	return count;
count             382 drivers/net/wireless/realtek/rtlwifi/debug.c 					    size_t count, loff_t *loff)
count             393 drivers/net/wireless/realtek/rtlwifi/debug.c 	if (count < 3)
count             396 drivers/net/wireless/realtek/rtlwifi/debug.c 	tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count);
count             399 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             409 drivers/net/wireless/realtek/rtlwifi/debug.c 		return count;
count             414 drivers/net/wireless/realtek/rtlwifi/debug.c 	return count;
count             428 drivers/net/wireless/realtek/rtlwifi/debug.c 					size_t count, loff_t *loff)
count             432 drivers/net/wireless/realtek/rtlwifi/debug.c 	return debugfs_priv->cb_write(filp, buffer, count, loff);
count             726 drivers/net/wireless/realtek/rtlwifi/pci.c 	unsigned int count = rtlpci->rxringcount;
count             738 drivers/net/wireless/realtek/rtlwifi/pci.c 	while (count--) {
count             130 drivers/net/wireless/realtek/rtlwifi/rc.c 	rate->count = tries;
count             100 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u32 count = 0, isr_regaddr, content;
count             115 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				count++;
count             117 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				if (count > 1000)
count             134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 			while (!(content & IMR_CPWM) && (count < 500)) {
count             136 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				count++;
count             623 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		u8 count = 0, dlbcn_count = 0;
count             655 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				count = 0;
count             656 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				while (!(bcnvalid_reg & BIT(0)) && count < 20) {
count             657 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 					count++;
count             729 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	long count = 0;
count             740 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             746 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	} while (++count);
count             945 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u32 tmp4byte = 0, count = 0;
count             953 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	count = 0;
count             954 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	while (tmp1byte && count < 20) {
count             957 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		count++;
count             967 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	count = 0;
count             968 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	while (tmp1byte && count < 20) {
count             971 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		count++;
count             977 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	count = 0;
count             978 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	while (tmp1byte && count < 20) {
count             981 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		count++;
count             992 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	count = 0;
count             993 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	while (tmp1byte && count < 20) {
count             996 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		count++;
count            1369 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u32 count = 0;
count            1378 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	while (!(u1b_tmp & BIT(1)) && (count++ < 100)) {
count            1381 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		count++;
count             522 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 	int count = rtlphy->pwrgroup_cnt;
count             525 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][0] = data;
count             528 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             529 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][0]);
count             532 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][1] = data;
count             535 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             536 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][1]);
count             539 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][6] = data;
count             542 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             543 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][6]);
count             546 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][7] = data;
count             549 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             550 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][7]);
count             553 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][2] = data;
count             556 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             557 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][2]);
count             560 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][3] = data;
count             563 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             564 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][3]);
count             567 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][4] = data;
count             570 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             571 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][4]);
count             574 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][5] = data;
count             576 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			count++;
count             577 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			rtlphy->pwrgroup_cnt = count;
count             581 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             582 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][5]);
count             585 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][8] = data;
count             588 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             589 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][8]);
count             592 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][9] = data;
count             595 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             596 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][9]);
count             599 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][14] = data;
count             602 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             603 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][14]);
count             606 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][15] = data;
count             609 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             610 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][15]);
count             613 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][10] = data;
count             616 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             617 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][10]);
count             620 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][11] = data;
count             623 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             624 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][11]);
count             627 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][12] = data;
count             630 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             631 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][12]);
count             634 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 		rtlphy->mcs_txpwrlevel_origoffset[count][13] = data;
count             637 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  count,
count             638 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			  rtlphy->mcs_txpwrlevel_origoffset[count][13]);
count             640 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			count++;
count             641 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c 			rtlphy->pwrgroup_cnt = count;
count             542 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	long count = 0;
count             553 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             559 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	} while (++count);
count             127 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 	long count = 0;
count             136 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		if (count > POLLING_LLT_THRESHOLD) {
count             142 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 	} while (++count);
count             169 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c 	u32 count;
count             202 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c 		for (count = 0; count < 5000; count++) {
count             488 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	long count = 0;
count             497 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             503 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	} while (++count);
count              77 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u32 count = 0, isr_regaddr, content;
count              93 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				count++;
count              95 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				if (count > 1000)
count             113 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			while (!(content & IMR_CPWM) && (count < 500)) {
count             115 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				count++;
count             333 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u8 count = 0, dlbcn_count = 0;
count             367 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count = 0;
count             368 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		while ((txbc_reg & BIT(4)) && count < 20) {
count             369 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			count++;
count             378 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count = 0;
count             379 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		while (!(bcnvalid_reg & BIT(0)) && count < 20) {
count             380 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			count++;
count            1020 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u32 tmp32 = 0, count = 0;
count            1026 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	count = 0;
count            1027 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	while (tmp8 && count < 20) {
count            1030 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count++;
count            1044 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			count = 0;
count            1045 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			while (tmp8 && count < 20) {
count            1049 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				count++;
count            1057 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	count = 0;
count            1058 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	while (tmp8 && count < 20) {
count            1061 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count++;
count            1072 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	count = 0;
count            1073 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	while (tmp8 && count < 20) {
count            1076 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count++;
count            1082 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	count = 0;
count            1083 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	while (tmp8 && count < 20) {
count            1086 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count++;
count            1096 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	count = 0;
count            1097 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	while (tmp8 && count < 20) {
count            1100 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		count++;
count             300 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 			u8 count = 0;
count             306 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				count++;
count             312 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				if (count > 5)
count             319 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 			u8 count = 0;
count             325 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				count++;
count             334 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				if (count > 5)
count             539 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	long count = 0;
count             550 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             556 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	} while (++count);
count             105 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u32 count = 0, isr_regaddr, content;
count             120 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				count++;
count             122 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				if (count > 1000)
count             140 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 			while (!(content & IMR_CPWM) && (count < 500)) {
count             142 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				count++;
count             344 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 count = 0, dlbcn_count = 0;
count             367 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		count = 0;
count             368 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		while (!(bcnvalid_reg & BIT(0)) && count < 20) {
count             369 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 			count++;
count             718 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	long count = 0;
count             729 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             735 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	} while (++count);
count             986 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 ret = 0, tmp = 0, count = 0;
count             991 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	count = 0;
count             992 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	while (tmp && count < 20) {
count             995 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		count++;
count            1007 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 tmp = 0, count = 0;
count            1022 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	count = 0;
count            1023 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	while (tmp && count < 20) {
count            1026 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		count++;
count            1033 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 tmp = 0, count = 0;
count            1037 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	count = 0;
count            1038 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	while (tmp && count < 20) {
count            1041 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		count++;
count            1052 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 tmp = 0, count = 0;
count            1057 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	count = 0;
count            1058 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	while (tmp && count < 20) {
count            1061 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		count++;
count              67 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.h int rtl8723_fw_free_to_go(struct ieee80211_hw *hw, bool is_8723be, int count);
count              68 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.h int rtl8723_download_fw(struct ieee80211_hw *hw, bool is_8723be, int count);
count             109 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 	u16 count = 0;
count             114 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 		count++;
count             115 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 	} while ((val & 0x0F) && (count < 1000));
count             101 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u32 count = 0, isr_regaddr, content;
count             117 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				count++;
count             119 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				if (count > 1000)
count             137 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			while (!(content & IMR_CPWM) && (count < 500)) {
count             139 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				count++;
count             294 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 count = 0, dlbcn_count = 0;
count             323 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count = 0;
count             324 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		while (!(bcnvalid_reg & BIT(0)) && count < 20) {
count             325 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			count++;
count             356 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				count = 0;
count             357 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				while (!(bcnvalid_reg & BIT(0)) && count < 20) {
count             358 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 					count++;
count             792 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	long count = 0;
count             803 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if (count > POLLING_LLT_THRESHOLD) {
count             809 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	} while (++count);
count            1057 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 tmp = 0, count = 0;
count            1061 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1062 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	while (tmp && count < 20) {
count            1065 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1075 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 tmp = 0, count = 0;
count            1080 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1081 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	while (tmp && count < 20) {
count            1084 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1091 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 tmp = 0, count = 0, ret = 0;
count            1096 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1097 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	while (tmp && count < 20) {
count            1100 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1111 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 tmp = 0, count = 0;
count            1123 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1124 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	while (tmp && count < 20) {
count            1127 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1481 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u16 count = 0, tmp16;
count            1501 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1502 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if ((count % 200) == 0) {
count            1506 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if (count >= 1000) {
count            1519 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1522 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1523 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if (count >= 500) {
count            1534 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	count = 0;
count            1540 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count++;
count            1541 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	} while (!(tmp & BIT(1)) && count < 100);
count            1545 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		  count, tmp);
count            2348 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u32 count = 0;
count            2408 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count = 0;
count            2409 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		while (!(tmp & BIT(1)) && (count++ < 100)) {
count            2415 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			  count);
count            2444 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count = 0;
count            2448 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			count++;
count            2449 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		} while ((tmp != 0) && (count < 100));
count            2452 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			  count);
count            3999 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 tmp, count = 0;
count            4064 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		count = 0;
count            4068 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			count++;
count            4069 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		} while (tmp && count < 100);
count            4071 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		WARN_ONCE((count >= 100),
count             644 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		u16 count, reg_41a;
count             655 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		count = 0;
count             660 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		while ((reg_41a != 0x30) && (count < 50)) {
count             666 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			count++;
count             670 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		if (count != 0)
count             673 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 				 count, reg_41a);
count              98 drivers/net/wireless/realtek/rtlwifi/usb.c 	static int count;
count             116 drivers/net/wireless/realtek/rtlwifi/usb.c 	if (status < 0 && count++ < 4)
count              19 drivers/net/wireless/realtek/rtw88/debug.c 			    size_t count, loff_t *loff);
count              48 drivers/net/wireless/realtek/rtw88/debug.c 					size_t count, loff_t *loff)
count              52 drivers/net/wireless/realtek/rtw88/debug.c 	return debugfs_priv->cb_write(filp, buffer, count, loff);
count              57 drivers/net/wireless/realtek/rtw88/debug.c 					size_t count, loff_t *loff)
count              62 drivers/net/wireless/realtek/rtw88/debug.c 	return debugfs_priv->cb_write(filp, buffer, count, loff);
count             144 drivers/net/wireless/realtek/rtw88/debug.c 				      const char __user *buffer, size_t count,
count             149 drivers/net/wireless/realtek/rtw88/debug.c 	if (count < num)
count             152 drivers/net/wireless/realtek/rtw88/debug.c 	tmp_len = (count > size - 1 ? size - 1 : count);
count             155 drivers/net/wireless/realtek/rtw88/debug.c 		return count;
count             164 drivers/net/wireless/realtek/rtw88/debug.c 					size_t count, loff_t *loff)
count             173 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2);
count             178 drivers/net/wireless/realtek/rtw88/debug.c 		return count;
count             187 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             254 drivers/net/wireless/realtek/rtw88/debug.c 					 size_t count, loff_t *loff)
count             263 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2);
count             275 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             280 drivers/net/wireless/realtek/rtw88/debug.c 					    size_t count, loff_t *loff)
count             289 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 1);
count             300 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             305 drivers/net/wireless/realtek/rtw88/debug.c 					 size_t count, loff_t *loff)
count             313 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3);
count             319 drivers/net/wireless/realtek/rtw88/debug.c 		return count;
count             343 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             348 drivers/net/wireless/realtek/rtw88/debug.c 					size_t count, loff_t *loff)
count             356 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 4);
count             362 drivers/net/wireless/realtek/rtw88/debug.c 		return count;
count             370 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             375 drivers/net/wireless/realtek/rtw88/debug.c 				       size_t count, loff_t *loff)
count             384 drivers/net/wireless/realtek/rtw88/debug.c 	rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3);
count             390 drivers/net/wireless/realtek/rtw88/debug.c 		return count;
count             397 drivers/net/wireless/realtek/rtw88/debug.c 	return count;
count             747 drivers/net/wireless/realtek/rtw88/pci.c 	u32 count;
count             759 drivers/net/wireless/realtek/rtw88/pci.c 		count = cur_rp - ring->r.rp;
count             761 drivers/net/wireless/realtek/rtw88/pci.c 		count = ring->r.len - (ring->r.rp - cur_rp);
count             763 drivers/net/wireless/realtek/rtw88/pci.c 	while (count--) {
count             767 drivers/net/wireless/realtek/rtw88/pci.c 				count, hw_queue, bd_idx, ring->r.rp, cur_rp);
count             819 drivers/net/wireless/realtek/rtw88/pci.c 	u32 count;
count             833 drivers/net/wireless/realtek/rtw88/pci.c 		count = cur_wp - ring->r.wp;
count             835 drivers/net/wireless/realtek/rtw88/pci.c 		count = ring->r.len - (ring->r.wp - cur_wp);
count             838 drivers/net/wireless/realtek/rtw88/pci.c 	while (count--) {
count            2191 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	u16 count = 0;
count            2200 drivers/net/wireless/realtek/rtw88/rtw8822c.c 		count++;
count            2201 drivers/net/wireless/realtek/rtw88/rtw8822c.c 	} while ((reg_a == 2 || reg_b == 2) && count < 2500);
count            1658 drivers/net/wireless/rndis_wlan.c 	int i, len, count, max_pmkids, entry_len;
count            1662 drivers/net/wireless/rndis_wlan.c 	count = le32_to_cpu(pmkids->bssid_info_count);
count            1664 drivers/net/wireless/rndis_wlan.c 	entry_len = (count > 0) ? (len - sizeof(*pmkids)) / count : -1;
count            1667 drivers/net/wireless/rndis_wlan.c 				"%d)\n", func_str, count, len, entry_len);
count            1669 drivers/net/wireless/rndis_wlan.c 	if (count > max_pmkids)
count            1670 drivers/net/wireless/rndis_wlan.c 		count = max_pmkids;
count            1672 drivers/net/wireless/rndis_wlan.c 	for (i = 0; i < count; i++) {
count            1753 drivers/net/wireless/rndis_wlan.c 	unsigned int count;
count            1755 drivers/net/wireless/rndis_wlan.c 	count = le32_to_cpu(pmkids->bssid_info_count);
count            1757 drivers/net/wireless/rndis_wlan.c 	if (count > max_pmkids)
count            1758 drivers/net/wireless/rndis_wlan.c 		count = max_pmkids;
count            1760 drivers/net/wireless/rndis_wlan.c 	for (i = 0; i < count; i++)
count            1766 drivers/net/wireless/rndis_wlan.c 	if (i == count) {
count            1773 drivers/net/wireless/rndis_wlan.c 	for (; i + 1 < count; i++)
count            1776 drivers/net/wireless/rndis_wlan.c 	count--;
count            1777 drivers/net/wireless/rndis_wlan.c 	pmkids->length = cpu_to_le32(struct_size(pmkids, bssid_info, count));
count            1778 drivers/net/wireless/rndis_wlan.c 	pmkids->bssid_info_count = cpu_to_le32(count);
count            1793 drivers/net/wireless/rndis_wlan.c 	unsigned int count;
count            1795 drivers/net/wireless/rndis_wlan.c 	count = le32_to_cpu(pmkids->bssid_info_count);
count            1797 drivers/net/wireless/rndis_wlan.c 	if (count > max_pmkids)
count            1798 drivers/net/wireless/rndis_wlan.c 		count = max_pmkids;
count            1801 drivers/net/wireless/rndis_wlan.c 	for (i = 0; i < count; i++) {
count            1820 drivers/net/wireless/rndis_wlan.c 	newlen = struct_size(pmkids, bssid_info, count + 1);
count            1830 drivers/net/wireless/rndis_wlan.c 	pmkids->bssid_info_count = cpu_to_le32(count + 1);
count            1832 drivers/net/wireless/rndis_wlan.c 	memcpy(pmkids->bssid_info[count].bssid, pmksa->bssid, ETH_ALEN);
count            1833 drivers/net/wireless/rndis_wlan.c 	memcpy(pmkids->bssid_info[count].pmkid, pmksa->pmkid, WLAN_PMKID_LEN);
count            2059 drivers/net/wireless/rndis_wlan.c 	int ret = -EINVAL, len, count, bssid_len, real_count, new_len;
count            2089 drivers/net/wireless/rndis_wlan.c 	count = le32_to_cpu(bssid_list->num_items);
count            2111 drivers/net/wireless/rndis_wlan.c 				" %d\n", __func__, count, real_count);
count             501 drivers/net/wireless/rsi/rsi_91x_sdio.c 					   u16 count)
count             510 drivers/net/wireless/rsi/rsi_91x_sdio.c 	status =  sdio_readsb(dev->pfunction, data, addr, count);
count             533 drivers/net/wireless/rsi/rsi_91x_sdio.c 				     u16 count)
count             554 drivers/net/wireless/rsi/rsi_91x_sdio.c 	status = sdio_writesb(dev->pfunction, addr, data, count);
count              87 drivers/net/wireless/rsi/rsi_91x_usb.c 			      u32 count)
count             101 drivers/net/wireless/rsi/rsi_91x_usb.c 	return rsi_usb_card_write(adapter, data, count, endpoint);
count             351 drivers/net/wireless/rsi/rsi_91x_usb.c 					  u8 *data, u16 count)
count             365 drivers/net/wireless/rsi/rsi_91x_usb.c 	while (count) {
count             366 drivers/net/wireless/rsi/rsi_91x_usb.c 		transfer = min_t(u16, count, RSI_USB_BUF_SIZE);
count             382 drivers/net/wireless/rsi/rsi_91x_usb.c 		count -= transfer;
count             401 drivers/net/wireless/rsi/rsi_91x_usb.c 					   u8 *data, u16 count)
count             412 drivers/net/wireless/rsi/rsi_91x_usb.c 	while (count) {
count             413 drivers/net/wireless/rsi/rsi_91x_usb.c 		transfer = min_t(u16, count, RSI_USB_BUF_SIZE);
count             431 drivers/net/wireless/rsi/rsi_91x_usb.c 		count -= transfer;
count             388 drivers/net/wireless/rsi/rsi_main.h 				 u8 *data, u16 count);
count             390 drivers/net/wireless/rsi/rsi_main.h 				  u8 *data, u16 count);
count             142 drivers/net/wireless/rsi/rsi_sdio.h 				     u8 *data, u16 count);
count             162 drivers/net/wireless/st/cw1200/bh.c int wsm_release_tx_buffer(struct cw1200_common *priv, int count)
count             167 drivers/net/wireless/st/cw1200/bh.c 	priv->hw_bufs_used -= count;
count              23 drivers/net/wireless/st/cw1200/bh.h int wsm_release_tx_buffer(struct cw1200_common *priv, int count);
count              68 drivers/net/wireless/st/cw1200/cw1200_sdio.c 				     void *dst, int count)
count              70 drivers/net/wireless/st/cw1200/cw1200_sdio.c 	return sdio_memcpy_fromio(self->func, dst, addr, count);
count              75 drivers/net/wireless/st/cw1200/cw1200_sdio.c 				   const void *src, int count)
count              77 drivers/net/wireless/st/cw1200/cw1200_sdio.c 	return sdio_memcpy_toio(self->func, addr, (void *)src, count);
count              59 drivers/net/wireless/st/cw1200/cw1200_spi.c 				     void *dst, int count)
count              71 drivers/net/wireless/st/cw1200/cw1200_spi.c 		.len            = count,
count              76 drivers/net/wireless/st/cw1200/cw1200_spi.c 	regaddr |= (count>>1);
count              79 drivers/net/wireless/st/cw1200/cw1200_spi.c 	pr_info("READ : %04d from 0x%02x (%04x)\n", count, addr, regaddr);
count             116 drivers/net/wireless/st/cw1200/cw1200_spi.c 		for (i = 0; i < ((count + 1) >> 1); i++)
count             125 drivers/net/wireless/st/cw1200/cw1200_spi.c 				   const void *src, int count)
count             135 drivers/net/wireless/st/cw1200/cw1200_spi.c 		.len            = count,
count             141 drivers/net/wireless/st/cw1200/cw1200_spi.c 	regaddr |= (count>>1);
count             144 drivers/net/wireless/st/cw1200/cw1200_spi.c 	pr_info("WRITE: %04d  to  0x%02x (%04x)\n", count, addr, regaddr);
count             159 drivers/net/wireless/st/cw1200/cw1200_spi.c 		for (i = 0; i < ((count + 1) >> 1); i++)
count             188 drivers/net/wireless/st/cw1200/cw1200_spi.c 		for (i = 0; i < ((count + 1) >> 1); i++)
count             336 drivers/net/wireless/st/cw1200/debug.c 	const char __user *user_buf, size_t count, loff_t *ppos)
count             341 drivers/net/wireless/st/cw1200/debug.c 	if (!count)
count             351 drivers/net/wireless/st/cw1200/debug.c 	return count;
count              44 drivers/net/wireless/st/cw1200/debug.h 					   int count)
count              47 drivers/net/wireless/st/cw1200/debug.h 	priv->debug->tx_multi_frames += count;
count              21 drivers/net/wireless/st/cw1200/hwbus.h 					void *dst, int count);
count              23 drivers/net/wireless/st/cw1200/hwbus.h 					const void *src, int count);
count             543 drivers/net/wireless/st/cw1200/sta.c 	int count = 0;
count             555 drivers/net/wireless/st/cw1200/sta.c 		memcpy(&priv->multicast_filter.macaddrs[count],
count             560 drivers/net/wireless/st/cw1200/sta.c 		count++;
count             563 drivers/net/wireless/st/cw1200/sta.c 	if (count) {
count             565 drivers/net/wireless/st/cw1200/sta.c 		priv->multicast_filter.num_addrs = __cpu_to_le32(count);
count            1667 drivers/net/wireless/st/cw1200/sta.c 		.count = 1,
count            1726 drivers/net/wireless/st/cw1200/sta.c 		.count = 1,
count              67 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_tx_rate *rates, size_t count)
count              76 drivers/net/wireless/st/cw1200/txrx.c 	for (i = 1; i < count; ++i) {
count              78 drivers/net/wireless/st/cw1200/txrx.c 			count = i;
count              89 drivers/net/wireless/st/cw1200/txrx.c 	total = rates[0].count;
count              90 drivers/net/wireless/st/cw1200/txrx.c 	for (i = 0, j = 1; j < count; ++j) {
count              92 drivers/net/wireless/st/cw1200/txrx.c 			rates[i].count += rates[j].count;
count             100 drivers/net/wireless/st/cw1200/txrx.c 		total += rates[j].count;
count             102 drivers/net/wireless/st/cw1200/txrx.c 	count = i + 1;
count             107 drivers/net/wireless/st/cw1200/txrx.c 	if (limit < count)
count             108 drivers/net/wireless/st/cw1200/txrx.c 		limit = count;
count             110 drivers/net/wireless/st/cw1200/txrx.c 		for (i = 0; i < count; ++i) {
count             111 drivers/net/wireless/st/cw1200/txrx.c 			int left = count - i - 1;
count             112 drivers/net/wireless/st/cw1200/txrx.c 			if (rates[i].count > limit - left)
count             113 drivers/net/wireless/st/cw1200/txrx.c 				rates[i].count = limit - left;
count             114 drivers/net/wireless/st/cw1200/txrx.c 			limit -= rates[i].count;
count             124 drivers/net/wireless/st/cw1200/txrx.c 	if (count == 2 && !(rates[0].flags & IEEE80211_TX_RC_MCS) &&
count             125 drivers/net/wireless/st/cw1200/txrx.c 	    rates[0].idx > 4 && rates[0].count > 2 &&
count             130 drivers/net/wireless/st/cw1200/txrx.c 		rates[0].count -= 2;
count             138 drivers/net/wireless/st/cw1200/txrx.c 			rates[2].count = 1;
count             143 drivers/net/wireless/st/cw1200/txrx.c 			rates[1].count = 1;
count             150 drivers/net/wireless/st/cw1200/txrx.c 			if (rates[0].count >= 3) {
count             151 drivers/net/wireless/st/cw1200/txrx.c 				--rates[0].count;
count             152 drivers/net/wireless/st/cw1200/txrx.c 				++rates[2].count;
count             156 drivers/net/wireless/st/cw1200/txrx.c 			count += 2;
count             163 drivers/net/wireless/st/cw1200/txrx.c 			rates[1].count = 2;
count             166 drivers/net/wireless/st/cw1200/txrx.c 			count += 1;
count             172 drivers/net/wireless/st/cw1200/txrx.c 	for (i = 0; i < count; ++i) {
count             179 drivers/net/wireless/st/cw1200/txrx.c 		retries = rates[i].count;
count             181 drivers/net/wireless/st/cw1200/txrx.c 			rates[i].count = 0x0f;
count             189 drivers/net/wireless/st/cw1200/txrx.c 		 count,
count             190 drivers/net/wireless/st/cw1200/txrx.c 		 rates[0].idx, rates[0].count,
count             191 drivers/net/wireless/st/cw1200/txrx.c 		 rates[1].idx, rates[1].count,
count             192 drivers/net/wireless/st/cw1200/txrx.c 		 rates[2].idx, rates[2].count,
count             193 drivers/net/wireless/st/cw1200/txrx.c 		 rates[3].idx, rates[3].count);
count             199 drivers/net/wireless/st/cw1200/txrx.c 	size_t count = wanted->defined >> 1;
count             202 drivers/net/wireless/st/cw1200/txrx.c 	if (count) {
count             203 drivers/net/wireless/st/cw1200/txrx.c 		if (memcmp(wanted->raw, cached->raw, count))
count             207 drivers/net/wireless/st/cw1200/txrx.c 		if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F))
count             298 drivers/net/wireless/st/cw1200/txrx.c 		  size_t count, bool *renew)
count             304 drivers/net/wireless/st/cw1200/txrx.c 	tx_policy_build(priv, &wanted, rates, count);
count             936 drivers/net/wireless/st/cw1200/txrx.c 			if (tx->status.rates[i].count >= tx_count) {
count             937 drivers/net/wireless/st/cw1200/txrx.c 				tx->status.rates[i].count = tx_count;
count             940 drivers/net/wireless/st/cw1200/txrx.c 			tx_count -= tx->status.rates[i].count;
count             946 drivers/net/wireless/st/cw1200/txrx.c 			tx->status.rates[i].count = 0;
count             378 drivers/net/wireless/st/cw1200/wsm.c 	int count;
count             380 drivers/net/wireless/st/cw1200/wsm.c 	count = WSM_GET32(buf);
count             381 drivers/net/wireless/st/cw1200/wsm.c 	if (WARN_ON(count <= 0))
count             384 drivers/net/wireless/st/cw1200/wsm.c 	if (count > 1) {
count             386 drivers/net/wireless/st/cw1200/wsm.c 		ret = wsm_release_tx_buffer(priv, count - 1);
count             393 drivers/net/wireless/st/cw1200/wsm.c 	cw1200_debug_txed_multi(priv, count);
count             396 drivers/net/wireless/st/cw1200/wsm.c 	} while (!ret && --count);
count             780 drivers/net/wireless/st/cw1200/wsm.c 	WSM_PUT16(buf, arg->count);
count            1669 drivers/net/wireless/st/cw1200/wsm.c 	int count = 0;
count            1675 drivers/net/wireless/st/cw1200/wsm.c 		++count;
count            1757 drivers/net/wireless/st/cw1200/wsm.c 			++count;
count            1762 drivers/net/wireless/st/cw1200/wsm.c 	return count;
count            1266 drivers/net/wireless/st/cw1200/wsm.h 	/* [in] */ u16 count;
count            1736 drivers/net/wireless/st/cw1200/wsm.h 	u8	count;
count              24 drivers/net/wireless/ti/wl1251/debugfs.c 			    size_t count, loff_t *ppos)			\
count              31 drivers/net/wireless/ti/wl1251/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);	\
count              53 drivers/net/wireless/ti/wl1251/debugfs.c 				      size_t count, loff_t *ppos)	\
count              63 drivers/net/wireless/ti/wl1251/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);	\
count             198 drivers/net/wireless/ti/wl1251/debugfs.c 				 size_t count, loff_t *ppos)
count             208 drivers/net/wireless/ti/wl1251/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);
count             218 drivers/net/wireless/ti/wl1251/debugfs.c 				    size_t count, loff_t *ppos)
count             230 drivers/net/wireless/ti/wl1251/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             416 drivers/net/wireless/ti/wl1251/tx.c 	info->status.rates[0].count = result->ack_failures + 1;
count             291 drivers/net/wireless/ti/wl12xx/cmd.c 	cmd->switch_time = ch_switch->count;
count              23 drivers/net/wireless/ti/wl18xx/cmd.c 		     ch_switch->count);
count              33 drivers/net/wireless/ti/wl18xx/cmd.c 	cmd->switch_time = ch_switch->count;
count             179 drivers/net/wireless/ti/wl18xx/debugfs.c 			 size_t count, loff_t *ppos)
count             208 drivers/net/wireless/ti/wl18xx/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             222 drivers/net/wireless/ti/wl18xx/debugfs.c 			      size_t count, loff_t *ppos)
count             234 drivers/net/wireless/ti/wl18xx/debugfs.c 		count = ret;
count             239 drivers/net/wireless/ti/wl18xx/debugfs.c 	return count;
count             250 drivers/net/wireless/ti/wl18xx/debugfs.c 				     size_t count, loff_t *ppos)
count             256 drivers/net/wireless/ti/wl18xx/debugfs.c 	ret = kstrtou8_from_user(user_buf, count, 10, &channel);
count             275 drivers/net/wireless/ti/wl18xx/debugfs.c 		count = ret;
count             281 drivers/net/wireless/ti/wl18xx/debugfs.c 	return count;
count             292 drivers/net/wireless/ti/wl18xx/debugfs.c 					size_t count, loff_t *ppos)
count             298 drivers/net/wireless/ti/wl18xx/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 0, &value);
count             317 drivers/net/wireless/ti/wl18xx/debugfs.c 		count = ret;
count             323 drivers/net/wireless/ti/wl18xx/debugfs.c 	return count;
count             328 drivers/net/wireless/ti/wl18xx/debugfs.c 					size_t count, loff_t *ppos)
count             331 drivers/net/wireless/ti/wl18xx/debugfs.c 	return wl1271_format_buffer(userbuf, count, ppos,
count             345 drivers/net/wireless/ti/wl18xx/debugfs.c 				      size_t count, loff_t *ppos)
count             352 drivers/net/wireless/ti/wl18xx/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             387 drivers/net/wireless/ti/wl18xx/debugfs.c 	return count;
count             392 drivers/net/wireless/ti/wl18xx/debugfs.c 				     size_t count, loff_t *ppos)
count             396 drivers/net/wireless/ti/wl18xx/debugfs.c 	return wl1271_format_buffer(userbuf, count, ppos,
count             100 drivers/net/wireless/ti/wl18xx/tx.c 	info->status.rates[0].count = 1; /* no data about retries */
count              31 drivers/net/wireless/ti/wlcore/debugfs.c int wl1271_format_buffer(char __user *userbuf, size_t count,
count              42 drivers/net/wireless/ti/wlcore/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);
count              81 drivers/net/wireless/ti/wlcore/debugfs.c 				 size_t count, loff_t *ppos)
count              91 drivers/net/wireless/ti/wlcore/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);
count             137 drivers/net/wireless/ti/wlcore/debugfs.c 				      size_t count, loff_t *ppos)	\
count             140 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,			\
count             147 drivers/net/wireless/ti/wlcore/debugfs.c 				     size_t count, loff_t *ppos)	\
count             153 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);		\
count             170 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;							\
count             188 drivers/net/wireless/ti/wlcore/debugfs.c 			  size_t count, loff_t *ppos)
count             198 drivers/net/wireless/ti/wlcore/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, res);
count             203 drivers/net/wireless/ti/wlcore/debugfs.c 			   size_t count, loff_t *ppos)
count             209 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             223 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             235 drivers/net/wireless/ti/wlcore/debugfs.c 				    size_t count, loff_t *ppos)
count             243 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             253 drivers/net/wireless/ti/wlcore/debugfs.c 			  size_t count, loff_t *ppos)
count             257 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,
count             264 drivers/net/wireless/ti/wlcore/debugfs.c 				    size_t count, loff_t *ppos)
count             271 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             309 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             320 drivers/net/wireless/ti/wlcore/debugfs.c 			  size_t count, loff_t *ppos)
count             324 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,
count             331 drivers/net/wireless/ti/wlcore/debugfs.c 				    size_t count, loff_t *ppos)
count             338 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             381 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             392 drivers/net/wireless/ti/wlcore/debugfs.c 			  size_t count, loff_t *ppos)
count             396 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,
count             403 drivers/net/wireless/ti/wlcore/debugfs.c 				    size_t count, loff_t *ppos)
count             409 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             423 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             434 drivers/net/wireless/ti/wlcore/debugfs.c 				 size_t count, loff_t *ppos)
count             521 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, res);
count             533 drivers/net/wireless/ti/wlcore/debugfs.c 				 size_t count, loff_t *ppos)
count             631 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, res);
count             643 drivers/net/wireless/ti/wlcore/debugfs.c 				  size_t count, loff_t *ppos)
count             654 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
count             659 drivers/net/wireless/ti/wlcore/debugfs.c 				   size_t count, loff_t *ppos)
count             665 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             690 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             704 drivers/net/wireless/ti/wlcore/debugfs.c 					  size_t count, loff_t *ppos)
count             715 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
count             720 drivers/net/wireless/ti/wlcore/debugfs.c 					   size_t count, loff_t *ppos)
count             726 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             747 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             759 drivers/net/wireless/ti/wlcore/debugfs.c 				    size_t count, loff_t *ppos)
count             770 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count, ppos, "%d\n", value);
count             775 drivers/net/wireless/ti/wlcore/debugfs.c 				     size_t count, loff_t *ppos)
count             781 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             806 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             818 drivers/net/wireless/ti/wlcore/debugfs.c 			   size_t count, loff_t *ppos)
count             825 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             855 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             860 drivers/net/wireless/ti/wlcore/debugfs.c 			    size_t count, loff_t *ppos)
count             863 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(userbuf, count, ppos,
count             876 drivers/net/wireless/ti/wlcore/debugfs.c 			   size_t count, loff_t *ppos)
count             883 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 10, &value);
count             913 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             918 drivers/net/wireless/ti/wlcore/debugfs.c 			    size_t count, loff_t *ppos)
count             921 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(userbuf, count, ppos,
count             934 drivers/net/wireless/ti/wlcore/debugfs.c 				      size_t count, loff_t *ppos)
count             941 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 0, &value);
count             963 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count             974 drivers/net/wireless/ti/wlcore/debugfs.c 				 size_t count, loff_t *ppos)
count             980 drivers/net/wireless/ti/wlcore/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos,
count             992 drivers/net/wireless/ti/wlcore/debugfs.c 			       size_t count, loff_t *ppos)
count             996 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,
count            1003 drivers/net/wireless/ti/wlcore/debugfs.c 				size_t count, loff_t *ppos)
count            1009 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 0, &value);
count            1046 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count            1057 drivers/net/wireless/ti/wlcore/debugfs.c 	     char __user *user_buf, size_t count,
count            1062 drivers/net/wireless/ti/wlcore/debugfs.c 	size_t bytes = count;
count            1140 drivers/net/wireless/ti/wlcore/debugfs.c 		size_t count, loff_t *ppos)
count            1144 drivers/net/wireless/ti/wlcore/debugfs.c 	size_t bytes = count;
count            1230 drivers/net/wireless/ti/wlcore/debugfs.c 			      size_t count, loff_t *ppos)
count            1234 drivers/net/wireless/ti/wlcore/debugfs.c 	return wl1271_format_buffer(user_buf, count,
count            1241 drivers/net/wireless/ti/wlcore/debugfs.c 			       size_t count, loff_t *ppos)
count            1247 drivers/net/wireless/ti/wlcore/debugfs.c 	ret = kstrtoul_from_user(user_buf, count, 0, &value);
count            1267 drivers/net/wireless/ti/wlcore/debugfs.c 		count = ret;
count            1280 drivers/net/wireless/ti/wlcore/debugfs.c 	return count;
count              15 drivers/net/wireless/ti/wlcore/debugfs.h __printf(4, 5) int wl1271_format_buffer(char __user *userbuf, size_t count,
count              27 drivers/net/wireless/ti/wlcore/debugfs.h 			    size_t count, loff_t *ppos)			\
count              30 drivers/net/wireless/ti/wlcore/debugfs.h 	return wl1271_format_buffer(userbuf, count, ppos,		\
count              56 drivers/net/wireless/ti/wlcore/debugfs.h 				      size_t count, loff_t *ppos)	\
count              63 drivers/net/wireless/ti/wlcore/debugfs.h 	return wl1271_format_buffer(userbuf, count, ppos, fmt "\n",	\
count              76 drivers/net/wireless/ti/wlcore/debugfs.h 				      size_t count, loff_t *ppos)	\
count              89 drivers/net/wireless/ti/wlcore/debugfs.h 	return wl1271_format_buffer(userbuf, count, ppos, "%s", buf);	\
count            5535 drivers/net/wireless/ti/wlcore/main.c 			ch_switch->count;
count            5576 drivers/net/wireless/ti/wlcore/main.c 	*csa_count = ie_csa->count;
count            5597 drivers/net/wireless/ti/wlcore/main.c 	ret = wlcore_get_csa_count(wl, wlvif, &ch_switch.count);
count              89 drivers/net/wireless/ti/wlcore/scan.c 	int *count = (int *)data;
count             112 drivers/net/wireless/ti/wlcore/scan.c 		(*count)++;
count             117 drivers/net/wireless/ti/wlcore/scan.c 	int count = 0;
count             121 drivers/net/wireless/ti/wlcore/scan.c 					wlcore_started_vifs_iter, &count);
count             122 drivers/net/wireless/ti/wlcore/scan.c 	return count;
count              35 drivers/net/wireless/ti/wlcore/sysfs.c 						const char *buf, size_t count)
count              44 drivers/net/wireless/ti/wlcore/sysfs.c 		return count;
count              71 drivers/net/wireless/ti/wlcore/sysfs.c 	return count;
count             101 drivers/net/wireless/ti/wlcore/sysfs.c 				       char *buffer, loff_t pos, size_t count)
count             119 drivers/net/wireless/ti/wlcore/sysfs.c 	len = min_t(size_t, count, wl->fwlog_size);
count             941 drivers/net/wireless/ti/wlcore/tx.c 	info->status.rates[0].count = retries;
count             975 drivers/net/wireless/ti/wlcore/tx.c 	u32 count, fw_counter;
count             994 drivers/net/wireless/ti/wlcore/tx.c 	count = fw_counter - wl->tx_results_count;
count             995 drivers/net/wireless/ti/wlcore/tx.c 	wl1271_debug(DEBUG_TX, "tx_complete received, packets: %d", count);
count             998 drivers/net/wireless/ti/wlcore/tx.c 	if (unlikely(count > TX_HW_RESULT_QUEUE_LEN))
count             999 drivers/net/wireless/ti/wlcore/tx.c 		wl1271_warning("TX result overflow from chipset: %d", count);
count            1002 drivers/net/wireless/ti/wlcore/tx.c 	for (i = 0; i < count; i++) {
count            1035 drivers/net/wireless/ti/wlcore/tx.c 				info->status.rates[0].count = 0;
count            1124 drivers/net/wireless/ti/wlcore/tx.c 			info->status.rates[0].count = 0;
count             221 drivers/net/wireless/ti/wlcore/tx.h 	int i, count = 0;
count             224 drivers/net/wireless/ti/wlcore/tx.h 		count += wl->tx_queue_count[i];
count             226 drivers/net/wireless/ti/wlcore/tx.h 	return count;
count              93 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		 unsigned int count)
count             101 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	if (count > USB_MAX_IOREAD32_COUNT)
count             105 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	count16 = 2 * count;
count             109 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i++) {
count             123 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i++) {
count             133 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 				       unsigned int count)
count             143 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	if (count == 0)
count             145 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	if (count > USB_MAX_IOWRITE32_COUNT)
count             148 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	count16 = 2 * count;
count             151 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i++) {
count             171 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 			  unsigned int count)
count             176 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	r = _zd_iowrite32v_async_locked(chip, ioreqs, count);
count             185 drivers/net/wireless/zydas/zd1211rw/zd_chip.c                   const struct zd_ioreq16 *ioreqs, unsigned int count)
count             193 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i += j + t) {
count             195 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		max = count-i;
count             223 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	          const struct zd_ioreq32 *ioreqs, unsigned int count)
count             230 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i += j + t) {
count             232 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		max = count-i;
count             296 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	          u32 *values, unsigned int count)
count             301 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	r = zd_ioread32v_locked(chip, values, addresses, count);
count             307 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	          unsigned int count)
count             312 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	r = zd_iowrite32a_locked(chip, ioreqs, count);
count             428 drivers/net/wireless/zydas/zd1211rw/zd_chip.c static int read_values(struct zd_chip *chip, u8 *values, size_t count,
count             442 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		if (i+4 < count) {
count             449 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 		for (;i < count; i++)
count            1473 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	               const u32* values, unsigned int count, u8 bits)
count            1478 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i++) {
count            1503 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	                  const u32 *values, unsigned int count)
count            1508 drivers/net/wireless/zydas/zd1211rw/zd_chip.c 	for (i = 0; i < count; i++) {
count             798 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 				      unsigned int count)
count             801 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	return zd_usb_ioread16v(&chip->usb, values, addresses, count);
count             812 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	                const zd_addr_t *addresses, unsigned int count);
count             833 drivers/net/wireless/zydas/zd1211rw/zd_chip.h                          const struct zd_ioreq16 *ioreqs, unsigned int count);
count             836 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 			  unsigned int count);
count             850 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	                 const struct zd_ioreq32 *ioreqs, unsigned int count);
count             861 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	               const u32* values, unsigned int count, u8 bits);
count             863 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	                  const u32* values, unsigned int count);
count             873 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	          u32 *values, unsigned int count);
count             875 drivers/net/wireless/zydas/zd1211rw/zd_chip.h 	           unsigned int count);
count             458 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	ZD_ASSERT(1 <= retry && retry <= retries->count);
count             461 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	info->status.rates[0].count = 1; // (retry > 1 ? 2 : 1);
count             465 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 		info->status.rates[i].count = 1; // ((i==retry-1) && success ? 1:2);
count             469 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 		info->status.rates[i].count = 1; // (success ? 1:2);
count             530 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 		if (retry <= 0 || retry > retries->count)
count             131 drivers/net/wireless/zydas/zd1211rw/zd_mac.h 	int count;	/* number of valid element in rate[] array */
count             103 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			    unsigned int count);
count             820 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	unsigned int count;
count             825 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	count = rx->urbs_count;
count             830 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	for (i = 0; i < count; i++) {
count            1602 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 				  unsigned int count)
count            1609 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	intr->read_regs.req_count = count;
count            1624 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			    unsigned int count)
count            1634 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (rr->length < struct_size(regs, regs, count)) {
count            1637 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			 rr->length, struct_size(regs, regs, count));
count            1648 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	for (i = 0; i < count; i++) {
count            1663 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 		       struct usb_req_read_regs *req, unsigned int count,
count            1681 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (!check_read_regs(usb, req, count)) {
count            1686 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	for (i = 0; i < count; i++) {
count            1698 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	             const zd_addr_t *addresses, unsigned int count)
count            1706 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (count < 1) {
count            1710 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (count > USB_MAX_IOREAD16_COUNT) {
count            1713 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			 count, USB_MAX_IOREAD16_COUNT);
count            1730 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	BUG_ON(sizeof(struct usb_req_read_regs) + count * sizeof(__le16) >
count            1733 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	req_len = sizeof(struct usb_req_read_regs) + count * sizeof(__le16);
count            1737 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	for (i = 0; i < count; i++)
count            1743 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	prepare_read_regs_int(usb, req, count);
count            1767 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	r = get_results(usb, values, req, count, &retry);
count            1867 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			    unsigned int count)
count            1879 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (count == 0)
count            1881 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (count > USB_MAX_IOWRITE16_COUNT) {
count            1884 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			count, USB_MAX_IOWRITE16_COUNT);
count            1903 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	req_len = struct_size(req, reg_writes, count);
count            1911 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	for (i = 0; i < count; i++) {
count            1950 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 			unsigned int count)
count            1955 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	r = zd_usb_iowrite16v_async(usb, ioreqs, count);
count             259 drivers/net/wireless/zydas/zd1211rw/zd_usb.h 	         const zd_addr_t *addresses, unsigned int count);
count             270 drivers/net/wireless/zydas/zd1211rw/zd_usb.h 			    unsigned int count);
count             272 drivers/net/wireless/zydas/zd1211rw/zd_usb.h 	              unsigned int count);
count             237 drivers/net/xen-netback/common.h 	unsigned int count;
count              67 drivers/net/xen-netback/hash.c 		if (++vif->hash.cache.count > xenvif_hash_cache_size) {
count              69 drivers/net/xen-netback/hash.c 			vif->hash.cache.count--;
count             107 drivers/net/xen-netback/hash.c 		vif->hash.cache.count--;
count             457 drivers/net/xen-netback/hash.c 	BUG_ON(vif->hash.cache.count);
count             106 drivers/net/xen-netback/xenbus.c xenvif_write_io_ring(struct file *filp, const char __user *buf, size_t count,
count             117 drivers/net/xen-netback/xenbus.c 	if (count >= sizeof(write))
count             124 drivers/net/xen-netback/xenbus.c 				     count);
count             135 drivers/net/xen-netback/xenbus.c 		count = -EINVAL;
count             137 drivers/net/xen-netback/xenbus.c 	return count;
count              78 drivers/nfc/fdp/fdp.c 	u8 count;
count             160 drivers/nfc/fdp/fdp.c 				  void (*cb)(struct nci_dev *ndev), int count)
count             165 drivers/nfc/fdp/fdp.c 	dev_dbg(dev, "NCI data pkt counter %d\n", count);
count             166 drivers/nfc/fdp/fdp.c 	atomic_set(&info->data_pkt_counter, count);
count             192 drivers/nfc/pn544/i2c.c 	int count = sizeof(rset_cmd);
count             213 drivers/nfc/pn544/i2c.c 			ret = i2c_master_send(phy->i2c_dev, rset_cmd, count);
count             214 drivers/nfc/pn544/i2c.c 			if (ret == count) {
count             241 drivers/nfc/pn544/pn544.c 	int count = ARRAY_SIZE(hw_config);
count             247 drivers/nfc/pn544/pn544.c 	while (count--) {
count             825 drivers/nfc/pn544/pn544.c 	int count = ARRAY_SIZE(uicc_gatelist);
count             833 drivers/nfc/pn544/pn544.c 		while (count--) {
count             712 drivers/ntb/hw/amd/ntb_hw_amd.c 				 size_t count, loff_t *offp)
count             724 drivers/ntb/hw/amd/ntb_hw_amd.c 	buf_size = min(count, 0x800ul);
count             803 drivers/ntb/hw/amd/ntb_hw_amd.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, off);
count            1997 drivers/ntb/hw/idt/ntb_hw_idt.c 				  size_t count)
count            2018 drivers/ntb/hw/idt/ntb_hw_idt.c 	return count;
count            2032 drivers/ntb/hw/idt/ntb_hw_idt.c 				    const char *buf, size_t count)
count            2042 drivers/ntb/hw/idt/ntb_hw_idt.c 	return count;
count            2316 drivers/ntb/hw/idt/ntb_hw_idt.c 				   size_t count, loff_t *offp);
count            2335 drivers/ntb/hw/idt/ntb_hw_idt.c 				   size_t count, loff_t *offp)
count            2348 drivers/ntb/hw/idt/ntb_hw_idt.c 	size = min_t(size_t, count, 0x1000U);
count            2495 drivers/ntb/hw/idt/ntb_hw_idt.c 	ret = simple_read_from_buffer(ubuf, count, offp, strbuf, off);
count             491 drivers/ntb/hw/intel/ntb_hw_gen1.c 				     size_t count, loff_t *offp)
count             505 drivers/ntb/hw/intel/ntb_hw_gen1.c 	buf_size = min(count, 0x800ul);
count             751 drivers/ntb/hw/intel/ntb_hw_gen1.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, off);
count             757 drivers/ntb/hw/intel/ntb_hw_gen1.c 				 size_t count, loff_t *offp)
count             762 drivers/ntb/hw/intel/ntb_hw_gen1.c 		return ndev_ntb_debugfs_read(filp, ubuf, count, offp);
count             764 drivers/ntb/hw/intel/ntb_hw_gen1.c 		return ndev_ntb3_debugfs_read(filp, ubuf, count, offp);
count             256 drivers/ntb/hw/intel/ntb_hw_gen3.c 				      size_t count, loff_t *offp)
count             268 drivers/ntb/hw/intel/ntb_hw_gen3.c 	buf_size = min(count, 0x800ul);
count             413 drivers/ntb/hw/intel/ntb_hw_gen3.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, off);
count             105 drivers/ntb/hw/intel/ntb_hw_gen3.h 				      size_t count, loff_t *offp);
count             951 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 			       int *req_ids, int count)
count             957 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	if (ioread32(&mmio_ctrl->req_id_table_size) < count) {
count             972 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	for (i = 0; i < count; i++) {
count             465 drivers/ntb/ntb_transport.c static ssize_t debugfs_read(struct file *filp, char __user *ubuf, size_t count,
count             553 drivers/ntb/ntb_transport.c 	ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset);
count             974 drivers/ntb/ntb_transport.c 	unsigned int i, count;
count             997 drivers/ntb/ntb_transport.c 	count = ntb_spad_count(nt->ndev);
count             998 drivers/ntb/ntb_transport.c 	for (i = 0; i < count; i++)
count             213 drivers/ntb/test/ntb_msi_test.c static int ntb_msit_dbgfs_count_get(void *data, u64 *count)
count             217 drivers/ntb/test/ntb_msi_test.c 	*count = peer->num_irqs;
count             107 drivers/ntb/test/ntb_pingpong.c 	atomic_t count;
count             173 drivers/ntb/test/ntb_pingpong.c 	u32 count;
count             175 drivers/ntb/test/ntb_pingpong.c 	count = atomic_read(&pp->count);
count             178 drivers/ntb/test/ntb_pingpong.c 	ntb_peer_spad_write(pp->ntb, pp->out_pidx, 0, count);
count             179 drivers/ntb/test/ntb_pingpong.c 	ntb_peer_msg_write(pp->ntb, pp->out_pidx, 0, count);
count             182 drivers/ntb/test/ntb_pingpong.c 		ntb_peer_port_number(pp->ntb, pp->out_pidx), count, count);
count             207 drivers/ntb/test/ntb_pingpong.c 	atomic_inc(&pp->count);
count             286 drivers/ntb/test/ntb_pingpong.c 	atomic_set(&pp->count, 0);
count             361 drivers/ntb/test/ntb_pingpong.c 	ret = debugfs_create_atomic_t("count", 0600, pp->dbgfs_dir, &pp->count);
count             808 drivers/nvdimm/dimm_devs.c 	int *count = c;
count             811 drivers/nvdimm/dimm_devs.c 		(*count)++;
count             817 drivers/nvdimm/dimm_devs.c 	int count = 0;
count             821 drivers/nvdimm/dimm_devs.c 	device_for_each_child(&nvdimm_bus->dev, &count, count_dimms);
count             822 drivers/nvdimm/dimm_devs.c 	dev_dbg(&nvdimm_bus->dev, "count: %d\n", count);
count             823 drivers/nvdimm/dimm_devs.c 	if (count != dimm_count)
count             540 drivers/nvdimm/label.c 	int count = 0;
count             560 drivers/nvdimm/label.c 		count++;
count             562 drivers/nvdimm/label.c 	return count;
count            1253 drivers/nvdimm/label.c 		int count = 0;
count            1264 drivers/nvdimm/label.c 				count++;
count            1265 drivers/nvdimm/label.c 		WARN_ON_ONCE(!count);
count            1267 drivers/nvdimm/label.c 		rc = init_labels(nd_mapping, count);
count            1297 drivers/nvdimm/label.c 	int count = 0;
count            1303 drivers/nvdimm/label.c 		count++;
count            1305 drivers/nvdimm/label.c 	count = init_labels(nd_mapping, count);
count            1306 drivers/nvdimm/label.c 	if (count < 0)
count            1307 drivers/nvdimm/label.c 		return count;
count            1309 drivers/nvdimm/label.c 	return __blk_label_update(nd_region, nd_mapping, nsblk, count);
count             319 drivers/nvdimm/namespace_devs.c 	int count, i;
count             324 drivers/nvdimm/namespace_devs.c 	count = 0;
count             335 drivers/nvdimm/namespace_devs.c 		count++;
count             339 drivers/nvdimm/namespace_devs.c 	if (count != nsblk->num_resources)
count            1401 drivers/nvdimm/namespace_devs.c 	int count = 0, i;
count            1429 drivers/nvdimm/namespace_devs.c 				count++;
count            1434 drivers/nvdimm/namespace_devs.c 	return sprintf(buf, "%d\n", count);
count            2179 drivers/nvdimm/namespace_devs.c 		int count)
count            2185 drivers/nvdimm/namespace_devs.c 	for (i = 0; i < count; i++) {
count            2202 drivers/nvdimm/namespace_devs.c 			nd_dbg_dpa(nd_region, ndd, res, "%d assign\n", count);
count            2216 drivers/nvdimm/namespace_devs.c 		struct nd_namespace_label *nd_label, int count)
count            2269 drivers/nvdimm/namespace_devs.c 	nd_dbg_dpa(nd_region, ndd, res, "%d: assign\n", count);
count            2303 drivers/nvdimm/namespace_devs.c 	int i, count = 0;
count            2329 drivers/nvdimm/namespace_devs.c 		i = add_namespace_resource(nd_region, nd_label, devs, count);
count            2332 drivers/nvdimm/namespace_devs.c 		if (i < count)
count            2334 drivers/nvdimm/namespace_devs.c 		__devs = kcalloc(count + 2, sizeof(dev), GFP_KERNEL);
count            2337 drivers/nvdimm/namespace_devs.c 		memcpy(__devs, devs, sizeof(dev) * count);
count            2342 drivers/nvdimm/namespace_devs.c 			dev = create_namespace_blk(nd_region, nd_label, count);
count            2363 drivers/nvdimm/namespace_devs.c 			devs[count++] = dev;
count            2368 drivers/nvdimm/namespace_devs.c 			count, is_nd_blk(&nd_region->dev)
count            2369 drivers/nvdimm/namespace_devs.c 			? "blk" : "pmem", count == 1 ? "" : "s");
count            2371 drivers/nvdimm/namespace_devs.c 	if (count == 0) {
count            2397 drivers/nvdimm/namespace_devs.c 		devs[count++] = dev;
count            2411 drivers/nvdimm/namespace_devs.c 			j = count;
count            2422 drivers/nvdimm/namespace_devs.c 	if (count > 1)
count            2423 drivers/nvdimm/namespace_devs.c 		sort(devs, count, sizeof(struct device *), cmp_dpa, NULL);
count            2496 drivers/nvdimm/namespace_devs.c 		int count, j;
count            2520 drivers/nvdimm/namespace_devs.c 		count = nd_label_active_count(ndd);
count            2521 drivers/nvdimm/namespace_devs.c 		dev_dbg(ndd->dev, "count: %d\n", count);
count            2522 drivers/nvdimm/namespace_devs.c 		if (!count)
count            2524 drivers/nvdimm/namespace_devs.c 		for (j = 0; j < count; j++) {
count            2544 drivers/nvdimm/namespace_devs.c 		if (j < count)
count             104 drivers/nvdimm/nd.h 	int count;
count             421 drivers/nvdimm/nd.h 	if (bb->count) {
count             261 drivers/nvdimm/pmem.c 	if (unlikely(pmem->bb.count))
count             908 drivers/nvdimm/region_devs.c 		if (ndl_count->count++ == 0)
count             925 drivers/nvdimm/region_devs.c 		if (--ndl_count->count == 0)
count            1001 drivers/nvdimm/region_devs.c 		ndl->count = 0;
count            1208 drivers/nvme/host/core.c int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count)
count            1210 drivers/nvme/host/core.c 	u32 q_count = (*count - 1) | ((*count - 1) << 16);
count            1226 drivers/nvme/host/core.c 		*count = 0;
count            1229 drivers/nvme/host/core.c 		*count = min(*count, nr_io_queues);
count            3001 drivers/nvme/host/core.c 				size_t count)
count            3009 drivers/nvme/host/core.c 	return count;
count            3015 drivers/nvme/host/core.c 				size_t count)
count            3020 drivers/nvme/host/core.c 	return count;
count            3189 drivers/nvme/host/core.c 				size_t count)
count            3195 drivers/nvme/host/core.c 	return count;
count            1066 drivers/nvme/host/fabrics.c 		size_t count, loff_t *pos)
count            1073 drivers/nvme/host/fabrics.c 	if (count > PAGE_SIZE)
count            1076 drivers/nvme/host/fabrics.c 	buf = memdup_user_nul(ubuf, count);
count            1097 drivers/nvme/host/fabrics.c 	return ret ? ret : count;
count            3363 drivers/nvme/host/fc.c 		struct device_attribute *attr, const char *buf, size_t count)
count            3419 drivers/nvme/host/fc.c 	return count;
count             609 drivers/nvme/host/multipath.c 		struct device_attribute *attr, const char *buf, size_t count)
count             618 drivers/nvme/host/multipath.c 			return count;
count             500 drivers/nvme/host/nvme.h int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count);
count            1183 drivers/nvme/host/rdma.c 		int count)
count            1191 drivers/nvme/host/rdma.c 	for (i = 0; i < count; i++, sgl++, sge++) {
count            1202 drivers/nvme/host/rdma.c 	req->num_sge += count;
count            1220 drivers/nvme/host/rdma.c 		int count)
count            1233 drivers/nvme/host/rdma.c 	nr = ib_map_mr_sg(req->mr, req->sg_table.sgl, count, NULL, SZ_4K);
count            1234 drivers/nvme/host/rdma.c 	if (unlikely(nr < count)) {
count            1270 drivers/nvme/host/rdma.c 	int count, ret;
count            1289 drivers/nvme/host/rdma.c 	count = ib_dma_map_sg(ibdev, req->sg_table.sgl, req->nents,
count            1291 drivers/nvme/host/rdma.c 	if (unlikely(count <= 0)) {
count            1296 drivers/nvme/host/rdma.c 	if (count <= dev->num_inline_segments) {
count            1301 drivers/nvme/host/rdma.c 			ret = nvme_rdma_map_sg_inline(queue, req, c, count);
count            1305 drivers/nvme/host/rdma.c 		if (count == 1 && dev->pd->flags & IB_PD_UNSAFE_GLOBAL_RKEY) {
count            1311 drivers/nvme/host/rdma.c 	ret = nvme_rdma_map_sg_fr(queue, req, c, count);
count            1031 drivers/nvme/host/tcp.c 	rd_desc.count = 1;
count             222 drivers/nvme/target/admin-cmd.c 	u32 count = 0;
count             228 drivers/nvme/target/admin-cmd.c 				desc->nsids[count++] = cpu_to_le32(ns->nsid);
count             233 drivers/nvme/target/admin-cmd.c 	desc->nnsids = cpu_to_le32(count);
count             237 drivers/nvme/target/admin-cmd.c 	return sizeof(struct nvme_ana_group_desc) + count * sizeof(__le32);
count              55 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count              78 drivers/nvme/target/configfs.c 	return count;
count              93 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             109 drivers/nvme/target/configfs.c 	return count;
count             124 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             128 drivers/nvme/target/configfs.c 	if (count > NVMF_TRADDR_SIZE) {
count             141 drivers/nvme/target/configfs.c 	return count;
count             163 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             186 drivers/nvme/target/configfs.c 	return count;
count             201 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             205 drivers/nvme/target/configfs.c 	if (count > NVMF_TRSVCID_SIZE) {
count             217 drivers/nvme/target/configfs.c 	return count;
count             231 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             246 drivers/nvme/target/configfs.c 	return count;
count             274 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             297 drivers/nvme/target/configfs.c 	return count;
count             311 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             335 drivers/nvme/target/configfs.c 	return count;
count             353 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             358 drivers/nvme/target/configfs.c 	int ret = count;
count             392 drivers/nvme/target/configfs.c 					  const char *page, size_t count)
count             411 drivers/nvme/target/configfs.c 	return ret ? ret : count;
count             422 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             438 drivers/nvme/target/configfs.c 		if (p + 2 > page + count) {
count             457 drivers/nvme/target/configfs.c 	return ret ? ret : count;
count             468 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             490 drivers/nvme/target/configfs.c 	return count;
count             501 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             515 drivers/nvme/target/configfs.c 	return ret ? ret : count;
count             526 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             543 drivers/nvme/target/configfs.c 	return count;
count             780 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             803 drivers/nvme/target/configfs.c 	return ret ? ret : count;
count             825 drivers/nvme/target/configfs.c 					       const char *page, size_t count)
count             840 drivers/nvme/target/configfs.c 	return count;
count             853 drivers/nvme/target/configfs.c 					      const char *page, size_t count)
count             861 drivers/nvme/target/configfs.c 	return count;
count             937 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count             951 drivers/nvme/target/configfs.c 	return count;
count            1044 drivers/nvme/target/configfs.c 		const char *page, size_t count)
count            1064 drivers/nvme/target/configfs.c 	return count;
count             891 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count             946 drivers/nvme/target/fcloop.c 	return ret ? ret : count;
count             975 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count            1003 drivers/nvme/target/fcloop.c 	return ret ? ret : count;
count            1007 drivers/nvme/target/fcloop.c fcloop_alloc_nport(const char *buf, size_t count, bool remoteport)
count            1102 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count            1110 drivers/nvme/target/fcloop.c 	nport = fcloop_alloc_nport(buf, count, true);
count            1139 drivers/nvme/target/fcloop.c 	return count;
count            1166 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count            1196 drivers/nvme/target/fcloop.c 	return ret ? ret : count;
count            1201 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count            1209 drivers/nvme/target/fcloop.c 	nport = fcloop_alloc_nport(buf, count, false);
count            1234 drivers/nvme/target/fcloop.c 	return count;
count            1261 drivers/nvme/target/fcloop.c 		const char *buf, size_t count)
count            1291 drivers/nvme/target/fcloop.c 	return ret ? ret : count;
count              91 drivers/nvme/target/io-cmd-file.c 		unsigned long nr_segs, size_t count, int ki_flags)
count             108 drivers/nvme/target/io-cmd-file.c 	iov_iter_bvec(&iter, rw, req->f.bvec, nr_segs, count);
count              75 drivers/nvmem/imx-ocotp-scu.c 	u32 count, index, num_bytes;
count              82 drivers/nvmem/imx-ocotp-scu.c 	count = num_bytes >> 2;
count              84 drivers/nvmem/imx-ocotp-scu.c 	if (count > (priv->data->nregs - index))
count              85 drivers/nvmem/imx-ocotp-scu.c 		count = priv->data->nregs - index;
count              93 drivers/nvmem/imx-ocotp-scu.c 	for (i = index; i < (index + count); i++) {
count              73 drivers/nvmem/imx-ocotp.c 	int count;
count              78 drivers/nvmem/imx-ocotp.c 	for (count = 10000; count >= 0; count--) {
count              85 drivers/nvmem/imx-ocotp.c 	if (count < 0) {
count             123 drivers/nvmem/imx-ocotp.c 	unsigned int count;
count             129 drivers/nvmem/imx-ocotp.c 	count = bytes >> 2;
count             131 drivers/nvmem/imx-ocotp.c 	if (count > (priv->params->nregs - index))
count             132 drivers/nvmem/imx-ocotp.c 		count = priv->params->nregs - index;
count             149 drivers/nvmem/imx-ocotp.c 	for (i = index; i < (index + count); i++) {
count              45 drivers/nvmem/lpc18xx_otp.c 	unsigned int count = bytes >> 2;
count              50 drivers/nvmem/lpc18xx_otp.c 	if (count > (LPC18XX_OTP_SIZE - index))
count              51 drivers/nvmem/lpc18xx_otp.c 		count = LPC18XX_OTP_SIZE - index;
count              53 drivers/nvmem/lpc18xx_otp.c 	for (i = index; i < (index + count); i++)
count              35 drivers/nvmem/nvmem-sysfs.c 				    char *buf, loff_t pos, size_t count)
count              51 drivers/nvmem/nvmem-sysfs.c 	if (count < nvmem->word_size)
count              54 drivers/nvmem/nvmem-sysfs.c 	if (pos + count > nvmem->size)
count              55 drivers/nvmem/nvmem-sysfs.c 		count = nvmem->size - pos;
count              57 drivers/nvmem/nvmem-sysfs.c 	count = round_down(count, nvmem->word_size);
count              62 drivers/nvmem/nvmem-sysfs.c 	rc = nvmem->reg_read(nvmem->priv, pos, buf, count);
count              67 drivers/nvmem/nvmem-sysfs.c 	return count;
count              72 drivers/nvmem/nvmem-sysfs.c 				     char *buf, loff_t pos, size_t count)
count              88 drivers/nvmem/nvmem-sysfs.c 	if (count < nvmem->word_size)
count              91 drivers/nvmem/nvmem-sysfs.c 	if (pos + count > nvmem->size)
count              92 drivers/nvmem/nvmem-sysfs.c 		count = nvmem->size - pos;
count              94 drivers/nvmem/nvmem-sysfs.c 	count = round_down(count, nvmem->word_size);
count              99 drivers/nvmem/nvmem-sysfs.c 	rc = nvmem->reg_write(nvmem->priv, pos, buf, count);
count             104 drivers/nvmem/nvmem-sysfs.c 	return count;
count            1313 drivers/of/base.c 	uint32_t count = 0;
count            1344 drivers/of/base.c 						 &count)) {
count            1351 drivers/of/base.c 					count = it->cell_count;
count            1361 drivers/of/base.c 			count = it->cell_count;
count            1368 drivers/of/base.c 		if (it->cur + count > it->list_end) {
count            1371 drivers/of/base.c 			       count, it->cell_count);
count            1376 drivers/of/base.c 	it->phandle_end = it->cur + count;
count            1377 drivers/of/base.c 	it->cur_count = count;
count            1395 drivers/of/base.c 	int i, count;
count            1397 drivers/of/base.c 	count = it->cur_count;
count            1399 drivers/of/base.c 	if (WARN_ON(size < count))
count            1400 drivers/of/base.c 		count = size;
count            1402 drivers/of/base.c 	for (i = 0; i < count; i++)
count            1405 drivers/of/base.c 	return count;
count            1271 drivers/of/fdt.c 			       char *buf, loff_t off, size_t count)
count            1273 drivers/of/fdt.c 	memcpy(buf, initial_boot_params + off, count);
count            1274 drivers/of/fdt.c 	return count;
count              33 drivers/of/kobj.c 				loff_t offset, size_t count)
count              36 drivers/of/kobj.c 	return memory_read_from_buffer(buf, count, &offset, pp->value, pp->length);
count              72 drivers/of/overlay.c 	int count;
count             165 drivers/of/overlay.c 	for (i = 0; i < ovcs->count; i++) {
count             229 drivers/of/overlay.c 	for (k = 0; k < ovcs->count; k++) {
count             234 drivers/of/overlay.c 	if (k >= ovcs->count)
count             647 drivers/of/overlay.c 		fragments_count = ovcs->count - 1;
count             649 drivers/of/overlay.c 		fragments_count = ovcs->count;
count             666 drivers/of/overlay.c 		fragment = &ovcs->fragments[ovcs->count - 1];
count             832 drivers/of/overlay.c 	ovcs->count = cnt;
count             857 drivers/of/overlay.c 	for (i = 0; i < ovcs->count; i++) {
count             187 drivers/of/property.c 	size_t sz, count;
count             201 drivers/of/property.c 	count = sz;
count             202 drivers/of/property.c 	while (count--)
count             235 drivers/of/property.c 	size_t sz, count;
count             249 drivers/of/property.c 	count = sz;
count             250 drivers/of/property.c 	while (count--)
count             280 drivers/of/property.c 	size_t sz, count;
count             294 drivers/of/property.c 	count = sz;
count             295 drivers/of/property.c 	while (count--)
count             354 drivers/of/property.c 	size_t sz, count;
count             368 drivers/of/property.c 	count = sz;
count             369 drivers/of/property.c 	while (count--) {
count             164 drivers/of/resolver.c 	int err, i, count;
count             180 drivers/of/resolver.c 		count = prop_fix->length / sizeof(__be32);
count             190 drivers/of/resolver.c 		for (i = 0; i < count; i++) {
count             211 drivers/of/unittest.c 	int count = 0, rc;
count             224 drivers/of/unittest.c 		count += rc;
count             227 drivers/of/unittest.c 	return count + 1;
count             204 drivers/opp/core.c 	int ret, i, count;
count             218 drivers/opp/core.c 	count = opp_table->regulator_count;
count             220 drivers/opp/core.c 	uV = kmalloc_array(count, sizeof(*uV), GFP_KERNEL);
count             226 drivers/opp/core.c 	for (i = 0; i < count; i++) {
count             247 drivers/opp/core.c 	for (i = 0; i < count; i++) {
count             305 drivers/opp/core.c 	int count = 0;
count             311 drivers/opp/core.c 			count++;
count             316 drivers/opp/core.c 	return count;
count             329 drivers/opp/core.c 	int count;
count             333 drivers/opp/core.c 		count = PTR_ERR(opp_table);
count             335 drivers/opp/core.c 			__func__, count);
count             336 drivers/opp/core.c 		return count;
count             339 drivers/opp/core.c 	count = _get_opp_count(opp_table);
count             342 drivers/opp/core.c 	return count;
count            1215 drivers/opp/core.c 	int count = 0;
count            1225 drivers/opp/core.c 			count++;
count            1231 drivers/opp/core.c 	while (count--)
count            1242 drivers/opp/core.c 	int count, supply_size;
count            1245 drivers/opp/core.c 	count = table->regulator_count > 0 ? table->regulator_count : 1;
count            1246 drivers/opp/core.c 	supply_size = sizeof(*opp->supplies) * count;
count            1441 drivers/opp/core.c 			const u32 *versions, unsigned int count)
count            1456 drivers/opp/core.c 	opp_table->supported_hw = kmemdup(versions, count * sizeof(*versions),
count            1463 drivers/opp/core.c 	opp_table->supported_hw_count = count;
count            1548 drivers/opp/core.c 	int len, count = opp_table->regulator_count;
count            1557 drivers/opp/core.c 	len += 2 * sizeof(struct dev_pm_opp_supply) * count;
count            1564 drivers/opp/core.c 	data->new_opp.supplies = data->old_opp.supplies + count;
count            1591 drivers/opp/core.c 					    unsigned int count)
count            1611 drivers/opp/core.c 	opp_table->regulators = kmalloc_array(count,
count            1619 drivers/opp/core.c 	for (i = 0; i < count; i++) {
count            1632 drivers/opp/core.c 	opp_table->regulator_count = count;
count             167 drivers/opp/of.c 	int count, i;
count             176 drivers/opp/of.c 	count = of_count_phandle_with_args(np, "required-opps", NULL);
count             177 drivers/opp/of.c 	if (!count)
count             180 drivers/opp/of.c 	required_opp_tables = kcalloc(count, sizeof(*required_opp_tables),
count             186 drivers/opp/of.c 	opp_table->required_opp_count = count;
count             188 drivers/opp/of.c 	for (i = 0; i < count; i++) {
count             296 drivers/opp/of.c 	int i, ret, count = opp_table->required_opp_count;
count             298 drivers/opp/of.c 	if (!count)
count             301 drivers/opp/of.c 	required_opps = kcalloc(count, sizeof(*required_opps), GFP_KERNEL);
count             307 drivers/opp/of.c 	for (i = 0; i < count; i++) {
count             338 drivers/opp/of.c 	unsigned int count = opp_table->supported_hw_count;
count             355 drivers/opp/of.c 	while (count--) {
count             356 drivers/opp/of.c 		ret = of_property_read_u32_index(np, "opp-supported-hw", count,
count             360 drivers/opp/of.c 				 __func__, count, ret);
count             365 drivers/opp/of.c 		if (!(version & opp_table->supported_hw[count]))
count             657 drivers/opp/of.c 	int ret, count = 0, pstate_count = 0;
count             683 drivers/opp/of.c 			count++;
count             688 drivers/opp/of.c 	if (WARN_ON(!count)) {
count             697 drivers/opp/of.c 	if (pstate_count && pstate_count != count) {
count             699 drivers/opp/of.c 			count, pstate_count);
count             822 drivers/opp/of.c 	int ret, count;
count             829 drivers/opp/of.c 		count = of_count_phandle_with_args(dev->of_node,
count             831 drivers/opp/of.c 		if (count == 1)
count             161 drivers/oprofile/event_buffer.c 				 size_t count, loff_t *offset)
count             167 drivers/oprofile/event_buffer.c 	if (count != max || *offset)
count             191 drivers/oprofile/event_buffer.c 	count = buffer_pos * sizeof(unsigned long);
count             193 drivers/oprofile/event_buffer.c 	if (copy_to_user(buf, event_buffer, count))
count             196 drivers/oprofile/event_buffer.c 	retval = count;
count              31 drivers/oprofile/oprofile_files.c 		size_t count, loff_t *offset)
count              34 drivers/oprofile/oprofile_files.c 					buf, count, offset);
count              39 drivers/oprofile/oprofile_files.c 		size_t count, loff_t *offset)
count              47 drivers/oprofile/oprofile_files.c 	retval = oprofilefs_ulong_from_user(&val, buf, count);
count              55 drivers/oprofile/oprofile_files.c 	return count;
count              68 drivers/oprofile/oprofile_files.c static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count              70 drivers/oprofile/oprofile_files.c 	return oprofilefs_ulong_to_user(oprofile_backtrace_depth, buf, count,
count              75 drivers/oprofile/oprofile_files.c static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
count              86 drivers/oprofile/oprofile_files.c 	retval = oprofilefs_ulong_from_user(&val, buf, count);
count              94 drivers/oprofile/oprofile_files.c 	return count;
count             105 drivers/oprofile/oprofile_files.c static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             107 drivers/oprofile/oprofile_files.c 	return oprofilefs_ulong_to_user(sizeof(void *), buf, count, offset);
count             117 drivers/oprofile/oprofile_files.c static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             119 drivers/oprofile/oprofile_files.c 	return oprofilefs_str_to_user(oprofile_ops.cpu_type, buf, count, offset);
count             129 drivers/oprofile/oprofile_files.c static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             131 drivers/oprofile/oprofile_files.c 	return oprofilefs_ulong_to_user(oprofile_started, buf, count, offset);
count             135 drivers/oprofile/oprofile_files.c static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
count             143 drivers/oprofile/oprofile_files.c 	retval = oprofilefs_ulong_from_user(&val, buf, count);
count             155 drivers/oprofile/oprofile_files.c 	return count;
count             166 drivers/oprofile/oprofile_files.c static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset)
count             169 drivers/oprofile/oprofile_files.c 	return count;
count              17 drivers/oprofile/oprofile_perf.c 	unsigned long count;
count              70 drivers/oprofile/oprofile_perf.c 		attr->sample_period	= counter_config[i].count;
count             154 drivers/oprofile/oprofile_perf.c 		oprofilefs_create_ulong(dir, "count", &counter_config[i].count);
count              46 drivers/oprofile/oprofilefs.c ssize_t oprofilefs_str_to_user(char const *str, char __user *buf, size_t count, loff_t *offset)
count              48 drivers/oprofile/oprofilefs.c 	return simple_read_from_buffer(buf, count, offset, str, strlen(str));
count              54 drivers/oprofile/oprofilefs.c ssize_t oprofilefs_ulong_to_user(unsigned long val, char __user *buf, size_t count, loff_t *offset)
count              60 drivers/oprofile/oprofilefs.c 	return simple_read_from_buffer(buf, count, offset, tmpbuf, maxlen);
count              71 drivers/oprofile/oprofilefs.c int oprofilefs_ulong_from_user(unsigned long *val, char const __user *buf, size_t count)
count              76 drivers/oprofile/oprofilefs.c 	if (!count)
count              79 drivers/oprofile/oprofilefs.c 	if (count > TMPBUFSIZE - 1)
count              84 drivers/oprofile/oprofilefs.c 	if (copy_from_user(tmpbuf, buf, count))
count              90 drivers/oprofile/oprofilefs.c 	return count;
count              94 drivers/oprofile/oprofilefs.c static ssize_t ulong_read_file(struct file *file, char __user *buf, size_t count, loff_t *offset)
count              97 drivers/oprofile/oprofilefs.c 	return oprofilefs_ulong_to_user(*val, buf, count, offset);
count             101 drivers/oprofile/oprofilefs.c static ssize_t ulong_write_file(struct file *file, char const __user *buf, size_t count, loff_t *offset)
count             109 drivers/oprofile/oprofilefs.c 	retval = oprofilefs_ulong_from_user(&value, buf, count);
count             117 drivers/oprofile/oprofilefs.c 	return count;
count             181 drivers/oprofile/oprofilefs.c static ssize_t atomic_read_file(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             184 drivers/oprofile/oprofilefs.c 	return oprofilefs_ulong_to_user(atomic_read(val), buf, count, offset);
count             742 drivers/parisc/dino.c 	int result, i, count=0;
count             765 drivers/parisc/dino.c 		DBG("DINO RANGE %d is at 0x%lx-0x%lx\n", count,
count             771 drivers/parisc/dino.c 			if(count >= DINO_MAX_LMMIO_RESOURCES) {
count             772 drivers/parisc/dino.c 				printk(KERN_ERR "%s is out of resource windows for range %d (0x%lx-0x%lx)\n", name, count, start, end);
count             782 drivers/parisc/dino.c 					 name, count);
count             784 drivers/parisc/dino.c 			count++;
count              26 drivers/parisc/eisa_eeprom.c 			      char __user *buf, size_t count, loff_t *ppos )
count              35 drivers/parisc/eisa_eeprom.c 	count = *ppos + count < HPEE_MAX_LENGTH ? count : HPEE_MAX_LENGTH - *ppos;
count              36 drivers/parisc/eisa_eeprom.c 	tmp = kmalloc(count, GFP_KERNEL);
count              38 drivers/parisc/eisa_eeprom.c 		for (i = 0; i < count; i++)
count              41 drivers/parisc/eisa_eeprom.c 		if (copy_to_user (buf, tmp, count))
count              44 drivers/parisc/eisa_eeprom.c 			ret = count;
count             176 drivers/parisc/led.c 	size_t count, loff_t *pos)
count             185 drivers/parisc/led.c 	if (count >= sizeof(lbuf))
count             186 drivers/parisc/led.c 		count = sizeof(lbuf)-1;
count             188 drivers/parisc/led.c 	if (copy_from_user(lbuf, buf, count))
count             190 drivers/parisc/led.c 	lbuf[count] = 0;
count             225 drivers/parisc/led.c 	return count;
count              99 drivers/parisc/pdc_stable.c 	ssize_t (*store)(struct pdcspath_entry *entry, const char *buf, size_t count);
count             264 drivers/parisc/pdc_stable.c pdcspath_hwpath_write(struct pdcspath_entry *entry, const char *buf, size_t count)
count             272 drivers/parisc/pdc_stable.c 	if (!entry || !buf || !count)
count             276 drivers/parisc/pdc_stable.c 	count = min_t(size_t, count, sizeof(in)-1);
count             277 drivers/parisc/pdc_stable.c 	strncpy(in, buf, count);
count             278 drivers/parisc/pdc_stable.c 	in[count] = '\0';
count             331 drivers/parisc/pdc_stable.c 	return count;
count             380 drivers/parisc/pdc_stable.c pdcspath_layer_write(struct pdcspath_entry *entry, const char *buf, size_t count)
count             386 drivers/parisc/pdc_stable.c 	if (!entry || !buf || !count)
count             390 drivers/parisc/pdc_stable.c 	count = min_t(size_t, count, sizeof(in)-1);
count             391 drivers/parisc/pdc_stable.c 	strncpy(in, buf, count);
count             392 drivers/parisc/pdc_stable.c 	in[count] = '\0';
count             425 drivers/parisc/pdc_stable.c 	return count;
count             456 drivers/parisc/pdc_stable.c 			const char *buf, size_t count)
count             466 drivers/parisc/pdc_stable.c 		ret = pdcs_attr->store(entry, buf, count);
count             743 drivers/parisc/pdc_stable.c 			       size_t count, int knob)
count             753 drivers/parisc/pdc_stable.c 	if (!buf || !count)
count             757 drivers/parisc/pdc_stable.c 	count = min_t(size_t, count, sizeof(in)-1);
count             758 drivers/parisc/pdc_stable.c 	strncpy(in, buf, count);
count             759 drivers/parisc/pdc_stable.c 	in[count] = '\0';
count             797 drivers/parisc/pdc_stable.c 	return count;
count             815 drivers/parisc/pdc_stable.c 				   const char *buf, size_t count)
count             817 drivers/parisc/pdc_stable.c 	return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOBOOT);
count             831 drivers/parisc/pdc_stable.c 				     const char *buf, size_t count)
count             833 drivers/parisc/pdc_stable.c 	return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOSEARCH);
count             847 drivers/parisc/pdc_stable.c 				 const char *buf, size_t count)
count             854 drivers/parisc/pdc_stable.c 	if (!buf || !count)
count             860 drivers/parisc/pdc_stable.c 	if (count > 16)
count             865 drivers/parisc/pdc_stable.c 	memcpy(in, buf, count);
count             870 drivers/parisc/pdc_stable.c 	return count;
count             884 drivers/parisc/pdc_stable.c 				 const char *buf, size_t count)
count             893 drivers/parisc/pdc_stable.c 	if (!buf || !count)
count             904 drivers/parisc/pdc_stable.c 	if (count > size)
count             909 drivers/parisc/pdc_stable.c 	for (i=0; i<count; i+=4) {
count             911 drivers/parisc/pdc_stable.c 		memcpy(in, buf+i, (count-i < 4) ? count-i : 4);
count             917 drivers/parisc/pdc_stable.c 	return count;
count             119 drivers/parport/ieee1284.c 	int count = usec / 5 + 2;
count             122 drivers/parport/ieee1284.c 	for (i = 0; i < count; i++) {
count              46 drivers/parport/ieee1284_ops.c 	ssize_t count = 0;
count              61 drivers/parport/ieee1284_ops.c 	while (count < len) {
count              98 drivers/parport/ieee1284_ops.c 			if (count && no_irq) {
count             135 drivers/parport/ieee1284_ops.c 		count++;
count             146 drivers/parport/ieee1284_ops.c 	return count;
count             249 drivers/parport/ieee1284_ops.c 	ssize_t count = 0;
count             251 drivers/parport/ieee1284_ops.c 	for (count = 0; count < len; count++) {
count             306 drivers/parport/ieee1284_ops.c 	if (count == len) {
count             312 drivers/parport/ieee1284_ops.c 				 port->name, count);
count             324 drivers/parport/ieee1284_ops.c 	return count;
count             502 drivers/parport/ieee1284_ops.c 	ssize_t count = 0;
count             518 drivers/parport/ieee1284_ops.c 	while (count < len) {
count             529 drivers/parport/ieee1284_ops.c 			if (count)
count             538 drivers/parport/ieee1284_ops.c 			if (count && dev->port->irq != PARPORT_IRQ_NONE) {
count             581 drivers/parport/ieee1284_ops.c 			if (rle_count > (len - count)) {
count             622 drivers/parport/ieee1284_ops.c 			count += rle_count;
count             628 drivers/parport/ieee1284_ops.c 			buf++, count++;
count             634 drivers/parport/ieee1284_ops.c 	return count;
count             496 drivers/parport/parport_ip32.c 		u64 count;
count             499 drivers/parport/parport_ip32.c 			count = parport_ip32_dma.left;
count             502 drivers/parport/parport_ip32.c 			count = limit;
count             511 drivers/parport/parport_ip32.c 			 (unsigned int)count,
count             516 drivers/parport/parport_ip32.c 		ctxval |= ((count - 1) << MACEPAR_CONTEXT_DATALEN_SHIFT) &
count             519 drivers/parport/parport_ip32.c 		parport_ip32_dma.next += count;
count             520 drivers/parport/parport_ip32.c 		parport_ip32_dma.left -= count;
count             567 drivers/parport/parport_ip32.c 		enum dma_data_direction dir, void *addr, size_t count)
count             572 drivers/parport/parport_ip32.c 	pr_trace(NULL, "(%d, %lu)", dir, (unsigned long)count);
count             592 drivers/parport/parport_ip32.c 	parport_ip32_dma.buf = dma_map_single(&p->bus_dev, addr, count, dir);
count             593 drivers/parport/parport_ip32.c 	parport_ip32_dma.len = count;
count            1269 drivers/parport/parport_ip32.c 	unsigned int count;
count            1273 drivers/parport/parport_ip32.c 	count = 0;
count            1285 drivers/parport/parport_ip32.c 			count = priv->fifo_depth;
count            1293 drivers/parport/parport_ip32.c 	return count;
count            1311 drivers/parport/parport_ip32.c 	unsigned int count;
count            1317 drivers/parport/parport_ip32.c 	count = 0;
count            1353 drivers/parport/parport_ip32.c 			count = priv->fifo_depth;
count            1358 drivers/parport/parport_ip32.c 			count = priv->writeIntrThreshold;
count            1367 drivers/parport/parport_ip32.c 	return count;
count            1391 drivers/parport/parport_ip32.c 		unsigned int count;
count            1393 drivers/parport/parport_ip32.c 		count = (p->irq == PARPORT_IRQ_NONE) ?
count            1396 drivers/parport/parport_ip32.c 		if (count == 0)
count            1398 drivers/parport/parport_ip32.c 		if (count > left)
count            1399 drivers/parport/parport_ip32.c 			count = left;
count            1400 drivers/parport/parport_ip32.c 		if (count == 1) {
count            1404 drivers/parport/parport_ip32.c 			writesb(priv->regs.fifo, bufp, count);
count            1405 drivers/parport/parport_ip32.c 			bufp += count, left -= count;
count             611 drivers/parport/parport_pc.c 		size_t count = left;
count             613 drivers/parport/parport_pc.c 		if (count > maxlen)
count             614 drivers/parport/parport_pc.c 			count = maxlen;
count             617 drivers/parport/parport_pc.c 			memcpy(priv->dma_buf, buf, count);
count             624 drivers/parport/parport_pc.c 		set_dma_count(port->dma, count);
count             636 drivers/parport/parport_pc.c 		left -= count;
count             637 drivers/parport/parport_pc.c 		buf  += count;
count             639 drivers/parport/parport_pc.c 			dma_addr += count;
count             662 drivers/parport/parport_pc.c 		count = get_dma_residue(port->dma);
count             674 drivers/parport/parport_pc.c 		buf  -= count;
count             675 drivers/parport/parport_pc.c 		left += count;
count             677 drivers/parport/parport_pc.c 			dma_addr -= count;
count            2817 drivers/parport/parport_pc.c 	int err, count, n, i = id->driver_data;
count            2826 drivers/parport/parport_pc.c 	count = 0;
count            2866 drivers/parport/parport_pc.c 		data->ports[count] =
count            2870 drivers/parport/parport_pc.c 		if (data->ports[count])
count            2871 drivers/parport/parport_pc.c 			count++;
count            2874 drivers/parport/parport_pc.c 	data->num = count;
count            2877 drivers/parport/parport_pc.c 		cards[i].postinit_hook(dev, count == 0);
count            2879 drivers/parport/parport_pc.c 	if (count) {
count            3028 drivers/parport/parport_pc.c 	int count = 0;
count            3031 drivers/parport/parport_pc.c 		count++;
count            3033 drivers/parport/parport_pc.c 		count++;
count            3035 drivers/parport/parport_pc.c 		count++;
count            3037 drivers/parport/parport_pc.c 	return count;
count            3052 drivers/parport/parport_pc.c 	int count = 0, err;
count            3061 drivers/parport/parport_pc.c 	count += parport_pc_init_superio(autoirq, autodma);
count            3064 drivers/parport/parport_pc.c 	if (!count) {
count             137 drivers/parport/probe.c 				       size_t count)
count             155 drivers/parport/probe.c 	if (count < 2)
count             193 drivers/parport/probe.c 		if (idlen+1 >= count)
count             228 drivers/parport/probe.c 		if (len+1 < count) {
count             229 drivers/parport/probe.c 			retval = parport_read (port, buffer+len, count-len-1);
count             257 drivers/parport/probe.c ssize_t parport_device_id (int devnum, char *buffer, size_t count)
count             274 drivers/parport/probe.c 		retval = parport_read_device_id (dev->port, buffer, count);
count             405 drivers/pci/controller/dwc/pcie-kirin.c 	int count = 0;
count             419 drivers/pci/controller/dwc/pcie-kirin.c 		count++;
count             420 drivers/pci/controller/dwc/pcie-kirin.c 		if (count == 1000) {
count             244 drivers/pci/controller/pcie-altera.c 	u32 count;
count             247 drivers/pci/controller/pcie-altera.c 	for (count = 0; count < TLP_LOOP; count++) {
count             259 drivers/pci/controller/pcie-altera.c 	if (count == TLP_LOOP)
count             262 drivers/pci/controller/pcie-altera.c 	count = 1;
count             265 drivers/pci/controller/pcie-altera.c 	while (count < ARRAY_SIZE(dw)) {
count             267 drivers/pci/controller/pcie-altera.c 		dw[count++] = cra_readl(pcie, S10_RP_RXCPL_REG);
count             274 drivers/pci/controller/pcie-altera.c 			    count == 4)
count              84 drivers/pci/controller/vmd.c 	unsigned int		count;
count             218 drivers/pci/controller/vmd.c 		if (vmd->irqs[i].count < vmd->irqs[best].count)
count             220 drivers/pci/controller/vmd.c 	vmd->irqs[best].count++;
count             259 drivers/pci/controller/vmd.c 	vmdirq->irq->count--;
count             277 drivers/pci/endpoint/functions/pci-epf-test.c 	int count;
count             339 drivers/pci/endpoint/functions/pci-epf-test.c 		count = pci_epc_get_msi(epc, epf->func_no);
count             340 drivers/pci/endpoint/functions/pci-epf-test.c 		if (reg->irq_number > count || count <= 0)
count             349 drivers/pci/endpoint/functions/pci-epf-test.c 		count = pci_epc_get_msix(epc, epf->func_no);
count             350 drivers/pci/endpoint/functions/pci-epf-test.c 		if (reg->irq_number > count || count <= 0)
count             392 drivers/pci/hotplug/acpiphp_glue.c 		arg_list.count = 2;
count             163 drivers/pci/hotplug/acpiphp_ibm.c 	struct acpi_object_list params = { .pointer = args, .count = 2 };
count             304 drivers/pci/hotplug/acpiphp_ibm.c 	for (size = 0, i = 0; i < package->package.count; i++) {
count             317 drivers/pci/hotplug/acpiphp_ibm.c 			__func__, package->package.count, size, lbuf);
count             327 drivers/pci/hotplug/acpiphp_ibm.c 	for (i = 0; i < package->package.count; i++) {
count             910 drivers/pci/hotplug/ibmphp_core.c 	u8 count = 0;
count             919 drivers/pci/hotplug/ibmphp_core.c 			count++;
count             940 drivers/pci/hotplug/ibmphp_core.c 	if ((count + 1) > limitation)
count             343 drivers/pci/hotplug/ibmphp_pci.c 	int count;
count             356 drivers/pci/hotplug/ibmphp_pci.c 	for (count = 0; address[count]; count++) {	/* for 6 BARs */
count             371 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
count             372 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count             374 drivers/pci/hotplug/ibmphp_pci.c 		if (!bar[count])	/* This BAR is not implemented */
count             377 drivers/pci/hotplug/ibmphp_pci.c 		debug("Device %x BAR %d wants %x\n", func->device, count, bar[count]);
count             379 drivers/pci/hotplug/ibmphp_pci.c 		if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) {
count             383 drivers/pci/hotplug/ibmphp_pci.c 			len[count] = bar[count] & 0xFFFFFFFC;
count             384 drivers/pci/hotplug/ibmphp_pci.c 			len[count] = ~len[count] + 1;
count             386 drivers/pci/hotplug/ibmphp_pci.c 			debug("len[count] in IO %x, count %d\n", len[count], count);
count             388 drivers/pci/hotplug/ibmphp_pci.c 			io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             390 drivers/pci/hotplug/ibmphp_pci.c 			if (!io[count])
count             393 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->type = IO;
count             394 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->busno = func->busno;
count             395 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->devfunc = PCI_DEVFN(func->device, func->function);
count             396 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->len = len[count];
count             397 drivers/pci/hotplug/ibmphp_pci.c 			if (ibmphp_check_resource(io[count], 0) == 0) {
count             398 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_add_resource(io[count]);
count             399 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = io[count];
count             402 drivers/pci/hotplug/ibmphp_pci.c 				     func->busno, func->device, func->function, len[count]);
count             403 drivers/pci/hotplug/ibmphp_pci.c 				kfree(io[count]);
count             406 drivers/pci/hotplug/ibmphp_pci.c 			pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
count             409 drivers/pci/hotplug/ibmphp_pci.c 			debug("b4 writing, the IO address is %x\n", func->io[count]->start);
count             410 drivers/pci/hotplug/ibmphp_pci.c 			pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count             411 drivers/pci/hotplug/ibmphp_pci.c 			debug("after writing.... the start address is %x\n", bar[count]);
count             416 drivers/pci/hotplug/ibmphp_pci.c 			if (bar[count] & PCI_BASE_ADDRESS_MEM_PREFETCH) {
count             420 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = bar[count] & 0xFFFFFFF0;
count             421 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = ~len[count] + 1;
count             423 drivers/pci/hotplug/ibmphp_pci.c 				debug("len[count] in PFMEM %x, count %d\n", len[count], count);
count             425 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             426 drivers/pci/hotplug/ibmphp_pci.c 				if (!pfmem[count])
count             429 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count]->type = PFMEM;
count             430 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count]->busno = func->busno;
count             431 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count]->devfunc = PCI_DEVFN(func->device,
count             433 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count]->len = len[count];
count             434 drivers/pci/hotplug/ibmphp_pci.c 				pfmem[count]->fromMem = 0;
count             435 drivers/pci/hotplug/ibmphp_pci.c 				if (ibmphp_check_resource(pfmem[count], 0) == 0) {
count             436 drivers/pci/hotplug/ibmphp_pci.c 					ibmphp_add_resource(pfmem[count]);
count             437 drivers/pci/hotplug/ibmphp_pci.c 					func->pfmem[count] = pfmem[count];
count             441 drivers/pci/hotplug/ibmphp_pci.c 						kfree(pfmem[count]);
count             445 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->busno = pfmem[count]->busno;
count             446 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->devfunc = pfmem[count]->devfunc;
count             447 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->len = pfmem[count]->len;
count             451 drivers/pci/hotplug/ibmphp_pci.c 						pfmem[count]->fromMem = 1;
count             452 drivers/pci/hotplug/ibmphp_pci.c 						pfmem[count]->rangeno = mem_tmp->rangeno;
count             453 drivers/pci/hotplug/ibmphp_pci.c 						pfmem[count]->start = mem_tmp->start;
count             454 drivers/pci/hotplug/ibmphp_pci.c 						pfmem[count]->end = mem_tmp->end;
count             455 drivers/pci/hotplug/ibmphp_pci.c 						ibmphp_add_pfmem_from_mem(pfmem[count]);
count             456 drivers/pci/hotplug/ibmphp_pci.c 						func->pfmem[count] = pfmem[count];
count             459 drivers/pci/hotplug/ibmphp_pci.c 						     func->busno, func->device, len[count]);
count             461 drivers/pci/hotplug/ibmphp_pci.c 						kfree(pfmem[count]);
count             466 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start);
count             469 drivers/pci/hotplug/ibmphp_pci.c 				debug("b4 writing, start address is %x\n", func->pfmem[count]->start);
count             470 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count             471 drivers/pci/hotplug/ibmphp_pci.c 				debug("after writing, start address is %x\n", bar[count]);
count             474 drivers/pci/hotplug/ibmphp_pci.c 				if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64) {	/* takes up another dword */
count             475 drivers/pci/hotplug/ibmphp_pci.c 					debug("inside the mem 64 case, count %d\n", count);
count             476 drivers/pci/hotplug/ibmphp_pci.c 					count += 1;
count             478 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0x00000000);
count             484 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = bar[count] & 0xFFFFFFF0;
count             485 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = ~len[count] + 1;
count             487 drivers/pci/hotplug/ibmphp_pci.c 				debug("len[count] in Mem %x, count %d\n", len[count], count);
count             489 drivers/pci/hotplug/ibmphp_pci.c 				mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             490 drivers/pci/hotplug/ibmphp_pci.c 				if (!mem[count])
count             493 drivers/pci/hotplug/ibmphp_pci.c 				mem[count]->type = MEM;
count             494 drivers/pci/hotplug/ibmphp_pci.c 				mem[count]->busno = func->busno;
count             495 drivers/pci/hotplug/ibmphp_pci.c 				mem[count]->devfunc = PCI_DEVFN(func->device,
count             497 drivers/pci/hotplug/ibmphp_pci.c 				mem[count]->len = len[count];
count             498 drivers/pci/hotplug/ibmphp_pci.c 				if (ibmphp_check_resource(mem[count], 0) == 0) {
count             499 drivers/pci/hotplug/ibmphp_pci.c 					ibmphp_add_resource(mem[count]);
count             500 drivers/pci/hotplug/ibmphp_pci.c 					func->mem[count] = mem[count];
count             503 drivers/pci/hotplug/ibmphp_pci.c 					     func->busno, func->device, len[count]);
count             504 drivers/pci/hotplug/ibmphp_pci.c 					kfree(mem[count]);
count             507 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start);
count             509 drivers/pci/hotplug/ibmphp_pci.c 				debug("b4 writing, start address is %x\n", func->mem[count]->start);
count             510 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count             511 drivers/pci/hotplug/ibmphp_pci.c 				debug("after writing, the address is %x\n", bar[count]);
count             514 drivers/pci/hotplug/ibmphp_pci.c 				if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64) {
count             516 drivers/pci/hotplug/ibmphp_pci.c 					debug("inside mem 64 case, reg. mem, count %d\n", count);
count             517 drivers/pci/hotplug/ibmphp_pci.c 					count += 1;
count             519 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0x00000000);
count             546 drivers/pci/hotplug/ibmphp_pci.c 	int count;
count             632 drivers/pci/hotplug/ibmphp_pci.c 	for (count = 0; address[count]; count++) {	/* for 2 BARs */
count             633 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
count             634 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count             636 drivers/pci/hotplug/ibmphp_pci.c 		if (!bar[count]) {
count             638 drivers/pci/hotplug/ibmphp_pci.c 			debug("so we come here then, eh?, count = %d\n", count);
count             643 drivers/pci/hotplug/ibmphp_pci.c 		debug("Bar %d wants %x\n", count, bar[count]);
count             645 drivers/pci/hotplug/ibmphp_pci.c 		if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) {
count             647 drivers/pci/hotplug/ibmphp_pci.c 			len[count] = bar[count] & 0xFFFFFFFC;
count             648 drivers/pci/hotplug/ibmphp_pci.c 			len[count] = ~len[count] + 1;
count             650 drivers/pci/hotplug/ibmphp_pci.c 			debug("len[count] in IO = %x\n", len[count]);
count             652 drivers/pci/hotplug/ibmphp_pci.c 			bus_io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             654 drivers/pci/hotplug/ibmphp_pci.c 			if (!bus_io[count]) {
count             658 drivers/pci/hotplug/ibmphp_pci.c 			bus_io[count]->type = IO;
count             659 drivers/pci/hotplug/ibmphp_pci.c 			bus_io[count]->busno = func->busno;
count             660 drivers/pci/hotplug/ibmphp_pci.c 			bus_io[count]->devfunc = PCI_DEVFN(func->device,
count             662 drivers/pci/hotplug/ibmphp_pci.c 			bus_io[count]->len = len[count];
count             663 drivers/pci/hotplug/ibmphp_pci.c 			if (ibmphp_check_resource(bus_io[count], 0) == 0) {
count             664 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_add_resource(bus_io[count]);
count             665 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = bus_io[count];
count             668 drivers/pci/hotplug/ibmphp_pci.c 				     func->busno, func->device, len[count]);
count             669 drivers/pci/hotplug/ibmphp_pci.c 				kfree(bus_io[count]);
count             673 drivers/pci/hotplug/ibmphp_pci.c 			pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
count             677 drivers/pci/hotplug/ibmphp_pci.c 			if (bar[count] & PCI_BASE_ADDRESS_MEM_PREFETCH) {
count             679 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = bar[count] & 0xFFFFFFF0;
count             680 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = ~len[count] + 1;
count             682 drivers/pci/hotplug/ibmphp_pci.c 				debug("len[count] in PFMEM = %x\n", len[count]);
count             684 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             685 drivers/pci/hotplug/ibmphp_pci.c 				if (!bus_pfmem[count]) {
count             689 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count]->type = PFMEM;
count             690 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count]->busno = func->busno;
count             691 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count]->devfunc = PCI_DEVFN(func->device,
count             693 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count]->len = len[count];
count             694 drivers/pci/hotplug/ibmphp_pci.c 				bus_pfmem[count]->fromMem = 0;
count             695 drivers/pci/hotplug/ibmphp_pci.c 				if (ibmphp_check_resource(bus_pfmem[count], 0) == 0) {
count             696 drivers/pci/hotplug/ibmphp_pci.c 					ibmphp_add_resource(bus_pfmem[count]);
count             697 drivers/pci/hotplug/ibmphp_pci.c 					func->pfmem[count] = bus_pfmem[count];
count             705 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->busno = bus_pfmem[count]->busno;
count             706 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->devfunc = bus_pfmem[count]->devfunc;
count             707 drivers/pci/hotplug/ibmphp_pci.c 					mem_tmp->len = bus_pfmem[count]->len;
count             710 drivers/pci/hotplug/ibmphp_pci.c 						bus_pfmem[count]->fromMem = 1;
count             711 drivers/pci/hotplug/ibmphp_pci.c 						bus_pfmem[count]->rangeno = mem_tmp->rangeno;
count             712 drivers/pci/hotplug/ibmphp_pci.c 						ibmphp_add_pfmem_from_mem(bus_pfmem[count]);
count             713 drivers/pci/hotplug/ibmphp_pci.c 						func->pfmem[count] = bus_pfmem[count];
count             716 drivers/pci/hotplug/ibmphp_pci.c 						     func->busno, func->device, len[count]);
count             718 drivers/pci/hotplug/ibmphp_pci.c 						kfree(bus_pfmem[count]);
count             723 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->pfmem[count]->start);
count             725 drivers/pci/hotplug/ibmphp_pci.c 				if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64) {
count             727 drivers/pci/hotplug/ibmphp_pci.c 					count += 1;
count             729 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0x00000000);
count             734 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = bar[count] & 0xFFFFFFF0;
count             735 drivers/pci/hotplug/ibmphp_pci.c 				len[count] = ~len[count] + 1;
count             737 drivers/pci/hotplug/ibmphp_pci.c 				debug("len[count] in Memory is %x\n", len[count]);
count             739 drivers/pci/hotplug/ibmphp_pci.c 				bus_mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
count             740 drivers/pci/hotplug/ibmphp_pci.c 				if (!bus_mem[count]) {
count             744 drivers/pci/hotplug/ibmphp_pci.c 				bus_mem[count]->type = MEM;
count             745 drivers/pci/hotplug/ibmphp_pci.c 				bus_mem[count]->busno = func->busno;
count             746 drivers/pci/hotplug/ibmphp_pci.c 				bus_mem[count]->devfunc = PCI_DEVFN(func->device,
count             748 drivers/pci/hotplug/ibmphp_pci.c 				bus_mem[count]->len = len[count];
count             749 drivers/pci/hotplug/ibmphp_pci.c 				if (ibmphp_check_resource(bus_mem[count], 0) == 0) {
count             750 drivers/pci/hotplug/ibmphp_pci.c 					ibmphp_add_resource(bus_mem[count]);
count             751 drivers/pci/hotplug/ibmphp_pci.c 					func->mem[count] = bus_mem[count];
count             754 drivers/pci/hotplug/ibmphp_pci.c 					     func->busno, func->device, len[count]);
count             755 drivers/pci/hotplug/ibmphp_pci.c 					kfree(bus_mem[count]);
count             759 drivers/pci/hotplug/ibmphp_pci.c 				pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->mem[count]->start);
count             761 drivers/pci/hotplug/ibmphp_pci.c 				if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64) {
count             763 drivers/pci/hotplug/ibmphp_pci.c 					count += 1;
count             765 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0x00000000);
count             786 drivers/pci/hotplug/ibmphp_pci.c 		for (count = 0; address[count]; count++) {
count             788 drivers/pci/hotplug/ibmphp_pci.c 			if (bus_io[count]) {
count             789 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_remove_resource(bus_io[count]);
count             790 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = NULL;
count             791 drivers/pci/hotplug/ibmphp_pci.c 			} else if (bus_pfmem[count]) {
count             792 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_remove_resource(bus_pfmem[count]);
count             793 drivers/pci/hotplug/ibmphp_pci.c 				func->pfmem[count] = NULL;
count             794 drivers/pci/hotplug/ibmphp_pci.c 			} else if (bus_mem[count]) {
count             795 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_remove_resource(bus_mem[count]);
count             796 drivers/pci/hotplug/ibmphp_pci.c 				func->mem[count] = NULL;
count            1049 drivers/pci/hotplug/ibmphp_pci.c 	int count, len[6];
count            1110 drivers/pci/hotplug/ibmphp_pci.c 				for (count = 0; address[count]; count++) {
count            1119 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
count            1120 drivers/pci/hotplug/ibmphp_pci.c 					pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]);
count            1122 drivers/pci/hotplug/ibmphp_pci.c 					debug("what is bar[count]? %x, count = %d\n", bar[count], count);
count            1124 drivers/pci/hotplug/ibmphp_pci.c 					if (!bar[count])	/* This BAR is not implemented */
count            1129 drivers/pci/hotplug/ibmphp_pci.c 					debug("count %d device %x function %x wants %x resources\n", count, device, function, bar[count]);
count            1131 drivers/pci/hotplug/ibmphp_pci.c 					if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) {
count            1133 drivers/pci/hotplug/ibmphp_pci.c 						len[count] = bar[count] & 0xFFFFFFFC;
count            1134 drivers/pci/hotplug/ibmphp_pci.c 						len[count] = ~len[count] + 1;
count            1135 drivers/pci/hotplug/ibmphp_pci.c 						amount->io += len[count];
count            1138 drivers/pci/hotplug/ibmphp_pci.c 						if (bar[count] & PCI_BASE_ADDRESS_MEM_PREFETCH) {
count            1140 drivers/pci/hotplug/ibmphp_pci.c 							len[count] = bar[count] & 0xFFFFFFF0;
count            1141 drivers/pci/hotplug/ibmphp_pci.c 							len[count] = ~len[count] + 1;
count            1142 drivers/pci/hotplug/ibmphp_pci.c 							amount->pfmem += len[count];
count            1143 drivers/pci/hotplug/ibmphp_pci.c 							if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64)
count            1145 drivers/pci/hotplug/ibmphp_pci.c 								count += 1;
count            1149 drivers/pci/hotplug/ibmphp_pci.c 							len[count] = bar[count] & 0xFFFFFFF0;
count            1150 drivers/pci/hotplug/ibmphp_pci.c 							len[count] = ~len[count] + 1;
count            1151 drivers/pci/hotplug/ibmphp_pci.c 							amount->mem += len[count];
count            1152 drivers/pci/hotplug/ibmphp_pci.c 							if (bar[count] & PCI_BASE_ADDRESS_MEM_TYPE_64) {
count            1154 drivers/pci/hotplug/ibmphp_pci.c 								count += 1;
count            1195 drivers/pci/hotplug/ibmphp_pci.c 	int count;
count            1216 drivers/pci/hotplug/ibmphp_pci.c 	for (count = 0; address[count]; count++) {	/* for 6 BARs */
count            1217 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &start_address);
count            1221 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
count            1222 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &size);
count            1223 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], start_address);
count            1229 drivers/pci/hotplug/ibmphp_pci.c 			debug("is this bar no implemented?, count = %d\n", count);
count            1292 drivers/pci/hotplug/ibmphp_pci.c 				count += 1;
count            1306 drivers/pci/hotplug/ibmphp_pci.c 	int count;
count            1355 drivers/pci/hotplug/ibmphp_pci.c 	for (count = 0; address[count]; count++) {
count            1357 drivers/pci/hotplug/ibmphp_pci.c 		pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &start_address);
count            1408 drivers/pci/hotplug/ibmphp_pci.c 				count += 1;
count            1536 drivers/pci/hotplug/ibmphp_pci.c 	int count;
count            1559 drivers/pci/hotplug/ibmphp_pci.c 				count = 2;
count            1561 drivers/pci/hotplug/ibmphp_pci.c 				count = 6;
count            1564 drivers/pci/hotplug/ibmphp_pci.c 			for (i = 0; i < count; i++) {
count             372 drivers/pci/hotplug/ibmphp_res.c 	int count = 0, i_init;
count             396 drivers/pci/hotplug/ibmphp_res.c 		count = count + 1;
count             398 drivers/pci/hotplug/ibmphp_res.c 	if (!count) {
count             428 drivers/pci/hotplug/ibmphp_res.c 	for (count = i_init; count < noRanges; ++count) {
count              80 drivers/pci/hotplug/pci_hotplug_core.c 				size_t count)
count             115 drivers/pci/hotplug/pci_hotplug_core.c 	return count;
count             137 drivers/pci/hotplug/pci_hotplug_core.c 				    size_t count)
count             160 drivers/pci/hotplug/pci_hotplug_core.c 	return count;
count             204 drivers/pci/hotplug/pci_hotplug_core.c 			       size_t count)
count             226 drivers/pci/hotplug/pci_hotplug_core.c 	return count;
count             234 drivers/pci/hotplug/pciehp_hpc.c 	int count = 0;
count             240 drivers/pci/hotplug/pciehp_hpc.c 		count++;
count             249 drivers/pci/hotplug/pciehp_hpc.c 	if (count > 1)
count             252 drivers/pci/hotplug/pciehp_hpc.c 			PCI_FUNC(devfn), count, step, l);
count             269 drivers/pci/iov.c 				  const char *buf, size_t count)
count             322 drivers/pci/iov.c 	return count;
count             363 drivers/pci/iov.c 					     const char *buf, size_t count)
count             373 drivers/pci/iov.c 	return count;
count             370 drivers/pci/msi.c 	int i, count = 0;
count             392 drivers/pci/msi.c 		while (msi_attrs[count]) {
count             393 drivers/pci/msi.c 			dev_attr = container_of(msi_attrs[count],
count             397 drivers/pci/msi.c 			++count;
count             490 drivers/pci/msi.c 	int count = 0;
count             508 drivers/pci/msi.c 			msi_attrs[count] = &msi_dev_attr->attr;
count             517 drivers/pci/msi.c 			++count;
count             544 drivers/pci/msi.c 	count = 0;
count             545 drivers/pci/msi.c 	msi_attr = msi_attrs[count];
count             550 drivers/pci/msi.c 		++count;
count             551 drivers/pci/msi.c 		msi_attr = msi_attrs[count];
count             775 drivers/pci/p2pdma.c 	int count;
count             777 drivers/pci/p2pdma.c 	for_each_sg(sgl, sg, INT_MAX, count) {
count             179 drivers/pci/pci-acpi.c 		if (record->package.count != 6)
count             229 drivers/pci/pci-acpi.c 		if (record->package.count != 5)
count             378 drivers/pci/pci-acpi.c 		if (record->package.count != 18)
count             601 drivers/pci/pci-acpi.c 		if (record->package.count != expected_length)
count             645 drivers/pci/pci-acpi.c 	for (i = 0; i < package->package.count; i++) {
count             715 drivers/pci/pci-acpi.c 	    package->package.count != 4) {
count            1200 drivers/pci/pci-acpi.c 	if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 5) {
count              99 drivers/pci/pci-driver.c 			    size_t count)
count             154 drivers/pci/pci-driver.c 	return count;
count             167 drivers/pci/pci-driver.c 			       size_t count)
count             192 drivers/pci/pci-driver.c 			retval = count;
count             186 drivers/pci/pci-label.c 	if (obj->type == ACPI_TYPE_PACKAGE && obj->package.count == 2 &&
count              64 drivers/pci/pci-sysfs.c 					  const char *buf, size_t count)
count              74 drivers/pci/pci-sysfs.c 	return count;
count             280 drivers/pci/pci-sysfs.c 			     const char *buf, size_t count)
count             304 drivers/pci/pci-sysfs.c 	return result < 0 ? result : count;
count             320 drivers/pci/pci-sysfs.c 			       size_t count)
count             343 drivers/pci/pci-sysfs.c 	return count;
count             383 drivers/pci/pci-sysfs.c 			     const char *buf, size_t count)
count             404 drivers/pci/pci-sysfs.c 		return count;
count             414 drivers/pci/pci-sysfs.c 	return count;
count             418 drivers/pci/pci-sysfs.c static ssize_t rescan_store(struct bus_type *bus, const char *buf, size_t count)
count             432 drivers/pci/pci-sysfs.c 	return count;
count             452 drivers/pci/pci-sysfs.c 				size_t count)
count             465 drivers/pci/pci-sysfs.c 	return count;
count             471 drivers/pci/pci-sysfs.c 			    const char *buf, size_t count)
count             480 drivers/pci/pci-sysfs.c 	return count;
count             487 drivers/pci/pci-sysfs.c 				const char *buf, size_t count)
count             503 drivers/pci/pci-sysfs.c 	return count;
count             511 drivers/pci/pci-sysfs.c 				    const char *buf, size_t count)
count             527 drivers/pci/pci-sysfs.c 	return count;
count             555 drivers/pci/pci-sysfs.c 				     const char *buf, size_t count)
count             561 drivers/pci/pci-sysfs.c 	if (count >= (PAGE_SIZE - 1))
count             564 drivers/pci/pci-sysfs.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
count             584 drivers/pci/pci-sysfs.c 	return count;
count             678 drivers/pci/pci-sysfs.c 			       loff_t off, size_t count)
count             693 drivers/pci/pci-sysfs.c 	if (off + count > size) {
count             695 drivers/pci/pci-sysfs.c 		count = size;
count             697 drivers/pci/pci-sysfs.c 		size = count;
count             749 drivers/pci/pci-sysfs.c 	return count;
count             754 drivers/pci/pci-sysfs.c 				loff_t off, size_t count)
count             757 drivers/pci/pci-sysfs.c 	unsigned int size = count;
count             768 drivers/pci/pci-sysfs.c 	if (off + count > dev->cfg_size) {
count             770 drivers/pci/pci-sysfs.c 		count = size;
count             815 drivers/pci/pci-sysfs.c 	return count;
count             833 drivers/pci/pci-sysfs.c 				  loff_t off, size_t count)
count             838 drivers/pci/pci-sysfs.c 	if (count != 1 && count != 2 && count != 4)
count             841 drivers/pci/pci-sysfs.c 	return pci_legacy_read(bus, off, (u32 *)buf, count);
count             858 drivers/pci/pci-sysfs.c 				   loff_t off, size_t count)
count             863 drivers/pci/pci-sysfs.c 	if (count != 1 && count != 2 && count != 4)
count             866 drivers/pci/pci-sysfs.c 	return pci_legacy_write(bus, off, *(u32 *)buf, count);
count            1059 drivers/pci/pci-sysfs.c 			       loff_t off, size_t count, bool write)
count            1070 drivers/pci/pci-sysfs.c 	if (port + count - 1 > pci_resource_end(pdev, bar))
count            1073 drivers/pci/pci-sysfs.c 	switch (count) {
count            1098 drivers/pci/pci-sysfs.c 				    loff_t off, size_t count)
count            1100 drivers/pci/pci-sysfs.c 	return pci_resource_io(filp, kobj, attr, buf, off, count, false);
count            1105 drivers/pci/pci-sysfs.c 				     loff_t off, size_t count)
count            1113 drivers/pci/pci-sysfs.c 	return pci_resource_io(filp, kobj, attr, buf, off, count, true);
count            1234 drivers/pci/pci-sysfs.c 			     loff_t off, size_t count)
count            1238 drivers/pci/pci-sysfs.c 	if ((off ==  0) && (*buf == '0') && (count == 2))
count            1243 drivers/pci/pci-sysfs.c 	return count;
count            1260 drivers/pci/pci-sysfs.c 			    loff_t off, size_t count)
count            1274 drivers/pci/pci-sysfs.c 		count = 0;
count            1276 drivers/pci/pci-sysfs.c 		if (off + count > size)
count            1277 drivers/pci/pci-sysfs.c 			count = size - off;
count            1279 drivers/pci/pci-sysfs.c 		memcpy_fromio(buf, rom + off, count);
count            1283 drivers/pci/pci-sysfs.c 	return count;
count            1307 drivers/pci/pci-sysfs.c 			   const char *buf, size_t count)
count            1325 drivers/pci/pci-sysfs.c 	return count;
count             315 drivers/pci/pci.c 	int count;
count             322 drivers/pci/pci.c 			     &subsystem_vendor, &subsystem_device, &count);
count             324 drivers/pci/pci.c 			ret = sscanf(p, "%hx:%hx%n", &vendor, &device, &count);
count             332 drivers/pci/pci.c 		p += count;
count            6112 drivers/pci/pci.c 	int align_order, count;
count            6128 drivers/pci/pci.c 		count = 0;
count            6129 drivers/pci/pci.c 		if (sscanf(p, "%d%n", &align_order, &count) == 1 &&
count            6130 drivers/pci/pci.c 							p[count] == '@') {
count            6131 drivers/pci/pci.c 			p += count + 1;
count            6285 drivers/pci/pci.c 	size_t count = 0;
count            6289 drivers/pci/pci.c 		count = snprintf(buf, PAGE_SIZE, "%s", resource_alignment_param);
count            6297 drivers/pci/pci.c 	if (count >= 2 && buf[count - 2] != '\n' && count < PAGE_SIZE - 1) {
count            6298 drivers/pci/pci.c 		buf[count - 1] = '\n';
count            6299 drivers/pci/pci.c 		buf[count++] = 0;
count            6302 drivers/pci/pci.c 	return count;
count            6306 drivers/pci/pci.c 					const char *buf, size_t count)
count            6308 drivers/pci/pci.c 	char *param = kstrndup(buf, count, GFP_KERNEL);
count            6317 drivers/pci/pci.c 	return count;
count             807 drivers/pci/switch/switchtec.c 	ctl->count = (hdr >> 5) & 0xFF;
count            1045 drivers/pci/switch/switchtec.c 	int count;
count            1051 drivers/pci/switch/switchtec.c 		count = (reg >> 5) & 0xFF;
count            1053 drivers/pci/switch/switchtec.c 		if (count != stdev->link_event_count[idx]) {
count            1055 drivers/pci/switch/switchtec.c 			stdev->link_event_count[idx] = count;
count            1198 drivers/pci/switch/switchtec.c 	int count = 0;
count            1202 drivers/pci/switch/switchtec.c 			count += mask_event(stdev, eid, idx);
count            1208 drivers/pci/switch/switchtec.c 			count += mask_event(stdev, eid, idx);
count            1211 drivers/pci/switch/switchtec.c 		count += mask_event(stdev, eid, 0);
count            1214 drivers/pci/switch/switchtec.c 	return count;
count              17 drivers/pci/vpd.c 	ssize_t (*read)(struct pci_dev *dev, loff_t pos, size_t count, void *buf);
count              18 drivers/pci/vpd.c 	ssize_t (*write)(struct pci_dev *dev, loff_t pos, size_t count, const void *buf);
count              40 drivers/pci/vpd.c ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf)
count              44 drivers/pci/vpd.c 	return dev->vpd->ops->read(dev, pos, count, buf);
count              55 drivers/pci/vpd.c ssize_t pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf)
count              59 drivers/pci/vpd.c 	return dev->vpd->ops->write(dev, pos, count, buf);
count             175 drivers/pci/vpd.c static ssize_t pci_vpd_read(struct pci_dev *dev, loff_t pos, size_t count,
count             180 drivers/pci/vpd.c 	loff_t end = pos + count;
count             199 drivers/pci/vpd.c 		count = end - pos;
count             239 drivers/pci/vpd.c 	return ret ? ret : count;
count             242 drivers/pci/vpd.c static ssize_t pci_vpd_write(struct pci_dev *dev, loff_t pos, size_t count,
count             247 drivers/pci/vpd.c 	loff_t end = pos + count;
count             250 drivers/pci/vpd.c 	if (pos < 0 || (pos & 3) || (count & 3))
count             297 drivers/pci/vpd.c 	return ret ? ret : count;
count             319 drivers/pci/vpd.c static ssize_t pci_vpd_f0_read(struct pci_dev *dev, loff_t pos, size_t count,
count             329 drivers/pci/vpd.c 	ret = pci_read_vpd(tdev, pos, count, arg);
count             334 drivers/pci/vpd.c static ssize_t pci_vpd_f0_write(struct pci_dev *dev, loff_t pos, size_t count,
count             344 drivers/pci/vpd.c 	ret = pci_write_vpd(tdev, pos, count, arg);
count             402 drivers/pci/vpd.c 			     loff_t off, size_t count)
count             408 drivers/pci/vpd.c 			count = 0;
count             409 drivers/pci/vpd.c 		else if (count > bin_attr->size - off)
count             410 drivers/pci/vpd.c 			count = bin_attr->size - off;
count             413 drivers/pci/vpd.c 	return pci_read_vpd(dev, off, count, buf);
count             418 drivers/pci/vpd.c 			      loff_t off, size_t count)
count             424 drivers/pci/vpd.c 			count = 0;
count             425 drivers/pci/vpd.c 		else if (count > bin_attr->size - off)
count             426 drivers/pci/vpd.c 			count = bin_attr->size - off;
count             429 drivers/pci/vpd.c 	return pci_write_vpd(dev, off, count, buf);
count            1379 drivers/pcmcia/cistpl.c 	unsigned int count = 0;
count            1407 drivers/pcmcia/cistpl.c 	count = reserved = 0;
count            1432 drivers/pcmcia/cistpl.c 	for (count = 1; count < MAX_TUPLES; count++) {
count            1441 drivers/pcmcia/cistpl.c 	if ((count == MAX_TUPLES) || (reserved > 5) ||
count            1442 drivers/pcmcia/cistpl.c 		((!dev_ok || !ident_ok) && (count > 10)))
count            1443 drivers/pcmcia/cistpl.c 		count = 0;
count            1449 drivers/pcmcia/cistpl.c 	if (!dev_ok || !ident_ok || !count) {
count            1463 drivers/pcmcia/cistpl.c 		*info = count;
count            1473 drivers/pcmcia/cistpl.c 				  loff_t off, size_t count)
count            1516 drivers/pcmcia/cistpl.c 				    (i + pointer) < (off + count)) {
count            1525 drivers/pcmcia/cistpl.c 		if (pointer >= (off + count))
count            1543 drivers/pcmcia/cistpl.c 			       char *buf, loff_t off, size_t count)
count            1548 drivers/pcmcia/cistpl.c 		count = 0;
count            1553 drivers/pcmcia/cistpl.c 		if (off + count > size)
count            1554 drivers/pcmcia/cistpl.c 			count = size - off;
count            1565 drivers/pcmcia/cistpl.c 		count = pccard_extract_cis(s, buf, off, count);
count            1568 drivers/pcmcia/cistpl.c 	return count;
count            1574 drivers/pcmcia/cistpl.c 				char *buf, loff_t off, size_t count)
count            1588 drivers/pcmcia/cistpl.c 	if (count >= CISTPL_MAX_CIS_SIZE)
count            1594 drivers/pcmcia/cistpl.c 	error = pcmcia_replace_cis(s, buf, count);
count            1600 drivers/pcmcia/cistpl.c 	return count;
count             164 drivers/pcmcia/cs_internal.h int pccard_validate_cis(struct pcmcia_socket *s, unsigned int *count);
count              95 drivers/pcmcia/ds.c new_id_store(struct device_driver *driver, const char *buf, size_t count)
count             131 drivers/pcmcia/ds.c 	return count;
count            1059 drivers/pcmcia/ds.c 			      const char *buf, size_t count)
count            1064 drivers/pcmcia/ds.c 	if (!count)
count            1072 drivers/pcmcia/ds.c 	return ret ? ret : count;
count            1100 drivers/pcmcia/ds.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1104 drivers/pcmcia/ds.c 	if (!count)
count            1112 drivers/pcmcia/ds.c 	return count;
count             264 drivers/pcmcia/rsrc_nonstatic.c 		    unsigned int *count)
count             279 drivers/pcmcia/rsrc_nonstatic.c 			ret = s->callback->validate(s, count);
count             286 drivers/pcmcia/rsrc_nonstatic.c 	if ((ret) || (*count == 0))
count            1091 drivers/pcmcia/rsrc_nonstatic.c 			   const char *buf, size_t count)
count            1117 drivers/pcmcia/rsrc_nonstatic.c 	return ret ? ret : count;
count            1157 drivers/pcmcia/rsrc_nonstatic.c 			    const char *buf, size_t count)
count            1183 drivers/pcmcia/rsrc_nonstatic.c 	return ret ? ret : count;
count              82 drivers/pcmcia/socket_sysfs.c 				   const char *buf, size_t count)
count              86 drivers/pcmcia/socket_sysfs.c 	if (!count)
count              91 drivers/pcmcia/socket_sysfs.c 	return count;
count             106 drivers/pcmcia/socket_sysfs.c 					  const char *buf, size_t count)
count             109 drivers/pcmcia/socket_sysfs.c 	ssize_t ret = count;
count             111 drivers/pcmcia/socket_sysfs.c 	if (!count)
count             129 drivers/pcmcia/socket_sysfs.c 				  const char *buf, size_t count)
count             133 drivers/pcmcia/socket_sysfs.c 	if (!count)
count             138 drivers/pcmcia/socket_sysfs.c 	return count;
count             153 drivers/pcmcia/socket_sysfs.c 				     const char *buf, size_t count)
count             159 drivers/pcmcia/socket_sysfs.c 	if (!count)
count             171 drivers/pcmcia/socket_sysfs.c 	return ret ? ret : count;
count             185 drivers/pcmcia/socket_sysfs.c 				     const char *buf, size_t count)
count             189 drivers/pcmcia/socket_sysfs.c 	if (!count)
count             199 drivers/pcmcia/socket_sysfs.c 	return count;
count             996 drivers/perf/arm-cci.c 	local64_add(delta, &event->count);
count             483 drivers/perf/arm-ccn.c 		struct device_attribute *attr, const char *buf, size_t count)
count             492 drivers/perf/arm-ccn.c 	return err ? err : count;
count             886 drivers/perf/arm-ccn.c 	local64_add((new_count - prev_count) & mask, &event->count);
count             361 drivers/perf/arm_dsu_pmu.c 	local64_add(delta, &event->count);
count             179 drivers/perf/arm_pmu.c 	local64_add(delta, &event->count);
count             537 drivers/perf/arm_pmu.c 	int cpu, count = 0;
count             541 drivers/perf/arm_pmu.c 			count++;
count             544 drivers/perf/arm_pmu.c 	return count;
count             218 drivers/perf/arm_smmuv3_pmu.c 	local64_add(delta, &event->count);
count             319 drivers/perf/fsl_imx8_ddr_perf.c 	local64_add(delta, &event->count);
count             240 drivers/perf/hisilicon/hisi_uncore_pmu.c 	local64_add(delta, &event->count);
count             358 drivers/perf/qcom_l2_pmu.c 	local64_add(delta, &event->count);
count             255 drivers/perf/qcom_l3_pmu.c 	local64_add(new - prev, &event->count);
count             327 drivers/perf/qcom_l3_pmu.c 	local64_add(new - prev, &event->count);
count             342 drivers/perf/thunderx2_pmu.c 	local64_add(delta * prorate_factor, &event->count);
count             294 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             295 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count-div-64,		0x01),
count             312 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             313 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count-div-64,		0x01),
count             329 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             330 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count-div-64,		0x01),
count             339 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             340 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count-div-64,		0x01),
count             392 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             435 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             478 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             491 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count             531 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(cycle-count,			0x00),
count            1007 drivers/perf/xgene_pmu.c 	local64_add(delta, &event->count);
count             629 drivers/phy/broadcom/phy-brcm-sata.c 	int ret, count = 0;
count             700 drivers/phy/broadcom/phy-brcm-sata.c 		count++;
count             709 drivers/phy/broadcom/phy-brcm-sata.c 	dev_info(dev, "registered %d port(s)\n", count);
count             149 drivers/phy/broadcom/phy-brcm-usb.c static int name_to_value(struct value_to_name_map *table, int count,
count             155 drivers/phy/broadcom/phy-brcm-usb.c 	for (x = 0; x < count; x++) {
count             164 drivers/phy/broadcom/phy-brcm-usb.c static const char *value_to_name(struct value_to_name_map *table, int count,
count             167 drivers/phy/broadcom/phy-brcm-usb.c 	if (value >= count)
count            1627 drivers/phy/phy-xgene.c 				int count, u32 *default_val,
count            1633 drivers/phy/phy-xgene.c 					count)) {
count            1634 drivers/phy/phy-xgene.c 		for (i = 0; i < count; i++)
count            1639 drivers/phy/phy-xgene.c 	for (i = 0; i < count; i++)
count             315 drivers/phy/renesas/phy-rcar-gen3-usb2.c 			  const char *buf, size_t count)
count             351 drivers/phy/renesas/phy-rcar-gen3-usb2.c 	return count;
count            1729 drivers/phy/tegra/xusb-tegra124.c 			.count = 3,
count            1733 drivers/phy/tegra/xusb-tegra124.c 			.count = 1,
count            1737 drivers/phy/tegra/xusb-tegra124.c 			.count = 2,
count            1741 drivers/phy/tegra/xusb-tegra124.c 			.count = 2,
count             793 drivers/phy/tegra/xusb-tegra186.c 	unsigned int i, count;
count             797 drivers/phy/tegra/xusb-tegra186.c 	count = padctl->base.soc->ports.usb2.count;
count             799 drivers/phy/tegra/xusb-tegra186.c 	level = devm_kcalloc(dev, count, sizeof(u32), GFP_KERNEL);
count             811 drivers/phy/tegra/xusb-tegra186.c 	for (i = 0; i < count; i++)
count             878 drivers/phy/tegra/xusb-tegra186.c 			.count = 3,
count             883 drivers/phy/tegra/xusb-tegra186.c 			.count = 1,
count             888 drivers/phy/tegra/xusb-tegra186.c 			.count = 3,
count            2025 drivers/phy/tegra/xusb-tegra210.c 			.count = 4,
count            2029 drivers/phy/tegra/xusb-tegra210.c 			.count = 1,
count            2033 drivers/phy/tegra/xusb-tegra210.c 			.count = 4,
count             811 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.usb2.count; i++) {
count             817 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.ulpi.count; i++) {
count             823 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.hsic.count; i++) {
count             829 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.usb3.count; i++) {
count             384 drivers/phy/tegra/xusb.h 			unsigned int count;
count             133 drivers/pinctrl/actions/pinctrl-owl.h #define OWL_GPIO_PORT(port, base, count, _outen, _inen, _dat, _intc_ctl,\
count             137 drivers/pinctrl/actions/pinctrl-owl.h 		.pins = count,					\
count             619 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 	u32 val, count;
count             677 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 		for (count = 0; count < gc->ngpio; count++) {
count             678 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 			int irq = irq_create_mapping(chip->irq_domain, count);
count             204 drivers/pinctrl/pinconf-generic.c 			 unsigned int count, unsigned long *cfg,
count             209 drivers/pinctrl/pinconf-generic.c 	for (i = 0; i < count; i++) {
count             314 drivers/pinctrl/pinctrl-mcp23s08.c static int mcp23sxx_spi_write(void *context, const void *data, size_t count)
count             320 drivers/pinctrl/pinctrl-mcp23s08.c 				     { .tx_buf = data, .len = count, }, };
count            1161 drivers/pinctrl/pinctrl-rza1.c 	unsigned int count = 0;
count            1167 drivers/pinctrl/pinctrl-rza1.c 		count++;
count            1170 drivers/pinctrl/pinctrl-rza1.c 	return count;
count             740 drivers/pinctrl/pinctrl-rzn1.c 	int count = 0;
count             743 drivers/pinctrl/pinctrl-rzn1.c 		count++;
count             747 drivers/pinctrl/pinctrl-rzn1.c 			count++;
count             750 drivers/pinctrl/pinctrl-rzn1.c 	return count;
count            1451 drivers/pinctrl/pinctrl-single.c 	int count = 0;
count            1465 drivers/pinctrl/pinctrl-single.c 			count++;
count            1469 drivers/pinctrl/pinctrl-single.c 	return count;
count             465 drivers/pinctrl/pinctrl-tb10x.c 	unsigned int count;
count             497 drivers/pinctrl/pinctrl-tb10x.c 	if (state->ports[port].count)
count             639 drivers/pinctrl/pinctrl-tb10x.c 				} else if (state->ports[port].count
count             704 drivers/pinctrl/pinctrl-tb10x.c 	if (state->ports[grp->port].count
count             722 drivers/pinctrl/pinctrl-tb10x.c 	state->ports[grp->port].count++;
count              86 drivers/pinctrl/sirf/pinctrl-sirf.c 	int ret, index = 0, count = 0;
count             102 drivers/pinctrl/sirf/pinctrl-sirf.c 		count += ret;
count             105 drivers/pinctrl/sirf/pinctrl-sirf.c 	if (!count) {
count             110 drivers/pinctrl/sirf/pinctrl-sirf.c 	*map = kcalloc(count, sizeof(**map), GFP_KERNEL);
count             124 drivers/pinctrl/sirf/pinctrl-sirf.c 	*num_maps = count;
count             364 drivers/pinctrl/spear/pinctrl-plgpio.c 	int regs_count, count, pin, offset, i = 0;
count             367 drivers/pinctrl/spear/pinctrl-plgpio.c 	count = plgpio->chip.ngpio;
count             368 drivers/pinctrl/spear/pinctrl-plgpio.c 	regs_count = DIV_ROUND_UP(count, MAX_GPIO_PER_REG);
count             388 drivers/pinctrl/spear/pinctrl-plgpio.c 		count = count - i * MAX_GPIO_PER_REG;
count             389 drivers/pinctrl/spear/pinctrl-plgpio.c 		if (count < MAX_GPIO_PER_REG)
count             390 drivers/pinctrl/spear/pinctrl-plgpio.c 			pending &= (1 << count) - 1;
count              32 drivers/pinctrl/spear/pinctrl-spear.c 		struct spear_muxreg *muxregs, u8 count, bool enable)
count              37 drivers/pinctrl/spear/pinctrl-spear.c 	for (j = 0; j < count; j++) {
count              86 drivers/pinctrl/spear/pinctrl-spear.c 				 unsigned count, u16 reg)
count              90 drivers/pinctrl/spear/pinctrl-spear.c 	for (i = 0; i < count; i++)
count             155 drivers/pinctrl/spear/pinctrl-spear.c 	int ret, index = 0, count = 0;
count             171 drivers/pinctrl/spear/pinctrl-spear.c 		count += ret;
count             174 drivers/pinctrl/spear/pinctrl-spear.c 	if (!count) {
count             179 drivers/pinctrl/spear/pinctrl-spear.c 	*map = kcalloc(count, sizeof(**map), GFP_KERNEL);
count             193 drivers/pinctrl/spear/pinctrl-spear.c 	*num_maps = count;
count             197 drivers/pinctrl/spear/pinctrl-spear.h 				 unsigned count, u16 reg);
count             244 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	int count;
count             247 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	count = of_property_count_strings(node, "pins");
count             248 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (count > 0) {
count             249 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		*npins = count;
count             254 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	count = of_property_count_strings(node, "allwinner,pins");
count             255 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (count > 0) {
count             256 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		*npins = count;
count             741 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 					   unsigned int count,
count             747 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	if (!count)
count             750 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	nregs = DIV_ROUND_UP(count * width, 32);
count             208 drivers/platform/chrome/cros_ec_chardev.c 	size_t count;
count             226 drivers/platform/chrome/cros_ec_chardev.c 		count = min(length, event->size + 1);
count             227 drivers/platform/chrome/cros_ec_chardev.c 		ret = copy_to_user(buffer, &event->event_type, count);
count             231 drivers/platform/chrome/cros_ec_chardev.c 		*offset = count;
count             232 drivers/platform/chrome/cros_ec_chardev.c 		return count;
count             245 drivers/platform/chrome/cros_ec_chardev.c 	count = min(length, strlen(msg));
count             247 drivers/platform/chrome/cros_ec_chardev.c 	if (copy_to_user(buffer, msg, count))
count             250 drivers/platform/chrome/cros_ec_chardev.c 	*offset = count;
count             251 drivers/platform/chrome/cros_ec_chardev.c 	return count;
count             129 drivers/platform/chrome/cros_ec_debugfs.c 					size_t count, loff_t *ppos)
count             157 drivers/platform/chrome/cros_ec_debugfs.c 		    count);
count             196 drivers/platform/chrome/cros_ec_debugfs.c 				   size_t count,
count             242 drivers/platform/chrome/cros_ec_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count             247 drivers/platform/chrome/cros_ec_debugfs.c 				   size_t count, loff_t *ppos)
count             271 drivers/platform/chrome/cros_ec_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, read_buf, ret);
count              42 drivers/platform/chrome/cros_ec_lightbar.c 				   const char *buf, size_t count)
count              51 drivers/platform/chrome/cros_ec_lightbar.c 	return count;
count             175 drivers/platform/chrome/cros_ec_lightbar.c 				const char *buf, size_t count)
count             206 drivers/platform/chrome/cros_ec_lightbar.c 	ret = count;
count             221 drivers/platform/chrome/cros_ec_lightbar.c 			     const char *buf, size_t count)
count             281 drivers/platform/chrome/cros_ec_lightbar.c 	return (ok && i == 0) ? count : -EINVAL;
count             396 drivers/platform/chrome/cros_ec_lightbar.c 			      const char *buf, size_t count)
count             404 drivers/platform/chrome/cros_ec_lightbar.c 	for (len = 0; len < count; len++)
count             438 drivers/platform/chrome/cros_ec_lightbar.c 	ret = count;
count             445 drivers/platform/chrome/cros_ec_lightbar.c 			     const char *buf, size_t count)
count             461 drivers/platform/chrome/cros_ec_lightbar.c 	if (count > max_size) {
count             463 drivers/platform/chrome/cros_ec_lightbar.c 			(unsigned int)count, max_size);
count             476 drivers/platform/chrome/cros_ec_lightbar.c 	dev_info(dev, "Copying %zu byte program to EC", count);
count             481 drivers/platform/chrome/cros_ec_lightbar.c 	param->set_program.size = count;
count             482 drivers/platform/chrome/cros_ec_lightbar.c 	memcpy(param->set_program.data, buf, count);
count             489 drivers/platform/chrome/cros_ec_lightbar.c 	msg->outsize = count + extra_bytes;
count             499 drivers/platform/chrome/cros_ec_lightbar.c 	ret = count;
count             516 drivers/platform/chrome/cros_ec_lightbar.c 				       size_t count)
count             527 drivers/platform/chrome/cros_ec_lightbar.c 	return count;
count              29 drivers/platform/chrome/cros_ec_sysfs.c 	int count = 0;
count              31 drivers/platform/chrome/cros_ec_sysfs.c 	count += scnprintf(buf + count, PAGE_SIZE - count,
count              33 drivers/platform/chrome/cros_ec_sysfs.c 	count += scnprintf(buf + count, PAGE_SIZE - count,
count              35 drivers/platform/chrome/cros_ec_sysfs.c 	return count;
count              40 drivers/platform/chrome/cros_ec_sysfs.c 			    const char *buf, size_t count)
count              95 drivers/platform/chrome/cros_ec_sysfs.c 		count = -EINVAL;
count             105 drivers/platform/chrome/cros_ec_sysfs.c 		count = ret;
count             108 drivers/platform/chrome/cros_ec_sysfs.c 	return count;
count             120 drivers/platform/chrome/cros_ec_sysfs.c 	int count = 0;
count             134 drivers/platform/chrome/cros_ec_sysfs.c 		count = ret;
count             141 drivers/platform/chrome/cros_ec_sysfs.c 	count += scnprintf(buf + count, PAGE_SIZE - count,
count             143 drivers/platform/chrome/cros_ec_sysfs.c 	count += scnprintf(buf + count, PAGE_SIZE - count,
count             145 drivers/platform/chrome/cros_ec_sysfs.c 	count += scnprintf(buf + count, PAGE_SIZE - count,
count             155 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             158 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             162 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             171 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             174 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             182 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             184 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             186 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             195 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             198 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             203 drivers/platform/chrome/cros_ec_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count             210 drivers/platform/chrome/cros_ec_sysfs.c 	return count;
count             281 drivers/platform/chrome/cros_ec_sysfs.c 				   const char *buf, size_t count)
count             309 drivers/platform/chrome/cros_ec_sysfs.c 	return count;
count              19 drivers/platform/chrome/cros_ec_vbc.c 				  loff_t pos, size_t count)
count              59 drivers/platform/chrome/cros_ec_vbc.c 				   loff_t pos, size_t count)
count              71 drivers/platform/chrome/cros_ec_vbc.c 	if (count != data_sz)
count              32 drivers/platform/chrome/cros_kbd_led_backlight.c 	input.count = 1;
count              96 drivers/platform/chrome/wilco_ec/debugfs.c 			 size_t count, loff_t *ppos)
count             104 drivers/platform/chrome/wilco_ec/debugfs.c 	if (count > FORMATTED_BUFFER_SIZE)
count             108 drivers/platform/chrome/wilco_ec/debugfs.c 					user_buf, count);
count             132 drivers/platform/chrome/wilco_ec/debugfs.c 	return count;
count             135 drivers/platform/chrome/wilco_ec/debugfs.c static ssize_t raw_read(struct file *file, char __user *user_buf, size_t count,
count             150 drivers/platform/chrome/wilco_ec/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count             353 drivers/platform/chrome/wilco_ec/event.c static ssize_t event_read(struct file *filp, char __user *buf, size_t count,
count             362 drivers/platform/chrome/wilco_ec/event.c 	if (count != 0 && count < EC_ACPI_MAX_EVENT_SIZE)
count              47 drivers/platform/chrome/wilco_ec/sysfs.c 				const char *buf, size_t count)
count              74 drivers/platform/chrome/wilco_ec/sysfs.c 	return count;
count             266 drivers/platform/chrome/wilco_ec/telemetry.c 			   size_t count, loff_t *pos)
count             272 drivers/platform/chrome/wilco_ec/telemetry.c 	if (count > sizeof(sess_data->request))
count             275 drivers/platform/chrome/wilco_ec/telemetry.c 	if (copy_from_user(&sess_data->request, buf, count))
count             277 drivers/platform/chrome/wilco_ec/telemetry.c 	ret = check_telem_request(&sess_data->request, count);
count             296 drivers/platform/chrome/wilco_ec/telemetry.c 	return count;
count             299 drivers/platform/chrome/wilco_ec/telemetry.c static ssize_t telem_read(struct file *filp, char __user *buf, size_t count,
count             306 drivers/platform/chrome/wilco_ec/telemetry.c 	if (count > sizeof(sess_data->response))
count             309 drivers/platform/chrome/wilco_ec/telemetry.c 	if (copy_to_user(buf, sess_data->response, count))
count             314 drivers/platform/chrome/wilco_ec/telemetry.c 	return count;
count             409 drivers/platform/goldfish/goldfish_pipe.c 	int count = 0, ret = -EINVAL;
count             442 drivers/platform/goldfish/goldfish_pipe.c 			count += consumed_size;
count             452 drivers/platform/goldfish/goldfish_pipe.c 		if (count > 0) {
count             481 drivers/platform/goldfish/goldfish_pipe.c 	if (count > 0)
count             482 drivers/platform/goldfish/goldfish_pipe.c 		return count;
count             633 drivers/platform/goldfish/goldfish_pipe.c 	u32 count;
count             644 drivers/platform/goldfish/goldfish_pipe.c 	count = readl(dev->base + PIPE_REG_GET_SIGNALLED);
count             645 drivers/platform/goldfish/goldfish_pipe.c 	if (count == 0) {
count             649 drivers/platform/goldfish/goldfish_pipe.c 	if (count > MAX_SIGNALLED_PIPES)
count             650 drivers/platform/goldfish/goldfish_pipe.c 		count = MAX_SIGNALLED_PIPES;
count             652 drivers/platform/goldfish/goldfish_pipe.c 	for (i = 0; i < count; ++i)
count             480 drivers/platform/mellanox/mlxbf-tmfifo.c 	u32 count;
count             490 drivers/platform/mellanox/mlxbf-tmfifo.c 	count = FIELD_GET(MLXBF_TMFIFO_TX_STS__COUNT_MASK, sts);
count             491 drivers/platform/mellanox/mlxbf-tmfifo.c 	return fifo->tx_fifo_size - tx_reserve - count;
count             206 drivers/platform/mellanox/mlxreg-hotplug.c 		num_attrs += item->count;
count             209 drivers/platform/mellanox/mlxreg-hotplug.c 		for (j = 0; j < item->count; j++, data++, id++) {
count             323 drivers/platform/mellanox/mlxreg-hotplug.c 	for (i = 0; i < item->count; i++, data++) {
count             518 drivers/platform/mellanox/mlxreg-hotplug.c 		for (j = 0; j < item->count; j++, data++) {
count             573 drivers/platform/mellanox/mlxreg-hotplug.c 	int count, i, j;
count             600 drivers/platform/mellanox/mlxreg-hotplug.c 		count = item->count;
count             601 drivers/platform/mellanox/mlxreg-hotplug.c 		for (j = 0; j < count; j++, data++)
count            1532 drivers/platform/x86/acer-wmi.c 	if (out_obj->package.count != 4)
count             334 drivers/platform/x86/alienware-wmi.c 			const char *buf, size_t count)
count             347 drivers/platform/x86/alienware-wmi.c 	return ret ? ret : count;
count             409 drivers/platform/x86/alienware-wmi.c 				   const char *buf, size_t count)
count             423 drivers/platform/x86/alienware-wmi.c 	return count;
count             586 drivers/platform/x86/alienware-wmi.c 				  const char *buf, size_t count)
count             603 drivers/platform/x86/alienware-wmi.c 	return count;
count             724 drivers/platform/x86/alienware-wmi.c 				const char *buf, size_t count)
count             743 drivers/platform/x86/alienware-wmi.c 	return count;
count             372 drivers/platform/x86/asus-laptop.c 	params.count = 1;
count             587 drivers/platform/x86/asus-laptop.c 	params.count = 1;
count             921 drivers/platform/x86/asus-laptop.c 			      const char *buf, size_t count,
count             932 drivers/platform/x86/asus-laptop.c 	return count;
count             947 drivers/platform/x86/asus-laptop.c 			  const char *buf, size_t count)
count             962 drivers/platform/x86/asus-laptop.c 	return count;
count            1007 drivers/platform/x86/asus-laptop.c 			  const char *buf, size_t count)
count            1011 drivers/platform/x86/asus-laptop.c 	return sysfs_acpi_set(asus, buf, count, METHOD_WLAN);
count            1037 drivers/platform/x86/asus-laptop.c 			       size_t count)
count            1041 drivers/platform/x86/asus-laptop.c 	return sysfs_acpi_set(asus, buf, count, METHOD_BLUETOOTH);
count            1066 drivers/platform/x86/asus-laptop.c 			   const char *buf, size_t count)
count            1070 drivers/platform/x86/asus-laptop.c 	return sysfs_acpi_set(asus, buf, count, METHOD_WIMAX);
count            1095 drivers/platform/x86/asus-laptop.c 			  const char *buf, size_t count)
count            1099 drivers/platform/x86/asus-laptop.c 	return sysfs_acpi_set(asus, buf, count, METHOD_WWAN);
count            1122 drivers/platform/x86/asus-laptop.c 			     const char *buf, size_t count)
count            1132 drivers/platform/x86/asus-laptop.c 	return count;
count            1166 drivers/platform/x86/asus-laptop.c 			       size_t count)
count            1176 drivers/platform/x86/asus-laptop.c 	return count;
count            1196 drivers/platform/x86/asus-laptop.c 			      const char *buf, size_t count)
count            1209 drivers/platform/x86/asus-laptop.c 	return count;
count            1278 drivers/platform/x86/asus-laptop.c 			 const char *buf, size_t count)
count            1291 drivers/platform/x86/asus-laptop.c 	return count;
count            1528 drivers/platform/x86/asus-laptop.c 	u16 count;
count            1531 drivers/platform/x86/asus-laptop.c 	count = asus->event_count[event % 128]++;
count            1534 drivers/platform/x86/asus-laptop.c 					count);
count              63 drivers/platform/x86/asus-wireless.c 	p.count = 1;
count             383 drivers/platform/x86/asus-wmi.c 						  const char *buf, size_t count)
count             405 drivers/platform/x86/asus-wmi.c 	return count;
count            1363 drivers/platform/x86/asus-wmi.c 				     const char *buf, size_t count) {
count            1381 drivers/platform/x86/asus-wmi.c 	return count;
count            1441 drivers/platform/x86/asus-wmi.c 						  const char *buf, size_t count)
count            1490 drivers/platform/x86/asus-wmi.c 	return count;
count            1692 drivers/platform/x86/asus-wmi.c 				    const char *buf, size_t count)
count            2065 drivers/platform/x86/asus-wmi.c 			     const char *buf, size_t count)
count            2082 drivers/platform/x86/asus-wmi.c 	return count;
count            2106 drivers/platform/x86/asus-wmi.c 				     const char *buf, size_t count)	\
count            2110 drivers/platform/x86/asus-wmi.c 		return store_sys_wmi(asus, _cm, buf, count);		\
count            2127 drivers/platform/x86/asus-wmi.c 			   const char *buf, size_t count)
count            2142 drivers/platform/x86/asus-wmi.c 	return count;
count              87 drivers/platform/x86/classmate-laptop.c 	input.count = 4;
count             107 drivers/platform/x86/classmate-laptop.c 	input.count = 4;
count             126 drivers/platform/x86/classmate-laptop.c 	input.count = 4;
count             144 drivers/platform/x86/classmate-laptop.c 	input.count = 4;
count             168 drivers/platform/x86/classmate-laptop.c 	input.count = 4;
count             218 drivers/platform/x86/classmate-laptop.c 					       const char *buf, size_t count)
count             241 drivers/platform/x86/classmate-laptop.c 	return strnlen(buf, count);
count             267 drivers/platform/x86/classmate-laptop.c 					    const char *buf, size_t count)
count             290 drivers/platform/x86/classmate-laptop.c 	return strnlen(buf, count);
count             462 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             477 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             492 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             511 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             561 drivers/platform/x86/classmate-laptop.c 					    const char *buf, size_t count)
count             580 drivers/platform/x86/classmate-laptop.c 	return strnlen(buf, count);
count             688 drivers/platform/x86/classmate-laptop.c 	input.count = 1;
count             784 drivers/platform/x86/classmate-laptop.c 	input.count = 1;
count             804 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             856 drivers/platform/x86/classmate-laptop.c 	input.count = 1;
count             876 drivers/platform/x86/classmate-laptop.c 	input.count = 2;
count             376 drivers/platform/x86/compal-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)	\
count             383 drivers/platform/x86/compal-laptop.c 	return count;							\
count             402 drivers/platform/x86/compal-laptop.c 		struct device_attribute *attr, const char *buf, size_t count)
count             430 drivers/platform/x86/compal-laptop.c 	return count;
count             441 drivers/platform/x86/compal-laptop.c 		const char *buf, size_t count)
count             456 drivers/platform/x86/compal-laptop.c 		return count;
count             459 drivers/platform/x86/compal-laptop.c 	return count;
count             133 drivers/platform/x86/dcdbas.c 				       const char *buf, size_t count)
count             147 drivers/platform/x86/dcdbas.c 	return count;
count             152 drivers/platform/x86/dcdbas.c 			     char *buf, loff_t pos, size_t count)
count             157 drivers/platform/x86/dcdbas.c 	ret = memory_read_from_buffer(buf, count, &pos, smi_data_buf,
count             165 drivers/platform/x86/dcdbas.c 			      char *buf, loff_t pos, size_t count)
count             169 drivers/platform/x86/dcdbas.c 	if ((pos + count) > max_smi_data_buf_size)
count             174 drivers/platform/x86/dcdbas.c 	ret = smi_data_buf_realloc(pos + count);
count             178 drivers/platform/x86/dcdbas.c 	memcpy(smi_data_buf + pos, buf, count);
count             179 drivers/platform/x86/dcdbas.c 	ret = count;
count             194 drivers/platform/x86/dcdbas.c 					 const char *buf, size_t count)
count             206 drivers/platform/x86/dcdbas.c 	return count;
count             218 drivers/platform/x86/dcdbas.c 					   const char *buf, size_t count)
count             221 drivers/platform/x86/dcdbas.c 	return count;
count             233 drivers/platform/x86/dcdbas.c 					      const char *buf, size_t count)
count             236 drivers/platform/x86/dcdbas.c 	return count;
count             300 drivers/platform/x86/dcdbas.c 				 const char *buf, size_t count)
count             319 drivers/platform/x86/dcdbas.c 			ret = count;
count             338 drivers/platform/x86/dcdbas.c 			ret = count;
count             342 drivers/platform/x86/dcdbas.c 		ret = count;
count            1535 drivers/platform/x86/dell-laptop.c 				     const char *buf, size_t count)
count            1644 drivers/platform/x86/dell-laptop.c 	ret = count;
count            1701 drivers/platform/x86/dell-laptop.c 				      const char *buf, size_t count)
count            1736 drivers/platform/x86/dell-laptop.c 				ret = count;
count            1741 drivers/platform/x86/dell-laptop.c 				ret = count;
count            1787 drivers/platform/x86/dell-laptop.c 	ret = count;
count            1835 drivers/platform/x86/dell-laptop.c 					 const char *buf, size_t count)
count            1854 drivers/platform/x86/dell-laptop.c 		ret = count;
count            1886 drivers/platform/x86/dell-laptop.c 	ret = count;
count            1913 drivers/platform/x86/dell-laptop.c 					 const char *buf, size_t count)
count            1937 drivers/platform/x86/dell-laptop.c 	ret = count;
count              74 drivers/platform/x86/dell-rbtn.c 	input.count = 1;
count             314 drivers/platform/x86/dell-rbtn.c 	int *count = data;
count             317 drivers/platform/x86/dell-rbtn.c 		(*count)++;
count             342 drivers/platform/x86/dell-rbtn.c 	int count;
count             345 drivers/platform/x86/dell-rbtn.c 	count = 0;
count             346 drivers/platform/x86/dell-rbtn.c 	ret = driver_for_each_device(&rbtn_driver.drv, NULL, &count,
count             348 drivers/platform/x86/dell-rbtn.c 	if (ret || count == 0)
count             152 drivers/platform/x86/dell-smbios-wmi.c 	int count;
count             184 drivers/platform/x86/dell-smbios-wmi.c 	count = get_order(priv->req_buf_size);
count             185 drivers/platform/x86/dell-smbios-wmi.c 	priv->buf = (void *)__get_free_pages(GFP_KERNEL, count);
count             204 drivers/platform/x86/dell-smbios-wmi.c 	free_pages((unsigned long)priv->buf, count);
count             211 drivers/platform/x86/dell-smbios-wmi.c 	int count;
count             218 drivers/platform/x86/dell-smbios-wmi.c 	count = get_order(priv->req_buf_size);
count             219 drivers/platform/x86/dell-smbios-wmi.c 	free_pages((unsigned long)priv->buf, count);
count              78 drivers/platform/x86/dell-smo8800.c 				 size_t count, loff_t *pos)
count              87 drivers/platform/x86/dell-smo8800.c 	if (count < 1)
count             449 drivers/platform/x86/dell_rbu.c static ssize_t read_packet_data(char *buffer, loff_t pos, size_t count)
count             471 drivers/platform/x86/dell_rbu.c 	data_length = min(bytes_left, count);
count             476 drivers/platform/x86/dell_rbu.c 	if ((pos + count) > rbu_data.imagesize) {
count             481 drivers/platform/x86/dell_rbu.c 		retval = count;
count             487 drivers/platform/x86/dell_rbu.c static ssize_t read_rbu_mono_data(char *buffer, loff_t pos, size_t count)
count             499 drivers/platform/x86/dell_rbu.c 	return memory_read_from_buffer(buffer, count, &pos,
count             505 drivers/platform/x86/dell_rbu.c 			     char *buffer, loff_t pos, size_t count)
count             512 drivers/platform/x86/dell_rbu.c 		ret_count = read_rbu_mono_data(buffer, pos, count);
count             514 drivers/platform/x86/dell_rbu.c 		ret_count = read_packet_data(buffer, pos, count);
count             559 drivers/platform/x86/dell_rbu.c 				   char *buffer, loff_t pos, size_t count)
count             563 drivers/platform/x86/dell_rbu.c 		size = scnprintf(buffer, count, "%s\n", image_type);
count             569 drivers/platform/x86/dell_rbu.c 				    char *buffer, loff_t pos, size_t count)
count             571 drivers/platform/x86/dell_rbu.c 	int rc = count;
count             578 drivers/platform/x86/dell_rbu.c 	for (i = 0; i < count; ++i)
count             583 drivers/platform/x86/dell_rbu.c 	if (i == count)
count             584 drivers/platform/x86/dell_rbu.c 		buffer[count] = '\0';
count             630 drivers/platform/x86/dell_rbu.c 				    char *buffer, loff_t pos, size_t count)
count             635 drivers/platform/x86/dell_rbu.c 		size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize);
count             643 drivers/platform/x86/dell_rbu.c 				     char *buffer, loff_t pos, size_t count)
count             653 drivers/platform/x86/dell_rbu.c 	return count;
count             268 drivers/platform/x86/eeepc-laptop.c 			      const char *buf, size_t count)
count             279 drivers/platform/x86/eeepc-laptop.c 	return count;
count             303 drivers/platform/x86/eeepc-laptop.c 				     const char *buf, size_t count)	\
count             305 drivers/platform/x86/eeepc-laptop.c 		return store_sys_acpi(dev, _cm, buf, count);		\
count             370 drivers/platform/x86/eeepc-laptop.c 			   const char *buf, size_t count)
count             388 drivers/platform/x86/eeepc-laptop.c 	return count;
count             402 drivers/platform/x86/eeepc-laptop.c 			   const char *buf, size_t count)
count             416 drivers/platform/x86/eeepc-laptop.c 		return count;
count            1018 drivers/platform/x86/eeepc-laptop.c static ssize_t store_sys_hwmon(void (*set)(int), const char *buf, size_t count)
count            1026 drivers/platform/x86/eeepc-laptop.c 	return count;
count            1045 drivers/platform/x86/eeepc-laptop.c 				     const char *buf, size_t count)	\
count            1047 drivers/platform/x86/eeepc-laptop.c 		return store_sys_hwmon(_set, buf, count);		\
count            1213 drivers/platform/x86/eeepc-laptop.c 	u16 count;
count            1217 drivers/platform/x86/eeepc-laptop.c 	count = eeepc->event_count[event % 128]++;
count            1220 drivers/platform/x86/eeepc-laptop.c 					count);
count             414 drivers/platform/x86/hdaps.c 				     const char *buf, size_t count)
count             420 drivers/platform/x86/hdaps.c 	return count;
count             431 drivers/platform/x86/hdaps.c 				  const char *buf, size_t count)
count             442 drivers/platform/x86/hdaps.c 	return count;
count             137 drivers/platform/x86/hp-wmi.c 	u8 count;
count             392 drivers/platform/x86/hp-wmi.c 		if (num >= state.count ||
count             462 drivers/platform/x86/hp-wmi.c 			 const char *buf, size_t count)
count             470 drivers/platform/x86/hp-wmi.c 	return count;
count             474 drivers/platform/x86/hp-wmi.c 			      const char *buf, size_t count)
count             495 drivers/platform/x86/hp-wmi.c 	return count;
count             785 drivers/platform/x86/hp-wmi.c 	if (state.count > HPWMI_MAX_RFKILL2_DEVICES) {
count             790 drivers/platform/x86/hp-wmi.c 	for (i = 0; i < state.count; i++) {
count             819 drivers/platform/x86/hp-wmi.c 				i, state.count);
count              55 drivers/platform/x86/huawei-wmi.c 		.count = ARRAY_SIZE(args),
count              37 drivers/platform/x86/i2c-multi-instantiate.c 	int *count = data;
count              40 drivers/platform/x86/i2c-multi-instantiate.c 		*count = *count + 1;
count              48 drivers/platform/x86/i2c-multi-instantiate.c 	int count = 0;
count              51 drivers/platform/x86/i2c-multi-instantiate.c 	ret = acpi_dev_get_resources(adev, &r, i2c_multi_inst_count, &count);
count              56 drivers/platform/x86/i2c-multi-instantiate.c 	return count;
count              91 drivers/platform/x86/ibm_rtl.c 	int ret = 0, count = 0;
count             123 drivers/platform/x86/ibm_rtl.c 			if (count++ > 500) {
count             159 drivers/platform/x86/ibm_rtl.c                              size_t count)
count             163 drivers/platform/x86/ibm_rtl.c 	if (count < 1 || count > 2)
count             177 drivers/platform/x86/ibm_rtl.c 		ret = count;
count             146 drivers/platform/x86/ideapad-laptop.c 	params.count = 1;
count             168 drivers/platform/x86/ideapad-laptop.c 	params.count = 2;
count             353 drivers/platform/x86/ideapad-laptop.c 				 const char *buf, size_t count)
count             358 drivers/platform/x86/ideapad-laptop.c 	if (!count)
count             365 drivers/platform/x86/ideapad-laptop.c 	return count;
count             384 drivers/platform/x86/ideapad-laptop.c 				 const char *buf, size_t count)
count             389 drivers/platform/x86/ideapad-laptop.c 	if (!count)
count             398 drivers/platform/x86/ideapad-laptop.c 	return count;
count             418 drivers/platform/x86/ideapad-laptop.c 					     const char *buf, size_t count)
count             431 drivers/platform/x86/ideapad-laptop.c 	return count;
count             450 drivers/platform/x86/ideapad-laptop.c 				 const char *buf, size_t count)
count             465 drivers/platform/x86/ideapad-laptop.c 	return count;
count             488 drivers/platform/x86/ideapad-laptop.c 			     const char *buf, size_t count)
count             503 drivers/platform/x86/ideapad-laptop.c 	return count;
count             143 drivers/platform/x86/intel-hid.c 	argv4.package.count = 1;
count              31 drivers/platform/x86/intel-rst.c 					const char *buf, size_t count)
count              48 drivers/platform/x86/intel-rst.c 	return count;
count              75 drivers/platform/x86/intel-rst.c 				      const char *buf, size_t count)
count              92 drivers/platform/x86/intel-rst.c 	return count;
count              24 drivers/platform/x86/intel-wmi-thunderbolt.c 				 const char *buf, size_t count)
count              45 drivers/platform/x86/intel-wmi-thunderbolt.c 	return count;
count              57 drivers/platform/x86/intel_menlow.c 	arg_list.count = 1;
count              83 drivers/platform/x86/intel_menlow.c 	arg_list.count = 1;
count             113 drivers/platform/x86/intel_menlow.c 	arg_list.count = 1;
count             322 drivers/platform/x86/intel_menlow.c 			 const char *buf, size_t count, int idx)
count             337 drivers/platform/x86/intel_menlow.c 	return result ? result : count;
count             342 drivers/platform/x86/intel_menlow.c 			  const char *buf, size_t count)
count             344 drivers/platform/x86/intel_menlow.c 	return aux_store(dev, dev_attr, buf, count, 0);
count             349 drivers/platform/x86/intel_menlow.c 			  const char *buf, size_t count)
count             351 drivers/platform/x86/intel_menlow.c 	return aux_store(dev, dev_attr, buf, count, 1);
count             565 drivers/platform/x86/intel_pmc_core.c *userbuf, size_t count, loff_t *ppos)
count             572 drivers/platform/x86/intel_pmc_core.c 	buf_size = count < 64 ? count : 64;
count             591 drivers/platform/x86/intel_pmc_core.c 	return err == 0 ? count : err;
count             563 drivers/platform/x86/intel_pmc_ipc.c 					      const char *buf, size_t count)
count             580 drivers/platform/x86/intel_pmc_ipc.c 	return (ssize_t)count;
count             585 drivers/platform/x86/intel_pmc_ipc.c 					     const char *buf, size_t count)
count             603 drivers/platform/x86/intel_pmc_ipc.c 	return (ssize_t)count;
count             207 drivers/platform/x86/intel_scu_ipc.c static int pwr_reg_rdwr(u16 *addr, u8 *data, u32 count, u32 op, u32 id)
count             225 drivers/platform/x86/intel_scu_ipc.c 	for (nc = 0; nc < count; nc++, offset += 2) {
count             231 drivers/platform/x86/intel_scu_ipc.c 		for (nc = 0, offset = 0; nc < count; nc++, offset += 4)
count             233 drivers/platform/x86/intel_scu_ipc.c 		ipc_command(scu, (count * 2) << 16 | id << 12 | 0 << 8 | op);
count             235 drivers/platform/x86/intel_scu_ipc.c 		for (nc = 0; nc < count; nc++, offset += 1)
count             237 drivers/platform/x86/intel_scu_ipc.c 		for (nc = 0, offset = 0; nc < count; nc++, offset += 4)
count             239 drivers/platform/x86/intel_scu_ipc.c 		ipc_command(scu, (count * 3) << 16 | id << 12 | 0 << 8 | op);
count             251 drivers/platform/x86/intel_scu_ipc.c 		for (nc = 0; nc < count; nc++)
count              31 drivers/platform/x86/intel_scu_ipcutil.c 	u32     count;  /* No. of registers */
count              48 drivers/platform/x86/intel_scu_ipcutil.c 	unsigned int count = data->count;
count              50 drivers/platform/x86/intel_scu_ipcutil.c 	if (count == 0 || count == 3 || count > 4)
count              55 drivers/platform/x86/intel_scu_ipcutil.c 		return intel_scu_ipc_readv(data->addr, data->data, count);
count              57 drivers/platform/x86/intel_scu_ipcutil.c 		return intel_scu_ipc_writev(data->addr, data->data, count);
count             684 drivers/platform/x86/intel_telemetry_debugfs.c 					size_t count, loff_t *ppos)
count             689 drivers/platform/x86/intel_telemetry_debugfs.c 	if (kstrtou32_from_user(userbuf, count, 0, &verbosity))
count             695 drivers/platform/x86/intel_telemetry_debugfs.c 		count = err;
count             698 drivers/platform/x86/intel_telemetry_debugfs.c 	return count;
count             731 drivers/platform/x86/intel_telemetry_debugfs.c 					 size_t count, loff_t *ppos)
count             736 drivers/platform/x86/intel_telemetry_debugfs.c 	if (kstrtou32_from_user(userbuf, count, 0, &verbosity))
count             742 drivers/platform/x86/intel_telemetry_debugfs.c 		count = err;
count             745 drivers/platform/x86/intel_telemetry_debugfs.c 	return count;
count             105 drivers/platform/x86/lg-laptop.c 	arg.count = 1;
count             147 drivers/platform/x86/lg-laptop.c 	arg.count = 3;
count             185 drivers/platform/x86/lg-laptop.c 	arg.count = 3;
count             276 drivers/platform/x86/lg-laptop.c 			      const char *buffer, size_t count)
count             303 drivers/platform/x86/lg-laptop.c 	return count;
count             329 drivers/platform/x86/lg-laptop.c 				const char *buffer, size_t count)
count             344 drivers/platform/x86/lg-laptop.c 	return count;
count             371 drivers/platform/x86/lg-laptop.c 				 const char *buffer, size_t count)
count             386 drivers/platform/x86/lg-laptop.c 	return count;
count             413 drivers/platform/x86/lg-laptop.c 			     const char *buffer, size_t count)
count             428 drivers/platform/x86/lg-laptop.c 	return count;
count             454 drivers/platform/x86/lg-laptop.c 					const char *buffer, size_t count)
count             471 drivers/platform/x86/lg-laptop.c 		return count;
count             360 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_psu),
count             369 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_pwr),
count             378 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_fan),
count             387 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_asic_items_data),
count             425 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_msn21xx_pwr_items_data),
count             434 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_asic_items_data),
count             518 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_msn274x_psu_items_data),
count             527 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_ng_pwr_items_data),
count             536 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_msn274x_fan_items_data),
count             545 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_asic_items_data),
count             583 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_msn201x_pwr_items_data),
count             592 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_asic_items_data),
count             683 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_ng_psu_items_data),
count             692 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_ng_pwr_items_data),
count             701 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_ng_fan_items_data),
count             710 drivers/platform/x86/mlx-platform.c 		.count = ARRAY_SIZE(mlxplat_mlxcpld_default_asic_items_data),
count             203 drivers/platform/x86/msi-laptop.c static ssize_t set_device_state(const char *buf, size_t count, u8 mask)
count             232 drivers/platform/x86/msi-laptop.c 	return count;
count             326 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             328 drivers/platform/x86/msi-laptop.c 	return set_device_state(buf, count, MSI_STANDARD_EC_WLAN_MASK);
count             350 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             352 drivers/platform/x86/msi-laptop.c 	return set_device_state(buf, count, MSI_STANDARD_EC_BLUETOOTH_MASK);
count             373 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             375 drivers/platform/x86/msi-laptop.c 	return set_device_state(buf, count, MSI_STANDARD_EC_3G_MASK);
count             392 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             405 drivers/platform/x86/msi-laptop.c 	return count;
count             422 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             434 drivers/platform/x86/msi-laptop.c 	return count;
count             509 drivers/platform/x86/msi-laptop.c 	struct device_attribute *attr, const char *buf, size_t count)
count             521 drivers/platform/x86/msi-laptop.c 	return count;
count             228 drivers/platform/x86/panasonic-laptop.c 		.count   = ARRAY_SIZE(in_objs),
count             277 drivers/platform/x86/panasonic-laptop.c 	if (pcc->num_sifr < hkey->package.count) {
count             284 drivers/platform/x86/panasonic-laptop.c 	for (i = 0; i < hkey->package.count; i++) {
count             292 drivers/platform/x86/panasonic-laptop.c 	pcc->sinf[hkey->package.count] = -1;
count             399 drivers/platform/x86/panasonic-laptop.c 			  const char *buf, size_t count)
count             405 drivers/platform/x86/panasonic-laptop.c 	if (count && sscanf(buf, "%i", &val) == 1 &&
count             411 drivers/platform/x86/panasonic-laptop.c 	return count;
count             681 drivers/platform/x86/samsung-laptop.c 				size_t count)
count             688 drivers/platform/x86/samsung-laptop.c 	if (count < 1)
count             689 drivers/platform/x86/samsung-laptop.c 		return count;
count             705 drivers/platform/x86/samsung-laptop.c 	return count;
count             762 drivers/platform/x86/samsung-laptop.c 					const char *buf, size_t count)
count             767 drivers/platform/x86/samsung-laptop.c 	if (!count || kstrtoint(buf, 0, &value) != 0)
count             774 drivers/platform/x86/samsung-laptop.c 	return count;
count             831 drivers/platform/x86/samsung-laptop.c 			      const char *buf, size_t count)
count             836 drivers/platform/x86/samsung-laptop.c 	if (!count || kstrtoint(buf, 0, &value) != 0)
count             843 drivers/platform/x86/samsung-laptop.c 	return count;
count             896 drivers/platform/x86/samsung-laptop.c 				const char *buf, size_t count)
count             901 drivers/platform/x86/samsung-laptop.c 	if (!count || kstrtoint(buf, 0, &value) != 0)
count             908 drivers/platform/x86/samsung-laptop.c 	return count;
count             737 drivers/platform/x86/sony-laptop.c 		params.count = 1;
count             979 drivers/platform/x86/sony-laptop.c 			       const char *buffer, size_t count)
count             989 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            1008 drivers/platform/x86/sony-laptop.c 	return count;
count            1800 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            1805 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            1815 drivers/platform/x86/sony-laptop.c 	return count;
count            1821 drivers/platform/x86/sony-laptop.c 	ssize_t count = 0;
count            1822 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%d\n", kbdbl_ctl->mode);
count            1823 drivers/platform/x86/sony-laptop.c 	return count;
count            1844 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            1849 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            1859 drivers/platform/x86/sony-laptop.c 	return count;
count            1865 drivers/platform/x86/sony-laptop.c 	ssize_t count = 0;
count            1866 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%d\n", kbdbl_ctl->timeout);
count            1867 drivers/platform/x86/sony-laptop.c 	return count;
count            1982 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            1987 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2034 drivers/platform/x86/sony-laptop.c 	return count;
count            2067 drivers/platform/x86/sony-laptop.c 	ssize_t count = 0;
count            2073 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%d\n", health & 0xff);
count            2075 drivers/platform/x86/sony-laptop.c 	return count;
count            2200 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2203 drivers/platform/x86/sony-laptop.c 	size_t len = count;
count            2205 drivers/platform/x86/sony-laptop.c 	if (count == 0)
count            2219 drivers/platform/x86/sony-laptop.c 	return count;
count            2225 drivers/platform/x86/sony-laptop.c 	ssize_t count = 0;
count            2231 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%s\n", snc_thermal_profiles[mode]);
count            2233 drivers/platform/x86/sony-laptop.c 	return count;
count            2319 drivers/platform/x86/sony-laptop.c 					const char *buffer, size_t count)
count            2324 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2355 drivers/platform/x86/sony-laptop.c 	return count;
count            2551 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2556 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2565 drivers/platform/x86/sony-laptop.c 	return count;
count            2625 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2630 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2639 drivers/platform/x86/sony-laptop.c 	return count;
count            2691 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2696 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2705 drivers/platform/x86/sony-laptop.c 	return count;
count            2798 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2803 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2812 drivers/platform/x86/sony-laptop.c 	return count;
count            2919 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            2924 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2933 drivers/platform/x86/sony-laptop.c 	return count;
count            2977 drivers/platform/x86/sony-laptop.c 		struct device_attribute *attr, const char *buffer, size_t count)
count            2982 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            2995 drivers/platform/x86/sony-laptop.c 	return count;
count            3902 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            3905 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            3915 drivers/platform/x86/sony-laptop.c 	return count;
count            3921 drivers/platform/x86/sony-laptop.c 	ssize_t count;
count            3923 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%d\n", spic_dev.wwan_power);
count            3925 drivers/platform/x86/sony-laptop.c 	return count;
count            3941 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            3944 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            3954 drivers/platform/x86/sony-laptop.c 	return count;
count            3960 drivers/platform/x86/sony-laptop.c 	ssize_t count = 0;
count            3962 drivers/platform/x86/sony-laptop.c 	count = snprintf(buffer, PAGE_SIZE, "%d\n", spic_dev.bluetooth_power);
count            3964 drivers/platform/x86/sony-laptop.c 	return count;
count            3982 drivers/platform/x86/sony-laptop.c 		const char *buffer, size_t count)
count            3985 drivers/platform/x86/sony-laptop.c 	if (count > 31)
count            3994 drivers/platform/x86/sony-laptop.c 	return count;
count            4083 drivers/platform/x86/sony-laptop.c 				size_t count, loff_t *pos)
count            4097 drivers/platform/x86/sony-laptop.c 	while (ret < count &&
count             139 drivers/platform/x86/tc1100-wmi.c 	const char *buf, size_t count) \
count             145 drivers/platform/x86/tc1100-wmi.c 	return count; \
count             592 drivers/platform/x86/thinkpad_acpi.c 	params.count = 0;
count             600 drivers/platform/x86/thinkpad_acpi.c 			in_objs[params.count].integer.value = va_arg(ap, int);
count             601 drivers/platform/x86/thinkpad_acpi.c 			in_objs[params.count++].type = ACPI_TYPE_INTEGER;
count             879 drivers/platform/x86/thinkpad_acpi.c 			size_t count, loff_t *pos)
count             887 drivers/platform/x86/thinkpad_acpi.c 	if (count > PAGE_SIZE - 2)
count             890 drivers/platform/x86/thinkpad_acpi.c 	kernbuf = kmalloc(count + 2, GFP_KERNEL);
count             894 drivers/platform/x86/thinkpad_acpi.c 	if (copy_from_user(kernbuf, userbuf, count)) {
count             899 drivers/platform/x86/thinkpad_acpi.c 	kernbuf[count] = 0;
count             903 drivers/platform/x86/thinkpad_acpi.c 		ret = count;
count            1065 drivers/platform/x86/thinkpad_acpi.c 			unsigned int count)
count            1069 drivers/platform/x86/thinkpad_acpi.c 	for (i = 0; i < count; i++) {
count            1367 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            1387 drivers/platform/x86/thinkpad_acpi.c 	return (res < 0) ? res : count;
count            1465 drivers/platform/x86/thinkpad_acpi.c 				 size_t count)
count            1474 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            1497 drivers/platform/x86/thinkpad_acpi.c 				    size_t count)
count            1509 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            1520 drivers/platform/x86/thinkpad_acpi.c 					 const char *buf, size_t count)
count            1529 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            1540 drivers/platform/x86/thinkpad_acpi.c 				    size_t count)
count            1549 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            1560 drivers/platform/x86/thinkpad_acpi.c 				   size_t count)
count            1569 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            2767 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            2780 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            2795 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            2816 drivers/platform/x86/thinkpad_acpi.c 	return (res) ? res : count;
count            2889 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            2925 drivers/platform/x86/thinkpad_acpi.c 	return (rc < 0) ? rc : count;
count            2940 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            2957 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            3073 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            3082 drivers/platform/x86/thinkpad_acpi.c 	return (res < 0) ? res : count;
count            4441 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            4444 drivers/platform/x86/thinkpad_acpi.c 				attr, buf, count);
count            4697 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            4700 drivers/platform/x86/thinkpad_acpi.c 			attr, buf, count);
count            5687 drivers/platform/x86/thinkpad_acpi.c 			    const char *buf, size_t count)
count            5696 drivers/platform/x86/thinkpad_acpi.c 	return (res) ? res : count;
count            6875 drivers/platform/x86/thinkpad_acpi.c 			rc = obj->package.count;
count            7504 drivers/platform/x86/thinkpad_acpi.c 	uinfo->count = 1;
count            8591 drivers/platform/x86/thinkpad_acpi.c 				     const char *buf, size_t count)
count            8627 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            8657 drivers/platform/x86/thinkpad_acpi.c 			      const char *buf, size_t count)
count            8688 drivers/platform/x86/thinkpad_acpi.c 	return (rc) ? rc : count;
count            8734 drivers/platform/x86/thinkpad_acpi.c 				  size_t count)
count            8749 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            9521 drivers/platform/x86/thinkpad_acpi.c 				    const char *buf, size_t count)
count            9559 drivers/platform/x86/thinkpad_acpi.c 		return count;
count            9579 drivers/platform/x86/thinkpad_acpi.c 		return count;
count            9584 drivers/platform/x86/thinkpad_acpi.c 	return count;
count            9630 drivers/platform/x86/thinkpad_acpi.c 				const char *buf, size_t count)
count            9632 drivers/platform/x86/thinkpad_acpi.c 	return tpacpi_battery_store(THRESHOLD_START, dev, buf, count);
count            9637 drivers/platform/x86/thinkpad_acpi.c 				const char *buf, size_t count)
count            9639 drivers/platform/x86/thinkpad_acpi.c 	return tpacpi_battery_store(THRESHOLD_STOP, dev, buf, count);
count              54 drivers/platform/x86/topstar-laptop.c 	params.count = 1;
count             319 drivers/platform/x86/toshiba_acpi.c 	params.count = TCI_WORDS;
count             332 drivers/platform/x86/toshiba_acpi.c 	if ((status == AE_OK) && (out_objs->package.count <= TCI_WORDS)) {
count             333 drivers/platform/x86/toshiba_acpi.c 		for (i = 0; i < out_objs->package.count; ++i)
count            1411 drivers/platform/x86/toshiba_acpi.c 			      size_t count, loff_t *pos)
count            1419 drivers/platform/x86/toshiba_acpi.c 	len = min(count, sizeof(cmd) - 1);
count            1432 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1483 drivers/platform/x86/toshiba_acpi.c 				size_t count, loff_t *pos)
count            1489 drivers/platform/x86/toshiba_acpi.c 	int remain = count;
count            1494 drivers/platform/x86/toshiba_acpi.c 	cmd = memdup_user_nul(buf, count);
count            1539 drivers/platform/x86/toshiba_acpi.c 	return ret ? -EIO : count;
count            1596 drivers/platform/x86/toshiba_acpi.c 			      size_t count, loff_t *pos)
count            1603 drivers/platform/x86/toshiba_acpi.c 	len = min(count, sizeof(cmd) - 1);
count            1617 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1645 drivers/platform/x86/toshiba_acpi.c 			       size_t count, loff_t *pos)
count            1652 drivers/platform/x86/toshiba_acpi.c 	len = min(count, sizeof(cmd) - 1);
count            1662 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1741 drivers/platform/x86/toshiba_acpi.c 			 const char *buf, size_t count)
count            1758 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1778 drivers/platform/x86/toshiba_acpi.c 					const char *buf, size_t count)
count            1849 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1892 drivers/platform/x86/toshiba_acpi.c 					   const char *buf, size_t count)
count            1930 drivers/platform/x86/toshiba_acpi.c 	return count;
count            1949 drivers/platform/x86/toshiba_acpi.c 			      const char *buf, size_t count)
count            1966 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2000 drivers/platform/x86/toshiba_acpi.c 				      const char *buf, size_t count)
count            2035 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2064 drivers/platform/x86/toshiba_acpi.c 						const char *buf, size_t count)
count            2097 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2117 drivers/platform/x86/toshiba_acpi.c 				      const char *buf, size_t count)
count            2133 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2153 drivers/platform/x86/toshiba_acpi.c 				     const char *buf, size_t count)
count            2169 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2189 drivers/platform/x86/toshiba_acpi.c 				       const char *buf, size_t count)
count            2212 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2232 drivers/platform/x86/toshiba_acpi.c 				    const char *buf, size_t count)
count            2250 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2270 drivers/platform/x86/toshiba_acpi.c 			       const char *buf, size_t count)
count            2293 drivers/platform/x86/toshiba_acpi.c 	return count;
count            2313 drivers/platform/x86/toshiba_acpi.c 				    const char *buf, size_t count)
count            2341 drivers/platform/x86/toshiba_acpi.c 	return count;
count              68 drivers/platform/x86/toshiba_haps.c 				      const char *buf, size_t count)
count              91 drivers/platform/x86/toshiba_haps.c 	return count;
count              97 drivers/platform/x86/toshiba_haps.c 				      const char *buf, size_t count)
count             115 drivers/platform/x86/toshiba_haps.c 	return count;
count              31 drivers/platform/x86/wmi-bmof.c 	 char *buf, loff_t off, size_t count)
count              42 drivers/platform/x86/wmi-bmof.c 	if (count > priv->bmofdata->buffer.length - off)
count              43 drivers/platform/x86/wmi-bmof.c 		count = priv->bmofdata->buffer.length - off;
count              45 drivers/platform/x86/wmi-bmof.c 	memcpy(buf, priv->bmofdata->buffer.pointer + off, count);
count              46 drivers/platform/x86/wmi-bmof.c 	return count;
count             272 drivers/platform/x86/wmi.c 	input.count = 2;
count             280 drivers/platform/x86/wmi.c 		input.count = 3;
count             323 drivers/platform/x86/wmi.c 	input.count = 1;
count             329 drivers/platform/x86/wmi.c 		input.count = 0;
count             431 drivers/platform/x86/wmi.c 	input.count = 2;
count             502 drivers/platform/x86/wmi.c 		pr_cont("PACKAGE_TYPE - %d elements\n", obj->package.count);
count             611 drivers/platform/x86/wmi.c 	input.count = 1;
count            1306 drivers/platform/x86/wmi.c 		input.count = 1;
count             337 drivers/pnp/interface.c 			       size_t count)
count             436 drivers/pnp/interface.c 	return count;
count             373 drivers/pnp/isapnp/core.c static void __init isapnp_skip_bytes(int count)
count             375 drivers/pnp/isapnp/core.c 	isapnp_peek(NULL, count);
count             180 drivers/pnp/pnpbios/proc.c 				  size_t count, loff_t *pos)
count             186 drivers/pnp/pnpbios/proc.c 	int ret = count;
count             195 drivers/pnp/pnpbios/proc.c 	if (count != node->size - sizeof(struct pnp_bios_node)) {
count             199 drivers/pnp/pnpbios/proc.c 	if (copy_from_user(node->data, buf, count)) {
count             207 drivers/pnp/pnpbios/proc.c 	ret = count;
count              60 drivers/power/reset/vexpress-poweroff.c 		struct device_attribute *attr, const char *buf, size_t count)
count              68 drivers/power/reset/vexpress-poweroff.c 	return err ? err : count;
count             370 drivers/power/supply/88pm860x_battery.c 	int count;
count             387 drivers/power/supply/88pm860x_battery.c 	count = ARRAY_SIZE(array_soc);
count             388 drivers/power/supply/88pm860x_battery.c 	if (ocv < array_soc[count - 1][0]) {
count             393 drivers/power/supply/88pm860x_battery.c 	for (i = 0; i < count; i++) {
count             669 drivers/power/supply/88pm860x_charger.c 	int count;
count             677 drivers/power/supply/88pm860x_charger.c 	count = pdev->num_resources;
count             678 drivers/power/supply/88pm860x_charger.c 	for (i = 0, j = 0; i < count; i++) {
count            2433 drivers/power/supply/ab8500_fg.c 				 size_t count)
count            2443 drivers/power/supply/ab8500_fg.c 	return count;
count            2452 drivers/power/supply/ab8500_fg.c 				 size_t count)
count            2464 drivers/power/supply/ab8500_fg.c 	return count;
count            2489 drivers/power/supply/ab8500_fg.c 		size_t count)
count            2500 drivers/power/supply/ab8500_fg.c 	return entry->store(di, buf, count);
count            2575 drivers/power/supply/ab8500_fg.c 				  const char *buf, size_t count)
count            2597 drivers/power/supply/ab8500_fg.c 	return count;
count            2626 drivers/power/supply/ab8500_fg.c 				  const char *buf, size_t count)
count            2648 drivers/power/supply/ab8500_fg.c 	return count;
count            2676 drivers/power/supply/ab8500_fg.c 					     const char *buf, size_t count)
count            2698 drivers/power/supply/ab8500_fg.c 	return count;
count            2771 drivers/power/supply/ab8500_fg.c 				     const char *buf, size_t count)
count            2793 drivers/power/supply/ab8500_fg.c 	return count;
count            2845 drivers/power/supply/ab8500_fg.c 					      const char *buf, size_t count)
count            2867 drivers/power/supply/ab8500_fg.c 	return count;
count            1074 drivers/power/supply/bq2415x_charger.c 				       size_t count)
count            1089 drivers/power/supply/bq2415x_charger.c 	return count;
count            1119 drivers/power/supply/bq2415x_charger.c 				      size_t count)
count            1155 drivers/power/supply/bq2415x_charger.c 			return count;
count            1165 drivers/power/supply/bq2415x_charger.c 	return count;
count            1236 drivers/power/supply/bq2415x_charger.c 					   size_t count)
count            1253 drivers/power/supply/bq2415x_charger.c 	return count;
count            1289 drivers/power/supply/bq2415x_charger.c 				       size_t count)
count            1314 drivers/power/supply/bq2415x_charger.c 	return count;
count            1348 drivers/power/supply/bq2415x_charger.c 					size_t count)
count            1377 drivers/power/supply/bq2415x_charger.c 	return count;
count             349 drivers/power/supply/bq24190_charger.c 		struct device_attribute *attr, const char *buf, size_t count);
count             442 drivers/power/supply/bq24190_charger.c 	ssize_t count;
count             456 drivers/power/supply/bq24190_charger.c 		count = ret;
count             458 drivers/power/supply/bq24190_charger.c 		count = scnprintf(buf, PAGE_SIZE, "%hhx\n", v);
count             463 drivers/power/supply/bq24190_charger.c 	return count;
count             467 drivers/power/supply/bq24190_charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             489 drivers/power/supply/bq24190_charger.c 		count = ret;
count             494 drivers/power/supply/bq24190_charger.c 	return count;
count             809 drivers/power/supply/bq24257_charger.c 					size_t count)
count             829 drivers/power/supply/bq24257_charger.c 	return count;
count            1299 drivers/power/supply/charger-manager.c 				size_t count)
count            1319 drivers/power/supply/charger-manager.c 		return count;
count            1348 drivers/power/supply/charger-manager.c 	return count;
count             119 drivers/power/supply/ds2760_battery.c static int w1_ds2760_io(struct device *dev, char *buf, int addr, size_t count,
count             130 drivers/power/supply/ds2760_battery.c 		count = 0;
count             133 drivers/power/supply/ds2760_battery.c 	if (addr + count > DS2760_DATA_SIZE)
count             134 drivers/power/supply/ds2760_battery.c 		count = DS2760_DATA_SIZE - addr;
count             140 drivers/power/supply/ds2760_battery.c 			count = w1_read_block(sl->master, buf, count);
count             144 drivers/power/supply/ds2760_battery.c 			w1_write_block(sl->master, buf, count);
count             152 drivers/power/supply/ds2760_battery.c 	return count;
count             157 drivers/power/supply/ds2760_battery.c 			  size_t count)
count             159 drivers/power/supply/ds2760_battery.c 	return w1_ds2760_io(dev, buf, addr, count, 0);
count             164 drivers/power/supply/ds2760_battery.c 			   int addr, size_t count)
count             166 drivers/power/supply/ds2760_battery.c 	return w1_ds2760_io(dev, buf, addr, count, 1);
count             199 drivers/power/supply/ds2760_battery.c 			     loff_t off, size_t count)
count             202 drivers/power/supply/ds2760_battery.c 	return w1_ds2760_read(dev, buf, off, count);
count             265 drivers/power/supply/ds2760_battery.c 	int ret, i, start, count, scale[5];
count             275 drivers/power/supply/ds2760_battery.c 		count = DS2760_DATA_SIZE;
count             278 drivers/power/supply/ds2760_battery.c 		count = DS2760_TEMP_LSB - start + 1;
count             281 drivers/power/supply/ds2760_battery.c 	ret = w1_ds2760_read(di->dev, di->raw + start, start, count);
count             282 drivers/power/supply/ds2760_battery.c 	if (ret != count) {
count              56 drivers/power/supply/ds2780_battery.c 	char *buf, int addr, size_t count, int io)
count              58 drivers/power/supply/ds2780_battery.c 	return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io);
count              83 drivers/power/supply/ds2780_battery.c 	u8 *val, int addr, size_t count)
count              85 drivers/power/supply/ds2780_battery.c 	return ds2780_battery_io(dev_info, val, addr, count, 0);
count              89 drivers/power/supply/ds2780_battery.c 	int addr, size_t count)
count              91 drivers/power/supply/ds2780_battery.c 	return ds2780_battery_io(dev_info, val, addr, count, 1);
count             464 drivers/power/supply/ds2780_battery.c 	size_t count)
count             494 drivers/power/supply/ds2780_battery.c 	return count;
count             517 drivers/power/supply/ds2780_battery.c 	size_t count)
count             532 drivers/power/supply/ds2780_battery.c 	return count;
count             554 drivers/power/supply/ds2780_battery.c 	size_t count)
count             575 drivers/power/supply/ds2780_battery.c 	return count;
count             598 drivers/power/supply/ds2780_battery.c 	size_t count)
count             619 drivers/power/supply/ds2780_battery.c 	return count;
count             625 drivers/power/supply/ds2780_battery.c 				char *buf, loff_t off, size_t count)
count             632 drivers/power/supply/ds2780_battery.c 				DS2780_EEPROM_BLOCK1_START + off, count);
count             638 drivers/power/supply/ds2780_battery.c 				char *buf, loff_t off, size_t count)
count             646 drivers/power/supply/ds2780_battery.c 				DS2780_EEPROM_BLOCK1_START + off, count);
count             654 drivers/power/supply/ds2780_battery.c 	return count;
count             670 drivers/power/supply/ds2780_battery.c 				char *buf, loff_t off, size_t count)
count             677 drivers/power/supply/ds2780_battery.c 				DS2780_EEPROM_BLOCK0_START + off, count);
count             683 drivers/power/supply/ds2780_battery.c 				char *buf, loff_t off, size_t count)
count             691 drivers/power/supply/ds2780_battery.c 				DS2780_EEPROM_BLOCK0_START + off, count);
count             699 drivers/power/supply/ds2780_battery.c 	return count;
count              54 drivers/power/supply/ds2781_battery.c 	char *buf, int addr, size_t count, int io)
count              56 drivers/power/supply/ds2781_battery.c 	return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io);
count              60 drivers/power/supply/ds2781_battery.c 		int addr, size_t count)
count              62 drivers/power/supply/ds2781_battery.c 	return ds2781_battery_io(dev_info, buf, addr, count, 0);
count              87 drivers/power/supply/ds2781_battery.c 	u8 *val, int addr, size_t count)
count              89 drivers/power/supply/ds2781_battery.c 	return ds2781_battery_io(dev_info, val, addr, count, 0);
count              93 drivers/power/supply/ds2781_battery.c 	int addr, size_t count)
count              95 drivers/power/supply/ds2781_battery.c 	return ds2781_battery_io(dev_info, val, addr, count, 1);
count             466 drivers/power/supply/ds2781_battery.c 	size_t count)
count             496 drivers/power/supply/ds2781_battery.c 	return count;
count             519 drivers/power/supply/ds2781_battery.c 	size_t count)
count             534 drivers/power/supply/ds2781_battery.c 	return count;
count             556 drivers/power/supply/ds2781_battery.c 	size_t count)
count             577 drivers/power/supply/ds2781_battery.c 	return count;
count             600 drivers/power/supply/ds2781_battery.c 	size_t count)
count             621 drivers/power/supply/ds2781_battery.c 	return count;
count             627 drivers/power/supply/ds2781_battery.c 				char *buf, loff_t off, size_t count)
count             634 drivers/power/supply/ds2781_battery.c 				DS2781_EEPROM_BLOCK1_START + off, count);
count             640 drivers/power/supply/ds2781_battery.c 				char *buf, loff_t off, size_t count)
count             648 drivers/power/supply/ds2781_battery.c 				DS2781_EEPROM_BLOCK1_START + off, count);
count             656 drivers/power/supply/ds2781_battery.c 	return count;
count             672 drivers/power/supply/ds2781_battery.c 				char *buf, loff_t off, size_t count)
count             679 drivers/power/supply/ds2781_battery.c 				DS2781_EEPROM_BLOCK0_START + off, count);
count             686 drivers/power/supply/ds2781_battery.c 				char *buf, loff_t off, size_t count)
count             694 drivers/power/supply/ds2781_battery.c 				DS2781_EEPROM_BLOCK0_START + off, count);
count             702 drivers/power/supply/ds2781_battery.c 	return count;
count             539 drivers/power/supply/max14577_charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             553 drivers/power/supply/max14577_charger.c 	return count;
count             256 drivers/power/supply/max77693_charger.c 		struct device_attribute *attr, const char *buf, size_t count,
count             271 drivers/power/supply/max77693_charger.c 	return count;
count             334 drivers/power/supply/max77693_charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             336 drivers/power/supply/max77693_charger.c 	return device_attr_store(dev, attr, buf, count,
count             385 drivers/power/supply/max77693_charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             387 drivers/power/supply/max77693_charger.c 	return device_attr_store(dev, attr, buf, count,
count             428 drivers/power/supply/max77693_charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             430 drivers/power/supply/max77693_charger.c 	return device_attr_store(dev, attr, buf, count,
count             530 drivers/power/supply/olpc_battery.c 		struct bin_attribute *attr, char *buf, loff_t off, size_t count)
count             536 drivers/power/supply/olpc_battery.c 	for (i = 0; i < count; i++) {
count             547 drivers/power/supply/olpc_battery.c 	return count;
count             181 drivers/power/supply/pcf50633-charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             193 drivers/power/supply/pcf50633-charger.c 	return count;
count             214 drivers/power/supply/pcf50633-charger.c 		struct device_attribute *attr, const char *buf, size_t count)
count             233 drivers/power/supply/pcf50633-charger.c 	return count;
count             308 drivers/power/supply/power_supply_core.c 	unsigned int count;
count             318 drivers/power/supply/power_supply_core.c 		data->count++;
count             335 drivers/power/supply/power_supply_core.c 	dev_dbg(&psy->dev, "%s count %u err %d\n", __func__, data.count, error);
count             337 drivers/power/supply/power_supply_core.c 	if (data.count == 0)
count             348 drivers/power/supply/power_supply_core.c 	unsigned int *count = data;
count             350 drivers/power/supply/power_supply_core.c 	(*count)++;
count             362 drivers/power/supply/power_supply_core.c 	unsigned int count = 0;
count             364 drivers/power/supply/power_supply_core.c 	error = class_for_each_device(power_supply_class, NULL, &count,
count             371 drivers/power/supply/power_supply_core.c 	if (count == 0)
count              87 drivers/power/supply/power_supply_sysfs.c 	ssize_t count = 0;
count              95 drivers/power/supply/power_supply_sysfs.c 			count += sprintf(buf + count, "[%s] ",
count              99 drivers/power/supply/power_supply_sysfs.c 			count += sprintf(buf + count, "%s ",
count             109 drivers/power/supply/power_supply_sysfs.c 	if (count)
count             110 drivers/power/supply/power_supply_sysfs.c 		buf[count - 1] = '\n';
count             112 drivers/power/supply/power_supply_sysfs.c 	return count;
count             186 drivers/power/supply/power_supply_sysfs.c 					   const char *buf, size_t count) {
count             235 drivers/power/supply/power_supply_sysfs.c 	return count;
count             593 drivers/power/supply/sbs-battery.c 	int count;
count             594 drivers/power/supply/sbs-battery.c 	for (count = 0; count < ARRAY_SIZE(sbs_data); count++)
count             595 drivers/power/supply/sbs-battery.c 		if (psp == sbs_data[count].psp)
count             596 drivers/power/supply/sbs-battery.c 			return count;
count             238 drivers/power/supply/wm831x_power.c 				       struct chg_map *map, int count, int val,
count             244 drivers/power/supply/wm831x_power.c 	for (i = 0; i < count; i++)
count             247 drivers/power/supply/wm831x_power.c 	if (i == count) {
count              39 drivers/powercap/powercap_sys.c 				const char *buf, size_t count) \
count              49 drivers/powercap/powercap_sys.c 		return count; \
count              52 drivers/powercap/powercap_sys.c 			return count; \
count              87 drivers/powercap/powercap_sys.c 				const char *buf, size_t count) \
count             105 drivers/powercap/powercap_sys.c 			return count; \
count             289 drivers/powercap/powercap_sys.c 	int count;
count             298 drivers/powercap/powercap_sys.c 	count = power_zone->zone_attr_count;
count             304 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             306 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             309 drivers/powercap/powercap_sys.c 			power_zone->zone_dev_attrs[count++] =
count             312 drivers/powercap/powercap_sys.c 			power_zone->zone_dev_attrs[count++] =
count             315 drivers/powercap/powercap_sys.c 			power_zone->zone_dev_attrs[count++] =
count             318 drivers/powercap/powercap_sys.c 			power_zone->zone_dev_attrs[count++] =
count             321 drivers/powercap/powercap_sys.c 			power_zone->zone_dev_attrs[count++] =
count             324 drivers/powercap/powercap_sys.c 	power_zone->zone_attr_count = count;
count             362 drivers/powercap/powercap_sys.c 	int count = 0;
count             364 drivers/powercap/powercap_sys.c 	power_zone->zone_dev_attrs[count++] = &dev_attr_name.attr;
count             366 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             373 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             377 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             380 drivers/powercap/powercap_sys.c 		power_zone->zone_dev_attrs[count++] =
count             382 drivers/powercap/powercap_sys.c 	power_zone->zone_dev_attrs[count] = NULL;
count             383 drivers/powercap/powercap_sys.c 	power_zone->zone_attr_count = count;
count             917 drivers/ps3/ps3-lpm.c int ps3_lpm_copy_tb(unsigned long offset, void *buf, unsigned long count,
count             930 drivers/ps3/ps3-lpm.c 	count = min_t(u64, count, lpm_priv->tb_count - offset);
count             932 drivers/ps3/ps3-lpm.c 	while (*bytes_copied < count) {
count             933 drivers/ps3/ps3-lpm.c 		const unsigned long request = count - *bytes_copied;
count             973 drivers/ps3/ps3-lpm.c 			    unsigned long count, unsigned long *bytes_copied)
count             985 drivers/ps3/ps3-lpm.c 	count = min_t(u64, count, lpm_priv->tb_count - offset);
count             987 drivers/ps3/ps3-lpm.c 	while (*bytes_copied < count) {
count             988 drivers/ps3/ps3-lpm.c 		const unsigned long request = count - *bytes_copied;
count              38 drivers/ptp/ptp_sysfs.c 				  const char *buf, size_t count)
count              56 drivers/ptp/ptp_sysfs.c 	return count;
count              98 drivers/ptp/ptp_sysfs.c 			    const char *buf, size_t count)
count             118 drivers/ptp/ptp_sysfs.c 	return count;
count             126 drivers/ptp/ptp_sysfs.c 				const char *buf, size_t count)
count             145 drivers/ptp/ptp_sysfs.c 	return count;
count             234 drivers/ptp/ptp_sysfs.c 			     const char *buf, size_t count)
count             255 drivers/ptp/ptp_sysfs.c 	return count;
count              37 drivers/pwm/core.c static int alloc_pwms(int pwm, unsigned int count)
count              49 drivers/pwm/core.c 					   count, 0);
count              54 drivers/pwm/core.c 	if (start + count > MAX_PWMS)
count             202 drivers/pwm/pwm-lp3943.c 	int i, err, proplen, count = 0;
count             243 drivers/pwm/pwm-lp3943.c 		count++;
count             246 drivers/pwm/pwm-lp3943.c 	if (count == 0)
count             296 drivers/pwm/pwm-rockchip.c 	int ret, count;
count             323 drivers/pwm/pwm-rockchip.c 	count = of_count_phandle_with_args(pdev->dev.of_node,
count             325 drivers/pwm/pwm-rockchip.c 	if (count == 2)
count             974 drivers/rapidio/devices/rio_mport_cdev.c 	if (transaction.count != 1) /* only single transfer for now */
count             981 drivers/rapidio/devices/rio_mport_cdev.c 	transfer = vmalloc(array_size(sizeof(*transfer), transaction.count));
count             987 drivers/rapidio/devices/rio_mport_cdev.c 				    transaction.count * sizeof(*transfer)))) {
count             994 drivers/rapidio/devices/rio_mport_cdev.c 	for (i = 0; i < transaction.count && ret == 0; i++)
count            1000 drivers/rapidio/devices/rio_mport_cdev.c 				  transaction.count * sizeof(*transfer))))
count            2262 drivers/rapidio/devices/rio_mport_cdev.c static ssize_t mport_read(struct file *filp, char __user *buf, size_t count,
count            2269 drivers/rapidio/devices/rio_mport_cdev.c 	if (!count)
count            2276 drivers/rapidio/devices/rio_mport_cdev.c 	if (count % sizeof(struct rio_event))
count            2284 drivers/rapidio/devices/rio_mport_cdev.c 	while (ret < count) {
count            2296 drivers/rapidio/devices/rio_mport_cdev.c 			 size_t count, loff_t *ppos)
count            2303 drivers/rapidio/devices/rio_mport_cdev.c 	if (!count)
count            2306 drivers/rapidio/devices/rio_mport_cdev.c 	if (count % sizeof(event))
count            2310 drivers/rapidio/devices/rio_mport_cdev.c 	while ((count - len) >= (int)sizeof(event)) {
count             118 drivers/rapidio/rio-sysfs.c 		char *buf, loff_t off, size_t count)
count             131 drivers/rapidio/rio-sysfs.c 	if (off + count > size) {
count             133 drivers/rapidio/rio-sysfs.c 		count = size;
count             135 drivers/rapidio/rio-sysfs.c 		size = count;
count             183 drivers/rapidio/rio-sysfs.c 	return count;
count             189 drivers/rapidio/rio-sysfs.c 		 char *buf, loff_t off, size_t count)
count             192 drivers/rapidio/rio-sysfs.c 	unsigned int size = count;
count             198 drivers/rapidio/rio-sysfs.c 	if (off + count > RIO_MAINT_SPACE_SZ) {
count             200 drivers/rapidio/rio-sysfs.c 		count = size;
count             241 drivers/rapidio/rio-sysfs.c 	return count;
count             289 drivers/rapidio/rio-sysfs.c static ssize_t scan_store(struct bus_type *bus, const char *buf, size_t count)
count             308 drivers/rapidio/rio-sysfs.c 		rc = count;
count             169 drivers/rapidio/rio_cm.c 	int	count;
count             555 drivers/rapidio/rio_cm.c 	if (ch->rx_ring.count == RIOCM_RX_RING_SIZE) {
count             566 drivers/rapidio/rio_cm.c 	ch->rx_ring.count++;
count             903 drivers/rapidio/rio_cm.c 	ch->rx_ring.count--;
count            1322 drivers/rapidio/rio_cm.c 	ch->rx_ring.count = 0;
count            1380 drivers/rapidio/rio_cm.c 	if (ch->rx_ring.count)
count            1381 drivers/rapidio/rio_cm.c 		for (i = 0; i < RIOCM_RX_RING_SIZE && ch->rx_ring.count; i++) {
count            1384 drivers/rapidio/rio_cm.c 				ch->rx_ring.count--;
count            1533 drivers/rapidio/rio_cm.c 	u32 count = 0;
count            1545 drivers/rapidio/rio_cm.c 			count = cm->npeers;
count            1547 drivers/rapidio/rio_cm.c 			if (copy_to_user(arg, &count, sizeof(u32)))
count            1623 drivers/rapidio/rio_cm.c 	int count = 0;
count            1637 drivers/rapidio/rio_cm.c 		if (count++ < entries) {
count            1645 drivers/rapidio/rio_cm.c 	*((u32 *)buf) = count; /* report a real number of entries */
count            1646 drivers/rapidio/rio_cm.c 	if (copy_to_user(arg, buf, sizeof(u32) * (count + 1)))
count             316 drivers/ras/cec.c 	int count, ret = 0;
count             351 drivers/ras/cec.c 	count = COUNT(ca->array[to]);
count             352 drivers/ras/cec.c 	if (count >= action_threshold) {
count             485 drivers/ras/cec.c 	struct dentry *d, *pfn, *decay, *count, *array;
count             500 drivers/ras/cec.c 	count = debugfs_create_file("action_threshold", S_IRUSR | S_IWUSR, d,
count             502 drivers/ras/cec.c 	if (!count) {
count             235 drivers/regulator/88pm800-regulator.c 		unsigned int count = 0;
count             240 drivers/regulator/88pm800-regulator.c 				count++;
count             242 drivers/regulator/88pm800-regulator.c 		if (count != pdata->num_regulators)
count             173 drivers/regulator/as3711-regulator.c 				struct device_node **of_node, const int count)
count             187 drivers/regulator/as3711-regulator.c 				 as3711_regulator_matches, count);
count             194 drivers/regulator/as3711-regulator.c 	for (i = 0, match = as3711_regulator_matches; i < count; i++, match++)
count             177 drivers/regulator/bd9571mwv-regulator.c 				 const char *buf, size_t count)
count             183 drivers/regulator/bd9571mwv-regulator.c 	if (!count)
count             191 drivers/regulator/bd9571mwv-regulator.c 		return count;
count             209 drivers/regulator/bd9571mwv-regulator.c 	return count;
count            1044 drivers/regulator/core.c 	int count = 0;
count            1049 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count, "%d mV ",
count            1052 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count,
count            1062 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count,
count            1067 drivers/regulator/core.c 		count += scnprintf(buf + count, len - count, "%dmV offset ",
count            1072 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count, "%d mA ",
count            1075 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count,
count            1085 drivers/regulator/core.c 			count += scnprintf(buf + count, len - count,
count            1090 drivers/regulator/core.c 		count += scnprintf(buf + count, len - count, "fast ");
count            1092 drivers/regulator/core.c 		count += scnprintf(buf + count, len - count, "normal ");
count            1094 drivers/regulator/core.c 		count += scnprintf(buf + count, len - count, "idle ");
count            1096 drivers/regulator/core.c 		count += scnprintf(buf + count, len - count, "standby");
count            1098 drivers/regulator/core.c 	if (!count)
count            1175 drivers/regulator/core.c 		int	count = rdev->desc->n_voltages;
count            1184 drivers/regulator/core.c 		if (count == 1 && !cmin) {
count            1202 drivers/regulator/core.c 		for (i = 0; i < count; i++) {
count            1525 drivers/regulator/core.c 					  size_t count, loff_t *ppos)
count            1555 drivers/regulator/core.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count            2735 drivers/regulator/core.c 	int count, i, ret;
count            2750 drivers/regulator/core.c 		count = regulator->deferred_disables;
count            2752 drivers/regulator/core.c 		if (!count)
count            2755 drivers/regulator/core.c 		total_count += count;
count            2758 drivers/regulator/core.c 		for (i = 0; i < count; i++) {
count             317 drivers/regulator/lp3971.c static int lp3971_i2c_read(struct i2c_client *i2c, char reg, int count,
count             322 drivers/regulator/lp3971.c 	if (count != 1)
count             332 drivers/regulator/lp3971.c static int lp3971_i2c_write(struct i2c_client *i2c, char reg, int count,
count             335 drivers/regulator/lp3971.c 	if (count != 1)
count             163 drivers/regulator/lp3972.c static int lp3972_i2c_read(struct i2c_client *i2c, char reg, int count,
count             168 drivers/regulator/lp3972.c 	if (count != 1)
count             178 drivers/regulator/lp3972.c static int lp3972_i2c_write(struct i2c_client *i2c, char reg, int count,
count             181 drivers/regulator/lp3972.c 	if (count != 1)
count             831 drivers/regulator/lp872x.c 	int count;
count             870 drivers/regulator/lp872x.c 	count = of_regulator_match(dev, np, match, num_matches);
count             871 drivers/regulator/lp872x.c 	if (count <= 0)
count             329 drivers/regulator/of_regulator.c 	unsigned int count = 0;
count             379 drivers/regulator/of_regulator.c 			count++;
count             384 drivers/regulator/of_regulator.c 	return count;
count             166 drivers/regulator/pbias-regulator.c 	int count, idx, data_idx = 0;
count             171 drivers/regulator/pbias-regulator.c 	count = of_regulator_match(&pdev->dev, np, pbias_matches,
count             173 drivers/regulator/pbias-regulator.c 	if (count < 0)
count             174 drivers/regulator/pbias-regulator.c 		return count;
count             177 drivers/regulator/pbias-regulator.c 			       count, sizeof(struct pbias_regulator_data),
count             203 drivers/regulator/pbias-regulator.c 	for (idx = 0; idx < PBIAS_NUM_REGS && data_idx < count; idx++) {
count             355 drivers/regulator/qcom_spmi-regulator.c 	int					count;
count             433 drivers/regulator/qcom_spmi-regulator.c 	.count	= ARRAY_SIZE(name##_ranges), \
count             584 drivers/regulator/qcom_spmi-regulator.c 	  vreg->set_points->range[vreg->set_points->count - 1].set_point_max_uV;
count             597 drivers/regulator/qcom_spmi-regulator.c 	for (i = vreg->set_points->count - 1; i > 0; i--) {
count             637 drivers/regulator/qcom_spmi-regulator.c 	end = range + vreg->set_points->count;
count             664 drivers/regulator/qcom_spmi-regulator.c 	const struct spmi_voltage_range *end = r + vreg->set_points->count;
count             699 drivers/regulator/qcom_spmi-regulator.c 	end = range + vreg->set_points->count;
count             745 drivers/regulator/qcom_spmi-regulator.c 	for (i = 0; i < vreg->set_points->count; i++) {
count             941 drivers/regulator/qcom_spmi-regulator.c 	for (i = 0; i < vreg->set_points->count; i++) {
count            1482 drivers/regulator/qcom_spmi-regulator.c 	for (; range < points->range + points->count; range++) {
count            2048 drivers/regulator/qcom_spmi-regulator.c 		if (vreg->set_points && vreg->set_points->count == 1) {
count            1006 drivers/regulator/tps65910-regulator.c 	int idx = 0, ret, count;
count            1022 drivers/regulator/tps65910-regulator.c 		count = ARRAY_SIZE(tps65910_matches);
count            1026 drivers/regulator/tps65910-regulator.c 		count = ARRAY_SIZE(tps65911_matches);
count            1035 drivers/regulator/tps65910-regulator.c 	ret = of_regulator_match(&pdev->dev, regulators, matches, count);
count            1045 drivers/regulator/tps65910-regulator.c 	for (idx = 0; idx < count; idx++) {
count              52 drivers/regulator/userspace-consumer.c 			 const char *buf, size_t count)
count              68 drivers/regulator/userspace-consumer.c 		return count;
count              87 drivers/regulator/userspace-consumer.c 	return count;
count             115 drivers/regulator/virtual.c 			  const char *buf, size_t count)
count             121 drivers/regulator/virtual.c 		return count;
count             130 drivers/regulator/virtual.c 	return count;
count             141 drivers/regulator/virtual.c 			  const char *buf, size_t count)
count             147 drivers/regulator/virtual.c 		return count;
count             156 drivers/regulator/virtual.c 	return count;
count             167 drivers/regulator/virtual.c 			  const char *buf, size_t count)
count             173 drivers/regulator/virtual.c 		return count;
count             182 drivers/regulator/virtual.c 	return count;
count             193 drivers/regulator/virtual.c 			  const char *buf, size_t count)
count             199 drivers/regulator/virtual.c 		return count;
count             208 drivers/regulator/virtual.c 	return count;
count             231 drivers/regulator/virtual.c 			const char *buf, size_t count)
count             251 drivers/regulator/virtual.c 		return count;
count             262 drivers/regulator/virtual.c 	return count;
count             229 drivers/remoteproc/qcom_q6v5_mss.c 				 struct reg_info *regs, int count)
count             234 drivers/remoteproc/qcom_q6v5_mss.c 	for (i = 0; i < count; i++) {
count             279 drivers/remoteproc/qcom_q6v5_mss.c 				   struct reg_info *regs, int count)
count             283 drivers/remoteproc/qcom_q6v5_mss.c 	for (i = 0; i < count; i++) {
count             295 drivers/remoteproc/qcom_q6v5_mss.c 			   struct clk **clks, int count)
count             300 drivers/remoteproc/qcom_q6v5_mss.c 	for (i = 0; i < count; i++) {
count             317 drivers/remoteproc/qcom_q6v5_mss.c 			     struct clk **clks, int count)
count             321 drivers/remoteproc/qcom_q6v5_mss.c 	for (i = 0; i < count; i++)
count             125 drivers/remoteproc/qcom_sysmon.c static int sysmon_callback(struct rpmsg_device *rpdev, void *data, int count,
count             135 drivers/remoteproc/qcom_sysmon.c 	if (count >= ssr_ack_len && !memcmp(data, ssr_ack, ssr_ack_len))
count              40 drivers/remoteproc/remoteproc_debugfs.c 				size_t count, loff_t *ppos)
count              58 drivers/remoteproc/remoteproc_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, va, len);
count              69 drivers/remoteproc/remoteproc_debugfs.c 			       size_t count, loff_t *ppos)
count              78 drivers/remoteproc/remoteproc_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, i);
count              89 drivers/remoteproc/remoteproc_debugfs.c 				   size_t count, loff_t *ppos)
count              94 drivers/remoteproc/remoteproc_debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
count             123 drivers/remoteproc/remoteproc_debugfs.c 		     size_t count, loff_t *ppos)
count             129 drivers/remoteproc/remoteproc_debugfs.c 	if (count < 1 || count > sizeof(buf))
count             132 drivers/remoteproc/remoteproc_debugfs.c 	ret = copy_from_user(buf, user_buf, count);
count             137 drivers/remoteproc/remoteproc_debugfs.c 	if (buf[count - 1] == '\n')
count             138 drivers/remoteproc/remoteproc_debugfs.c 		buf[count - 1] = '\0';
count             140 drivers/remoteproc/remoteproc_debugfs.c 	if (!strncmp(buf, "enabled", count)) {
count             145 drivers/remoteproc/remoteproc_debugfs.c 	} else if (!strncmp(buf, "disabled", count)) {
count             147 drivers/remoteproc/remoteproc_debugfs.c 	} else if (!strncmp(buf, "recover", count)) {
count             153 drivers/remoteproc/remoteproc_debugfs.c 	return count;
count             166 drivers/remoteproc/remoteproc_debugfs.c 		  size_t count, loff_t *ppos)
count             172 drivers/remoteproc/remoteproc_debugfs.c 	ret = kstrtouint_from_user(user_buf, count, 0, &type);
count             178 drivers/remoteproc/remoteproc_debugfs.c 	return count;
count              24 drivers/remoteproc/remoteproc_sysfs.c 			      const char *buf, size_t count)
count              28 drivers/remoteproc/remoteproc_sysfs.c 	int err, len = count;
count              60 drivers/remoteproc/remoteproc_sysfs.c 	return err ? err : count;
count              91 drivers/remoteproc/remoteproc_sysfs.c 			      const char *buf, size_t count)
count             112 drivers/remoteproc/remoteproc_sysfs.c 	return ret ? ret : count;
count             842 drivers/reset/core.c 	int count;
count             847 drivers/reset/core.c 	count = of_count_phandle_with_args(node, "resets", "#reset-cells");
count             848 drivers/reset/core.c 	if (count == 0)
count             849 drivers/reset/core.c 		count = -ENOENT;
count             851 drivers/reset/core.c 	return count;
count             947 drivers/reset/core.c 	int count = 0;
count             957 drivers/reset/core.c 			count++;
count             962 drivers/reset/core.c 	if (count == 0)
count             963 drivers/reset/core.c 		count = -ENOENT;
count             965 drivers/reset/core.c 	return count;
count             282 drivers/rpmsg/qcom_glink_native.c 			       void *data, unsigned int offset, size_t count)
count             284 drivers/rpmsg/qcom_glink_native.c 	glink->rx_pipe->peak(glink->rx_pipe, data, offset, count);
count             287 drivers/rpmsg/qcom_glink_native.c static void qcom_glink_rx_advance(struct qcom_glink *glink, size_t count)
count             289 drivers/rpmsg/qcom_glink_native.c 	glink->rx_pipe->advance(glink->rx_pipe, count);
count             634 drivers/rpmsg/qcom_glink_native.c 		__le32 count;
count             642 drivers/rpmsg/qcom_glink_native.c 	cmd.count = cpu_to_le32(1);
count             901 drivers/rpmsg/qcom_glink_native.c 				     unsigned int count,
count             916 drivers/rpmsg/qcom_glink_native.c 	const size_t msglen = struct_size(msg, intents, count);
count             940 drivers/rpmsg/qcom_glink_native.c 	for (i = 0; i < count; ++i) {
count              19 drivers/rpmsg/qcom_glink_native.h 		     unsigned int offset, size_t count);
count              20 drivers/rpmsg/qcom_glink_native.h 	void (*advance)(struct qcom_glink_pipe *glink_pipe, size_t count);
count              42 drivers/rpmsg/qcom_glink_rpm.c 	__le32 count;
count              72 drivers/rpmsg/qcom_glink_rpm.c 			      void *data, unsigned int offset, size_t count)
count              83 drivers/rpmsg/qcom_glink_rpm.c 	len = min_t(size_t, count, pipe->native.length - tail);
count              89 drivers/rpmsg/qcom_glink_rpm.c 	if (len != count) {
count              91 drivers/rpmsg/qcom_glink_rpm.c 				(count - len) / sizeof(u32));
count              96 drivers/rpmsg/qcom_glink_rpm.c 				 size_t count)
count             103 drivers/rpmsg/qcom_glink_rpm.c 	tail += count;
count             127 drivers/rpmsg/qcom_glink_rpm.c 					   const void *data, size_t count)
count             131 drivers/rpmsg/qcom_glink_rpm.c 	len = min_t(size_t, count, pipe->native.length - head);
count             137 drivers/rpmsg/qcom_glink_rpm.c 	if (len != count) {
count             139 drivers/rpmsg/qcom_glink_rpm.c 				 (count - len) / sizeof(u32));
count             142 drivers/rpmsg/qcom_glink_rpm.c 	head += count;
count             210 drivers/rpmsg/qcom_glink_rpm.c 	num_entries = le32_to_cpu(toc->count);
count              80 drivers/rpmsg/qcom_glink_smem.c 			       void *data, unsigned int offset, size_t count)
count              91 drivers/rpmsg/qcom_glink_smem.c 	len = min_t(size_t, count, pipe->native.length - tail);
count              95 drivers/rpmsg/qcom_glink_smem.c 	if (len != count)
count              96 drivers/rpmsg/qcom_glink_smem.c 		memcpy_fromio(data + len, pipe->fifo, (count - len));
count             100 drivers/rpmsg/qcom_glink_smem.c 				  size_t count)
count             107 drivers/rpmsg/qcom_glink_smem.c 	tail += count;
count             139 drivers/rpmsg/qcom_glink_smem.c 					    const void *data, size_t count)
count             143 drivers/rpmsg/qcom_glink_smem.c 	len = min_t(size_t, count, pipe->native.length - head);
count             147 drivers/rpmsg/qcom_glink_smem.c 	if (len != count)
count             148 drivers/rpmsg/qcom_glink_smem.c 		memcpy(pipe->fifo, data + len, count - len);
count             150 drivers/rpmsg/qcom_glink_smem.c 	head += count;
count             468 drivers/rpmsg/qcom_smd.c 			     size_t count,
count             472 drivers/rpmsg/qcom_smd.c 		__iowrite32_copy(dst, src, count / sizeof(u32));
count             474 drivers/rpmsg/qcom_smd.c 		memcpy_toio(dst, src, count);
count             483 drivers/rpmsg/qcom_smd.c 			       size_t count,
count             487 drivers/rpmsg/qcom_smd.c 		__ioread32_copy(dst, src, count / sizeof(u32));
count             489 drivers/rpmsg/qcom_smd.c 		memcpy_fromio(dst, src, count);
count             498 drivers/rpmsg/qcom_smd.c 				    void *buf, size_t count)
count             507 drivers/rpmsg/qcom_smd.c 	len = min_t(size_t, count, channel->fifo_size - tail);
count             515 drivers/rpmsg/qcom_smd.c 	if (len != count) {
count             518 drivers/rpmsg/qcom_smd.c 				   count - len,
count             522 drivers/rpmsg/qcom_smd.c 	return count;
count             529 drivers/rpmsg/qcom_smd.c 				     size_t count)
count             534 drivers/rpmsg/qcom_smd.c 	tail += count;
count             700 drivers/rpmsg/qcom_smd.c 			       size_t count)
count             709 drivers/rpmsg/qcom_smd.c 	len = min_t(size_t, count, channel->fifo_size - head);
count             717 drivers/rpmsg/qcom_smd.c 	if (len != count) {
count             720 drivers/rpmsg/qcom_smd.c 				 count - len,
count             724 drivers/rpmsg/qcom_smd.c 	head += count;
count             728 drivers/rpmsg/qcom_smd.c 	return count;
count             141 drivers/rtc/dev.c rtc_dev_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             149 drivers/rtc/dev.c 	if (count != sizeof(unsigned int) && count < sizeof(unsigned long))
count             180 drivers/rtc/dev.c 		    count == sizeof(unsigned int))
count             653 drivers/rtc/interface.c 	u64 count;
count             658 drivers/rtc/interface.c 	count = hrtimer_forward_now(timer, period);
count             660 drivers/rtc/interface.c 	rtc_handle_legacy_irq(rtc, count, RTC_PF);
count              24 drivers/rtc/nvmem.c 	       char *buf, loff_t off, size_t count)
count              28 drivers/rtc/nvmem.c 	return nvmem_device_read(attr->private, off, count, buf);
count              34 drivers/rtc/nvmem.c 		char *buf, loff_t off, size_t count)
count              38 drivers/rtc/nvmem.c 	return nvmem_device_write(attr->private, off, count, buf);
count             279 drivers/rtc/rtc-ab8500.c 				const char *buf, size_t count)
count             291 drivers/rtc/rtc-ab8500.c 	return retval ? retval : count;
count             393 drivers/rtc/rtc-abx80x.c 				     const char *buf, size_t count)
count             406 drivers/rtc/rtc-abx80x.c 	return retval ? retval : count;
count             428 drivers/rtc/rtc-abx80x.c 				const char *buf, size_t count)
count             465 drivers/rtc/rtc-abx80x.c 	return retval ? retval : count;
count             208 drivers/rtc/rtc-bq32k.c 						const char *buf, size_t count)
count             235 drivers/rtc/rtc-bq32k.c 	return count;
count             594 drivers/rtc/rtc-cmos.c 			   size_t count)
count             601 drivers/rtc/rtc-cmos.c 	for (retval = 0; count; count--, off++, retval++) {
count             615 drivers/rtc/rtc-cmos.c 			    size_t count)
count             628 drivers/rtc/rtc-cmos.c 	for (retval = 0; count; count--, off++, retval++) {
count             495 drivers/rtc/rtc-ds1305.c 		u8 *addr, size_t count, char *tx, char *rx)
count             508 drivers/rtc/rtc-ds1305.c 	x->len = count;
count             513 drivers/rtc/rtc-ds1305.c 			     size_t count)
count             522 drivers/rtc/rtc-ds1305.c 	msg_init(&m, x, &addr, count, NULL, buf);
count             528 drivers/rtc/rtc-ds1305.c 			      size_t count)
count             537 drivers/rtc/rtc-ds1305.c 	msg_init(&m, x, &addr, count, buf, NULL);
count            1125 drivers/rtc/rtc-ds1307.c 				    const char *buf, size_t count)
count            1140 drivers/rtc/rtc-ds1307.c 	return count;
count             128 drivers/rtc/rtc-ds1343.c 					const char *buf, size_t count)
count             146 drivers/rtc/rtc-ds1343.c 	return count;
count             817 drivers/rtc/rtc-ds1685.c 	ssize_t count;
count             828 drivers/rtc/rtc-ds1685.c 	for (count = 0; size > 0 && pos < NVRAM_TOTAL_SZ_BANK0;
count             829 drivers/rtc/rtc-ds1685.c 	     count++, size--) {
count             830 drivers/rtc/rtc-ds1685.c 		if (count < NVRAM_SZ_TIME)
count             853 drivers/rtc/rtc-ds1685.c 		for (count = 0; size > 0 && pos < NVRAM_TOTAL_SZ;
count             854 drivers/rtc/rtc-ds1685.c 		     count++, size--) {
count             884 drivers/rtc/rtc-ds1685.c 	ssize_t count;
count             895 drivers/rtc/rtc-ds1685.c 	for (count = 0; size > 0 && pos < NVRAM_TOTAL_SZ_BANK0;
count             896 drivers/rtc/rtc-ds1685.c 	     count++, size--)
count             897 drivers/rtc/rtc-ds1685.c 		if (count < NVRAM_SZ_TIME)
count             920 drivers/rtc/rtc-ds1685.c 		for (count = 0; size > 0 && pos < NVRAM_TOTAL_SZ;
count             921 drivers/rtc/rtc-ds1685.c 		     count++, size--) {
count             526 drivers/rtc/rtc-isl1208.c 				const char *buf, size_t count)
count             544 drivers/rtc/rtc-isl1208.c 	return count;
count             697 drivers/rtc/rtc-isl1208.c 			const char *buf, size_t count)
count             715 drivers/rtc/rtc-isl1208.c 	return count;
count             742 drivers/rtc/rtc-isl1208.c 			      size_t count)
count             749 drivers/rtc/rtc-isl1208.c 	if (!count)
count             750 drivers/rtc/rtc-isl1208.c 		return count;
count             752 drivers/rtc/rtc-isl1208.c 				    count);
count             753 drivers/rtc/rtc-isl1208.c 	return ret == 0 ? count : ret;
count             757 drivers/rtc/rtc-isl1208.c 			       size_t count)
count             764 drivers/rtc/rtc-isl1208.c 	if (!count)
count             765 drivers/rtc/rtc-isl1208.c 		return count;
count             767 drivers/rtc/rtc-isl1208.c 				   count);
count             769 drivers/rtc/rtc-isl1208.c 	return ret == 0 ? count : ret;
count             691 drivers/rtc/rtc-m41t80.c 			 size_t count, loff_t *ppos)
count             693 drivers/rtc/rtc-m41t80.c 	if (count) {
count             701 drivers/rtc/rtc-m41t80.c 			size_t count, loff_t *ppos)
count             164 drivers/rtc/rtc-m48t86.c 			     size_t count)
count             169 drivers/rtc/rtc-m48t86.c 	for (i = 0; i < count; i++)
count             176 drivers/rtc/rtc-m48t86.c 			      size_t count)
count             181 drivers/rtc/rtc-m48t86.c 	for (i = 0; i < count; i++)
count              60 drivers/rtc/rtc-mcp795.c static int mcp795_rtcc_read(struct device *dev, u8 addr, u8 *buf, u8 count)
count              68 drivers/rtc/rtc-mcp795.c 	ret = spi_write_then_read(spi, tx, sizeof(tx), buf, count);
count              72 drivers/rtc/rtc-mcp795.c 					count, addr);
count              77 drivers/rtc/rtc-mcp795.c static int mcp795_rtcc_write(struct device *dev, u8 addr, u8 *data, u8 count)
count              85 drivers/rtc/rtc-mcp795.c 	memcpy(&tx[2], data, count);
count              87 drivers/rtc/rtc-mcp795.c 	ret = spi_write(spi, tx, 2 + count);
count              91 drivers/rtc/rtc-mcp795.c 					count, addr);
count              59 drivers/rtc/rtc-mxc_v2.c 		const u32 count = readl(ioaddr + SRTC_LPSCLR);
count              62 drivers/rtc/rtc-mxc_v2.c 		while ((readl(ioaddr + SRTC_LPSCLR)) == count) {
count             202 drivers/rtc/rtc-omap.c 	int count;
count             206 drivers/rtc/rtc-omap.c 	for (count = 0; count < 50; count++) {
count             329 drivers/rtc/rtc-pcf2127.c 				const char *buf, size_t count)
count             352 drivers/rtc/rtc-pcf2127.c 	return count;
count             550 drivers/rtc/rtc-pcf2127.c static int pcf2127_i2c_write(void *context, const void *data, size_t count)
count             556 drivers/rtc/rtc-pcf2127.c 	ret = i2c_master_send(client, data, count);
count             557 drivers/rtc/rtc-pcf2127.c 	if (ret != count)
count              93 drivers/rtc/rtc-rv3028.c 				const char *buf, size_t count)
count             100 drivers/rtc/rtc-rv3028.c 	return count;
count             108 drivers/rtc/rtc-rv3028.c 	int ret, count;
count             111 drivers/rtc/rtc-rv3028.c 	ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count);
count             115 drivers/rtc/rtc-rv3028.c 	if (!count)
count             144 drivers/rtc/rtc-rv3028.c 	int ret, count;
count             146 drivers/rtc/rtc-rv3028.c 	ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count);
count             150 drivers/rtc/rtc-rv3028.c 	return sprintf(buf, "%u\n", count);
count             703 drivers/rtc/rtc-rv3029c2.c 						size_t count)
count             724 drivers/rtc/rtc-rv3029c2.c 	return count;
count              88 drivers/rtc/rtc-rv8803.c 			    u8 reg, u8 count, u8 *values)
count              94 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_read_i2c_block_data(client, reg, count, values);
count              96 drivers/rtc/rtc-rv8803.c 	if (ret != count) {
count              99 drivers/rtc/rtc-rv8803.c 			reg, reg + count - 1);
count             121 drivers/rtc/rtc-rv8803.c 			     u8 reg, u8 count, const u8 *values)
count             127 drivers/rtc/rtc-rv8803.c 		ret = i2c_smbus_write_i2c_block_data(client, reg, count,
count             133 drivers/rtc/rtc-rv8803.c 			reg, reg + count - 1);
count             475 drivers/rtc/rtc-rx8025.c 					       const char *buf, size_t count)
count             484 drivers/rtc/rtc-rx8025.c 	return err ? err : count;
count             138 drivers/rtc/rtc-spear.c 	int status, count = 0;
count             142 drivers/rtc/rtc-spear.c 	for (count = 0; count < 80; count++) {
count             229 drivers/rtc/rtc-vr41xx.c 	unsigned long count = periodic_count;
count             233 drivers/rtc/rtc-vr41xx.c 	rtc1_write(RTCL1LREG, count);
count             234 drivers/rtc/rtc-vr41xx.c 	rtc1_write(RTCL1HREG, count >> 16);
count             124 drivers/rtc/rtc-wm831x.c 	int count = 0;
count             158 drivers/rtc/rtc-wm831x.c 	} while (++count < WM831X_GET_TIME_RETRIES);
count             175 drivers/rtc/rtc-wm831x.c 	int count = 0;
count             202 drivers/rtc/rtc-wm831x.c 		 ++count < WM831X_SET_TIME_RETRIES);
count            4137 drivers/s390/block/dasd.c 	ccw->count = rdc_buffer_size;
count             222 drivers/s390/block/dasd_3990_erp.c 	ccw->count = 4;
count            1711 drivers/s390/block/dasd_3990_erp.c 	ccw->count = 16;
count            1719 drivers/s390/block/dasd_3990_erp.c 	ccw->count = 16;
count             444 drivers/s390/block/dasd_alias.c 	ccw->count = sizeof(struct dasd_psf_prssd_data);
count             453 drivers/s390/block/dasd_alias.c 	ccw->count = sizeof(*(lcu->uac));
count             701 drivers/s390/block/dasd_alias.c 	if ((alias_priv->count < private->count) && !alias_device->stopped &&
count             726 drivers/s390/block/dasd_alias.c 	ccw->count = 16;
count             730 drivers/s390/block/dasd_devmap.c 	      const char *buf, size_t count)
count             740 drivers/s390/block/dasd_devmap.c 	return rc ? : count;
count             773 drivers/s390/block/dasd_devmap.c 	      const char *buf, size_t count)
count             790 drivers/s390/block/dasd_devmap.c 		return count;
count             810 drivers/s390/block/dasd_devmap.c 	return count;
count             834 drivers/s390/block/dasd_devmap.c 	      const char *buf, size_t count)
count             844 drivers/s390/block/dasd_devmap.c 	return rc ? : count;
count             869 drivers/s390/block/dasd_devmap.c 		    const char *buf, size_t count)
count             884 drivers/s390/block/dasd_devmap.c 	rc = count;
count             918 drivers/s390/block/dasd_devmap.c 		    const char *buf, size_t count)
count             933 drivers/s390/block/dasd_devmap.c 	rc = count;
count             950 drivers/s390/block/dasd_devmap.c 			const char *buf, size_t count)
count             981 drivers/s390/block/dasd_devmap.c 	return rc ? rc : count;
count             992 drivers/s390/block/dasd_devmap.c 	int count;
count             999 drivers/s390/block/dasd_devmap.c 		count = -ENODEV;
count            1001 drivers/s390/block/dasd_devmap.c 		count = -EOPNOTSUPP;
count            1003 drivers/s390/block/dasd_devmap.c 		count = device->discipline->host_access_count(device);
count            1006 drivers/s390/block/dasd_devmap.c 	if (count < 0)
count            1007 drivers/s390/block/dasd_devmap.c 		return count;
count            1009 drivers/s390/block/dasd_devmap.c 	return sprintf(buf, "%d\n", count);
count            1201 drivers/s390/block/dasd_devmap.c 	       const char *buf, size_t count)
count            1221 drivers/s390/block/dasd_devmap.c 	return rc ? : count;
count            1245 drivers/s390/block/dasd_devmap.c 	       const char *buf, size_t count)
count            1264 drivers/s390/block/dasd_devmap.c 	return count;
count            1285 drivers/s390/block/dasd_devmap.c 		   const char *buf, size_t count)
count            1304 drivers/s390/block/dasd_devmap.c 	return count;
count            1326 drivers/s390/block/dasd_devmap.c 		   const char *buf, size_t count)
count            1352 drivers/s390/block/dasd_devmap.c 	return count;
count            1361 drivers/s390/block/dasd_devmap.c 		      const char *buf, size_t count)
count            1377 drivers/s390/block/dasd_devmap.c 	return count;
count            1425 drivers/s390/block/dasd_devmap.c 					     const char *buf, size_t count)
count            1437 drivers/s390/block/dasd_devmap.c 	return rc ? : count;
count            1466 drivers/s390/block/dasd_devmap.c 					    const char *buf, size_t count)
count            1483 drivers/s390/block/dasd_devmap.c 		return count;
count            1533 drivers/s390/block/dasd_devmap.c 			   const char *buf, size_t count)
count            1551 drivers/s390/block/dasd_devmap.c 	return count;
count            1579 drivers/s390/block/dasd_devmap.c 				    const char *buf, size_t count)
count            1590 drivers/s390/block/dasd_devmap.c 	return rc ? : count;
count            1618 drivers/s390/block/dasd_devmap.c 	       const char *buf, size_t count)
count            1638 drivers/s390/block/dasd_devmap.c 	return count;
count             509 drivers/s390/block/dasd_diag.c 	unsigned int count, datasize;
count             526 drivers/s390/block/dasd_diag.c 	count = 0;
count             531 drivers/s390/block/dasd_diag.c 		count += bv.bv_len >> (block->s2b_shift + 9);
count             534 drivers/s390/block/dasd_diag.c 	if (count != last_rec - first_rec + 1)
count             538 drivers/s390/block/dasd_diag.c 		count*sizeof(struct dasd_diag_bio);
count             545 drivers/s390/block/dasd_diag.c 	dreq->block_count = count;
count             269 drivers/s390/block/dasd_eckd.c 		ccw->count = sizeof(struct DE_eckd_data);
count             289 drivers/s390/block/dasd_eckd.c 		ccw->count = 16;
count             386 drivers/s390/block/dasd_eckd.c 			      int count, int cmd, struct dasd_device *device,
count             397 drivers/s390/block/dasd_eckd.c 			ccw->count = 22;
count             399 drivers/s390/block/dasd_eckd.c 			ccw->count = 20;
count             423 drivers/s390/block/dasd_eckd.c 	data->count = count;
count             436 drivers/s390/block/dasd_eckd.c 		data->count++;
count             441 drivers/s390/block/dasd_eckd.c 		data->count++;
count             463 drivers/s390/block/dasd_eckd.c 		if (data->count > 8) {
count             466 drivers/s390/block/dasd_eckd.c 			data->extended_parameter[1] <<= (16 - count);
count             469 drivers/s390/block/dasd_eckd.c 			data->extended_parameter[0] <<= (8 - count);
count             529 drivers/s390/block/dasd_eckd.c 		      unsigned int format, unsigned int rec_on_trk, int count,
count             545 drivers/s390/block/dasd_eckd.c 		ccw->count = sizeof(*pfxdata) + 2;
count             549 drivers/s390/block/dasd_eckd.c 		ccw->count = sizeof(*pfxdata);
count             586 drivers/s390/block/dasd_eckd.c 		locate_record_ext(NULL, lredata, trk, rec_on_trk, count, cmd,
count             616 drivers/s390/block/dasd_eckd.c 	ccw->count = 16;
count             635 drivers/s390/block/dasd_eckd.c 	data->count = no_rec;
count             648 drivers/s390/block/dasd_eckd.c 		data->count++;
count             653 drivers/s390/block/dasd_eckd.c 		data->count++;
count             740 drivers/s390/block/dasd_eckd.c 	int count;
count             761 drivers/s390/block/dasd_eckd.c 		for (count = 0; count < 16; count++) {
count             762 drivers/s390/block/dasd_eckd.c 			sprintf(uid->vduit+2*count, "%02x",
count             763 drivers/s390/block/dasd_eckd.c 				private->vdsneq->uit[count]);
count             834 drivers/s390/block/dasd_eckd.c 	ccw->count = DASD_ECKD_RCD_DATA_SIZE;
count             952 drivers/s390/block/dasd_eckd.c 	int i, count;
count             958 drivers/s390/block/dasd_eckd.c 	count = private->conf_len / sizeof(struct dasd_sneq);
count             960 drivers/s390/block/dasd_eckd.c 	for (i = 0; i < count; ++i) {
count             985 drivers/s390/block/dasd_eckd.c 	int i, count, found;
count             987 drivers/s390/block/dasd_eckd.c 	count = conf_len / sizeof(*gneq);
count             990 drivers/s390/block/dasd_eckd.c 	for (i = 0; i < count; ++i) {
count            1499 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_prssd_data);
count            1509 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_rssd_features);
count            1568 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(*prssdp);
count            1578 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(*vsq);
count            1753 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(*prssdp);
count            1762 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(*lcq);
count            1862 drivers/s390/block/dasd_eckd.c 	ccw->count = 66;
count            2169 drivers/s390/block/dasd_eckd.c 		ccw->count = 8;
count            2183 drivers/s390/block/dasd_eckd.c 	ccw->count = 8;
count            2414 drivers/s390/block/dasd_eckd.c 	int count;
count            2426 drivers/s390/block/dasd_eckd.c 	count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
count            2432 drivers/s390/block/dasd_eckd.c 	itcw_size = itcw_calc_size(0, count, 0);
count            2438 drivers/s390/block/dasd_eckd.c 	start_priv->count++;
count            2440 drivers/s390/block/dasd_eckd.c 	itcw = itcw_init(cqr->data, itcw_size, ITCW_OP_READ, 0, count, 0);
count            2448 drivers/s390/block/dasd_eckd.c 			  DASD_ECKD_CCW_READ_COUNT_MT, base, startdev, 0, count,
count            2450 drivers/s390/block/dasd_eckd.c 			  count * sizeof(struct eckd_count), 0, rpt);
count            2454 drivers/s390/block/dasd_eckd.c 	for (i = 0; i < count; i++) {
count            2501 drivers/s390/block/dasd_eckd.c 	int count;
count            2513 drivers/s390/block/dasd_eckd.c 	count = rpt * (fdata->stop_unit - fdata->start_unit + 1);
count            2525 drivers/s390/block/dasd_eckd.c 	cplength += count;
count            2531 drivers/s390/block/dasd_eckd.c 	start_priv->count++;
count            2538 drivers/s390/block/dasd_eckd.c 			   count, 0, 0);
count            2546 drivers/s390/block/dasd_eckd.c 		locate_record(ccw++, data, fdata->start_unit, 0, count,
count            2550 drivers/s390/block/dasd_eckd.c 	for (i = 0; i < count; i++) {
count            2554 drivers/s390/block/dasd_eckd.c 		ccw->count = 8;
count            2674 drivers/s390/block/dasd_eckd.c 	start_priv->count++;
count            2764 drivers/s390/block/dasd_eckd.c 			ccw->count = 8;
count            2779 drivers/s390/block/dasd_eckd.c 			ccw->count = 8;
count            2814 drivers/s390/block/dasd_eckd.c 				ccw->count = 8;
count            2990 drivers/s390/block/dasd_eckd.c 			private->count--;
count            3069 drivers/s390/block/dasd_eckd.c 	private->count--;
count            3275 drivers/s390/block/dasd_eckd.c 	int count = 0;
count            3295 drivers/s390/block/dasd_eckd.c 				pos += rpt_max - count;
count            3302 drivers/s390/block/dasd_eckd.c 		count = dasd_eckd_count_records(fmt_buffer, pos, pos + rpt_max);
count            3304 drivers/s390/block/dasd_eckd.c 		if (count < rpt_exp) {
count            3308 drivers/s390/block/dasd_eckd.c 		if (count > rpt_exp) {
count            3313 drivers/s390/block/dasd_eckd.c 		for (j = 0; j < count; j++, pos++) {
count            3365 drivers/s390/block/dasd_eckd.c 	cdata->num_records = count;
count            3599 drivers/s390/block/dasd_eckd.c 	int count = 0;
count            3611 drivers/s390/block/dasd_eckd.c 		count++;
count            3616 drivers/s390/block/dasd_eckd.c 		count += (tmp - (from + cur_pos) + 1) / trks_per_ext;
count            3621 drivers/s390/block/dasd_eckd.c 		count++;
count            3623 drivers/s390/block/dasd_eckd.c 	return count;
count            3717 drivers/s390/block/dasd_eckd.c 	ccw->count = size;
count            3806 drivers/s390/block/dasd_eckd.c 			private->count--;
count            3848 drivers/s390/block/dasd_eckd.c 	int count, cidaw, cplength, datasize;
count            3864 drivers/s390/block/dasd_eckd.c 	count = 0;
count            3870 drivers/s390/block/dasd_eckd.c 		count += bv.bv_len >> (block->s2b_shift + 9);
count            3875 drivers/s390/block/dasd_eckd.c 	if (count != last_rec - first_rec + 1)
count            3882 drivers/s390/block/dasd_eckd.c 		cplength = 2 + count;
count            3889 drivers/s390/block/dasd_eckd.c 		cplength = 2 + count;
count            3898 drivers/s390/block/dasd_eckd.c 			count = 2*blk_per_trk - first_rec;
count            3899 drivers/s390/block/dasd_eckd.c 		cplength += count;
count            3900 drivers/s390/block/dasd_eckd.c 		datasize += count*sizeof(struct LO_eckd_data);
count            3955 drivers/s390/block/dasd_eckd.c 			count = blksize;
count            3960 drivers/s390/block/dasd_eckd.c 					count = dasd_eckd_cdl_reclen(recid);
count            3961 drivers/s390/block/dasd_eckd.c 					if (count < blksize &&
count            3963 drivers/s390/block/dasd_eckd.c 						memset(dst + count, 0xe5,
count            3964 drivers/s390/block/dasd_eckd.c 						       blksize - count);
count            3969 drivers/s390/block/dasd_eckd.c 					      1, rcmd, basedev, count);
count            3977 drivers/s390/block/dasd_eckd.c 					      cmd, basedev, count);
count            3982 drivers/s390/block/dasd_eckd.c 			ccw->count = count;
count            4042 drivers/s390/block/dasd_eckd.c 	unsigned int trkcount, count, count_to_trk_end;
count            4116 drivers/s390/block/dasd_eckd.c 				count = min((last_rec - recid + 1),
count            4118 drivers/s390/block/dasd_eckd.c 				len_to_track_end = count * blksize;
count            4121 drivers/s390/block/dasd_eckd.c 				ccw->count = len_to_track_end;
count            4125 drivers/s390/block/dasd_eckd.c 				recid += count;
count            4198 drivers/s390/block/dasd_eckd.c 			unsigned int rec_on_trk, int count,
count            4339 drivers/s390/block/dasd_eckd.c 	lredata->count = count;
count            4380 drivers/s390/block/dasd_eckd.c 	unsigned int count, count_to_trk_end;
count            4459 drivers/s390/block/dasd_eckd.c 					count = min((last_rec - recid + 1),
count            4461 drivers/s390/block/dasd_eckd.c 					len_to_track_end = count * blksize;
count            4462 drivers/s390/block/dasd_eckd.c 					recid += count;
count            4710 drivers/s390/block/dasd_eckd.c 		ccw->count = 57326;
count            4729 drivers/s390/block/dasd_eckd.c 			ccw->count = 57326;
count            4857 drivers/s390/block/dasd_eckd.c 	if (private->count >= DASD_ECKD_CHANQ_MAX_SIZE)
count            4861 drivers/s390/block/dasd_eckd.c 	private->count++;
count            4867 drivers/s390/block/dasd_eckd.c 		private->count--;
count            4880 drivers/s390/block/dasd_eckd.c 	private->count--;
count            4940 drivers/s390/block/dasd_eckd.c 	ccw->count = 32;
count            4995 drivers/s390/block/dasd_eckd.c 	ccw->count = 32;
count            5049 drivers/s390/block/dasd_eckd.c 	ccw->count = 32;
count            5110 drivers/s390/block/dasd_eckd.c 	ccw->count = 12;
count            5176 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_prssd_data);
count            5186 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_rssd_perf_stats_t);
count            5329 drivers/s390/block/dasd_eckd.c 	ccw->count = usrparm.psf_data_len;
count            5337 drivers/s390/block/dasd_eckd.c 	ccw->count = usrparm.rssd_result_len;
count            5397 drivers/s390/block/dasd_eckd.c 	int len, count;
count            5413 drivers/s390/block/dasd_eckd.c 		for (count = 0; count < from->count && count < 32; count++) {
count            5414 drivers/s390/block/dasd_eckd.c 			if (count % 8 == 0) len += sprintf(page + len, " ");
count            5415 drivers/s390/block/dasd_eckd.c 			if (count % 4 == 0) len += sprintf(page + len, " ");
count            5416 drivers/s390/block/dasd_eckd.c 			len += sprintf(page + len, "%02x", datap[count]);
count            5598 drivers/s390/block/dasd_eckd.c 			       " tsb->count %d\n", tsb->count);
count            5599 drivers/s390/block/dasd_eckd.c 		residual = tsb->count - 28;
count            5904 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_prssd_data);
count            5915 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_rssd_messages);
count            5995 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_prssd_data);
count            6003 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_query_host_access);
count            6033 drivers/s390/block/dasd_eckd.c 	int count = 0;
count            6054 drivers/s390/block/dasd_eckd.c 			count++;
count            6058 drivers/s390/block/dasd_eckd.c 	return count;
count            6142 drivers/s390/block/dasd_eckd.c 	ccw->count = sizeof(struct dasd_psf_cuir_response);
count             193 drivers/s390/block/dasd_eckd.h 	__u8 count;
count             215 drivers/s390/block/dasd_eckd.h 	__u8 count;
count             683 drivers/s390/block/dasd_eckd.h 	int count;
count             130 drivers/s390/block/dasd_eer.c 				  char *data, int count)
count             138 drivers/s390/block/dasd_eer.c 	rest = count;
count             156 drivers/s390/block/dasd_eer.c static int dasd_eer_read_buffer(struct eerbuffer *eerb, char *data, int count)
count             163 drivers/s390/block/dasd_eer.c 	finalcount = min(count, dasd_eer_get_filled_bytes(eerb));
count             188 drivers/s390/block/dasd_eer.c static int dasd_eer_start_record(struct eerbuffer *eerb, int count)
count             192 drivers/s390/block/dasd_eer.c 	if (count + sizeof(count) > eerb->buffersize)
count             194 drivers/s390/block/dasd_eer.c 	while (dasd_eer_get_free_bytes(eerb) < count + sizeof(count)) {
count             207 drivers/s390/block/dasd_eer.c 	dasd_eer_write_buffer(eerb, (char*) &count, sizeof(count));
count             492 drivers/s390/block/dasd_eer.c 	ccw->count = SNSS_DATA_SIZE;
count             602 drivers/s390/block/dasd_eer.c 			     size_t count, loff_t *ppos)
count             623 drivers/s390/block/dasd_eer.c 		effective_count = min(eerb->residual, (int) count);
count             647 drivers/s390/block/dasd_eer.c 		effective_count = min(tailcount,(int)count);
count              93 drivers/s390/block/dasd_fba.c 	ccw->count = 16;
count             113 drivers/s390/block/dasd_fba.c 	ccw->count = 8;
count             262 drivers/s390/block/dasd_fba.c 	ccw->count = 0;
count             268 drivers/s390/block/dasd_fba.c static void ccw_write_zero(struct ccw1 *ccw, int count)
count             272 drivers/s390/block/dasd_fba.c 	ccw->count = count;
count             285 drivers/s390/block/dasd_fba.c 	int count = 0;
count             293 drivers/s390/block/dasd_fba.c 		count++;
count             304 drivers/s390/block/dasd_fba.c 		count++;
count             308 drivers/s390/block/dasd_fba.c 		count++;
count             310 drivers/s390/block/dasd_fba.c 	return count;
count             341 drivers/s390/block/dasd_fba.c 	int count = 0;
count             349 drivers/s390/block/dasd_fba.c 	count = last_rec - first_rec + 1;
count             366 drivers/s390/block/dasd_fba.c 	define_extent(ccw++, cqr->data, WRITE, blksize, first_rec, count);
count             413 drivers/s390/block/dasd_fba.c 			wz_count = count;
count             450 drivers/s390/block/dasd_fba.c 	int count, cidaw, cplength, datasize;
count             467 drivers/s390/block/dasd_fba.c 	count = 0;
count             473 drivers/s390/block/dasd_fba.c 		count += bv.bv_len >> (block->s2b_shift + 9);
count             478 drivers/s390/block/dasd_fba.c 	if (count != last_rec - first_rec + 1)
count             481 drivers/s390/block/dasd_fba.c 	cplength = 2 + count;
count             490 drivers/s390/block/dasd_fba.c 		cplength += count - 1;
count             491 drivers/s390/block/dasd_fba.c 		datasize += (count - 1)*sizeof(struct LO_fba_data);
count             508 drivers/s390/block/dasd_fba.c 		locate_record(ccw++, LO_data++, rq_data_dir(req), 0, count);
count             537 drivers/s390/block/dasd_fba.c 			ccw->count = block->bp_block;
count             673 drivers/s390/block/dasd_fba.c 	int len, sl, sct, count;
count             719 drivers/s390/block/dasd_fba.c 		for (count = 0; count < 32 && count < act->count;
count             720 drivers/s390/block/dasd_fba.c 		     count += sizeof(int))
count             723 drivers/s390/block/dasd_fba.c 				       [(count>>2)]);
count             741 drivers/s390/block/dasd_fba.c 		for (count = 0; count < 32 && count < act->count;
count             742 drivers/s390/block/dasd_fba.c 		     count += sizeof(int))
count             745 drivers/s390/block/dasd_fba.c 				       [(count>>2)]);
count             759 drivers/s390/block/dasd_fba.c 		for (count = 0; count < 32 && count < act->count;
count             760 drivers/s390/block/dasd_fba.c 		     count += sizeof(int))
count             763 drivers/s390/block/dasd_fba.c 				       [(count>>2)]);
count              93 drivers/s390/block/dcssblk.c 				  size_t count);
count              95 drivers/s390/block/dcssblk.c 				  size_t count);
count             345 drivers/s390/block/dcssblk.c dcssblk_shared_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t count)
count             351 drivers/s390/block/dcssblk.c 	if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0'))
count             401 drivers/s390/block/dcssblk.c 	rc = count;
count             451 drivers/s390/block/dcssblk.c dcssblk_save_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t count)
count             456 drivers/s390/block/dcssblk.c 	if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0'))
count             497 drivers/s390/block/dcssblk.c 	return count;
count             547 drivers/s390/block/dcssblk.c dcssblk_add_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             561 drivers/s390/block/dcssblk.c 	if ((count < 1) || (buf[0] == '\0') || (buf[0] == '\n')) {
count             566 drivers/s390/block/dcssblk.c 	local_buf = kmalloc(count + 1, GFP_KERNEL);
count             576 drivers/s390/block/dcssblk.c 	for (i = 0; (i < count && (buf[i] != '\0') && (buf[i] != '\n')); i++) {
count             577 drivers/s390/block/dcssblk.c 		for (j = i; j < count &&
count             702 drivers/s390/block/dcssblk.c 	rc = count;
count             742 drivers/s390/block/dcssblk.c dcssblk_remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             752 drivers/s390/block/dcssblk.c 	local_buf = kmalloc(count + 1, GFP_KERNEL);
count             759 drivers/s390/block/dcssblk.c 	for (i = 0; (i < count && (*(buf+i)!='\0') && (*(buf+i)!='\n')); i++) {
count             802 drivers/s390/block/dcssblk.c 	rc = count;
count              84 drivers/s390/char/con3215.c 	int count;		      /* number of bytes in output buffer */
count             161 drivers/s390/char/con3215.c 	ccw->count = 160;
count             175 drivers/s390/char/con3215.c 	int len, count, ix, lines;
count             177 drivers/s390/char/con3215.c 	if (raw->count <= raw->written)
count             192 drivers/s390/char/con3215.c 	req->start = (raw->head - raw->count + raw->written) &
count             223 drivers/s390/char/con3215.c 		count = len;
count             224 drivers/s390/char/con3215.c 		if (ix + count > RAW3215_BUFFER_SIZE)
count             225 drivers/s390/char/con3215.c 			count = RAW3215_BUFFER_SIZE - ix;
count             226 drivers/s390/char/con3215.c 		ccw->count = count;
count             227 drivers/s390/char/con3215.c 		len -= count;
count             228 drivers/s390/char/con3215.c 		ix = (ix + count) & (RAW3215_BUFFER_SIZE - 1);
count             241 drivers/s390/char/con3215.c 	ccw->count = 1;
count             356 drivers/s390/char/con3215.c 	if (tty && RAW3215_BUFFER_SIZE - raw->count >= RAW3215_MIN_SPACE)
count             370 drivers/s390/char/con3215.c 	int count;
count             397 drivers/s390/char/con3215.c 			req->residual = irb->scsw.cmd.count;
count             409 drivers/s390/char/con3215.c 			count = 160 - req->residual;
count             410 drivers/s390/char/con3215.c 			EBCASC(raw->inbuf, count);
count             411 drivers/s390/char/con3215.c 			cchar = ctrlchar_handle(raw->inbuf, count, tty);
count             423 drivers/s390/char/con3215.c 				if (count < 2 ||
count             424 drivers/s390/char/con3215.c 				    (strncmp(raw->inbuf+count-2, "\252n", 2) &&
count             425 drivers/s390/char/con3215.c 				     strncmp(raw->inbuf+count-2, "^n", 2)) ) {
count             427 drivers/s390/char/con3215.c 					raw->inbuf[count] = '\n';
count             428 drivers/s390/char/con3215.c 					count++;
count             430 drivers/s390/char/con3215.c 					count -= 2;
count             432 drivers/s390/char/con3215.c 						count);
count             437 drivers/s390/char/con3215.c 			raw->count -= req->len;
count             454 drivers/s390/char/con3215.c 				raw->count -= req->len;
count             475 drivers/s390/char/con3215.c 	ix = (raw->head - raw->count) & (RAW3215_BUFFER_SIZE - 1);
count             476 drivers/s390/char/con3215.c 	while (raw->count > 0) {
count             479 drivers/s390/char/con3215.c 		raw->count--;
count             493 drivers/s390/char/con3215.c 	while (RAW3215_BUFFER_SIZE - raw->count < length) {
count             510 drivers/s390/char/con3215.c 		if (RAW3215_BUFFER_SIZE - raw->count >= length)
count             526 drivers/s390/char/con3215.c 	int c, count;
count             530 drivers/s390/char/con3215.c 		count = (length > RAW3215_BUFFER_SIZE) ?
count             532 drivers/s390/char/con3215.c 		length -= count;
count             534 drivers/s390/char/con3215.c 		raw3215_make_room(raw, count);
count             538 drivers/s390/char/con3215.c 			c = min_t(int, count,
count             539 drivers/s390/char/con3215.c 				  min(RAW3215_BUFFER_SIZE - raw->count,
count             546 drivers/s390/char/con3215.c 			raw->count += c;
count             549 drivers/s390/char/con3215.c 			count -= c;
count             585 drivers/s390/char/con3215.c 		raw->count++;
count             604 drivers/s390/char/con3215.c 	if (raw->count > 0) {
count             822 drivers/s390/char/con3215.c 			  unsigned int count)
count             827 drivers/s390/char/con3215.c 	if (count <= 0)
count             830 drivers/s390/char/con3215.c 	while (count > 0) {
count             831 drivers/s390/char/con3215.c 		for (i = 0; i < count; i++)
count             835 drivers/s390/char/con3215.c 		count -= i;
count             837 drivers/s390/char/con3215.c 		if (count > 0) {
count             839 drivers/s390/char/con3215.c 			count--;
count            1007 drivers/s390/char/con3215.c 	if (raw == NULL || tty->count > 1)
count            1027 drivers/s390/char/con3215.c 	if ((RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE) >= 0)
count            1028 drivers/s390/char/con3215.c 		return RAW3215_BUFFER_SIZE - raw->count - TAB_STOP_SIZE;
count            1037 drivers/s390/char/con3215.c 			 const unsigned char *buf, int count)
count            1045 drivers/s390/char/con3215.c 	written = count;
count            1046 drivers/s390/char/con3215.c 	while (count > 0) {
count            1047 drivers/s390/char/con3215.c 		for (i = 0; i < count; i++)
count            1051 drivers/s390/char/con3215.c 		count -= i;
count            1053 drivers/s390/char/con3215.c 		if (count > 0) {
count            1055 drivers/s390/char/con3215.c 			count--;
count            1088 drivers/s390/char/con3215.c 	return raw->count;
count             422 drivers/s390/char/con3270.c 			rq->rescnt = irb->scsw.cmd.count;
count             491 drivers/s390/char/con3270.c con3270_write(struct console *co, const char *str, unsigned int count)
count             499 drivers/s390/char/con3270.c 	while (count-- > 0) {
count             139 drivers/s390/char/fs3270.c 		fp->init->ccw.count = fp->rdbuf_size;
count             235 drivers/s390/char/fs3270.c 			rq->rescnt = irb->scsw.cmd.count;
count             243 drivers/s390/char/fs3270.c fs3270_read(struct file *filp, char __user *data, size_t count, loff_t *off)
count             250 drivers/s390/char/fs3270.c 	if (count == 0 || count > 65535)
count             255 drivers/s390/char/fs3270.c 	ib = idal_buffer_alloc(count, 0);
count             269 drivers/s390/char/fs3270.c 				count -= rq->rescnt;
count             270 drivers/s390/char/fs3270.c 				if (idal_buffer_to_user(ib, data, count) != 0)
count             273 drivers/s390/char/fs3270.c 					rc = count;
count             288 drivers/s390/char/fs3270.c fs3270_write(struct file *filp, const char __user *data, size_t count, loff_t *off)
count             299 drivers/s390/char/fs3270.c 	ib = idal_buffer_alloc(count, 0);
count             304 drivers/s390/char/fs3270.c 		if (idal_buffer_from_user(ib, data, count) == 0) {
count             312 drivers/s390/char/fs3270.c 				rc = count - rq->rescnt;
count             367 drivers/s390/char/monreader.c 			size_t count, loff_t *ppos)
count             399 drivers/s390/char/monreader.c 		count = min(count, (size_t) mce_start + 12 - monmsg->pos);
count             401 drivers/s390/char/monreader.c 				   count);
count             404 drivers/s390/char/monreader.c 		monmsg->pos += count;
count             412 drivers/s390/char/monreader.c 		count = min(count, (size_t) mon_rec_end(monmsg) - monmsg->pos
count             415 drivers/s390/char/monreader.c 				   count);
count             418 drivers/s390/char/monreader.c 		monmsg->pos += count;
count             428 drivers/s390/char/monreader.c 	*ppos += count;
count             429 drivers/s390/char/monreader.c 	return count;
count             226 drivers/s390/char/monwriter.c 			      size_t count, loff_t *ppos)
count             234 drivers/s390/char/monwriter.c 	for (written = 0; written < count; ) {
count             236 drivers/s390/char/monwriter.c 			len = min(count - written, monpriv->hdr_to_read);
count             255 drivers/s390/char/monwriter.c 			len = min(count - written, monpriv->data_to_read);
count             184 drivers/s390/char/raw3270.c 	rq->ccw.count = 0;
count             206 drivers/s390/char/raw3270.c 	if (size + rq->ccw.count > rq->size)
count             208 drivers/s390/char/raw3270.c 	memcpy(rq->buffer + rq->ccw.count, data, size);
count             209 drivers/s390/char/raw3270.c 	rq->ccw.count += size;
count             220 drivers/s390/char/raw3270.c 	rq->ccw.count = size;
count             230 drivers/s390/char/raw3270.c 	rq->ccw.count = ib->size;
count             546 drivers/s390/char/raw3270.c 	rp->init_readmod.ccw.count = sizeof(rp->init_data);
count             565 drivers/s390/char/raw3270.c 	rp->init_readpart.ccw.count = sizeof(wbuf);
count             604 drivers/s390/char/raw3270.c 	rp->init_reset.ccw.count = 1;
count             163 drivers/s390/char/sclp_con.c 		   unsigned int count)
count             169 drivers/s390/char/sclp_con.c 	if (count == 0)
count             197 drivers/s390/char/sclp_con.c 				     message, count);
count             198 drivers/s390/char/sclp_con.c 		if (written == count)
count             209 drivers/s390/char/sclp_con.c 		count -= written;
count             210 drivers/s390/char/sclp_con.c 	} while (count > 0);
count             133 drivers/s390/char/sclp_config.c 				    char *buf, loff_t off, size_t count)
count             137 drivers/s390/char/sclp_config.c 	rc = sclp_ofb_send_req(buf, count);
count             138 drivers/s390/char/sclp_config.c 	return rc ?: count;
count              87 drivers/s390/char/sclp_early_core.c 	unsigned int count, offset;
count             100 drivers/s390/char/sclp_early_core.c 		for (count = sizeof(*mto); offset < len; count++) {
count             102 drivers/s390/char/sclp_early_core.c 			if ((ch == 0x0a) || (ptr + count > end))
count             104 drivers/s390/char/sclp_early_core.c 			ptr[count] = _ascebc[ch];
count             108 drivers/s390/char/sclp_early_core.c 		mto->length = count;
count             111 drivers/s390/char/sclp_early_core.c 		ptr += count;
count             350 drivers/s390/char/sclp_early_core.c 	mem_detect.count = 0;
count             177 drivers/s390/char/sclp_rw.c sclp_write(struct sclp_buffer *buffer, const unsigned char *msg, int count)
count             205 drivers/s390/char/sclp_rw.c 	for (i_msg = 0; i_msg < count; i_msg++) {
count             282 drivers/s390/char/sclp_rw.c 			i_msg = count - 1;
count             316 drivers/s390/char/sclp_rw.c 	int count;
count             319 drivers/s390/char/sclp_rw.c 	count = MAX_SCCB_ROOM - sccb->length;
count             321 drivers/s390/char/sclp_rw.c 		count -= sizeof(struct msg_buf) + buffer->current_length;
count             322 drivers/s390/char/sclp_rw.c 	return count;
count             331 drivers/s390/char/sclp_rw.c 	int count;
count             333 drivers/s390/char/sclp_rw.c 	count = buffer->char_sum;
count             335 drivers/s390/char/sclp_rw.c 		count += buffer->current_length;
count             336 drivers/s390/char/sclp_rw.c 	return count;
count             421 drivers/s390/char/sclp_sd.c 			    const char *buf, size_t count)
count             427 drivers/s390/char/sclp_sd.c 	return count;
count              76 drivers/s390/char/sclp_tty.c 	if (tty->count > 1)
count              95 drivers/s390/char/sclp_tty.c 	int count;
count              98 drivers/s390/char/sclp_tty.c 	count = 0;
count             100 drivers/s390/char/sclp_tty.c 		count = sclp_buffer_space(sclp_ttybuf) / sizeof(struct msg_buf);
count             102 drivers/s390/char/sclp_tty.c 		count += NR_EMPTY_MSG_PER_SCCB;
count             104 drivers/s390/char/sclp_tty.c 	return count;
count             135 drivers/s390/char/sclp_tty.c 	int count;
count             140 drivers/s390/char/sclp_tty.c 	count = sclp_tty_buffer_count++;
count             142 drivers/s390/char/sclp_tty.c 	if (count)
count             172 drivers/s390/char/sclp_tty.c static int sclp_tty_write_string(const unsigned char *str, int count, int may_fail)
count             180 drivers/s390/char/sclp_tty.c 	if (count <= 0)
count             201 drivers/s390/char/sclp_tty.c 		written = sclp_write(sclp_ttybuf, str, count);
count             203 drivers/s390/char/sclp_tty.c 		if (written == count)
count             216 drivers/s390/char/sclp_tty.c 		count -= written;
count             217 drivers/s390/char/sclp_tty.c 	} while (count > 0);
count             234 drivers/s390/char/sclp_tty.c sclp_tty_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             240 drivers/s390/char/sclp_tty.c 	return sclp_tty_write_string(buf, count, 1);
count             290 drivers/s390/char/sclp_tty.c 	int count;
count             293 drivers/s390/char/sclp_tty.c 	count = 0;
count             295 drivers/s390/char/sclp_tty.c 		count = sclp_chars_in_buffer(sclp_ttybuf);
count             298 drivers/s390/char/sclp_tty.c 		count += sclp_chars_in_buffer(t);
count             301 drivers/s390/char/sclp_tty.c 	return count;
count             320 drivers/s390/char/sclp_tty.c sclp_tty_input(unsigned char* buf, unsigned int count)
count             331 drivers/s390/char/sclp_tty.c 	cchar = ctrlchar_handle(buf, count, tty);
count             341 drivers/s390/char/sclp_tty.c 		if (count < 2 ||
count             342 drivers/s390/char/sclp_tty.c 		    (strncmp((const char *) buf + count - 2, "^n", 2) &&
count             343 drivers/s390/char/sclp_tty.c 		     strncmp((const char *) buf + count - 2, "\252n", 2))) {
count             345 drivers/s390/char/sclp_tty.c 			tty_insert_flip_string(&sclp_port, buf, count);
count             348 drivers/s390/char/sclp_tty.c 			tty_insert_flip_string(&sclp_port, buf, count - 2);
count             361 drivers/s390/char/sclp_tty.c static int sclp_switch_cases(unsigned char *buf, int count)
count             369 drivers/s390/char/sclp_tty.c 	while (count-- > 0) {
count             373 drivers/s390/char/sclp_tty.c 			if (count && ip[1] == CASE_DELIMITER) {
count             379 drivers/s390/char/sclp_tty.c 				count--;
count             409 drivers/s390/char/sclp_tty.c 	int count;
count             412 drivers/s390/char/sclp_tty.c 	count = sv->length - sizeof(*sv);
count             414 drivers/s390/char/sclp_tty.c 		EBC_TOLOWER(str, count);
count             415 drivers/s390/char/sclp_tty.c 	count = sclp_switch_cases(str, count);
count             417 drivers/s390/char/sclp_tty.c 	sclp_ebcasc_str(str, count);
count             420 drivers/s390/char/sclp_tty.c 	sclp_tty_input(str, count);
count             311 drivers/s390/char/sclp_vt220.c 		   const unsigned char *msg, int count, int convertlf)
count             319 drivers/s390/char/sclp_vt220.c 	if (count > sclp_vt220_space_left(request))
count             320 drivers/s390/char/sclp_vt220.c 		count = sclp_vt220_space_left(request);
count             321 drivers/s390/char/sclp_vt220.c 	if (count <= 0)
count             330 drivers/s390/char/sclp_vt220.c 		     (from < count) && (to < sclp_vt220_space_left(request));
count             349 drivers/s390/char/sclp_vt220.c 		memcpy(buffer, (const void *) msg, count);
count             350 drivers/s390/char/sclp_vt220.c 		sccb->header.length += count;
count             351 drivers/s390/char/sclp_vt220.c 		sccb->evbuf.length += count;
count             352 drivers/s390/char/sclp_vt220.c 		return count;
count             405 drivers/s390/char/sclp_vt220.c __sclp_vt220_write(const unsigned char *buf, int count, int do_schedule,
count             413 drivers/s390/char/sclp_vt220.c 	if (count <= 0)
count             439 drivers/s390/char/sclp_vt220.c 					     buf, count, convertlf);
count             441 drivers/s390/char/sclp_vt220.c 		if (written == count)
count             452 drivers/s390/char/sclp_vt220.c 		count -= written;
count             453 drivers/s390/char/sclp_vt220.c 	} while (count > 0);
count             472 drivers/s390/char/sclp_vt220.c sclp_vt220_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             474 drivers/s390/char/sclp_vt220.c 	return __sclp_vt220_write(buf, count, 1, 0, 1);
count             491 drivers/s390/char/sclp_vt220.c static void sclp_vt220_handle_input(const char *buffer, unsigned int count)
count             495 drivers/s390/char/sclp_vt220.c 	for (i = 0; i < count; i++) {
count             521 drivers/s390/char/sclp_vt220.c static void sclp_vt220_handle_input(const char *buffer, unsigned int count)
count             523 drivers/s390/char/sclp_vt220.c 	tty_insert_flip_string(&sclp_vt220_port, buffer, count);
count             535 drivers/s390/char/sclp_vt220.c 	unsigned int count;
count             538 drivers/s390/char/sclp_vt220.c 	count = evbuf->length - sizeof(struct evbuf_header);
count             548 drivers/s390/char/sclp_vt220.c 		count--;
count             549 drivers/s390/char/sclp_vt220.c 		sclp_vt220_handle_input(buffer, count);
count             561 drivers/s390/char/sclp_vt220.c 	if (tty->count == 1) {
count             578 drivers/s390/char/sclp_vt220.c 	if (tty->count == 1)
count             618 drivers/s390/char/sclp_vt220.c 	int count;
count             621 drivers/s390/char/sclp_vt220.c 	count = 0;
count             623 drivers/s390/char/sclp_vt220.c 		count = sclp_vt220_space_left(sclp_vt220_current_request);
count             625 drivers/s390/char/sclp_vt220.c 		count += SCLP_VT220_MAX_CHARS_PER_BUFFER;
count             627 drivers/s390/char/sclp_vt220.c 	return count;
count             639 drivers/s390/char/sclp_vt220.c 	int count;
count             642 drivers/s390/char/sclp_vt220.c 	count = 0;
count             644 drivers/s390/char/sclp_vt220.c 		count = sclp_vt220_chars_stored(sclp_vt220_current_request);
count             647 drivers/s390/char/sclp_vt220.c 		count += sclp_vt220_chars_stored(r);
count             650 drivers/s390/char/sclp_vt220.c 	return count;
count             841 drivers/s390/char/sclp_vt220.c sclp_vt220_con_write(struct console *con, const char *buf, unsigned int count)
count             843 drivers/s390/char/sclp_vt220.c 	__sclp_vt220_write((const unsigned char *) buf, count, 1, 1, 0);
count             311 drivers/s390/char/tape.h 	ccw->count = memsize;
count             321 drivers/s390/char/tape.h 	ccw->count = memsize;
count             331 drivers/s390/char/tape.h 	ccw->count = 0;
count             337 drivers/s390/char/tape.h tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count)
count             339 drivers/s390/char/tape.h 	while (count-- > 0) {
count             342 drivers/s390/char/tape.h 		ccw->count = 0;
count             149 drivers/s390/char/tape_3590.c 	if (in->count == 0) {
count             154 drivers/s390/char/tape_3590.c 	} else if (in->count == 1) {
count             158 drivers/s390/char/tape_3590.c 	} else if (in->count == 2) {
count             162 drivers/s390/char/tape_3590.c 		printk("Invalid KEKL number: %d\n", in->count);
count             293 drivers/s390/char/tape_3590.c 	order->kekls.count = 2;
count             536 drivers/s390/char/tape_3590.c tape_3590_mtseek(struct tape_device *device, int count)
count             540 drivers/s390/char/tape_3590.c 	DBF_EVENT(6, "xsee id: %x\n", count);
count             546 drivers/s390/char/tape_3590.c 	*(__u32 *) request->cpdata = count;
count             144 drivers/s390/char/tape_3590.h 	__u8 count;
count             129 drivers/s390/char/tape_char.c tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos)
count             150 drivers/s390/char/tape_char.c 		if (count < device->char_data.block_size) {
count             157 drivers/s390/char/tape_char.c 		block_size = count;
count             187 drivers/s390/char/tape_char.c tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos)
count             200 drivers/s390/char/tape_char.c 		if (count < device->char_data.block_size) {
count             206 drivers/s390/char/tape_char.c 		nblocks = count / block_size;
count             208 drivers/s390/char/tape_char.c 		block_size = count;
count             563 drivers/s390/char/tape_core.c 	int count;
count             565 drivers/s390/char/tape_core.c 	count = atomic_inc_return(&device->ref_count);
count             566 drivers/s390/char/tape_core.c 	DBF_EVENT(4, "tape_get_device(%p) = %i\n", device, count);
count             579 drivers/s390/char/tape_core.c 	int count;
count             581 drivers/s390/char/tape_core.c 	count = atomic_dec_return(&device->ref_count);
count             582 drivers/s390/char/tape_core.c 	DBF_EVENT(4, "tape_put_device(%p) -> %i\n", device, count);
count             583 drivers/s390/char/tape_core.c 	BUG_ON(count < 0);
count             584 drivers/s390/char/tape_core.c 	if (count == 0) {
count            1151 drivers/s390/char/tape_core.c 		request->rescnt = irb->scsw.cmd.count;
count             202 drivers/s390/char/tape_std.c tape_std_mtload(struct tape_device *device, int count)
count             212 drivers/s390/char/tape_std.c tape_std_mtsetblk(struct tape_device *device, int count)
count             216 drivers/s390/char/tape_std.c 	DBF_LH(6, "tape_std_mtsetblk(%d)\n", count);
count             217 drivers/s390/char/tape_std.c 	if (count <= 0) {
count             227 drivers/s390/char/tape_std.c 	    device->char_data.idal_buf->size == count)
count             231 drivers/s390/char/tape_std.c 	if (count > MAX_BLOCKSIZE) {
count             233 drivers/s390/char/tape_std.c 			count, MAX_BLOCKSIZE);
count             238 drivers/s390/char/tape_std.c 	new = idal_buffer_alloc(count, 0);
count             244 drivers/s390/char/tape_std.c 	device->char_data.block_size = count;
count             255 drivers/s390/char/tape_std.c tape_std_mtreset(struct tape_device *device, int count)
count             643 drivers/s390/char/tape_std.c tape_std_read_block(struct tape_device *device, size_t count)
count             687 drivers/s390/char/tape_std.c tape_std_write_block(struct tape_device *device, size_t count)
count             137 drivers/s390/char/tty3270.c tty3270_update_prompt(struct tty3270 *tp, char *input, int count)
count             143 drivers/s390/char/tty3270.c 	if (count != 0)
count             147 drivers/s390/char/tty3270.c 	if (count > tp->view.cols * 2 - 11)
count             148 drivers/s390/char/tty3270.c 		count = tp->view.cols * 2 - 11;
count             149 drivers/s390/char/tty3270.c 	memcpy(line->string + 6, input, count);
count             150 drivers/s390/char/tty3270.c 	line->string[6 + count] = TO_IC;
count             152 drivers/s390/char/tty3270.c 	if (count < tp->view.cols * 2 - 11) {
count             153 drivers/s390/char/tty3270.c 		line->string[7 + count] = TO_RA;
count             154 drivers/s390/char/tty3270.c 		line->string[10 + count] = 0;
count             156 drivers/s390/char/tty3270.c 		raw3270_buffer_address(tp->view.dev, line->string+count+8, off);
count             157 drivers/s390/char/tty3270.c 		line->len = 11 + count;
count             159 drivers/s390/char/tty3270.c 		line->len = 7 + count;
count             700 drivers/s390/char/tty3270.c 			rq->rescnt = irb->scsw.cmd.count;
count            1041 drivers/s390/char/tty3270.c 	port->count++;
count            1055 drivers/s390/char/tty3270.c 	if (tty->count > 1)
count            1638 drivers/s390/char/tty3270.c 		const unsigned char *buf, int count)
count            1643 drivers/s390/char/tty3270.c 	for (i_msg = 0; !tty->stopped && i_msg < count; i_msg++) {
count            1712 drivers/s390/char/tty3270.c 	      const unsigned char *buf, int count)
count            1723 drivers/s390/char/tty3270.c 	tty3270_do_write(tp, tty, buf, count);
count            1724 drivers/s390/char/tty3270.c 	return count;
count             132 drivers/s390/char/vmcp.c vmcp_read(struct file *file, char __user *buff, size_t count, loff_t *ppos)
count             146 drivers/s390/char/vmcp.c 	ret = simple_read_from_buffer(buff, count, ppos,
count             155 drivers/s390/char/vmcp.c vmcp_write(struct file *file, const char __user *buff, size_t count,
count             161 drivers/s390/char/vmcp.c 	if (count > 240)
count             163 drivers/s390/char/vmcp.c 	cmd = memdup_user_nul(buff, count);
count             184 drivers/s390/char/vmcp.c 	return count;
count              92 drivers/s390/char/vmlogrdr.c 			      size_t count, loff_t * ppos);
count             477 drivers/s390/char/vmlogrdr.c 			     size_t count, loff_t * ppos)
count             492 drivers/s390/char/vmlogrdr.c 	if (count > priv->remaining)
count             493 drivers/s390/char/vmlogrdr.c 		count = priv->remaining;
count             495 drivers/s390/char/vmlogrdr.c 	if (copy_to_user(data, priv->current_position, count))
count             498 drivers/s390/char/vmlogrdr.c 	*ppos += count;
count             499 drivers/s390/char/vmlogrdr.c 	priv->current_position += count;
count             500 drivers/s390/char/vmlogrdr.c 	priv->remaining -= count;
count             506 drivers/s390/char/vmlogrdr.c 	return count;
count             511 drivers/s390/char/vmlogrdr.c 					const char * buf, size_t count)
count             514 drivers/s390/char/vmlogrdr.c 	ssize_t ret = count;
count             545 drivers/s390/char/vmlogrdr.c 				    const char * buf, size_t count)
count             576 drivers/s390/char/vmlogrdr.c 	return count;
count             585 drivers/s390/char/vmlogrdr.c 					    const char *buf, size_t count)
count             588 drivers/s390/char/vmlogrdr.c 	ssize_t ret = count;
count             619 drivers/s390/char/vmlogrdr.c 					const char * buf, size_t count)
count             637 drivers/s390/char/vmlogrdr.c 		return count;
count             253 drivers/s390/char/vmur.c 		cpa[i].count = reclen;
count             313 drivers/s390/char/vmur.c 		      irb->scsw.cmd.count);
count             417 drivers/s390/char/vmur.c 			size_t count, size_t reclen, loff_t *ppos)
count             422 drivers/s390/char/vmur.c 	cpa = alloc_chan_prog(udata, count / reclen, reclen);
count             434 drivers/s390/char/vmur.c 	*ppos += count;
count             435 drivers/s390/char/vmur.c 	rc = count;
count             443 drivers/s390/char/vmur.c 			size_t count, loff_t *ppos)
count             447 drivers/s390/char/vmur.c 	TRACE("ur_write: count=%zu\n", count);
count             449 drivers/s390/char/vmur.c 	if (count == 0)
count             452 drivers/s390/char/vmur.c 	if (count % urf->dev_reclen)
count             455 drivers/s390/char/vmur.c 	if (count > urf->dev_reclen * MAX_RECS_PER_IO)
count             456 drivers/s390/char/vmur.c 		count = urf->dev_reclen * MAX_RECS_PER_IO;
count             458 drivers/s390/char/vmur.c 	return do_write(urf->urd, udata, count, urf->dev_reclen, ppos);
count             510 drivers/s390/char/vmur.c static ssize_t diag14_read(struct file *file, char __user *ubuf, size_t count,
count             528 drivers/s390/char/vmur.c 	len = min((size_t) PAGE_SIZE, count);
count             544 drivers/s390/char/vmur.c 		len = min(count - copied, PAGE_SIZE - res);
count             551 drivers/s390/char/vmur.c 	} while (copied != count);
count             560 drivers/s390/char/vmur.c static ssize_t ur_read(struct file *file, char __user *ubuf, size_t count,
count             566 drivers/s390/char/vmur.c 	TRACE("ur_read: count=%zu ppos=%li\n", count, (unsigned long) *offs);
count             568 drivers/s390/char/vmur.c 	if (count == 0)
count             575 drivers/s390/char/vmur.c 	rc = diag14_read(file, ubuf, count, offs);
count              65 drivers/s390/char/zcore.c int memcpy_hsa_user(void __user *dest, unsigned long src, size_t count)
count              72 drivers/s390/char/zcore.c 	while (count) {
count              78 drivers/s390/char/zcore.c 		bytes = min(PAGE_SIZE - offset, count);
count              83 drivers/s390/char/zcore.c 		count -= bytes;
count              95 drivers/s390/char/zcore.c int memcpy_hsa_kernel(void *dest, unsigned long src, size_t count)
count             102 drivers/s390/char/zcore.c 	while (count) {
count             108 drivers/s390/char/zcore.c 		bytes = min(PAGE_SIZE - offset, count);
count             112 drivers/s390/char/zcore.c 		count -= bytes;
count             143 drivers/s390/char/zcore.c 				 size_t count, loff_t *ppos)
count             145 drivers/s390/char/zcore.c 	return simple_read_from_buffer(buf, count, ppos, filp->private_data,
count             183 drivers/s390/char/zcore.c 				 size_t count, loff_t *ppos)
count             189 drivers/s390/char/zcore.c 	return count;
count             211 drivers/s390/char/zcore.c 			      size_t count, loff_t *ppos)
count             219 drivers/s390/char/zcore.c 	return simple_read_from_buffer(buf, count, ppos, str, strlen(str));
count             223 drivers/s390/char/zcore.c 			       size_t count, loff_t *ppos)
count             234 drivers/s390/char/zcore.c 	return count;
count              41 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < gdev->count; i++) {
count              57 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < gdev->count; i++) {
count             129 drivers/s390/cio/ccwgroup.c 				     const char *buf, size_t count)
count             153 drivers/s390/cio/ccwgroup.c 	return (ret == 0) ? count : ret;
count             185 drivers/s390/cio/ccwgroup.c 				      const char *buf, size_t count)
count             208 drivers/s390/cio/ccwgroup.c 	return count;
count             245 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < gdev->count; i++) {
count             255 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < gdev->count; i++) {
count             264 drivers/s390/cio/ccwgroup.c 			for (i = 0; i < gdev->count; i++)
count             337 drivers/s390/cio/ccwgroup.c 	gdev->count = num_devices;
count             133 drivers/s390/cio/chp.c 					  char *buf, loff_t off, size_t count)
count             143 drivers/s390/cio/chp.c 	return memory_read_from_buffer(buf, count, &off, &chp->cmg_chars,
count             180 drivers/s390/cio/chp.c 				    char *buf, loff_t off, size_t count)
count             194 drivers/s390/cio/chp.c 	if (off || count < size)
count             197 drivers/s390/cio/chp.c 	count = size;
count             198 drivers/s390/cio/chp.c 	return count;
count             247 drivers/s390/cio/chp.c 				const char *buf, size_t count)
count             256 drivers/s390/cio/chp.c 		return count;
count             269 drivers/s390/cio/chp.c 	return error < 0 ? error : count;
count             292 drivers/s390/cio/chp.c 				   const char *buf, size_t count)
count             306 drivers/s390/cio/chp.c 	return count;
count             389 drivers/s390/cio/chp.c 				loff_t off, size_t count)
count             395 drivers/s390/cio/chp.c 	rc = memory_read_from_buffer(buf, count, &off, chp->desc_fmt3.util_str,
count             140 drivers/s390/cio/cmf.c static inline u64 time_to_avg_nsec(u32 value, u32 count)
count             145 drivers/s390/cio/cmf.c 	if (count == 0)
count             150 drivers/s390/cio/cmf.c 	do_div(ret, count);
count             988 drivers/s390/cio/cmf.c 	unsigned long count;
count             991 drivers/s390/cio/cmf.c 	count = cmf_read(cdev, cmb_sample_count);
count             993 drivers/s390/cio/cmf.c 	if (count) {
count             996 drivers/s390/cio/cmf.c 		interval /= count;
count             334 drivers/s390/cio/css.c 				     const char *buf, size_t count)
count             340 drivers/s390/cio/css.c 	if (count >= (PAGE_SIZE - 1))
count             343 drivers/s390/cio/css.c 	driver_override = kstrndup(buf, count, GFP_KERNEL);
count             363 drivers/s390/cio/css.c 	return count;
count             895 drivers/s390/cio/css.c 			       const char *buf, size_t count)
count             916 drivers/s390/cio/css.c 	return ret < 0 ? ret : count;
count            1364 drivers/s390/cio/css.c 				size_t count, loff_t *ppos)
count            1372 drivers/s390/cio/css.c 	return ret ? ret : count;
count             501 drivers/s390/cio/device.c 			     const char *buf, size_t count)
count             521 drivers/s390/cio/device.c 	if (!strncmp(buf, "force\n", count)) {
count             547 drivers/s390/cio/device.c 	return (ret < 0) ? ret : count;
count             577 drivers/s390/cio/device.c 		 const char *buf, size_t count)
count             590 drivers/s390/cio/device.c 	return count;
count             149 drivers/s390/cio/device_id.c 	int len = sizeof(struct senseid) - scsw->count;
count             214 drivers/s390/cio/device_id.c 	cp->count	= sizeof(struct senseid);
count              64 drivers/s390/cio/device_pgid.c 	cp->count	= 0;
count             144 drivers/s390/cio/device_pgid.c 	cp->count	= sizeof(*pgid);
count             445 drivers/s390/cio/device_pgid.c 	cp->count	= sizeof(struct pgid);
count             635 drivers/s390/cio/device_pgid.c 	cp[0].count = 32;
count             639 drivers/s390/cio/device_pgid.c 	cp[1].count = 32;
count             285 drivers/s390/cio/device_status.c 		cdev_irb->scsw.cmd.count = irb->scsw.cmd.count;
count             335 drivers/s390/cio/device_status.c 	sense_ccw->count = SENSE_MAX_COUNT;
count             103 drivers/s390/cio/fcx.c 	u32 count = 0;
count             109 drivers/s390/cio/fcx.c 		count += dcw->count;
count             114 drivers/s390/cio/fcx.c 	return count;
count             130 drivers/s390/cio/fcx.c 		data_count += tidaw[i].count;
count             158 drivers/s390/cio/fcx.c 	u32 count;
count             169 drivers/s390/cio/fcx.c 	count = calc_dcw_count(tccb);
count             171 drivers/s390/cio/fcx.c 		count += calc_cbc_size(tidaw, num_tidaws);
count             173 drivers/s390/cio/fcx.c 		tcw->input_count = count;
count             175 drivers/s390/cio/fcx.c 		tcw->output_count = count;
count             176 drivers/s390/cio/fcx.c 	tcat->count = ALIGN(count, 4) + 4;
count             296 drivers/s390/cio/fcx.c 			 void *cd, u8 cd_count, u32 count)
count             313 drivers/s390/cio/fcx.c 	dcw->count = count;
count             339 drivers/s390/cio/fcx.c 			    void *addr, u32 count)
count             347 drivers/s390/cio/fcx.c 	tidaw->count = count;
count             294 drivers/s390/cio/itcw.c 			 u8 cd_count, u32 count)
count             297 drivers/s390/cio/itcw.c 			    flags, cd, cd_count, count);
count             317 drivers/s390/cio/itcw.c struct tidaw *itcw_add_tidaw(struct itcw *itcw, u8 flags, void *addr, u32 count)
count             336 drivers/s390/cio/itcw.c 	return tcw_add_tidaw(itcw->tcw, itcw->num_tidaws++, flags, addr, count);
count              89 drivers/s390/cio/qdio.h 			  int *start, int *count)
count              91 drivers/s390/cio/qdio.h 	register unsigned long _ccq asm ("0") = *count;
count             100 drivers/s390/cio/qdio.h 	*count = _ccq & 0xff;
count             107 drivers/s390/cio/qdio.h 			  int *start, int *count, int ack)
count             109 drivers/s390/cio/qdio.h 	register unsigned long _ccq asm ("0") = *count;
count             119 drivers/s390/cio/qdio.h 	*count = _ccq & 0xff;
count             327 drivers/s390/cio/qdio.h static inline void account_sbals_error(struct qdio_q *q, int count)
count             329 drivers/s390/cio/qdio.h 	q->q_stats.nr_sbal_error += count;
count             330 drivers/s390/cio/qdio.h 	q->q_stats.nr_sbal_total += count;
count             242 drivers/s390/cio/qdio_debug.c 			       size_t count, loff_t *off)
count             253 drivers/s390/cio/qdio_debug.c 	ret = kstrtoul_from_user(ubuf, count, 10, &val);
count             270 drivers/s390/cio/qdio_debug.c 	return count;
count             113 drivers/s390/cio/qdio_main.c 			int start, int count, int auto_ack)
count             115 drivers/s390/cio/qdio_main.c 	int tmp_count = count, tmp_start = start, nr = q->nr;
count             130 drivers/s390/cio/qdio_main.c 		return count - tmp_count;
count             136 drivers/s390/cio/qdio_main.c 		return count - tmp_count;
count             144 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%3d%3d%2d", count, tmp_count, nr);
count             146 drivers/s390/cio/qdio_main.c 			   q->first_to_kick, count, q->irq_ptr->int_parm);
count             163 drivers/s390/cio/qdio_main.c 			int count)
count             166 drivers/s390/cio/qdio_main.c 	int tmp_count = count, tmp_start = start;
count             169 drivers/s390/cio/qdio_main.c 	if (!count)
count             183 drivers/s390/cio/qdio_main.c 		return count - tmp_count;
count             192 drivers/s390/cio/qdio_main.c 		DBF_ERROR("%3d%3d%2d", count, tmp_count, nr);
count             194 drivers/s390/cio/qdio_main.c 			   q->first_to_kick, count, q->irq_ptr->int_parm);
count             204 drivers/s390/cio/qdio_main.c 				 unsigned char *state, unsigned int count,
count             211 drivers/s390/cio/qdio_main.c 		return qdio_do_eqbs(q, state, bufnr, count, auto_ack);
count             223 drivers/s390/cio/qdio_main.c 	for (; i < count; i++) {
count             250 drivers/s390/cio/qdio_main.c 				 unsigned char state, int count)
count             255 drivers/s390/cio/qdio_main.c 		return qdio_do_sqbs(q, state, bufnr, count);
count             257 drivers/s390/cio/qdio_main.c 	for (i = 0; i < count; i++) {
count             261 drivers/s390/cio/qdio_main.c 	return count;
count             410 drivers/s390/cio/qdio_main.c static inline void account_sbals(struct qdio_q *q, unsigned int count)
count             414 drivers/s390/cio/qdio_main.c 	q->q_stats.nr_sbal_total += count;
count             415 drivers/s390/cio/qdio_main.c 	if (count == QDIO_MAX_BUFFERS_MASK) {
count             419 drivers/s390/cio/qdio_main.c 	pos = ilog2(count);
count             424 drivers/s390/cio/qdio_main.c 				 int count)
count             441 drivers/s390/cio/qdio_main.c 	DBF_ERROR("FTC:%3d C:%3d", start, count);
count             451 drivers/s390/cio/qdio_main.c 	set_buf_states(q, start, state, count);
count             455 drivers/s390/cio/qdio_main.c 				  int count)
count             459 drivers/s390/cio/qdio_main.c 	DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in prim:%1d %02x", q->nr, count);
count             465 drivers/s390/cio/qdio_main.c 			q->u.in.ack_count = count;
count             473 drivers/s390/cio/qdio_main.c 		q->u.in.ack_count = count;
count             482 drivers/s390/cio/qdio_main.c 	new = add_buf(start, count - 1);
count             493 drivers/s390/cio/qdio_main.c 	count--;
count             494 drivers/s390/cio/qdio_main.c 	if (!count)
count             497 drivers/s390/cio/qdio_main.c 	set_buf_states(q, start, SLSB_P_INPUT_NOT_INIT, count);
count             503 drivers/s390/cio/qdio_main.c 	int count;
count             511 drivers/s390/cio/qdio_main.c 	count = min(atomic_read(&q->nr_buf_used), QDIO_MAX_BUFFERS_MASK);
count             512 drivers/s390/cio/qdio_main.c 	if (!count)
count             519 drivers/s390/cio/qdio_main.c 	count = get_buf_states(q, start, &state, count, 1, 0);
count             520 drivers/s390/cio/qdio_main.c 	if (!count)
count             525 drivers/s390/cio/qdio_main.c 		inbound_primed(q, start, count);
count             526 drivers/s390/cio/qdio_main.c 		if (atomic_sub_return(count, &q->nr_buf_used) == 0)
count             529 drivers/s390/cio/qdio_main.c 			account_sbals(q, count);
count             530 drivers/s390/cio/qdio_main.c 		return count;
count             532 drivers/s390/cio/qdio_main.c 		process_buffer_error(q, start, count);
count             533 drivers/s390/cio/qdio_main.c 		if (atomic_sub_return(count, &q->nr_buf_used) == 0)
count             536 drivers/s390/cio/qdio_main.c 			account_sbals_error(q, count);
count             537 drivers/s390/cio/qdio_main.c 		return count;
count             554 drivers/s390/cio/qdio_main.c 	int count;
count             556 drivers/s390/cio/qdio_main.c 	count = get_inbound_buffer_frontier(q, start);
count             558 drivers/s390/cio/qdio_main.c 	if (count && !is_thinint_irq(q->irq_ptr) && MACHINE_IS_LPAR)
count             561 drivers/s390/cio/qdio_main.c 	return count;
count             597 drivers/s390/cio/qdio_main.c static inline void qdio_handle_aobs(struct qdio_q *q, int start, int count)
count             602 drivers/s390/cio/qdio_main.c 	for (j = 0; j < count; ++j) {
count             636 drivers/s390/cio/qdio_main.c static void qdio_kick_handler(struct qdio_q *q, unsigned int count)
count             645 drivers/s390/cio/qdio_main.c 		DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "kih s:%02x c:%02x", start, count);
count             649 drivers/s390/cio/qdio_main.c 			      start, count);
count             652 drivers/s390/cio/qdio_main.c 	q->handler(q->irq_ptr->cdev, q->qdio_error, q->nr, start, count,
count             656 drivers/s390/cio/qdio_main.c 	q->first_to_kick = add_buf(start, count);
count             672 drivers/s390/cio/qdio_main.c 	int count;
count             676 drivers/s390/cio/qdio_main.c 	count = qdio_inbound_q_moved(q, start);
count             677 drivers/s390/cio/qdio_main.c 	if (count == 0)
count             680 drivers/s390/cio/qdio_main.c 	start = add_buf(start, count);
count             682 drivers/s390/cio/qdio_main.c 	qdio_kick_handler(q, count);
count             711 drivers/s390/cio/qdio_main.c 	int count;
count             722 drivers/s390/cio/qdio_main.c 	count = atomic_read(&q->nr_buf_used);
count             723 drivers/s390/cio/qdio_main.c 	if (!count)
count             726 drivers/s390/cio/qdio_main.c 	count = get_buf_states(q, start, &state, count, 0, q->u.out.use_cq);
count             727 drivers/s390/cio/qdio_main.c 	if (!count)
count             735 drivers/s390/cio/qdio_main.c 			"out empty:%1d %02x", q->nr, count);
count             737 drivers/s390/cio/qdio_main.c 		atomic_sub(count, &q->nr_buf_used);
count             739 drivers/s390/cio/qdio_main.c 			account_sbals(q, count);
count             740 drivers/s390/cio/qdio_main.c 		return count;
count             742 drivers/s390/cio/qdio_main.c 		process_buffer_error(q, start, count);
count             743 drivers/s390/cio/qdio_main.c 		atomic_sub(count, &q->nr_buf_used);
count             745 drivers/s390/cio/qdio_main.c 			account_sbals_error(q, count);
count             746 drivers/s390/cio/qdio_main.c 		return count;
count             771 drivers/s390/cio/qdio_main.c 	int count;
count             773 drivers/s390/cio/qdio_main.c 	count = get_outbound_buffer_frontier(q, start);
count             775 drivers/s390/cio/qdio_main.c 	if (count) {
count             778 drivers/s390/cio/qdio_main.c 			qdio_handle_aobs(q, start, count);
count             781 drivers/s390/cio/qdio_main.c 	return count;
count             829 drivers/s390/cio/qdio_main.c 	int count;
count             834 drivers/s390/cio/qdio_main.c 	count = qdio_outbound_q_moved(q, start);
count             835 drivers/s390/cio/qdio_main.c 	if (count) {
count             836 drivers/s390/cio/qdio_main.c 		q->first_to_check = add_buf(start, count);
count             837 drivers/s390/cio/qdio_main.c 		qdio_kick_handler(q, count);
count             894 drivers/s390/cio/qdio_main.c 	int count;
count             903 drivers/s390/cio/qdio_main.c 	count = qdio_inbound_q_moved(q, start);
count             904 drivers/s390/cio/qdio_main.c 	if (count == 0)
count             907 drivers/s390/cio/qdio_main.c 	start = add_buf(start, count);
count             909 drivers/s390/cio/qdio_main.c 	qdio_kick_handler(q, count);
count             993 drivers/s390/cio/qdio_main.c 	int count;
count            1008 drivers/s390/cio/qdio_main.c 	count = sub_buf(q->first_to_check, q->first_to_kick);
count            1010 drivers/s390/cio/qdio_main.c 		   q->nr, q->first_to_kick, count, irq_ptr->int_parm);
count            1350 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.count = irq_ptr->equeue.count;
count            1415 drivers/s390/cio/qdio_main.c 	irq_ptr->ccw.count = irq_ptr->aqueue.count;
count            1451 drivers/s390/cio/qdio_main.c static inline int buf_in_between(int bufnr, int start, int count)
count            1453 drivers/s390/cio/qdio_main.c 	int end = add_buf(start, count);
count            1478 drivers/s390/cio/qdio_main.c 			  int bufnr, int count)
count            1488 drivers/s390/cio/qdio_main.c 	if (count == QDIO_MAX_BUFFERS_PER_Q) {
count            1493 drivers/s390/cio/qdio_main.c 	} else if (buf_in_between(q->u.in.ack_start, bufnr, count)) {
count            1496 drivers/s390/cio/qdio_main.c 			diff = add_buf(bufnr, count);
count            1512 drivers/s390/cio/qdio_main.c 	count = set_buf_states(q, bufnr, SLSB_CU_INPUT_EMPTY, count);
count            1513 drivers/s390/cio/qdio_main.c 	atomic_add(count, &q->nr_buf_used);
count            1529 drivers/s390/cio/qdio_main.c 			   int bufnr, int count)
count            1537 drivers/s390/cio/qdio_main.c 	count = set_buf_states(q, bufnr, SLSB_CU_OUTPUT_PRIMED, count);
count            1538 drivers/s390/cio/qdio_main.c 	used = atomic_add_return(count, &q->nr_buf_used);
count            1553 drivers/s390/cio/qdio_main.c 		WARN_ON_ONCE(count > 1 && !multicast_outbound(q));
count            1561 drivers/s390/cio/qdio_main.c 	} else if (count < QDIO_MAX_BUFFERS_PER_Q &&
count            1594 drivers/s390/cio/qdio_main.c 	    int q_nr, unsigned int bufnr, unsigned int count)
count            1598 drivers/s390/cio/qdio_main.c 	if (bufnr >= QDIO_MAX_BUFFERS_PER_Q || count > QDIO_MAX_BUFFERS_PER_Q)
count            1606 drivers/s390/cio/qdio_main.c 		      "do%02x b:%02x c:%02x", callflags, bufnr, count);
count            1610 drivers/s390/cio/qdio_main.c 	if (!count)
count            1614 drivers/s390/cio/qdio_main.c 				      callflags, bufnr, count);
count            1617 drivers/s390/cio/qdio_main.c 				       callflags, bufnr, count);
count            1668 drivers/s390/cio/qdio_main.c 	int count;
count            1670 drivers/s390/cio/qdio_main.c 	count = q->is_input_q ? qdio_inbound_q_moved(q, start) :
count            1672 drivers/s390/cio/qdio_main.c 	if (count == 0)
count            1679 drivers/s390/cio/qdio_main.c 	q->first_to_check = add_buf(start, count);
count            1682 drivers/s390/cio/qdio_main.c 	return count;
count              43 drivers/s390/cio/qdio_setup.c void qdio_free_buffers(struct qdio_buffer **buf, unsigned int count)
count              47 drivers/s390/cio/qdio_setup.c 	for (pos = 0; pos < count; pos += QBUFF_PER_PAGE)
count              57 drivers/s390/cio/qdio_setup.c int qdio_alloc_buffers(struct qdio_buffer **buf, unsigned int count)
count              61 drivers/s390/cio/qdio_setup.c 	for (pos = 0; pos < count; pos += QBUFF_PER_PAGE) {
count              64 drivers/s390/cio/qdio_setup.c 			qdio_free_buffers(buf, count);
count              68 drivers/s390/cio/qdio_setup.c 	for (pos = 0; pos < count; pos++)
count              80 drivers/s390/cio/qdio_setup.c void qdio_reset_buffers(struct qdio_buffer **buf, unsigned int count)
count              84 drivers/s390/cio/qdio_setup.c 	for (pos = 0; pos < count; pos++)
count              35 drivers/s390/cio/qdio_thinint.c 	atomic_t count; /* use count, 0 or 1 for non-shared indicators */
count              60 drivers/s390/cio/qdio_thinint.c 		if (!atomic_cmpxchg(&q_indicators[i].count, 0, 1))
count              64 drivers/s390/cio/qdio_thinint.c 	atomic_inc(&q_indicators[TIQDIO_SHARED_IND].count);
count              74 drivers/s390/cio/qdio_thinint.c 	atomic_dec(&ind->count);
count             138 drivers/s390/cio/qdio_thinint.c 	if (!atomic_read(&q_indicators[TIQDIO_SHARED_IND].count))
count              16 drivers/s390/cio/vfio_ccw_async.c 					  char __user *buf, size_t count,
count              24 drivers/s390/cio/vfio_ccw_async.c 	if (pos + count > sizeof(*region))
count              29 drivers/s390/cio/vfio_ccw_async.c 	if (copy_to_user(buf, (void *)region + pos, count))
count              32 drivers/s390/cio/vfio_ccw_async.c 		ret = count;
count              38 drivers/s390/cio/vfio_ccw_async.c 					   const char __user *buf, size_t count,
count              46 drivers/s390/cio/vfio_ccw_async.c 	if (pos + count > sizeof(*region))
count              53 drivers/s390/cio/vfio_ccw_async.c 	if (copy_from_user((void *)region + pos, buf, count)) {
count              60 drivers/s390/cio/vfio_ccw_async.c 	ret = region->ret_code ? region->ret_code : count;
count             177 drivers/s390/cio/vfio_ccw_cp.c 			pccw1->count = 0;
count             181 drivers/s390/cio/vfio_ccw_cp.c 			pccw1->count = ccw0.count;
count             260 drivers/s390/cio/vfio_ccw_cp.c 	if (ccw->count == 0)
count             521 drivers/s390/cio/vfio_ccw_cp.c 	if (ccw->count)
count             522 drivers/s390/cio/vfio_ccw_cp.c 		bytes = ccw->count;
count             206 drivers/s390/cio/vfio_ccw_ops.c 					    char __user *buf, size_t count,
count             213 drivers/s390/cio/vfio_ccw_ops.c 	if (pos + count > sizeof(*region))
count             218 drivers/s390/cio/vfio_ccw_ops.c 	if (copy_to_user(buf, (void *)region + pos, count))
count             221 drivers/s390/cio/vfio_ccw_ops.c 		ret = count;
count             228 drivers/s390/cio/vfio_ccw_ops.c 				  size_t count,
count             241 drivers/s390/cio/vfio_ccw_ops.c 		return vfio_ccw_mdev_read_io_region(private, buf, count, ppos);
count             244 drivers/s390/cio/vfio_ccw_ops.c 		return private->region[index].ops->read(private, buf, count,
count             253 drivers/s390/cio/vfio_ccw_ops.c 					     size_t count, loff_t *ppos)
count             259 drivers/s390/cio/vfio_ccw_ops.c 	if (pos + count > sizeof(*region))
count             266 drivers/s390/cio/vfio_ccw_ops.c 	if (copy_from_user((void *)region + pos, buf, count)) {
count             274 drivers/s390/cio/vfio_ccw_ops.c 	ret = (region->ret_code != 0) ? region->ret_code : count;
count             283 drivers/s390/cio/vfio_ccw_ops.c 				   size_t count,
count             296 drivers/s390/cio/vfio_ccw_ops.c 		return vfio_ccw_mdev_write_io_region(private, buf, count, ppos);
count             299 drivers/s390/cio/vfio_ccw_ops.c 		return private->region[index].ops->write(private, buf, count,
count             390 drivers/s390/cio/vfio_ccw_ops.c 	info->count = 1;
count             533 drivers/s390/cio/vfio_ccw_ops.c 		minsz = offsetofend(struct vfio_irq_info, count);
count             545 drivers/s390/cio/vfio_ccw_ops.c 		if (info.count == -1)
count             556 drivers/s390/cio/vfio_ccw_ops.c 		minsz = offsetofend(struct vfio_irq_set, count);
count              36 drivers/s390/cio/vfio_ccw_private.h 			size_t count, loff_t *ppos);
count              38 drivers/s390/cio/vfio_ccw_private.h 			 const char __user *buf, size_t count, loff_t *ppos);
count            1028 drivers/s390/crypto/ap_bus.c 			       const char *buf, size_t count)
count            1042 drivers/s390/crypto/ap_bus.c 	return count;
count            1106 drivers/s390/crypto/ap_bus.c 				 const char *buf, size_t count)
count            1114 drivers/s390/crypto/ap_bus.c 	return count;
count            1125 drivers/s390/crypto/ap_bus.c 				 const char *buf, size_t count)
count            1134 drivers/s390/crypto/ap_bus.c 			count = rc;
count            1137 drivers/s390/crypto/ap_bus.c 	return count;
count            1148 drivers/s390/crypto/ap_bus.c 				  size_t count)
count            1166 drivers/s390/crypto/ap_bus.c 	return count;
count            1200 drivers/s390/crypto/ap_bus.c 			    size_t count)
count            1210 drivers/s390/crypto/ap_bus.c 	return count;
count            1231 drivers/s390/crypto/ap_bus.c 			    size_t count)
count            1241 drivers/s390/crypto/ap_bus.c 	return count;
count            1267 drivers/s390/crypto/ap_bus.c 	int count, max_count, best_domain;
count            1288 drivers/s390/crypto/ap_bus.c 		count = 0;
count            1297 drivers/s390/crypto/ap_bus.c 			count++;
count            1299 drivers/s390/crypto/ap_bus.c 		if (count > max_count) {
count            1300 drivers/s390/crypto/ap_bus.c 			max_count = count;
count              77 drivers/s390/crypto/ap_card.c 				   const char *buf, size_t count)
count              88 drivers/s390/crypto/ap_card.c 	return count;
count             492 drivers/s390/crypto/ap_queue.c 				   const char *buf, size_t count)
count             500 drivers/s390/crypto/ap_queue.c 	return count;
count             558 drivers/s390/crypto/ap_queue.c 			   const char *buf, size_t count)
count             571 drivers/s390/crypto/ap_queue.c 	return count;
count            1151 drivers/s390/crypto/pkey_api.c 					  loff_t off, size_t count)
count            1157 drivers/s390/crypto/pkey_api.c 	if (off != 0 || count < sizeof(protkeytoken))
count            1160 drivers/s390/crypto/pkey_api.c 		if (count < 2 * sizeof(protkeytoken))
count            1198 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1201 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1208 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1211 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1218 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1221 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1228 drivers/s390/crypto/pkey_api.c 					size_t count)
count            1231 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1238 drivers/s390/crypto/pkey_api.c 					size_t count)
count            1241 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1271 drivers/s390/crypto/pkey_api.c 					  loff_t off, size_t count)
count            1276 drivers/s390/crypto/pkey_api.c 	if (off != 0 || count < sizeof(struct secaeskeytoken))
count            1279 drivers/s390/crypto/pkey_api.c 		if (count < 2 * sizeof(struct secaeskeytoken))
count            1302 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1305 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1312 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1315 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1322 drivers/s390/crypto/pkey_api.c 				    size_t count)
count            1325 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1332 drivers/s390/crypto/pkey_api.c 					size_t count)
count            1335 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1342 drivers/s390/crypto/pkey_api.c 					size_t count)
count            1345 drivers/s390/crypto/pkey_api.c 					  off, count);
count            1378 drivers/s390/crypto/pkey_api.c 					    size_t count)
count            1383 drivers/s390/crypto/pkey_api.c 	if (off != 0 || count < CCACIPHERTOKENSIZE)
count            1386 drivers/s390/crypto/pkey_api.c 		if (count < 2 * CCACIPHERTOKENSIZE)
count            1414 drivers/s390/crypto/pkey_api.c 				      size_t count)
count            1417 drivers/s390/crypto/pkey_api.c 					    off, count);
count            1424 drivers/s390/crypto/pkey_api.c 				      size_t count)
count            1427 drivers/s390/crypto/pkey_api.c 					    off, count);
count            1434 drivers/s390/crypto/pkey_api.c 				      size_t count)
count            1437 drivers/s390/crypto/pkey_api.c 					    off, count);
count            1444 drivers/s390/crypto/pkey_api.c 					  size_t count)
count            1447 drivers/s390/crypto/pkey_api.c 					    off, count);
count            1454 drivers/s390/crypto/pkey_api.c 					  size_t count)
count            1457 drivers/s390/crypto/pkey_api.c 					    off, count);
count             601 drivers/s390/crypto/vfio_ap_ops.c 				    const char *buf, size_t count)
count             636 drivers/s390/crypto/vfio_ap_ops.c 	ret = count;
count             667 drivers/s390/crypto/vfio_ap_ops.c 				      const char *buf, size_t count)
count             689 drivers/s390/crypto/vfio_ap_ops.c 	return count;
count             747 drivers/s390/crypto/vfio_ap_ops.c 				   const char *buf, size_t count)
count             777 drivers/s390/crypto/vfio_ap_ops.c 	ret = count;
count             809 drivers/s390/crypto/vfio_ap_ops.c 				     const char *buf, size_t count)
count             831 drivers/s390/crypto/vfio_ap_ops.c 	return count;
count             853 drivers/s390/crypto/vfio_ap_ops.c 					   const char *buf, size_t count)
count             880 drivers/s390/crypto/vfio_ap_ops.c 	return count;
count             902 drivers/s390/crypto/vfio_ap_ops.c 					     const char *buf, size_t count)
count             924 drivers/s390/crypto/vfio_ap_ops.c 	return count;
count             188 drivers/s390/crypto/zcrypt_api.c 			       const char *buf, size_t count)
count             198 drivers/s390/crypto/zcrypt_api.c 	return count;
count             230 drivers/s390/crypto/zcrypt_api.c 			    const char *buf, size_t count)
count             240 drivers/s390/crypto/zcrypt_api.c 	return count;
count             272 drivers/s390/crypto/zcrypt_api.c 			    const char *buf, size_t count)
count             282 drivers/s390/crypto/zcrypt_api.c 	return count;
count             305 drivers/s390/crypto/zcrypt_api.c 				 const char *buf, size_t count)
count             315 drivers/s390/crypto/zcrypt_api.c 	return rc ? rc : count;
count             323 drivers/s390/crypto/zcrypt_api.c 				  const char *buf, size_t count)
count             333 drivers/s390/crypto/zcrypt_api.c 	return rc ? rc : count;
count             470 drivers/s390/crypto/zcrypt_api.c 			   size_t count, loff_t *f_pos)
count             481 drivers/s390/crypto/zcrypt_api.c 			    size_t count, loff_t *f_pos)
count              60 drivers/s390/crypto/zcrypt_card.c 			    const char *buf, size_t count)
count              78 drivers/s390/crypto/zcrypt_card.c 	return count;
count              50 drivers/s390/crypto/zcrypt_queue.c 			    const char *buf, size_t count)
count              70 drivers/s390/crypto/zcrypt_queue.c 	return count;
count             263 drivers/s390/net/ctcm_fsms.c 	if (ch->irb->scsw.cmd.count != 0)
count             266 drivers/s390/net/ctcm_fsms.c 			     CTCM_FUNTAIL, dev->name, ch->irb->scsw.cmd.count);
count             307 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = ch->trans_skb->len;
count             360 drivers/s390/net/ctcm_fsms.c 	int len = ch->max_bufsize - ch->irb->scsw.cmd.count;
count             418 drivers/s390/net/ctcm_fsms.c 	ch->ccw[1].count = ch->max_bufsize;
count             475 drivers/s390/net/ctcm_fsms.c 	ch->ccw[1].count = 2;	/* Transfer only length */
count             525 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = ch->max_bufsize;
count             606 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = 0;
count             610 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = 0;
count             622 drivers/s390/net/ctcm_fsms.c 	ch->ccw[0].count = 0;
count             626 drivers/s390/net/ctcm_fsms.c 	ch->ccw[2].count = 0;
count            1020 drivers/s390/net/ctcm_fsms.c 		ch->ccw[4].count = skb->len;
count            1234 drivers/s390/net/ctcm_fsms.c 	if (ch->irb->scsw.cmd.count != 0)
count            1237 drivers/s390/net/ctcm_fsms.c 			     CTCM_FUNTAIL, dev->name, ch->irb->scsw.cmd.count);
count            1337 drivers/s390/net/ctcm_fsms.c 	ch->ccw[1].count = ch->max_bufsize;
count            1353 drivers/s390/net/ctcm_fsms.c 	ch->ccw[1].count = ch->trans_skb->len;
count            1388 drivers/s390/net/ctcm_fsms.c 	int len	= ch->max_bufsize - ch->irb->scsw.cmd.count;
count            1450 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = ch->max_bufsize;
count            1559 drivers/s390/net/ctcm_fsms.c 		ch->ccw[1].count = ch->max_bufsize;
count            1796 drivers/s390/net/ctcm_fsms.c 	wch->ccw[4].count = skb->len;
count             395 drivers/s390/net/ctcm_main.c 	ch->ccw[1].count = ch->max_bufsize;
count             407 drivers/s390/net/ctcm_main.c 	ch->ccw[1].count = 0;
count             534 drivers/s390/net/ctcm_main.c 	ch->ccw[4].count = block_len;
count             554 drivers/s390/net/ctcm_main.c 		ch->ccw[1].count = skb->len;
count             795 drivers/s390/net/ctcm_main.c 	ch->ccw[4].count = skb->len;
count             811 drivers/s390/net/ctcm_main.c 		ch->ccw[1].count = skb->len;
count            1438 drivers/s390/net/ctcm_main.c 		ch->ccw[15].count    = TH_HEADER_LENGTH;
count            1773 drivers/s390/net/ctcm_main.c 			   size_t count)
count            1778 drivers/s390/net/ctcm_main.c 	return err ? err : count;
count            1709 drivers/s390/net/ctcm_mpc.c 	ch->ccw[8].count	= 0;
count            1723 drivers/s390/net/ctcm_mpc.c 		ch->ccw[9].count	= TH_HEADER_LENGTH;
count            1730 drivers/s390/net/ctcm_mpc.c 		ch->ccw[10].count	= XID2_LENGTH;
count            1735 drivers/s390/net/ctcm_mpc.c 		ch->ccw[11].count	= TH_HEADER_LENGTH;
count            1740 drivers/s390/net/ctcm_mpc.c 		ch->ccw[12].count	= XID2_LENGTH;
count            1749 drivers/s390/net/ctcm_mpc.c 		ch->ccw[9].count	= TH_HEADER_LENGTH;
count            1754 drivers/s390/net/ctcm_mpc.c 		ch->ccw[10].count	= XID2_LENGTH;
count            1761 drivers/s390/net/ctcm_mpc.c 		ch->ccw[11].count	= TH_HEADER_LENGTH;
count            1768 drivers/s390/net/ctcm_mpc.c 		ch->ccw[12].count	= XID2_LENGTH;
count            1778 drivers/s390/net/ctcm_mpc.c 	ch->ccw[13].count	= 4;
count            1782 drivers/s390/net/ctcm_mpc.c 	ch->ccw[14].count	= 0;
count              35 drivers/s390/net/ctcm_sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count              69 drivers/s390/net/ctcm_sysfs.c 	return count;
count             126 drivers/s390/net/ctcm_sysfs.c 				const char *buf, size_t count)
count             134 drivers/s390/net/ctcm_sysfs.c 	return count;
count             148 drivers/s390/net/ctcm_sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             165 drivers/s390/net/ctcm_sysfs.c 	return count;
count             218 drivers/s390/net/lcs.c 		card->read.ccws[cnt].count = LCS_IOBUFFERSIZE;
count             231 drivers/s390/net/lcs.c 		card->read.iob[cnt].count = LCS_IOBUFFERSIZE;
count             273 drivers/s390/net/lcs.c 		card->write.ccws[cnt].count = 0;
count             673 drivers/s390/net/lcs.c 	channel->ccws[index].count = buffer->count;
count             735 drivers/s390/net/lcs.c lcs_get_lancmd(struct lcs_card *card, int count)
count             744 drivers/s390/net/lcs.c 	count += sizeof(struct lcs_header);
count             745 drivers/s390/net/lcs.c 	*(__u16 *)(buffer->data + count) = 0;
count             746 drivers/s390/net/lcs.c 	buffer->count = count + sizeof(__u16);
count             749 drivers/s390/net/lcs.c 	cmd->offset = count;
count            1486 drivers/s390/net/lcs.c 	*(__u16 *)(card->tx_buffer->data + card->tx_buffer->count) = 0;
count            1487 drivers/s390/net/lcs.c 	card->tx_buffer->count += 2;
count            1548 drivers/s390/net/lcs.c 	    card->tx_buffer->count + sizeof(struct lcs_header) +
count            1561 drivers/s390/net/lcs.c 		card->tx_buffer->count = 0;
count            1564 drivers/s390/net/lcs.c 		(card->tx_buffer->data + card->tx_buffer->count);
count            1565 drivers/s390/net/lcs.c 	card->tx_buffer->count += skb->len + sizeof(struct lcs_header);
count            1566 drivers/s390/net/lcs.c 	header->offset = card->tx_buffer->count;
count            1915 drivers/s390/net/lcs.c lcs_portno_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1934 drivers/s390/net/lcs.c         return count;
count            1974 drivers/s390/net/lcs.c lcs_timeout_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count            1991 drivers/s390/net/lcs.c         return count;
count            1999 drivers/s390/net/lcs.c 		      const char *buf, size_t count)
count            2012 drivers/s390/net/lcs.c 	return count;
count            2393 drivers/s390/net/lcs.c 			   size_t count)
count            2397 drivers/s390/net/lcs.c 	return err ? err : count;
count             267 drivers/s390/net/lcs.h 	int count;
count            1428 drivers/s390/net/netiucv.c static int netiucv_check_user(const char *buf, size_t count, char *username,
count            1435 drivers/s390/net/netiucv.c 	if ((p && ((count > 26) ||
count            1437 drivers/s390/net/netiucv.c 		   (buf + count - p > 18))) ||
count            1438 drivers/s390/net/netiucv.c 	    (!p && (count > 9))) {
count            1477 drivers/s390/net/netiucv.c 			  const char *buf, size_t count)
count            1487 drivers/s390/net/netiucv.c 	rc = netiucv_check_user(buf, count, username, userdata);
count            1510 drivers/s390/net/netiucv.c 	return count;
count            1525 drivers/s390/net/netiucv.c 			     const char *buf, size_t count)
count            1533 drivers/s390/net/netiucv.c 	if (count >= 39)
count            1567 drivers/s390/net/netiucv.c 	return count;
count            1606 drivers/s390/net/netiucv.c 			       const char *buf, size_t count)
count            1612 drivers/s390/net/netiucv.c 	return count;
count            1627 drivers/s390/net/netiucv.c 			    const char *buf, size_t count)
count            1633 drivers/s390/net/netiucv.c 	return count;
count            1648 drivers/s390/net/netiucv.c 			    const char *buf, size_t count)
count            1654 drivers/s390/net/netiucv.c 	return count;
count            1669 drivers/s390/net/netiucv.c 			    const char *buf, size_t count)
count            1675 drivers/s390/net/netiucv.c 	return count;
count            1690 drivers/s390/net/netiucv.c 			    const char *buf, size_t count)
count            1696 drivers/s390/net/netiucv.c 	return count;
count            1711 drivers/s390/net/netiucv.c 			     const char *buf, size_t count)
count            1717 drivers/s390/net/netiucv.c 	return count;
count            1732 drivers/s390/net/netiucv.c 			     const char *buf, size_t count)
count            1738 drivers/s390/net/netiucv.c 	return count;
count            1753 drivers/s390/net/netiucv.c 			     const char *buf, size_t count)
count            1759 drivers/s390/net/netiucv.c 	return count;
count            2008 drivers/s390/net/netiucv.c 				size_t count)
count            2018 drivers/s390/net/netiucv.c 	rc = netiucv_check_user(buf, count, username, userdata);
count            2061 drivers/s390/net/netiucv.c 	return count;
count            2072 drivers/s390/net/netiucv.c 			    size_t count)
count            2084 drivers/s390/net/netiucv.c         if (count >= IFNAMSIZ)
count            2085 drivers/s390/net/netiucv.c                 count = IFNAMSIZ - 1;
count            2087 drivers/s390/net/netiucv.c 	for (i = 0, p = buf; i < count && *p; i++, p++) {
count            2100 drivers/s390/net/netiucv.c 		if (strncmp(name, ndev->name, count))
count            2112 drivers/s390/net/netiucv.c                 return count;
count             495 drivers/s390/net/qeth_core_main.c 	ccw->count = len;
count            1063 drivers/s390/net/qeth_core_main.c 		if (irb->scsw.cmd.count > iob->length) {
count            1069 drivers/s390/net/qeth_core_main.c 				      iob->length - irb->scsw.cmd.count);
count            1228 drivers/s390/net/qeth_core_main.c 	unsigned int count = single ? 1 : card->dev->num_tx_queues;
count            1232 drivers/s390/net/qeth_core_main.c 	rc = netif_set_real_num_tx_queues(card->dev, count);
count            1238 drivers/s390/net/qeth_core_main.c 	if (card->qdio.no_out_queues == count)
count            1244 drivers/s390/net/qeth_core_main.c 	if (count == 1)
count            1247 drivers/s390/net/qeth_core_main.c 	card->qdio.no_out_queues = count;
count            1866 drivers/s390/net/qeth_core_main.c 	if (ciw->count < sizeof(struct qeth_node_desc))
count            1869 drivers/s390/net/qeth_core_main.c 	iob = qeth_alloc_cmd(channel, ciw->count, 1, QETH_RCD_TIMEOUT);
count            3126 drivers/s390/net/qeth_core_main.c 	int count;
count            3131 drivers/s390/net/qeth_core_main.c 	count = (index < queue->next_buf_to_init)?
count            3137 drivers/s390/net/qeth_core_main.c 	if (count >= QETH_IN_BUF_REQUEUE_THRESHOLD(card)) {
count            3139 drivers/s390/net/qeth_core_main.c 		     i < queue->next_buf_to_init + count; ++i) {
count            3148 drivers/s390/net/qeth_core_main.c 		if (newcount < count) {
count            3152 drivers/s390/net/qeth_core_main.c 			count = newcount;
count            3157 drivers/s390/net/qeth_core_main.c 		if (!count) {
count            3179 drivers/s390/net/qeth_core_main.c 			     queue->next_buf_to_init, count);
count            3183 drivers/s390/net/qeth_core_main.c 		queue->next_buf_to_init = (queue->next_buf_to_init + count) %
count            3277 drivers/s390/net/qeth_core_main.c 			       int count)
count            3285 drivers/s390/net/qeth_core_main.c 	for (i = index; i < index + count; ++i) {
count            3327 drivers/s390/net/qeth_core_main.c 		     queue->queue_no, index, count);
count            3340 drivers/s390/net/qeth_core_main.c 		QETH_CARD_TEXT_(queue->card, 2, " c%d", count);
count            3428 drivers/s390/net/qeth_core_main.c 				 int count)
count            3438 drivers/s390/net/qeth_core_main.c 	QETH_CARD_TEXT_(card, 5, "qcqhc%d", count);
count            3447 drivers/s390/net/qeth_core_main.c 	for (i = first_element; i < first_element + count; ++i) {
count            3464 drivers/s390/net/qeth_core_main.c 		    count);
count            3471 drivers/s390/net/qeth_core_main.c 				   + count) % QDIO_MAX_BUFFERS_PER_Q;
count            3476 drivers/s390/net/qeth_core_main.c 				    int first_elem, int count,
count            3485 drivers/s390/net/qeth_core_main.c 		qeth_qdio_cq_handler(card, qdio_err, queue, first_elem, count);
count            3492 drivers/s390/net/qeth_core_main.c 				     int first_element, int count,
count            3510 drivers/s390/net/qeth_core_main.c 	for (i = first_element; i < (first_element + count); ++i) {
count            3517 drivers/s390/net/qeth_core_main.c 	atomic_sub(count, &queue->used_buffers);
count            5801 drivers/s390/net/qeth_core_main.c 			   size_t count)
count            5808 drivers/s390/net/qeth_core_main.c 	return err ? err : count;
count             116 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             145 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             157 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             163 drivers/s390/net/qeth_core_sys.c 	return count;
count             193 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             254 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             272 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             297 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             304 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             320 drivers/s390/net/qeth_core_sys.c 	return count;
count             337 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             362 drivers/s390/net/qeth_core_sys.c 	return count;
count             380 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             441 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             472 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             500 drivers/s390/net/qeth_core_sys.c 	rc = count;
count             567 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             604 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             620 drivers/s390/net/qeth_core_sys.c 		const char *buf, size_t count, int *value, int max_value)
count             640 drivers/s390/net/qeth_core_sys.c 	return rc ? rc : count;
count             652 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             656 drivers/s390/net/qeth_core_sys.c 	return qeth_dev_blkt_store(card, buf, count,
count             674 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             678 drivers/s390/net/qeth_core_sys.c 	return qeth_dev_blkt_store(card, buf, count,
count             695 drivers/s390/net/qeth_core_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             699 drivers/s390/net/qeth_core_sys.c 	return qeth_dev_blkt_store(card, buf, count,
count              78 drivers/s390/net/qeth_l2_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             113 drivers/s390/net/qeth_l2_sys.c 	return rc ? rc : count;
count             151 drivers/s390/net/qeth_l2_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             179 drivers/s390/net/qeth_l2_sys.c 	return rc ? rc : count;
count             210 drivers/s390/net/qeth_l2_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             247 drivers/s390/net/qeth_l2_sys.c 	return rc ? rc : count;
count             345 drivers/s390/net/qeth_l2_sys.c 					const char *buf, size_t count)
count             361 drivers/s390/net/qeth_l2_sys.c 	return rc ? rc : count;
count             389 drivers/s390/net/qeth_l2_sys.c 				     const char *buf, size_t count)
count             407 drivers/s390/net/qeth_l2_sys.c 	return rc ? rc : count;
count              71 drivers/s390/net/qeth_l3_sys.c 		const char *buf, size_t count)
count             104 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             108 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             116 drivers/s390/net/qeth_l3_sys.c 				QETH_PROT_IPV4, buf, count);
count             134 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             142 drivers/s390/net/qeth_l3_sys.c 				QETH_PROT_IPV6, buf, count);
count             160 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             182 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             200 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             245 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             270 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             330 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             362 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             392 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             412 drivers/s390/net/qeth_l3_sys.c 				const char *buf, size_t count)
count             437 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             512 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_ipato_add_store(const char *buf, size_t count,
count             539 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             543 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             550 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_ipato_add_store(buf, count, card, QETH_PROT_IPV4);
count             557 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_ipato_del_store(const char *buf, size_t count,
count             569 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             573 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             580 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_ipato_del_store(buf, count, card, QETH_PROT_IPV4);
count             598 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             623 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             643 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             650 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_ipato_add_store(buf, count, card, QETH_PROT_IPV6);
count             658 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             665 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_ipato_del_store(buf, count, card, QETH_PROT_IPV6);
count             740 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_vipa_add_store(const char *buf, size_t count,
count             752 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             756 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             763 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_vipa_add_store(buf, count, card, QETH_PROT_IPV4);
count             770 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_vipa_del_store(const char *buf, size_t count,
count             782 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             786 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             793 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_vipa_del_store(buf, count, card, QETH_PROT_IPV4);
count             808 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             815 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_vipa_add_store(buf, count, card, QETH_PROT_IPV6);
count             823 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             830 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_vipa_del_store(buf, count, card, QETH_PROT_IPV6);
count             883 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_rxip_add_store(const char *buf, size_t count,
count             895 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             899 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             906 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_rxip_add_store(buf, count, card, QETH_PROT_IPV4);
count             913 drivers/s390/net/qeth_l3_sys.c static ssize_t qeth_l3_dev_rxip_del_store(const char *buf, size_t count,
count             925 drivers/s390/net/qeth_l3_sys.c 	return rc ? rc : count;
count             929 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             936 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_rxip_del_store(buf, count, card, QETH_PROT_IPV4);
count             951 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             958 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_rxip_add_store(buf, count, card, QETH_PROT_IPV6);
count             966 drivers/s390/net/qeth_l3_sys.c 		struct device_attribute *attr, const char *buf, size_t count)
count             973 drivers/s390/net/qeth_l3_sys.c 	return qeth_l3_dev_rxip_del_store(buf, count, card, QETH_PROT_IPV6);
count             619 drivers/s390/scsi/zfcp_fc.c static void zfcp_fc_sg_free_table(struct scatterlist *sg, int count)
count             623 drivers/s390/scsi/zfcp_fc.c 	for (i = 0; i < count; i++, sg = sg_next(sg))
count             638 drivers/s390/scsi/zfcp_fc.c static int zfcp_fc_sg_setup_table(struct scatterlist *sg, int count)
count             643 drivers/s390/scsi/zfcp_fc.c 	sg_init_table(sg, count);
count             644 drivers/s390/scsi/zfcp_fc.c 	for (i = 0; i < count; i++, sg = sg_next(sg)) {
count              63 drivers/s390/scsi/zfcp_qdio.c 			      int queue_no, int idx, int count,
count              74 drivers/s390/scsi/zfcp_qdio.c 	zfcp_qdio_zero_sbals(qdio->req_q, idx, count);
count              79 drivers/s390/scsi/zfcp_qdio.c 	atomic_add(count, &qdio->req_q_free);
count              84 drivers/s390/scsi/zfcp_qdio.c 			       int queue_no, int idx, int count,
count             121 drivers/s390/scsi/zfcp_qdio.c 	for (sbal_no = 0; sbal_no < count; sbal_no++) {
count             130 drivers/s390/scsi/zfcp_qdio.c 	if (do_QDIO(cdev, QDIO_FLAG_SYNC_INPUT, 0, idx, count))
count             345 drivers/s390/scsi/zfcp_qdio.c 	int idx, count;
count             360 drivers/s390/scsi/zfcp_qdio.c 	count = atomic_read(&qdio->req_q_free);
count             361 drivers/s390/scsi/zfcp_qdio.c 	if (count < QDIO_MAX_BUFFERS_PER_Q) {
count             362 drivers/s390/scsi/zfcp_qdio.c 		idx = (qdio->req_q_idx + count) % QDIO_MAX_BUFFERS_PER_Q;
count             363 drivers/s390/scsi/zfcp_qdio.c 		count = QDIO_MAX_BUFFERS_PER_Q - count;
count             364 drivers/s390/scsi/zfcp_qdio.c 		zfcp_qdio_zero_sbals(qdio->req_q, idx, count);
count             114 drivers/s390/scsi/zfcp_qdio.h 	int count = min(atomic_read(&qdio->req_q_free),
count             121 drivers/s390/scsi/zfcp_qdio.h 	q_req->sbal_limit = (q_req->sbal_first + count - 1)
count             209 drivers/s390/scsi/zfcp_qdio.h 	int count = min(atomic_read(&qdio->req_q_free), max_sbals);
count             211 drivers/s390/scsi/zfcp_qdio.h 	q_req->sbal_limit = (q_req->sbal_first + count - 1) %
count             223 drivers/s390/scsi/zfcp_qdio.h 			    struct zfcp_qdio_req *q_req, u32 count)
count             228 drivers/s390/scsi/zfcp_qdio.h 	sbale->length = count;
count             104 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             116 drivers/s390/scsi/zfcp_sysfs.c 	return count;
count             142 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             160 drivers/s390/scsi/zfcp_sysfs.c 	return count;
count             188 drivers/s390/scsi/zfcp_sysfs.c 					       const char *buf, size_t count)
count             206 drivers/s390/scsi/zfcp_sysfs.c 	return retval ? retval : (ssize_t) count;
count             214 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             231 drivers/s390/scsi/zfcp_sysfs.c 	return (ssize_t) count;
count             287 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             323 drivers/s390/scsi/zfcp_sysfs.c 	return retval ? retval : (ssize_t) count;
count             349 drivers/s390/scsi/zfcp_sysfs.c 					 const char *buf, size_t count)
count             362 drivers/s390/scsi/zfcp_sysfs.c 	return count;
count             368 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             379 drivers/s390/scsi/zfcp_sysfs.c 	return count;
count             451 drivers/s390/scsi/zfcp_sysfs.c 					const char *buf, size_t count)	\
count             468 drivers/s390/scsi/zfcp_sysfs.c 	return (ssize_t) count;						\
count             522 drivers/s390/scsi/zfcp_sysfs.c 					    const char *buf, size_t count)
count             535 drivers/s390/scsi/zfcp_sysfs.c 	return count;
count             362 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(*thinint_area);
count             372 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(indicators(vcdev));
count             438 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(struct vq_config_block);
count             465 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(info->info_block->l);
count             472 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(info->info_block->s);
count             564 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(info->info_block->l);
count             571 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(info->info_block->s);
count             631 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*thinint_area);
count             704 drivers/s390/virtio/virtio_ccw.c 		ccw->count = sizeof(indicators(vcdev));
count             715 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(indicators2(vcdev));
count             750 drivers/s390/virtio/virtio_ccw.c 	ccw->count = 0;
count             777 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*features);
count             794 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*features);
count             847 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*features);
count             861 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*features);
count             893 drivers/s390/virtio/virtio_ccw.c 	ccw->count = offset + len;
count             940 drivers/s390/virtio/virtio_ccw.c 	ccw->count = offset + len;
count             964 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(vcdev->dma_area->status);
count             993 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(status);
count            1253 drivers/s390/virtio/virtio_ccw.c 	ccw->count = sizeof(*rev);
count             539 drivers/sbus/char/envctrl.c envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             106 drivers/sbus/char/flash.c 	   size_t count, loff_t *ppos)
count             111 drivers/sbus/char/flash.c 	if (count > flash.read_size - p)
count             112 drivers/sbus/char/flash.c 		count = flash.read_size - p;
count             114 drivers/sbus/char/flash.c 	for (i = 0; i < count; i++) {
count             121 drivers/sbus/char/flash.c 	*ppos += count;
count             122 drivers/sbus/char/flash.c 	return count;
count             208 drivers/sbus/char/oradax.c 			size_t count, loff_t *ppos);
count             210 drivers/sbus/char/oradax.c 			 size_t count, loff_t *ppos);
count             224 drivers/sbus/char/oradax.c 			size_t count, loff_t *ppos);
count             548 drivers/sbus/char/oradax.c 			size_t count, loff_t *ppos)
count             557 drivers/sbus/char/oradax.c 	if (count != sizeof(union ccb_result))
count             561 drivers/sbus/char/oradax.c 	return count;
count             565 drivers/sbus/char/oradax.c 			 size_t count, loff_t *ppos)
count             575 drivers/sbus/char/oradax.c 	if (count == 0 || count > DAX_MAX_CCBS * sizeof(struct dax_ccb))
count             578 drivers/sbus/char/oradax.c 	if (count % sizeof(struct dax_ccb) == 0)
count             579 drivers/sbus/char/oradax.c 		return dax_ccb_exec(ctx, buf, count, ppos); /* CCB EXEC */
count             581 drivers/sbus/char/oradax.c 	if (count != sizeof(struct dax_command))
count             612 drivers/sbus/char/oradax.c 		return count;
count             629 drivers/sbus/char/oradax.c 		return count;
count             637 drivers/sbus/char/oradax.c 		return count;
count             713 drivers/sbus/char/oradax.c 	int count, ret = 0;
count             716 drivers/sbus/char/oradax.c 	for (count = 0; count < DAX_CCB_RETRIES; count++) {
count             730 drivers/sbus/char/oradax.c 		dax_info_dbg("ccb_kill count = %d", count);
count             853 drivers/sbus/char/oradax.c 			size_t count, loff_t *ppos)
count             860 drivers/sbus/char/oradax.c 	nccbs = count / sizeof(struct dax_ccb);
count             867 drivers/sbus/char/oradax.c 	dax_dbg("args: ccb_buf_len=%ld, idx=%d", count, idx);
count             879 drivers/sbus/char/oradax.c 	if (copy_from_user(ctx->ccb_buf, buf, count)) {
count             907 drivers/sbus/char/oradax.c 	hv_rv = sun4v_ccb_submit(ctx->ccb_buf_ra, count,
count             989 drivers/sbus/char/oradax.c 	if (count == accepted_len)
count             285 drivers/scsi/3w-9xxx.c 	int finished = 0, count = 0;
count             335 drivers/scsi/3w-9xxx.c 		count++;
count             359 drivers/scsi/3w-9xxx.c 	} while ((finished == 0) && (count < TW_MAX_AEN_DRAIN));
count             361 drivers/scsi/3w-9xxx.c 	if (count == TW_MAX_AEN_DRAIN)
count             943 drivers/scsi/3w-9xxx.c 	int count = 0, retval = 1;
count             947 drivers/scsi/3w-9xxx.c 	while (((status_reg_value & TW_STATUS_RESPONSE_QUEUE_EMPTY) == 0) && (count < TW_MAX_RESPONSE_DRAIN)) {
count             950 drivers/scsi/3w-9xxx.c 		count++;
count             952 drivers/scsi/3w-9xxx.c 	if (count == TW_MAX_RESPONSE_DRAIN)
count             100 drivers/scsi/3w-sas.c 				  char *outbuf, loff_t offset, size_t count)
count             112 drivers/scsi/3w-sas.c 	ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * TW_Q_LENGTH);
count             131 drivers/scsi/3w-sas.c 				     char *outbuf, loff_t offset, size_t count)
count             143 drivers/scsi/3w-sas.c 	ret = memory_read_from_buffer(outbuf, count, &offset, &tw_dev->tw_compat_info, sizeof(TW_Compatibility_Info));
count             561 drivers/scsi/3w-sas.c 	int finished = 0, count = 0;
count             606 drivers/scsi/3w-sas.c 		count++;
count             630 drivers/scsi/3w-sas.c 	} while ((finished == 0) && (count < TW_MAX_AEN_DRAIN));
count             632 drivers/scsi/3w-sas.c 	if (count == TW_MAX_AEN_DRAIN)
count             425 drivers/scsi/53c700.c 	int count, synchronous = 0;
count             429 drivers/scsi/53c700.c 		count = ((NCR_700_readb(host, DFIFO_REG) & 0x7f) -
count             432 drivers/scsi/53c700.c 		count = ((NCR_700_readb(host, DFIFO_REG) & 0x3f) -
count             445 drivers/scsi/53c700.c 			count += (NCR_700_readb(host, SSTAT2_REG) & 0xf0) >> 4;
count             448 drivers/scsi/53c700.c 				++count;
count             453 drivers/scsi/53c700.c 			++count;
count             455 drivers/scsi/53c700.c 			++count;
count             458 drivers/scsi/53c700.c 	if(count)
count             459 drivers/scsi/53c700.c 		printk("RESIDUAL IS %d (ddir %d)\n", count, ddir);
count             461 drivers/scsi/53c700.c 	return count;
count            1269 drivers/scsi/53c700.c 	int count = 0;
count            1276 drivers/scsi/53c700.c 	for(count = 0; count < 5; count++) {
count            1382 drivers/scsi/53c700.c 	__u16 count = 1;	/* for IDENTIFY message */
count            1419 drivers/scsi/53c700.c 		count += spi_populate_tag_msg(&hostdata->msgout[count], SCp);
count            1424 drivers/scsi/53c700.c 		count += spi_populate_sync_msg(&hostdata->msgout[count],
count            1430 drivers/scsi/53c700.c 	script_patch_16(hostdata->dev, hostdata->script, MessageCount, count);
count            1449 drivers/scsi/53c700.c 	dma_cache_sync(hostdata->dev, hostdata->msgout, count, DMA_TO_DEVICE);
count            1580 drivers/scsi/53c700.c 				int count = (hostdata->script[Ent_SendMessage/4] & 0xffffff) - ((NCR_700_readl(host, DBC_REG) & 0xffffff) + NCR_700_data_residual(host));
count            1581 drivers/scsi/53c700.c 				printk("scsi%d (%d:%d) PHASE MISMATCH IN SEND MESSAGE %d remain, return %p[%04x], phase %s\n", host->host_no, pun, lun, count, (void *)temp, temp - hostdata->pScript, sbcl_to_string(NCR_700_readb(host, SBCL_REG)));
count            1606 drivers/scsi/53c700.c 					int count; 
count            1611 drivers/scsi/53c700.c 					count = (bS_to_cpu(slot->SG[SGcount].ins) & 0x00ffffff);
count            1612 drivers/scsi/53c700.c 					DEBUG(("DATA TRANSFER MISMATCH, count = %d, transferred %d\n", count, count-data_transfer));
count            1616 drivers/scsi/53c700.c 					pAddr += (count - data_transfer);
count            1865 drivers/scsi/53c700.c 		__u32 count = 0;
count            1872 drivers/scsi/53c700.c 			count = sg_dma_len(sg);
count            1874 drivers/scsi/53c700.c 			slot->SG[i].ins = bS_to_host(move_ins | count);
count            1876 drivers/scsi/53c700.c 			       i, count, slot->SG[i].ins, (unsigned long)vPtr));
count             777 drivers/scsi/BusLogic.c 			fetch_localram.count = sizeof(autoscsi_byte45);
count            1050 drivers/scsi/BusLogic.c 				fetch_localram.count = sizeof(d0_mapbyte);
count            1603 drivers/scsi/BusLogic.c 		fetch_localram.count = sizeof(autoscsi);
count            3033 drivers/scsi/BusLogic.c 	int count;
count            3071 drivers/scsi/BusLogic.c 	count = scsi_dma_map(command);
count            3072 drivers/scsi/BusLogic.c 	BUG_ON(count < 0);
count            3073 drivers/scsi/BusLogic.c 	if (count) {
count            3078 drivers/scsi/BusLogic.c 		ccb->datalen = count * sizeof(struct blogic_sg_seg);
count            3086 drivers/scsi/BusLogic.c 		scsi_for_each_sg(command, sg, count, i) {
count            3090 drivers/scsi/BusLogic.c 	} else if (!count) {
count             540 drivers/scsi/BusLogic.h 	unsigned char count;	/* Byte 1 */
count            1223 drivers/scsi/BusLogic.h static inline void blogic_inc_count(unsigned short *count)
count            1225 drivers/scsi/BusLogic.h 	if (*count < 65535)
count            1226 drivers/scsi/BusLogic.h 		(*count)++;
count             760 drivers/scsi/FlashPoint.c #define HP_SETUP_ADDR_CNT(port,addr,count) (WRW_HARPOON((port+hp_host_addr_lo), (unsigned short)(addr & 0x0000FFFFL)),\
count             763 drivers/scsi/FlashPoint.c          WR_HARP32(port,hp_xfercnt_0,count),\
count             764 drivers/scsi/FlashPoint.c          WRW_HARPOON((port+hp_xfer_cnt_lo), (unsigned short)(count & 0x0000FFFFL)),\
count             765 drivers/scsi/FlashPoint.c          count >>= 16,\
count             766 drivers/scsi/FlashPoint.c          WR_HARPOON(port+hp_xfer_cnt_hi, (count & 0xFF)))
count            4951 drivers/scsi/FlashPoint.c 	u32 count, addr, tmpSGCnt;
count            4958 drivers/scsi/FlashPoint.c 		count = ((u32)HOST_RD_CMD) << 24;
count            4960 drivers/scsi/FlashPoint.c 		count = ((u32)HOST_WRT_CMD) << 24;
count            4979 drivers/scsi/FlashPoint.c 		count |= segp->segbytes;
count            4984 drivers/scsi/FlashPoint.c 			    ((count & 0x00FFFFFFL) - pcurrSCCB->Sccb_SGoffset);
count            4985 drivers/scsi/FlashPoint.c 			count =
count            4986 drivers/scsi/FlashPoint.c 			    (count & 0xFF000000L) | pcurrSCCB->Sccb_SGoffset;
count            4987 drivers/scsi/FlashPoint.c 			tmpSGCnt = count & 0x00FFFFFFL;
count            4993 drivers/scsi/FlashPoint.c 		WR_HARP32(p_port, reg_offset, count);
count            4996 drivers/scsi/FlashPoint.c 		count &= 0xFF000000L;
count            5044 drivers/scsi/FlashPoint.c 	u32 addr, count;
count            5048 drivers/scsi/FlashPoint.c 		count = pcurrSCCB->Sccb_XferCnt;
count            5055 drivers/scsi/FlashPoint.c 		count = pcurrSCCB->RequestSenseLength;
count            5059 drivers/scsi/FlashPoint.c 	HP_SETUP_ADDR_CNT(p_port, addr, count);
count            6082 drivers/scsi/FlashPoint.c 	unsigned char count;
count            6084 drivers/scsi/FlashPoint.c 	for (count = 1; count < 0x08; count <<= 1) {
count            6085 drivers/scsi/FlashPoint.c 		if (!(p_quintet & count))
count             745 drivers/scsi/NCR5380.c 	int *count;
count             788 drivers/scsi/NCR5380.c 	count = &hostdata->connected->SCp.this_residual;
count             790 drivers/scsi/NCR5380.c 	*count -= transferred;
count             801 drivers/scsi/NCR5380.c 				(*count)--;
count             809 drivers/scsi/NCR5380.c 				*count -= toPIO - cnt;
count            1242 drivers/scsi/NCR5380.c 				unsigned char *phase, int *count,
count            1247 drivers/scsi/NCR5380.c 	int c = *count;
count            1336 drivers/scsi/NCR5380.c 	*count = c;
count            1464 drivers/scsi/NCR5380.c 				unsigned char *phase, int *count,
count            1468 drivers/scsi/NCR5380.c 	int c = *count;
count            1618 drivers/scsi/NCR5380.c 			d[*count - 1] = NCR5380_read(INPUT_DATA_REG);
count            1684 drivers/scsi/NCR5380.c 				int count;
count            1688 drivers/scsi/NCR5380.c 				count = sun3scsi_dma_xfer_len(hostdata, cmd);
count            1690 drivers/scsi/NCR5380.c 				if (count > 0) {
count            1693 drivers/scsi/NCR5380.c 						                        cmd->SCp.ptr, count);
count            1696 drivers/scsi/NCR5380.c 						                        cmd->SCp.ptr, count);
count            2131 drivers/scsi/NCR5380.c 		int count;
count            2135 drivers/scsi/NCR5380.c 		count = sun3scsi_dma_xfer_len(hostdata, tmp);
count            2137 drivers/scsi/NCR5380.c 		if (count > 0) {
count            2140 drivers/scsi/NCR5380.c 				                        tmp->SCp.ptr, count);
count            2143 drivers/scsi/NCR5380.c 				                        tmp->SCp.ptr, count);
count             279 drivers/scsi/NCR5380.h static int NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data);
count             280 drivers/scsi/NCR5380.h static int NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data);
count             311 drivers/scsi/NCR5380.h                                          unsigned char *data, int count)
count             372 drivers/scsi/aacraid/aachba.c 		dinfo->count = cpu_to_le32(sizeof(((struct aac_get_config_status_resp *)NULL)->data));
count             546 drivers/scsi/aacraid/aachba.c 			int count = sizeof(d);
count             550 drivers/scsi/aacraid/aachba.c 			} while (--count > 0);
count             588 drivers/scsi/aacraid/aachba.c 	dinfo->count = cpu_to_le32(data_size - 1);
count             670 drivers/scsi/aacraid/aachba.c 		scsicmd->SCp.Status = le32_to_cpu(dresp->count);
count             711 drivers/scsi/aacraid/aachba.c 	dinfo->count = cpu_to_le32(scmd_id(scsicmd));
count             750 drivers/scsi/aacraid/aachba.c 		dinfo->count = cpu_to_le32(scmd_id(scsicmd));
count            1211 drivers/scsi/aacraid/aachba.c static int aac_read_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
count            1226 drivers/scsi/aacraid/aachba.c 		readcmd2->byteCount = cpu_to_le32(count *
count            1242 drivers/scsi/aacraid/aachba.c 		readcmd->count = cpu_to_le32(count *
count            1253 drivers/scsi/aacraid/aachba.c 			((le32_to_cpu(readcmd->sg.count)-1) * sizeof(struct sgentryraw));
count            1269 drivers/scsi/aacraid/aachba.c static int aac_read_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
count            1279 drivers/scsi/aacraid/aachba.c 	readcmd->sector_count = cpu_to_le16(count);
count            1288 drivers/scsi/aacraid/aachba.c 		((le32_to_cpu(readcmd->sg.count) - 1) *
count            1304 drivers/scsi/aacraid/aachba.c static int aac_read_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count)
count            1316 drivers/scsi/aacraid/aachba.c 	readcmd->count = cpu_to_le32(count *
count            1323 drivers/scsi/aacraid/aachba.c 			((le32_to_cpu(readcmd->sg.count) - 1) *
count            1339 drivers/scsi/aacraid/aachba.c static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
count            1354 drivers/scsi/aacraid/aachba.c 		writecmd2->byteCount = cpu_to_le32(count *
count            1373 drivers/scsi/aacraid/aachba.c 		writecmd->count = cpu_to_le32(count *
count            1387 drivers/scsi/aacraid/aachba.c 			((le32_to_cpu(writecmd->sg.count)-1) * sizeof (struct sgentryraw));
count            1403 drivers/scsi/aacraid/aachba.c static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
count            1413 drivers/scsi/aacraid/aachba.c 	writecmd->sector_count = cpu_to_le16(count);
count            1422 drivers/scsi/aacraid/aachba.c 		((le32_to_cpu(writecmd->sg.count) - 1) *
count            1438 drivers/scsi/aacraid/aachba.c static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua)
count            1450 drivers/scsi/aacraid/aachba.c 	writecmd->count = cpu_to_le32(count *
count            1452 drivers/scsi/aacraid/aachba.c 	writecmd->sg.count = cpu_to_le32(1);
count            1459 drivers/scsi/aacraid/aachba.c 		((le32_to_cpu(writecmd->sg.count) - 1) *
count            1570 drivers/scsi/aacraid/aachba.c 	srbcmd->count = cpu_to_le32(scsi_bufflen(cmd));
count            1578 drivers/scsi/aacraid/aachba.c 		((le32_to_cpu(srbcmd->sg.count) & 0xff) *
count            1601 drivers/scsi/aacraid/aachba.c 	srbcmd->count = cpu_to_le32(scsi_bufflen(cmd));
count            1609 drivers/scsi/aacraid/aachba.c 		(((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) *
count            1705 drivers/scsi/aacraid/aachba.c 	srb->count		= cpu_to_le32(xfer_len);
count            1708 drivers/scsi/aacraid/aachba.c 	sg64->count		= cpu_to_le32(1);
count            1711 drivers/scsi/aacraid/aachba.c 	sg64->sg[0].count	= cpu_to_le32(xfer_len);
count            2409 drivers/scsi/aacraid/aachba.c 	u32 count;
count            2425 drivers/scsi/aacraid/aachba.c 		count = scsicmd->cmnd[4];
count            2427 drivers/scsi/aacraid/aachba.c 		if (count == 0)
count            2428 drivers/scsi/aacraid/aachba.c 			count = 256;
count            2440 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[10] << 24) |
count            2450 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[6] << 24) |
count            2460 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
count            2464 drivers/scsi/aacraid/aachba.c 	if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) {
count            2488 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_read(cmd_fibcontext, scsicmd, lba, count);
count            2510 drivers/scsi/aacraid/aachba.c 	u32 count;
count            2524 drivers/scsi/aacraid/aachba.c 		count = scsicmd->cmnd[4];
count            2525 drivers/scsi/aacraid/aachba.c 		if (count == 0)
count            2526 drivers/scsi/aacraid/aachba.c 			count = 256;
count            2538 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[10] << 24) | (scsicmd->cmnd[11] << 16) |
count            2546 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[6] << 24) | (scsicmd->cmnd[7] << 16)
count            2552 drivers/scsi/aacraid/aachba.c 		count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
count            2556 drivers/scsi/aacraid/aachba.c 	if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) {
count            2580 drivers/scsi/aacraid/aachba.c 	status = aac_adapter_write(cmd_fibcontext, scsicmd, lba, count, fua);
count            2652 drivers/scsi/aacraid/aachba.c 	u32 count = (scsicmd->cmnd[7] << 8) | scsicmd->cmnd[8];
count            2704 drivers/scsi/aacraid/aachba.c 			  (count && ((lba + count) < cmnd_lba)))
count            2734 drivers/scsi/aacraid/aachba.c 	synchronizecmd->count =
count            3916 drivers/scsi/aacraid/aachba.c 	psg->count = 0;
count            3918 drivers/scsi/aacraid/aachba.c 	psg->sg[0].count = 0;
count            3924 drivers/scsi/aacraid/aachba.c 	psg->count = cpu_to_le32(nseg);
count            3928 drivers/scsi/aacraid/aachba.c 		psg->sg[i].count = cpu_to_le32(sg_dma_len(sg));
count            3933 drivers/scsi/aacraid/aachba.c 		u32 temp = le32_to_cpu(psg->sg[i-1].count) -
count            3935 drivers/scsi/aacraid/aachba.c 		psg->sg[i-1].count = cpu_to_le32(temp);
count            3957 drivers/scsi/aacraid/aachba.c 	psg->count = 0;
count            3960 drivers/scsi/aacraid/aachba.c 	psg->sg[0].count = 0;
count            3967 drivers/scsi/aacraid/aachba.c 		int count = sg_dma_len(sg);
count            3971 drivers/scsi/aacraid/aachba.c 		psg->sg[i].count = cpu_to_le32(count);
count            3972 drivers/scsi/aacraid/aachba.c 		byte_count += count;
count            3974 drivers/scsi/aacraid/aachba.c 	psg->count = cpu_to_le32(nseg);
count            3977 drivers/scsi/aacraid/aachba.c 		u32 temp = le32_to_cpu(psg->sg[i-1].count) -
count            3979 drivers/scsi/aacraid/aachba.c 		psg->sg[i-1].count = cpu_to_le32(temp);
count            3999 drivers/scsi/aacraid/aachba.c 	psg->count = 0;
count            4004 drivers/scsi/aacraid/aachba.c 	psg->sg[0].count = 0;
count            4012 drivers/scsi/aacraid/aachba.c 		int count = sg_dma_len(sg);
count            4018 drivers/scsi/aacraid/aachba.c 		psg->sg[i].count = cpu_to_le32(count);
count            4020 drivers/scsi/aacraid/aachba.c 		byte_count += count;
count            4022 drivers/scsi/aacraid/aachba.c 	psg->count = cpu_to_le32(nseg);
count            4025 drivers/scsi/aacraid/aachba.c 		u32 temp = le32_to_cpu(psg->sg[i-1].count) -
count            4027 drivers/scsi/aacraid/aachba.c 		psg->sg[i-1].count = cpu_to_le32(temp);
count            4053 drivers/scsi/aacraid/aachba.c 		int count = sg_dma_len(sg);
count            4059 drivers/scsi/aacraid/aachba.c 		cur_size = cpu_to_le32(count);
count            4073 drivers/scsi/aacraid/aachba.c 		byte_count += count;
count            4179 drivers/scsi/aacraid/aachba.c 		int count = sg_dma_len(sg);
count            4185 drivers/scsi/aacraid/aachba.c 		cur_size = cpu_to_le32(count);
count            4188 drivers/scsi/aacraid/aachba.c 		byte_count += count;
count             457 drivers/scsi/aacraid/aacraid.h 	__le32	count;	/* Length. */
count             462 drivers/scsi/aacraid/aacraid.h 	u32	count;	/* Length. */
count             467 drivers/scsi/aacraid/aacraid.h 	__le32	count;	/* Length. */
count             472 drivers/scsi/aacraid/aacraid.h 	u32	count;	/* Length. */
count             479 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count             487 drivers/scsi/aacraid/aacraid.h 	u32		count;
count             506 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count             511 drivers/scsi/aacraid/aacraid.h 	u32		count;
count             516 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count             521 drivers/scsi/aacraid/aacraid.h 	u32		count;
count             526 drivers/scsi/aacraid/aacraid.h 	__le32		  count;
count             531 drivers/scsi/aacraid/aacraid.h 	u32		  count;
count             913 drivers/scsi/aacraid/aacraid.h 	int  (*adapter_read)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count);
count             914 drivers/scsi/aacraid/aacraid.h 	int  (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
count            1233 drivers/scsi/aacraid/aacraid.h 	unsigned long		count;		// total number of FIBs on FibList
count            1708 drivers/scsi/aacraid/aacraid.h #define aac_adapter_read(fib,cmd,lba,count) \
count            1709 drivers/scsi/aacraid/aacraid.h 	((fib)->dev)->a_ops.adapter_read(fib,cmd,lba,count)
count            1711 drivers/scsi/aacraid/aacraid.h #define aac_adapter_write(fib,cmd,lba,count,fua) \
count            1712 drivers/scsi/aacraid/aacraid.h 	((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua)
count            1856 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            1874 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            1882 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            1900 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            1907 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            1940 drivers/scsi/aacraid/aacraid.h 	__le32		count;	/* sizeof(((struct aac_synchronize_reply *)NULL)->data) */
count            1977 drivers/scsi/aacraid/aacraid.h 	__le32		count;	/* sizeof(((struct aac_pause_reply *)NULL)->data) */
count            1988 drivers/scsi/aacraid/aacraid.h 	__le32		count;		// Data xfer size
count            2007 drivers/scsi/aacraid/aacraid.h 	u32		count;		// Data xfer size
count            2172 drivers/scsi/aacraid/aacraid.h 	__le32		count;	/* sizeof(((struct aac_get_config_status_resp *)NULL)->data) */
count            2190 drivers/scsi/aacraid/aacraid.h 		__le16	count;
count            2254 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            2260 drivers/scsi/aacraid/aacraid.h 	__le32		count;
count            2273 drivers/scsi/aacraid/aacraid.h 	__le32		count;	/* sizeof(((struct aac_get_name_resp *)NULL)->data) */
count             197 drivers/scsi/aacraid/commctrl.c 		fibctx->count = 0;
count             296 drivers/scsi/aacraid/commctrl.c 		fibctx->count--;
count             353 drivers/scsi/aacraid/commctrl.c 		fibctx->count--;
count             504 drivers/scsi/aacraid/commctrl.c 	if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){
count             542 drivers/scsi/aacraid/commctrl.c 	if (user_srbcmd->sg.count > ARRAY_SIZE(sg_list)) {
count             544 drivers/scsi/aacraid/commctrl.c 			user_srbcmd->sg.count));
count             548 drivers/scsi/aacraid/commctrl.c 	if ((data_dir == DMA_NONE) && user_srbcmd->sg.count) {
count             554 drivers/scsi/aacraid/commctrl.c 		((user_srbcmd->sg.count & 0xff) * sizeof(struct sgentry));
count             555 drivers/scsi/aacraid/commctrl.c 	actual_fibsize64 = actual_fibsize + (user_srbcmd->sg.count & 0xff) *
count             563 drivers/scsi/aacraid/commctrl.c 		  actual_fibsize, actual_fibsize64, user_srbcmd->sg.count,
count             608 drivers/scsi/aacraid/commctrl.c 					cpu_to_le32(user_srbcmd->sg.count);
count             610 drivers/scsi/aacraid/commctrl.c 			user_srbcmd->sg.count * sizeof(struct aac_hba_sgl);
count             641 drivers/scsi/aacraid/commctrl.c 		for (i = 0; i < usg32->count; i++) {
count             646 drivers/scsi/aacraid/commctrl.c 				usg64->sg[i].count : usg32->sg[i].count;
count             690 drivers/scsi/aacraid/commctrl.c 		if (usg32->count > 0)	/* embedded sglist */
count             691 drivers/scsi/aacraid/commctrl.c 			hbacmd->sge[usg32->count-1].flags =
count             707 drivers/scsi/aacraid/commctrl.c 			for (i = 0; i < upsg->count; i++) {
count             711 drivers/scsi/aacraid/commctrl.c 				sg_count[i] = upsg->sg[i].count;
count             724 drivers/scsi/aacraid/commctrl.c 					  sg_count[i], i, upsg->count));
count             748 drivers/scsi/aacraid/commctrl.c 				psg->sg[i].count = cpu_to_le32(sg_count[i]);
count             762 drivers/scsi/aacraid/commctrl.c 			for (i = 0; i < usg->count; i++) {
count             766 drivers/scsi/aacraid/commctrl.c 				sg_count[i] = usg->sg[i].count;
count             780 drivers/scsi/aacraid/commctrl.c 						sg_count[i], i, usg->count));
count             804 drivers/scsi/aacraid/commctrl.c 				psg->sg[i].count = cpu_to_le32(sg_count[i]);
count             808 drivers/scsi/aacraid/commctrl.c 		srbcmd->count = cpu_to_le32(byte_count);
count             809 drivers/scsi/aacraid/commctrl.c 		if (user_srbcmd->sg.count)
count             810 drivers/scsi/aacraid/commctrl.c 			psg->count = cpu_to_le32(sg_indx+1);
count             812 drivers/scsi/aacraid/commctrl.c 			psg->count = 0;
count             820 drivers/scsi/aacraid/commctrl.c 			for (i = 0; i < upsg->count; i++) {
count             824 drivers/scsi/aacraid/commctrl.c 				sg_count[i] = usg->sg[i].count;
count             836 drivers/scsi/aacraid/commctrl.c 						sg_count[i], i, usg->count));
count             854 drivers/scsi/aacraid/commctrl.c 				addr = pci_map_single(dev->pdev, p, usg->sg[i].count, data_dir);
count             857 drivers/scsi/aacraid/commctrl.c 				byte_count += usg->sg[i].count;
count             858 drivers/scsi/aacraid/commctrl.c 				psg->sg[i].count = cpu_to_le32(sg_count[i]);
count             861 drivers/scsi/aacraid/commctrl.c 			for (i = 0; i < upsg->count; i++) {
count             865 drivers/scsi/aacraid/commctrl.c 				sg_count[i] = upsg->sg[i].count;
count             877 drivers/scsi/aacraid/commctrl.c 					  sg_count[i], i, upsg->count));
count             898 drivers/scsi/aacraid/commctrl.c 				psg->sg[i].count = cpu_to_le32(sg_count[i]);
count             901 drivers/scsi/aacraid/commctrl.c 		srbcmd->count = cpu_to_le32(byte_count);
count             902 drivers/scsi/aacraid/commctrl.c 		if (user_srbcmd->sg.count)
count             903 drivers/scsi/aacraid/commctrl.c 			psg->count = cpu_to_le32(sg_indx+1);
count             905 drivers/scsi/aacraid/commctrl.c 			psg->count = 0;
count            1700 drivers/scsi/aacraid/commsup.c 			cmd->count = cpu_to_le32(0);
count            1767 drivers/scsi/aacraid/commsup.c 		if (fibctx->count > 20) {
count            1813 drivers/scsi/aacraid/commsup.c 			fibctx->count++;
count            2107 drivers/scsi/aacraid/commsup.c 		if (fibctx->count > 20) {
count            2150 drivers/scsi/aacraid/commsup.c 		fibctx->count++;
count            2327 drivers/scsi/aacraid/commsup.c 	srbcmd->count = cpu_to_le32(datasize);
count            2335 drivers/scsi/aacraid/commsup.c 	sg64->count = cpu_to_le32(1);
count            2338 drivers/scsi/aacraid/commsup.c 	sg64->sg[0].count = cpu_to_le32(datasize);
count             672 drivers/scsi/aacraid/linit.c 	int count, found;
count             692 drivers/scsi/aacraid/linit.c 		for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) {
count             693 drivers/scsi/aacraid/linit.c 			fib = &aac->fibs[count];
count             728 drivers/scsi/aacraid/linit.c 		for (count = 0; count < 15; ++count) {
count             759 drivers/scsi/aacraid/linit.c 			for (count = 0;
count             760 drivers/scsi/aacraid/linit.c 				count < (host->can_queue + AAC_NUM_MGT_FIB);
count             761 drivers/scsi/aacraid/linit.c 				++count) {
count             762 drivers/scsi/aacraid/linit.c 				struct fib *fib = &aac->fibs[count];
count             780 drivers/scsi/aacraid/linit.c 			for (count = 0;
count             781 drivers/scsi/aacraid/linit.c 				count < (host->can_queue + AAC_NUM_MGT_FIB);
count             782 drivers/scsi/aacraid/linit.c 				++count) {
count             784 drivers/scsi/aacraid/linit.c 				struct fib *fib = &aac->fibs[count];
count             890 drivers/scsi/aacraid/linit.c 	int count;
count             926 drivers/scsi/aacraid/linit.c 	for (count = 0; count < 15; ++count) {
count             948 drivers/scsi/aacraid/linit.c 	int count;
count             985 drivers/scsi/aacraid/linit.c 	for (count = 0; count < 15; ++count) {
count            1006 drivers/scsi/aacraid/linit.c 	int count;
count            1013 drivers/scsi/aacraid/linit.c 	for (count = 0; count < (host->can_queue + AAC_NUM_MGT_FIB); ++count) {
count            1014 drivers/scsi/aacraid/linit.c 		struct fib *fib = &aac->fibs[count];
count            1045 drivers/scsi/aacraid/linit.c 	count = get_num_of_incomplete_fibs(aac);
count            1046 drivers/scsi/aacraid/linit.c 	return (count == 0) ? SUCCESS : FAILED;
count            1366 drivers/scsi/aacraid/linit.c 				       const char *buf, size_t count)
count            1376 drivers/scsi/aacraid/linit.c 		retval = count;
count             419 drivers/scsi/aacraid/rx.c 	unsigned long count = 10000000L; /* 50 seconds */
count             427 drivers/scsi/aacraid/rx.c 		if (--count == 0) {
count            2096 drivers/scsi/advansys.c #define ASC_STATS_ADD(shost, counter, count)
count            2098 drivers/scsi/advansys.c #define ASC_STATS_ADD(shost, counter, count) \
count            2099 drivers/scsi/advansys.c 	(((struct asc_board *) shost_priv(shost))->asc_stats.counter += (count))
count            7252 drivers/scsi/advansys.c 	int count = 0;
count            7267 drivers/scsi/advansys.c 	} while (count++ < 20);
count            8675 drivers/scsi/advansys.c 	int count = 0;
count            8686 drivers/scsi/advansys.c 		} while (count++ < 20);
count             437 drivers/scsi/aha152x.c 	int	      count[maxstate];
count            2376 drivers/scsi/aha152x.c 		HOSTDATA(shpnt)->count[STATE]++;
count            2790 drivers/scsi/aha152x.c 			HOSTDATA(shpnt)->count[i]=0;
count            2885 drivers/scsi/aha152x.c 			HOSTDATA(shpnt)->count[i],
count             960 drivers/scsi/aic7xxx/aic79xx.h 				 u_int start_addr, u_int count, int bstream);
count             963 drivers/scsi/aic7xxx/aic79xx.h 				  u_int start_addr, u_int count);
count            9569 drivers/scsi/aic7xxx/aic79xx_core.c 		int i, count;
count            9572 drivers/scsi/aic7xxx/aic79xx_core.c 		for (i = 0, count = 0; i < 31; i++) {
count            9577 drivers/scsi/aic7xxx/aic79xx_core.c 				count++;
count            9579 drivers/scsi/aic7xxx/aic79xx_core.c 		if ((count & 0x01) == 0)
count            9975 drivers/scsi/aic7xxx/aic79xx_core.c 		 u_int start_addr, u_int count, int bytestream)
count            9987 drivers/scsi/aic7xxx/aic79xx_core.c 	end_addr = start_addr + count;
count            10020 drivers/scsi/aic7xxx/aic79xx_core.c 		  u_int start_addr, u_int count)
count            10042 drivers/scsi/aic7xxx/aic79xx_core.c 	end_addr = start_addr + count;
count             396 drivers/scsi/aic7xxx/aic79xx_osm.c 			       uint8_t *, int count);
count             398 drivers/scsi/aic7xxx/aic79xx_osm.c 			       uint8_t *, int count);
count             453 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count)
count             462 drivers/scsi/aic7xxx/aic79xx_osm.c 	for (i = 0; i < count; i++)
count             467 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count)
count             476 drivers/scsi/aic7xxx/aic79xx_osm.c 	for (i = 0; i < count; i++)
count             362 drivers/scsi/aic7xxx/aic79xx_osm.h 			       uint8_t *, int count);
count             364 drivers/scsi/aic7xxx/aic79xx_osm.h 			       uint8_t *, int count);
count             150 drivers/scsi/aic7xxx/aic7xxx_93cx6.c 		 u_int start_addr, u_int count)
count             161 drivers/scsi/aic7xxx/aic7xxx_93cx6.c 	for (k = start_addr; k < count + start_addr; k++) {
count             205 drivers/scsi/aic7xxx/aic7xxx_93cx6.c 	for (k = 0; k < count; k = k + 1) {
count             222 drivers/scsi/aic7xxx/aic7xxx_93cx6.c 		  u_int start_addr, u_int count)
count             247 drivers/scsi/aic7xxx/aic7xxx_93cx6.c 	for (k = start_addr; k < count + start_addr; k++) {
count              97 drivers/scsi/aic7xxx/aic7xxx_93cx6.h 		     u_int start_addr, u_int count);
count              99 drivers/scsi/aic7xxx/aic7xxx_93cx6.h 		      u_int start_addr, u_int count);
count            6143 drivers/scsi/aic7xxx/aic7xxx_core.c 	u_int	count;
count            6146 drivers/scsi/aic7xxx/aic7xxx_core.c 	count = 0;
count            6178 drivers/scsi/aic7xxx/aic7xxx_core.c 			count++;
count            6195 drivers/scsi/aic7xxx/aic7xxx_core.c 	return (count);
count            7047 drivers/scsi/aic7xxx/aic7xxx_core.c 			int i, count;
count            7050 drivers/scsi/aic7xxx/aic7xxx_core.c 			for (i = 0, count = 0; i < 31; i++) {
count            7055 drivers/scsi/aic7xxx/aic7xxx_core.c 					count++;
count            7057 drivers/scsi/aic7xxx/aic7xxx_core.c 			if ((count & 0x01) == 0)
count             424 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_outsb(struct ahc_softc * ahc, long port, uint8_t *array, int count)
count             433 drivers/scsi/aic7xxx/aic7xxx_osm.c 	for (i = 0; i < count; i++)
count             438 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_insb(struct ahc_softc * ahc, long port, uint8_t *array, int count)
count             447 drivers/scsi/aic7xxx/aic7xxx_osm.c 	for (i = 0; i < count; i++)
count             373 drivers/scsi/aic7xxx/aic7xxx_osm.h 	       uint8_t *, int count);
count             375 drivers/scsi/aic7xxx/aic7xxx_osm.h 	       uint8_t *, int count);
count             356 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y |	count
count             398 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y count:
count             401 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 		cur_symbol->count += $2;
count             820 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 			cur_symbol->count += 1;
count             852 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y 			cur_symbol->count += 1;
count              76 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 	new_symbol->count = 1;
count             198 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 	stored_ptr->count++;
count             552 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 			if (curnode->symbol->count == 1)
count             127 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h 	int	count;
count             417 drivers/scsi/aic94xx/aic94xx_hwi.c 	int count = 100;
count             432 drivers/scsi/aic94xx/aic94xx_hwi.c 	} while (--count > 0);
count             324 drivers/scsi/aic94xx/aic94xx_init.c 	const char *buf, size_t count)
count             334 drivers/scsi/aic94xx/aic94xx_init.c 	cmd_ptr = kcalloc(count, 2, GFP_KERNEL);
count             341 drivers/scsi/aic94xx/aic94xx_init.c 	filename_ptr = cmd_ptr + count;
count             432 drivers/scsi/aic94xx/aic94xx_init.c 		return count;
count             285 drivers/scsi/aic94xx/aic94xx_reg.c 			 u32 offs, int count)
count             291 drivers/scsi/aic94xx/aic94xx_reg.c 	for ( ; count > 0; count--, offs++, p++)
count             304 drivers/scsi/aic94xx/aic94xx_reg.c 			  u32 offs, int count)
count             310 drivers/scsi/aic94xx/aic94xx_reg.c 	for ( ; count > 0; count--, offs++, p++)
count              55 drivers/scsi/aic94xx/aic94xx_reg.h 			 u32 offs, int count);
count              57 drivers/scsi/aic94xx/aic94xx_reg.h 			  u32 offs, int count);
count              48 drivers/scsi/aic94xx/aic94xx_seq.c 	int	count = PAUSE_TRIES;
count              61 drivers/scsi/aic94xx/aic94xx_seq.c 	} while (--count > 0);
count              76 drivers/scsi/aic94xx/aic94xx_seq.c 	int	count = PAUSE_TRIES;
count              88 drivers/scsi/aic94xx/aic94xx_seq.c 	} while (--count > 0);
count             104 drivers/scsi/aic94xx/aic94xx_seq.c 	int    count = PAUSE_TRIES;
count             116 drivers/scsi/aic94xx/aic94xx_seq.c 	} while (--count > 0);
count             153 drivers/scsi/aic94xx/aic94xx_seq.c 	int count = PAUSE_TRIES;
count             165 drivers/scsi/aic94xx/aic94xx_seq.c 	} while (--count > 0);
count              67 drivers/scsi/arcmsr/arcmsr_attr.c 					     size_t count)
count             114 drivers/scsi/arcmsr/arcmsr_attr.c 					      size_t count)
count             125 drivers/scsi/arcmsr/arcmsr_attr.c 	if (count > ARCMSR_API_DATA_BUFLEN)
count             129 drivers/scsi/arcmsr/arcmsr_attr.c 	user_len = (int32_t)count;
count             154 drivers/scsi/arcmsr/arcmsr_attr.c 		return count;
count             162 drivers/scsi/arcmsr/arcmsr_attr.c 					      size_t count)
count            3125 drivers/scsi/arcmsr/arcmsr_hba.c 	int count;
count            3133 drivers/scsi/arcmsr/arcmsr_hba.c 	count = 2;
count            3134 drivers/scsi/arcmsr/arcmsr_hba.c 	while (count) {
count            3138 drivers/scsi/arcmsr/arcmsr_hba.c 		count--;
count            3140 drivers/scsi/arcmsr/arcmsr_hba.c 	count = 4;
count            3141 drivers/scsi/arcmsr/arcmsr_hba.c 	while (count) {
count            3145 drivers/scsi/arcmsr/arcmsr_hba.c 		count--;
count            3147 drivers/scsi/arcmsr/arcmsr_hba.c 	count = 4;
count            3148 drivers/scsi/arcmsr/arcmsr_hba.c 	while (count) {
count            3152 drivers/scsi/arcmsr/arcmsr_hba.c 		count--;
count            4227 drivers/scsi/arcmsr/arcmsr_hba.c 	int i, count = 0;
count            4242 drivers/scsi/arcmsr/arcmsr_hba.c 			count++;
count            4249 drivers/scsi/arcmsr/arcmsr_hba.c 		} while (((readl(&pmuC->host_diagnostic) & ARCMSR_ARC1880_DiagWrite_ENABLE) == 0) && (count < 5));
count            4254 drivers/scsi/arcmsr/arcmsr_hba.c 			count++;
count            4262 drivers/scsi/arcmsr/arcmsr_hba.c 			ARCMSR_ARC1884_DiagWrite_ENABLE) == 0) && (count < 5));
count             426 drivers/scsi/atari_scsi.c 					  void *data, unsigned long count,
count             432 drivers/scsi/atari_scsi.c 	        hostdata->host->host_no, data, addr, count, dir);
count             441 drivers/scsi/atari_scsi.c 			memcpy(atari_dma_buffer, data, count);
count             458 drivers/scsi/atari_scsi.c 	dma_cache_maintenance(addr, count, dir);
count             463 drivers/scsi/atari_scsi.c 		SCSI_DMA_WRITE_P(dma_cnt, count);
count             478 drivers/scsi/atari_scsi.c 		st_dma.fdc_acces_seccount = (count + (dir ? 511 : 0)) >> 9;
count             486 drivers/scsi/atari_scsi.c 	return count;
count             490 drivers/scsi/atari_scsi.c                                             unsigned char *data, int count)
count             492 drivers/scsi/atari_scsi.c 	return atari_scsi_dma_setup(hostdata, data, count, 0);
count             496 drivers/scsi/atari_scsi.c                                             unsigned char *data, int count)
count             498 drivers/scsi/atari_scsi.c 	return atari_scsi_dma_setup(hostdata, data, count, 1);
count             765 drivers/scsi/atari_scsi.c 			ssize_t count = nvram_read(&b, 1, &offset);
count             770 drivers/scsi/atari_scsi.c 			if ((count == 1) && (b & 0x80))
count             758 drivers/scsi/be2iscsi/be_cmds.c 	AMAP_SET_BITS(struct amap_eq_context, count, req->context,
count             800 drivers/scsi/be2iscsi/be_cmds.c 		AMAP_SET_BITS(struct amap_cq_context, count, ctxt,
count             816 drivers/scsi/be2iscsi/be_cmds.c 		AMAP_SET_BITS(struct amap_cq_context_v2, count, ctxt,
count             298 drivers/scsi/be2iscsi/be_cmds.h 	u8 count[3];		/* dword 1 */
count             579 drivers/scsi/be2iscsi/be_cmds.h 	u8 count[2];		/* dword 0 */
count             600 drivers/scsi/be2iscsi/be_cmds.h 	u8 count[2];    /* dword 0 */
count              25 drivers/scsi/be2iscsi/be_iscsi.h 			     void *data, uint32_t count);
count             103 drivers/scsi/be2iscsi/be_main.c 			 size_t count) \
count            1199 drivers/scsi/bfa/bfa_defs_svc.h 	u32 count[BFA_IOBUCKET_MAX];
count             464 drivers/scsi/bfa/bfa_fc.h 	u32        count;	/* data transfer count */
count             450 drivers/scsi/bfa/bfa_fcpim.c 	io_lat->count[idx]++;
count            1908 drivers/scsi/bfa/bfa_fcs_lport.c 	u16        len, count;
count            1922 drivers/scsi/bfa/bfa_fcs_lport.c 	count = 0;
count            1939 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            1953 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            1967 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            1981 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            1995 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            2010 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2025 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            2040 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2052 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            2067 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2082 drivers/scsi/bfa/bfa_fcs_lport.c 	count++;
count            2096 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2107 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2118 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2129 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2140 drivers/scsi/bfa/bfa_fcs_lport.c 		count++;
count            2148 drivers/scsi/bfa/bfa_fcs_lport.c 	len += ((sizeof(attr->type) + sizeof(attr->len)) * count);
count            2150 drivers/scsi/bfa/bfa_fcs_lport.c 	rhba->hba_attr_blk.attr_count = cpu_to_be32(count);
count            2244 drivers/scsi/bfa/bfa_fcs_lport.c 	u8	count = 0;
count            2268 drivers/scsi/bfa/bfa_fcs_lport.c 	++count;
count            2282 drivers/scsi/bfa/bfa_fcs_lport.c 	++count;
count            2296 drivers/scsi/bfa/bfa_fcs_lport.c 	++count;
count            2309 drivers/scsi/bfa/bfa_fcs_lport.c 	++count;
count            2324 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2339 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2352 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2363 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2378 drivers/scsi/bfa/bfa_fcs_lport.c 			++count;
count            2390 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2401 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2412 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2424 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2435 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2446 drivers/scsi/bfa/bfa_fcs_lport.c 		++count;
count            2454 drivers/scsi/bfa/bfa_fcs_lport.c 	port_attrib->attr_count = cpu_to_be32(count);
count            2455 drivers/scsi/bfa/bfa_fcs_lport.c 	len += ((sizeof(attr->type) + sizeof(attr->len)) * count);
count            4835 drivers/scsi/bfa/bfa_ioc.c 	fwping_req->count = cpu_to_be32(diag->fwping.count);
count            4859 drivers/scsi/bfa/bfa_ioc.c 		pat = (diag->fwping.count & 0x1) ? ~(diag->fwping.data) :
count            5139 drivers/scsi/bfa/bfa_ioc.c 	diag->fwping.count = cnt;
count             538 drivers/scsi/bfa/bfa_ioc.h 	u16	count;	/* successful queue test count */
count             554 drivers/scsi/bfa/bfa_ioc.h 	u32             count;
count             111 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_no_res(struct bfa_lps_s *first_lps, u8 count);
count            1587 drivers/scsi/bfa/bfa_svc.c bfa_lps_no_res(struct bfa_lps_s *first_lps, u8 count)
count            1594 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, count);
count            1598 drivers/scsi/bfa/bfa_svc.c 	while (count && qe) {
count            1607 drivers/scsi/bfa/bfa_svc.c 		count--;
count            5755 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcdiag, fcdiag->qtest.count);
count            5760 drivers/scsi/bfa/bfa_svc.c 	res->count  = QTEST_CNT_DEFAULT - fcdiag->qtest.count;
count            5808 drivers/scsi/bfa/bfa_svc.c 	fcdiag->qtest.count--;
count            5819 drivers/scsi/bfa/bfa_svc.c 		if (fcdiag->qtest.count > 0) {
count            5827 drivers/scsi/bfa/bfa_svc.c 			fcdiag->qtest.count = QTEST_CNT_DEFAULT;
count            5843 drivers/scsi/bfa/bfa_svc.c 	res->count = QTEST_CNT_DEFAULT - fcdiag->qtest.count;
count            5844 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcdiag, res->count);
count            6079 drivers/scsi/bfa/bfa_svc.c 	fcdiag->qtest.count = QTEST_CNT_DEFAULT;
count            6083 drivers/scsi/bfa/bfa_svc.c 	fcdiag->qtest.result->count  = 0;
count             694 drivers/scsi/bfa/bfa_svc.h 	u32	count;
count            1038 drivers/scsi/bfa/bfi.h 	u32	count;          /* user input dma count */
count            2136 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	if (npiv_tbl->count > MAX_NPIV_ENTRIES) {
count            2152 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	for (i = 0; i < npiv_tbl->count; i++) {
count            2929 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	struct device_attribute *attr, const char *buf, size_t count)
count             829 drivers/scsi/bnx2i/bnx2i.h void bnx2i_put_rq_buf(struct bnx2i_conn *conn, int count);
count             231 drivers/scsi/bnx2i/bnx2i_hwi.c void bnx2i_put_rq_buf(struct bnx2i_conn *bnx2i_conn, int count)
count             237 drivers/scsi/bnx2i/bnx2i_hwi.c 	ep->qp.rqe_left += count;
count             239 drivers/scsi/bnx2i/bnx2i_hwi.c 	ep->qp.rq_prod_idx += count;
count             268 drivers/scsi/bnx2i/bnx2i_hwi.c static void bnx2i_ring_sq_dbell(struct bnx2i_conn *bnx2i_conn, int count)
count             280 drivers/scsi/bnx2i/bnx2i_hwi.c 		writew(count, ep->qp.ctx_base + CNIC_SEND_DOORBELL);
count             292 drivers/scsi/bnx2i/bnx2i_hwi.c 					      int count)
count             296 drivers/scsi/bnx2i/bnx2i_hwi.c 	if (count == 1) {
count             304 drivers/scsi/bnx2i/bnx2i_hwi.c 		if ((bnx2i_conn->ep->qp.sq_prod_qe + count) <=
count             306 drivers/scsi/bnx2i/bnx2i_hwi.c 			bnx2i_conn->ep->qp.sq_prod_qe += count;
count             311 drivers/scsi/bnx2i/bnx2i_hwi.c 				&bnx2i_conn->ep->qp.sq_first_qe[count -
count             315 drivers/scsi/bnx2i/bnx2i_hwi.c 	bnx2i_conn->ep->qp.sq_prod_idx += count;
count              59 drivers/scsi/bnx2i/bnx2i_sysfs.c 				 const char *buf, size_t count)
count              79 drivers/scsi/bnx2i/bnx2i_sysfs.c 	return count;
count             113 drivers/scsi/bnx2i/bnx2i_sysfs.c 				    const char *buf, size_t count)
count             128 drivers/scsi/bnx2i/bnx2i_sysfs.c 	return count;
count            3887 drivers/scsi/csiostor/csio_hw.c 	uint32_t count;
count            3888 drivers/scsi/csiostor/csio_hw.c 	count = 30;
count            3889 drivers/scsi/csiostor/csio_hw.c 	while (hw->flags & CSIO_HWF_FWEVT_PENDING && count--) {
count            4149 drivers/scsi/csiostor/csio_hw.c 	uint32_t count;
count            4151 drivers/scsi/csiostor/csio_hw.c 	count = 30;
count            4153 drivers/scsi/csiostor/csio_hw.c 	while ((!list_empty(&mgmtm->active_q)) && count--) {
count              64 drivers/scsi/csiostor/csio_init.c csio_mem_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count              75 drivers/scsi/csiostor/csio_init.c 	if (count > avail - pos)
count              76 drivers/scsi/csiostor/csio_init.c 		count = avail - pos;
count              78 drivers/scsi/csiostor/csio_init.c 	while (count) {
count              93 drivers/scsi/csiostor/csio_init.c 		len = min(count, sizeof(data) - ofst);
count              99 drivers/scsi/csiostor/csio_init.c 		count -= len;
count             101 drivers/scsi/csiostor/csio_init.c 	count = pos - *ppos;
count             103 drivers/scsi/csiostor/csio_init.c 	return count;
count            1237 drivers/scsi/csiostor/csio_scsi.c 	int count = DIV_ROUND_UP(tmo, CSIO_SCSI_ABORT_Q_POLL_MS);
count            1252 drivers/scsi/csiostor/csio_scsi.c 	while (!list_empty(q) && count--) {
count            1277 drivers/scsi/csiostor/csio_scsi.c 	int count = DIV_ROUND_UP(60 * 1000, CSIO_SCSI_ABORT_Q_POLL_MS);
count            1284 drivers/scsi/csiostor/csio_scsi.c 	while (!list_empty(&scm->active_q) && count--) {
count            1323 drivers/scsi/csiostor/csio_scsi.c 	int count = DIV_ROUND_UP(60 * 1000, CSIO_SCSI_ABORT_Q_POLL_MS);
count            1337 drivers/scsi/csiostor/csio_scsi.c 	while (!list_empty(&ln->cmpl_q) && count--) {
count            1377 drivers/scsi/csiostor/csio_scsi.c 		   struct device_attribute *attr, const char *buf, size_t count)
count            1397 drivers/scsi/csiostor/csio_scsi.c 	return count;
count            1403 drivers/scsi/csiostor/csio_scsi.c 		   struct device_attribute *attr, const char *buf, size_t count)
count            1423 drivers/scsi/csiostor/csio_scsi.c 	return count;
count            1439 drivers/scsi/csiostor/csio_scsi.c 		   struct device_attribute *attr, const char *buf, size_t count)
count            2068 drivers/scsi/csiostor/csio_scsi.c 	int count, ret;
count            2134 drivers/scsi/csiostor/csio_scsi.c 	count = DIV_ROUND_UP((ioreq->tmo + 10) * 1000, CSIO_SCSI_TM_POLL_MS);
count            2157 drivers/scsi/csiostor/csio_scsi.c 		    count * (CSIO_SCSI_TM_POLL_MS / 1000));
count            2160 drivers/scsi/csiostor/csio_scsi.c 								&& count--)
count            1960 drivers/scsi/cxgbi/libcxgbi.c 			      unsigned int count)
count            1965 drivers/scsi/cxgbi/libcxgbi.c 	unsigned int datalen = count;
count            1966 drivers/scsi/cxgbi/libcxgbi.c 	int i, padlen = iscsi_padding(count);
count            1972 drivers/scsi/cxgbi/libcxgbi.c 		ntohl(task->cmdsn), ntohl(task->hdr->itt), offset, count);
count            1976 drivers/scsi/cxgbi/libcxgbi.c 	if (!count)
count            1985 drivers/scsi/cxgbi/libcxgbi.c 		tdata->count = count;
count            1994 drivers/scsi/cxgbi/libcxgbi.c 		err = sgl_read_to_frags(sg, tdata->sgoffset, tdata->count,
count            1998 drivers/scsi/cxgbi/libcxgbi.c 				sdb->table.nents, tdata->offset, tdata->count);
count            2020 drivers/scsi/cxgbi/libcxgbi.c 			skb_put(skb, count + padlen);
count            2031 drivers/scsi/cxgbi/libcxgbi.c 			skb->len += count;
count            2032 drivers/scsi/cxgbi/libcxgbi.c 			skb->data_len += count;
count            2033 drivers/scsi/cxgbi/libcxgbi.c 			skb->truesize += count;
count            2041 drivers/scsi/cxgbi/libcxgbi.c 					count);
count            2042 drivers/scsi/cxgbi/libcxgbi.c 		skb->len += count;
count            2043 drivers/scsi/cxgbi/libcxgbi.c 		skb->data_len += count;
count            2044 drivers/scsi/cxgbi/libcxgbi.c 		skb->truesize += count;
count             533 drivers/scsi/cxgbi/libcxgbi.h 	unsigned int count;
count              35 drivers/scsi/cxlflash/backend.h 				    size_t count);
count              95 drivers/scsi/cxlflash/cxl_hw.c 					 void *buf, size_t count)
count              97 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_read_adapter_vpd(dev, buf, count);
count            2723 drivers/scsi/cxlflash/main.c 			      const char *buf, size_t count)
count            2749 drivers/scsi/cxlflash/main.c 	return count;
count            2909 drivers/scsi/cxlflash/main.c 				    const char *buf, size_t count)
count            2952 drivers/scsi/cxlflash/main.c 	return count;
count            2989 drivers/scsi/cxlflash/main.c 			      const char *buf, size_t count)
count            3035 drivers/scsi/cxlflash/main.c 	return count;
count            3074 drivers/scsi/cxlflash/main.c 			      const char *buf, size_t count)
count            3097 drivers/scsi/cxlflash/main.c 	return count;
count             579 drivers/scsi/cxlflash/ocxl_hw.c 					  size_t count)
count             581 drivers/scsi/cxlflash/ocxl_hw.c 	return pci_read_vpd(pdev, 0, count, buf);
count             859 drivers/scsi/cxlflash/ocxl_hw.c 	int count;
count             878 drivers/scsi/cxlflash/ocxl_hw.c 	count = min_t(int, acfg->actag_supported, afu->fn_actag_enabled);
count             881 drivers/scsi/cxlflash/ocxl_hw.c 	ocxl_config_set_afu_actag(pdev, pos, base, count);
count             882 drivers/scsi/cxlflash/ocxl_hw.c 	dev_dbg(dev, "%s: acTag base=%d enabled=%d\n", __func__, base, count);
count             884 drivers/scsi/cxlflash/ocxl_hw.c 	afu->afu_actag_enabled = count;
count            1013 drivers/scsi/cxlflash/ocxl_hw.c static ssize_t afu_read(struct file *file, char __user *buf, size_t count,
count             699 drivers/scsi/dc395x.c 	unsigned int count = 0;
count             702 drivers/scsi/dc395x.c 		count++;
count             703 drivers/scsi/dc395x.c 	return count;
count            3080 drivers/scsi/dpt_i2o.c 	int count = 0;
count            3109 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].org_id = pHba->status_block->org_id;
count            3110 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].iop_id = pHba->unit + 2;
count            3111 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].seg_num = 0;
count            3112 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].i2o_version = pHba->status_block->i2o_version;
count            3113 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].iop_state = pHba->status_block->iop_state;
count            3114 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].msg_type = pHba->status_block->msg_type;
count            3115 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].frame_size = pHba->status_block->inbound_frame_size;
count            3116 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].last_changed = sys_tbl_ind - 1; // ??
count            3117 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].iop_capabilities = pHba->status_block->iop_capabilities;
count            3119 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].inbound_low = dma_low(addr);
count            3120 drivers/scsi/dpt_i2o.c 		sys_tbl->iops[count].inbound_high = dma_high(addr);
count            3122 drivers/scsi/dpt_i2o.c 		count++;
count            3129 drivers/scsi/dpt_i2o.c 	for(count = 0; count < (sys_tbl_len >>2); count++) {
count            3131 drivers/scsi/dpt_i2o.c 			count, table[count]);
count             986 drivers/scsi/esas2r/esas2r.h int esas2r_read_fw(struct esas2r_adapter *a, char *buf, long off, int count);
count             988 drivers/scsi/esas2r/esas2r.h 		    int count);
count             989 drivers/scsi/esas2r/esas2r.h int esas2r_read_vda(struct esas2r_adapter *a, char *buf, long off, int count);
count             991 drivers/scsi/esas2r/esas2r.h 		     int count);
count             992 drivers/scsi/esas2r/esas2r.h int esas2r_read_fs(struct esas2r_adapter *a, char *buf, long off, int count);
count             994 drivers/scsi/esas2r/esas2r.h 		    int count);
count            1566 drivers/scsi/esas2r/esas2r_ioctl.c int esas2r_read_fw(struct esas2r_adapter *a, char *buf, long off, int count)
count            1571 drivers/scsi/esas2r/esas2r_ioctl.c 		int size = min_t(int, count, sizeof(a->firmware.header));
count            1607 drivers/scsi/esas2r/esas2r_ioctl.c 					min((int)count,
count            1620 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count + off > length)
count            1621 drivers/scsi/esas2r/esas2r_ioctl.c 			count = length - off;
count            1623 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count < 0)
count            1633 drivers/scsi/esas2r/esas2r_ioctl.c 			     count,
count            1636 drivers/scsi/esas2r/esas2r_ioctl.c 		memcpy(buf, &a->firmware.data[off], count);
count            1640 drivers/scsi/esas2r/esas2r_ioctl.c 		if (length <= off + count) {
count            1646 drivers/scsi/esas2r/esas2r_ioctl.c 		return count;
count            1658 drivers/scsi/esas2r/esas2r_ioctl.c 		    int count)
count            1674 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count < 4
count            1687 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count < min_size) {
count            1730 drivers/scsi/esas2r/esas2r_ioctl.c 				count, header->action);
count            1737 drivers/scsi/esas2r/esas2r_ioctl.c 			return count;
count            1753 drivers/scsi/esas2r/esas2r_ioctl.c 	if (off + count > length)
count            1754 drivers/scsi/esas2r/esas2r_ioctl.c 		count = length - off;
count            1756 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count > 0) {
count            1758 drivers/scsi/esas2r/esas2r_ioctl.c 			     count,
count            1767 drivers/scsi/esas2r/esas2r_ioctl.c 			return count;
count            1775 drivers/scsi/esas2r/esas2r_ioctl.c 		memcpy(&a->firmware.data[off], buf, count);
count            1777 drivers/scsi/esas2r/esas2r_ioctl.c 		if (length == off + count) {
count            1803 drivers/scsi/esas2r/esas2r_ioctl.c 	return count;
count            1825 drivers/scsi/esas2r/esas2r_ioctl.c int esas2r_read_vda(struct esas2r_adapter *a, char *buf, long off, int count)
count            1876 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count + off > VDA_MAX_BUFFER_SIZE)
count            1877 drivers/scsi/esas2r/esas2r_ioctl.c 		count = VDA_MAX_BUFFER_SIZE - off;
count            1879 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count < 0)
count            1882 drivers/scsi/esas2r/esas2r_ioctl.c 	memcpy(buf, a->vda_buffer + off, count);
count            1884 drivers/scsi/esas2r/esas2r_ioctl.c 	return count;
count            1889 drivers/scsi/esas2r/esas2r_ioctl.c 		     int count)
count            1913 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count + off > VDA_MAX_BUFFER_SIZE)
count            1914 drivers/scsi/esas2r/esas2r_ioctl.c 		count = VDA_MAX_BUFFER_SIZE - off;
count            1916 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count < 1)
count            1919 drivers/scsi/esas2r/esas2r_ioctl.c 	memcpy(a->vda_buffer + off, buf, count);
count            1921 drivers/scsi/esas2r/esas2r_ioctl.c 	return count;
count            1947 drivers/scsi/esas2r/esas2r_ioctl.c int esas2r_read_fs(struct esas2r_adapter *a, char *buf, long off, int count)
count            1990 drivers/scsi/esas2r/esas2r_ioctl.c 				count = -EBUSY;
count            2007 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count < 0)
count            2008 drivers/scsi/esas2r/esas2r_ioctl.c 			return count;
count            2014 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count + off > a->fs_api_buffer_size)
count            2015 drivers/scsi/esas2r/esas2r_ioctl.c 		count = a->fs_api_buffer_size - off;
count            2017 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count < 0)
count            2020 drivers/scsi/esas2r/esas2r_ioctl.c 	memcpy(buf, a->fs_api_buffer + off, count);
count            2022 drivers/scsi/esas2r/esas2r_ioctl.c 	return count;
count            2027 drivers/scsi/esas2r/esas2r_ioctl.c 		    int count)
count            2049 drivers/scsi/esas2r/esas2r_ioctl.c 		if (count < offsetof(struct esas2r_ioctl_fs, data))
count            2081 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count + off > a->fs_api_buffer_size)
count            2082 drivers/scsi/esas2r/esas2r_ioctl.c 		count = a->fs_api_buffer_size - off;
count            2084 drivers/scsi/esas2r/esas2r_ioctl.c 	if (count < 1)
count            2087 drivers/scsi/esas2r/esas2r_ioctl.c 	memcpy(a->fs_api_buffer + off, buf, count);
count            2089 drivers/scsi/esas2r/esas2r_ioctl.c 	return count;
count              70 drivers/scsi/esas2r/esas2r_main.c 		       char *buf, loff_t off, size_t count)
count              74 drivers/scsi/esas2r/esas2r_main.c 	return esas2r_read_fw(a, buf, off, count);
count              79 drivers/scsi/esas2r/esas2r_main.c 			char *buf, loff_t off, size_t count)
count              83 drivers/scsi/esas2r/esas2r_main.c 	return esas2r_write_fw(a, buf, off, count);
count              88 drivers/scsi/esas2r/esas2r_main.c 		       char *buf, loff_t off, size_t count)
count              92 drivers/scsi/esas2r/esas2r_main.c 	return esas2r_read_fs(a, buf, off, count);
count              97 drivers/scsi/esas2r/esas2r_main.c 			char *buf, loff_t off, size_t count)
count             100 drivers/scsi/esas2r/esas2r_main.c 	int length = min(sizeof(struct esas2r_ioctl_fs), count);
count             103 drivers/scsi/esas2r/esas2r_main.c 	result = esas2r_write_fs(a, buf, off, count);
count             113 drivers/scsi/esas2r/esas2r_main.c 			char *buf, loff_t off, size_t count)
count             117 drivers/scsi/esas2r/esas2r_main.c 	return esas2r_read_vda(a, buf, off, count);
count             122 drivers/scsi/esas2r/esas2r_main.c 			 char *buf, loff_t off, size_t count)
count             126 drivers/scsi/esas2r/esas2r_main.c 	return esas2r_write_vda(a, buf, off, count);
count             131 drivers/scsi/esas2r/esas2r_main.c 			       char *buf, loff_t off, size_t count)
count             142 drivers/scsi/esas2r/esas2r_main.c 				char *buf, loff_t off, size_t count)
count             153 drivers/scsi/esas2r/esas2r_main.c 		result = count;
count             162 drivers/scsi/esas2r/esas2r_main.c 				  char *buf, loff_t off, size_t count)
count             173 drivers/scsi/esas2r/esas2r_main.c 		       char *buf, loff_t off, size_t count)
count             191 drivers/scsi/esas2r/esas2r_main.c 			char *buf, loff_t off, size_t count)
count             194 drivers/scsi/esas2r/esas2r_main.c 	int length = min(sizeof(struct atto_ioctl), count);
count            1353 drivers/scsi/esp_scsi.c 		size_t count = 1;
count            1364 drivers/scsi/esp_scsi.c 						  &offset, &count);
count             274 drivers/scsi/fcoe/fcoe_sysfs.c 			       const char *buf, size_t count)
count             279 drivers/scsi/fcoe/fcoe_sysfs.c 	if (count > FCOE_MAX_MODENAME_LEN)
count             282 drivers/scsi/fcoe/fcoe_sysfs.c 	strncpy(mode, buf, count);
count             284 drivers/scsi/fcoe/fcoe_sysfs.c 	if (mode[count - 1] == '\n')
count             285 drivers/scsi/fcoe/fcoe_sysfs.c 		mode[count - 1] = '\0';
count             287 drivers/scsi/fcoe/fcoe_sysfs.c 		mode[count] = '\0';
count             310 drivers/scsi/fcoe/fcoe_sysfs.c 		return count;
count             323 drivers/scsi/fcoe/fcoe_sysfs.c 				  const char *buf, size_t count)
count             339 drivers/scsi/fcoe/fcoe_sysfs.c 			return count;
count             344 drivers/scsi/fcoe/fcoe_sysfs.c 			return count;
count             355 drivers/scsi/fcoe/fcoe_sysfs.c 	return count;
count             386 drivers/scsi/fcoe/fcoe_sysfs.c 			      const char *buf, size_t count)
count             396 drivers/scsi/fcoe/fcoe_sysfs.c 			return count;
count             401 drivers/scsi/fcoe/fcoe_sysfs.c 			return count;
count             423 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_var_store(u32 *var, const char *buf, size_t count)
count             434 drivers/scsi/fcoe/fcoe_sysfs.c 	return count;
count             439 drivers/scsi/fcoe/fcoe_sysfs.c 				  const char *buf, size_t count)
count             447 drivers/scsi/fcoe/fcoe_sysfs.c 		return fcoe_ctlr_var_store(&ctlr->lp->r_a_tov, buf, count);
count             466 drivers/scsi/fcoe/fcoe_sysfs.c 				  const char *buf, size_t count)
count             474 drivers/scsi/fcoe/fcoe_sysfs.c 		return fcoe_ctlr_var_store(&ctlr->lp->e_d_tov, buf, count);
count             494 drivers/scsi/fcoe/fcoe_sysfs.c 					 const char *buf, size_t count)
count             510 drivers/scsi/fcoe/fcoe_sysfs.c 	return count;
count             538 drivers/scsi/fcoe/fcoe_sysfs.c 			    const char *buf, size_t count)
count             551 drivers/scsi/fcoe/fcoe_sysfs.c 	return count;
count             663 drivers/scsi/fcoe/fcoe_sysfs.c 				 size_t count)
count             665 drivers/scsi/fcoe/fcoe_sysfs.c 	return fcoe_ctlr_create_store(bus, buf, count);
count             670 drivers/scsi/fcoe/fcoe_sysfs.c 				  size_t count)
count             672 drivers/scsi/fcoe/fcoe_sysfs.c 	return fcoe_ctlr_destroy_store(bus, buf, count);
count             746 drivers/scsi/fcoe/fcoe_transport.c 			       const char *buf, size_t count)
count             805 drivers/scsi/fcoe/fcoe_transport.c 	return count;
count             809 drivers/scsi/fcoe/fcoe_transport.c 				const char *buf, size_t count)
count             839 drivers/scsi/fcoe/fcoe_transport.c 	rc = count; /* required for successful return */
count             457 drivers/scsi/fnic/fnic_main.c 	int count;
count             459 drivers/scsi/fnic/fnic_main.c 	count = 0;
count             474 drivers/scsi/fnic/fnic_main.c 		count++;
count             480 drivers/scsi/fnic/fnic_main.c 	} while (time_after(time, jiffies) || (count < 3));
count              35 drivers/scsi/fnic/fnic_trace.h 					  size_t count,
count              51 drivers/scsi/fnic/vnic_dev.c 	unsigned int count;
count             120 drivers/scsi/fnic/vnic_dev.c 		u32 count = ioread32(&r->count);
count             134 drivers/scsi/fnic/vnic_dev.c 			len = count * VNIC_RES_STRIDE;
count             148 drivers/scsi/fnic/vnic_dev.c 			len = count;
count             154 drivers/scsi/fnic/vnic_dev.c 		vdev->res[type].count = count;
count             164 drivers/scsi/fnic/vnic_dev.c 	return vdev->res[type].count;
count              65 drivers/scsi/fnic/vnic_resource.h 	u32 count;
count              30 drivers/scsi/fnic/vnic_rq.c 	unsigned int i, j, count = rq->ring.desc_count;
count              31 drivers/scsi/fnic/vnic_rq.c 	unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count);
count              47 drivers/scsi/fnic/vnic_rq.c 			if (buf->index + 1 == count) {
count             170 drivers/scsi/fnic/vnic_rq.h static inline void vnic_rq_return_descs(struct vnic_rq *rq, unsigned int count)
count             172 drivers/scsi/fnic/vnic_rq.h 	rq->ring.desc_avail += count;
count              50 drivers/scsi/fnic/vnic_wq.c 	unsigned int i, j, count = wq->ring.desc_count;
count              51 drivers/scsi/fnic/vnic_wq.c 	unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count);
count              67 drivers/scsi/fnic/vnic_wq.c 			if (buf->index + 1 == count) {
count             159 drivers/scsi/fnic/vnic_wq.c 	unsigned int count = wq->ring.desc_count;
count             163 drivers/scsi/fnic/vnic_wq.c 	iowrite32(count, &wq->ctrl->ring_size);
count             495 drivers/scsi/g_NCR5380.c 	int count = 10000;
count             502 drivers/scsi/g_NCR5380.c 	} while (--count > 0);
count             138 drivers/scsi/gdth.c                                     char *buffer, u16 count);
count            1830 drivers/scsi/gdth.c                                     char *buffer, u16 count)
count            1837 drivers/scsi/gdth.c     cpcount = min_t(u16, count, scsi_bufflen(scp));
count            1864 drivers/scsi/gdth.c     } else if (count) {
count             410 drivers/scsi/gdth.h     u32     count;                          /* (R) number of init. el. */
count             261 drivers/scsi/gdth_proc.c                 pds->count = 0;
count             301 drivers/scsi/gdth_proc.c                     for (k = 0; k < pds->count; ++k) {
count             248 drivers/scsi/hisi_sas/hisi_sas.h 	int count;
count            2734 drivers/scsi/hisi_sas/hisi_sas_main.c 		for (i = 0; i < port->count; i++, databuf++) {
count            2750 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 0; i < global->count; i++, databuf++)
count            2762 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 0; i < axi->count; i++, databuf++)
count            2775 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 0; i < ras->count; i++, databuf++)
count            2835 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (i = 0; i < reg->count; i++) {
count            3277 drivers/scsi/hisi_sas/hisi_sas_main.c 						   size_t count, loff_t *ppos)
count            3286 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (count > 8)
count            3289 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (copy_from_user(buf, user_buf, count))
count            3297 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3356 drivers/scsi/hisi_sas/hisi_sas_main.c 						    size_t count, loff_t *ppos)
count            3367 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (count >= sizeof(kbuf))
count            3370 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (copy_from_user(kbuf, buf, count))
count            3388 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3445 drivers/scsi/hisi_sas/hisi_sas_main.c 						     size_t count,
count            3457 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (count >= sizeof(kbuf))
count            3460 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (copy_from_user(kbuf, buf, count))
count            3478 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3499 drivers/scsi/hisi_sas/hisi_sas_main.c 					       size_t count, loff_t *ppos)
count            3509 drivers/scsi/hisi_sas/hisi_sas_main.c 	val = kstrtouint_from_user(buf, count, 0, &phy_no);
count            3518 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3575 drivers/scsi/hisi_sas/hisi_sas_main.c 						size_t count, loff_t *ppos)
count            3586 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (count >= sizeof(kbuf))
count            3589 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (copy_from_user(kbuf, buf, count))
count            3606 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3627 drivers/scsi/hisi_sas/hisi_sas_main.c 						  size_t count, loff_t *ppos)
count            3634 drivers/scsi/hisi_sas/hisi_sas_main.c 	val = kstrtouint_from_user(buf, count, 0, &enable);
count            3642 drivers/scsi/hisi_sas/hisi_sas_main.c 		return count;
count            3653 drivers/scsi/hisi_sas/hisi_sas_main.c 	return count;
count            3723 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_GLOBAL]->count * 4;
count            3730 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_port->count * 4;
count            3739 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_AXI]->count * 4;
count            3746 drivers/scsi/hisi_sas/hisi_sas_main.c 	sz = hw->debugfs_reg_array[DEBUGFS_RAS]->count * 4;
count            3467 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	int phy_no, count;
count            3474 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		count = reg_count * 4;
count            3475 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		count = min(count, hisi_hba->n_phy);
count            3477 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		for (phy_no = 0; phy_no < count; phy_no++) {
count            2660 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 					   const char *buf, size_t count)
count            2682 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return count;
count            2699 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		*attr, const char *buf, size_t count)
count            2721 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return count;
count            2786 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	.count = 0x100,
count            2860 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	.count = 0x800,
count            2874 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	.count = 0x61,
count            2891 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	.count = 0x10,
count             449 drivers/scsi/hpsa.c 					 const char *buf, size_t count)
count             458 drivers/scsi/hpsa.c 	len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count;
count             468 drivers/scsi/hpsa.c 	return count;
count             473 drivers/scsi/hpsa.c 					 const char *buf, size_t count)
count             482 drivers/scsi/hpsa.c 	len = count > sizeof(tmpbuf) - 1 ? sizeof(tmpbuf) - 1 : count;
count             493 drivers/scsi/hpsa.c 	return count;
count             498 drivers/scsi/hpsa.c 				 const char *buf, size_t count)
count             504 drivers/scsi/hpsa.c 	return count;
count            1818 drivers/scsi/hpsa.c 	int count = 0;
count            1830 drivers/scsi/hpsa.c 				++count;
count            1837 drivers/scsi/hpsa.c 	return count;
count            5892 drivers/scsi/hpsa.c 	int count = 0;
count            5896 drivers/scsi/hpsa.c 	for (count = 0; count < HPSA_TUR_RETRY_LIMIT; count++) {
count            2995 drivers/scsi/ibmvscsi/ibmvfc.c 				      const char *buf, size_t count)
count            3031 drivers/scsi/ibmvscsi/ibmvfc.c 				 char *buf, loff_t off, size_t count)
count            3042 drivers/scsi/ibmvscsi/ibmvfc.c 	if (off + count > size) {
count            3044 drivers/scsi/ibmvscsi/ibmvfc.c 		count = size;
count            3048 drivers/scsi/ibmvscsi/ibmvfc.c 	memcpy(buf, &src[off], count);
count            3050 drivers/scsi/ibmvscsi/ibmvfc.c 	return count;
count            3979 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 					  const char *page, size_t count)
count            4020 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	return count;
count            3458 drivers/scsi/ipr.c 			      char *buf, loff_t off, size_t count)
count            3467 drivers/scsi/ipr.c 	ret = memory_read_from_buffer(buf, count, &off, ioa_cfg->trace,
count            3550 drivers/scsi/ipr.c 				   const char *buf, size_t count)
count            3585 drivers/scsi/ipr.c 				     const char *buf, size_t count)
count            3590 drivers/scsi/ipr.c 	int rc = count;
count            3670 drivers/scsi/ipr.c 				       const char *buf, size_t count)
count            3675 drivers/scsi/ipr.c 	int result = count, i;
count            3721 drivers/scsi/ipr.c 				       const char *buf, size_t count)
count            3726 drivers/scsi/ipr.c 	int result = count;
count            3782 drivers/scsi/ipr.c 					const char *buf, size_t count)
count            4073 drivers/scsi/ipr.c 				   const char *buf, size_t count)
count            4124 drivers/scsi/ipr.c 		result = count;
count            4171 drivers/scsi/ipr.c 				loff_t off, size_t count)
count            4187 drivers/scsi/ipr.c 	ret = memory_read_from_buffer(buf, count, &off, &hostrcb->hcam,
count            4195 drivers/scsi/ipr.c 				loff_t off, size_t count)
count            4208 drivers/scsi/ipr.c 		return count;
count            4214 drivers/scsi/ipr.c 	return count;
count            4254 drivers/scsi/ipr.c 			     char *buf, loff_t off, size_t count)
count            4263 drivers/scsi/ipr.c 	size_t rc = count;
count            4283 drivers/scsi/ipr.c 	if (off + count > dump->driver_dump.hdr.len) {
count            4284 drivers/scsi/ipr.c 		count = dump->driver_dump.hdr.len - off;
count            4285 drivers/scsi/ipr.c 		rc = count;
count            4288 drivers/scsi/ipr.c 	if (count && off < sizeof(dump->driver_dump)) {
count            4289 drivers/scsi/ipr.c 		if (off + count > sizeof(dump->driver_dump))
count            4292 drivers/scsi/ipr.c 			len = count;
count            4297 drivers/scsi/ipr.c 		count -= len;
count            4310 drivers/scsi/ipr.c 	if (count && off < sdt_end) {
count            4311 drivers/scsi/ipr.c 		if (off + count > sdt_end)
count            4314 drivers/scsi/ipr.c 			len = count;
count            4319 drivers/scsi/ipr.c 		count -= len;
count            4324 drivers/scsi/ipr.c 	while (count) {
count            4325 drivers/scsi/ipr.c 		if ((off & PAGE_MASK) != ((off + count) & PAGE_MASK))
count            4328 drivers/scsi/ipr.c 			len = count;
count            4334 drivers/scsi/ipr.c 		count -= len;
count            4443 drivers/scsi/ipr.c 			      char *buf, loff_t off, size_t count)
count            4463 drivers/scsi/ipr.c 		return count;
count            4687 drivers/scsi/ipr.c 				  const char *buf, size_t count)
count            8996 drivers/scsi/ipr.c 	int count = 0;
count            9004 drivers/scsi/ipr.c 			count++;
count            9012 drivers/scsi/ipr.c 		if (count)
count             319 drivers/scsi/ips.c 			       unsigned int count);
count             321 drivers/scsi/ips.c 			      unsigned int count);
count            1054 drivers/scsi/ips.c 		if (ha->copp_waitlist.count == IPS_MAX_IOCTL_QUEUE) {
count            1060 drivers/scsi/ips.c 	} else if (ha->scb_waitlist.count == IPS_MAX_QUEUE) {
count            1094 drivers/scsi/ips.c 			if (ha->scb_activelist.count != 0) {
count            1680 drivers/scsi/ips.c 			    pt->CoppCP.cmd.flashfw.count;
count            1692 drivers/scsi/ips.c 		if (pt->CoppCP.cmd.flashfw.count + ha->flash_datasize >
count            1704 drivers/scsi/ips.c 	       pt->CoppCP.cmd.flashfw.count);
count            1705 drivers/scsi/ips.c 	ha->flash_datasize += pt->CoppCP.cmd.flashfw.count;
count            1833 drivers/scsi/ips.c 		pt->CoppCP.cmd.flashfw.count = cpu_to_le32(ha->flash_datasize);
count            2120 drivers/scsi/ips.c 		  ha->scb_waitlist.count);
count            2122 drivers/scsi/ips.c 		  ha->scb_activelist.count - ha->num_ioctl);
count            2124 drivers/scsi/ips.c 		  ha->copp_waitlist.count);
count            2340 drivers/scsi/ips.c 		scb->cmd.flashfw.count = cpu_to_le32(0x800);
count            2544 drivers/scsi/ips.c 	    && (ha->scb_activelist.count == 0)) {
count            2766 drivers/scsi/ips.c 	queue->count++;
count            2799 drivers/scsi/ips.c 	queue->count--;
count            2842 drivers/scsi/ips.c 		queue->count--;
count            2878 drivers/scsi/ips.c 	queue->count++;
count            2910 drivers/scsi/ips.c 	queue->count--;
count            2953 drivers/scsi/ips.c 		queue->count--;
count            2990 drivers/scsi/ips.c 	queue->count++;
count            3023 drivers/scsi/ips.c 	queue->count--;
count            3066 drivers/scsi/ips.c 		queue->count--;
count            3411 drivers/scsi/ips.c ips_scmd_buf_write(struct scsi_cmnd *scmd, void *data, unsigned int count)
count            3416 drivers/scsi/ips.c 	scsi_sg_copy_from_buffer(scmd, data, count);
count            3428 drivers/scsi/ips.c ips_scmd_buf_read(struct scsi_cmnd *scmd, void *data, unsigned int count)
count            3433 drivers/scsi/ips.c 	scsi_sg_copy_to_buffer(scmd, data, count);
count             540 drivers/scsi/ips.h     uint32_t count;
count             566 drivers/scsi/ips.h    uint32_t count;
count             578 drivers/scsi/ips.h    uint32_t count;
count             964 drivers/scsi/ips.h    int             count;
count             973 drivers/scsi/ips.h 	int count;
count             984 drivers/scsi/ips.h    int                        count;
count             146 drivers/scsi/iscsi_tcp.c 	rd_desc.count = 1;
count             457 drivers/scsi/iscsi_tcp.c 			    unsigned int count, unsigned int offset,
count             478 drivers/scsi/iscsi_tcp.c 				     sg, count, offset, len,
count             507 drivers/scsi/iscsi_tcp.c 				 unsigned int offset, unsigned int count)
count             514 drivers/scsi/iscsi_tcp.c 	if (!count)
count             518 drivers/scsi/iscsi_tcp.c 		iscsi_sw_tcp_send_linear_data_prep(conn, task->data, count);
count             524 drivers/scsi/iscsi_tcp.c 						  count);
count              74 drivers/scsi/libsas/sas_host_smp.c static u8 *to_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count, u8 *bit)
count              90 drivers/scsi/libsas/sas_host_smp.c 	if (reg >= count)
count             100 drivers/scsi/libsas/sas_host_smp.c int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count)
count             105 drivers/scsi/libsas/sas_host_smp.c 	byte = to_sas_gpio_gp_bit(od, data, index, count, &bit);
count             555 drivers/scsi/libsas/sas_init.c 			const char *buf, size_t count)
count             566 drivers/scsi/libsas/sas_init.c 	return count;
count             604 drivers/scsi/lpfc/lpfc.h 	u32 count;
count            1064 drivers/scsi/lpfc/lpfc_attr.c 		const char *buf, size_t count)
count            1436 drivers/scsi/lpfc/lpfc_attr.c 		 const char *buf, size_t count)
count            1744 drivers/scsi/lpfc/lpfc_attr.c 		      const char *buf, size_t count)
count            2162 drivers/scsi/lpfc/lpfc_attr.c 		const char *buf, size_t count)
count            2501 drivers/scsi/lpfc/lpfc_attr.c 		    const char *buf, size_t count) \
count            2655 drivers/scsi/lpfc/lpfc_attr.c 		    const char *buf, size_t count) \
count            2771 drivers/scsi/lpfc/lpfc_attr.c 			   const char *buf, size_t count)
count            2776 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            2815 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            2854 drivers/scsi/lpfc/lpfc_attr.c 		     const char *buf, size_t count)
count            2861 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            2914 drivers/scsi/lpfc/lpfc_attr.c 	return (stat1 || stat2) ? -EIO : count;
count            2948 drivers/scsi/lpfc/lpfc_attr.c 		     const char *buf, size_t count)
count            2952 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            2977 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            3017 drivers/scsi/lpfc/lpfc_attr.c 		   const char *buf, size_t count)
count            3021 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            3044 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            3084 drivers/scsi/lpfc/lpfc_attr.c 			const char *buf, size_t count)
count            3088 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            3107 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            3148 drivers/scsi/lpfc/lpfc_attr.c 		   const char *buf, size_t count)
count            3152 drivers/scsi/lpfc/lpfc_attr.c 	unsigned int cnt = count;
count            3177 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            3219 drivers/scsi/lpfc/lpfc_attr.c 			 const char *buf, size_t count)
count            3438 drivers/scsi/lpfc/lpfc_attr.c 		   const char *buf, size_t count)
count            3478 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            4069 drivers/scsi/lpfc/lpfc_attr.c 			const char *buf, size_t count)
count            4183 drivers/scsi/lpfc/lpfc_attr.c 			  const char *buf, size_t count)
count            4418 drivers/scsi/lpfc/lpfc_attr.c 		char *buf, loff_t off, size_t count)
count            4446 drivers/scsi/lpfc/lpfc_attr.c 			> count)
count            4511 drivers/scsi/lpfc/lpfc_attr.c 		const char *buf, size_t count)
count            4690 drivers/scsi/lpfc/lpfc_attr.c 		       const char *buf, size_t count)
count            4765 drivers/scsi/lpfc/lpfc_attr.c 		       const char *buf, size_t count)
count            4832 drivers/scsi/lpfc/lpfc_attr.c 			 const char *buf, size_t count)
count            4909 drivers/scsi/lpfc/lpfc_attr.c 				    const char *buf, size_t count)
count            4981 drivers/scsi/lpfc/lpfc_attr.c 		      const char *buf, size_t count)
count            5039 drivers/scsi/lpfc/lpfc_attr.c 			 const char *buf, size_t count)
count            5158 drivers/scsi/lpfc/lpfc_attr.c 			 const char *buf, size_t count)
count            5376 drivers/scsi/lpfc/lpfc_attr.c 		       const char *buf, size_t count)
count            6143 drivers/scsi/lpfc/lpfc_attr.c 		   char *buf, loff_t off, size_t count)
count            6154 drivers/scsi/lpfc/lpfc_attr.c 	if ((off + count) > FF_REG_AREA_SIZE)
count            6157 drivers/scsi/lpfc/lpfc_attr.c 	if (count <= LPFC_REG_WRITE_KEY_SIZE)
count            6160 drivers/scsi/lpfc/lpfc_attr.c 	if (off % 4 || count % 4 || (unsigned long)buf % 4)
count            6171 drivers/scsi/lpfc/lpfc_attr.c 	for (buf_off = 0; buf_off < count - LPFC_REG_WRITE_KEY_SIZE;
count            6178 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            6202 drivers/scsi/lpfc/lpfc_attr.c 		  char *buf, loff_t off, size_t count)
count            6217 drivers/scsi/lpfc/lpfc_attr.c 	if ((off + count) > FF_REG_AREA_SIZE)
count            6218 drivers/scsi/lpfc/lpfc_attr.c 		count = FF_REG_AREA_SIZE - off;
count            6220 drivers/scsi/lpfc/lpfc_attr.c 	if (count == 0) return 0;
count            6222 drivers/scsi/lpfc/lpfc_attr.c 	if (off % 4 || count % 4 || (unsigned long)buf % 4)
count            6227 drivers/scsi/lpfc/lpfc_attr.c 	for (buf_off = 0; buf_off < count; buf_off += sizeof(uint32_t)) {
count            6234 drivers/scsi/lpfc/lpfc_attr.c 	return count;
count            6266 drivers/scsi/lpfc/lpfc_attr.c 		 char *buf, loff_t off, size_t count)
count            6290 drivers/scsi/lpfc/lpfc_attr.c 		char *buf, loff_t off, size_t count)
count              80 drivers/scsi/lpfc/lpfc_crtn.h 			struct lpfc_queue *drq, int count, int idx);
count             538 drivers/scsi/lpfc/lpfc_debugfs.c 			  i, pbl_pool->count, pvt_pool->count,
count            3099 drivers/scsi/lpfc/lpfc_debugfs.c 	int where, count;
count            3124 drivers/scsi/lpfc/lpfc_debugfs.c 		count = idiag.cmd.data[IDIAG_PCICFG_COUNT_INDX];
count            3129 drivers/scsi/lpfc/lpfc_debugfs.c 	switch (count) {
count            3220 drivers/scsi/lpfc/lpfc_debugfs.c 	uint32_t where, value, count;
count            3244 drivers/scsi/lpfc/lpfc_debugfs.c 		count = idiag.cmd.data[IDIAG_PCICFG_COUNT_INDX];
count            3245 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == LPFC_PCI_CFG_BROWSE) {
count            3250 drivers/scsi/lpfc/lpfc_debugfs.c 		} else if ((count != sizeof(uint8_t)) &&
count            3251 drivers/scsi/lpfc/lpfc_debugfs.c 			   (count != sizeof(uint16_t)) &&
count            3252 drivers/scsi/lpfc/lpfc_debugfs.c 			   (count != sizeof(uint32_t)))
count            3254 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint8_t)) {
count            3260 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint16_t)) {
count            3266 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint32_t)) {
count            3280 drivers/scsi/lpfc/lpfc_debugfs.c 		count = idiag.cmd.data[IDIAG_PCICFG_COUNT_INDX];
count            3283 drivers/scsi/lpfc/lpfc_debugfs.c 		if ((count != sizeof(uint8_t)) &&
count            3284 drivers/scsi/lpfc/lpfc_debugfs.c 		    (count != sizeof(uint16_t)) &&
count            3285 drivers/scsi/lpfc/lpfc_debugfs.c 		    (count != sizeof(uint32_t)))
count            3287 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint8_t)) {
count            3312 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint16_t)) {
count            3337 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == sizeof(uint32_t)) {
count            3980 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_que_param_check(struct lpfc_queue *q, int index, int count)
count            3983 drivers/scsi/lpfc/lpfc_debugfs.c 	if ((count != 1) && (count != LPFC_QUE_ACC_BROWSE))
count            4057 drivers/scsi/lpfc/lpfc_debugfs.c 	uint32_t last_index, index, count;
count            4076 drivers/scsi/lpfc/lpfc_debugfs.c 		count = idiag.cmd.data[IDIAG_QUEACC_COUNT_INDX];
count            4082 drivers/scsi/lpfc/lpfc_debugfs.c 	if (count == LPFC_QUE_ACC_BROWSE)
count            4135 drivers/scsi/lpfc/lpfc_debugfs.c 	uint32_t qidx, quetp, queid, index, count, offset, value;
count            4151 drivers/scsi/lpfc/lpfc_debugfs.c 	count  = idiag.cmd.data[IDIAG_QUEACC_COUNT_INDX];
count            4161 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count != 1)
count            4178 drivers/scsi/lpfc/lpfc_debugfs.c 						index, count);
count            4194 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.mbx_cq, index, count);
count            4205 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.els_cq, index, count);
count            4216 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.nvmels_cq, index, count);
count            4230 drivers/scsi/lpfc/lpfc_debugfs.c 						qp, index, count);
count            4246 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.mbx_wq, index, count);
count            4260 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.els_wq, index, count);
count            4271 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.nvmels_wq, index, count);
count            4285 drivers/scsi/lpfc/lpfc_debugfs.c 						qp, index, count);
count            4302 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.hdr_rq, index, count);
count            4313 drivers/scsi/lpfc/lpfc_debugfs.c 					phba->sli4_hba.dat_rq, index, count);
count            4329 drivers/scsi/lpfc/lpfc_debugfs.c 		if (count == LPFC_QUE_ACC_BROWSE)
count            4222 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_nlp_counters(struct lpfc_vport *vport, int state, int count)
count            4230 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_unused_cnt += count;
count            4233 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_plogi_cnt += count;
count            4236 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_adisc_cnt += count;
count            4239 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_reglogin_cnt += count;
count            4242 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_prli_cnt += count;
count            4245 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_unmap_cnt += count;
count            4248 drivers/scsi/lpfc/lpfc_hbadisc.c 		vport->fc_map_cnt += count;
count            4251 drivers/scsi/lpfc/lpfc_hbadisc.c 		if (vport->fc_npr_cnt == 0 && count == -1)
count            4254 drivers/scsi/lpfc/lpfc_hbadisc.c 			vport->fc_npr_cnt += count;
count             926 drivers/scsi/lpfc/lpfc_init.c 	int count;
count             937 drivers/scsi/lpfc/lpfc_init.c 		count = 0;
count             940 drivers/scsi/lpfc/lpfc_init.c 			count++;
count             946 drivers/scsi/lpfc/lpfc_init.c 		pring->postbufq_cnt -= count;
count            3098 drivers/scsi/lpfc/lpfc_init.c 		epd_pool->count++;
count            3099 drivers/scsi/lpfc/lpfc_init.c 		if (epd_pool->count >= XRI_BATCH)
count            3132 drivers/scsi/lpfc/lpfc_init.c 		epd_pool->count--;
count            3207 drivers/scsi/lpfc/lpfc_init.c 			pbl_pool->count++;
count            3211 drivers/scsi/lpfc/lpfc_init.c 				pbl_pool->count, i);
count            3222 drivers/scsi/lpfc/lpfc_init.c 		pvt_pool->count = 0;
count            3269 drivers/scsi/lpfc/lpfc_init.c 				pbl_pool->count, i);
count            3276 drivers/scsi/lpfc/lpfc_init.c 			pbl_pool->count--;
count            3280 drivers/scsi/lpfc/lpfc_init.c 		pbl_pool->count = 0;
count            3290 drivers/scsi/lpfc/lpfc_init.c 				pvt_pool->count, i);
count            3297 drivers/scsi/lpfc/lpfc_init.c 			pvt_pool->count--;
count            3301 drivers/scsi/lpfc/lpfc_init.c 		pvt_pool->count = 0;
count            2682 drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_crc(uint8_t *data, int count)
count            2687 drivers/scsi/lpfc/lpfc_scsi.c 	crc = crc_t10dif(data, count);
count            2698 drivers/scsi/lpfc/lpfc_scsi.c lpfc_bg_csum(uint8_t *data, int count)
count            2702 drivers/scsi/lpfc/lpfc_scsi.c 	ret = ip_compute_csum(data, count);
count             397 drivers/scsi/lpfc/lpfc_sli.c 		     uint32_t count, bool arm)
count             402 drivers/scsi/lpfc/lpfc_sli.c 	if (unlikely(!q || (count == 0 && !arm)))
count             411 drivers/scsi/lpfc/lpfc_sli.c 	bf_set(lpfc_eqcq_doorbell_num_released, &doorbell, count);
count             435 drivers/scsi/lpfc/lpfc_sli.c 			  uint32_t count, bool arm)
count             440 drivers/scsi/lpfc/lpfc_sli.c 	if (unlikely(!q || (count == 0 && !arm)))
count             447 drivers/scsi/lpfc/lpfc_sli.c 	bf_set(lpfc_if6_eq_doorbell_num_released, &doorbell, count);
count             473 drivers/scsi/lpfc/lpfc_sli.c 	uint32_t count = 0;
count             479 drivers/scsi/lpfc/lpfc_sli.c 		count++;
count             484 drivers/scsi/lpfc/lpfc_sli.c 	phba->sli4_hba.sli4_write_eq_db(phba, eq, count, LPFC_QUEUE_REARM);
count             492 drivers/scsi/lpfc/lpfc_sli.c 	int count = 0, consumed = 0;
count             503 drivers/scsi/lpfc/lpfc_sli.c 		if (!(++count % eq->max_proc_limit))
count             506 drivers/scsi/lpfc/lpfc_sli.c 		if (!(count % eq->notify_interval)) {
count             514 drivers/scsi/lpfc/lpfc_sli.c 	eq->EQ_processed += count;
count             517 drivers/scsi/lpfc/lpfc_sli.c 	if (count > eq->EQ_max_eqe)
count             518 drivers/scsi/lpfc/lpfc_sli.c 		eq->EQ_max_eqe = count;
count             526 drivers/scsi/lpfc/lpfc_sli.c 	return count;
count             591 drivers/scsi/lpfc/lpfc_sli.c 		     uint32_t count, bool arm)
count             596 drivers/scsi/lpfc/lpfc_sli.c 	if (unlikely(!q || (count == 0 && !arm)))
count             603 drivers/scsi/lpfc/lpfc_sli.c 	bf_set(lpfc_eqcq_doorbell_num_released, &doorbell, count);
count             624 drivers/scsi/lpfc/lpfc_sli.c 			 uint32_t count, bool arm)
count             629 drivers/scsi/lpfc/lpfc_sli.c 	if (unlikely(!q || (count == 0 && !arm)))
count             636 drivers/scsi/lpfc/lpfc_sli.c 	bf_set(lpfc_if6_cq_doorbell_num_released, &doorbell, count);
count            2128 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_hbqbuf_fill_hbqs(struct lpfc_hba *phba, uint32_t hbqno, uint32_t count)
count            2137 drivers/scsi/lpfc/lpfc_sli.c 	if ((phba->hbqs[hbqno].buffer_count + count) >
count            2139 drivers/scsi/lpfc/lpfc_sli.c 		count = lpfc_hbq_defs[hbqno]->entry_count -
count            2141 drivers/scsi/lpfc/lpfc_sli.c 	if (!count)
count            2144 drivers/scsi/lpfc/lpfc_sli.c 	for (i = 0; i < count; i++) {
count            3875 drivers/scsi/lpfc/lpfc_sli.c 	int count = 0;
count            3897 drivers/scsi/lpfc/lpfc_sli.c 			count++;
count            3904 drivers/scsi/lpfc/lpfc_sli.c 			count++;
count            3911 drivers/scsi/lpfc/lpfc_sli.c 		if (count == 64)
count            4793 drivers/scsi/lpfc/lpfc_sli.c 	int  count = 0;
count            4797 drivers/scsi/lpfc/lpfc_sli.c 		count += lpfc_hbq_defs[i]->entry_count;
count            4798 drivers/scsi/lpfc/lpfc_sli.c 	return count;
count            6479 drivers/scsi/lpfc/lpfc_sli.c 	uint16_t count, base;
count            6570 drivers/scsi/lpfc/lpfc_sli.c 		count = phba->sli4_hba.max_cfg_param.max_rpi;
count            6571 drivers/scsi/lpfc/lpfc_sli.c 		if (count <= 0) {
count            6574 drivers/scsi/lpfc/lpfc_sli.c 					"rpi:%d\n", count);
count            6579 drivers/scsi/lpfc/lpfc_sli.c 		longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG;
count            6587 drivers/scsi/lpfc/lpfc_sli.c 		phba->sli4_hba.rpi_ids = kcalloc(count, sizeof(uint16_t),
count            6594 drivers/scsi/lpfc/lpfc_sli.c 		for (i = 0; i < count; i++)
count            6598 drivers/scsi/lpfc/lpfc_sli.c 		count = phba->sli4_hba.max_cfg_param.max_vpi;
count            6599 drivers/scsi/lpfc/lpfc_sli.c 		if (count <= 0) {
count            6602 drivers/scsi/lpfc/lpfc_sli.c 					"vpi:%d\n", count);
count            6607 drivers/scsi/lpfc/lpfc_sli.c 		longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG;
count            6614 drivers/scsi/lpfc/lpfc_sli.c 		phba->vpi_ids = kcalloc(count, sizeof(uint16_t),
count            6621 drivers/scsi/lpfc/lpfc_sli.c 		for (i = 0; i < count; i++)
count            6625 drivers/scsi/lpfc/lpfc_sli.c 		count = phba->sli4_hba.max_cfg_param.max_xri;
count            6626 drivers/scsi/lpfc/lpfc_sli.c 		if (count <= 0) {
count            6629 drivers/scsi/lpfc/lpfc_sli.c 					"xri:%d\n", count);
count            6634 drivers/scsi/lpfc/lpfc_sli.c 		longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG;
count            6643 drivers/scsi/lpfc/lpfc_sli.c 		phba->sli4_hba.xri_ids = kcalloc(count, sizeof(uint16_t),
count            6650 drivers/scsi/lpfc/lpfc_sli.c 		for (i = 0; i < count; i++)
count            6654 drivers/scsi/lpfc/lpfc_sli.c 		count = phba->sli4_hba.max_cfg_param.max_vfi;
count            6655 drivers/scsi/lpfc/lpfc_sli.c 		if (count <= 0) {
count            6658 drivers/scsi/lpfc/lpfc_sli.c 					"vfi:%d\n", count);
count            6663 drivers/scsi/lpfc/lpfc_sli.c 		longs = (count + BITS_PER_LONG - 1) / BITS_PER_LONG;
count            6671 drivers/scsi/lpfc/lpfc_sli.c 		phba->sli4_hba.vfi_ids = kcalloc(count, sizeof(uint16_t),
count            6678 drivers/scsi/lpfc/lpfc_sli.c 		for (i = 0; i < count; i++)
count            7095 drivers/scsi/lpfc/lpfc_sli.c 		    struct lpfc_queue *drq, int count, int idx)
count            7107 drivers/scsi/lpfc/lpfc_sli.c 	for (i = 0; i < count; i++) {
count            13592 drivers/scsi/lpfc/lpfc_sli.c 	int count = 0, consumed = 0;
count            13609 drivers/scsi/lpfc/lpfc_sli.c 		if (!(++count % cq->max_proc_limit))
count            13612 drivers/scsi/lpfc/lpfc_sli.c 		if (!(count % cq->notify_interval)) {
count            13618 drivers/scsi/lpfc/lpfc_sli.c 		if (count == LPFC_NVMET_CQ_NOTIFY)
count            13623 drivers/scsi/lpfc/lpfc_sli.c 	if (count >= phba->cfg_cq_poll_threshold) {
count            13629 drivers/scsi/lpfc/lpfc_sli.c 	if (count > cq->CQ_max_cqe)
count            13630 drivers/scsi/lpfc/lpfc_sli.c 		cq->CQ_max_cqe = count;
count            13632 drivers/scsi/lpfc/lpfc_sli.c 	cq->assoc_qp->EQ_cqe_cnt += count;
count            13635 drivers/scsi/lpfc/lpfc_sli.c 	if (unlikely(count == 0))
count            16800 drivers/scsi/lpfc/lpfc_sli.c 			    int count)
count            16816 drivers/scsi/lpfc/lpfc_sli.c 	reqlen = count * sizeof(struct sgl_page_pairs) +
count            19948 drivers/scsi/lpfc/lpfc_sli.c 		multixri_pool->stat_pbl_count = pbl_pool->count;
count            19949 drivers/scsi/lpfc/lpfc_sli.c 		multixri_pool->stat_pvt_count = pvt_pool->count;
count            20060 drivers/scsi/lpfc/lpfc_sli.c 	if (pvt_pool->count > pvt_pool->low_watermark) {
count            20081 drivers/scsi/lpfc/lpfc_sli.c 		pbl_pool->count += (pvt_pool->count - tmp_count);
count            20082 drivers/scsi/lpfc/lpfc_sli.c 		pvt_pool->count = tmp_count;
count            20086 drivers/scsi/lpfc/lpfc_sli.c 		pbl_pool->count += pvt_pool->count;
count            20087 drivers/scsi/lpfc/lpfc_sli.c 		pvt_pool->count = 0;
count            20113 drivers/scsi/lpfc/lpfc_sli.c 			  struct lpfc_pvt_pool *pvt_pool, u32 count)
count            20122 drivers/scsi/lpfc/lpfc_sli.c 		if (pbl_pool->count) {
count            20131 drivers/scsi/lpfc/lpfc_sli.c 				pvt_pool->count++;
count            20132 drivers/scsi/lpfc/lpfc_sli.c 				pbl_pool->count--;
count            20133 drivers/scsi/lpfc/lpfc_sli.c 				count--;
count            20134 drivers/scsi/lpfc/lpfc_sli.c 				if (count == 0)
count            20160 drivers/scsi/lpfc/lpfc_sli.c void lpfc_move_xri_pbl_to_pvt(struct lpfc_hba *phba, u32 hwqid, u32 count)
count            20177 drivers/scsi/lpfc/lpfc_sli.c 	ret = _lpfc_move_xri_pbl_to_pvt(phba, qp, pbl_pool, pvt_pool, count);
count            20200 drivers/scsi/lpfc/lpfc_sli.c 			phba, qp, pbl_pool, pvt_pool, count);
count            20239 drivers/scsi/lpfc/lpfc_sli.c 	if (pvt_pool->count < pvt_pool->low_watermark)
count            20285 drivers/scsi/lpfc/lpfc_sli.c 			epd_pool->count++;
count            20304 drivers/scsi/lpfc/lpfc_sli.c 		xri_owned = pvt_pool->count + txcmplq_cnt + abts_io_bufs;
count            20317 drivers/scsi/lpfc/lpfc_sli.c 		if ((pvt_pool->count < pvt_pool->low_watermark) ||
count            20319 drivers/scsi/lpfc/lpfc_sli.c 		     pvt_pool->count < pvt_pool->high_watermark)) {
count            20324 drivers/scsi/lpfc/lpfc_sli.c 			pvt_pool->count++;
count            20331 drivers/scsi/lpfc/lpfc_sli.c 			pbl_pool->count++;
count            20374 drivers/scsi/lpfc/lpfc_sli.c 		pvt_pool->count--;
count            20405 drivers/scsi/lpfc/lpfc_sli.c 	if (epd_pool->count > 0) {
count            20409 drivers/scsi/lpfc/lpfc_sli.c 			epd_pool->count--;
count            20458 drivers/scsi/lpfc/lpfc_sli.c 	if (pvt_pool->count == 0)
count             581 drivers/scsi/lpfc/lpfc_sli4.h 	u32 count;
count             590 drivers/scsi/lpfc/lpfc_sli4.h 	u32 count;
count             800 drivers/scsi/lpfc/lpfc_sli4.h 				uint32_t count, bool arm);
count             802 drivers/scsi/lpfc/lpfc_sli4.h 				uint32_t count, bool arm);
count            1091 drivers/scsi/lpfc/lpfc_sli4.h 			   uint32_t count, bool arm);
count            1093 drivers/scsi/lpfc/lpfc_sli4.h 			   uint32_t count, bool arm);
count            1096 drivers/scsi/lpfc/lpfc_sli4.h 			       uint32_t count, bool arm);
count            1098 drivers/scsi/lpfc/lpfc_sli4.h 			       uint32_t count, bool arm);
count             582 drivers/scsi/megaraid/megaraid_sas.h 		u8 count;
count             745 drivers/scsi/megaraid/megaraid_sas.h 	__le32		count;
count             783 drivers/scsi/megaraid/megaraid_sas.h 	__le32	count;
count             811 drivers/scsi/megaraid/megaraid_sas.h 	__le32			count;
count            2103 drivers/scsi/megaraid/megaraid_sas.h 			__le64 count;
count            2628 drivers/scsi/megaraid/megaraid_sas.h 	u16 count;
count            3164 drivers/scsi/megaraid/megaraid_sas_base.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3240 drivers/scsi/megaraid/megaraid_sas_base.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3323 drivers/scsi/megaraid/megaraid_sas_base.c 	struct device_attribute *attr, const char *buf, size_t count)
count            4578 drivers/scsi/megaraid/megaraid_sas_base.c 				 __func__, le32_to_cpu(ci->count));
count            4580 drivers/scsi/megaraid/megaraid_sas_base.c 		if ((le32_to_cpu(ci->count) >
count            4587 drivers/scsi/megaraid/megaraid_sas_base.c 		for (pd_index = 0; pd_index < le32_to_cpu(ci->count); pd_index++) {
count            4820 drivers/scsi/megaraid/megaraid_sas_base.c 		tgtid_count = le32_to_cpu(ci->count);
count            4868 drivers/scsi/megaraid/megaraid_sas_base.c 	u32 count;
count            4913 drivers/scsi/megaraid/megaraid_sas_base.c 		count = le32_to_cpu(ci->count);
count            4915 drivers/scsi/megaraid/megaraid_sas_base.c 		if (count > (MEGASAS_MAX_PD + MAX_LOGICAL_DRIVES_EXT))
count            4920 drivers/scsi/megaraid/megaraid_sas_base.c 				 __func__, count);
count            4925 drivers/scsi/megaraid/megaraid_sas_base.c 		for (i = 0; i < count; i++) {
count            5519 drivers/scsi/megaraid/megaraid_sas_base.c 	u32 count, i;
count            5521 drivers/scsi/megaraid/megaraid_sas_base.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            5524 drivers/scsi/megaraid/megaraid_sas_base.c 	for (i = 0; i < count; i++) {
count            5616 drivers/scsi/megaraid/megaraid_sas_base.c 	int count;
count            5619 drivers/scsi/megaraid/megaraid_sas_base.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            5621 drivers/scsi/megaraid/megaraid_sas_base.c 		for (i = 0; i < count; i++) {
count            7376 drivers/scsi/megaraid/megaraid_sas_base.c 	megasas_mgmt_info.count++;
count            7391 drivers/scsi/megaraid/megaraid_sas_base.c 	    (instance->host_device_list_buf->count > 0))
count            7412 drivers/scsi/megaraid/megaraid_sas_base.c 	megasas_mgmt_info.count--;
count            7812 drivers/scsi/megaraid/megaraid_sas_base.c 			megasas_mgmt_info.count--;
count            8513 drivers/scsi/megaraid/megaraid_sas_base.c 			     size_t count)
count            8515 drivers/scsi/megaraid/megaraid_sas_base.c 	int retval = count;
count            8618 drivers/scsi/megaraid/megaraid_sas_base.c 		for (i = 0; i < targetid_list->count; i++) {
count            1225 drivers/scsi/megaraid/megaraid_sas_fp.c 	u8   span, count;
count            1253 drivers/scsi/megaraid/megaraid_sas_fp.c 				for (count = 0, span_row_width = 0;
count            1254 drivers/scsi/megaraid/megaraid_sas_fp.c 					count < raid->spanDepth; count++) {
count            1256 drivers/scsi/megaraid/megaraid_sas_fp.c 						spanBlock[count].
count            1259 drivers/scsi/megaraid/megaraid_sas_fp.c 						span_set->strip_offset[count] =
count            1263 drivers/scsi/megaraid/megaraid_sas_fp.c 							(ld, count, map)->spanRowDataSize;
count            1363 drivers/scsi/megaraid/megaraid_sas_fp.c 	u32 count = io_info->numBlocks;
count            1408 drivers/scsi/megaraid/megaraid_sas_fp.c 	lbInfo->last_accessed_block[io_info->pd_after_lb] = block + count - 1;
count             662 drivers/scsi/megaraid/megaraid_sas_fusion.c 	int i, count;
count             667 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count             670 drivers/scsi/megaraid/megaraid_sas_fusion.c 				fusion->reply_alloc_sz * count, 16, 0);
count             689 drivers/scsi/megaraid/megaraid_sas_fusion.c 					   (fusion->reply_alloc_sz * count))) {
count             699 drivers/scsi/megaraid/megaraid_sas_fusion.c 					fusion->reply_alloc_sz * count,
count             700 drivers/scsi/megaraid/megaraid_sas_fusion.c 					roundup_pow_of_two(fusion->reply_alloc_sz * count),
count             722 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0; i < fusion->reply_q_depth * count; i++, reply_desc++)
count             728 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0; i < (count - 1); i++)
count            1308 drivers/scsi/megaraid/megaraid_sas_fusion.c 	if (le32_to_cpu(pd_sync->count) > MAX_PHYSICAL_DEVICES) {
count            1311 drivers/scsi/megaraid/megaraid_sas_fusion.c 			MAX_PHYSICAL_DEVICES, le32_to_cpu(pd_sync->count));
count            1743 drivers/scsi/megaraid/megaraid_sas_fusion.c 	int i = 0, count;
count            1802 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            1803 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0 ; i < count; i++)
count            3688 drivers/scsi/megaraid/megaraid_sas_fusion.c 	u32 count, i;
count            3691 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            3693 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0; i < count; i++) {
count            3705 drivers/scsi/megaraid/megaraid_sas_fusion.c 	u32 count, i;
count            3710 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            3712 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0; i < count; i++) {
count            3766 drivers/scsi/megaraid/megaraid_sas_fusion.c 	u32 count, MSIxIndex;
count            3768 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            3774 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (MSIxIndex = 0 ; MSIxIndex < count; MSIxIndex++)
count            4205 drivers/scsi/megaraid/megaraid_sas_fusion.c 	int i, j, count;
count            4210 drivers/scsi/megaraid/megaraid_sas_fusion.c 	count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
count            4211 drivers/scsi/megaraid/megaraid_sas_fusion.c 	for (i = 0 ; i < count ; i++) {
count            1240 drivers/scsi/megaraid/megaraid_sas_fusion.h 	__le32 count;
count            1033 drivers/scsi/mesh.c 	int err, exc, count;
count            1084 drivers/scsi/mesh.c 		count = (mr->count_hi << 8) + mr->count_lo;
count            1085 drivers/scsi/mesh.c 		if (count == 0) {
count            5424 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 count, cntdn;
count            5427 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            5433 drivers/scsi/mpt3sas/mpt3sas_base.c 		if (count && current_state == MPI2_IOC_STATE_FAULT)
count            5437 drivers/scsi/mpt3sas/mpt3sas_base.c 		count++;
count            5456 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 cntdn, count;
count            5459 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            5466 drivers/scsi/mpt3sas/mpt3sas_base.c 					   __func__, count, timeout));
count            5471 drivers/scsi/mpt3sas/mpt3sas_base.c 		count++;
count            5475 drivers/scsi/mpt3sas/mpt3sas_base.c 		__func__, count, int_status);
count            5482 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 cntdn, count;
count            5485 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            5492 drivers/scsi/mpt3sas/mpt3sas_base.c 					   __func__, count, timeout));
count            5497 drivers/scsi/mpt3sas/mpt3sas_base.c 		count++;
count            5501 drivers/scsi/mpt3sas/mpt3sas_base.c 		__func__, count, int_status);
count            5519 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 cntdn, count;
count            5523 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            5530 drivers/scsi/mpt3sas/mpt3sas_base.c 					   __func__, count, timeout));
count            5543 drivers/scsi/mpt3sas/mpt3sas_base.c 		count++;
count            5548 drivers/scsi/mpt3sas/mpt3sas_base.c 		__func__, count, int_status);
count            5562 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 cntdn, count;
count            5565 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            5572 drivers/scsi/mpt3sas/mpt3sas_base.c 					   __func__, count, timeout));
count            5577 drivers/scsi/mpt3sas/mpt3sas_base.c 		count++;
count            5581 drivers/scsi/mpt3sas/mpt3sas_base.c 		__func__, count, doorbell_reg);
count            6557 drivers/scsi/mpt3sas/mpt3sas_base.c 	u32 count;
count            6564 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            6581 drivers/scsi/mpt3sas/mpt3sas_base.c 		if (count++ > 20)
count            6587 drivers/scsi/mpt3sas/mpt3sas_base.c 				   count, host_diagnostic));
count            6601 drivers/scsi/mpt3sas/mpt3sas_base.c 	for (count = 0; count < (300000000 /
count            6602 drivers/scsi/mpt3sas/mpt3sas_base.c 		MPI2_HARD_RESET_PCIE_SECOND_READ_DELAY_MICRO_SEC); count++) {
count            6663 drivers/scsi/mpt3sas/mpt3sas_base.c 	int count;
count            6676 drivers/scsi/mpt3sas/mpt3sas_base.c 	count = 0;
count            6680 drivers/scsi/mpt3sas/mpt3sas_base.c 			if (count++ == 10) {
count            2797 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	const char *buf, size_t count)
count            2833 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	const char *buf, size_t count)
count            3072 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	const char *buf, size_t count)
count            3119 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3208 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3217 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	rc = min(sizeof(struct SL_WH_MASTER_TRIGGER_T), count);
count            3264 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3273 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(struct SL_WH_EVENT_TRIGGERS_T), count);
count            3320 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3328 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(ioc->diag_trigger_scsi), count);
count            3374 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3382 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	sz = min(sizeof(struct SL_WH_MPI_TRIGGERS_T), count);
count            3446 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count            3616 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				  const char *buf, size_t count)
count            4517 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	int count = 0;
count            4523 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		count++;
count            4534 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	dtmprintk(ioc, ioc_info(ioc, "completing %d cmds\n", count));
count             121 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	u8 num_pds, count;
count             169 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	for (count = 0; count < num_pds; count++) {
count             172 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 		    vol_pg0->PhysDisk[count].PhysDiskNum) ||
count             177 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 				 vol_pg0->PhysDisk[count].PhysDiskNum);
count             190 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 		raid_device->pd_handle[count] = le16_to_cpu(pd_pg0.DevHandle);
count             242 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 	for (count = 0; count < num_pds; count++)
count             243 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c 		raid_device->pd_handle[count] = 0;
count             426 drivers/scsi/mvumi.c 	unsigned int count;
count             429 drivers/scsi/mvumi.c 	count = ioread32(mhba->ib_shadow);
count             430 drivers/scsi/mvumi.c 	if (count == 0xffff)
count             432 drivers/scsi/mvumi.c 	return count;
count            1680 drivers/scsi/mvumi.c 		int i, count;
count            1683 drivers/scsi/mvumi.c 		count = er->count;
count            1684 drivers/scsi/mvumi.c 		if (count > MAX_EVENTS_RETURNED) {
count            1687 drivers/scsi/mvumi.c 					count, MAX_EVENTS_RETURNED);
count            1690 drivers/scsi/mvumi.c 		for (i = 0; i < count; i++) {
count            1863 drivers/scsi/mvumi.c 	unsigned int count;
count            1868 drivers/scsi/mvumi.c 	count = mhba->instancet->check_ib_list(mhba);
count            1869 drivers/scsi/mvumi.c 	if (list_empty(&mhba->waiting_req_list) || !count)
count            1888 drivers/scsi/mvumi.c 	} while (!list_empty(&mhba->waiting_req_list) && count--);
count             150 drivers/scsi/mvumi.h 	unsigned char	count;
count            1835 drivers/scsi/myrb.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1866 drivers/scsi/myrb.c 		return count;
count            1875 drivers/scsi/myrb.c 		count = -EAGAIN;
count            1880 drivers/scsi/myrb.c 		count = -ENODEV;
count            1885 drivers/scsi/myrb.c 		count = -EINVAL;
count            1890 drivers/scsi/myrb.c 		count = -EBUSY;
count            1895 drivers/scsi/myrb.c 		count = -EIO;
count            1898 drivers/scsi/myrb.c 	return count;
count            1947 drivers/scsi/myrb.c 		struct device_attribute *attr, const char *buf, size_t count)
count            2014 drivers/scsi/myrb.c 		return count;
count            2052 drivers/scsi/myrb.c 		struct device_attribute *attr, const char *buf, size_t count)
count            2121 drivers/scsi/myrb.c 		return count;
count            2195 drivers/scsi/myrb.c 		struct device_attribute *attr, const char *buf, size_t count)
count            2205 drivers/scsi/myrb.c 		return count;
count             973 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1002 drivers/scsi/myrs.c 			return count;
count            1016 drivers/scsi/myrs.c 			return count;
count            1047 drivers/scsi/myrs.c 		return count;
count            1112 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1151 drivers/scsi/myrs.c 		return count;
count            1180 drivers/scsi/myrs.c 		ret = count;
count            1213 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1253 drivers/scsi/myrs.c 		return count;
count            1284 drivers/scsi/myrs.c 		ret = count;
count            1431 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1464 drivers/scsi/myrs.c 	return count;
count            1469 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1479 drivers/scsi/myrs.c 		return count;
count            1497 drivers/scsi/myrs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1511 drivers/scsi/myrs.c 	return count;
count            7844 drivers/scsi/ncr53c8xx.c 	char count = 0;
count            7870 drivers/scsi/ncr53c8xx.c 		for (count = 0; count < 10; count ++)
count             231 drivers/scsi/nsp32_io.h 				     unsigned long  count)
count             233 drivers/scsi/nsp32_io.h 	insl(base + reg, buf, count);
count             238 drivers/scsi/nsp32_io.h 				   unsigned long  count)
count             240 drivers/scsi/nsp32_io.h 	nsp32_multi_read4(base, FIFO_DATA_LOW, buf, count);
count             246 drivers/scsi/nsp32_io.h 				      unsigned long  count)
count             248 drivers/scsi/nsp32_io.h 	outsl(base + reg, buf, count);
count             253 drivers/scsi/nsp32_io.h 				    unsigned long  count)
count             255 drivers/scsi/nsp32_io.h 	nsp32_multi_write4(base, FIFO_DATA_LOW, buf, count);
count             622 drivers/scsi/pcmcia/nsp_cs.c 	unsigned int count;
count             630 drivers/scsi/pcmcia/nsp_cs.c 	count = nsp_fifo_count(SCpnt);
count             631 drivers/scsi/pcmcia/nsp_cs.c 	if (data->FifoCount == count) {
count             693 drivers/scsi/pcmcia/nsp_cs.c 	unsigned int count;
count             703 drivers/scsi/pcmcia/nsp_cs.c 	count = (h << 16) | (m << 8) | (l << 0);
count             707 drivers/scsi/pcmcia/nsp_cs.c 	return count;
count              70 drivers/scsi/pcmcia/nsp_io.h 				    unsigned long  count)
count              72 drivers/scsi/pcmcia/nsp_io.h 	insb(BaseAddr + Register, buf, count);
count              77 drivers/scsi/pcmcia/nsp_io.h 				  unsigned long  count)
count              80 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_read_1(base, FIFODATA, buf, count);
count              89 drivers/scsi/pcmcia/nsp_io.h 				    unsigned long  count)
count              91 drivers/scsi/pcmcia/nsp_io.h 	insw(BaseAddr + Register, buf, count);
count              96 drivers/scsi/pcmcia/nsp_io.h 				   unsigned long  count)
count              99 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_read_2(base, FIFODATA, buf, count);
count             108 drivers/scsi/pcmcia/nsp_io.h 				    unsigned long  count)
count             110 drivers/scsi/pcmcia/nsp_io.h 	insl(BaseAddr + Register, buf, count);
count             115 drivers/scsi/pcmcia/nsp_io.h 				   unsigned long  count)
count             118 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_read_4(base, FIFODATA, buf, count);
count             127 drivers/scsi/pcmcia/nsp_io.h 				     unsigned long  count)
count             129 drivers/scsi/pcmcia/nsp_io.h 	outsb(BaseAddr + Register, buf, count);
count             134 drivers/scsi/pcmcia/nsp_io.h 				   unsigned long  count)
count             136 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_write_1(base, FIFODATA, buf, count);
count             145 drivers/scsi/pcmcia/nsp_io.h 				     unsigned long  count)
count             147 drivers/scsi/pcmcia/nsp_io.h 	outsw(BaseAddr + Register, buf, count);
count             152 drivers/scsi/pcmcia/nsp_io.h 				    unsigned long  count)
count             154 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_write_2(base, FIFODATA, buf, count);
count             163 drivers/scsi/pcmcia/nsp_io.h 				     unsigned long  count)
count             165 drivers/scsi/pcmcia/nsp_io.h 	outsl(BaseAddr + Register, buf, count);
count             170 drivers/scsi/pcmcia/nsp_io.h 				    unsigned long  count)
count             172 drivers/scsi/pcmcia/nsp_io.h 	nsp_multi_write_4(base, FIFODATA, buf, count);
count             222 drivers/scsi/pcmcia/nsp_io.h 					 unsigned long  count)
count             230 drivers/scsi/pcmcia/nsp_io.h 	for (i = 0; i < count; i++) {
count             239 drivers/scsi/pcmcia/nsp_io.h 					unsigned long  count)
count             242 drivers/scsi/pcmcia/nsp_io.h 	nsp_mmio_multi_read_4(base, FIFODATA, buf, count);
count             248 drivers/scsi/pcmcia/nsp_io.h 					  unsigned long  count)
count             256 drivers/scsi/pcmcia/nsp_io.h 	for (i = 0; i < count; i++) {
count             265 drivers/scsi/pcmcia/nsp_io.h 					 unsigned long  count)
count             268 drivers/scsi/pcmcia/nsp_io.h 	nsp_mmio_multi_write_4(base, FIFODATA, buf, count);
count             140 drivers/scsi/pcmcia/sym53c500_cs.c #define LOAD_DMA_COUNT(x, count) \
count             141 drivers/scsi/pcmcia/sym53c500_cs.c   outb(count & 0xff, (x) + TC_LSB); \
count             142 drivers/scsi/pcmcia/sym53c500_cs.c   outb((count >> 8) & 0xff, (x) + TC_MSB); \
count             143 drivers/scsi/pcmcia/sym53c500_cs.c   outb((count >> 16) & 0xff, (x) + TC_HIGH);
count             626 drivers/scsi/pcmcia/sym53c500_cs.c 		    const char *buf, size_t count)
count             636 drivers/scsi/pcmcia/sym53c500_cs.c 		return count;
count             311 drivers/scsi/pm8001/pm8001_ctl.c 	struct device_attribute *attr, const char *buf, size_t count)
count             498 drivers/scsi/pm8001/pm8001_ctl.c 	static u32 start, end, count;
count             503 drivers/scsi/pm8001/pm8001_ctl.c 	if ((count % max_count) == 0) {
count             506 drivers/scsi/pm8001/pm8001_ctl.c 		count = 0;
count             514 drivers/scsi/pm8001/pm8001_ctl.c 	count++;
count             530 drivers/scsi/pm8001/pm8001_ctl.c 	ssize_t count;
count             532 drivers/scsi/pm8001/pm8001_ctl.c 	count = pm80xx_get_fatal_dump(cdev, attr, buf);
count             533 drivers/scsi/pm8001/pm8001_ctl.c 	return count;
count             548 drivers/scsi/pm8001/pm8001_ctl.c 	ssize_t count;
count             550 drivers/scsi/pm8001/pm8001_ctl.c 	count = pm8001_get_gsm_dump(cdev, SYSFS_OFFSET, buf);
count             551 drivers/scsi/pm8001/pm8001_ctl.c 	return count;
count             708 drivers/scsi/pm8001/pm8001_ctl.c 				      const char *buf, size_t count)
count             727 drivers/scsi/pm8001/pm8001_ctl.c 	cmd_ptr = kcalloc(count, 2, GFP_KERNEL);
count             733 drivers/scsi/pm8001/pm8001_ctl.c 	filename_ptr = cmd_ptr + count;
count             780 drivers/scsi/pm8001/pm8001_ctl.c 	return count;
count             322 drivers/scsi/pm8001/pm8001_sas.h 	u32			count;
count            4017 drivers/scsi/pmcraid.c 	size_t count
count             101 drivers/scsi/qedf/qedf_attr.c 			size_t count)
count             109 drivers/scsi/qedf/qedf_attr.c 		ret = memory_read_from_buffer(buf, count, &off,
count             121 drivers/scsi/qedf/qedf_attr.c 			size_t count)
count             155 drivers/scsi/qedf/qedf_attr.c 	return count;
count             100 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count,
count             123 drivers/scsi/qedf/qedf_debugfs.c 	cnt = min_t(int, count, cnt - *ppos);
count             130 drivers/scsi/qedf/qedf_debugfs.c 			  size_t count, loff_t *ppos)
count             132 drivers/scsi/qedf/qedf_debugfs.c 	if (!count || *ppos)
count             135 drivers/scsi/qedf/qedf_debugfs.c 	return count;
count             139 drivers/scsi/qedf/qedf_debugfs.c qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count,
count             149 drivers/scsi/qedf/qedf_debugfs.c 	cnt = min_t(int, count, cnt - *ppos);
count             156 drivers/scsi/qedf/qedf_debugfs.c 			 size_t count, loff_t *ppos)
count             164 drivers/scsi/qedf/qedf_debugfs.c 	if (!count || *ppos)
count             167 drivers/scsi/qedf/qedf_debugfs.c 	kern_buf = memdup_user(buffer, count);
count             182 drivers/scsi/qedf/qedf_debugfs.c 	return count;
count             187 drivers/scsi/qedf/qedf_debugfs.c 				   size_t count, loff_t *ppos)
count             199 drivers/scsi/qedf/qedf_debugfs.c 	cnt = min_t(int, count, cnt - *ppos);
count             206 drivers/scsi/qedf/qedf_debugfs.c 				    const char __user *buffer, size_t count,
count             217 drivers/scsi/qedf/qedf_debugfs.c 	if (!count || *ppos)
count             233 drivers/scsi/qedf/qedf_debugfs.c 	return count;
count             382 drivers/scsi/qedf/qedf_debugfs.c 				   size_t count, loff_t *ppos)
count             387 drivers/scsi/qedf/qedf_debugfs.c 	cnt = min_t(int, count, cnt - *ppos);
count             394 drivers/scsi/qedf/qedf_debugfs.c 				    const char __user *buffer, size_t count,
count             404 drivers/scsi/qedf/qedf_debugfs.c 	if (!count || *ppos)
count             411 drivers/scsi/qedf/qedf_debugfs.c 	return count;
count              95 drivers/scsi/qedi/qedi_debugfs.c 				  size_t count, loff_t *ppos)
count             116 drivers/scsi/qedi/qedi_debugfs.c 	return (count - cnt);
count             121 drivers/scsi/qedi/qedi_debugfs.c 				 size_t count, loff_t *ppos)
count             129 drivers/scsi/qedi/qedi_debugfs.c 	cnt = min_t(int, count, cnt - *ppos);
count             353 drivers/scsi/qedi/qedi_fw.c 				int count)
count             381 drivers/scsi/qedi/qedi_fw.c 	qedi->bdq_prod_idx += count;
count             991 drivers/scsi/qedi/qedi_iscsi.c 	int count = 10;
count            1008 drivers/scsi/qedi/qedi_iscsi.c 		while (count--)	{
count              22 drivers/scsi/qla2xxx/qla_attr.c 			   char *buf, loff_t off, size_t count)
count              35 drivers/scsi/qla2xxx/qla_attr.c 			rval = memory_read_from_buffer(buf, count,
count              39 drivers/scsi/qla2xxx/qla_attr.c 			rval = memory_read_from_buffer(buf, count,
count              43 drivers/scsi/qla2xxx/qla_attr.c 		rval = memory_read_from_buffer(buf, count, &off, ha->mctp_dump,
count              46 drivers/scsi/qla2xxx/qla_attr.c 		rval = memory_read_from_buffer(buf, count, &off, ha->fw_dump,
count              58 drivers/scsi/qla2xxx/qla_attr.c 			    char *buf, loff_t off, size_t count)
count             139 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             155 drivers/scsi/qla2xxx/qla_attr.c 			 char *buf, loff_t off, size_t count)
count             188 drivers/scsi/qla2xxx/qla_attr.c 	return memory_read_from_buffer(buf, count, &off, ha->nvram,
count             195 drivers/scsi/qla2xxx/qla_attr.c 			  char *buf, loff_t off, size_t count)
count             202 drivers/scsi/qla2xxx/qla_attr.c 	if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->nvram_size ||
count             213 drivers/scsi/qla2xxx/qla_attr.c 		for (cnt = 0; cnt < ((count >> 2) - 1); cnt++, iter++)
count             223 drivers/scsi/qla2xxx/qla_attr.c 		for (cnt = 0; cnt < count - 1; cnt++)
count             242 drivers/scsi/qla2xxx/qla_attr.c 	ha->isp_ops->write_nvram(vha, buf, ha->nvram_base, count);
count             244 drivers/scsi/qla2xxx/qla_attr.c 	    count);
count             254 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             270 drivers/scsi/qla2xxx/qla_attr.c 			  char *buf, loff_t off, size_t count)
count             282 drivers/scsi/qla2xxx/qla_attr.c 	rval = memory_read_from_buffer(buf, count, &off, ha->optrom_buffer,
count             294 drivers/scsi/qla2xxx/qla_attr.c 			   char *buf, loff_t off, size_t count)
count             310 drivers/scsi/qla2xxx/qla_attr.c 	if (off + count > ha->optrom_region_size)
count             311 drivers/scsi/qla2xxx/qla_attr.c 		count = ha->optrom_region_size - off;
count             313 drivers/scsi/qla2xxx/qla_attr.c 	memcpy(&ha->optrom_buffer[off], buf, count);
count             316 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             332 drivers/scsi/qla2xxx/qla_attr.c 			       char *buf, loff_t off, size_t count)
count             340 drivers/scsi/qla2xxx/qla_attr.c 	ssize_t rval = count;
count             516 drivers/scsi/qla2xxx/qla_attr.c 		       char *buf, loff_t off, size_t count)
count             557 drivers/scsi/qla2xxx/qla_attr.c 	return memory_read_from_buffer(buf, count, &off, ha->vpd, ha->vpd_size);
count             563 drivers/scsi/qla2xxx/qla_attr.c 			char *buf, loff_t off, size_t count)
count             576 drivers/scsi/qla2xxx/qla_attr.c 	if (!capable(CAP_SYS_ADMIN) || off != 0 || count != ha->vpd_size ||
count             593 drivers/scsi/qla2xxx/qla_attr.c 	ha->isp_ops->write_nvram(vha, buf, ha->vpd_base, count);
count             594 drivers/scsi/qla2xxx/qla_attr.c 	ha->isp_ops->read_nvram(vha, ha->vpd, ha->vpd_base, count);
count             614 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             630 drivers/scsi/qla2xxx/qla_attr.c 		       char *buf, loff_t off, size_t count)
count             636 drivers/scsi/qla2xxx/qla_attr.c 	if (!capable(CAP_SYS_ADMIN) || off != 0 || count < SFP_DEV_SIZE)
count             645 drivers/scsi/qla2xxx/qla_attr.c 	rval = qla2x00_read_sfp_dev(vha, buf, count);
count             651 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             666 drivers/scsi/qla2xxx/qla_attr.c 			char *buf, loff_t off, size_t count)
count             787 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             802 drivers/scsi/qla2xxx/qla_attr.c 			char *buf, loff_t off, size_t count)
count             830 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             845 drivers/scsi/qla2xxx/qla_attr.c 		       char *buf, loff_t off, size_t count)
count             853 drivers/scsi/qla2xxx/qla_attr.c 	if (!capable(CAP_SYS_ADMIN) || off != 0 || count > XGMAC_DATA_SIZE)
count             887 drivers/scsi/qla2xxx/qla_attr.c 		count = 0;
count             890 drivers/scsi/qla2xxx/qla_attr.c 	count = actual_size > count ? count : actual_size;
count             891 drivers/scsi/qla2xxx/qla_attr.c 	memcpy(buf, ha->xgmac_data, count);
count             893 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count             908 drivers/scsi/qla2xxx/qla_attr.c 		       char *buf, loff_t off, size_t count)
count             915 drivers/scsi/qla2xxx/qla_attr.c 	if (!capable(CAP_SYS_ADMIN) || off != 0 || count > DCBX_TLV_DATA_SIZE)
count             949 drivers/scsi/qla2xxx/qla_attr.c 	memcpy(buf, ha->dcbx_tlv, count);
count             951 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count            1192 drivers/scsi/qla2xxx/qla_attr.c 		  const char *buf, size_t count)
count            1229 drivers/scsi/qla2xxx/qla_attr.c 			const char *buf, size_t count)
count            1258 drivers/scsi/qla2xxx/qla_attr.c     const char *buf, size_t count)
count            1290 drivers/scsi/qla2xxx/qla_attr.c 		     const char *buf, size_t count)
count            1317 drivers/scsi/qla2xxx/qla_attr.c 		count = 0;
count            1321 drivers/scsi/qla2xxx/qla_attr.c 	return count;
count            1631 drivers/scsi/qla2xxx/qla_attr.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1698 drivers/scsi/qla2xxx/qla_attr.c     const char *buf, size_t count)
count            2107 drivers/scsi/qla2xxx/qla_attr.c     const char *buf, size_t count)
count            2154 drivers/scsi/qla2xxx/qla_attr.c     const char *buf, size_t count)
count            2191 drivers/scsi/qla2xxx/qla_attr.c     const char *buf, size_t count)
count            2219 drivers/scsi/qla2xxx/qla_attr.c 	    ha->dif_bundle_dma_allocs, ha->pool.unusable.count);
count            1532 drivers/scsi/qla2xxx/qla_bsg.c 	uint32_t count;
count            1546 drivers/scsi/qla2xxx/qla_bsg.c 	count = list->count;
count            1547 drivers/scsi/qla2xxx/qla_bsg.c 	while (count--) {
count             206 drivers/scsi/qla2xxx/qla_bsg.h 	uint32_t count;
count             289 drivers/scsi/qla2xxx/qla_dbg.c     uint32_t count, uint32_t *buf)
count             295 drivers/scsi/qla2xxx/qla_dbg.c 	for ( ; count--; dmp_reg++)
count             453 drivers/scsi/qla2xxx/qla_dbg.c qla2xxx_read_window(struct device_reg_2xxx __iomem *reg, uint32_t count,
count             458 drivers/scsi/qla2xxx/qla_dbg.c 	for ( ; count--; dmp_reg++)
count             681 drivers/scsi/qla2xxx/qla_dbg.c 	mq->count = htonl(que_cnt);
count             248 drivers/scsi/qla2xxx/qla_dbg.h 	uint32_t count;
count            2649 drivers/scsi/qla2xxx/qla_def.h 	uint32_t count;
count            2678 drivers/scsi/qla2xxx/qla_def.h 	uint32_t count;
count            2745 drivers/scsi/qla2xxx/qla_def.h 	uint32_t count;
count            2763 drivers/scsi/qla2xxx/qla_def.h 	uint32_t count;
count            3316 drivers/scsi/qla2xxx/qla_def.h 			uint32_t        count;
count            4284 drivers/scsi/qla2xxx/qla_def.h 			uint count;
count            4288 drivers/scsi/qla2xxx/qla_def.h 			uint count;
count             380 drivers/scsi/qla2xxx/qla_dfs.c     size_t count, loff_t *pos)
count             400 drivers/scsi/qla2xxx/qla_dfs.c 	buf = memdup_user_nul(buffer, count);
count             420 drivers/scsi/qla2xxx/qla_dfs.c 	rc = count;
count            1216 drivers/scsi/qla2xxx/qla_fw.h 	uint16_t count;
count            2010 drivers/scsi/qla2xxx/qla_fw.h 	uint16_t count;
count            1539 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rhba.attrs.count =
count            1749 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rpa.attrs.count = cpu_to_be32(FDMI_PORT_ATTR_COUNT);
count            1962 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rhba2.attrs.count = cpu_to_be32(FDMIV2_HBA_ATTR_COUNT);
count            2321 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rpa2.attrs.count = cpu_to_be32(FDMIV2_PORT_ATTR_COUNT);
count            4111 drivers/scsi/qla2xxx/qla_init.c 		mid_init_cb->count = cpu_to_le16(ha->max_npiv_vports);
count            6513 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_read_sfp_dev(struct scsi_qla_host *vha, char *buf, int count)
count            6544 drivers/scsi/qla2xxx/qla_mbx.c 		if (buf && (c < count)) {
count            6547 drivers/scsi/qla2xxx/qla_mbx.c 			if ((count - c) >= SFP_BLOCK_SIZE)
count            6550 drivers/scsi/qla2xxx/qla_mbx.c 				sz = count - c;
count            2866 drivers/scsi/qla2xxx/qla_nx.c 	uint32_t old_count, count;
count            2880 drivers/scsi/qla2xxx/qla_nx.c 			count = qla82xx_rd_32(ha, QLA82XX_PEG_ALIVE_COUNTER);
count            2881 drivers/scsi/qla2xxx/qla_nx.c 			if (count != old_count) {
count            4138 drivers/scsi/qla2xxx/qla_nx.c 	int count = ha->md_template_size/sizeof(uint32_t);
count            4140 drivers/scsi/qla2xxx/qla_nx.c 	while (count-- > 0)
count             613 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             639 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             734 drivers/scsi/qla2xxx/qla_nx2.c 		for (i = 0; i < p_hdr->count; i++, p_entry++)
count             738 drivers/scsi/qla2xxx/qla_nx2.c 		for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             785 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             829 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             904 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count            1123 drivers/scsi/qla2xxx/qla_nx2.c 	uint64_t addr, uint32_t *data, uint32_t count)
count            1145 drivers/scsi/qla2xxx/qla_nx2.c 	for (i = 0; i < count; i++, addr += 16) {
count            1218 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t src, count, size;
count            1232 drivers/scsi/qla2xxx/qla_nx2.c 	count = size/16;
count            1255 drivers/scsi/qla2xxx/qla_nx2.c 	    (uint32_t *)p_cache, count);
count            1391 drivers/scsi/qla2xxx/qla_nx2.c 	uint32_t old_count = 0, count = 0;
count            1405 drivers/scsi/qla2xxx/qla_nx2.c 			count = qla8044_rd_direct(vha,
count            1407 drivers/scsi/qla2xxx/qla_nx2.c 			if (count != old_count) {
count            3007 drivers/scsi/qla2xxx/qla_nx2.c 	uint16_t count;
count            3019 drivers/scsi/qla2xxx/qla_nx2.c 	count = rddfe->count;
count            3027 drivers/scsi/qla2xxx/qla_nx2.c 	for (loop_cnt = 0x0; loop_cnt < count; loop_cnt++) {
count            3104 drivers/scsi/qla2xxx/qla_nx2.c 	uint16_t count, loop_cnt;
count            3117 drivers/scsi/qla2xxx/qla_nx2.c 	count = rdmdio->count;
count            3124 drivers/scsi/qla2xxx/qla_nx2.c 	for (loop_cnt = 0; loop_cnt < count; loop_cnt++) {
count             234 drivers/scsi/qla2xxx/qla_nx2.h 	uint16_t count;
count             439 drivers/scsi/qla2xxx/qla_nx2.h 	uint16_t count;
count             456 drivers/scsi/qla2xxx/qla_nx2.h 	uint16_t count;
count            4059 drivers/scsi/qla2xxx/qla_os.c 			ha->pool.good.count = 0;
count            4060 drivers/scsi/qla2xxx/qla_os.c 			ha->pool.unusable.count = 0;
count            4093 drivers/scsi/qla2xxx/qla_os.c 					ha->pool.unusable.count++;
count            4097 drivers/scsi/qla2xxx/qla_os.c 					ha->pool.good.count++;
count            4114 drivers/scsi/qla2xxx/qla_os.c 			    __func__, ha->pool.good.count,
count            4115 drivers/scsi/qla2xxx/qla_os.c 			    ha->pool.unusable.count);
count            4310 drivers/scsi/qla2xxx/qla_os.c 			ha->pool.unusable.count--;
count            4743 drivers/scsi/qla2xxx/qla_os.c 			ha->pool.unusable.count--;
count            4996 drivers/scsi/qla2xxx/qla_os.c 	e->u.aenfx.count = cnt;
count             188 drivers/scsi/qla2xxx/qla_sup.c 	int count;
count             207 drivers/scsi/qla2xxx/qla_sup.c 	for (count = 0; count < 27; count++) {
count             236 drivers/scsi/qla2xxx/qla_sup.c 	for (count = 0; count < 10; count++)
count             246 drivers/scsi/qla2xxx/qla_sup.c 	int ret, count;
count             266 drivers/scsi/qla2xxx/qla_sup.c 	for (count = 0; count < 27; count++) {
count             293 drivers/scsi/qla2xxx/qla_sup.c 	for (count = 0; count < 10; count++)
count            4633 drivers/scsi/qla2xxx/qla_target.c 	int count = 0;
count            4646 drivers/scsi/qla2xxx/qla_target.c 			count++;
count            4655 drivers/scsi/qla2xxx/qla_target.c 			count++;
count            4664 drivers/scsi/qla2xxx/qla_target.c 			count++;
count            4669 drivers/scsi/qla2xxx/qla_target.c 	return count;
count             107 drivers/scsi/qla2xxx/qla_tmpl.c 	uint32_t addr, uint offset, uint count, uint width, void *buf,
count             114 drivers/scsi/qla2xxx/qla_tmpl.c 	while (count--) {
count             164 drivers/scsi/qla2xxx/qla_tmpl.c 	ulong count = le16_to_cpu(ent->t256.reg_count);
count             169 drivers/scsi/qla2xxx/qla_tmpl.c 	qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len);
count             198 drivers/scsi/qla2xxx/qla_tmpl.c 	uint count = le16_to_cpu(ent->t258.reg_count);
count             204 drivers/scsi/qla2xxx/qla_tmpl.c 	qla27xx_read_window(ISPREG(vha), addr, offset, count, width, buf, len);
count             323 drivers/scsi/qla2xxx/qla_tmpl.c 	uint count = 0;
count             340 drivers/scsi/qla2xxx/qla_tmpl.c 				count++;
count             354 drivers/scsi/qla2xxx/qla_tmpl.c 				count++;
count             367 drivers/scsi/qla2xxx/qla_tmpl.c 			count++;
count             376 drivers/scsi/qla2xxx/qla_tmpl.c 		if (count)
count             377 drivers/scsi/qla2xxx/qla_tmpl.c 			ent->t263.num_queues = count;
count             543 drivers/scsi/qla2xxx/qla_tmpl.c 	ulong dwords = le32_to_cpu(ent->t270.count);
count             578 drivers/scsi/qla2xxx/qla_tmpl.c 	ulong dwords = le32_to_cpu(ent->t272.count);
count             598 drivers/scsi/qla2xxx/qla_tmpl.c 	ulong dwords = le32_to_cpu(ent->t273.count);
count             622 drivers/scsi/qla2xxx/qla_tmpl.c 	uint count = 0;
count             636 drivers/scsi/qla2xxx/qla_tmpl.c 				count++;
count             648 drivers/scsi/qla2xxx/qla_tmpl.c 				count++;
count             661 drivers/scsi/qla2xxx/qla_tmpl.c 			count++;
count             670 drivers/scsi/qla2xxx/qla_tmpl.c 		if (count)
count             671 drivers/scsi/qla2xxx/qla_tmpl.c 			ent->t274.num_queues = count;
count             724 drivers/scsi/qla2xxx/qla_tmpl.c 			tmp->count--;
count             833 drivers/scsi/qla2xxx/qla_tmpl.c 	tmp->count = le32_to_cpu(tmp->entry_count);
count             835 drivers/scsi/qla2xxx/qla_tmpl.c 	    "%s: entry count %u\n", __func__, tmp->count);
count             836 drivers/scsi/qla2xxx/qla_tmpl.c 	while (ent && tmp->count--) {
count             843 drivers/scsi/qla2xxx/qla_tmpl.c 	if (tmp->count)
count             845 drivers/scsi/qla2xxx/qla_tmpl.c 		    "%s: entry count residual=+%u\n", __func__, tmp->count);
count              17 drivers/scsi/qla2xxx/qla_tmpl.h 	uint32_t count;		/* borrow field for running/residual count */
count             177 drivers/scsi/qla2xxx/qla_tmpl.h 			__le32 count;
count             187 drivers/scsi/qla2xxx/qla_tmpl.h 			__le32 count;
count             192 drivers/scsi/qla2xxx/qla_tmpl.h 			__le32 count;
count             133 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	size_t count,
count             137 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	unsigned int cnt = count;
count             834 drivers/scsi/qla2xxx/tcm_qla2xxx.c 		struct config_item *item, const char *page, size_t count) \
count             857 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	return count;							\
count             896 drivers/scsi/qla2xxx/tcm_qla2xxx.c 		const char *page, size_t count)
count             925 drivers/scsi/qla2xxx/tcm_qla2xxx.c 			return count;
count             931 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	return count;
count             941 drivers/scsi/qla2xxx/tcm_qla2xxx.c 		const char *page, size_t count)
count             959 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	return count;
count            1058 drivers/scsi/qla2xxx/tcm_qla2xxx.c 		const char *page, size_t count)
count            1087 drivers/scsi/qla2xxx/tcm_qla2xxx.c 			return count;
count            1093 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	return count;
count             627 drivers/scsi/qla4xxx/ql4_83xx.c 	uint32_t src, count, size;
count             640 drivers/scsi/qla4xxx/ql4_83xx.c 	count = size/16;
count             662 drivers/scsi/qla4xxx/ql4_83xx.c 					      count);
count             924 drivers/scsi/qla4xxx/ql4_83xx.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             940 drivers/scsi/qla4xxx/ql4_83xx.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             966 drivers/scsi/qla4xxx/ql4_83xx.c 		for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             972 drivers/scsi/qla4xxx/ql4_83xx.c 		for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             999 drivers/scsi/qla4xxx/ql4_83xx.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count            1029 drivers/scsi/qla4xxx/ql4_83xx.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count            1060 drivers/scsi/qla4xxx/ql4_83xx.c 	for (i = 0; i < p_hdr->count; i++, p_entry++) {
count             194 drivers/scsi/qla4xxx/ql4_83xx.h 	__le16 count;
count             263 drivers/scsi/qla4xxx/ql4_83xx.h 	uint16_t count;
count             280 drivers/scsi/qla4xxx/ql4_83xx.h 	uint16_t count;
count              15 drivers/scsi/qla4xxx/ql4_attr.c 			     size_t count)
count              26 drivers/scsi/qla4xxx/ql4_attr.c 	return memory_read_from_buffer(buf, count, &off, ha->fw_dump,
count              33 drivers/scsi/qla4xxx/ql4_attr.c 			      size_t count)
count             105 drivers/scsi/qla4xxx/ql4_attr.c 	return count;
count             279 drivers/scsi/qla4xxx/ql4_def.h         int count;
count            1099 drivers/scsi/qla4xxx/ql4_fw.h 	uint32_t count;
count             277 drivers/scsi/qla4xxx/ql4_glbl.h 				uint64_t addr, uint32_t *data, uint32_t count);
count             188 drivers/scsi/qla4xxx/ql4_iocb.c 		cur_dsd->count = cpu_to_le32(sg_dma_len(sg));
count             420 drivers/scsi/qla4xxx/ql4_iocb.c 		passthru_iocb->out_dsd.count =
count             429 drivers/scsi/qla4xxx/ql4_iocb.c 		passthru_iocb->in_dsd.count =
count             476 drivers/scsi/qla4xxx/ql4_isr.c 	uint32_t count = 0;
count             483 drivers/scsi/qla4xxx/ql4_isr.c 		count++;
count             698 drivers/scsi/qla4xxx/ql4_isr.c 		if (ha->aen_log.count < MAX_AEN_ENTRIES) {
count             700 drivers/scsi/qla4xxx/ql4_isr.c 				ha->aen_log.entry[ha->aen_log.count].mbox_sts[i] =
count             702 drivers/scsi/qla4xxx/ql4_isr.c 			ha->aen_log.count++;
count            1193 drivers/scsi/qla4xxx/ql4_nx.c 				uint32_t *data, uint32_t count)
count            1216 drivers/scsi/qla4xxx/ql4_nx.c 	for (i = 0; i < count; i++, addr += 16) {
count            2647 drivers/scsi/qla4xxx/ql4_nx.c 	uint16_t count;
count            2659 drivers/scsi/qla4xxx/ql4_nx.c 	count = le32_to_cpu(rddfe->count);
count            2668 drivers/scsi/qla4xxx/ql4_nx.c 	for (loop_cnt = 0x0; loop_cnt < count; loop_cnt++) {
count            2744 drivers/scsi/qla4xxx/ql4_nx.c 	uint16_t count, loop_cnt;
count            2755 drivers/scsi/qla4xxx/ql4_nx.c 	count = le32_to_cpu(rdmdio->count);
count            2763 drivers/scsi/qla4xxx/ql4_nx.c 	for (loop_cnt = 0; loop_cnt < count; loop_cnt++) {
count            3266 drivers/scsi/qla4xxx/ql4_nx.c 	uint32_t old_count, count;
count            3279 drivers/scsi/qla4xxx/ql4_nx.c 			count = qla4_8xxx_rd_direct(ha,
count            3281 drivers/scsi/qla4xxx/ql4_nx.c 			if (count != old_count) {
count             264 drivers/scsi/raid_class.c 	int count = 0;
count             277 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_level;
count             278 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_resync;
count             279 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_state;
count             281 drivers/scsi/raid_class.c 	i->attrs[count] = NULL;
count             282 drivers/scsi/raid_class.c 	BUG_ON(count > RAID_NUM_ATTRS);
count            1778 drivers/scsi/scsi_debug.c 	int k, offset, len, errsts, count, bump, na;
count            1806 drivers/scsi/scsi_debug.c 		for (count = 0, oip = opcode_info_arr;
count            1810 drivers/scsi/scsi_debug.c 			count += (oip->num_attached + 1);
count            1813 drivers/scsi/scsi_debug.c 		put_unaligned_be32(count * bump, arr);
count            4210 drivers/scsi/scsi_debug.c 	int count, modulo;
count            4216 drivers/scsi/scsi_debug.c 	count = atomic_read(&sdebug_cmnd_count);
count            4217 drivers/scsi/scsi_debug.c 	atomic_set(&sdebug_cmnd_count, (count / modulo) * modulo);
count            4624 drivers/scsi/scsi_debug.c 			   size_t count)
count            4628 drivers/scsi/scsi_debug.c 	if (count > 0 && sscanf(buf, "%d", &jdelay) == 1) {
count            4629 drivers/scsi/scsi_debug.c 		res = count;
count            4663 drivers/scsi/scsi_debug.c 			    size_t count)
count            4667 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &ndelay)) &&
count            4669 drivers/scsi/scsi_debug.c 		res = count;
count            4703 drivers/scsi/scsi_debug.c 			  size_t count)
count            4723 drivers/scsi/scsi_debug.c 	return count;
count            4732 drivers/scsi/scsi_debug.c 			   size_t count)
count            4736 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4738 drivers/scsi/scsi_debug.c 		return count;
count            4749 drivers/scsi/scsi_debug.c 			    size_t count)
count            4753 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4755 drivers/scsi/scsi_debug.c 		return count;
count            4766 drivers/scsi/scsi_debug.c 			     size_t count)
count            4770 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4787 drivers/scsi/scsi_debug.c 		return count;
count            4798 drivers/scsi/scsi_debug.c 			      size_t count)
count            4802 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4804 drivers/scsi/scsi_debug.c 		return count;
count            4815 drivers/scsi/scsi_debug.c 			      size_t count)
count            4819 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4822 drivers/scsi/scsi_debug.c 		return count;
count            4845 drivers/scsi/scsi_debug.c 			       size_t count)
count            4849 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &nth))) {
count            4856 drivers/scsi/scsi_debug.c 		return count;
count            4867 drivers/scsi/scsi_debug.c 			      size_t count)
count            4872 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4895 drivers/scsi/scsi_debug.c 		return count;
count            4908 drivers/scsi/scsi_debug.c 			       size_t count)
count            4913 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n > 0) &&
count            4931 drivers/scsi/scsi_debug.c 		return count;
count            4954 drivers/scsi/scsi_debug.c 				size_t count)
count            4959 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            4978 drivers/scsi/scsi_debug.c 		return count;
count            4993 drivers/scsi/scsi_debug.c 			      size_t count)
count            5008 drivers/scsi/scsi_debug.c 	return count;
count            5017 drivers/scsi/scsi_debug.c 				    size_t count)
count            5021 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            5023 drivers/scsi/scsi_debug.c 		return count;
count            5034 drivers/scsi/scsi_debug.c 				size_t count)
count            5038 drivers/scsi/scsi_debug.c 	if ((count > 0) && (sscanf(buf, "%d", &n) == 1) && (n >= 0)) {
count            5045 drivers/scsi/scsi_debug.c 		return count;
count            5089 drivers/scsi/scsi_debug.c 	ssize_t count;
count            5095 drivers/scsi/scsi_debug.c 	count = scnprintf(buf, PAGE_SIZE - 1, "%*pbl",
count            5097 drivers/scsi/scsi_debug.c 	buf[count++] = '\n';
count            5098 drivers/scsi/scsi_debug.c 	buf[count] = '\0';
count            5100 drivers/scsi/scsi_debug.c 	return count;
count            5109 drivers/scsi/scsi_debug.c 			       size_t count)
count            5113 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            5115 drivers/scsi/scsi_debug.c 		return count;
count            5127 drivers/scsi/scsi_debug.c 			       size_t count)
count            5131 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            5133 drivers/scsi/scsi_debug.c 		return count;
count            5144 drivers/scsi/scsi_debug.c 			    size_t count)
count            5148 drivers/scsi/scsi_debug.c 	if ((count > 0) && (1 == sscanf(buf, "%d", &n)) && (n >= 0)) {
count            5150 drivers/scsi/scsi_debug.c 		return count;
count            5167 drivers/scsi/scsi_debug.c 			     size_t count)
count            5176 drivers/scsi/scsi_debug.c 	return count;
count             988 drivers/scsi/scsi_lib.c 	int count;
count            1002 drivers/scsi/scsi_lib.c 	count = blk_rq_map_sg(req->q, req, sdb->table.sgl);
count            1003 drivers/scsi/scsi_lib.c 	BUG_ON(count > sdb->table.nents);
count            1004 drivers/scsi/scsi_lib.c 	sdb->table.nents = count;
count            1034 drivers/scsi/scsi_lib.c 		int ivecs, count;
count            1055 drivers/scsi/scsi_lib.c 		count = blk_rq_map_integrity_sg(rq->q, rq->bio,
count            1057 drivers/scsi/scsi_lib.c 		BUG_ON(count > ivecs);
count            1058 drivers/scsi/scsi_lib.c 		BUG_ON(count > queue_max_integrity_segments(rq->q));
count            1061 drivers/scsi/scsi_lib.c 		cmd->prot_sdb->table.nents = count;
count              50 drivers/scsi/scsi_proc.c                            size_t count, loff_t *ppos)
count              56 drivers/scsi/scsi_proc.c 	if (count > PROC_BLOCK_SIZE)
count              65 drivers/scsi/scsi_proc.c 		if (copy_from_user(page, buf, count))
count              67 drivers/scsi/scsi_proc.c 		ret = shost->hostt->write_info(shost, page, count);
count             566 drivers/scsi/scsi_scan.c 	int pass, count, result;
count             584 drivers/scsi/scsi_scan.c 	for (count = 0; count < 3; ++count) {
count             185 drivers/scsi/scsi_sysfs.c 	   const char *buf, size_t count)
count             192 drivers/scsi/scsi_sysfs.c 		res = count;
count             199 drivers/scsi/scsi_sysfs.c 		  const char *buf, size_t count)
count             218 drivers/scsi/scsi_sysfs.c 	return count;
count             295 drivers/scsi/scsi_sysfs.c 		const char *buf, size_t count)
count             313 drivers/scsi/scsi_sysfs.c 		ret = count;
count             332 drivers/scsi/scsi_sysfs.c 		const char *buf, size_t count)
count             362 drivers/scsi/scsi_sysfs.c 		ret = count;
count             587 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)			\
count             592 drivers/scsi/scsi_sysfs.c 	return count;							\
count             608 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)			\
count             616 drivers/scsi/scsi_sysfs.c 		ret = count;						\
count             679 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)
count             686 drivers/scsi/scsi_sysfs.c 	return count;
count             700 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)
count             715 drivers/scsi/scsi_sysfs.c 	return count;
count             721 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)
count             724 drivers/scsi/scsi_sysfs.c 	return count;
count             730 drivers/scsi/scsi_sysfs.c 		  const char *buf, size_t count)
count             759 drivers/scsi/scsi_sysfs.c 	return count;
count             765 drivers/scsi/scsi_sysfs.c 		  const char *buf, size_t count)
count             797 drivers/scsi/scsi_sysfs.c 	return ret == 0 ? count : -EINVAL;
count             829 drivers/scsi/scsi_sysfs.c 		       const char *buf, size_t count)
count             838 drivers/scsi/scsi_sysfs.c 	return count;
count             848 drivers/scsi/scsi_sysfs.c 		 char *buf, loff_t off, size_t count)			\
count             858 drivers/scsi/scsi_sysfs.c 		ret = memory_read_from_buffer(buf, count, &off,		\
count             874 drivers/scsi/scsi_sysfs.c 			    char *buf, loff_t off, size_t count)
count             882 drivers/scsi/scsi_sysfs.c 	return memory_read_from_buffer(buf, count, &off, sdev->inquiry,
count             910 drivers/scsi/scsi_sysfs.c 	unsigned long long count = atomic_read(&sdev->field);		\
count             911 drivers/scsi/scsi_sysfs.c 	return snprintf(buf, 20, "0x%llx\n", count);			\
count             941 drivers/scsi/scsi_sysfs.c 		      const char *buf, size_t count)			\
count             951 drivers/scsi/scsi_sysfs.c 	return count;							\
count             970 drivers/scsi/scsi_sysfs.c 		       const char *buf, size_t count)
count             990 drivers/scsi/scsi_sysfs.c 	return count;
count            1002 drivers/scsi/scsi_sysfs.c 	ssize_t count;
count            1004 drivers/scsi/scsi_sysfs.c 	count = scsi_vpd_lun_id(sdev, buf, PAGE_SIZE);
count            1005 drivers/scsi/scsi_sysfs.c 	if (count > 0) {
count            1006 drivers/scsi/scsi_sysfs.c 		buf[count] = '\n';
count            1007 drivers/scsi/scsi_sysfs.c 		count++;
count            1009 drivers/scsi/scsi_sysfs.c 	return count;
count            1064 drivers/scsi/scsi_sysfs.c 		    const char *buf, size_t count)
count            1096 drivers/scsi/scsi_sysfs.c 	return err < 0 ? err : count;
count            1154 drivers/scsi/scsi_sysfs.c 				const char *buf, size_t count)
count            1163 drivers/scsi/scsi_sysfs.c 	return count;
count             709 drivers/scsi/scsi_transport_fc.c 		       const char *buf,	size_t count)			\
count             724 drivers/scsi/scsi_transport_fc.c 	return count;							\
count             782 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count] = device_attr_rport_##field; \
count             783 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count].attr.mode = S_IRUGO;		\
count             784 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count].store = NULL;			\
count             785 drivers/scsi/scsi_transport_fc.c 	i->rport_attrs[count] = &i->private_rport_attrs[count];		\
count             787 drivers/scsi/scsi_transport_fc.c 		count++
count             790 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count] = device_attr_rport_##field; \
count             791 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count].attr.mode = S_IRUGO;		\
count             792 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count].store = NULL;			\
count             793 drivers/scsi/scsi_transport_fc.c 	i->rport_attrs[count] = &i->private_rport_attrs[count];		\
count             794 drivers/scsi/scsi_transport_fc.c 	count++
count             797 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count] = device_attr_rport_##field; \
count             799 drivers/scsi/scsi_transport_fc.c 		i->private_rport_attrs[count].attr.mode = S_IRUGO;	\
count             800 drivers/scsi/scsi_transport_fc.c 		i->private_rport_attrs[count].store = NULL;		\
count             802 drivers/scsi/scsi_transport_fc.c 	i->rport_attrs[count] = &i->private_rport_attrs[count];		\
count             804 drivers/scsi/scsi_transport_fc.c 		count++
count             808 drivers/scsi/scsi_transport_fc.c 	i->private_rport_attrs[count] = device_attr_rport_##field; \
count             809 drivers/scsi/scsi_transport_fc.c 	i->rport_attrs[count] = &i->private_rport_attrs[count];		\
count             810 drivers/scsi/scsi_transport_fc.c 	count++;							\
count             884 drivers/scsi/scsi_transport_fc.c 			    const char *buf, size_t count)
count             897 drivers/scsi/scsi_transport_fc.c 	return count;
count             962 drivers/scsi/scsi_transport_fc.c 				size_t count)
count             988 drivers/scsi/scsi_transport_fc.c 	return count;
count            1032 drivers/scsi/scsi_transport_fc.c 	i->private_starget_attrs[count] = device_attr_starget_##field; \
count            1033 drivers/scsi/scsi_transport_fc.c 	i->private_starget_attrs[count].attr.mode = S_IRUGO;		\
count            1034 drivers/scsi/scsi_transport_fc.c 	i->private_starget_attrs[count].store = NULL;			\
count            1035 drivers/scsi/scsi_transport_fc.c 	i->starget_attrs[count] = &i->private_starget_attrs[count];	\
count            1037 drivers/scsi/scsi_transport_fc.c 		count++
count            1040 drivers/scsi/scsi_transport_fc.c 	i->private_starget_attrs[count] = device_attr_starget_##field; \
count            1042 drivers/scsi/scsi_transport_fc.c 		i->private_starget_attrs[count].attr.mode = S_IRUGO;	\
count            1043 drivers/scsi/scsi_transport_fc.c 		i->private_starget_attrs[count].store = NULL;		\
count            1045 drivers/scsi/scsi_transport_fc.c 	i->starget_attrs[count] = &i->private_starget_attrs[count];	\
count            1047 drivers/scsi/scsi_transport_fc.c 		count++
count            1077 drivers/scsi/scsi_transport_fc.c 		       const char *buf,	size_t count)			\
count            1090 drivers/scsi/scsi_transport_fc.c 	return count;							\
count            1097 drivers/scsi/scsi_transport_fc.c 		       const char *buf,	size_t count)			\
count            1102 drivers/scsi/scsi_transport_fc.c 	unsigned int cnt=count;						\
count            1111 drivers/scsi/scsi_transport_fc.c 	return count;							\
count            1144 drivers/scsi/scsi_transport_fc.c 		       const char *buf,	size_t count)			\
count            1155 drivers/scsi/scsi_transport_fc.c 	return count;							\
count            1195 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count] = device_attr_vport_##field; \
count            1196 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count].attr.mode = S_IRUGO;		\
count            1197 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count].store = NULL;			\
count            1198 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = &i->private_vport_attrs[count];		\
count            1200 drivers/scsi/scsi_transport_fc.c 		count++
count            1204 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count] = device_attr_vport_##field; \
count            1205 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count].attr.mode = S_IRUGO;		\
count            1206 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count].store = NULL;			\
count            1207 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = &i->private_vport_attrs[count];		\
count            1208 drivers/scsi/scsi_transport_fc.c 	count++
count            1211 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count] = device_attr_vport_##field; \
count            1212 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = &i->private_vport_attrs[count];		\
count            1214 drivers/scsi/scsi_transport_fc.c 		count++
count            1218 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count] = device_attr_vport_##field; \
count            1220 drivers/scsi/scsi_transport_fc.c 		i->private_vport_attrs[count].attr.mode = S_IRUGO;	\
count            1221 drivers/scsi/scsi_transport_fc.c 		i->private_vport_attrs[count].store = NULL;		\
count            1223 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = &i->private_vport_attrs[count];		\
count            1224 drivers/scsi/scsi_transport_fc.c 	count++
count            1229 drivers/scsi/scsi_transport_fc.c 	i->private_vport_attrs[count] = device_attr_vport_##field; \
count            1230 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = &i->private_vport_attrs[count];		\
count            1231 drivers/scsi/scsi_transport_fc.c 	count++;							\
count            1270 drivers/scsi/scsi_transport_fc.c 		      const char *buf, size_t count)
count            1285 drivers/scsi/scsi_transport_fc.c 	return count;
count            1298 drivers/scsi/scsi_transport_fc.c 			   size_t count)
count            1318 drivers/scsi/scsi_transport_fc.c 	return stat ? stat : count;
count            1344 drivers/scsi/scsi_transport_fc.c 		      const char *buf,	size_t count)			\
count            1355 drivers/scsi/scsi_transport_fc.c 	return count;							\
count            1362 drivers/scsi/scsi_transport_fc.c 		      const char *buf, size_t count)			\
count            1366 drivers/scsi/scsi_transport_fc.c 	unsigned int cnt=count;						\
count            1375 drivers/scsi/scsi_transport_fc.c 	return count;							\
count            1413 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count] = device_attr_host_##field;	\
count            1414 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].attr.mode = S_IRUGO;		\
count            1415 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].store = NULL;			\
count            1416 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = &i->private_host_attrs[count];		\
count            1418 drivers/scsi/scsi_transport_fc.c 		count++
count            1421 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count] = device_attr_host_##field;	\
count            1422 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].attr.mode = S_IRUGO;		\
count            1423 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].store = NULL;			\
count            1424 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = &i->private_host_attrs[count];		\
count            1425 drivers/scsi/scsi_transport_fc.c 	count++
count            1428 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count] = device_attr_host_##field;	\
count            1430 drivers/scsi/scsi_transport_fc.c 		i->private_host_attrs[count].attr.mode = S_IRUGO;	\
count            1431 drivers/scsi/scsi_transport_fc.c 		i->private_host_attrs[count].store = NULL;		\
count            1433 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = &i->private_host_attrs[count];		\
count            1435 drivers/scsi/scsi_transport_fc.c 		count++
count            1458 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count] = device_attr_host_##field;	\
count            1459 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].attr.mode = S_IRUGO;		\
count            1460 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count].store = NULL;			\
count            1461 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = &i->private_host_attrs[count];		\
count            1462 drivers/scsi/scsi_transport_fc.c 	count++
count            1466 drivers/scsi/scsi_transport_fc.c 	i->private_host_attrs[count] = device_attr_host_##field;	\
count            1467 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = &i->private_host_attrs[count];		\
count            1468 drivers/scsi/scsi_transport_fc.c 	count++;							\
count            1598 drivers/scsi/scsi_transport_fc.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1622 drivers/scsi/scsi_transport_fc.c 	return count;
count            1631 drivers/scsi/scsi_transport_fc.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1640 drivers/scsi/scsi_transport_fc.c 		return ret ? ret: count;
count            1652 drivers/scsi/scsi_transport_fc.c 				   const char *buf, size_t count)
count            1669 drivers/scsi/scsi_transport_fc.c 	return count;
count            1749 drivers/scsi/scsi_transport_fc.c 		    const char *buf, size_t count)
count            1757 drivers/scsi/scsi_transport_fc.c 		return count;
count            1844 drivers/scsi/scsi_transport_fc.c 			   const char *buf, size_t count)
count            1849 drivers/scsi/scsi_transport_fc.c 	unsigned int cnt=count;
count            1877 drivers/scsi/scsi_transport_fc.c 	return stat ? stat : count;
count            1891 drivers/scsi/scsi_transport_fc.c 			   const char *buf, size_t count)
count            1898 drivers/scsi/scsi_transport_fc.c 	unsigned int cnt=count;
count            1936 drivers/scsi/scsi_transport_fc.c 	return stat ? stat : count;
count            2155 drivers/scsi/scsi_transport_fc.c 	int count;
count            2196 drivers/scsi/scsi_transport_fc.c 	count = 0;
count            2201 drivers/scsi/scsi_transport_fc.c 	BUG_ON(count > FC_STARGET_NUM_ATTRS);
count            2203 drivers/scsi/scsi_transport_fc.c 	i->starget_attrs[count] = NULL;
count            2209 drivers/scsi/scsi_transport_fc.c 	count=0;
count            2249 drivers/scsi/scsi_transport_fc.c 	BUG_ON(count > FC_HOST_NUM_ATTRS);
count            2251 drivers/scsi/scsi_transport_fc.c 	i->host_attrs[count] = NULL;
count            2256 drivers/scsi/scsi_transport_fc.c 	count=0;
count            2268 drivers/scsi/scsi_transport_fc.c 	BUG_ON(count > FC_RPORT_NUM_ATTRS);
count            2270 drivers/scsi/scsi_transport_fc.c 	i->rport_attrs[count] = NULL;
count            2275 drivers/scsi/scsi_transport_fc.c 	count=0;
count            2286 drivers/scsi/scsi_transport_fc.c 	BUG_ON(count > FC_VPORT_NUM_ATTRS);
count            2288 drivers/scsi/scsi_transport_fc.c 	i->vport_attrs[count] = NULL;
count            4061 drivers/scsi/scsi_transport_iscsi.c 			   const char *buf, size_t count)		\
count            4080 drivers/scsi/scsi_transport_iscsi.c 	return count;							\
count             462 drivers/scsi/scsi_transport_sas.c 		      const char *buf,	size_t count)			\
count             477 drivers/scsi/scsi_transport_sas.c 	return error ? error : count;					\
count             525 drivers/scsi/scsi_transport_sas.c 		size_t count, int enable)
count             536 drivers/scsi/scsi_transport_sas.c 	return count;
count             541 drivers/scsi/scsi_transport_sas.c 		     const char *buf, size_t count)
count             543 drivers/scsi/scsi_transport_sas.c 	if (count < 1)
count             548 drivers/scsi/scsi_transport_sas.c 		do_sas_phy_enable(dev, count, 0);
count             551 drivers/scsi/scsi_transport_sas.c 		do_sas_phy_enable(dev, count, 1);
count             557 drivers/scsi/scsi_transport_sas.c 	return count;
count             573 drivers/scsi/scsi_transport_sas.c do_sas_phy_reset(struct device *dev, size_t count, int hard_reset)
count             584 drivers/scsi/scsi_transport_sas.c 	return count;
count             589 drivers/scsi/scsi_transport_sas.c 		     const char *buf, size_t count)
count             591 drivers/scsi/scsi_transport_sas.c 	return do_sas_phy_reset(dev, count, 0);
count             597 drivers/scsi/scsi_transport_sas.c 		     const char *buf, size_t count)
count             599 drivers/scsi/scsi_transport_sas.c 	return do_sas_phy_reset(dev, count, 1);
count            1685 drivers/scsi/scsi_transport_sas.c 	i->private_##attrb[count] = dev_attr_##field;		\
count            1686 drivers/scsi/scsi_transport_sas.c 	i->private_##attrb[count].attr.mode = perm;			\
count            1687 drivers/scsi/scsi_transport_sas.c 	i->attrb[count] = &i->private_##attrb[count];			\
count            1689 drivers/scsi/scsi_transport_sas.c 		count++
count            1692 drivers/scsi/scsi_transport_sas.c 	i->private_##attrb[count] = dev_attr_##field;		\
count            1693 drivers/scsi/scsi_transport_sas.c 	i->private_##attrb[count].attr.mode = perm;			\
count            1695 drivers/scsi/scsi_transport_sas.c 		i->private_##attrb[count].attr.mode = ro_perm;		\
count            1696 drivers/scsi/scsi_transport_sas.c 		i->private_##attrb[count].store = NULL;			\
count            1698 drivers/scsi/scsi_transport_sas.c 	i->attrb[count] = &i->private_##attrb[count];			\
count            1700 drivers/scsi/scsi_transport_sas.c 		count++
count            1745 drivers/scsi/scsi_transport_sas.c 	int count;
count            1786 drivers/scsi/scsi_transport_sas.c 	count = 0;
count            1805 drivers/scsi/scsi_transport_sas.c 	i->phy_attrs[count] = NULL;
count            1807 drivers/scsi/scsi_transport_sas.c 	count = 0;
count            1809 drivers/scsi/scsi_transport_sas.c 	i->port_attrs[count] = NULL;
count            1811 drivers/scsi/scsi_transport_sas.c 	count = 0;
count            1822 drivers/scsi/scsi_transport_sas.c 	i->rphy_attrs[count] = NULL;
count            1824 drivers/scsi/scsi_transport_sas.c 	count = 0;
count            1830 drivers/scsi/scsi_transport_sas.c 	i->end_dev_attrs[count] = NULL;
count            1832 drivers/scsi/scsi_transport_sas.c 	count = 0;
count            1840 drivers/scsi/scsi_transport_sas.c 	i->expander_attrs[count] = NULL;
count             283 drivers/scsi/scsi_transport_spi.c 			    const char *buf, size_t count)		\
count             292 drivers/scsi/scsi_transport_spi.c 	return count;							\
count             315 drivers/scsi/scsi_transport_spi.c 			    const char *buf, size_t count)		\
count             326 drivers/scsi/scsi_transport_spi.c 	return count;							\
count             333 drivers/scsi/scsi_transport_spi.c 			    const char *buf, size_t count)		\
count             348 drivers/scsi/scsi_transport_spi.c 	return count;							\
count             398 drivers/scsi/scsi_transport_spi.c 		     const char *buf, size_t count)
count             403 drivers/scsi/scsi_transport_spi.c 	return count;
count             441 drivers/scsi/scsi_transport_spi.c 				  size_t count, int *periodp)
count             473 drivers/scsi/scsi_transport_spi.c 	return count;
count             494 drivers/scsi/scsi_transport_spi.c 			   const char *buf, size_t count)
count             506 drivers/scsi/scsi_transport_spi.c 	retval = store_spi_transport_period_helper(cdev, buf, count, &period);
count             539 drivers/scsi/scsi_transport_spi.c 			       const char *buf, size_t count)
count             545 drivers/scsi/scsi_transport_spi.c 	return store_spi_transport_period_helper(cdev, buf, count,
count             569 drivers/scsi/scsi_transport_spi.c 					 const char *buf, size_t count)
count             581 drivers/scsi/scsi_transport_spi.c 	return count;
count             158 drivers/scsi/scsi_transport_srp.c 				      const char *buf, size_t count)
count             166 drivers/scsi/scsi_transport_srp.c 		return count;
count             222 drivers/scsi/scsi_transport_srp.c 				     const char *buf, const size_t count)
count             243 drivers/scsi/scsi_transport_srp.c 	res = count;
count             273 drivers/scsi/scsi_transport_srp.c 						const char *buf, size_t count)
count             287 drivers/scsi/scsi_transport_srp.c 	res = count;
count             308 drivers/scsi/scsi_transport_srp.c 					    const char *buf, size_t count)
count             322 drivers/scsi/scsi_transport_srp.c 	res = count;
count             809 drivers/scsi/scsi_transport_srp.c 	int count;
count             827 drivers/scsi/scsi_transport_srp.c 	count = 0;
count             828 drivers/scsi/scsi_transport_srp.c 	i->rport_attrs[count++] = &dev_attr_port_id;
count             829 drivers/scsi/scsi_transport_srp.c 	i->rport_attrs[count++] = &dev_attr_roles;
count             831 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_state;
count             832 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_fast_io_fail_tmo;
count             833 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_dev_loss_tmo;
count             836 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_reconnect_delay;
count             837 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_failed_reconnects;
count             840 drivers/scsi/scsi_transport_srp.c 		i->rport_attrs[count++] = &dev_attr_delete;
count             841 drivers/scsi/scsi_transport_srp.c 	i->rport_attrs[count++] = NULL;
count             842 drivers/scsi/scsi_transport_srp.c 	BUG_ON(count > ARRAY_SIZE(i->rport_attrs));
count             159 drivers/scsi/sd.c 		 const char *buf, size_t count)
count             195 drivers/scsi/sd.c 		return count;
count             223 drivers/scsi/sd.c 	return count;
count             238 drivers/scsi/sd.c 			const char *buf, size_t count)
count             252 drivers/scsi/sd.c 	return count;
count             266 drivers/scsi/sd.c 		    const char *buf, size_t count)
count             283 drivers/scsi/sd.c 	return count;
count             317 drivers/scsi/sd.c 		      const char *buf, size_t count)
count             334 drivers/scsi/sd.c 	return count;
count             401 drivers/scsi/sd.c 			const char *buf, size_t count)
count             412 drivers/scsi/sd.c 		return count;
count             424 drivers/scsi/sd.c 	return count;
count             447 drivers/scsi/sd.c 		   const char *buf, size_t count)
count             461 drivers/scsi/sd.c 	return count;
count             477 drivers/scsi/sd.c 				 size_t count)
count             487 drivers/scsi/sd.c 	return err ? err : count;
count             502 drivers/scsi/sd.c 			    const char *buf, size_t count)
count             529 drivers/scsi/sd.c 	return count;
count             137 drivers/scsi/ses.c 	int i, j, count = 0, descriptor = ecomp->number;
count             151 drivers/scsi/ses.c 			if (count++ == descriptor) {
count             167 drivers/scsi/ses.c 	int i, j, count = 0, descriptor = ecomp->number;
count             182 drivers/scsi/ses.c 			if (count++ == descriptor)
count             179 drivers/scsi/sg.c static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count,
count             182 drivers/scsi/sg.c 			const char __user *buf, size_t count, int blocking,
count             409 drivers/scsi/sg.c sg_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
count             430 drivers/scsi/sg.c 				      "sg_read: count=%d\n", (int) count));
count             432 drivers/scsi/sg.c 	if (!access_ok(buf, count))
count             434 drivers/scsi/sg.c 	if (sfp->force_packid && (count >= SZ_SG_HEADER)) {
count             443 drivers/scsi/sg.c 			if (count >= SZ_SG_IO_HDR) {
count             485 drivers/scsi/sg.c 		retval = sg_new_read(sfp, buf, count, srp);
count             540 drivers/scsi/sg.c 	if (count >= SZ_SG_HEADER) {
count             546 drivers/scsi/sg.c 		if (count > old_hdr->reply_len)
count             547 drivers/scsi/sg.c 			count = old_hdr->reply_len;
count             548 drivers/scsi/sg.c 		if (count > SZ_SG_HEADER) {
count             549 drivers/scsi/sg.c 			if (sg_read_oxfer(srp, buf, count - SZ_SG_HEADER)) {
count             555 drivers/scsi/sg.c 		count = (old_hdr->result == 0) ? 0 : -EIO;
count             558 drivers/scsi/sg.c 	retval = count;
count             565 drivers/scsi/sg.c sg_new_read(Sg_fd * sfp, char __user *buf, size_t count, Sg_request * srp)
count             571 drivers/scsi/sg.c 	if (count < SZ_SG_IO_HDR) {
count             599 drivers/scsi/sg.c 	return err ? : err2 ? : count;
count             603 drivers/scsi/sg.c sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
count             623 drivers/scsi/sg.c 				      "sg_write: count=%d\n", (int) count));
count             630 drivers/scsi/sg.c 	if (!access_ok(buf, count))
count             632 drivers/scsi/sg.c 	if (count < SZ_SG_HEADER)
count             638 drivers/scsi/sg.c 		return sg_new_write(sfp, filp, buf, count,
count             640 drivers/scsi/sg.c 	if (count < (SZ_SG_HEADER + 6))
count             663 drivers/scsi/sg.c 	input_size = count - cmd_size;
count             712 drivers/scsi/sg.c 	return (k < 0) ? k : count;
count             717 drivers/scsi/sg.c 		 size_t count, int blocking, int read_only, int sg_io_owned,
count             727 drivers/scsi/sg.c 	if (count < SZ_SG_IO_HDR)
count             729 drivers/scsi/sg.c 	if (!access_ok(buf, count))
count             785 drivers/scsi/sg.c 	return count;
count            1177 drivers/scsi/sg.c 	int count = 0;
count            1192 drivers/scsi/sg.c 		++count;
count            1199 drivers/scsi/sg.c 		if (0 == count)
count            1201 drivers/scsi/sg.c 	} else if (count < SG_MAX_QUEUE)
count            2302 drivers/scsi/sg.c 			          size_t count, loff_t *off);
count            2314 drivers/scsi/sg.c 		const char __user *buffer, size_t count, loff_t *off);
count            2386 drivers/scsi/sg.c 		   size_t count, loff_t *off)
count            2393 drivers/scsi/sg.c 	err = kstrtoul_from_user(buffer, count, 0, &num);
count            2397 drivers/scsi/sg.c 	return count;
count            2407 drivers/scsi/sg.c 		     size_t count, loff_t *off)
count            2415 drivers/scsi/sg.c 	err = kstrtoul_from_user(buffer, count, 0, &k);
count            2420 drivers/scsi/sg.c 		return count;
count              71 drivers/scsi/sgiwd93.c 	unsigned long count;
count              83 drivers/scsi/sgiwd93.c 		count = len > 8192 ? 8192 : len;
count              85 drivers/scsi/sgiwd93.c 		hcp->desc.cntinfo = count;
count              87 drivers/scsi/sgiwd93.c 		len -= count;
count              88 drivers/scsi/sgiwd93.c 		physaddr += count;
count            1594 drivers/scsi/smartpqi/smartpqi_init.c 	ssize_t count;
count            1597 drivers/scsi/smartpqi/smartpqi_init.c 	count = snprintf(buffer, PQI_DEV_INFO_BUFFER_LENGTH,
count            1601 drivers/scsi/smartpqi/smartpqi_init.c 		count += snprintf(buffer + count,
count            1602 drivers/scsi/smartpqi/smartpqi_init.c 			PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1607 drivers/scsi/smartpqi/smartpqi_init.c 		count += snprintf(buffer + count,
count            1608 drivers/scsi/smartpqi/smartpqi_init.c 			PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1612 drivers/scsi/smartpqi/smartpqi_init.c 		count += snprintf(buffer + count,
count            1613 drivers/scsi/smartpqi/smartpqi_init.c 			PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1618 drivers/scsi/smartpqi/smartpqi_init.c 		count += snprintf(buffer + count,
count            1619 drivers/scsi/smartpqi/smartpqi_init.c 			PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1622 drivers/scsi/smartpqi/smartpqi_init.c 	count += snprintf(buffer + count, PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1630 drivers/scsi/smartpqi/smartpqi_init.c 			count += snprintf(buffer + count,
count            1631 drivers/scsi/smartpqi/smartpqi_init.c 				PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1637 drivers/scsi/smartpqi/smartpqi_init.c 		count += snprintf(buffer + count,
count            1638 drivers/scsi/smartpqi/smartpqi_init.c 			PQI_DEV_INFO_BUFFER_LENGTH - count,
count            1642 drivers/scsi/smartpqi/smartpqi_init.c 			count += snprintf(buffer + count,
count            1643 drivers/scsi/smartpqi/smartpqi_init.c 				PQI_DEV_INFO_BUFFER_LENGTH - count,
count            6165 drivers/scsi/smartpqi/smartpqi_init.c 	struct device_attribute *attr, const char *buffer, size_t count)
count            6171 drivers/scsi/smartpqi/smartpqi_init.c 	return count;
count            6177 drivers/scsi/smartpqi/smartpqi_init.c 	int count = 0;
count            6182 drivers/scsi/smartpqi/smartpqi_init.c 			count += snprintf(buffer + count, PAGE_SIZE - count,
count            6185 drivers/scsi/smartpqi/smartpqi_init.c 			count += snprintf(buffer + count, PAGE_SIZE - count,
count            6189 drivers/scsi/smartpqi/smartpqi_init.c 	count += snprintf(buffer + count, PAGE_SIZE - count, "\n");
count            6191 drivers/scsi/smartpqi/smartpqi_init.c 	return count;
count            6195 drivers/scsi/smartpqi/smartpqi_init.c 	struct device_attribute *attr, const char *buffer, size_t count)
count            6207 drivers/scsi/smartpqi/smartpqi_init.c 			return count;
count              24 drivers/scsi/snic/snic_trc.h 					size_t count,
count              47 drivers/scsi/snic/vnic_dev.c 	unsigned int count;
count             120 drivers/scsi/snic/vnic_dev.c 		u32 count = ioread32(&r->count);
count             137 drivers/scsi/snic/vnic_dev.c 			len = count * VNIC_RES_STRIDE;
count             151 drivers/scsi/snic/vnic_dev.c 			len = count;
count             158 drivers/scsi/snic/vnic_dev.c 		vdev->res[type].count = count;
count             168 drivers/scsi/snic/vnic_dev.c 	return vdev->res[type].count;
count              65 drivers/scsi/snic/vnic_resource.h 	u32 count;
count              46 drivers/scsi/snic/vnic_wq.c 	unsigned int i, j, count = wq->ring.desc_count;
count              47 drivers/scsi/snic/vnic_wq.c 	unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count);
count              64 drivers/scsi/snic/vnic_wq.c 			if (buf->index + 1 == count) {
count             160 drivers/scsi/snic/vnic_wq.c 	unsigned int count = wq->ring.desc_count;
count             164 drivers/scsi/snic/vnic_wq.c 	iowrite32(count, &wq->ctrl->ring_size);
count             173 drivers/scsi/snic/vnic_wq.c 		&wq->bufs[fetch_index / VNIC_WQ_BUF_BLK_ENTRIES(count)]
count             174 drivers/scsi/snic/vnic_wq.c 			[fetch_index % VNIC_WQ_BUF_BLK_ENTRIES(count)];
count            1475 drivers/scsi/st.c static ssize_t rw_checks(struct scsi_tape *STp, struct file *filp, size_t count)
count            1513 drivers/scsi/st.c 	if (count == 0)
count            1529 drivers/scsi/st.c 	    (count < STp->min_block || count > STp->max_block)) {
count            1544 drivers/scsi/st.c 			   size_t count, int is_read)
count            1557 drivers/scsi/st.c 				       count, (is_read ? READ : WRITE));
count            1580 drivers/scsi/st.c 			bufsize = count;
count            1620 drivers/scsi/st.c st_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
count            1638 drivers/scsi/st.c 	retval = rw_checks(STp, filp, count);
count            1639 drivers/scsi/st.c 	if (retval || count == 0)
count            1643 drivers/scsi/st.c 	if (STp->block_size != 0 && (count % STp->block_size) != 0) {
count            1705 drivers/scsi/st.c 	     copy_from_user(&i, buf + count - 1, 1) != 0)) {
count            1710 drivers/scsi/st.c 	retval = setup_buffering(STp, buf, count, 0);
count            1714 drivers/scsi/st.c 	total = count;
count            1723 drivers/scsi/st.c 	while (count > 0 && !retry_eot) {
count            1726 drivers/scsi/st.c 			do_count = count;
count            1730 drivers/scsi/st.c 				do_count = count;
count            1734 drivers/scsi/st.c 				if (do_count > count)
count            1735 drivers/scsi/st.c 					do_count = count;
count            1744 drivers/scsi/st.c 		count -= do_count;
count            1755 drivers/scsi/st.c 			if (!async_write && count == 0)
count            1807 drivers/scsi/st.c 					count += undone;
count            1818 drivers/scsi/st.c 					    undone > 0 || count == 0)
count            1822 drivers/scsi/st.c 						    (int)count);
count            1844 drivers/scsi/st.c 						count -= do_count;
count            1854 drivers/scsi/st.c 				count += do_count;
count            1872 drivers/scsi/st.c 			if (count < total)
count            1873 drivers/scsi/st.c 				retval = total - count;
count            1882 drivers/scsi/st.c 	retval = total - count;
count            1899 drivers/scsi/st.c static long read_tape(struct scsi_tape *STp, long count,
count            1910 drivers/scsi/st.c 	if (count == 0)
count            1920 drivers/scsi/st.c 		blks = bytes = count;
count            1926 drivers/scsi/st.c 			bytes = count;
count            2017 drivers/scsi/st.c 							    "%d.\n", count,
count            2095 drivers/scsi/st.c st_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos)
count            2110 drivers/scsi/st.c 	retval = rw_checks(STp, filp, count);
count            2111 drivers/scsi/st.c 	if (retval || count == 0)
count            2115 drivers/scsi/st.c 	if (STp->block_size != 0 && (count % STp->block_size) != 0) {
count            2137 drivers/scsi/st.c 	retval = setup_buffering(STp, buf, count, 1);
count            2158 drivers/scsi/st.c 		    copy_from_user(&i, buf + count - 1, 1) != 0 ||
count            2159 drivers/scsi/st.c 		    copy_to_user(buf + count - 1, &i, 1) != 0) {
count            2169 drivers/scsi/st.c 	for (total = 0, special = 0; total < count && !special;) {
count            2173 drivers/scsi/st.c 			special = read_tape(STp, count - total, &SRpnt);
count            2187 drivers/scsi/st.c 					  (int)(count - total));
count            2189 drivers/scsi/st.c 			transfer = STbp->buffer_bytes < count - total ?
count            2190 drivers/scsi/st.c 			    STbp->buffer_bytes : count - total;
count            4064 drivers/scsi/st.c 	int count, total;
count            4083 drivers/scsi/st.c 		count = min(length - dst_offset, length - src_offset);
count            4085 drivers/scsi/st.c 			page_address(spage) + src_offset, count);
count            4086 drivers/scsi/st.c 		src_offset += count;
count            4091 drivers/scsi/st.c 		dst_offset += count;
count            4096 drivers/scsi/st.c 		total -= count;
count            4564 drivers/scsi/st.c 	const char *buf, size_t count)
count            4570 drivers/scsi/st.c 	if (count > 0) {
count            4573 drivers/scsi/st.c 			return count;
count            4576 drivers/scsi/st.c 			return count;
count            4899 drivers/scsi/st.c 			      size_t count, int rw)
count            4901 drivers/scsi/st.c 	unsigned long end = (uaddr + count + PAGE_SIZE - 1) >> PAGE_SHIFT;
count            4909 drivers/scsi/st.c 	if ((uaddr + count) < uaddr)
count            4917 drivers/scsi/st.c 	if (count == 0)
count             187 drivers/scsi/stex.c 	__le32 count;
count             194 drivers/scsi/stex.c 	__le32 count;
count             447 drivers/scsi/stex.c 			table[i].count = cpu_to_le32((u32)sg_dma_len(sg));
count             479 drivers/scsi/stex.c 			table[i].count = cpu_to_le32((u32)sg_dma_len(sg));
count             493 drivers/scsi/stex.c 	size_t count = sizeof(struct st_frame);
count             496 drivers/scsi/stex.c 	scsi_sg_copy_to_buffer(ccb->cmd, p, count);
count             514 drivers/scsi/stex.c 	scsi_sg_copy_from_buffer(ccb->cmd, p, count);
count             916 drivers/scsi/stex.c 	int count = 0;
count             924 drivers/scsi/stex.c 	while (count < hba->sts_count) {
count             932 drivers/scsi/stex.c 		++count;
count              85 drivers/scsi/sun3_scsi.c 	unsigned short count; /* words to be xfer'd */
count             221 drivers/scsi/sun3_scsi.c                               unsigned char *data, int count, int write_flag)
count             229 drivers/scsi/sun3_scsi.c 	addr = (void *)dvma_map_vme((unsigned long) data, count);
count             231 drivers/scsi/sun3_scsi.c 	addr = (void *)dvma_map((unsigned long) data, count);
count             235 drivers/scsi/sun3_scsi.c 	sun3_dma_orig_count = count;
count             264 drivers/scsi/sun3_scsi.c 	dregs->fifo_count = count;
count             272 drivers/scsi/sun3_scsi.c 	if(dregs->fifo_count != count) { 
count             275 drivers/scsi/sun3_scsi.c 		             dregs->fifo_count, (unsigned int) count);
count             282 drivers/scsi/sun3_scsi.c 	udc_regs->count = count/2; /* count in words */
count             285 drivers/scsi/sun3_scsi.c 		if(count & 1)
count             286 drivers/scsi/sun3_scsi.c 			udc_regs->count++;
count             307 drivers/scsi/sun3_scsi.c        	return count;
count             312 drivers/scsi/sun3_scsi.c                               unsigned char *data, int count)
count             314 drivers/scsi/sun3_scsi.c 	return count;
count             318 drivers/scsi/sun3_scsi.c                                           unsigned char *data, int count)
count             320 drivers/scsi/sun3_scsi.c 	return sun3scsi_dma_setup(hostdata, data, count, 0);
count             324 drivers/scsi/sun3_scsi.c                                           unsigned char *data, int count)
count             326 drivers/scsi/sun3_scsi.c 	return sun3scsi_dma_setup(hostdata, data, count, 1);
count             345 drivers/scsi/sun3_scsi.c static inline int sun3scsi_dma_start(unsigned long count, unsigned char *data)
count             371 drivers/scsi/sun3_scsi.c 	unsigned short __maybe_unused count;
count             431 drivers/scsi/sun3_scsi.c 	count = 2 * dregs->udc_data;
count             438 drivers/scsi/sun3_scsi.c 	if((!write_flag) && (count - fifo) == 2) {
count             688 drivers/scsi/ufs/ufs-qcom.c 		const char *buf, size_t count)
count             699 drivers/scsi/ufs/ufs-qcom.c 	return count;
count              36 drivers/scsi/ufs/ufs-sysfs.c 					     const char *buf, size_t count,
count              54 drivers/scsi/ufs/ufs-sysfs.c 	return count;
count              66 drivers/scsi/ufs/ufs-sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count              68 drivers/scsi/ufs/ufs-sysfs.c 	return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, true);
count              98 drivers/scsi/ufs/ufs-sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             100 drivers/scsi/ufs/ufs-sysfs.c 	return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, false);
count             178 drivers/scsi/ufs/ufs-sysfs.c 				  const char *buf, size_t count)
count             194 drivers/scsi/ufs/ufs-sysfs.c 	return count;
count            1424 drivers/scsi/ufs/ufshcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1458 drivers/scsi/ufs/ufshcd.c 	return count;
count            1709 drivers/scsi/ufs/ufshcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1720 drivers/scsi/ufs/ufshcd.c 	return count;
count            1732 drivers/scsi/ufs/ufshcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1755 drivers/scsi/ufs/ufshcd.c 	return count;
count             330 drivers/scsi/vmw_pvscsi.c 			     struct scatterlist *sg, unsigned count)
count             335 drivers/scsi/vmw_pvscsi.c 	BUG_ON(count > PVSCSI_MAX_NUM_SG_ENTRIES_PER_SEGMENT);
count             338 drivers/scsi/vmw_pvscsi.c 	for (i = 0; i < count; i++, sg = sg_next(sg)) {
count             353 drivers/scsi/vmw_pvscsi.c 	unsigned count;
count             363 drivers/scsi/vmw_pvscsi.c 	count = scsi_sg_count(cmd);
count             364 drivers/scsi/vmw_pvscsi.c 	if (count != 0) {
count             415 drivers/scsi/vmw_pvscsi.c 		unsigned count = scsi_sg_count(cmd);
count             417 drivers/scsi/vmw_pvscsi.c 		if (count != 0) {
count             177 drivers/sfi/sfi_acpi.c 			       loff_t offset, size_t count)
count             193 drivers/sfi/sfi_acpi.c 	cnt =  memory_read_from_buffer(buf, count, &offset,
count             392 drivers/sfi/sfi_core.c 			       loff_t offset, size_t count)
count             409 drivers/sfi/sfi_core.c 		cnt =  memory_read_from_buffer(buf, count, &offset,
count             413 drivers/sfi/sfi_core.c 		cnt =  memory_read_from_buffer(buf, count, &offset,
count              32 drivers/sh/intc/userimask.c 		     const char *buf, size_t count)
count              55 drivers/sh/intc/userimask.c 	return count;
count             560 drivers/siox/siox-core.c 			    const char *buf, size_t count)
count             578 drivers/siox/siox-core.c 	return count;
count             589 drivers/siox/siox-core.c 				const char *buf, size_t count)
count             607 drivers/siox/siox-core.c 	return count;
count             616 drivers/siox/siox-core.c 				   const char *buf, size_t count)
count             623 drivers/siox/siox-core.c 	return count;
count             638 drivers/siox/siox-core.c 				      const char *buf, size_t count)
count             654 drivers/siox/siox-core.c 	return count;
count             273 drivers/slimbus/messaging.c 			 size_t count, u8 *rbuf, u8 *wbuf)
count             276 drivers/slimbus/messaging.c 	msg->num_bytes = count;
count             294 drivers/slimbus/messaging.c int slim_read(struct slim_device *sdev, u32 addr, size_t count, u8 *val)
count             298 drivers/slimbus/messaging.c 	slim_fill_msg(&msg, addr, count, val, NULL);
count             337 drivers/slimbus/messaging.c int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val)
count             341 drivers/slimbus/messaging.c 	slim_fill_msg(&msg, addr, count,  NULL, val);
count             123 drivers/slimbus/qcom-ctrl.c 	int count = (len + 3) >> 2;
count             125 drivers/slimbus/qcom-ctrl.c 	__iowrite32_copy(ctrl->base + tx_reg, buf, count);
count              63 drivers/soc/amlogic/meson-ee-pwrc.c 	unsigned int count;
count             333 drivers/soc/amlogic/meson-ee-pwrc.c 		int count = reset_control_get_count(&pdev->dev);
count             335 drivers/soc/amlogic/meson-ee-pwrc.c 		if (count != dom->num_rstc)
count             337 drivers/soc/amlogic/meson-ee-pwrc.c 				 count, dom->desc.name);
count             409 drivers/soc/amlogic/meson-ee-pwrc.c 	pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count,
count             415 drivers/soc/amlogic/meson-ee-pwrc.c 	pwrc->domains = devm_kcalloc(&pdev->dev, match->count,
count             420 drivers/soc/amlogic/meson-ee-pwrc.c 	pwrc->xlate.num_domains = match->count;
count             440 drivers/soc/amlogic/meson-ee-pwrc.c 	for (i = 0 ; i < match->count ; ++i) {
count             469 drivers/soc/amlogic/meson-ee-pwrc.c 	.count = ARRAY_SIZE(g12a_pwrc_domains),
count             474 drivers/soc/amlogic/meson-ee-pwrc.c 	.count = ARRAY_SIZE(sm1_pwrc_domains),
count              81 drivers/soc/aspeed/aspeed-lpc-snoop.c 				size_t count, loff_t *ppos)
count              95 drivers/soc/aspeed/aspeed-lpc-snoop.c 	ret = kfifo_to_user(&chan->fifo, buffer, count, &copied);
count             192 drivers/soc/fsl/dpaa2-console.c 				  size_t count, loff_t *f_pos)
count             207 drivers/soc/fsl/dpaa2-console.c 	if (count < bytes)
count             208 drivers/soc/fsl/dpaa2-console.c 		bytes = count;
count             668 drivers/soc/fsl/qbman/bman.c static int bm_alloc_bpid_range(u32 *result, u32 count)
count             672 drivers/soc/fsl/qbman/bman.c 	addr = gen_pool_alloc(bm_bpalloc, count);
count            1886 drivers/soc/fsl/qbman/qman.c 	mcc->initfq.count = 0;
count            2854 drivers/soc/fsl/qbman/qman.c int qman_alloc_fqid_range(u32 *result, u32 count)
count            2856 drivers/soc/fsl/qbman/qman.c 	return qman_alloc_range(qm_fqalloc, result, count);
count            2860 drivers/soc/fsl/qbman/qman.c int qman_alloc_pool_range(u32 *result, u32 count)
count            2862 drivers/soc/fsl/qbman/qman.c 	return qman_alloc_range(qm_qpalloc, result, count);
count            2866 drivers/soc/fsl/qbman/qman.c int qman_alloc_cgrid_range(u32 *result, u32 count)
count            2868 drivers/soc/fsl/qbman/qman.c 	return qman_alloc_range(qm_cgralloc, result, count);
count             423 drivers/soc/fsl/qe/qe.c 	for (i = 0; i < be32_to_cpu(ucode->count); i++)
count             478 drivers/soc/fsl/qe/qe.c 	if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) {
count             484 drivers/soc/fsl/qe/qe.c 	calc_size += (firmware->count - 1) * sizeof(struct qe_microcode);
count             486 drivers/soc/fsl/qe/qe.c 	for (i = 0; i < firmware->count; i++)
count             493 drivers/soc/fsl/qe/qe.c 			be32_to_cpu(firmware->microcode[i].count);
count             534 drivers/soc/fsl/qe/qe.c 	for (i = 0; i < firmware->count; i++) {
count              69 drivers/soc/qcom/llcc-slice.c 	u32 sz, count;
count              77 drivers/soc/qcom/llcc-slice.c 	for (count = 0; cfg && count < sz; count++, cfg++)
count              81 drivers/soc/qcom/llcc-slice.c 	if (count == sz || !cfg)
count             475 drivers/soc/qcom/qcom_aoss.c 	int count = QMP_NUM_COOLING_RESOURCES;
count             480 drivers/soc/qcom/qcom_aoss.c 	qmp->cooling_devs = devm_kcalloc(qmp->dev, count,
count             490 drivers/soc/qcom/qcom_aoss.c 		ret = qmp_cooling_device_add(qmp, &qmp->cooling_devs[count++],
count             499 drivers/soc/qcom/qcom_aoss.c 	while (--count >= 0)
count             501 drivers/soc/qcom/qcom_aoss.c 			(qmp->cooling_devs[count].cdev);
count              82 drivers/soc/qcom/rmtfs_mem.c 			      char __user *buf, size_t count, loff_t *f_pos)
count              89 drivers/soc/qcom/rmtfs_mem.c 	if (*f_pos + count >= rmtfs_mem->size)
count              90 drivers/soc/qcom/rmtfs_mem.c 		count = rmtfs_mem->size - *f_pos;
count              92 drivers/soc/qcom/rmtfs_mem.c 	if (copy_to_user(buf, rmtfs_mem->base + *f_pos, count))
count              95 drivers/soc/qcom/rmtfs_mem.c 	*f_pos += count;
count              96 drivers/soc/qcom/rmtfs_mem.c 	return count;
count             100 drivers/soc/qcom/rmtfs_mem.c 			       const char __user *buf, size_t count,
count             108 drivers/soc/qcom/rmtfs_mem.c 	if (*f_pos + count >= rmtfs_mem->size)
count             109 drivers/soc/qcom/rmtfs_mem.c 		count = rmtfs_mem->size - *f_pos;
count             111 drivers/soc/qcom/rmtfs_mem.c 	if (copy_from_user(rmtfs_mem->base + *f_pos, buf, count))
count             114 drivers/soc/qcom/rmtfs_mem.c 	*f_pos += count;
count             115 drivers/soc/qcom/rmtfs_mem.c 	return count;
count              67 drivers/soc/qcom/rpmh.c 	int count;
count             304 drivers/soc/qcom/rpmh.c 		for (i = 0; i < req->count; i++) {
count             354 drivers/soc/qcom/rpmh.c 	int count = 0;
count             361 drivers/soc/qcom/rpmh.c 	while (n[count] > 0)
count             362 drivers/soc/qcom/rpmh.c 		count++;
count             363 drivers/soc/qcom/rpmh.c 	if (!count)
count             367 drivers/soc/qcom/rpmh.c 		      count * (sizeof(req->rpm_msgs[0]) + sizeof(*compls)),
count             373 drivers/soc/qcom/rpmh.c 	compls = ptr + sizeof(*req) + count * sizeof(*rpm_msgs);
count             375 drivers/soc/qcom/rpmh.c 	req->count = count;
count             378 drivers/soc/qcom/rpmh.c 	for (i = 0; i < count; i++) {
count             388 drivers/soc/qcom/rpmh.c 	for (i = 0; i < count; i++) {
count              96 drivers/soc/qcom/smd-rpm.c 		       size_t count)
count             106 drivers/soc/qcom/smd-rpm.c 	size_t size = sizeof(*pkt) + count;
count             119 drivers/soc/qcom/smd-rpm.c 	pkt->hdr.length = cpu_to_le32(sizeof(struct qcom_rpm_request) + count);
count             125 drivers/soc/qcom/smd-rpm.c 	pkt->req.data_len = cpu_to_le32(count);
count             126 drivers/soc/qcom/smd-rpm.c 	memcpy(pkt->payload, buf, count);
count             147 drivers/soc/qcom/smd-rpm.c 				 int count,
count             119 drivers/soc/qcom/wcnss_ctrl.c 				   int count,
count             130 drivers/soc/qcom/wcnss_ctrl.c 		if (count != sizeof(*version)) {
count             144 drivers/soc/qcom/wcnss_ctrl.c 		if (count != sizeof(*nvresp)) {
count             556 drivers/soc/rockchip/pm_domains.c 				      unsigned int count)
count             559 drivers/soc/rockchip/pm_domains.c 	regmap_write(pmu->regmap, domain_reg_offset, count);
count             561 drivers/soc/rockchip/pm_domains.c 	regmap_write(pmu->regmap, domain_reg_offset + 4, count);
count             920 drivers/soc/tegra/pmc.c 	unsigned int i, count;
count             923 drivers/soc/tegra/pmc.c 	count = of_clk_get_parent_count(np);
count             924 drivers/soc/tegra/pmc.c 	if (count == 0)
count             927 drivers/soc/tegra/pmc.c 	pg->clks = kcalloc(count, sizeof(clk), GFP_KERNEL);
count             931 drivers/soc/tegra/pmc.c 	for (i = 0; i < count; i++) {
count             939 drivers/soc/tegra/pmc.c 	pg->num_clks = count;
count             217 drivers/soc/tegra/powergate-bpmp.c 	unsigned int max_id, id, count = 0;
count             234 drivers/soc/tegra/powergate-bpmp.c 		struct tegra_powergate_info *info = &powergates[count];
count             243 drivers/soc/tegra/powergate-bpmp.c 		count++;
count             250 drivers/soc/tegra/powergate-bpmp.c 	return count;
count             255 drivers/soc/tegra/powergate-bpmp.c 				     unsigned int count)
count             263 drivers/soc/tegra/powergate-bpmp.c 	domains = kcalloc(count, sizeof(*domains), GFP_KERNEL);
count             267 drivers/soc/tegra/powergate-bpmp.c 	for (i = 0; i < count; i++) {
count             279 drivers/soc/tegra/powergate-bpmp.c 	genpd->num_domains = count;
count             333 drivers/soc/tegra/powergate-bpmp.c 	unsigned int count, i;
count             340 drivers/soc/tegra/powergate-bpmp.c 	count = err;
count             342 drivers/soc/tegra/powergate-bpmp.c 	dev_dbg(dev, "%u power domains probed\n", count);
count             344 drivers/soc/tegra/powergate-bpmp.c 	err = tegra_bpmp_add_powergates(bpmp, powergates, count);
count             357 drivers/soc/tegra/powergate-bpmp.c 	for (i = 0; i < count; i++)
count              77 drivers/soc/ti/ti_sci_inta_msi.c 	int set, i, count = 0;
count              90 drivers/soc/ti/ti_sci_inta_msi.c 			count++;
count              94 drivers/soc/ti/ti_sci_inta_msi.c 	return count;
count              93 drivers/soc/xilinx/zynqmp_power.c 				  const char *buf, size_t count)
count             113 drivers/soc/xilinx/zynqmp_power.c 	return ret ? ret : count;
count             275 drivers/soundwire/bus.c 		 u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf)
count             279 drivers/soundwire/bus.c 	msg->len = count;
count             327 drivers/soundwire/bus.c int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val)
count             332 drivers/soundwire/bus.c 	ret = sdw_fill_msg(&msg, slave, addr, count,
count             355 drivers/soundwire/bus.c int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val)
count             360 drivers/soundwire/bus.c 	ret = sdw_fill_msg(&msg, slave, addr, count,
count             527 drivers/soundwire/bus.c 	int count = 0, ret;
count             586 drivers/soundwire/bus.c 		count++;
count             594 drivers/soundwire/bus.c 	} while (ret == 0 && count < (SDW_MAX_DEVICES * 2));
count             677 drivers/soundwire/bus.c 	int status, status2, ret, count = 0;
count             732 drivers/soundwire/bus.c 		count++;
count             735 drivers/soundwire/bus.c 	} while (status != 0 && count < SDW_READ_INTR_CLEAR_RETRY);
count             737 drivers/soundwire/bus.c 	if (count == SDW_READ_INTR_CLEAR_RETRY)
count             747 drivers/soundwire/bus.c 	int status, status2, ret, count = 0;
count             802 drivers/soundwire/bus.c 		count++;
count             805 drivers/soundwire/bus.c 	} while (status != 0 && count < SDW_READ_INTR_CLEAR_RETRY);
count             807 drivers/soundwire/bus.c 	if (count == SDW_READ_INTR_CLEAR_RETRY)
count             817 drivers/soundwire/bus.c 	int port_num, stat, ret, count = 0;
count             949 drivers/soundwire/bus.c 		count++;
count             952 drivers/soundwire/bus.c 	} while (stat != 0 && count < SDW_READ_INTR_CLEAR_RETRY);
count             954 drivers/soundwire/bus.c 	if (count == SDW_READ_INTR_CLEAR_RETRY)
count             151 drivers/soundwire/bus.h 		 u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf);
count             345 drivers/soundwire/cadence_master.c 		   struct sdw_msg *msg, int count, int offset)
count             351 drivers/soundwire/cadence_master.c 	for (i = 0; i < count; i++) {
count             371 drivers/soundwire/cadence_master.c 	for (i = 0; i < count; i++)
count             380 drivers/soundwire/cadence_master.c 	       int offset, int count, bool defer)
count             387 drivers/soundwire/cadence_master.c 	if (cdns->msg_count != count) {
count             388 drivers/soundwire/cadence_master.c 		cdns_writel(cdns, CDNS_MCP_FIFOLEVEL, count);
count             389 drivers/soundwire/cadence_master.c 		cdns->msg_count = count;
count             395 drivers/soundwire/cadence_master.c 	for (i = 0; i < count; i++) {
count             420 drivers/soundwire/cadence_master.c 	return cdns_fill_msg_resp(cdns, msg, count, offset);
count             408 drivers/soundwire/intel.c 	int count;
count             411 drivers/soundwire/intel.c 		count = intel_readw(shim, SDW_SHIM_PCMSYCHC(link_id, pdi_num));
count             420 drivers/soundwire/intel.c 			count = 7;
count             423 drivers/soundwire/intel.c 		count = intel_readw(shim, SDW_SHIM_PDMSCAP(link_id));
count             424 drivers/soundwire/intel.c 		count = ((count & SDW_SHIM_PDMSCAP_CPSS) >>
count             429 drivers/soundwire/intel.c 	count++;
count             431 drivers/soundwire/intel.c 	return count;
count              35 drivers/soundwire/intel_init.c 	int count;
count              47 drivers/soundwire/intel_init.c 	for (i = 0; i < ctx->count; i++) {
count              68 drivers/soundwire/intel_init.c 	u8 count;
count              75 drivers/soundwire/intel_init.c 	count = 0;
count              77 drivers/soundwire/intel_init.c 					    "mipi-sdw-master-count", &count, 1);
count              83 drivers/soundwire/intel_init.c 		count = SDW_MAX_LINKS;
count              91 drivers/soundwire/intel_init.c 	count = min_t(u8, caps, count);
count              94 drivers/soundwire/intel_init.c 	if (count > SDW_MAX_LINKS) {
count              96 drivers/soundwire/intel_init.c 			count, SDW_MAX_LINKS);
count              98 drivers/soundwire/intel_init.c 	} else if (!count) {
count             103 drivers/soundwire/intel_init.c 	dev_dbg(&adev->dev, "Creating %d SDW Link devices\n", count);
count             109 drivers/soundwire/intel_init.c 	ctx->count = count;
count             110 drivers/soundwire/intel_init.c 	ctx->links = kcalloc(ctx->count, sizeof(*ctx->links), GFP_KERNEL);
count             117 drivers/soundwire/intel_init.c 	for (i = 0; i < count; i++) {
count             163 drivers/soundwire/mipi_disco.c 			      struct sdw_dpn_prop *dpn, int count, int ports,
count              47 drivers/spi/spi-altera.c 	int count;
count              83 drivers/spi/spi-altera.c 			txd = hw->tx[hw->count];
count              86 drivers/spi/spi-altera.c 			txd = (hw->tx[hw->count * 2]
count              87 drivers/spi/spi-altera.c 				| (hw->tx[hw->count * 2 + 1] << 8));
count             103 drivers/spi/spi-altera.c 			hw->rx[hw->count] = rxd;
count             106 drivers/spi/spi-altera.c 			hw->rx[hw->count * 2] = rxd;
count             107 drivers/spi/spi-altera.c 			hw->rx[hw->count * 2 + 1] = rxd >> 8;
count             112 drivers/spi/spi-altera.c 	hw->count++;
count             122 drivers/spi/spi-altera.c 	hw->count = 0;
count             134 drivers/spi/spi-altera.c 		while (hw->count < hw->len) {
count             156 drivers/spi/spi-altera.c 	if (hw->count < hw->len) {
count             239 drivers/spi/spi-bcm2835.c static inline void bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count)
count             244 drivers/spi/spi-bcm2835.c 	bs->rx_len -= count;
count             246 drivers/spi/spi-bcm2835.c 	while (count > 0) {
count             248 drivers/spi/spi-bcm2835.c 		len = min(count, 4);
count             251 drivers/spi/spi-bcm2835.c 		count -= 4;
count             265 drivers/spi/spi-bcm2835.c static inline void bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count)
count             270 drivers/spi/spi-bcm2835.c 	bs->tx_len -= count;
count             272 drivers/spi/spi-bcm2835.c 	while (count > 0) {
count             274 drivers/spi/spi-bcm2835.c 			len = min(count, 4);
count             281 drivers/spi/spi-bcm2835.c 		count -= 4;
count             304 drivers/spi/spi-bcm2835.c static inline void bcm2835_rd_fifo_blind(struct bcm2835_spi *bs, int count)
count             308 drivers/spi/spi-bcm2835.c 	count = min(count, bs->rx_len);
count             309 drivers/spi/spi-bcm2835.c 	bs->rx_len -= count;
count             311 drivers/spi/spi-bcm2835.c 	while (count) {
count             315 drivers/spi/spi-bcm2835.c 		count--;
count             324 drivers/spi/spi-bcm2835.c static inline void bcm2835_wr_fifo_blind(struct bcm2835_spi *bs, int count)
count             328 drivers/spi/spi-bcm2835.c 	count = min(count, bs->tx_len);
count             329 drivers/spi/spi-bcm2835.c 	bs->tx_len -= count;
count             331 drivers/spi/spi-bcm2835.c 	while (count) {
count             334 drivers/spi/spi-bcm2835.c 		count--;
count             160 drivers/spi/spi-bcm2835aux.c 	int count = min(bs->rx_len, 3);
count             164 drivers/spi/spi-bcm2835aux.c 		switch (count) {
count             176 drivers/spi/spi-bcm2835aux.c 	bs->rx_len -= count;
count             177 drivers/spi/spi-bcm2835aux.c 	bs->pending -= count;
count             184 drivers/spi/spi-bcm2835aux.c 	int count;
count             188 drivers/spi/spi-bcm2835aux.c 	count = min(bs->tx_len, 3);
count             190 drivers/spi/spi-bcm2835aux.c 	for (i = 0; i < count; i++) {
count             196 drivers/spi/spi-bcm2835aux.c 	data |= (count * 8) << 24;
count             199 drivers/spi/spi-bcm2835aux.c 	bs->tx_len -= count;
count             200 drivers/spi/spi-bcm2835aux.c 	bs->pending += count;
count              65 drivers/spi/spi-bitbang.c 	unsigned		count = t->len;
count              69 drivers/spi/spi-bitbang.c 	while (likely(count > 0)) {
count              77 drivers/spi/spi-bitbang.c 		count -= 1;
count              79 drivers/spi/spi-bitbang.c 	return t->len - count;
count              93 drivers/spi/spi-bitbang.c 	unsigned		count = t->len;
count              97 drivers/spi/spi-bitbang.c 	while (likely(count > 1)) {
count             105 drivers/spi/spi-bitbang.c 		count -= 2;
count             107 drivers/spi/spi-bitbang.c 	return t->len - count;
count             121 drivers/spi/spi-bitbang.c 	unsigned		count = t->len;
count             125 drivers/spi/spi-bitbang.c 	while (likely(count > 3)) {
count             133 drivers/spi/spi-bitbang.c 		count -= 4;
count             135 drivers/spi/spi-bitbang.c 	return t->len - count;
count             153 drivers/spi/spi-coldfire-qspi.c static void mcfqspi_transfer_msg8(struct mcfqspi *mcfqspi, unsigned count,
count             158 drivers/spi/spi-coldfire-qspi.c 	n = min(count, 16u);
count             169 drivers/spi/spi-coldfire-qspi.c 		for (i = 0; i < count; ++i)
count             172 drivers/spi/spi-coldfire-qspi.c 	count -= n;
count             173 drivers/spi/spi-coldfire-qspi.c 	if (count) {
count             188 drivers/spi/spi-coldfire-qspi.c 			n = min(count, 8u);
count             197 drivers/spi/spi-coldfire-qspi.c 			count -= n;
count             198 drivers/spi/spi-coldfire-qspi.c 		} while (count);
count             220 drivers/spi/spi-coldfire-qspi.c static void mcfqspi_transfer_msg16(struct mcfqspi *mcfqspi, unsigned count,
count             225 drivers/spi/spi-coldfire-qspi.c 	n = min(count, 16u);
count             236 drivers/spi/spi-coldfire-qspi.c 		for (i = 0; i < count; ++i)
count             239 drivers/spi/spi-coldfire-qspi.c 	count -= n;
count             240 drivers/spi/spi-coldfire-qspi.c 	if (count) {
count             255 drivers/spi/spi-coldfire-qspi.c 			n = min(count, 8u);
count             264 drivers/spi/spi-coldfire-qspi.c 			count -= n;
count             265 drivers/spi/spi-coldfire-qspi.c 		} while (count);
count             324 drivers/spi/spi-dln2.c 		u8 count;
count             338 drivers/spi/spi-dln2.c 	if (rx->count > ARRAY_SIZE(rx->frame_sizes))
count             342 drivers/spi/spi-dln2.c 	for (i = 0; i < rx->count; i++)
count              37 drivers/spi/spi-dw.c 		size_t count, loff_t *ppos)
count              85 drivers/spi/spi-dw.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              75 drivers/spi/spi-fsl-cpm.c 	unsigned int xfer_len = min(mspi->count, SPI_MRBLR);
count              79 drivers/spi/spi-fsl-cpm.c 	xfer_ofs = mspi->xfer_in_progress->len - mspi->count;
count             152 drivers/spi/spi-fsl-cpm.c 	mspi->count = t->len;
count             185 drivers/spi/spi-fsl-cpm.c 		in_be16(&mspi->rx_bd->cbd_datlen), mspi->count);
count             188 drivers/spi/spi-fsl-cpm.c 	if (len > mspi->count) {
count             190 drivers/spi/spi-fsl-cpm.c 		len = mspi->count;
count             196 drivers/spi/spi-fsl-cpm.c 	mspi->count -= len;
count             197 drivers/spi/spi-fsl-cpm.c 	if (mspi->count)
count              50 drivers/spi/spi-fsl-lib.h 	unsigned int count;
count             296 drivers/spi/spi-fsl-spi.c 	mspi->count = len;
count             355 drivers/spi/spi-fsl-spi.c 	return mpc8xxx_spi->count;
count             519 drivers/spi/spi-fsl-spi.c 	mspi->count -= 1;
count             520 drivers/spi/spi-fsl-spi.c 	if (mspi->count) {
count             158 drivers/spi/spi-img-spfi.c 	unsigned int count = 0;
count             161 drivers/spi/spi-img-spfi.c 	while (count < max / 4) {
count             166 drivers/spi/spi-img-spfi.c 		spfi_writel(spfi, buf[count], SPFI_TX_32BIT_VALID_DATA);
count             167 drivers/spi/spi-img-spfi.c 		count++;
count             170 drivers/spi/spi-img-spfi.c 	return count * 4;
count             176 drivers/spi/spi-img-spfi.c 	unsigned int count = 0;
count             179 drivers/spi/spi-img-spfi.c 	while (count < max) {
count             184 drivers/spi/spi-img-spfi.c 		spfi_writel(spfi, buf[count], SPFI_TX_8BIT_VALID_DATA);
count             185 drivers/spi/spi-img-spfi.c 		count++;
count             188 drivers/spi/spi-img-spfi.c 	return count;
count             194 drivers/spi/spi-img-spfi.c 	unsigned int count = 0;
count             197 drivers/spi/spi-img-spfi.c 	while (count < max / 4) {
count             203 drivers/spi/spi-img-spfi.c 		buf[count] = spfi_readl(spfi, SPFI_RX_32BIT_VALID_DATA);
count             204 drivers/spi/spi-img-spfi.c 		count++;
count             207 drivers/spi/spi-img-spfi.c 	return count * 4;
count             213 drivers/spi/spi-img-spfi.c 	unsigned int count = 0;
count             216 drivers/spi/spi-img-spfi.c 	while (count < max) {
count             222 drivers/spi/spi-img-spfi.c 		buf[count] = spfi_readl(spfi, SPFI_RX_8BIT_VALID_DATA);
count             223 drivers/spi/spi-img-spfi.c 		count++;
count             226 drivers/spi/spi-img-spfi.c 	return count;
count              97 drivers/spi/spi-imx.c 	unsigned int count, remainder;
count             162 drivers/spi/spi-imx.c 	spi_imx->count -= sizeof(type);					\
count             344 drivers/spi/spi-imx.c 	spi_imx->count -= sizeof(u32);
count             361 drivers/spi/spi-imx.c 	unaligned = spi_imx->count % 4;
count             378 drivers/spi/spi-imx.c 		spi_imx->count--;
count             407 drivers/spi/spi-imx.c 	int n_bytes = spi_imx->count % sizeof(val);
count             419 drivers/spi/spi-imx.c 	spi_imx->count -= n_bytes;
count            1092 drivers/spi/spi-imx.c 			burst_len = spi_imx->count % MX51_ECSPI_CTRL_MAX_BURST;
count            1106 drivers/spi/spi-imx.c 		if (!spi_imx->count)
count            1130 drivers/spi/spi-imx.c 	if (spi_imx->count) {
count            1430 drivers/spi/spi-imx.c 	spi_imx->count = transfer->len;
count            1468 drivers/spi/spi-imx.c 	spi_imx->count = transfer->len;
count             109 drivers/spi/spi-jcore.c 	unsigned int count;
count             118 drivers/spi/spi-jcore.c 	for (count = 0; count < len; count++) {
count             134 drivers/spi/spi-jcore.c 	if (count < len)
count             668 drivers/spi/spi-loopback-test.c 	size_t count = 0;
count             673 drivers/spi/spi-loopback-test.c 	(value >> (8 * (bytes - 1 - count % bytes)))
count             676 drivers/spi/spi-loopback-test.c 	(value >> (8 * (count % bytes)))
count             690 drivers/spi/spi-loopback-test.c 		for (j = 0; j < xfers[i].len; j++, tx_buf++, count++) {
count             698 drivers/spi/spi-loopback-test.c 							 count, 2);
count             702 drivers/spi/spi-loopback-test.c 							 count, 3);
count             706 drivers/spi/spi-loopback-test.c 							 count, 4);
count             709 drivers/spi/spi-loopback-test.c 				*tx_buf = count;
count             712 drivers/spi/spi-loopback-test.c 				*tx_buf = GET_VALUE_BYTE(count, count, 2);
count             715 drivers/spi/spi-loopback-test.c 				*tx_buf = GET_VALUE_BYTE(count, count, 3);
count             718 drivers/spi/spi-loopback-test.c 				*tx_buf = GET_VALUE_BYTE(count, count, 4);
count            1027 drivers/spi/spi-loopback-test.c 	int ret = 0, count = 0;
count            1051 drivers/spi/spi-loopback-test.c 	for (test = tests, count = 0; test->description[0];
count            1052 drivers/spi/spi-loopback-test.c 	     test++, count++) {
count            1054 drivers/spi/spi-loopback-test.c 		if ((run_only_test > -1) && (count != run_only_test))
count             104 drivers/spi/spi-lp8841-rtc.c 	unsigned		count = t->len;
count             113 drivers/spi/spi-lp8841-rtc.c 		while (likely(count > 0)) {
count             117 drivers/spi/spi-lp8841-rtc.c 			count--;
count             122 drivers/spi/spi-lp8841-rtc.c 		while (likely(count > 0)) {
count             126 drivers/spi/spi-lp8841-rtc.c 			count--;
count             182 drivers/spi/spi-omap-100k.c 	unsigned int            count, c;
count             185 drivers/spi/spi-omap-100k.c 	count = xfer->len;
count             186 drivers/spi/spi-omap-100k.c 	c = count;
count             229 drivers/spi/spi-omap-100k.c 	return count - c;
count             313 drivers/spi/spi-omap-100k.c 			unsigned count;
count             315 drivers/spi/spi-omap-100k.c 			count = omap1_spi100k_txrx_pio(spi, t);
count             316 drivers/spi/spi-omap-100k.c 			m->actual_length += count;
count             318 drivers/spi/spi-omap-100k.c 			if (count != t->len) {
count             433 drivers/spi/spi-omap2-mcspi.c 	unsigned int		count, transfer_reduction = 0;
count             445 drivers/spi/spi-omap2-mcspi.c 	count = xfer->len;
count             459 drivers/spi/spi-omap2-mcspi.c 		element_count = count;
count             461 drivers/spi/spi-omap2-mcspi.c 		element_count = count >> 1;
count             463 drivers/spi/spi-omap2-mcspi.c 		element_count = count >> 2;
count             479 drivers/spi/spi-omap2-mcspi.c 			sizes[0] = count - transfer_reduction;
count             487 drivers/spi/spi-omap2-mcspi.c 			sizes[0] = count;
count             530 drivers/spi/spi-omap2-mcspi.c 		return count;
count             557 drivers/spi/spi-omap2-mcspi.c 			count -= (bytes_per_word << 1);
count             559 drivers/spi/spi-omap2-mcspi.c 			return count;
count             574 drivers/spi/spi-omap2-mcspi.c 		count -= mcspi_bytes_per_word(word_len);
count             577 drivers/spi/spi-omap2-mcspi.c 	return count;
count             586 drivers/spi/spi-omap2-mcspi.c 	unsigned int		count;
count             610 drivers/spi/spi-omap2-mcspi.c 	count = xfer->len;
count             637 drivers/spi/spi-omap2-mcspi.c 		count = omap2_mcspi_rx_dma(spi, xfer, cfg, es);
count             686 drivers/spi/spi-omap2-mcspi.c 	return count;
count             693 drivers/spi/spi-omap2-mcspi.c 	unsigned int		count, c;
count             701 drivers/spi/spi-omap2-mcspi.c 	count = xfer->len;
count             702 drivers/spi/spi-omap2-mcspi.c 	c = count;
count             877 drivers/spi/spi-omap2-mcspi.c 	return count - c;
count            1205 drivers/spi/spi-omap2-mcspi.c 		unsigned	count;
count            1222 drivers/spi/spi-omap2-mcspi.c 			count = omap2_mcspi_txrx_dma(spi, t);
count            1224 drivers/spi/spi-omap2-mcspi.c 			count = omap2_mcspi_txrx_pio(spi, t);
count            1226 drivers/spi/spi-omap2-mcspi.c 		if (count != t->len) {
count             427 drivers/spi/spi-orion.c 	unsigned int count;
count             434 drivers/spi/spi-orion.c 	count = xfer->len;
count             445 drivers/spi/spi-orion.c 		unsigned int cnt = count / 4;
count             446 drivers/spi/spi-orion.c 		unsigned int rem = count % 4;
count             459 drivers/spi/spi-orion.c 		return count;
count             469 drivers/spi/spi-orion.c 			count--;
count             472 drivers/spi/spi-orion.c 		} while (count);
count             480 drivers/spi/spi-orion.c 			count -= 2;
count             483 drivers/spi/spi-orion.c 		} while (count);
count             487 drivers/spi/spi-orion.c 	return xfer->len - count;
count             125 drivers/spi/spi-ppc4xx.c 	int count;
count             155 drivers/spi/spi-ppc4xx.c 	hw->count = 0;
count             163 drivers/spi/spi-ppc4xx.c 	return hw->count;
count             289 drivers/spi/spi-ppc4xx.c 	unsigned int count;
count             324 drivers/spi/spi-ppc4xx.c 	count = hw->count;
count             325 drivers/spi/spi-ppc4xx.c 	hw->count++;
count             330 drivers/spi/spi-ppc4xx.c 		hw->rx[count] = data;
count             332 drivers/spi/spi-ppc4xx.c 	count++;
count             334 drivers/spi/spi-ppc4xx.c 	if (count < hw->len) {
count             335 drivers/spi/spi-ppc4xx.c 		data = hw->tx ? hw->tx[count] : 0;
count            1655 drivers/spi/spi-pxa2xx.c 	int status, count;
count            1835 drivers/spi/spi-pxa2xx.c 	count = gpiod_count(&pdev->dev, "cs");
count            1836 drivers/spi/spi-pxa2xx.c 	if (count > 0) {
count            1839 drivers/spi/spi-pxa2xx.c 		controller->num_chipselect = max_t(int, count,
count              59 drivers/spi/spi-s3c24xx.c 	int			 count;
count             207 drivers/spi/spi-s3c24xx.c static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count)
count             209 drivers/spi/spi-s3c24xx.c 	return hw->tx ? hw->tx[count] : 0;
count             405 drivers/spi/spi-s3c24xx.c 	hw->count = 0;
count             417 drivers/spi/spi-s3c24xx.c 	return hw->count;
count             424 drivers/spi/spi-s3c24xx.c 	unsigned int count = hw->count;
count             439 drivers/spi/spi-s3c24xx.c 		hw->count++;
count             442 drivers/spi/spi-s3c24xx.c 			hw->rx[count] = readb(hw->regs + S3C2410_SPRDAT);
count             444 drivers/spi/spi-s3c24xx.c 		count++;
count             446 drivers/spi/spi-s3c24xx.c 		if (count < hw->len)
count             447 drivers/spi/spi-s3c24xx.c 			writeb(hw_txbyte(hw, count), hw->regs + S3C2410_SPTDAT);
count             451 drivers/spi/spi-s3c24xx.c 		hw->count = hw->len;
count              72 drivers/spi/spi-st-ssc4.c 	unsigned int count, i;
count              76 drivers/spi/spi-st-ssc4.c 		count = FIFO_SIZE;
count              78 drivers/spi/spi-st-ssc4.c 		count = spi_st->words_remaining;
count              80 drivers/spi/spi-st-ssc4.c 	for (i = 0; i < count; i++) {
count              96 drivers/spi/spi-st-ssc4.c 	unsigned int count, i;
count             100 drivers/spi/spi-st-ssc4.c 		count = FIFO_SIZE;
count             102 drivers/spi/spi-st-ssc4.c 		count = spi_st->words_remaining;
count             104 drivers/spi/spi-st-ssc4.c 	for (i = 0; i < count; i++) {
count             116 drivers/spi/spi-st-ssc4.c 	spi_st->words_remaining -= count;
count             374 drivers/spi/spi-stm32.c 	u32 count = 0;
count             381 drivers/spi/spi-stm32.c 		writeb_relaxed(++count, spi->base + STM32H7_SPI_TXDR);
count             387 drivers/spi/spi-stm32.c 	dev_dbg(spi->dev, "%d x 8-bit fifo size\n", count);
count             389 drivers/spi/spi-stm32.c 	return count;
count             299 drivers/spi/spi-tegra114.c 	unsigned i, count;
count             312 drivers/spi/spi-tegra114.c 		for (count = 0; count < max_n_32bit; count++) {
count             329 drivers/spi/spi-tegra114.c 		for (count = 0; count < max_n_32bit; count++) {
count             349 drivers/spi/spi-tegra114.c 	unsigned i, count;
count             358 drivers/spi/spi-tegra114.c 		for (count = 0; count < rx_full_count; count++) {
count             375 drivers/spi/spi-tegra114.c 		for (count = 0; count < rx_full_count; count++) {
count             402 drivers/spi/spi-tegra114.c 		unsigned int count;
count             410 drivers/spi/spi-tegra114.c 		for (count = 0; count < tspi->curr_dma_words; count++) {
count             416 drivers/spi/spi-tegra114.c 			tspi->tx_dma_buf[count] = x;
count             441 drivers/spi/spi-tegra114.c 		unsigned int count;
count             450 drivers/spi/spi-tegra114.c 		for (count = 0; count < tspi->curr_dma_words; count++) {
count             451 drivers/spi/spi-tegra114.c 			u32 x = tspi->rx_dma_buf[count] & rx_mask;
count              74 drivers/spi/spi-tegra20-sflash.c #define SPI_BLK_CNT(count)		(((count) & 0xffff) + 1)
count              91 drivers/spi/spi-tegra20-sflash.c #define SPI_DMA_BLK_COUNT(count)	(((count) - 1) & 0xFFFF)
count             296 drivers/spi/spi-tegra20-slink.c 	unsigned i, count;
count             309 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < max_n_32bit; count++) {
count             319 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < max_n_32bit; count++) {
count             336 drivers/spi/spi-tegra20-slink.c 	unsigned i, count;
count             345 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < rx_full_count; count++) {
count             353 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < rx_full_count; count++) {
count             376 drivers/spi/spi-tegra20-slink.c 		unsigned int count;
count             380 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < tspi->curr_dma_words; count++) {
count             385 drivers/spi/spi-tegra20-slink.c 			tspi->tx_dma_buf[count] = x;
count             409 drivers/spi/spi-tegra20-slink.c 		unsigned int count;
count             413 drivers/spi/spi-tegra20-slink.c 		for (count = 0; count < tspi->curr_dma_words; count++) {
count             414 drivers/spi/spi-tegra20-slink.c 			u32 x = tspi->rx_dma_buf[count] & rx_mask;
count             246 drivers/spi/spi-ti-qspi.c 			  int count)
count             258 drivers/spi/spi-ti-qspi.c 	while (count) {
count             266 drivers/spi/spi-ti-qspi.c 			if (count >= QSPI_WLEN_MAX_BYTES) {
count             308 drivers/spi/spi-ti-qspi.c 		count -= xfer_len;
count             315 drivers/spi/spi-ti-qspi.c 			 int count)
count             336 drivers/spi/spi-ti-qspi.c 	while (count) {
count             358 drivers/spi/spi-ti-qspi.c 		count -= wlen;
count             365 drivers/spi/spi-ti-qspi.c 			     int count)
count             370 drivers/spi/spi-ti-qspi.c 		ret = qspi_write_msg(qspi, t, count);
count             378 drivers/spi/spi-ti-qspi.c 		ret = qspi_read_msg(qspi, t, count);
count            1422 drivers/spi/spi-topcliff-pch.c 	int count;
count            1433 drivers/spi/spi-topcliff-pch.c 	count = 500;
count            1436 drivers/spi/spi-topcliff-pch.c 	while ((list_empty(&data->queue) == 0) && --count) {
count            1463 drivers/spi/spi-topcliff-pch.c 	u8 count;
count            1477 drivers/spi/spi-topcliff-pch.c 	count = 255;
count            1478 drivers/spi/spi-topcliff-pch.c 	while ((--count) > 0) {
count             208 drivers/spi/spi-txx9.c 			unsigned int count = SPI_FIFO_SIZE;
count             212 drivers/spi/spi-txx9.c 			if (len < count * wsize)
count             213 drivers/spi/spi-txx9.c 				count = len / wsize;
count             219 drivers/spi/spi-txx9.c 			cr0 |= (count - 1) << 12;
count             224 drivers/spi/spi-txx9.c 			for (i = 0; i < count; i++) {
count             238 drivers/spi/spi-txx9.c 			for (i = 0; i < count; i++) {
count             248 drivers/spi/spi-txx9.c 			len -= count * wsize;
count             391 drivers/spi/spi-zynq-qspi.c 	int count, len, k;
count             405 drivers/spi/spi-zynq-qspi.c 	count = len / 4;
count             406 drivers/spi/spi-zynq-qspi.c 	if (count > txcount)
count             407 drivers/spi/spi-zynq-qspi.c 		count = txcount;
count             411 drivers/spi/spi-zynq-qspi.c 			      xqspi->txbuf, count);
count             412 drivers/spi/spi-zynq-qspi.c 		xqspi->txbuf += count * 4;
count             414 drivers/spi/spi-zynq-qspi.c 		for (k = 0; k < count; k++)
count             419 drivers/spi/spi-zynq-qspi.c 	xqspi->tx_bytes -= count * 4;
count             429 drivers/spi/spi-zynq-qspi.c 	int count, len, k;
count             432 drivers/spi/spi-zynq-qspi.c 	count = len / 4;
count             433 drivers/spi/spi-zynq-qspi.c 	if (count > rxcount)
count             434 drivers/spi/spi-zynq-qspi.c 		count = rxcount;
count             437 drivers/spi/spi-zynq-qspi.c 			     xqspi->rxbuf, count);
count             438 drivers/spi/spi-zynq-qspi.c 		xqspi->rxbuf += count * 4;
count             440 drivers/spi/spi-zynq-qspi.c 		for (k = 0; k < count; k++)
count             443 drivers/spi/spi-zynq-qspi.c 	xqspi->rx_bytes -= count * 4;
count             444 drivers/spi/spi-zynq-qspi.c 	len -= count * 4;
count             446 drivers/spi/spi-zynq-qspi.c 	if (len && len < 4 && count < rxcount)
count             510 drivers/spi/spi-zynqmp-gqspi.c 	u32 count = 0, intermediate;
count             512 drivers/spi/spi-zynqmp-gqspi.c 	while ((xqspi->bytes_to_transfer > 0) && (count < size)) {
count             523 drivers/spi/spi-zynqmp-gqspi.c 		count++;
count             536 drivers/spi/spi-zynqmp-gqspi.c 	int count = 0;
count             538 drivers/spi/spi-zynqmp-gqspi.c 	while ((count < size) && (xqspi->bytes_to_receive > 0)) {
count             544 drivers/spi/spi-zynqmp-gqspi.c 			count += 4;
count             547 drivers/spi/spi-zynqmp-gqspi.c 			count += xqspi->bytes_to_receive;
count              75 drivers/spi/spi.c 				     const char *buf, size_t count)
count              78 drivers/spi/spi.c 	const char *end = memchr(buf, '\n', count);
count              79 drivers/spi/spi.c 	const size_t len = end ? end - buf : count;
count             102 drivers/spi/spi.c 	return count;
count            2123 drivers/spi/spi.c 			   const char *buf, size_t count)
count            2158 drivers/spi/spi.c 	return count;
count            2900 drivers/spi/spi.c 	size_t count, i;
count            2903 drivers/spi/spi.c 	count = DIV_ROUND_UP(xfer->len, maxsize);
count            2906 drivers/spi/spi.c 	srt = spi_replace_transfers(msg, xfer, 1, count, NULL, 0, gfp);
count            2927 drivers/spi/spi.c 	for (i = 1, offset = maxsize; i < count; offset += maxsize, i++) {
count            2945 drivers/spi/spi.c 	*xferp = &xfers[count - 1];
count             145 drivers/spi/spidev.c spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos)
count             151 drivers/spi/spidev.c 	if (count > bufsiz)
count             157 drivers/spi/spidev.c 	status = spidev_sync_read(spidev, count);
count             175 drivers/spi/spidev.c 		size_t count, loff_t *f_pos)
count             182 drivers/spi/spidev.c 	if (count > bufsiz)
count             188 drivers/spi/spidev.c 	missing = copy_from_user(spidev->tx_buffer, buf, count);
count             190 drivers/spi/spidev.c 		status = spidev_sync_write(spidev, count);
count              42 drivers/ssb/host_soc.c 				    size_t count, u16 offset, u8 reg_width)
count              54 drivers/ssb/host_soc.c 		while (count) {
count              57 drivers/ssb/host_soc.c 			count--;
count              64 drivers/ssb/host_soc.c 		WARN_ON(count & 1);
count              65 drivers/ssb/host_soc.c 		while (count) {
count              68 drivers/ssb/host_soc.c 			count -= 2;
count              75 drivers/ssb/host_soc.c 		WARN_ON(count & 3);
count              76 drivers/ssb/host_soc.c 		while (count) {
count              79 drivers/ssb/host_soc.c 			count -= 4;
count             115 drivers/ssb/host_soc.c 				     size_t count, u16 offset, u8 reg_width)
count             127 drivers/ssb/host_soc.c 		while (count) {
count             130 drivers/ssb/host_soc.c 			count--;
count             137 drivers/ssb/host_soc.c 		WARN_ON(count & 1);
count             138 drivers/ssb/host_soc.c 		while (count) {
count             141 drivers/ssb/host_soc.c 			count -= 2;
count             148 drivers/ssb/host_soc.c 		WARN_ON(count & 3);
count             149 drivers/ssb/host_soc.c 		while (count) {
count             152 drivers/ssb/host_soc.c 			count -= 4;
count            1003 drivers/ssb/pci.c 			       size_t count, u16 offset, u8 reg_width)
count            1016 drivers/ssb/pci.c 		ioread8_rep(addr, buffer, count);
count            1019 drivers/ssb/pci.c 		WARN_ON(count & 1);
count            1020 drivers/ssb/pci.c 		ioread16_rep(addr, buffer, count >> 1);
count            1023 drivers/ssb/pci.c 		WARN_ON(count & 3);
count            1024 drivers/ssb/pci.c 		ioread32_rep(addr, buffer, count >> 2);
count            1032 drivers/ssb/pci.c 	memset(buffer, 0xFF, count);
count            1077 drivers/ssb/pci.c 				size_t count, u16 offset, u8 reg_width)
count            1090 drivers/ssb/pci.c 		iowrite8_rep(addr, buffer, count);
count            1093 drivers/ssb/pci.c 		WARN_ON(count & 1);
count            1094 drivers/ssb/pci.c 		iowrite16_rep(addr, buffer, count >> 1);
count            1097 drivers/ssb/pci.c 		WARN_ON(count & 3);
count            1098 drivers/ssb/pci.c 		iowrite32_rep(addr, buffer, count >> 2);
count            1136 drivers/ssb/pci.c 					const char *buf, size_t count)
count            1145 drivers/ssb/pci.c 	return ssb_attr_sprom_store(bus, buf, count,
count             275 drivers/ssb/pcmcia.c 				  size_t count, u16 offset, u8 reg_width)
count             285 drivers/ssb/pcmcia.c 		memset(buffer, 0xFF, count);
count             292 drivers/ssb/pcmcia.c 		while (count) {
count             295 drivers/ssb/pcmcia.c 			count--;
count             302 drivers/ssb/pcmcia.c 		WARN_ON(count & 1);
count             303 drivers/ssb/pcmcia.c 		while (count) {
count             306 drivers/ssb/pcmcia.c 			count -= 2;
count             313 drivers/ssb/pcmcia.c 		WARN_ON(count & 3);
count             314 drivers/ssb/pcmcia.c 		while (count) {
count             319 drivers/ssb/pcmcia.c 			count -= 4;
count             374 drivers/ssb/pcmcia.c 				   size_t count, u16 offset, u8 reg_width)
count             389 drivers/ssb/pcmcia.c 		while (count) {
count             392 drivers/ssb/pcmcia.c 			count--;
count             399 drivers/ssb/pcmcia.c 		WARN_ON(count & 1);
count             400 drivers/ssb/pcmcia.c 		while (count) {
count             403 drivers/ssb/pcmcia.c 			count -= 2;
count             410 drivers/ssb/pcmcia.c 		WARN_ON(count & 3);
count             411 drivers/ssb/pcmcia.c 		while (count) {
count             416 drivers/ssb/pcmcia.c 			count -= 4;
count             744 drivers/ssb/pcmcia.c 					   const char *buf, size_t count)
count             754 drivers/ssb/pcmcia.c 	return ssb_attr_sprom_store(bus, buf, count,
count             298 drivers/ssb/sdio.c 				  size_t count, u16 offset, u8 reg_width)
count             300 drivers/ssb/sdio.c 	size_t saved_count = count;
count             307 drivers/ssb/sdio.c 		memset(buffer, 0xff, count);
count             315 drivers/ssb/sdio.c 		error = sdio_readsb(bus->host_sdio, buffer, offset, count);
count             319 drivers/ssb/sdio.c 		WARN_ON(count & 1);
count             320 drivers/ssb/sdio.c 		error = sdio_readsb(bus->host_sdio, buffer, offset, count);
count             324 drivers/ssb/sdio.c 		WARN_ON(count & 3);
count             326 drivers/ssb/sdio.c 		error = sdio_readsb(bus->host_sdio, buffer, offset, count);
count             405 drivers/ssb/sdio.c 				   size_t count, u16 offset, u8 reg_width)
count             407 drivers/ssb/sdio.c 	size_t saved_count = count;
count             414 drivers/ssb/sdio.c 		memset((void *)buffer, 0xff, count);
count             423 drivers/ssb/sdio.c 				     (void *)buffer, count);
count             426 drivers/ssb/sdio.c 		WARN_ON(count & 1);
count             428 drivers/ssb/sdio.c 				     (void *)buffer, count);
count             431 drivers/ssb/sdio.c 		WARN_ON(count & 3);
count             434 drivers/ssb/sdio.c 				     (void *)buffer, count);
count              72 drivers/ssb/sprom.c 	ssize_t count = 0;
count              89 drivers/ssb/sprom.c 		count = sprom2hex(sprom, buf, PAGE_SIZE, sprom_size_words);
count              94 drivers/ssb/sprom.c 	return err ? err : count;
count              99 drivers/ssb/sprom.c 			     const char *buf, size_t count,
count             111 drivers/ssb/sprom.c 	err = hex2sprom(sprom, buf, count, sprom_size_words);
count             144 drivers/ssb/sprom.c 	return err ? err : count;
count             152 drivers/ssb/ssb_private.h 			     const char *buf, size_t count,
count              92 drivers/staging/android/ion/ion_page_pool.c 	int count = pool->low_count;
count              95 drivers/staging/android/ion/ion_page_pool.c 		count += pool->high_count;
count              97 drivers/staging/android/ion/ion_page_pool.c 	return count << pool->order;
count             155 drivers/staging/axis-fifo/axis-fifo.c 			   size_t count, unsigned int addr_offset)
count             167 drivers/staging/axis-fifo/axis-fifo.c 	return count;
count             186 drivers/staging/axis-fifo/axis-fifo.c 			 const char *buf, size_t count)
count             188 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_ISR_OFFSET);
count             200 drivers/staging/axis-fifo/axis-fifo.c 			 const char *buf, size_t count)
count             202 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_IER_OFFSET);
count             214 drivers/staging/axis-fifo/axis-fifo.c 			  const char *buf, size_t count)
count             216 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_TDFR_OFFSET);
count             230 drivers/staging/axis-fifo/axis-fifo.c 			  const char *buf, size_t count)
count             232 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_TDFD_OFFSET);
count             238 drivers/staging/axis-fifo/axis-fifo.c 			 const char *buf, size_t count)
count             240 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_TLR_OFFSET);
count             246 drivers/staging/axis-fifo/axis-fifo.c 			  const char *buf, size_t count)
count             248 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_RDFR_OFFSET);
count             278 drivers/staging/axis-fifo/axis-fifo.c 			 const char *buf, size_t count)
count             280 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_SRR_OFFSET);
count             286 drivers/staging/axis-fifo/axis-fifo.c 			 const char *buf, size_t count)
count             288 drivers/staging/axis-fifo/axis-fifo.c 	return sysfs_write(dev, buf, count, XLLF_TDR_OFFSET);
count             369 drivers/staging/comedi/comedi_buf.c 	unsigned int count = 0;
count             374 drivers/staging/comedi/comedi_buf.c 		count = num_bytes;
count             378 drivers/staging/comedi/comedi_buf.c 		while (count < num_bytes) {
count             379 drivers/staging/comedi/comedi_buf.c 			int block_size = num_bytes - count;
count             401 drivers/staging/comedi/comedi_buf.c 			count += block_size;
count             405 drivers/staging/comedi/comedi_buf.c 	return count;
count             402 drivers/staging/comedi/comedi_fops.c 					const char *buf, size_t count)
count             430 drivers/staging/comedi/comedi_fops.c 	return err ? err : count;
count             458 drivers/staging/comedi/comedi_fops.c 				    const char *buf, size_t count)
count             486 drivers/staging/comedi/comedi_fops.c 	return err ? err : count;
count             515 drivers/staging/comedi/comedi_fops.c 					 const char *buf, size_t count)
count             543 drivers/staging/comedi/comedi_fops.c 	return err ? err : count;
count             571 drivers/staging/comedi/comedi_fops.c 				     const char *buf, size_t count)
count             599 drivers/staging/comedi/comedi_fops.c 	return err ? err : count;
count            2448 drivers/staging/comedi/comedi_fops.c 	ssize_t count = 0;
count            2481 drivers/staging/comedi/comedi_fops.c 	while (count == 0 && !retval) {
count            2536 drivers/staging/comedi/comedi_fops.c 		count += n;
count            2543 drivers/staging/comedi/comedi_fops.c 	if (become_nonbusy && count == 0) {
count            2575 drivers/staging/comedi/comedi_fops.c 	return count ? count : retval;
count            2584 drivers/staging/comedi/comedi_fops.c 	ssize_t count = 0;
count            2617 drivers/staging/comedi/comedi_fops.c 	while (count == 0 && !retval) {
count            2672 drivers/staging/comedi/comedi_fops.c 		count += n;
count            2679 drivers/staging/comedi/comedi_fops.c 	if (become_nonbusy && count == 0) {
count            2712 drivers/staging/comedi/comedi_fops.c 	return count ? count : retval;
count             659 drivers/staging/comedi/drivers/amplc_pci230.c static unsigned int pci230_choose_clk_count(u64 ns, unsigned int *count,
count             669 drivers/staging/comedi/drivers/amplc_pci230.c 	*count = cnt;
count             675 drivers/staging/comedi/drivers/amplc_pci230.c 	unsigned int count;
count             678 drivers/staging/comedi/drivers/amplc_pci230.c 	clk_src = pci230_choose_clk_count(*ns, &count, flags);
count             679 drivers/staging/comedi/drivers/amplc_pci230.c 	*ns = count * pci230_timebase[clk_src];
count             687 drivers/staging/comedi/drivers/amplc_pci230.c 	unsigned int count;
count             692 drivers/staging/comedi/drivers/amplc_pci230.c 	clk_src = pci230_choose_clk_count(ns, &count, flags);
count             696 drivers/staging/comedi/drivers/amplc_pci230.c 	if (count >= 65536)
count             697 drivers/staging/comedi/drivers/amplc_pci230.c 		count = 0;
count             699 drivers/staging/comedi/drivers/amplc_pci230.c 	comedi_8254_write(dev->pacer, ct, count);
count            2280 drivers/staging/comedi/drivers/cb_pcidas64.c 	u32 count;
count            2285 drivers/staging/comedi/drivers/cb_pcidas64.c 		count = (cmd->scan_begin_arg -
count            2290 drivers/staging/comedi/drivers/cb_pcidas64.c 		count = cmd->convert_arg / TIMER_BASE;
count            2295 drivers/staging/comedi/drivers/cb_pcidas64.c 	return count - 3;
count             279 drivers/staging/comedi/drivers/dt3000.c 	int count;
count             284 drivers/staging/comedi/drivers/dt3000.c 	count = front - devpriv->ai_front;
count             285 drivers/staging/comedi/drivers/dt3000.c 	if (count < 0)
count             286 drivers/staging/comedi/drivers/dt3000.c 		count += DPR_AI_FIFO_DEPTH;
count             290 drivers/staging/comedi/drivers/dt3000.c 	for (i = 0; i < count; i++) {
count             183 drivers/staging/comedi/drivers/dt9812.c 	u8 count;
count             197 drivers/staging/comedi/drivers/dt9812.c 	u8 count;
count             212 drivers/staging/comedi/drivers/dt9812.c 	u8 count;
count             241 drivers/staging/comedi/drivers/dt9812.c 	int count, ret;
count             250 drivers/staging/comedi/drivers/dt9812.c 			   &cmd, 32, &count, DT9812_USB_TIMEOUT);
count             255 drivers/staging/comedi/drivers/dt9812.c 			    buf, buf_size, &count, DT9812_USB_TIMEOUT);
count             265 drivers/staging/comedi/drivers/dt9812.c 	int i, count, ret;
count             268 drivers/staging/comedi/drivers/dt9812.c 	cmd.u.read_multi_info.count = reg_count;
count             274 drivers/staging/comedi/drivers/dt9812.c 			   &cmd, 32, &count, DT9812_USB_TIMEOUT);
count             279 drivers/staging/comedi/drivers/dt9812.c 			    value, reg_count, &count, DT9812_USB_TIMEOUT);
count             289 drivers/staging/comedi/drivers/dt9812.c 	int i, count;
count             292 drivers/staging/comedi/drivers/dt9812.c 	cmd.u.read_multi_info.count = reg_count;
count             300 drivers/staging/comedi/drivers/dt9812.c 			    &cmd, 32, &count, DT9812_USB_TIMEOUT);
count             310 drivers/staging/comedi/drivers/dt9812.c 	int i, count;
count             313 drivers/staging/comedi/drivers/dt9812.c 	cmd.u.rmw_multi_info.count = reg_count;
count             319 drivers/staging/comedi/drivers/dt9812.c 			    &cmd, 32, &count, DT9812_USB_TIMEOUT);
count             344 drivers/staging/comedi/drivers/jr3_pci.c 		unsigned int count = 0;
count             347 drivers/staging/comedi/drivers/jr3_pci.c 		more = more && read_idm_word(data, size, &pos, &count);
count             348 drivers/staging/comedi/drivers/jr3_pci.c 		if (more && count == 0xffff)
count             352 drivers/staging/comedi/drivers/jr3_pci.c 		while (more && count > 0) {
count             356 drivers/staging/comedi/drivers/jr3_pci.c 			count--;
count             373 drivers/staging/comedi/drivers/jr3_pci.c 		unsigned int count = 0;
count             376 drivers/staging/comedi/drivers/jr3_pci.c 		more = more && read_idm_word(data, size, &pos, &count);
count             377 drivers/staging/comedi/drivers/jr3_pci.c 		if (more && count == 0xffff)
count             383 drivers/staging/comedi/drivers/jr3_pci.c 			subdev, count, addr);
count             385 drivers/staging/comedi/drivers/jr3_pci.c 		while (more && count > 0) {
count             392 drivers/staging/comedi/drivers/jr3_pci.c 				count--;
count             406 drivers/staging/comedi/drivers/jr3_pci.c 				count -= 2;
count             275 drivers/staging/comedi/drivers/mite.c 	int count;
count             291 drivers/staging/comedi/drivers/mite.c 	count = nbytes - async->buf_write_count;
count             296 drivers/staging/comedi/drivers/mite.c 	if (count > 0) {
count             297 drivers/staging/comedi/drivers/mite.c 		comedi_buf_write_free(s, count);
count             298 drivers/staging/comedi/drivers/mite.c 		comedi_inc_scan_progress(s, count);
count             311 drivers/staging/comedi/drivers/mite.c 	int count;
count             340 drivers/staging/comedi/drivers/mite.c 	count = nbytes_lb - async->buf_read_count;
count             341 drivers/staging/comedi/drivers/mite.c 	if (count > 0) {
count             342 drivers/staging/comedi/drivers/mite.c 		comedi_buf_read_free(s, count);
count             672 drivers/staging/comedi/drivers/mite.c 		desc->count = cpu_to_le32(PAGE_SIZE);
count             682 drivers/staging/comedi/drivers/mite.c 		desc->count = cpu_to_le32(remainder);
count              23 drivers/staging/comedi/drivers/mite.h 	__le32 count;
count             126 drivers/staging/comedi/drivers/ni_at_a2150.c 	unsigned int count;	/* number of data points left to be taken */
count             175 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT)
count             176 drivers/staging/comedi/drivers/ni_at_a2150.c 		num_points = devpriv->count;
count             182 drivers/staging/comedi/drivers/ni_at_a2150.c 	} else if (devpriv->count > max_points) {
count             183 drivers/staging/comedi/drivers/ni_at_a2150.c 		leftover = devpriv->count - max_points;
count             202 drivers/staging/comedi/drivers/ni_at_a2150.c 			if (--devpriv->count == 0) {	/* end of acquisition */
count             504 drivers/staging/comedi/drivers/ni_at_a2150.c 	devpriv->count = cmd->stop_arg * cmd->chanlist_len;
count              28 drivers/staging/comedi/drivers/ni_labpc.h 	unsigned long long count;
count             634 drivers/staging/comedi/drivers/ni_labpc_common.c 		devpriv->count = cmd->stop_arg * cmd->chanlist_len;
count             660 drivers/staging/comedi/drivers/ni_labpc_common.c 		   (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) {
count             783 drivers/staging/comedi/drivers/ni_labpc_common.c 			if (devpriv->count == 0)
count             785 drivers/staging/comedi/drivers/ni_labpc_common.c 			devpriv->count--;
count             882 drivers/staging/comedi/drivers/ni_labpc_common.c 		if (devpriv->count == 0)
count              62 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	    devpriv->count * sample_size < desc->size)
count              63 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		desc->size = devpriv->count * sample_size;
count              97 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		if (devpriv->count <= nsamples) {
count              98 drivers/staging/comedi/drivers/ni_labpc_isadma.c 			nsamples = devpriv->count;
count             101 drivers/staging/comedi/drivers/ni_labpc_isadma.c 			leftover = devpriv->count - nsamples;
count             105 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		devpriv->count -= nsamples;
count            1575 drivers/staging/comedi/drivers/ni_mio_common.c 	int count;
count            1584 drivers/staging/comedi/drivers/ni_mio_common.c 	count = comedi_buf_n_bytes_ready(s);
count            1587 drivers/staging/comedi/drivers/ni_mio_common.c 	return count;
count            3755 drivers/staging/comedi/drivers/ni_mio_common.c 	int err = 0, count = 20;
count            3776 drivers/staging/comedi/drivers/ni_mio_common.c 		if (--count < 0) {
count             362 drivers/staging/comedi/drivers/ni_pcidio.c 	int count;
count             369 drivers/staging/comedi/drivers/ni_pcidio.c 	count = comedi_buf_n_bytes_ready(s);
count             371 drivers/staging/comedi/drivers/ni_pcidio.c 	return count;
count             576 drivers/staging/comedi/drivers/rtd520.c 		     int count)
count             583 drivers/staging/comedi/drivers/rtd520.c 	for (ii = 0; ii < count; ii++) {
count             490 drivers/staging/emxx_udc/emxx_udc.c 	u32		count = 0;
count             493 drivers/staging/emxx_udc/emxx_udc.c 		count = req->req.actual % 4;
count             494 drivers/staging/emxx_udc/emxx_udc.c 		if (count) {
count             496 drivers/staging/emxx_udc/emxx_udc.c 			p += (req->req.actual - count);
count             497 drivers/staging/emxx_udc/emxx_udc.c 			memcpy(data, p, count);
count             524 drivers/staging/emxx_udc/emxx_udc.c 	if (count) {
count             526 drivers/staging/emxx_udc/emxx_udc.c 		p += (req->req.actual - count);
count             527 drivers/staging/emxx_udc/emxx_udc.c 		memcpy(p, data, count);
count             883 drivers/staging/exfat/exfat.h 				       struct dentry_t *ep, u32 count);
count             925 drivers/staging/exfat/exfat.h void fat_attach_count_to_dos_name(u8 *dosname, s32 count);
count              71 drivers/staging/exfat/exfat_blkdev.c 	s32 count;
count              94 drivers/staging/exfat/exfat_blkdev.c 		count = num_secs << p_bd->sector_size_bits;
count              96 drivers/staging/exfat/exfat_blkdev.c 		bh2 = __getblk(sb->s_bdev, secno, count);
count             101 drivers/staging/exfat/exfat_blkdev.c 		memcpy(bh2->b_data, bh->b_data, count);
count             426 drivers/staging/exfat/exfat_core.c 	int i, count = 0;
count             436 drivers/staging/exfat/exfat_core.c 		count = p_chain->size;
count             439 drivers/staging/exfat/exfat_core.c 			count++;
count             447 drivers/staging/exfat/exfat_core.c 	return count;
count             452 drivers/staging/exfat/exfat_core.c 	int i, count = 0;
count             460 drivers/staging/exfat/exfat_core.c 			count++;
count             463 drivers/staging/exfat/exfat_core.c 	return count;
count             468 drivers/staging/exfat/exfat_core.c 	int i, map_i, map_b, count = 0;
count             477 drivers/staging/exfat/exfat_core.c 		count += used_bit[k];
count             485 drivers/staging/exfat/exfat_core.c 	return count;
count            1855 drivers/staging/exfat/exfat_core.c 						sector_t sec, s32 off, u32 count)
count            1865 drivers/staging/exfat/exfat_core.c 		__func__, es, (unsigned long long)sec, off, count);
count            1866 drivers/staging/exfat/exfat_core.c 	num_entries = count;
count            1922 drivers/staging/exfat/exfat_core.c 	struct entry_set_cache_t *es, struct dentry_t *ep, u32 count)
count            1932 drivers/staging/exfat/exfat_core.c 	if (ep + count  > ((struct dentry_t *)&(es->__buf)) + es->num_entries)
count            1956 drivers/staging/exfat/exfat_core.c 	return __write_partial_entries_in_entry_set(sb, es, sec, off, count);
count            2389 drivers/staging/exfat/exfat_core.c 	s32 count = 0;
count            2405 drivers/staging/exfat/exfat_core.c 			count++;
count            2407 drivers/staging/exfat/exfat_core.c 				return count;
count            2409 drivers/staging/exfat/exfat_core.c 			return count;
count            2413 drivers/staging/exfat/exfat_core.c 	return count;
count            2419 drivers/staging/exfat/exfat_core.c 	int i, count = 0;
count            2432 drivers/staging/exfat/exfat_core.c 			count++;
count            2434 drivers/staging/exfat/exfat_core.c 			return count;
count            2437 drivers/staging/exfat/exfat_core.c 	return count;
count            2443 drivers/staging/exfat/exfat_core.c 	int i, count = 0;
count            2471 drivers/staging/exfat/exfat_core.c 				return count;
count            2477 drivers/staging/exfat/exfat_core.c 				count++;
count            2494 drivers/staging/exfat/exfat_core.c 	return count;
count            2499 drivers/staging/exfat/exfat_core.c 	int i, count = 0;
count            2536 drivers/staging/exfat/exfat_core.c 			if ((p_dir->dir == p_fs->root_dir) || ((++count) > 2))
count            2746 drivers/staging/exfat/exfat_core.c 	int i, j, count = 0;
count            2784 drivers/staging/exfat/exfat_core.c 			count = 0;
count            2796 drivers/staging/exfat/exfat_core.c 						count = count * 10 +
count            2799 drivers/staging/exfat/exfat_core.c 						count = 0;
count            2805 drivers/staging/exfat/exfat_core.c 			if ((count > 0) && (count < 1024))
count            2806 drivers/staging/exfat/exfat_core.c 				exfat_bitmap_set(bmap, count);
count            2816 drivers/staging/exfat/exfat_core.c 	count = 0;
count            2821 drivers/staging/exfat/exfat_core.c 					count = (i << 3) + j;
count            2825 drivers/staging/exfat/exfat_core.c 			if (count != 0)
count            2830 drivers/staging/exfat/exfat_core.c 	if ((count == 0) || (count >= 1024))
count            2832 drivers/staging/exfat/exfat_core.c 	fat_attach_count_to_dos_name(p_dosname->name, count);
count            2838 drivers/staging/exfat/exfat_core.c void fat_attach_count_to_dos_name(u8 *dosname, s32 count)
count            2843 drivers/staging/exfat/exfat_core.c 	snprintf(str_count, sizeof(str_count), "~%d", count);
count             686 drivers/staging/exfat/exfat_super.c 		       u64 count, u64 *rcount)
count             718 drivers/staging/exfat/exfat_super.c 	if (count > (fid->size - fid->rwoffset))
count             719 drivers/staging/exfat/exfat_super.c 		count = fid->size - fid->rwoffset;
count             721 drivers/staging/exfat/exfat_super.c 	if (count == 0) {
count             730 drivers/staging/exfat/exfat_super.c 	while (count > 0) {
count             770 drivers/staging/exfat/exfat_super.c 		if (oneblkread > count)
count             771 drivers/staging/exfat/exfat_super.c 			oneblkread = count;
count             787 drivers/staging/exfat/exfat_super.c 		count -= oneblkread;
count             810 drivers/staging/exfat/exfat_super.c 			void *buffer, u64 count, u64 *wcount)
count             848 drivers/staging/exfat/exfat_super.c 	if (count == 0) {
count             865 drivers/staging/exfat/exfat_super.c 	while (count > 0) {
count             898 drivers/staging/exfat/exfat_super.c 			num_alloc = (s32)((count - 1) >>
count             955 drivers/staging/exfat/exfat_super.c 		if (oneblkwrite > count)
count             956 drivers/staging/exfat/exfat_super.c 			oneblkwrite = count;
count             990 drivers/staging/exfat/exfat_super.c 		count -= oneblkwrite;
count            1500 drivers/staging/exfat/exfat_super.c 	s32 count;
count            1542 drivers/staging/exfat/exfat_super.c 			count = count_dos_name_entries(sb, &dir, TYPE_DIR);
count            1543 drivers/staging/exfat/exfat_super.c 			if (count < 0) {
count            1547 drivers/staging/exfat/exfat_super.c 			info->NumSubdirs = count;
count            1631 drivers/staging/exfat/exfat_super.c 		count = count_dos_name_entries(sb, &dir, TYPE_DIR);
count            1632 drivers/staging/exfat/exfat_super.c 		if (count < 0) {
count            1636 drivers/staging/exfat/exfat_super.c 		info->NumSubdirs += count;
count            2816 drivers/staging/exfat/exfat_super.c 	loff_t start = i_size_read(inode), count = size - i_size_read(inode);
count            2828 drivers/staging/exfat/exfat_super.c 					       start + count - 1);
count            2835 drivers/staging/exfat/exfat_super.c 						       start + count - 1);
count             342 drivers/staging/fbtft/fbtft-core.c 	int count = 0;
count             354 drivers/staging/fbtft/fbtft-core.c 		count++;
count             413 drivers/staging/fbtft/fbtft-core.c 			      size_t count, loff_t *ppos)
count             419 drivers/staging/fbtft/fbtft-core.c 		"%s: count=%zd, ppos=%llu\n", __func__,  count, *ppos);
count             420 drivers/staging/fbtft/fbtft-core.c 	res = fb_sys_write(info, buf, count, ppos);
count             112 drivers/staging/fbtft/fbtft-sysfs.c 				 const char *buf, size_t count)
count             119 drivers/staging/fbtft/fbtft-sysfs.c 	ret = fbtft_gamma_parse_str(par, tmp_curves, buf, count);
count             133 drivers/staging/fbtft/fbtft-sysfs.c 	return count;
count             178 drivers/staging/fbtft/fbtft-sysfs.c 			   const char *buf, size_t count)
count             189 drivers/staging/fbtft/fbtft-sysfs.c 	return count;
count              86 drivers/staging/fieldbus/anybuss/anybuss-client.h 			void *buf, size_t count);
count              88 drivers/staging/fieldbus/anybuss/anybuss-client.h 		     const void *buf, size_t count);
count              90 drivers/staging/fieldbus/anybuss/anybuss-client.h 		     const void *buf, size_t count);
count              92 drivers/staging/fieldbus/anybuss/anybuss-client.h 		     void *buf, size_t count);
count             255 drivers/staging/fieldbus/anybuss/host.c 	size_t count;
count             586 drivers/staging/fieldbus/anybuss/host.c 				  pd->count);
count             589 drivers/staging/fieldbus/anybuss/host.c 				 pd->count);
count             621 drivers/staging/fieldbus/anybuss/host.c 		   size_t count)
count             633 drivers/staging/fieldbus/anybuss/host.c 	ap->count = count;
count             639 drivers/staging/fieldbus/anybuss/host.c 		   const void *buf, size_t count)
count             651 drivers/staging/fieldbus/anybuss/host.c 	ap->count = count;
count             652 drivers/staging/fieldbus/anybuss/host.c 	memcpy(ap->buf, buf, count);
count             658 drivers/staging/fieldbus/anybuss/host.c 			const void __user *buf, size_t count)
count             670 drivers/staging/fieldbus/anybuss/host.c 	ap->count = count;
count             671 drivers/staging/fieldbus/anybuss/host.c 	if (copy_from_user(ap->buf, buf, count)) {
count             678 drivers/staging/fieldbus/anybuss/host.c static bool area_range_ok(u16 addr, size_t count, u16 area_start,
count             688 drivers/staging/fieldbus/anybuss/host.c 	addr_end_ex = addr + count;
count            1057 drivers/staging/fieldbus/anybuss/host.c 			void *buf, size_t count)
count            1063 drivers/staging/fieldbus/anybuss/host.c 	if (count == 0)
count            1065 drivers/staging/fieldbus/anybuss/host.c 	if (!area_range_ok(addr, count, FBCTRL_AREA,
count            1068 drivers/staging/fieldbus/anybuss/host.c 	t = create_area_reader(cd->qcache, IND_AX_FBCTRL, addr, count);
count            1074 drivers/staging/fieldbus/anybuss/host.c 	memcpy(buf, t->area_pd.buf, count);
count            1137 drivers/staging/fieldbus/anybuss/host.c 		     const void *buf, size_t count)
count            1141 drivers/staging/fieldbus/anybuss/host.c 	return _anybus_mbox_cmd(cd, cmd_num, true, buf, count, NULL, 0,
count            1147 drivers/staging/fieldbus/anybuss/host.c 		     const void *buf, size_t count)
count            1152 drivers/staging/fieldbus/anybuss/host.c 					buf, count);
count            1157 drivers/staging/fieldbus/anybuss/host.c 		     void *buf, size_t count)
count            1161 drivers/staging/fieldbus/anybuss/host.c 	return _anybus_mbox_cmd(cd, cmd_num, true, NULL, 0, buf, count,
count             347 drivers/staging/gasket/gasket_sysfs.c 				    const char *buf, size_t count)
count             354 drivers/staging/gasket/gasket_sysfs.c 	if (count < 3 || buf[0] != '0' || buf[1] != 'x') {
count             381 drivers/staging/gasket/gasket_sysfs.c 		return count;
count             394 drivers/staging/gasket/gasket_sysfs.c 	return count;
count             173 drivers/staging/gasket/gasket_sysfs.h 				    const char *buf, size_t count);
count              30 drivers/staging/gdm724x/gdm_tty.c #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev && gdm->port.count)
count             123 drivers/staging/goldfish/goldfish_audio.c 				   size_t count, loff_t *pos)
count             133 drivers/staging/goldfish/goldfish_audio.c 	while (count > 0) {
count             134 drivers/staging/goldfish/goldfish_audio.c 		length = (count > READ_BUFFER_SIZE ? READ_BUFFER_SIZE : count);
count             152 drivers/staging/goldfish/goldfish_audio.c 		count -= length;
count             158 drivers/staging/goldfish/goldfish_audio.c 				    size_t count, loff_t *pos)
count             165 drivers/staging/goldfish/goldfish_audio.c 	while (count > 0) {
count             166 drivers/staging/goldfish/goldfish_audio.c 		ssize_t copy = count;
count             201 drivers/staging/goldfish/goldfish_audio.c 		count -= copy;
count             250 drivers/staging/greybus/arche-apb-ctrl.c 			   const char *buf, size_t count)
count             259 drivers/staging/greybus/arche-apb-ctrl.c 			return count;
count             264 drivers/staging/greybus/arche-apb-ctrl.c 			return count;
count             274 drivers/staging/greybus/arche-apb-ctrl.c 			return count;
count             279 drivers/staging/greybus/arche-apb-ctrl.c 			return count;
count             292 drivers/staging/greybus/arche-apb-ctrl.c 	return ret ? ret : count;
count             309 drivers/staging/greybus/arche-platform.c 			   const char *buf, size_t count)
count             368 drivers/staging/greybus/arche-platform.c 	return ret ? ret : count;
count             145 drivers/staging/greybus/audio_manager.c 	int count = 0;
count             150 drivers/staging/greybus/audio_manager.c 		count++;
count             154 drivers/staging/greybus/audio_manager.c 	pr_info("Number of connected modules: %d\n", count);
count              25 drivers/staging/greybus/audio_manager_module.c 			 const char *buf, size_t count);
count              16 drivers/staging/greybus/audio_manager_sysfs.c 				       const char *buf, size_t count)
count              33 drivers/staging/greybus/audio_manager_sysfs.c 	return count;
count              41 drivers/staging/greybus/audio_manager_sysfs.c 					  const char *buf, size_t count)
count              54 drivers/staging/greybus/audio_manager_sysfs.c 	return count;
count              62 drivers/staging/greybus/audio_manager_sysfs.c 					const char *buf, size_t count)
count              78 drivers/staging/greybus/audio_manager_sysfs.c 	return count;
count             182 drivers/staging/greybus/audio_topology.c 	uinfo->count = data->vcount;
count             340 drivers/staging/greybus/audio_topology.c 	.count = kcount, .info = gbcodec_mixer_ctl_info, \
count             373 drivers/staging/greybus/audio_topology.c 	uinfo->count = data->vcount;
count             499 drivers/staging/greybus/audio_topology.c 	.count = kcount, .info = gbcodec_mixer_dapm_ctl_info, \
count             702 drivers/staging/greybus/audio_topology.c 				SOC_MIXER_GB(ctl->name, ctl->count, ctldata);
count             902 drivers/staging/greybus/audio_topology.c 		SOC_DAPM_MIXER_GB(ctl->name, ctl->count, ctldata);
count              56 drivers/staging/greybus/gpio.c 		ggc->line_max = response.count;
count             224 drivers/staging/greybus/hid.c 		unsigned char report_number, __u8 *buf, size_t count,
count             233 drivers/staging/greybus/hid.c 	ret = gb_hid_get_report(ghid, report_type, report_number, buf, count);
count             235 drivers/staging/greybus/hid.c 		ret = count;
count              37 drivers/staging/greybus/loopback.c 	u32 count;
count              42 drivers/staging/greybus/loopback.c 	u32 count;
count             153 drivers/staging/greybus/loopback.c 	u32 count;							\
count             156 drivers/staging/greybus/loopback.c 	count = stats->count ? stats->count : 1;			\
count             157 drivers/staging/greybus/loopback.c 	avg = stats->sum + count / 2000000; /* round closest */		\
count             158 drivers/staging/greybus/loopback.c 	rem = do_div(avg, count);					\
count             160 drivers/staging/greybus/loopback.c 	do_div(rem, count);						\
count             729 drivers/staging/greybus/loopback.c 	stats->count++;
count             733 drivers/staging/greybus/loopback.c 					    u64 val, u32 count)
count             736 drivers/staging/greybus/loopback.c 	stats->count += count;
count             738 drivers/staging/greybus/loopback.c 	do_div(val, count);
count            1015 drivers/staging/greybus/loopback.c 	if (!gb_dev.count) {
count            1067 drivers/staging/greybus/loopback.c 	gb_dev.count++;
count            1121 drivers/staging/greybus/loopback.c 	gb_dev.count--;
count              37 drivers/staging/greybus/pwm.c 	pwmc->pwm_max = response.count;
count             267 drivers/staging/greybus/raw.c 			 size_t count, loff_t *ppos)
count             272 drivers/staging/greybus/raw.c 	if (!count)
count             275 drivers/staging/greybus/raw.c 	if (count > MAX_PACKET_SIZE)
count             278 drivers/staging/greybus/raw.c 	retval = gb_raw_send(raw, count, buf);
count             282 drivers/staging/greybus/raw.c 	return count;
count             285 drivers/staging/greybus/raw.c static ssize_t raw_read(struct file *file, char __user *buf, size_t count,
count             297 drivers/staging/greybus/raw.c 	if (raw_data->len > count) {
count              50 drivers/staging/greybus/spilib.c static int tx_header_fit_operation(u32 tx_size, u32 count, size_t data_max)
count              55 drivers/staging/greybus/spilib.c 	headers_size = (count + 1) * sizeof(struct gb_spi_transfer);
count              81 drivers/staging/greybus/spilib.c static size_t calc_tx_xfer_size(u32 tx_size, u32 count, size_t len,
count              87 drivers/staging/greybus/spilib.c 	headers_size = (count + 1) * sizeof(struct gb_spi_transfer);
count             170 drivers/staging/greybus/spilib.c 	u32 tx_size = 0, rx_size = 0, count = 0, xfer_len = 0, request_size;
count             198 drivers/staging/greybus/spilib.c 			if (!tx_header_fit_operation(tx_size, count, data_max))
count             200 drivers/staging/greybus/spilib.c 			tx_xfer_size = calc_tx_xfer_size(tx_size, count,
count             216 drivers/staging/greybus/spilib.c 		count++;
count             228 drivers/staging/greybus/spilib.c 	request_size += count * sizeof(*gb_xfer);
count             238 drivers/staging/greybus/spilib.c 	request->count = cpu_to_le16(count);
count             243 drivers/staging/greybus/spilib.c 	tx_data = gb_xfer + count;	/* place tx data after last gb_xfer */
count             142 drivers/staging/greybus/tools/loopback_test.c 	uint32_t count = 0;						\
count             147 drivers/staging/greybus/tools/loopback_test.c 		count++;						\
count             150 drivers/staging/greybus/tools/loopback_test.c 	if (count)							\
count             151 drivers/staging/greybus/tools/loopback_test.c 		val /= count;						\
count              89 drivers/staging/greybus/uart.c 	int count;
count             125 drivers/staging/greybus/uart.c 	count = tty_insert_flip_string_fixed_flag(port, receive_data->data,
count             127 drivers/staging/greybus/uart.c 	if (count != recv_data_size) {
count             130 drivers/staging/greybus/uart.c 			recv_data_size, count);
count             132 drivers/staging/greybus/uart.c 	if (count)
count             176 drivers/staging/greybus/uart.c 	incoming_credits = le16_to_cpu(credit_request->count);
count             442 drivers/staging/greybus/uart.c 			int count)
count             446 drivers/staging/greybus/uart.c 	count =  kfifo_in_spinlocked(&gb_tty->write_fifo, buf, count,
count             448 drivers/staging/greybus/uart.c 	if (count && !gb_tty->close_pending)
count             451 drivers/staging/greybus/uart.c 	return count;
count              79 drivers/staging/greybus/vibrator.c 			     const char *buf, size_t count)
count              98 drivers/staging/greybus/vibrator.c 	return count;
count              24 drivers/staging/gs_fpgaboot/io.c void xl_shift_cclk(int count)
count              28 drivers/staging/gs_fpgaboot/io.c 	for (i = 0; i < count; i++) {
count              70 drivers/staging/gs_fpgaboot/io.h void xl_shift_cclk(int count);
count              54 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_multi_read(void *client, u8 reg, u8 count, u8 *data)
count              59 drivers/staging/iio/addac/adt7316-i2c.c 	if (count > ADT7316_REG_MAX_ADDR)
count              60 drivers/staging/iio/addac/adt7316-i2c.c 		count = ADT7316_REG_MAX_ADDR;
count              62 drivers/staging/iio/addac/adt7316-i2c.c 	for (i = 0; i < count; i++) {
count              73 drivers/staging/iio/addac/adt7316-i2c.c static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data)
count              78 drivers/staging/iio/addac/adt7316-i2c.c 	if (count > ADT7316_REG_MAX_ADDR)
count              79 drivers/staging/iio/addac/adt7316-i2c.c 		count = ADT7316_REG_MAX_ADDR;
count              81 drivers/staging/iio/addac/adt7316-i2c.c 	for (i = 0; i < count; i++) {
count              25 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_multi_read(void *client, u8 reg, u8 count, u8 *data)
count              31 drivers/staging/iio/addac/adt7316-spi.c 	if (count > ADT7316_REG_MAX_ADDR)
count              32 drivers/staging/iio/addac/adt7316-spi.c 		count = ADT7316_REG_MAX_ADDR;
count              45 drivers/staging/iio/addac/adt7316-spi.c 	ret = spi_write_then_read(spi_dev, cmd, 1, data, count);
count              54 drivers/staging/iio/addac/adt7316-spi.c static int adt7316_spi_multi_write(void *client, u8 reg, u8 count, u8 *data)
count              60 drivers/staging/iio/addac/adt7316-spi.c 	if (count > ADT7316_REG_MAX_ADDR)
count              61 drivers/staging/iio/addac/adt7316-spi.c 		count = ADT7316_REG_MAX_ADDR;
count              65 drivers/staging/iio/addac/adt7316-spi.c 	for (i = 0; i < count; i++)
count              68 drivers/staging/iio/addac/adt7316-spi.c 	ret = spi_write(spi_dev, buf, count + 2);
count              21 drivers/staging/iio/addac/adt7316.h 	int (*multi_read)(void *client, u8 first_reg, u8 count, u8 *data);
count              22 drivers/staging/iio/addac/adt7316.h 	int (*multi_write)(void *client, u8 first_reg, u8 count, u8 *data);
count              23 drivers/staging/iio/meter/ade7854-i2c.c 	int count;
count              34 drivers/staging/iio/meter/ade7854-i2c.c 		count = 3;
count              39 drivers/staging/iio/meter/ade7854-i2c.c 		count = 4;
count              45 drivers/staging/iio/meter/ade7854-i2c.c 		count = 5;
count              52 drivers/staging/iio/meter/ade7854-i2c.c 		count = 6;
count              59 drivers/staging/iio/meter/ade7854-i2c.c 	ret = i2c_master_send(st->i2c, st->tx, count);
count             296 drivers/staging/isdn/gigaset/capi.c 	int len, count;
count             302 drivers/staging/isdn/gigaset/capi.c 	count = len = ie[0];
count             303 drivers/staging/isdn/gigaset/capi.c 	if (count > MAX_FMT_IE_LEN)
count             304 drivers/staging/isdn/gigaset/capi.c 		count = MAX_FMT_IE_LEN - 1;
count             305 drivers/staging/isdn/gigaset/capi.c 	while (count--) {
count             649 drivers/staging/isdn/gigaset/gigaset.h void gigaset_isoc_receive(unsigned char *src, unsigned count,
count             130 drivers/staging/isdn/gigaset/interface.c 	++cs->port.count;
count             132 drivers/staging/isdn/gigaset/interface.c 	if (cs->port.count == 1) {
count             156 drivers/staging/isdn/gigaset/interface.c 	else if (!cs->port.count)
count             158 drivers/staging/isdn/gigaset/interface.c 	else if (!--cs->port.count)
count             285 drivers/staging/isdn/gigaset/interface.c static int if_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             306 drivers/staging/isdn/gigaset/interface.c 	if (count <= 0) {
count             312 drivers/staging/isdn/gigaset/interface.c 	cb = kmalloc(sizeof(struct cmdbuf_t) + count, GFP_KERNEL);
count             319 drivers/staging/isdn/gigaset/interface.c 	memcpy(cb->buf, buf, count);
count             320 drivers/staging/isdn/gigaset/interface.c 	cb->len = count;
count             212 drivers/staging/isdn/gigaset/isocdata.c 			      unsigned char *bytes, int count)
count             222 drivers/staging/isdn/gigaset/isocdata.c 	while (count-- > 0) {
count             395 drivers/staging/isdn/gigaset/isocdata.c 				  unsigned char *in, int count)
count             402 drivers/staging/isdn/gigaset/isocdata.c 	if (isowbuf_freebytes(iwb) < count + count / 5 + 6 ||
count             409 drivers/staging/isdn/gigaset/isocdata.c 	dump_bytes(DEBUG_STREAM_DUMP, "snd data", in, count);
count             414 drivers/staging/isdn/gigaset/isocdata.c 	while (count-- > 0) {
count             448 drivers/staging/isdn/gigaset/isocdata.c 				   unsigned char *in, int count)
count             453 drivers/staging/isdn/gigaset/isocdata.c 	if (unlikely(count <= 0))
count             456 drivers/staging/isdn/gigaset/isocdata.c 	if (isowbuf_freebytes(iwb) < count ||
count             458 drivers/staging/isdn/gigaset/isocdata.c 		gig_dbg(DEBUG_ISO, "can't put %d bytes", count);
count             462 drivers/staging/isdn/gigaset/isocdata.c 	gig_dbg(DEBUG_STREAM, "put %d bytes", count);
count             463 drivers/staging/isdn/gigaset/isocdata.c 	dump_bytes(DEBUG_STREAM_DUMP, "snd data", in, count);
count             470 drivers/staging/isdn/gigaset/isocdata.c 	} while (--count > 0);
count             627 drivers/staging/isdn/gigaset/isocdata.c static inline void hdlc_unpack(unsigned char *src, unsigned count,
count             655 drivers/staging/isdn/gigaset/isocdata.c 	while (count--) {
count             833 drivers/staging/isdn/gigaset/isocdata.c static inline void trans_receive(unsigned char *src, unsigned count,
count             851 drivers/staging/isdn/gigaset/isocdata.c 	while (count > 0) {
count             852 drivers/staging/isdn/gigaset/isocdata.c 		dst = skb_put(skb, count < dobytes ? count : dobytes);
count             853 drivers/staging/isdn/gigaset/isocdata.c 		while (count > 0 && dobytes > 0) {
count             855 drivers/staging/isdn/gigaset/isocdata.c 			count--;
count             871 drivers/staging/isdn/gigaset/isocdata.c void gigaset_isoc_receive(unsigned char *src, unsigned count,
count             876 drivers/staging/isdn/gigaset/isocdata.c 		hdlc_unpack(src, count, bcs);
count             879 drivers/staging/isdn/gigaset/isocdata.c 		trans_receive(src, count, bcs);
count              24 drivers/staging/isdn/gigaset/proc.c 			   const char *buf, size_t count)
count              53 drivers/staging/isdn/gigaset/proc.c 	return count;
count             658 drivers/staging/isdn/gigaset/ser-gigaset.c 		    char *cflags, int count)
count             676 drivers/staging/isdn/gigaset/ser-gigaset.c 		head, tail, count);
count             680 drivers/staging/isdn/gigaset/ser-gigaset.c 		n = min_t(unsigned, count, RBUFSIZE - tail);
count             684 drivers/staging/isdn/gigaset/ser-gigaset.c 		count -= n;
count             687 drivers/staging/isdn/gigaset/ser-gigaset.c 	if (count > 0) {
count             690 drivers/staging/isdn/gigaset/ser-gigaset.c 		if (count > n) {
count             693 drivers/staging/isdn/gigaset/ser-gigaset.c 				count - n);
count             694 drivers/staging/isdn/gigaset/ser-gigaset.c 			count = n;
count             696 drivers/staging/isdn/gigaset/ser-gigaset.c 		memcpy(inbuf->data + tail, buf, count);
count             697 drivers/staging/isdn/gigaset/ser-gigaset.c 		tail += count;
count             427 drivers/staging/isdn/gigaset/usb-gigaset.c 	int count;
count             455 drivers/staging/isdn/gigaset/usb-gigaset.c 			count = min(cb->len, ucs->bulk_out_size);
count             456 drivers/staging/isdn/gigaset/usb-gigaset.c 			gig_dbg(DEBUG_OUTPUT, "send_cb: send %d bytes", count);
count             461 drivers/staging/isdn/gigaset/usb-gigaset.c 					  cb->buf + cb->offset, count,
count             464 drivers/staging/isdn/gigaset/usb-gigaset.c 			cb->offset += count;
count             465 drivers/staging/isdn/gigaset/usb-gigaset.c 			cb->len -= count;
count             596 drivers/staging/isdn/gigaset/usb-gigaset.c 	int count;
count             610 drivers/staging/isdn/gigaset/usb-gigaset.c 	count = min(bcs->tx_skb->len, (unsigned) ucs->bulk_out_size);
count             611 drivers/staging/isdn/gigaset/usb-gigaset.c 	skb_copy_from_linear_data(bcs->tx_skb, ucs->bulk_out_buffer, count);
count             612 drivers/staging/isdn/gigaset/usb-gigaset.c 	skb_pull(bcs->tx_skb, count);
count             614 drivers/staging/isdn/gigaset/usb-gigaset.c 	gig_dbg(DEBUG_OUTPUT, "write_modem: send %d bytes", count);
count             621 drivers/staging/isdn/gigaset/usb-gigaset.c 				  ucs->bulk_out_buffer, count,
count              94 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
count             100 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if (!count)
count             131 drivers/staging/isdn/hysdn/hysdn_procconf.c 		if (i < count)
count             132 drivers/staging/isdn/hysdn/hysdn_procconf.c 			count = i;	/* limit requested number of bytes */
count             133 drivers/staging/isdn/hysdn/hysdn_procconf.c 		if (copy_from_user(cnf->pof_buffer + cnf->buf_size, buf, count))
count             135 drivers/staging/isdn/hysdn/hysdn_procconf.c 		cnf->buf_size += count;
count             158 drivers/staging/isdn/hysdn/hysdn_procconf.c 			if (count > i)
count             159 drivers/staging/isdn/hysdn/hysdn_procconf.c 				count = i;	/* limit transfer */
count             160 drivers/staging/isdn/hysdn/hysdn_procconf.c 			if (copy_from_user(cnf->conf_line + cnf->buf_size, buf, count))
count             163 drivers/staging/isdn/hysdn/hysdn_procconf.c 			i = count;	/* number of chars in buffer */
count             176 drivers/staging/isdn/hysdn/hysdn_procconf.c 				count -= (i - 1);	/* subtract remaining bytes from count */
count             179 drivers/staging/isdn/hysdn/hysdn_procconf.c 					count++;	/* mark as read */
count             184 drivers/staging/isdn/hysdn/hysdn_procconf.c 					count = i;	/* return the error */
count             188 drivers/staging/isdn/hysdn/hysdn_procconf.c 				cnf->buf_size += count;		/* add chars to string */
count             191 drivers/staging/isdn/hysdn/hysdn_procconf.c 						hysdn_addlog(cnf->card, "cnf line too long %d chars pos %d", cnf->buf_size, count);
count             205 drivers/staging/isdn/hysdn/hysdn_procconf.c 	return (count);
count             212 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_read(struct file *file, char __user *buf, size_t count, loff_t *off)
count             222 drivers/staging/isdn/hysdn/hysdn_procconf.c 	return simple_read_from_buffer(buf, count, off, cp, strlen(cp));
count             154 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
count             159 drivers/staging/isdn/hysdn/hysdn_proclog.c 	rc = kstrtoul_from_user(buf, count, 0, &card->debug_flags);
count             163 drivers/staging/isdn/hysdn/hysdn_proclog.c 	return (count);
count             170 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_read(struct file *file, char __user *buf, size_t count, loff_t *off)
count             189 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if ((len = strlen(inf->log_start)) <= count) {
count             110 drivers/staging/kpc2000/kpc2000/core.c 				const char *buf, size_t count)
count             125 drivers/staging/kpc2000/kpc2000/core.c 	return count;
count             209 drivers/staging/kpc2000/kpc2000_spi.c 	unsigned int count = transfer->len;
count             210 drivers/staging/kpc2000/kpc2000_spi.c 	unsigned int c = count;
count             359 drivers/staging/kpc2000/kpc2000_spi.c 			unsigned int count;
count             382 drivers/staging/kpc2000/kpc2000_spi.c 			count = kp_spi_txrx_pio(spidev, transfer);
count             383 drivers/staging/kpc2000/kpc2000_spi.c 			m->actual_length += count;
count             385 drivers/staging/kpc2000/kpc2000_spi.c 			if (count != transfer->len) {
count             235 drivers/staging/kpc2000/kpc_dma/dma.c 	u32 count = 0;
count             240 drivers/staging/kpc2000/kpc_dma/dma.c 		count++;
count             243 drivers/staging/kpc2000/kpc_dma/dma.c 	return count;
count             303 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t  kpc_dma_read(struct file *filp,       char __user *user_buf, size_t count, loff_t *ppos)
count             310 drivers/staging/kpc2000/kpc_dma/fileops.c 	return kpc_dma_transfer(priv, (unsigned long)user_buf, count);
count             314 drivers/staging/kpc2000/kpc_dma/fileops.c ssize_t  kpc_dma_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos)
count             321 drivers/staging/kpc2000/kpc_dma/fileops.c 	return kpc_dma_transfer(priv, (unsigned long)user_buf, count);
count              89 drivers/staging/ks7010/ks_hostif.c 	if (atomic_read(&priv->sme_task.count) > 0)
count             276 drivers/staging/ks7010/ks_hostif.h 	u8 count;
count            2145 drivers/staging/media/allegro-dvt/allegro-core.c static int allegro_start_streaming(struct vb2_queue *q, unsigned int count)
count             243 drivers/staging/media/hantro/hantro_g1_vp8_dec.c 	u32 count = 0;
count             313 drivers/staging/media/hantro/hantro_g1_vp8_dec.c 		u32 byte_offset = dct_part_offset + dct_size_part_size + count;
count             322 drivers/staging/media/hantro/hantro_g1_vp8_dec.c 		count += hdr->dct_part_sizes[i];
count             617 drivers/staging/media/hantro/hantro_v4l2.c static int hantro_start_streaming(struct vb2_queue *q, unsigned int count)
count             355 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c 	u32 count = 0;
count             411 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c 		u32 byte_offset = dct_part_offset + dct_size_part_size + count;
count             420 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c 		count += hdr->dct_part_sizes[i];
count             467 drivers/staging/media/imx/imx-media-capture.c 	unsigned int count = *nbuffers;
count             475 drivers/staging/media/imx/imx-media-capture.c 		count += vq->num_buffers;
count             478 drivers/staging/media/imx/imx-media-capture.c 	count = min_t(__u32, VID_MEM_LIMIT / pix->sizeimage, count);
count             481 drivers/staging/media/imx/imx-media-capture.c 		*nbuffers = (count < vq->num_buffers) ? 0 :
count             482 drivers/staging/media/imx/imx-media-capture.c 			count - vq->num_buffers;
count             484 drivers/staging/media/imx/imx-media-capture.c 		*nbuffers = count;
count             559 drivers/staging/media/imx/imx-media-capture.c static int capture_start_streaming(struct vb2_queue *vq, unsigned int count)
count             423 drivers/staging/media/imx/imx-media-csc-scaler.c 	unsigned int size, count = *nbuffers;
count             429 drivers/staging/media/imx/imx-media-csc-scaler.c 	*nbuffers = count;
count             438 drivers/staging/media/imx/imx-media-csc-scaler.c 		count, size);
count             499 drivers/staging/media/imx/imx-media-csc-scaler.c 					  unsigned int count)
count             189 drivers/staging/media/ipu3/ipu3-css.c static inline void writes(const void *mem, ssize_t count, void __iomem *addr)
count             191 drivers/staging/media/ipu3/ipu3-css.c 	if (count >= 4) {
count             194 drivers/staging/media/ipu3/ipu3-css.c 		count /= 4;
count             198 drivers/staging/media/ipu3/ipu3-css.c 		} while (--count);
count              23 drivers/staging/media/ipu3/ipu3-dmamap.c 	int count = size >> PAGE_SHIFT;
count              25 drivers/staging/media/ipu3/ipu3-dmamap.c 	while (count--)
count              26 drivers/staging/media/ipu3/ipu3-dmamap.c 		__free_page(pages[count]);
count              37 drivers/staging/media/ipu3/ipu3-dmamap.c 	unsigned int i = 0, count = size >> PAGE_SHIFT;
count              42 drivers/staging/media/ipu3/ipu3-dmamap.c 	pages = kvmalloc_array(count, sizeof(*pages), GFP_KERNEL);
count              49 drivers/staging/media/ipu3/ipu3-dmamap.c 	while (count) {
count              53 drivers/staging/media/ipu3/ipu3-dmamap.c 		for (order_mask &= (2U << __fls(count)) - 1;
count              75 drivers/staging/media/ipu3/ipu3-dmamap.c 		count -= order_size;
count             458 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vb2_start_streaming(struct vb2_queue *vq, unsigned int count)
count             274 drivers/staging/media/meson/vdec/vdec.c static int vdec_start_streaming(struct vb2_queue *q, unsigned int count)
count             300 drivers/staging/media/omap4iss/iss_video.c 				 unsigned int *count, unsigned int *num_planes,
count             314 drivers/staging/media/omap4iss/iss_video.c 	*count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0]));
count             369 drivers/staging/media/soc_camera/soc_camera.c 		icd->streamer = p->count ? file : NULL;
count             765 drivers/staging/media/soc_camera/soc_camera.c 			       size_t count, loff_t *ppos)
count             773 drivers/staging/media/soc_camera/soc_camera.c 		return vb2_read(&icd->vb2_vidq, buf, count, ppos,
count             160 drivers/staging/media/sunxi/cedrus/cedrus.c 	unsigned int count;
count             177 drivers/staging/media/sunxi/cedrus/cedrus.c 	count = vb2_request_buffer_cnt(req);
count             178 drivers/staging/media/sunxi/cedrus/cedrus.c 	if (!count) {
count             182 drivers/staging/media/sunxi/cedrus/cedrus.c 	} else if (count > 1) {
count              48 drivers/staging/media/sunxi/cedrus/cedrus_h264.c 	size_t count = DIV_ROUND_UP(len, 4);
count              52 drivers/staging/media/sunxi/cedrus/cedrus_h264.c 	while (count--)
count             441 drivers/staging/media/sunxi/cedrus/cedrus_video.c static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count)
count             190 drivers/staging/most/cdev/cdev.c 			  size_t count, loff_t *offset)
count             213 drivers/staging/most/cdev/cdev.c 	to_copy = min(count, c->cfg->buffer_size - c->mbo_offs);
count             244 drivers/staging/most/cdev/cdev.c comp_read(struct file *filp, char __user *buf, size_t count, loff_t *offset)
count             269 drivers/staging/most/cdev/cdev.c 			count,
count             112 drivers/staging/most/configfs.c 					   const char *page, size_t count)
count             122 drivers/staging/most/configfs.c 		return count;
count             128 drivers/staging/most/configfs.c 	return count;
count             132 drivers/staging/most/configfs.c 					    const char *page, size_t count)
count             142 drivers/staging/most/configfs.c 		return count;
count             150 drivers/staging/most/configfs.c 	return count;
count             159 drivers/staging/most/configfs.c 					 const char *page, size_t count)
count             167 drivers/staging/most/configfs.c 	return count;
count             176 drivers/staging/most/configfs.c 					const char *page, size_t count)
count             185 drivers/staging/most/configfs.c 	return count;
count             194 drivers/staging/most/configfs.c 				      const char *page, size_t count)
count             199 drivers/staging/most/configfs.c 	return count;
count             208 drivers/staging/most/configfs.c 				       const char *page, size_t count)
count             213 drivers/staging/most/configfs.c 	return count;
count             222 drivers/staging/most/configfs.c 				    const char *page, size_t count)
count             227 drivers/staging/most/configfs.c 	return count;
count             237 drivers/staging/most/configfs.c 					   const char *page, size_t count)
count             242 drivers/staging/most/configfs.c 	return count;
count             252 drivers/staging/most/configfs.c 					   const char *page, size_t count)
count             260 drivers/staging/most/configfs.c 	return count;
count             270 drivers/staging/most/configfs.c 					   const char *page, size_t count)
count             278 drivers/staging/most/configfs.c 	return count;
count             289 drivers/staging/most/configfs.c 					      const char *page, size_t count)
count             297 drivers/staging/most/configfs.c 	return count;
count             308 drivers/staging/most/configfs.c 						const char *page, size_t count)
count             316 drivers/staging/most/configfs.c 	return count;
count             325 drivers/staging/most/configfs.c 					const char *page, size_t count)
count             333 drivers/staging/most/configfs.c 	return count;
count             497 drivers/staging/most/configfs.c 					      const char *page, size_t count)
count             512 drivers/staging/most/configfs.c 	return count;
count             942 drivers/staging/most/usb/usb.c 			   const char *buf, size_t count)
count             956 drivers/staging/most/usb/usb.c 		return count;
count             971 drivers/staging/most/usb/usb.c 	return count;
count             153 drivers/staging/most/video/video.c 			      size_t count, loff_t *pos)
count             174 drivers/staging/most/video/video.c 	while (count > 0 && data_ready(mdev)) {
count             177 drivers/staging/most/video/video.c 		int const cnt = rem < count ? rem : count;
count             187 drivers/staging/most/video/video.c 		count -= cnt;
count             433 drivers/staging/olpc_dcon/olpc_dcon.c 			       const char *buf, size_t count)
count             444 drivers/staging/olpc_dcon/olpc_dcon.c 	return count;
count             449 drivers/staging/olpc_dcon/olpc_dcon.c 				 const char *buf, size_t count)
count             473 drivers/staging/olpc_dcon/olpc_dcon.c 	return count;
count             478 drivers/staging/olpc_dcon/olpc_dcon.c 				     const char *buf, size_t count)
count             490 drivers/staging/olpc_dcon/olpc_dcon.c 	return count;
count             495 drivers/staging/olpc_dcon/olpc_dcon.c 				const char *buf, size_t count)
count             505 drivers/staging/olpc_dcon/olpc_dcon.c 	return count;
count             809 drivers/staging/pi433/pi433_if.c 	    size_t count, loff_t *f_pos)
count             823 drivers/staging/pi433/pi433_if.c 	if (count > MAX_MSG_SIZE)
count             834 drivers/staging/pi433/pi433_if.c 	required = sizeof(instance->tx_cfg) + sizeof(size_t) + count;
count             848 drivers/staging/pi433/pi433_if.c 	retval = kfifo_in(&device->tx_fifo, &count, sizeof(size_t));
count             852 drivers/staging/pi433/pi433_if.c 	retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied);
count             853 drivers/staging/pi433/pi433_if.c 	if (retval || copied != count)
count              47 drivers/staging/qlge/qlge_dbg.c 	int count = 10;
count              49 drivers/staging/qlge/qlge_dbg.c 	while (count) {
count              58 drivers/staging/qlge/qlge_dbg.c 		count--;
count             501 drivers/staging/qlge/qlge_dbg.c 				u32 offset, u32 count)
count             504 drivers/staging/qlge/qlge_dbg.c 	for (i = 0; i < count; i++, buf++) {
count            1331 drivers/staging/qlge/qlge_dbg.c 	u32 *tmp, count;
count            1334 drivers/staging/qlge/qlge_dbg.c 	count = sizeof(struct ql_mpi_coredump) / sizeof(u32);
count            1339 drivers/staging/qlge/qlge_dbg.c 	for (i = 0; i < count; i += 8) {
count             170 drivers/staging/qlge/qlge_main.c 	int count = UDELAY_COUNT;
count             172 drivers/staging/qlge/qlge_main.c 	while (count) {
count             184 drivers/staging/qlge/qlge_main.c 		count--;
count             196 drivers/staging/qlge/qlge_main.c 	int count = UDELAY_COUNT;
count             199 drivers/staging/qlge/qlge_main.c 	while (count) {
count             206 drivers/staging/qlge/qlge_main.c 		count--;
count            2207 drivers/staging/qlge/qlge_main.c 	int count = 0;
count            2230 drivers/staging/qlge/qlge_main.c 		count++;
count            2247 drivers/staging/qlge/qlge_main.c 	return count;
count            2255 drivers/staging/qlge/qlge_main.c 	int count = 0;
count            2283 drivers/staging/qlge/qlge_main.c 		count++;
count            2286 drivers/staging/qlge/qlge_main.c 		if (count == budget)
count            2291 drivers/staging/qlge/qlge_main.c 	return count;
count              20 drivers/staging/qlge/qlge_mpi.c 	int count = UDELAY_COUNT;
count              29 drivers/staging/qlge/qlge_mpi.c 		count--;
count              30 drivers/staging/qlge/qlge_mpi.c 	} while (count);
count              31 drivers/staging/qlge/qlge_mpi.c 	return (count == 0) ? -ETIMEDOUT : 0;
count              37 drivers/staging/qlge/qlge_mpi.c 	int count = UDELAY_COUNT;
count              48 drivers/staging/qlge/qlge_mpi.c 		count--;
count              49 drivers/staging/qlge/qlge_mpi.c 	} while (count);
count              50 drivers/staging/qlge/qlge_mpi.c 	return (count == 0) ? -ETIMEDOUT : 0;
count             152 drivers/staging/qlge/qlge_mpi.c 	int count = 100;
count             160 drivers/staging/qlge/qlge_mpi.c 	} while (--count);
count             535 drivers/staging/qlge/qlge_mpi.c 	unsigned long count;
count             559 drivers/staging/qlge/qlge_mpi.c 	count = jiffies + HZ * MAILBOX_TIMEOUT;
count             584 drivers/staging/qlge/qlge_mpi.c 	} while (time_before(jiffies, count));
count            1083 drivers/staging/qlge/qlge_mpi.c 	int count = 5;
count            1094 drivers/staging/qlge/qlge_mpi.c 	} while (count-- > 0);
count              13 drivers/staging/rtl8188eu/core/rtw_debug.c 			  off_t offset, int count,
count              18 drivers/staging/rtl8188eu/core/rtw_debug.c 	len += snprintf(page + len, count - len, "%s\n", DRIVERVERSION);
count              25 drivers/staging/rtl8188eu/core/rtw_debug.c 			  off_t offset, int count,
count              33 drivers/staging/rtl8188eu/core/rtw_debug.c 		unsigned long count, void *data)
count              40 drivers/staging/rtl8188eu/core/rtw_debug.c 	if (count < 3) {
count              50 drivers/staging/rtl8188eu/core/rtw_debug.c 			return count;
count              67 drivers/staging/rtl8188eu/core/rtw_debug.c 	return count;
count              74 drivers/staging/rtl8188eu/core/rtw_debug.c 			  off_t offset, int count,
count              89 drivers/staging/rtl8188eu/core/rtw_debug.c 		len += snprintf(page + len, count - len, "usb_read8(0x%x)=0x%x\n", proc_get_read_addr, usb_read8(padapter, proc_get_read_addr));
count              92 drivers/staging/rtl8188eu/core/rtw_debug.c 		len += snprintf(page + len, count - len, "usb_read16(0x%x)=0x%x\n", proc_get_read_addr, usb_read16(padapter, proc_get_read_addr));
count              95 drivers/staging/rtl8188eu/core/rtw_debug.c 		len += snprintf(page + len, count - len, "usb_read32(0x%x)=0x%x\n", proc_get_read_addr, usb_read32(padapter, proc_get_read_addr));
count              98 drivers/staging/rtl8188eu/core/rtw_debug.c 		len += snprintf(page + len, count - len, "error read length=%d\n", proc_get_read_len);
count             107 drivers/staging/rtl8188eu/core/rtw_debug.c 		unsigned long count, void *data)
count             112 drivers/staging/rtl8188eu/core/rtw_debug.c 	if (count < 2) {
count             122 drivers/staging/rtl8188eu/core/rtw_debug.c 			return count;
count             130 drivers/staging/rtl8188eu/core/rtw_debug.c 	return count;
count             134 drivers/staging/rtl8188eu/core/rtw_debug.c 			  off_t offset, int count,
count             141 drivers/staging/rtl8188eu/core/rtw_debug.c 	len += snprintf(page + len, count - len, "bSurpriseRemoved=%d, bDriverStopped=%d\n",
count             149 drivers/staging/rtl8188eu/core/rtw_debug.c 			  off_t offset, int count,
count             173 drivers/staging/rtl8188eu/core/rtw_debug.c 		len += snprintf(page + len, count - len, "The rx cnt of channel %3d = %d\n",
count             177 drivers/staging/rtl8188eu/core/rtw_debug.c 	len += snprintf(page + len, count - len, "best_channel_24G = %d\n", best_channel_24G);
count             214 drivers/staging/rtl8188eu/core/rtw_efuse.c 	u16 len = 0, count = 0;
count             260 drivers/staging/rtl8188eu/core/rtw_efuse.c 			memcpy(pos, ((u8 *)&lo32) + 2, (limit >= count + 2) ? 2 : limit - count);
count             261 drivers/staging/rtl8188eu/core/rtw_efuse.c 			count += (limit >= count + 2) ? 2 : limit - count;
count             262 drivers/staging/rtl8188eu/core/rtw_efuse.c 			pos = content + count;
count             265 drivers/staging/rtl8188eu/core/rtw_efuse.c 			memcpy(pos, ((u8 *)&lo32), (limit >= count + 4) ? 4 : limit - count);
count             266 drivers/staging/rtl8188eu/core/rtw_efuse.c 			count += (limit >= count + 4) ? 4 : limit - count;
count             267 drivers/staging/rtl8188eu/core/rtw_efuse.c 			pos = content + count;
count             270 drivers/staging/rtl8188eu/core/rtw_efuse.c 		if (limit > count && len - 2 > count) {
count             271 drivers/staging/rtl8188eu/core/rtw_efuse.c 			memcpy(pos, (u8 *)&hi32, (limit >= count + 4) ? 4 : limit - count);
count             272 drivers/staging/rtl8188eu/core/rtw_efuse.c 			count += (limit >= count + 4) ? 4 : limit - count;
count             273 drivers/staging/rtl8188eu/core/rtw_efuse.c 			pos = content + count;
count             276 drivers/staging/rtl8188eu/core/rtw_efuse.c 		if (limit <= count || len - 2 <= count)
count             281 drivers/staging/rtl8188eu/core/rtw_efuse.c 	DBG_88E("%s read count:%u\n", __func__, count);
count             282 drivers/staging/rtl8188eu/core/rtw_efuse.c 	*size = count;
count             353 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	int left, count;
count             383 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		count = get_unaligned_le16(pos);
count             387 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		if (count == 0 || left < count * WPA_SELECTOR_LEN) {
count             389 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 						"count %u left %u", __func__, count, left));
count             393 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		for (i = 0; i < count; i++) {
count             420 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 	int left, count;
count             450 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		count = get_unaligned_le16(pos);
count             454 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		if (count == 0 || left < count * RSN_SELECTOR_LEN) {
count             456 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 						 "count %u left %u", __func__, count, left));
count             460 drivers/staging/rtl8188eu/core/rtw_ieee80211.c 		for (i = 0; i < count; i++) {
count             181 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c 	s32	count = 0;
count             193 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c 		if (count > POLLING_LLT_THRESHOLD) {
count             199 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c 	} while (count++);
count              34 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	u32 count = 16; /* (32 bytes / 2 bytes per XOR) => 16 times */
count              41 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	for (index = 0; index < count; index++)
count             108 drivers/staging/rtl8188eu/include/rtw_debug.h 			 off_t offset, int count,
count             112 drivers/staging/rtl8188eu/include/rtw_debug.h 		       off_t offset, int count,
count             116 drivers/staging/rtl8188eu/include/rtw_debug.h 		       unsigned long count, void *data);
count             118 drivers/staging/rtl8188eu/include/rtw_debug.h 		      off_t offset, int count,
count             122 drivers/staging/rtl8188eu/include/rtw_debug.h 		      unsigned long count, void *data);
count             125 drivers/staging/rtl8188eu/include/rtw_debug.h 			   off_t offset, int count,
count             129 drivers/staging/rtl8188eu/include/rtw_debug.h 			  off_t offset, int count,
count            2016 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	unsigned int count = priv->rxringcount;
count            2020 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	while (count--) {
count             137 drivers/staging/rtl8192e/rtl819x_TSProc.c 	u8				count = 0;
count             144 drivers/staging/rtl8192e/rtl819x_TSProc.c 	for (count = 0; count < TOTAL_TS_NUM; count++) {
count             145 drivers/staging/rtl8192e/rtl819x_TSProc.c 		pTxTS->num = count;
count             168 drivers/staging/rtl8192e/rtl819x_TSProc.c 	for (count = 0; count < TOTAL_TS_NUM; count++) {
count             169 drivers/staging/rtl8192e/rtl819x_TSProc.c 		pRxTS->num = count;
count             189 drivers/staging/rtl8192e/rtl819x_TSProc.c 	for (count = 0; count < REORDER_ENTRY_NUM; count++) {
count             192 drivers/staging/rtl8192e/rtl819x_TSProc.c 		if (count == (REORDER_ENTRY_NUM-1))
count             194 drivers/staging/rtl8192e/rtl819x_TSProc.c 		pRxReorderEntry = &ieee->RxReorderEntry[count+1];
count             272 drivers/staging/rtl8192e/rtl819x_TSProc.c 	u8	count;
count             283 drivers/staging/rtl8192e/rtl819x_TSProc.c 	for (count = 0; count < TCLAS_Num; count++)
count             284 drivers/staging/rtl8192e/rtl819x_TSProc.c 		memcpy((u8 *)(&(pTsCommonInfo->TClass[count])),
count            2014 drivers/staging/rtl8192e/rtllib_softmac.c 			u8 count = ieee->current_network.tim.tim_count;
count            2016 drivers/staging/rtl8192e/rtllib_softmac.c 			if (count == 0) {
count            2029 drivers/staging/rtl8192e/rtllib_softmac.c 					LPSAwakeIntvl_tmp = count +
count            2030 drivers/staging/rtl8192e/rtllib_softmac.c 					(pPSC->LPSAwakeIntvl - count) -
count            2031 drivers/staging/rtl8192e/rtllib_softmac.c 					((pPSC->LPSAwakeIntvl-count)%period);
count             251 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c 				 size_t count, loff_t *ppos)
count             254 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c 	int err = kstrtoul_from_user(buffer, count, 0, &val);
count             259 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c 	return count;
count             137 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	u8				count = 0;
count             144 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	for (count = 0; count < TOTAL_TS_NUM; count++) {
count             146 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		pTxTS->num = count;
count             167 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	for (count = 0; count < TOTAL_TS_NUM; count++) {
count             168 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		pRxTS->num = count;
count             183 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	for (count = 0; count < REORDER_ENTRY_NUM; count++) {
count             185 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		if (count == (REORDER_ENTRY_NUM - 1))
count             187 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		pRxReorderEntry = &ieee->RxReorderEntry[count + 1];
count             269 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	u8	count;
count             279 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	for (count = 0; count < TCLAS_Num; count++)
count             280 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		memcpy((u8 *)(&(pTsCommonInfo->t_class[count])), (u8 *)pTCLAS, sizeof(union qos_tclas));
count             281 drivers/staging/rtl8712/ieee80211.c 	int left, count;
count             305 drivers/staging/rtl8712/ieee80211.c 		count = le16_to_cpu(*(__le16 *)pos);
count             308 drivers/staging/rtl8712/ieee80211.c 		if (count == 0 || left < count * WPA_SELECTOR_LEN)
count             310 drivers/staging/rtl8712/ieee80211.c 		for (i = 0; i < count; i++) {
count             325 drivers/staging/rtl8712/ieee80211.c 	int left, count;
count             348 drivers/staging/rtl8712/ieee80211.c 		count = le16_to_cpu(*(__le16 *)pos);
count             351 drivers/staging/rtl8712/ieee80211.c 		if (count == 0 || left < count * RSN_SELECTOR_LEN)
count             353 drivers/staging/rtl8712/ieee80211.c 		for (i = 0; i < count; i++) {
count              36 drivers/staging/rtl8712/rtl871x_eeprom.c static void shift_out_bits(struct _adapter *padapter, u16 data, u16 count)
count              42 drivers/staging/rtl8712/rtl871x_eeprom.c 	mask = 0x01 << (count - 1);
count              33 drivers/staging/rtl8723bs/core/rtw_eeprom.c void shift_out_bits(_adapter *padapter, u16 data, u16 count)
count              42 drivers/staging/rtl8723bs/core/rtw_eeprom.c 	mask = 0x01 << (count - 1);
count             467 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	int left, count;
count             502 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		count = RTW_GET_LE16(pos);
count             506 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		if (count == 0 || left < count * WPA_SELECTOR_LEN) {
count             508 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 						"count %u left %u", __func__, count, left));
count             512 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		for (i = 0; i < count; i++) {
count             540 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 	int left, count;
count             572 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		count = RTW_GET_LE16(pos);
count             576 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		if (count == 0 || left < count * RSN_SELECTOR_LEN) {
count             578 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 						 "count %u left %u", __func__, count, left));
count             582 drivers/staging/rtl8723bs/core/rtw_ieee80211.c 		for (i = 0; i < count; i++) {
count             534 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	u32 count = 0, cmd;
count             541 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	} while (count++ < 100);
count            1558 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	s32 count;
count            1570 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "#define DBG\t%d\n", DBG);
count            1571 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1573 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1574 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1576 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "BTCOEX Debug Setting:\n");
count            1577 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1579 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1580 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1582 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize,
count            1586 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1588 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1589 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1591 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "INTERFACE Debug Setting Definition:\n");
count            1592 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1594 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1595 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1596 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[0]=%d for INTF_INIT\n",
count            1598 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1600 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1601 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1602 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[2]=%d for INTF_NOTIFY\n\n",
count            1604 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1606 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1607 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1609 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "ALGORITHM Debug Setting Definition:\n");
count            1610 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1612 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1613 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1614 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[0]=%d for BT_RSSI_STATE\n",
count            1616 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1618 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1619 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1620 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[1]=%d for WIFI_RSSI_STATE\n",
count            1622 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1624 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1625 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1626 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[2]=%d for BT_MONITOR\n",
count            1628 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1630 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1631 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1632 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[3]=%d for TRACE\n",
count            1634 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1636 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1637 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1638 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[4]=%d for TRACE_FW\n",
count            1640 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1642 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1643 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1644 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[5]=%d for TRACE_FW_DETAIL\n",
count            1646 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1648 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1649 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1650 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[6]=%d for TRACE_FW_EXEC\n",
count            1652 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1654 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1655 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1656 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[7]=%d for TRACE_SW\n",
count            1658 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1660 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1661 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1662 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[8]=%d for TRACE_SW_DETAIL\n",
count            1664 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1666 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1667 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1668 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = rtw_sprintf(pstr, leftSize, "\tbit[9]=%d for TRACE_SW_EXEC\n",
count            1670 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if ((count < 0) || (count >= leftSize))
count            1672 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pstr += count;
count            1673 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	leftSize -= count;
count            1676 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	count = pstr - pStrBuf;
count            1679 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	return count;
count              28 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 			u8 count = 0;
count              37 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 				count++;
count              49 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 						count
count              52 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 				if (count > 5)
count              59 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 			u8 count = 0;
count              68 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 				count++;
count              97 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 						count
count             101 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c 				if (count > 5)
count            1258 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 		while (!(res&BIT(7)) && count < 25) {
count            1259 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 			DBG_871X("[%d] cmd: 0x81 REG_PNO_STATUS: 0x%02x\n", count, res);
count            1261 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 			count++;
count              18 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	u8 tmp, count = 0;
count              34 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		} while (count++ < 100);
count              36 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (count > 0)
count              37 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 			DBG_871X("%s: !!!!!!!!Write 0x80 Fail!: count = %d\n", __func__, count);
count             791 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 			u8 count = 0;
count             804 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 				count++;
count             805 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 				if (count >= 100)
count             811 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 			if (count >= 100) {
count            1155 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	u32 count = 0; /*  for debug */
count            1173 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	count = 0;
count            1184 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 			count++;
count            1186 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 				FUNC_ADPT_ARG(padapter), efuse_addr, efuse_data, count);
count            1189 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 			if (count < 4) {
count            1192 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 				if (count > 2) {
count            2961 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	u32 count;
count            2972 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	count = 16;
count            2974 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	for (index = 0; index < count; index++) {
count              41 drivers/staging/rtl8723bs/include/rtw_mp.h 	u32 count, sended;
count            4542 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		u8 count = 0;
count            4555 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			param[count++] = (u8)tmp;
count            4556 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		} while (count < 8);
count            4558 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (count == 0) {
count            4564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		ret = rtw_hal_fill_h2c_cmd(padapter, param[0], count-1, &param[1]);
count            4567 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		for (i = 1; i<count; i++)
count            4897 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	u32 count = 0;
count            4999 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			count = 0;
count            5004 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				buffer[count++] = (u8)temp;
count            5006 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			buffer_len = count;
count            5009 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			wdata.data.length = count;
count            5017 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			count = 0;
count            5022 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				((s32 *)buffer)[count++] = (s32)temp;
count            5024 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			buffer_len = count * sizeof(s32);
count            5027 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			wdata.data.length = count;
count            2616 drivers/staging/rts5208/ms.c 	u16 count;
count            2690 drivers/staging/rts5208/ms.c 				count = 0xFE00;
count            2692 drivers/staging/rts5208/ms.c 				count = (u16)(ms_card->capacity - start_sector);
count            2694 drivers/staging/rts5208/ms.c 			if (count > sector_cnt) {
count            2701 drivers/staging/rts5208/ms.c 			count = sector_cnt;
count            2703 drivers/staging/rts5208/ms.c 		retval = mspro_set_rw_cmd(chip, start_sector, count, rw_cmd);
count            4547 drivers/staging/rts5208/sd.c 	int count;
count            4567 drivers/staging/rts5208/sd.c 		count = (data_len < 17) ? data_len : 17;
count            4569 drivers/staging/rts5208/sd.c 		count = (data_len < 6) ? data_len : 6;
count            4571 drivers/staging/rts5208/sd.c 	rtsx_stor_set_xfer_buf(sd_card->rsp, count, srb);
count              87 drivers/staging/sm750fb/ddk750_hwi2c.c 	unsigned char count, i;
count             107 drivers/staging/sm750fb/ddk750_hwi2c.c 			count = length - 1;
count             109 drivers/staging/sm750fb/ddk750_hwi2c.c 			count = MAX_HWI2C_FIFO - 1;
count             110 drivers/staging/sm750fb/ddk750_hwi2c.c 		poke32(I2C_BYTE_COUNT, count);
count             113 drivers/staging/sm750fb/ddk750_hwi2c.c 		for (i = 0; i <= count; i++)
count             124 drivers/staging/sm750fb/ddk750_hwi2c.c 		length -= (count + 1);
count             127 drivers/staging/sm750fb/ddk750_hwi2c.c 		total_bytes += (count + 1);
count             152 drivers/staging/sm750fb/ddk750_hwi2c.c 	unsigned char count, i;
count             172 drivers/staging/sm750fb/ddk750_hwi2c.c 			count = length - 1;
count             174 drivers/staging/sm750fb/ddk750_hwi2c.c 			count = MAX_HWI2C_FIFO - 1;
count             175 drivers/staging/sm750fb/ddk750_hwi2c.c 		poke32(I2C_BYTE_COUNT, count);
count             185 drivers/staging/sm750fb/ddk750_hwi2c.c 		for (i = 0; i <= count; i++)
count             189 drivers/staging/sm750fb/ddk750_hwi2c.c 		length -= (count + 1);
count             192 drivers/staging/sm750fb/ddk750_hwi2c.c 		total_bytes += (count + 1);
count              88 drivers/staging/sm750fb/sm750_cursor.c 	int i, j, count, pitch, offset;
count              97 drivers/staging/sm750fb/sm750_cursor.c 	count = pitch * cursor->h;
count             106 drivers/staging/sm750fb/sm750_cursor.c 	for (i = 0; i < count; i++) {
count             138 drivers/staging/sm750fb/sm750_cursor.c 	int i, j, count, pitch, offset;
count             147 drivers/staging/sm750fb/sm750_cursor.c 	count = pitch * cursor->h;
count             156 drivers/staging/sm750fb/sm750_cursor.c 	for (i = 0; i < count; i++) {
count              20 drivers/staging/speakup/devsynth.c 	size_t count = nbytes;
count              28 drivers/staging/speakup/devsynth.c 	while (count > 0) {
count              29 drivers/staging/speakup/devsynth.c 		bytes = min(count, sizeof(buf));
count              32 drivers/staging/speakup/devsynth.c 		count -= bytes;
count             111 drivers/staging/speakup/kobjects.c 				   const char *buf, size_t count)
count             114 drivers/staging/speakup/kobjects.c 	char *end = cp + count; /* the null at the end of the buffer */
count             120 drivers/staging/speakup/kobjects.c 	ssize_t retval = count;
count             266 drivers/staging/speakup/kobjects.c 			    const char *buf, size_t count)
count             269 drivers/staging/speakup/kobjects.c 	ssize_t ret = count;
count             276 drivers/staging/speakup/kobjects.c 	in_buff = kmemdup(buf, count + 1, GFP_ATOMIC);
count             286 drivers/staging/speakup/kobjects.c 		return count;
count             288 drivers/staging/speakup/kobjects.c 	if (in_buff[count - 1] == '\n')
count             289 drivers/staging/speakup/kobjects.c 		in_buff[count - 1] = '\0';
count             333 drivers/staging/speakup/kobjects.c 			    const char *buf, size_t count)
count             365 drivers/staging/speakup/kobjects.c 	return count;
count             387 drivers/staging/speakup/kobjects.c 			   const char *buf, size_t count)
count             406 drivers/staging/speakup/kobjects.c 	return count;
count             414 drivers/staging/speakup/kobjects.c 				  const char *buf, size_t count)
count             437 drivers/staging/speakup/kobjects.c 	return count;
count             500 drivers/staging/speakup/kobjects.c 			  const char *buf, size_t count)
count             540 drivers/staging/speakup/kobjects.c 	return count;
count             623 drivers/staging/speakup/kobjects.c 		      const char *buf, size_t count)
count             700 drivers/staging/speakup/kobjects.c 	return count;
count             751 drivers/staging/speakup/kobjects.c static ssize_t message_store_helper(const char *buf, size_t count,
count             755 drivers/staging/speakup/kobjects.c 	char *end = cp + count;
count             759 drivers/staging/speakup/kobjects.c 	ssize_t retval = count;
count             856 drivers/staging/speakup/kobjects.c 			     const char *buf, size_t count)
count             863 drivers/staging/speakup/kobjects.c 	return message_store_helper(buf, count, group);
count             109 drivers/staging/speakup/main.c static void spkup_write(const u16 *in_buf, int count);
count            1080 drivers/staging/speakup/main.c static void spkup_write(const u16 *in_buf, int count)
count            1085 drivers/staging/speakup/main.c 	int in_count = count;
count            1088 drivers/staging/speakup/main.c 	while (count--) {
count              80 drivers/staging/speakup/speakup.h void synth_write(const char *buf, size_t count);
count             197 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthx_read(struct file *fp, char __user *buf, size_t count,
count             209 drivers/staging/speakup/speakup_soft.c 	if (count < bytes_per_ch)
count             240 drivers/staging/speakup/speakup_soft.c 	while (chars_sent <= count - bytes_per_ch) {
count             302 drivers/staging/speakup/speakup_soft.c static ssize_t softsynth_read(struct file *fp, char __user *buf, size_t count,
count             305 drivers/staging/speakup/speakup_soft.c 	return softsynthx_read(fp, buf, count, pos, 0);
count             308 drivers/staging/speakup/speakup_soft.c static ssize_t softsynthu_read(struct file *fp, char __user *buf, size_t count,
count             311 drivers/staging/speakup/speakup_soft.c 	return softsynthx_read(fp, buf, count, pos, 1);
count             317 drivers/staging/speakup/speakup_soft.c 			       size_t count, loff_t *pos)
count             322 drivers/staging/speakup/speakup_soft.c 	converted = kstrtoul_from_user(buf, count, 0, &supplied_index);
count             328 drivers/staging/speakup/speakup_soft.c 	return count;
count              53 drivers/staging/speakup/spk_priv.h 		      const char *buf, size_t count);
count              74 drivers/staging/speakup/spk_ttyio.c 				  const unsigned char *cp, char *fp, int count)
count              81 drivers/staging/speakup/spk_ttyio.c 		for (i = 0; i < count; i++)
count              84 drivers/staging/speakup/spk_ttyio.c 		return count;
count             211 drivers/staging/speakup/synth.c void synth_write(const char *buf, size_t count)
count             213 drivers/staging/speakup/synth.c 	while (count--)
count             242 drivers/staging/unisys/visornic/visornic_main.c 	unsigned int count = 0, frag, size, offset = 0, numfrags;
count             262 drivers/staging/unisys/visornic/visornic_main.c 		if (count == frags_max)
count             265 drivers/staging/unisys/visornic/visornic_main.c 		frags[count].pi_pfn =
count             267 drivers/staging/unisys/visornic/visornic_main.c 		frags[count].pi_off =
count             270 drivers/staging/unisys/visornic/visornic_main.c 			     PI_PAGE_SIZE - frags[count].pi_off);
count             275 drivers/staging/unisys/visornic/visornic_main.c 		frags[count].pi_len = size;
count             278 drivers/staging/unisys/visornic/visornic_main.c 		count++;
count             281 drivers/staging/unisys/visornic/visornic_main.c 		if ((count + numfrags) > frags_max)
count             285 drivers/staging/unisys/visornic/visornic_main.c 			count = add_physinfo_entries(page_to_pfn(
count             289 drivers/staging/unisys/visornic/visornic_main.c 				  count, frags_max, frags);
count             295 drivers/staging/unisys/visornic/visornic_main.c 			if (!count)
count             308 drivers/staging/unisys/visornic/visornic_main.c 							  frags_max - count,
count             309 drivers/staging/unisys/visornic/visornic_main.c 							  &frags[count]);
count             312 drivers/staging/unisys/visornic/visornic_main.c 			count += c;
count             315 drivers/staging/unisys/visornic/visornic_main.c 	return count;
count             320 drivers/staging/unisys/visornic/visornic_main.c 				 size_t count, loff_t *ppos)
count             326 drivers/staging/unisys/visornic/visornic_main.c 	return count;
count             603 drivers/staging/unisys/visornic/visornic_main.c 	int i, j, count, err;
count             617 drivers/staging/unisys/visornic/visornic_main.c 	count = i;
count             622 drivers/staging/unisys/visornic/visornic_main.c 	if (count < ((2 * devdata->num_rcv_bufs) / 3)) {
count             624 drivers/staging/unisys/visornic/visornic_main.c 		for (i = 0; i < count; i++) {
count             635 drivers/staging/unisys/visornic/visornic_main.c 	for (i = 0; i < count; i++) {
count             646 drivers/staging/unisys/visornic/visornic_main.c 		for (j = i; j < count; j++) {
count             474 drivers/staging/uwb/beacon.c 		static unsigned count;
count             475 drivers/staging/uwb/beacon.c 		if (++count % 1000 == 0)
count             477 drivers/staging/uwb/beacon.c 				"(FIXME: action?)\n", count);
count             532 drivers/staging/uwb/beacon.c 	static unsigned count;	/* FIXME: this is a temp hack */
count             550 drivers/staging/uwb/beacon.c 	if (++count % 1000 == 0)	/* Lame placeholder */
count             551 drivers/staging/uwb/beacon.c 		dev_info(dev, "BPOIE: %u changes received\n", count);
count              35 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->count = 1;
count              40 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->count = 1;
count              45 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		uinfo->count = 1;
count             135 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 	uinfo->count = 1;
count             178 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 	uinfo->count = 1;
count             246 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.count = 1,
count             258 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.count = 1,
count             280 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.count = 1,
count             292 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c 		.count = 1,
count             115 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 					      m.complete.count);
count             325 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 		.write.count = size,
count             330 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 	unsigned int count;
count             341 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 	count = size;
count             345 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 						  src, count,
count             349 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 		while (count > 0) {
count             350 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 			int bytes = min(instance->max_packet, count);
count             355 drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c 			count -= bytes;
count             107 drivers/staging/vc04_services/bcm2835-audio/bcm2835.h 			unsigned int count,
count              64 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h 	u32 count; // in bytes
count              78 drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h 	s32 count; // Success value
count             488 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count              72 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c create_pagelist(char __user *buf, size_t count, unsigned short type);
count             356 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c create_pagelist(char __user *buf, size_t count, unsigned short type)
count             369 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 	if (count >= INT_MAX - PAGE_SIZE)
count             373 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 	num_pages = DIV_ROUND_UP(count + offset, PAGE_SIZE);
count             404 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 	pagelist->length = count;
count             421 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 		unsigned long length = count;
count             475 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 		if (len > count)
count             476 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 			len = count;
count             479 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c 		count -= len;
count             778 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			unsigned long count)
count             786 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	context.elements_to_go = count;
count             788 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	for (i = 0; i < count; i++) {
count            1024 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if ((service != NULL) && (args.count <= MAX_ELEMENTS)) {
count            1029 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				args.count * sizeof(struct vchiq_element)) == 0)
count            1032 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					elements, args.count);
count            1171 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			for (ret = 0; ret < args.count; ret++) {
count            1548 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	unsigned int count;
count            1563 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	unsigned int count;
count            1577 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	    put_user(args32.count, &args->count) ||
count            1581 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (args32.count > MAX_ELEMENTS)
count            1584 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (args32.elements && args32.count) {
count            1594 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		for (count = 0; count < args32.count; count++) {
count            1595 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			if (put_user(compat_ptr(tempelement32[count].data),
count            1596 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				     &elements[count].data) ||
count            1597 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			    put_user(tempelement32[count].size,
count            1598 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				     &elements[count].size))
count            1676 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	unsigned int count;
count            1717 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (put_user(args32.count, &args->count) ||
count            1725 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (!args32.count || !args32.buf || !args32.msgbufcount)
count            1767 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (put_user(1U, &args->count) ||
count            2206 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	size_t count, loff_t *ppos)
count            2212 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	context.space = count;
count             646 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				int count;
count             649 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				count = service_quota->message_use_count;
count             650 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (count > 0)
count             652 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						count - 1;
count             655 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (count == service_quota->message_quota)
count             660 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				else if (count == 0) {
count             674 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					count = service_quota->slot_use_count;
count             675 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					if (count > 0)
count             677 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 							count - 1;
count             680 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					if (count > 0) {
count             690 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 							count - 1);
count             695 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 							port, count, header,
count             716 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			int count;
count             719 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			count = state->data_use_count;
count             720 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (count > 0)
count             722 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					count - 1;
count             724 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (count == state->data_quota)
count              79 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	size_t count, loff_t *ppos)
count              86 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	if (count >= DEBUGFS_WRITE_BUF_SIZE)
count              87 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 		count = DEBUGFS_WRITE_BUF_SIZE;
count              89 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	if (copy_from_user(kbuf, buffer, count))
count              91 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	kbuf[count - 1] = 0;
count             104 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	*ppos += count;
count             106 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	return count;
count             148 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	size_t count, loff_t *ppos)
count             172 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	*ppos += count;
count             174 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	return count;
count              22 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h 	unsigned int count;
count              42 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h 	unsigned int count;
count             119 drivers/staging/vme/devices/vme_user.c static ssize_t resource_to_user(int minor, char __user *buf, size_t count,
count             124 drivers/staging/vme/devices/vme_user.c 	if (count > image[minor].size_buf)
count             125 drivers/staging/vme/devices/vme_user.c 		count = image[minor].size_buf;
count             128 drivers/staging/vme/devices/vme_user.c 				 count, *ppos);
count             139 drivers/staging/vme/devices/vme_user.c 				  size_t count, loff_t *ppos)
count             141 drivers/staging/vme/devices/vme_user.c 	if (count > image[minor].size_buf)
count             142 drivers/staging/vme/devices/vme_user.c 		count = image[minor].size_buf;
count             144 drivers/staging/vme/devices/vme_user.c 	if (copy_from_user(image[minor].kern_buf, buf, (unsigned long)count))
count             148 drivers/staging/vme/devices/vme_user.c 				count, *ppos);
count             152 drivers/staging/vme/devices/vme_user.c 			      size_t count, loff_t *ppos)
count             157 drivers/staging/vme/devices/vme_user.c 	if (copy_to_user(buf, image_ptr, (unsigned long)count))
count             160 drivers/staging/vme/devices/vme_user.c 	return count;
count             164 drivers/staging/vme/devices/vme_user.c 				size_t count, loff_t *ppos)
count             169 drivers/staging/vme/devices/vme_user.c 	if (copy_from_user(image_ptr, buf, (unsigned long)count))
count             172 drivers/staging/vme/devices/vme_user.c 	return count;
count             175 drivers/staging/vme/devices/vme_user.c static ssize_t vme_user_read(struct file *file, char __user *buf, size_t count,
count             197 drivers/staging/vme/devices/vme_user.c 	if (*ppos + count > image_size)
count             198 drivers/staging/vme/devices/vme_user.c 		count = image_size - *ppos;
count             202 drivers/staging/vme/devices/vme_user.c 		retval = resource_to_user(minor, buf, count, ppos);
count             205 drivers/staging/vme/devices/vme_user.c 		retval = buffer_to_user(minor, buf, count, ppos);
count             219 drivers/staging/vme/devices/vme_user.c 			      size_t count, loff_t *ppos)
count             239 drivers/staging/vme/devices/vme_user.c 	if (*ppos + count > image_size)
count             240 drivers/staging/vme/devices/vme_user.c 		count = image_size - *ppos;
count             244 drivers/staging/vme/devices/vme_user.c 		retval = resource_from_user(minor, buf, count, ppos);
count             247 drivers/staging/vme/devices/vme_user.c 		retval = buffer_from_user(minor, buf, count, ppos);
count            1768 drivers/staging/vt6655/baseband.c 	u32 count = 0;
count            1778 drivers/staging/vt6655/baseband.c 		count = bit_count;
count            1784 drivers/staging/vt6655/baseband.c 		count = bit_count / 2;
count            1793 drivers/staging/vt6655/baseband.c 		count = (bit_count * 10) / 55;
count            1794 drivers/staging/vt6655/baseband.c 		tmp = (count * 55) / 10;
count            1797 drivers/staging/vt6655/baseband.c 			count++;
count            1806 drivers/staging/vt6655/baseband.c 		count = bit_count / 11;
count            1807 drivers/staging/vt6655/baseband.c 		tmp = count * 11;
count            1810 drivers/staging/vt6655/baseband.c 			count++;
count            1889 drivers/staging/vt6655/baseband.c 		phy->len = cpu_to_le16((u16)count);
count             879 drivers/staging/vt6655/device_main.c 	info->status.rates[0].count = tx_retry;
count            1496 drivers/staging/vt6655/device_main.c 	priv->mc_list_count = mc_list->count;
count             191 drivers/staging/vt6656/baseband.c 	u32 count = 0;
count             201 drivers/staging/vt6656/baseband.c 		count = bit_count;
count             207 drivers/staging/vt6656/baseband.c 		count = bit_count / 2;
count             216 drivers/staging/vt6656/baseband.c 		count = (bit_count * 10) / 55;
count             217 drivers/staging/vt6656/baseband.c 		tmp = (count * 55) / 10;
count             220 drivers/staging/vt6656/baseband.c 			count++;
count             229 drivers/staging/vt6656/baseband.c 		count = bit_count / 11;
count             230 drivers/staging/vt6656/baseband.c 		tmp = count * 11;
count             233 drivers/staging/vt6656/baseband.c 			count++;
count             312 drivers/staging/vt6656/baseband.c 		phy->len = cpu_to_le16((u16)count);
count             100 drivers/staging/vt6656/int.c 	info->status.rates[0].count = tx_retry;
count             813 drivers/staging/vt6656/main_usb.c 	priv->mc_list_count = mc_list->count;
count             999 drivers/staging/vt6656/rxtx.c 	u16 current_rate, count;
count            1063 drivers/staging/vt6656/rxtx.c 	count = sizeof(struct vnt_tx_short_buf_head) + skb->len;
count            1065 drivers/staging/vt6656/rxtx.c 	beacon_buffer->tx_byte_count = cpu_to_le16(count);
count            1070 drivers/staging/vt6656/rxtx.c 	context->buf_len = count + 4; /* USB header */
count             513 drivers/staging/wilc1000/wilc_hif.c 			param->opp_en.cnt = noa_attr.desc[0].count;
count             519 drivers/staging/wilc1000/wilc_hif.c 			param->opp_dis.cnt = noa_attr.desc[0].count;
count            1996 drivers/staging/wilc1000/wilc_hif.c int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count,
count            2007 drivers/staging/wilc1000/wilc_hif.c 	msg->body.mc_info.cnt = count;
count             214 drivers/staging/wilc1000/wilc_hif.h int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count,
count             676 drivers/staging/wilc1000/wilc_netdev.c 	    dev->mc.count > WILC_MULTICAST_TABLE_SIZE) {
count             681 drivers/staging/wilc1000/wilc_netdev.c 	if (dev->mc.count == 0) {
count             686 drivers/staging/wilc1000/wilc_netdev.c 	mc_list = kmalloc_array(dev->mc.count, ETH_ALEN, GFP_ATOMIC);
count             699 drivers/staging/wilc1000/wilc_netdev.c 	if (wilc_setup_multicast_filter(vif, 1, dev->mc.count, mc_list))
count              49 drivers/staging/wilc1000/wilc_sdio.c 	u32 count:		9;
count             102 drivers/staging/wilc1000/wilc_sdio.c 		size = cmd->count * cmd->block_size;
count             104 drivers/staging/wilc1000/wilc_sdio.c 		size = cmd->count;
count             406 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = 4;
count             469 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = nblk;
count             490 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = nleft;
count             545 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = 4;
count             611 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = nblk;
count             632 drivers/staging/wilc1000/wilc_sdio.c 		cmd.count = nleft;
count            1119 drivers/staging/wilc1000/wilc_wlan.c 			 u32 count)
count            1126 drivers/staging/wilc1000/wilc_wlan.c 		for (i = 0; i < count; i++) {
count            1129 drivers/staging/wilc1000/wilc_wlan.c 					       (i == count - 1),
count            1135 drivers/staging/wilc1000/wilc_wlan.c 		for (i = 0; i < count; i++) {
count            1142 drivers/staging/wilc1000/wilc_wlan.c 		for (i = 0; i < count; i++) {
count            1147 drivers/staging/wilc1000/wilc_wlan.c 					       (i == count - 1),
count             301 drivers/staging/wilc1000/wilc_wlan.h 			 u32 count);
count            1356 drivers/staging/wlan-ng/hfa384x.h 		u8 count;
count             390 drivers/staging/wlan-ng/prism2mgmt.c 	int count;
count             404 drivers/staging/wlan-ng/prism2mgmt.c 	count = (hw->scanresults->framelen - 3) / 32;
count             405 drivers/staging/wlan-ng/prism2mgmt.c 	if (count > HFA384x_SCANRESULT_MAX)
count             406 drivers/staging/wlan-ng/prism2mgmt.c 		count = HFA384x_SCANRESULT_MAX;
count             408 drivers/staging/wlan-ng/prism2mgmt.c 	if (req->bssindex.data >= count) {
count             411 drivers/staging/wlan-ng/prism2mgmt.c 			   req->bssindex.data, count);
count             436 drivers/staging/wlan-ng/prism2mgmt.c 	for (count = 0; count < 10; count++)
count             437 drivers/staging/wlan-ng/prism2mgmt.c 		if (item->supprates[count] == 0)
count             442 drivers/staging/wlan-ng/prism2mgmt.c 		if ((count >= (N)) && DOT11_RATE5_ISBASIC_GET(	\
count             461 drivers/staging/wlan-ng/prism2mgmt.c 		if (count >= (N)) {					\
count             496 drivers/staging/wlan-ng/prism2mgmt.c 	count = le16_to_cpu(item->capinfo);
count             498 drivers/staging/wlan-ng/prism2mgmt.c 	req->capinfo.data = count;
count             502 drivers/staging/wlan-ng/prism2mgmt.c 	req->privacy.data = WLAN_GET_MGMT_CAP_INFO_PRIVACY(count);
count             506 drivers/staging/wlan-ng/prism2mgmt.c 	req->cfpollable.data = WLAN_GET_MGMT_CAP_INFO_CFPOLLABLE(count);
count             510 drivers/staging/wlan-ng/prism2mgmt.c 	req->cfpollreq.data = WLAN_GET_MGMT_CAP_INFO_CFPOLLREQ(count);
count             514 drivers/staging/wlan-ng/prism2mgmt.c 	req->bsstype.data = (WLAN_GET_MGMT_CAP_INFO_ESS(count)) ?
count            1167 drivers/staging/wlan-ng/prism2sta.c 	hw->channel_info.count = n;
count             402 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	u32 count = 0;
count             418 drivers/target/iscsi/cxgbit/cxgbit_cm.c 		count++;
count             422 drivers/target/iscsi/cxgbit/cxgbit_cm.c 	return count ? 0 : -1;
count              56 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count, enum iscsit_transport_type type,
count             110 drivers/target/iscsi/iscsi_target_configfs.c 	return count;
count             122 drivers/target/iscsi/iscsi_target_configfs.c 					const char *page, size_t count)
count             124 drivers/target/iscsi/iscsi_target_configfs.c 	return lio_target_np_driver_store(item, page, count,
count             135 drivers/target/iscsi/iscsi_target_configfs.c 					  const char *page, size_t count)
count             137 drivers/target/iscsi/iscsi_target_configfs.c 	return lio_target_np_driver_store(item, page, count,
count             292 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)				\
count             307 drivers/target/iscsi/iscsi_target_configfs.c 	return count;							\
count             352 drivers/target/iscsi/iscsi_target_configfs.c 	size_t count)							\
count             358 drivers/target/iscsi/iscsi_target_configfs.c 	if (count >= sizeof(auth->name))				\
count             372 drivers/target/iscsi/iscsi_target_configfs.c 	return count;							\
count             385 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)				\
count             389 drivers/target/iscsi/iscsi_target_configfs.c 			struct iscsi_node_acl, se_node_acl), page, count); \
count             623 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)
count             669 drivers/target/iscsi/iscsi_target_configfs.c 	return (!ret) ? count : (ssize_t)ret;
count             678 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)
count             687 drivers/target/iscsi/iscsi_target_configfs.c 	return count;
count             737 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)				\
count             756 drivers/target/iscsi/iscsi_target_configfs.c 	return count;							\
count             815 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)					\
count             836 drivers/target/iscsi/iscsi_target_configfs.c 	return count;								\
count             848 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)					\
count             850 drivers/target/iscsi/iscsi_target_configfs.c 	return __iscsi_tpg_auth_##name##_store(auth_to_tpg(item), page, count);	\
count             924 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)				\
count             950 drivers/target/iscsi/iscsi_target_configfs.c 	return count;							\
count            1025 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)
count            1059 drivers/target/iscsi/iscsi_target_configfs.c 	return count;
count            1233 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)				\
count            1236 drivers/target/iscsi/iscsi_target_configfs.c 		page, count);						\
count            1267 drivers/target/iscsi/iscsi_target_configfs.c 		const char *page, size_t count)
count            1319 drivers/target/iscsi/iscsi_target_configfs.c 	return count;
count              94 drivers/target/iscsi/iscsi_target_seq_pdu_list.c static void iscsit_create_random_array(u32 *array, u32 count)
count              98 drivers/target/iscsi/iscsi_target_seq_pdu_list.c 	if (count == 1) {
count             103 drivers/target/iscsi/iscsi_target_seq_pdu_list.c 	for (i = 0; i < count; i++) {
count             106 drivers/target/iscsi/iscsi_target_seq_pdu_list.c 		j = (1 + (int) (9999 + 1) - j) % count;
count             115 drivers/target/iscsi/iscsi_target_seq_pdu_list.c 	for (i = 0; i < count; i++)
count            1233 drivers/target/iscsi/iscsi_target_util.c 	struct iscsi_data_count *count)
count            1235 drivers/target/iscsi/iscsi_target_util.c 	int data = count->data_length, rx_loop = 0, total_rx = 0;
count            1242 drivers/target/iscsi/iscsi_target_util.c 	iov_iter_kvec(&msg.msg_iter, READ, count->iov, count->iov_count, data);
count             686 drivers/target/loopback/tcm_loop.c 		struct config_item *item, const char *page, size_t count)
count             704 drivers/target/loopback/tcm_loop.c 	return count;
count             810 drivers/target/loopback/tcm_loop.c 		const char *page, size_t count)
count             823 drivers/target/loopback/tcm_loop.c 		return (!ret) ? count : ret;
count             881 drivers/target/loopback/tcm_loop.c 	return count;
count             911 drivers/target/loopback/tcm_loop.c 		const char *page, size_t count)
count             919 drivers/target/loopback/tcm_loop.c 		return count;
count             928 drivers/target/loopback/tcm_loop.c 		return count;
count             117 drivers/target/sbp/sbp_target.c 	int count = 0;
count             129 drivers/target/sbp/sbp_target.c 				count++;
count             135 drivers/target/sbp/sbp_target.c 	return count;
count            1801 drivers/target/sbp/sbp_target.c 	int count = 0;
count            1805 drivers/target/sbp/sbp_target.c 		count++;
count            1808 drivers/target/sbp/sbp_target.c 	return count;
count            2105 drivers/target/sbp/sbp_target.c 		const char *page, size_t count)
count            2128 drivers/target/sbp/sbp_target.c 	return count;
count            2140 drivers/target/sbp/sbp_target.c 		const char *page, size_t count)
count            2154 drivers/target/sbp/sbp_target.c 		return count;
count            2179 drivers/target/sbp/sbp_target.c 	return count;
count            2201 drivers/target/sbp/sbp_target.c 		const char *page, size_t count)
count            2215 drivers/target/sbp/sbp_target.c 		return count;
count            2223 drivers/target/sbp/sbp_target.c 	return count;
count            2236 drivers/target/sbp/sbp_target.c 		const char *page, size_t count)
count            2250 drivers/target/sbp/sbp_target.c 		return count;
count            2258 drivers/target/sbp/sbp_target.c 	return count;
count            2271 drivers/target/sbp/sbp_target.c 		const char *page, size_t count)
count            2287 drivers/target/sbp/sbp_target.c 	return count;
count            1911 drivers/target/target_core_alua.c 	size_t count)
count            1927 drivers/target/target_core_alua.c 	if (count > TG_PT_GROUP_NAME_BUF) {
count            1932 drivers/target/target_core_alua.c 	memcpy(buf, page, count);
count            1973 drivers/target/target_core_alua.c 			return count;
count            1990 drivers/target/target_core_alua.c 	return count;
count            2011 drivers/target/target_core_alua.c 	size_t count)
count            2036 drivers/target/target_core_alua.c 	return count;
count            2049 drivers/target/target_core_alua.c 	size_t count)
count            2067 drivers/target/target_core_alua.c 	return count;
count            2080 drivers/target/target_core_alua.c 	size_t count)
count            2098 drivers/target/target_core_alua.c 	return count;
count            2111 drivers/target/target_core_alua.c 	size_t count)
count            2129 drivers/target/target_core_alua.c 	return count;
count            2142 drivers/target/target_core_alua.c 	size_t count)
count            2158 drivers/target/target_core_alua.c 	return count;
count            2170 drivers/target/target_core_alua.c 	size_t count)
count            2199 drivers/target/target_core_alua.c 	return count;
count            2212 drivers/target/target_core_alua.c 	size_t count)
count            2231 drivers/target/target_core_alua.c 	return count;
count            2244 drivers/target/target_core_alua.c 	size_t count)
count            2261 drivers/target/target_core_alua.c 	return count;
count             104 drivers/target/target_core_configfs.c 					const char *page, size_t count)
count             116 drivers/target/target_core_configfs.c 	if (count > (DB_ROOT_LEN - 1)) {
count             119 drivers/target/target_core_configfs.c 		       (int)count, DB_ROOT_LEN - 1);
count             552 drivers/target/target_core_configfs.c 		size_t count)						\
count             562 drivers/target/target_core_configfs.c 	return count;							\
count             573 drivers/target/target_core_configfs.c 		size_t count)						\
count             583 drivers/target/target_core_configfs.c 	return count;							\
count             595 drivers/target/target_core_configfs.c 		size_t count)						\
count             600 drivers/target/target_core_configfs.c 	return count;							\
count             625 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             651 drivers/target/target_core_configfs.c 	return count;
count             655 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             673 drivers/target/target_core_configfs.c 	return count;
count             677 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             701 drivers/target/target_core_configfs.c 	return count;
count             705 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             725 drivers/target/target_core_configfs.c 	return count;
count             729 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             751 drivers/target/target_core_configfs.c 	return count;
count             755 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             777 drivers/target/target_core_configfs.c 	return count;
count             781 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             803 drivers/target/target_core_configfs.c 		return count;
count             808 drivers/target/target_core_configfs.c 			return count;
count             840 drivers/target/target_core_configfs.c 	return count;
count             850 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             862 drivers/target/target_core_configfs.c 		return count;
count             884 drivers/target/target_core_configfs.c 	return count;
count             888 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             900 drivers/target/target_core_configfs.c 		return count;
count             905 drivers/target/target_core_configfs.c 		return count;
count             909 drivers/target/target_core_configfs.c 		return count;
count             913 drivers/target/target_core_configfs.c 	return count;
count             917 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             935 drivers/target/target_core_configfs.c 	return count;
count             939 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             957 drivers/target/target_core_configfs.c 	return count;
count             961 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count             990 drivers/target/target_core_configfs.c 	return count;
count             997 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1030 drivers/target/target_core_configfs.c 	return count;
count            1034 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1060 drivers/target/target_core_configfs.c 	return count;
count            1064 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1094 drivers/target/target_core_configfs.c 	return count;
count            1255 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1301 drivers/target/target_core_configfs.c 	return count;
count            1311 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1357 drivers/target/target_core_configfs.c 	return count;
count            1367 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1413 drivers/target/target_core_configfs.c 	return count;
count            1427 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1482 drivers/target/target_core_configfs.c 	return count;
count            1844 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            1860 drivers/target/target_core_configfs.c 		return count;
count            1862 drivers/target/target_core_configfs.c 		return count;
count            2025 drivers/target/target_core_configfs.c 	return (ret == 0) ? count : ret;
count            2077 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2081 drivers/target/target_core_configfs.c 	return dev->transport->set_configfs_dev_params(dev, page, count);
count            2095 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2101 drivers/target/target_core_configfs.c 	if (count > (SE_DEV_ALIAS_LEN-1)) {
count            2103 drivers/target/target_core_configfs.c 			" SE_DEV_ALIAS_LEN-1: %u\n", (int)count,
count            2135 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2141 drivers/target/target_core_configfs.c 	if (count > (SE_UDEV_PATH_LEN-1)) {
count            2143 drivers/target/target_core_configfs.c 			" SE_UDEV_PATH_LEN-1: %u\n", (int)count,
count            2173 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2189 drivers/target/target_core_configfs.c 	return count;
count            2217 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2228 drivers/target/target_core_configfs.c 		return count;
count            2230 drivers/target/target_core_configfs.c 	if (count > LU_GROUP_NAME_BUF) {
count            2235 drivers/target/target_core_configfs.c 	memcpy(buf, page, count);
count            2270 drivers/target/target_core_configfs.c 			return count;
count            2293 drivers/target/target_core_configfs.c 	return count;
count            2342 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2448 drivers/target/target_core_configfs.c 		count = ret;
count            2453 drivers/target/target_core_configfs.c 	return count;
count            2514 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2542 drivers/target/target_core_configfs.c 	return count;
count            2682 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2723 drivers/target/target_core_configfs.c 	return (!ret) ? count : -EINVAL;
count            2735 drivers/target/target_core_configfs.c 		struct config_item *item, const char *page, size_t count)
count            2765 drivers/target/target_core_configfs.c 	return count;
count            2775 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2777 drivers/target/target_core_configfs.c 	return core_alua_store_access_type(to_tg_pt_gp(item), page, count);
count            2836 drivers/target/target_core_configfs.c 		struct config_item *item, const char *page, size_t count)
count            2855 drivers/target/target_core_configfs.c 	return count;
count            2865 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2868 drivers/target/target_core_configfs.c 			count);
count            2878 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2881 drivers/target/target_core_configfs.c 			count);
count            2891 drivers/target/target_core_configfs.c 		struct config_item *item, const char *page, size_t count)
count            2894 drivers/target/target_core_configfs.c 			count);
count            2904 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2906 drivers/target/target_core_configfs.c 	return core_alua_store_preferred_bit(to_tg_pt_gp(item), page, count);
count            2920 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            2948 drivers/target/target_core_configfs.c 	return count;
count            3282 drivers/target/target_core_configfs.c 		const char *page, size_t count)
count            3310 drivers/target/target_core_configfs.c 	return count;
count             178 drivers/target/target_core_fabric_configfs.c 		struct config_item *item, const char *page, size_t count)
count             201 drivers/target/target_core_fabric_configfs.c 	return count;
count             530 drivers/target/target_core_fabric_configfs.c 		const char *page, size_t count)
count             537 drivers/target/target_core_fabric_configfs.c 	return core_alua_store_tg_pt_gp_info(lun, page, count);
count             552 drivers/target/target_core_fabric_configfs.c 		struct config_item *item, const char *page, size_t count)
count             559 drivers/target/target_core_fabric_configfs.c 	return core_alua_store_offline_bit(lun, page, count);
count             574 drivers/target/target_core_fabric_configfs.c 		struct config_item *item, const char *page, size_t count)
count             581 drivers/target/target_core_fabric_configfs.c 	return core_alua_store_secondary_status(lun, page, count);
count             596 drivers/target/target_core_fabric_configfs.c 		struct config_item *item, const char *page, size_t count)
count             603 drivers/target/target_core_fabric_configfs.c 	return core_alua_store_secondary_write_metadata(lun, page, count);
count             106 drivers/target/target_core_fabric_lib.c 	unsigned len, count, leading_zero_bytes;
count             116 drivers/target/target_core_fabric_lib.c 	count = min(len / 2, 16U);
count             117 drivers/target/target_core_fabric_lib.c 	leading_zero_bytes = 16 - count;
count             119 drivers/target/target_core_fabric_lib.c 	rc = hex2bin(buf + 8 + leading_zero_bytes, p, count);
count             715 drivers/target/target_core_file.c 		const char *page, ssize_t count)
count             798 drivers/target/target_core_file.c 	return (!ret) ? count : ret;
count             532 drivers/target/target_core_iblock.c 		const char *page, ssize_t count)
count             593 drivers/target/target_core_iblock.c 	return (!ret) ? count : ret;
count             718 drivers/target/target_core_pscsi.c 		const char *page, ssize_t count)
count             791 drivers/target/target_core_pscsi.c 	return (!ret) ? count : ret;
count             543 drivers/target/target_core_rd.c 		const char *page, ssize_t count)
count             583 drivers/target/target_core_rd.c 	return count;
count             349 drivers/target/target_core_sbc.c 	int i, count;
count             385 drivers/target/target_core_sbc.c 	for_each_sg(cmd->t_bidi_data_sg, sg, cmd->t_bidi_data_nents, count) {
count             749 drivers/target/target_core_user.c 	uint32_t count = 0;
count             761 drivers/target/target_core_user.c 		count = DIV_ROUND_UP(se_cmd->data_length, DATA_BLOCK_SIZE);
count             767 drivers/target/target_core_user.c 	tcmu_cmd_set_dbi_cur(cmd, count);
count            2154 drivers/target/target_core_user.c 		const char *page, ssize_t count)
count            2213 drivers/target/target_core_user.c 	return (!ret) ? count : ret;
count            2254 drivers/target/target_core_user.c 				       size_t count)
count            2273 drivers/target/target_core_user.c 	return count;
count            2289 drivers/target/target_core_user.c 					 const char *page, size_t count)
count            2309 drivers/target/target_core_user.c 	return count;
count            2355 drivers/target/target_core_user.c 				     size_t count)
count            2378 drivers/target/target_core_user.c 		return count;
count            2382 drivers/target/target_core_user.c 	return count;
count            2416 drivers/target/target_core_user.c 				   size_t count)
count            2437 drivers/target/target_core_user.c 	return count;
count            2452 drivers/target/target_core_user.c 		const char *page, size_t count)
count            2465 drivers/target/target_core_user.c 	return count;
count            2498 drivers/target/target_core_user.c 					      const char *page, size_t count)
count            2520 drivers/target/target_core_user.c 	return count;
count            2538 drivers/target/target_core_user.c 				    size_t count)
count            2565 drivers/target/target_core_user.c 	return count;
count            2570 drivers/target/target_core_user.c 				     size_t count)
count            2594 drivers/target/target_core_user.c 	return count;
count              38 drivers/target/tcm_fc/tfc_cmd.c 	int count;
count              48 drivers/target/tcm_fc/tfc_cmd.c 	for_each_sg(se_cmd->t_data_sg, sg, se_cmd->t_data_nents, count)
count             134 drivers/target/tcm_fc/tfc_conf.c 		const char *page, size_t count)
count             140 drivers/target/tcm_fc/tfc_conf.c 	return ft_wwn_store(&acl->node_auth.port_name, page, count);
count             154 drivers/target/tcm_fc/tfc_conf.c 		const char *page, size_t count)
count             160 drivers/target/tcm_fc/tfc_conf.c 	return ft_wwn_store(&acl->node_auth.node_name, page, count);
count             173 drivers/target/tcm_fc/tfc_conf.c 		const char *page, size_t count)
count             182 drivers/target/tcm_fc/tfc_conf.c 	return count;
count             303 drivers/thermal/clock_cooling.c 	unsigned long count = 0;
count             306 drivers/thermal/clock_cooling.c 	ret = clock_cooling_get_property(ccdev, 0, &count, GET_MAXL);
count             308 drivers/thermal/clock_cooling.c 		*state = count;
count              24 drivers/thermal/fair_share.c 	int count = 0;
count              31 drivers/thermal/fair_share.c 	for (count = 0; count < tz->trips; count++) {
count              32 drivers/thermal/fair_share.c 		tz->ops->get_trip_temp(tz, count, &trip_temp);
count              41 drivers/thermal/fair_share.c 	if (count > 0) {
count              42 drivers/thermal/fair_share.c 		tz->ops->get_trip_type(tz, count - 1, &trip_type);
count              43 drivers/thermal/fair_share.c 		trace_thermal_zone_trip(tz, count - 1, trip_type);
count              46 drivers/thermal/fair_share.c 	return count;
count              91 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	*trt_count = p->package.count;
count             170 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	*art_count = p->package.count - 1;
count             232 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	int count;
count             237 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	ret = acpi_parse_art(acpi_thermal_rel_handle, &count, &arts, false);
count             240 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	art_len = count * sizeof(union art_object);
count             247 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	for (i = 0; i < count; i++) {
count             268 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	int count;
count             273 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	ret = acpi_parse_trt(acpi_thermal_rel_handle, &count, &trts, false);
count             276 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	trt_len = count * sizeof(union trt_object);
count             283 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	for (i = 0; i < count; i++) {
count             304 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 	int count = 0;
count             311 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		ret = acpi_parse_trt(acpi_thermal_rel_handle, &count,
count             315 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 			return put_user(count, (unsigned long __user *)__arg);
count             318 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		ret = acpi_parse_trt(acpi_thermal_rel_handle, &count,
count             321 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		length = count * sizeof(union trt_object);
count             328 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		ret = acpi_parse_art(acpi_thermal_rel_handle, &count,
count             332 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 			return put_user(count, (unsigned long __user *)__arg);
count             335 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		ret = acpi_parse_art(acpi_thermal_rel_handle, &count,
count             338 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c 		length = count * sizeof(union art_object);
count              91 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 				  const char *buf, size_t count)
count             101 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 			return count;
count             139 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 	for (i = 0; i < obja->package.count; i++) {
count             190 drivers/thermal/intel/int340x_thermal/int3403_thermal.c 	obj->max_state = p->package.count - 1;
count             116 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 					d->br->count, lower_limit);
count             121 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 					d->br->count, upper_limit);
count             125 drivers/thermal/intel/int340x_thermal/int3406_thermal.c 	d->upper_limit = d->upper_limit > 0 ? d->upper_limit : d->br->count - 1;
count             183 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 				size_t count)
count             204 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	return count;
count             296 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	if (!p->package.count) {
count             302 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	for (i = 0; i < min((int)p->package.count - 1, 2); ++i) {
count             305 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 		    elements->package.count != 6) {
count              81 drivers/thermal/intel/intel_powerclamp.c 	unsigned int count;
count             248 drivers/thermal/intel/intel_powerclamp.c 	u64 count = 0;
count             254 drivers/thermal/intel/intel_powerclamp.c 				count += val;
count             261 drivers/thermal/intel/intel_powerclamp.c 	return count;
count             385 drivers/thermal/intel/intel_powerclamp.c 	w_data->count++;
count             422 drivers/thermal/intel/intel_powerclamp.c 	    !(w_data->count % w_data->window_size_now)) {
count             487 drivers/thermal/intel/intel_powerclamp.c 	w_data->count = 0;
count              47 drivers/thermal/of-thermal.c 	unsigned int count;
count             220 drivers/thermal/of-thermal.c 		for (j = 0; j < tbp->count; j++) {
count             255 drivers/thermal/of-thermal.c 		for (j = 0; j < tbp->count; j++) {
count             686 drivers/thermal/of-thermal.c 	int ret, i, count;
count             713 drivers/thermal/of-thermal.c 	count = of_count_phandle_with_args(np, "cooling-device",
count             715 drivers/thermal/of-thermal.c 	if (!count) {
count             720 drivers/thermal/of-thermal.c 	__tcbp = kcalloc(count, sizeof(*__tcbp), GFP_KERNEL);
count             724 drivers/thermal/of-thermal.c 	for (i = 0; i < count; i++) {
count             743 drivers/thermal/of-thermal.c 	__tbp->count = count;
count             961 drivers/thermal/of-thermal.c 		for (j = 0; j < tbp->count; j++)
count             988 drivers/thermal/of-thermal.c 		for (j = 0; j < tbp->count; j++)
count             230 drivers/thermal/thermal_core.c 	ssize_t count = 0;
count             236 drivers/thermal/thermal_core.c 		size = PAGE_SIZE - count;
count             237 drivers/thermal/thermal_core.c 		count += scnprintf(buf + count, size, "%s ", pos->name);
count             239 drivers/thermal/thermal_core.c 	count += scnprintf(buf + count, size, "\n");
count             243 drivers/thermal/thermal_core.c 	return count;
count             477 drivers/thermal/thermal_core.c 	int count;
count             491 drivers/thermal/thermal_core.c 	for (count = 0; count < tz->trips; count++)
count             492 drivers/thermal/thermal_core.c 		handle_thermal_trip(tz, count);
count            1245 drivers/thermal/thermal_core.c 	int count;
count            1309 drivers/thermal/thermal_core.c 	for (count = 0; count < trips; count++) {
count            1310 drivers/thermal/thermal_core.c 		if (tz->ops->get_trip_type(tz, count, &trip_type))
count            1311 drivers/thermal/thermal_core.c 			set_bit(count, &tz->trips_disabled);
count            1312 drivers/thermal/thermal_core.c 		if (tz->ops->get_trip_temp(tz, count, &trip_temp))
count            1313 drivers/thermal/thermal_core.c 			set_bit(count, &tz->trips_disabled);
count            1316 drivers/thermal/thermal_core.c 			set_bit(count, &tz->trips_disabled);
count              80 drivers/thermal/thermal_helpers.c 	int count;
count              92 drivers/thermal/thermal_helpers.c 		for (count = 0; count < tz->trips; count++) {
count              93 drivers/thermal/thermal_helpers.c 			ret = tz->ops->get_trip_type(tz, count, &type);
count              95 drivers/thermal/thermal_helpers.c 				ret = tz->ops->get_trip_temp(tz, count,
count              24 drivers/thermal/thermal_hwmon.c 	int count;
count             165 drivers/thermal/thermal_hwmon.c 	hwmon->count++;
count             168 drivers/thermal/thermal_hwmon.c 		 "temp%d_input", hwmon->count);
count             180 drivers/thermal/thermal_hwmon.c 				"temp%d_crit", hwmon->count);
count              68 drivers/thermal/thermal_sysfs.c 	   const char *buf, size_t count)
count              86 drivers/thermal/thermal_sysfs.c 	return count;
count             123 drivers/thermal/thermal_sysfs.c 		      const char *buf, size_t count)
count             144 drivers/thermal/thermal_sysfs.c 	return count;
count             171 drivers/thermal/thermal_sysfs.c 		      const char *buf, size_t count)
count             196 drivers/thermal/thermal_sysfs.c 	return ret ? ret : count;
count             220 drivers/thermal/thermal_sysfs.c 	      const char *buf, size_t count)
count             249 drivers/thermal/thermal_sysfs.c 	return count;
count             263 drivers/thermal/thermal_sysfs.c 	     const char *buf, size_t count)
count             273 drivers/thermal/thermal_sysfs.c 		ret = count;
count             296 drivers/thermal/thermal_sysfs.c 		const char *buf, size_t count)
count             316 drivers/thermal/thermal_sysfs.c 	return ret ? ret : count;
count             335 drivers/thermal/thermal_sysfs.c 			const char *buf, size_t count)
count             348 drivers/thermal/thermal_sysfs.c 	return count;
count             366 drivers/thermal/thermal_sysfs.c 		const char *buf, size_t count)				\
count             379 drivers/thermal/thermal_sysfs.c 		return count;						\
count             470 drivers/thermal/thermal_sysfs.c 	int count, passive = 0;
count             474 drivers/thermal/thermal_sysfs.c 	for (count = 0; count < tz->trips && !passive; count++) {
count             475 drivers/thermal/thermal_sysfs.c 		tz->ops->get_trip_type(tz, count, &trip_type);
count             703 drivers/thermal/thermal_sysfs.c 		const char *buf, size_t count)
count             722 drivers/thermal/thermal_sysfs.c 	return result ? result : count;
count             824 drivers/thermal/thermal_sysfs.c 	    size_t count)
count             842 drivers/thermal/thermal_sysfs.c 	return count;
count             991 drivers/thermal/thermal_sysfs.c 		     const char *buf, size_t count)
count            1003 drivers/thermal/thermal_sysfs.c 	return count;
count             166 drivers/thunderbolt/domain.c 			      const char *buf, size_t count)
count             179 drivers/thunderbolt/domain.c 	if (count > (UUID_STRING_LEN + 1) * tb->nboot_acl + 1)
count             181 drivers/thunderbolt/domain.c 	if (count < tb->nboot_acl - 1)
count             237 drivers/thunderbolt/domain.c 	return ret ?: count;
count             137 drivers/thunderbolt/eeprom.c 		size_t count)
count             152 drivers/thunderbolt/eeprom.c 	for (i = 0; i < count; i++) {
count            1095 drivers/thunderbolt/switch.c 				const char *buf, size_t count)
count            1112 drivers/thunderbolt/switch.c 	return ret ? ret : count;
count            1162 drivers/thunderbolt/switch.c 			 const char *buf, size_t count)
count            1166 drivers/thunderbolt/switch.c 	ssize_t ret = count;
count            1230 drivers/thunderbolt/switch.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1288 drivers/thunderbolt/switch.c 	return count;
count              98 drivers/thunderbolt/tb_regs.h 	u32 count:4; /* number of link controllers */
count              48 drivers/tty/amiserial.c  tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s)
count             830 drivers/tty/amiserial.c static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count)
count             847 drivers/tty/amiserial.c 		if (count < c)
count             848 drivers/tty/amiserial.c 			c = count;
count             856 drivers/tty/amiserial.c 		count -= c;
count            1448 drivers/tty/amiserial.c 	info->tport.count = 0;
count            1466 drivers/tty/amiserial.c 	port->count++;
count            1761 drivers/tty/amiserial.c 				unsigned count)
count            1767 drivers/tty/amiserial.c 	while (count--) {
count            1567 drivers/tty/cyclades.c 			info->port.count);
count            1569 drivers/tty/cyclades.c 	info->port.count++;
count            1572 drivers/tty/cyclades.c 		current->pid, info->port.count);
count            1764 drivers/tty/cyclades.c static int cy_write(struct tty_struct *tty, const unsigned char *buf, int count)
count            1782 drivers/tty/cyclades.c 		c = min(count, (int)(SERIAL_XMIT_SIZE - info->xmit_cnt - 1));
count            1793 drivers/tty/cyclades.c 		count -= c;
count            3939 drivers/tty/cyclades.c 			if (info->port.count) {
count             140 drivers/tty/ehv_bytechan.c 					       unsigned int *count,
count             144 drivers/tty/ehv_bytechan.c 	unsigned int c = *count;
count             151 drivers/tty/ehv_bytechan.c 	return ev_byte_channel_send(handle, count, p);
count             168 drivers/tty/ehv_bytechan.c 	int ret, count;
count             171 drivers/tty/ehv_bytechan.c 		count = 1;
count             173 drivers/tty/ehv_bytechan.c 					   &count, &data);
count             231 drivers/tty/ehv_bytechan.c 			     unsigned int count)
count             236 drivers/tty/ehv_bytechan.c 	while (count) {
count             237 drivers/tty/ehv_bytechan.c 		len = min_t(unsigned int, count, EV_BYTE_CHANNEL_MAX_BYTES);
count             241 drivers/tty/ehv_bytechan.c 		count -= len;
count             259 drivers/tty/ehv_bytechan.c 				 unsigned int count)
count             265 drivers/tty/ehv_bytechan.c 	for (i = 0; i < count; i++) {
count             351 drivers/tty/ehv_bytechan.c 	int count;
count             360 drivers/tty/ehv_bytechan.c 	count = tty_buffer_request_room(&bc->port, rx_count);
count             368 drivers/tty/ehv_bytechan.c 	while (count > 0) {
count             369 drivers/tty/ehv_bytechan.c 		len = min_t(unsigned int, count, sizeof(buffer));
count             392 drivers/tty/ehv_bytechan.c 		count -= len;
count             409 drivers/tty/ehv_bytechan.c 	unsigned int count;
count             425 drivers/tty/ehv_bytechan.c 		count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE);
count             427 drivers/tty/ehv_bytechan.c 	} while (count && !ret);
count             470 drivers/tty/ehv_bytechan.c 			    int count)
count             480 drivers/tty/ehv_bytechan.c 		if (count < len)
count             481 drivers/tty/ehv_bytechan.c 			len = count;
count             491 drivers/tty/ehv_bytechan.c 		count -= len;
count             543 drivers/tty/ehv_bytechan.c 	int count;
count             546 drivers/tty/ehv_bytechan.c 	count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZE);
count             549 drivers/tty/ehv_bytechan.c 	return count;
count             755 drivers/tty/ehv_bytechan.c 	unsigned int count = 0; /* Number of elements in bcs[] */
count             762 drivers/tty/ehv_bytechan.c 		count++;
count             764 drivers/tty/ehv_bytechan.c 	if (!count)
count             772 drivers/tty/ehv_bytechan.c 	bcs = kcalloc(count, sizeof(struct ehv_bc_data), GFP_KERNEL);
count             776 drivers/tty/ehv_bytechan.c 	ehv_bc_driver = alloc_tty_driver(count);
count              55 drivers/tty/goldfish.c 		     unsigned int count,
count              64 drivers/tty/goldfish.c 	writel(count, base + GOLDFISH_TTY_REG_DATA_LEN);
count              78 drivers/tty/goldfish.c 			    unsigned int count,
count              90 drivers/tty/goldfish.c 		unsigned long addr_end = addr + count;
count             124 drivers/tty/goldfish.c 		do_rw_io(qtty, addr, count, is_write);
count             129 drivers/tty/goldfish.c 				  unsigned int count)
count             134 drivers/tty/goldfish.c 	goldfish_tty_rw(qtty, address, count, 1);
count             143 drivers/tty/goldfish.c 	u32 count;
count             145 drivers/tty/goldfish.c 	count = readl(base + GOLDFISH_TTY_REG_BYTES_READY);
count             146 drivers/tty/goldfish.c 	if (count == 0)
count             149 drivers/tty/goldfish.c 	count = tty_prepare_flip_string(&qtty->port, &buf, count);
count             152 drivers/tty/goldfish.c 	goldfish_tty_rw(qtty, address, count, 0);
count             190 drivers/tty/goldfish.c 								int count)
count             192 drivers/tty/goldfish.c 	goldfish_tty_do_write(tty->index, buf, count);
count             193 drivers/tty/goldfish.c 	return count;
count             209 drivers/tty/goldfish.c 								unsigned count)
count             211 drivers/tty/goldfish.c 	goldfish_tty_do_write(co->index, b, count);
count             152 drivers/tty/hvc/hvc_console.c 			      unsigned count)
count             166 drivers/tty/hvc/hvc_console.c 	while (count > 0 || i > 0) {
count             167 drivers/tty/hvc/hvc_console.c 		if (count > 0 && i < sizeof(c)) {
count             174 drivers/tty/hvc/hvc_console.c 				--count;
count             355 drivers/tty/hvc/hvc_console.c 	if (hp->port.count++ > 0) {
count             399 drivers/tty/hvc/hvc_console.c 	if (--hp->port.count == 0) {
count             425 drivers/tty/hvc/hvc_console.c 		if (hp->port.count < 0)
count             427 drivers/tty/hvc/hvc_console.c 				hp->vtermno, hp->port.count);
count             457 drivers/tty/hvc/hvc_console.c 	if (hp->port.count <= 0) {
count             462 drivers/tty/hvc/hvc_console.c 	hp->port.count = 0;
count             499 drivers/tty/hvc/hvc_console.c static int hvc_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             510 drivers/tty/hvc/hvc_console.c 	if (hp->port.count <= 0)
count             513 drivers/tty/hvc/hvc_console.c 	while (count > 0) {
count             521 drivers/tty/hvc/hvc_console.c 			if (rsize > count)
count             522 drivers/tty/hvc/hvc_console.c 				rsize = count;
count             524 drivers/tty/hvc/hvc_console.c 			count -= rsize;
count             538 drivers/tty/hvc/hvc_console.c 		if (count) {
count             635 drivers/tty/hvc/hvc_console.c 	int i, n, count, poll_mask = 0;
count             677 drivers/tty/hvc/hvc_console.c 	count = tty_buffer_request_room(&hp->port, N_INBUF);
count             680 drivers/tty/hvc/hvc_console.c 	if (count == 0) {
count             685 drivers/tty/hvc/hvc_console.c 	n = hp->ops->get_chars(hp->vtermno, buf, count);
count              55 drivers/tty/hvc/hvc_console.h 	int (*get_chars)(uint32_t vtermno, char *buf, int count);
count              56 drivers/tty/hvc/hvc_console.h 	int (*put_chars)(uint32_t vtermno, const char *buf, int count);
count              15 drivers/tty/hvc/hvc_dcc.c static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count)
count              19 drivers/tty/hvc/hvc_dcc.c 	for (i = 0; i < count; i++) {
count              26 drivers/tty/hvc/hvc_dcc.c 	return count;
count              29 drivers/tty/hvc/hvc_dcc.c static int hvc_dcc_get_chars(uint32_t vt, char *buf, int count)
count              33 drivers/tty/hvc/hvc_dcc.c 	for (i = 0; i < count; ++i)
count             220 drivers/tty/hvc/hvc_iucv.c 			  char *buf, int count, int *has_more_data)
count             270 drivers/tty/hvc/hvc_iucv.c 		written = min_t(int, rb->mbuf->datalen - rb->offset, count);
count             316 drivers/tty/hvc/hvc_iucv.c static int hvc_iucv_get_chars(uint32_t vtermno, char *buf, int count)
count             322 drivers/tty/hvc/hvc_iucv.c 	if (count <= 0)
count             330 drivers/tty/hvc/hvc_iucv.c 	written = hvc_iucv_write(priv, buf, count, &has_more_data);
count             357 drivers/tty/hvc/hvc_iucv.c 			  int count)
count             362 drivers/tty/hvc/hvc_iucv.c 		return count;			/* ignore data */
count             367 drivers/tty/hvc/hvc_iucv.c 	len = min_t(size_t, count, SNDBUF_SIZE - priv->sndbuf_len);
count             461 drivers/tty/hvc/hvc_iucv.c static int hvc_iucv_put_chars(uint32_t vtermno, const char *buf, int count)
count             466 drivers/tty/hvc/hvc_iucv.c 	if (count <= 0)
count             473 drivers/tty/hvc/hvc_iucv.c 	queued = hvc_iucv_queue(priv, buf, count);
count            1233 drivers/tty/hvc/hvc_iucv.c 	size_t size, count;
count            1236 drivers/tty/hvc/hvc_iucv.c 	count = strlen(val);
count            1237 drivers/tty/hvc/hvc_iucv.c 	if (count == 0 || (count == 1 && val[0] == '\n')) {
count            1259 drivers/tty/hvc/hvc_iucv.c 	count = size;
count            1261 drivers/tty/hvc/hvc_iucv.c 	while (*residual && count) {
count            1263 drivers/tty/hvc/hvc_iucv.c 						 array + ((size - count) * 8));
count            1269 drivers/tty/hvc/hvc_iucv.c 		count--;
count              61 drivers/tty/hvc/hvc_opal.c static int hvc_opal_hvsi_get_chars(uint32_t vtermno, char *buf, int count)
count              68 drivers/tty/hvc/hvc_opal.c 	return hvsilib_get_chars(&pv->hvsi, buf, count);
count              71 drivers/tty/hvc/hvc_opal.c static int hvc_opal_hvsi_put_chars(uint32_t vtermno, const char *buf, int count)
count              78 drivers/tty/hvc/hvc_opal.c 	return hvsilib_put_chars(&pv->hvsi, buf, count);
count             272 drivers/tty/hvc/hvc_opal.c 	int count = -1;
count             280 drivers/tty/hvc/hvc_opal.c 			count = opal_put_chars(termno, &c, 1);
count             283 drivers/tty/hvc/hvc_opal.c 			count = hvc_opal_hvsi_put_chars(termno, &c, 1);
count             291 drivers/tty/hvc/hvc_opal.c 	} while(count == 0 || count == -EAGAIN);
count              18 drivers/tty/hvc/hvc_riscv_sbi.c static int hvc_sbi_tty_put(uint32_t vtermno, const char *buf, int count)
count              22 drivers/tty/hvc/hvc_riscv_sbi.c 	for (i = 0; i < count; i++)
count              28 drivers/tty/hvc/hvc_riscv_sbi.c static int hvc_sbi_tty_get(uint32_t vtermno, char *buf, int count)
count              32 drivers/tty/hvc/hvc_riscv_sbi.c 	for (i = 0; i < count; i++) {
count              35 drivers/tty/hvc/hvc_rtas.c 		int count)
count              39 drivers/tty/hvc/hvc_rtas.c 	for (i = 0; i < count; i++) {
count              47 drivers/tty/hvc/hvc_rtas.c static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count)
count              51 drivers/tty/hvc/hvc_rtas.c 	for (i = 0; i < count; i++) {
count              22 drivers/tty/hvc/hvc_udbg.c static int hvc_udbg_put(uint32_t vtermno, const char *buf, int count)
count              26 drivers/tty/hvc/hvc_udbg.c 	for (i = 0; i < count && udbg_putc; i++)
count              32 drivers/tty/hvc/hvc_udbg.c static int hvc_udbg_get(uint32_t vtermno, char *buf, int count)
count              39 drivers/tty/hvc/hvc_udbg.c 	for (i = 0; i < count; i++) {
count              69 drivers/tty/hvc/hvc_vio.c static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count)
count              83 drivers/tty/hvc/hvc_vio.c 		pv->left = hvc_get_chars(pv->termno, pv->buf, count);
count             100 drivers/tty/hvc/hvc_vio.c 	got = min(count, pv->left);
count             118 drivers/tty/hvc/hvc_vio.c static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count)
count             125 drivers/tty/hvc/hvc_vio.c 	return hvc_put_chars(pv->termno, buf, count);
count             136 drivers/tty/hvc/hvc_vio.c static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count)
count             143 drivers/tty/hvc/hvc_vio.c 	return hvsilib_get_chars(&pv->hvsi, buf, count);
count             146 drivers/tty/hvc/hvc_vio.c static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count)
count             153 drivers/tty/hvc/hvc_vio.c 	return hvsilib_put_chars(&pv->hvsi, buf, count);
count             229 drivers/tty/hvc/hvc_vio.c 	int count = -1;
count             246 drivers/tty/hvc/hvc_vio.c 			count = hvterm_raw_put_chars(0, bounce_buffer, 1);
count             249 drivers/tty/hvc/hvc_vio.c 			count = hvterm_hvsi_put_chars(0, &c, 1);
count             252 drivers/tty/hvc/hvc_vio.c 	} while(count == 0);
count             300 drivers/tty/hvc/hvcs.c 		const unsigned char *buf, int count);
count             367 drivers/tty/hvc/hvcs.c 		size_t count)
count             394 drivers/tty/hvc/hvcs.c 		size_t count)
count             406 drivers/tty/hvc/hvcs.c 	if (hvcsd->port.count > 0) {
count             428 drivers/tty/hvc/hvcs.c 	return count;
count             481 drivers/tty/hvc/hvcs.c 		size_t count)
count             492 drivers/tty/hvc/hvcs.c 	return count;
count            1116 drivers/tty/hvc/hvcs.c 	hvcsd->port.count = 0;
count            1169 drivers/tty/hvc/hvcs.c 	hvcsd->port.count++;
count            1205 drivers/tty/hvc/hvcs.c 	if (--hvcsd->port.count == 0) {
count            1230 drivers/tty/hvc/hvcs.c 	} else if (hvcsd->port.count < 0) {
count            1232 drivers/tty/hvc/hvcs.c 		hvcsd->vdev->unit_address, hvcsd->port.count);
count            1254 drivers/tty/hvc/hvcs.c 	temp_open_count = hvcsd->port.count;
count            1269 drivers/tty/hvc/hvcs.c 	hvcsd->port.count = 0;
count            1306 drivers/tty/hvc/hvcs.c 		const unsigned char *buf, int count)
count            1324 drivers/tty/hvc/hvcs.c 	if (count > HVCS_MAX_FROM_USER) {
count            1327 drivers/tty/hvc/hvcs.c 		count = HVCS_MAX_FROM_USER;
count            1340 drivers/tty/hvc/hvcs.c 	if (hvcsd->port.count <= 0) {
count            1347 drivers/tty/hvc/hvcs.c 	while (count > 0) {
count            1348 drivers/tty/hvc/hvcs.c 		tosend = min(count, (HVCS_BUFF_LEN - hvcsd->chars_in_buffer));
count            1381 drivers/tty/hvc/hvcs.c 		count-=tosend;
count            1414 drivers/tty/hvc/hvcs.c 	if (!hvcsd || hvcsd->port.count <= 0)
count             216 drivers/tty/hvc/hvsi.c static int hvsi_read(struct hvsi_struct *hp, char *buf, int count)
count             220 drivers/tty/hvc/hvsi.c 	got = hvc_get_chars(hp->vtermno, buf, count);
count             664 drivers/tty/hvc/hvsi.c static int hvsi_put_chars(struct hvsi_struct *hp, const char *buf, int count)
count             669 drivers/tty/hvc/hvsi.c 	BUG_ON(count > HVSI_MAX_OUTGOING_DATA);
count             673 drivers/tty/hvc/hvsi.c 	packet.hdr.len = count + sizeof(struct hvsi_header);
count             674 drivers/tty/hvc/hvsi.c 	memcpy(&packet.data, buf, count);
count             679 drivers/tty/hvc/hvsi.c 		return count;
count             717 drivers/tty/hvc/hvsi.c 	hp->port.count++;
count             774 drivers/tty/hvc/hvsi.c 	if (--hp->port.count == 0) {
count             807 drivers/tty/hvc/hvsi.c 	} else if (hp->port.count < 0)
count             809 drivers/tty/hvc/hvsi.c 		       hp - hvsi_ports, hp->port.count);
count             824 drivers/tty/hvc/hvsi.c 	hp->port.count = 0;
count             908 drivers/tty/hvc/hvsi.c 		     const unsigned char *buf, int count)
count             914 drivers/tty/hvc/hvsi.c 	int origcount = count;
count             931 drivers/tty/hvc/hvsi.c 	while ((count > 0) && (hvsi_write_room(tty) > 0)) {
count             932 drivers/tty/hvc/hvsi.c 		int chunksize = min(count, hvsi_write_room(tty));
count             940 drivers/tty/hvc/hvsi.c 		count -= chunksize;
count            1084 drivers/tty/hvc/hvsi.c 		unsigned int count)
count            1099 drivers/tty/hvc/hvsi.c 	while (count > 0 || i > 0) {
count            1100 drivers/tty/hvc/hvsi.c 		if (count > 0 && i < sizeof(c)) {
count            1107 drivers/tty/hvc/hvsi.c 				--count;
count             181 drivers/tty/hvc/hvsi_lib.c int hvsilib_get_chars(struct hvsi_priv *pv, char *buf, int count)
count             199 drivers/tty/hvc/hvsi_lib.c 	for (tries = 1; count && tries < 2; tries++) {
count             202 drivers/tty/hvc/hvsi_lib.c 			unsigned int l = min(count, (int)pv->inbuf_pktlen);
count             206 drivers/tty/hvc/hvsi_lib.c 			count -= l;
count             209 drivers/tty/hvc/hvsi_lib.c 		if (count == 0)
count             231 drivers/tty/hvc/hvsi_lib.c int hvsilib_put_chars(struct hvsi_priv *pv, const char *buf, int count)
count             234 drivers/tty/hvc/hvsi_lib.c 	int rc, adjcount = min(count, HVSI_MAX_OUTGOING_DATA);
count             414 drivers/tty/hvc/hvsi_lib.c 		  int (*get_chars)(uint32_t termno, char *buf, int count),
count             416 drivers/tty/hvc/hvsi_lib.c 				   int count),
count              97 drivers/tty/ipwireless/tty.c 	if (tty->port.count == 0)
count             100 drivers/tty/ipwireless/tty.c 	tty->port.count++;
count             116 drivers/tty/ipwireless/tty.c 	tty->port.count--;
count             118 drivers/tty/ipwireless/tty.c 	if (tty->port.count == 0) {
count             139 drivers/tty/ipwireless/tty.c 	if (tty->port.count == 0) {
count             162 drivers/tty/ipwireless/tty.c 	if (!tty->port.count) {
count             192 drivers/tty/ipwireless/tty.c 		     const unsigned char *buf, int count)
count             201 drivers/tty/ipwireless/tty.c 	if (!tty->port.count) {
count             210 drivers/tty/ipwireless/tty.c 	if (count > room)
count             211 drivers/tty/ipwireless/tty.c 		count = room;
count             213 drivers/tty/ipwireless/tty.c 	if (count == 0) {
count             219 drivers/tty/ipwireless/tty.c 			       buf, count,
count             226 drivers/tty/ipwireless/tty.c 	tty->tx_bytes_queued += count;
count             229 drivers/tty/ipwireless/tty.c 	return count;
count             241 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             259 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             281 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             362 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             378 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             392 drivers/tty/ipwireless/tty.c 	if (!tty->port.count)
count             539 drivers/tty/ipwireless/tty.c 			while (ttyj->port.count)
count             192 drivers/tty/isicom.c 	signed char		count;
count             221 drivers/tty/isicom.c 	unsigned int count = 0;
count             223 drivers/tty/isicom.c 	while (!(inw(base + 0xe) & 0x1) && count++ < 100)
count             397 drivers/tty/isicom.c 	short count = (BOARD_COUNT-1), card;
count             404 drivers/tty/isicom.c 	while (count-- > 0) {
count             414 drivers/tty/isicom.c 	count = isi_card[card].port_count;
count             431 drivers/tty/isicom.c 	for (; count > 0; count--, port++) {
count             513 drivers/tty/isicom.c 	u16 header, word_count, count, channel;
count             644 drivers/tty/isicom.c 		count = tty_prepare_flip_string(&port->port, &rp,
count             647 drivers/tty/isicom.c 			 __func__, count, byte_count);
count             648 drivers/tty/isicom.c 		word_count = count >> 1;
count             651 drivers/tty/isicom.c 		if (count & 0x0001) {
count             785 drivers/tty/isicom.c 	bp->count++;
count             875 drivers/tty/isicom.c 	if (--card->count < 0) {
count             877 drivers/tty/isicom.c 			 __func__, card->base, card->count);
count             878 drivers/tty/isicom.c 		card->count = 0;
count             881 drivers/tty/isicom.c 	if (!card->count)
count             933 drivers/tty/isicom.c 	int count)
count             946 drivers/tty/isicom.c 		cnt = min_t(int, count, min(SERIAL_XMIT_SIZE - port->xmit_cnt
count             956 drivers/tty/isicom.c 		count -= cnt;
count            1348 drivers/tty/isicom.c 		u16	count;
count            1382 drivers/tty/isicom.c 				frame->count)) {
count            1390 drivers/tty/isicom.c 		word_count = frame->count / 2 + frame->count % 2;
count            1405 drivers/tty/isicom.c 				 index + 1, frame->addr, frame->count, status);
count            1430 drivers/tty/isicom.c 				frame->count)) {
count            1438 drivers/tty/isicom.c 		word_count = (frame->count >> 1) + frame->count % 2;
count            1453 drivers/tty/isicom.c 				 index + 1, frame->addr, frame->count, status);
count            1467 drivers/tty/isicom.c 		for (a = 0; a < frame->count; a++)
count             301 drivers/tty/mips_ejtag_fdc.c 					 unsigned int count)
count             326 drivers/tty/mips_ejtag_fdc.c 	while (count) {
count             331 drivers/tty/mips_ejtag_fdc.c 		for (buf_len = 0, i = 0; buf_len < 4 && i < count; ++buf_len) {
count             343 drivers/tty/mips_ejtag_fdc.c 		count -= inc[word.bytes - 1];
count             727 drivers/tty/mips_ejtag_fdc.c 	unsigned int count;
count             730 drivers/tty/mips_ejtag_fdc.c 	count = dport->xmit_cnt;
count             732 drivers/tty/mips_ejtag_fdc.c 	if (count) {
count             801 drivers/tty/mips_ejtag_fdc.c 	int count, block;
count             822 drivers/tty/mips_ejtag_fdc.c 	for (count = total; count; count -= block) {
count             823 drivers/tty/mips_ejtag_fdc.c 		block = min(count, (int)(priv->xmit_size - dport->xmit_head));
count             830 drivers/tty/mips_ejtag_fdc.c 	count = dport->xmit_cnt;
count             832 drivers/tty/mips_ejtag_fdc.c 	if (count)
count            1179 drivers/tty/moxa.c 	ch->port.count++;
count            1205 drivers/tty/moxa.c 		      const unsigned char *buf, int count)
count            1215 drivers/tty/moxa.c 	len = MoxaPortWriteData(tty, buf, count);
count            1930 drivers/tty/moxa.c 	unsigned int count, len, total;
count            1941 drivers/tty/moxa.c 	count = (tail >= head) ? (tail - head) : (tail - head + rx_mask + 1);
count            1942 drivers/tty/moxa.c 	if (count == 0)
count            1945 drivers/tty/moxa.c 	total = count;
count            1950 drivers/tty/moxa.c 		while (count > 0) {
count            1955 drivers/tty/moxa.c 					min(len, count));
count            1958 drivers/tty/moxa.c 			count -= len;
count            1963 drivers/tty/moxa.c 		while (count > 0) {
count            1967 drivers/tty/moxa.c 					min(Page_size - pageofs, count));
count            1970 drivers/tty/moxa.c 			count -= len;
count            1097 drivers/tty/mxser.c static int mxser_write(struct tty_struct *tty, const unsigned char *buf, int count)
count            1107 drivers/tty/mxser.c 		c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
count            1120 drivers/tty/mxser.c 		count -= c;
count            2161 drivers/tty/mxser.c 	int count, cnt;
count            2186 drivers/tty/mxser.c 	count = port->xmit_fifo_size;
count            2193 drivers/tty/mxser.c 	} while (--count > 0);
count             209 drivers/tty/n_gsm.c 	unsigned int count;
count            1886 drivers/tty/n_gsm.c 			gsm->count = 0;
count            1904 drivers/tty/n_gsm.c 		gsm->count = 0;
count            1911 drivers/tty/n_gsm.c 		gsm->buf[gsm->count++] = c;
count            1912 drivers/tty/n_gsm.c 		if (gsm->count == gsm->len)
count            1942 drivers/tty/n_gsm.c 		if (gsm->state == GSM_DATA && gsm->count) {
count            1944 drivers/tty/n_gsm.c 			gsm->count--;
count            1945 drivers/tty/n_gsm.c 			gsm->fcs = gsm_fcs_add(gsm->fcs, gsm->buf[gsm->count]);
count            1946 drivers/tty/n_gsm.c 			gsm->len = gsm->count;
count            1988 drivers/tty/n_gsm.c 		gsm->count = 0;
count            1992 drivers/tty/n_gsm.c 		if (gsm->count > gsm->mru) {	/* Allow one for the FCS */
count            1996 drivers/tty/n_gsm.c 			gsm->buf[gsm->count++] = c;
count            2405 drivers/tty/n_gsm.c 			      char *fp, int count)
count            2415 drivers/tty/n_gsm.c 				     cp, count);
count            2417 drivers/tty/n_gsm.c 	for (i = count, dp = cp, f = fp; i; i--, dp++) {
count            2982 drivers/tty/n_gsm.c 	port->count++;
count             117 drivers/tty/n_hdlc.c 	int		  count;
count             125 drivers/tty/n_hdlc.c 	int		  count;
count             188 drivers/tty/n_hdlc.c 			       char *fp, int count);
count             399 drivers/tty/n_hdlc.c 				__FILE__,__LINE__,tbuf,tbuf->count);
count             403 drivers/tty/n_hdlc.c 		actual = tty->ops->write(tty, tbuf->buf, tbuf->count);
count             413 drivers/tty/n_hdlc.c 			actual = tbuf->count;
count             415 drivers/tty/n_hdlc.c 		if (actual == tbuf->count) {
count             494 drivers/tty/n_hdlc.c 			       char *flags, int count)
count             501 drivers/tty/n_hdlc.c 			__FILE__,__LINE__, count);
count             514 drivers/tty/n_hdlc.c 	if ( count>maxframe ) {
count             526 drivers/tty/n_hdlc.c 		if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT)
count             538 drivers/tty/n_hdlc.c 	memcpy(buf->buf,data,count);
count             539 drivers/tty/n_hdlc.c 	buf->count=count;
count             596 drivers/tty/n_hdlc.c 			if (rbuf->count > nr) {
count             601 drivers/tty/n_hdlc.c 				if (copy_to_user(buf, rbuf->buf, rbuf->count))
count             604 drivers/tty/n_hdlc.c 					ret = rbuf->count;
count             607 drivers/tty/n_hdlc.c 			if (n_hdlc->rx_free_buf_list.count >
count             646 drivers/tty/n_hdlc.c 			    const unsigned char *data, size_t count)
count             655 drivers/tty/n_hdlc.c 			__FILE__,__LINE__,count);
count             665 drivers/tty/n_hdlc.c 	if (count > maxframe ) {
count             669 drivers/tty/n_hdlc.c 				"from %lu to %d\n", (unsigned long) count,
count             671 drivers/tty/n_hdlc.c 		count = maxframe;
count             708 drivers/tty/n_hdlc.c 		memcpy(tbuf->buf, data, count);
count             711 drivers/tty/n_hdlc.c 		tbuf->count = error = count;
count             734 drivers/tty/n_hdlc.c 	int count;
count             754 drivers/tty/n_hdlc.c 			count = buf->count;
count             756 drivers/tty/n_hdlc.c 			count = 0;
count             758 drivers/tty/n_hdlc.c 		error = put_user(count, (int __user *)arg);
count             763 drivers/tty/n_hdlc.c 		count = tty_chars_in_buffer(tty);
count             769 drivers/tty/n_hdlc.c 			count += buf->count;
count             771 drivers/tty/n_hdlc.c 		error = put_user(count, (int __user *)arg);
count             893 drivers/tty/n_hdlc.c 	buf_list->count++;
count             911 drivers/tty/n_hdlc.c 	buf_list->count++;
count             935 drivers/tty/n_hdlc.c 		buf_list->count--;
count             145 drivers/tty/n_r3964.c 		char *fp, int count);
count            1128 drivers/tty/n_r3964.c 			   const unsigned char *data, size_t count)
count            1135 drivers/tty/n_r3964.c 	TRACE_L("write request, %d characters", count);
count            1146 drivers/tty/n_r3964.c 	if (count > R3964_MTU) {
count            1149 drivers/tty/n_r3964.c 				"packet from %u to mtu %d", count, R3964_MTU);
count            1151 drivers/tty/n_r3964.c 		count = R3964_MTU;
count            1156 drivers/tty/n_r3964.c 	new_data = kmalloc(count + sizeof(struct r3964_block_header),
count            1168 drivers/tty/n_r3964.c 	pHeader->length = count;
count            1177 drivers/tty/n_r3964.c 	memcpy(pHeader->data, data, count);	/* We already verified this */
count            1180 drivers/tty/n_r3964.c 		dump_block(pHeader->data, count);
count            1267 drivers/tty/n_r3964.c 			char *fp, int count)
count            1274 drivers/tty/n_r3964.c 	for (i = count, p = cp, f = fp; i; i--, p++) {
count             163 drivers/tty/n_tracerouter.c 					char *fp, int count)
count             166 drivers/tty/n_tracerouter.c 	n_tracesink_datadrain((u8 *) cp, count);
count             161 drivers/tty/n_tracesink.c void n_tracesink_datadrain(u8 *buf, int count)
count             165 drivers/tty/n_tracesink.c 	if ((buf != NULL) && (count > 0) && (this_tty != NULL))
count             166 drivers/tty/n_tracesink.c 		this_tty->ops->write(this_tty, buf, count);
count              24 drivers/tty/n_tracesink.h void n_tracesink_datadrain(u8 *buf, int count);
count            1512 drivers/tty/n_tty.c 			   char *fp, int count)
count            1518 drivers/tty/n_tty.c 	n = min_t(size_t, count, N_TTY_BUF_SIZE - head);
count            1522 drivers/tty/n_tty.c 	count -= n;
count            1525 drivers/tty/n_tty.c 	n = min_t(size_t, count, N_TTY_BUF_SIZE - head);
count            1532 drivers/tty/n_tty.c 		      char *fp, int count)
count            1537 drivers/tty/n_tty.c 	while (count--) {
count            1549 drivers/tty/n_tty.c 			  char *fp, int count)
count            1553 drivers/tty/n_tty.c 	while (count--) {
count            1563 drivers/tty/n_tty.c 			  char *fp, int count)
count            1568 drivers/tty/n_tty.c 	while (count--) {
count            1584 drivers/tty/n_tty.c 			else if (n_tty_receive_char_special(tty, c) && count) {
count            1588 drivers/tty/n_tty.c 				count--;
count            1597 drivers/tty/n_tty.c 		       char *fp, int count)
count            1602 drivers/tty/n_tty.c 	while (count--) {
count            1610 drivers/tty/n_tty.c 			else if (n_tty_receive_char_special(tty, c) && count) {
count            1614 drivers/tty/n_tty.c 				count--;
count            1622 drivers/tty/n_tty.c 			  char *fp, int count)
count            1628 drivers/tty/n_tty.c 		n_tty_receive_buf_real_raw(tty, cp, fp, count);
count            1630 drivers/tty/n_tty.c 		n_tty_receive_buf_raw(tty, cp, fp, count);
count            1632 drivers/tty/n_tty.c 		n_tty_receive_buf_closing(tty, cp, fp, count);
count            1640 drivers/tty/n_tty.c 			count--;
count            1644 drivers/tty/n_tty.c 			n_tty_receive_buf_fast(tty, cp, fp, count);
count            1646 drivers/tty/n_tty.c 			n_tty_receive_buf_standard(tty, cp, fp, count);
count            1700 drivers/tty/n_tty.c 			 char *fp, int count, int flow)
count            1736 drivers/tty/n_tty.c 		n = min(count, room);
count            1747 drivers/tty/n_tty.c 		count -= n;
count            1769 drivers/tty/n_tty.c 			      char *fp, int count)
count            1771 drivers/tty/n_tty.c 	n_tty_receive_buf_common(tty, cp, fp, count, 0);
count            1775 drivers/tty/n_tty.c 			      char *fp, int count)
count            1777 drivers/tty/n_tty.c 	return n_tty_receive_buf_common(tty, cp, fp, count, 1);
count            2327 drivers/tty/n_tty.c 		if (tty_hung_up_p(file) || (tty->link && !tty->link->count)) {
count            1619 drivers/tty/nozomi.c 		      int count)
count            1631 drivers/tty/nozomi.c 	rval = kfifo_in(&port->fifo_ul, (unsigned char *)buffer, count);
count              50 drivers/tty/pty.c 		WARN_ON(tty->count > 1);
count              54 drivers/tty/pty.c 		if (tty->count > 2)
count             249 drivers/tty/pty.c 	if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1)
count             439 drivers/tty/pty.c 	tty->count++;
count             440 drivers/tty/pty.c 	o_tty->count++;
count             874 drivers/tty/pty.c 	tty_debug_hangup(tty, "opening (count=%d)\n", tty->count);
count             899 drivers/tty/rocket.c 	if (port->count++ == 0) {
count             908 drivers/tty/rocket.c 	printk(KERN_INFO "rp_open ttyR%d, count=%d\n", info->line, info->port.count);
count             973 drivers/tty/rocket.c 	printk(KERN_INFO "rp_close ttyR%d, count = %d\n", info->line, info->port.count);
count            1480 drivers/tty/rocket.c 	if (info->port.count)
count            1553 drivers/tty/rocket.c 		    const unsigned char *buf, int count)
count            1561 drivers/tty/rocket.c 	if (count <= 0 || rocket_paranoia_check(info, "rp_write"))
count            1568 drivers/tty/rocket.c 	printk(KERN_INFO "rp_write %d chars...\n", count);
count            1572 drivers/tty/rocket.c 	if (!tty->stopped && info->xmit_fifo_room < count)
count            1580 drivers/tty/rocket.c 		c = min(count, info->xmit_fifo_room);
count            1592 drivers/tty/rocket.c 		count -= c;
count            1600 drivers/tty/rocket.c 	if (!count)
count            1608 drivers/tty/rocket.c 		c = min(count, XMIT_BUF_SIZE - info->xmit_cnt - 1);
count            1623 drivers/tty/rocket.c 		count -= c;
count            2184 drivers/tty/rocket.c 	int count = 0;
count            2188 drivers/tty/rocket.c 		if (register_PCI(count + boards_found, dev))
count            2189 drivers/tty/rocket.c 			count++;
count            2191 drivers/tty/rocket.c 	return (count);
count              77 drivers/tty/rocket_int.h #define sOutStrW(port, addr, count) if (count) outsw(port, addr, count)
count              78 drivers/tty/rocket_int.h #define sInStrW(port, addr, count) if (count) insw(port, addr, count)
count             236 drivers/tty/serdev/core.c 			    const unsigned char *buf, size_t count)
count             243 drivers/tty/serdev/core.c 	return ctrl->ops->write_buf(ctrl, buf, count);
count             270 drivers/tty/serdev/core.c 			const unsigned char *buf, size_t count,
count             287 drivers/tty/serdev/core.c 		ret = ctrl->ops->write_buf(ctrl, buf, count);
count             293 drivers/tty/serdev/core.c 		count -= ret;
count             295 drivers/tty/serdev/core.c 		if (count == 0)
count              26 drivers/tty/serdev/serdev-ttyport.c 				const unsigned char *fp, size_t count)
count              35 drivers/tty/serdev/serdev-ttyport.c 	ret = serdev_controller_receive_buf(ctrl, cp, count);
count              37 drivers/tty/serdev/serdev-ttyport.c 	dev_WARN_ONCE(&ctrl->dev, ret < 0 || ret > count,
count              39 drivers/tty/serdev/serdev-ttyport.c 				ret, count);
count              42 drivers/tty/serdev/serdev-ttyport.c 	else if (ret > count)
count              43 drivers/tty/serdev/serdev-ttyport.c 		return count;
count             123 drivers/tty/serial/21285.c 	int count = 256;
count             142 drivers/tty/serial/21285.c 	} while (--count > 0 && !(*CSR_UARTFLG & 0x20));
count             380 drivers/tty/serial/21285.c 			  unsigned int count)
count             382 drivers/tty/serial/21285.c 	uart_console_write(&serial21285_port, s, count, serial21285_console_putchar);
count              78 drivers/tty/serial/8250/8250_aspeed_vuart.c 				 const char *buf, size_t count)
count              91 drivers/tty/serial/8250/8250_aspeed_vuart.c 	return count;
count             110 drivers/tty/serial/8250/8250_aspeed_vuart.c 			  const char *buf, size_t count)
count             129 drivers/tty/serial/8250/8250_aspeed_vuart.c 	return count;
count             257 drivers/tty/serial/8250/8250_aspeed_vuart.c 	int space, count;
count             283 drivers/tty/serial/8250/8250_aspeed_vuart.c 			count = min(space, 256);
count             288 drivers/tty/serial/8250/8250_aspeed_vuart.c 				if (--count == 0)
count             582 drivers/tty/serial/8250/8250_core.c 				   unsigned int count)
count             586 drivers/tty/serial/8250/8250_core.c 	serial8250_console_write(up, s, count);
count              49 drivers/tty/serial/8250/8250_dma.c 	int			count;
count              54 drivers/tty/serial/8250/8250_dma.c 	count = dma->rx_size - state.residue;
count              56 drivers/tty/serial/8250/8250_dma.c 	tty_insert_flip_string(tty_port, dma->rx_buf, count);
count              57 drivers/tty/serial/8250/8250_dma.c 	p->port.icount.rx += count;
count             104 drivers/tty/serial/8250/8250_early.c 					const char *s, unsigned int count)
count             109 drivers/tty/serial/8250/8250_early.c 	uart_console_write(port, s, count, serial_putc);
count              67 drivers/tty/serial/8250/8250_ingenic.c 					      const char *s, unsigned int count)
count              69 drivers/tty/serial/8250/8250_ingenic.c 	uart_console_write(&early_device->port, s, count,
count             780 drivers/tty/serial/8250/8250_omap.c 	int                     count;
count             792 drivers/tty/serial/8250/8250_omap.c 	count = dma->rx_size - state.residue;
count             794 drivers/tty/serial/8250/8250_omap.c 	ret = tty_insert_flip_string(tty_port, dma->rx_buf, count);
count             797 drivers/tty/serial/8250/8250_omap.c 	p->port.icount.buf_overrun += count - ret;
count             812 drivers/tty/serial/8250/8250_port.c 	int count;
count             825 drivers/tty/serial/8250/8250_port.c 	for (count = 0; count < 256; count++)
count             826 drivers/tty/serial/8250/8250_port.c 		serial_out(up, UART_TX, count);
count             828 drivers/tty/serial/8250/8250_port.c 	for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) &&
count             829 drivers/tty/serial/8250/8250_port.c 	     (count < 256); count++)
count             837 drivers/tty/serial/8250/8250_port.c 	return count;
count            1727 drivers/tty/serial/8250/8250_port.c 	int count;
count            1744 drivers/tty/serial/8250/8250_port.c 	count = up->tx_loadsz;
count            1758 drivers/tty/serial/8250/8250_port.c 	} while (--count > 0);
count            2945 drivers/tty/serial/8250/8250_port.c 	struct device_attribute *attr, const char *buf, size_t count)
count            2951 drivers/tty/serial/8250/8250_port.c 	if (!count)
count            2962 drivers/tty/serial/8250/8250_port.c 	return count;
count            3146 drivers/tty/serial/8250/8250_port.c 			      unsigned int count)
count            3178 drivers/tty/serial/8250/8250_port.c 	uart_console_write(port, s, count, serial8250_console_putchar);
count             143 drivers/tty/serial/altera_jtaguart.c 	unsigned int pending, count;
count             155 drivers/tty/serial/altera_jtaguart.c 		count = (readl(port->membase + ALTERA_JTAGUART_CONTROL_REG) &
count             158 drivers/tty/serial/altera_jtaguart.c 		if (count > pending)
count             159 drivers/tty/serial/altera_jtaguart.c 			count = pending;
count             160 drivers/tty/serial/altera_jtaguart.c 		if (count > 0) {
count             161 drivers/tty/serial/altera_jtaguart.c 			pending -= count;
count             162 drivers/tty/serial/altera_jtaguart.c 			while (count--) {
count             340 drivers/tty/serial/altera_jtaguart.c 					  unsigned int count)
count             344 drivers/tty/serial/altera_jtaguart.c 	uart_console_write(port, s, count, altera_jtaguart_console_putc);
count             383 drivers/tty/serial/altera_jtaguart.c 					   unsigned int count)
count             387 drivers/tty/serial/altera_jtaguart.c 	uart_console_write(&dev->port, s, count, altera_jtaguart_console_putc);
count             453 drivers/tty/serial/altera_uart.c 				      unsigned int count)
count             457 drivers/tty/serial/altera_uart.c 	uart_console_write(port, s, count, altera_uart_console_putc);
count             503 drivers/tty/serial/altera_uart.c 				       unsigned int count)
count             507 drivers/tty/serial/altera_uart.c 	uart_console_write(&dev->port, s, count, altera_uart_console_putc);
count             174 drivers/tty/serial/amba-pl010.c 	int count;
count             187 drivers/tty/serial/amba-pl010.c 	count = uap->port.fifosize >> 1;
count             194 drivers/tty/serial/amba-pl010.c 	} while (--count > 0);
count             582 drivers/tty/serial/amba-pl010.c pl010_console_write(struct console *co, const char *s, unsigned int count)
count             595 drivers/tty/serial/amba-pl010.c 	uart_console_write(&uap->port, s, count, pl010_console_putchar);
count             605 drivers/tty/serial/amba-pl011.c 	unsigned int count;
count             613 drivers/tty/serial/amba-pl011.c 	count = uart_circ_chars_pending(xmit);
count             614 drivers/tty/serial/amba-pl011.c 	if (count < (uap->fifosize >> 1)) {
count             623 drivers/tty/serial/amba-pl011.c 	count -= 1;
count             626 drivers/tty/serial/amba-pl011.c 	if (count > PL011_DMA_BUFFER_SIZE)
count             627 drivers/tty/serial/amba-pl011.c 		count = PL011_DMA_BUFFER_SIZE;
count             630 drivers/tty/serial/amba-pl011.c 		memcpy(&dmatx->buf[0], &xmit->buf[xmit->tail], count);
count             635 drivers/tty/serial/amba-pl011.c 		if (first > count)
count             636 drivers/tty/serial/amba-pl011.c 			first = count;
count             637 drivers/tty/serial/amba-pl011.c 		second = count - first;
count             644 drivers/tty/serial/amba-pl011.c 	dmatx->sg.length = count;
count             683 drivers/tty/serial/amba-pl011.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             684 drivers/tty/serial/amba-pl011.c 	uap->port.icount.tx += count;
count            1395 drivers/tty/serial/amba-pl011.c 	int count = uap->fifosize >> 1;
count            1401 drivers/tty/serial/amba-pl011.c 		--count;
count            1413 drivers/tty/serial/amba-pl011.c 		if (likely(from_irq) && count-- == 0)
count            2208 drivers/tty/serial/amba-pl011.c pl011_console_write(struct console *co, const char *s, unsigned int count)
count            2235 drivers/tty/serial/amba-pl011.c 	uart_console_write(&uap->port, s, count, pl011_console_putchar);
count             132 drivers/tty/serial/apbuart.c 	int count;
count             147 drivers/tty/serial/apbuart.c 	count = port->fifosize >> 1;
count             154 drivers/tty/serial/apbuart.c 	} while (--count > 0);
count             432 drivers/tty/serial/apbuart.c apbuart_console_write(struct console *co, const char *s, unsigned int count)
count             442 drivers/tty/serial/apbuart.c 	uart_console_write(port, s, count, apbuart_console_putchar);
count             339 drivers/tty/serial/ar933x_uart.c 	int count;
count             344 drivers/tty/serial/ar933x_uart.c 	count = up->port.fifosize;
count             366 drivers/tty/serial/ar933x_uart.c 	} while (--count > 0);
count             542 drivers/tty/serial/ar933x_uart.c 				      unsigned int count)
count             564 drivers/tty/serial/ar933x_uart.c 	uart_console_write(&up->port, s, count, ar933x_uart_console_putchar);
count             529 drivers/tty/serial/arc_uart.c 				     unsigned int count)
count             535 drivers/tty/serial/arc_uart.c 	uart_console_write(port, s, count, arc_serial_console_putchar);
count            1110 drivers/tty/serial/atmel_serial.c 	size_t count;
count            1154 drivers/tty/serial/atmel_serial.c 		count = sg_dma_len(&atmel_port->sg_rx) - ring->tail;
count            1156 drivers/tty/serial/atmel_serial.c 		tty_insert_flip_string(tport, ring->buf + ring->tail, count);
count            1158 drivers/tty/serial/atmel_serial.c 		port->icount.rx += count;
count            1163 drivers/tty/serial/atmel_serial.c 		count = ring->head - ring->tail;
count            1165 drivers/tty/serial/atmel_serial.c 		tty_insert_flip_string(tport, ring->buf + ring->tail, count);
count            1170 drivers/tty/serial/atmel_serial.c 		port->icount.rx += count;
count            1456 drivers/tty/serial/atmel_serial.c 	int count;
count            1479 drivers/tty/serial/atmel_serial.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
count            1480 drivers/tty/serial/atmel_serial.c 		pdc->ofs = count;
count            1484 drivers/tty/serial/atmel_serial.c 		atmel_uart_writel(port, ATMEL_PDC_TCR, count);
count            1610 drivers/tty/serial/atmel_serial.c 	unsigned int count;
count            1642 drivers/tty/serial/atmel_serial.c 			count = head - tail;
count            1645 drivers/tty/serial/atmel_serial.c 						count);
count            1650 drivers/tty/serial/atmel_serial.c 			port->icount.rx += count;
count            2554 drivers/tty/serial/atmel_serial.c static void atmel_console_write(struct console *co, const char *s, u_int count)
count            2576 drivers/tty/serial/atmel_serial.c 	uart_console_write(port, s, count, atmel_console_putchar);
count             700 drivers/tty/serial/bcm63xx_uart.c 			      unsigned int count)
count             720 drivers/tty/serial/bcm63xx_uart.c 	uart_console_write(port, s, count, bcm_console_putchar);
count             681 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	int count;
count             719 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		count = 0;
count             721 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		while (count < pinfo->tx_fifosize) {
count             725 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			count++;
count             729 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		out_be16(&bdp->cbd_datlen, count);
count             969 drivers/tty/serial/cpm_uart/cpm_uart_core.c 		const char *string, u_int count, bool handle_linefeed)
count             986 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	for (i = 0; i < count; i++, string++) {
count            1266 drivers/tty/serial/cpm_uart/cpm_uart_core.c 				   u_int count)
count            1278 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	cpm_uart_early_write(pinfo, s, count, true);
count             855 drivers/tty/serial/dz.c 			     unsigned int count)
count             861 drivers/tty/serial/dz.c 	uart_console_write(&dport->port, str, count, dz_console_putchar);
count             531 drivers/tty/serial/efm32-uart.c 		unsigned int count)
count             540 drivers/tty/serial/efm32-uart.c 	uart_console_write(&efm_port->port, s, count,
count             644 drivers/tty/serial/fsl_linflexuart.c 				 unsigned int count)
count             655 drivers/tty/serial/fsl_linflexuart.c 	uart_console_write(sport, s, count, linflex_console_putchar);
count             661 drivers/tty/serial/fsl_linflexuart.c linflex_console_write(struct console *co, const char *s, unsigned int count)
count             674 drivers/tty/serial/fsl_linflexuart.c 	linflex_string_write(sport, s, count);
count            1006 drivers/tty/serial/fsl_lpuart.c 	int count = 0;
count            1099 drivers/tty/serial/fsl_lpuart.c 		count = sport->rx_sgl.length - ring->tail;
count            1101 drivers/tty/serial/fsl_lpuart.c 		tty_insert_flip_string(port, ring->buf + ring->tail, count);
count            1103 drivers/tty/serial/fsl_lpuart.c 		sport->port.icount.rx += count;
count            1108 drivers/tty/serial/fsl_lpuart.c 		count = ring->head - ring->tail;
count            1109 drivers/tty/serial/fsl_lpuart.c 		tty_insert_flip_string(port, ring->buf + ring->tail, count);
count            1114 drivers/tty/serial/fsl_lpuart.c 		sport->port.icount.rx += count;
count            2091 drivers/tty/serial/fsl_lpuart.c lpuart_console_write(struct console *co, const char *s, unsigned int count)
count            2109 drivers/tty/serial/fsl_lpuart.c 	uart_console_write(&sport->port, s, count, lpuart_console_putchar);
count            2121 drivers/tty/serial/fsl_lpuart.c lpuart32_console_write(struct console *co, const char *s, unsigned int count)
count            2139 drivers/tty/serial/fsl_lpuart.c 	uart_console_write(&sport->port, s, count, lpuart32_console_putchar);
count             695 drivers/tty/serial/icom.c 	unsigned short int count;
count             705 drivers/tty/serial/icom.c 		count = (unsigned short int)
count             707 drivers/tty/serial/icom.c 		icom_port->uart_port.icount.tx += count;
count             709 drivers/tty/serial/icom.c 		for (i=0; i<count &&
count             726 drivers/tty/serial/icom.c 	short int count, rcv_buff;
count             741 drivers/tty/serial/icom.c 		count = cpu_to_le16(icom_port->statStg->rcv[rcv_buff].leLength);
count             743 drivers/tty/serial/icom.c 		trace(icom_port, "RCV_COUNT", count);
count             745 drivers/tty/serial/icom.c 		trace(icom_port, "REAL_COUNT", count);
count             752 drivers/tty/serial/icom.c 		if (count > 0) {
count             754 drivers/tty/serial/icom.c 			tty_insert_flip_string(port, icom_port->recv_buf + offset, count - 1);
count             758 drivers/tty/serial/icom.c 		icount->rx += count;
count             805 drivers/tty/serial/icom.c 		tty_insert_flip_char(port, *(icom_port->recv_buf + offset + count - 1), flag);
count             489 drivers/tty/serial/ifx6x60.c 			 int count)
count             499 drivers/tty/serial/ifx6x60.c 	tx_count = kfifo_in(&ifx_dev->tx_fifo, tmp_buf, count);
count            1932 drivers/tty/serial/imx.c imx_uart_console_write(struct console *co, const char *s, unsigned int count)
count            1972 drivers/tty/serial/imx.c 	uart_console_write(&sport->port, s, count, imx_uart_console_putchar);
count            2126 drivers/tty/serial/imx.c 					 unsigned count)
count            2130 drivers/tty/serial/imx.c 	uart_console_write(&dev->port, s, count, imx_uart_console_early_putchar);
count            1020 drivers/tty/serial/ip22zilog.c ip22zilog_console_write(struct console *con, const char *s, unsigned int count)
count            1026 drivers/tty/serial/ip22zilog.c 	uart_console_write(&up->port, s, count, ip22zilog_put_char);
count             617 drivers/tty/serial/lantiq.c 				    u_int count)
count             619 drivers/tty/serial/lantiq.c 	uart_console_write(port, s, count, lqasc_console_putchar);
count             623 drivers/tty/serial/lantiq.c lqasc_console_write(struct console *co, const char *s, u_int count)
count             636 drivers/tty/serial/lantiq.c 	lqasc_serial_port_write(&ltq_port->port, s, count);
count             689 drivers/tty/serial/lantiq.c 					     u_int count)
count             693 drivers/tty/serial/lantiq.c 	lqasc_serial_port_write(&dev->port, s, count);
count             133 drivers/tty/serial/lpc32xx_hs.c 					 unsigned int count)
count             148 drivers/tty/serial/lpc32xx_hs.c 	uart_console_write(&up->port, s, count, lpc32xx_hsuart_console_putchar);
count             534 drivers/tty/serial/mcf.c static void mcf_console_write(struct console *co, const char *s, unsigned int count)
count             536 drivers/tty/serial/mcf.c 	for (; (count); count--, s++) {
count             468 drivers/tty/serial/meson_uart.c 				    u_int count)
count             488 drivers/tty/serial/meson_uart.c 	uart_console_write(port, s, count, meson_console_putchar);
count             497 drivers/tty/serial/meson_uart.c 				       u_int count)
count             505 drivers/tty/serial/meson_uart.c 	meson_serial_port_write(port, s, count);
count             550 drivers/tty/serial/meson_uart.c 					     u_int count)
count             554 drivers/tty/serial/meson_uart.c 	meson_serial_port_write(&dev->port, s, count);
count              80 drivers/tty/serial/milbeaut_usio.c 	int count;
count              99 drivers/tty/serial/milbeaut_usio.c 	count = port->fifosize -
count             110 drivers/tty/serial/milbeaut_usio.c 	} while (--count > 0);
count             416 drivers/tty/serial/milbeaut_usio.c 			       unsigned int count)
count             420 drivers/tty/serial/milbeaut_usio.c 	uart_console_write(port, s, count, mlb_usio_console_putchar);
count             469 drivers/tty/serial/milbeaut_usio.c 					u_int count)
count             473 drivers/tty/serial/milbeaut_usio.c 	uart_console_write(&dev->port, s, count, mlb_usio_console_putchar);
count            1574 drivers/tty/serial/mpc52xx_uart.c mpc52xx_console_write(struct console *co, const char *s, unsigned int count)
count            1588 drivers/tty/serial/mpc52xx_uart.c 	for (i = 0; i < count; i++, s++) {
count             170 drivers/tty/serial/msm_serial.c 	unsigned int		count;
count             251 drivers/tty/serial/msm_serial.c 	mapped = dma->count;
count             252 drivers/tty/serial/msm_serial.c 	dma->count = 0;
count             412 drivers/tty/serial/msm_serial.c 	if (dma->count)
count             419 drivers/tty/serial/msm_serial.c static void msm_reset_dm_count(struct uart_port *port, int count)
count             422 drivers/tty/serial/msm_serial.c 	msm_write(port, count, UARTDM_NCF_TX);
count             435 drivers/tty/serial/msm_serial.c 	unsigned int count;
count             441 drivers/tty/serial/msm_serial.c 	if (!dma->count)
count             446 drivers/tty/serial/msm_serial.c 	dma_unmap_single(port->dev, dma->phys, dma->count, dma->dir);
count             457 drivers/tty/serial/msm_serial.c 	count = dma->count - state.residue;
count             458 drivers/tty/serial/msm_serial.c 	port->icount.tx += count;
count             459 drivers/tty/serial/msm_serial.c 	dma->count = 0;
count             461 drivers/tty/serial/msm_serial.c 	xmit->tail += count;
count             476 drivers/tty/serial/msm_serial.c static int msm_handle_tx_dma(struct msm_port *msm_port, unsigned int count)
count             487 drivers/tty/serial/msm_serial.c 	dma->phys = dma_map_single(port->dev, cpu_addr, count, dma->dir);
count             493 drivers/tty/serial/msm_serial.c 						count, DMA_MEM_TO_DEV,
count             516 drivers/tty/serial/msm_serial.c 	dma->count = count;
count             524 drivers/tty/serial/msm_serial.c 	msm_reset_dm_count(port, count);
count             532 drivers/tty/serial/msm_serial.c 	dma_unmap_single(port->dev, dma->phys, count, dma->dir);
count             542 drivers/tty/serial/msm_serial.c 	int count = 0, i, sysrq;
count             549 drivers/tty/serial/msm_serial.c 	if (!dma->count)
count             562 drivers/tty/serial/msm_serial.c 	count = msm_read(port, UARTDM_RX_TOTAL_SNAP);
count             564 drivers/tty/serial/msm_serial.c 	port->icount.rx += count;
count             566 drivers/tty/serial/msm_serial.c 	dma->count = 0;
count             570 drivers/tty/serial/msm_serial.c 	for (i = 0; i < count; i++) {
count             595 drivers/tty/serial/msm_serial.c 	if (count)
count             643 drivers/tty/serial/msm_serial.c 	dma->count = UARTDM_RX_SIZE;
count             690 drivers/tty/serial/msm_serial.c 	int count = 0;
count             700 drivers/tty/serial/msm_serial.c 		count = msm_read(port, UARTDM_RX_TOTAL_SNAP) -
count             704 drivers/tty/serial/msm_serial.c 		count = 4 * (msm_read(port, UART_RFWR));
count             705 drivers/tty/serial/msm_serial.c 		msm_port->old_snap_state += count;
count             710 drivers/tty/serial/msm_serial.c 	port->icount.rx += count;
count             712 drivers/tty/serial/msm_serial.c 	while (count > 0) {
count             718 drivers/tty/serial/msm_serial.c 			msm_port->old_snap_state -= count;
count             723 drivers/tty/serial/msm_serial.c 		r_count = min_t(int, count, sizeof(buf));
count             745 drivers/tty/serial/msm_serial.c 		count -= r_count;
count             943 drivers/tty/serial/msm_serial.c 		if (dma->count) {
count            1428 drivers/tty/serial/msm_serial.c 	static int count;
count            1432 drivers/tty/serial/msm_serial.c 	if (count) {
count            1433 drivers/tty/serial/msm_serial.c 		c = sp[sizeof(slop) - count];
count            1434 drivers/tty/serial/msm_serial.c 		count--;
count            1441 drivers/tty/serial/msm_serial.c 		count = msm_read(port, UARTDM_RXFS);
count            1442 drivers/tty/serial/msm_serial.c 		count = (count >> UARTDM_RXFS_BUF_SHIFT) & UARTDM_RXFS_BUF_MASK;
count            1443 drivers/tty/serial/msm_serial.c 		if (count) {
count            1447 drivers/tty/serial/msm_serial.c 			count--;
count            1459 drivers/tty/serial/msm_serial.c 		count = sizeof(slop) - 1;
count            1577 drivers/tty/serial/msm_serial.c 				unsigned int count, bool is_uartdm)
count            1591 drivers/tty/serial/msm_serial.c 	for (i = 0; i < count; i++)
count            1594 drivers/tty/serial/msm_serial.c 	count += num_newlines;
count            1604 drivers/tty/serial/msm_serial.c 		msm_reset_dm_count(port, count);
count            1607 drivers/tty/serial/msm_serial.c 	while (i < count) {
count            1613 drivers/tty/serial/msm_serial.c 			num_chars = min(count - i, (unsigned int)sizeof(buf));
count            1644 drivers/tty/serial/msm_serial.c 			      unsigned int count)
count            1654 drivers/tty/serial/msm_serial.c 	__msm_console_write(port, s, count, msm_port->is_uartdm);
count             187 drivers/tty/serial/mux.c 	int count;
count             202 drivers/tty/serial/mux.c 	count = (port->fifosize) - UART_GET_FIFO_CNT(port);
count             210 drivers/tty/serial/mux.c 	} while(--count > 0);
count             391 drivers/tty/serial/mux.c static void mux_console_write(struct console *co, const char *s, unsigned count)
count             397 drivers/tty/serial/mux.c 	while(count--) {
count             301 drivers/tty/serial/mvebu-uart.c 	unsigned int count;
count             316 drivers/tty/serial/mvebu-uart.c 	for (count = 0; count < port->fifosize; count++) {
count             658 drivers/tty/serial/mvebu-uart.c 				     unsigned int count)
count             676 drivers/tty/serial/mvebu-uart.c 	uart_console_write(port, s, count, mvebu_uart_console_putchar);
count             852 drivers/tty/serial/mxs-auart.c 	int count;
count             861 drivers/tty/serial/mxs-auart.c 	count = stat & AUART_STAT_RXCOUNT_MASK;
count             862 drivers/tty/serial/mxs-auart.c 	tty_insert_flip_string(port, s->rx_dma_buf, count);
count            1355 drivers/tty/serial/mxs-auart.c auart_console_write(struct console *co, const char *str, unsigned int count)
count            1377 drivers/tty/serial/mxs-auart.c 	uart_console_write(port, str, count, mxs_auart_console_putchar);
count             370 drivers/tty/serial/omap-serial.c 	int count;
count             382 drivers/tty/serial/omap-serial.c 	count = up->port.fifosize / 4;
count             389 drivers/tty/serial/omap-serial.c 	} while (--count > 0);
count            1261 drivers/tty/serial/omap-serial.c 				    unsigned int count)
count            1266 drivers/tty/serial/omap-serial.c 	uart_console_write(port, s, count, omap_serial_early_putc);
count            1301 drivers/tty/serial/omap-serial.c 		unsigned int count)
count            1324 drivers/tty/serial/omap-serial.c 	uart_console_write(&up->port, s, count, serial_omap_console_putchar);
count             495 drivers/tty/serial/owl-uart.c 				u_int count)
count             518 drivers/tty/serial/owl-uart.c 	uart_console_write(port, s, count, owl_console_putchar);
count             538 drivers/tty/serial/owl-uart.c 				   u_int count)
count             546 drivers/tty/serial/owl-uart.c 	owl_uart_port_write(&owl_port->port, s, count);
count             590 drivers/tty/serial/owl-uart.c 					 u_int count)
count             594 drivers/tty/serial/owl-uart.c 	owl_uart_port_write(&dev->port, s, count);
count             304 drivers/tty/serial/pch_uart.c 				size_t count, loff_t *ppos)
count             348 drivers/tty/serial/pch_uart.c 	ret =  simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             766 drivers/tty/serial/pch_uart.c 	int count;
count             769 drivers/tty/serial/pch_uart.c 	count = dma_push_rx(priv, priv->trigger_level);
count             770 drivers/tty/serial/pch_uart.c 	if (count)
count             801 drivers/tty/serial/pch_uart.c 	int count = 0;
count             805 drivers/tty/serial/pch_uart.c 	if (uart_tx_stopped(port) || uart_circ_empty(xmit) || count >= size)
count             811 drivers/tty/serial/pch_uart.c 		int sz = min(size - count, cnt_to_end);
count             814 drivers/tty/serial/pch_uart.c 		count += sz;
count             815 drivers/tty/serial/pch_uart.c 	} while (!uart_circ_empty(xmit) && count < size);
count             819 drivers/tty/serial/pch_uart.c 		 count, size - count, jiffies);
count             821 drivers/tty/serial/pch_uart.c 	return count;
count            1630 drivers/tty/serial/pch_uart.c pch_console_write(struct console *co, const char *s, unsigned int count)
count            1663 drivers/tty/serial/pch_uart.c 	uart_console_write(&priv->port, s, count, pch_console_putchar);
count             712 drivers/tty/serial/pic32_uart.c 				unsigned int count)
count             718 drivers/tty/serial/pic32_uart.c 	uart_console_write(port, s, count, pic32_console_putchar);
count            1402 drivers/tty/serial/pmac_zilog.c 		int	count;
count            1459 drivers/tty/serial/pmac_zilog.c 	if (slots && slots->count > 0) {
count            1637 drivers/tty/serial/pmac_zilog.c 	int			count = 0;
count            1668 drivers/tty/serial/pmac_zilog.c 			pmz_ports[count].mate		= &pmz_ports[count+1];
count            1669 drivers/tty/serial/pmac_zilog.c 			pmz_ports[count+1].mate		= &pmz_ports[count];
count            1671 drivers/tty/serial/pmac_zilog.c 		pmz_ports[count].flags		= PMACZILOG_FLAG_IS_CHANNEL_A;
count            1672 drivers/tty/serial/pmac_zilog.c 		pmz_ports[count].node		= node_a;
count            1673 drivers/tty/serial/pmac_zilog.c 		pmz_ports[count+1].node		= node_b;
count            1674 drivers/tty/serial/pmac_zilog.c 		pmz_ports[count].port.line	= count;
count            1675 drivers/tty/serial/pmac_zilog.c 		pmz_ports[count+1].port.line	= count+1;
count            1680 drivers/tty/serial/pmac_zilog.c 		rc = pmz_init_port(&pmz_ports[count]);
count            1682 drivers/tty/serial/pmac_zilog.c 			rc = pmz_init_port(&pmz_ports[count+1]);
count            1686 drivers/tty/serial/pmac_zilog.c 			memset(&pmz_ports[count], 0, sizeof(struct uart_pmac_port));
count            1687 drivers/tty/serial/pmac_zilog.c 			memset(&pmz_ports[count+1], 0, sizeof(struct uart_pmac_port));
count            1690 drivers/tty/serial/pmac_zilog.c 		count += 2;
count            1692 drivers/tty/serial/pmac_zilog.c 	pmz_ports_count = count;
count            1799 drivers/tty/serial/pmac_zilog.c static void pmz_console_write(struct console *con, const char *s, unsigned int count);
count            1956 drivers/tty/serial/pmac_zilog.c static void pmz_console_write(struct console *con, const char *s, unsigned int count)
count            1967 drivers/tty/serial/pmac_zilog.c 	uart_console_write(&uap->port, s, count, pmz_console_putchar);
count             688 drivers/tty/serial/pnx8xxx_uart.c pnx8xxx_console_write(struct console *co, const char *s, unsigned int count)
count             700 drivers/tty/serial/pnx8xxx_uart.c 	uart_console_write(&sport->port, s, count, pnx8xxx_console_putchar);
count             181 drivers/tty/serial/pxa.c 	int count;
count             194 drivers/tty/serial/pxa.c 	count = up->port.fifosize / 2;
count             201 drivers/tty/serial/pxa.c 	} while (--count > 0);
count             641 drivers/tty/serial/pxa.c serial_pxa_console_write(struct console *co, const char *s, unsigned int count)
count             663 drivers/tty/serial/pxa.c 	uart_console_write(&up->port, s, count, serial_pxa_console_putchar);
count             379 drivers/tty/serial/qcom_geni_serial.c 				 unsigned int count)
count             382 drivers/tty/serial/qcom_geni_serial.c 	u32 bytes_to_send = count;
count             384 drivers/tty/serial/qcom_geni_serial.c 	for (i = 0; i < count; i++) {
count             395 drivers/tty/serial/qcom_geni_serial.c 	for (i = 0; i < count; ) {
count             408 drivers/tty/serial/qcom_geni_serial.c 		chars_to_write = min_t(size_t, count - i, avail / 2);
count             419 drivers/tty/serial/qcom_geni_serial.c 			      unsigned int count)
count             468 drivers/tty/serial/qcom_geni_serial.c 	__qcom_geni_serial_console_write(uport, s, count);
count             590 drivers/tty/serial/rda-uart.c 				u_int count)
count             610 drivers/tty/serial/rda-uart.c 	uart_console_write(port, s, count, rda_console_putchar);
count             625 drivers/tty/serial/rda-uart.c 				   u_int count)
count             633 drivers/tty/serial/rda-uart.c 	rda_uart_port_write(&rda_port->port, s, count);
count             677 drivers/tty/serial/rda-uart.c 					 u_int count)
count             681 drivers/tty/serial/rda-uart.c 	rda_uart_port_write(&dev->port, s, count);
count             720 drivers/tty/serial/sa1100.c sa1100_console_write(struct console *co, const char *s, unsigned int count)
count             732 drivers/tty/serial/sa1100.c 	uart_console_write(&sport->port, s, count, sa1100_console_putchar);
count             123 drivers/tty/serial/samsung.c 	int count = 10000;
count             127 drivers/tty/serial/samsung.c 	while (--count && !s3c24xx_serial_txempty_nofifo(port))
count             163 drivers/tty/serial/samsung.c 	int count;
count             180 drivers/tty/serial/samsung.c 		count = dma->tx_bytes_requested - state.residue;
count             181 drivers/tty/serial/samsung.c 		xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             182 drivers/tty/serial/samsung.c 		port->icount.tx += count;
count             204 drivers/tty/serial/samsung.c 	int count;
count             208 drivers/tty/serial/samsung.c 	count = dma->tx_bytes_requested - state.residue;
count             216 drivers/tty/serial/samsung.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             217 drivers/tty/serial/samsung.c 	port->icount.tx += count;
count             282 drivers/tty/serial/samsung.c 				      unsigned int count)
count             292 drivers/tty/serial/samsung.c 	dma->tx_size = count & ~(dma_get_cache_alignment() - 1);
count             320 drivers/tty/serial/samsung.c 	unsigned long count;
count             323 drivers/tty/serial/samsung.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
count             325 drivers/tty/serial/samsung.c 	if (!count) {
count             331 drivers/tty/serial/samsung.c 	    count < ourport->min_dma_size ||
count             335 drivers/tty/serial/samsung.c 		s3c24xx_serial_start_tx_dma(ourport, count);
count             359 drivers/tty/serial/samsung.c 		struct tty_port *tty, int count)
count             364 drivers/tty/serial/samsung.c 	if (!count)
count             370 drivers/tty/serial/samsung.c 	ourport->port.icount.rx += count;
count             376 drivers/tty/serial/samsung.c 			((unsigned char *)(ourport->dma->rx_buf)), count);
count             377 drivers/tty/serial/samsung.c 	if (copied != count) {
count             710 drivers/tty/serial/samsung.c 	int count, dma_count = 0;
count             714 drivers/tty/serial/samsung.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
count             717 drivers/tty/serial/samsung.c 	    count >= ourport->min_dma_size) {
count             720 drivers/tty/serial/samsung.c 		if (count-align >= ourport->min_dma_size) {
count             721 drivers/tty/serial/samsung.c 			dma_count = count-align;
count             722 drivers/tty/serial/samsung.c 			count = align;
count             744 drivers/tty/serial/samsung.c 	if (count > port->fifosize) {
count             745 drivers/tty/serial/samsung.c 		count = port->fifosize;
count             749 drivers/tty/serial/samsung.c 	while (!uart_circ_empty(xmit) && count > 0) {
count             756 drivers/tty/serial/samsung.c 		count--;
count             759 drivers/tty/serial/samsung.c 	if (!count && dma_count) {
count            2119 drivers/tty/serial/samsung.c 			     unsigned int count)
count            2127 drivers/tty/serial/samsung.c 	uart_console_write(cons_uart, s, count, s3c24xx_serial_console_putchar);
count             340 drivers/tty/serial/sb1250-duart.c 	int count;
count             342 drivers/tty/serial/sb1250-duart.c 	for (count = 16; count; count--) {
count             448 drivers/tty/serial/sb1250-duart.c 	int count;
count             450 drivers/tty/serial/sb1250-duart.c 	for (count = 16; count; count--) {
count             836 drivers/tty/serial/sb1250-duart.c 			      unsigned int count)
count             853 drivers/tty/serial/sb1250-duart.c 	uart_console_write(&sport->port, s, count, sbd_console_putchar);
count             516 drivers/tty/serial/serial-tegra.c 	unsigned int count;
count             519 drivers/tty/serial/serial-tegra.c 	count = tup->tx_bytes_requested - state.residue;
count             522 drivers/tty/serial/serial-tegra.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             531 drivers/tty/serial/serial-tegra.c 		unsigned long count)
count             539 drivers/tty/serial/serial-tegra.c 	tup->tx_bytes = count & ~(0xF);
count             561 drivers/tty/serial/serial-tegra.c 	unsigned long count;
count             568 drivers/tty/serial/serial-tegra.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
count             569 drivers/tty/serial/serial-tegra.c 	if (!count)
count             572 drivers/tty/serial/serial-tegra.c 	if (tup->use_tx_pio || count < TEGRA_UART_MIN_DMA)
count             573 drivers/tty/serial/serial-tegra.c 		tegra_uart_start_pio_tx(tup, count);
count             577 drivers/tty/serial/serial-tegra.c 		tegra_uart_start_tx_dma(tup, count);
count             611 drivers/tty/serial/serial-tegra.c 	unsigned int count;
count             618 drivers/tty/serial/serial-tegra.c 	count = tup->tx_bytes_requested - state.residue;
count             620 drivers/tty/serial/serial-tegra.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             664 drivers/tty/serial/serial-tegra.c 				      unsigned int count)
count             669 drivers/tty/serial/serial-tegra.c 	if (!count)
count             672 drivers/tty/serial/serial-tegra.c 	tup->uport.icount.rx += count;
count             684 drivers/tty/serial/serial-tegra.c 			((unsigned char *)(tup->rx_dma_buf_virt)), count);
count             685 drivers/tty/serial/serial-tegra.c 	if (copied != count) {
count             698 drivers/tty/serial/serial-tegra.c 	unsigned int count;
count             701 drivers/tty/serial/serial-tegra.c 	count = tup->rx_bytes_requested - residue;
count             704 drivers/tty/serial/serial-tegra.c 	tegra_uart_copy_rx_to_tty(tup, port, count);
count             764 drivers/tty/serial/serial-tegra.c 	unsigned int count = TEGRA_UART_RX_DMA_BUFFER_SIZE;
count             767 drivers/tty/serial/serial-tegra.c 				tup->rx_dma_buf_phys, count, DMA_DEV_TO_MEM,
count             777 drivers/tty/serial/serial-tegra.c 				count, DMA_TO_DEVICE);
count             778 drivers/tty/serial/serial-tegra.c 	tup->rx_bytes_requested = count;
count            1422 drivers/tty/serial/serial-tegra.c 	int count;
count            1454 drivers/tty/serial/serial-tegra.c 		for (count = 0, index = 0; count < n_entries; count += 3,
count            1459 drivers/tty/serial/serial-tegra.c 						   count, &pval);
count            1466 drivers/tty/serial/serial-tegra.c 						   count + 1, &pval);
count            1473 drivers/tty/serial/serial-tegra.c 						   count + 2, &pval);
count             575 drivers/tty/serial/serial_core.c 					const unsigned char *buf, int count)
count             601 drivers/tty/serial/serial_core.c 		if (count < c)
count             602 drivers/tty/serial/serial_core.c 			c = count;
count             608 drivers/tty/serial/serial_core.c 		count -= c;
count            1549 drivers/tty/serial/serial_core.c 		--port->count;
count            1672 drivers/tty/serial/serial_core.c 		port->count = 0;
count            1920 drivers/tty/serial/serial_core.c 			unsigned int count,
count            1925 drivers/tty/serial/serial_core.c 	for (i = 0; i < count; i++, s++) {
count              50 drivers/tty/serial/serial_mctrl_gpio.c 	unsigned int count = 0;
count              57 drivers/tty/serial/serial_mctrl_gpio.c 			desc_array[count] = gpios->gpio[i];
count              58 drivers/tty/serial/serial_mctrl_gpio.c 			__assign_bit(count, values,
count              60 drivers/tty/serial/serial_mctrl_gpio.c 			count++;
count              62 drivers/tty/serial/serial_mctrl_gpio.c 	gpiod_set_array_value(count, desc_array, NULL, values);
count             346 drivers/tty/serial/serial_txx9.c 	int count;
count             359 drivers/tty/serial/serial_txx9.c 	count = TXX9_SIO_TX_FIFO;
count             366 drivers/tty/serial/serial_txx9.c 	} while (--count > 0);
count             901 drivers/tty/serial/serial_txx9.c serial_txx9_console_write(struct console *co, const char *s, unsigned int count)
count             918 drivers/tty/serial/serial_txx9.c 	uart_console_write(&up->port, s, count, serial_txx9_console_putchar);
count             804 drivers/tty/serial/sh-sci.c 	int count;
count             817 drivers/tty/serial/sh-sci.c 	count = sci_txroom(port);
count             835 drivers/tty/serial/sh-sci.c 	} while (--count > 0);
count             852 drivers/tty/serial/sh-sci.c 	int i, count, copied = 0;
count             862 drivers/tty/serial/sh-sci.c 		count = tty_buffer_request_room(tport, sci_rxfill(port));
count             865 drivers/tty/serial/sh-sci.c 		if (count == 0)
count             871 drivers/tty/serial/sh-sci.c 				count = 0;
count             875 drivers/tty/serial/sh-sci.c 			for (i = 0; i < count; i++) {
count             887 drivers/tty/serial/sh-sci.c 					count--; i--;
count             910 drivers/tty/serial/sh-sci.c 		copied += count;
count             911 drivers/tty/serial/sh-sci.c 		port->icount.rx += count;
count            1113 drivers/tty/serial/sh-sci.c 				     const char *buf, size_t count)
count            1128 drivers/tty/serial/sh-sci.c 	return count;
count            1152 drivers/tty/serial/sh-sci.c 				size_t count)
count            1174 drivers/tty/serial/sh-sci.c 	return count;
count            1215 drivers/tty/serial/sh-sci.c static int sci_dma_rx_push(struct sci_port *s, void *buf, size_t count)
count            1221 drivers/tty/serial/sh-sci.c 	copied = tty_insert_flip_string(tport, buf, count);
count            1222 drivers/tty/serial/sh-sci.c 	if (copied < count)
count            1293 drivers/tty/serial/sh-sci.c 	int active, count = 0;
count            1302 drivers/tty/serial/sh-sci.c 		count = sci_dma_rx_push(s, s->rx_buf[active], s->buf_len_rx);
count            1306 drivers/tty/serial/sh-sci.c 	if (count)
count            1473 drivers/tty/serial/sh-sci.c 	int active, count;
count            1515 drivers/tty/serial/sh-sci.c 		count = sci_dma_rx_push(s, s->rx_buf[active], read);
count            1516 drivers/tty/serial/sh-sci.c 		if (count)
count            3016 drivers/tty/serial/sh-sci.c 				 unsigned count)
count            3041 drivers/tty/serial/sh-sci.c 	uart_console_write(port, s, count, serial_console_putchar);
count             303 drivers/tty/serial/sifive.c 	int count;
count             315 drivers/tty/serial/sifive.c 	count = SIFIVE_TX_FIFO_DEPTH;
count             322 drivers/tty/serial/sifive.c 	} while (--count > 0);
count             770 drivers/tty/serial/sifive.c 					unsigned int count)
count             791 drivers/tty/serial/sifive.c 	uart_console_write(&ssp->port, s, count, sifive_serial_console_putchar);
count              32 drivers/tty/serial/sirfsoc_uart.c sirfsoc_uart_pio_tx_chars(struct sirfsoc_uart_port *sirfport, int count);
count             421 drivers/tty/serial/sirfsoc_uart.c sirfsoc_uart_pio_tx_chars(struct sirfsoc_uart_port *sirfport, int count)
count             431 drivers/tty/serial/sirfsoc_uart.c 		count--) {
count            1127 drivers/tty/serial/sirfsoc_uart.c 							unsigned int count)
count            1131 drivers/tty/serial/sirfsoc_uart.c 	uart_console_write(&sirfport->port, s, count,
count            1172 drivers/tty/serial/sirfsoc_uart.c 	int count, inserted;
count            1196 drivers/tty/serial/sirfsoc_uart.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail,
count            1198 drivers/tty/serial/sirfsoc_uart.c 	while (count > 0) {
count            1200 drivers/tty/serial/sirfsoc_uart.c 			(const unsigned char *)&xmit->buf[xmit->tail], count);
count            1206 drivers/tty/serial/sirfsoc_uart.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail,
count            1215 drivers/tty/serial/sirfsoc_uart.c 	if (!inserted && !count &&
count             634 drivers/tty/serial/sprd_serial.c 	int count;
count             648 drivers/tty/serial/sprd_serial.c 	count = THLD_TX_EMPTY;
count             655 drivers/tty/serial/sprd_serial.c 	} while (--count > 0);
count             965 drivers/tty/serial/sprd_serial.c 			       unsigned int count)
count             978 drivers/tty/serial/sprd_serial.c 	uart_console_write(port, s, count, sprd_console_putchar);
count             878 drivers/tty/serial/st-asc.c static void asc_console_write(struct console *co, const char *s, unsigned count)
count             901 drivers/tty/serial/st-asc.c 	uart_console_write(port, s, count, asc_console_putchar);
count             359 drivers/tty/serial/stm32-usart.c 	unsigned int count, i;
count             366 drivers/tty/serial/stm32-usart.c 	count = uart_circ_chars_pending(xmit);
count             368 drivers/tty/serial/stm32-usart.c 	if (count > TX_BUF_L)
count             369 drivers/tty/serial/stm32-usart.c 		count = TX_BUF_L;
count             372 drivers/tty/serial/stm32-usart.c 		memcpy(&stm32port->tx_buf[0], &xmit->buf[xmit->tail], count);
count             377 drivers/tty/serial/stm32-usart.c 		if (one > count)
count             378 drivers/tty/serial/stm32-usart.c 			one = count;
count             379 drivers/tty/serial/stm32-usart.c 		two = count - one;
count             388 drivers/tty/serial/stm32-usart.c 					   count,
count             393 drivers/tty/serial/stm32-usart.c 		for (i = count; i > 0; i--)
count             409 drivers/tty/serial/stm32-usart.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             410 drivers/tty/serial/stm32-usart.c 	port->icount.tx += count;
count              28 drivers/tty/serial/suncore.c int sunserial_register_minors(struct uart_driver *drv, int count)
count              33 drivers/tty/serial/suncore.c 	drv->nr += count;
count              35 drivers/tty/serial/suncore.c 	if (drv->nr == count)
count              38 drivers/tty/serial/suncore.c 		sunserial_current_minor += count;
count              45 drivers/tty/serial/suncore.c void sunserial_unregister_minors(struct uart_driver *drv, int count)
count              47 drivers/tty/serial/suncore.c 	drv->nr -= count;
count              48 drivers/tty/serial/suncore.c 	sunserial_current_minor -= count;
count             119 drivers/tty/serial/sunsab.c 	int count = 0;
count             127 drivers/tty/serial/sunsab.c 		count = SAB82532_RECV_FIFO_SIZE;
count             132 drivers/tty/serial/sunsab.c 		count = readb(&up->regs->r.rbcl) & (SAB82532_RECV_FIFO_SIZE - 1);
count             147 drivers/tty/serial/sunsab.c 	for (i = 0; i < count; i++)
count             161 drivers/tty/serial/sunsab.c 	if (count == 0) {
count             170 drivers/tty/serial/sunsab.c 	for (i = 0; i < count; i++) {
count             403 drivers/tty/serial/sunsu.c 	int count;
count             420 drivers/tty/serial/sunsu.c 	count = up->port.fifosize;
count             427 drivers/tty/serial/sunsu.c 	} while (--count > 0);
count            1305 drivers/tty/serial/sunsu.c 				unsigned int count)
count            1323 drivers/tty/serial/sunsu.c 	uart_console_write(&up->port, s, count, sunsu_console_putchar);
count            1203 drivers/tty/serial/sunzilog.c sunzilog_console_write(struct console *con, const char *s, unsigned int count)
count            1214 drivers/tty/serial/sunzilog.c 	uart_console_write(&up->port, s, count, sunzilog_putchar);
count              53 drivers/tty/serial/tegra-tcu.c 				unsigned int count)
count              57 drivers/tty/serial/tegra-tcu.c 	value |= TCU_MBOX_NUM_BYTES(count);
count              64 drivers/tty/serial/tegra-tcu.c 			    unsigned int count)
count              70 drivers/tty/serial/tegra-tcu.c 	while (i < count) {
count              96 drivers/tty/serial/tegra-tcu.c 	unsigned long count;
count              99 drivers/tty/serial/tegra-tcu.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
count             100 drivers/tty/serial/tegra-tcu.c 		if (!count)
count             103 drivers/tty/serial/tegra-tcu.c 		tegra_tcu_write(tcu, &xmit->buf[xmit->tail], count);
count             104 drivers/tty/serial/tegra-tcu.c 		xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
count             148 drivers/tty/serial/tegra-tcu.c 				    unsigned int count)
count             152 drivers/tty/serial/tegra-tcu.c 	tegra_tcu_write(tcu, s, count);
count             481 drivers/tty/serial/uartlite.c 				unsigned int count)
count             497 drivers/tty/serial/uartlite.c 	uart_console_write(port, s, count, ulite_console_putchar);
count             331 drivers/tty/serial/ucc_uart.c 	unsigned int count;
count             369 drivers/tty/serial/ucc_uart.c 		count = 0;
count             371 drivers/tty/serial/ucc_uart.c 		while (count < qe_port->tx_fifosize) {
count             375 drivers/tty/serial/ucc_uart.c 			count++;
count             380 drivers/tty/serial/ucc_uart.c 		out_be16(&bdp->length, count);
count             756 drivers/tty/serial/vr41xx_siu.c static void siu_console_write(struct console *con, const char *s, unsigned count)
count             766 drivers/tty/serial/vr41xx_siu.c 	uart_console_write(port, s, count, siu_console_putchar);
count             500 drivers/tty/serial/vt8500_serial.c 			      unsigned int count)
count             510 drivers/tty/serial/vt8500_serial.c 	uart_console_write(&vt8500_port->uart, s, count,
count            1196 drivers/tty/serial/xilinx_uartps.c 				unsigned int count)
count            1223 drivers/tty/serial/xilinx_uartps.c 	uart_console_write(port, s, count, cdns_uart_console_putchar);
count             547 drivers/tty/serial/zs.c 	int count;
count             549 drivers/tty/serial/zs.c 	for (count = 16; count; count--) {
count             712 drivers/tty/serial/zs.c 	int count;
count             721 drivers/tty/serial/zs.c 	for (count = 16; count; count--) {
count            1149 drivers/tty/serial/zs.c 			     unsigned int count)
count            1172 drivers/tty/serial/zs.c 	uart_console_write(&zport->port, s, count, zs_console_putchar);
count             137 drivers/tty/synclink.c 	volatile u16 count;	/* buffer size/data count */
count             737 drivers/tty/synclink.c static void mgsl_trace_block(struct mgsl_struct *info,const char* data, int count, int xmit);
count             766 drivers/tty/synclink.c static void mgsl_load_pci_memory(char* TargetPtr, const char* SourcePtr, unsigned short count);
count             956 drivers/tty/synclink.c 			      const __u8 *data, char *flags, int count)
count             964 drivers/tty/synclink.c 			ld->ops->receive_buf(tty, data, flags, count);
count            2091 drivers/tty/synclink.c 		    const unsigned char *buf, int count)
count            2099 drivers/tty/synclink.c 			__FILE__,__LINE__,info->device_name,count);
count            2128 drivers/tty/synclink.c 			ret = count;
count            2129 drivers/tty/synclink.c 			save_tx_buffer_request(info,buf,count);
count            2167 drivers/tty/synclink.c 			ret = count;
count            2168 drivers/tty/synclink.c 			info->xmit_cnt = count;
count            2169 drivers/tty/synclink.c 			mgsl_load_tx_dma_buffer(info,buf,count);
count            2174 drivers/tty/synclink.c 			c = min_t(int, count,
count            2187 drivers/tty/synclink.c 			count -= c;
count            3076 drivers/tty/synclink.c 			 __FILE__,__LINE__, info->device_name, info->port.count);
count            3094 drivers/tty/synclink.c 			tty->driver->name, info->port.count);
count            3194 drivers/tty/synclink.c 	info->port.count = 0;	
count            3282 drivers/tty/synclink.c 			 __FILE__,__LINE__, tty->driver->name, port->count );
count            3285 drivers/tty/synclink.c 	port->count--;
count            3312 drivers/tty/synclink.c 				 __FILE__,__LINE__, tty->driver->name, port->count );
count            3324 drivers/tty/synclink.c 		port->count++;
count            3329 drivers/tty/synclink.c 			 __FILE__,__LINE__, tty->driver->name, port->count );
count            3381 drivers/tty/synclink.c 			 __FILE__,__LINE__,tty->driver->name, info->port.count);
count            3391 drivers/tty/synclink.c 	info->port.count++;
count            3394 drivers/tty/synclink.c 	if (info->port.count == 1) {
count            3416 drivers/tty/synclink.c 		if (tty->count == 1)
count            3418 drivers/tty/synclink.c 		if(info->port.count)
count            3419 drivers/tty/synclink.c 			info->port.count--;
count            5281 drivers/tty/synclink.c 	while( !buffer_list[end_index].count )
count            5336 drivers/tty/synclink.c 			*((unsigned long *)&(info->rx_buffer_list[start_index++].count)) = DMABUFFERSIZE;
count            6320 drivers/tty/synclink.c 		*((unsigned long *)&(info->tx_buffer_list[i].count)) = 0;
count            6361 drivers/tty/synclink.c 		*((unsigned long *)&(info->rx_buffer_list[i].count)) = DMABUFFERSIZE;
count            6406 drivers/tty/synclink.c 		*((unsigned long *)&(pBufEntry->count)) = DMABUFFERSIZE;
count            6455 drivers/tty/synclink.c 		if ( info->rx_buffer_list[EndIndex].count )
count            6595 drivers/tty/synclink.c 			info->rx_buffer_list[EndIndex].count ) {
count            6656 drivers/tty/synclink.c 		(info->rx_buffer_list[CurrentIndex].count == 0 &&
count            6657 drivers/tty/synclink.c 			info->rx_buffer_list[NextIndex].count == 0)) {
count            6767 drivers/tty/synclink.c 			info->rx_buffer_list[CurrentIndex].count ) {
count            6819 drivers/tty/synclink.c 	info->tx_buffer_list[i].count  = BufferSize;
count            6845 drivers/tty/synclink.c 		pBufEntry->count = Copycount;
count            7035 drivers/tty/synclink.c 	info->tx_buffer_list[0].count  = FrameSize;
count            7049 drivers/tty/synclink.c 	info->rx_buffer_list[0].count = FrameSize + 4;
count            7058 drivers/tty/synclink.c 	info->tx_buffer_list[1].count = 0;
count            7059 drivers/tty/synclink.c 	info->rx_buffer_list[1].count = 0;
count            7121 drivers/tty/synclink.c 	usc_OutReg( info, TCLR, (unsigned short)info->tx_buffer_list[0].count );
count            7391 drivers/tty/synclink.c 	unsigned short count )
count            7396 drivers/tty/synclink.c 	unsigned short Intervalcount = count / PCI_LOAD_INTERVAL;
count            7408 drivers/tty/synclink.c 	memcpy( TargetPtr, SourcePtr, count % PCI_LOAD_INTERVAL );
count            7412 drivers/tty/synclink.c static void mgsl_trace_block(struct mgsl_struct *info,const char* data, int count, int xmit)
count            7421 drivers/tty/synclink.c 	while(count) {
count            7422 drivers/tty/synclink.c 		if (count > 16)
count            7425 drivers/tty/synclink.c 			linecount = count;
count            7440 drivers/tty/synclink.c 		count -= linecount;
count            7570 drivers/tty/synclink.c 	if (info->port.count)
count            7666 drivers/tty/synclink.c 	if (info->port.count != 0 || info->netcount != 0) {
count            7752 drivers/tty/synclink.c 	if (info->port.count)
count             145 drivers/tty/synclink_gt.c static int  write(struct tty_struct *tty, const unsigned char *buf, int count);
count             199 drivers/tty/synclink_gt.c 	__le16 count;
count             213 drivers/tty/synclink_gt.c #define set_desc_count(a,b)(a).count  = cpu_to_le16((unsigned short)(b))
count             216 drivers/tty/synclink_gt.c #define desc_count(a)      (le16_to_cpu((a).count))
count             471 drivers/tty/synclink_gt.c static bool tx_load(struct slgt_info *info, const char *buf, unsigned int count);
count             490 drivers/tty/synclink_gt.c static int  alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
count             491 drivers/tty/synclink_gt.c static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
count             551 drivers/tty/synclink_gt.c static void trace_block(struct slgt_info *info, const char *data, int count, const char *label)
count             556 drivers/tty/synclink_gt.c 	while(count) {
count             557 drivers/tty/synclink_gt.c 		linecount = (count > 16) ? 16 : count;
count             570 drivers/tty/synclink_gt.c 		count -= linecount;
count             584 drivers/tty/synclink_gt.c 			i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status));
count             598 drivers/tty/synclink_gt.c 			i, le16_to_cpu(info->rbufs[i].count), le16_to_cpu(info->rbufs[i].status));
count             632 drivers/tty/synclink_gt.c 			      const __u8 *data, char *flags, int count)
count             640 drivers/tty/synclink_gt.c 			ld->ops->receive_buf(tty, data, flags, count);
count             672 drivers/tty/synclink_gt.c 	DBGINFO(("%s open, old ref count = %d\n", info->device_name, info->port.count));
count             684 drivers/tty/synclink_gt.c 	info->port.count++;
count             687 drivers/tty/synclink_gt.c 	if (info->port.count == 1) {
count             706 drivers/tty/synclink_gt.c 		if (tty->count == 1)
count             708 drivers/tty/synclink_gt.c 		if(info->port.count)
count             709 drivers/tty/synclink_gt.c 			info->port.count--;
count             722 drivers/tty/synclink_gt.c 	DBGINFO(("%s close entry, count=%d\n", info->device_name, info->port.count));
count             739 drivers/tty/synclink_gt.c 	DBGINFO(("%s close exit, count=%d\n", tty->driver->name, info->port.count));
count             757 drivers/tty/synclink_gt.c 	info->port.count = 0;
count             813 drivers/tty/synclink_gt.c 		 const unsigned char *buf, int count)
count             822 drivers/tty/synclink_gt.c 	DBGINFO(("%s write count=%d\n", info->device_name, count));
count             824 drivers/tty/synclink_gt.c 	if (!info->tx_buf || (count > info->max_frame_size))
count             827 drivers/tty/synclink_gt.c 	if (!count || tty->stopped || tty->hw_stopped)
count             839 drivers/tty/synclink_gt.c 	if (tx_load(info, buf, count))
count             840 drivers/tty/synclink_gt.c 		ret = count;
count            1316 drivers/tty/synclink_gt.c 	int count;
count            1319 drivers/tty/synclink_gt.c 	count = tbuf_bytes(info);
count            1320 drivers/tty/synclink_gt.c 	DBGINFO(("%s chars_in_buffer()=%d\n", info->device_name, count));
count            1321 drivers/tty/synclink_gt.c 	return count;
count            1415 drivers/tty/synclink_gt.c 	if (info->port.count)
count            1511 drivers/tty/synclink_gt.c 	if (info->port.count != 0 || info->netcount != 0) {
count            1596 drivers/tty/synclink_gt.c 	if (info->port.count)
count            1827 drivers/tty/synclink_gt.c 	int i, count;
count            1835 drivers/tty/synclink_gt.c 		count = desc_count(bufs[end]) - info->rbuf_index;
count            1838 drivers/tty/synclink_gt.c 		DBGISR(("%s rx_async count=%d\n", info->device_name, count));
count            1839 drivers/tty/synclink_gt.c 		DBGDATA(info, p, count, "rx");
count            1841 drivers/tty/synclink_gt.c 		for(i=0 ; i < count; i+=2, p+=2) {
count            1865 drivers/tty/synclink_gt.c 		if (i < count) {
count            2091 drivers/tty/synclink_gt.c 	unsigned int count = info->rbuf_fill_count;
count            2104 drivers/tty/synclink_gt.c 		info->rbufs[i].buf[count++] = (unsigned char)reg;
count            2107 drivers/tty/synclink_gt.c 			info->rbufs[i].buf[count++] = (unsigned char)(reg >> 8);
count            2108 drivers/tty/synclink_gt.c 		if (count == info->rbuf_fill_level || (reg & BIT10)) {
count            2110 drivers/tty/synclink_gt.c 			set_desc_count(info->rbufs[i], count);
count            2112 drivers/tty/synclink_gt.c 			info->rbuf_fill_count = count = 0;
count            2120 drivers/tty/synclink_gt.c 	info->rbuf_fill_count = count;
count            2382 drivers/tty/synclink_gt.c 		if ((port->port.count || port->netcount) &&
count            3261 drivers/tty/synclink_gt.c 	port->count--;
count            3296 drivers/tty/synclink_gt.c 		port->count++;
count            3394 drivers/tty/synclink_gt.c static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count)
count            3397 drivers/tty/synclink_gt.c 	for (i=0; i < count; i++) {
count            3405 drivers/tty/synclink_gt.c static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count)
count            3408 drivers/tty/synclink_gt.c 	for (i=0; i < count; i++) {
count            4749 drivers/tty/synclink_gt.c 	unsigned int count;
count            4753 drivers/tty/synclink_gt.c 	count = desc_count(info->rbufs[i]);
count            4760 drivers/tty/synclink_gt.c 			count--;
count            4763 drivers/tty/synclink_gt.c 	DBGDATA(info, info->rbufs[i].buf, count, "rx");
count            4764 drivers/tty/synclink_gt.c 	DBGINFO(("rx_get_buf size=%d\n", count));
count            4765 drivers/tty/synclink_gt.c 	if (count)
count            4767 drivers/tty/synclink_gt.c 				  info->flag_buf, count);
count            4778 drivers/tty/synclink_gt.c 		info->tbufs[i].count  = 0;
count            4787 drivers/tty/synclink_gt.c 	unsigned int count = 0;
count            4794 drivers/tty/synclink_gt.c 		++count;
count            4800 drivers/tty/synclink_gt.c 	if (count && (rd_reg32(info, TDCSR) & BIT0))
count            4801 drivers/tty/synclink_gt.c 		--count;
count            4803 drivers/tty/synclink_gt.c 	return count;
count            4815 drivers/tty/synclink_gt.c 	unsigned int count;
count            4830 drivers/tty/synclink_gt.c 		count = desc_count(info->tbufs[i]);
count            4831 drivers/tty/synclink_gt.c 		if (count)
count            4832 drivers/tty/synclink_gt.c 			total_count += count;
count            4862 drivers/tty/synclink_gt.c 	unsigned short count;
count            4888 drivers/tty/synclink_gt.c 		count = (unsigned short)((size > DMABUFSIZE) ? DMABUFSIZE : size);
count            4889 drivers/tty/synclink_gt.c 		memcpy(d->buf, buf, count);
count            4891 drivers/tty/synclink_gt.c 		size -= count;
count            4892 drivers/tty/synclink_gt.c 		buf  += count;
count            4906 drivers/tty/synclink_gt.c 			set_desc_count(*d, count);
count            4907 drivers/tty/synclink_gt.c 		d->buf_count = count;
count            4931 drivers/tty/synclink_gt.c 	static unsigned int count = ARRAY_SIZE(patterns);
count            4935 drivers/tty/synclink_gt.c 	for (i=0 ; i < count ; i++) {
count            4937 drivers/tty/synclink_gt.c 		wr_reg16(info, BDR, patterns[(i+1)%count]);
count            4939 drivers/tty/synclink_gt.c 		    (rd_reg16(info, BDR) != patterns[(i+1)%count])) {
count            4994 drivers/tty/synclink_gt.c 	int count;
count            4997 drivers/tty/synclink_gt.c 		count = desc_count(info->rbufs[0]);
count            5001 drivers/tty/synclink_gt.c 		for( ; count ; count-=2, src+=2) {
count            5020 drivers/tty/synclink_gt.c 	u16 count = TESTFRAMESIZE;
count            5036 drivers/tty/synclink_gt.c 	for (count = 0; count < TESTFRAMESIZE; ++count)
count            5037 drivers/tty/synclink_gt.c 		buf[count] = (unsigned char)count;
count            5046 drivers/tty/synclink_gt.c 	tx_load(info, buf, count);
count            5059 drivers/tty/synclink_gt.c 	if (!rc && (info->tmp_rbuf_count != count ||
count            5060 drivers/tty/synclink_gt.c 		  memcmp(buf, info->tmp_rbuf, count))) {
count             511 drivers/tty/synclinkmp.c static int  write(struct tty_struct *tty, const unsigned char *buf, int count);
count             586 drivers/tty/synclinkmp.c static void tx_load_dma_buffer(SLMP_INFO *info, const char *buf, unsigned int count);
count             612 drivers/tty/synclinkmp.c static int  alloc_frame_bufs(SLMP_INFO *info, SCADESC *list, SCADESC_EX *list_ex,int count);
count             616 drivers/tty/synclinkmp.c static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src, unsigned short count);
count             617 drivers/tty/synclinkmp.c static void trace_block(SLMP_INFO *info, const char* data, int count, int xmit);
count             698 drivers/tty/synclinkmp.c 			      const __u8 *data, char *flags, int count)
count             706 drivers/tty/synclinkmp.c 			ld->ops->receive_buf(tty, data, flags, count);
count             753 drivers/tty/synclinkmp.c 			 __FILE__,__LINE__,tty->driver->name, info->port.count);
count             763 drivers/tty/synclinkmp.c 	info->port.count++;
count             766 drivers/tty/synclinkmp.c 	if (info->port.count == 1) {
count             788 drivers/tty/synclinkmp.c 		if (tty->count == 1)
count             790 drivers/tty/synclinkmp.c 		if(info->port.count)
count             791 drivers/tty/synclinkmp.c 			info->port.count--;
count             809 drivers/tty/synclinkmp.c 			 __FILE__,__LINE__, info->device_name, info->port.count);
count             828 drivers/tty/synclinkmp.c 			tty->driver->name, info->port.count);
count             851 drivers/tty/synclinkmp.c 	info->port.count = 0;
count             909 drivers/tty/synclinkmp.c 		 const unsigned char *buf, int count)
count             917 drivers/tty/synclinkmp.c 		       __FILE__,__LINE__,info->device_name,count);
count             926 drivers/tty/synclinkmp.c 		if (count > info->max_frame_size) {
count             938 drivers/tty/synclinkmp.c 		ret = info->tx_count = count;
count             939 drivers/tty/synclinkmp.c 		tx_load_dma_buffer(info, buf, count);
count             944 drivers/tty/synclinkmp.c 		c = min_t(int, count,
count             960 drivers/tty/synclinkmp.c 		count -= c;
count             965 drivers/tty/synclinkmp.c 		if (count) {
count            1540 drivers/tty/synclinkmp.c 	if (info->port.count)
count            1636 drivers/tty/synclinkmp.c 	if (info->port.count != 0 || info->netcount != 0) {
count            1722 drivers/tty/synclinkmp.c 	if (info->port.count)
count            2598 drivers/tty/synclinkmp.c 		if ( port && (port->port.count || port->netcount) &&
count            3288 drivers/tty/synclinkmp.c 			 __FILE__,__LINE__, tty->driver->name, port->count );
count            3291 drivers/tty/synclinkmp.c 	port->count--;
count            3318 drivers/tty/synclinkmp.c 				 __FILE__,__LINE__, tty->driver->name, port->count );
count            3328 drivers/tty/synclinkmp.c 		port->count++;
count            3333 drivers/tty/synclinkmp.c 			 __FILE__,__LINE__, tty->driver->name, port->count );
count            3474 drivers/tty/synclinkmp.c static int alloc_frame_bufs(SLMP_INFO *info, SCADESC *buf_list,SCADESC_EX *buf_list_ex,int count)
count            3479 drivers/tty/synclinkmp.c 	for ( i = 0; i < count; i++ ) {
count            4993 drivers/tty/synclinkmp.c static void tx_load_dma_buffer(SLMP_INFO *info, const char *buf, unsigned int count)
count            5001 drivers/tty/synclinkmp.c 		trace_block(info, buf, min_t(unsigned int, count, SCABUFSIZE), 1);
count            5008 drivers/tty/synclinkmp.c 		copy_count = min_t(unsigned int, count, SCABUFSIZE);
count            5019 drivers/tty/synclinkmp.c 		count -= copy_count;
count            5021 drivers/tty/synclinkmp.c 		if (!count)
count            5036 drivers/tty/synclinkmp.c 	static unsigned int count = ARRAY_SIZE(testval);
count            5050 drivers/tty/synclinkmp.c 	for (i = 0 ; i < count ; i++) {
count            5052 drivers/tty/synclinkmp.c 		write_reg(info, IDL, testval[(i+1)%count]);
count            5053 drivers/tty/synclinkmp.c 		write_reg(info, SA0, testval[(i+2)%count]);
count            5054 drivers/tty/synclinkmp.c 		write_reg(info, SA1, testval[(i+3)%count]);
count            5057 drivers/tty/synclinkmp.c 			  (read_reg(info, IDL) != testval[(i+1)%count]) ||
count            5058 drivers/tty/synclinkmp.c 			  (read_reg(info, SA0) != testval[(i+2)%count]) ||
count            5059 drivers/tty/synclinkmp.c 			  (read_reg(info, SA1) != testval[(i+3)%count]) )
count            5228 drivers/tty/synclinkmp.c 	u16 count = TESTFRAMESIZE;
count            5243 drivers/tty/synclinkmp.c 	for (count = 0; count < TESTFRAMESIZE;++count)
count            5244 drivers/tty/synclinkmp.c 		buf[count] = (unsigned char)count;
count            5253 drivers/tty/synclinkmp.c 	info->tx_count = count;
count            5254 drivers/tty/synclinkmp.c 	tx_load_dma_buffer(info,buf,count);
count            5271 drivers/tty/synclinkmp.c 	    ( info->tmp_rx_buf_count != count ||
count            5272 drivers/tty/synclinkmp.c 	      memcmp(buf, info->tmp_rx_buf,count))) {
count            5354 drivers/tty/synclinkmp.c 	unsigned long count = ARRAY_SIZE(testval);
count            5361 drivers/tty/synclinkmp.c 	for ( i = 0 ; i < count ; i++ ) {
count            5402 drivers/tty/synclinkmp.c static void load_pci_memory(SLMP_INFO *info, char* dest, const char* src, unsigned short count)
count            5407 drivers/tty/synclinkmp.c 	unsigned short interval = count / sca_pci_load_interval;
count            5418 drivers/tty/synclinkmp.c 	memcpy(dest, src, count % sca_pci_load_interval);
count            5421 drivers/tty/synclinkmp.c static void trace_block(SLMP_INFO *info,const char* data, int count, int xmit)
count            5430 drivers/tty/synclinkmp.c 	while(count) {
count            5431 drivers/tty/synclinkmp.c 		if (count > 16)
count            5434 drivers/tty/synclinkmp.c 			linecount = count;
count            5449 drivers/tty/synclinkmp.c 		count -= linecount;
count            1098 drivers/tty/sysrq.c 				   size_t count, loff_t *ppos)
count            1100 drivers/tty/sysrq.c 	if (count) {
count            1108 drivers/tty/sysrq.c 	return count;
count             458 drivers/tty/tty_buffer.c 			  char *f, int count)
count             461 drivers/tty/tty_buffer.c 		count = ld->ops->receive_buf2(ld->tty, p, f, count);
count             463 drivers/tty/tty_buffer.c 		count = min_t(int, count, ld->tty->receive_room);
count             464 drivers/tty/tty_buffer.c 		if (count && ld->ops->receive_buf)
count             465 drivers/tty/tty_buffer.c 			ld->ops->receive_buf(ld->tty, p, f, count);
count             467 drivers/tty/tty_buffer.c 	return count;
count             472 drivers/tty/tty_buffer.c receive_buf(struct tty_port *port, struct tty_buffer *head, int count)
count             481 drivers/tty/tty_buffer.c 	n = port->client_ops->receive_buf(port, p, f, count);
count             510 drivers/tty/tty_buffer.c 		int count;
count             524 drivers/tty/tty_buffer.c 		count = smp_load_acquire(&head->commit) - head->read;
count             525 drivers/tty/tty_buffer.c 		if (!count) {
count             533 drivers/tty/tty_buffer.c 		count = receive_buf(port, head, count);
count             534 drivers/tty/tty_buffer.c 		if (!count)
count             536 drivers/tty/tty_buffer.c 		head->read += count;
count             285 drivers/tty/tty_io.c 	int count = 0, kopen_count = 0;
count             289 drivers/tty/tty_io.c 		count++;
count             294 drivers/tty/tty_io.c 	    tty->link && tty->link->count)
count             295 drivers/tty/tty_io.c 		count++;
count             298 drivers/tty/tty_io.c 	if (tty->count != (count + kopen_count)) {
count             300 drivers/tty/tty_io.c 			 routine, tty->count, count, kopen_count);
count             301 drivers/tty/tty_io.c 		return (count + kopen_count);
count             435 drivers/tty/tty_io.c 				size_t count, loff_t *ppos)
count             441 drivers/tty/tty_io.c 				 size_t count, loff_t *ppos)
count             849 drivers/tty/tty_io.c static ssize_t tty_read(struct file *file, char __user *buf, size_t count,
count             866 drivers/tty/tty_io.c 		return hung_up_tty_read(file, buf, count, ppos);
count             868 drivers/tty/tty_io.c 		i = ld->ops->read(tty, file, buf, count);
count             905 drivers/tty/tty_io.c 	size_t count)
count             933 drivers/tty/tty_io.c 	if (count < chunk)
count             934 drivers/tty/tty_io.c 		chunk = count;
count             955 drivers/tty/tty_io.c 		size_t size = count;
count             966 drivers/tty/tty_io.c 		count -= ret;
count             967 drivers/tty/tty_io.c 		if (!count)
count            1000 drivers/tty/tty_io.c 		if (tty->ops->write && tty->count > 0)
count            1026 drivers/tty/tty_io.c 						size_t count, loff_t *ppos)
count            1041 drivers/tty/tty_io.c 		return hung_up_tty_write(file, buf, count, ppos);
count            1045 drivers/tty/tty_io.c 		ret = do_tty_write(ld->ops->write, tty, file, buf, count);
count            1051 drivers/tty/tty_io.c 						size_t count, loff_t *ppos)
count            1062 drivers/tty/tty_io.c 		res = vfs_write(p, buf, count, &p->f_pos);
count            1066 drivers/tty/tty_io.c 	return tty_write(file, buf, count, ppos);
count            1206 drivers/tty/tty_io.c 	tty->count++;
count            1268 drivers/tty/tty_io.c 	if (!tty->count)
count            1288 drivers/tty/tty_io.c 		tty->count++;
count            1676 drivers/tty/tty_io.c 	tty_debug_hangup(tty, "releasing (count=%d)\n", tty->count);
count            1700 drivers/tty/tty_io.c 		if (tty->count <= 1) {
count            1710 drivers/tty/tty_io.c 		if (o_tty && o_tty->count <= 1) {
count            1735 drivers/tty/tty_io.c 		if (--o_tty->count < 0) {
count            1736 drivers/tty/tty_io.c 			tty_warn(tty, "bad slave count (%d)\n", o_tty->count);
count            1737 drivers/tty/tty_io.c 			o_tty->count = 0;
count            1740 drivers/tty/tty_io.c 	if (--tty->count < 0) {
count            1741 drivers/tty/tty_io.c 		tty_warn(tty, "bad tty->count (%d)\n", tty->count);
count            1742 drivers/tty/tty_io.c 		tty->count = 0;
count            1763 drivers/tty/tty_io.c 	if (!tty->count) {
count            1772 drivers/tty/tty_io.c 	final = !tty->count && !(o_tty && o_tty->count);
count            2046 drivers/tty/tty_io.c 	tty_debug_hangup(tty, "opening (count=%d)\n", tty->count);
count            3036 drivers/tty/tty_io.c 		unsigned int index, unsigned int count)
count            3046 drivers/tty/tty_io.c 	err = cdev_add(driver->cdevs[index], dev, count);
count            3432 drivers/tty/tty_io.c 	ssize_t count = 0;
count            3452 drivers/tty/tty_io.c 			count += tty_line_name(drv, index, buf + count);
count            3454 drivers/tty/tty_io.c 			count += sprintf(buf + count, "%s%d",
count            3457 drivers/tty/tty_io.c 		count += sprintf(buf + count, "%c", i ? ' ':'\n');
count            3461 drivers/tty/tty_io.c 	return count;
count              67 drivers/tty/tty_ldsem.c 	atomic_long_set(&sem->count, LDSEM_UNLOCKED);
count              78 drivers/tty/tty_ldsem.c 	long adjust, count;
count              86 drivers/tty/tty_ldsem.c 	count = atomic_long_add_return(adjust, &sem->count);
count              88 drivers/tty/tty_ldsem.c 		if (count > 0)
count              90 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust))
count             110 drivers/tty/tty_ldsem.c 	long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count);
count             112 drivers/tty/tty_ldsem.c 		if ((count & LDSEM_ACTIVE_MASK) == LDSEM_ACTIVE_BIAS)
count             114 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS))
count             156 drivers/tty/tty_ldsem.c down_read_failed(struct ld_semaphore *sem, long count, long timeout)
count             170 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) {
count             171 drivers/tty/tty_ldsem.c 			count += adjust;
count             174 drivers/tty/tty_ldsem.c 		if (count > 0) {
count             187 drivers/tty/tty_ldsem.c 	if ((count & LDSEM_ACTIVE_MASK) == 0)
count             213 drivers/tty/tty_ldsem.c 			atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count);
count             230 drivers/tty/tty_ldsem.c down_write_failed(struct ld_semaphore *sem, long count, long timeout)
count             245 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust))
count             247 drivers/tty/tty_ldsem.c 		if ((count & LDSEM_ACTIVE_MASK) == LDSEM_ACTIVE_BIAS) {
count             271 drivers/tty/tty_ldsem.c 		atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count);
count             298 drivers/tty/tty_ldsem.c 	long count;
count             302 drivers/tty/tty_ldsem.c 	count = atomic_long_add_return(LDSEM_READ_BIAS, &sem->count);
count             303 drivers/tty/tty_ldsem.c 	if (count <= 0) {
count             305 drivers/tty/tty_ldsem.c 		if (!down_read_failed(sem, count, timeout)) {
count             317 drivers/tty/tty_ldsem.c 	long count;
count             321 drivers/tty/tty_ldsem.c 	count = atomic_long_add_return(LDSEM_WRITE_BIAS, &sem->count);
count             322 drivers/tty/tty_ldsem.c 	if ((count & LDSEM_ACTIVE_MASK) != LDSEM_ACTIVE_BIAS) {
count             324 drivers/tty/tty_ldsem.c 		if (!down_write_failed(sem, count, timeout)) {
count             348 drivers/tty/tty_ldsem.c 	long count = atomic_long_read(&sem->count);
count             350 drivers/tty/tty_ldsem.c 	while (count >= 0) {
count             351 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) {
count             374 drivers/tty/tty_ldsem.c 	long count = atomic_long_read(&sem->count);
count             376 drivers/tty/tty_ldsem.c 	while ((count & LDSEM_ACTIVE_MASK) == 0) {
count             377 drivers/tty/tty_ldsem.c 		if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_WRITE_BIAS)) {
count             391 drivers/tty/tty_ldsem.c 	long count;
count             395 drivers/tty/tty_ldsem.c 	count = atomic_long_add_return(-LDSEM_READ_BIAS, &sem->count);
count             396 drivers/tty/tty_ldsem.c 	if (count < 0 && (count & LDSEM_ACTIVE_MASK) == 0)
count             405 drivers/tty/tty_ldsem.c 	long count;
count             409 drivers/tty/tty_ldsem.c 	count = atomic_long_add_return(-LDSEM_WRITE_BIAS, &sem->count);
count             410 drivers/tty/tty_ldsem.c 	if (count < 0)
count              24 drivers/tty/tty_port.c 					const unsigned char *f, size_t count)
count              38 drivers/tty/tty_port.c 	ret = tty_ldisc_receive_buf(disc, p, (char *)f, count);
count             351 drivers/tty/tty_port.c 	port->count = 0;
count             494 drivers/tty/tty_port.c 	port->count--;
count             535 drivers/tty/tty_port.c 		port->count++;
count             568 drivers/tty/tty_port.c 	if (tty->count == 1 && port->count != 1) {
count             570 drivers/tty/tty_port.c 			 port->count);
count             571 drivers/tty/tty_port.c 		port->count = 1;
count             573 drivers/tty/tty_port.c 	if (--port->count < 0) {
count             575 drivers/tty/tty_port.c 			 port->count);
count             576 drivers/tty/tty_port.c 		port->count = 0;
count             579 drivers/tty/tty_port.c 	if (port->count) {
count             674 drivers/tty/tty_port.c 	++port->count;
count              33 drivers/tty/ttynull.c 			 int count)
count              35 drivers/tty/ttynull.c 	return count;
count             519 drivers/tty/vcc.c 				     const char *buf, size_t count)
count             523 drivers/tty/vcc.c 	int rv = count;
count             748 drivers/tty/vcc.c 	if (tty->count > 1)
count             786 drivers/tty/vcc.c 	if (unlikely(tty->count > 1))
count             838 drivers/tty/vcc.c 		     int count)
count             863 drivers/tty/vcc.c 	while (count > 0) {
count             865 drivers/tty/vcc.c 		tosend = min(count, (VCC_BUFF_LEN - port->chars_in_buffer));
count             889 drivers/tty/vcc.c 		count -= tosend;
count             373 drivers/tty/vt/selection.c 	unsigned int count;
count             402 drivers/tty/vt/selection.c 		count = sel_buffer_lth - pasted;
count             403 drivers/tty/vt/selection.c 		count = tty_ldisc_receive_buf(ld, sel_buffer + pasted, NULL,
count             404 drivers/tty/vt/selection.c 					      count);
count             405 drivers/tty/vt/selection.c 		pasted += count;
count             244 drivers/tty/vt/vc_screen.c vcs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             277 drivers/tty/vt/vc_screen.c 	if (uni_mode && (pos | count) & 3)
count             281 drivers/tty/vt/vc_screen.c 	if (count && poll)
count             285 drivers/tty/vt/vc_screen.c 	while (count) {
count             304 drivers/tty/vt/vc_screen.c 		if (count > size - pos)
count             305 drivers/tty/vt/vc_screen.c 			count = size - pos;
count             307 drivers/tty/vt/vc_screen.c 		this_round = count;
count             435 drivers/tty/vt/vc_screen.c 		count -= orig_count;
count             447 drivers/tty/vt/vc_screen.c vcs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
count             483 drivers/tty/vt/vc_screen.c 	if (count > size - pos)
count             484 drivers/tty/vt/vc_screen.c 		count = size - pos;
count             486 drivers/tty/vt/vc_screen.c 	while (count) {
count             487 drivers/tty/vt/vc_screen.c 		long this_round = count;
count             618 drivers/tty/vt/vc_screen.c 		count -= orig_count;
count             651 drivers/tty/vt/vt.c static void do_update_region(struct vc_data *vc, unsigned long start, int count)
count             670 drivers/tty/vt/vt.c 		while (xx < vc->vc_cols && count) {
count             680 drivers/tty/vt/vt.c 			count--;
count             684 drivers/tty/vt/vt.c 		if (!count)
count             695 drivers/tty/vt/vt.c void update_region(struct vc_data *vc, unsigned long start, int count)
count             701 drivers/tty/vt/vt.c 		do_update_region(vc, start, count);
count             760 drivers/tty/vt/vt.c void invert_screen(struct vc_data *vc, int offset, int count, int viewed)
count             766 drivers/tty/vt/vt.c 	count /= 2;
count             769 drivers/tty/vt/vt.c 		vc->vc_sw->con_invert_region(vc, p, count);
count             772 drivers/tty/vt/vt.c 		int cnt = count;
count             800 drivers/tty/vt/vt.c 		do_update_region(vc, (unsigned long) p, count);
count             970 drivers/tty/vt/vt.c 	int count = vc->vc_screenbuf_size / 2;
count             973 drivers/tty/vt/vt.c 	for (; count > 0; count--, p++) {
count            1530 drivers/tty/vt/vt.c 	unsigned int count;
count            1539 drivers/tty/vt/vt.c 			count = (vc->vc_scr_end - vc->vc_pos) >> 1;
count            1545 drivers/tty/vt/vt.c 			count = ((vc->vc_pos - vc->vc_origin) >> 1) + 1;
count            1553 drivers/tty/vt/vt.c 			count = vc->vc_cols * vc->vc_rows;
count            1559 drivers/tty/vt/vt.c 	scr_memsetw(start, vc->vc_video_erase_char, 2 * count);
count            1561 drivers/tty/vt/vt.c 		do_update_region(vc, (unsigned long) start, count);
count            1567 drivers/tty/vt/vt.c 	unsigned int count;
count            1574 drivers/tty/vt/vt.c 			count = vc->vc_cols - vc->vc_x;
count            1578 drivers/tty/vt/vt.c 			count = vc->vc_x + 1;
count            1582 drivers/tty/vt/vt.c 			count = vc->vc_cols;
count            1587 drivers/tty/vt/vt.c 	vc_uniscr_clear_line(vc, vc->vc_x + offset, count);
count            1588 drivers/tty/vt/vt.c 	scr_memsetw(start + offset, vc->vc_video_erase_char, 2 * count);
count            1591 drivers/tty/vt/vt.c 		do_update_region(vc, (unsigned long)(start + offset), count);
count            1596 drivers/tty/vt/vt.c 	int count;
count            1600 drivers/tty/vt/vt.c 	count = (vpar > vc->vc_cols - vc->vc_x) ? (vc->vc_cols - vc->vc_x) : vpar;
count            1602 drivers/tty/vt/vt.c 	vc_uniscr_clear_line(vc, vc->vc_x, count);
count            1603 drivers/tty/vt/vt.c 	scr_memsetw((unsigned short *)vc->vc_pos, vc->vc_video_erase_char, 2 * count);
count            1605 drivers/tty/vt/vt.c 		vc->vc_sw->con_clear(vc, vc->vc_y, vc->vc_x, 1, count);
count            2582 drivers/tty/vt/vt.c static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int count)
count            2596 drivers/tty/vt/vt.c 		return count;
count            2625 drivers/tty/vt/vt.c 	while (!tty->stopped && count) {
count            2630 drivers/tty/vt/vt.c 		count--;
count            2946 drivers/tty/vt/vt.c static void vt_console_print(struct console *co, const char *b, unsigned count)
count            2981 drivers/tty/vt/vt.c 	while (count--) {
count            3159 drivers/tty/vt/vt.c static int con_write(struct tty_struct *tty, const unsigned char *buf, int count)
count            3163 drivers/tty/vt/vt.c 	retval = do_con_write(tty, buf, count);
count            3790 drivers/tty/vt/vt.c 			  const char *buf, size_t count)
count            3804 drivers/tty/vt/vt.c 	return count;
count             392 drivers/tty/vt/vt_ioctl.c 		unsigned int ticks, count;
count             399 drivers/tty/vt/vt_ioctl.c 		count = ticks ? (arg & 0xffff) : 0;
count             400 drivers/tty/vt/vt_ioctl.c 		if (count)
count             401 drivers/tty/vt/vt_ioctl.c 			count = PIT_TICK_RATE / count;
count             402 drivers/tty/vt/vt_ioctl.c 		kd_mksound(count, ticks);
count             564 drivers/uio/uio.c 			size_t count, loff_t *ppos)
count             572 drivers/uio/uio.c 	if (count != sizeof(s32))
count             591 drivers/uio/uio.c 			if (copy_to_user(buf, &event_count, count))
count             595 drivers/uio/uio.c 				retval = count;
count             619 drivers/uio/uio.c 			size_t count, loff_t *ppos)
count             626 drivers/uio/uio.c 	if (count != sizeof(s32))
count             629 drivers/uio/uio.c 	if (copy_from_user(&irq_on, buf, count))
count              69 drivers/uio/uio_fsl_elbc_gpcm.c 			 const char *buf, size_t count);
count             101 drivers/uio/uio_fsl_elbc_gpcm.c 			 const char *buf, size_t count)
count             146 drivers/uio/uio_fsl_elbc_gpcm.c 	return count;
count             334 drivers/usb/atm/cxacru.c 	struct device_attribute *attr, const char *buf, size_t count)
count             437 drivers/usb/atm/cxacru.c 	struct device_attribute *attr, const char *buf, size_t count)
count             598 drivers/usb/atm/speedtch.c 	unsigned int count = int_urb->actual_length;
count             614 drivers/usb/atm/speedtch.c 	if ((count == 6) && !memcmp(up_int, instance->int_data, 6)) {
count             617 drivers/usb/atm/speedtch.c 	} else if ((count == 6) && !memcmp(down_int, instance->int_data, 6)) {
count             622 drivers/usb/atm/speedtch.c 		atm_dbg(usbatm, "%s: unknown interrupt packet of length %d:", __func__, count);
count             623 drivers/usb/atm/speedtch.c 		for (i = 0; i < count; i++)
count            2262 drivers/usb/atm/ueagle-atm.c 		const char *buf, size_t count)
count            2272 drivers/usb/atm/ueagle-atm.c 	ret = count;
count              77 drivers/usb/c67x00/c67x00-drv.c 	int i, count = 8;
count              83 drivers/usb/c67x00/c67x00-drv.c 	while (int_status != 0 && (count-- >= 0)) {
count             119 drivers/usb/c67x00/c67x00-ll-hpi.c 				 __le16 *data, u16 count)
count             127 drivers/usb/c67x00/c67x00-ll-hpi.c 	for (i = 0; i < count; i++)
count             137 drivers/usb/c67x00/c67x00-ll-hpi.c 				__le16 *data, u16 count)
count             144 drivers/usb/c67x00/c67x00-ll-hpi.c 	for (i = 0; i < count; i++)
count             480 drivers/usb/chipidea/core.c 	int count = 0;
count             485 drivers/usb/chipidea/core.c 		if (count++ > 1000)
count              74 drivers/usb/chipidea/debug.c 				  size_t count, loff_t *ppos)
count              83 drivers/usb/chipidea/debug.c 	count = min_t(size_t, sizeof(buf) - 1, count);
count              84 drivers/usb/chipidea/debug.c 	if (copy_from_user(buf, ubuf, count))
count              88 drivers/usb/chipidea/debug.c 	buf[count] = '\0';
count             102 drivers/usb/chipidea/debug.c 	return ret ? ret : count;
count             261 drivers/usb/chipidea/debug.c 			     size_t count, loff_t *ppos)
count             269 drivers/usb/chipidea/debug.c 	if (copy_from_user(buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             288 drivers/usb/chipidea/debug.c 	return ret ? ret : count;
count              49 drivers/usb/chipidea/otg_fsm.c 					const char *buf, size_t count)
count              53 drivers/usb/chipidea/otg_fsm.c 	if (count > 2)
count              63 drivers/usb/chipidea/otg_fsm.c 			return count;
count              69 drivers/usb/chipidea/otg_fsm.c 			return count;
count              76 drivers/usb/chipidea/otg_fsm.c 	return count;
count              98 drivers/usb/chipidea/otg_fsm.c 					const char *buf, size_t count)
count             102 drivers/usb/chipidea/otg_fsm.c 	if (count > 2)
count             116 drivers/usb/chipidea/otg_fsm.c 	return count;
count             138 drivers/usb/chipidea/otg_fsm.c 					const char *buf, size_t count)
count             142 drivers/usb/chipidea/otg_fsm.c 	if (count > 2)
count             153 drivers/usb/chipidea/otg_fsm.c 			return count;
count             160 drivers/usb/chipidea/otg_fsm.c 	return count;
count             166 drivers/usb/chipidea/otg_fsm.c 					const char *buf, size_t count)
count             170 drivers/usb/chipidea/otg_fsm.c 	if (count > 2)
count             180 drivers/usb/chipidea/otg_fsm.c 	return count;
count             443 drivers/usb/chipidea/udc.c 		unsigned count = min(hwreq->req.length - hwreq->req.actual,
count             445 drivers/usb/chipidea/udc.c 		ret = add_td_to_list(hwep, hwreq, count);
count             449 drivers/usb/chipidea/udc.c 		rest -= count;
count             775 drivers/usb/class/cdc-acm.c 					const unsigned char *buf, int count)
count             783 drivers/usb/class/cdc-acm.c 	if (!count)
count             786 drivers/usb/class/cdc-acm.c 	dev_vdbg(&acm->data->dev, "%d bytes from tty layer\n", count);
count             802 drivers/usb/class/cdc-acm.c 	count = (count > acm->writesize) ? acm->writesize : count;
count             803 drivers/usb/class/cdc-acm.c 	dev_vdbg(&acm->data->dev, "writing %d bytes\n", count);
count             804 drivers/usb/class/cdc-acm.c 	memcpy(wb->buf, buf, count);
count             805 drivers/usb/class/cdc-acm.c 	wb->len = count;
count             817 drivers/usb/class/cdc-acm.c 		return count;
count             825 drivers/usb/class/cdc-acm.c 	return count;
count              92 drivers/usb/class/cdc-wdm.c 	int			count;
count             348 drivers/usb/class/cdc-wdm.c (struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
count             355 drivers/usb/class/cdc-wdm.c 	if (count > desc->wMaxCommand)
count             356 drivers/usb/class/cdc-wdm.c 		count = desc->wMaxCommand;
count             365 drivers/usb/class/cdc-wdm.c 	buf = memdup_user(buffer, count);
count             409 drivers/usb/class/cdc-wdm.c 		count,
count             419 drivers/usb/class/cdc-wdm.c 	req->wLength = cpu_to_le16(count);
count             437 drivers/usb/class/cdc-wdm.c 	return count;
count             478 drivers/usb/class/cdc-wdm.c (struct file *file, char __user *buffer, size_t count, loff_t *ppos)
count             559 drivers/usb/class/cdc-wdm.c 	if (cntr > count)
count             560 drivers/usb/class/cdc-wdm.c 		cntr = count;
count             661 drivers/usb/class/cdc-wdm.c 	if (!desc->count++) {
count             666 drivers/usb/class/cdc-wdm.c 			desc->count--;
count             675 drivers/usb/class/cdc-wdm.c 	if (desc->count == 1)
count             691 drivers/usb/class/cdc-wdm.c 	desc->count--;
count             694 drivers/usb/class/cdc-wdm.c 	if (!desc->count) {
count            1002 drivers/usb/class/cdc-wdm.c 	if (!desc->count)
count            1005 drivers/usb/class/cdc-wdm.c 		dev_dbg(&intf->dev, "%d open files - postponing cleanup\n", desc->count);
count            1051 drivers/usb/class/cdc-wdm.c 	if (desc->count) {
count             716 drivers/usb/class/usblp.c static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
count             731 drivers/usb/class/usblp.c 	while (writecount < count) {
count             735 drivers/usb/class/usblp.c 		if ((transfer_length = count - writecount) > USBLP_BUF_SIZE)
count             818 drivers/usb/class/usblp.c 	ssize_t count;
count             833 drivers/usb/class/usblp.c 		count = -EIO;
count             837 drivers/usb/class/usblp.c 	count = len < avail - usblp->readcount ? len : avail - usblp->readcount;
count             838 drivers/usb/class/usblp.c 	if (count != 0 &&
count             839 drivers/usb/class/usblp.c 	    copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) {
count             840 drivers/usb/class/usblp.c 		count = -EFAULT;
count             844 drivers/usb/class/usblp.c 	if ((usblp->readcount += count) == avail) {
count             847 drivers/usb/class/usblp.c 			if (count == 0)
count             848 drivers/usb/class/usblp.c 				count = -EIO;
count             855 drivers/usb/class/usblp.c 	return count;
count            1097 drivers/usb/class/usbtmc.c 		file_data->limit_write_sem.count);
count            1331 drivers/usb/class/usbtmc.c 			   size_t count, loff_t *f_pos)
count            1359 drivers/usb/class/usbtmc.c 	if (count > INT_MAX)
count            1360 drivers/usb/class/usbtmc.c 		count = INT_MAX;
count            1362 drivers/usb/class/usbtmc.c 	dev_dbg(dev, "%s(count:%zu)\n", __func__, count);
count            1364 drivers/usb/class/usbtmc.c 	retval = send_request_dev_dep_msg_in(file_data, count);
count            1373 drivers/usb/class/usbtmc.c 	remaining = count;
count            1433 drivers/usb/class/usbtmc.c 			n_characters, count);
count            1481 drivers/usb/class/usbtmc.c 			    size_t count, loff_t *f_pos)
count            1508 drivers/usb/class/usbtmc.c 	if (!count)
count            1527 drivers/usb/class/usbtmc.c 	if (count > INT_MAX) {
count            1531 drivers/usb/class/usbtmc.c 		transfersize = count;
count             109 drivers/usb/core/devices.c 	atomic_t count;
count             112 drivers/usb/core/devices.c 	.count = ATOMIC_INIT(1),
count             147 drivers/usb/core/devices.c 	atomic_add(2, &device_event.count);
count             472 drivers/usb/core/devices.c 			       int level, int index, int count)
count             518 drivers/usb/core/devices.c 			index, count, usbdev->devnum,
count             632 drivers/usb/core/devices.c 	event_count = atomic_read(&device_event.count);
count             173 drivers/usb/core/devio.c static void dec_usb_memory_use_count(struct usb_memory *usbm, int *count)
count             179 drivers/usb/core/devio.c 	--*count;
count              45 drivers/usb/core/driver.c 			 const char *buf, size_t count)
count             106 drivers/usb/core/driver.c 	return count;
count             117 drivers/usb/core/driver.c 	size_t count = 0;
count             121 drivers/usb/core/driver.c 			count += scnprintf(&buf[count], PAGE_SIZE - count, "%04x %04x %02x\n",
count             125 drivers/usb/core/driver.c 			count += scnprintf(&buf[count], PAGE_SIZE - count, "%04x %04x\n",
count             127 drivers/usb/core/driver.c 	return count;
count             139 drivers/usb/core/driver.c 			    const char *buf, size_t count)
count             143 drivers/usb/core/driver.c 	return usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, driver, buf, count);
count             151 drivers/usb/core/driver.c 			       size_t count)
count             175 drivers/usb/core/driver.c 	return count;
count              20 drivers/usb/core/ledtrig-usbport.c 	int count; /* Amount of connected matching devices */
count              62 drivers/usb/core/ledtrig-usbport.c 		usbport_data->count++;
count              74 drivers/usb/core/ledtrig-usbport.c 	usbport_data->count = 0;
count              76 drivers/usb/core/ledtrig-usbport.c 	led_set_brightness(led_cdev, usbport_data->count ? LED_FULL : LED_OFF);
count             136 drivers/usb/core/ledtrig-usbport.c 	int count, i;
count             153 drivers/usb/core/ledtrig-usbport.c 	count = of_count_phandle_with_args(led_np, "trigger-sources",
count             155 drivers/usb/core/ledtrig-usbport.c 	if (count < 0) {
count             162 drivers/usb/core/ledtrig-usbport.c 	for (i = 0; i < count; i++) {
count             289 drivers/usb/core/ledtrig-usbport.c 		if (observed && usbport_data->count++ == 0)
count             294 drivers/usb/core/ledtrig-usbport.c 		if (observed && --usbport_data->count == 0)
count             332 drivers/usb/core/message.c 	io->count--;
count             333 drivers/usb/core/message.c 	if (!io->count)
count             459 drivers/usb/core/message.c 	io->count = io->entries;
count             562 drivers/usb/core/message.c 	io->count -= entries - i;
count             563 drivers/usb/core/message.c 	if (io->count == 0)
count             591 drivers/usb/core/message.c 	if (io->status || io->count == 0) {
count             597 drivers/usb/core/message.c 	io->count++;		/* Keep the request alive until we're done */
count             613 drivers/usb/core/message.c 	io->count--;
count             614 drivers/usb/core/message.c 	if (!io->count)
count              71 drivers/usb/core/port.c 			    const char *buf, size_t count)
count              80 drivers/usb/core/port.c 	return count;
count             107 drivers/usb/core/port.c 			       const char *buf, size_t count)
count             146 drivers/usb/core/port.c 	return count;
count              94 drivers/usb/core/sysfs.c 					 const char *buf, size_t count)
count             106 drivers/usb/core/sysfs.c 	return (value < 0) ? value : count;
count             272 drivers/usb/core/sysfs.c 				      const char *buf, size_t count)
count             287 drivers/usb/core/sysfs.c 	return count;
count             344 drivers/usb/core/sysfs.c 			     const char *buf, size_t count)
count             361 drivers/usb/core/sysfs.c 	return count;
count             429 drivers/usb/core/sysfs.c 				 size_t count)
count             438 drivers/usb/core/sysfs.c 	return count;
count             469 drivers/usb/core/sysfs.c 			   const char *buf, size_t count)
count             472 drivers/usb/core/sysfs.c 	int len = count;
count             474 drivers/usb/core/sysfs.c 	int rc = count;
count             478 drivers/usb/core/sysfs.c 	cp = memchr(buf, '\n', count);
count             518 drivers/usb/core/sysfs.c 				       const char *buf, size_t count)
count             541 drivers/usb/core/sysfs.c 		return count;
count             557 drivers/usb/core/sysfs.c 					 const char *buf, size_t count)
count             567 drivers/usb/core/sysfs.c 	return count;
count             580 drivers/usb/core/sysfs.c 				   const char *buf, size_t count)
count             590 drivers/usb/core/sysfs.c 	return count;
count             779 drivers/usb/core/sysfs.c 			    const char *buf, size_t count)
count             792 drivers/usb/core/sysfs.c 		rc = count;
count             884 drivers/usb/core/sysfs.c 		char *buf, loff_t off, size_t count)
count             888 drivers/usb/core/sysfs.c 	size_t nleft = count;
count             917 drivers/usb/core/sysfs.c 	return count - nleft;
count             987 drivers/usb/core/sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             991 drivers/usb/core/sysfs.c 	int rc = count;
count            1189 drivers/usb/core/sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1202 drivers/usb/core/sysfs.c 	return count;
count             103 drivers/usb/core/usb-acpi.c 		|| upc->package.count != 4) {
count            1228 drivers/usb/dwc2/core.h 				  void *buffer, unsigned int count)
count            1230 drivers/usb/dwc2/core.h 	if (count) {
count            1236 drivers/usb/dwc2/core.h 		} while (--count);
count            1241 drivers/usb/dwc2/core.h 				   const void *buffer, unsigned int count)
count            1243 drivers/usb/dwc2/core.h 	if (count) {
count            1248 drivers/usb/dwc2/core.h 		} while (--count);
count              28 drivers/usb/dwc2/debugfs.c 		count, loff_t *ppos)
count              36 drivers/usb/dwc2/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count              55 drivers/usb/dwc2/debugfs.c 	return count;
count            3169 drivers/usb/dwc2/hcd.c 	u32 count = 0;
count            3204 drivers/usb/dwc2/hcd.c 			if (++count > 250)
count            3207 drivers/usb/dwc2/hcd.c 		if (count > 250)
count            3228 drivers/usb/dwc2/hcd.c 			if (++count > 250)
count            3231 drivers/usb/dwc2/hcd.c 		if (count > 250)
count             442 drivers/usb/dwc2/hcd_intr.c 	u32 hctsiz, count, length;
count             448 drivers/usb/dwc2/hcd_intr.c 			count = (hctsiz & TSIZ_XFERSIZE_MASK) >>
count             450 drivers/usb/dwc2/hcd_intr.c 			length = chan->xfer_len - count;
count             452 drivers/usb/dwc2/hcd_intr.c 				*short_read = (count != 0);
count             468 drivers/usb/dwc2/hcd_intr.c 		count = (hctsiz & TSIZ_PKTCNT_MASK) >> TSIZ_PKTCNT_SHIFT;
count             469 drivers/usb/dwc2/hcd_intr.c 		length = (chan->start_pkt_count - count) * chan->max_packet;
count             455 drivers/usb/dwc2/hcd_queue.c 		int count = 0;
count             464 drivers/usb/dwc2/hcd_queue.c 				if (count == 0)
count             466 drivers/usb/dwc2/hcd_queue.c 				count++;
count             471 drivers/usb/dwc2/hcd_queue.c 			if (count == 0)
count             482 drivers/usb/dwc2/hcd_queue.c 				   units, start + count - 1, units);
count             483 drivers/usb/dwc2/hcd_queue.c 			count = 0;
count             633 drivers/usb/dwc3/core.h 	unsigned int		count;
count             357 drivers/usb/dwc3/debugfs.c 			      size_t count, loff_t *ppos)
count             366 drivers/usb/dwc3/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             377 drivers/usb/dwc3/debugfs.c 	return count;
count             421 drivers/usb/dwc3/debugfs.c 		const char __user *ubuf, size_t count, loff_t *ppos)
count             428 drivers/usb/dwc3/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             442 drivers/usb/dwc3/debugfs.c 	return count;
count             497 drivers/usb/dwc3/debugfs.c 		const char __user *ubuf, size_t count, loff_t *ppos)
count             505 drivers/usb/dwc3/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             525 drivers/usb/dwc3/debugfs.c 	return count;
count             570 drivers/usb/dwc3/debugfs.c 		const char __user *ubuf, size_t count, loff_t *ppos)
count             580 drivers/usb/dwc3/debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             617 drivers/usb/dwc3/debugfs.c 	return count;
count             403 drivers/usb/dwc3/dwc3-qcom.c static int dwc3_qcom_clk_init(struct dwc3_qcom *qcom, int count)
count             409 drivers/usb/dwc3/dwc3-qcom.c 	if (!np || !count)
count             412 drivers/usb/dwc3/dwc3-qcom.c 	if (count < 0)
count             413 drivers/usb/dwc3/dwc3-qcom.c 		return count;
count             415 drivers/usb/dwc3/dwc3-qcom.c 	qcom->num_clocks = count;
count            2409 drivers/usb/dwc3/gadget.c 	unsigned int		count;
count            2453 drivers/usb/dwc3/gadget.c 	count = trb->size & DWC3_TRB_SIZE_MASK;
count            2454 drivers/usb/dwc3/gadget.c 	req->remaining += count;
count            3204 drivers/usb/dwc3/gadget.c 	left = evt->count;
count            3229 drivers/usb/dwc3/gadget.c 	evt->count = 0;
count            3264 drivers/usb/dwc3/gadget.c 	u32 count;
count            3283 drivers/usb/dwc3/gadget.c 	count = dwc3_readl(dwc->regs, DWC3_GEVNTCOUNT(0));
count            3284 drivers/usb/dwc3/gadget.c 	count &= DWC3_GEVNTCOUNT_MASK;
count            3285 drivers/usb/dwc3/gadget.c 	if (!count)
count            3288 drivers/usb/dwc3/gadget.c 	evt->count = count;
count            3296 drivers/usb/dwc3/gadget.c 	amount = min(count, evt->length - evt->lpos);
count            3299 drivers/usb/dwc3/gadget.c 	if (amount < count)
count            3300 drivers/usb/dwc3/gadget.c 		memcpy(evt->cache, evt->buf, count - amount);
count            3302 drivers/usb/dwc3/gadget.c 	dwc3_writel(dwc->regs, DWC3_GEVNTCOUNT(0), count);
count              22 drivers/usb/dwc3/ulpi.c 	unsigned count = 1000;
count              25 drivers/usb/dwc3/ulpi.c 	while (count--) {
count             347 drivers/usb/early/xhci-dbc.c static void xdbc_do_reset_debug_port(u32 id, u32 count)
count             358 drivers/usb/early/xhci-dbc.c 	for (i = id; i < (id + count); i++) {
count             568 drivers/usb/gadget/composite.c 	unsigned			count = 0;
count             598 drivers/usb/gadget/composite.c 		count++;
count             600 drivers/usb/gadget/composite.c 	return count;
count            1452 drivers/usb/gadget/composite.c 	int i, count;
count            1454 drivers/usb/gadget/composite.c 	count = 16;
count            1477 drivers/usb/gadget/composite.c 			count += 24;
count            1478 drivers/usb/gadget/composite.c 			if (count + 24 >= USB_COMP_EP0_OS_DESC_BUFSIZ)
count            1479 drivers/usb/gadget/composite.c 				return count;
count            1483 drivers/usb/gadget/composite.c 	return count;
count            1527 drivers/usb/gadget/composite.c 	int j, count, n, ret;
count            1530 drivers/usb/gadget/composite.c 	count = 10; /* header length */
count            1540 drivers/usb/gadget/composite.c 				if (count + n >= USB_COMP_EP0_OS_DESC_BUFSIZ)
count            1541 drivers/usb/gadget/composite.c 					return count;
count            1569 drivers/usb/gadget/composite.c 				count += n;
count            1573 drivers/usb/gadget/composite.c 	return count;
count            1850 drivers/usb/gadget/composite.c 			int				count = 0;
count            1866 drivers/usb/gadget/composite.c 				count = count_ext_compat(os_desc_cfg);
count            1867 drivers/usb/gadget/composite.c 				buf[8] = count;
count            1868 drivers/usb/gadget/composite.c 				count *= 24; /* 24 B/ext compat desc */
count            1869 drivers/usb/gadget/composite.c 				count += 16; /* header */
count            1870 drivers/usb/gadget/composite.c 				put_unaligned_le32(count, buf);
count            1882 drivers/usb/gadget/composite.c 				count = count_ext_prop(os_desc_cfg,
count            1884 drivers/usb/gadget/composite.c 				put_unaligned_le16(count, buf + 8);
count            1885 drivers/usb/gadget/composite.c 				count = len_ext_prop(os_desc_cfg,
count            1887 drivers/usb/gadget/composite.c 				put_unaligned_le32(count, buf);
count             239 drivers/usb/gadget/function/f_fs.c static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count);
count             490 drivers/usb/gadget/function/f_fs.c 	ffs->ev.count -= n;
count             491 drivers/usb/gadget/function/f_fs.c 	if (ffs->ev.count)
count             493 drivers/usb/gadget/function/f_fs.c 			ffs->ev.count * sizeof *ffs->ev.types);
count             544 drivers/usb/gadget/function/f_fs.c 		if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) {
count             550 drivers/usb/gadget/function/f_fs.c 							ffs->ev.count)) {
count             557 drivers/usb/gadget/function/f_fs.c 					     min(n, (size_t)ffs->ev.count));
count             672 drivers/usb/gadget/function/f_fs.c 			if (ffs->ev.count)
count            1826 drivers/usb/gadget/function/f_fs.c 	ffs->ev.count = 0;
count            1890 drivers/usb/gadget/function/f_fs.c 	unsigned i, count;
count            1894 drivers/usb/gadget/function/f_fs.c 	count = ffs->eps_count;
count            1895 drivers/usb/gadget/function/f_fs.c 	epfiles = kcalloc(count, sizeof(*epfiles), GFP_KERNEL);
count            1900 drivers/usb/gadget/function/f_fs.c 	for (i = 1; i <= count; ++i, ++epfile) {
count            1920 drivers/usb/gadget/function/f_fs.c static void ffs_epfiles_destroy(struct ffs_epfile *epfiles, unsigned count)
count            1926 drivers/usb/gadget/function/f_fs.c 	for (; count; --count, ++epfile) {
count            1942 drivers/usb/gadget/function/f_fs.c 	unsigned count            = func->ffs->eps_count;
count            1946 drivers/usb/gadget/function/f_fs.c 	while (count--) {
count            1966 drivers/usb/gadget/function/f_fs.c 	unsigned count            = ffs->eps_count;
count            1971 drivers/usb/gadget/function/f_fs.c 	while(count--) {
count            2168 drivers/usb/gadget/function/f_fs.c static int __must_check ffs_do_descs(unsigned count, char *data, unsigned len,
count            2180 drivers/usb/gadget/function/f_fs.c 		if (num == count)
count            2313 drivers/usb/gadget/function/f_fs.c static int __must_check ffs_do_os_descs(unsigned count,
count            2322 drivers/usb/gadget/function/f_fs.c 	for (num = 0; num < count; ++num) {
count            2772 drivers/usb/gadget/function/f_fs.c 		unsigned n = ffs->ev.count;
count            2778 drivers/usb/gadget/function/f_fs.c 		ffs->ev.count = out - ffs->ev.types;
count            2782 drivers/usb/gadget/function/f_fs.c 	ffs->ev.types[ffs->ev.count++] = type;
count            3430 drivers/usb/gadget/function/f_fs.c 	unsigned count = func->ffs->interfaces_count;
count            3432 drivers/usb/gadget/function/f_fs.c 	for (; count; --count, ++nums) {
count            3574 drivers/usb/gadget/function/f_fs.c 	unsigned count = ffs->eps_count;
count            3588 drivers/usb/gadget/function/f_fs.c 	while (count--) {
count             244 drivers/usb/gadget/function/f_hid.c 			size_t count, loff_t *ptr)
count             252 drivers/usb/gadget/function/f_hid.c 	if (!count)
count             255 drivers/usb/gadget/function/f_hid.c 	if (!access_ok(buffer, count))
count             285 drivers/usb/gadget/function/f_hid.c 	count = min_t(unsigned int, count, req->actual - list->pos);
count             289 drivers/usb/gadget/function/f_hid.c 	count -= copy_to_user(buffer, req->buf + list->pos, count);
count             290 drivers/usb/gadget/function/f_hid.c 	list->pos += count;
count             315 drivers/usb/gadget/function/f_hid.c 	return count;
count             335 drivers/usb/gadget/function/f_hid.c 			    size_t count, loff_t *offp)
count             342 drivers/usb/gadget/function/f_hid.c 	if (!access_ok(buffer, count))
count             364 drivers/usb/gadget/function/f_hid.c 	count  = min_t(unsigned, count, hidg->report_length);
count             367 drivers/usb/gadget/function/f_hid.c 	status = copy_from_user(req->buf, buffer, count);
count             390 drivers/usb/gadget/function/f_hid.c 	req->length   = count;
count             402 drivers/usb/gadget/function/f_hid.c 		status = count;
count            1136 drivers/usb/gadget/function/f_hid.c int ghid_setup(struct usb_gadget *g, int count)
count            1148 drivers/usb/gadget/function/f_hid.c 	status = alloc_chrdev_region(&dev, 0, count, "hidg");
count            1156 drivers/usb/gadget/function/f_hid.c 	minors = count;
count            2530 drivers/usb/gadget/function/f_mass_storage.c 			const char *buf, size_t count)
count            2535 drivers/usb/gadget/function/f_mass_storage.c 	return fsg_store_ro(curlun, filesem, buf, count);
count            2539 drivers/usb/gadget/function/f_mass_storage.c 			   const char *buf, size_t count)
count            2543 drivers/usb/gadget/function/f_mass_storage.c 	return fsg_store_nofua(curlun, buf, count);
count            2547 drivers/usb/gadget/function/f_mass_storage.c 			  const char *buf, size_t count)
count            2552 drivers/usb/gadget/function/f_mass_storage.c 	return fsg_store_file(curlun, filesem, buf, count);
count            1463 drivers/usb/gadget/function/f_printer.c static int gprinter_setup(int count)
count            1476 drivers/usb/gadget/function/f_printer.c 	status = alloc_chrdev_region(&devt, 0, count, "USB printer gadget");
count            1485 drivers/usb/gadget/function/f_printer.c 	minors = count;
count            1508 drivers/usb/gadget/function/f_tcm.c 		const char *page, size_t count)
count            1531 drivers/usb/gadget/function/f_tcm.c 	return count;
count            1639 drivers/usb/gadget/function/f_tcm.c 		const char *page, size_t count)
count            1648 drivers/usb/gadget/function/f_tcm.c 		return (!ret) ? count : ret;
count            1671 drivers/usb/gadget/function/f_tcm.c 	return count;
count             175 drivers/usb/gadget/function/rndis.c 	int i, count;
count             212 drivers/usb/gadget/function/rndis.c 		count  = length / sizeof(u32);
count             213 drivers/usb/gadget/function/rndis.c 		for (i = 0; i < count; i++)
count            1118 drivers/usb/gadget/function/rndis.c 				size_t count, loff_t *ppos)
count            1124 drivers/usb/gadget/function/rndis.c 	for (i = 0; i < count; i++) {
count            1159 drivers/usb/gadget/function/rndis.c 	return count;
count             392 drivers/usb/gadget/function/storage_common.c 		     const char *buf, size_t count)
count             408 drivers/usb/gadget/function/storage_common.c 		rc = count;
count             415 drivers/usb/gadget/function/storage_common.c ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count)
count             430 drivers/usb/gadget/function/storage_common.c 	return count;
count             435 drivers/usb/gadget/function/storage_common.c 		       const char *buf, size_t count)
count             445 drivers/usb/gadget/function/storage_common.c 	if (count > 0 && buf[count-1] == '\n')
count             446 drivers/usb/gadget/function/storage_common.c 		((char *) buf)[count-1] = 0;		/* Ugh! */
count             450 drivers/usb/gadget/function/storage_common.c 	if (count > 0 && buf[0]) {
count             461 drivers/usb/gadget/function/storage_common.c 	return (rc < 0 ? rc : count);
count             466 drivers/usb/gadget/function/storage_common.c 			const char *buf, size_t count)
count             480 drivers/usb/gadget/function/storage_common.c 		ret = count;
count             489 drivers/usb/gadget/function/storage_common.c 			    size_t count)
count             500 drivers/usb/gadget/function/storage_common.c 	return count;
count             505 drivers/usb/gadget/function/storage_common.c 				 size_t count)
count             507 drivers/usb/gadget/function/storage_common.c 	const size_t len = min(count, sizeof(curlun->inquiry_string));
count             518 drivers/usb/gadget/function/storage_common.c 	return count;
count             217 drivers/usb/gadget/function/storage_common.h 		     const char *buf, size_t count);
count             218 drivers/usb/gadget/function/storage_common.h ssize_t fsg_store_nofua(struct fsg_lun *curlun, const char *buf, size_t count);
count             220 drivers/usb/gadget/function/storage_common.h 		       const char *buf, size_t count);
count             222 drivers/usb/gadget/function/storage_common.h 			const char *buf, size_t count);
count             224 drivers/usb/gadget/function/storage_common.h 			    size_t count);
count             226 drivers/usb/gadget/function/storage_common.h 				 size_t count);
count             203 drivers/usb/gadget/function/u_fs.h 		unsigned short			count;
count              36 drivers/usb/gadget/function/u_hid.h int ghid_setup(struct usb_gadget *g, int count);
count             397 drivers/usb/gadget/function/u_serial.c 			int		count;
count             406 drivers/usb/gadget/function/u_serial.c 			count = tty_insert_flip_string(&port->port, packet,
count             408 drivers/usb/gadget/function/u_serial.c 			if (count)
count             410 drivers/usb/gadget/function/u_serial.c 			if (count != size) {
count             412 drivers/usb/gadget/function/u_serial.c 				port->n_read += count;
count             414 drivers/usb/gadget/function/u_serial.c 					  port->port_num, count, req->actual);
count             602 drivers/usb/gadget/function/u_serial.c 			if (port->port.count) {
count             604 drivers/usb/gadget/function/u_serial.c 				port->port.count++;
count             664 drivers/usb/gadget/function/u_serial.c 	port->port.count = 1;
count             706 drivers/usb/gadget/function/u_serial.c 	if (port->port.count != 1) {
count             707 drivers/usb/gadget/function/u_serial.c 		if (port->port.count == 0)
count             710 drivers/usb/gadget/function/u_serial.c 			--port->port.count;
count             720 drivers/usb/gadget/function/u_serial.c 	port->port.count = 0;
count             759 drivers/usb/gadget/function/u_serial.c static int gs_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             765 drivers/usb/gadget/function/u_serial.c 			port->port_num, tty, count);
count             768 drivers/usb/gadget/function/u_serial.c 	if (count)
count             769 drivers/usb/gadget/function/u_serial.c 		count = kfifo_in(&port->port_write_buf, buf, count);
count             775 drivers/usb/gadget/function/u_serial.c 	return count;
count             989 drivers/usb/gadget/function/u_serial.c 	int xfer, ret, count, size;
count            1002 drivers/usb/gadget/function/u_serial.c 		count = kfifo_len(&info->con_buf);
count            1005 drivers/usb/gadget/function/u_serial.c 		if (count > 0 && !info->req_busy) {
count            1007 drivers/usb/gadget/function/u_serial.c 			if (count < size)
count            1008 drivers/usb/gadget/function/u_serial.c 				size = count;
count            1065 drivers/usb/gadget/function/u_serial.c 			     const char *buf, unsigned count)
count            1071 drivers/usb/gadget/function/u_serial.c 	kfifo_in(&info->con_buf, buf, count);
count            1177 drivers/usb/gadget/function/u_serial.c 	cond = (port->port.count == 0) && !port->openclose;
count            1324 drivers/usb/gadget/function/u_serial.c 	if (port->port.count) {
count            1371 drivers/usb/gadget/function/u_serial.c 	if (port->port.count > 0 || port->openclose) {
count            1384 drivers/usb/gadget/function/u_serial.c 	if (port->port.count == 0 && !port->openclose)
count             152 drivers/usb/gadget/function/u_uac1_legacy.c size_t u_audio_playback(struct gaudio *card, void *buf, size_t count)
count             172 drivers/usb/gadget/function/u_uac1_legacy.c 	frames = bytes_to_frames(runtime, count);
count              75 drivers/usb/gadget/function/u_uac1_legacy.h size_t u_audio_playback(struct gaudio *card, void *buf, size_t count);
count            2027 drivers/usb/gadget/function/uvc_configfs.c 	size_t *count = priv3;
count            2067 drivers/usb/gadget/function/uvc_configfs.c 	++*count;
count            2164 drivers/usb/gadget/function/uvc_configfs.c 	size_t size = 0, count = 0;
count            2185 drivers/usb/gadget/function/uvc_configfs.c 	ret = __uvcg_iter_strm_cls(target_hdr, &size, &count, __uvcg_cnt_strm);
count            2189 drivers/usb/gadget/function/uvc_configfs.c 	count += 2; /* color_matching, NULL */
count            2190 drivers/usb/gadget/function/uvc_configfs.c 	*class_array = kcalloc(count, sizeof(void *), GFP_KERNEL);
count             156 drivers/usb/gadget/function/uvc_queue.c 	return ret ? ret : rb->count;
count             115 drivers/usb/gadget/legacy/inode.c 	refcount_t			count;
count             152 drivers/usb/gadget/legacy/inode.c 	refcount_inc (&data->count);
count             157 drivers/usb/gadget/legacy/inode.c 	if (likely (!refcount_dec_and_test (&data->count)))
count             172 drivers/usb/gadget/legacy/inode.c 	refcount_set (&dev->count, 1);
count             192 drivers/usb/gadget/legacy/inode.c 	refcount_t			count;
count             207 drivers/usb/gadget/legacy/inode.c 	refcount_inc (&data->count);
count             212 drivers/usb/gadget/legacy/inode.c 	if (likely (!refcount_dec_and_test (&data->count)))
count            1591 drivers/usb/gadget/legacy/inode.c 		refcount_set (&data->count, 1);
count              68 drivers/usb/gadget/udc/aspeed-vhub/core.c 	int count = 0;
count              74 drivers/usb/gadget/udc/aspeed-vhub/core.c 		count++;
count              76 drivers/usb/gadget/udc/aspeed-vhub/core.c 	if (count)
count              77 drivers/usb/gadget/udc/aspeed-vhub/core.c 		EPDBG(ep, "Nuked %d request(s)\n", count);
count             316 drivers/usb/gadget/udc/at91_udc.c 	unsigned int	count, bufferspace, is_done;
count             330 drivers/usb/gadget/udc/at91_udc.c 	count = (csr & AT91_UDP_RXBYTECNT) >> 16;
count             331 drivers/usb/gadget/udc/at91_udc.c 	if (count > ep->ep.maxpacket)
count             332 drivers/usb/gadget/udc/at91_udc.c 		count = ep->ep.maxpacket;
count             333 drivers/usb/gadget/udc/at91_udc.c 	if (count > bufferspace) {
count             336 drivers/usb/gadget/udc/at91_udc.c 		count = bufferspace;
count             338 drivers/usb/gadget/udc/at91_udc.c 	__raw_readsb(dreg, buf, count);
count             354 drivers/usb/gadget/udc/at91_udc.c 	req->req.actual += count;
count             355 drivers/usb/gadget/udc/at91_udc.c 	is_done = (count < ep->ep.maxpacket);
count             356 drivers/usb/gadget/udc/at91_udc.c 	if (count == bufferspace)
count             359 drivers/usb/gadget/udc/at91_udc.c 	PACKET("%s %p out/%d%s\n", ep->ep.name, &req->req, count,
count             376 drivers/usb/gadget/udc/at91_udc.c 		bufferspace -= count;
count             377 drivers/usb/gadget/udc/at91_udc.c 		buf += count;
count             390 drivers/usb/gadget/udc/at91_udc.c 	unsigned	total, count, is_last;
count             420 drivers/usb/gadget/udc/at91_udc.c 		count = ep->ep.maxpacket;
count             423 drivers/usb/gadget/udc/at91_udc.c 		count = total;
count             424 drivers/usb/gadget/udc/at91_udc.c 		is_last = (count < ep->ep.maxpacket) || !req->req.zero;
count             440 drivers/usb/gadget/udc/at91_udc.c 	__raw_writesb(dreg, buf, count);
count             444 drivers/usb/gadget/udc/at91_udc.c 	req->req.actual += count;
count             446 drivers/usb/gadget/udc/at91_udc.c 	PACKET("%s %p in/%d%s\n", ep->ep.name, &req->req, count,
count             836 drivers/usb/gadget/udc/fsl_udc_core.c 	unsigned	count;
count             843 drivers/usb/gadget/udc/fsl_udc_core.c 		dtd = fsl_build_dtd(req, &count, &dma, &is_last, gfp_flags);
count             334 drivers/usb/gadget/udc/goku_udc.c 	unsigned	length, count;
count             339 drivers/usb/gadget/udc/goku_udc.c 	count = length;
count             340 drivers/usb/gadget/udc/goku_udc.c 	while (likely(count--))
count             351 drivers/usb/gadget/udc/goku_udc.c 	unsigned	count;
count             370 drivers/usb/gadget/udc/goku_udc.c 	count = write_packet(ep->reg_fifo, buf, req, ep->ep.maxpacket);
count             373 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(count != ep->ep.maxpacket)) {
count             390 drivers/usb/gadget/udc/goku_udc.c 		ep->ep.name, count, is_last ? "/last" : "",
count             569 drivers/usb/gadget/udc/m66592-udc.h 		unsigned long count;
count             573 drivers/usb/gadget/udc/m66592-udc.h 		count = len / 4;
count             574 drivers/usb/gadget/udc/m66592-udc.h 		iowrite32_rep(fifoaddr, buf, count);
count             577 drivers/usb/gadget/udc/m66592-udc.h 			pb = buf + count * 4;
count             402 drivers/usb/gadget/udc/mv_u3d_core.c 	unsigned count;
count             420 drivers/usb/gadget/udc/mv_u3d_core.c 		trb = mv_u3d_build_trb_one(req, &count, &dma);
count             442 drivers/usb/gadget/udc/mv_u3d_core.c 			if (mv_u3d_build_trb_chain(req, &count,
count             406 drivers/usb/gadget/udc/mv_udc_core.c 	unsigned count;
count             412 drivers/usb/gadget/udc/mv_udc_core.c 		dtd = build_dtd(req, &count, &dma, &is_last);
count             391 drivers/usb/gadget/udc/net2272.c 	unsigned length, count;
count             401 drivers/usb/gadget/udc/net2272.c 	count = length;
count             404 drivers/usb/gadget/udc/net2272.c 	while (likely(count >= 2)) {
count             407 drivers/usb/gadget/udc/net2272.c 		count -= 2;
count             412 drivers/usb/gadget/udc/net2272.c 	if (unlikely(count)) {
count             426 drivers/usb/gadget/udc/net2272.c 	unsigned count, max;
count             457 drivers/usb/gadget/udc/net2272.c 		count = net2272_write_packet(ep, buf, req, max);
count             461 drivers/usb/gadget/udc/net2272.c 			if (count < ep->ep.maxpacket)
count             540 drivers/usb/gadget/udc/net2272.c 	int count;
count             553 drivers/usb/gadget/udc/net2272.c 		count = (net2272_ep_read(ep, EP_AVAIL1) << 8)
count             562 drivers/usb/gadget/udc/net2272.c 		if (count > tmp) {
count             566 drivers/usb/gadget/udc/net2272.c 					ep->ep.name, count, tmp);
count             569 drivers/usb/gadget/udc/net2272.c 			count = (tmp > 0) ? tmp : 0;
count             572 drivers/usb/gadget/udc/net2272.c 		is_short = net2272_read_packet(ep, buf, req, count);
count             572 drivers/usb/gadget/udc/net2272.h static void set_fifo_bytecount(struct net2272_ep *ep, unsigned count)
count             575 drivers/usb/gadget/udc/net2272.h 	net2272_ep_write(ep, EP_TRANSFER2, count >> 16);
count             576 drivers/usb/gadget/udc/net2272.h 	net2272_ep_write(ep, EP_TRANSFER1, count >> 8);
count             577 drivers/usb/gadget/udc/net2272.h 	net2272_ep_write(ep, EP_TRANSFER0, count);
count             614 drivers/usb/gadget/udc/net2280.c 	unsigned		count, total;
count             628 drivers/usb/gadget/udc/net2280.c 	count = ep->ep.maxpacket;
count             629 drivers/usb/gadget/udc/net2280.c 	if (count > total)	/* min() cannot be used on a bitfield */
count             630 drivers/usb/gadget/udc/net2280.c 		count = total;
count             633 drivers/usb/gadget/udc/net2280.c 			ep->ep.name, count,
count             634 drivers/usb/gadget/udc/net2280.c 			(count != ep->ep.maxpacket) ? " (short)" : "",
count             636 drivers/usb/gadget/udc/net2280.c 	while (count >= 4) {
count             645 drivers/usb/gadget/udc/net2280.c 		count -= 4;
count             652 drivers/usb/gadget/udc/net2280.c 	if (count || total < ep->ep.maxpacket) {
count             653 drivers/usb/gadget/udc/net2280.c 		tmp = count ? get_unaligned((u32 *)buf) : count;
count             655 drivers/usb/gadget/udc/net2280.c 		set_fifo_bytecount(ep, count & 0x03);
count             713 drivers/usb/gadget/udc/net2280.c 	unsigned		count, tmp, is_short;
count             736 drivers/usb/gadget/udc/net2280.c 	count = readl(&regs->ep_avail);
count             737 drivers/usb/gadget/udc/net2280.c 	if (unlikely(count == 0)) {
count             740 drivers/usb/gadget/udc/net2280.c 		count = readl(&regs->ep_avail);
count             742 drivers/usb/gadget/udc/net2280.c 		if (count == 0 && (tmp & BIT(NAK_OUT_PACKETS)) == 0)
count             747 drivers/usb/gadget/udc/net2280.c 	if (count > tmp) {
count             752 drivers/usb/gadget/udc/net2280.c 				ep->ep.name, count, tmp);
count             759 drivers/usb/gadget/udc/net2280.c 		count = tmp;
count             761 drivers/usb/gadget/udc/net2280.c 	req->req.actual += count;
count             763 drivers/usb/gadget/udc/net2280.c 	is_short = (count == 0) || ((count % ep->ep.maxpacket) != 0);
count             766 drivers/usb/gadget/udc/net2280.c 			ep->ep.name, count, is_short ? " (short)" : "",
count             770 drivers/usb/gadget/udc/net2280.c 	while (count >= 4) {
count             775 drivers/usb/gadget/udc/net2280.c 		count -= 4;
count             777 drivers/usb/gadget/udc/net2280.c 	if (count) {
count             783 drivers/usb/gadget/udc/net2280.c 		} while (--count);
count            2602 drivers/usb/gadget/udc/net2280.c 			u32	count;
count            2609 drivers/usb/gadget/udc/net2280.c 			for (count = 0; ; t = readl(&ep->regs->ep_stat)) {
count            2627 drivers/usb/gadget/udc/net2280.c 					count = readl(&ep->dma->dmacount);
count            2628 drivers/usb/gadget/udc/net2280.c 					count &= DMA_BYTE_COUNT_MASK;
count            2642 drivers/usb/gadget/udc/net2280.c 						count = readl(
count            2644 drivers/usb/gadget/udc/net2280.c 						count &= DMA_BYTE_COUNT_MASK;
count            2648 drivers/usb/gadget/udc/net2280.c 							count);
count            2669 drivers/usb/gadget/udc/net2280.c 				dma_done(ep, req, count,
count             331 drivers/usb/gadget/udc/net2280.h static inline void set_fifo_bytecount(struct net2280_ep *ep, unsigned count)
count             334 drivers/usb/gadget/udc/net2280.h 		writeb(count, 2 + (u8 __iomem *) &ep->regs->ep_cfg);
count             338 drivers/usb/gadget/udc/net2280.h 		writel(tmp | (count << EP_FIFO_BYTE_COUNT), &ep->cfg->ep_cfg);
count             357 drivers/usb/gadget/udc/omap_udc.c 	unsigned	count;
count             369 drivers/usb/gadget/udc/omap_udc.c 	count = ep->ep.maxpacket;
count             370 drivers/usb/gadget/udc/omap_udc.c 	count = write_packet(buf, req, count);
count             375 drivers/usb/gadget/udc/omap_udc.c 	if (count != ep->ep.maxpacket)
count             419 drivers/usb/gadget/udc/omap_udc.c 	unsigned	count, avail;
count             443 drivers/usb/gadget/udc/omap_udc.c 		count = read_packet(buf, req, avail);
count             446 drivers/usb/gadget/udc/omap_udc.c 		if (count < ep->ep.maxpacket) {
count             449 drivers/usb/gadget/udc/omap_udc.c 			if (count != avail) {
count             451 drivers/usb/gadget/udc/omap_udc.c 				avail -= count;
count             608 drivers/usb/gadget/udc/omap_udc.c 	u16	count, w;
count             612 drivers/usb/gadget/udc/omap_udc.c 	count = dma_dest_len(ep, req->req.dma + req->req.actual);
count             613 drivers/usb/gadget/udc/omap_udc.c 	count += req->req.actual;
count             615 drivers/usb/gadget/udc/omap_udc.c 		count--;
count             616 drivers/usb/gadget/udc/omap_udc.c 	if (count <= req->req.length)
count             617 drivers/usb/gadget/udc/omap_udc.c 		req->req.actual = count;
count             619 drivers/usb/gadget/udc/omap_udc.c 	if (count != req->dma_bytes || status)
count             464 drivers/usb/gadget/udc/pch_udc.c 	unsigned int count = 200;
count             468 drivers/usb/gadget/udc/pch_udc.c 		&& --count)
count             470 drivers/usb/gadget/udc/pch_udc.c 	if (!count)
count            1031 drivers/usb/gadget/udc/pch_udc.c 	unsigned int count = 10000;
count            1034 drivers/usb/gadget/udc/pch_udc.c 	while ((pch_udc_read_ep_control(ep) & UDC_EPCTL_S) && --count)
count            1036 drivers/usb/gadget/udc/pch_udc.c 	if (!count)
count            1277 drivers/usb/gadget/udc/pch_udc.c 	int count;
count            1282 drivers/usb/gadget/udc/pch_udc.c 	for (count = 0; count < (PCH_VBUS_PERIOD / PCH_VBUS_INTERVAL);
count            1283 drivers/usb/gadget/udc/pch_udc.c 		count++) {
count            2166 drivers/usb/gadget/udc/pch_udc.c 	unsigned int count;
count            2192 drivers/usb/gadget/udc/pch_udc.c 				count = td->status & PCH_UDC_RXTX_BYTES;
count            2203 drivers/usb/gadget/udc/pch_udc.c 	if (!count && (req->req.length == UDC_DMA_MAXPACKET))
count            2204 drivers/usb/gadget/udc/pch_udc.c 		count = UDC_DMA_MAXPACKET;
count            2209 drivers/usb/gadget/udc/pch_udc.c 	req->req.actual = count;
count             574 drivers/usb/gadget/udc/pxa25x_udc.c 	unsigned	length, count;
count             583 drivers/usb/gadget/udc/pxa25x_udc.c 	count = length;
count             584 drivers/usb/gadget/udc/pxa25x_udc.c 	while (likely(count--))
count             602 drivers/usb/gadget/udc/pxa25x_udc.c 		unsigned	count;
count             605 drivers/usb/gadget/udc/pxa25x_udc.c 		count = write_packet(ep, req, max);
count             608 drivers/usb/gadget/udc/pxa25x_udc.c 		if (unlikely (count != max))
count             621 drivers/usb/gadget/udc/pxa25x_udc.c 			ep->ep.name, count,
count             666 drivers/usb/gadget/udc/pxa25x_udc.c 	unsigned	count;
count             669 drivers/usb/gadget/udc/pxa25x_udc.c 	count = write_packet(&dev->ep[0], req, EP0_FIFO_SIZE);
count             670 drivers/usb/gadget/udc/pxa25x_udc.c 	ep->dev->stats.write.bytes += count;
count             673 drivers/usb/gadget/udc/pxa25x_udc.c 	is_short = (count != EP0_FIFO_SIZE);
count             675 drivers/usb/gadget/udc/pxa25x_udc.c 	DBG(DBG_VERY_NOISY, "ep0in %d bytes %d left %p\n", count,
count             684 drivers/usb/gadget/udc/pxa25x_udc.c 		count = req->req.length;
count             695 drivers/usb/gadget/udc/pxa25x_udc.c 		if (count >= EP0_FIFO_SIZE) {
count             696 drivers/usb/gadget/udc/pxa25x_udc.c 			count = 100;
count             703 drivers/usb/gadget/udc/pxa25x_udc.c 				count--;
count             705 drivers/usb/gadget/udc/pxa25x_udc.c 			} while (count);
count             729 drivers/usb/gadget/udc/pxa25x_udc.c 		unsigned	bufferspace, count, is_short;
count             744 drivers/usb/gadget/udc/pxa25x_udc.c 			count = 1 + (0x0ff & udc_ep_get_UBCR(ep));
count             745 drivers/usb/gadget/udc/pxa25x_udc.c 			req->req.actual += min (count, bufferspace);
count             747 drivers/usb/gadget/udc/pxa25x_udc.c 			count = 0;
count             748 drivers/usb/gadget/udc/pxa25x_udc.c 		is_short = (count < ep->ep.maxpacket);
count             750 drivers/usb/gadget/udc/pxa25x_udc.c 			ep->ep.name, udccs, count,
count             753 drivers/usb/gadget/udc/pxa25x_udc.c 		while (likely (count-- != 0)) {
count             763 drivers/usb/gadget/udc/pxa25x_udc.c 						ep->ep.name, count);
count             519 drivers/usb/gadget/udc/pxa27x_udc.c static void inc_ep_stats_bytes(struct pxa_ep *ep, int count, int is_in)
count             522 drivers/usb/gadget/udc/pxa27x_udc.c 		ep->stats.in_bytes += count;
count             524 drivers/usb/gadget/udc/pxa27x_udc.c 		ep->stats.out_bytes += count;
count             796 drivers/usb/gadget/udc/pxa27x_udc.c 	int bytes_ep, bufferspace, count, i;
count             805 drivers/usb/gadget/udc/pxa27x_udc.c 		count = min(bytes_ep, bufferspace);
count             807 drivers/usb/gadget/udc/pxa27x_udc.c 		count = 0;
count             809 drivers/usb/gadget/udc/pxa27x_udc.c 	for (i = count; i > 0; i -= 4)
count             811 drivers/usb/gadget/udc/pxa27x_udc.c 	req->req.actual += count;
count             815 drivers/usb/gadget/udc/pxa27x_udc.c 	return count;
count             833 drivers/usb/gadget/udc/pxa27x_udc.c 	int length, count, remain, i;
count             844 drivers/usb/gadget/udc/pxa27x_udc.c 	count = length & ~(0x3);
count             845 drivers/usb/gadget/udc/pxa27x_udc.c 	for (i = count; i > 0 ; i -= 4)
count             852 drivers/usb/gadget/udc/pxa27x_udc.c 	ep_vdbg(ep, "length=%d+%d, udccsr=0x%03x\n", count, remain,
count             874 drivers/usb/gadget/udc/pxa27x_udc.c 	int count, is_short, completed = 0;
count             877 drivers/usb/gadget/udc/pxa27x_udc.c 		count = read_packet(ep, req);
count             878 drivers/usb/gadget/udc/pxa27x_udc.c 		inc_ep_stats_bytes(ep, count, !USB_DIR_IN);
count             880 drivers/usb/gadget/udc/pxa27x_udc.c 		is_short = (count < ep->fifo_size);
count             882 drivers/usb/gadget/udc/pxa27x_udc.c 			udc_ep_readl(ep, UDCCSR), count, is_short ? "/S" : "",
count             910 drivers/usb/gadget/udc/pxa27x_udc.c 	int count, is_short, is_last = 0, completed = 0, totcount = 0;
count             927 drivers/usb/gadget/udc/pxa27x_udc.c 		count = write_packet(ep, req, max);
count             928 drivers/usb/gadget/udc/pxa27x_udc.c 		inc_ep_stats_bytes(ep, count, USB_DIR_IN);
count             929 drivers/usb/gadget/udc/pxa27x_udc.c 		totcount += count;
count             932 drivers/usb/gadget/udc/pxa27x_udc.c 		if (unlikely(count < max)) {
count             975 drivers/usb/gadget/udc/pxa27x_udc.c 	int count, is_short, completed = 0;
count             978 drivers/usb/gadget/udc/pxa27x_udc.c 		count = read_packet(ep, req);
count             980 drivers/usb/gadget/udc/pxa27x_udc.c 		inc_ep_stats_bytes(ep, count, !USB_DIR_IN);
count             982 drivers/usb/gadget/udc/pxa27x_udc.c 		is_short = (count < ep->fifo_size);
count             984 drivers/usb/gadget/udc/pxa27x_udc.c 			udc_ep_readl(ep, UDCCSR), count, is_short ? "/S" : "",
count            1013 drivers/usb/gadget/udc/pxa27x_udc.c 	unsigned	count;
count            1016 drivers/usb/gadget/udc/pxa27x_udc.c 	count = write_packet(ep, req, EP0_FIFO_SIZE);
count            1017 drivers/usb/gadget/udc/pxa27x_udc.c 	inc_ep_stats_bytes(ep, count, USB_DIR_IN);
count            1019 drivers/usb/gadget/udc/pxa27x_udc.c 	is_short = (count < EP0_FIFO_SIZE);
count            1020 drivers/usb/gadget/udc/pxa27x_udc.c 	is_last = ((count == 0) || (count < EP0_FIFO_SIZE));
count            1027 drivers/usb/gadget/udc/pxa27x_udc.c 		count, is_short ? "/S" : "", is_last ? "/L" : "",
count            2444 drivers/usb/gadget/udc/renesas_usb3.c 			  const char *buf, size_t count)
count            2467 drivers/usb/gadget/udc/renesas_usb3.c 	return count;
count            2498 drivers/usb/gadget/udc/renesas_usb3.c 					   size_t count, loff_t *ppos)
count            2507 drivers/usb/gadget/udc/renesas_usb3.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count            2525 drivers/usb/gadget/udc/renesas_usb3.c 	return count;
count             311 drivers/usb/gadget/udc/s3c-hsudc.c 	int count;
count             313 drivers/usb/gadget/udc/s3c-hsudc.c 	count = readl(hsudc->regs + S3C_BRCR);
count             314 drivers/usb/gadget/udc/s3c-hsudc.c 	while (count--)
count             333 drivers/usb/gadget/udc/s3c-hsudc.c 	u32 count, length;
count             345 drivers/usb/gadget/udc/s3c-hsudc.c 	for (count = 0; count < length; count += 2)
count             348 drivers/usb/gadget/udc/s3c-hsudc.c 	if (count != max) {
count             305 drivers/usb/gadget/udc/s3c2410_udc.c 	unsigned	count;
count             333 drivers/usb/gadget/udc/s3c2410_udc.c 	count = s3c2410_udc_write_packet(fifo_reg, req, ep->ep.maxpacket);
count             336 drivers/usb/gadget/udc/s3c2410_udc.c 	if (count != ep->ep.maxpacket)
count             347 drivers/usb/gadget/udc/s3c2410_udc.c 			idx, count, req->req.actual, req->req.length,
count            1016 drivers/usb/gadget/udc/snps_udc_core.c 	u32 count;
count            1020 drivers/usb/gadget/udc/snps_udc_core.c 	count = AMD_GETBITS(td->status, UDC_DMA_OUT_STS_RXBYTES);
count            1026 drivers/usb/gadget/udc/snps_udc_core.c 			count += AMD_GETBITS(td->status,
count            1031 drivers/usb/gadget/udc/snps_udc_core.c 	return count;
count            2089 drivers/usb/gadget/udc/snps_udc_core.c 	unsigned int		count;
count            2177 drivers/usb/gadget/udc/snps_udc_core.c 				count = AMD_GETBITS(req->td_data->status,
count            2179 drivers/usb/gadget/udc/snps_udc_core.c 				VDBG(dev, "rx bytes=%u\n", count);
count            2187 drivers/usb/gadget/udc/snps_udc_core.c 					count = udc_get_ppbdu_rxbytes(req);
count            2190 drivers/usb/gadget/udc/snps_udc_core.c 					count = AMD_GETBITS(td->status,
count            2192 drivers/usb/gadget/udc/snps_udc_core.c 					if (!count && req->req.length
count            2198 drivers/usb/gadget/udc/snps_udc_core.c 						count = UDC_DMA_MAXPACKET;
count            2201 drivers/usb/gadget/udc/snps_udc_core.c 				VDBG(dev, "last desc rx bytes=%u\n", count);
count            2205 drivers/usb/gadget/udc/snps_udc_core.c 			if (count > tmp) {
count            2208 drivers/usb/gadget/udc/snps_udc_core.c 						ep->ep.name, count, tmp);
count            2211 drivers/usb/gadget/udc/snps_udc_core.c 				count = tmp;
count            2213 drivers/usb/gadget/udc/snps_udc_core.c 			req->req.actual += count;
count            2457 drivers/usb/gadget/udc/snps_udc_core.c 	u32 count;
count            2638 drivers/usb/gadget/udc/snps_udc_core.c 			count = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts);
count            2639 drivers/usb/gadget/udc/snps_udc_core.c 			count = AMD_GETBITS(count, UDC_EPSTS_RX_PKT_SIZE);
count            2641 drivers/usb/gadget/udc/snps_udc_core.c 			count = 0;
count            2644 drivers/usb/gadget/udc/snps_udc_core.c 			if (count != 0) {
count             584 drivers/usb/gadget/udc/udc-xilinx.c 	u32 is_short, count, bufferspace;
count             601 drivers/usb/gadget/udc/udc-xilinx.c 	count = udc->read_fn(udc->addr + ep->offset + bufoffset);
count             609 drivers/usb/gadget/udc/udc-xilinx.c 	is_short = count < ep->ep_usb.maxpacket;
count             619 drivers/usb/gadget/udc/udc-xilinx.c 				ep->ep_usb.name, count);
count             625 drivers/usb/gadget/udc/udc-xilinx.c 	ret = xudc_eptxrx(ep, req, buf, count);
count             628 drivers/usb/gadget/udc/udc-xilinx.c 		req->usb_req.actual += min(count, bufferspace);
count             630 drivers/usb/gadget/udc/udc-xilinx.c 			ep->ep_usb.name, count, is_short ? "/S" : "", req,
count             632 drivers/usb/gadget/udc/udc-xilinx.c 		bufferspace -= count;
count            1857 drivers/usb/gadget/udc/udc-xilinx.c 	u16 count = 0;
count            1899 drivers/usb/gadget/udc/udc-xilinx.c 			length = count = min_t(u32, bytes_to_tx,
count            1908 drivers/usb/gadget/udc/udc-xilinx.c 		udc->write_fn(udc->addr, XUSB_EP_BUF0COUNT_OFFSET, count);
count             337 drivers/usb/host/ehci-dbg.c 	size_t count;		/* number of characters filled into buffer */
count             801 drivers/usb/host/ehci-dbg.c 		unsigned	count = 256 / 4;
count             806 drivers/usb/host/ehci-dbg.c 		while (offset && count--) {
count             947 drivers/usb/host/ehci-dbg.c 		buf->count = ret;
count             962 drivers/usb/host/ehci-dbg.c 	if (buf->count == 0) {
count             972 drivers/usb/host/ehci-dbg.c 				      buf->output_buf, buf->count);
count              40 drivers/usb/host/ehci-q.c 	int	i, count;
count              46 drivers/usb/host/ehci-q.c 	count = 0x1000 - (buf & 0x0fff);	/* rest of that page */
count              47 drivers/usb/host/ehci-q.c 	if (likely (len < count))		/* ... iff needed */
count              48 drivers/usb/host/ehci-q.c 		count = len;
count              54 drivers/usb/host/ehci-q.c 		for (i = 1; count < len && i < 5; i++) {
count              60 drivers/usb/host/ehci-q.c 			if ((count + 0x1000) < len)
count              61 drivers/usb/host/ehci-q.c 				count += 0x1000;
count              63 drivers/usb/host/ehci-q.c 				count = len;
count              67 drivers/usb/host/ehci-q.c 		if (count != len)
count              68 drivers/usb/host/ehci-q.c 			count -= (count % maxpacket);
count              70 drivers/usb/host/ehci-q.c 	qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token);
count              71 drivers/usb/host/ehci-q.c 	qtd->length = count;
count              73 drivers/usb/host/ehci-q.c 	return count;
count            1428 drivers/usb/host/ehci-q.c 	int			count = 0;
count            1434 drivers/usb/host/ehci-q.c 			++count;
count            1444 drivers/usb/host/ehci-q.c 		--count;
count            1448 drivers/usb/host/ehci-q.c 	if (count > 0) {
count              16 drivers/usb/host/ehci-sysfs.c 	int			count = PAGE_SIZE;
count              24 drivers/usb/host/ehci-sysfs.c 			n = scnprintf(ptr, count, "%d\n", index + 1);
count              26 drivers/usb/host/ehci-sysfs.c 			count -= n;
count              39 drivers/usb/host/ehci-sysfs.c 			       const char *buf, size_t count)
count              60 drivers/usb/host/ehci-sysfs.c 	return count;
count              83 drivers/usb/host/ehci-sysfs.c 					const char *buf, size_t count)
count             140 drivers/usb/host/ehci-sysfs.c 	ret = count;
count             317 drivers/usb/host/fotg210-hcd.c 	size_t count;		/* number of characters filled into buffer */
count             775 drivers/usb/host/fotg210-hcd.c 		buf->count = ret;
count             790 drivers/usb/host/fotg210-hcd.c 	if (buf->count == 0) {
count             800 drivers/usb/host/fotg210-hcd.c 			buf->output_buf, buf->count);
count            1998 drivers/usb/host/fotg210-hcd.c 	int i, count;
count            2004 drivers/usb/host/fotg210-hcd.c 	count = 0x1000 - (buf & 0x0fff);	/* rest of that page */
count            2005 drivers/usb/host/fotg210-hcd.c 	if (likely(len < count))		/* ... iff needed */
count            2006 drivers/usb/host/fotg210-hcd.c 		count = len;
count            2012 drivers/usb/host/fotg210-hcd.c 		for (i = 1; count < len && i < 5; i++) {
count            2018 drivers/usb/host/fotg210-hcd.c 			if ((count + 0x1000) < len)
count            2019 drivers/usb/host/fotg210-hcd.c 				count += 0x1000;
count            2021 drivers/usb/host/fotg210-hcd.c 				count = len;
count            2025 drivers/usb/host/fotg210-hcd.c 		if (count != len)
count            2026 drivers/usb/host/fotg210-hcd.c 			count -= (count % maxpacket);
count            2028 drivers/usb/host/fotg210-hcd.c 	qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token);
count            2029 drivers/usb/host/fotg210-hcd.c 	qtd->length = count;
count            2031 drivers/usb/host/fotg210-hcd.c 	return count;
count            2251 drivers/usb/host/fotg210-hcd.c 	unsigned count = 0;
count            2256 drivers/usb/host/fotg210-hcd.c 		return count;
count            2293 drivers/usb/host/fotg210-hcd.c 				count++;
count            2460 drivers/usb/host/fotg210-hcd.c 		count++;
count            2511 drivers/usb/host/fotg210-hcd.c 	return count;
count            4703 drivers/usb/host/fotg210-hcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count            4762 drivers/usb/host/fotg210-hcd.c 	ret = count;
count             232 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21, int dmem_offset, void *src, int count)
count             240 drivers/usb/host/imx21-hcd.c 	for (i = 0; i < count; i++) {
count             250 drivers/usb/host/imx21-hcd.c 	if (count && byte != 3)
count             906 drivers/usb/host/imx21-hcd.c 	u32 count;
count             936 drivers/usb/host/imx21-hcd.c 			count = 8;
count             941 drivers/usb/host/imx21-hcd.c 			count = 0;
count             953 drivers/usb/host/imx21-hcd.c 			count = 0;
count             955 drivers/usb/host/imx21-hcd.c 			count = urb->transfer_buffer_length;
count             972 drivers/usb/host/imx21-hcd.c 	etd->len = count;
count             993 drivers/usb/host/imx21-hcd.c 	if (count && count < maxpacket)
count             994 drivers/usb/host/imx21-hcd.c 		etd_buf_size = count;
count             999 drivers/usb/host/imx21-hcd.c 		((u32) (etd_buf_size - 1) << DW3_BUFSIZE) | (u32) count);
count            1001 drivers/usb/host/imx21-hcd.c 	if (!count)
count            1005 drivers/usb/host/imx21-hcd.c 	etd->dmem_size = (count > maxpacket) ? maxpacket * 2 : maxpacket;
count            1025 drivers/usb/host/imx21-hcd.c 		etd_num, count, dir != TD_DIR_IN ? "out" : "in");
count             180 drivers/usb/host/isp116x-hcd.c 		isp116x_write_data16(isp116x, ptd->count);
count             210 drivers/usb/host/isp116x-hcd.c 		ptd->count = isp116x_read_data16(isp116x);
count             275 drivers/usb/host/isp116x-hcd.c 		ptd->count = PTD_CC_MSK | PTD_ACTIVE_MSK | PTD_TOGGLE(toggle);
count             163 drivers/usb/host/isp116x.h 	u16 count;
count             186 drivers/usb/host/isp116x.h #define PTD_GET_COUNT(p)	(((p)->count & PTD_COUNT_MSK) >> 0)
count             188 drivers/usb/host/isp116x.h #define PTD_GET_TOGGLE(p)	(((p)->count & PTD_TOGGLE_MSK) >> 10)
count             190 drivers/usb/host/isp116x.h #define PTD_GET_ACTIVE(p)	(((p)->count & PTD_ACTIVE_MSK) >> 11)
count             192 drivers/usb/host/isp116x.h #define PTD_GET_CC(p)		(((p)->count & PTD_CC_MSK) >> 12)
count             329 drivers/usb/host/isp1362-hcd.c 	ptd->count = PTD_CC_MSK | PTD_ACTIVE_MSK | PTD_TOGGLE(toggle);
count             687 drivers/usb/host/isp1362-hcd.c static inline void enable_atl_transfers(struct isp1362_hcd *isp1362_hcd, int count)
count             689 drivers/usb/host/isp1362-hcd.c 	if (count > 0) {
count             690 drivers/usb/host/isp1362-hcd.c 		if (count < isp1362_hcd->atl_queue.ptd_count)
count             691 drivers/usb/host/isp1362-hcd.c 			isp1362_write_reg16(isp1362_hcd, HCATLDTC, count);
count             203 drivers/usb/host/isp1362.h 	u16 count;
count             348 drivers/usb/host/isp1362.h #define PTD_GET_COUNT(p)	(((p)->count & PTD_COUNT_MSK) >> 0)
count             350 drivers/usb/host/isp1362.h #define PTD_GET_TOGGLE(p)	(((p)->count & PTD_TOGGLE_MSK) >> 10)
count             352 drivers/usb/host/isp1362.h #define PTD_GET_ACTIVE(p)	(((p)->count & PTD_ACTIVE_MSK) >> 11)
count             354 drivers/usb/host/isp1362.h #define PTD_GET_CC(p)		(((p)->count & PTD_CC_MSK) >> 12)
count             927 drivers/usb/host/isp1362.h 	DBG(0, "  %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr);
count             395 drivers/usb/host/ohci-dbg.c 	size_t count;		/* number of characters filled into buffer */
count             400 drivers/usb/host/ohci-dbg.c show_list (struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed)
count             402 drivers/usb/host/ohci-dbg.c 	unsigned		temp, size = count;
count             462 drivers/usb/host/ohci-dbg.c 	return count - size;
count             696 drivers/usb/host/ohci-dbg.c 		buf->count = ret;
count             711 drivers/usb/host/ohci-dbg.c 	if (buf->count == 0) {
count             721 drivers/usb/host/ohci-dbg.c 				      buf->page, buf->count);
count            1210 drivers/usb/host/oxu210hp-hcd.c 	int i, count;
count            1216 drivers/usb/host/oxu210hp-hcd.c 	count = 0x1000 - (buf & 0x0fff);	/* rest of that page */
count            1217 drivers/usb/host/oxu210hp-hcd.c 	if (likely(len < count))		/* ... iff needed */
count            1218 drivers/usb/host/oxu210hp-hcd.c 		count = len;
count            1224 drivers/usb/host/oxu210hp-hcd.c 		for (i = 1; count < len && i < 5; i++) {
count            1229 drivers/usb/host/oxu210hp-hcd.c 			if ((count + 0x1000) < len)
count            1230 drivers/usb/host/oxu210hp-hcd.c 				count += 0x1000;
count            1232 drivers/usb/host/oxu210hp-hcd.c 				count = len;
count            1236 drivers/usb/host/oxu210hp-hcd.c 		if (count != len)
count            1237 drivers/usb/host/oxu210hp-hcd.c 			count -= (count % maxpacket);
count            1239 drivers/usb/host/oxu210hp-hcd.c 	qtd->hw_token = cpu_to_le32((count << 16) | token);
count            1240 drivers/usb/host/oxu210hp-hcd.c 	qtd->length = count;
count            1242 drivers/usb/host/oxu210hp-hcd.c 	return count;
count            1412 drivers/usb/host/oxu210hp-hcd.c 	unsigned count = 0;
count            1418 drivers/usb/host/oxu210hp-hcd.c 		return count;
count            1449 drivers/usb/host/oxu210hp-hcd.c 						count++;
count            1454 drivers/usb/host/oxu210hp-hcd.c 					count++;
count            1552 drivers/usb/host/oxu210hp-hcd.c 				count++;
count            1557 drivers/usb/host/oxu210hp-hcd.c 			count++;
count            1589 drivers/usb/host/oxu210hp-hcd.c 	return count;
count             931 drivers/usb/host/pci-quirks.c 	int	wait_time, count = 256/4;
count             949 drivers/usb/host/pci-quirks.c 	while (offset && --count) {
count             965 drivers/usb/host/pci-quirks.c 	if (!count)
count             170 drivers/usb/host/r8a66597.h 	unsigned long count;
count             173 drivers/usb/host/r8a66597.h 		count = len / 4;
count             174 drivers/usb/host/r8a66597.h 		ioread32_rep(fifoaddr, buf, count);
count             178 drivers/usb/host/r8a66597.h 			memcpy((unsigned char *)buf + count * 4, &tmp,
count             213 drivers/usb/host/r8a66597.h 	unsigned long count;
count             218 drivers/usb/host/r8a66597.h 		count = len / 4;
count             219 drivers/usb/host/r8a66597.h 		iowrite32_rep(fifoaddr, buf, count);
count             222 drivers/usb/host/r8a66597.h 			pb = (unsigned char *)buf + count * 4;
count             211 drivers/usb/host/sl811.h sl811_write_buf(struct sl811 *sl811, int addr, const void *buf, size_t count)
count             216 drivers/usb/host/sl811.h 	if (!count)
count             224 drivers/usb/host/sl811.h 	} while (--count);
count             228 drivers/usb/host/sl811.h sl811_read_buf(struct sl811 *sl811, int addr, void *buf, size_t count)
count             233 drivers/usb/host/sl811.h 	if (!count)
count             241 drivers/usb/host/sl811.h 	} while (--count);
count             912 drivers/usb/host/xhci-dbgcap.c 			 const char *buf, size_t count)
count             925 drivers/usb/host/xhci-dbgcap.c 	return count;
count             197 drivers/usb/host/xhci-dbgtty.c 			 int count)
count             203 drivers/usb/host/xhci-dbgtty.c 	if (count)
count             204 drivers/usb/host/xhci-dbgtty.c 		count = kfifo_in(&port->write_fifo, buf, count);
count             208 drivers/usb/host/xhci-dbgtty.c 	return count;
count             364 drivers/usb/host/xhci-dbgtty.c 			int		count;
count             372 drivers/usb/host/xhci-dbgtty.c 			count = tty_insert_flip_string(&port->port, packet,
count             374 drivers/usb/host/xhci-dbgtty.c 			if (count)
count             376 drivers/usb/host/xhci-dbgtty.c 			if (count != size) {
count             377 drivers/usb/host/xhci-dbgtty.c 				port->n_read += count;
count             356 drivers/usb/host/xhci-debugfs.c 			       size_t count, loff_t *ppos)
count             365 drivers/usb/host/xhci-debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             371 drivers/usb/host/xhci-debugfs.c 			return count;
count             387 drivers/usb/host/xhci-debugfs.c 	return count;
count             159 drivers/usb/host/xhci-tegra.c 			unsigned int count;
count             324 drivers/usb/host/xhci-tegra.c 				   unsigned int count)
count             326 drivers/usb/host/xhci-tegra.c 	return (value >> start) & ((1 << count) - 1);
count             529 drivers/usb/host/xhci-tegra.c 				     soc->ports.hsic.count);
count             557 drivers/usb/host/xhci-tegra.c 				     soc->ports.usb3.count);
count             559 drivers/usb/host/xhci-tegra.c 		for_each_set_bit(port, &mask, soc->ports.usb3.count) {
count            1373 drivers/usb/host/xhci-tegra.c 		.usb2 = { .offset = 4, .count = 4, },
count            1374 drivers/usb/host/xhci-tegra.c 		.hsic = { .offset = 6, .count = 2, },
count            1375 drivers/usb/host/xhci-tegra.c 		.usb3 = { .offset = 0, .count = 2, },
count            1405 drivers/usb/host/xhci-tegra.c 		.usb2 = { .offset = 4, .count = 4, },
count            1406 drivers/usb/host/xhci-tegra.c 		.hsic = { .offset = 8, .count = 1, },
count            1407 drivers/usb/host/xhci-tegra.c 		.usb3 = { .offset = 0, .count = 4, },
count            1431 drivers/usb/host/xhci-tegra.c 		.usb3 = { .offset = 0, .count = 3, },
count            1432 drivers/usb/host/xhci-tegra.c 		.usb2 = { .offset = 3, .count = 3, },
count            1433 drivers/usb/host/xhci-tegra.c 		.hsic = { .offset = 6, .count = 1, },
count             648 drivers/usb/isp1760/isp1760-udc.c 	unsigned int count;
count             655 drivers/usb/isp1760/isp1760-udc.c 	count = isp1760_udc_read(udc, DC_BUFLEN) & DC_DATACOUNT_MASK;
count             656 drivers/usb/isp1760/isp1760-udc.c 	if (count != sizeof(req)) {
count             660 drivers/usb/isp1760/isp1760-udc.c 			count);
count             342 drivers/usb/misc/adutux.c static ssize_t adu_read(struct file *file, __user char *buffer, size_t count,
count             347 drivers/usb/misc/adutux.c 	size_t bytes_to_read = count;
count             366 drivers/usb/misc/adutux.c 	if (count == 0) {
count             506 drivers/usb/misc/adutux.c 			 size_t count, loff_t *ppos)
count             530 drivers/usb/misc/adutux.c 	if (count == 0) {
count             536 drivers/usb/misc/adutux.c 	while (count > 0) {
count             566 drivers/usb/misc/adutux.c 				__func__, count);
count             572 drivers/usb/misc/adutux.c 				__func__, count);
count             576 drivers/usb/misc/adutux.c 			bytes_to_write = count > buffer_size ? buffer_size : count;
count             579 drivers/usb/misc/adutux.c 				__func__, buffer_size, count, bytes_to_write);
count             607 drivers/usb/misc/adutux.c 			count -= bytes_to_write;
count             409 drivers/usb/misc/chaoskey.c 			     size_t count,
count             423 drivers/usb/misc/chaoskey.c 	usb_dbg(dev->interface, "read %zu", count);
count             425 drivers/usb/misc/chaoskey.c 	while (count > 0) {
count             447 drivers/usb/misc/chaoskey.c 		if (this_time > count)
count             448 drivers/usb/misc/chaoskey.c 			this_time = count;
count             462 drivers/usb/misc/chaoskey.c 		count -= this_time;
count             117 drivers/usb/misc/cypress_cy7c63.c 			  const char *buf, size_t count,
count             143 drivers/usb/misc/cypress_cy7c63.c 	return result < 0 ? result : count;
count             149 drivers/usb/misc/cypress_cy7c63.c 				 const char *buf, size_t count)
count             151 drivers/usb/misc/cypress_cy7c63.c 	return write_port(dev, attr, buf, count, 0, CYPRESS_WRITE_PORT_ID0);
count             157 drivers/usb/misc/cypress_cy7c63.c 				 const char *buf, size_t count)
count             159 drivers/usb/misc/cypress_cy7c63.c 	return write_port(dev, attr, buf, count, 1, CYPRESS_WRITE_PORT_ID1);
count              76 drivers/usb/misc/cytherm.c 			      size_t count)
count             108 drivers/usb/misc/cytherm.c 	return count;
count             207 drivers/usb/misc/cytherm.c static ssize_t port0_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             234 drivers/usb/misc/cytherm.c 	return count;
count             262 drivers/usb/misc/cytherm.c static ssize_t port1_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             289 drivers/usb/misc/cytherm.c 	return count;
count             657 drivers/usb/misc/ftdi-elan.c 			      size_t count, loff_t *ppos)
count             671 drivers/usb/misc/ftdi-elan.c 		if (count-- > 0) {
count             688 drivers/usb/misc/ftdi-elan.c more:if (count > 0) {
count            1079 drivers/usb/misc/ftdi-elan.c 			       const char __user *user_buffer, size_t count,
count            1090 drivers/usb/misc/ftdi-elan.c 	if (count == 0) {
count            1098 drivers/usb/misc/ftdi-elan.c 	buf = usb_alloc_coherent(ftdi->udev, count, GFP_KERNEL,
count            1104 drivers/usb/misc/ftdi-elan.c 	if (copy_from_user(buf, user_buffer, count)) {
count            1109 drivers/usb/misc/ftdi-elan.c 							   ftdi->bulk_out_endpointAddr), buf, count,
count            1121 drivers/usb/misc/ftdi-elan.c 	return count;
count            1123 drivers/usb/misc/ftdi-elan.c 	usb_free_coherent(ftdi->udev, count, buf, urb->transfer_dma);
count              84 drivers/usb/misc/idmouse.c 				size_t count, loff_t * ppos);
count             308 drivers/usb/misc/idmouse.c static ssize_t idmouse_read(struct file *file, char __user *buffer, size_t count,
count             323 drivers/usb/misc/idmouse.c 	result = simple_read_from_buffer(buffer, count, ppos,
count             278 drivers/usb/misc/iowarrior.c 			      size_t count, loff_t *ppos)
count             291 drivers/usb/misc/iowarrior.c 		dev->minor, count);
count             294 drivers/usb/misc/iowarrior.c 	if ((count != dev->report_size)
count             295 drivers/usb/misc/iowarrior.c 	    && (count != (dev->report_size + 1)))
count             329 drivers/usb/misc/iowarrior.c 		if (copy_to_user(buffer, dev->read_queue + offset, count)) {
count             336 drivers/usb/misc/iowarrior.c 	return count;
count             344 drivers/usb/misc/iowarrior.c 			       size_t count, loff_t *ppos)
count             360 drivers/usb/misc/iowarrior.c 		dev->minor, count);
count             362 drivers/usb/misc/iowarrior.c 	if (count == 0) {
count             367 drivers/usb/misc/iowarrior.c 	if (count != dev->report_size) {
count             378 drivers/usb/misc/iowarrior.c 		buf = memdup_user(user_buffer, count);
count             383 drivers/usb/misc/iowarrior.c 		retval = usb_set_report(dev->interface, 2, 0, buf, count);
count             439 drivers/usb/misc/iowarrior.c 		if (copy_from_user(buf, user_buffer, count)) {
count             453 drivers/usb/misc/iowarrior.c 		retval = count;
count             437 drivers/usb/misc/ldusb.c static ssize_t ld_usb_read(struct file *file, char __user *buffer, size_t count,
count             449 drivers/usb/misc/ldusb.c 	if (count == 0)
count             488 drivers/usb/misc/ldusb.c 	bytes_to_read = min(count, *actual_buffer);
count             525 drivers/usb/misc/ldusb.c 			    size_t count, loff_t *ppos)
count             534 drivers/usb/misc/ldusb.c 	if (count == 0)
count             563 drivers/usb/misc/ldusb.c 	bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size);
count             564 drivers/usb/misc/ldusb.c 	if (bytes_to_write < count)
count             566 drivers/usb/misc/ldusb.c 			count - bytes_to_write);
count             568 drivers/usb/misc/ldusb.c 		__func__, count, bytes_to_write);
count             222 drivers/usb/misc/legousbtower.c static ssize_t tower_read	(struct file *file, char __user *buffer, size_t count, loff_t *ppos);
count             223 drivers/usb/misc/legousbtower.c static ssize_t tower_write	(struct file *file, const char __user *buffer, size_t count, loff_t *ppos);
count             535 drivers/usb/misc/legousbtower.c static ssize_t tower_read (struct file *file, char __user *buffer, size_t count, loff_t *ppos)
count             559 drivers/usb/misc/legousbtower.c 	if (count == 0) {
count             594 drivers/usb/misc/legousbtower.c 	bytes_to_read = min(count, dev->read_packet_length);
count             623 drivers/usb/misc/legousbtower.c static ssize_t tower_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos)
count             645 drivers/usb/misc/legousbtower.c 	if (count == 0) {
count             663 drivers/usb/misc/legousbtower.c 	bytes_to_write = min_t(int, count, write_buffer_size);
count             665 drivers/usb/misc/legousbtower.c 		__func__, count, bytes_to_write);
count             102 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             126 drivers/usb/misc/lvstest.c 	return count;
count             131 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             155 drivers/usb/misc/lvstest.c 	return count;
count             160 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             174 drivers/usb/misc/lvstest.c 	return count;
count             179 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             193 drivers/usb/misc/lvstest.c 	return count;
count             198 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             222 drivers/usb/misc/lvstest.c 	return count;
count             227 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             251 drivers/usb/misc/lvstest.c 	return count;
count             256 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             289 drivers/usb/misc/lvstest.c 	return count;
count             294 drivers/usb/misc/lvstest.c 		struct device_attribute *attr, const char *buf, size_t count)
count             309 drivers/usb/misc/lvstest.c 	return count;
count             333 drivers/usb/misc/sisusbvga/sisusb.c 	int result = 0, retry, count = len;
count             362 drivers/usb/misc/sisusbvga/sisusb.c 		passsize = thispass = (sisusb->obufsize < count) ?
count             363 drivers/usb/misc/sisusbvga/sisusb.c 				sisusb->obufsize : count;
count             419 drivers/usb/misc/sisusbvga/sisusb.c 		count            -= passsize;
count             425 drivers/usb/misc/sisusbvga/sisusb.c 	} while (count > 0);
count             454 drivers/usb/misc/sisusbvga/sisusb.c 	int result = 0, retry, count = len;
count             476 drivers/usb/misc/sisusbvga/sisusb.c 	while (count > 0) {
count             481 drivers/usb/misc/sisusbvga/sisusb.c 		thispass = (bufsize < count) ? bufsize : count;
count             503 drivers/usb/misc/sisusbvga/sisusb.c 			count         -= thispass;
count            2483 drivers/usb/misc/sisusbvga/sisusb.c 		size_t count, loff_t *ppos)
count            2515 drivers/usb/misc/sisusbvga/sisusb.c 		switch (count) {
count            2564 drivers/usb/misc/sisusbvga/sisusb.c 				NULL, count, buffer, &bytes_read);
count            2580 drivers/usb/misc/sisusbvga/sisusb.c 				NULL, count, buffer, &bytes_read);
count            2588 drivers/usb/misc/sisusbvga/sisusb.c 		if (count != 4) {
count            2619 drivers/usb/misc/sisusbvga/sisusb.c 		size_t count, loff_t *ppos)
count            2651 drivers/usb/misc/sisusbvga/sisusb.c 		switch (count) {
count            2703 drivers/usb/misc/sisusbvga/sisusb.c 				count, buffer, 0, &bytes_written);
count            2721 drivers/usb/misc/sisusbvga/sisusb.c 				count, buffer, 0, &bytes_written);
count            2730 drivers/usb/misc/sisusbvga/sisusb.c 		if (count != 4) {
count              80 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_memsetw(u16 *s, u16 c, unsigned int count)
count              82 drivers/usb/misc/sisusbvga/sisusb_con.c 	memset16(s, c, count / 2);
count             331 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count)
count             339 drivers/usb/misc/sisusbvga/sisusb_con.c 	while (count--) {
count             390 drivers/usb/misc/sisusbvga/sisusb_con.c 		         int count, int y, int x)
count             404 drivers/usb/misc/sisusbvga/sisusb_con.c 	memcpy(sisusb_vaddr(sisusb, c, x, y), s, count * 2);
count             412 drivers/usb/misc/sisusbvga/sisusb_con.c 			sisusb_haddr(sisusb, c, x, y), count * 2);
count            1327 drivers/usb/misc/sisusbvga/sisusb_con.c 				 int count, int ypos, int xpos) { }
count              43 drivers/usb/misc/trancevibrator.c 			 const char *buf, size_t count)
count              72 drivers/usb/misc/trancevibrator.c 	return count;
count             125 drivers/usb/misc/usblcd.c 			size_t count, loff_t *ppos)
count             145 drivers/usb/misc/usblcd.c 			      min(dev->bulk_in_size, count),
count             219 drivers/usb/misc/usblcd.c 			 size_t count, loff_t *ppos)
count             229 drivers/usb/misc/usblcd.c 	if (count == 0)
count             250 drivers/usb/misc/usblcd.c 	buf = usb_alloc_coherent(dev->udev, count, GFP_KERNEL,
count             257 drivers/usb/misc/usblcd.c 	if (copy_from_user(buf, user_buffer, count)) {
count             266 drivers/usb/misc/usblcd.c 			  buf, count, lcd_write_bulk_callback, dev);
count             286 drivers/usb/misc/usblcd.c 	return count;
count             290 drivers/usb/misc/usblcd.c 	usb_free_coherent(dev->udev, count, buf, urb->transfer_dma);
count              55 drivers/usb/misc/usbsevseg.c static inline size_t my_memlen(const char *buf, size_t count)
count              57 drivers/usb/misc/usbsevseg.c 	if (count > 0 && buf[count-1] == '\n')
count              58 drivers/usb/misc/usbsevseg.c 		return count - 1;
count              60 drivers/usb/misc/usbsevseg.c 		return count;
count             178 drivers/usb/misc/usbsevseg.c 	struct device_attribute *attr, const char *buf, size_t count) \
count             186 drivers/usb/misc/usbsevseg.c 	return count;						\
count             200 drivers/usb/misc/usbsevseg.c 	struct device_attribute *attr, const char *buf, size_t count)
count             204 drivers/usb/misc/usbsevseg.c 	size_t end = my_memlen(buf, count);
count             216 drivers/usb/misc/usbsevseg.c 	return count;
count             244 drivers/usb/misc/usbsevseg.c 	struct device_attribute *attr, const char *buf, size_t count)
count             248 drivers/usb/misc/usbsevseg.c 	size_t end = my_memlen(buf, count);
count             265 drivers/usb/misc/usbsevseg.c 	return count;
count             297 drivers/usb/misc/usbsevseg.c 	struct device_attribute *attr, const char *buf, size_t count)
count             309 drivers/usb/misc/usbsevseg.c 	return count;
count            1071 drivers/usb/misc/usbtest.c 	unsigned		count;
count            1099 drivers/usb/misc/usbtest.c 	ctx->count--;
count            1148 drivers/usb/misc/usbtest.c 					status, ctx->count, subcase->number,
count            1182 drivers/usb/misc/usbtest.c 	if ((status == 0) && (ctx->pending < ctx->count)) {
count            1214 drivers/usb/misc/usbtest.c 	context.count = param->sglen * param->iterations;
count            1393 drivers/usb/misc/usbtest.c 			context.count = context.pending;
count            1821 drivers/usb/misc/usbtest.c 		unsigned count, unsigned length, unsigned vary, unsigned offset)
count            1844 drivers/usb/misc/usbtest.c 	for (i = 0; i < count; i++) {
count            1915 drivers/usb/misc/usbtest.c 	unsigned		count;
count            1932 drivers/usb/misc/usbtest.c 	ctx->count--;
count            1944 drivers/usb/misc/usbtest.c 	if (urb->status == 0 && ctx->count > (ctx->pending - 1)
count            2055 drivers/usb/misc/usbtest.c 	context.count = param->iterations * param->sglen;
count             400 drivers/usb/misc/yurex.c static ssize_t yurex_read(struct file *file, char __user *buffer, size_t count,
count             424 drivers/usb/misc/yurex.c 	return simple_read_from_buffer(buffer, count, ppos, in_buffer, len);
count             428 drivers/usb/misc/yurex.c 			   size_t count, loff_t *ppos)
count             438 drivers/usb/misc/yurex.c 	count = min(sizeof(buffer) - 1, count);
count             442 drivers/usb/misc/yurex.c 	if (count == 0)
count             452 drivers/usb/misc/yurex.c 	if (copy_from_user(buffer, user_buffer, count)) {
count             457 drivers/usb/misc/yurex.c 	buffer[count] = 0;
count             510 drivers/usb/misc/yurex.c 	return timeout ? count : -EIO;
count             314 drivers/usb/mtu3/mtu3_debugfs.c 				size_t count, loff_t *ppos)
count             324 drivers/usb/mtu3/mtu3_debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             338 drivers/usb/mtu3/mtu3_debugfs.c 	return count;
count             446 drivers/usb/mtu3/mtu3_debugfs.c 				size_t count, loff_t *ppos)
count             452 drivers/usb/mtu3/mtu3_debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             464 drivers/usb/mtu3/mtu3_debugfs.c 	return count;
count             492 drivers/usb/mtu3/mtu3_debugfs.c 				size_t count, loff_t *ppos)
count             500 drivers/usb/mtu3/mtu3_debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             510 drivers/usb/mtu3/mtu3_debugfs.c 	return count;
count             508 drivers/usb/mtu3/mtu3_gadget_ep0.c 	u16 count = 0;
count             522 drivers/usb/mtu3/mtu3_gadget_ep0.c 		count = mtu3_readl(mbase, U3D_RXCOUNT0);
count             523 drivers/usb/mtu3/mtu3_gadget_ep0.c 		if (count > len) {
count             525 drivers/usb/mtu3/mtu3_gadget_ep0.c 			count = len;
count             527 drivers/usb/mtu3/mtu3_gadget_ep0.c 		ep0_read_fifo(mtu->ep0, buf, count);
count             528 drivers/usb/mtu3/mtu3_gadget_ep0.c 		req->actual += count;
count             532 drivers/usb/mtu3/mtu3_gadget_ep0.c 		if (count < maxp || req->actual == req->length) {
count             561 drivers/usb/mtu3/mtu3_gadget_ep0.c 	u32 count;
count             574 drivers/usb/mtu3/mtu3_gadget_ep0.c 	count = min(maxp, req->length - req->actual);
count             575 drivers/usb/mtu3/mtu3_gadget_ep0.c 	if (count)
count             576 drivers/usb/mtu3/mtu3_gadget_ep0.c 		ep0_write_fifo(mtu->ep0, src, count);
count             579 drivers/usb/mtu3/mtu3_gadget_ep0.c 		 __func__, req->actual, req->length, count, maxp, req->zero);
count             581 drivers/usb/mtu3/mtu3_gadget_ep0.c 	req->actual += count;
count             583 drivers/usb/mtu3/mtu3_gadget_ep0.c 	if ((count < maxp)
count             598 drivers/usb/mtu3/mtu3_gadget_ep0.c 	u32 count;
count             602 drivers/usb/mtu3/mtu3_gadget_ep0.c 	count = mtu3_readl(mtu->mac_base, U3D_RXCOUNT0);
count             604 drivers/usb/mtu3/mtu3_gadget_ep0.c 	ep0_read_fifo(mtu->ep0, (u8 *)setup, count);
count             671 drivers/usb/musb/musb_cppi41.c 	int count;
count             675 drivers/usb/musb/musb_cppi41.c 	count = of_property_count_strings(np, "dma-names");
count             676 drivers/usb/musb/musb_cppi41.c 	if (count < 0)
count             677 drivers/usb/musb/musb_cppi41.c 		return count;
count             679 drivers/usb/musb/musb_cppi41.c 	for (i = 0; i < count; i++) {
count             164 drivers/usb/musb/musb_debugfs.c 		const char __user *ubuf, size_t count, loff_t *ppos)
count             173 drivers/usb/musb/musb_debugfs.c 	if (copy_from_user(buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             221 drivers/usb/musb/musb_debugfs.c 	return count;
count             264 drivers/usb/musb/musb_debugfs.c 		const char __user *ubuf, size_t count, loff_t *ppos)
count             273 drivers/usb/musb/musb_debugfs.c 	if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
count             309 drivers/usb/musb/musb_debugfs.c 	return count;
count            1743 drivers/usb/musb/musb_gadget.c 	unsigned		count = 0;
count            1753 drivers/usb/musb/musb_gadget.c 			count++;
count            1758 drivers/usb/musb/musb_gadget.c 				count++;
count            1763 drivers/usb/musb/musb_gadget.c 				count++;
count             469 drivers/usb/musb/musb_gadget_ep0.c 	u16			count, csr;
count             482 drivers/usb/musb/musb_gadget_ep0.c 		count = musb_readb(regs, MUSB_COUNT0);
count             483 drivers/usb/musb/musb_gadget_ep0.c 		if (count > len) {
count             485 drivers/usb/musb/musb_gadget_ep0.c 			count = len;
count             487 drivers/usb/musb/musb_gadget_ep0.c 		if (count > 0) {
count             488 drivers/usb/musb/musb_gadget_ep0.c 			musb_read_fifo(&musb->endpoints[0], count, buf);
count             489 drivers/usb/musb/musb_gadget_ep0.c 			req->actual += count;
count             492 drivers/usb/musb/musb_gadget_ep0.c 		if (count < 64 || req->actual == req->length) {
count             287 drivers/usb/musb/musbhsdma.c 	u32 addr, count;
count             302 drivers/usb/musb/musbhsdma.c 				count = musb_read_hsdma_count(mbase, bchannel);
count             304 drivers/usb/musb/musbhsdma.c 				if (count == 0)
count             404 drivers/usb/phy/phy-fsl-usb.c 		timer->count = timer->expires;
count             407 drivers/usb/phy/phy-fsl-usb.c 	timer->count = timer->expires;
count             337 drivers/usb/phy/phy-fsl-usb.h 	unsigned long count;	/* Tick counter */
count             529 drivers/usb/phy/phy-mv-usb.c 	      const char *buf, size_t count)
count             533 drivers/usb/phy/phy-mv-usb.c 	if (count > 2)
count             557 drivers/usb/phy/phy-mv-usb.c 	return count;
count             564 drivers/usb/phy/phy-mv-usb.c 	      const char *buf, size_t count)
count             570 drivers/usb/phy/phy-mv-usb.c 	if (count > 2)
count             584 drivers/usb/phy/phy-mv-usb.c 	return count;
count             600 drivers/usb/phy/phy-mv-usb.c 	       const char *buf, size_t count)
count             606 drivers/usb/phy/phy-mv-usb.c 	if (count > 2)
count             627 drivers/usb/phy/phy-mv-usb.c 	return count;
count             276 drivers/usb/phy/phy-tahvo.c 			      const char *buf, size_t count)
count             282 drivers/usb/phy/phy-tahvo.c 	if (count >= 4 && strncmp(buf, "host", 4) == 0) {
count             294 drivers/usb/phy/phy-tahvo.c 	} else if (count >= 10 && strncmp(buf, "peripheral", 10) == 0) {
count              75 drivers/usb/serial/aircable.c 	int count;
count              78 drivers/usb/serial/aircable.c 	count = kfifo_out_locked(&port->write_fifo, buf + HCI_HEADER_LENGTH,
count              82 drivers/usb/serial/aircable.c 	put_unaligned_le16(count, &buf[2]);
count              84 drivers/usb/serial/aircable.c 	return count + HCI_HEADER_LENGTH;
count             122 drivers/usb/serial/aircable.c 	int count;
count             128 drivers/usb/serial/aircable.c 	count = 0;
count             131 drivers/usb/serial/aircable.c 		count += aircable_process_packet(port, has_headers,
count             135 drivers/usb/serial/aircable.c 	if (count)
count             124 drivers/usb/serial/bus.c 			    const char *buf, size_t count)
count             128 drivers/usb/serial/bus.c 					 driver, buf, count);
count             134 drivers/usb/serial/bus.c 					  buf, count);
count             125 drivers/usb/serial/console.c 	++port->port.count;
count             173 drivers/usb/serial/console.c 	--port->port.count;
count             185 drivers/usb/serial/console.c 	port->port.count = 0;
count             195 drivers/usb/serial/console.c 					const char *buf, unsigned count)
count             206 drivers/usb/serial/console.c 	if (count == 0)
count             209 drivers/usb/serial/console.c 	dev_dbg(&port->dev, "%s - %d byte(s)\n", __func__, count);
count             216 drivers/usb/serial/console.c 	while (count) {
count             220 drivers/usb/serial/console.c 		for (i = 0, lf = 0 ; i < count ; i++) {
count             239 drivers/usb/serial/console.c 		count -= i;
count             842 drivers/usb/serial/cp210x.c 		u32 *count)
count             858 drivers/usb/serial/cp210x.c 		*count = le32_to_cpu(sts->ulAmountInOutQueue);
count             874 drivers/usb/serial/cp210x.c 	u32 count;
count             876 drivers/usb/serial/cp210x.c 	err = cp210x_get_tx_queue_byte_count(port, &count);
count             880 drivers/usb/serial/cp210x.c 	return !count;
count              55 drivers/usb/serial/cyberjack.c 	struct usb_serial_port *port, const unsigned char *buf, int count);
count             161 drivers/usb/serial/cyberjack.c 	struct usb_serial_port *port, const unsigned char *buf, int count)
count             169 drivers/usb/serial/cyberjack.c 	if (count == 0) {
count             181 drivers/usb/serial/cyberjack.c 	if (count+priv->wrfilled > sizeof(priv->wrbuf)) {
count             190 drivers/usb/serial/cyberjack.c 	memcpy(priv->wrbuf + priv->wrfilled, buf, count);
count             192 drivers/usb/serial/cyberjack.c 	usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled);
count             193 drivers/usb/serial/cyberjack.c 	priv->wrfilled += count;
count             242 drivers/usb/serial/cyberjack.c 	return count;
count             121 drivers/usb/serial/cypress_m8.c 			const unsigned char *buf, int count);
count             657 drivers/usb/serial/cypress_m8.c 					const unsigned char *buf, int count)
count             661 drivers/usb/serial/cypress_m8.c 	dev_dbg(&port->dev, "%s - %d bytes\n", __func__, count);
count             667 drivers/usb/serial/cypress_m8.c 		count = 0;
count             671 drivers/usb/serial/cypress_m8.c 	if (!count)
count             672 drivers/usb/serial/cypress_m8.c 		return count;
count             674 drivers/usb/serial/cypress_m8.c 	count = kfifo_in_locked(&priv->write_fifo, buf, count, &priv->lock);
count             679 drivers/usb/serial/cypress_m8.c 	return count;
count             685 drivers/usb/serial/cypress_m8.c 	int count = 0, result, offset, actual_size;
count             734 drivers/usb/serial/cypress_m8.c 	count = kfifo_out_locked(&priv->write_fifo,
count             738 drivers/usb/serial/cypress_m8.c 	if (count == 0)
count             744 drivers/usb/serial/cypress_m8.c 		port->interrupt_out_buffer[1] = count;
count             747 drivers/usb/serial/cypress_m8.c 		port->interrupt_out_buffer[0] |= count;
count             750 drivers/usb/serial/cypress_m8.c 	dev_dbg(dev, "%s - count is %d\n", __func__, count);
count             760 drivers/usb/serial/cypress_m8.c 		actual_size = count +
count             784 drivers/usb/serial/cypress_m8.c 	priv->bytes_out += count;
count             210 drivers/usb/serial/digi_acceleport.c 	unsigned char *buf, int count, int interruptible);
count             212 drivers/usb/serial/digi_acceleport.c 	unsigned char *buf, int count, unsigned long timeout);
count             226 drivers/usb/serial/digi_acceleport.c 		const unsigned char *buf, int count);
count             391 drivers/usb/serial/digi_acceleport.c 	unsigned char *buf, int count, int interruptible)
count             401 drivers/usb/serial/digi_acceleport.c 		oob_priv->dp_port_num, count);
count             404 drivers/usb/serial/digi_acceleport.c 	while (count > 0) {
count             415 drivers/usb/serial/digi_acceleport.c 		len = min(count, oob_port->bulk_out_size);
count             423 drivers/usb/serial/digi_acceleport.c 			count -= len;
count             449 drivers/usb/serial/digi_acceleport.c 	unsigned char *buf, int count, unsigned long timeout)
count             458 drivers/usb/serial/digi_acceleport.c 		priv->dp_port_num, count);
count             466 drivers/usb/serial/digi_acceleport.c 	while (count > 0 && ret == 0) {
count             480 drivers/usb/serial/digi_acceleport.c 		len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len);
count             502 drivers/usb/serial/digi_acceleport.c 			count -= len;
count             906 drivers/usb/serial/digi_acceleport.c 					const unsigned char *buf, int count)
count             916 drivers/usb/serial/digi_acceleport.c 		priv->dp_port_num, count, in_interrupt());
count             919 drivers/usb/serial/digi_acceleport.c 	count = min(count, port->bulk_out_size-2);
count             920 drivers/usb/serial/digi_acceleport.c 	count = min(64, count);
count             929 drivers/usb/serial/digi_acceleport.c 		if (count == 1 && priv->dp_out_buf_len < DIGI_OUT_BUF_SIZE) {
count             941 drivers/usb/serial/digi_acceleport.c 	new_len = min(count, port->bulk_out_size-2-priv->dp_out_buf_len);
count             198 drivers/usb/serial/f81534.c 	int count = 0;
count             205 drivers/usb/serial/f81534.c 		if (port->port_number == count)
count             208 drivers/usb/serial/f81534.c 		++count;
count             218 drivers/usb/serial/f81534.c 	size_t count = F81534_USB_MAX_RETRY;
count             232 drivers/usb/serial/f81534.c 	while (count--) {
count             259 drivers/usb/serial/f81534.c 	size_t count = F81534_USB_MAX_RETRY;
count             271 drivers/usb/serial/f81534.c 	while (count--) {
count             352 drivers/usb/serial/f81534.c 	size_t count = F81534_MAX_BUS_RETRY;
count             368 drivers/usb/serial/f81534.c 	} while (--count);
count             370 drivers/usb/serial/f81534.c 	if (!count) {
count             410 drivers/usb/serial/f81534.c 	size_t count;
count             439 drivers/usb/serial/f81534.c 		for (count = 0; count < read_size; ++count) {
count             442 drivers/usb/serial/f81534.c 					read_size == count + 1)
count             458 drivers/usb/serial/f81534.c 						&tmp_buf[count]);
count             462 drivers/usb/serial/f81534.c 			offset = count + block * F81534_MAX_DATA_BLOCK;
count             463 drivers/usb/serial/f81534.c 			buf[offset] = tmp_buf[count];
count            1488 drivers/usb/serial/f81534.c 			const u8 *buf, int count)
count            1492 drivers/usb/serial/f81534.c 	if (!count)
count            1495 drivers/usb/serial/f81534.c 	bytes_out = kfifo_in_locked(&port->write_fifo, buf, count,
count            1694 drivers/usb/serial/ftdi_sio.c 				   const char *valbuf, size_t count)
count            1708 drivers/usb/serial/ftdi_sio.c 	return count;
count            1715 drivers/usb/serial/ftdi_sio.c 	struct device_attribute *attr, const char *valbuf, size_t count)
count            1739 drivers/usb/serial/ftdi_sio.c 	return count;
count            2450 drivers/usb/serial/ftdi_sio.c 	int count;
count            2459 drivers/usb/serial/ftdi_sio.c 		count = 0;
count            2468 drivers/usb/serial/ftdi_sio.c 			count += c + 1;
count            2472 drivers/usb/serial/ftdi_sio.c 		count = kfifo_out_locked(&port->write_fifo, dest, size,
count            2474 drivers/usb/serial/ftdi_sio.c 		port->icount.tx += count;
count            2477 drivers/usb/serial/ftdi_sio.c 	return count;
count            2581 drivers/usb/serial/ftdi_sio.c 	int count = 0;
count            2585 drivers/usb/serial/ftdi_sio.c 		count += ftdi_process_packet(port, priv, &data[i], len);
count            2588 drivers/usb/serial/ftdi_sio.c 	if (count)
count             115 drivers/usb/serial/garmin_gps.c 	__u8   count;
count             172 drivers/usb/serial/garmin_gps.c 			     const unsigned char *buf, int count,
count             379 drivers/usb/serial/garmin_gps.c static int gsp_rec_packet(struct garmin_data *garmin_data_p, int count)
count             391 drivers/usb/serial/garmin_gps.c 			      count-GSP_INITIAL_OFFSET, recpkt);
count             393 drivers/usb/serial/garmin_gps.c 	if (size != (count-GSP_INITIAL_OFFSET-3)) {
count             395 drivers/usb/serial/garmin_gps.c 			__func__, size, (count-GSP_INITIAL_OFFSET-3));
count             436 drivers/usb/serial/garmin_gps.c 	return count;
count             460 drivers/usb/serial/garmin_gps.c 		       const unsigned char *buf, int count)
count             489 drivers/usb/serial/garmin_gps.c 	while (offs < count) {
count             570 drivers/usb/serial/garmin_gps.c 	return count;
count             583 drivers/usb/serial/garmin_gps.c 		    const unsigned char *buf, int count)
count             595 drivers/usb/serial/garmin_gps.c 		garmin_data_p->state, count);
count             598 drivers/usb/serial/garmin_gps.c 	if ((k+count) > GPS_OUT_BUFSIZ) {
count             604 drivers/usb/serial/garmin_gps.c 	memcpy(garmin_data_p->outbuffer+k, buf, count);
count             605 drivers/usb/serial/garmin_gps.c 	k += count;
count             733 drivers/usb/serial/garmin_gps.c 		       const unsigned char *buf, int count)
count             738 drivers/usb/serial/garmin_gps.c 	int result = count;
count             741 drivers/usb/serial/garmin_gps.c 	while (offs < count) {
count             756 drivers/usb/serial/garmin_gps.c 			count = 0;
count             760 drivers/usb/serial/garmin_gps.c 			if (len > (count-offs))
count             761 drivers/usb/serial/garmin_gps.c 				len = (count-offs);
count             912 drivers/usb/serial/garmin_gps.c 	garmin_data_p->count = 0;
count             974 drivers/usb/serial/garmin_gps.c 			      const unsigned char *buf, int count,
count             988 drivers/usb/serial/garmin_gps.c 	buffer = kmalloc(count, GFP_ATOMIC);
count             998 drivers/usb/serial/garmin_gps.c 	memcpy(buffer, buf, count);
count            1000 drivers/usb/serial/garmin_gps.c 	usb_serial_debug_data(&port->dev, __func__, count, buffer);
count            1005 drivers/usb/serial/garmin_gps.c 				buffer, count,
count            1029 drivers/usb/serial/garmin_gps.c 		count = status;
count            1038 drivers/usb/serial/garmin_gps.c 	return count;
count            1042 drivers/usb/serial/garmin_gps.c 					 const unsigned char *buf, int count)
count            1049 drivers/usb/serial/garmin_gps.c 	usb_serial_debug_data(dev, __func__, count, buf);
count            1055 drivers/usb/serial/garmin_gps.c 	if (count >= GARMIN_PKTHDR_LENGTH) {
count            1057 drivers/usb/serial/garmin_gps.c 		if (count < len)
count            1058 drivers/usb/serial/garmin_gps.c 			len = count;
count            1065 drivers/usb/serial/garmin_gps.c 		if (count == (GARMIN_PKTHDR_LENGTH + pktsiz) &&
count            1101 drivers/usb/serial/garmin_gps.c 			return count;
count            1106 drivers/usb/serial/garmin_gps.c 		return gsp_receive(garmin_data_p, buf, count);
count            1108 drivers/usb/serial/garmin_gps.c 		return nat_receive(garmin_data_p, buf, count);
count            1385 drivers/usb/serial/garmin_gps.c 	garmin_data_p->count = 0;
count             158 drivers/usb/serial/generic.c 	int count, result;
count             176 drivers/usb/serial/generic.c 	count = port->serial->type->prepare_write_buffer(port,
count             179 drivers/usb/serial/generic.c 	urb->transfer_buffer_length = count;
count             180 drivers/usb/serial/generic.c 	usb_serial_debug_data(&port->dev, __func__, count, urb->transfer_buffer);
count             182 drivers/usb/serial/generic.c 	port->tx_bytes += count;
count             192 drivers/usb/serial/generic.c 		port->tx_bytes -= count;
count             214 drivers/usb/serial/generic.c 	struct usb_serial_port *port, const unsigned char *buf, int count)
count             221 drivers/usb/serial/generic.c 	if (!count)
count             224 drivers/usb/serial/generic.c 	count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock);
count             229 drivers/usb/serial/generic.c 	return count;
count             155 drivers/usb/serial/io_edgeport.c 	unsigned int	count;	/* Bytes in queue */
count             278 drivers/usb/serial/io_edgeport.c 					const unsigned char *buf, int count);
count             988 drivers/usb/serial/io_edgeport.c 	edge_port->txfifo.count	= 0;
count            1091 drivers/usb/serial/io_edgeport.c 		lastCount = fifo->count;
count            1107 drivers/usb/serial/io_edgeport.c 		if (lastCount == fifo->count) {
count            1189 drivers/usb/serial/io_edgeport.c 					const unsigned char *data, int count)
count            1208 drivers/usb/serial/io_edgeport.c 	copySize = min((unsigned int)count,
count            1209 drivers/usb/serial/io_edgeport.c 				(edge_port->txCredits - fifo->count));
count            1212 drivers/usb/serial/io_edgeport.c 		__func__, count, edge_port->txCredits - fifo->count, copySize);
count            1239 drivers/usb/serial/io_edgeport.c 	fifo->count += firsthalf;
count            1252 drivers/usb/serial/io_edgeport.c 		fifo->count += secondhalf;
count            1266 drivers/usb/serial/io_edgeport.c 		__func__, copySize, edge_port->txCredits, fifo->count);
count            1293 drivers/usb/serial/io_edgeport.c 	int		count;
count            1303 drivers/usb/serial/io_edgeport.c 	    (fifo->count == 0)) {
count            1305 drivers/usb/serial/io_edgeport.c 			__func__, fifo->count, edge_port->write_in_progress);
count            1318 drivers/usb/serial/io_edgeport.c 			__func__, fifo->count, edge_port->txCredits);
count            1334 drivers/usb/serial/io_edgeport.c 	count = fifo->count;
count            1335 drivers/usb/serial/io_edgeport.c 	buffer = kmalloc(count+2, GFP_ATOMIC);
count            1340 drivers/usb/serial/io_edgeport.c 	buffer[0] = IOSP_BUILD_DATA_HDR1(edge_port->port->port_number, count);
count            1341 drivers/usb/serial/io_edgeport.c 	buffer[1] = IOSP_BUILD_DATA_HDR2(edge_port->port->port_number, count);
count            1345 drivers/usb/serial/io_edgeport.c 	firsthalf = min(bytesleft, count);
count            1348 drivers/usb/serial/io_edgeport.c 	fifo->count -= firsthalf;
count            1352 drivers/usb/serial/io_edgeport.c 	secondhalf = count-firsthalf;
count            1357 drivers/usb/serial/io_edgeport.c 		fifo->count -= secondhalf;
count            1360 drivers/usb/serial/io_edgeport.c 	if (count)
count            1361 drivers/usb/serial/io_edgeport.c 		usb_serial_debug_data(&edge_port->port->dev, __func__, count, &buffer[2]);
count            1367 drivers/usb/serial/io_edgeport.c 			buffer, count+2,
count            1371 drivers/usb/serial/io_edgeport.c 	edge_port->txCredits -= count;
count            1372 drivers/usb/serial/io_edgeport.c 	edge_port->port->icount.tx += count;
count            1383 drivers/usb/serial/io_edgeport.c 		edge_port->txCredits += count;
count            1384 drivers/usb/serial/io_edgeport.c 		edge_port->port->icount.tx -= count;
count            1387 drivers/usb/serial/io_edgeport.c 		__func__, count, edge_port->txCredits, fifo->count);
count            1420 drivers/usb/serial/io_edgeport.c 	room = edge_port->txCredits - edge_port->txfifo.count;
count            1456 drivers/usb/serial/io_edgeport.c 						edge_port->txfifo.count;
count            1580 drivers/usb/serial/io_edgeport.c 	    edge_port->txfifo.count == 0) {
count            2017 drivers/usb/serial/io_ti.c 				const unsigned char *data, int count)
count            2021 drivers/usb/serial/io_ti.c 	if (count == 0) {
count            2031 drivers/usb/serial/io_ti.c 	count = kfifo_in_locked(&port->write_fifo, data, count,
count            2035 drivers/usb/serial/io_ti.c 	return count;
count            2040 drivers/usb/serial/io_ti.c 	int count, result;
count            2051 drivers/usb/serial/io_ti.c 	count = kfifo_out(&port->write_fifo,
count            2055 drivers/usb/serial/io_ti.c 	if (count == 0) {
count            2064 drivers/usb/serial/io_ti.c 	usb_serial_debug_data(&port->dev, __func__, count, port->write_urb->transfer_buffer);
count            2067 drivers/usb/serial/io_ti.c 	port->write_urb->transfer_buffer_length = count;
count            2078 drivers/usb/serial/io_ti.c 		edge_port->port->icount.tx += count;
count            2655 drivers/usb/serial/io_ti.c 	struct device_attribute *attr, const char *valbuf, size_t count)
count            2668 drivers/usb/serial/io_ti.c 	return count;
count              49 drivers/usb/serial/ir-usb.c 		const unsigned char *buf, int count);
count             260 drivers/usb/serial/ir-usb.c 		const unsigned char *buf, int count)
count             269 drivers/usb/serial/ir-usb.c 	if (count == 0)
count             272 drivers/usb/serial/ir-usb.c 	count = min(count, port->bulk_out_size - 1);
count             277 drivers/usb/serial/ir-usb.c 		port->tx_bytes += count;
count             293 drivers/usb/serial/ir-usb.c 	memcpy(urb->transfer_buffer + 1, buf, count);
count             295 drivers/usb/serial/ir-usb.c 	urb->transfer_buffer_length = count + 1;
count             304 drivers/usb/serial/ir-usb.c 		port->tx_bytes -= count;
count             310 drivers/usb/serial/ir-usb.c 	return count;
count             346 drivers/usb/serial/ir-usb.c 	int count = 0;
count             352 drivers/usb/serial/ir-usb.c 		count = port->bulk_out_size - 1;
count             354 drivers/usb/serial/ir-usb.c 	return count;
count             271 drivers/usb/serial/iuu_phoenix.c static int bulk_immediate(struct usb_serial_port *port, u8 *buf, u8 count)
count             283 drivers/usb/serial/iuu_phoenix.c 			 count, &actual, 1000);
count             292 drivers/usb/serial/iuu_phoenix.c static int read_immediate(struct usb_serial_port *port, u8 *buf, u8 count)
count             303 drivers/usb/serial/iuu_phoenix.c 			 count, &actual, 1000);
count             695 drivers/usb/serial/iuu_phoenix.c 			  const u8 *buf, int count)
count             700 drivers/usb/serial/iuu_phoenix.c 	if (count > 256)
count             706 drivers/usb/serial/iuu_phoenix.c 	memcpy(priv->writebuf + priv->writelen, buf, count);
count             707 drivers/usb/serial/iuu_phoenix.c 	priv->writelen += count;
count             710 drivers/usb/serial/iuu_phoenix.c 	return count;
count            1113 drivers/usb/serial/iuu_phoenix.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1134 drivers/usb/serial/iuu_phoenix.c 	return count;
count              55 drivers/usb/serial/keyspan.c 			 const unsigned char *buf, int count);
count             711 drivers/usb/serial/keyspan.c 	struct usb_serial_port *port, const unsigned char *buf, int count)
count             731 drivers/usb/serial/keyspan.c 	dev_dbg(&port->dev, "%s - %d chars, flip=%d\n", __func__, count,
count             734 drivers/usb/serial/keyspan.c 	for (left = count; left > 0; left -= todo) {
count             746 drivers/usb/serial/keyspan.c 			return count;
count             780 drivers/usb/serial/keyspan.c 	return count - left;
count             440 drivers/usb/serial/keyspan_pda.c 	struct usb_serial_port *port, const unsigned char *buf, int count)
count             456 drivers/usb/serial/keyspan_pda.c 	if (count == 0) {
count             478 drivers/usb/serial/keyspan_pda.c 	count = (count > port->bulk_out_size) ? port->bulk_out_size : count;
count             483 drivers/usb/serial/keyspan_pda.c 	if (count > priv->tx_room && !in_interrupt()) {
count             517 drivers/usb/serial/keyspan_pda.c 	if (count > priv->tx_room) {
count             520 drivers/usb/serial/keyspan_pda.c 		count = priv->tx_room;
count             524 drivers/usb/serial/keyspan_pda.c 	if (count) {
count             526 drivers/usb/serial/keyspan_pda.c 		memcpy(port->write_urb->transfer_buffer, buf, count);
count             528 drivers/usb/serial/keyspan_pda.c 		port->write_urb->transfer_buffer_length = count;
count             530 drivers/usb/serial/keyspan_pda.c 		priv->tx_room -= count;
count             548 drivers/usb/serial/keyspan_pda.c 	rc = count;
count             362 drivers/usb/serial/kl5kusb105.c 	int count;
count             364 drivers/usb/serial/kl5kusb105.c 	count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size,
count             366 drivers/usb/serial/kl5kusb105.c 	put_unaligned_le16(count, buf);
count             368 drivers/usb/serial/kl5kusb105.c 	return count + KLSI_HDR_LEN;
count              55 drivers/usb/serial/kobil_sct.c 			 const unsigned char *buf, int count);
count             295 drivers/usb/serial/kobil_sct.c 			const unsigned char *buf, int count)
count             302 drivers/usb/serial/kobil_sct.c 	if (count == 0) {
count             309 drivers/usb/serial/kobil_sct.c 	if (count > (KOBIL_BUF_LENGTH - priv->filled)) {
count             315 drivers/usb/serial/kobil_sct.c 	memcpy(priv->buf + priv->filled, buf, count);
count             316 drivers/usb/serial/kobil_sct.c 	usb_serial_debug_data(&port->dev, __func__, count, priv->buf + priv->filled);
count             317 drivers/usb/serial/kobil_sct.c 	priv->filled = priv->filled + count;
count             359 drivers/usb/serial/kobil_sct.c 	return count;
count            1213 drivers/usb/serial/mos7720.c 				 const unsigned char *data, int count)
count            1254 drivers/usb/serial/mos7720.c 	transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE);
count            1722 drivers/usb/serial/mos7720.c 	int count;
count            1724 drivers/usb/serial/mos7720.c 	count = mos7720_chars_in_buffer(tty);
count            1725 drivers/usb/serial/mos7720.c 	if (count == 0) {
count            1286 drivers/usb/serial/mos7840.c 			 const unsigned char *data, int count)
count            1336 drivers/usb/serial/mos7840.c 	transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE);
count            1903 drivers/usb/serial/mos7840.c 	int count;
count            1906 drivers/usb/serial/mos7840.c 	count = mos7840_chars_in_buffer(tty);
count            1907 drivers/usb/serial/mos7840.c 	if (count == 0)
count             196 drivers/usb/serial/mxuport.c 	int count;
count             198 drivers/usb/serial/mxuport.c 	count = kfifo_out_locked(&port->write_fifo, buf + HEADER_SIZE,
count             203 drivers/usb/serial/mxuport.c 	put_unaligned_be16(count, buf + 2);
count             206 drivers/usb/serial/mxuport.c 		size, count);
count             208 drivers/usb/serial/mxuport.c 	return count + HEADER_SIZE;
count              88 drivers/usb/serial/navman.c 			const unsigned char *buf, int count)
count              35 drivers/usb/serial/omninet.c 				void *buf, size_t count);
count             156 drivers/usb/serial/omninet.c 					void *buf, size_t count)
count             161 drivers/usb/serial/omninet.c 	count = min_t(size_t, count, OMNINET_PAYLOADSIZE);
count             163 drivers/usb/serial/omninet.c 	count = kfifo_out_locked(&port->write_fifo, buf + OMNINET_HEADERLEN,
count             164 drivers/usb/serial/omninet.c 			count, &port->lock);
count             167 drivers/usb/serial/omninet.c 	header->oh_len = count;
count             178 drivers/usb/serial/opticon.c 			 const unsigned char *buf, int count)
count             197 drivers/usb/serial/opticon.c 	buffer = kmalloc(count, GFP_ATOMIC);
count             199 drivers/usb/serial/opticon.c 		count = -ENOMEM;
count             205 drivers/usb/serial/opticon.c 		count = -ENOMEM;
count             209 drivers/usb/serial/opticon.c 	memcpy(buffer, buf, count);
count             211 drivers/usb/serial/opticon.c 	usb_serial_debug_data(&port->dev, __func__, count, buffer);
count             217 drivers/usb/serial/opticon.c 		count = -ENOMEM;
count             225 drivers/usb/serial/opticon.c 	dr->wLength = cpu_to_le16(count);
count             229 drivers/usb/serial/opticon.c 		(unsigned char *)dr, buffer, count,
count             238 drivers/usb/serial/opticon.c 		count = status;
count             246 drivers/usb/serial/opticon.c 	return count;
count             257 drivers/usb/serial/opticon.c 	return count;
count             128 drivers/usb/serial/oti6858.c 			const unsigned char *buf, int count);
count             265 drivers/usb/serial/oti6858.c 	int count = 0, result;
count             280 drivers/usb/serial/oti6858.c 	count = kfifo_len(&port->write_fifo);
count             283 drivers/usb/serial/oti6858.c 	if (count > port->bulk_out_size)
count             284 drivers/usb/serial/oti6858.c 		count = port->bulk_out_size;
count             286 drivers/usb/serial/oti6858.c 	if (count != 0) {
count             295 drivers/usb/serial/oti6858.c 				count, 0, allow, 1, 100);
count             297 drivers/usb/serial/oti6858.c 			count = 0;
count             301 drivers/usb/serial/oti6858.c 	if (count == 0) {
count             313 drivers/usb/serial/oti6858.c 	count = kfifo_out_locked(&port->write_fifo,
count             315 drivers/usb/serial/oti6858.c 					count, &port->lock);
count             316 drivers/usb/serial/oti6858.c 	port->write_urb->transfer_buffer_length = count;
count             358 drivers/usb/serial/oti6858.c 			const unsigned char *buf, int count)
count             360 drivers/usb/serial/oti6858.c 	if (!count)
count             361 drivers/usb/serial/oti6858.c 		return count;
count             363 drivers/usb/serial/oti6858.c 	count = kfifo_in_locked(&port->write_fifo, buf, count, &port->lock);
count             365 drivers/usb/serial/oti6858.c 	return count;
count             738 drivers/usb/serial/oti6858.c 		int count;
count             741 drivers/usb/serial/oti6858.c 		count = kfifo_len(&port->write_fifo);
count             745 drivers/usb/serial/oti6858.c 		if (priv->flags.write_urb_in_use == 0 && count != 0) {
count             929 drivers/usb/serial/quatech2.c 		     const unsigned char *buf, int count)
count             946 drivers/usb/serial/quatech2.c 	count = min(count, QT2_WRITE_BUFFER_SIZE - QT2_WRITE_CONTROL_SIZE);
count             958 drivers/usb/serial/quatech2.c 	put_unaligned_le16(count, data);
count             960 drivers/usb/serial/quatech2.c 	memcpy(data, buf, count);
count             962 drivers/usb/serial/quatech2.c 	write_urb->transfer_buffer_length = count + QT2_WRITE_CONTROL_SIZE;
count             967 drivers/usb/serial/quatech2.c 		bytes_out += count;
count             227 drivers/usb/serial/safe_serial.c 	int count;
count             234 drivers/usb/serial/safe_serial.c 	count = kfifo_out_locked(&port->write_fifo, buf, size - trailer_len,
count             237 drivers/usb/serial/safe_serial.c 		return count;
count             242 drivers/usb/serial/safe_serial.c 		memset(buf + count, '0', pkt_len - count - trailer_len);
count             244 drivers/usb/serial/safe_serial.c 		pkt_len = count + trailer_len;
count             248 drivers/usb/serial/safe_serial.c 	buf[pkt_len - 2] = count << 2;
count             435 drivers/usb/serial/sierra.c 					const unsigned char *buf, int count)
count             443 drivers/usb/serial/sierra.c 	size_t writesize = min((size_t)count, (size_t)MAX_TRANSFER);
count             447 drivers/usb/serial/sierra.c 	if (count == 0)
count             310 drivers/usb/serial/ti_usb_3410_5052.c 		const unsigned char *data, int count);
count             813 drivers/usb/serial/ti_usb_3410_5052.c 			const unsigned char *data, int count)
count             817 drivers/usb/serial/ti_usb_3410_5052.c 	if (count == 0) {
count             824 drivers/usb/serial/ti_usb_3410_5052.c 	count = kfifo_in_locked(&port->write_fifo, data, count,
count             828 drivers/usb/serial/ti_usb_3410_5052.c 	return count;
count            1297 drivers/usb/serial/ti_usb_3410_5052.c 	int count, result;
count            1306 drivers/usb/serial/ti_usb_3410_5052.c 	count = kfifo_out(&port->write_fifo,
count            1310 drivers/usb/serial/ti_usb_3410_5052.c 	if (count == 0)
count            1317 drivers/usb/serial/ti_usb_3410_5052.c 	usb_serial_debug_data(&port->dev, __func__, count,
count            1323 drivers/usb/serial/ti_usb_3410_5052.c 			   port->write_urb->transfer_buffer, count,
count            1334 drivers/usb/serial/ti_usb_3410_5052.c 		port->icount.tx += count;
count             324 drivers/usb/serial/usb-serial.c 								int count)
count             332 drivers/usb/serial/usb-serial.c 	dev_dbg(tty->dev, "%s - %d byte(s)\n", __func__, count);
count             334 drivers/usb/serial/usb-serial.c 	retval = port->serial->type->write(tty, port, buf, count);
count              23 drivers/usb/serial/usb-wwan.h 			  const unsigned char *buf, int count);
count             181 drivers/usb/serial/usb_wwan.c 		   const unsigned char *buf, int count)
count             194 drivers/usb/serial/usb_wwan.c 	dev_dbg(&port->dev, "%s: write (%d chars)\n", __func__, count);
count             197 drivers/usb/serial/usb_wwan.c 	left = count;
count             251 drivers/usb/serial/usb_wwan.c 	count -= left;
count             252 drivers/usb/serial/usb_wwan.c 	dev_dbg(&port->dev, "%s: wrote (did %d)\n", __func__, count);
count             253 drivers/usb/serial/usb_wwan.c 	return count;
count             326 drivers/usb/storage/datafab.c 	int count = 0, rc;
count             340 drivers/usb/storage/datafab.c 	while (count++ < 3) {
count            1565 drivers/usb/storage/ene_ub6250.c 	u32 count = 0, index = 0;
count            1580 drivers/usb/storage/ene_ub6250.c 			if (count == PhyBlock) {
count            1583 drivers/usb/storage/ene_ub6250.c 				count += 0x80;
count             153 drivers/usb/storage/freecom.c 		unsigned int ipipe, unsigned int opipe, int count)
count             161 drivers/usb/storage/freecom.c 	fxfr->Count = cpu_to_le32 (count);
count             164 drivers/usb/storage/freecom.c 	usb_stor_dbg(us, "Read data Freecom! (c=%d)\n", count);
count             186 drivers/usb/storage/freecom.c 		int unsigned ipipe, unsigned int opipe, int count)
count             194 drivers/usb/storage/freecom.c 	fxfr->Count = cpu_to_le32 (count);
count             197 drivers/usb/storage/freecom.c 	usb_stor_dbg(us, "Write data Freecom! (c=%d)\n", count);
count             578 drivers/usb/storage/scsiglue.c 		size_t count)
count             585 drivers/usb/storage/scsiglue.c 		return count;
count             462 drivers/usb/storage/sddr09.c 	      int count, int controlshift, unsigned char *buf, int use_sg) {
count             464 drivers/usb/storage/sddr09.c 	int bulklen = (count << controlshift);
count             465 drivers/usb/storage/sddr09.c 	return sddr09_readX(us, 1, fromaddress, count, bulklen,
count             504 drivers/usb/storage/sddr09.c 	      int count, int controlshift, unsigned char *buf, int use_sg) {
count             506 drivers/usb/storage/sddr09.c 	int bulklen = (count << controlshift);
count             507 drivers/usb/storage/sddr09.c 	return sddr09_readX(us, 3, fromaddress, count, bulklen,
count             250 drivers/usb/typec/altmodes/displayport.c 			  const u32 hdr, const u32 *vdo, int count)
count             170 drivers/usb/typec/bus.c 		      const u32 header, const u32 *vdo, int count)
count             188 drivers/usb/typec/bus.c 	return pdev->ops->vdm(pdev, header, vdo, count);
count            1237 drivers/usb/typec/tcpm/tcpm.c 			  const u32 *data, int count)
count            1241 drivers/usb/typec/tcpm/tcpm.c 	if (WARN_ON(count > VDO_MAX_SIZE - 1))
count            1242 drivers/usb/typec/tcpm/tcpm.c 		count = VDO_MAX_SIZE - 1;
count            1247 drivers/usb/typec/tcpm/tcpm.c 	tcpm_queue_vdm(port, header, data, count);
count            1520 drivers/usb/typec/tcpm/tcpm.c 			    u32 header, const u32 *data, int count)
count            1525 drivers/usb/typec/tcpm/tcpm.c 	tcpm_queue_vdm(port, header, data, count - 1);
count             186 drivers/usb/typec/ucsi/displayport.c 				u32 header, const u32 *data, int count)
count             284 drivers/usb/typec/ucsi/ucsi_ccg.c 	unsigned int count = 10;
count             315 drivers/usb/typec/ucsi/ucsi_ccg.c 	} while (--count);
count             187 drivers/usb/usb-skeleton.c static int skel_do_read_io(struct usb_skel *dev, size_t count)
count             197 drivers/usb/usb-skeleton.c 			min(dev->bulk_in_size, count),
count             224 drivers/usb/usb-skeleton.c static ssize_t skel_read(struct file *file, char *buffer, size_t count,
count             233 drivers/usb/usb-skeleton.c 	if (!count)
count             286 drivers/usb/usb-skeleton.c 		size_t chunk = min(available, count);
count             293 drivers/usb/usb-skeleton.c 			rv = skel_do_read_io(dev, count);
count             317 drivers/usb/usb-skeleton.c 		if (available < count)
count             318 drivers/usb/usb-skeleton.c 			skel_do_read_io(dev, count - chunk);
count             321 drivers/usb/usb-skeleton.c 		rv = skel_do_read_io(dev, count);
count             360 drivers/usb/usb-skeleton.c 			  size_t count, loff_t *ppos)
count             366 drivers/usb/usb-skeleton.c 	size_t writesize = min(count, (size_t)MAX_TRANSFER);
count             371 drivers/usb/usb-skeleton.c 	if (count == 0)
count              43 drivers/usb/usbip/stub_dev.c 			    const char *buf, size_t count)
count             101 drivers/usb/usbip/stub_dev.c 	return count;
count             170 drivers/usb/usbip/stub_main.c 				 size_t count)
count             175 drivers/usb/usbip/stub_main.c 	if (count < 5)
count             188 drivers/usb/usbip/stub_main.c 		return count;
count             196 drivers/usb/usbip/stub_main.c 		return count;
count             247 drivers/usb/usbip/stub_main.c 				 size_t count)
count             275 drivers/usb/usbip/stub_main.c 	return count;
count              44 drivers/usb/usbip/usbip_common.c 				 size_t count)
count              48 drivers/usb/usbip/usbip_common.c 	return count;
count             229 drivers/usb/usbip/vhci_sysfs.c 			    const char *buf, size_t count)
count             264 drivers/usb/usbip/vhci_sysfs.c 	return count;
count             304 drivers/usb/usbip/vhci_sysfs.c 			    const char *buf, size_t count)
count             396 drivers/usb/usbip/vhci_sysfs.c 	return count;
count              71 drivers/usb/usbip/vudc_sysfs.c 			     loff_t off, size_t count)
count              85 drivers/usb/usbip/vudc_sysfs.c 	memcpy(out, desc_ptr + off, count);
count              86 drivers/usb/usbip/vudc_sysfs.c 	ret = count;
count              94 drivers/usb/usbip/vudc_sysfs.c 		     const char *in, size_t count)
count             178 drivers/usb/usbip/vudc_sysfs.c 	return count;
count              35 drivers/vfio/mdev/mdev_sysfs.c 				      const char *buf, size_t count)
count              42 drivers/vfio/mdev/mdev_sysfs.c 		ret = attr->store(&type->kobj, type->parent->dev, buf, count);
count              52 drivers/vfio/mdev/mdev_sysfs.c 			    const char *buf, size_t count)
count              58 drivers/vfio/mdev/mdev_sysfs.c 	if ((count < UUID_STRING_LEN) || (count > UUID_STRING_LEN + 1))
count              61 drivers/vfio/mdev/mdev_sysfs.c 	str = kstrndup(buf, count, GFP_KERNEL);
count              74 drivers/vfio/mdev/mdev_sysfs.c 	return count;
count             226 drivers/vfio/mdev/mdev_sysfs.c 			    const char *buf, size_t count)
count             241 drivers/vfio/mdev/mdev_sysfs.c 	return count;
count              67 drivers/vfio/mdev/vfio_mdev.c 			      size_t count, loff_t *ppos)
count              75 drivers/vfio/mdev/vfio_mdev.c 	return parent->ops->read(mdev, buf, count, ppos);
count              79 drivers/vfio/mdev/vfio_mdev.c 			       size_t count, loff_t *ppos)
count              87 drivers/vfio/mdev/vfio_mdev.c 	return parent->ops->write(mdev, buf, count, ppos);
count             589 drivers/vfio/pci/vfio_pci.c 	int count;
count             605 drivers/vfio/pci/vfio_pci.c 	for (i = 0; i < info->count; i++)
count             611 drivers/vfio/pci/vfio_pci.c 	return (i == info->count) ? -EINVAL : 0;
count             870 drivers/vfio/pci/vfio_pci.c 		minsz = offsetofend(struct vfio_irq_info, count);
count             892 drivers/vfio/pci/vfio_pci.c 		info.count = vfio_pci_get_irq_count(vdev, info.index);
count             909 drivers/vfio/pci/vfio_pci.c 		minsz = offsetofend(struct vfio_irq_set, count);
count             931 drivers/vfio/pci/vfio_pci.c 					      hdr.start, hdr.count, data);
count             949 drivers/vfio/pci/vfio_pci.c 		minsz = offsetofend(struct vfio_pci_hot_reset_info, count);
count             980 drivers/vfio/pci/vfio_pci.c 			hdr.count = fill.max;
count            1000 drivers/vfio/pci/vfio_pci.c 			hdr.count = fill.cur;
count            1008 drivers/vfio/pci/vfio_pci.c 					 hdr.count * sizeof(*devices)))
count            1021 drivers/vfio/pci/vfio_pci.c 		int i, count = 0, ret = 0;
count            1023 drivers/vfio/pci/vfio_pci.c 		minsz = offsetofend(struct vfio_pci_hot_reset, count);
count            1045 drivers/vfio/pci/vfio_pci.c 						    &count, slot);
count            1050 drivers/vfio/pci/vfio_pci.c 		if (!hdr.count || hdr.count > count)
count            1053 drivers/vfio/pci/vfio_pci.c 		group_fds = kcalloc(hdr.count, sizeof(*group_fds), GFP_KERNEL);
count            1054 drivers/vfio/pci/vfio_pci.c 		groups = kcalloc(hdr.count, sizeof(*groups), GFP_KERNEL);
count            1062 drivers/vfio/pci/vfio_pci.c 				   hdr.count * sizeof(*group_fds))) {
count            1073 drivers/vfio/pci/vfio_pci.c 		for (i = 0; i < hdr.count; i++) {
count            1098 drivers/vfio/pci/vfio_pci.c 		info.count = hdr.count;
count            1120 drivers/vfio/pci/vfio_pci.c 		int count;
count            1133 drivers/vfio/pci/vfio_pci.c 		count = ioeventfd.flags & VFIO_DEVICE_IOEVENTFD_SIZE_MASK;
count            1135 drivers/vfio/pci/vfio_pci.c 		if (hweight8(count) != 1 || ioeventfd.fd < -1)
count            1139 drivers/vfio/pci/vfio_pci.c 					  ioeventfd.data, count, ioeventfd.fd);
count            1146 drivers/vfio/pci/vfio_pci.c 			   size_t count, loff_t *ppos, bool iswrite)
count            1156 drivers/vfio/pci/vfio_pci.c 		return vfio_pci_config_rw(vdev, buf, count, ppos, iswrite);
count            1161 drivers/vfio/pci/vfio_pci.c 		return vfio_pci_bar_rw(vdev, buf, count, ppos, false);
count            1164 drivers/vfio/pci/vfio_pci.c 		return vfio_pci_bar_rw(vdev, buf, count, ppos, iswrite);
count            1167 drivers/vfio/pci/vfio_pci.c 		return vfio_pci_vga_rw(vdev, buf, count, ppos, iswrite);
count            1171 drivers/vfio/pci/vfio_pci.c 						   count, ppos, iswrite);
count            1178 drivers/vfio/pci/vfio_pci.c 			     size_t count, loff_t *ppos)
count            1180 drivers/vfio/pci/vfio_pci.c 	if (!count)
count            1183 drivers/vfio/pci/vfio_pci.c 	return vfio_pci_rw(device_data, buf, count, ppos, false);
count            1187 drivers/vfio/pci/vfio_pci.c 			      size_t count, loff_t *ppos)
count            1189 drivers/vfio/pci/vfio_pci.c 	if (!count)
count            1192 drivers/vfio/pci/vfio_pci.c 	return vfio_pci_rw(device_data, (char __user *)buf, count, ppos, true);
count            1257 drivers/vfio/pci/vfio_pci.c static void vfio_pci_request(void *device_data, unsigned int count)
count            1265 drivers/vfio/pci/vfio_pci.c 		if (!(count % 10))
count            1268 drivers/vfio/pci/vfio_pci.c 				count);
count            1270 drivers/vfio/pci/vfio_pci.c 	} else if (count == 0) {
count             111 drivers/vfio/pci/vfio_pci_config.c 	int	(*readfn)(struct vfio_pci_device *vdev, int pos, int count,
count             113 drivers/vfio/pci/vfio_pci_config.c 	int	(*writefn)(struct vfio_pci_device *vdev, int pos, int count,
count             123 drivers/vfio/pci/vfio_pci_config.c 				 __le32 *val, int count)
count             128 drivers/vfio/pci/vfio_pci_config.c 	switch (count) {
count             154 drivers/vfio/pci/vfio_pci_config.c 				  __le32 val, int count)
count             159 drivers/vfio/pci/vfio_pci_config.c 	switch (count) {
count             175 drivers/vfio/pci/vfio_pci_config.c 				    int count, struct perm_bits *perm,
count             180 drivers/vfio/pci/vfio_pci_config.c 	memcpy(val, vdev->vconfig + pos, count);
count             182 drivers/vfio/pci/vfio_pci_config.c 	memcpy(&virt, perm->virt + offset, count);
count             185 drivers/vfio/pci/vfio_pci_config.c 	if (cpu_to_le32(~0U >> (32 - (count * 8))) != virt) {
count             190 drivers/vfio/pci/vfio_pci_config.c 		ret = vfio_user_config_read(pdev, pos, &phys_val, count);
count             197 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             201 drivers/vfio/pci/vfio_pci_config.c 				     int count, struct perm_bits *perm,
count             206 drivers/vfio/pci/vfio_pci_config.c 	memcpy(&write, perm->write + offset, count);
count             209 drivers/vfio/pci/vfio_pci_config.c 		return count; /* drop, no writable bits */
count             211 drivers/vfio/pci/vfio_pci_config.c 	memcpy(&virt, perm->virt + offset, count);
count             217 drivers/vfio/pci/vfio_pci_config.c 		memcpy(&virt_val, vdev->vconfig + pos, count);
count             222 drivers/vfio/pci/vfio_pci_config.c 		memcpy(vdev->vconfig + pos, &virt_val, count);
count             231 drivers/vfio/pci/vfio_pci_config.c 		ret = vfio_user_config_read(pdev, pos, &phys_val, count);
count             238 drivers/vfio/pci/vfio_pci_config.c 		ret = vfio_user_config_write(pdev, pos, phys_val, count);
count             243 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             248 drivers/vfio/pci/vfio_pci_config.c 				   int count, struct perm_bits *perm,
count             253 drivers/vfio/pci/vfio_pci_config.c 	ret = vfio_user_config_read(vdev->pdev, pos, val, count);
count             259 drivers/vfio/pci/vfio_pci_config.c 			memcpy(val, vdev->vconfig + pos, count);
count             261 drivers/vfio/pci/vfio_pci_config.c 		if (offset == PCI_CAP_LIST_ID && count > 1)
count             263 drivers/vfio/pci/vfio_pci_config.c 			       min(PCI_CAP_FLAGS, count));
count             268 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             273 drivers/vfio/pci/vfio_pci_config.c 				 int count, struct perm_bits *perm,
count             278 drivers/vfio/pci/vfio_pci_config.c 	ret = vfio_user_config_write(vdev->pdev, pos, val, count);
count             282 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             286 drivers/vfio/pci/vfio_pci_config.c 				int count, struct perm_bits *perm,
count             291 drivers/vfio/pci/vfio_pci_config.c 	ret = vfio_user_config_read(vdev->pdev, pos, val, count);
count             295 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             300 drivers/vfio/pci/vfio_pci_config.c 				  int count, struct perm_bits *perm,
count             303 drivers/vfio/pci/vfio_pci_config.c 	memcpy(vdev->vconfig + pos, &val, count);
count             304 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             308 drivers/vfio/pci/vfio_pci_config.c 				 int count, struct perm_bits *perm,
count             311 drivers/vfio/pci/vfio_pci_config.c 	memcpy(val, vdev->vconfig + pos, count);
count             312 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             499 drivers/vfio/pci/vfio_pci_config.c 				  int count, struct perm_bits *perm,
count             505 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_read(vdev, pos, count, perm, offset, val);
count             516 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             537 drivers/vfio/pci/vfio_pci_config.c 				   int count, struct perm_bits *perm,
count             579 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count             580 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0)
count             581 drivers/vfio/pci/vfio_pci_config.c 		return count;
count             613 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             665 drivers/vfio/pci/vfio_pci_config.c 				int count, struct perm_bits *perm,
count             668 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count             669 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0)
count             670 drivers/vfio/pci/vfio_pci_config.c 		return count;
count             693 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             720 drivers/vfio/pci/vfio_pci_config.c 				 int count, struct perm_bits *perm,
count             734 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count             735 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0 || offset > PCI_VPD_ADDR + 1 ||
count             736 drivers/vfio/pci/vfio_pci_config.c 	    offset + count <= PCI_VPD_ADDR + 1)
count             737 drivers/vfio/pci/vfio_pci_config.c 		return count;
count             744 drivers/vfio/pci/vfio_pci_config.c 			return count;
count             748 drivers/vfio/pci/vfio_pci_config.c 			return count;
count             760 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             802 drivers/vfio/pci/vfio_pci_config.c 				 int count, struct perm_bits *perm,
count             809 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count             810 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0)
count             811 drivers/vfio/pci/vfio_pci_config.c 		return count;
count             854 drivers/vfio/pci/vfio_pci_config.c 	return count;
count             883 drivers/vfio/pci/vfio_pci_config.c 				int count, struct perm_bits *perm,
count             888 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count             889 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0)
count             890 drivers/vfio/pci/vfio_pci_config.c 		return count;
count             912 drivers/vfio/pci/vfio_pci_config.c 	return count;
count            1056 drivers/vfio/pci/vfio_pci_config.c 				int count, struct perm_bits *perm,
count            1060 drivers/vfio/pci/vfio_pci_config.c 	if (offset <= PCI_MSI_FLAGS && offset + count >= PCI_MSI_FLAGS) {
count            1072 drivers/vfio/pci/vfio_pci_config.c 	return vfio_default_config_read(vdev, pos, count, perm, offset, val);
count            1076 drivers/vfio/pci/vfio_pci_config.c 				 int count, struct perm_bits *perm,
count            1079 drivers/vfio/pci/vfio_pci_config.c 	count = vfio_default_config_write(vdev, pos, count, perm, offset, val);
count            1080 drivers/vfio/pci/vfio_pci_config.c 	if (count < 0)
count            1081 drivers/vfio/pci/vfio_pci_config.c 		return count;
count            1084 drivers/vfio/pci/vfio_pci_config.c 	if (offset <= PCI_MSI_FLAGS && offset + count >= PCI_MSI_FLAGS) {
count            1114 drivers/vfio/pci/vfio_pci_config.c 	return count;
count            1750 drivers/vfio/pci/vfio_pci_config.c 				 size_t count, loff_t *ppos, bool iswrite)
count            1760 drivers/vfio/pci/vfio_pci_config.c 	    *ppos + count > pdev->cfg_size)
count            1767 drivers/vfio/pci/vfio_pci_config.c 	count = min(count, vfio_pci_cap_remaining_dword(vdev, *ppos));
count            1768 drivers/vfio/pci/vfio_pci_config.c 	if (count >= 4 && !(*ppos % 4))
count            1769 drivers/vfio/pci/vfio_pci_config.c 		count = 4;
count            1770 drivers/vfio/pci/vfio_pci_config.c 	else if (count >= 2 && !(*ppos % 2))
count            1771 drivers/vfio/pci/vfio_pci_config.c 		count = 2;
count            1773 drivers/vfio/pci/vfio_pci_config.c 		count = 1;
count            1775 drivers/vfio/pci/vfio_pci_config.c 	ret = count;
count            1813 drivers/vfio/pci/vfio_pci_config.c 		if (copy_from_user(&val, buf, count))
count            1816 drivers/vfio/pci/vfio_pci_config.c 		ret = perm->writefn(vdev, *ppos, count, perm, offset, val);
count            1819 drivers/vfio/pci/vfio_pci_config.c 			ret = perm->readfn(vdev, *ppos, count,
count            1825 drivers/vfio/pci/vfio_pci_config.c 		if (copy_to_user(buf, &val, count))
count            1833 drivers/vfio/pci/vfio_pci_config.c 			   size_t count, loff_t *ppos, bool iswrite)
count            1841 drivers/vfio/pci/vfio_pci_config.c 	while (count) {
count            1842 drivers/vfio/pci/vfio_pci_config.c 		ret = vfio_config_do_rw(vdev, buf, count, &pos, iswrite);
count            1846 drivers/vfio/pci/vfio_pci_config.c 		count -= ret;
count              25 drivers/vfio/pci/vfio_pci_igd.c 			      size_t count, loff_t *ppos, bool iswrite)
count              34 drivers/vfio/pci/vfio_pci_igd.c 	count = min(count, (size_t)(vdev->region[i].size - pos));
count              36 drivers/vfio/pci/vfio_pci_igd.c 	if (copy_to_user(buf, base + pos, count))
count              39 drivers/vfio/pci/vfio_pci_igd.c 	*ppos += count;
count              41 drivers/vfio/pci/vfio_pci_igd.c 	return count;
count             111 drivers/vfio/pci/vfio_pci_igd.c 				  char __user *buf, size_t count, loff_t *ppos,
count             123 drivers/vfio/pci/vfio_pci_igd.c 	size = count = min(count, (size_t)(vdev->region[i].size - pos));
count             132 drivers/vfio/pci/vfio_pci_igd.c 		if (copy_to_user(buf + count - size, &val, 1))
count             147 drivers/vfio/pci/vfio_pci_igd.c 		if (copy_to_user(buf + count - size, &val, 2))
count             162 drivers/vfio/pci/vfio_pci_igd.c 		if (copy_to_user(buf + count - size, &val, 4))
count             177 drivers/vfio/pci/vfio_pci_igd.c 		if (copy_to_user(buf + count - size, &val, 2))
count             191 drivers/vfio/pci/vfio_pci_igd.c 		if (copy_to_user(buf + count - size, &val, 1))
count             198 drivers/vfio/pci/vfio_pci_igd.c 	*ppos += count;
count             200 drivers/vfio/pci/vfio_pci_igd.c 	return count;
count             355 drivers/vfio/pci/vfio_pci_intrs.c 			      unsigned count, int32_t *fds, bool msix)
count             359 drivers/vfio/pci/vfio_pci_intrs.c 	if (start >= vdev->num_ctx || start + count > vdev->num_ctx)
count             362 drivers/vfio/pci/vfio_pci_intrs.c 	for (i = 0, j = start; i < count && !ret; i++, j++) {
count             406 drivers/vfio/pci/vfio_pci_intrs.c 				    unsigned count, uint32_t flags, void *data)
count             408 drivers/vfio/pci/vfio_pci_intrs.c 	if (!is_intx(vdev) || start != 0 || count != 1)
count             433 drivers/vfio/pci/vfio_pci_intrs.c 				  unsigned count, uint32_t flags, void *data)
count             435 drivers/vfio/pci/vfio_pci_intrs.c 	if (!is_intx(vdev) || start != 0 || count != 1)
count             453 drivers/vfio/pci/vfio_pci_intrs.c 				     unsigned count, uint32_t flags, void *data)
count             455 drivers/vfio/pci/vfio_pci_intrs.c 	if (is_intx(vdev) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) {
count             460 drivers/vfio/pci/vfio_pci_intrs.c 	if (!(is_intx(vdev) || is_irq_none(vdev)) || start != 0 || count != 1)
count             496 drivers/vfio/pci/vfio_pci_intrs.c 				    unsigned count, uint32_t flags, void *data)
count             501 drivers/vfio/pci/vfio_pci_intrs.c 	if (irq_is(vdev, index) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) {
count             514 drivers/vfio/pci/vfio_pci_intrs.c 			return vfio_msi_set_block(vdev, start, count,
count             517 drivers/vfio/pci/vfio_pci_intrs.c 		ret = vfio_msi_enable(vdev, start + count, msix);
count             521 drivers/vfio/pci/vfio_pci_intrs.c 		ret = vfio_msi_set_block(vdev, start, count, fds, msix);
count             528 drivers/vfio/pci/vfio_pci_intrs.c 	if (!irq_is(vdev, index) || start + count > vdev->num_ctx)
count             531 drivers/vfio/pci/vfio_pci_intrs.c 	for (i = start; i < start + count; i++) {
count             546 drivers/vfio/pci/vfio_pci_intrs.c 					   unsigned int count, uint32_t flags,
count             552 drivers/vfio/pci/vfio_pci_intrs.c 			if (count) {
count             563 drivers/vfio/pci/vfio_pci_intrs.c 		if (!count)
count             574 drivers/vfio/pci/vfio_pci_intrs.c 		if (!count)
count             602 drivers/vfio/pci/vfio_pci_intrs.c 				    unsigned count, uint32_t flags, void *data)
count             604 drivers/vfio/pci/vfio_pci_intrs.c 	if (index != VFIO_PCI_ERR_IRQ_INDEX || start != 0 || count > 1)
count             608 drivers/vfio/pci/vfio_pci_intrs.c 					       count, flags, data);
count             613 drivers/vfio/pci/vfio_pci_intrs.c 				    unsigned count, uint32_t flags, void *data)
count             615 drivers/vfio/pci/vfio_pci_intrs.c 	if (index != VFIO_PCI_REQ_IRQ_INDEX || start != 0 || count > 1)
count             619 drivers/vfio/pci/vfio_pci_intrs.c 					       count, flags, data);
count             623 drivers/vfio/pci/vfio_pci_intrs.c 			    unsigned index, unsigned start, unsigned count,
count             627 drivers/vfio/pci/vfio_pci_intrs.c 		    unsigned start, unsigned count, uint32_t flags,
count             676 drivers/vfio/pci/vfio_pci_intrs.c 	return func(vdev, index, start, count, flags, data);
count              43 drivers/vfio/pci/vfio_pci_nvlink2.c 		char __user *buf, size_t count, loff_t *ppos, bool iswrite)
count              55 drivers/vfio/pci/vfio_pci_nvlink2.c 	count = min(count, (size_t)(vdev->region[i].size - pos));
count              70 drivers/vfio/pci/vfio_pci_nvlink2.c 	sizealigned = _ALIGN_UP(posoff + count, PAGE_SIZE);
count              76 drivers/vfio/pci/vfio_pci_nvlink2.c 		if (copy_from_user(ptr + posoff, buf, count))
count              77 drivers/vfio/pci/vfio_pci_nvlink2.c 			count = -EFAULT;
count              79 drivers/vfio/pci/vfio_pci_nvlink2.c 			*ppos += count;
count              81 drivers/vfio/pci/vfio_pci_nvlink2.c 		if (copy_to_user(buf, ptr + posoff, count))
count              82 drivers/vfio/pci/vfio_pci_nvlink2.c 			count = -EFAULT;
count              84 drivers/vfio/pci/vfio_pci_nvlink2.c 			*ppos += count;
count              89 drivers/vfio/pci/vfio_pci_nvlink2.c 	return count;
count             308 drivers/vfio/pci/vfio_pci_nvlink2.c 		char __user *buf, size_t count, loff_t *ppos, bool iswrite)
count             317 drivers/vfio/pci/vfio_pci_nvlink2.c 	count = min(count, (size_t)(vdev->region[i].size - pos));
count             320 drivers/vfio/pci/vfio_pci_nvlink2.c 		if (copy_from_user(data->base + pos, buf, count))
count             323 drivers/vfio/pci/vfio_pci_nvlink2.c 		if (copy_to_user(buf, data->base + pos, count))
count             326 drivers/vfio/pci/vfio_pci_nvlink2.c 	*ppos += count;
count             328 drivers/vfio/pci/vfio_pci_nvlink2.c 	return count;
count              39 drivers/vfio/pci/vfio_pci_private.h 	int			count;
count              56 drivers/vfio/pci/vfio_pci_private.h 		      size_t count, loff_t *ppos, bool iswrite);
count             138 drivers/vfio/pci/vfio_pci_private.h 				   unsigned start, unsigned count, void *data);
count             141 drivers/vfio/pci/vfio_pci_private.h 				  char __user *buf, size_t count,
count             145 drivers/vfio/pci/vfio_pci_private.h 			       size_t count, loff_t *ppos, bool iswrite);
count             148 drivers/vfio/pci/vfio_pci_private.h 			       size_t count, loff_t *ppos, bool iswrite);
count             151 drivers/vfio/pci/vfio_pci_private.h 			       uint64_t data, int count, int fd);
count              47 drivers/vfio/pci/vfio_pci_rdwr.c 			loff_t off, size_t count, size_t x_start,
count              52 drivers/vfio/pci/vfio_pci_rdwr.c 	while (count) {
count              56 drivers/vfio/pci/vfio_pci_rdwr.c 			fillable = min(count, (size_t)(x_start - off));
count              58 drivers/vfio/pci/vfio_pci_rdwr.c 			fillable = count;
count             112 drivers/vfio/pci/vfio_pci_rdwr.c 			filled = min(count, (size_t)(x_end - off));
count             123 drivers/vfio/pci/vfio_pci_rdwr.c 		count -= filled;
count             157 drivers/vfio/pci/vfio_pci_rdwr.c 			size_t count, loff_t *ppos, bool iswrite)
count             178 drivers/vfio/pci/vfio_pci_rdwr.c 	count = min(count, (size_t)(end - pos));
count             203 drivers/vfio/pci/vfio_pci_rdwr.c 	done = do_io_rw(io, buf, pos, count, x_start, x_end, iswrite);
count             215 drivers/vfio/pci/vfio_pci_rdwr.c 			       size_t count, loff_t *ppos, bool iswrite)
count             232 drivers/vfio/pci/vfio_pci_rdwr.c 		count = min(count, (size_t)(0xc0000 - pos));
count             239 drivers/vfio/pci/vfio_pci_rdwr.c 		count = min(count, (size_t)(0x3bc - pos));
count             246 drivers/vfio/pci/vfio_pci_rdwr.c 		count = min(count, (size_t)(0x3e0 - pos));
count             265 drivers/vfio/pci/vfio_pci_rdwr.c 	done = do_io_rw(iomem, buf, off, count, 0, 0, iswrite);
count             281 drivers/vfio/pci/vfio_pci_rdwr.c 	switch (ioeventfd->count) {
count             302 drivers/vfio/pci/vfio_pci_rdwr.c 			uint64_t data, int count, int fd)
count             313 drivers/vfio/pci/vfio_pci_rdwr.c 	if (pos + count > pci_resource_len(pdev, bar))
count             318 drivers/vfio/pci/vfio_pci_rdwr.c 	    !(pos + count <= vdev->msix_offset ||
count             323 drivers/vfio/pci/vfio_pci_rdwr.c 	if (count == 8)
count             335 drivers/vfio/pci/vfio_pci_rdwr.c 		    ioeventfd->data == data && ioeventfd->count == count) {
count             369 drivers/vfio/pci/vfio_pci_rdwr.c 	ioeventfd->count = count;
count              53 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	unsigned int count;
count              73 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	count = 50;
count              78 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	} while ((pcs_value & MDIO_CTRL1_RESET) && --count);
count             102 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	count = 2000;
count             103 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	while (--count && (ioread32(xgmac_regs->ioaddr + DMA_MR) & 1))
count             106 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c 	if (!count)
count             348 drivers/vfio/platform/vfio_platform_common.c 		minsz = offsetofend(struct vfio_irq_info, count);
count             360 drivers/vfio/platform/vfio_platform_common.c 		info.count = vdev->irqs[info.index].count;
count             371 drivers/vfio/platform/vfio_platform_common.c 		minsz = offsetofend(struct vfio_irq_set, count);
count             391 drivers/vfio/platform/vfio_platform_common.c 						   hdr.start, hdr.count, data);
count             405 drivers/vfio/platform/vfio_platform_common.c 				       char __user *buf, size_t count,
count             418 drivers/vfio/platform/vfio_platform_common.c 	while (count) {
count             421 drivers/vfio/platform/vfio_platform_common.c 		if (count >= 4 && !(off % 4)) {
count             429 drivers/vfio/platform/vfio_platform_common.c 		} else if (count >= 2 && !(off % 2)) {
count             448 drivers/vfio/platform/vfio_platform_common.c 		count -= filled;
count             460 drivers/vfio/platform/vfio_platform_common.c 				  size_t count, loff_t *ppos)
count             474 drivers/vfio/platform/vfio_platform_common.c 							buf, count, off);
count             482 drivers/vfio/platform/vfio_platform_common.c 					const char __user *buf, size_t count,
count             495 drivers/vfio/platform/vfio_platform_common.c 	while (count) {
count             498 drivers/vfio/platform/vfio_platform_common.c 		if (count >= 4 && !(off % 4)) {
count             506 drivers/vfio/platform/vfio_platform_common.c 		} else if (count >= 2 && !(off % 2)) {
count             524 drivers/vfio/platform/vfio_platform_common.c 		count -= filled;
count             536 drivers/vfio/platform/vfio_platform_common.c 				   size_t count, loff_t *ppos)
count             550 drivers/vfio/platform/vfio_platform_common.c 							buf, count, off);
count              43 drivers/vfio/platform/vfio_platform_irq.c 				      unsigned count, uint32_t flags,
count              46 drivers/vfio/platform/vfio_platform_irq.c 	if (start != 0 || count != 1)
count             103 drivers/vfio/platform/vfio_platform_irq.c 					unsigned count, uint32_t flags,
count             106 drivers/vfio/platform/vfio_platform_irq.c 	if (start != 0 || count != 1)
count             220 drivers/vfio/platform/vfio_platform_irq.c 					 unsigned count, uint32_t flags,
count             231 drivers/vfio/platform/vfio_platform_irq.c 	if (!count && (flags & VFIO_IRQ_SET_DATA_NONE))
count             234 drivers/vfio/platform/vfio_platform_irq.c 	if (start != 0 || count != 1)
count             258 drivers/vfio/platform/vfio_platform_irq.c 				 unsigned count, void *data)
count             261 drivers/vfio/platform/vfio_platform_irq.c 		    unsigned start, unsigned count, uint32_t flags,
count             279 drivers/vfio/platform/vfio_platform_irq.c 	return func(vdev, index, start, count, flags, data);
count             307 drivers/vfio/platform/vfio_platform_irq.c 		vdev->irqs[i].count = 1;
count              24 drivers/vfio/platform/vfio_platform_private.h 	u32			count;
count              91 drivers/vfio/platform/vfio_platform_private.h 					unsigned start, unsigned count,
count            1229 drivers/vfio/vfio.c 			      size_t count, loff_t *ppos)
count            1238 drivers/vfio/vfio.c 					buf, count, ppos);
count            1244 drivers/vfio/vfio.c 			       size_t count, loff_t *ppos)
count            1253 drivers/vfio/vfio.c 					 buf, count, ppos);
count            1658 drivers/vfio/vfio.c 				     size_t count, loff_t *ppos)
count            1665 drivers/vfio/vfio.c 	return device->ops->read(device->device_data, buf, count, ppos);
count            1670 drivers/vfio/vfio.c 				      size_t count, loff_t *ppos)
count            1677 drivers/vfio/vfio.c 	return device->ops->write(device->device_data, buf, count, ppos);
count            1860 drivers/vfio/vfio.c 	minsz = offsetofend(struct vfio_irq_set, count);
count            1863 drivers/vfio/vfio.c 	    (hdr->count >= (U32_MAX - hdr->start)) ||
count            1871 drivers/vfio/vfio.c 	if (hdr->start >= num_irqs || hdr->start + hdr->count > num_irqs)
count            1889 drivers/vfio/vfio.c 		if (hdr->argsz - minsz < hdr->count * size)
count            1895 drivers/vfio/vfio.c 		*data_size = hdr->count * size;
count            1873 drivers/vhost/scsi.c 		struct config_item *item, const char *page, size_t count)
count            1891 drivers/vhost/scsi.c 	return count;
count            2062 drivers/vhost/scsi.c 		const char *page, size_t count)
count            2075 drivers/vhost/scsi.c 		return (!ret) ? count : ret;
count            2136 drivers/vhost/scsi.c 	return count;
count             922 drivers/vhost/vhost.c 				 int count)
count             925 drivers/vhost/vhost.c 				  count * sizeof(*head));
count            1934 drivers/vhost/vhost.c 		    unsigned int log_num, u64 len, struct iovec *iov, int count)
count            1942 drivers/vhost/vhost.c 		for (i = 0; i < count; i++) {
count            2109 drivers/vhost/vhost.c 	unsigned int i = 0, count, found = 0;
count            2136 drivers/vhost/vhost.c 	count = len / sizeof desc;
count            2139 drivers/vhost/vhost.c 	if (unlikely(count > USHRT_MAX + 1)) {
count            2147 drivers/vhost/vhost.c 		if (unlikely(++found > count)) {
count            2150 drivers/vhost/vhost.c 			       i, count);
count            2371 drivers/vhost/vhost.c 			    unsigned count)
count            2379 drivers/vhost/vhost.c 	if (vhost_put_used(vq, heads, start, count)) {
count            2388 drivers/vhost/vhost.c 			 count * sizeof *used);
count            2391 drivers/vhost/vhost.c 	new = (vq->last_used_idx += count);
count            2404 drivers/vhost/vhost.c 		     unsigned count)
count            2410 drivers/vhost/vhost.c 	if (n < count) {
count            2415 drivers/vhost/vhost.c 		count -= n;
count            2417 drivers/vhost/vhost.c 	r = __vhost_add_used_n(vq, heads, count);
count            2497 drivers/vhost/vhost.c 				 struct vring_used_elem *heads, unsigned count)
count            2499 drivers/vhost/vhost.c 	vhost_add_used_n(vq, heads, count);
count             202 drivers/vhost/vhost.h 		     unsigned count);
count             206 drivers/vhost/vhost.h 			       struct vring_used_elem *heads, unsigned count);
count             214 drivers/vhost/vhost.h 		    struct iovec *iov, int count);
count             267 drivers/vhost/vringh.c 	int err, count = 0, up_next, desc_max;
count             323 drivers/vhost/vringh.c 		if (count++ == vrh->vring.num) {
count             160 drivers/video/backlight/adp5520_bl.c 			 size_t count, int reg)
count             174 drivers/video/backlight/adp5520_bl.c 	return count;
count             185 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             187 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_DARK_MAX);
count             200 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             202 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_OFFICE_MAX);
count             215 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             224 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_DAYLIGHT_MAX);
count             237 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             239 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_DARK_DIM);
count             252 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             254 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_OFFICE_DIM);
count             267 drivers/video/backlight/adp5520_bl.c 			const char *buf, size_t count)
count             269 drivers/video/backlight/adp5520_bl.c 	return adp5520_store(dev, buf, count, ADP5520_DAYLIGHT_DIM);
count             446 drivers/video/backlight/adp8860_bl.c 			 size_t count, int reg)
count             460 drivers/video/backlight/adp8860_bl.c 	return count;
count             470 drivers/video/backlight/adp8860_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             472 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLMX3);
count             485 drivers/video/backlight/adp8860_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             487 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLMX2);
count             499 drivers/video/backlight/adp8860_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             507 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLMX1);
count             520 drivers/video/backlight/adp8860_bl.c 				     const char *buf, size_t count)
count             522 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLDM3);
count             535 drivers/video/backlight/adp8860_bl.c 				     const char *buf, size_t count)
count             537 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLDM2);
count             550 drivers/video/backlight/adp8860_bl.c 				     const char *buf, size_t count)
count             552 drivers/video/backlight/adp8860_bl.c 	return adp8860_store(dev, buf, count, ADP8860_BLDM1);
count             605 drivers/video/backlight/adp8860_bl.c 				     const char *buf, size_t count)
count             634 drivers/video/backlight/adp8860_bl.c 	return count;
count             567 drivers/video/backlight/adp8870_bl.c 			 size_t count, int reg)
count             581 drivers/video/backlight/adp8870_bl.c 	return count;
count             591 drivers/video/backlight/adp8870_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             593 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLMX5);
count             606 drivers/video/backlight/adp8870_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             608 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLMX4);
count             621 drivers/video/backlight/adp8870_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             623 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLMX3);
count             636 drivers/video/backlight/adp8870_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             638 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLMX2);
count             650 drivers/video/backlight/adp8870_bl.c 		struct device_attribute *attr, const char *buf, size_t count)
count             658 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLMX1);
count             671 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             673 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLDM5);
count             686 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             688 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLDM4);
count             702 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             704 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLDM3);
count             717 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             719 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLDM2);
count             732 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             734 drivers/video/backlight/adp8870_bl.c 	return adp8870_store(dev, buf, count, ADP8870_BLDM1);
count             789 drivers/video/backlight/adp8870_bl.c 				     const char *buf, size_t count)
count             818 drivers/video/backlight/adp8870_bl.c 	return count;
count             284 drivers/video/backlight/as3711_bl.c 		int count = 0;
count             298 drivers/video/backlight/as3711_bl.c 			count++;
count             302 drivers/video/backlight/as3711_bl.c 			count++;
count             306 drivers/video/backlight/as3711_bl.c 			count++;
count             310 drivers/video/backlight/as3711_bl.c 			count++;
count             314 drivers/video/backlight/as3711_bl.c 			count++;
count             316 drivers/video/backlight/as3711_bl.c 		if (count != 1) {
count             321 drivers/video/backlight/as3711_bl.c 		count = 0;
count             324 drivers/video/backlight/as3711_bl.c 			count++;
count             328 drivers/video/backlight/as3711_bl.c 			count++;
count             332 drivers/video/backlight/as3711_bl.c 			count++;
count             336 drivers/video/backlight/as3711_bl.c 			count++;
count             338 drivers/video/backlight/as3711_bl.c 		if (count != 1) {
count             343 drivers/video/backlight/as3711_bl.c 		count = 0;
count             346 drivers/video/backlight/as3711_bl.c 			count++;
count             350 drivers/video/backlight/as3711_bl.c 			count++;
count             354 drivers/video/backlight/as3711_bl.c 			count++;
count             361 drivers/video/backlight/as3711_bl.c 		if (!count ^ (pdata->su2_feedback != AS3711_SU2_CURR_AUTO)) {
count             140 drivers/video/backlight/backlight.c 		const char *buf, size_t count)
count             161 drivers/video/backlight/backlight.c 				rc = count;
count             163 drivers/video/backlight/backlight.c 			rc = count;
count             204 drivers/video/backlight/backlight.c 		struct device_attribute *attr, const char *buf, size_t count)
count             216 drivers/video/backlight/backlight.c 	return rc ? rc : count;
count              90 drivers/video/backlight/lcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count             106 drivers/video/backlight/lcd.c 		rc = count;
count             129 drivers/video/backlight/lcd.c 		struct device_attribute *attr, const char *buf, size_t count)
count             145 drivers/video/backlight/lcd.c 		rc = count;
count             161 drivers/video/backlight/otm3225a.c 			   unsigned int count)
count             165 drivers/video/backlight/otm3225a.c 	while (count--) {
count              72 drivers/video/backlight/sky81452-backlight.c 		struct device_attribute *attr, const char *buf, size_t count)
count              87 drivers/video/backlight/sky81452-backlight.c 	return count;
count              61 drivers/video/console/dummycon.c 			   int count, int ypos, int xpos)
count              67 drivers/video/console/dummycon.c 		for (i = 0 ; i < count; i++) {
count              71 drivers/video/console/dummycon.c 		if (i == count)
count              88 drivers/video/console/dummycon.c 			   int count, int ypos, int xpos) { }
count             202 drivers/video/console/mdacon.c 	int count=0;
count             216 drivers/video/console/mdacon.c 		count++;
count             220 drivers/video/console/mdacon.c 		count++;
count             224 drivers/video/console/mdacon.c 	if (count != 2) {
count             233 drivers/video/console/mdacon.c 		count++;
count             238 drivers/video/console/mdacon.c 		count++;
count             243 drivers/video/console/mdacon.c 	if (count == 4) {
count             270 drivers/video/console/mdacon.c 	for (count = 0; count < 50000 && p_save == q_save; count++) {
count             415 drivers/video/console/mdacon.c static void mdacon_invert_region(struct vc_data *c, u16 *p, int count)
count             417 drivers/video/console/mdacon.c 	for (; count > 0; count--) {
count             434 drivers/video/console/mdacon.c 		         int count, int y, int x)
count             438 drivers/video/console/mdacon.c 	for (; count > 0; count--) {
count             402 drivers/video/console/newport_con.c 			  int count, int ypos, int xpos)
count             416 drivers/video/console/newport_con.c 					  xpos + ((count - 1) << 3), ypos,
count             427 drivers/video/console/newport_con.c 	for (i = 0; i < count; i++, xpos += 8) {
count             581 drivers/video/console/newport_con.c 	int count, x, y;
count             602 drivers/video/console/newport_con.c 	count = (b - t - lines) * vc->vc_cols;
count             610 drivers/video/console/newport_con.c 		while (count--) {
count             626 drivers/video/console/newport_con.c 		for (count = 0; count < (lines * vc->vc_cols); count++) {
count             645 drivers/video/console/newport_con.c 		while (count--) {
count             661 drivers/video/console/newport_con.c 		for (count = 0; count < (lines * vc->vc_cols); count++) {
count             105 drivers/video/console/sticon.c 			 int count, int ypos, int xpos)
count             117 drivers/video/console/sticon.c 	(p->cursor_x < (xpos + count))) {
count             123 drivers/video/console/sticon.c     while (count--) {
count             157 drivers/video/console/sticon.c 		unsigned int b, enum con_scroll dir, unsigned int count)
count             168 drivers/video/console/sticon.c 	sti_bmove(sti, t + count, 0, t, 0, b - t - count, conp->vc_cols);
count             169 drivers/video/console/sticon.c 	sti_clear(sti, b - count, 0, count, conp->vc_cols, conp->vc_video_erase_char);
count             173 drivers/video/console/sticon.c 	sti_bmove(sti, t, 0, t + count, 0, b - t - count, conp->vc_cols);
count             174 drivers/video/console/sticon.c 	sti_clear(sti, t, 0, count, conp->vc_cols, conp->vc_video_erase_char);
count             303 drivers/video/console/sticon.c static void sticon_invert_region(struct vc_data *conp, u16 *p, int count)
count             307 drivers/video/console/sticon.c     while (count--) {
count             258 drivers/video/console/sticore.c static void sti_rom_copy(unsigned long base, unsigned long count, void *dest)
count             263 drivers/video/console/sticore.c 	while (count >= 4) {
count             264 drivers/video/console/sticore.c 		count -= 4;
count             269 drivers/video/console/sticore.c 	while (count) {
count             270 drivers/video/console/sticore.c 		count--;
count             665 drivers/video/console/sticore.c static void sti_bmode_rom_copy(unsigned long base, unsigned long count,
count             670 drivers/video/console/sticore.c 	while (count) {
count             671 drivers/video/console/sticore.c 		count--;
count              77 drivers/video/console/vgacon.c static void vgacon_invert_region(struct vc_data *c, u16 * p, int count);
count             243 drivers/video/console/vgacon.c static void vgacon_scrollback_update(struct vc_data *c, int t, int count)
count             253 drivers/video/console/vgacon.c 	while (count--) {
count             288 drivers/video/console/vgacon.c 	int start, end, count, soff;
count             322 drivers/video/console/vgacon.c 	count = end - start;
count             325 drivers/video/console/vgacon.c 	soff -= count * c->vc_size_row;
count             330 drivers/video/console/vgacon.c 	count = vgacon_scrollback_cur->cnt - start;
count             332 drivers/video/console/vgacon.c 	if (count > c->vc_rows)
count             333 drivers/video/console/vgacon.c 		count = c->vc_rows;
count             335 drivers/video/console/vgacon.c 	if (count) {
count             338 drivers/video/console/vgacon.c 		int diff = c->vc_rows - count;
count             342 drivers/video/console/vgacon.c 		count *= c->vc_size_row;
count             344 drivers/video/console/vgacon.c 		copysize = min(count, vgacon_scrollback_cur->size - soff);
count             347 drivers/video/console/vgacon.c 		count -= copysize;
count             349 drivers/video/console/vgacon.c 		if (count) {
count             350 drivers/video/console/vgacon.c 			scr_memcpyw(d, vgacon_scrollback_cur->data, count);
count             351 drivers/video/console/vgacon.c 			d += count;
count             664 drivers/video/console/vgacon.c static void vgacon_invert_region(struct vc_data *c, u16 * p, int count)
count             668 drivers/video/console/vgacon.c 	while (count--) {
count            1424 drivers/video/console/vgacon.c 			 int count, int ypos, int xpos) { }
count             193 drivers/video/fbdev/arcfb.c 	int count = atomic_read(&par->ref_count);
count             195 drivers/video/fbdev/arcfb.c 	if (!count)
count             444 drivers/video/fbdev/arcfb.c 			   size_t count, loff_t *ppos)
count             463 drivers/video/fbdev/arcfb.c 	if ((count + p) > fbmemlength) {
count             464 drivers/video/fbdev/arcfb.c 		count = fbmemlength - p;
count             468 drivers/video/fbdev/arcfb.c 	if (count) {
count             472 drivers/video/fbdev/arcfb.c 		count -= copy_from_user(base_addr + p, buf, count);
count             473 drivers/video/fbdev/arcfb.c 		*ppos += count;
count             480 drivers/video/fbdev/arcfb.c 	endpos = ceilXres((bitppos + (count*8)), xres);
count             489 drivers/video/fbdev/arcfb.c 	if (count)
count             490 drivers/video/fbdev/arcfb.c 		return count;
count             309 drivers/video/fbdev/arkfb.c typedef void (*dac_read_regs_t)(void *data, u8 *code, int count);
count             310 drivers/video/fbdev/arkfb.c typedef void (*dac_write_regs_t)(void *data, u8 *code, int count);
count             328 drivers/video/fbdev/arkfb.c static inline void dac_read_regs(struct dac_info *info, u8 *code, int count)
count             330 drivers/video/fbdev/arkfb.c 	info->dac_read_regs(info->data, code, count);
count             339 drivers/video/fbdev/arkfb.c static inline void dac_write_regs(struct dac_info *info, u8 *code, int count)
count             341 drivers/video/fbdev/arkfb.c 	info->dac_write_regs(info->data, code, count);
count             460 drivers/video/fbdev/arkfb.c static void ark_dac_read_regs(void *data, u8 *code, int count)
count             468 drivers/video/fbdev/arkfb.c 	while (count != 0)
count             472 drivers/video/fbdev/arkfb.c 		count--;
count             479 drivers/video/fbdev/arkfb.c static void ark_dac_write_regs(void *data, u8 *code, int count)
count             487 drivers/video/fbdev/arkfb.c 	while (count != 0)
count             491 drivers/video/fbdev/arkfb.c 		count--;
count              49 drivers/video/fbdev/atafb_utils.h static inline void *fb_memclear_small(void *s, size_t count)
count              51 drivers/video/fbdev/atafb_utils.h 	if (!count)
count              60 drivers/video/fbdev/atafb_utils.h 		: "=a" (s), "=d" (count)
count              61 drivers/video/fbdev/atafb_utils.h 		: "d" (0), "0" ((char *)s + count), "1" (count));
count              69 drivers/video/fbdev/atafb_utils.h 		: "=a" (s), "=d" (count)
count              70 drivers/video/fbdev/atafb_utils.h 		: "d" (0), "0" (s), "1" (count)
count              78 drivers/video/fbdev/atafb_utils.h static inline void *fb_memclear(void *s, size_t count)
count              80 drivers/video/fbdev/atafb_utils.h 	if (!count)
count              83 drivers/video/fbdev/atafb_utils.h 	if (count < 16) {
count              90 drivers/video/fbdev/atafb_utils.h 			: "=a" (s), "=d" (count)
count              91 drivers/video/fbdev/atafb_utils.h 			: "0" (s), "1" (count));
count             110 drivers/video/fbdev/atafb_utils.h 			: "=a" (s), "=d" (count), "=d" (tmp)
count             111 drivers/video/fbdev/atafb_utils.h 			: "0" (s), "1" (count));
count             118 drivers/video/fbdev/atafb_utils.h static inline void *fb_memset255(void *s, size_t count)
count             120 drivers/video/fbdev/atafb_utils.h 	if (!count)
count             129 drivers/video/fbdev/atafb_utils.h 		: "=a" (s), "=d" (count)
count             130 drivers/video/fbdev/atafb_utils.h 		: "d" (-1), "0" ((char *)s+count), "1" (count));
count             137 drivers/video/fbdev/atafb_utils.h 		: "=a" (s), "=d" (count)
count             138 drivers/video/fbdev/atafb_utils.h 		: "d" (-1), "0" (s), "1" (count)
count             145 drivers/video/fbdev/atafb_utils.h static inline void *fb_memmove(void *d, const void *s, size_t count)
count             148 drivers/video/fbdev/atafb_utils.h 		if (count < 16) {
count             155 drivers/video/fbdev/atafb_utils.h 				: "=a" (d), "=a" (s), "=d" (count)
count             156 drivers/video/fbdev/atafb_utils.h 				: "0" (d), "1" (s), "2" (count));
count             176 drivers/video/fbdev/atafb_utils.h 				: "=a" (d), "=a" (s), "=d" (count), "=d" (tmp)
count             177 drivers/video/fbdev/atafb_utils.h 				: "0" (d), "1" (s), "2" (count));
count             180 drivers/video/fbdev/atafb_utils.h 		if (count < 16) {
count             187 drivers/video/fbdev/atafb_utils.h 				: "=a" (d), "=a" (s), "=d" (count)
count             188 drivers/video/fbdev/atafb_utils.h 				: "0" ((char *) d + count), "1" ((char *) s + count), "2" (count));
count             209 drivers/video/fbdev/atafb_utils.h 				: "=a" (d), "=a" (s), "=d" (count), "=d" (tmp)
count             210 drivers/video/fbdev/atafb_utils.h 				: "0" ((char *) d + count), "1" ((char *) s + count), "2" (count));
count              43 drivers/video/fbdev/aty/atyfb.h 	unsigned int count;
count            1599 drivers/video/fbdev/aty/atyfb_base.c 		par->vblank.count++;
count            1756 drivers/video/fbdev/aty/atyfb_base.c 	unsigned int count;
count            1771 drivers/video/fbdev/aty/atyfb_base.c 	count = vbl->count;
count            1773 drivers/video/fbdev/aty/atyfb_base.c 					       count != vbl->count, HZ/10);
count            2209 drivers/video/fbdev/aty/radeon_base.c static ssize_t radeon_show_one_edid(char *buf, loff_t off, size_t count, const u8 *edid)
count            2211 drivers/video/fbdev/aty/radeon_base.c 	return memory_read_from_buffer(buf, count, &off, edid, EDID_LENGTH);
count            2217 drivers/video/fbdev/aty/radeon_base.c 				 char *buf, loff_t off, size_t count)
count            2223 drivers/video/fbdev/aty/radeon_base.c 	return radeon_show_one_edid(buf, off, count, rinfo->mon1_EDID);
count            2229 drivers/video/fbdev/aty/radeon_base.c 				 char *buf, loff_t off, size_t count)
count            2235 drivers/video/fbdev/aty/radeon_base.c 	return radeon_show_one_edid(buf, off, count, rinfo->mon2_EDID);
count            1010 drivers/video/fbdev/broadsheetfb.c 				size_t count, loff_t *ppos)
count            1026 drivers/video/fbdev/broadsheetfb.c 	if (count > total_size) {
count            1028 drivers/video/fbdev/broadsheetfb.c 		count = total_size;
count            1031 drivers/video/fbdev/broadsheetfb.c 	if (count + p > total_size) {
count            1035 drivers/video/fbdev/broadsheetfb.c 		count = total_size - p;
count            1040 drivers/video/fbdev/broadsheetfb.c 	if (copy_from_user(dst, buf, count))
count            1044 drivers/video/fbdev/broadsheetfb.c 		*ppos += count;
count            1048 drivers/video/fbdev/broadsheetfb.c 	return (err) ? err : count;
count             147 drivers/video/fbdev/cg3.c 	int count;
count             166 drivers/video/fbdev/cg3.c 	count = 3;
count             169 drivers/video/fbdev/cg3.c 	while (count--)
count             126 drivers/video/fbdev/cobalt_lcdfb.c 				 size_t count, loff_t *ppos)
count             133 drivers/video/fbdev/cobalt_lcdfb.c 	if (pos >= LCD_CHARS_MAX || count == 0)
count             136 drivers/video/fbdev/cobalt_lcdfb.c 	if (count > LCD_CHARS_MAX)
count             137 drivers/video/fbdev/cobalt_lcdfb.c 		count = LCD_CHARS_MAX;
count             139 drivers/video/fbdev/cobalt_lcdfb.c 	if (pos + count > LCD_CHARS_MAX)
count             140 drivers/video/fbdev/cobalt_lcdfb.c 		count = LCD_CHARS_MAX - pos;
count             142 drivers/video/fbdev/cobalt_lcdfb.c 	for (len = 0; len < count; len++) {
count             172 drivers/video/fbdev/cobalt_lcdfb.c 				  size_t count, loff_t *ppos)
count             179 drivers/video/fbdev/cobalt_lcdfb.c 	if (pos >= LCD_CHARS_MAX || count == 0)
count             182 drivers/video/fbdev/cobalt_lcdfb.c 	if (count > LCD_CHARS_MAX)
count             183 drivers/video/fbdev/cobalt_lcdfb.c 		count = LCD_CHARS_MAX;
count             185 drivers/video/fbdev/cobalt_lcdfb.c 	if (pos + count > LCD_CHARS_MAX)
count             186 drivers/video/fbdev/cobalt_lcdfb.c 		count = LCD_CHARS_MAX - pos;
count             188 drivers/video/fbdev/cobalt_lcdfb.c 	if (copy_from_user(dst, buf, count))
count             191 drivers/video/fbdev/cobalt_lcdfb.c 	for (len = 0; len < count; len++) {
count             144 drivers/video/fbdev/core/bitblit.c 		      const unsigned short *s, int count, int yy, int xx,
count             170 drivers/video/fbdev/core/bitblit.c 	while (count) {
count             171 drivers/video/fbdev/core/bitblit.c 		if (count > maxcnt)
count             174 drivers/video/fbdev/core/bitblit.c 			cnt = count;
count             193 drivers/video/fbdev/core/bitblit.c 		count -= cnt;
count              16 drivers/video/fbdev/core/fb_sys_fops.c ssize_t fb_sys_read(struct fb_info *info, char __user *buf, size_t count,
count              35 drivers/video/fbdev/core/fb_sys_fops.c 	if (count >= total_size)
count              36 drivers/video/fbdev/core/fb_sys_fops.c 		count = total_size;
count              38 drivers/video/fbdev/core/fb_sys_fops.c 	if (count + p > total_size)
count              39 drivers/video/fbdev/core/fb_sys_fops.c 		count = total_size - p;
count              46 drivers/video/fbdev/core/fb_sys_fops.c 	if (copy_to_user(buf, src, count))
count              50 drivers/video/fbdev/core/fb_sys_fops.c 		*ppos += count;
count              52 drivers/video/fbdev/core/fb_sys_fops.c 	return (err) ? err : count;
count              57 drivers/video/fbdev/core/fb_sys_fops.c 		     size_t count, loff_t *ppos)
count              75 drivers/video/fbdev/core/fb_sys_fops.c 	if (count > total_size) {
count              77 drivers/video/fbdev/core/fb_sys_fops.c 		count = total_size;
count              80 drivers/video/fbdev/core/fb_sys_fops.c 	if (count + p > total_size) {
count              84 drivers/video/fbdev/core/fb_sys_fops.c 		count = total_size - p;
count              92 drivers/video/fbdev/core/fb_sys_fops.c 	if (copy_from_user(dst, buf, count))
count              96 drivers/video/fbdev/core/fb_sys_fops.c 		*ppos += count;
count              98 drivers/video/fbdev/core/fb_sys_fops.c 	return (err) ? err : count;
count             191 drivers/video/fbdev/core/fbcon.c 			int count, int ypos, int xpos);
count             203 drivers/video/fbdev/core/fbcon.c static __inline__ void ywrap_up(struct vc_data *vc, int count);
count             204 drivers/video/fbdev/core/fbcon.c static __inline__ void ywrap_down(struct vc_data *vc, int count);
count             205 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_up(struct vc_data *vc, int count);
count             206 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_down(struct vc_data *vc, int count);
count             212 drivers/video/fbdev/core/fbcon.c 			      int line, int count, int dy);
count            1349 drivers/video/fbdev/core/fbcon.c 			int count, int ypos, int xpos)
count            1356 drivers/video/fbdev/core/fbcon.c 		ops->putcs(vc, info, s, count, real_y(p, ypos), xpos,
count            1481 drivers/video/fbdev/core/fbcon.c static __inline__ void ywrap_up(struct vc_data *vc, int count)
count            1487 drivers/video/fbdev/core/fbcon.c 	p->yscroll += count;
count            1494 drivers/video/fbdev/core/fbcon.c 	scrollback_max += count;
count            1500 drivers/video/fbdev/core/fbcon.c static __inline__ void ywrap_down(struct vc_data *vc, int count)
count            1506 drivers/video/fbdev/core/fbcon.c 	p->yscroll -= count;
count            1513 drivers/video/fbdev/core/fbcon.c 	scrollback_max -= count;
count            1519 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_up(struct vc_data *vc, int count)
count            1525 drivers/video/fbdev/core/fbcon.c 	p->yscroll += count;
count            1537 drivers/video/fbdev/core/fbcon.c 	scrollback_max += count;
count            1543 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_up_redraw(struct vc_data *vc, int t, int count)
count            1549 drivers/video/fbdev/core/fbcon.c 	p->yscroll += count;
count            1553 drivers/video/fbdev/core/fbcon.c 		fbcon_redraw_move(vc, p, t + count, vc->vc_rows - count, t);
count            1561 drivers/video/fbdev/core/fbcon.c 	scrollback_max += count;
count            1567 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_down(struct vc_data *vc, int count)
count            1573 drivers/video/fbdev/core/fbcon.c 	p->yscroll -= count;
count            1585 drivers/video/fbdev/core/fbcon.c 	scrollback_max -= count;
count            1591 drivers/video/fbdev/core/fbcon.c static __inline__ void ypan_down_redraw(struct vc_data *vc, int t, int count)
count            1597 drivers/video/fbdev/core/fbcon.c 	p->yscroll -= count;
count            1601 drivers/video/fbdev/core/fbcon.c 		fbcon_redraw_move(vc, p, t, vc->vc_rows - count, t + count);
count            1609 drivers/video/fbdev/core/fbcon.c 	scrollback_max -= count;
count            1618 drivers/video/fbdev/core/fbcon.c 	int count = vc->vc_rows;
count            1660 drivers/video/fbdev/core/fbcon.c 	while (count--) {
count            1709 drivers/video/fbdev/core/fbcon.c 			      int line, int count, int dy)
count            1714 drivers/video/fbdev/core/fbcon.c 	while (count--) {
count            1743 drivers/video/fbdev/core/fbcon.c 			struct fbcon_display *p, int line, int count, int ycount)
count            1751 drivers/video/fbdev/core/fbcon.c 	while (count--) {
count            1793 drivers/video/fbdev/core/fbcon.c 			 int line, int count, int offset)
count            1799 drivers/video/fbdev/core/fbcon.c 	while (count--) {
count            1848 drivers/video/fbdev/core/fbcon.c 				       int count)
count            1856 drivers/video/fbdev/core/fbcon.c 	while (count) {
count            1858 drivers/video/fbdev/core/fbcon.c 		count--;
count            1873 drivers/video/fbdev/core/fbcon.c 		enum con_scroll dir, unsigned int count)
count            1892 drivers/video/fbdev/core/fbcon.c 		if (count > vc->vc_rows)	/* Maximum realistic size */
count            1893 drivers/video/fbdev/core/fbcon.c 			count = vc->vc_rows;
count            1895 drivers/video/fbdev/core/fbcon.c 			fbcon_softback_note(vc, t, count);
count            1900 drivers/video/fbdev/core/fbcon.c 			fbcon_redraw_blit(vc, info, p, t, b - t - count,
count            1901 drivers/video/fbdev/core/fbcon.c 				     count);
count            1902 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
count            1905 drivers/video/fbdev/core/fbcon.c 							(b - count)),
count            1907 drivers/video/fbdev/core/fbcon.c 				    vc->vc_size_row * count);
count            1912 drivers/video/fbdev/core/fbcon.c 			if (b - t - count > 3 * vc->vc_rows >> 2) {
count            1914 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, 0, 0, count, 0, t,
count            1916 drivers/video/fbdev/core/fbcon.c 				ywrap_up(vc, count);
count            1918 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, b - count, 0, b, 0,
count            1922 drivers/video/fbdev/core/fbcon.c 				fbcon_bmove(vc, t + count, 0, t, 0,
count            1923 drivers/video/fbdev/core/fbcon.c 					    b - t - count, vc->vc_cols);
count            1926 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
count            1930 drivers/video/fbdev/core/fbcon.c 			if ((p->yscroll + count <=
count            1934 drivers/video/fbdev/core/fbcon.c 				    && (b - t - count >
count            1937 drivers/video/fbdev/core/fbcon.c 					fbcon_redraw_move(vc, p, 0, t, count);
count            1938 drivers/video/fbdev/core/fbcon.c 				ypan_up_redraw(vc, t, count);
count            1943 drivers/video/fbdev/core/fbcon.c 				fbcon_redraw_move(vc, p, t + count, b - t - count, t);
count            1944 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
count            1948 drivers/video/fbdev/core/fbcon.c 			if ((p->yscroll + count <=
count            1952 drivers/video/fbdev/core/fbcon.c 				    && (b - t - count >
count            1955 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, 0, 0, count, 0, t,
count            1957 drivers/video/fbdev/core/fbcon.c 				ypan_up(vc, count);
count            1959 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, b - count, 0, b, 0,
count            1963 drivers/video/fbdev/core/fbcon.c 				fbcon_bmove(vc, t + count, 0, t, 0,
count            1964 drivers/video/fbdev/core/fbcon.c 					    b - t - count, vc->vc_cols);
count            1967 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
count            1972 drivers/video/fbdev/core/fbcon.c 			fbcon_redraw(vc, p, t, b - t - count,
count            1973 drivers/video/fbdev/core/fbcon.c 				     count * vc->vc_cols);
count            1974 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
count            1977 drivers/video/fbdev/core/fbcon.c 							(b - count)),
count            1979 drivers/video/fbdev/core/fbcon.c 				    vc->vc_size_row * count);
count            1985 drivers/video/fbdev/core/fbcon.c 		if (count > vc->vc_rows)	/* Maximum realistic size */
count            1986 drivers/video/fbdev/core/fbcon.c 			count = vc->vc_rows;
count            1991 drivers/video/fbdev/core/fbcon.c 			fbcon_redraw_blit(vc, info, p, b - 1, b - t - count,
count            1992 drivers/video/fbdev/core/fbcon.c 				     -count);
count            1993 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, t, 0, count, vc->vc_cols);
count            1998 drivers/video/fbdev/core/fbcon.c 				    vc->vc_size_row * count);
count            2003 drivers/video/fbdev/core/fbcon.c 			if (b - t - count > 3 * vc->vc_rows >> 2) {
count            2005 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, b, 0, b - count, 0,
count            2008 drivers/video/fbdev/core/fbcon.c 				ywrap_down(vc, count);
count            2010 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, count, 0, 0, 0, t,
count            2013 drivers/video/fbdev/core/fbcon.c 				fbcon_bmove(vc, t, 0, t + count, 0,
count            2014 drivers/video/fbdev/core/fbcon.c 					    b - t - count, vc->vc_cols);
count            2017 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, t, 0, count, vc->vc_cols);
count            2021 drivers/video/fbdev/core/fbcon.c 			if ((count - p->yscroll <= p->vrows - vc->vc_rows)
count            2024 drivers/video/fbdev/core/fbcon.c 				    && (b - t - count >
count            2027 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, b, 0, b - count, 0,
count            2030 drivers/video/fbdev/core/fbcon.c 				ypan_down(vc, count);
count            2032 drivers/video/fbdev/core/fbcon.c 					fbcon_bmove(vc, count, 0, 0, 0, t,
count            2035 drivers/video/fbdev/core/fbcon.c 				fbcon_bmove(vc, t, 0, t + count, 0,
count            2036 drivers/video/fbdev/core/fbcon.c 					    b - t - count, vc->vc_cols);
count            2039 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, t, 0, count, vc->vc_cols);
count            2043 drivers/video/fbdev/core/fbcon.c 			if ((count - p->yscroll <= p->vrows - vc->vc_rows)
count            2046 drivers/video/fbdev/core/fbcon.c 				    && (b - t - count >
count            2050 drivers/video/fbdev/core/fbcon.c 							  b - count);
count            2051 drivers/video/fbdev/core/fbcon.c 				ypan_down_redraw(vc, t, count);
count            2053 drivers/video/fbdev/core/fbcon.c 					fbcon_redraw_move(vc, p, count, t, 0);
count            2055 drivers/video/fbdev/core/fbcon.c 				fbcon_redraw_move(vc, p, t, b - t - count, t + count);
count            2056 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, t, 0, count, vc->vc_cols);
count            2061 drivers/video/fbdev/core/fbcon.c 			fbcon_redraw(vc, p, b - 1, b - t - count,
count            2062 drivers/video/fbdev/core/fbcon.c 				     -count * vc->vc_cols);
count            2063 drivers/video/fbdev/core/fbcon.c 			fbcon_clear(vc, t, 0, count, vc->vc_cols);
count            2068 drivers/video/fbdev/core/fbcon.c 				    vc->vc_size_row * count);
count            2518 drivers/video/fbdev/core/fbcon.c 			int count = vc->vc_screenbuf_size / 2;
count            2520 drivers/video/fbdev/core/fbcon.c 			for (; count > 0; count--, cp++) {
count            2541 drivers/video/fbdev/core/fbcon.c 			int count = vc->vc_screenbuf_size / 2;
count            2543 drivers/video/fbdev/core/fbcon.c 			for (; count > 0; count--, cp++) {
count            3419 drivers/video/fbdev/core/fbcon.c 			    size_t count)
count            3436 drivers/video/fbdev/core/fbcon.c 	return count;
count            3441 drivers/video/fbdev/core/fbcon.c 				size_t count)
count            3458 drivers/video/fbdev/core/fbcon.c 	return count;
count            3507 drivers/video/fbdev/core/fbcon.c 				  const char *buf, size_t count)
count            3536 drivers/video/fbdev/core/fbcon.c 	return count;
count              60 drivers/video/fbdev/core/fbcon.h 		      const unsigned short *s, int count, int yy, int xx,
count             130 drivers/video/fbdev/core/fbcon_ccw.c 		      const unsigned short *s, int count, int yy, int xx,
count             151 drivers/video/fbdev/core/fbcon_ccw.c 	image.dy = vyres - ((xx + count) * vc->vc_font.width);
count             161 drivers/video/fbdev/core/fbcon_ccw.c 	s += count - 1;
count             163 drivers/video/fbdev/core/fbcon_ccw.c 	while (count) {
count             164 drivers/video/fbdev/core/fbcon_ccw.c 		if (count > maxcnt)
count             167 drivers/video/fbdev/core/fbcon_ccw.c 			cnt = count;
count             179 drivers/video/fbdev/core/fbcon_ccw.c 		count -= cnt;
count             115 drivers/video/fbdev/core/fbcon_cw.c 		      const unsigned short *s, int count, int yy, int xx,
count             146 drivers/video/fbdev/core/fbcon_cw.c 	while (count) {
count             147 drivers/video/fbdev/core/fbcon_cw.c 		if (count > maxcnt)
count             150 drivers/video/fbdev/core/fbcon_cw.c 			cnt = count;
count             162 drivers/video/fbdev/core/fbcon_cw.c 		count -= cnt;
count             152 drivers/video/fbdev/core/fbcon_ud.c 		      const unsigned short *s, int count, int yy, int xx,
count             174 drivers/video/fbdev/core/fbcon_ud.c 	image.dx = vxres - ((xx + count) * vc->vc_font.width);
count             184 drivers/video/fbdev/core/fbcon_ud.c 	s += count - 1;
count             186 drivers/video/fbdev/core/fbcon_ud.c 	while (count) {
count             187 drivers/video/fbdev/core/fbcon_ud.c 		if (count > maxcnt)
count             190 drivers/video/fbdev/core/fbcon_ud.c 			cnt = count;
count             209 drivers/video/fbdev/core/fbcon_ud.c 		count -= cnt;
count              69 drivers/video/fbdev/core/fbmem.c 		atomic_inc(&fb_info->count);
count              77 drivers/video/fbdev/core/fbmem.c 	if (!atomic_dec_and_test(&fb_info->count))
count             758 drivers/video/fbdev/core/fbmem.c fb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             774 drivers/video/fbdev/core/fbmem.c 		return info->fbops->fb_read(info, buf, count, ppos);
count             784 drivers/video/fbdev/core/fbmem.c 	if (count >= total_size)
count             785 drivers/video/fbdev/core/fbmem.c 		count = total_size;
count             787 drivers/video/fbdev/core/fbmem.c 	if (count + p > total_size)
count             788 drivers/video/fbdev/core/fbmem.c 		count = total_size - p;
count             790 drivers/video/fbdev/core/fbmem.c 	buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count,
count             800 drivers/video/fbdev/core/fbmem.c 	while (count) {
count             801 drivers/video/fbdev/core/fbmem.c 		c  = (count > PAGE_SIZE) ? PAGE_SIZE : count;
count             814 drivers/video/fbdev/core/fbmem.c 		count -= c;
count             823 drivers/video/fbdev/core/fbmem.c fb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
count             839 drivers/video/fbdev/core/fbmem.c 		return info->fbops->fb_write(info, buf, count, ppos);
count             849 drivers/video/fbdev/core/fbmem.c 	if (count > total_size) {
count             851 drivers/video/fbdev/core/fbmem.c 		count = total_size;
count             854 drivers/video/fbdev/core/fbmem.c 	if (count + p > total_size) {
count             858 drivers/video/fbdev/core/fbmem.c 		count = total_size - p;
count             861 drivers/video/fbdev/core/fbmem.c 	buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count,
count             871 drivers/video/fbdev/core/fbmem.c 	while (count) {
count             872 drivers/video/fbdev/core/fbmem.c 		c = (count > PAGE_SIZE) ? PAGE_SIZE : count;
count             886 drivers/video/fbdev/core/fbmem.c 		count -= c;
count            1527 drivers/video/fbdev/core/fbmem.c 	for (i = 0; i < hwa->count; ++i) {
count            1529 drivers/video/fbdev/core/fbmem.c 		for (j = 0; j < gena->count; ++j) {
count            1561 drivers/video/fbdev/core/fbmem.c 			(primary && gen_aper && gen_aper->count &&
count            1596 drivers/video/fbdev/core/fbmem.c 	atomic_set(&fb_info->count, 1);
count             126 drivers/video/fbdev/core/fbsysfs.c 			  const char *buf, size_t count)
count             143 drivers/video/fbdev/core/fbsysfs.c 		if (strncmp(mstr, buf, max(count, i)) == 0) {
count             150 drivers/video/fbdev/core/fbsysfs.c 			return count;
count             169 drivers/video/fbdev/core/fbsysfs.c 			   const char *buf, size_t count)
count             173 drivers/video/fbdev/core/fbsysfs.c 	int i = count / sizeof(struct fb_videomode);
count             175 drivers/video/fbdev/core/fbsysfs.c 	if (i * sizeof(struct fb_videomode) != count)
count             215 drivers/video/fbdev/core/fbsysfs.c 			 const char *buf, size_t count)
count             226 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             238 drivers/video/fbdev/core/fbsysfs.c 			    const char *buf, size_t count)
count             251 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             265 drivers/video/fbdev/core/fbsysfs.c 			     const char *buf, size_t count)
count             275 drivers/video/fbdev/core/fbsysfs.c 	if (last - buf >= count)
count             281 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             301 drivers/video/fbdev/core/fbsysfs.c 			   const char *buf, size_t count)
count             315 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             327 drivers/video/fbdev/core/fbsysfs.c 			     const char *buf, size_t count)
count             342 drivers/video/fbdev/core/fbsysfs.c 			    const char *buf, size_t count)
count             357 drivers/video/fbdev/core/fbsysfs.c 			 const char *buf, size_t count)
count             367 drivers/video/fbdev/core/fbsysfs.c 	if (last - buf >= count)
count             377 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             398 drivers/video/fbdev/core/fbsysfs.c 			     const char *buf, size_t count)
count             414 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             427 drivers/video/fbdev/core/fbsysfs.c 			      const char *buf, size_t count)
count             439 drivers/video/fbdev/core/fbsysfs.c 	if (count != (FB_BACKLIGHT_LEVELS / 8 * 24))
count             463 drivers/video/fbdev/core/fbsysfs.c 	return count;
count             555 drivers/video/fbdev/core/fbsysfs.c 	unsigned int i, flat, count, range = (max - min);
count             564 drivers/video/fbdev/core/fbsysfs.c 	count = FB_BACKLIGHT_LEVELS * 15 / 16;
count             565 drivers/video/fbdev/core/fbsysfs.c 	for (i = 0; i < count; ++i)
count             566 drivers/video/fbdev/core/fbsysfs.c 		fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count);
count              64 drivers/video/fbdev/core/svgalib.c 	u8 count = 0;
count              67 drivers/video/fbdev/core/svgalib.c 		count += regset->highbit - regset->lowbit + 1;
count              70 drivers/video/fbdev/core/svgalib.c 	return 1 << count;
count              98 drivers/video/fbdev/core/svgalib.c 	u8 count;
count             104 drivers/video/fbdev/core/svgalib.c 	for (count = 0; count <= 0xF; count ++)
count             105 drivers/video/fbdev/core/svgalib.c 		svga_wattr(regbase, count, count);
count              55 drivers/video/fbdev/core/tileblit.c 		       const unsigned short *s, int count, int yy, int xx,
count              60 drivers/video/fbdev/core/tileblit.c 	int size = sizeof(u32) * count, i;
count              64 drivers/video/fbdev/core/tileblit.c 	blit.width = count;
count              68 drivers/video/fbdev/core/tileblit.c 	blit.length = count;
count              70 drivers/video/fbdev/core/tileblit.c 	for (i = 0; i < count; i++)
count             241 drivers/video/fbdev/cyber2000fb.c 	int count = 100000;
count             247 drivers/video/fbdev/cyber2000fb.c 		if (!count--) {
count             338 drivers/video/fbdev/fsl-diu-fb.c 	unsigned int count;
count             397 drivers/video/fbdev/fsl-diu-fb.c 		.count = 0,
count             406 drivers/video/fbdev/fsl-diu-fb.c 		.count = 0,
count             415 drivers/video/fbdev/fsl-diu-fb.c 		.count = 0,
count             424 drivers/video/fbdev/fsl-diu-fb.c 		.count = 0,
count             433 drivers/video/fbdev/fsl-diu-fb.c 		.count = 0,
count             514 drivers/video/fbdev/fsl-diu-fb.c 			if (cmfbi->count > 0)	/* AOI1 open */
count             525 drivers/video/fbdev/fsl-diu-fb.c 			if (cmfbi->count > 0)	/* AOI1 open */
count             565 drivers/video/fbdev/fsl-diu-fb.c 		if (cmfbi->count > 0)	/* AOI1 is open */
count             574 drivers/video/fbdev/fsl-diu-fb.c 		if (cmfbi->count > 0)	/* AOI1 is open */
count             585 drivers/video/fbdev/fsl-diu-fb.c 			if (pmfbi->count > 0)
count             596 drivers/video/fbdev/fsl-diu-fb.c 			if (pmfbi->count > 0)
count             651 drivers/video/fbdev/fsl-diu-fb.c 		lower_aoi_is_open = lower_aoi_mfbi->count > 0 ? 1 : 0;
count             671 drivers/video/fbdev/fsl-diu-fb.c 		upper_aoi_is_open = upper_aoi_mfbi->count > 0 ? 1 : 0;
count            1405 drivers/video/fbdev/fsl-diu-fb.c 	mfbi->count++;
count            1406 drivers/video/fbdev/fsl-diu-fb.c 	if (mfbi->count == 1) {
count            1410 drivers/video/fbdev/fsl-diu-fb.c 			mfbi->count--;
count            1429 drivers/video/fbdev/fsl-diu-fb.c 	mfbi->count--;
count            1430 drivers/video/fbdev/fsl-diu-fb.c 	if (mfbi->count == 0) {
count            1439 drivers/video/fbdev/fsl-diu-fb.c 			if (mi->count)
count            1631 drivers/video/fbdev/fsl-diu-fb.c 		if (data->mfb[i].count)
count            1644 drivers/video/fbdev/fsl-diu-fb.c 	struct device_attribute *attr, const char *buf, size_t count)
count            1662 drivers/video/fbdev/fsl-diu-fb.c 	return count;
count             269 drivers/video/fbdev/grvga.c 	int count = 0;
count             277 drivers/video/fbdev/grvga.c 		switch (count) {
count             280 drivers/video/fbdev/grvga.c 			count++;
count             284 drivers/video/fbdev/grvga.c 			count++;
count             288 drivers/video/fbdev/grvga.c 			count++;
count             292 drivers/video/fbdev/grvga.c 			count++;
count             296 drivers/video/fbdev/grvga.c 			count++;
count             300 drivers/video/fbdev/grvga.c 			count++;
count             304 drivers/video/fbdev/grvga.c 			count++;
count             308 drivers/video/fbdev/grvga.c 			count++;
count             312 drivers/video/fbdev/grvga.c 			count++;
count             316 drivers/video/fbdev/grvga.c 			count++;
count             159 drivers/video/fbdev/hecubafb.c 				size_t count, loff_t *ppos)
count             175 drivers/video/fbdev/hecubafb.c 	if (count > total_size) {
count             177 drivers/video/fbdev/hecubafb.c 		count = total_size;
count             180 drivers/video/fbdev/hecubafb.c 	if (count + p > total_size) {
count             184 drivers/video/fbdev/hecubafb.c 		count = total_size - p;
count             189 drivers/video/fbdev/hecubafb.c 	if (copy_from_user(dst, buf, count))
count             193 drivers/video/fbdev/hecubafb.c 		*ppos += count;
count             197 drivers/video/fbdev/hecubafb.c 	return (err) ? err : count;
count             281 drivers/video/fbdev/hgafb.c 	int count = 0;
count             303 drivers/video/fbdev/hgafb.c 	writew(0xaa55, p); if (readw(p) == 0xaa55) count++;
count             304 drivers/video/fbdev/hgafb.c 	writew(0x55aa, p); if (readw(p) == 0x55aa) count++;
count             307 drivers/video/fbdev/hgafb.c 	if (count != 2)
count             327 drivers/video/fbdev/hgafb.c 	for (count=0; count < 50000 && p_save == q_save; count++) {
count              62 drivers/video/fbdev/i810/i810_accel.c 	u32 head, count = WAIT_COUNT, tail;
count              66 drivers/video/fbdev/i810/i810_accel.c 	while (count--) {
count              94 drivers/video/fbdev/i810/i810_accel.c 	int count = WAIT_COUNT;
count              99 drivers/video/fbdev/i810/i810_accel.c 	while((i810_readw(INSTDONE, mmio) & 0x7B) != 0x7B && --count); 
count             100 drivers/video/fbdev/i810/i810_accel.c 	if (count) return 0;
count             169 drivers/video/fbdev/i810/i810_main.c 	u32 count = WAIT_COUNT;
count             177 drivers/video/fbdev/i810/i810_main.c 	while((i810_readw(DISP_SL, mmio) & 0xFFF) && count--);
count             269 drivers/video/fbdev/intelfb/intelfb.h 	unsigned int count;
count            1287 drivers/video/fbdev/intelfb/intelfbhw.c 	u32 count, tmp_val[3];
count            1357 drivers/video/fbdev/intelfb/intelfbhw.c 	count = 0;
count            1359 drivers/video/fbdev/intelfb/intelfbhw.c 		tmp_val[count % 3] = INREG(PIPEA_DSL);
count            1362 drivers/video/fbdev/intelfb/intelfbhw.c 		count++;
count            1364 drivers/video/fbdev/intelfb/intelfbhw.c 		if (count % 200 == 0) {
count            1369 drivers/video/fbdev/intelfb/intelfbhw.c 	} while (count < 2000);
count            2032 drivers/video/fbdev/intelfb/intelfbhw.c 	dinfo->vsync.count++;
count            2091 drivers/video/fbdev/intelfb/intelfbhw.c 	unsigned int count;
count            2106 drivers/video/fbdev/intelfb/intelfbhw.c 	count = vsync->count;
count            2108 drivers/video/fbdev/intelfb/intelfbhw.c 					       count != vsync->count, HZ / 10);
count              79 drivers/video/fbdev/kyro/STG4000InitDevice.c volatile u32 i,count=0; \
count              80 drivers/video/fbdev/kyro/STG4000InitDevice.c     for(i=0;i<X;i++) count++; \
count              20 drivers/video/fbdev/kyro/STG4000VTG.c 	volatile u32 count = 0, i;
count              29 drivers/video/fbdev/kyro/STG4000VTG.c 		count++;
count             865 drivers/video/fbdev/matrox/matroxfb_base.c 		vblank->count = minfo->crtc1.vsync.cnt;
count             418 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		vblank->count = minfo->crtc2.vsync.cnt;
count              25 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c static void mb862xxfb_write_fifo(u32 count, u32 *data, struct fb_info *info)
count              31 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c 	while (total < count) {
count              20 drivers/video/fbdev/mbx/mbxdebugfs.c 				size_t count, loff_t *ppos)
count              22 drivers/video/fbdev/mbx/mbxdebugfs.c 	return count;
count              26 drivers/video/fbdev/mbx/mbxdebugfs.c 				 size_t count, loff_t *ppos)
count              36 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count              42 drivers/video/fbdev/mbx/mbxdebugfs.c 			       size_t count, loff_t *ppos)
count              65 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count              70 drivers/video/fbdev/mbx/mbxdebugfs.c 				 size_t count, loff_t *ppos)
count             105 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count             110 drivers/video/fbdev/mbx/mbxdebugfs.c 			       size_t count, loff_t *ppos)
count             128 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count             133 drivers/video/fbdev/mbx/mbxdebugfs.c 			       size_t count, loff_t *ppos)
count             150 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count             155 drivers/video/fbdev/mbx/mbxdebugfs.c 			       size_t count, loff_t *ppos)
count             164 drivers/video/fbdev/mbx/mbxdebugfs.c 	return  simple_read_from_buffer(userbuf, count, ppos,
count             520 drivers/video/fbdev/metronomefb.c 				size_t count, loff_t *ppos)
count             536 drivers/video/fbdev/metronomefb.c 	if (count > total_size) {
count             538 drivers/video/fbdev/metronomefb.c 		count = total_size;
count             541 drivers/video/fbdev/metronomefb.c 	if (count + p > total_size) {
count             545 drivers/video/fbdev/metronomefb.c 		count = total_size - p;
count             550 drivers/video/fbdev/metronomefb.c 	if (copy_from_user(dst, buf, count))
count             554 drivers/video/fbdev/metronomefb.c 		*ppos += count;
count             558 drivers/video/fbdev/metronomefb.c 	return (err) ? err : count;
count              86 drivers/video/fbdev/nvidia/nv_accel.c 	int count = 1000000000;
count              88 drivers/video/fbdev/nvidia/nv_accel.c 	while (--count && READ_GET(par) != par->dmaPut) ;
count              90 drivers/video/fbdev/nvidia/nv_accel.c 	if (!count) {
count              99 drivers/video/fbdev/nvidia/nv_accel.c 	int count = 1000000000;
count             101 drivers/video/fbdev/nvidia/nv_accel.c 	while (--count && NV_RD32(par->PGRAPH, 0x0700)) ;
count             103 drivers/video/fbdev/nvidia/nv_accel.c 	if (!count) {
count             121 drivers/video/fbdev/nvidia/nv_accel.c 	int count = 1000000000, cnt;
count             124 drivers/video/fbdev/nvidia/nv_accel.c 	while (par->dmaFree < size && --count && !par->lockup) {
count             151 drivers/video/fbdev/nvidia/nv_accel.c 	if (!count) {
count             290 drivers/video/fbdev/omap/omapfb_main.c 	int count, index, r;
count             300 drivers/video/fbdev/omap/omapfb_main.c 	for (count = 0; count < cmap->len; count++) {
count             304 drivers/video/fbdev/omap/omapfb_main.c 				count == cmap->len - 1);
count             143 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c 		unsigned char *buf, u16 count, u8 offset)
count             157 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c 				.len    = count,
count             447 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 		const char *buf, size_t count)
count             476 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	return count;
count             495 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 		const char *buf, size_t count)
count             521 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	return count;
count             439 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 		const char *buf, size_t count)
count             448 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 		if (count > 0 && buf[count - 1] == '\n')
count             449 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 			count--;
count             450 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 		if (count != cmp_len)
count             467 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	return count;
count             176 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	struct device_attribute *attr, const char *buf, size_t count)
count             194 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	return count;
count             206 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	struct device_attribute *attr, const char *buf, size_t count)
count             221 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	return count;
count             245 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	struct device_attribute *attr, const char *buf, size_t count)
count             264 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	return count;
count             483 drivers/video/fbdev/omap2/omapfb/dss/dsi.c 	return dsi->bus_lock.count == 0;
count            1193 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	int count, index, r;
count            1205 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	for (count = 0; count < cmap->len; count++) {
count            1209 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				count == cmap->len - 1);
count            1275 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		size_t count, loff_t *ppos)
count            1277 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	DBG("omapfb_write %d, %lu\n", count, (unsigned long)*ppos);
count            1279 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	return count;
count              37 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		const char *buf, size_t count)
count              76 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	return r ? r : count;
count              91 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		const char *buf, size_t count)
count             121 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	r = count;
count             180 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		const char *buf, size_t count)
count             312 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	r = count;
count             343 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		struct device_attribute *attr, const char *buf, size_t count)
count             405 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	r = count;
count             422 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		const char *buf, size_t count)
count             479 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	r = count;
count             523 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		const char *buf, size_t count)
count             537 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	return count;
count             757 drivers/video/fbdev/ps3fb.c 	u64 count;
count             759 drivers/video/fbdev/ps3fb.c 	count = ps3fb.vblank_count;
count             761 drivers/video/fbdev/ps3fb.c 					       count != ps3fb.vblank_count,
count             642 drivers/video/fbdev/pvr2fb.c 			    size_t count, loff_t *ppos)
count             649 drivers/video/fbdev/pvr2fb.c 	nr_pages = (count + PAGE_SIZE - 1) >> PAGE_SHIFT;
count             697 drivers/video/fbdev/pvr2fb.c 	*ppos += count;
count             698 drivers/video/fbdev/pvr2fb.c 	ret = count;
count             378 drivers/video/fbdev/pxa3xx-gcu.c 		 size_t count, loff_t *offp)
count             385 drivers/video/fbdev/pxa3xx-gcu.c 	int words = count / 4;
count             183 drivers/video/fbdev/s3c-fb.c 	unsigned int		count;
count             972 drivers/video/fbdev/s3c-fb.c 		sfb->vsync_info.count++;
count             992 drivers/video/fbdev/s3c-fb.c 	unsigned long count;
count            1000 drivers/video/fbdev/s3c-fb.c 	count = sfb->vsync_info.count;
count            1003 drivers/video/fbdev/s3c-fb.c 				       count != sfb->vsync_info.count,
count             125 drivers/video/fbdev/sbuslib.c 		unsigned int index, count, i;
count             128 drivers/video/fbdev/sbuslib.c 		    get_user(count, &c->count) ||
count             139 drivers/video/fbdev/sbuslib.c 		for (i = 0; i < count; i++) {
count             164 drivers/video/fbdev/sbuslib.c 		unsigned int index, count, i;
count             168 drivers/video/fbdev/sbuslib.c 		    get_user(count, &c->count) ||
count             174 drivers/video/fbdev/sbuslib.c 		if (index > cmap->len || count > cmap->len - index)
count             177 drivers/video/fbdev/sbuslib.c 		for (i = 0; i < count; i++) {
count            1203 drivers/video/fbdev/sh_mobile_lcdcfb.c 		    const char *buf, size_t count)
count            1214 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (endp - buf != count)
count            1227 drivers/video/fbdev/sh_mobile_lcdcfb.c 	return count;
count            1241 drivers/video/fbdev/sh_mobile_lcdcfb.c 		   const char *buf, size_t count)
count            1252 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (endp - buf != count)
count            1265 drivers/video/fbdev/sh_mobile_lcdcfb.c 	return count;
count            1280 drivers/video/fbdev/sh_mobile_lcdcfb.c 		       const char *buf, size_t count)
count            1296 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (endp - buf != count)
count            1307 drivers/video/fbdev/sh_mobile_lcdcfb.c 	return count;
count            1321 drivers/video/fbdev/sh_mobile_lcdcfb.c 		    const char *buf, size_t count)
count            1332 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (endp - buf != count)
count            1345 drivers/video/fbdev/sh_mobile_lcdcfb.c 	return count;
count             319 drivers/video/fbdev/simplefb.c 	int count = 0, i = 0;
count             328 drivers/video/fbdev/simplefb.c 			count++;
count             331 drivers/video/fbdev/simplefb.c 	if (!count)
count             334 drivers/video/fbdev/simplefb.c 	par->regulators = devm_kcalloc(&pdev->dev, count,
count            1727 drivers/video/fbdev/sis/sis_main.c 		sisvbblank.count = 0;
count            2196 drivers/video/fbdev/sis/sis_main.c     int count = 48;
count            2201 drivers/video/fbdev/sis/sis_main.c     } while(count--);
count            2202 drivers/video/fbdev/sis/sis_main.c     return (count != -1);
count            1285 drivers/video/fbdev/sm501fb.c 	int count = 1000000;
count            1290 drivers/video/fbdev/sm501fb.c 	while ((count > 0) &&
count            1293 drivers/video/fbdev/sm501fb.c 		count--;
count            1295 drivers/video/fbdev/sm501fb.c 	if (count <= 0) {
count            1021 drivers/video/fbdev/sm712fb.c 			   size_t count, loff_t *ppos)
count            1044 drivers/video/fbdev/sm712fb.c 	if (count >= total_size)
count            1045 drivers/video/fbdev/sm712fb.c 		count = total_size;
count            1047 drivers/video/fbdev/sm712fb.c 	if (count + p > total_size)
count            1048 drivers/video/fbdev/sm712fb.c 		count = total_size - p;
count            1050 drivers/video/fbdev/sm712fb.c 	buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, GFP_KERNEL);
count            1059 drivers/video/fbdev/sm712fb.c 	while (count) {
count            1060 drivers/video/fbdev/sm712fb.c 		c = (count > PAGE_SIZE) ? PAGE_SIZE : count;
count            1089 drivers/video/fbdev/sm712fb.c 		count -= c;
count            1098 drivers/video/fbdev/sm712fb.c 			    size_t count, loff_t *ppos)
count            1121 drivers/video/fbdev/sm712fb.c 	if (count > total_size) {
count            1123 drivers/video/fbdev/sm712fb.c 		count = total_size;
count            1126 drivers/video/fbdev/sm712fb.c 	if (count + p > total_size) {
count            1130 drivers/video/fbdev/sm712fb.c 		count = total_size - p;
count            1133 drivers/video/fbdev/sm712fb.c 	buffer = kmalloc((count > PAGE_SIZE) ? PAGE_SIZE : count, GFP_KERNEL);
count            1142 drivers/video/fbdev/sm712fb.c 	while (count) {
count            1143 drivers/video/fbdev/sm712fb.c 		c = (count > PAGE_SIZE) ? PAGE_SIZE : count;
count            1173 drivers/video/fbdev/sm712fb.c 		count -= c;
count              88 drivers/video/fbdev/smscufx.c 	int count;
count             137 drivers/video/fbdev/smscufx.c static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size);
count             898 drivers/video/fbdev/smscufx.c 			  size_t count, loff_t *ppos)
count             904 drivers/video/fbdev/smscufx.c 	result = fb_sys_write(info, buf, count, ppos);
count            1112 drivers/video/fbdev/smscufx.c 	if (dev->urbs.count > 0)
count            1810 drivers/video/fbdev/smscufx.c 	int count = dev->urbs.count;
count            1820 drivers/video/fbdev/smscufx.c 	while (count--) {
count            1844 drivers/video/fbdev/smscufx.c static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size)
count            1856 drivers/video/fbdev/smscufx.c 	while (i < count) {
count            1891 drivers/video/fbdev/smscufx.c 	dev->urbs.count = i;
count             222 drivers/video/fbdev/ssd1307fb.c 		size_t count, loff_t *ppos)
count             234 drivers/video/fbdev/ssd1307fb.c 	if (count + p > total_size)
count             235 drivers/video/fbdev/ssd1307fb.c 		count = total_size - p;
count             237 drivers/video/fbdev/ssd1307fb.c 	if (!count)
count             242 drivers/video/fbdev/ssd1307fb.c 	if (copy_from_user(dst, buf, count))
count             247 drivers/video/fbdev/ssd1307fb.c 	*ppos += count;
count             249 drivers/video/fbdev/ssd1307fb.c 	return count;
count             218 drivers/video/fbdev/sstfb.c 	int count = 0;
count             228 drivers/video/fbdev/sstfb.c 			count = 0;
count             230 drivers/video/fbdev/sstfb.c 			count++;
count             231 drivers/video/fbdev/sstfb.c 			f_dddprintk("status: idle(%d)\n", count);
count             233 drivers/video/fbdev/sstfb.c 		if (count >= 5) return 1;
count             719 drivers/video/fbdev/sstfb.c 			const char *buf, size_t count)
count             728 drivers/video/fbdev/sstfb.c 	return count;
count             386 drivers/video/fbdev/tmiofb.c tmiofb_acc_write(struct fb_info *info, const u32 *cmd, unsigned int count)
count             391 drivers/video/fbdev/tmiofb.c 	ret = tmiofb_acc_wait(info, TMIOFB_FIFO_SIZE - count);
count             395 drivers/video/fbdev/tmiofb.c 	for (; count; count--, cmd++) {
count             411 drivers/video/fbdev/tridentfb.c 	int count = 0;
count             415 drivers/video/fbdev/tridentfb.c 		count++;
count             416 drivers/video/fbdev/tridentfb.c 		if (count == 10000000) {
count             418 drivers/video/fbdev/tridentfb.c 			count = 9990000;
count              83 drivers/video/fbdev/udlfb.c static int dlfb_alloc_urb_list(struct dlfb_data *dlfb, int count, size_t size);
count             720 drivers/video/fbdev/udlfb.c 			  size_t count, loff_t *ppos)
count             726 drivers/video/fbdev/udlfb.c 	result = fb_sys_write(info, buf, count, ppos);
count            1460 drivers/video/fbdev/udlfb.c 			 char *buf, loff_t off, size_t count) {
count            1468 drivers/video/fbdev/udlfb.c 	if ((off >= dlfb->edid_size) || (count > dlfb->edid_size))
count            1471 drivers/video/fbdev/udlfb.c 	if (off + count > dlfb->edid_size)
count            1472 drivers/video/fbdev/udlfb.c 		count = dlfb->edid_size - off;
count            1474 drivers/video/fbdev/udlfb.c 	memcpy(buf, dlfb->edid, count);
count            1476 drivers/video/fbdev/udlfb.c 	return count;
count            1508 drivers/video/fbdev/udlfb.c 			   const char *buf, size_t count)
count            1518 drivers/video/fbdev/udlfb.c 	return count;
count            1846 drivers/video/fbdev/udlfb.c 	int count = dlfb->urbs.count;
count            1852 drivers/video/fbdev/udlfb.c 	while (count--) {
count            1872 drivers/video/fbdev/udlfb.c 	dlfb->urbs.count = 0;
count            1875 drivers/video/fbdev/udlfb.c static int dlfb_alloc_urb_list(struct dlfb_data *dlfb, int count, size_t size)
count            1880 drivers/video/fbdev/udlfb.c 	size_t wanted_size = count * size;
count            1889 drivers/video/fbdev/udlfb.c 	dlfb->urbs.count = 0;
count            1892 drivers/video/fbdev/udlfb.c 	while (dlfb->urbs.count * size < wanted_size) {
count            1926 drivers/video/fbdev/udlfb.c 		dlfb->urbs.count++;
count            1930 drivers/video/fbdev/udlfb.c 	return dlfb->urbs.count;
count             922 drivers/video/fbdev/uvesafb.c static int uvesafb_setpalette(struct uvesafb_pal_entry *entries, int count,
count             936 drivers/video/fbdev/uvesafb.c 	if (start + count > 256)
count             943 drivers/video/fbdev/uvesafb.c 		for (i = 0; i < count; i++) {
count             957 drivers/video/fbdev/uvesafb.c 		  "c" (count),          /* ECX */
count             972 drivers/video/fbdev/uvesafb.c 		task->t.regs.ecx = count;
count             975 drivers/video/fbdev/uvesafb.c 		task->t.buf_len = sizeof(struct uvesafb_pal_entry) * count;
count            1644 drivers/video/fbdev/uvesafb.c 		struct device_attribute *attr, const char *buf, size_t count)
count            1649 drivers/video/fbdev/uvesafb.c 	if (count > 0) {
count            1655 drivers/video/fbdev/uvesafb.c 	return count;
count            1872 drivers/video/fbdev/uvesafb.c 		size_t count)
count            1875 drivers/video/fbdev/uvesafb.c 	return count;
count             925 drivers/video/fbdev/via/hw.c 	int i, count = 0;
count             929 drivers/video/fbdev/via/hw.c 			if (count > 0)
count             933 drivers/video/fbdev/via/hw.c 			count++;
count            1130 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1135 drivers/video/fbdev/via/viafbdev.c 	if (count < 1)
count            1137 drivers/video/fbdev/via/viafbdev.c 	length = count > 20 ? 20 : count;
count            1173 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1201 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1206 drivers/video/fbdev/via/viafbdev.c 	if (count < 1)
count            1208 drivers/video/fbdev/via/viafbdev.c 	length = count > 20 ? 20 : count;
count            1238 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1264 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1268 drivers/video/fbdev/via/viafbdev.c 	err = kstrtou8_from_user(buffer, count, 0, &reg_val);
count            1273 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1299 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1303 drivers/video/fbdev/via/viafbdev.c 	err = kstrtou8_from_user(buffer, count, 0, &reg_val);
count            1308 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1358 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1363 drivers/video/fbdev/via/viafbdev.c 	if (count < 1)
count            1365 drivers/video/fbdev/via/viafbdev.c 	length = count > 30 ? 30 : count;
count            1444 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1465 drivers/video/fbdev/via/viafbdev.c static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev)
count            1471 drivers/video/fbdev/via/viafbdev.c 	if (count < 1 || count > 63)
count            1473 drivers/video/fbdev/via/viafbdev.c 	if (copy_from_user(&buf[0], buffer, count))
count            1475 drivers/video/fbdev/via/viafbdev.c 	buf[count] = '\0';
count            1491 drivers/video/fbdev/via/viafbdev.c 	return count;
count            1506 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1512 drivers/video/fbdev/via/viafbdev.c 	res = odev_update(buffer, count, &dev_new);
count            1513 drivers/video/fbdev/via/viafbdev.c 	if (res != count)
count            1546 drivers/video/fbdev/via/viafbdev.c 	const char __user *buffer, size_t count, loff_t *pos)
count            1552 drivers/video/fbdev/via/viafbdev.c 	res = odev_update(buffer, count, &dev_new);
count            1553 drivers/video/fbdev/via/viafbdev.c 	if (res != count)
count              87 drivers/video/fbdev/w100fb.c static ssize_t flip_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             106 drivers/video/fbdev/w100fb.c 	return count;
count             111 drivers/video/fbdev/w100fb.c static ssize_t w100fb_reg_read(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             117 drivers/video/fbdev/w100fb.c 	return count;
count             122 drivers/video/fbdev/w100fb.c static ssize_t w100fb_reg_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             132 drivers/video/fbdev/w100fb.c 	return count;
count             146 drivers/video/fbdev/w100fb.c static ssize_t fastpllclk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
count             162 drivers/video/fbdev/w100fb.c 	return count;
count             162 drivers/video/fbdev/wm8505fb.c 			      const char *buf, size_t count)
count             174 drivers/video/fbdev/wm8505fb.c 	return count;
count             270 drivers/video/fbdev/xen-fbfront.c 			size_t count, loff_t *ppos)
count             275 drivers/video/fbdev/xen-fbfront.c 	res = fb_sys_write(p, buf, count, ppos);
count             162 drivers/virt/fsl_hypervisor.c 	uint32_t count; /* The number of bytes left to copy */
count             218 drivers/virt/fsl_hypervisor.c 	if (param.count == 0 ||
count             219 drivers/virt/fsl_hypervisor.c 	    param.count > U64_MAX - lb_offset - PAGE_SIZE + 1)
count             221 drivers/virt/fsl_hypervisor.c 	num_pages = (param.count + lb_offset + PAGE_SIZE - 1) >> PAGE_SHIFT;
count             270 drivers/virt/fsl_hypervisor.c 	sg_list[0].size = min_t(uint64_t, param.count, PAGE_SIZE - lb_offset);
count             273 drivers/virt/fsl_hypervisor.c 	count = param.count - sg_list[0].size;
count             285 drivers/virt/fsl_hypervisor.c 		sg_list[i].size = min_t(uint64_t, count, PAGE_SIZE);
count             288 drivers/virt/fsl_hypervisor.c 		count -= sg_list[i].size;
count             600 drivers/virt/fsl_hypervisor.c 	ssize_t count = 0;
count             615 drivers/virt/fsl_hypervisor.c 			if (count)
count             646 drivers/virt/fsl_hypervisor.c 		count += sizeof(uint32_t);
count             650 drivers/virt/fsl_hypervisor.c 	return count;
count              42 drivers/virt/vboxguest/vboxguest_utils.c 	int i, count;							\
count              47 drivers/virt/vboxguest/vboxguest_utils.c 	count = vscnprintf(vbg_log_buf, sizeof(vbg_log_buf), fmt, args);\
count              48 drivers/virt/vboxguest/vboxguest_utils.c 	for (i = 0; i < count; i++)					\
count             841 drivers/virtio/virtio_balloon.c 	unsigned long count;
count             843 drivers/virtio/virtio_balloon.c 	count = vb->num_pages / VIRTIO_BALLOON_PAGES_PER_PAGE;
count             844 drivers/virtio/virtio_balloon.c 	count += vb->num_free_page_blocks << VIRTIO_BALLOON_FREE_PAGE_ORDER;
count             846 drivers/virtio/virtio_balloon.c 	return count;
count             127 drivers/visorbus/visorchipset.c 				const char *buf, size_t count)
count             140 drivers/visorbus/visorchipset.c 	return count;
count             163 drivers/visorbus/visorchipset.c 				const char *buf, size_t count)
count             178 drivers/visorbus/visorchipset.c 	return count;
count             198 drivers/visorbus/visorchipset.c 			   const char *buf, size_t count)
count             211 drivers/visorbus/visorchipset.c 	return count;
count             231 drivers/visorbus/visorchipset.c 			    const char *buf, size_t count)
count             244 drivers/visorbus/visorchipset.c 	return count;
count             265 drivers/visorbus/visorchipset.c 				     const char *buf, size_t count)
count             278 drivers/visorbus/visorchipset.c 	return count;
count             959 drivers/visorbus/visorchipset.c 				    const char *buf, size_t count)
count             969 drivers/visorbus/visorchipset.c 	return count;
count             988 drivers/visorbus/visorchipset.c 				   const char *buf, size_t count)
count             995 drivers/visorbus/visorchipset.c 	return count;
count            1502 drivers/visorbus/visorchipset.c 	int count = 0;
count            1510 drivers/visorbus/visorchipset.c 	} while ((!err) && (++count < CONTROLVM_MESSAGE_MAX));
count              82 drivers/vlynq/vlynq.c static void vlynq_dump_mem(u32 *base, int count)
count              86 drivers/vlynq/vlynq.c 	for (i = 0; i < (count + 3) / 4; i++) {
count             850 drivers/vme/bridges/vme_ca91cx42.c 	void *buf, size_t count, loff_t offset)
count             857 drivers/vme/bridges/vme_ca91cx42.c 	if (count == 0)
count             873 drivers/vme/bridges/vme_ca91cx42.c 		if (done == count)
count             877 drivers/vme/bridges/vme_ca91cx42.c 		if ((count - done) < 2) {
count             887 drivers/vme/bridges/vme_ca91cx42.c 	count32 = (count - done) & ~0x3;
count             893 drivers/vme/bridges/vme_ca91cx42.c 	if ((count - done) & 0x2) {
count             897 drivers/vme/bridges/vme_ca91cx42.c 	if ((count - done) & 0x1) {
count             902 drivers/vme/bridges/vme_ca91cx42.c 	retval = count;
count             909 drivers/vme/bridges/vme_ca91cx42.c 	void *buf, size_t count, loff_t offset)
count             916 drivers/vme/bridges/vme_ca91cx42.c 	if (count == 0)
count             927 drivers/vme/bridges/vme_ca91cx42.c 		if (done == count)
count             931 drivers/vme/bridges/vme_ca91cx42.c 		if ((count - done) < 2) {
count             941 drivers/vme/bridges/vme_ca91cx42.c 	count32 = (count - done) & ~0x3;
count             947 drivers/vme/bridges/vme_ca91cx42.c 	if ((count - done) & 0x2) {
count             951 drivers/vme/bridges/vme_ca91cx42.c 	if ((count - done) & 0x1) {
count             956 drivers/vme/bridges/vme_ca91cx42.c 	retval = count;
count            1019 drivers/vme/bridges/vme_ca91cx42.c 	struct vme_dma_attr *src, struct vme_dma_attr *dest, size_t count)
count            1134 drivers/vme/bridges/vme_ca91cx42.c 	entry->descriptor.dtbc = count;
count             517 drivers/vme/bridges/vme_fake.c 		size_t count, loff_t offset)
count             552 drivers/vme/bridges/vme_fake.c 		if (done == count)
count             557 drivers/vme/bridges/vme_fake.c 			if ((count - done) < 2) {
count             571 drivers/vme/bridges/vme_fake.c 		count32 = (count - done) & ~0x3;
count             578 drivers/vme/bridges/vme_fake.c 		count32 = (count - done) & ~0x3;
count             585 drivers/vme/bridges/vme_fake.c 		count32 = (count - done);
count             595 drivers/vme/bridges/vme_fake.c 		if ((count - done) & 0x2) {
count             601 drivers/vme/bridges/vme_fake.c 	if ((count - done) & 0x1) {
count             608 drivers/vme/bridges/vme_fake.c 	retval = count;
count             709 drivers/vme/bridges/vme_fake.c 		size_t count, loff_t offset)
count             740 drivers/vme/bridges/vme_fake.c 		if (done == count)
count             746 drivers/vme/bridges/vme_fake.c 			if ((count - done) < 2) {
count             760 drivers/vme/bridges/vme_fake.c 		count32 = (count - done) & ~0x3;
count             767 drivers/vme/bridges/vme_fake.c 		count32 = (count - done) & ~0x3;
count             774 drivers/vme/bridges/vme_fake.c 		count32 = (count - done);
count             784 drivers/vme/bridges/vme_fake.c 		if ((count - done) & 0x2) {
count             791 drivers/vme/bridges/vme_fake.c 	if ((count - done) & 0x1) {
count             798 drivers/vme/bridges/vme_fake.c 	retval = count;
count            1176 drivers/vme/bridges/vme_tsi148.c 	size_t count, loff_t offset)
count            1195 drivers/vme/bridges/vme_tsi148.c 						     vme_base + offset, count);
count            1213 drivers/vme/bridges/vme_tsi148.c 		if (done == count)
count            1217 drivers/vme/bridges/vme_tsi148.c 		if ((count - done) < 2) {
count            1227 drivers/vme/bridges/vme_tsi148.c 	count32 = (count - done) & ~0x3;
count            1233 drivers/vme/bridges/vme_tsi148.c 	if ((count - done) & 0x2) {
count            1237 drivers/vme/bridges/vme_tsi148.c 	if ((count - done) & 0x1) {
count            1243 drivers/vme/bridges/vme_tsi148.c 	retval = count;
count            1262 drivers/vme/bridges/vme_tsi148.c 	size_t count, loff_t offset)
count            1285 drivers/vme/bridges/vme_tsi148.c 						     vme_base + offset, count);
count            1298 drivers/vme/bridges/vme_tsi148.c 		if (done == count)
count            1302 drivers/vme/bridges/vme_tsi148.c 		if ((count - done) < 2) {
count            1312 drivers/vme/bridges/vme_tsi148.c 	count32 = (count - done) & ~0x3;
count            1318 drivers/vme/bridges/vme_tsi148.c 	if ((count - done) & 0x2) {
count            1322 drivers/vme/bridges/vme_tsi148.c 	if ((count - done) & 0x1) {
count            1328 drivers/vme/bridges/vme_tsi148.c 	retval = count;
count            1625 drivers/vme/bridges/vme_tsi148.c 	struct vme_dma_attr *src, struct vme_dma_attr *dest, size_t count)
count            1745 drivers/vme/bridges/vme_tsi148.c 	entry->descriptor.dcnt = cpu_to_be32((u32)count);
count             664 drivers/vme/vme.c ssize_t vme_master_read(struct vme_resource *resource, void *buf, size_t count,
count             690 drivers/vme/vme.c 	if ((offset + count) > length)
count             691 drivers/vme/vme.c 		count = length - offset;
count             693 drivers/vme/vme.c 	return bridge->master_read(image, buf, count, offset);
count             714 drivers/vme/vme.c 	size_t count, loff_t offset)
count             739 drivers/vme/vme.c 	if ((offset + count) > length)
count             740 drivers/vme/vme.c 		count = length - offset;
count             742 drivers/vme/vme.c 	return bridge->master_write(image, buf, count, offset);
count            1119 drivers/vme/vme.c 	struct vme_dma_attr *dest, size_t count)
count            1134 drivers/vme/vme.c 	retval = bridge->dma_list_add(list, src, dest, count);
count            1372 drivers/vme/vme.c 	bridge->irq[level - 1].count++;
count            1415 drivers/vme/vme.c 	bridge->irq[level - 1].count--;
count            1418 drivers/vme/vme.c 	if (bridge->irq[level - 1].count == 0)
count              96 drivers/vme/vme_bridge.h 	int count;
count             218 drivers/w1/masters/ds2490.c static void ds_dump_status(struct ds_device *dev, unsigned char *buf, int count)
count             222 drivers/w1/masters/ds2490.c 	pr_info("0x%x: count=%d, status: ", dev->ep[EP_STATUS], count);
count             223 drivers/w1/masters/ds2490.c 	for (i = 0; i < count; ++i)
count             227 drivers/w1/masters/ds2490.c 	if (count >= 16) {
count             246 drivers/w1/masters/ds2490.c 	for (i = 16; i < count; ++i) {
count             274 drivers/w1/masters/ds2490.c 	int count, err;
count             279 drivers/w1/masters/ds2490.c 	count = 0;
count             284 drivers/w1/masters/ds2490.c 				&count, 1000);
count             292 drivers/w1/masters/ds2490.c 		ds_dump_status(dev, dev->st_buf, count);
count             294 drivers/w1/masters/ds2490.c 	if (st && count >= sizeof(*st))
count             297 drivers/w1/masters/ds2490.c 	return count;
count             319 drivers/w1/masters/ds2490.c 	int count, err;
count             330 drivers/w1/masters/ds2490.c 	count = 0;
count             332 drivers/w1/masters/ds2490.c 				buf, size, &count, 1000);
count             344 drivers/w1/masters/ds2490.c 		printk("%s: count=%d: ", __func__, count);
count             345 drivers/w1/masters/ds2490.c 		for (i = 0; i < count; ++i)
count             350 drivers/w1/masters/ds2490.c 	return count;
count             355 drivers/w1/masters/ds2490.c 	int count, err;
count             357 drivers/w1/masters/ds2490.c 	count = 0;
count             358 drivers/w1/masters/ds2490.c 	err = usb_bulk_msg(dev->udev, usb_sndbulkpipe(dev->udev, dev->ep[EP_DATA_OUT]), buf, len, &count, 1000);
count             373 drivers/w1/masters/ds2490.c 	int count = 0, err = 0;
count             391 drivers/w1/masters/ds2490.c 	} while (++count < limit);
count             425 drivers/w1/masters/ds2490.c 	int err, count = 0;
count             439 drivers/w1/masters/ds2490.c 	} while (!(st->status & ST_IDLE) && !(err < 0) && ++count < 100);
count             445 drivers/w1/masters/ds2490.c 		count = 101;
count             452 drivers/w1/masters/ds2490.c 	if (err > 16 || count >= 100 || err < 0)
count             459 drivers/w1/masters/ds2490.c 	if (count >= 100 || err < 0)
count             139 drivers/w1/slaves/w1_ds2405.c 			    const char *buf, size_t count)
count             148 drivers/w1/slaves/w1_ds2405.c 	if (count < 1)
count              28 drivers/w1/slaves/w1_ds2406.c 	char *buf, loff_t off, size_t count)
count              65 drivers/w1/slaves/w1_ds2406.c 	char *buf, loff_t off, size_t count)
count              73 drivers/w1/slaves/w1_ds2406.c 	if (count != 1 || off != 0)
count              69 drivers/w1/slaves/w1_ds2408.c 			  size_t count)
count              73 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
count              74 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count              81 drivers/w1/slaves/w1_ds2408.c 			   loff_t off, size_t count)
count              85 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
count              86 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count              94 drivers/w1/slaves/w1_ds2408.c 			     loff_t off, size_t count)
count              98 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
count              99 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             107 drivers/w1/slaves/w1_ds2408.c 				     loff_t off, size_t count)
count             111 drivers/w1/slaves/w1_ds2408.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
count             112 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             121 drivers/w1/slaves/w1_ds2408.c 					 char *buf, loff_t off, size_t count)
count             123 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             131 drivers/w1/slaves/w1_ds2408.c 				   loff_t off, size_t count)
count             133 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             164 drivers/w1/slaves/w1_ds2408.c 			    loff_t off, size_t count)
count             171 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             214 drivers/w1/slaves/w1_ds2408.c 			      loff_t off, size_t count)
count             219 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count             244 drivers/w1/slaves/w1_ds2408.c 				    loff_t off, size_t count)
count             250 drivers/w1/slaves/w1_ds2408.c 	if (count != 1 || off != 0)
count              29 drivers/w1/slaves/w1_ds2413.c 			  size_t count)
count              38 drivers/w1/slaves/w1_ds2413.c 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
count              85 drivers/w1/slaves/w1_ds2413.c 			    loff_t off, size_t count)
count              92 drivers/w1/slaves/w1_ds2413.c 	if (count != 1 || off != 0)
count              46 drivers/w1/slaves/w1_ds2431.c static inline size_t w1_f2d_fix_count(loff_t off, size_t count, size_t size)
count              51 drivers/w1/slaves/w1_ds2431.c 	if ((off + count) > size)
count              54 drivers/w1/slaves/w1_ds2431.c 	return count;
count              64 drivers/w1/slaves/w1_ds2431.c static int w1_f2d_readblock(struct w1_slave *sl, int off, int count, char *buf)
count              79 drivers/w1/slaves/w1_ds2431.c 		w1_read_block(sl->master, buf, count);
count              85 drivers/w1/slaves/w1_ds2431.c 		w1_read_block(sl->master, cmp, count);
count              87 drivers/w1/slaves/w1_ds2431.c 		if (!memcmp(cmp, buf, count))
count              99 drivers/w1/slaves/w1_ds2431.c 			   loff_t off, size_t count)
count             102 drivers/w1/slaves/w1_ds2431.c 	int todo = count;
count             104 drivers/w1/slaves/w1_ds2431.c 	count = w1_f2d_fix_count(off, count, W1_F2D_EEPROM_SIZE);
count             105 drivers/w1/slaves/w1_ds2431.c 	if (count == 0)
count             120 drivers/w1/slaves/w1_ds2431.c 			count = -EIO;
count             129 drivers/w1/slaves/w1_ds2431.c 	return count;
count             205 drivers/w1/slaves/w1_ds2431.c 			    loff_t off, size_t count)
count             211 drivers/w1/slaves/w1_ds2431.c 	count = w1_f2d_fix_count(off, count, W1_F2D_EEPROM_SIZE);
count             212 drivers/w1/slaves/w1_ds2431.c 	if (count == 0)
count             219 drivers/w1/slaves/w1_ds2431.c 	len = count;
count             229 drivers/w1/slaves/w1_ds2431.c 				count = -EIO;
count             243 drivers/w1/slaves/w1_ds2431.c 				count = -EIO;
count             250 drivers/w1/slaves/w1_ds2431.c 				count = -EIO;
count             262 drivers/w1/slaves/w1_ds2431.c 	return count;
count              49 drivers/w1/slaves/w1_ds2433.c static inline size_t w1_f23_fix_count(loff_t off, size_t count, size_t size)
count              54 drivers/w1/slaves/w1_ds2433.c 	if ((off + count) > size)
count              57 drivers/w1/slaves/w1_ds2433.c 	return count;
count              91 drivers/w1/slaves/w1_ds2433.c 			   loff_t off, size_t count)
count             101 drivers/w1/slaves/w1_ds2433.c 	if ((count = w1_f23_fix_count(off, count, W1_EEPROM_SIZE)) == 0)
count             109 drivers/w1/slaves/w1_ds2433.c 	max_page = (off + count - 1) >> W1_PAGE_BITS;
count             112 drivers/w1/slaves/w1_ds2433.c 			count = -EIO;
count             116 drivers/w1/slaves/w1_ds2433.c 	memcpy(buf, &data->memory[off], count);
count             122 drivers/w1/slaves/w1_ds2433.c 		count = -EIO;
count             130 drivers/w1/slaves/w1_ds2433.c 	w1_read_block(sl->master, buf, count);
count             137 drivers/w1/slaves/w1_ds2433.c 	return count;
count             205 drivers/w1/slaves/w1_ds2433.c 			    loff_t off, size_t count)
count             210 drivers/w1/slaves/w1_ds2433.c 	if ((count = w1_f23_fix_count(off, count, W1_EEPROM_SIZE)) == 0)
count             215 drivers/w1/slaves/w1_ds2433.c 	if ((off & W1_PAGE_MASK) || (count & W1_PAGE_MASK)) {
count             217 drivers/w1/slaves/w1_ds2433.c 			(int)off, count);
count             222 drivers/w1/slaves/w1_ds2433.c 	for (idx = 0; idx < count; idx += W1_PAGE_SIZE) {
count             234 drivers/w1/slaves/w1_ds2433.c 	while (idx < count) {
count             237 drivers/w1/slaves/w1_ds2433.c 		if (len > (count - idx))
count             238 drivers/w1/slaves/w1_ds2433.c 			len = count - idx;
count             241 drivers/w1/slaves/w1_ds2433.c 			count = -EIO;
count             250 drivers/w1/slaves/w1_ds2433.c 	return count;
count              57 drivers/w1/slaves/w1_ds2438.c 	size_t count;
count              74 drivers/w1/slaves/w1_ds2438.c 		count = w1_read_block(sl->master, buf, DS2438_PAGE_SIZE + 1);
count              75 drivers/w1/slaves/w1_ds2438.c 		if (count == DS2438_PAGE_SIZE + 1) {
count             257 drivers/w1/slaves/w1_ds2438.c 			 loff_t off, size_t count)
count             262 drivers/w1/slaves/w1_ds2438.c 	if (count != 1 || off != 0)
count             279 drivers/w1/slaves/w1_ds2438.c 			loff_t off, size_t count)
count             291 drivers/w1/slaves/w1_ds2438.c 		ret = snprintf(buf, count, "%i\n", voltage);
count             300 drivers/w1/slaves/w1_ds2438.c 			  loff_t off, size_t count)
count             314 drivers/w1/slaves/w1_ds2438.c 	if (count > DS2438_PAGE_SIZE)
count             315 drivers/w1/slaves/w1_ds2438.c 		count = DS2438_PAGE_SIZE;
count             318 drivers/w1/slaves/w1_ds2438.c 		memcpy(buf, &w1_buf, count);
count             319 drivers/w1/slaves/w1_ds2438.c 		ret = count;
count             330 drivers/w1/slaves/w1_ds2438.c 				loff_t off, size_t count)
count             342 drivers/w1/slaves/w1_ds2438.c 		ret = snprintf(buf, count, "%i\n", temp);
count             351 drivers/w1/slaves/w1_ds2438.c 			loff_t off, size_t count)
count             363 drivers/w1/slaves/w1_ds2438.c 		ret = snprintf(buf, count, "%u\n", voltage);
count             372 drivers/w1/slaves/w1_ds2438.c 			loff_t off, size_t count)
count             384 drivers/w1/slaves/w1_ds2438.c 		ret = snprintf(buf, count, "%u\n", voltage);
count             140 drivers/w1/slaves/w1_ds250x.c static int w1_nvmem_read(void *priv, unsigned int off, void *buf, size_t count)
count             151 drivers/w1/slaves/w1_ds250x.c 	if ((off + count) > eprom_size)
count             152 drivers/w1/slaves/w1_ds250x.c 		count = eprom_size - off;
count             159 drivers/w1/slaves/w1_ds250x.c 	} while (i < OFF2PG(off + count));
count             161 drivers/w1/slaves/w1_ds250x.c 	memcpy(buf, &data->eprom[off], count);
count              27 drivers/w1/slaves/w1_ds2780.c 			size_t count, int io)
count              34 drivers/w1/slaves/w1_ds2780.c 	count = min_t(int, count, DS2780_DATA_SIZE - addr);
count              40 drivers/w1/slaves/w1_ds2780.c 			w1_write_block(sl->master, buf, count);
count              44 drivers/w1/slaves/w1_ds2780.c 			count = w1_read_block(sl->master, buf, count);
count              48 drivers/w1/slaves/w1_ds2780.c 	return count;
count              51 drivers/w1/slaves/w1_ds2780.c int w1_ds2780_io(struct device *dev, char *buf, int addr, size_t count,
count              62 drivers/w1/slaves/w1_ds2780.c 	ret = w1_ds2780_do_io(dev, buf, addr, count, io);
count              91 drivers/w1/slaves/w1_ds2780.c 			     loff_t off, size_t count)
count              94 drivers/w1/slaves/w1_ds2780.c 	return w1_ds2780_io(dev, buf, off, count, 0);
count             121 drivers/w1/slaves/w1_ds2780.h extern int w1_ds2780_io(struct device *dev, char *buf, int addr, size_t count,
count              24 drivers/w1/slaves/w1_ds2781.c 			size_t count, int io)
count              31 drivers/w1/slaves/w1_ds2781.c 	count = min_t(int, count, DS2781_DATA_SIZE - addr);
count              37 drivers/w1/slaves/w1_ds2781.c 			w1_write_block(sl->master, buf, count);
count              41 drivers/w1/slaves/w1_ds2781.c 			count = w1_read_block(sl->master, buf, count);
count              45 drivers/w1/slaves/w1_ds2781.c 	return count;
count              48 drivers/w1/slaves/w1_ds2781.c int w1_ds2781_io(struct device *dev, char *buf, int addr, size_t count,
count              59 drivers/w1/slaves/w1_ds2781.c 	ret = w1_ds2781_do_io(dev, buf, addr, count, io);
count              88 drivers/w1/slaves/w1_ds2781.c 			     loff_t off, size_t count)
count              91 drivers/w1/slaves/w1_ds2781.c 	return w1_ds2781_io(dev, buf, off, count, 0);
count             126 drivers/w1/slaves/w1_ds2781.h extern int w1_ds2781_io(struct device *dev, char *buf, int addr, size_t count,
count              43 drivers/w1/slaves/w1_ds2805.c static inline size_t w1_f0d_fix_count(loff_t off, size_t count, size_t size)
count              48 drivers/w1/slaves/w1_ds2805.c 	if ((off + count) > size)
count              51 drivers/w1/slaves/w1_ds2805.c 	return count;
count              61 drivers/w1/slaves/w1_ds2805.c static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf)
count              76 drivers/w1/slaves/w1_ds2805.c 		w1_read_block(sl->master, buf, count);
count              82 drivers/w1/slaves/w1_ds2805.c 		w1_read_block(sl->master, cmp, count);
count              84 drivers/w1/slaves/w1_ds2805.c 		if (!memcmp(cmp, buf, count))
count              96 drivers/w1/slaves/w1_ds2805.c 			       char *buf, loff_t off, size_t count)
count              99 drivers/w1/slaves/w1_ds2805.c 	int todo = count;
count             101 drivers/w1/slaves/w1_ds2805.c 	count = w1_f0d_fix_count(off, count, W1_F0D_EEPROM_SIZE);
count             102 drivers/w1/slaves/w1_ds2805.c 	if (count == 0)
count             117 drivers/w1/slaves/w1_ds2805.c 			count = -EIO;
count             128 drivers/w1/slaves/w1_ds2805.c 	return count;
count             204 drivers/w1/slaves/w1_ds2805.c 				char *buf, loff_t off, size_t count)
count             210 drivers/w1/slaves/w1_ds2805.c 	count = w1_f0d_fix_count(off, count, W1_F0D_EEPROM_SIZE);
count             211 drivers/w1/slaves/w1_ds2805.c 	if (count == 0)
count             218 drivers/w1/slaves/w1_ds2805.c 	len = count;
count             228 drivers/w1/slaves/w1_ds2805.c 				count = -EIO;
count             242 drivers/w1/slaves/w1_ds2805.c 				count = -EIO;
count             249 drivers/w1/slaves/w1_ds2805.c 				count = -EIO;
count             261 drivers/w1/slaves/w1_ds2805.c 	return count;
count              60 drivers/w1/slaves/w1_ds28e04.c static inline size_t w1_f1C_fix_count(loff_t off, size_t count, size_t size)
count              65 drivers/w1/slaves/w1_ds28e04.c 	if ((off + count) > size)
count              68 drivers/w1/slaves/w1_ds28e04.c 	return count;
count             116 drivers/w1/slaves/w1_ds28e04.c 			   loff_t off, size_t count)
count             122 drivers/w1/slaves/w1_ds28e04.c 	count = w1_f1C_fix_count(off, count, W1_EEPROM_SIZE);
count             123 drivers/w1/slaves/w1_ds28e04.c 	if (count == 0)
count             130 drivers/w1/slaves/w1_ds28e04.c 		max_page = (off + count - 1) >> W1_PAGE_BITS;
count             133 drivers/w1/slaves/w1_ds28e04.c 				count = -EIO;
count             137 drivers/w1/slaves/w1_ds28e04.c 		memcpy(buf, &data->memory[off], count);
count             139 drivers/w1/slaves/w1_ds28e04.c 		count = w1_f1C_read(sl, off, count, buf);
count             145 drivers/w1/slaves/w1_ds28e04.c 	return count;
count             224 drivers/w1/slaves/w1_ds28e04.c 			    loff_t off, size_t count)
count             230 drivers/w1/slaves/w1_ds28e04.c 	count = w1_f1C_fix_count(off, count, W1_EEPROM_SIZE);
count             231 drivers/w1/slaves/w1_ds28e04.c 	if (count == 0)
count             236 drivers/w1/slaves/w1_ds28e04.c 		if ((off & W1_PAGE_MASK) || (count & W1_PAGE_MASK)) {
count             238 drivers/w1/slaves/w1_ds28e04.c 				(int)off, count);
count             243 drivers/w1/slaves/w1_ds28e04.c 		for (idx = 0; idx < count; idx += W1_PAGE_SIZE) {
count             257 drivers/w1/slaves/w1_ds28e04.c 	while (idx < count) {
count             260 drivers/w1/slaves/w1_ds28e04.c 		if (len > (count - idx))
count             261 drivers/w1/slaves/w1_ds28e04.c 			len = count - idx;
count             264 drivers/w1/slaves/w1_ds28e04.c 			count = -EIO;
count             273 drivers/w1/slaves/w1_ds28e04.c 	return count;
count             280 drivers/w1/slaves/w1_ds28e04.c 			size_t count)
count             287 drivers/w1/slaves/w1_ds28e04.c 	if (off != 0 || count != 1 || buf == NULL)
count             291 drivers/w1/slaves/w1_ds28e04.c 	ret = w1_f1C_read(sl, W1_1C_REG_LOGIC_STATE, count, buf);
count             299 drivers/w1/slaves/w1_ds28e04.c 			 size_t count)
count             307 drivers/w1/slaves/w1_ds28e04.c 	if (off != 0 || count != 1 || buf == NULL)
count             334 drivers/w1/slaves/w1_ds28e04.c 	return count;
count             349 drivers/w1/slaves/w1_ds28e04.c 			      const char *buf, size_t count)
count             353 drivers/w1/slaves/w1_ds28e04.c 	if (count != 1 || !buf)
count              85 drivers/w1/slaves/w1_ds28e17.c static int w1_f19_i2c_busy_wait(struct w1_slave *sl, size_t count)
count             100 drivers/w1/slaves/w1_ds28e17.c 	usleep_range(timebases[data->speed] * (data->stretch) * count,
count             101 drivers/w1/slaves/w1_ds28e17.c 		timebases[data->speed] * (data->stretch) * count
count             151 drivers/w1/slaves/w1_ds28e17.c 	const u8 *buffer, size_t count)
count             161 drivers/w1/slaves/w1_ds28e17.c 	w1_buf[0] = count;
count             165 drivers/w1/slaves/w1_ds28e17.c 	crc = crc16(crc, buffer, count);
count             166 drivers/w1/slaves/w1_ds28e17.c 	w1_write_block(sl->master, buffer, count);
count             173 drivers/w1/slaves/w1_ds28e17.c 	if (w1_f19_i2c_busy_wait(sl, count + 1) < 0)
count             185 drivers/w1/slaves/w1_ds28e17.c 	return count;
count             191 drivers/w1/slaves/w1_ds28e17.c 	const u8 *buffer, size_t count, bool stop)
count             194 drivers/w1/slaves/w1_ds28e17.c 	int remaining = count;
count             199 drivers/w1/slaves/w1_ds28e17.c 	if (count == 0)
count             203 drivers/w1/slaves/w1_ds28e17.c 	if (count <= W1_F19_WRITE_DATA_LIMIT) {
count             213 drivers/w1/slaves/w1_ds28e17.c 		result = __w1_f19_i2c_write(sl, command, 2, buffer, count);
count             263 drivers/w1/slaves/w1_ds28e17.c 	u8 *buffer, size_t count)
count             270 drivers/w1/slaves/w1_ds28e17.c 	if (count == 0)
count             276 drivers/w1/slaves/w1_ds28e17.c 	w1_buf[2] = count;
count             283 drivers/w1/slaves/w1_ds28e17.c 	if (w1_f19_i2c_busy_wait(sl, count + 1) < 0)
count             296 drivers/w1/slaves/w1_ds28e17.c 	return w1_read_block(sl->master, buffer, count);
count             590 drivers/w1/slaves/w1_ds28e17.c 			      const char *buf, size_t count)
count             596 drivers/w1/slaves/w1_ds28e17.c 	if (count < 3 || count > 4 || !buf)
count             598 drivers/w1/slaves/w1_ds28e17.c 	if (count == 4 && buf[3] != '\n')
count             622 drivers/w1/slaves/w1_ds28e17.c 	return count;
count             640 drivers/w1/slaves/w1_ds28e17.c 			      const char *buf, size_t count)
count             646 drivers/w1/slaves/w1_ds28e17.c 	if (count < 1 || count > 2 || !buf)
count             648 drivers/w1/slaves/w1_ds28e17.c 	if (count == 2 && buf[1] != '\n')
count             657 drivers/w1/slaves/w1_ds28e17.c 	return count;
count             379 drivers/w1/slaves/w1_therm.c 			int count = 0;
count             383 drivers/w1/slaves/w1_therm.c 			count = w1_read_block(dev, rom, 9);
count             384 drivers/w1/slaves/w1_therm.c 			if (count != 9)
count             385 drivers/w1/slaves/w1_therm.c 				dev_warn(device, "w1_read_block() returned %u instead of 9.\n",	count);
count             501 drivers/w1/slaves/w1_therm.c 			int count = 0;
count             541 drivers/w1/slaves/w1_therm.c 				count = w1_read_block(dev, info->rom, 9);
count             542 drivers/w1/slaves/w1_therm.c 				if (count != 9) {
count             545 drivers/w1/slaves/w1_therm.c 						count);
count             100 drivers/w1/w1.c 	ssize_t count = sizeof(sl->reg_num);
count             102 drivers/w1/w1.c 	memcpy(buf, (u8 *)&sl->reg_num, count);
count             103 drivers/w1/w1.c 	return count;
count             118 drivers/w1/w1.c 			size_t count)
count             124 drivers/w1/w1.c 		count = 0;
count             128 drivers/w1/w1.c 	w1_write_block(sl->master, buf, count);
count             132 drivers/w1/w1.c 	return count;
count             137 drivers/w1/w1.c 		       size_t count)
count             142 drivers/w1/w1.c 	w1_read_block(sl->master, buf, count);
count             144 drivers/w1/w1.c 	return count;
count             211 drivers/w1/w1.c 	ssize_t count;
count             214 drivers/w1/w1.c 	count = sprintf(buf, "%s\n", md->name);
count             217 drivers/w1/w1.c 	return count;
count             222 drivers/w1/w1.c 						const char * buf, size_t count)
count             239 drivers/w1/w1.c 	return count;
count             247 drivers/w1/w1.c 	ssize_t count;
count             250 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", md->search_count);
count             253 drivers/w1/w1.c 	return count;
count             258 drivers/w1/w1.c 						const char *buf, size_t count)
count             272 drivers/w1/w1.c 	return count;
count             280 drivers/w1/w1.c 	ssize_t count;
count             283 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", md->enable_pullup);
count             286 drivers/w1/w1.c 	return count;
count             292 drivers/w1/w1.c 	ssize_t count;
count             295 drivers/w1/w1.c 	count = sprintf(buf, "0x%p\n", md->bus_master);
count             297 drivers/w1/w1.c 	return count;
count             302 drivers/w1/w1.c 	ssize_t count;
count             303 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", w1_timeout);
count             304 drivers/w1/w1.c 	return count;
count             310 drivers/w1/w1.c 	ssize_t count;
count             311 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", w1_timeout_us);
count             312 drivers/w1/w1.c 	return count;
count             316 drivers/w1/w1.c 	struct device_attribute *attr, const char *buf, size_t count)
count             330 drivers/w1/w1.c 	return count;
count             336 drivers/w1/w1.c 	ssize_t count;
count             339 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", md->max_slave_count);
count             341 drivers/w1/w1.c 	return count;
count             347 drivers/w1/w1.c 	ssize_t count;
count             350 drivers/w1/w1.c 	count = sprintf(buf, "%lu\n", md->attempts);
count             352 drivers/w1/w1.c 	return count;
count             358 drivers/w1/w1.c 	ssize_t count;
count             361 drivers/w1/w1.c 	count = sprintf(buf, "%d\n", md->slave_count);
count             363 drivers/w1/w1.c 	return count;
count             398 drivers/w1/w1.c static int w1_atoreg_num(struct device *dev, const char *buf, size_t count,
count             459 drivers/w1/w1.c 						const char *buf, size_t count)
count             464 drivers/w1/w1.c 	ssize_t result = count;
count             466 drivers/w1/w1.c 	if (w1_atoreg_num(dev, buf, count, &rn))
count             497 drivers/w1/w1.c 						const char *buf, size_t count)
count             502 drivers/w1/w1.c 	ssize_t result = count;
count             504 drivers/w1/w1.c 	if (w1_atoreg_num(dev, buf, count, &rn))
count             513 drivers/w1/w1.c 			result = count;
count             118 drivers/watchdog/acquirewdt.c 						size_t count, loff_t *ppos)
count             121 drivers/watchdog/acquirewdt.c 	if (count) {
count             129 drivers/watchdog/acquirewdt.c 			for (i = 0; i != count; i++) {
count             141 drivers/watchdog/acquirewdt.c 	return count;
count             110 drivers/watchdog/advantechwdt.c 						size_t count, loff_t *ppos)
count             112 drivers/watchdog/advantechwdt.c 	if (count) {
count             118 drivers/watchdog/advantechwdt.c 			for (i = 0; i != count; i++) {
count             128 drivers/watchdog/advantechwdt.c 	return count;
count             185 drivers/watchdog/alim7101_wdt.c 						size_t count, loff_t *ppos)
count             188 drivers/watchdog/alim7101_wdt.c 	if (count) {
count             197 drivers/watchdog/alim7101_wdt.c 			for (ofs = 0; ofs != count; ofs++) {
count             208 drivers/watchdog/alim7101_wdt.c 	return count;
count             104 drivers/watchdog/aspeed_wdt.c static void aspeed_wdt_enable(struct aspeed_wdt *wdt, int count)
count             109 drivers/watchdog/aspeed_wdt.c 	writel(count, wdt->base + WDT_RELOAD_VALUE);
count              61 drivers/watchdog/bcm_kona_wdt.c 	unsigned count = 0;
count              69 drivers/watchdog/bcm_kona_wdt.c 		if (unlikely(count > 1))
count              72 drivers/watchdog/bcm_kona_wdt.c 		count++;
count              73 drivers/watchdog/bcm_kona_wdt.c 	} while ((val & SECWDOG_WD_LOAD_FLAG) && count < SECWDOG_MAX_TRY);
count              77 drivers/watchdog/bcm_kona_wdt.c 	if (count > wdt->busy_count)
count              78 drivers/watchdog/bcm_kona_wdt.c 		wdt->busy_count = count;
count             179 drivers/watchdog/cadence_wdt.c 	unsigned short count;
count             186 drivers/watchdog/cadence_wdt.c 	count = (wdd->timeout * (clock_f / wdt->prescaler)) /
count             189 drivers/watchdog/cadence_wdt.c 	if (count > CDNS_WDT_COUNTER_MAX)
count             190 drivers/watchdog/cadence_wdt.c 		count = CDNS_WDT_COUNTER_MAX;
count             196 drivers/watchdog/cadence_wdt.c 	count = (count << 2) & CDNS_WDT_CCR_CRV_MASK;
count             199 drivers/watchdog/cadence_wdt.c 	data = count | CDNS_WDT_REGISTER_ACCESS_KEY | wdt->ctrl_clksel;
count             178 drivers/watchdog/cpu5wdt.c 						size_t count, loff_t *ppos)
count             180 drivers/watchdog/cpu5wdt.c 	if (!count)
count             183 drivers/watchdog/cpu5wdt.c 	return count;
count             483 drivers/watchdog/cpwd.c 			  size_t count, loff_t *ppos)
count             489 drivers/watchdog/cpwd.c 	if (count) {
count             498 drivers/watchdog/cpwd.c 			 size_t count, loff_t *ppos)
count              91 drivers/watchdog/digicolor_wdt.c 	uint32_t count = readl_relaxed(wdt->base + TIMER_A_COUNT);
count              93 drivers/watchdog/digicolor_wdt.c 	return count / clk_get_rate(wdt->clk);
count             199 drivers/watchdog/eurotechwdt.c size_t count, loff_t *ppos)
count             201 drivers/watchdog/eurotechwdt.c 	if (count) {
count             207 drivers/watchdog/eurotechwdt.c 			for (i = 0; i != count; i++) {
count             219 drivers/watchdog/eurotechwdt.c 	return count;
count             557 drivers/watchdog/f71808e_wdt.c 			    size_t count, loff_t *ppos)
count             559 drivers/watchdog/f71808e_wdt.c 	if (count) {
count             566 drivers/watchdog/f71808e_wdt.c 			for (i = 0; i != count; i++) {
count             583 drivers/watchdog/f71808e_wdt.c 	return count;
count             145 drivers/watchdog/ib700wdt.c 						size_t count, loff_t *ppos)
count             147 drivers/watchdog/ib700wdt.c 	if (count) {
count             154 drivers/watchdog/ib700wdt.c 			for (i = 0; i != count; i++) {
count             164 drivers/watchdog/ib700wdt.c 	return count;
count             248 drivers/watchdog/ibmasr.c 			 size_t count, loff_t *ppos)
count             250 drivers/watchdog/ibmasr.c 	if (count) {
count             257 drivers/watchdog/ibmasr.c 			for (i = 0; i != count; i++) {
count             267 drivers/watchdog/ibmasr.c 	return count;
count             264 drivers/watchdog/machzwd.c static ssize_t zf_write(struct file *file, const char __user *buf, size_t count,
count             268 drivers/watchdog/machzwd.c 	if (count) {
count             282 drivers/watchdog/machzwd.c 			for (ofs = 0; ofs != count; ofs++) {
count             300 drivers/watchdog/machzwd.c 	return count;
count             172 drivers/watchdog/mtx-1_wdt.c 						size_t count, loff_t *ppos)
count             174 drivers/watchdog/mtx-1_wdt.c 	if (!count)
count             177 drivers/watchdog/mtx-1_wdt.c 	return count;
count              70 drivers/watchdog/nic7018_wdt.c 	u8 count;
count              74 drivers/watchdog/nic7018_wdt.c 		count = timeout / 2 + 1;
count              77 drivers/watchdog/nic7018_wdt.c 		count = DIV_ROUND_UP(timeout + 16, 32);
count              79 drivers/watchdog/nic7018_wdt.c 		if (count > WDT_MAX_COUNTER)
count              80 drivers/watchdog/nic7018_wdt.c 			count = WDT_MAX_COUNTER;
count              82 drivers/watchdog/nic7018_wdt.c 	*counter = count;
count             145 drivers/watchdog/nic7018_wdt.c 	u8 count;
count             147 drivers/watchdog/nic7018_wdt.c 	count = inb(wdt->io_base + WDT_COUNT) & 0xF;
count             148 drivers/watchdog/nic7018_wdt.c 	if (!count)
count             151 drivers/watchdog/nic7018_wdt.c 	return nic7018_timeout(wdt->period, count);
count             252 drivers/watchdog/pcwd.c 	int i, found = 0, count = 0;
count             256 drivers/watchdog/pcwd.c 	while ((!found) && (count < 3)) {
count             268 drivers/watchdog/pcwd.c 		count++;
count             719 drivers/watchdog/pcwd.c static ssize_t pcwd_temp_read(struct file *file, char __user *buf, size_t count,
count             156 drivers/watchdog/pcwd_pci.c 	int got_response, count;
count             177 drivers/watchdog/pcwd_pci.c 	for (count = 0; (count < PCI_COMMAND_TIMEOUT) && (!got_response);
count             178 drivers/watchdog/pcwd_pci.c 								count++) {
count             186 drivers/watchdog/pcwd_pci.c 				 count);
count             210 drivers/watchdog/pcwd_usb.c 	int got_response, count;
count             246 drivers/watchdog/pcwd_usb.c 	for (count = 0; (count < USB_COMMAND_TIMEOUT) && (!got_response);
count             247 drivers/watchdog/pcwd_usb.c 								count++) {
count             188 drivers/watchdog/rdc321x_wdt.c 				size_t count, loff_t *ppos)
count             190 drivers/watchdog/rdc321x_wdt.c 	if (!count)
count             195 drivers/watchdog/rdc321x_wdt.c 	return count;
count             150 drivers/watchdog/riowd.c 						size_t count, loff_t *ppos)
count             154 drivers/watchdog/riowd.c 	if (count) {
count              46 drivers/watchdog/rza_wdt.c 	u8 count;
count              63 drivers/watchdog/rza_wdt.c 		priv->count = 256 - ticks;
count              67 drivers/watchdog/rza_wdt.c 		priv->count = 0;
count              71 drivers/watchdog/rza_wdt.c 		 timeout, priv->count);
count              88 drivers/watchdog/rza_wdt.c 	writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT);
count             108 drivers/watchdog/rza_wdt.c 	writew(WTCNT_MAGIC | priv->count, priv->base + WTCNT);
count             114 drivers/watchdog/s3c2410_wdt.c 	unsigned int		count;
count             237 drivers/watchdog/s3c2410_wdt.c 	writel(wdt->count, wdt->reg_base + S3C2410_WTCNT);
count             284 drivers/watchdog/s3c2410_wdt.c 		wdt->count, wtcon);
count             286 drivers/watchdog/s3c2410_wdt.c 	writel(wdt->count, wdt->reg_base + S3C2410_WTDAT);
count             287 drivers/watchdog/s3c2410_wdt.c 	writel(wdt->count, wdt->reg_base + S3C2410_WTCNT);
count             304 drivers/watchdog/s3c2410_wdt.c 	unsigned int count;
count             312 drivers/watchdog/s3c2410_wdt.c 	count = timeout * freq;
count             315 drivers/watchdog/s3c2410_wdt.c 		count, timeout, freq);
count             322 drivers/watchdog/s3c2410_wdt.c 	if (count >= 0x10000) {
count             323 drivers/watchdog/s3c2410_wdt.c 		divisor = DIV_ROUND_UP(count, 0xffff);
count             332 drivers/watchdog/s3c2410_wdt.c 		timeout, divisor, count, DIV_ROUND_UP(count, divisor));
count             334 drivers/watchdog/s3c2410_wdt.c 	count = DIV_ROUND_UP(count, divisor);
count             335 drivers/watchdog/s3c2410_wdt.c 	wdt->count = count;
count             342 drivers/watchdog/s3c2410_wdt.c 	writel(count, wdt->reg_base + S3C2410_WTDAT);
count             345 drivers/watchdog/s3c2410_wdt.c 	wdd->timeout = (count * divisor) / freq;
count             165 drivers/watchdog/sbc60xxwdt.c 						size_t count, loff_t *ppos)
count             168 drivers/watchdog/sbc60xxwdt.c 	if (count) {
count             178 drivers/watchdog/sbc60xxwdt.c 			for (ofs = 0; ofs != count; ofs++) {
count             191 drivers/watchdog/sbc60xxwdt.c 	return count;
count              95 drivers/watchdog/sbc7240_wdt.c 			 size_t count, loff_t *ppos)
count             100 drivers/watchdog/sbc7240_wdt.c 	if (count) {
count             106 drivers/watchdog/sbc7240_wdt.c 			for (i = 0; i != count; i++) {
count             120 drivers/watchdog/sbc7240_wdt.c 	return count;
count             238 drivers/watchdog/sbc8360.c 			     size_t count, loff_t *ppos)
count             240 drivers/watchdog/sbc8360.c 	if (count) {
count             247 drivers/watchdog/sbc8360.c 			for (i = 0; i != count; i++) {
count             257 drivers/watchdog/sbc8360.c 	return count;
count             219 drivers/watchdog/sc520_wdt.c 						size_t count, loff_t *ppos)
count             222 drivers/watchdog/sc520_wdt.c 	if (count) {
count             231 drivers/watchdog/sc520_wdt.c 			for (ofs = 0; ofs != count; ofs++) {
count             244 drivers/watchdog/sc520_wdt.c 	return count;
count             222 drivers/watchdog/sch311x_wdt.c 						size_t count, loff_t *ppos)
count             224 drivers/watchdog/sch311x_wdt.c 	if (count) {
count             230 drivers/watchdog/sch311x_wdt.c 			for (i = 0; i != count; i++) {
count             240 drivers/watchdog/sch311x_wdt.c 	return count;
count              78 drivers/watchdog/tangox_wdt.c 	u32 count;
count              80 drivers/watchdog/tangox_wdt.c 	count = readl(dev->base + WD_COUNTER);
count              82 drivers/watchdog/tangox_wdt.c 	if (!count)
count              85 drivers/watchdog/tangox_wdt.c 	return (count - 1) / dev->clk_rate;
count             147 drivers/watchdog/tegra_wdt.c 	int count;
count             153 drivers/watchdog/tegra_wdt.c 	count = (val >> WDT_STS_COUNT_SHIFT) & WDT_STS_COUNT_MASK;
count             162 drivers/watchdog/tegra_wdt.c 	return (((3 - exp) * wdd->timeout) + count) / 4;
count             187 drivers/watchdog/w83877f_wdt.c 						size_t count, loff_t *ppos)
count             190 drivers/watchdog/w83877f_wdt.c 	if (count) {
count             200 drivers/watchdog/w83877f_wdt.c 			for (ofs = 0; ofs != count; ofs++) {
count             212 drivers/watchdog/w83877f_wdt.c 	return count;
count             328 drivers/watchdog/w83977f_wdt.c 			    size_t count, loff_t *ppos)
count             331 drivers/watchdog/w83977f_wdt.c 	if (count) {
count             341 drivers/watchdog/w83977f_wdt.c 			for (ofs = 0; ofs != count; ofs++) {
count             353 drivers/watchdog/w83977f_wdt.c 	return count;
count              95 drivers/watchdog/wafer5823wdt.c 						size_t count, loff_t *ppos)
count              98 drivers/watchdog/wafer5823wdt.c 	if (count) {
count             107 drivers/watchdog/wafer5823wdt.c 			for (i = 0; i != count; i++) {
count             119 drivers/watchdog/wafer5823wdt.c 	return count;
count             556 drivers/watchdog/watchdog_dev.c 					 const char *buf, size_t count)
count             562 drivers/watchdog/watchdog_dev.c 		ret = count;
count              53 drivers/watchdog/watchdog_pretimeout.c 	int count = 0;
count              58 drivers/watchdog/watchdog_pretimeout.c 		count += sprintf(buf + count, "%s\n", priv->gov->name);
count              62 drivers/watchdog/watchdog_pretimeout.c 	return count;
count              67 drivers/watchdog/watchdog_pretimeout.c 	int count = 0;
count              71 drivers/watchdog/watchdog_pretimeout.c 		count = sprintf(buf, "%s\n", wdd->gov->name);
count              74 drivers/watchdog/watchdog_pretimeout.c 	return count;
count             407 drivers/watchdog/wdrtas.c 		 size_t count, loff_t *ppos)
count             318 drivers/watchdog/wdt.c 						size_t count, loff_t *ppos)
count             320 drivers/watchdog/wdt.c 	if (count) {
count             327 drivers/watchdog/wdt.c 			for (i = 0; i != count; i++) {
count             337 drivers/watchdog/wdt.c 	return count;
count             460 drivers/watchdog/wdt.c 						size_t count, loff_t *ptr)
count             305 drivers/watchdog/wdt977.c 			    size_t count, loff_t *ppos)
count             307 drivers/watchdog/wdt977.c 	if (count) {
count             314 drivers/watchdog/wdt977.c 			for (i = 0; i != count; i++) {
count             326 drivers/watchdog/wdt977.c 	return count;
count             354 drivers/watchdog/wdt_pci.c 						size_t count, loff_t *ppos)
count             356 drivers/watchdog/wdt_pci.c 	if (count) {
count             363 drivers/watchdog/wdt_pci.c 			for (i = 0; i != count; i++) {
count             373 drivers/watchdog/wdt_pci.c 	return count;
count             500 drivers/watchdog/wdt_pci.c 						size_t count, loff_t *ptr)
count             507 drivers/watchdog/ziirave_wdt.c 					    const char *buf, size_t count)
count             554 drivers/watchdog/ziirave_wdt.c 	return err ? err : count;
count              85 drivers/watchdog/zx2967_wdt.c 	u32 count;
count              87 drivers/watchdog/zx2967_wdt.c 	count = timeout * ZX2967_WDT_CLK_FREQ;
count              88 drivers/watchdog/zx2967_wdt.c 	if (count > divisor * ZX2967_WDT_MAX_COUNT)
count              89 drivers/watchdog/zx2967_wdt.c 		divisor = DIV_ROUND_UP(count, ZX2967_WDT_MAX_COUNT);
count              90 drivers/watchdog/zx2967_wdt.c 	count = DIV_ROUND_UP(count, divisor);
count              94 drivers/watchdog/zx2967_wdt.c 			count & ZX2967_WDT_VAL_MASK);
count              96 drivers/watchdog/zx2967_wdt.c 	wdd->timeout =  (count * divisor) / ZX2967_WDT_CLK_FREQ;
count              15 drivers/xen/arm-device.c 				 unsigned int count)
count              22 drivers/xen/arm-device.c 	for (i = 0; i < count; i++) {
count              42 drivers/xen/arm-device.c 			       unsigned int count)
count              51 drivers/xen/arm-device.c 	for (i = 0; i < count; i++) {
count             206 drivers/xen/efi.c static efi_status_t xen_efi_get_next_high_mono_count(u32 *count)
count             213 drivers/xen/efi.c 	*count = efi_data(op).misc;
count             219 drivers/xen/efi.c 				unsigned long count, unsigned long sg_list)
count             228 drivers/xen/efi.c 	efi_data(op).u.update_capsule.capsule_count = count;
count             238 drivers/xen/efi.c 			unsigned long count, u64 *max_size, int *reset_type)
count             247 drivers/xen/efi.c 	efi_data(op).u.query_capsule_capabilities.capsule_count = count;
count            1222 drivers/xen/events/events_base.c 	unsigned count;
count            1234 drivers/xen/events/events_base.c 		count = __this_cpu_read(xed_nesting_count);
count            1236 drivers/xen/events/events_base.c 	} while (count != 1 || vcpu_info->evtchn_upcall_pending);
count             191 drivers/xen/evtchn.c 			   size_t count, loff_t *ppos)
count             198 drivers/xen/evtchn.c 	count &= ~(sizeof(evtchn_port_t)-1);
count             200 drivers/xen/evtchn.c 	if (count == 0)
count             203 drivers/xen/evtchn.c 	if (count > PAGE_SIZE)
count             204 drivers/xen/evtchn.c 		count = PAGE_SIZE;
count             240 drivers/xen/evtchn.c 	if (bytes1 > count) {
count             241 drivers/xen/evtchn.c 		bytes1 = count;
count             243 drivers/xen/evtchn.c 	} else if ((bytes1 + bytes2) > count) {
count             244 drivers/xen/evtchn.c 		bytes2 = count - bytes1;
count             263 drivers/xen/evtchn.c 			    size_t count, loff_t *ppos)
count             273 drivers/xen/evtchn.c 	count &= ~(sizeof(evtchn_port_t)-1);
count             276 drivers/xen/evtchn.c 	if (count == 0)
count             279 drivers/xen/evtchn.c 	if (count > PAGE_SIZE)
count             280 drivers/xen/evtchn.c 		count = PAGE_SIZE;
count             283 drivers/xen/evtchn.c 	if (copy_from_user(kbuf, buf, count) != 0)
count             288 drivers/xen/evtchn.c 	for (i = 0; i < (count/sizeof(evtchn_port_t)); i++) {
count             301 drivers/xen/evtchn.c 	rc = count;
count             107 drivers/xen/gntalloc.c 	int count;
count             130 drivers/xen/gntalloc.c 	for (i = 0; i < op->count; i++) {
count             165 drivers/xen/gntalloc.c 	gref_size -= (op->count - i);
count             219 drivers/xen/gntalloc.c 		uint64_t index, uint32_t count)
count             229 drivers/xen/gntalloc.c 			count--;
count             230 drivers/xen/gntalloc.c 			if (count == 0)
count             297 drivers/xen/gntalloc.c 	gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_KERNEL);
count             309 drivers/xen/gntalloc.c 	if (gref_size + op.count > limit) {
count             314 drivers/xen/gntalloc.c 	gref_size += op.count;
count             316 drivers/xen/gntalloc.c 	priv->index += op.count * PAGE_SIZE;
count             335 drivers/xen/gntalloc.c 			sizeof(gref_ids[0]) * op.count)) {
count             361 drivers/xen/gntalloc.c 	gref = find_grefs(priv, op.index, op.count);
count             367 drivers/xen/gntalloc.c 		for (i = 0; i < op.count; i++) {
count             487 drivers/xen/gntalloc.c 		for (i = 0; i < priv->count; i++) {
count             510 drivers/xen/gntalloc.c 	int count = vma_pages(vma);
count             525 drivers/xen/gntalloc.c 		       priv, vm_priv, vma->vm_pgoff, count);
count             527 drivers/xen/gntalloc.c 	gref = find_grefs(priv, vma->vm_pgoff << PAGE_SHIFT, count);
count             538 drivers/xen/gntalloc.c 	vm_priv->count = count;
count             546 drivers/xen/gntalloc.c 	for (i = 0; i < count; i++) {
count              55 drivers/xen/gntdev-common.h 	int count;
count              83 drivers/xen/gntdev-common.h struct gntdev_grant_map *gntdev_alloc_map(struct gntdev_priv *priv, int count,
count              90 drivers/xen/gntdev-common.h bool gntdev_account_mapped_pages(int count);
count             381 drivers/xen/gntdev-dmabuf.c 	int count;
count             399 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf->nr_pages = args->count;
count             410 drivers/xen/gntdev-dmabuf.c 	exp_info.size = args->count << PAGE_SHIFT;
count             445 drivers/xen/gntdev-dmabuf.c 				 int count)
count             449 drivers/xen/gntdev-dmabuf.c 	if (unlikely(count <= 0))
count             458 drivers/xen/gntdev-dmabuf.c 	map = gntdev_alloc_map(priv, count, dmabuf_flags);
count             462 drivers/xen/gntdev-dmabuf.c 	if (unlikely(gntdev_account_mapped_pages(count))) {
count             463 drivers/xen/gntdev-dmabuf.c 		pr_debug("can't map %d pages: over limit\n", count);
count             471 drivers/xen/gntdev-dmabuf.c 				int count, u32 domid, u32 *refs, u32 *fd)
count             477 drivers/xen/gntdev-dmabuf.c 	map = dmabuf_exp_alloc_backing_storage(priv, flags, count);
count             481 drivers/xen/gntdev-dmabuf.c 	for (i = 0; i < count; i++) {
count             503 drivers/xen/gntdev-dmabuf.c 	args.count = map->count;
count             523 drivers/xen/gntdev-dmabuf.c 				int count, int domid)
count             528 drivers/xen/gntdev-dmabuf.c 	ret = gnttab_alloc_grant_references(count, &priv_gref_head);
count             534 drivers/xen/gntdev-dmabuf.c 	for (i = 0; i < count; i++) {
count             556 drivers/xen/gntdev-dmabuf.c static void dmabuf_imp_end_foreign_access(u32 *refs, int count)
count             560 drivers/xen/gntdev-dmabuf.c 	for (i = 0; i < count; i++)
count             572 drivers/xen/gntdev-dmabuf.c static struct gntdev_dmabuf *dmabuf_imp_alloc_storage(int count)
count             581 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf->u.imp.refs = kcalloc(count,
count             587 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf->pages = kcalloc(count,
count             593 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf->nr_pages = count;
count             595 drivers/xen/gntdev-dmabuf.c 	for (i = 0; i < count; i++)
count             608 drivers/xen/gntdev-dmabuf.c 		   int fd, int count, int domid)
count             621 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf = dmabuf_imp_alloc_storage(count);
count             673 drivers/xen/gntdev-dmabuf.c 						      count, domid));
count             686 drivers/xen/gntdev-dmabuf.c 	dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs, count);
count             774 drivers/xen/gntdev-dmabuf.c 	if (unlikely(op.count <= 0))
count             777 drivers/xen/gntdev-dmabuf.c 	refs = kcalloc(op.count, sizeof(*refs), GFP_KERNEL);
count             781 drivers/xen/gntdev-dmabuf.c 	if (copy_from_user(refs, u->refs, sizeof(*refs) * op.count) != 0) {
count             786 drivers/xen/gntdev-dmabuf.c 	ret = dmabuf_exp_from_refs(priv, op.flags, op.count,
count             821 drivers/xen/gntdev-dmabuf.c 	if (unlikely(op.count <= 0))
count             826 drivers/xen/gntdev-dmabuf.c 					   op.count, op.domid);
count             831 drivers/xen/gntdev-dmabuf.c 			 sizeof(*u->refs) * op.count) != 0) {
count              75 drivers/xen/gntdev.c bool gntdev_account_mapped_pages(int count)
count              77 drivers/xen/gntdev.c 	return atomic_add_return(count, &pages_mapped) > limit;
count              89 drivers/xen/gntdev.c 		       map->index, map->count,
count             105 drivers/xen/gntdev.c 		args.nr_pages = map->count;
count             115 drivers/xen/gntdev.c 		gnttab_free_pages(map->count, map->pages);
count             129 drivers/xen/gntdev.c struct gntdev_grant_map *gntdev_alloc_map(struct gntdev_priv *priv, int count,
count             139 drivers/xen/gntdev.c 	add->grants    = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL);
count             140 drivers/xen/gntdev.c 	add->map_ops   = kcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL);
count             141 drivers/xen/gntdev.c 	add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL);
count             142 drivers/xen/gntdev.c 	add->kmap_ops  = kcalloc(count, sizeof(add->kmap_ops[0]), GFP_KERNEL);
count             143 drivers/xen/gntdev.c 	add->kunmap_ops = kcalloc(count, sizeof(add->kunmap_ops[0]), GFP_KERNEL);
count             144 drivers/xen/gntdev.c 	add->pages     = kcalloc(count, sizeof(add->pages[0]), GFP_KERNEL);
count             163 drivers/xen/gntdev.c 		add->frames = kcalloc(count, sizeof(add->frames[0]),
count             173 drivers/xen/gntdev.c 		args.nr_pages = count;
count             184 drivers/xen/gntdev.c 	if (gnttab_alloc_pages(count, add->pages))
count             187 drivers/xen/gntdev.c 	for (i = 0; i < count; i++) {
count             195 drivers/xen/gntdev.c 	add->count = count;
count             210 drivers/xen/gntdev.c 		if (add->index + add->count < map->index) {
count             214 drivers/xen/gntdev.c 		add->index = map->index + map->count;
count             223 drivers/xen/gntdev.c 						      int index, int count)
count             230 drivers/xen/gntdev.c 		if (count && map->count != count)
count             245 drivers/xen/gntdev.c 	atomic_sub(map->count, &pages_mapped);
count             259 drivers/xen/gntdev.c 		unmap_grant_pages(map, 0, map->count);
count             272 drivers/xen/gntdev.c 	BUG_ON(pgnr >= map->count);
count             307 drivers/xen/gntdev.c 		for (i = 0; i < map->count; i++) {
count             323 drivers/xen/gntdev.c 		for (i = 0; i < map->count; i++) {
count             337 drivers/xen/gntdev.c 	pr_debug("map %d+%d\n", map->index, map->count);
count             339 drivers/xen/gntdev.c 			map->pages, map->count);
count             343 drivers/xen/gntdev.c 	for (i = 0; i < map->count; i++) {
count             383 drivers/xen/gntdev.c 	unmap_data.count = pages;
count             405 drivers/xen/gntdev.c 	pr_debug("unmap %d+%d [%d+%d]\n", map->index, map->count, offset, pages);
count             507 drivers/xen/gntdev.c 			map->index, map->count,
count             561 drivers/xen/gntdev.c 				map->index, map->count,
count             563 drivers/xen/gntdev.c 		err = unmap_grant_pages(map, /* offset */ 0, map->count);
count             570 drivers/xen/gntdev.c 				map->index, map->count,
count             572 drivers/xen/gntdev.c 		err = unmap_grant_pages(map, /* offset */ 0, map->count);
count             670 drivers/xen/gntdev.c 	pr_debug("priv %p, add %d\n", priv, op.count);
count             671 drivers/xen/gntdev.c 	if (unlikely(op.count <= 0))
count             675 drivers/xen/gntdev.c 	map = gntdev_alloc_map(priv, op.count, 0 /* This is not a dma-buf. */);
count             679 drivers/xen/gntdev.c 	if (unlikely(gntdev_account_mapped_pages(op.count))) {
count             686 drivers/xen/gntdev.c 			   sizeof(map->grants[0]) * op.count) != 0) {
count             711 drivers/xen/gntdev.c 	pr_debug("priv %p, del %d+%d\n", priv, (int)op.index, (int)op.count);
count             714 drivers/xen/gntdev.c 	map = gntdev_find_map_index(priv, op.index >> PAGE_SHIFT, op.count);
count             749 drivers/xen/gntdev.c 	op.count = map->count;
count             793 drivers/xen/gntdev.c 		uint64_t end = (map->index + map->count) << PAGE_SHIFT;
count            1003 drivers/xen/gntdev.c 	for (i = 0; i < copy.count; i++) {
count            1074 drivers/xen/gntdev.c 	int count = vma_pages(vma);
count            1082 drivers/xen/gntdev.c 			index, count, vma->vm_start, vma->vm_pgoff);
count            1085 drivers/xen/gntdev.c 	map = gntdev_find_map_index(priv, index, count);
count            1137 drivers/xen/gntdev.c 		err = vm_map_pages_zero(vma, map->pages, map->count);
count            1170 drivers/xen/gntdev.c 		unmap_grant_pages(map, 0, map->count);
count             170 drivers/xen/grant-table.c static int get_free_entries(unsigned count)
count             178 drivers/xen/grant-table.c 	if ((gnttab_free_count < count) &&
count             179 drivers/xen/grant-table.c 	    ((rc = gnttab_expand(count - gnttab_free_count)) < 0)) {
count             185 drivers/xen/grant-table.c 	gnttab_free_count -= count;
count             186 drivers/xen/grant-table.c 	while (count-- > 1)
count             205 drivers/xen/grant-table.c 		if (gnttab_free_count >= callback->count) {
count             558 drivers/xen/grant-table.c 	int count = 1;
count             565 drivers/xen/grant-table.c 		count++;
count             569 drivers/xen/grant-table.c 	gnttab_free_count += count;
count             575 drivers/xen/grant-table.c int gnttab_alloc_grant_references(u16 count, grant_ref_t *head)
count             577 drivers/xen/grant-table.c 	int h = get_free_entries(count);
count             613 drivers/xen/grant-table.c 				  void (*fn)(void *), void *arg, u16 count)
count             630 drivers/xen/grant-table.c 	callback->count = count;
count             738 drivers/xen/grant-table.c 	if (xen_auto_xlat_grant_frames.count)
count             757 drivers/xen/grant-table.c 	xen_auto_xlat_grant_frames.count = max_nr_gframes;
count             765 drivers/xen/grant-table.c 	if (!xen_auto_xlat_grant_frames.count)
count             771 drivers/xen/grant-table.c 	xen_auto_xlat_grant_frames.count = 0;
count             958 drivers/xen/grant-table.c void gnttab_batch_map(struct gnttab_map_grant_ref *batch, unsigned count)
count             962 drivers/xen/grant-table.c 	if (HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, batch, count))
count             964 drivers/xen/grant-table.c 	for (op = batch; op < batch + count; op++)
count             971 drivers/xen/grant-table.c void gnttab_batch_copy(struct gnttab_copy *batch, unsigned count)
count             975 drivers/xen/grant-table.c 	if (HYPERVISOR_grant_table_op(GNTTABOP_copy, batch, count))
count             977 drivers/xen/grant-table.c 	for (op = batch; op < batch + count; op++)
count            1034 drivers/xen/grant-table.c 		    struct page **pages, unsigned int count)
count            1038 drivers/xen/grant-table.c 	ret = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map_ops, count);
count            1042 drivers/xen/grant-table.c 	for (i = 0; i < count; i++) {
count            1073 drivers/xen/grant-table.c 	return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count);
count            1079 drivers/xen/grant-table.c 		      struct page **pages, unsigned int count)
count            1084 drivers/xen/grant-table.c 	ret = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap_ops, count);
count            1088 drivers/xen/grant-table.c 	for (i = 0; i < count; i++)
count            1091 drivers/xen/grant-table.c 	return clear_foreign_p2m_mapping(unmap_ops, kunmap_ops, pages, count);
count            1115 drivers/xen/grant-table.c 	for (pc = 0; pc < item->count; pc++) {
count            1125 drivers/xen/grant-table.c 				item->pages, item->count);
count            1244 drivers/xen/grant-table.c 		BUG_ON(xen_auto_xlat_grant_frames.count < nr_gframes);
count              29 drivers/xen/mem-reservation.c void __xenmem_reservation_va_mapping_update(unsigned long count,
count              35 drivers/xen/mem-reservation.c 	for (i = 0; i < count; i++) {
count              63 drivers/xen/mem-reservation.c void __xenmem_reservation_va_mapping_reset(unsigned long count,
count              68 drivers/xen/mem-reservation.c 	for (i = 0; i < count; i++) {
count              93 drivers/xen/mem-reservation.c int xenmem_reservation_increase(int count, xen_pfn_t *frames)
count             103 drivers/xen/mem-reservation.c 	reservation.nr_extents = count;
count             109 drivers/xen/mem-reservation.c int xenmem_reservation_decrease(int count, xen_pfn_t *frames)
count             119 drivers/xen/mem-reservation.c 	reservation.nr_extents = count;
count             106 drivers/xen/pcpu.c 				  const char *buf, size_t count)
count             130 drivers/xen/pcpu.c 		ret = count;
count             136 drivers/xen/privcmd-buf.c 	unsigned long count = vma_pages(vma);
count             143 drivers/xen/privcmd-buf.c 	vma_priv = kzalloc(struct_size(vma_priv, pages, count), GFP_KERNEL);
count             147 drivers/xen/privcmd-buf.c 	for (i = 0; i < count; i++) {
count             165 drivers/xen/privcmd-buf.c 	if (vma_priv->n_pages != count)
count             536 drivers/xen/pvcalls-front.c 	int count = 0, flags;
count             556 drivers/xen/pvcalls-front.c 	count++;
count             565 drivers/xen/pvcalls-front.c 	if (sent >= 0 && len > 0 && count < PVCALLS_FRONT_MAX_SPIN)
count              65 drivers/xen/xen-acpi-pad.c 		package->package.count == 2 &&
count              63 drivers/xen/xen-acpi-processor.c 	dst_cx_states = kcalloc(_pr->power.count,
count              68 drivers/xen/xen-acpi-processor.c 	for (ok = 0, i = 1; i <= _pr->power.count; i++) {
count             102 drivers/xen/xen-acpi-processor.c 	op.u.set_pminfo.power.count = ok;
count             116 drivers/xen/xen-acpi-processor.c 		for (i = 1; i <= _pr->power.count; i++) {
count             164 drivers/xen/xen-balloon.c 			       size_t count)
count             176 drivers/xen/xen-balloon.c 	return count;
count             194 drivers/xen/xen-balloon.c 			    size_t count)
count             206 drivers/xen/xen-balloon.c 	return count;
count            1177 drivers/xen/xen-pciback/pci_stub.c 			      size_t count)
count            1190 drivers/xen/xen-pciback/pci_stub.c 		err = count;
count            1196 drivers/xen/xen-pciback/pci_stub.c 				 size_t count)
count            1209 drivers/xen/xen-pciback/pci_stub.c 		err = count;
count            1217 drivers/xen/xen-pciback/pci_stub.c 	size_t count = 0;
count            1222 drivers/xen/xen-pciback/pci_stub.c 		if (count >= PAGE_SIZE)
count            1225 drivers/xen/xen-pciback/pci_stub.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count            1233 drivers/xen/xen-pciback/pci_stub.c 	return count;
count            1241 drivers/xen/xen-pciback/pci_stub.c 	size_t count = 0;
count            1246 drivers/xen/xen-pciback/pci_stub.c 		if (count >= PAGE_SIZE)
count            1253 drivers/xen/xen-pciback/pci_stub.c 		count +=
count            1254 drivers/xen/xen-pciback/pci_stub.c 		    scnprintf(buf + count, PAGE_SIZE - count,
count            1262 drivers/xen/xen-pciback/pci_stub.c 	return count;
count            1267 drivers/xen/xen-pciback/pci_stub.c 				       const char *buf, size_t count)
count            1301 drivers/xen/xen-pciback/pci_stub.c 		err = count;
count            1307 drivers/xen/xen-pciback/pci_stub.c 			    size_t count)
count            1321 drivers/xen/xen-pciback/pci_stub.c 		err = count;
count            1327 drivers/xen/xen-pciback/pci_stub.c 	int count = 0;
count            1336 drivers/xen/xen-pciback/pci_stub.c 		if (count >= PAGE_SIZE)
count            1339 drivers/xen/xen-pciback/pci_stub.c 		count += scnprintf(buf + count, PAGE_SIZE - count,
count            1352 drivers/xen/xen-pciback/pci_stub.c 			if (count >= PAGE_SIZE)
count            1355 drivers/xen/xen-pciback/pci_stub.c 			count += scnprintf(buf + count, PAGE_SIZE - count,
count            1366 drivers/xen/xen-pciback/pci_stub.c 	return count;
count            1371 drivers/xen/xen-pciback/pci_stub.c 				size_t count)
count            1406 drivers/xen/xen-pciback/pci_stub.c 		err = count;
count            1414 drivers/xen/xen-pciback/pci_stub.c 	size_t count = 0;
count            1418 drivers/xen/xen-pciback/pci_stub.c 		if (count >= PAGE_SIZE)
count            1425 drivers/xen/xen-pciback/pci_stub.c 		count +=
count            1426 drivers/xen/xen-pciback/pci_stub.c 		    scnprintf(buf + count, PAGE_SIZE - count, "%s\n",
count            1430 drivers/xen/xen-pciback/pci_stub.c 	return count;
count            1471 drivers/xen/xen-scsiback.c 					      const char *page, size_t count)
count            1490 drivers/xen/xen-scsiback.c 	return count;
count            1614 drivers/xen/xen-scsiback.c 		const char *page, size_t count)
count            1627 drivers/xen/xen-scsiback.c 		return (!ret) ? count : ret;
count            1685 drivers/xen/xen-scsiback.c 	return count;
count              85 drivers/zorro/zorro-sysfs.c 				 char *buf, loff_t off, size_t count)
count              98 drivers/zorro/zorro-sysfs.c 	return memory_read_from_buffer(buf, count, &off, &cd, sizeof(cd));
count             556 fs/9p/v9fs.c   	ssize_t n = 0, count = 0, limit = PAGE_SIZE;
count             564 fs/9p/v9fs.c   				count = n;
count             568 fs/9p/v9fs.c   			count += n;
count             574 fs/9p/v9fs.c   	return count;
count             398 fs/affs/file.c 	size_t count = iov_iter_count(iter);
count             403 fs/affs/file.c 		loff_t size = offset + count;
count             411 fs/affs/file.c 		affs_write_failed(mapping, offset + count);
count             309 fs/afs/callback.c void afs_break_callbacks(struct afs_server *server, size_t count,
count             312 fs/afs/callback.c 	_enter("%p,%zu,", server, count);
count             318 fs/afs/callback.c 	for (; count > 0; callbacks++, count--) {
count             273 fs/afs/cmservice.c 		afs_break_callbacks(call->server, call->count, call->request);
count             305 fs/afs/cmservice.c 		call->count = ntohl(call->tmp);
count             306 fs/afs/cmservice.c 		_debug("FID count: %u", call->count);
count             307 fs/afs/cmservice.c 		if (call->count > AFSCBMAX)
count             311 fs/afs/cmservice.c 		call->buffer = kmalloc(array3_size(call->count, 3, 4),
count             315 fs/afs/cmservice.c 		afs_extract_to_buf(call, call->count * 3 * 4);
count             326 fs/afs/cmservice.c 		call->request = kcalloc(call->count,
count             334 fs/afs/cmservice.c 		for (loop = call->count; loop > 0; loop--, cb++) {
count             353 fs/afs/cmservice.c 		if (call->count2 != call->count && call->count2 != 0)
count             672 fs/afs/cmservice.c 		call->count = ntohl(call->tmp);
count             673 fs/afs/cmservice.c 		_debug("FID count: %u", call->count);
count             674 fs/afs/cmservice.c 		if (call->count > YFSCBMAX)
count             678 fs/afs/cmservice.c 		size = array_size(call->count, sizeof(struct yfs_xdr_YFSFid));
count             693 fs/afs/cmservice.c 		call->request = kcalloc(call->count,
count             701 fs/afs/cmservice.c 		for (loop = call->count; loop > 0; loop--, cb++) {
count            1501 fs/afs/fsclient.c 		call->count = ntohl(call->tmp);
count            1502 fs/afs/fsclient.c 		_debug("volname length: %u", call->count);
count            1503 fs/afs/fsclient.c 		if (call->count >= AFSNAMEMAX)
count            1506 fs/afs/fsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1519 fs/afs/fsclient.c 		p[call->count] = 0;
count            1531 fs/afs/fsclient.c 		call->count = ntohl(call->tmp);
count            1532 fs/afs/fsclient.c 		_debug("offline msg length: %u", call->count);
count            1533 fs/afs/fsclient.c 		if (call->count >= AFSNAMEMAX)
count            1536 fs/afs/fsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1549 fs/afs/fsclient.c 		p[call->count] = 0;
count            1562 fs/afs/fsclient.c 		call->count = ntohl(call->tmp);
count            1563 fs/afs/fsclient.c 		_debug("motd length: %u", call->count);
count            1564 fs/afs/fsclient.c 		if (call->count >= AFSNAMEMAX)
count            1567 fs/afs/fsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1580 fs/afs/fsclient.c 		p[call->count] = 0;
count            1857 fs/afs/fsclient.c 	u32 count;
count            1874 fs/afs/fsclient.c 		count = ntohl(call->tmp);
count            1876 fs/afs/fsclient.c 		call->count = count;
count            1877 fs/afs/fsclient.c 		call->count2 = count;
count            1878 fs/afs/fsclient.c 		afs_extract_discard(call, count * sizeof(__be32));
count            2053 fs/afs/fsclient.c 		call->count = 0;
count            2060 fs/afs/fsclient.c 		_debug("extract status array %u", call->count);
count            2066 fs/afs/fsclient.c 		scb = &call->out_scb[call->count];
count            2071 fs/afs/fsclient.c 		call->count++;
count            2072 fs/afs/fsclient.c 		if (call->count < call->count2)
count            2075 fs/afs/fsclient.c 		call->count = 0;
count            2092 fs/afs/fsclient.c 		call->count = 0;
count            2106 fs/afs/fsclient.c 		scb = &call->out_scb[call->count];
count            2108 fs/afs/fsclient.c 		call->count++;
count            2109 fs/afs/fsclient.c 		if (call->count < call->count2)
count             167 fs/afs/internal.h 	u32			count;		/* count for use in unmarshalling */
count             569 fs/afs/rotate.c 	static int count;
count             572 fs/afs/rotate.c 	if (!IS_ENABLED(CONFIG_AFS_DEBUG_CURSOR) || count > 3)
count             574 fs/afs/rotate.c 	count++;
count             340 fs/afs/rxrpc.c 		bytes = msg->msg_iter.count;
count             279 fs/afs/vl_rotate.c 	static int count;
count             282 fs/afs/vl_rotate.c 	if (!IS_ENABLED(CONFIG_AFS_DEBUG_CURSOR) || count > 3)
count             284 fs/afs/vl_rotate.c 	count++;
count             184 fs/afs/vlclient.c 	u32 uniquifier, nentries, count;
count             188 fs/afs/vlclient.c 	       call->unmarshall, iov_iter_count(call->_iter), call->count);
count             207 fs/afs/vlclient.c 		count		= ntohl(*bp);
count             209 fs/afs/vlclient.c 		nentries = min(nentries, count);
count             215 fs/afs/vlclient.c 		call->count = count;
count             220 fs/afs/vlclient.c 		count = min(call->count, 4U);
count             221 fs/afs/vlclient.c 		afs_extract_to_buf(call, count * sizeof(__be32));
count             225 fs/afs/vlclient.c 		ret = afs_extract_data(call, call->count > 4);
count             231 fs/afs/vlclient.c 		count = min(call->count, 4U);
count             232 fs/afs/vlclient.c 		for (i = 0; i < count; i++)
count             236 fs/afs/vlclient.c 		call->count -= count;
count             237 fs/afs/vlclient.c 		if (call->count > 0)
count             315 fs/afs/vlclient.c 	u32 count;
count             319 fs/afs/vlclient.c 	       call->unmarshall, iov_iter_count(call->_iter), call->count);
count             332 fs/afs/vlclient.c 		count = ntohl(call->tmp);
count             333 fs/afs/vlclient.c 		call->count = count;
count             334 fs/afs/vlclient.c 		call->count2 = count;
count             337 fs/afs/vlclient.c 		afs_extract_discard(call, count * sizeof(__be32));
count             446 fs/afs/vlclient.c 		call->count	= ntohl(*bp++);
count             449 fs/afs/vlclient.c 		if (call->count > YFS_MAXENDPOINTS)
count             453 fs/afs/vlclient.c 		alist = afs_alloc_addrlist(call->count, FS_SERVICE, AFS_FS_PORT);
count             459 fs/afs/vlclient.c 		if (call->count == 0)
count             512 fs/afs/vlclient.c 		call->count--;
count             513 fs/afs/vlclient.c 		if (call->count > 0)
count             518 fs/afs/vlclient.c 		call->count = call->count2;
count             519 fs/afs/vlclient.c 		if (!call->count)
count             521 fs/afs/vlclient.c 		if (call->count > YFS_MAXENDPOINTS)
count             554 fs/afs/vlclient.c 		if (call->count > 1)
count             587 fs/afs/vlclient.c 		call->count--;
count             588 fs/afs/vlclient.c 		if (call->count > 0)
count             237 fs/afs/write.c 	unsigned count, loop;
count             247 fs/afs/write.c 		count = last - first + 1;
count             248 fs/afs/write.c 		if (count > PAGEVEC_SIZE)
count             249 fs/afs/write.c 			count = PAGEVEC_SIZE;
count             250 fs/afs/write.c 		pv.nr = find_get_pages_contig(mapping, first, count, pv.pages);
count             251 fs/afs/write.c 		ASSERTCMP(pv.nr, ==, count);
count             253 fs/afs/write.c 		for (loop = 0; loop < count; loop++) {
count             280 fs/afs/write.c 	unsigned count, loop;
count             290 fs/afs/write.c 		count = last - first + 1;
count             291 fs/afs/write.c 		if (count > PAGEVEC_SIZE)
count             292 fs/afs/write.c 			count = PAGEVEC_SIZE;
count             293 fs/afs/write.c 		pv.nr = find_get_pages_contig(mapping, first, count, pv.pages);
count             294 fs/afs/write.c 		ASSERTCMP(pv.nr, ==, count);
count             296 fs/afs/write.c 		for (loop = 0; loop < count; loop++) {
count             319 fs/afs/write.c 	unsigned count, loop;
count             329 fs/afs/write.c 		count = last - first + 1;
count             330 fs/afs/write.c 		if (count > PAGEVEC_SIZE)
count             331 fs/afs/write.c 			count = PAGEVEC_SIZE;
count             333 fs/afs/write.c 					      first, count, pv.pages);
count             334 fs/afs/write.c 		ASSERTCMP(pv.nr, ==, count);
count             336 fs/afs/write.c 		for (loop = 0; loop < count; loop++) {
count             343 fs/afs/write.c 		first += count;
count             458 fs/afs/write.c 	unsigned long count, priv;
count             465 fs/afs/write.c 	count = 1;
count             492 fs/afs/write.c 		_debug("more %lx [%lx]", start, count);
count             541 fs/afs/write.c 		count += loop;
count             549 fs/afs/write.c 	} while (start <= final_page && count < 65536);
count             559 fs/afs/write.c 	last = first + count - 1;
count             566 fs/afs/write.c 		ret = count;
count             735 fs/afs/write.c 	size_t count = iov_iter_count(from);
count             738 fs/afs/write.c 	       vnode->fid.vid, vnode->fid.vnode, count);
count             746 fs/afs/write.c 	if (!count)
count            1458 fs/afs/yfsclient.c 		call->count = ntohl(call->tmp);
count            1459 fs/afs/yfsclient.c 		_debug("volname length: %u", call->count);
count            1460 fs/afs/yfsclient.c 		if (call->count >= AFSNAMEMAX)
count            1463 fs/afs/yfsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1476 fs/afs/yfsclient.c 		p[call->count] = 0;
count            1488 fs/afs/yfsclient.c 		call->count = ntohl(call->tmp);
count            1489 fs/afs/yfsclient.c 		_debug("offline msg length: %u", call->count);
count            1490 fs/afs/yfsclient.c 		if (call->count >= AFSNAMEMAX)
count            1493 fs/afs/yfsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1506 fs/afs/yfsclient.c 		p[call->count] = 0;
count            1519 fs/afs/yfsclient.c 		call->count = ntohl(call->tmp);
count            1520 fs/afs/yfsclient.c 		_debug("motd length: %u", call->count);
count            1521 fs/afs/yfsclient.c 		if (call->count >= AFSNAMEMAX)
count            1524 fs/afs/yfsclient.c 		size = (call->count + 3) & ~3; /* It's padded */
count            1537 fs/afs/yfsclient.c 		p[call->count] = 0;
count            1835 fs/afs/yfsclient.c 		call->count = 0;
count            1842 fs/afs/yfsclient.c 		_debug("extract status array %u", call->count);
count            1848 fs/afs/yfsclient.c 		scb = &call->out_scb[call->count];
count            1853 fs/afs/yfsclient.c 		call->count++;
count            1854 fs/afs/yfsclient.c 		if (call->count < call->count2)
count            1857 fs/afs/yfsclient.c 		call->count = 0;
count            1874 fs/afs/yfsclient.c 		call->count = 0;
count            1888 fs/afs/yfsclient.c 		scb = &call->out_scb[call->count];
count            1890 fs/afs/yfsclient.c 		call->count++;
count            1891 fs/afs/yfsclient.c 		if (call->count < call->count2)
count              94 fs/aio.c       	atomic_t count;
count             601 fs/aio.c       	if (ctx->rq_wait && atomic_dec_and_test(&ctx->rq_wait->count))
count             870 fs/aio.c       	atomic_set(&wait.count, table->nr);
count             894 fs/aio.c       	if (!atomic_sub_and_test(skipped, &wait.count)) {
count            1390 fs/aio.c       		atomic_set(&wait.count, 1);
count              66 fs/autofs/autofs_i.h 	atomic_t count;
count             214 fs/autofs/expire.c 			unsigned int ino_count = atomic_read(&ino->count);
count             382 fs/autofs/expire.c 			ino_count = atomic_read(&ino->count) + 1;
count             399 fs/autofs/expire.c 			ino_count = atomic_read(&ino->count) + 1;
count             572 fs/autofs/root.c 	atomic_inc(&ino->count);
count             575 fs/autofs/root.c 		atomic_inc(&p_ino->count);
count             613 fs/autofs/root.c 	if (atomic_dec_and_test(&ino->count)) {
count             616 fs/autofs/root.c 			atomic_dec(&p_ino->count);
count             713 fs/autofs/root.c 	if (atomic_dec_and_test(&ino->count)) {
count             716 fs/autofs/root.c 			atomic_dec(&p_ino->count);
count             763 fs/autofs/root.c 	atomic_inc(&ino->count);
count             766 fs/autofs/root.c 		atomic_inc(&p_ino->count);
count            1584 fs/binfmt_elf.c 	unsigned count, size, names_ofs, remaining, n;
count            1590 fs/binfmt_elf.c 	count = current->mm->map_count;
count            1591 fs/binfmt_elf.c 	if (count > UINT_MAX / 64)
count            1593 fs/binfmt_elf.c 	size = count * 64;
count            1595 fs/binfmt_elf.c 	names_ofs = (2 + 3 * count) * sizeof(data[0]);
count            1607 fs/binfmt_elf.c 	count = 0;
count            1635 fs/binfmt_elf.c 		count++;
count            1639 fs/binfmt_elf.c 	data[0] = count;
count            1645 fs/binfmt_elf.c 	n = current->mm->map_count - count;
count             321 fs/binfmt_misc.c static Node *create_entry(const char __user *buffer, size_t count)
count             328 fs/binfmt_misc.c 	pr_debug("register: received %zu bytes\n", count);
count             332 fs/binfmt_misc.c 	if ((count < 11) || (count > MAX_REGISTER_LENGTH))
count             336 fs/binfmt_misc.c 	memsize = sizeof(Node) + count + 8;
count             344 fs/binfmt_misc.c 	if (copy_from_user(buf, buffer, count))
count             352 fs/binfmt_misc.c 	memset(buf + count, del, 8);
count             506 fs/binfmt_misc.c 	if (p != buf + count)
count             526 fs/binfmt_misc.c static int parse_command(const char __user *buffer, size_t count)
count             530 fs/binfmt_misc.c 	if (count > 3)
count             532 fs/binfmt_misc.c 	if (copy_from_user(s, buffer, count))
count             534 fs/binfmt_misc.c 	if (!count)
count             536 fs/binfmt_misc.c 	if (s[count - 1] == '\n')
count             537 fs/binfmt_misc.c 		count--;
count             538 fs/binfmt_misc.c 	if (count == 1 && s[0] == '0')
count             540 fs/binfmt_misc.c 	if (count == 1 && s[0] == '1')
count             542 fs/binfmt_misc.c 	if (count == 2 && s[0] == '-' && s[1] == '1')
count             651 fs/binfmt_misc.c 				size_t count, loff_t *ppos)
count             655 fs/binfmt_misc.c 	int res = parse_command(buffer, count);
count             680 fs/binfmt_misc.c 	return count;
count             692 fs/binfmt_misc.c 			       size_t count, loff_t *ppos)
count             700 fs/binfmt_misc.c 	e = create_entry(buffer, count);
count             762 fs/binfmt_misc.c 	return count;
count             781 fs/binfmt_misc.c 		size_t count, loff_t *ppos)
count             783 fs/binfmt_misc.c 	int res = parse_command(buffer, count);
count             809 fs/binfmt_misc.c 	return count;
count              47 fs/btrfs/async-thread.c 	unsigned int count;
count             194 fs/btrfs/async-thread.c 	wq->count++;
count             195 fs/btrfs/async-thread.c 	wq->count %= (wq->thresh / 4);
count             196 fs/btrfs/async-thread.c 	if (!wq->count)
count             116 fs/btrfs/backref.c 	unsigned int count;
count             119 fs/btrfs/backref.c #define PREFTREE_INIT	{ .root = RB_ROOT_CACHED, .count = 0 }
count             259 fs/btrfs/backref.c 						     preftree->count);
count             265 fs/btrfs/backref.c 			update_share_count(sc, ref->count,
count             266 fs/btrfs/backref.c 					   ref->count + newref->count);
count             267 fs/btrfs/backref.c 			ref->count += newref->count;
count             273 fs/btrfs/backref.c 	update_share_count(sc, 0, newref->count);
count             274 fs/btrfs/backref.c 	preftree->count++;
count             275 fs/btrfs/backref.c 	trace_btrfs_prelim_ref_insert(fs_info, newref, NULL, preftree->count);
count             293 fs/btrfs/backref.c 	preftree->count = 0;
count             337 fs/btrfs/backref.c 			  u64 wanted_disk_byte, int count,
count             380 fs/btrfs/backref.c 	ref->count = count;
count             390 fs/btrfs/backref.c 			  u64 wanted_disk_byte, int count,
count             394 fs/btrfs/backref.c 			      parent, wanted_disk_byte, count, sc, gfp_mask);
count             401 fs/btrfs/backref.c 			    u64 wanted_disk_byte, int count,
count             409 fs/btrfs/backref.c 			      wanted_disk_byte, count, sc, gfp_mask);
count             426 fs/btrfs/backref.c 	u64 count = 0;
count             448 fs/btrfs/backref.c 	while (!ret && count < total_refs) {
count             464 fs/btrfs/backref.c 			count++;
count             561 fs/btrfs/backref.c 		 ref->root_id, level, ref->count, ret,
count             643 fs/btrfs/backref.c 		preftrees->indirect.count--;
count             645 fs/btrfs/backref.c 		if (ref->count == 0) {
count             769 fs/btrfs/backref.c 	int count;
count             788 fs/btrfs/backref.c 			count = node->ref_mod;
count             791 fs/btrfs/backref.c 			count = node->ref_mod * -1;
count             796 fs/btrfs/backref.c 		*total_refs += count;
count             805 fs/btrfs/backref.c 					       node->bytenr, count, sc,
count             816 fs/btrfs/backref.c 					     ref->parent, node->bytenr, count,
count             839 fs/btrfs/backref.c 					       &key, 0, node->bytenr, count, sc,
count             850 fs/btrfs/backref.c 					     node->bytenr, count, sc,
count             944 fs/btrfs/backref.c 			int count;
count             947 fs/btrfs/backref.c 			count = btrfs_shared_data_ref_count(leaf, sdref);
count             950 fs/btrfs/backref.c 					     bytenr, count, sc, GFP_NOFS);
count             960 fs/btrfs/backref.c 			int count;
count             964 fs/btrfs/backref.c 			count = btrfs_extent_data_ref_count(leaf, dref);
count             978 fs/btrfs/backref.c 					       &key, 0, bytenr, count,
count            1039 fs/btrfs/backref.c 			int count;
count            1043 fs/btrfs/backref.c 			count = btrfs_shared_data_ref_count(leaf, sdref);
count            1045 fs/btrfs/backref.c 					     key.offset, bytenr, count,
count            1058 fs/btrfs/backref.c 			int count;
count            1063 fs/btrfs/backref.c 			count = btrfs_extent_data_ref_count(leaf, dref);
count            1076 fs/btrfs/backref.c 					       &key, 0, bytenr, count,
count            1266 fs/btrfs/backref.c 		if (roots && ref->count && ref->root_id && ref->parent == 0) {
count            1278 fs/btrfs/backref.c 		if (ref->count && ref->parent) {
count              71 fs/btrfs/backref.h 	int count;
count             125 fs/btrfs/block-group.c 	atomic_inc(&cache->count);
count             130 fs/btrfs/block-group.c 	if (atomic_dec_and_test(&cache->count)) {
count             371 fs/btrfs/block-group.c 	refcount_inc(&ctl->count);
count             378 fs/btrfs/block-group.c 	if (refcount_dec_and_test(&ctl->count))
count             697 fs/btrfs/block-group.c 	refcount_set(&caching_ctl->count, 1);
count             717 fs/btrfs/block-group.c 		refcount_inc(&ctl->count);
count             804 fs/btrfs/block-group.c 	refcount_inc(&caching_ctl->count);
count            1024 fs/btrfs/block-group.c 					refcount_inc(&caching_ctl->count);
count            1621 fs/btrfs/block-group.c 	atomic_set(&cache->count, 1);
count            3145 fs/btrfs/block-group.c 		ASSERT(atomic_read(&block_group->count) == 1);
count              39 fs/btrfs/block-group.h 	refcount_t count;
count             104 fs/btrfs/block-group.h 	atomic_t count;
count             751 fs/btrfs/compression.c 	u32 count;
count            1255 fs/btrfs/compression.c 	for (i = 0; i < BUCKET_SIZE && ws->bucket[i].count > 0; i++) {
count            1256 fs/btrfs/compression.c 		p = ws->bucket[i].count;
count            1302 fs/btrfs/compression.c 	max_num = array[0].count;
count            1304 fs/btrfs/compression.c 		buf_num = array[i].count;
count            1317 fs/btrfs/compression.c 			buf_num = array[i].count;
count            1326 fs/btrfs/compression.c 			buf_num = array[i].count;
count            1344 fs/btrfs/compression.c 			buf_num = array_buf[i].count;
count            1353 fs/btrfs/compression.c 			buf_num = array_buf[i].count;
count            1394 fs/btrfs/compression.c 		coreset_sum += bucket[i].count;
count            1399 fs/btrfs/compression.c 	for (; i < BYTE_CORE_SET_HIGH && bucket[i].count > 0; i++) {
count            1400 fs/btrfs/compression.c 		coreset_sum += bucket[i].count;
count            1427 fs/btrfs/compression.c 		if (ws->bucket[i].count > 0)
count            1437 fs/btrfs/compression.c 		if (ws->bucket[i].count > 0) {
count            1543 fs/btrfs/compression.c 		ws->bucket[byte].count++;
count            1631 fs/btrfs/ctree.h 		   count, 32);
count            1634 fs/btrfs/ctree.h 		   count, 32);
count            1659 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(ref_count_v0, struct btrfs_extent_ref_v0, count, 32);
count            2400 fs/btrfs/ctree.h 			   unsigned long count);
count             263 fs/btrfs/delayed-inode.c 	if (delayed_node->count)
count             445 fs/btrfs/delayed-inode.c 	delayed_node->count++;
count             494 fs/btrfs/delayed-inode.c 	delayed_item->delayed_node->count--;
count             993 fs/btrfs/delayed-inode.c 		delayed_node->count--;
count            1006 fs/btrfs/delayed-inode.c 	delayed_node->count--;
count            1152 fs/btrfs/delayed-inode.c 	bool count = (nr > 0);
count            1168 fs/btrfs/delayed-inode.c 	while (curr_node && (!count || (count && nr--))) {
count            1213 fs/btrfs/delayed-inode.c 	if (!delayed_node->count) {
count            1851 fs/btrfs/delayed-inode.c 	delayed_node->count++;
count            1895 fs/btrfs/delayed-inode.c 	delayed_node->count++;
count              60 fs/btrfs/delayed-inode.h 	int count;
count            1989 fs/btrfs/extent-tree.c 	unsigned long count = 0;
count            2003 fs/btrfs/extent-tree.c 			count++;
count            2050 fs/btrfs/extent-tree.c 	} while ((nr != -1 && count < nr) || locked_ref);
count            2162 fs/btrfs/extent-tree.c 			   unsigned long count)
count            2169 fs/btrfs/extent-tree.c 	int run_all = count == (unsigned long)-1;
count            2179 fs/btrfs/extent-tree.c 	if (count == 0)
count            2180 fs/btrfs/extent-tree.c 		count = atomic_read(&delayed_refs->num_entries) * 2;
count            2186 fs/btrfs/extent-tree.c 	ret = __btrfs_run_delayed_refs(trans, count);
count             169 fs/btrfs/file-item.c 	int count = 0;
count             213 fs/btrfs/file-item.c 		if (count)
count             218 fs/btrfs/file-item.c 		count = btrfs_find_ordered_sum(inode, offset, disk_bytenr,
count             220 fs/btrfs/file-item.c 		if (count)
count             233 fs/btrfs/file-item.c 				count = 1;
count             268 fs/btrfs/file-item.c 		count = min_t(int, nblocks, (item_last_offset - disk_bytenr) >>
count             272 fs/btrfs/file-item.c 				   csum_size * count);
count             274 fs/btrfs/file-item.c 		csum += count * csum_size;
count             275 fs/btrfs/file-item.c 		nblocks -= count;
count             277 fs/btrfs/file-item.c 		while (count > 0) {
count             278 fs/btrfs/file-item.c 			count--;
count             287 fs/btrfs/file-item.c 	WARN_ON_ONCE(count);
count             406 fs/btrfs/file.c 		size_t count = min_t(size_t,
count             412 fs/btrfs/file.c 		copied = iov_iter_copy_from_user_atomic(page, i, offset, count);
count             426 fs/btrfs/file.c 		if (!PageUptodate(page) && copied < count)
count            1898 fs/btrfs/file.c 	size_t count;
count            1920 fs/btrfs/file.c 	count = iov_iter_count(from);
count            1928 fs/btrfs/file.c 		    check_can_nocow(BTRFS_I(inode), pos, &count) <= 0) {
count            1965 fs/btrfs/file.c 		end_pos = round_up(pos + count,
count            1705 fs/btrfs/free-space-cache.c 	unsigned long start, count;
count            1708 fs/btrfs/free-space-cache.c 	count = bytes_to_bits(bytes, ctl->unit);
count            1709 fs/btrfs/free-space-cache.c 	ASSERT(start + count <= BITS_PER_BITMAP);
count            1711 fs/btrfs/free-space-cache.c 	bitmap_clear(info->bitmap, start, count);
count            1730 fs/btrfs/free-space-cache.c 	unsigned long start, count;
count            1733 fs/btrfs/free-space-cache.c 	count = bytes_to_bits(bytes, ctl->unit);
count            1734 fs/btrfs/free-space-cache.c 	ASSERT(start + count <= BITS_PER_BITMAP);
count            1736 fs/btrfs/free-space-cache.c 	bitmap_set(info->bitmap, start, count);
count            2494 fs/btrfs/free-space-cache.c 	int count = 0;
count            2500 fs/btrfs/free-space-cache.c 			count++;
count            2509 fs/btrfs/free-space-cache.c 		   "%d blocks of free space at or bigger than bytes is", count);
count            2702 fs/btrfs/free-space-cache.c 	atomic_inc(&block_group->count);
count            3122 fs/btrfs/free-space-cache.c 		atomic_inc(&block_group->count);
count            3459 fs/btrfs/free-space-cache.c 		u64 count = 1;
count            3462 fs/btrfs/free-space-cache.c 		ret = search_bitmap(ctl, entry, &offset, &count, true);
count             258 fs/btrfs/inode-map.c 	u64 count;
count             275 fs/btrfs/inode-map.c 			count = 0;
count             277 fs/btrfs/inode-map.c 			count = min(root->ino_cache_progress - info->offset + 1,
count             282 fs/btrfs/inode-map.c 		if (count)
count             284 fs/btrfs/inode-map.c 					       info->offset, count);
count            2465 fs/btrfs/inode.c 	int count;
count            2652 fs/btrfs/inode.c 	old->count++;
count            2677 fs/btrfs/inode.c 		if (!old->count) {
count            3069 fs/btrfs/inode.c 		old->count = 0;
count            8742 fs/btrfs/inode.c 	size_t count = 0;
count            8759 fs/btrfs/inode.c 	count = iov_iter_count(iter);
count            8763 fs/btrfs/inode.c 					 offset + count - 1);
count            8771 fs/btrfs/inode.c 		if (offset + count <= inode->i_size) {
count            8780 fs/btrfs/inode.c 						   offset, count);
count            8789 fs/btrfs/inode.c 		dio_data.reserve = round_up(count,
count            8826 fs/btrfs/inode.c 		} else if (ret >= 0 && (size_t)ret < count)
count            8828 fs/btrfs/inode.c 					offset, count - (size_t)ret, true);
count            8829 fs/btrfs/inode.c 		btrfs_delalloc_release_extents(BTRFS_I(inode), count);
count             527 fs/btrfs/ordered-data.c 	u64 count = 0;
count             558 fs/btrfs/ordered-data.c 		count++;
count             572 fs/btrfs/ordered-data.c 	return count;
count            1019 fs/btrfs/raid56.c #define CONSUME_ALLOC(ptr, count)	do {				\
count            1021 fs/btrfs/raid56.c 		p = (unsigned char *)p + sizeof(*(ptr)) * (count);	\
count             438 fs/btrfs/ref-verify.c 	u64 offset, flags, count;
count             479 fs/btrfs/ref-verify.c 			count = btrfs_shared_data_ref_count(leaf, sref);
count             480 fs/btrfs/ref-verify.c 			ret = add_shared_data_ref(fs_info, offset, count,
count             502 fs/btrfs/ref-verify.c 	u32 count;
count             535 fs/btrfs/ref-verify.c 			count = btrfs_shared_data_ref_count(leaf, sref);
count             536 fs/btrfs/ref-verify.c 			ret = add_shared_data_ref(fs_info, key.offset, count,
count             161 fs/btrfs/sysfs.c 					const char *buf, size_t count)
count             196 fs/btrfs/sysfs.c 		return count;
count             224 fs/btrfs/sysfs.c 	return count;
count              28 fs/btrfs/tests/extent-io-tests.c 	int count = 0;
count              38 fs/btrfs/tests/extent-io-tests.c 				count++;
count              56 fs/btrfs/tests/extent-io-tests.c 	return count;
count            1581 fs/buffer.c    	int i, count;
count            1588 fs/buffer.c    		count = pagevec_count(&pvec);
count            1589 fs/buffer.c    		for (i = 0; i < count; i++) {
count            2183 fs/buffer.c    					unsigned long count)
count            2195 fs/buffer.c    	to = min_t(unsigned, PAGE_SIZE - from, count);
count             281 fs/ceph/caps.c 		ctx->count = need;
count             309 fs/ceph/caps.c 	if (!ctx->count)
count             312 fs/ceph/caps.c 	dout("unreserve caps ctx=%p count=%d\n", ctx, ctx->count);
count             314 fs/ceph/caps.c 	__ceph_unreserve_caps(mdsc, ctx->count);
count             315 fs/ceph/caps.c 	ctx->count = 0;
count             361 fs/ceph/caps.c 	     ctx, ctx->count, mdsc->caps_total_count, mdsc->caps_use_count,
count             363 fs/ceph/caps.c 	BUG_ON(!ctx->count);
count             364 fs/ceph/caps.c 	BUG_ON(ctx->count > mdsc->caps_reserve_count);
count             367 fs/ceph/caps.c 	ctx->count--;
count             193 fs/ceph/dir.c  		u64 count = div_u64(i_size_read(dir), sizeof(struct dentry *));
count             194 fs/ceph/dir.c  		while (count > 0) {
count             195 fs/ceph/dir.c  			u64 step = count >> 1;
count             211 fs/ceph/dir.c  				count -= step + 1;
count             213 fs/ceph/dir.c  				count = step;
count            1285 fs/ceph/dir.c  			if (dentry->d_lockref.count > 0) {
count            1363 fs/ceph/dir.c  		if (dentry->d_lockref.count > 0 ||
count            1375 fs/ceph/dir.c  	unsigned long count;
count            1381 fs/ceph/dir.c  		count = mdsc->caps_use_count - mdsc->caps_use_max;
count            1383 fs/ceph/dir.c  		count = 0;
count            1396 fs/ceph/dir.c  	lwc.expire_dir_lease = freed < count;
count             942 fs/ceph/file.c 	size_t count = iov_iter_count(iter);
count             951 fs/ceph/file.c 	     (write ? "write" : "read"), file, pos, (unsigned)count,
count             957 fs/ceph/file.c 					(pos + count - 1) >> PAGE_SHIFT);
count            1004 fs/ceph/file.c 		    (len == count || pos + count <= i_size_read(inode))) {
count            1146 fs/ceph/file.c 	size_t count = iov_iter_count(from);
count            1152 fs/ceph/file.c 	     file, pos, (unsigned)count, snapc, snapc->seq);
count            1155 fs/ceph/file.c 					   pos, pos + count - 1);
count            1161 fs/ceph/file.c 					    (pos + count - 1) >> PAGE_SHIFT);
count            1420 fs/ceph/file.c 	ssize_t count, written = 0;
count            1465 fs/ceph/file.c 	count = iov_iter_count(from);
count            1466 fs/ceph/file.c 	if (ceph_quota_is_max_bytes_exceeded(inode, pos + count)) {
count            1498 fs/ceph/file.c 	     inode, ceph_vinop(inode), pos, count, i_size_read(inode));
count            1504 fs/ceph/file.c 	err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count,
count            1510 fs/ceph/file.c 	     inode, ceph_vinop(inode), pos, count, ceph_cap_string(got));
count            1574 fs/ceph/file.c 	     inode, ceph_vinop(inode), pos, (unsigned)count,
count            1580 fs/ceph/file.c 		     inode, ceph_vinop(inode), pos, (unsigned)count);
count             457 fs/ceph/inode.c 	ci->i_xattrs.count = 0;
count            1051 fs/ceph/mds_client.c 	static const size_t count = ARRAY_SIZE(bits);
count            1053 fs/ceph/mds_client.c 	if (count > 0) {
count            1055 fs/ceph/mds_client.c 		size_t size = ((size_t)bits[count - 1] + 64) / 64 * 8;
count            1060 fs/ceph/mds_client.c 		for (i = 0; i < count; i++)
count            1775 fs/ceph/mds_client.c 			int count;
count            1778 fs/ceph/mds_client.c 			count = atomic_read(&inode->i_count);
count            1779 fs/ceph/mds_client.c 			if (count == 1)
count            1782 fs/ceph/mds_client.c 			     inode, cap, count);
count             587 fs/ceph/super.c 	pos = m->count;
count             594 fs/ceph/super.c 	if (m->count == pos)
count             595 fs/ceph/super.c 		m->count--;
count             299 fs/ceph/super.h 	int count;
count             494 fs/ceph/xattr.c 		ci->i_xattrs.count++;
count             495 fs/ceph/xattr.c 		dout("__set_xattr count=%d\n", ci->i_xattrs.count);
count             591 fs/ceph/xattr.c 	ci->i_xattrs.count--;
count             604 fs/ceph/xattr.c 	dout("__copy_xattr_names count=%d\n", ci->i_xattrs.count);
count             644 fs/ceph/xattr.c 	ci->i_xattrs.count = 0;
count             743 fs/ceph/xattr.c 	int size = 4 + ci->i_xattrs.count*(4 + 4) +
count             747 fs/ceph/xattr.c 	     ci->i_xattrs.count, ci->i_xattrs.names_size,
count             778 fs/ceph/xattr.c 		ceph_encode_32(&dest, ci->i_xattrs.count);
count             930 fs/ceph/xattr.c 	namelen = ci->i_xattrs.names_size + ci->i_xattrs.count;
count             200 fs/char_dev.c  int register_chrdev_region(dev_t from, unsigned count, const char *name)
count             203 fs/char_dev.c  	dev_t to = from + count;
count             236 fs/char_dev.c  int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count,
count             240 fs/char_dev.c  	cd = __register_chrdev_region(0, baseminor, count, name);
count             269 fs/char_dev.c  		      unsigned int count, const char *name,
count             276 fs/char_dev.c  	cd = __register_chrdev_region(major, baseminor, count, name);
count             288 fs/char_dev.c  	err = cdev_add(cdev, MKDEV(cd->major, baseminor), count);
count             298 fs/char_dev.c  	kfree(__unregister_chrdev_region(cd->major, baseminor, count));
count             311 fs/char_dev.c  void unregister_chrdev_region(dev_t from, unsigned count)
count             313 fs/char_dev.c  	dev_t to = from + count;
count             336 fs/char_dev.c  			 unsigned int count, const char *name)
count             340 fs/char_dev.c  	cd = __unregister_chrdev_region(major, baseminor, count);
count             479 fs/char_dev.c  int cdev_add(struct cdev *p, dev_t dev, unsigned count)
count             484 fs/char_dev.c  	p->count = count;
count             486 fs/char_dev.c  	error = kobj_map(cdev_map, dev, count, NULL,
count             575 fs/char_dev.c  static void cdev_unmap(dev_t dev, unsigned count)
count             577 fs/char_dev.c  	kobj_unmap(cdev_map, dev, count);
count             593 fs/char_dev.c  	cdev_unmap(p->dev, p->count);
count             176 fs/cifs/cifs_debug.c 						cfile->count,
count             432 fs/cifs/cifs_debug.c 		const char __user *buffer, size_t count, loff_t *ppos)
count             441 fs/cifs/cifs_debug.c 	rc = kstrtobool_from_user(buffer, count, &bv);
count             492 fs/cifs/cifs_debug.c 	return count;
count             593 fs/cifs/cifs_debug.c 	size_t count, loff_t *ppos) \
count             596 fs/cifs/cifs_debug.c 	rc = kstrtoint_from_user(buffer, count, 10, & name); \
count             599 fs/cifs/cifs_debug.c 	return count; \
count             726 fs/cifs/cifs_debug.c 		size_t count, loff_t *ppos)
count             742 fs/cifs/cifs_debug.c 	return count;
count             765 fs/cifs/cifs_debug.c 		const char __user *buffer, size_t count, loff_t *ppos)
count             769 fs/cifs/cifs_debug.c 	rc = kstrtobool_from_user(buffer, count, &linuxExtEnabled);
count             773 fs/cifs/cifs_debug.c 	return count;
count             796 fs/cifs/cifs_debug.c 		const char __user *buffer, size_t count, loff_t *ppos)
count             800 fs/cifs/cifs_debug.c 	rc = kstrtobool_from_user(buffer, count, &lookupCacheEnabled);
count             804 fs/cifs/cifs_debug.c 	return count;
count             827 fs/cifs/cifs_debug.c 		size_t count, loff_t *ppos)
count             831 fs/cifs/cifs_debug.c 	rc = kstrtobool_from_user(buffer, count, &traceSMB);
count             835 fs/cifs/cifs_debug.c 	return count;
count             886 fs/cifs/cifs_debug.c 		const char __user *buffer, size_t count, loff_t *ppos)
count             893 fs/cifs/cifs_debug.c 	if ((count < 1) || (count > 11))
count             898 fs/cifs/cifs_debug.c 	if (copy_from_user(flags_string, buffer, count))
count             901 fs/cifs/cifs_debug.c 	if (count < 3) {
count             905 fs/cifs/cifs_debug.c 			return count;
count             946 fs/cifs/cifs_debug.c 	return count;
count             653 fs/cifs/cifsglob.h inc_rfc1001_len(void *buf, int count)
count             655 fs/cifs/cifsglob.h 	be32_add_cpu((__be32 *)buf, count);
count            1264 fs/cifs/cifsglob.h 	int count;
count            1371 fs/cifs/cifsglob.h 	++cifs_file->count;
count             456 fs/cifs/cifspdu.h put_bcc(__u16 count, struct smb_hdr *hdr)
count             460 fs/cifs/cifspdu.h 	put_unaligned_le16(count, bc_ptr);
count             488 fs/cifs/cifssmb.c 	u16	count;
count             492 fs/cifs/cifssmb.c 	count = get_bcc(&pSMBr->hdr);
count             493 fs/cifs/cifssmb.c 	if (count < SMB1_CLIENT_GUID_SIZE)
count             508 fs/cifs/cifssmb.c 	if (count == SMB1_CLIENT_GUID_SIZE) {
count             511 fs/cifs/cifssmb.c 		count -= SMB1_CLIENT_GUID_SIZE;
count             513 fs/cifs/cifssmb.c 			pSMBr->u.extended_response.SecurityBlob, count, server);
count             674 fs/cifs/cifssmb.c 	u16 count;
count             694 fs/cifs/cifssmb.c 	count = 0;
count             702 fs/cifs/cifssmb.c 		memcpy(pSMB->DialectsArray+count, protocols[i].name, len);
count             703 fs/cifs/cifssmb.c 		count += len;
count             705 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count             706 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            1136 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            1158 fs/cifs/cifssmb.c 	count = sizeof(OPEN_PSX_REQ);
count            1179 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            1181 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            1301 fs/cifs/cifssmb.c 	__u16 count;
count            1312 fs/cifs/cifssmb.c 		count = 1;      /* account for one byte pad to word boundary */
count            1319 fs/cifs/cifssmb.c 		count = 0;      /* no pad */
count            1349 fs/cifs/cifssmb.c 	count += name_len;
count            1350 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            1352 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            1402 fs/cifs/cifssmb.c 	__u16 count;
count            1423 fs/cifs/cifssmb.c 		count = 1;
count            1433 fs/cifs/cifssmb.c 		count = 0;
count            1473 fs/cifs/cifssmb.c 	count += name_len;
count            1474 fs/cifs/cifssmb.c 	inc_rfc1001_len(req, count);
count            1476 fs/cifs/cifssmb.c 	req->ByteCount = cpu_to_le16(count);
count            1829 fs/cifs/cifssmb.c 	unsigned int count = io_parms->length;
count            1831 fs/cifs/cifssmb.c 	cifs_dbg(FYI, "Reading %d bytes on fid %d\n", count, netfid);
count            1861 fs/cifs/cifssmb.c 	pSMB->MaxCount = cpu_to_le16(count & 0xFFFF);
count            1862 fs/cifs/cifssmb.c 	pSMB->MaxCountHigh = cpu_to_le32(count >> 16);
count            1889 fs/cifs/cifssmb.c 				|| (data_length > count)) {
count            1891 fs/cifs/cifssmb.c 				 data_length, count);
count            1937 fs/cifs/cifssmb.c 	unsigned int count = io_parms->length;
count            1982 fs/cifs/cifssmb.c 		bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count);
count            1988 fs/cifs/cifssmb.c 	if (bytes_sent > count)
count            1989 fs/cifs/cifssmb.c 		bytes_sent = count;
count            1994 fs/cifs/cifssmb.c 	else if (count != 0) {
count            2032 fs/cifs/cifssmb.c 		if (*nbytes > count)
count            2370 fs/cifs/cifssmb.c 	unsigned int count = io_parms->length;
count            2375 fs/cifs/cifssmb.c 	cifs_dbg(FYI, "write2 at %lld %d bytes\n", (long long)offset, count);
count            2409 fs/cifs/cifssmb.c 	pSMB->DataLengthLow = cpu_to_le16(count & 0xFFFF);
count            2410 fs/cifs/cifssmb.c 	pSMB->DataLengthHigh = cpu_to_le16(count >> 16);
count            2414 fs/cifs/cifssmb.c 		inc_rfc1001_len(pSMB, count + 1);
count            2416 fs/cifs/cifssmb.c 		inc_rfc1001_len(pSMB, count + 5); /* smb data starts later */
count            2418 fs/cifs/cifssmb.c 		pSMB->ByteCount = cpu_to_le16(count + 1);
count            2422 fs/cifs/cifssmb.c 		pSMBW->ByteCount = cpu_to_le16(count + 5);
count            2450 fs/cifs/cifssmb.c 		if (*nbytes > count)
count            2471 fs/cifs/cifssmb.c 	__u16 count;
count            2487 fs/cifs/cifssmb.c 	count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE);
count            2488 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            2489 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            2519 fs/cifs/cifssmb.c 	__u16 count;
count            2553 fs/cifs/cifssmb.c 		count = sizeof(LOCKING_ANDX_RANGE);
count            2556 fs/cifs/cifssmb.c 		count = 0;
count            2558 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            2559 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            2590 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            2611 fs/cifs/cifssmb.c 	count = sizeof(struct cifs_posix_lock);
count            2620 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            2621 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            2772 fs/cifs/cifssmb.c 	__u16 count;
count            2809 fs/cifs/cifssmb.c 	count = 1 /* 1st signature byte */  + name_len + name_len2;
count            2810 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            2811 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            2839 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, count, byte_count;
count            2884 fs/cifs/cifssmb.c 	count = 12 /* sizeof(struct set_file_rename) */ + (2 * len_of_str);
count            2885 fs/cifs/cifssmb.c 	byte_count += count;
count            2886 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            2919 fs/cifs/cifssmb.c 	__u16 count;
count            2954 fs/cifs/cifssmb.c 	count = 1 /* 1st signature byte */  + name_len + name_len2;
count            2955 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            2956 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            3150 fs/cifs/cifssmb.c 	__u16 count;
count            3192 fs/cifs/cifssmb.c 	count = 1 /* string type byte */  + name_len + name_len2;
count            3193 fs/cifs/cifssmb.c 	inc_rfc1001_len(pSMB, count);
count            3194 fs/cifs/cifssmb.c 	pSMB->ByteCount = cpu_to_le16(count);
count            3279 fs/cifs/cifssmb.c 			u16 count = le16_to_cpu(pSMBr->t2.DataCount);
count            3291 fs/cifs/cifssmb.c 					count, is_unicode, nls_codepage);
count            3513 fs/cifs/cifssmb.c 	__u16 count;
count            3522 fs/cifs/cifssmb.c 		count = le16_to_cpu(cifs_acl->access_entry_count);
count            3525 fs/cifs/cifssmb.c 		size += sizeof(struct cifs_posix_ace) * count;
count            3533 fs/cifs/cifssmb.c 		count = le16_to_cpu(cifs_acl->access_entry_count);
count            3535 fs/cifs/cifssmb.c 		size += sizeof(struct cifs_posix_ace) * count;
count            3537 fs/cifs/cifssmb.c 		pACE = &cifs_acl->ace_array[count];
count            3538 fs/cifs/cifssmb.c 		count = le16_to_cpu(cifs_acl->default_entry_count);
count            3539 fs/cifs/cifssmb.c 		size += sizeof(struct cifs_posix_ace) * count;
count            3548 fs/cifs/cifssmb.c 	size = posix_acl_xattr_size(count);
count            3557 fs/cifs/cifssmb.c 		for (i = 0; i < count ; i++) {
count            3590 fs/cifs/cifssmb.c 	int count;
count            3596 fs/cifs/cifssmb.c 	count = posix_acl_xattr_count((size_t)buflen);
count            3598 fs/cifs/cifssmb.c 		 count, buflen, le32_to_cpu(local_acl->a_version));
count            3606 fs/cifs/cifssmb.c 		cifs_acl->access_entry_count = cpu_to_le16(count);
count            3609 fs/cifs/cifssmb.c 		cifs_acl->default_entry_count = cpu_to_le16(count);
count            3615 fs/cifs/cifssmb.c 	for (i = 0; i < count; i++)
count            3618 fs/cifs/cifssmb.c 		rc = (__u16)(count * sizeof(struct cifs_posix_ace));
count            3700 fs/cifs/cifssmb.c 			__u16 count = le16_to_cpu(pSMBr->t2.DataCount);
count            3703 fs/cifs/cifssmb.c 				buflen, acl_type, count);
count            3850 fs/cifs/cifssmb.c 			__u16 count = le16_to_cpu(pSMBr->t2.DataCount);
count            3853 fs/cifs/cifssmb.c 			if (count != 16) {
count            4895 fs/cifs/cifssmb.c 			__u16 count = le16_to_cpu(pSMBr->t2.DataCount);
count            4898 fs/cifs/cifssmb.c 			if (count < 8) {
count            5681 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            5702 fs/cifs/cifssmb.c 	count = sizeof(struct file_end_of_file_info);
count            5709 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            5710 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            5765 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            5788 fs/cifs/cifssmb.c 	count = sizeof(FILE_BASIC_INFO);
count            5795 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            5796 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            5830 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            5852 fs/cifs/cifssmb.c 	count = 1;
count            5859 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            5860 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            5891 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, byte_count, count;
count            5912 fs/cifs/cifssmb.c 	count = sizeof(FILE_BASIC_INFO);
count            5930 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            5932 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            6062 fs/cifs/cifssmb.c 	u16 params, param_offset, offset, byte_count, count;
count            6085 fs/cifs/cifssmb.c 	count = sizeof(FILE_UNIX_BASIC_INFO);
count            6093 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            6094 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            6132 fs/cifs/cifssmb.c 	__u16 params, param_offset, offset, count, byte_count;
count            6152 fs/cifs/cifssmb.c 	count = sizeof(FILE_UNIX_BASIC_INFO);
count            6167 fs/cifs/cifssmb.c 	memset(data_offset, 0, count);
count            6173 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            6175 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            6404 fs/cifs/cifssmb.c 	__u16 params, param_offset, byte_count, offset, count;
count            6434 fs/cifs/cifssmb.c 	count = sizeof(*parm_data) + ea_value_len + name_len;
count            6455 fs/cifs/cifssmb.c 	byte_count = 3 /* pad */  + params + count;
count            6456 fs/cifs/cifssmb.c 	pSMB->DataCount = cpu_to_le16(count);
count            6457 fs/cifs/cifssmb.c 	parm_data->list_len = cpu_to_le32(count);
count            4765 fs/cifs/connect.c 	int count;
count            4861 fs/cifs/connect.c 	for (count = 1; ;) {
count            4873 fs/cifs/connect.c 		if (count++ > MAX_NESTED_LINKS) {
count            5008 fs/cifs/connect.c 	__u16 bytes_left, count;
count            5093 fs/cifs/connect.c 	count = bcc_ptr - &pSMB->Password[0];
count            5095 fs/cifs/connect.c 					pSMB->hdr.smb_buf_length) + count);
count            5096 fs/cifs/connect.c 	pSMB->ByteCount = cpu_to_le16(count);
count             195 fs/cifs/dfs_cache.c 				   size_t count, loff_t *ppos)
count             212 fs/cifs/dfs_cache.c 	return count;
count             319 fs/cifs/file.c 	cfile->count = 1;
count             456 fs/cifs/file.c 	if (--cifs_file->count > 0) {
count            1284 fs/cifs/file.c 	unsigned int count = 0, i;
count            1297 fs/cifs/file.c 		count++;
count            1308 fs/cifs/file.c 	for (i = 0; i < count; i++) {
count            2875 fs/cifs/file.c 					from->iov_offset, from->count);
count            3478 fs/cifs/file.c 	return uncached_fill_pages(server, rdata, iter, iter->count);
count            3599 fs/cifs/file.c 					direct_iov.count);
count            4222 fs/cifs/file.c 	return readpages_fill_pages(server, rdata, iter, iter->count);
count            2014 fs/cifs/inode.c 	int count = 0;
count            2042 fs/cifs/inode.c 	if (rc == -EAGAIN && count++ < 10)
count             846 fs/cifs/misc.c 	size_t count = iov_iter_count(iter);
count             855 fs/cifs/misc.c 		ctx->len = count;
count             856 fs/cifs/misc.c 		iov_iter_advance(iter, count);
count             882 fs/cifs/misc.c 	saved_len = count;
count             884 fs/cifs/misc.c 	while (count && npages < max_pages) {
count             885 fs/cifs/misc.c 		rc = iov_iter_get_pages(iter, pages, count, max_pages, &start);
count             891 fs/cifs/misc.c 		if (rc > count) {
count             893 fs/cifs/misc.c 				 count);
count             898 fs/cifs/misc.c 		count -= rc;
count             922 fs/cifs/misc.c 	ctx->len = saved_len - count;
count             666 fs/cifs/sess.c 	__u16 count;
count             669 fs/cifs/sess.c 	count = sess_data->iov[1].iov_len + sess_data->iov[2].iov_len;
count             671 fs/cifs/sess.c 		cpu_to_be32(be32_to_cpu(smb_buf->smb_buf_length) + count);
count             672 fs/cifs/sess.c 	put_bcc(count, smb_buf);
count            4798 fs/cifs/smb2pdu.c 	unsigned int count;
count            4817 fs/cifs/smb2pdu.c 	count = num_lock * sizeof(struct smb2_lock_element);
count            4822 fs/cifs/smb2pdu.c 	iov[1].iov_len = count;
count            2060 fs/cifs/smbdirect.c 		msg->msg_iter.count = 0;
count              88 fs/coda/coda_psdev.h 			size_t count, loff_t ppos, int type);
count              44 fs/coda/file.c 	size_t count = iov_iter_count(to);
count              49 fs/coda/file.c 				  count, ki_pos, CODA_ACCESS_TYPE_READ);
count              58 fs/coda/file.c 			    count, ki_pos, CODA_ACCESS_TYPE_READ_FINISH);
count              70 fs/coda/file.c 	size_t count = iov_iter_count(to);
count              75 fs/coda/file.c 				  count, ki_pos, CODA_ACCESS_TYPE_WRITE);
count              91 fs/coda/file.c 			    count, ki_pos, CODA_ACCESS_TYPE_WRITE_FINISH);
count             133 fs/coda/file.c 	size_t count;
count             142 fs/coda/file.c 	count = vma->vm_end - vma->vm_start;
count             147 fs/coda/file.c 				  count, ppos, CODA_ACCESS_TYPE_MMAP);
count              99 fs/coda/psdev.c 	ssize_t retval = 0, count = 0;
count             117 fs/coda/psdev.c 			count = nbytes;
count             146 fs/coda/psdev.c 		count = nbytes;
count             186 fs/coda/psdev.c 	count = nbytes;
count             201 fs/coda/psdev.c         return(count ? count : retval);  
count             214 fs/coda/psdev.c 	ssize_t retval = 0, count = 0;
count             248 fs/coda/psdev.c 	count = req->uc_inSize;
count             252 fs/coda/psdev.c 		count = nbytes;
count             255 fs/coda/psdev.c 	if (copy_to_user(buf, req->uc_data, count))
count             269 fs/coda/psdev.c 	return (count ? count : retval);
count             364 fs/coda/upcall.c 		retlen = outp->coda_readlink.count;
count             574 fs/coda/upcall.c 			size_t count, loff_t ppos, int type)
count             590 fs/coda/upcall.c 	inp->coda_access_intent.count = count;
count              32 fs/configfs/file.c 	size_t			count;
count              61 fs/configfs/file.c 	ssize_t count = -ENOENT;
count              70 fs/configfs/file.c 		count = buffer->attr->show(buffer->item, buffer->page);
count              73 fs/configfs/file.c 	if (count < 0)
count              74 fs/configfs/file.c 		return count;
count              75 fs/configfs/file.c 	if (WARN_ON_ONCE(count > (ssize_t)SIMPLE_ATTR_SIZE))
count              78 fs/configfs/file.c 	buffer->count = count;
count             102 fs/configfs/file.c configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             114 fs/configfs/file.c 		 __func__, count, *ppos, buffer->page);
count             115 fs/configfs/file.c 	retval = simple_read_from_buffer(buf, count, ppos, buffer->page,
count             116 fs/configfs/file.c 					 buffer->count);
count             144 fs/configfs/file.c 		       size_t count, loff_t *ppos)
count             149 fs/configfs/file.c 	ssize_t len = min_t(size_t, count, PAGE_SIZE);
count             205 fs/configfs/file.c 	retval = simple_read_from_buffer(buf, count, ppos, buffer->bin_buffer,
count             224 fs/configfs/file.c fill_write_buffer(struct configfs_buffer * buffer, const char __user * buf, size_t count)
count             233 fs/configfs/file.c 	if (count >= SIMPLE_ATTR_SIZE)
count             234 fs/configfs/file.c 		count = SIMPLE_ATTR_SIZE - 1;
count             235 fs/configfs/file.c 	error = copy_from_user(buffer->page,buf,count);
count             239 fs/configfs/file.c 	buffer->page[count] = 0;
count             240 fs/configfs/file.c 	return error ? -EFAULT : count;
count             244 fs/configfs/file.c flush_write_buffer(struct file *file, struct configfs_buffer *buffer, size_t count)
count             251 fs/configfs/file.c 		res = buffer->attr->store(buffer->item, buffer->page, count);
count             275 fs/configfs/file.c configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
count             281 fs/configfs/file.c 	len = fill_write_buffer(buffer, buf, count);
count             305 fs/configfs/file.c 			size_t count, loff_t *ppos)
count             321 fs/configfs/file.c 	if (*ppos + count > buffer->bin_buffer_size) {
count             324 fs/configfs/file.c 			*ppos + count > buffer->cb_max_size) {
count             329 fs/configfs/file.c 		tbuf = vmalloc(*ppos + count);
count             344 fs/configfs/file.c 			*ppos + count - buffer->bin_buffer_size);
count             346 fs/configfs/file.c 		buffer->bin_buffer_size = *ppos + count;
count             350 fs/configfs/file.c 			buffer->bin_buffer_size, ppos, buf, count);
count             852 fs/dax.c       	unsigned long pfn, index, count;
count             909 fs/dax.c       	count = 1UL << dax_entry_order(entry);
count             910 fs/dax.c       	index = xas->xa_index & ~(count - 1);
count             913 fs/dax.c       	dax_flush(dax_dev, page_address(pfn_to_page(pfn)), count * PAGE_SIZE);
count             926 fs/dax.c       	trace_dax_writeback_one(mapping->host, index, count);
count             256 fs/dcache.c    		atomic_t count;
count             291 fs/dcache.c    		atomic_inc(&external_name(dentry)->u.count);
count             306 fs/dcache.c    		if (unlikely(atomic_dec_and_test(&p->u.count)))
count             341 fs/dcache.c    		if (likely(atomic_dec_and_test(&p->u.count))) {
count             651 fs/dcache.c    	dentry->d_lockref.count--;
count             695 fs/dcache.c    	if (unlikely(dentry->d_lockref.count != 1)) {
count             696 fs/dcache.c    		dentry->d_lockref.count--;
count             743 fs/dcache.c    		if (dentry->d_lockref.count > 1) {
count             744 fs/dcache.c    			dentry->d_lockref.count--;
count             799 fs/dcache.c    	if (dentry->d_lockref.count) {
count             809 fs/dcache.c    	dentry->d_lockref.count = 1;
count             869 fs/dcache.c    		--dentry->d_lockref.count;
count             873 fs/dcache.c    		if (!--dentry->d_lockref.count)
count             894 fs/dcache.c    	dentry->d_lockref.count++;
count             935 fs/dcache.c    	BUG_ON(!ret->d_lockref.count);
count             936 fs/dcache.c    	ret->d_lockref.count++;
count            1028 fs/dcache.c    		if (!dentry->d_lockref.count) {
count            1030 fs/dcache.c    			if (likely(!dentry->d_lockref.count)) {
count            1060 fs/dcache.c    	if (dentry->d_lockref.count)
count            1068 fs/dcache.c    		if (unlikely(dentry->d_lockref.count))
count            1087 fs/dcache.c    	if (likely(!dentry->d_lockref.count))
count            1108 fs/dcache.c    			if (dentry->d_lockref.count < 0)
count            1144 fs/dcache.c    	if (dentry->d_lockref.count) {
count            1485 fs/dcache.c    		if (!dentry->d_lockref.count) {
count            1510 fs/dcache.c    		if (!dentry->d_lockref.count) {
count            1518 fs/dcache.c    		if (!dentry->d_lockref.count)
count            1583 fs/dcache.c    	if (dentry == _data && dentry->d_lockref.count == 1)
count            1592 fs/dcache.c    		       dentry->d_lockref.count,
count            1711 fs/dcache.c    		atomic_set(&p->u.count, 1);
count            1725 fs/dcache.c    	dentry->d_lockref.count = 1;
count            2381 fs/dcache.c    		dentry->d_lockref.count++;
count            2447 fs/dcache.c    	if (dentry->d_lockref.count == 1) {
count            2779 fs/dcache.c    		atomic_inc(&external_name(target)->u.count);
count            2787 fs/dcache.c    	if (old_name && likely(atomic_dec_and_test(&old_name->u.count)))
count            2853 fs/dcache.c    		dentry->d_parent->d_lockref.count++;
count            2855 fs/dcache.c    			WARN_ON(!--old_parent->d_lockref.count);
count            3101 fs/dcache.c    			dentry->d_lockref.count--;
count              29 fs/debugfs/file.c 				 size_t count, loff_t *ppos)
count              35 fs/debugfs/file.c 				   size_t count, loff_t *ppos)
count              37 fs/debugfs/file.c 	return count;
count             811 fs/debugfs/file.c 			       size_t count, loff_t *ppos)
count             830 fs/debugfs/file.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             835 fs/debugfs/file.c 				size_t count, loff_t *ppos)
count             842 fs/debugfs/file.c 	r = kstrtobool_from_user(user_buf, count, &bv);
count             851 fs/debugfs/file.c 	return count;
count             906 fs/debugfs/file.c 			      size_t count, loff_t *ppos)
count             915 fs/debugfs/file.c 	r = simple_read_from_buffer(user_buf, count, ppos, blob->data,
count            1173 fs/direct-io.c 	const size_t count = iov_iter_count(iter);
count            1175 fs/direct-io.c 	const loff_t end = offset + count;
count            1196 fs/direct-io.c 	if (iov_iter_rw(iter) == READ && !count)
count            1380 fs/direct-io.c 	    (iov_iter_rw(iter) == READ || dio->result == count))
count             298 fs/dlm/ast.c   	int count = 0;
count             310 fs/dlm/ast.c   		count++;
count             311 fs/dlm/ast.c   		if (count == MAX_CB_QUEUE)
count             316 fs/dlm/ast.c   	if (count)
count             317 fs/dlm/ast.c   		log_rinfo(ls, "dlm_callback_resume %d", count);
count             318 fs/dlm/ast.c   	if (count == MAX_CB_QUEUE) {
count             319 fs/dlm/ast.c   		count = 0;
count             781 fs/dlm/config.c 	int rv, count;
count             794 fs/dlm/config.c 	count = sp->members_count;
count             796 fs/dlm/config.c 	nodes = kcalloc(count, sizeof(struct dlm_config_node), GFP_NOFS);
count             813 fs/dlm/config.c 	*count_out = count;
count             699 fs/dlm/debug_fs.c 			    size_t count, loff_t *ppos)
count             719 fs/dlm/debug_fs.c 	rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos);
count              67 fs/dlm/dir.c   	unsigned int count = 0, count_match = 0, count_bad = 0, count_add = 0;
count             179 fs/dlm/dir.c   				count++;
count             191 fs/dlm/dir.c   		  count, count_add);
count             365 fs/dlm/lock.c  	int count = 0;
count             386 fs/dlm/lock.c  	count = ls->ls_new_rsb_count;
count             389 fs/dlm/lock.c  	if (!count)
count             402 fs/dlm/lock.c  	int count;
count             406 fs/dlm/lock.c  		count = ls->ls_new_rsb_count;
count             409 fs/dlm/lock.c  			  count, dlm_config.ci_new_rsb_count, name);
count            2504 fs/dlm/lock.c  				 unsigned int *count)
count            2524 fs/dlm/lock.c  			if (count)
count            2525 fs/dlm/lock.c  				(*count)++;
count            2573 fs/dlm/lock.c  			      unsigned int *count)
count            2580 fs/dlm/lock.c  			if (count)
count            2581 fs/dlm/lock.c  				(*count)++;
count            2611 fs/dlm/lock.c  static void grant_pending_locks(struct dlm_rsb *r, unsigned int *count)
count            2623 fs/dlm/lock.c  	high = grant_pending_convert(r, high, &cw, count);
count            2624 fs/dlm/lock.c  	high = grant_pending_wait(r, high, &cw, count);
count            5396 fs/dlm/lock.c  			    int nodeid_gone, unsigned int *count)
count            5422 fs/dlm/lock.c  			(*count)++;
count            5515 fs/dlm/lock.c  	unsigned int count = 0;
count            5528 fs/dlm/lock.c  		count = 0;
count            5531 fs/dlm/lock.c  		grant_pending_locks(r, &count);
count            5533 fs/dlm/lock.c  		lkb_count += count;
count             902 fs/dlm/lockspace.c 	int count;
count             905 fs/dlm/lockspace.c 	count = 0;
count             909 fs/dlm/lockspace.c 			count++;
count             919 fs/dlm/lockspace.c 	if (count)
count             920 fs/dlm/lockspace.c 		log_print("dlm user daemon left %d lockspaces", count);
count            1492 fs/dlm/lowcomms.c 	int count = 0;
count            1531 fs/dlm/lowcomms.c 		if (++count >= MAX_SEND_MSG_COUNT) {
count            1533 fs/dlm/lowcomms.c 			count = 0;
count             673 fs/dlm/member.c 	int error, count;
count             679 fs/dlm/member.c 	error = dlm_config_nodes(ls->ls_name, &nodes, &count);
count             695 fs/dlm/member.c 	rv->nodes_count = count;
count             381 fs/dlm/plock.c static ssize_t dev_read(struct file *file, char __user *u, size_t count,
count             387 fs/dlm/plock.c 	if (count < sizeof(info))
count             418 fs/dlm/plock.c static ssize_t dev_write(struct file *file, const char __user *u, size_t count,
count             425 fs/dlm/plock.c 	if (count != sizeof(info))
count             460 fs/dlm/plock.c 	return count;
count             444 fs/dlm/recover.c static int recover_master(struct dlm_rsb *r, unsigned int *count)
count             478 fs/dlm/recover.c 	(*count)++;
count             497 fs/dlm/recover.c static int recover_master_static(struct dlm_rsb *r, unsigned int *count)
count             509 fs/dlm/recover.c 	(*count)++;
count             527 fs/dlm/recover.c 	unsigned int count = 0;
count             543 fs/dlm/recover.c 			error = recover_master_static(r, &count);
count             545 fs/dlm/recover.c 			error = recover_master(r, &count);
count             557 fs/dlm/recover.c 	log_rinfo(ls, "dlm_recover_masters %u of %u", count, total);
count             662 fs/dlm/recover.c 	int error, count = 0;
count             686 fs/dlm/recover.c 		count += r->res_recover_locks_count;
count             690 fs/dlm/recover.c 	log_rinfo(ls, "dlm_recover_locks %d out", count);
count             861 fs/dlm/recover.c 	unsigned int count = 0;
count             876 fs/dlm/recover.c 			count++;
count             887 fs/dlm/recover.c 	if (count)
count             888 fs/dlm/recover.c 		log_rinfo(ls, "dlm_recover_rsbs %d done", count);
count             939 fs/dlm/recover.c 	unsigned int count = 0;
count             949 fs/dlm/recover.c 			count++;
count             954 fs/dlm/recover.c 	if (count)
count             955 fs/dlm/recover.c 		log_rinfo(ls, "dlm_clear_toss %u done", count);
count             502 fs/dlm/user.c  			    size_t count, loff_t *ppos)
count             509 fs/dlm/user.c  	if (count < sizeof(struct dlm_write_request32))
count             511 fs/dlm/user.c  	if (count < sizeof(struct dlm_write_request))
count             519 fs/dlm/user.c  	if (count > sizeof(struct dlm_write_request) + DLM_RESNAME_MAXLEN)
count             522 fs/dlm/user.c  	kbuf = memdup_user_nul(buf, count);
count             536 fs/dlm/user.c  		if (count > sizeof(struct dlm_write_request32))
count             537 fs/dlm/user.c  			namelen = count - sizeof(struct dlm_write_request32);
count             688 fs/dlm/user.c  			       char __user *buf, size_t count)
count             732 fs/dlm/user.c  	if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) {
count             760 fs/dlm/user.c  static int copy_version_to_user(char __user *buf, size_t count)
count             776 fs/dlm/user.c  static ssize_t device_read(struct file *file, char __user *buf, size_t count,
count             786 fs/dlm/user.c  	if (count == sizeof(struct dlm_device_version)) {
count             787 fs/dlm/user.c  		rv = copy_version_to_user(buf, count);
count             792 fs/dlm/user.c  		log_print("non-version read from control device %zu", count);
count             797 fs/dlm/user.c  	if (count < sizeof(struct dlm_lock_result32))
count             799 fs/dlm/user.c  	if (count < sizeof(struct dlm_lock_result))
count             879 fs/dlm/user.c  				 cb.flags, cb.mode, copy_lvb, buf, count);
count             125 fs/ecryptfs/main.c 	int count, rc = 0;
count             129 fs/ecryptfs/main.c 	count = atomic_inc_return(&inode_info->lower_file_count);
count             130 fs/ecryptfs/main.c 	if (WARN_ON_ONCE(count < 1))
count             132 fs/ecryptfs/main.c 	else if (count == 1) {
count             210 fs/ecryptfs/miscdev.c ecryptfs_miscdev_read(struct file *file, char __user *buf, size_t count,
count             275 fs/ecryptfs/miscdev.c 	if (count < total_length) {
count             279 fs/ecryptfs/miscdev.c 		       "pending message\n", __func__, count, total_length);
count             353 fs/ecryptfs/miscdev.c 		       size_t count, loff_t *ppos)
count             362 fs/ecryptfs/miscdev.c 	if (count == 0) {
count             364 fs/ecryptfs/miscdev.c 	} else if (count == MIN_NON_MSG_PKT_SIZE) {
count             367 fs/ecryptfs/miscdev.c 	} else if (count < MIN_MSG_PKT_SIZE || count > MAX_MSG_PKT_SIZE) {
count             370 fs/ecryptfs/miscdev.c 		       __func__, MIN_MSG_PKT_SIZE, MAX_MSG_PKT_SIZE, count);
count             390 fs/ecryptfs/miscdev.c 	    != count) {
count             397 fs/ecryptfs/miscdev.c 	data = memdup_user(buf, count);
count             405 fs/ecryptfs/miscdev.c 		if (count < (MIN_MSG_PKT_SIZE
count             412 fs/ecryptfs/miscdev.c 				+ sizeof(struct ecryptfs_message)), count);
count             438 fs/ecryptfs/miscdev.c 	rc = count;
count              16 fs/efivarfs/file.c 		const char __user *userbuf, size_t count, loff_t *ppos)
count              22 fs/efivarfs/file.c 	unsigned long datasize = count - sizeof(attributes);
count              26 fs/efivarfs/file.c 	if (count < sizeof(attributes))
count              57 fs/efivarfs/file.c 	bytes = count;
count              66 fs/efivarfs/file.c 		size_t count, loff_t *ppos)
count             102 fs/efivarfs/file.c 	size = simple_read_from_buffer(userbuf, count, ppos,
count              97 fs/erofs/decompressor.c 	unsigned int count = min_t(uint, inlen, PAGE_SIZE - pageofs_in);
count             102 fs/erofs/decompressor.c 		memcpy(tmpp, src + pageofs_in, count);
count             105 fs/erofs/decompressor.c 		tmpp += count;
count             107 fs/erofs/decompressor.c 		count = PAGE_SIZE;
count             136 fs/erofs/utils.c 	int count = atomic_dec_return(&grp->refcount);
count             138 fs/erofs/utils.c 	if (count == 1)
count             140 fs/erofs/utils.c 	else if (!count)
count             142 fs/erofs/utils.c 	return count;
count              42 fs/eventfd.c   	__u64 count;
count              78 fs/eventfd.c   	if (ULLONG_MAX - ctx->count < n)
count              79 fs/eventfd.c   		n = ULLONG_MAX - ctx->count;
count              80 fs/eventfd.c   	ctx->count += n;
count             130 fs/eventfd.c   	u64 count;
count             172 fs/eventfd.c   	count = READ_ONCE(ctx->count);
count             174 fs/eventfd.c   	if (count > 0)
count             176 fs/eventfd.c   	if (count == ULLONG_MAX)
count             178 fs/eventfd.c   	if (ULLONG_MAX - 1 > count)
count             186 fs/eventfd.c   	*cnt = (ctx->flags & EFD_SEMAPHORE) ? 1 : ctx->count;
count             187 fs/eventfd.c   	ctx->count -= *cnt;
count             219 fs/eventfd.c   static ssize_t eventfd_read(struct file *file, char __user *buf, size_t count,
count             227 fs/eventfd.c   	if (count < sizeof(ucnt))
count             232 fs/eventfd.c   	if (ctx->count > 0)
count             238 fs/eventfd.c   			if (ctx->count > 0) {
count             266 fs/eventfd.c   static ssize_t eventfd_write(struct file *file, const char __user *buf, size_t count,
count             274 fs/eventfd.c   	if (count < sizeof(ucnt))
count             282 fs/eventfd.c   	if (ULLONG_MAX - ctx->count > ucnt)
count             288 fs/eventfd.c   			if (ULLONG_MAX - ctx->count > ucnt) {
count             304 fs/eventfd.c   		ctx->count += ucnt;
count             320 fs/eventfd.c   		   (unsigned long long)ctx->count);
count             406 fs/eventfd.c   static int do_eventfd(unsigned int count, int flags)
count             424 fs/eventfd.c   	ctx->count = count;
count             436 fs/eventfd.c   SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags)
count             438 fs/eventfd.c   	return do_eventfd(count, flags);
count             441 fs/eventfd.c   SYSCALL_DEFINE1(eventfd, unsigned int, count)
count             443 fs/eventfd.c   	return do_eventfd(count, 0);
count             456 fs/exec.c      	bprm->argc = count(argv, MAX_ARG_STRINGS);
count             460 fs/exec.c      	bprm->envc = count(envp, MAX_ARG_STRINGS);
count            1194 fs/exec.c      	if (refcount_read(&oldsighand->count) != 1) {
count            1204 fs/exec.c      		refcount_set(&newsighand->count, 1);
count              23 fs/ext2/acl.c  	int n, count;
count              34 fs/ext2/acl.c  	count = ext2_acl_count(size);
count              35 fs/ext2/acl.c  	if (count < 0)
count              37 fs/ext2/acl.c  	if (count == 0)
count              39 fs/ext2/acl.c  	acl = posix_acl_alloc(count, GFP_KERNEL);
count              42 fs/ext2/acl.c  	for (n=0; n < count; n++) {
count              27 fs/ext2/acl.h  static inline size_t ext2_acl_size(int count)
count              29 fs/ext2/acl.h  	if (count <= 4) {
count              31 fs/ext2/acl.h  		       count * sizeof(ext2_acl_entry_short);
count              35 fs/ext2/acl.h  		       (count - 4) * sizeof(ext2_acl_entry);
count             165 fs/ext2/balloc.c 	struct ext2_group_desc *desc, struct buffer_head *bh, int count)
count             167 fs/ext2/balloc.c 	if (count) {
count             173 fs/ext2/balloc.c 		desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count);
count             479 fs/ext2/balloc.c 		       unsigned long count)
count             493 fs/ext2/balloc.c 	if (!ext2_data_block_valid(sbi, block, count)) {
count             496 fs/ext2/balloc.c 			    "block = %lu, count = %lu", block, count);
count             500 fs/ext2/balloc.c 	ext2_debug ("freeing block(s) %lu-%lu\n", block, block + count - 1);
count             512 fs/ext2/balloc.c 	if (bit + count > EXT2_BLOCKS_PER_GROUP(sb)) {
count             513 fs/ext2/balloc.c 		overflow = bit + count - EXT2_BLOCKS_PER_GROUP(sb);
count             514 fs/ext2/balloc.c 		count -= overflow;
count             525 fs/ext2/balloc.c 	if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) ||
count             526 fs/ext2/balloc.c 	    in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) ||
count             529 fs/ext2/balloc.c 	    in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table),
count             534 fs/ext2/balloc.c 			    block, count);
count             538 fs/ext2/balloc.c 	for (i = 0, group_freed = 0; i < count; i++) {
count             556 fs/ext2/balloc.c 		block += count;
count             557 fs/ext2/balloc.c 		count = overflow;
count             666 fs/ext2/balloc.c 			unsigned long *count,
count             730 fs/ext2/balloc.c 	while (num < *count && grp_goal < end
count             736 fs/ext2/balloc.c 	*count = num;
count             739 fs/ext2/balloc.c 	*count = num;
count            1095 fs/ext2/balloc.c 			unsigned long *count)
count            1099 fs/ext2/balloc.c 	unsigned long num = *count;
count            1109 fs/ext2/balloc.c 						grp_goal, count, NULL);
count            1139 fs/ext2/balloc.c 			if (my_rsv->rsv_goal_size < *count)
count            1140 fs/ext2/balloc.c 				my_rsv->rsv_goal_size = *count;
count            1153 fs/ext2/balloc.c 			if (curr < *count)
count            1155 fs/ext2/balloc.c 							*count - curr);
count            1167 fs/ext2/balloc.c 			*count = num;
count            1170 fs/ext2/balloc.c 		num = *count;
count            1201 fs/ext2/balloc.c 			  unsigned int count)
count            1204 fs/ext2/balloc.c 	    (start_blk + count - 1 < start_blk) ||
count            1205 fs/ext2/balloc.c 	    (start_blk + count - 1 >= le32_to_cpu(sbi->s_es->s_blocks_count)))
count            1210 fs/ext2/balloc.c 	    (start_blk + count - 1 >= sbi->s_sb_block))
count            1231 fs/ext2/balloc.c 		    unsigned long *count, int *errp)
count            1251 fs/ext2/balloc.c 	unsigned long num = *count;
count            1429 fs/ext2/balloc.c 	if (num < *count) {
count            1430 fs/ext2/balloc.c 		dquot_free_block_nodirty(inode, *count-num);
count            1432 fs/ext2/balloc.c 		*count = num;
count            1443 fs/ext2/balloc.c 		dquot_free_block_nodirty(inode, *count);
count            1452 fs/ext2/balloc.c 	unsigned long count = 1;
count            1454 fs/ext2/balloc.c 	return ext2_new_blocks(inode, goal, &count, errp);
count             726 fs/ext2/ext2.h 				 unsigned int count);
count             669 fs/ext2/ialloc.c 	unsigned long count = 0;
count             676 fs/ext2/ialloc.c 		count += le16_to_cpu(gdp->bg_used_dirs_count);
count             678 fs/ext2/ialloc.c 	return count;
count             365 fs/ext2/inode.c 	unsigned long count = 0;
count             374 fs/ext2/inode.c 			count += blks;
count             376 fs/ext2/inode.c 			count += blocks_to_boundary + 1;
count             377 fs/ext2/inode.c 		return count;
count             380 fs/ext2/inode.c 	count++;
count             381 fs/ext2/inode.c 	while (count < blks && count <= blocks_to_boundary
count             382 fs/ext2/inode.c 		&& le32_to_cpu(*(branch[0].p + count)) == 0) {
count             383 fs/ext2/inode.c 		count++;
count             385 fs/ext2/inode.c 	return count;
count             403 fs/ext2/inode.c 	unsigned long count = 0;
count             419 fs/ext2/inode.c 		count = target;
count             421 fs/ext2/inode.c 		current_block = ext2_new_blocks(inode,goal,&count,err);
count             425 fs/ext2/inode.c 		target -= count;
count             427 fs/ext2/inode.c 		while (index < indirect_blks && count) {
count             429 fs/ext2/inode.c 			count--;
count             432 fs/ext2/inode.c 		if (count > 0)
count             440 fs/ext2/inode.c 	ret = count;
count             637 fs/ext2/inode.c 	int count = 0;
count             651 fs/ext2/inode.c 		count++;
count             653 fs/ext2/inode.c 		while (count < maxblocks && count <= blocks_to_boundary) {
count             664 fs/ext2/inode.c 				count = 0;
count             668 fs/ext2/inode.c 			blk = le32_to_cpu(*(chain[depth-1].p + count));
count             669 fs/ext2/inode.c 			if (blk == first_block + count)
count             670 fs/ext2/inode.c 				count++;
count             702 fs/ext2/inode.c 			count++;
count             728 fs/ext2/inode.c 	count = ext2_blks_to_allocate(partial, indirect_blks,
count             733 fs/ext2/inode.c 	err = ext2_alloc_branch(inode, indirect_blks, &count, goal,
count             748 fs/ext2/inode.c 				   count);
count             755 fs/ext2/inode.c 				le32_to_cpu(chain[depth-1].key), count,
count             764 fs/ext2/inode.c 	ext2_splice_branch(inode, iblock, partial, indirect_blks, count);
count             767 fs/ext2/inode.c 	if (count > blocks_to_boundary)
count             769 fs/ext2/inode.c 	err = count;
count             944 fs/ext2/inode.c 	size_t count = iov_iter_count(iter);
count             950 fs/ext2/inode.c 		ext2_write_failed(mapping, offset + count);
count            1109 fs/ext2/inode.c 	unsigned long block_to_free = 0, count = 0;
count            1117 fs/ext2/inode.c 			if (count == 0)
count            1119 fs/ext2/inode.c 			else if (block_to_free == nr - count)
count            1120 fs/ext2/inode.c 				count++;
count            1122 fs/ext2/inode.c 				ext2_free_blocks (inode, block_to_free, count);
count            1126 fs/ext2/inode.c 				count = 1;
count            1130 fs/ext2/inode.c 	if (count > 0) {
count            1131 fs/ext2/inode.c 		ext2_free_blocks (inode, block_to_free, count);
count              21 fs/ext4/acl.c  	int n, count;
count              32 fs/ext4/acl.c  	count = ext4_acl_count(size);
count              33 fs/ext4/acl.c  	if (count < 0)
count              35 fs/ext4/acl.c  	if (count == 0)
count              37 fs/ext4/acl.c  	acl = posix_acl_alloc(count, GFP_NOFS);
count              40 fs/ext4/acl.c  	for (n = 0; n < count; n++) {
count              27 fs/ext4/acl.h  static inline size_t ext4_acl_size(int count)
count              29 fs/ext4/acl.h  	if (count <= 4) {
count              31 fs/ext4/acl.h  		       count * sizeof(ext4_acl_entry_short);
count              35 fs/ext4/acl.h  		       (count - 4) * sizeof(ext4_acl_entry);
count             653 fs/ext4/balloc.c 				  unsigned long *count, int *errp)
count             662 fs/ext4/balloc.c 	ar.len = count ? *count : 1;
count             666 fs/ext4/balloc.c 	if (count)
count             667 fs/ext4/balloc.c 		*count = ar.len;
count              26 fs/ext4/block_validity.c 	unsigned int	count;
count              48 fs/ext4/block_validity.c 	if ((entry1->start_blk + entry1->count) == entry2->start_blk)
count              69 fs/ext4/block_validity.c 			   unsigned int count)
count              80 fs/ext4/block_validity.c 		else if (start_blk >= (entry->start_blk + entry->count))
count              83 fs/ext4/block_validity.c 			if (start_blk + count > (entry->start_blk +
count              84 fs/ext4/block_validity.c 						 entry->count))
count              85 fs/ext4/block_validity.c 				entry->count = (start_blk + count -
count             100 fs/ext4/block_validity.c 		new_entry->count = count;
count             113 fs/ext4/block_validity.c 			new_entry->count += entry->count;
count             124 fs/ext4/block_validity.c 			new_entry->count += entry->count;
count             143 fs/ext4/block_validity.c 		       entry->start_blk, entry->start_blk + entry->count - 1);
count             158 fs/ext4/block_validity.c 				     unsigned int count)
count             164 fs/ext4/block_validity.c 	    (start_blk + count < start_blk) ||
count             165 fs/ext4/block_validity.c 	    (start_blk + count > ext4_blocks_count(sbi->s_es))) {
count             176 fs/ext4/block_validity.c 		if (start_blk + count - 1 < entry->start_blk)
count             178 fs/ext4/block_validity.c 		else if (start_blk >= (entry->start_blk + entry->count))
count             343 fs/ext4/block_validity.c 			  unsigned int count)
count             356 fs/ext4/block_validity.c 					count);
count             213 fs/ext4/ext4.h 	atomic_t		count;		/* reference counter */
count            2344 fs/ext4/ext4.h 					 unsigned long *count,
count            2566 fs/ext4/ext4.h 			     unsigned long count, int flags);
count            2572 fs/ext4/ext4.h 				ext4_fsblk_t block, unsigned long count);
count            2849 fs/ext4/ext4.h 					 __u32 count);
count            2851 fs/ext4/ext4.h 				struct ext4_group_desc *bg, __u32 count);
count            2853 fs/ext4/ext4.h 				struct ext4_group_desc *bg, __u32 count);
count            2855 fs/ext4/ext4.h 				   struct ext4_group_desc *bg, __u32 count);
count            3263 fs/ext4/ext4.h 				 unsigned int count);
count            3320 fs/ext4/ext4.h 			     ext4_lblk_t lblk2,  ext4_lblk_t count,
count            5786 fs/ext4/extents.c 		  ext4_lblk_t count, int unwritten, int *erp)
count            5797 fs/ext4/extents.c 	*erp = ext4_es_remove_extent(inode1, lblk1, count);
count            5800 fs/ext4/extents.c 	*erp = ext4_es_remove_extent(inode2, lblk2, count);
count            5804 fs/ext4/extents.c 	while (count) {
count            5815 fs/ext4/extents.c 			count = 0;
count            5855 fs/ext4/extents.c 			if (len > count)
count            5856 fs/ext4/extents.c 				len = count;
count            5859 fs/ext4/extents.c 			count -= len;
count            5884 fs/ext4/extents.c 		len = count;
count            5947 fs/ext4/extents.c 		count -= len;
count             243 fs/ext4/ialloc.c 	int fatal = 0, err, count, cleared;
count             314 fs/ext4/ialloc.c 	count = ext4_free_inodes_count(sb, gdp) + 1;
count             315 fs/ext4/ialloc.c 	ext4_free_inodes_set(sb, gdp, count);
count             317 fs/ext4/ialloc.c 		count = ext4_used_dirs_count(sb, gdp) - 1;
count             318 fs/ext4/ialloc.c 		ext4_used_dirs_set(sb, gdp, count);
count            1326 fs/ext4/ialloc.c 	unsigned long count = 0;
count            1333 fs/ext4/ialloc.c 		count += ext4_used_dirs_count(sb, gdp);
count            1335 fs/ext4/ialloc.c 	return count;
count             273 fs/ext4/indirect.c 	unsigned int count = 0;
count             282 fs/ext4/indirect.c 			count += blks;
count             284 fs/ext4/indirect.c 			count += blocks_to_boundary + 1;
count             285 fs/ext4/indirect.c 		return count;
count             288 fs/ext4/indirect.c 	count++;
count             289 fs/ext4/indirect.c 	while (count < blks && count <= blocks_to_boundary &&
count             290 fs/ext4/indirect.c 		le32_to_cpu(*(branch[0].p + count)) == 0) {
count             291 fs/ext4/indirect.c 		count++;
count             293 fs/ext4/indirect.c 	return count;
count             521 fs/ext4/indirect.c 	int count = 0;
count             538 fs/ext4/indirect.c 		count++;
count             540 fs/ext4/indirect.c 		while (count < map->m_len && count <= blocks_to_boundary) {
count             543 fs/ext4/indirect.c 			blk = le32_to_cpu(*(chain[depth-1].p + count));
count             545 fs/ext4/indirect.c 			if (blk == first_block + count)
count             546 fs/ext4/indirect.c 				count++;
count             564 fs/ext4/indirect.c 		count = 0;
count             566 fs/ext4/indirect.c 			count = count * epb + (epb - offsets[i] - 1);
count             567 fs/ext4/indirect.c 		count++;
count             570 fs/ext4/indirect.c 		map->m_len = min_t(unsigned int, map->m_len, count);
count             631 fs/ext4/indirect.c 	count = ar.len;
count             635 fs/ext4/indirect.c 	map->m_len = count;
count             636 fs/ext4/indirect.c 	if (count > blocks_to_boundary)
count             638 fs/ext4/indirect.c 	err = count;
count             826 fs/ext4/indirect.c 			     unsigned long count, __le32 *first,
count             840 fs/ext4/indirect.c 				   count)) {
count             843 fs/ext4/indirect.c 				 (unsigned long long) block_to_free, count);
count             872 fs/ext4/indirect.c 	ext4_free_blocks(handle, inode, NULL, block_to_free, count, flags);
count             903 fs/ext4/indirect.c 	unsigned long count = 0;	    /* Number of blocks in the run */
count             925 fs/ext4/indirect.c 			if (count == 0) {
count             928 fs/ext4/indirect.c 				count = 1;
count             929 fs/ext4/indirect.c 			} else if (nr == block_to_free + count) {
count             930 fs/ext4/indirect.c 				count++;
count             933 fs/ext4/indirect.c 						        block_to_free, count,
count             939 fs/ext4/indirect.c 				count = 1;
count             944 fs/ext4/indirect.c 	if (!err && count > 0)
count             946 fs/ext4/indirect.c 					count, block_to_free_p, p);
count            1333 fs/ext4/inline.c 	int err = 0, count = 0;
count            1402 fs/ext4/inline.c 				ret = count;
count            1422 fs/ext4/inline.c 		count++;
count            1424 fs/ext4/inline.c 	ret = count;
count            3683 fs/ext4/inode.c 	size_t count = iov_iter_count(iter);
count            3687 fs/ext4/inode.c 	loff_t final_size = offset + count;
count            3837 fs/ext4/inode.c 	size_t count = iov_iter_count(iter);
count            3853 fs/ext4/inode.c 					   iocb->ki_pos + count - 1);
count            3867 fs/ext4/inode.c 	size_t count = iov_iter_count(iter);
count            3888 fs/ext4/inode.c 	trace_ext4_direct_IO_enter(inode, offset, count, iov_iter_rw(iter));
count            3893 fs/ext4/inode.c 	trace_ext4_direct_IO_exit(inode, offset, count, iov_iter_rw(iter), ret);
count             454 fs/ext4/mballoc.c 			   int first, int count)
count             462 fs/ext4/mballoc.c 	for (i = 0; i < count; i++) {
count             481 fs/ext4/mballoc.c static void mb_mark_used_double(struct ext4_buddy *e4b, int first, int count)
count             488 fs/ext4/mballoc.c 	for (i = 0; i < count; i++) {
count             516 fs/ext4/mballoc.c 				struct ext4_buddy *e4b, int first, int count)
count             521 fs/ext4/mballoc.c 						int first, int count)
count             553 fs/ext4/mballoc.c 	int count;
count             575 fs/ext4/mballoc.c 		count = 0;
count             599 fs/ext4/mballoc.c 			count++;
count             601 fs/ext4/mballoc.c 		MB_CHECK_ASSERT(e4b->bd_info->bb_counters[order] == count);
count             769 fs/ext4/mballoc.c 	int count;
count             773 fs/ext4/mballoc.c 	while ((buddy = mb_find_buddy(e4b, order++, &count))) {
count             774 fs/ext4/mballoc.c 		ext4_set_bits(buddy, 0, count);
count            1414 fs/ext4/mballoc.c 			   int first, int count)
count            1419 fs/ext4/mballoc.c 	int last = first + count - 1;
count            1422 fs/ext4/mballoc.c 	if (WARN_ON(count == 0))
count            1431 fs/ext4/mballoc.c 	mb_free_blocks_double(inode, e4b, first, count);
count            1433 fs/ext4/mballoc.c 	e4b->bd_info->bb_free += count;
count            1442 fs/ext4/mballoc.c 	block = mb_test_and_clear_bits(e4b->bd_bitmap, first, count);
count            2702 fs/ext4/mballoc.c 	int count = 0;
count            2707 fs/ext4/mballoc.c 		count++;
count            2710 fs/ext4/mballoc.c 	if (count)
count            2711 fs/ext4/mballoc.c 		mb_debug(1, "mballoc: %u PAs left\n", count);
count            2779 fs/ext4/mballoc.c 		ext4_group_t block_group, ext4_grpblk_t cluster, int count,
count            2786 fs/ext4/mballoc.c 	count = EXT4_C2B(EXT4_SB(sb), count);
count            2788 fs/ext4/mballoc.c 			(unsigned long long) discard_block, count);
count            2792 fs/ext4/mballoc.c 			(sector_t)count << (sb->s_blocksize_bits - 9),
count            2795 fs/ext4/mballoc.c 		return sb_issue_discard(sb, discard_block, count, GFP_NOFS, 0);
count            2803 fs/ext4/mballoc.c 	int err, count = 0, count2 = 0;
count            2818 fs/ext4/mballoc.c 	count += entry->efd_count;
count            2845 fs/ext4/mballoc.c 	mb_debug(1, "freed %u blocks in %u structures\n", count, count2);
count            4727 fs/ext4/mballoc.c 		      unsigned long count, int flags)
count            4752 fs/ext4/mballoc.c 	    !ext4_data_block_valid(sbi, block, count)) {
count            4754 fs/ext4/mballoc.c 			   "block = %llu, count = %lu", block, count);
count            4759 fs/ext4/mballoc.c 	trace_ext4_free_blocks(inode, block, count, flags);
count            4762 fs/ext4/mballoc.c 		BUG_ON(count > 1);
count            4780 fs/ext4/mballoc.c 			if (count > overflow)
count            4781 fs/ext4/mballoc.c 				count -= overflow;
count            4786 fs/ext4/mballoc.c 			count += overflow;
count            4789 fs/ext4/mballoc.c 	overflow = EXT4_LBLK_COFF(sbi, count);
count            4792 fs/ext4/mballoc.c 			if (count > overflow)
count            4793 fs/ext4/mballoc.c 				count -= overflow;
count            4797 fs/ext4/mballoc.c 			count += sbi->s_cluster_ratio - overflow;
count            4804 fs/ext4/mballoc.c 		for (i = 0; i < count; i++) {
count            4824 fs/ext4/mballoc.c 	if (EXT4_C2B(sbi, bit) + count > EXT4_BLOCKS_PER_GROUP(sb)) {
count            4825 fs/ext4/mballoc.c 		overflow = EXT4_C2B(sbi, bit) + count -
count            4827 fs/ext4/mballoc.c 		count -= overflow;
count            4829 fs/ext4/mballoc.c 	count_clusters = EXT4_NUM_B2C(sbi, count);
count            4842 fs/ext4/mballoc.c 	if (in_range(ext4_block_bitmap(sb, gdp), block, count) ||
count            4843 fs/ext4/mballoc.c 	    in_range(ext4_inode_bitmap(sb, gdp), block, count) ||
count            4846 fs/ext4/mballoc.c 	    in_range(block + count - 1, ext4_inode_table(sb, gdp),
count            4850 fs/ext4/mballoc.c 			   "Block = %llu, count = %lu", block, count);
count            4914 fs/ext4/mballoc.c 			err = ext4_issue_discard(sb, block_group, bit, count,
count            4919 fs/ext4/mballoc.c 					 " with %d", block_group, bit, count,
count            4967 fs/ext4/mballoc.c 		block += count;
count            4968 fs/ext4/mballoc.c 		count = overflow;
count            4988 fs/ext4/mballoc.c 			 ext4_fsblk_t block, unsigned long count)
count            5001 fs/ext4/mballoc.c 	ext4_fsblk_t last_cluster = EXT4_B2C(sbi, block + count - 1);
count            5004 fs/ext4/mballoc.c 	ext4_debug("Adding block(s) %llu-%llu\n", block, block + count - 1);
count            5006 fs/ext4/mballoc.c 	if (count == 0)
count            5034 fs/ext4/mballoc.c 	if (in_range(ext4_block_bitmap(sb, desc), block, count) ||
count            5035 fs/ext4/mballoc.c 	    in_range(ext4_inode_bitmap(sb, desc), block, count) ||
count            5037 fs/ext4/mballoc.c 	    in_range(block + count - 1, ext4_inode_table(sb, desc),
count            5041 fs/ext4/mballoc.c 			   block, count);
count            5130 fs/ext4/mballoc.c static int ext4_trim_extent(struct super_block *sb, int start, int count,
count            5138 fs/ext4/mballoc.c 	trace_ext4_trim_extent(sb, group, start, count);
count            5144 fs/ext4/mballoc.c 	ex.fe_len = count;
count            5152 fs/ext4/mballoc.c 	ret = ext4_issue_discard(sb, group, start, count, NULL);
count            5182 fs/ext4/mballoc.c 	ext4_grpblk_t next, count = 0, free_count = 0;
count            5216 fs/ext4/mballoc.c 			count += next - start;
count            5222 fs/ext4/mballoc.c 			count = -ERESTARTSYS;
count            5237 fs/ext4/mballoc.c 		ret = count;
count            5245 fs/ext4/mballoc.c 		count, group);
count              90 fs/ext4/move_extent.c mext_check_coverage(struct inode *inode, ext4_lblk_t from, ext4_lblk_t count,
count              96 fs/ext4/move_extent.c 	ext4_lblk_t last = from + count;
count             199 fs/ext4/namei.c 	__le16 count;
count             279 fs/ext4/namei.c static void dx_sort_map(struct dx_map_entry *map, unsigned count);
count             281 fs/ext4/namei.c 		struct dx_map_entry *offsets, int count, unsigned blocksize);
count             436 fs/ext4/namei.c 			   int count_offset, int count, struct dx_tail *t)
count             445 fs/ext4/namei.c 	size = count_offset + (count * sizeof(struct dx_entry));
count             458 fs/ext4/namei.c 	int count_offset, limit, count;
count             469 fs/ext4/namei.c 	count = le16_to_cpu(c->count);
count             478 fs/ext4/namei.c 					    count, t))
count             487 fs/ext4/namei.c 	int count_offset, limit, count;
count             498 fs/ext4/namei.c 	count = le16_to_cpu(c->count);
count             506 fs/ext4/namei.c 	t->dt_checksum = ext4_dx_csum(inode, dirent, count_offset, count, t);
count             554 fs/ext4/namei.c 	return le16_to_cpu(((struct dx_countlimit *) entries)->count);
count             564 fs/ext4/namei.c 	((struct dx_countlimit *) entries)->count = cpu_to_le16(value);
count             709 fs/ext4/namei.c 	unsigned count = dx_get_count(entries), names = 0, space = 0, i;
count             712 fs/ext4/namei.c 	printk("%i indexed blocks...\n", count);
count             713 fs/ext4/namei.c 	for (i = 0; i < count; i++, entries++)
count             717 fs/ext4/namei.c 		u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash;
count             753 fs/ext4/namei.c 	unsigned count, indirect;
count             815 fs/ext4/namei.c 		count = dx_get_count(entries);
count             816 fs/ext4/namei.c 		if (!count || count > dx_get_limit(entries)) {
count             819 fs/ext4/namei.c 					   count, dx_get_limit(entries));
count             824 fs/ext4/namei.c 		q = entries + count - 1;
count             835 fs/ext4/namei.c 			unsigned n = count - 1;
count             992 fs/ext4/namei.c 	int err = 0, count = 0;
count            1052 fs/ext4/namei.c 				count = err;
count            1061 fs/ext4/namei.c 			count = err;
count            1064 fs/ext4/namei.c 		count++;
count            1071 fs/ext4/namei.c 	return count;
count            1091 fs/ext4/namei.c 	int count = 0;
count            1107 fs/ext4/namei.c 			count = ext4_inlinedir_to_tree(dir_file, dir, 0,
count            1113 fs/ext4/namei.c 				return count;
count            1116 fs/ext4/namei.c 		count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo,
count            1119 fs/ext4/namei.c 		return count;
count            1136 fs/ext4/namei.c 		count++;
count            1147 fs/ext4/namei.c 		count++;
count            1163 fs/ext4/namei.c 		count += ret;
count            1178 fs/ext4/namei.c 		    (count && ((hashval & 1) == 0)))
count            1183 fs/ext4/namei.c 		       "next hash: %x\n", count, *next_hash));
count            1184 fs/ext4/namei.c 	return count;
count            1212 fs/ext4/namei.c 	int count = 0;
count            1223 fs/ext4/namei.c 			count++;
count            1229 fs/ext4/namei.c 	return count;
count            1233 fs/ext4/namei.c static void dx_sort_map (struct dx_map_entry *map, unsigned count)
count            1235 fs/ext4/namei.c 	struct dx_map_entry *p, *q, *top = map + count - 1;
count            1238 fs/ext4/namei.c 	while (count > 2) {
count            1239 fs/ext4/namei.c 		count = count*10/13;
count            1240 fs/ext4/namei.c 		if (count - 9 < 2) /* 9, 10 -> 11 */
count            1241 fs/ext4/namei.c 			count = 11;
count            1242 fs/ext4/namei.c 		for (p = top, q = p - count; q >= map; p--, q--)
count            1263 fs/ext4/namei.c 	int count = dx_get_count(entries);
count            1265 fs/ext4/namei.c 	assert(count < dx_get_limit(entries));
count            1266 fs/ext4/namei.c 	assert(old < entries + count);
count            1267 fs/ext4/namei.c 	memmove(new + 1, new, (char *)(entries + count) - (char *)(new));
count            1270 fs/ext4/namei.c 	dx_set_count(entries, count + 1);
count            1762 fs/ext4/namei.c dx_move_dirents(char *from, char *to, struct dx_map_entry *map, int count,
count            1767 fs/ext4/namei.c 	while (count--) {
count            1816 fs/ext4/namei.c 	unsigned count, continued;
count            1851 fs/ext4/namei.c 	count = dx_make_map(dir, (struct ext4_dir_entry_2 *) data1,
count            1853 fs/ext4/namei.c 	map -= count;
count            1854 fs/ext4/namei.c 	dx_sort_map(map, count);
count            1858 fs/ext4/namei.c 	for (i = count-1; i >= 0; i--) {
count            1866 fs/ext4/namei.c 	split = count - move;
count            1871 fs/ext4/namei.c 					hash2, split, count-split));
count            1874 fs/ext4/namei.c 	de2 = dx_move_dirents(data1, data2, map + split, count - split,
count             249 fs/ext4/page-io.c 		atomic_set(&io->count, 1);
count             256 fs/ext4/page-io.c 	if (atomic_dec_and_test(&io_end->count)) {
count             269 fs/ext4/page-io.c 	if (atomic_dec_and_test(&io_end->count)) {
count             284 fs/ext4/page-io.c 	atomic_inc(&io_end->count);
count             215 fs/ext4/resize.c 	ext4_group_t count;			/* number of groups in @groups
count             235 fs/ext4/resize.c 	flex_gd->count = flexbg_size;
count             295 fs/ext4/resize.c 	BUG_ON(flex_gd->count == 0 || group_data == NULL);
count             298 fs/ext4/resize.c 	last_group  = src_group + flex_gd->count - 1;
count             304 fs/ext4/resize.c 	if (src_group >= group_data[0].group + flex_gd->count)
count             324 fs/ext4/resize.c 	for (; bb_index < flex_gd->count; bb_index++) {
count             335 fs/ext4/resize.c 	for (; ib_index < flex_gd->count; ib_index++) {
count             346 fs/ext4/resize.c 	for (; it_index < flex_gd->count; it_index++) {
count             370 fs/ext4/resize.c 	for (i = 0; i < flex_gd->count; i++) {
count             381 fs/ext4/resize.c 		       "%d groups, flexbg size is %d:\n", flex_gd->count,
count             384 fs/ext4/resize.c 		for (i = 0; i < flex_gd->count; i++) {
count             456 fs/ext4/resize.c 	ext4_group_t count = last_cluster - first_cluster + 1;
count             461 fs/ext4/resize.c 	for (count2 = count; count > 0;
count             462 fs/ext4/resize.c 	     count -= count2, first_cluster += count2) {
count             473 fs/ext4/resize.c 		if (count2 > count)
count             474 fs/ext4/resize.c 			count2 = count;
count             477 fs/ext4/resize.c 			BUG_ON(flex_gd->count > 1);
count             533 fs/ext4/resize.c 	ext4_group_t group, count;
count             538 fs/ext4/resize.c 	BUG_ON(!flex_gd->count || !group_data ||
count             550 fs/ext4/resize.c 	for (i = 0; i < flex_gd->count; i++, group++) {
count             681 fs/ext4/resize.c 		count = group_table_count[j];
count             684 fs/ext4/resize.c 		for (i = 1; i < flex_gd->count; i++) {
count             687 fs/ext4/resize.c 				count += group_table_count[j];
count             694 fs/ext4/resize.c 							       start + count
count             698 fs/ext4/resize.c 			count = group_table_count[j];
count             703 fs/ext4/resize.c 		if (count) {
count             708 fs/ext4/resize.c 							       start + count
count            1221 fs/ext4/resize.c 			      ext4_group_t count)
count            1230 fs/ext4/resize.c 	for (i = 0; i < count; i++, group++) {
count            1318 fs/ext4/resize.c 	for (i = 0; i < flex_gd->count; i++, group_data++, bg_flags++) {
count            1386 fs/ext4/resize.c 	BUG_ON(flex_gd->count == 0 || group_data == NULL);
count            1397 fs/ext4/resize.c 	for (i = 0; i < flex_gd->count; i++) {
count            1410 fs/ext4/resize.c 		     flex_gd->count);
count            1412 fs/ext4/resize.c 		     flex_gd->count);
count            1436 fs/ext4/resize.c 	sbi->s_groups_count += flex_gd->count;
count            1449 fs/ext4/resize.c 			   EXT4_INODES_PER_GROUP(sb) * flex_gd->count);
count            1461 fs/ext4/resize.c 		atomic_add(EXT4_INODES_PER_GROUP(sb) * flex_gd->count,
count            1472 fs/ext4/resize.c 		       "%llu blocks(%llu free %llu reserved)\n", flex_gd->count,
count            1493 fs/ext4/resize.c 	BUG_ON(!flex_gd->count || !flex_gd->groups || !flex_gd->bg_flags);
count            1512 fs/ext4/resize.c 	credit += 1 + DIV_ROUND_UP(flex_gd->count, EXT4_DESC_PER_BLOCK(sb));
count            1528 fs/ext4/resize.c 				resize_inode, flex_gd->count);
count            1547 fs/ext4/resize.c 		int gdb_num_end = ((group + flex_gd->count - 1) /
count            1601 fs/ext4/resize.c 	flex_gd->count = last_group - group + 1;
count            1603 fs/ext4/resize.c 	for (i = 0; i < flex_gd->count; i++) {
count            1704 fs/ext4/resize.c 	flex_gd.count = 1;
count             308 fs/ext4/super.c 				  struct ext4_group_desc *bg, __u32 count)
count             310 fs/ext4/super.c 	bg->bg_free_blocks_count_lo = cpu_to_le16((__u16)count);
count             312 fs/ext4/super.c 		bg->bg_free_blocks_count_hi = cpu_to_le16(count >> 16);
count             316 fs/ext4/super.c 			  struct ext4_group_desc *bg, __u32 count)
count             318 fs/ext4/super.c 	bg->bg_free_inodes_count_lo = cpu_to_le16((__u16)count);
count             320 fs/ext4/super.c 		bg->bg_free_inodes_count_hi = cpu_to_le16(count >> 16);
count             324 fs/ext4/super.c 			  struct ext4_group_desc *bg, __u32 count)
count             326 fs/ext4/super.c 	bg->bg_used_dirs_count_lo = cpu_to_le16((__u16)count);
count             328 fs/ext4/super.c 		bg->bg_used_dirs_count_hi = cpu_to_le16(count >> 16);
count             332 fs/ext4/super.c 			  struct ext4_group_desc *bg, __u32 count)
count             334 fs/ext4/super.c 	bg->bg_itable_unused_lo = cpu_to_le16((__u16)count);
count             336 fs/ext4/super.c 		bg->bg_itable_unused_hi = cpu_to_le16(count >> 16);
count             847 fs/ext4/super.c 			int count;
count             849 fs/ext4/super.c 			count = ext4_free_inodes_count(sb, gdp);
count             851 fs/ext4/super.c 					   count);
count            3468 fs/ext4/super.c 	int			s, j, count = 0;
count            3482 fs/ext4/super.c 			count++;
count            3487 fs/ext4/super.c 			count++;
count            3494 fs/ext4/super.c 				count++;
count            3501 fs/ext4/super.c 			count++;
count            3509 fs/ext4/super.c 		count += j;
count            3513 fs/ext4/super.c 	if (!count)
count              81 fs/ext4/sysfs.c 					  const char *buf, size_t count)
count              94 fs/ext4/sysfs.c 	return count;
count              98 fs/ext4/sysfs.c 				   const char *buf, size_t count)
count             110 fs/ext4/sysfs.c 	return count;
count             114 fs/ext4/sysfs.c 				  const char *buf, size_t count)
count             116 fs/ext4/sysfs.c 	int len = count;
count             126 fs/ext4/sysfs.c 	return count;
count              41 fs/ext4/verity.c static int pagecache_read(struct inode *inode, void *buf, size_t count,
count              44 fs/ext4/verity.c 	while (count) {
count              45 fs/ext4/verity.c 		size_t n = min_t(size_t, count,
count              63 fs/ext4/verity.c 		count -= n;
count              72 fs/ext4/verity.c static int pagecache_write(struct inode *inode, const void *buf, size_t count,
count              75 fs/ext4/verity.c 	if (pos + count > inode->i_sb->s_maxbytes)
count              78 fs/ext4/verity.c 	while (count) {
count              79 fs/ext4/verity.c 		size_t n = min_t(size_t, count,
count             104 fs/ext4/verity.c 		count -= n;
count            2823 fs/ext4/xattr.c 		(*ea_inode_array)->count = 0;
count            2824 fs/ext4/xattr.c 	} else if (((*ea_inode_array)->count & EIA_MASK) == EIA_MASK) {
count            2827 fs/ext4/xattr.c 		int count = (*ea_inode_array)->count;
count            2832 fs/ext4/xattr.c 					 inodes[count + EIA_INCR]),
count            2837 fs/ext4/xattr.c 		       offsetof(struct ext4_xattr_inode_array, inodes[count]));
count            2841 fs/ext4/xattr.c 	(*ea_inode_array)->inodes[(*ea_inode_array)->count++] = inode;
count            2960 fs/ext4/xattr.c 	for (idx = 0; idx < ea_inode_array->count; ++idx)
count             120 fs/ext4/xattr.h 	unsigned int count;		/* # of used items in the array */
count              17 fs/f2fs/acl.c  static inline size_t f2fs_acl_size(int count)
count              19 fs/f2fs/acl.c  	if (count <= 4) {
count              21 fs/f2fs/acl.c  			count * sizeof(struct f2fs_acl_entry_short);
count              25 fs/f2fs/acl.c  			(count - 4) * sizeof(struct f2fs_acl_entry);
count              47 fs/f2fs/acl.c  	int i, count;
count              59 fs/f2fs/acl.c  	count = f2fs_acl_count(size);
count              60 fs/f2fs/acl.c  	if (count < 0)
count              62 fs/f2fs/acl.c  	if (count == 0)
count              65 fs/f2fs/acl.c  	acl = posix_acl_alloc(count, GFP_NOFS);
count              69 fs/f2fs/acl.c  	for (i = 0; i < count; i++) {
count             114 fs/f2fs/checkpoint.c 	int count = 0;
count             120 fs/f2fs/checkpoint.c 				++count <= DEFAULT_RETRY_IO_COUNT)
count             772 fs/f2fs/data.c int f2fs_reserve_new_blocks(struct dnode_of_data *dn, blkcnt_t count)
count             777 fs/f2fs/data.c 	if (!count)
count             782 fs/f2fs/data.c 	if (unlikely((err = inc_valid_block_count(sbi, dn->inode, &count))))
count             786 fs/f2fs/data.c 						dn->ofs_in_node, count);
count             790 fs/f2fs/data.c 	for (; count > 0; dn->ofs_in_node++) {
count             796 fs/f2fs/data.c 			count--;
count            1034 fs/f2fs/data.c 	blkcnt_t count = 1;
count            1049 fs/f2fs/data.c 	if (unlikely((err = inc_valid_block_count(sbi, dn->inode, &count))))
count            2817 fs/f2fs/data.c 	size_t count = iov_iter_count(iter);
count            2834 fs/f2fs/data.c 	trace_f2fs_direct_IO_enter(inode, offset, count, rw);
count            2876 fs/f2fs/data.c 			f2fs_write_failed(mapping, offset + count);
count            2881 fs/f2fs/data.c 	trace_f2fs_direct_IO_exit(inode, offset, count, rw, err);
count             304 fs/f2fs/extent_cache.c 	unsigned int count = atomic_read(&et->node_cnt);
count             314 fs/f2fs/extent_cache.c 	return count - atomic_read(&et->node_cnt);
count            1766 fs/f2fs/f2fs.h 				 struct inode *inode, blkcnt_t *count)
count            1772 fs/f2fs/f2fs.h 	ret = dquot_reserve_block(inode, *count);
count            1778 fs/f2fs/f2fs.h 		release = *count;
count            1786 fs/f2fs/f2fs.h 	percpu_counter_add(&sbi->alloc_valid_block_count, (*count));
count            1789 fs/f2fs/f2fs.h 	sbi->total_valid_block_count += (block_t)(*count);
count            1803 fs/f2fs/f2fs.h 		if (diff > *count)
count            1804 fs/f2fs/f2fs.h 			diff = *count;
count            1805 fs/f2fs/f2fs.h 		*count -= diff;
count            1808 fs/f2fs/f2fs.h 		if (!*count) {
count            1819 fs/f2fs/f2fs.h 	f2fs_i_blocks_write(inode, *count, true, true);
count            1845 fs/f2fs/f2fs.h 						block_t count)
count            1847 fs/f2fs/f2fs.h 	blkcnt_t sectors = count << F2FS_LOG_SECTORS_PER_BLOCK;
count            1850 fs/f2fs/f2fs.h 	f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count);
count            1851 fs/f2fs/f2fs.h 	sbi->total_valid_block_count -= (block_t)count;
count            1855 fs/f2fs/f2fs.h 					sbi->current_reserved_blocks + count);
count            1865 fs/f2fs/f2fs.h 	f2fs_i_blocks_write(inode, count, false, true);
count            2539 fs/f2fs/f2fs.h 					unsigned int count)
count            2541 fs/f2fs/f2fs.h 	F2FS_I(inode)->i_gc_failures[GC_FAILURE_PIN] = count;
count            2933 fs/f2fs/f2fs.h void f2fs_truncate_data_blocks_range(struct dnode_of_data *dn, int count);
count            3213 fs/f2fs/f2fs.h int f2fs_reserve_new_blocks(struct dnode_of_data *dn, blkcnt_t count);
count             515 fs/f2fs/file.c void f2fs_truncate_data_blocks_range(struct dnode_of_data *dn, int count)
count             519 fs/f2fs/file.c 	int nr_free = 0, ofs = dn->ofs_in_node, len = count;
count             529 fs/f2fs/file.c 	for (; count > 0; count--, addr++, dn->ofs_in_node++) {
count             611 fs/f2fs/file.c 	int count = 0, err = 0;
count             646 fs/f2fs/file.c 	count = ADDRS_PER_PAGE(dn.node_page, inode);
count             648 fs/f2fs/file.c 	count -= dn.ofs_in_node;
count             649 fs/f2fs/file.c 	f2fs_bug_on(sbi, count < 0);
count             652 fs/f2fs/file.c 		f2fs_truncate_data_blocks_range(&dn, count);
count             653 fs/f2fs/file.c 		free_from += count;
count             918 fs/f2fs/file.c 		pgoff_t end_offset, count;
count             932 fs/f2fs/file.c 		count = min(end_offset - dn.ofs_in_node, pg_end - pg_start);
count             934 fs/f2fs/file.c 		f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset);
count             936 fs/f2fs/file.c 		f2fs_truncate_data_blocks_range(&dn, count);
count             939 fs/f2fs/file.c 		pg_start += count;
count            1294 fs/f2fs/file.c 	blkcnt_t count = 0;
count            1300 fs/f2fs/file.c 			count++;
count            1304 fs/f2fs/file.c 	ret = f2fs_reserve_new_blocks(dn, count);
count            3173 fs/f2fs/file.c 	int count;
count            3181 fs/f2fs/file.c 	count = utf16s_to_utf8s(sbi->raw_super->volume_name,
count            3187 fs/f2fs/file.c 				min(FSLABEL_MAX, count)))
count             206 fs/f2fs/namei.c 	int start, count;
count             221 fs/f2fs/namei.c 		count = total_count;
count             224 fs/f2fs/namei.c 		count = cold_count;
count             227 fs/f2fs/namei.c 	for (i = start; i < count; i++) {
count             249 fs/f2fs/namei.c 		memcpy(extlist[count], name, strlen(name));
count             291 fs/f2fs/segment.c 	unsigned int count = sbi->atomic_files;
count             318 fs/f2fs/segment.c 		if (++looped >= count)
count              21 fs/f2fs/shrinker.c 	long count = NM_I(sbi)->nat_cnt - NM_I(sbi)->dirty_nat_cnt;
count              23 fs/f2fs/shrinker.c 	return count > 0 ? count : 0;
count              28 fs/f2fs/shrinker.c 	long count = NM_I(sbi)->nid_cnt[FREE_NID] - MAX_FREE_NIDS;
count              30 fs/f2fs/shrinker.c 	return count > 0 ? count : 0;
count              44 fs/f2fs/shrinker.c 	unsigned long count = 0;
count              59 fs/f2fs/shrinker.c 		count += __count_extent_cache(sbi);
count              62 fs/f2fs/shrinker.c 		count += __count_nat_entries(sbi);
count              65 fs/f2fs/shrinker.c 		count += __count_free_nids(sbi);
count              72 fs/f2fs/shrinker.c 	return count;
count             205 fs/f2fs/sysfs.c 			const char *buf, size_t count)
count             248 fs/f2fs/sysfs.c 		return ret ? ret : count;
count             273 fs/f2fs/sysfs.c 		return count;
count             280 fs/f2fs/sysfs.c 			return count;
count             282 fs/f2fs/sysfs.c 		return count;
count             305 fs/f2fs/sysfs.c 		return count;
count             314 fs/f2fs/sysfs.c 		return count;
count             322 fs/f2fs/sysfs.c 		return count;
count             327 fs/f2fs/sysfs.c 	return count;
count             332 fs/f2fs/sysfs.c 			const char *buf, size_t count)
count             342 fs/f2fs/sysfs.c 	ret = __sbi_store(a, sbi, buf, count);
count              41 fs/f2fs/verity.c static int pagecache_read(struct inode *inode, void *buf, size_t count,
count              44 fs/f2fs/verity.c 	while (count) {
count              45 fs/f2fs/verity.c 		size_t n = min_t(size_t, count,
count              63 fs/f2fs/verity.c 		count -= n;
count              72 fs/f2fs/verity.c static int pagecache_write(struct inode *inode, const void *buf, size_t count,
count              75 fs/f2fs/verity.c 	if (pos + count > inode->i_sb->s_maxbytes)
count              78 fs/f2fs/verity.c 	while (count) {
count              79 fs/f2fs/verity.c 		size_t n = min_t(size_t, count,
count             104 fs/f2fs/verity.c 		count -= n;
count             939 fs/fat/dir.c   	int count = 0;
count             945 fs/fat/dir.c   			count++;
count             948 fs/fat/dir.c   	return count;
count             471 fs/fat/fatent.c 	int i, count, err, nr_bhs, idx_clus;
count             483 fs/fat/fatent.c 	count = FAT_START_ENT;
count             487 fs/fat/fatent.c 	while (count < sbi->max_cluster) {
count             522 fs/fat/fatent.c 			count++;
count             523 fs/fat/fatent.c 			if (count == sbi->max_cluster)
count             230 fs/fat/file.c  	loff_t start = inode->i_size, count = size - inode->i_size;
count             247 fs/fat/file.c  					       start + count - 1);
count             256 fs/fat/file.c  						       start + count - 1);
count             265 fs/fat/inode.c 	size_t count = iov_iter_count(iter);
count             279 fs/fat/inode.c 		loff_t size = offset + count;
count             290 fs/fat/inode.c 		fat_write_failed(mapping, offset + count);
count              50 fs/file.c      			    unsigned int count)
count              54 fs/file.c      	cpy = count / BITS_PER_BYTE;
count              55 fs/file.c      	set = (nfdt->max_fds - count) / BITS_PER_BYTE;
count              61 fs/file.c      	cpy = BITBIT_SIZE(count);
count             160 fs/file.c      	if (atomic_read(&files->count) > 1)
count             284 fs/file.c      	atomic_set(&newf->count, 1);
count             407 fs/file.c      		atomic_inc(&files->count);
count             415 fs/file.c      	if (atomic_dec_and_test(&files->count)) {
count             450 fs/file.c      	.count		= ATOMIC_INIT(1),
count             770 fs/file.c      	if (atomic_read(&files->count) == 1) {
count              62 fs/fs_struct.c 	int count = 0;
count              76 fs/fs_struct.c 				count++;
count              84 fs/fs_struct.c 	while (count--)
count             567 fs/fscache/operation.c 	int count = 0;
count             603 fs/fscache/operation.c 	} while (count++ < 20);
count              35 fs/fuse/control.c 				     size_t count, loff_t *ppos)
count              44 fs/fuse/control.c 	return count;
count              77 fs/fuse/control.c 				     size_t count, loff_t *ppos, unsigned *val,
count              87 fs/fuse/control.c 	err = kstrtoul_from_user(buf, count, 0, &t);
count              99 fs/fuse/control.c 	return count;
count             121 fs/fuse/control.c 					      size_t count, loff_t *ppos)
count             126 fs/fuse/control.c 	ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
count             163 fs/fuse/control.c 						    size_t count, loff_t *ppos)
count             169 fs/fuse/control.c 	ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
count             589 fs/fuse/cuse.c 				      const char *buf, size_t count)
count             594 fs/fuse/cuse.c 	return count;
count              48 fs/fuse/dev.c  	refcount_set(&req->count, 1);
count              68 fs/fuse/dev.c  	refcount_inc(&req->count);
count              74 fs/fuse/dev.c  	refcount_dec(&req->count);
count             158 fs/fuse/dev.c  	if (refcount_dec_and_test(&req->count)) {
count             879 fs/fuse/dev.c  			 unsigned offset, unsigned count)
count             897 fs/fuse/dev.c  	buf->len = count;
count             911 fs/fuse/dev.c  			  unsigned offset, unsigned count, int zeroing)
count             916 fs/fuse/dev.c  	if (page && zeroing && count < PAGE_SIZE)
count             919 fs/fuse/dev.c  	while (count) {
count             921 fs/fuse/dev.c  			return fuse_ref_page(cs, page, offset, count);
count             924 fs/fuse/dev.c  			    offset == 0 && count == PAGE_SIZE) {
count             937 fs/fuse/dev.c  			offset += fuse_copy_do(cs, &buf, &count);
count             940 fs/fuse/dev.c  			offset += fuse_copy_do(cs, NULL, &count);
count             959 fs/fuse/dev.c  		unsigned int count = min(nbytes, ap->descs[i].length);
count             961 fs/fuse/dev.c  		err = fuse_copy_page(cs, &ap->pages[i], offset, count, zeroing);
count             965 fs/fuse/dev.c  		nbytes -= count;
count            1057 fs/fuse/dev.c  	unsigned count;
count            1059 fs/fuse/dev.c  	for (count = 0; *newhead != NULL && count < max; count++)
count            1068 fs/fuse/dev.c  		*countp = count;
count            1113 fs/fuse/dev.c  	unsigned count;
count            1115 fs/fuse/dev.c  	struct fuse_batch_forget_in arg = { .count = 0 };
count            1128 fs/fuse/dev.c  	head = fuse_dequeue_forget(fiq, max_forgets, &count);
count            1131 fs/fuse/dev.c  	arg.count = count;
count            1132 fs/fuse/dev.c  	ih.len += count * sizeof(struct fuse_forget_one);
count              80 fs/fuse/file.c 	refcount_set(&ff->count, 1);
count              98 fs/fuse/file.c 	refcount_inc(&ff->count);
count             113 fs/fuse/file.c 	if (refcount_dec_and_test(&ff->count)) {
count             326 fs/fuse/file.c 	WARN_ON(refcount_read(&ff->count) > 1);
count             552 fs/fuse/file.c 			 size_t count, int opcode)
count             559 fs/fuse/file.c 	ia->read.in.size = count;
count             568 fs/fuse/file.c 	args->out_args[0].size = count;
count             722 fs/fuse/file.c static ssize_t fuse_send_read(struct fuse_io_args *ia, loff_t pos, size_t count,
count             729 fs/fuse/file.c 	fuse_read_args_fill(ia, file, pos, count, FUSE_READ);
count             736 fs/fuse/file.c 		return fuse_async_req_send(fc, ia, count);
count             847 fs/fuse/file.c 	size_t count = ia->read.in.size;
count             860 fs/fuse/file.c 		if (!err && num_read < count)
count             888 fs/fuse/file.c 	size_t count = ap->num_pages << PAGE_SHIFT;
count             897 fs/fuse/file.c 	if (pos + (count - 1) == LLONG_MAX) {
count             898 fs/fuse/file.c 		count--;
count             901 fs/fuse/file.c 	WARN_ON((loff_t) (pos + count) < 0);
count             903 fs/fuse/file.c 	fuse_read_args_fill(ia, file, pos, count, FUSE_READ);
count            1020 fs/fuse/file.c 				 loff_t pos, size_t count)
count            1026 fs/fuse/file.c 	ia->write.in.size = count;
count            1035 fs/fuse/file.c 	args->in_args[1].size = count;
count            1054 fs/fuse/file.c 			       size_t count, fl_owner_t owner)
count            1063 fs/fuse/file.c 	fuse_write_args_fill(ia, ff, pos, count);
count            1071 fs/fuse/file.c 		return fuse_async_req_send(fc, ia, count);
count            1074 fs/fuse/file.c 	if (!err && ia->write.out.size > count)
count            1099 fs/fuse/file.c 				     loff_t pos, size_t count)
count            1111 fs/fuse/file.c 	fuse_write_args_fill(ia, ff, pos, count);
count            1115 fs/fuse/file.c 	if (!err && ia->write.out.size > count)
count            1119 fs/fuse/file.c 	count = ia->write.out.size;
count            1123 fs/fuse/file.c 		if (!err && !offset && count >= PAGE_SIZE)
count            1126 fs/fuse/file.c 		if (count > PAGE_SIZE - offset)
count            1127 fs/fuse/file.c 			count -= PAGE_SIZE - offset;
count            1129 fs/fuse/file.c 			count = 0;
count            1146 fs/fuse/file.c 	size_t count = 0;
count            1159 fs/fuse/file.c 		bytes = min_t(size_t, bytes, fc->max_write - count);
count            1190 fs/fuse/file.c 		count += tmp;
count            1198 fs/fuse/file.c 	} while (iov_iter_count(ii) && count < fc->max_write &&
count            1201 fs/fuse/file.c 	return count > 0 ? count : err;
count            1227 fs/fuse/file.c 		ssize_t count;
count            1239 fs/fuse/file.c 		count = fuse_fill_write_pages(ap, mapping, ii, pos, nr_pages);
count            1240 fs/fuse/file.c 		if (count <= 0) {
count            1241 fs/fuse/file.c 			err = count;
count            1244 fs/fuse/file.c 						    pos, count);
count            1252 fs/fuse/file.c 				if (num_written != count)
count            1432 fs/fuse/file.c 	size_t count = iov_iter_count(iter);
count            1434 fs/fuse/file.c 	pgoff_t idx_to = (pos + count - 1) >> PAGE_SHIFT;
count            1455 fs/fuse/file.c 	while (count) {
count            1458 fs/fuse/file.c 		size_t nbytes = min(count, nmax);
count            1486 fs/fuse/file.c 		count -= nres;
count            1493 fs/fuse/file.c 		if (count) {
count            2582 fs/fuse/file.c 				     size_t transferred, unsigned count,
count            2586 fs/fuse/file.c 	if (count * sizeof(struct compat_iovec) == transferred) {
count            2598 fs/fuse/file.c 		for (i = 0; i < count; i++) {
count            2606 fs/fuse/file.c 	if (count * sizeof(struct iovec) != transferred)
count            2615 fs/fuse/file.c 				 size_t count)
count            2620 fs/fuse/file.c 	for (n = 0; n < count; n++, iov++) {
count            2629 fs/fuse/file.c 				 void *src, size_t transferred, unsigned count,
count            2637 fs/fuse/file.c 						 count, is_compat);
count            2640 fs/fuse/file.c 	if (count * sizeof(struct fuse_ioctl_iovec) != transferred)
count            2643 fs/fuse/file.c 	for (i = 0; i < count; i++) {
count            3072 fs/fuse/file.c 	size_t count = iov_iter_count(iter);
count            3084 fs/fuse/file.c 	if (async_dio && iov_iter_rw(iter) != WRITE && offset + count > i_size) {
count            3088 fs/fuse/file.c 		count = iov_iter_count(iter);
count            3114 fs/fuse/file.c 	if ((offset + count > i_size) && iov_iter_rw(iter) == WRITE)
count            3151 fs/fuse/file.c 		else if (ret < 0 && offset + count > i_size)
count             184 fs/fuse/fuse_i.h 	refcount_t count;
count             340 fs/fuse/fuse_i.h 	refcount_t count;
count             505 fs/fuse/fuse_i.h 	refcount_t count;
count             842 fs/fuse/fuse_i.h 			 size_t count, int opcode);
count             610 fs/fuse/inode.c 	refcount_set(&fc->count, 1);
count             635 fs/fuse/inode.c 	if (refcount_dec_and_test(&fc->count)) {
count             649 fs/fuse/inode.c 	refcount_inc(&fc->count);
count            1487 fs/gfs2/dir.c  	unsigned count;
count            1494 fs/gfs2/dir.c  	for (count = 0; count < MAX_RA_BLOCKS; count++) {
count             750 fs/gfs2/file.c 	size_t count = iov_iter_count(to);
count             754 fs/gfs2/file.c 	if (!count)
count             996 fs/gfs2/file.c 	const loff_t count = len;
count            1085 fs/gfs2/file.c 	if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size)
count            1086 fs/gfs2/file.c 		i_size_write(inode, pos + count);
count            1091 fs/gfs2/file.c 		return vfs_fsync_range(file, pos, pos + count - 1,
count             226 fs/gfs2/glock.c 		GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2);
count             227 fs/gfs2/glock.c 		gl->gl_lockref.count--;
count             426 fs/gfs2/glock.c 			gl->gl_lockref.count++;
count             428 fs/gfs2/glock.c 			gl->gl_lockref.count--;
count             665 fs/gfs2/glock.c 	gl->gl_lockref.count++;
count             736 fs/gfs2/glock.c 	gl->gl_lockref.count -= drop_refs;
count             737 fs/gfs2/glock.c 	if (!gl->gl_lockref.count) {
count             834 fs/gfs2/glock.c 	gl->gl_lockref.count = 1;
count            1205 fs/gfs2/glock.c 		gl->gl_lockref.count++;
count            1266 fs/gfs2/glock.c 		gl->gl_lockref.count++;
count            1508 fs/gfs2/glock.c 	gl->gl_lockref.count++;
count            1565 fs/gfs2/glock.c 		gl->gl_lockref.count++;
count            1907 fs/gfs2/glock.c 		  (int)gl->gl_lockref.count, gl->gl_hold_time);
count             604 fs/gfs2/glops.c 		gl->gl_lockref.count++;
count             606 fs/gfs2/glops.c 			gl->gl_lockref.count--;
count             154 fs/gfs2/quota.c 	if (qd->qd_lockref.count == 0) {
count             221 fs/gfs2/quota.c 	qd->qd_lockref.count = 1;
count             312 fs/gfs2/quota.c 	qd->qd_lockref.count = 0;
count            1111 fs/gfs2/quota.c 	unsigned int count = 0;
count            1144 fs/gfs2/quota.c 		qda[count++] = qd;
count            1147 fs/gfs2/quota.c 	if (count) {
count            1148 fs/gfs2/quota.c 		do_sync(count, qda);
count            1149 fs/gfs2/quota.c 		for (x = 0; x < count; x++)
count             427 fs/gfs2/rgrp.c 	u32 count = 0;
count             431 fs/gfs2/rgrp.c 			count++;
count             433 fs/gfs2/rgrp.c 			count++;
count             435 fs/gfs2/rgrp.c 			count++;
count             437 fs/gfs2/rgrp.c 			count++;
count             440 fs/gfs2/rgrp.c 	return count;
count             454 fs/gfs2/rgrp.c 	u32 count[4], tmp;
count             457 fs/gfs2/rgrp.c 	memset(count, 0, 4 * sizeof(u32));
count             463 fs/gfs2/rgrp.c 			count[x] += gfs2_bitcount(rgd,
count             469 fs/gfs2/rgrp.c 	if (count[0] != rgd->rd_free) {
count             472 fs/gfs2/rgrp.c 			       count[0], rgd->rd_free);
count             477 fs/gfs2/rgrp.c 	if (count[1] != tmp) {
count             480 fs/gfs2/rgrp.c 			       count[1], tmp);
count             484 fs/gfs2/rgrp.c 	if (count[2] + count[3] != rgd->rd_dinodes) {
count             487 fs/gfs2/rgrp.c 			       count[2] + count[3], rgd->rd_dinodes);
count            1152 fs/gfs2/rgrp.c 	u32 i, goal, count = 0;
count            1163 fs/gfs2/rgrp.c 			count++;
count            1168 fs/gfs2/rgrp.c 	return count;
count             193 fs/hfs/bitmap.c int hfs_clear_vbm_bits(struct super_block *sb, u16 start, u16 count)
count             200 fs/hfs/bitmap.c 	if (!count)
count             203 fs/hfs/bitmap.c 	hfs_dbg(BITMAP, "clear_bits: %u,%u\n", start, count);
count             205 fs/hfs/bitmap.c 	if ((start + count) > HFS_SB(sb)->fs_ablocks)
count             211 fs/hfs/bitmap.c 	len = count;
count             218 fs/hfs/bitmap.c 		if (j > count) {
count             219 fs/hfs/bitmap.c 			mask |= 0xffffffffU >> (i + count);
count             224 fs/hfs/bitmap.c 		count -= j;
count             228 fs/hfs/bitmap.c 	while (count >= 32) {
count             230 fs/hfs/bitmap.c 		count -= 32;
count             233 fs/hfs/bitmap.c 	if (count) {
count             234 fs/hfs/bitmap.c 		mask = 0xffffffffU >> count;
count             227 fs/hfs/btree.c 	u32 count;
count             240 fs/hfs/btree.c 		count = inode->i_size >> tree->node_size_shift;
count             241 fs/hfs/btree.c 		tree->free_nodes += count - tree->node_count;
count             242 fs/hfs/btree.c 		tree->node_count = count;
count              77 fs/hfs/extent.c 	u16 count;
count              80 fs/hfs/extent.c 		count = be16_to_cpu(ext->count);
count              81 fs/hfs/extent.c 		if (off < count)
count              83 fs/hfs/extent.c 		off -= count;
count              92 fs/hfs/extent.c 	u16 count = 0;
count              95 fs/hfs/extent.c 		count += be16_to_cpu(ext->count);
count              96 fs/hfs/extent.c 	return count;
count             105 fs/hfs/extent.c 		if (ext->count)
count             107 fs/hfs/extent.c 	return be16_to_cpu(ext->block) + be16_to_cpu(ext->count);
count             216 fs/hfs/extent.c 			     be16_to_cpu(extent[i].count));
count             223 fs/hfs/extent.c 	u16 count, start;
count             228 fs/hfs/extent.c 		count = be16_to_cpu(extent->count);
count             229 fs/hfs/extent.c 		if (offset == count) {
count             231 fs/hfs/extent.c 			if (alloc_block != start + count) {
count             237 fs/hfs/extent.c 				block_count += count;
count             238 fs/hfs/extent.c 			extent->count = cpu_to_be16(block_count);
count             240 fs/hfs/extent.c 		} else if (offset < count)
count             242 fs/hfs/extent.c 		offset -= count;
count             251 fs/hfs/extent.c 	u16 count, start;
count             256 fs/hfs/extent.c 		count = be16_to_cpu(extent->count);
count             257 fs/hfs/extent.c 		if (offset == count)
count             259 fs/hfs/extent.c 		else if (offset < count)
count             261 fs/hfs/extent.c 		offset -= count;
count             268 fs/hfs/extent.c 		if (count <= block_nr) {
count             269 fs/hfs/extent.c 			hfs_clear_vbm_bits(sb, start, count);
count             271 fs/hfs/extent.c 			extent->count = 0;
count             272 fs/hfs/extent.c 			block_nr -= count;
count             274 fs/hfs/extent.c 			count -= block_nr;
count             275 fs/hfs/extent.c 			hfs_clear_vbm_bits(sb, start + count, block_nr);
count             276 fs/hfs/extent.c 			extent->count = cpu_to_be16(count);
count             283 fs/hfs/extent.c 		count = be16_to_cpu(extent->count);
count             308 fs/hfs/extent.c 		blocks += be16_to_cpu(extent[i].count);
count             420 fs/hfs/extent.c 			HFS_I(inode)->first_extents[0].count = cpu_to_be16(len);
count             466 fs/hfs/extent.c 	HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len);
count             177 fs/hfs/hfs.h   	__be16 count;
count             134 fs/hfs/inode.c 	size_t count = iov_iter_count(iter);
count             145 fs/hfs/inode.c 		loff_t end = iocb->ki_pos + count;
count             270 fs/hfs/inode.c 	u16 count;
count             274 fs/hfs/inode.c 	for (count = 0, i = 0; i < 3; i++)
count             275 fs/hfs/inode.c 		count += be16_to_cpu(ext[i].count);
count             276 fs/hfs/inode.c 	HFS_I(inode)->first_blocks = count;
count             164 fs/hfsplus/bitmap.c int hfsplus_block_free(struct super_block *sb, u32 offset, u32 count)
count             174 fs/hfsplus/bitmap.c 	if (!count)
count             177 fs/hfsplus/bitmap.c 	hfs_dbg(BITMAP, "block_free: %u,%u\n", offset, count);
count             179 fs/hfsplus/bitmap.c 	if ((offset + count) > sbi->total_blocks)
count             191 fs/hfsplus/bitmap.c 	len = count;
count             198 fs/hfsplus/bitmap.c 		if (j > count) {
count             199 fs/hfsplus/bitmap.c 			mask |= 0xffffffffU >> (i + count);
count             204 fs/hfsplus/bitmap.c 		count -= j;
count             210 fs/hfsplus/bitmap.c 			if (count < 32)
count             213 fs/hfsplus/bitmap.c 			count -= 32;
count             215 fs/hfsplus/bitmap.c 		if (!count)
count             228 fs/hfsplus/bitmap.c 	if (count) {
count             229 fs/hfsplus/bitmap.c 		mask = 0xffffffffU >> count;
count             350 fs/hfsplus/btree.c 	u32 count;
count             366 fs/hfsplus/btree.c 		count = inode->i_size >> tree->node_size_shift;
count             367 fs/hfsplus/btree.c 		tree->free_nodes += count - tree->node_count;
count             368 fs/hfsplus/btree.c 		tree->node_count = count;
count              54 fs/hfsplus/extents.c 	u32 count;
count              57 fs/hfsplus/extents.c 		count = be32_to_cpu(ext->block_count);
count              58 fs/hfsplus/extents.c 		if (off < count)
count              60 fs/hfsplus/extents.c 		off -= count;
count              69 fs/hfsplus/extents.c 	u32 count = 0;
count              72 fs/hfsplus/extents.c 		count += be32_to_cpu(ext->block_count);
count              73 fs/hfsplus/extents.c 	return count;
count             312 fs/hfsplus/extents.c 	u32 count, start;
count             317 fs/hfsplus/extents.c 		count = be32_to_cpu(extent->block_count);
count             318 fs/hfsplus/extents.c 		if (offset == count) {
count             320 fs/hfsplus/extents.c 			if (alloc_block != start + count) {
count             326 fs/hfsplus/extents.c 				block_count += count;
count             329 fs/hfsplus/extents.c 		} else if (offset < count)
count             331 fs/hfsplus/extents.c 		offset -= count;
count             341 fs/hfsplus/extents.c 	u32 count, start;
count             350 fs/hfsplus/extents.c 		count = be32_to_cpu(extent->block_count);
count             351 fs/hfsplus/extents.c 		if (offset == count)
count             353 fs/hfsplus/extents.c 		else if (offset < count)
count             355 fs/hfsplus/extents.c 		offset -= count;
count             362 fs/hfsplus/extents.c 		if (count <= block_nr) {
count             363 fs/hfsplus/extents.c 			err = hfsplus_block_free(sb, start, count);
count             367 fs/hfsplus/extents.c 					start, count);
count             371 fs/hfsplus/extents.c 			block_nr -= count;
count             373 fs/hfsplus/extents.c 			count -= block_nr;
count             374 fs/hfsplus/extents.c 			err = hfsplus_block_free(sb, start + count, block_nr);
count             378 fs/hfsplus/extents.c 					start, count);
count             380 fs/hfsplus/extents.c 			extent->block_count = cpu_to_be32(count);
count             392 fs/hfsplus/extents.c 		count = be32_to_cpu(extent->block_count);
count             391 fs/hfsplus/hfsplus_fs.h int hfsplus_block_free(struct super_block *sb, u32 offset, u32 count);
count             131 fs/hfsplus/inode.c 	size_t count = iov_iter_count(iter);
count             142 fs/hfsplus/inode.c 		loff_t end = iocb->ki_pos + count;
count             454 fs/hfsplus/inode.c 	u32 count;
count             458 fs/hfsplus/inode.c 	for (count = 0, i = 0; i < 8; i++)
count             459 fs/hfsplus/inode.c 		count += be32_to_cpu(fork->extents[i].block_count);
count             460 fs/hfsplus/inode.c 	hip->first_blocks = count;
count             407 fs/hostfs/hostfs_kern.c 	int count = PAGE_SIZE;
count             412 fs/hostfs/hostfs_kern.c 		count = inode->i_size & (PAGE_SIZE-1);
count             416 fs/hostfs/hostfs_kern.c 	err = write_file(HOSTFS_I(inode)->fd, &base, buffer, count);
count             417 fs/hostfs/hostfs_kern.c 	if (err != count) {
count             137 fs/hpfs/super.c 	unsigned count;
count             142 fs/hpfs/super.c 	count = bitmap_weight(bits, 2048 * BITS_PER_BYTE);
count             144 fs/hpfs/super.c 	return count;
count             149 fs/hpfs/super.c 	unsigned n, count, n_bands;
count             151 fs/hpfs/super.c 	count = 0;
count             160 fs/hpfs/super.c 			count += c;
count             162 fs/hpfs/super.c 	return count;
count            1231 fs/io_uring.c  			iter->count -= bvec->bv_len + offset;
count            1364 fs/io_uring.c  			iovec.iov_len = min(iter->count,
count            1979 fs/io_uring.c  	unsigned count;
count            2001 fs/io_uring.c  	count = READ_ONCE(sqe->off);
count            2002 fs/io_uring.c  	if (!count) {
count            2009 fs/io_uring.c  	req->sequence = ctx->cached_sq_head + count - 1;
count            2011 fs/io_uring.c  	req->submit.sequence = count;
count            2030 fs/io_uring.c  		tmp = (long long)ctx->cached_sq_head + count - 1;
count            3126 fs/io_uring.c  	fpl->max = fpl->count = nr;
count             594 fs/ioctl.c     	u16 count;
count             596 fs/ioctl.c     	if (get_user(count, &argp->dest_count)) {
count             601 fs/ioctl.c     	size = offsetof(struct file_dedupe_range __user, info[count]);
count             614 fs/ioctl.c     	same->dest_count = count;
count             430 fs/iomap/buffered-io.c 		unsigned long count)
count             438 fs/iomap/buffered-io.c 	len = min_t(unsigned, PAGE_SIZE - from, count);
count             944 fs/iomap/buffered-io.c iomap_zero_range_actor(struct inode *inode, loff_t pos, loff_t count,
count             953 fs/iomap/buffered-io.c 		return count;
count             959 fs/iomap/buffered-io.c 		bytes = min_t(loff_t, PAGE_SIZE - offset, count);
count             969 fs/iomap/buffered-io.c 		count -= bytes;
count             973 fs/iomap/buffered-io.c 	} while (count > 0);
count             401 fs/iomap/direct-io.c 	size_t count = iov_iter_count(iter);
count             403 fs/iomap/direct-io.c 	loff_t end = iocb->ki_pos + count - 1, ret = 0;
count             411 fs/iomap/direct-io.c 	if (!count)
count             490 fs/iomap/direct-io.c 		ret = iomap_apply(inode, pos, count, flags, ops, dio,
count             511 fs/iomap/direct-io.c 	} while ((count = iov_iter_count(iter)) > 0);
count              79 fs/iomap/swapfile.c 		loff_t count, void *data, struct iomap *iomap)
count             127 fs/iomap/swapfile.c 	return count;
count             532 fs/jbd2/revoke.c 	int i, offset, count;
count             536 fs/jbd2/revoke.c 	count = 0;
count             550 fs/jbd2/revoke.c 			count++;
count             557 fs/jbd2/revoke.c 	jbd_debug(1, "Wrote %d revoke records\n", count);
count              26 fs/jffs2/acl.c static size_t jffs2_acl_size(int count)
count              28 fs/jffs2/acl.c 	if (count <= 4) {
count              30 fs/jffs2/acl.c 		       + count * sizeof(struct jffs2_acl_entry_short);
count              34 fs/jffs2/acl.c 		       + (count - 4) * sizeof(struct jffs2_acl_entry);
count              62 fs/jffs2/acl.c 	int i, count;
count              75 fs/jffs2/acl.c 	count = jffs2_acl_count(size);
count              76 fs/jffs2/acl.c 	if (count < 0)
count              78 fs/jffs2/acl.c 	if (count == 0)
count              81 fs/jffs2/acl.c 	acl = posix_acl_alloc(count, GFP_KERNEL);
count              85 fs/jffs2/acl.c 	for (i=0; i < count; i++) {
count             101 fs/jffs2/erase.c int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count)
count             121 fs/jffs2/erase.c 			if (!--count) {
count             471 fs/jffs2/nodelist.h int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count);
count             116 fs/jffs2/os-linux.h int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino);
count             191 fs/jffs2/os-linux.h 		       unsigned long count, loff_t to, size_t *retlen);
count            1119 fs/jffs2/scan.c 	uint32_t count = 0;
count            1123 fs/jffs2/scan.c 		count++;
count            1125 fs/jffs2/scan.c 	return count;
count            1130 fs/jffs2/scan.c static void rotate_list(struct list_head *head, uint32_t count)
count            1135 fs/jffs2/scan.c 	while(count--) {
count             249 fs/jffs2/summary.c 				unsigned long count, uint32_t ofs)
count             298 fs/jffs2/summary.c 			switch (count) {
count             182 fs/jffs2/summary.h 			unsigned long count,  uint32_t to);
count             795 fs/jffs2/wbuf.c 		       unsigned long count, loff_t to, size_t *retlen,
count             805 fs/jffs2/wbuf.c 		return jffs2_flash_direct_writev(c, invecs, count, to, retlen);
count             859 fs/jffs2/wbuf.c 	for (invec = 0; invec < count; invec++) {
count             906 fs/jffs2/wbuf.c 		int res = jffs2_sum_add_kvec(c, invecs, count, (uint32_t) to);
count              17 fs/jffs2/writev.c 			      unsigned long count, loff_t to, size_t *retlen)
count              22 fs/jffs2/writev.c 			res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to);
count              29 fs/jffs2/writev.c 	return mtd_writev(c->mtd, vecs, count, to, retlen);
count             108 fs/jffs2/xattr.c 	int count;
count             115 fs/jffs2/xattr.c 	for (count = 0; count < XATTRINDEX_HASHSIZE; count++) {
count             339 fs/jfs/inode.c 	size_t count = iov_iter_count(iter);
count             350 fs/jfs/inode.c 		loff_t end = iocb->ki_pos + count;
count              32 fs/jfs/jfs_debug.c 		const char __user *buffer, size_t count, loff_t *ppos)
count              43 fs/jfs/jfs_debug.c 	return count;
count             549 fs/jfs/jfs_dmap.c 			log->count++;
count            1621 fs/jfs/jfs_dmap.c 	int count = 0, range_cnt;
count            1647 fs/jfs/jfs_dmap.c 			tt++; count++;
count            1667 fs/jfs/jfs_dmap.c 		if (unlikely(count >= range_cnt - 1))
count            2822 fs/jfs/jfs_imap.c 		log->count++;
count             260 fs/jfs/jfs_logmgr.c 		log->count++;
count             287 fs/jfs/jfs_logmgr.c 		log->count++;
count            1273 fs/jfs/jfs_logmgr.c 	log->count = 0;
count             399 fs/jfs/jfs_logmgr.h 	int count;		/* 4: count */
count             222 fs/jfs/jfs_metapage.c 	if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) ||
count             295 fs/jfs/jfs_metapage.c 		log->count--;
count             541 fs/jfs/jfs_metapage.c 		if (mp->count || mp->nohomeok ||
count             543 fs/jfs/jfs_metapage.c 			jfs_info("count = %ld, nohomeok = %d", mp->count,
count             639 fs/jfs/jfs_metapage.c 		mp->count++;
count             659 fs/jfs/jfs_metapage.c 		mp->count = 1;
count             690 fs/jfs/jfs_metapage.c 	mp->count++;
count             717 fs/jfs/jfs_metapage.c 	if (mp->count || mp->nohomeok) {
count             723 fs/jfs/jfs_metapage.c 	mp->count++;
count             739 fs/jfs/jfs_metapage.c 	assert(mp->count);
count             740 fs/jfs/jfs_metapage.c 	if (--mp->count || mp->nohomeok) {
count              21 fs/jfs/jfs_metapage.h 	unsigned long count;	/* Reference count */
count             970 fs/jfs/jfs_txnmgr.c 		log->count--;
count            1759 fs/jfs/jfs_txnmgr.c 		xadlock->count = next - lwm;
count            1760 fs/jfs/jfs_txnmgr.c 		if ((xadlock->count <= 4) && (tblk->xflag & COMMIT_LAZY)) {
count            1772 fs/jfs/jfs_txnmgr.c 			for (i = 0; i < xadlock->count; i++) {
count            1789 fs/jfs/jfs_txnmgr.c 			 tlck->ip, mp, tlck, lwm, xadlock->count);
count            1862 fs/jfs/jfs_txnmgr.c 		xadlock->count = hwm - XTENTRYSTART + 1;
count            1863 fs/jfs/jfs_txnmgr.c 		if ((xadlock->count <= 4) && (tblk->xflag & COMMIT_LAZY)) {
count            1875 fs/jfs/jfs_txnmgr.c 			for (i = 0; i < xadlock->count; i++) {
count            1892 fs/jfs/jfs_txnmgr.c 			 tlck->ip, mp, xadlock->count);
count            2011 fs/jfs/jfs_txnmgr.c 			xadlock->count = next - lwm;
count            2015 fs/jfs/jfs_txnmgr.c 				 tlck->ip, mp, xadlock->count, lwm, next);
count            2032 fs/jfs/jfs_txnmgr.c 			pxdlock->count = 1;
count            2036 fs/jfs/jfs_txnmgr.c 				 ip, mp, pxdlock->count, hwm);
count            2051 fs/jfs/jfs_txnmgr.c 			xadlock->count = hwm - next + 1;
count            2055 fs/jfs/jfs_txnmgr.c 				 tlck->ip, mp, xadlock->count, next, hwm);
count            2442 fs/jfs/jfs_txnmgr.c 		for (n = 0; n < xadlistlock->count; n++, xad++) {
count            2463 fs/jfs/jfs_txnmgr.c 		for (n = 0; n < pxdlistlock->count; n++, pxd++) {
count            2504 fs/jfs/jfs_txnmgr.c 			for (n = 0; n < xadlistlock->count; n++, xad++) {
count            2526 fs/jfs/jfs_txnmgr.c 			for (n = 0; n < pxdlistlock->count; n++, pxd++) {
count            2544 fs/jfs/jfs_txnmgr.c 			for (n = 0; n < xadlistlock->count; n++, xad++) {
count            2563 fs/jfs/jfs_txnmgr.c 			for (n = 0; n < pxdlistlock->count; n++, pxd++) {
count             212 fs/jfs/jfs_txnmgr.h 	u8 count;		/* 1: number of pxd/xad */
count             240 fs/jfs/jfs_txnmgr.h 	u8 count;		/* 1: number of pxd/xad */
count            3395 fs/jfs/jfs_xtree.c 				xadlock.count =
count            3426 fs/jfs/jfs_xtree.c 		xadlock.count =
count            3500 fs/jfs/jfs_xtree.c 				xadlock.count =
count            3572 fs/jfs/jfs_xtree.c 			xadlock.count =
count             494 fs/kernfs/dir.c 		WARN_ON(!atomic_read(&kn->count));
count             495 fs/kernfs/dir.c 		atomic_inc(&kn->count);
count             515 fs/kernfs/dir.c 	if (!kn || !atomic_dec_and_test(&kn->count))
count             545 fs/kernfs/dir.c 		if (atomic_dec_and_test(&kn->count))
count             653 fs/kernfs/dir.c 	atomic_set_release(&kn->count, 1);
count             731 fs/kernfs/dir.c 	if (!atomic_inc_not_zero(&kn->count)) {
count             184 fs/kernfs/file.c 				       char __user *user_buf, size_t count,
count             187 fs/kernfs/file.c 	ssize_t len = min_t(size_t, count, PAGE_SIZE);
count             246 fs/kernfs/file.c 			       size_t count, loff_t *ppos)
count             251 fs/kernfs/file.c 		return seq_read(file, user_buf, count, ppos);
count             253 fs/kernfs/file.c 		return kernfs_file_direct_read(of, user_buf, count, ppos);
count             273 fs/kernfs/file.c 				size_t count, loff_t *ppos)
count             281 fs/kernfs/file.c 		len = count;
count             285 fs/kernfs/file.c 		len = min_t(size_t, count, PAGE_SIZE);
count             100 fs/libfs.c     					loff_t count,
count             111 fs/libfs.c     		if (simple_positive(d) && !--count) {
count             118 fs/libfs.c     			count = 1;
count             598 fs/libfs.c     int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *count)
count             612 fs/libfs.c     	++*count;
count             619 fs/libfs.c     void simple_release_fs(struct vfsmount **mount, int *count)
count             624 fs/libfs.c     	if (!--*count)
count             645 fs/libfs.c     ssize_t simple_read_from_buffer(void __user *to, size_t count, loff_t *ppos,
count             653 fs/libfs.c     	if (pos >= available || !count)
count             655 fs/libfs.c     	if (count > available - pos)
count             656 fs/libfs.c     		count = available - pos;
count             657 fs/libfs.c     	ret = copy_to_user(to, from + pos, count);
count             658 fs/libfs.c     	if (ret == count)
count             660 fs/libfs.c     	count -= ret;
count             661 fs/libfs.c     	*ppos = pos + count;
count             662 fs/libfs.c     	return count;
count             681 fs/libfs.c     		const void __user *from, size_t count)
count             688 fs/libfs.c     	if (pos >= available || !count)
count             690 fs/libfs.c     	if (count > available - pos)
count             691 fs/libfs.c     		count = available - pos;
count             692 fs/libfs.c     	res = copy_from_user(to + pos, from, count);
count             693 fs/libfs.c     	if (res == count)
count             695 fs/libfs.c     	count -= res;
count             696 fs/libfs.c     	*ppos = pos + count;
count             697 fs/libfs.c     	return count;
count             715 fs/libfs.c     ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
count             724 fs/libfs.c     	if (count > available - pos)
count             725 fs/libfs.c     		count = available - pos;
count             726 fs/libfs.c     	memcpy(to, from + pos, count);
count             727 fs/libfs.c     	*ppos = pos + count;
count             729 fs/libfs.c     	return count;
count              53 fs/lockd/clntproc.c 	refcount_inc(&lockowner->count);
count              59 fs/lockd/clntproc.c 	if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock))
count             110 fs/lockd/clntproc.c 			refcount_set(&new->count, 1);
count             338 fs/lockd/svclock.c 	refcount_inc(&lockowner->count);
count             344 fs/lockd/svclock.c 	if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock))
count             378 fs/lockd/svclock.c 			refcount_set(&new->count, 1);
count               9 fs/mount.h     	atomic_t		count;
count             117 fs/mount.h     	atomic_inc(&ns->count);
count             162 fs/namespace.c 	unsigned int count = 0;
count             166 fs/namespace.c 		count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count;
count             169 fs/namespace.c 	return count;
count             273 fs/namespace.c 	unsigned int count = 0;
count             277 fs/namespace.c 		count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_writers;
count             280 fs/namespace.c 	return count;
count            3203 fs/namespace.c 	atomic_set(&new_ns->count, 1);
count            3782 fs/namespace.c 	if (!atomic_dec_and_test(&ns->count))
count             195 fs/nfs/blocklayout/blocklayout.c 	size_t bytes_left = header->args.count;
count             262 fs/nfs/blocklayout/blocklayout.c 	size_t bytes_left = header->args.count;
count             272 fs/nfs/blocklayout/blocklayout.c 		(unsigned int)header->args.count);
count             335 fs/nfs/blocklayout/blocklayout.c 		header->res.count = header->inode->i_size - header->args.offset;
count             337 fs/nfs/blocklayout/blocklayout.c 		header->res.count = (isect << SECTOR_SHIFT) - header->args.offset;
count             375 fs/nfs/blocklayout/blocklayout.c 		u64 end = (hdr->args.offset + hdr->args.count +
count             377 fs/nfs/blocklayout/blocklayout.c 		u64 lwb = hdr->args.offset + hdr->args.count;
count             407 fs/nfs/blocklayout/blocklayout.c 	size_t count = header->args.count;
count             414 fs/nfs/blocklayout/blocklayout.c 	dprintk("%s enter, %zu@%lld\n", __func__, count, offset);
count             456 fs/nfs/blocklayout/blocklayout.c 		count -= pg_len;
count             461 fs/nfs/blocklayout/blocklayout.c 	header->res.count = header->args.count;
count             683 fs/nfs/blocklayout/blocklayout.c 	uint32_t count;
count             707 fs/nfs/blocklayout/blocklayout.c 	count = be32_to_cpup(p++);
count             708 fs/nfs/blocklayout/blocklayout.c 	dprintk("%s: number of extents %d\n", __func__, count);
count             714 fs/nfs/blocklayout/blocklayout.c 	for (i = 0; i < count; i++) {
count             483 fs/nfs/blocklayout/extent_tree.c static size_t ext_tree_layoutupdate_size(struct pnfs_block_layout *bl, size_t count)
count             486 fs/nfs/blocklayout/extent_tree.c 		return sizeof(__be32) + PNFS_SCSI_RANGE_SIZE * count;
count             488 fs/nfs/blocklayout/extent_tree.c 		return sizeof(__be32) + PNFS_BLOCK_EXTENT_SIZE * count;
count             524 fs/nfs/blocklayout/extent_tree.c 		size_t buffer_size, size_t *count, __u64 *lastbyte)
count             535 fs/nfs/blocklayout/extent_tree.c 		(*count)++;
count             536 fs/nfs/blocklayout/extent_tree.c 		if (ext_tree_layoutupdate_size(bl, *count) > buffer_size) {
count             559 fs/nfs/blocklayout/extent_tree.c 	size_t count = 0, buffer_size = PAGE_SIZE;
count             572 fs/nfs/blocklayout/extent_tree.c 	ret = ext_tree_encode_commit(bl, start_p + 1, buffer_size, &count, &arg->lastbytewritten);
count             576 fs/nfs/blocklayout/extent_tree.c 		buffer_size = ext_tree_layoutupdate_size(bl, count);
count             577 fs/nfs/blocklayout/extent_tree.c 		count = 0;
count             594 fs/nfs/blocklayout/extent_tree.c 	*start_p = cpu_to_be32(count);
count             595 fs/nfs/blocklayout/extent_tree.c 	arg->layoutupdate_len = ext_tree_layoutupdate_size(bl, count);
count             610 fs/nfs/blocklayout/extent_tree.c 	dprintk("%s found %zu ranges\n", __func__, count);
count              70 fs/nfs/cache_lib.c 	if (refcount_dec_and_test(&dreq->count))
count              90 fs/nfs/cache_lib.c 	refcount_inc(&dreq->count);
count             102 fs/nfs/cache_lib.c 		refcount_set(&dreq->count, 1);
count              19 fs/nfs/cache_lib.h 	refcount_t count;
count             688 fs/nfs/callback_proc.c 	cp_state->count = args->wr_count;
count             542 fs/nfs/dir.c   	unsigned int count = 0;
count             563 fs/nfs/dir.c   		count++;
count             574 fs/nfs/dir.c   	if (count == 0 || (status == -EBADCOOKIE && entry->eof != 0)) {
count              81 fs/nfs/direct.c 	ssize_t			count,		/* bytes actually processed */
count             125 fs/nfs/direct.c 		if (dreq->count > dreq_len)
count             126 fs/nfs/direct.c 			dreq->count = dreq_len;
count             150 fs/nfs/direct.c 	if (dreq->count < dreq_len)
count             151 fs/nfs/direct.c 		dreq->count = dreq_len;
count             352 fs/nfs/direct.c 		result = dreq->count;
count             353 fs/nfs/direct.c 		WARN_ON_ONCE(dreq->count < 0);
count             374 fs/nfs/direct.c 		if (dreq->count != 0) {
count             375 fs/nfs/direct.c 			res = (long) dreq->count;
count             376 fs/nfs/direct.c 			WARN_ON_ONCE(dreq->count < 0);
count             550 fs/nfs/direct.c 	size_t count = iov_iter_count(iter);
count             551 fs/nfs/direct.c 	nfs_add_stats(mapping->host, NFSIOS_DIRECTREADBYTES, count);
count             554 fs/nfs/direct.c 		file, count, (long long) iocb->ki_pos);
count             557 fs/nfs/direct.c 	if (!count)
count             560 fs/nfs/direct.c 	task_io_account_read(count);
count             568 fs/nfs/direct.c 	dreq->bytes_left = dreq->max_count = count;
count             586 fs/nfs/direct.c 	NFS_I(inode)->read_io += count;
count             633 fs/nfs/direct.c 	dreq->count = 0;
count             828 fs/nfs/direct.c 		hdr->good_bytes = hdr->args.count;
count             959 fs/nfs/direct.c 	size_t count;
count             973 fs/nfs/direct.c 	count = result;
count             974 fs/nfs/direct.c 	nfs_add_stats(mapping->host, NFSIOS_DIRECTWRITTENBYTES, count);
count             979 fs/nfs/direct.c 	task_io_account_write(count);
count             987 fs/nfs/direct.c 	dreq->bytes_left = dreq->max_count = count;
count              98 fs/nfs/filelayout/filelayout.c 			hdr->args.count,
count             115 fs/nfs/filelayout/filelayout.c 			hdr->args.count,
count             237 fs/nfs/filelayout/filelayout.c 		end_offs = hdr->mds_offset + (loff_t)hdr->res.count;
count             460 fs/nfs/filelayout/filelayout.c 		hdr->args.pgbase, (size_t)hdr->args.count, offset);
count             517 fs/nfs/filelayout/filelayout.c 		__func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count,
count             886 fs/nfs/filelayout/filelayout.c 		      u64 count,
count             896 fs/nfs/filelayout/filelayout.c 	lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode,
count            1081 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1094 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1098 fs/nfs/flexfilelayout/flexfilelayout.c 				hdr->args.offset, hdr->args.count,
count            1117 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1121 fs/nfs/flexfilelayout/flexfilelayout.c 				hdr->args.offset, hdr->args.count,
count            1327 fs/nfs/flexfilelayout/flexfilelayout.c 					    hdr->args.offset, hdr->args.count,
count            1396 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1407 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1408 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->res.count);
count            1500 fs/nfs/flexfilelayout/flexfilelayout.c 					    hdr->args.offset, hdr->args.count,
count            1522 fs/nfs/flexfilelayout/flexfilelayout.c 		end_offs = hdr->mds_offset + (loff_t)hdr->res.count;
count            1543 fs/nfs/flexfilelayout/flexfilelayout.c 					    data->args.offset, data->args.count,
count            1573 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count,
count            1584 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.count, hdr->res.count,
count            1674 fs/nfs/flexfilelayout/flexfilelayout.c 	__u64 count = 0;
count            1681 fs/nfs/flexfilelayout/flexfilelayout.c 			count += req->wb_bytes;
count            1685 fs/nfs/flexfilelayout/flexfilelayout.c 			count, count, NFS_FILE_SYNC);
count            1792 fs/nfs/flexfilelayout/flexfilelayout.c 		hdr->args.pgbase, (size_t)hdr->args.count, offset);
count            1841 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.offset, hdr->args.count,
count            1877 fs/nfs/flexfilelayout/flexfilelayout.c 		__func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count,
count            1909 fs/nfs/flexfilelayout/flexfilelayout.c 			hdr->args.offset, hdr->args.count,
count             856 fs/nfs/inode.c 	refcount_set(&l_ctx->count, 1);
count             869 fs/nfs/inode.c 		if (refcount_inc_not_zero(&pos->count))
count             912 fs/nfs/inode.c 	if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock))
count             988 fs/nfs/inode.c 	if (ctx != NULL && refcount_inc_not_zero(&ctx->lock_context.count))
count             999 fs/nfs/inode.c 	if (!refcount_dec_and_test(&ctx->lock_context.count))
count             424 fs/nfs/mount_clnt.c 	unsigned int *count = res->auth_count;
count             428 fs/nfs/mount_clnt.c 	if (*count == 0)
count             443 fs/nfs/mount_clnt.c 	if (entries > *count)
count             444 fs/nfs/mount_clnt.c 		entries = *count;
count             450 fs/nfs/mount_clnt.c 	*count = i;
count              98 fs/nfs/nfs2xdr.c 	u32 recvd, count;
count             104 fs/nfs/nfs2xdr.c 	count = be32_to_cpup(p);
count             105 fs/nfs/nfs2xdr.c 	recvd = xdr_read_pages(xdr, count);
count             106 fs/nfs/nfs2xdr.c 	if (unlikely(count > recvd))
count             110 fs/nfs/nfs2xdr.c 	result->count = count;
count             111 fs/nfs/nfs2xdr.c 	return count;
count             114 fs/nfs/nfs2xdr.c 		"count %u > recvd %u\n", count, recvd);
count             115 fs/nfs/nfs2xdr.c 	count = recvd;
count             401 fs/nfs/nfs2xdr.c 	u32 count;
count             406 fs/nfs/nfs2xdr.c 	count = be32_to_cpup(p);
count             407 fs/nfs/nfs2xdr.c 	if (count > NFS3_MAXNAMLEN)
count             409 fs/nfs/nfs2xdr.c 	p = xdr_inline_decode(xdr, count);
count             413 fs/nfs/nfs2xdr.c 	*length = count;
count             416 fs/nfs/nfs2xdr.c 	dprintk("NFS: returned filename too long: %u\n", count);
count             618 fs/nfs/nfs2xdr.c 	u32 count = args->count;
count             625 fs/nfs/nfs2xdr.c 	*p++ = cpu_to_be32(count);
count             626 fs/nfs/nfs2xdr.c 	*p = cpu_to_be32(count);
count             637 fs/nfs/nfs2xdr.c 				args->count, NFS_readres_sz);
count             656 fs/nfs/nfs2xdr.c 	u32 count = args->count;
count             664 fs/nfs/nfs2xdr.c 	*p++ = cpu_to_be32(count);
count             667 fs/nfs/nfs2xdr.c 	*p = cpu_to_be32(count);
count             668 fs/nfs/nfs2xdr.c 	xdr_write_pages(xdr, args->pages, args->pgbase, count);
count             784 fs/nfs/nfs2xdr.c 	*p = cpu_to_be32(args->count);
count             795 fs/nfs/nfs2xdr.c 				args->count, NFS_readdirres_sz);
count              63 fs/nfs/nfs3acl.c 	int status, count;
count             100 fs/nfs/nfs3acl.c 	for (count = 0; count < NFSACL_MAXPAGES && args.pages[count]; count++)
count             101 fs/nfs/nfs3acl.c 		__free_page(args.pages[count]);
count             632 fs/nfs/nfs3proc.c 		  u64 cookie, struct page **pages, unsigned int count, bool plus)
count             641 fs/nfs/nfs3proc.c 		.count		= count,
count             194 fs/nfs/nfs3xdr.c 	u32 count;
count             199 fs/nfs/nfs3xdr.c 	count = be32_to_cpup(p);
count             200 fs/nfs/nfs3xdr.c 	if (count > NFS3_MAXNAMLEN)
count             202 fs/nfs/nfs3xdr.c 	p = xdr_inline_decode(xdr, count);
count             206 fs/nfs/nfs3xdr.c 	*length = count;
count             210 fs/nfs/nfs3xdr.c 	dprintk("NFS: returned filename too long: %u\n", count);
count             228 fs/nfs/nfs3xdr.c 	u32 recvd, count;
count             234 fs/nfs/nfs3xdr.c 	count = be32_to_cpup(p);
count             235 fs/nfs/nfs3xdr.c 	if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN))
count             237 fs/nfs/nfs3xdr.c 	recvd = xdr_read_pages(xdr, count);
count             238 fs/nfs/nfs3xdr.c 	if (unlikely(count > recvd))
count             240 fs/nfs/nfs3xdr.c 	xdr_terminate_string(xdr->buf, count);
count             244 fs/nfs/nfs3xdr.c 	dprintk("NFS: returned pathname too long: %u\n", count);
count             248 fs/nfs/nfs3xdr.c 		"count %u > recvd %u\n", count, recvd);
count             938 fs/nfs/nfs3xdr.c 	*p = cpu_to_be32(args->count);
count             950 fs/nfs/nfs3xdr.c 				args->count, replen);
count             980 fs/nfs/nfs3xdr.c 	*p++ = cpu_to_be32(args->count);
count             982 fs/nfs/nfs3xdr.c 	*p = cpu_to_be32(args->count);
count             983 fs/nfs/nfs3xdr.c 	xdr_write_pages(xdr, args->pages, args->pgbase, args->count);
count            1236 fs/nfs/nfs3xdr.c 	*p = cpu_to_be32(args->count);
count            1247 fs/nfs/nfs3xdr.c 				args->count, NFS3_readdirres_sz);
count            1276 fs/nfs/nfs3xdr.c 	*p++ = cpu_to_be32(args->count >> 3);
count            1278 fs/nfs/nfs3xdr.c 	*p = cpu_to_be32(args->count);
count            1289 fs/nfs/nfs3xdr.c 				args->count, NFS3_readdirres_sz);
count            1310 fs/nfs/nfs3xdr.c 	*p = cpu_to_be32(args->count);
count            1607 fs/nfs/nfs3xdr.c 	u32 eof, count, ocount, recvd;
count            1613 fs/nfs/nfs3xdr.c 	count = be32_to_cpup(p++);
count            1616 fs/nfs/nfs3xdr.c 	if (unlikely(ocount != count))
count            1618 fs/nfs/nfs3xdr.c 	recvd = xdr_read_pages(xdr, count);
count            1619 fs/nfs/nfs3xdr.c 	if (unlikely(count > recvd))
count            1623 fs/nfs/nfs3xdr.c 	result->count = count;
count            1624 fs/nfs/nfs3xdr.c 	return count;
count            1627 fs/nfs/nfs3xdr.c 		"count %u != ocount %u\n", count, ocount);
count            1631 fs/nfs/nfs3xdr.c 		"count %u > recvd %u\n", count, recvd);
count            1632 fs/nfs/nfs3xdr.c 	count = recvd;
count            1698 fs/nfs/nfs3xdr.c 	result->count = be32_to_cpup(p++);
count            1704 fs/nfs/nfs3xdr.c 	return result->count;
count             184 fs/nfs/nfs42proc.c 	res->write_res.count = copy->count;
count             206 fs/nfs/nfs42proc.c 	status = nfs4_proc_commit(dst, pos_dst, res->write_res.count, &cres);
count             236 fs/nfs/nfs42proc.c 	size_t count = args->count;
count             245 fs/nfs/nfs42proc.c 			pos_src, pos_src + (loff_t)count - 1);
count             297 fs/nfs/nfs42proc.c 				 pos_dst + res->write_res.count);
count             299 fs/nfs/nfs42proc.c 	status = res->write_res.count;
count             308 fs/nfs/nfs42proc.c 			size_t count)
count             318 fs/nfs/nfs42proc.c 		.count		= count,
count             839 fs/nfs/nfs42proc.c 		loff_t dst_offset, loff_t count)
count             849 fs/nfs/nfs42proc.c 		.count = count,
count             884 fs/nfs/nfs42proc.c 		     loff_t src_offset, loff_t dst_offset, loff_t count)
count             918 fs/nfs/nfs42proc.c 					src_offset, dst_offset, count);
count             179 fs/nfs/nfs42xdr.c 	encode_uint64(xdr, args->count);
count             252 fs/nfs/nfs42xdr.c 	xdr_encode_hyper(p, args->count);
count             312 fs/nfs/nfs42xdr.c 	*p = cpu_to_be32(args->count);
count             471 fs/nfs/nfs42xdr.c 	int status, count;
count             476 fs/nfs/nfs42xdr.c 	count = be32_to_cpup(p);
count             477 fs/nfs/nfs42xdr.c 	if (count > 1)
count             479 fs/nfs/nfs42xdr.c 	else if (count == 1) {
count             488 fs/nfs/nfs42xdr.c 	p = xdr_decode_hyper(p, &res->count);
count             194 fs/nfs/nfs4_fs.h 	refcount_t count;
count             509 fs/nfs/nfs4_fs.h extern int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res);
count             133 fs/nfs/nfs4file.c 				      size_t count, unsigned int flags)
count             142 fs/nfs/nfs4file.c 	return nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count);
count             147 fs/nfs/nfs4file.c 				    size_t count, unsigned int flags)
count             151 fs/nfs/nfs4file.c 	ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count,
count             155 fs/nfs/nfs4file.c 					      pos_out, count, flags);
count             196 fs/nfs/nfs4file.c 		struct file *dst_file, loff_t dst_off, loff_t count,
count             221 fs/nfs/nfs4file.c 		if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count))
count             248 fs/nfs/nfs4file.c 	ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count);
count             253 fs/nfs/nfs4file.c 		truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1);
count             266 fs/nfs/nfs4file.c 	return ret < 0 ? ret : count;
count             358 fs/nfs/nfs4proc.c 	readdir->count -= readdir->pgbase;
count            1860 fs/nfs/nfs4proc.c 	refcount_inc(&state->count);
count            1933 fs/nfs/nfs4proc.c 	refcount_inc(&state->count);
count            1971 fs/nfs/nfs4proc.c 		refcount_inc(&state->count);
count            2065 fs/nfs/nfs4proc.c 	refcount_inc(&state->count);
count            4868 fs/nfs/nfs4proc.c 		u64 cookie, struct page **pages, unsigned int count, bool plus)
count            4875 fs/nfs/nfs4proc.c 		.count = count,
count            4906 fs/nfs/nfs4proc.c 		u64 cookie, struct page **pages, unsigned int count, bool plus)
count            4914 fs/nfs/nfs4proc.c 				pages, count, plus);
count            5371 fs/nfs/nfs4proc.c int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res)
count            5375 fs/nfs/nfs4proc.c 		.count = count,
count             671 fs/nfs/nfs4state.c 	refcount_set(&state->count, 1);
count             705 fs/nfs/nfs4state.c 		if (refcount_inc_not_zero(&state->count))
count             759 fs/nfs/nfs4state.c 	if (!refcount_dec_and_lock(&state->count, &owner->so_lock))
count            1629 fs/nfs/nfs4state.c 		refcount_inc(&state->count);
count            1523 fs/nfs/nfs4trace.h 			__field(size_t, count)
count            1537 fs/nfs/nfs4trace.h 			__entry->count = hdr->args.count;
count            1554 fs/nfs/nfs4trace.h 			__entry->count,
count            1583 fs/nfs/nfs4trace.h 			__field(size_t, count)
count            1597 fs/nfs/nfs4trace.h 			__entry->count = hdr->args.count;
count            1614 fs/nfs/nfs4trace.h 			__entry->count,
count            1644 fs/nfs/nfs4trace.h 			__field(size_t, count)
count            1654 fs/nfs/nfs4trace.h 			__entry->count = data->args.count;
count            1667 fs/nfs/nfs4trace.h 			__entry->count
count            1708 fs/nfs/nfs4trace.h 			__field(u64, count)
count            1724 fs/nfs/nfs4trace.h 			__entry->count = args->length;
count            1752 fs/nfs/nfs4trace.h 			(unsigned long long)__entry->count,
count            1797 fs/nfs/nfs4trace.h 			u64 count,
count            1803 fs/nfs/nfs4trace.h 		TP_ARGS(inode, pos, count, iomode, lo, lseg, reason),
count            1809 fs/nfs/nfs4trace.h 			__field(u64, count)
count            1821 fs/nfs/nfs4trace.h 			__entry->count = count;
count            1844 fs/nfs/nfs4trace.h 			(unsigned long long)__entry->count,
count            1854 fs/nfs/nfs4trace.h 			u64 count,
count            1859 fs/nfs/nfs4trace.h 		TP_ARGS(inode, pos, count, iomode, lo, lseg),
count            1865 fs/nfs/nfs4trace.h 			__field(u64, count)
count            1876 fs/nfs/nfs4trace.h 			__entry->count = count;
count            1898 fs/nfs/nfs4trace.h 			(unsigned long long)__entry->count,
count            1908 fs/nfs/nfs4trace.h 			u64 count, \
count            1913 fs/nfs/nfs4trace.h 		TP_ARGS(inode, pos, count, iomode, lo, lseg))
count            1211 fs/nfs/nfs4xdr.c 	*p = cpu_to_be32(args->count);
count            1590 fs/nfs/nfs4xdr.c 	*p = cpu_to_be32(args->count);
count            1599 fs/nfs/nfs4xdr.c 	uint32_t dircount = readdir->count >> 1;
count            1628 fs/nfs/nfs4xdr.c 	*p++ = cpu_to_be32(readdir->count);
count            1740 fs/nfs/nfs4xdr.c 	*p = cpu_to_be32(args->count);
count            1742 fs/nfs/nfs4xdr.c 	xdr_write_pages(xdr, args->pages, args->pgbase, args->count);
count            2526 fs/nfs/nfs4xdr.c 				args->count, hdr.replen);
count            2547 fs/nfs/nfs4xdr.c 				args->count, hdr.replen);
count            5164 fs/nfs/nfs4xdr.c 	uint32_t count, eof, recvd;
count            5174 fs/nfs/nfs4xdr.c 	count = be32_to_cpup(p);
count            5175 fs/nfs/nfs4xdr.c 	recvd = xdr_read_pages(xdr, count);
count            5176 fs/nfs/nfs4xdr.c 	if (count > recvd) {
count            5178 fs/nfs/nfs4xdr.c 				"count %u > recvd %u\n", count, recvd);
count            5179 fs/nfs/nfs4xdr.c 		count = recvd;
count            5183 fs/nfs/nfs4xdr.c 	res->count = count;
count            5409 fs/nfs/nfs4xdr.c 	res->count = be32_to_cpup(p++);
count            6709 fs/nfs/nfs4xdr.c 		status = res->count;
count            6740 fs/nfs/nfs4xdr.c 		status = res->count;
count             824 fs/nfs/nfstrace.h 			loff_t offset, unsigned long count
count             827 fs/nfs/nfstrace.h 		TP_ARGS(inode, offset, count),
count             831 fs/nfs/nfstrace.h 			__field(unsigned long, count)
count             841 fs/nfs/nfstrace.h 			__entry->count = count;
count             853 fs/nfs/nfstrace.h 			__entry->offset, __entry->count
count             909 fs/nfs/nfstrace.h 			loff_t offset, unsigned long count,
count             913 fs/nfs/nfstrace.h 		TP_ARGS(inode, offset, count, stable),
count             917 fs/nfs/nfstrace.h 			__field(unsigned long, count)
count             928 fs/nfs/nfstrace.h 			__entry->count = count;
count             941 fs/nfs/nfstrace.h 			__entry->offset, __entry->count,
count            1001 fs/nfs/nfstrace.h 			__field(unsigned long, count)
count            1012 fs/nfs/nfstrace.h 			__entry->count = data->args.count;
count            1024 fs/nfs/nfstrace.h 			__entry->offset, __entry->count
count             302 fs/nfs/pagelist.c 		   unsigned int count)
count             315 fs/nfs/pagelist.c 	refcount_inc(&l_ctx->count);
count             328 fs/nfs/pagelist.c 	req->wb_bytes   = count;
count             347 fs/nfs/pagelist.c 		   unsigned int offset, unsigned int count)
count             354 fs/nfs/pagelist.c 	ret = __nfs_create_request(l_ctx, page, offset, offset, count);
count             364 fs/nfs/pagelist.c 		  unsigned int count)
count             369 fs/nfs/pagelist.c 			pgbase, offset, count);
count             563 fs/nfs/pagelist.c 			      unsigned int count,
count             577 fs/nfs/pagelist.c 	hdr->args.count  = count;
count             593 fs/nfs/pagelist.c 	hdr->res.count   = 0;
count             640 fs/nfs/pagelist.c 		hdr->args.count,
count            1883 fs/nfs/pnfs.c  		   u64 count,
count            1891 fs/nfs/pnfs.c  		.length = count,
count            1905 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1911 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1925 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1932 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1940 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1962 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            1998 fs/nfs/pnfs.c  			trace_pnfs_update_layout(ino, pos, count,
count            2026 fs/nfs/pnfs.c  			trace_pnfs_update_layout(ino, pos, count, iomode, lo,
count            2030 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            2036 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            2055 fs/nfs/pnfs.c  		trace_pnfs_update_layout(ino, pos, count, iomode, lo, NULL,
count            2062 fs/nfs/pnfs.c  	trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            2084 fs/nfs/pnfs.c  			trace_pnfs_update_layout(ino, pos, count,
count            2096 fs/nfs/pnfs.c  	trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg,
count            2107 fs/nfs/pnfs.c  			(unsigned long long)count);
count            2637 fs/nfs/pnfs.c  				hdr->mds_offset + hdr->res.count);
count            2674 fs/nfs/pnfs.c  		inode->i_ino, hdr->args.count, hdr->args.offset, how);
count            2799 fs/nfs/pnfs.c  		__func__, inode->i_ino, hdr->args.count, hdr->args.offset);
count             306 fs/nfs/pnfs.h  					       u64 count,
count             494 fs/nfs/proc.c  		 u64 cookie, struct page **pages, unsigned int count, bool plus)
count             500 fs/nfs/proc.c  		.count		= count,
count             597 fs/nfs/proc.c  		if ((hdr->res.count == 0 && hdr->args.count > 0) ||
count             598 fs/nfs/proc.c  		    hdr->args.offset + hdr->res.count >= hdr->res.fattr->size)
count             620 fs/nfs/proc.c  		hdr->res.count = hdr->args.count;
count             249 fs/nfs/read.c  	nfs_add_stats(inode, NFSIOS_SERVERREADBYTES, hdr->res.count);
count             269 fs/nfs/read.c  	if (resp->count == 0) {
count             281 fs/nfs/read.c  	hdr->mds_offset += resp->count;
count             282 fs/nfs/read.c  	argp->offset += resp->count;
count             283 fs/nfs/read.c  	argp->pgbase += resp->count;
count             284 fs/nfs/read.c  	argp->count -= resp->count;
count             292 fs/nfs/read.c  		loff_t pos = hdr->args.offset + hdr->res.count;
count             300 fs/nfs/read.c  	} else if (hdr->res.count < hdr->args.count)
count            1716 fs/nfs/super.c 			rpc_authflavor_t *server_authlist, unsigned int count)
count            1734 fs/nfs/super.c 	for (i = 0; i < count; i++) {
count              95 fs/nfs/sysfs.c 		const char *buf, size_t count)
count             104 fs/nfs/sysfs.c 	len = nfs_string_strip(buf, min_t(size_t, count, CONTAINER_ID_MAXLEN));
count             115 fs/nfs/sysfs.c 	return count;
count             222 fs/nfs/write.c static void nfs_grow_file(struct page *page, unsigned int offset, unsigned int count)
count             233 fs/nfs/write.c 	end = page_file_offset(page) + ((loff_t)offset+count);
count            1189 fs/nfs/write.c 		unsigned int offset, unsigned int count)
count            1193 fs/nfs/write.c 	req = nfs_setup_write_request(ctx, page, offset, count);
count            1197 fs/nfs/write.c 	nfs_grow_file(page, offset, count);
count            1364 fs/nfs/write.c 		unsigned int offset, unsigned int count)
count            1374 fs/nfs/write.c 		file, count, (long long)(page_file_offset(page) + offset));
count            1376 fs/nfs/write.c 	if (!count)
count            1380 fs/nfs/write.c 		count = max(count + offset, nfs_page_length(page));
count            1384 fs/nfs/write.c 	status = nfs_writepage_setup(ctx, page, offset, count);
count            1451 fs/nfs/write.c 			hdr->args.offset + hdr->args.count - 1);
count            1531 fs/nfs/write.c 	u64 size = argp->offset + resp->count;
count            1579 fs/nfs/write.c 	nfs_add_stats(inode, NFSIOS_SERVERWRITTENBYTES, hdr->res.count);
count            1623 fs/nfs/write.c 	if (resp->count < argp->count) {
count            1630 fs/nfs/write.c 		if (resp->count == 0) {
count            1634 fs/nfs/write.c 				       argp->count);
count            1651 fs/nfs/write.c 			hdr->mds_offset += resp->count;
count            1652 fs/nfs/write.c 			argp->offset += resp->count;
count            1653 fs/nfs/write.c 			argp->pgbase += resp->count;
count            1654 fs/nfs/write.c 			argp->count -= resp->count;
count            1769 fs/nfs/write.c 	data->args.count  = 0;
count              36 fs/nfs_common/nfsacl.c 	unsigned int count;
count              56 fs/nfs_common/nfsacl.c 		&nfsacl_desc->acl->a_entries[nfsacl_desc->count++];
count             141 fs/nfs_common/nfsacl.c 	unsigned int count;
count             160 fs/nfs_common/nfsacl.c 		nfsacl_desc->count = 0;
count             163 fs/nfs_common/nfsacl.c 	entry = &nfsacl_desc->acl->a_entries[nfsacl_desc->count++];
count              64 fs/nfsd/filecache.c 	long count = atomic_long_read(&nfsd_filecache_count);
count              66 fs/nfsd/filecache.c 	if (count == 0 || test_bit(NFSD_FILE_SHUTDOWN, &nfsd_file_lru_flags))
count              70 fs/nfsd/filecache.c 	if (count > NFSD_FILE_LRU_THRESHOLD)
count              79 fs/nfsd/filecache.c 	if (count >= NFSD_FILE_LRU_LIMIT)
count             296 fs/nfsd/filecache.c 	int count;
count             299 fs/nfsd/filecache.c 	count = atomic_dec_return(&nf->nf_ref);
count             300 fs/nfsd/filecache.c 	if (!count) {
count             304 fs/nfsd/filecache.c 	return count;
count             911 fs/nfsd/filecache.c 	unsigned int i, count = 0, longest = 0;
count             922 fs/nfsd/filecache.c 			count += nfsd_file_hashtbl[i].nfb_count;
count             931 fs/nfsd/filecache.c 	seq_printf(m, "total entries: %u\n", count);
count             157 fs/nfsd/nfs3proc.c 	unsigned long cnt = min(argp->count, max_blocksize);
count             161 fs/nfsd/nfs3proc.c 				(unsigned long) argp->count,
count             168 fs/nfsd/nfs3proc.c 	resp->count = cnt;
count             169 fs/nfsd/nfs3proc.c 	svc_reserve_auth(rqstp, ((1 + NFS3_POST_OP_ATTR_WORDS + 3)<<2) + resp->count +4);
count             175 fs/nfsd/nfs3proc.c 				  &resp->count,
count             207 fs/nfsd/nfs3proc.c 	resp->count = cnt;
count             440 fs/nfsd/nfs3proc.c 	int		count = 0;
count             446 fs/nfsd/nfs3proc.c 				argp->count, (u32) argp->cookie);
count             450 fs/nfsd/nfs3proc.c 	count = (argp->count >> 2) - 2;
count             455 fs/nfsd/nfs3proc.c 	resp->buflen = count;
count             462 fs/nfsd/nfs3proc.c 	count = 0;
count             468 fs/nfsd/nfs3proc.c 			count += (caddr_t)resp->buffer - page_addr;
count             471 fs/nfsd/nfs3proc.c 		count += PAGE_SIZE;
count             473 fs/nfsd/nfs3proc.c 	resp->count = count >> 2;
count             501 fs/nfsd/nfs3proc.c 	int	count = 0;
count             508 fs/nfsd/nfs3proc.c 				argp->count, (u32) argp->cookie);
count             512 fs/nfsd/nfs3proc.c 	resp->count = (argp->count >> 2) - 2;
count             519 fs/nfsd/nfs3proc.c 	resp->buflen = resp->count;
count             540 fs/nfsd/nfs3proc.c 			count += (caddr_t)resp->buffer - page_addr;
count             543 fs/nfsd/nfs3proc.c 		count += PAGE_SIZE;
count             545 fs/nfsd/nfs3proc.c 	resp->count = count >> 2;
count             679 fs/nfsd/nfs3proc.c 				argp->count,
count             686 fs/nfsd/nfs3proc.c 	nfserr = nfsd_commit(rqstp, &resp->fh, argp->offset, argp->count);
count             379 fs/nfsd/nfs3xdr.c 	args->count = ntohl(*p++);
count             380 fs/nfsd/nfs3xdr.c 	len = min(args->count, max_blocksize);
count             410 fs/nfsd/nfs3xdr.c 	args->count = ntohl(*p++);
count             418 fs/nfsd/nfs3xdr.c 	if (args->count != args->len)
count             438 fs/nfsd/nfs3xdr.c 	if (args->count > max_blocksize) {
count             439 fs/nfsd/nfs3xdr.c 		args->count = max_blocksize;
count             587 fs/nfsd/nfs3xdr.c 	args->count  = ntohl(*p++);
count             588 fs/nfsd/nfs3xdr.c 	len = args->count  = min_t(u32, args->count, max_blocksize);
count             613 fs/nfsd/nfs3xdr.c 	args->count    = ntohl(*p++);
count             615 fs/nfsd/nfs3xdr.c 	len = args->count = min(args->count, max_blocksize);
count             634 fs/nfsd/nfs3xdr.c 	args->count = ntohl(*p++);
count             732 fs/nfsd/nfs3xdr.c 		*p++ = htonl(resp->count);
count             734 fs/nfsd/nfs3xdr.c 		*p++ = htonl(resp->count);	/* xdr opaque count */
count             737 fs/nfsd/nfs3xdr.c 		rqstp->rq_res.page_len = resp->count;
count             738 fs/nfsd/nfs3xdr.c 		if (resp->count & 3) {
count             742 fs/nfsd/nfs3xdr.c 			rqstp->rq_res.tail[0].iov_len = 4 - (resp->count & 3);
count             759 fs/nfsd/nfs3xdr.c 		*p++ = htonl(resp->count);
count             820 fs/nfsd/nfs3xdr.c 		rqstp->rq_res.page_len = (resp->count) << 2;
count            1376 fs/nfsd/nfs4proc.c 		os->count = copy->cp_res.wr_bytes_written;
count            1453 fs/nfsd/nfs4proc.c 	int count;
count            1473 fs/nfsd/nfs4proc.c 	count = 4 + (verify->ve_attrlen >> 2);
count            1474 fs/nfsd/nfs4proc.c 	buf = kmalloc(count << 2, GFP_KERNEL);
count            1479 fs/nfsd/nfs4proc.c 	status = nfsd4_encode_fattr_to_buf(&p, count, &cstate->current_fh,
count            7034 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7046 fs/nfsd/nfs4state.c 		++count;
count            7050 fs/nfsd/nfs4state.c 	return count;
count            7056 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7062 fs/nfsd/nfs4state.c 		return count;
count            7068 fs/nfsd/nfs4state.c 			++count;
count            7077 fs/nfsd/nfs4state.c 	return count;
count            7083 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7090 fs/nfsd/nfs4state.c 		return count;
count            7096 fs/nfsd/nfs4state.c 			if (max != 0 && ++count >= max)
count            7105 fs/nfsd/nfs4state.c 	return count;
count            7108 fs/nfsd/nfs4state.c static void nfsd_print_count(struct nfs4_client *clp, unsigned int count,
count            7113 fs/nfsd/nfs4state.c 	printk(KERN_INFO "NFS Client: %s has %u %s\n", buf, count, type);
count            7139 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7152 fs/nfsd/nfs4state.c 				++count;
count            7160 fs/nfsd/nfs4state.c 				WARN_ON_ONCE(count == (INT_MAX / 2));
count            7161 fs/nfsd/nfs4state.c 				if (count == max)
count            7169 fs/nfsd/nfs4state.c 	return count;
count            7182 fs/nfsd/nfs4state.c 	u64 count = nfsd_foreach_client_lock(clp, 0, NULL, NULL);
count            7183 fs/nfsd/nfs4state.c 	nfsd_print_count(clp, count, "locked files");
count            7184 fs/nfsd/nfs4state.c 	return count;
count            7191 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7200 fs/nfsd/nfs4state.c 		count += nfsd_print_client_locks(clp);
count            7203 fs/nfsd/nfs4state.c 	return count;
count            7223 fs/nfsd/nfs4state.c 	unsigned int count = 0;
count            7230 fs/nfsd/nfs4state.c 		return count;
count            7235 fs/nfsd/nfs4state.c 		count = nfsd_collect_client_locks(clp, &reaplist, 0);
count            7238 fs/nfsd/nfs4state.c 	return count;
count            7244 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7251 fs/nfsd/nfs4state.c 		return count;
count            7255 fs/nfsd/nfs4state.c 		count += nfsd_collect_client_locks(clp, &reaplist, max - count);
count            7256 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
count            7261 fs/nfsd/nfs4state.c 	return count;
count            7272 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7285 fs/nfsd/nfs4state.c 		++count;
count            7292 fs/nfsd/nfs4state.c 		WARN_ON_ONCE(count == (INT_MAX / 2));
count            7293 fs/nfsd/nfs4state.c 		if (count == max)
count            7298 fs/nfsd/nfs4state.c 	return count;
count            7304 fs/nfsd/nfs4state.c 	u64 count = nfsd_foreach_client_openowner(clp, 0, NULL, NULL);
count            7306 fs/nfsd/nfs4state.c 	nfsd_print_count(clp, count, "openowners");
count            7307 fs/nfsd/nfs4state.c 	return count;
count            7322 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7331 fs/nfsd/nfs4state.c 		count += nfsd_print_client_openowners(clp);
count            7334 fs/nfsd/nfs4state.c 	return count;
count            7355 fs/nfsd/nfs4state.c 	unsigned int count = 0;
count            7362 fs/nfsd/nfs4state.c 		return count;
count            7367 fs/nfsd/nfs4state.c 		count = nfsd_collect_client_openowners(clp, &reaplist, 0);
count            7370 fs/nfsd/nfs4state.c 	return count;
count            7376 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7383 fs/nfsd/nfs4state.c 		return count;
count            7387 fs/nfsd/nfs4state.c 		count += nfsd_collect_client_openowners(clp, &reaplist,
count            7388 fs/nfsd/nfs4state.c 							max - count);
count            7389 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
count            7394 fs/nfsd/nfs4state.c 	return count;
count            7403 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7423 fs/nfsd/nfs4state.c 		++count;
count            7430 fs/nfsd/nfs4state.c 		WARN_ON_ONCE(count == (INT_MAX / 2));
count            7431 fs/nfsd/nfs4state.c 		if (count == max)
count            7435 fs/nfsd/nfs4state.c 	return count;
count            7441 fs/nfsd/nfs4state.c 	u64 count = nfsd_find_all_delegations(clp, 0, NULL);
count            7443 fs/nfsd/nfs4state.c 	nfsd_print_count(clp, count, "delegations");
count            7444 fs/nfsd/nfs4state.c 	return count;
count            7451 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7460 fs/nfsd/nfs4state.c 		count += nfsd_print_client_delegations(clp);
count            7463 fs/nfsd/nfs4state.c 	return count;
count            7484 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7491 fs/nfsd/nfs4state.c 		return count;
count            7496 fs/nfsd/nfs4state.c 		count = nfsd_find_all_delegations(clp, 0, &reaplist);
count            7500 fs/nfsd/nfs4state.c 	return count;
count            7506 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7513 fs/nfsd/nfs4state.c 		return count;
count            7517 fs/nfsd/nfs4state.c 		count += nfsd_find_all_delegations(clp, max - count, &reaplist);
count            7518 fs/nfsd/nfs4state.c 		if (max != 0 && count >= max)
count            7523 fs/nfsd/nfs4state.c 	return count;
count            7553 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7560 fs/nfsd/nfs4state.c 		return count;
count            7565 fs/nfsd/nfs4state.c 		count = nfsd_find_all_delegations(clp, 0, &reaplist);
count            7569 fs/nfsd/nfs4state.c 	return count;
count            7575 fs/nfsd/nfs4state.c 	u64 count = 0;
count            7582 fs/nfsd/nfs4state.c 		return count;
count            7586 fs/nfsd/nfs4state.c 		count += nfsd_find_all_delegations(clp, max - count, &reaplist);
count            7587 fs/nfsd/nfs4state.c 		if (max != 0 && ++count >= max)
count            7592 fs/nfsd/nfs4state.c 	return count;
count            2064 fs/nfsd/nfs4xdr.c 	int strlen, count=0;
count            2100 fs/nfsd/nfs4xdr.c 			count++;
count            2109 fs/nfsd/nfs4xdr.c 	pathlen = htonl(count);
count            4284 fs/nfsd/nfs4xdr.c 	p = xdr_encode_hyper(p, os->count);
count             179 fs/nfsd/nfsproc.c 		argp->count, argp->offset);
count             185 fs/nfsd/nfsproc.c 	if (NFSSVC_MAXBLKSIZE_V2 < argp->count) {
count             190 fs/nfsd/nfsproc.c 				argp->count);
count             191 fs/nfsd/nfsproc.c 		argp->count = NFSSVC_MAXBLKSIZE_V2;
count             193 fs/nfsd/nfsproc.c 	svc_reserve_auth(rqstp, (19<<2) + argp->count + 4);
count             195 fs/nfsd/nfsproc.c 	resp->count = argp->count;
count             199 fs/nfsd/nfsproc.c 				  &resp->count,
count             528 fs/nfsd/nfsproc.c 	int		count;
count             534 fs/nfsd/nfsproc.c 		argp->count, argp->cookie);
count             537 fs/nfsd/nfsproc.c 	count = (argp->count >> 2) - 2;
count             540 fs/nfsd/nfsproc.c 	count -= 2;
count             541 fs/nfsd/nfsproc.c 	if (count < 0)
count             542 fs/nfsd/nfsproc.c 		count = 0;
count             546 fs/nfsd/nfsproc.c 	resp->buflen = count;
count             553 fs/nfsd/nfsproc.c 	resp->count = resp->buffer - argp->buffer;
count             248 fs/nfsd/nfsxdr.c 	len = args->count     = ntohl(*p++);
count             416 fs/nfsd/nfsxdr.c 	args->count  = ntohl(*p++);
count             417 fs/nfsd/nfsxdr.c 	args->count  = min_t(u32, args->count, PAGE_SIZE);
count             474 fs/nfsd/nfsxdr.c 	*p++ = htonl(resp->count);
count             478 fs/nfsd/nfsxdr.c 	rqstp->rq_res.page_len = resp->count;
count             479 fs/nfsd/nfsxdr.c 	if (resp->count & 3) {
count             483 fs/nfsd/nfsxdr.c 		rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3);
count             534 fs/nfsd/vfs.c  		u64 dst_pos, u64 count, bool sync)
count             538 fs/nfsd/vfs.c  	cloned = vfs_clone_file_range(src, src_pos, dst, dst_pos, count, 0);
count             541 fs/nfsd/vfs.c  	if (count && cloned != count)
count             544 fs/nfsd/vfs.c  		loff_t dst_end = count ? dst_pos + count - 1 : LLONG_MAX;
count             556 fs/nfsd/vfs.c  			     u64 dst_pos, u64 count)
count             567 fs/nfsd/vfs.c  	count = min_t(u64, count, 1 << 22);
count             568 fs/nfsd/vfs.c  	return vfs_copy_file_range(src, src_pos, dst, dst_pos, count, 0);
count             864 fs/nfsd/vfs.c  			       unsigned long *count, u32 *eof, ssize_t host_err)
count             868 fs/nfsd/vfs.c  		*eof = nfsd_eof_on_read(file, offset, host_err, *count);
count             869 fs/nfsd/vfs.c  		*count = host_err;
count             871 fs/nfsd/vfs.c  		trace_nfsd_read_io_done(rqstp, fhp, offset, *count);
count             880 fs/nfsd/vfs.c  			struct file *file, loff_t offset, unsigned long *count,
count             885 fs/nfsd/vfs.c  		.total_len	= *count,
count             891 fs/nfsd/vfs.c  	trace_nfsd_read_splice(rqstp, fhp, offset, *count);
count             894 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
count             899 fs/nfsd/vfs.c  		  struct kvec *vec, int vlen, unsigned long *count,
count             906 fs/nfsd/vfs.c  	trace_nfsd_read_vector(rqstp, fhp, offset, *count);
count             907 fs/nfsd/vfs.c  	iov_iter_kvec(&iter, READ, vec, vlen, *count);
count             909 fs/nfsd/vfs.c  	return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err);
count            1017 fs/nfsd/vfs.c  	loff_t offset, struct kvec *vec, int vlen, unsigned long *count,
count            1024 fs/nfsd/vfs.c  	trace_nfsd_read_start(rqstp, fhp, offset, *count);
count            1031 fs/nfsd/vfs.c  		err = nfsd_splice_read(rqstp, fhp, file, offset, count, eof);
count            1033 fs/nfsd/vfs.c  		err = nfsd_readv(rqstp, fhp, file, offset, vec, vlen, count, eof);
count            1037 fs/nfsd/vfs.c  	trace_nfsd_read_done(rqstp, fhp, offset, *count);
count            1080 fs/nfsd/vfs.c                 loff_t offset, unsigned long count)
count            1088 fs/nfsd/vfs.c  	if (count != 0) {
count            1089 fs/nfsd/vfs.c  		end = offset + (loff_t)count - 1;
count              83 fs/nfsd/vfs.h  				unsigned long *count,
count              88 fs/nfsd/vfs.h  				unsigned long *count,
count              29 fs/nfsd/xdr.h  	__u32			count;
count              81 fs/nfsd/xdr.h  	__u32			count;
count             101 fs/nfsd/xdr.h  	unsigned long		count;
count             106 fs/nfsd/xdr.h  	int			count;
count              34 fs/nfsd/xdr3.h 	__u32			count;
count              41 fs/nfsd/xdr3.h 	__u32			count;
count             100 fs/nfsd/xdr3.h 	__u32			count;
count             108 fs/nfsd/xdr3.h 	__u32			count;
count             153 fs/nfsd/xdr3.h 	unsigned long		count;
count             160 fs/nfsd/xdr3.h 	unsigned long		count;
count             182 fs/nfsd/xdr3.h 	int			count;
count             567 fs/nfsd/xdr4.h 	u64		count;
count              75 fs/nilfs2/cpfile.c 	unsigned int count;
count              77 fs/nilfs2/cpfile.c 	count = le32_to_cpu(cp->cp_checkpoints_count) + n;
count              78 fs/nilfs2/cpfile.c 	cp->cp_checkpoints_count = cpu_to_le32(count);
count              79 fs/nilfs2/cpfile.c 	return count;
count              89 fs/nilfs2/cpfile.c 	unsigned int count;
count              92 fs/nilfs2/cpfile.c 	count = le32_to_cpu(cp->cp_checkpoints_count) - n;
count              93 fs/nilfs2/cpfile.c 	cp->cp_checkpoints_count = cpu_to_le32(count);
count              94 fs/nilfs2/cpfile.c 	return count;
count             322 fs/nilfs2/cpfile.c 	int ret, ncps, nicps, nss, count, i;
count             367 fs/nilfs2/cpfile.c 				count =
count             370 fs/nilfs2/cpfile.c 				if (count == 0) {
count              57 fs/nilfs2/page.h nilfs_page_get_nth_block(struct page *page, unsigned int count)
count              61 fs/nilfs2/page.h 	while (count-- > 0)
count             275 fs/nilfs2/recovery.c 				    unsigned long count)
count             280 fs/nilfs2/recovery.c 	if (count <= rest_item_in_current_block) {
count             281 fs/nilfs2/recovery.c 		*offset += bytes * count;
count             287 fs/nilfs2/recovery.c 		count -= rest_item_in_current_block;
count             288 fs/nilfs2/recovery.c 		bcnt = DIV_ROUND_UP(count, nitem_per_block);
count             289 fs/nilfs2/recovery.c 		*offset = bytes * (count - (bcnt - 1) * nitem_per_block);
count              24 fs/nilfs2/sysfs.c 		int count = 0; \
count              28 fs/nilfs2/sysfs.c 		count = scnprintf(buf, PAGE_SIZE, \
count              32 fs/nilfs2/sysfs.c 		count; \
count             775 fs/nilfs2/sysfs.c 					    const char *buf, size_t count)
count             797 fs/nilfs2/sysfs.c 	return count;
count             731 fs/nilfs2/the_nilfs.c 			refcount_inc(&root->count);
count             770 fs/nilfs2/the_nilfs.c 			refcount_inc(&root->count);
count             780 fs/nilfs2/the_nilfs.c 	refcount_set(&new->count, 1);
count             800 fs/nilfs2/the_nilfs.c 	if (refcount_dec_and_test(&root->count)) {
count             241 fs/nilfs2/the_nilfs.h 	refcount_t count;
count             294 fs/nilfs2/the_nilfs.h 	refcount_inc(&root->count);
count             380 fs/nls/nls_euc-jp.c 	int count;
count             392 fs/nls/nls_euc-jp.c 		count = (sjisnec_hi << 8 | sjisnec_lo)
count             395 fs/nls/nls_euc-jp.c 		count = (sjisnec_hi - 0xED) * (0xFC - 0x40)
count             398 fs/nls/nls_euc-jp.c 			count--;
count             401 fs/nls/nls_euc-jp.c 	sjisibm[0] = 0xFA + (count / (0xFC - 0x40));
count             402 fs/nls/nls_euc-jp.c 	sjisibm[1] = 0x40 + (count % (0xFC - 0x40));
count              71 fs/notify/fanotify/fanotify_user.c 					    size_t count)
count              76 fs/notify/fanotify/fanotify_user.c 	pr_debug("%s: group=%p count=%zd\n", __func__, group, count);
count              87 fs/notify/fanotify/fanotify_user.c 	if (event_size > count) {
count             261 fs/notify/fanotify/fanotify_user.c 				  char __user *buf, size_t count)
count             292 fs/notify/fanotify/fanotify_user.c 	if (WARN_ON_ONCE(metadata.event_len > count))
count             335 fs/notify/fanotify/fanotify_user.c 			     size_t count, loff_t *pos)
count             350 fs/notify/fanotify/fanotify_user.c 		kevent = get_one_event(group, count);
count             372 fs/notify/fanotify/fanotify_user.c 		ret = copy_event_to_user(group, kevent, buf, count);
count             405 fs/notify/fanotify/fanotify_user.c 		count -= ret;
count             414 fs/notify/fanotify/fanotify_user.c static ssize_t fanotify_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
count             425 fs/notify/fanotify/fanotify_user.c 	if (count > sizeof(response))
count             426 fs/notify/fanotify/fanotify_user.c 		count = sizeof(response);
count             428 fs/notify/fanotify/fanotify_user.c 	pr_debug("%s: group=%p count=%zu\n", __func__, group, count);
count             430 fs/notify/fanotify/fanotify_user.c 	if (copy_from_user(&response, buf, count))
count             435 fs/notify/fanotify/fanotify_user.c 		count = ret;
count             437 fs/notify/fanotify/fanotify_user.c 	return count;
count             133 fs/notify/inotify/inotify_user.c 					    size_t count)
count             146 fs/notify/inotify/inotify_user.c 	if (event_size > count)
count             213 fs/notify/inotify/inotify_user.c 			    size_t count, loff_t *pos)
count             227 fs/notify/inotify/inotify_user.c 		kevent = get_one_event(group, count);
count             241 fs/notify/inotify/inotify_user.c 			count -= ret;
count            1278 fs/ntfs/aops.c 		atomic_dec(&tni->count);
count              34 fs/ntfs/bitmap.c 		const s64 count, const u8 value, const bool is_rollback)
count              36 fs/ntfs/bitmap.c 	s64 cnt = count;
count             159 fs/ntfs/bitmap.c 	if (count != cnt)
count             160 fs/ntfs/bitmap.c 		pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt,
count              19 fs/ntfs/bitmap.h 		const s64 count, const u8 value, const bool is_rollback);
count              34 fs/ntfs/bitmap.h 		const s64 start_bit, const s64 count, const u8 value)
count              36 fs/ntfs/bitmap.h 	return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value,
count              52 fs/ntfs/bitmap.h 		const s64 count)
count              54 fs/ntfs/bitmap.h 	return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1);
count              69 fs/ntfs/bitmap.h 		const s64 count)
count              71 fs/ntfs/bitmap.h 	return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 0);
count             344 fs/ntfs/inode.c 	if (!atomic_dec_and_test(&ni->count))
count             373 fs/ntfs/inode.c 	atomic_set(&ni->count, 1);
count            2265 fs/ntfs/inode.c 	if (!atomic_dec_and_test(&ni->count))
count              41 fs/ntfs/inode.h 	atomic_t count;		/* Inode reference count for book keeping. */
count             133 fs/ntfs/lcnalloc.c 		const s64 count, const LCN start_lcn,
count             151 fs/ntfs/lcnalloc.c 			(unsigned long long)count,
count             158 fs/ntfs/lcnalloc.c 	BUG_ON(count < 0);
count             164 fs/ntfs/lcnalloc.c 	if (!count)
count             239 fs/ntfs/lcnalloc.c 	clusters = count;
count             755 fs/ntfs/lcnalloc.c 					(unsigned long long)(count - clusters));
count             835 fs/ntfs/lcnalloc.c s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
count             847 fs/ntfs/lcnalloc.c 			(unsigned long long)count,
count             853 fs/ntfs/lcnalloc.c 	BUG_ON(count < -1);
count             887 fs/ntfs/lcnalloc.c 	if (count >= 0 && to_free > count)
count             888 fs/ntfs/lcnalloc.c 		to_free = count;
count             905 fs/ntfs/lcnalloc.c 	if (count >= 0)
count             906 fs/ntfs/lcnalloc.c 		count -= to_free;
count             914 fs/ntfs/lcnalloc.c 	for (; rl->length && count != 0; ++rl) {
count             944 fs/ntfs/lcnalloc.c 		if (count >= 0 && to_free > count)
count             945 fs/ntfs/lcnalloc.c 			to_free = count;
count             961 fs/ntfs/lcnalloc.c 		if (count >= 0)
count             962 fs/ntfs/lcnalloc.c 			count -= to_free;
count             970 fs/ntfs/lcnalloc.c 	BUG_ON(count > 0);
count              30 fs/ntfs/lcnalloc.h 		const VCN start_vcn, const s64 count, const LCN start_lcn,
count              35 fs/ntfs/lcnalloc.h 		s64 count, ntfs_attr_search_ctx *ctx, const bool is_rollback);
count              94 fs/ntfs/lcnalloc.h 		s64 count, ntfs_attr_search_ctx *ctx)
count              96 fs/ntfs/lcnalloc.h 	return __ntfs_cluster_free(ni, start_vcn, count, ctx, false);
count             151 fs/ntfs/mft.c  	atomic_inc(&ni->count);
count             161 fs/ntfs/mft.c  	atomic_dec(&ni->count);
count             212 fs/ntfs/mft.c  	atomic_dec(&ni->count);
count             249 fs/ntfs/mft.c  	atomic_inc(&base_ni->count);
count             263 fs/ntfs/mft.c  			atomic_inc(&ni->count);
count             269 fs/ntfs/mft.c  		atomic_dec(&base_ni->count);
count             273 fs/ntfs/mft.c  		atomic_dec(&ni->count);
count             296 fs/ntfs/mft.c  		atomic_dec(&base_ni->count);
count             307 fs/ntfs/mft.c  		atomic_dec(&base_ni->count);
count             342 fs/ntfs/mft.c  	atomic_dec(&base_ni->count);
count             349 fs/ntfs/mft.c  	atomic_dec(&base_ni->count);
count             968 fs/ntfs/mft.c  		atomic_inc(&ni->count);
count             973 fs/ntfs/mft.c  			atomic_dec(&ni->count);
count             982 fs/ntfs/mft.c  			atomic_dec(&ni->count);
count            1078 fs/ntfs/mft.c  	atomic_inc(&eni->count);
count            1085 fs/ntfs/mft.c  		atomic_dec(&eni->count);
count            2698 fs/ntfs/mft.c  		atomic_inc(&ni->count);
count            2798 fs/ntfs/mft.c  	if (atomic_read(&ni->count) > 2) {
count              37 fs/ocfs2/acl.c 	int n, count;
count              45 fs/ocfs2/acl.c 	count = size / sizeof(struct posix_acl_entry);
count              47 fs/ocfs2/acl.c 	acl = posix_acl_alloc(count, GFP_NOFS);
count              50 fs/ocfs2/acl.c 	for (n = 0; n < count; n++) {
count             993 fs/ocfs2/alloc.c 	int count, status, i;
count            1001 fs/ocfs2/alloc.c 	count = 0;
count            1002 fs/ocfs2/alloc.c 	while (count < wanted) {
count            1005 fs/ocfs2/alloc.c 					      wanted - count,
count            1015 fs/ocfs2/alloc.c 		for(i = count;  i < (num_got + count); i++) {
count            1053 fs/ocfs2/alloc.c 		count += num_got;
count            1599 fs/ocfs2/alloc.c 	int count = le16_to_cpu(el->l_count);
count            1604 fs/ocfs2/alloc.c 	BUG_ON(next_free >= count);
count            7474 fs/ocfs2/alloc.c 			     u64 group, u32 start, u32 count)
count            7479 fs/ocfs2/alloc.c 	bcount = ocfs2_clusters_to_blocks(sb, count);
count            7502 fs/ocfs2/alloc.c 	int ret = 0, count = 0, next;
count            7524 fs/ocfs2/alloc.c 			count += next - start;
count            7529 fs/ocfs2/alloc.c 			count = -ERESTARTSYS;
count            7533 fs/ocfs2/alloc.c 		if ((le16_to_cpu(gd->bg_free_bits_count) - count) < minbits)
count            7538 fs/ocfs2/alloc.c 		count = ret;
count            7540 fs/ocfs2/alloc.c 	return count;
count             143 fs/ocfs2/aops.c 	u64 p_blkno, count, past_eof;
count             159 fs/ocfs2/aops.c 	err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count,
count             168 fs/ocfs2/aops.c 	if (max_blocks < count)
count             169 fs/ocfs2/aops.c 		count = max_blocks;
count             192 fs/ocfs2/aops.c 	bh_result->b_size = count << inode->i_blkbits;
count            2462 fs/ocfs2/aops.c 	if (iocb->ki_pos + iter->count > i_size_read(inode) &&
count            1571 fs/ocfs2/cluster/heartbeat.c 					     size_t count)
count            1589 fs/ocfs2/cluster/heartbeat.c 	return count;
count            1600 fs/ocfs2/cluster/heartbeat.c 					     size_t count)
count            1615 fs/ocfs2/cluster/heartbeat.c 	return count;
count            1625 fs/ocfs2/cluster/heartbeat.c 					size_t count)
count            1643 fs/ocfs2/cluster/heartbeat.c 	return count;
count            1763 fs/ocfs2/cluster/heartbeat.c 				     size_t count)
count            1905 fs/ocfs2/cluster/heartbeat.c 		ret = count;
count            2145 fs/ocfs2/cluster/heartbeat.c 		const char *page, size_t count)
count            2157 fs/ocfs2/cluster/heartbeat.c 	return count;
count            2168 fs/ocfs2/cluster/heartbeat.c 		const char *page, size_t count)
count            2174 fs/ocfs2/cluster/heartbeat.c 	len = (page[count - 1] == '\n') ? count - 1 : count;
count            2186 fs/ocfs2/cluster/heartbeat.c 		return count;
count              36 fs/ocfs2/cluster/masklog.c static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count)
count              50 fs/ocfs2/cluster/masklog.c 	return count;
count             136 fs/ocfs2/cluster/masklog.c 			  const char *buf, size_t count)
count             140 fs/ocfs2/cluster/masklog.c 	return mlog_mask_store(mlog_attr->mask, buf, count);
count             186 fs/ocfs2/cluster/nodemanager.c 				   size_t count)
count             233 fs/ocfs2/cluster/nodemanager.c 	return count;
count             241 fs/ocfs2/cluster/nodemanager.c 					 const char *page, size_t count)
count             260 fs/ocfs2/cluster/nodemanager.c 	return count;
count             270 fs/ocfs2/cluster/nodemanager.c 					    size_t count)
count             316 fs/ocfs2/cluster/nodemanager.c 	return count;
count             325 fs/ocfs2/cluster/nodemanager.c 				     size_t count)
count             380 fs/ocfs2/cluster/nodemanager.c 	ret = count;
count             426 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_cluster_attr_write(const char *page, ssize_t count,
count             443 fs/ocfs2/cluster/nodemanager.c 	return count;
count             453 fs/ocfs2/cluster/nodemanager.c 	const char *page, size_t count)
count             459 fs/ocfs2/cluster/nodemanager.c 	ret =  o2nm_cluster_attr_write(page, count, &val);
count             490 fs/ocfs2/cluster/nodemanager.c 	struct config_item *item, const char *page, size_t count)
count             496 fs/ocfs2/cluster/nodemanager.c 	ret =  o2nm_cluster_attr_write(page, count, &val);
count             527 fs/ocfs2/cluster/nodemanager.c 	struct config_item *item, const char *page, size_t count)
count             529 fs/ocfs2/cluster/nodemanager.c 	return o2nm_cluster_attr_write(page, count,
count             546 fs/ocfs2/cluster/nodemanager.c 	struct config_item *item, const char *page, size_t count)
count             550 fs/ocfs2/cluster/nodemanager.c 	if (page[count - 1] != '\n')
count             554 fs/ocfs2/cluster/nodemanager.c 		if (count != strlen(o2nm_fence_method_desc[i]) + 1)
count             556 fs/ocfs2/cluster/nodemanager.c 		if (strncasecmp(page, o2nm_fence_method_desc[i], count - 1))
count             563 fs/ocfs2/cluster/nodemanager.c 		return count;
count            1220 fs/ocfs2/dlm/dlmdomain.c 	int ret = 0, status, count, i;
count            1232 fs/ocfs2/dlm/dlmdomain.c 	for (i = 0, count = 0; i < O2NM_MAX_NODES; ++i) {
count            1236 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_nodenum = node->nd_num;
count            1237 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_ipv4_port = node->nd_ipv4_port;
count            1238 fs/ocfs2/dlm/dlmdomain.c 		qn->qn_nodes[count].ni_ipv4_address = node->nd_ipv4_address;
count            1241 fs/ocfs2/dlm/dlmdomain.c 		++count;
count            1246 fs/ocfs2/dlm/dlmdomain.c 	qn->qn_numnodes = count;
count             226 fs/ocfs2/dlmfs/dlmfs.c 			       size_t count,
count             235 fs/ocfs2/dlmfs/dlmfs.c 		inode->i_ino, count, *ppos);
count             240 fs/ocfs2/dlmfs/dlmfs.c 	if (!count)
count             243 fs/ocfs2/dlmfs/dlmfs.c 	if (!access_ok(buf, count))
count             247 fs/ocfs2/dlmfs/dlmfs.c 	if ((count + *ppos) > i_size_read(inode))
count             250 fs/ocfs2/dlmfs/dlmfs.c 		readlen = count;
count             274 fs/ocfs2/dlmfs/dlmfs.c 				size_t count,
count             282 fs/ocfs2/dlmfs/dlmfs.c 		inode->i_ino, count, *ppos);
count             288 fs/ocfs2/dlmfs/dlmfs.c 	if (count > i_size_read(inode) - *ppos)
count             289 fs/ocfs2/dlmfs/dlmfs.c 		count = i_size_read(inode) - *ppos;
count             291 fs/ocfs2/dlmfs/dlmfs.c 	if (!count)
count             294 fs/ocfs2/dlmfs/dlmfs.c 	if (!access_ok(buf, count))
count             297 fs/ocfs2/dlmfs/dlmfs.c 	lvb_buf = kmalloc(count, GFP_NOFS);
count             301 fs/ocfs2/dlmfs/dlmfs.c 	bytes_left = copy_from_user(lvb_buf, buf, count);
count             302 fs/ocfs2/dlmfs/dlmfs.c 	count -= bytes_left;
count             303 fs/ocfs2/dlmfs/dlmfs.c 	if (count)
count             304 fs/ocfs2/dlmfs/dlmfs.c 		user_dlm_write_lvb(inode, lvb_buf, count);
count             308 fs/ocfs2/dlmfs/dlmfs.c 	*ppos = *ppos + count;
count             309 fs/ocfs2/dlmfs/dlmfs.c 	mlog(0, "wrote %zu bytes\n", count);
count             310 fs/ocfs2/dlmfs/dlmfs.c 	return count;
count             967 fs/ocfs2/extent_map.c 	int i, count, done = 0;
count             999 fs/ocfs2/extent_map.c 		count = nr - done;
count            1000 fs/ocfs2/extent_map.c 		if (p_count < count)
count            1001 fs/ocfs2/extent_map.c 			count = p_count;
count            1008 fs/ocfs2/extent_map.c 		for (i = 0; i < count; i++) {
count            1014 fs/ocfs2/extent_map.c 		rc = ocfs2_read_blocks(INODE_CACHE(inode), p_block, count,
count            1020 fs/ocfs2/extent_map.c 		done += count;
count            2053 fs/ocfs2/file.c 				   size_t count)
count            2066 fs/ocfs2/file.c 	clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
count            2091 fs/ocfs2/file.c static int ocfs2_is_io_unaligned(struct inode *inode, size_t count, loff_t pos)
count            2094 fs/ocfs2/file.c 	loff_t final_size = pos + count;
count            2161 fs/ocfs2/file.c 					 loff_t pos, size_t count, int wait)
count            2194 fs/ocfs2/file.c 			ret = ocfs2_overwrite_io(inode, di_bh, pos, count);
count            2228 fs/ocfs2/file.c 		ret = ocfs2_check_range_for_refcount(inode, pos, count);
count            2249 fs/ocfs2/file.c 				ocfs2_clusters_for_bytes(inode->i_sb, pos + count) - cpos;
count            2264 fs/ocfs2/file.c 					    pos, count, wait);
count            2281 fs/ocfs2/file.c 	size_t count = iov_iter_count(from);
count            2288 fs/ocfs2/file.c 	int append_write = ((iocb->ki_pos + count) >=
count            2302 fs/ocfs2/file.c 	if (count == 0)
count            2357 fs/ocfs2/file.c 	count = ret;
count            2359 fs/ocfs2/file.c 	ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait);
count            2367 fs/ocfs2/file.c 	    ocfs2_is_io_unaligned(inode, count, iocb->ki_pos)) {
count              68 fs/ocfs2/file.h 				   size_t count);
count              80 fs/ocfs2/filecheck.c 					const char *buf, size_t count);
count             124 fs/ocfs2/filecheck.c 			const char *buf, size_t count)
count             132 fs/ocfs2/filecheck.c 		ret = kattr->store(kobj, kattr, buf, count);
count             210 fs/ocfs2/filecheck.c 			      unsigned int count);
count             242 fs/ocfs2/filecheck.c ocfs2_filecheck_args_get_long(const char *buf, size_t count,
count             247 fs/ocfs2/filecheck.c 	memcpy(buffer, buf, count);
count             248 fs/ocfs2/filecheck.c 	buffer[count] = '\0';
count             272 fs/ocfs2/filecheck.c ocfs2_filecheck_args_parse(const char *name, const char *buf, size_t count,
count             279 fs/ocfs2/filecheck.c 	if ((count < 1) || (count >= OCFS2_FILECHECK_ARGS_LEN))
count             284 fs/ocfs2/filecheck.c 	if (ocfs2_filecheck_args_get_long(buf, count, &val))
count             385 fs/ocfs2/filecheck.c 			      unsigned int count)
count             390 fs/ocfs2/filecheck.c 	while (i++ < count) {
count             397 fs/ocfs2/filecheck.c 	return (ret == count ? 1 : 0);
count             453 fs/ocfs2/filecheck.c 				     const char *buf, size_t count)
count             461 fs/ocfs2/filecheck.c 	if (count == 0)
count             462 fs/ocfs2/filecheck.c 		return count;
count             464 fs/ocfs2/filecheck.c 	if (ocfs2_filecheck_args_parse(attr->attr.name, buf, count, &args))
count             513 fs/ocfs2/filecheck.c 	return (!ret ? count : ret);
count             815 fs/ocfs2/localalloc.c 	u32 count;
count             818 fs/ocfs2/localalloc.c 	count = memweight(la->la_bitmap, le16_to_cpu(la->la_size));
count             820 fs/ocfs2/localalloc.c 	trace_ocfs2_local_alloc_count_bits(count);
count             821 fs/ocfs2/localalloc.c 	return count;
count             928 fs/ocfs2/localalloc.c 				   unsigned int count)
count             930 fs/ocfs2/localalloc.c 	unsigned int tmp = count;
count             934 fs/ocfs2/localalloc.c 			       "%u\n", start, count);
count             956 fs/ocfs2/localalloc.c 	int bit_off, left, count, start;
count             978 fs/ocfs2/localalloc.c 	start = count = bit_off = 0;
count             984 fs/ocfs2/localalloc.c 			count++;
count             988 fs/ocfs2/localalloc.c 		if (count) {
count             991 fs/ocfs2/localalloc.c 							 start - count);
count             994 fs/ocfs2/localalloc.c 			     count, start - count,
count            1001 fs/ocfs2/localalloc.c 							count);
count            1009 fs/ocfs2/localalloc.c 		count = 1;
count             694 fs/ocfs2/ocfs2_trace.h 		 unsigned long long count),
count             695 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(sb, blk, count),
count             700 fs/ocfs2/ocfs2_trace.h 		__field(__u64,	count)
count             706 fs/ocfs2/ocfs2_trace.h 		__entry->count = count;
count             710 fs/ocfs2/ocfs2_trace.h 		  __entry->blk, __entry->count)
count             742 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(int count, int bit, unsigned long long start_blk,
count             744 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(count, bit, start_blk, blkno),
count             746 fs/ocfs2/ocfs2_trace.h 		__field(int, count)
count             752 fs/ocfs2/ocfs2_trace.h 		__entry->count = count;
count             758 fs/ocfs2/ocfs2_trace.h 		  __entry->count, __entry->bit, __entry->start_blk,
count             838 fs/ocfs2/ocfs2_trace.h 		 unsigned int start_bit, unsigned int count),
count             839 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, group, start_bit, count),
count             844 fs/ocfs2/ocfs2_trace.h 		__field(unsigned int, count)
count             850 fs/ocfs2/ocfs2_trace.h 		__entry->count = count;
count             853 fs/ocfs2/ocfs2_trace.h 		  __entry->start_bit, __entry->count)
count             858 fs/ocfs2/ocfs2_trace.h 		 unsigned int start_bit, unsigned int count),
count             859 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(bg_blkno, start_blk, start_bit, count),
count             864 fs/ocfs2/ocfs2_trace.h 		__field(unsigned int, count)
count             870 fs/ocfs2/ocfs2_trace.h 		__entry->count = count;
count             873 fs/ocfs2/ocfs2_trace.h 		  __entry->start_bit, __entry->count)
count             929 fs/ocfs2/ocfs2_trace.h 		 unsigned int count, unsigned int refcount),	\
count             930 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(blkno, index, cpos, count, refcount))
count            1454 fs/ocfs2/ocfs2_trace.h 		 unsigned long count, int wait),
count            1455 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(ino, saved_pos, count, wait),
count            1459 fs/ocfs2/ocfs2_trace.h 		__field(unsigned long, count)
count            1465 fs/ocfs2/ocfs2_trace.h 		__entry->count = count;
count            1469 fs/ocfs2/ocfs2_trace.h 		  __entry->saved_pos, __entry->count, __entry->wait)
count             242 fs/ocfs2/stack_user.c 			     const char __user *buf, size_t count)
count             245 fs/ocfs2/stack_user.c 	if ((count != target_len) ||
count             246 fs/ocfs2/stack_user.c 	    (count > sizeof(union ocfs2_control_message)))
count             257 fs/ocfs2/stack_user.c 					       size_t count)
count             263 fs/ocfs2/stack_user.c 				buf, count);
count             273 fs/ocfs2/stack_user.c 	return count;
count             475 fs/ocfs2/stack_user.c 				     size_t count)
count             485 fs/ocfs2/stack_user.c 	ret = ocfs2_control_cfu(&msg, count, buf, count);
count             489 fs/ocfs2/stack_user.c 	if ((count == OCFS2_CONTROL_MESSAGE_SETNODE_TOTAL_LEN) &&
count             493 fs/ocfs2/stack_user.c 	else if ((count == OCFS2_CONTROL_MESSAGE_SETVERSION_TOTAL_LEN) &&
count             497 fs/ocfs2/stack_user.c 	else if ((count == OCFS2_CONTROL_MESSAGE_DOWN_TOTAL_LEN) &&
count             505 fs/ocfs2/stack_user.c 	return ret ? ret : count;
count             510 fs/ocfs2/stack_user.c 				   size_t count,
count             522 fs/ocfs2/stack_user.c 							      count);
count             527 fs/ocfs2/stack_user.c 			ret = ocfs2_control_message(file, buf, count);
count             545 fs/ocfs2/stack_user.c 				  size_t count,
count             550 fs/ocfs2/stack_user.c 	ret = simple_read_from_buffer(buf, count, ppos,
count             562 fs/ocfs2/stackglue.c 					 const char *buf, size_t count)
count             564 fs/ocfs2/stackglue.c 	size_t len = count;
count             580 fs/ocfs2/stackglue.c 			ret = count;
count             585 fs/ocfs2/stackglue.c 		ret = count;
count            2450 fs/ocfs2/suballoc.c 				     unsigned int count,
count            2467 fs/ocfs2/suballoc.c 	BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl));
count            2472 fs/ocfs2/suballoc.c 		start_bit, count);
count            2482 fs/ocfs2/suballoc.c 	BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits));
count            2486 fs/ocfs2/suballoc.c 					      start_bit, count, undo_fn);
count            2497 fs/ocfs2/suballoc.c 				start_bit, count);
count            2502 fs/ocfs2/suballoc.c 		     count);
count            2504 fs/ocfs2/suballoc.c 	fe->id1.bitmap1.i_used = cpu_to_le32(tmp_used - count);
count            2520 fs/ocfs2/suballoc.c 			     unsigned int count)
count            2523 fs/ocfs2/suballoc.c 					 start_bit, bg_blkno, count, NULL);
count             126 fs/ocfs2/suballoc.h 			     unsigned int count);
count            1586 fs/ocfs2/xattr.c 	int i, count = le16_to_cpu(xh->xh_count);
count            1589 fs/ocfs2/xattr.c 	for (i = 0; i < count; i++) {
count            1601 fs/ocfs2/xattr.c 	int count = le16_to_cpu(loc->xl_header->xh_count);
count            1619 fs/ocfs2/xattr.c 	return ocfs2_xa_check_space_helper(needed_space, free_start, count);
count            1632 fs/ocfs2/xattr.c 	int count = le16_to_cpu(xh->xh_count);
count            1645 fs/ocfs2/xattr.c 	for (i = 0; i < count; i++) {
count            1660 fs/ocfs2/xattr.c 	int count = le16_to_cpu(loc->xl_header->xh_count);
count            1661 fs/ocfs2/xattr.c 	loc->xl_entry = &(loc->xl_header->xh_entries[count]);
count            1764 fs/ocfs2/xattr.c 	int count = le16_to_cpu(loc->xl_header->xh_count);
count            1796 fs/ocfs2/xattr.c 						 count);
count            1802 fs/ocfs2/xattr.c 	return ocfs2_xa_check_space_helper(needed_space, free_start, count);
count            1814 fs/ocfs2/xattr.c 	int count = le16_to_cpu(xh->xh_count);
count            1815 fs/ocfs2/xattr.c 	int low = 0, high = count - 1, tmp;
count            1822 fs/ocfs2/xattr.c 	while (low <= high && count) {
count            1836 fs/ocfs2/xattr.c 	if (low != count)
count            1839 fs/ocfs2/xattr.c 			((count - low) * sizeof(struct ocfs2_xattr_entry)));
count            1934 fs/ocfs2/xattr.c 	int index, count;
count            1942 fs/ocfs2/xattr.c 	count = le16_to_cpu(xh->xh_count);
count            1949 fs/ocfs2/xattr.c 	if (count) {
count            1953 fs/ocfs2/xattr.c 			(count - index) * sizeof(struct ocfs2_xattr_entry));
count            1954 fs/ocfs2/xattr.c 		memset(&xh->xh_entries[count], 0,
count            4196 fs/ocfs2/xattr.c 	u16 count = le16_to_cpu(xb_xh->xh_count);
count            4213 fs/ocfs2/xattr.c 	xe = &xb_xh->xh_entries[count - 1];
count            4229 fs/ocfs2/xattr.c 	size = count * sizeof(struct ocfs2_xattr_entry);
count            4235 fs/ocfs2/xattr.c 	for (i = 0; i < count; i++)
count            4240 fs/ocfs2/xattr.c 	sort(target + offset, count, sizeof(struct ocfs2_xattr_entry),
count            4586 fs/ocfs2/xattr.c 	int count = le16_to_cpu(xh->xh_count);
count            4587 fs/ocfs2/xattr.c 	int delta, middle = count / 2;
count            4602 fs/ocfs2/xattr.c 		if ((middle + delta + 1) == count)
count            4612 fs/ocfs2/xattr.c 	return count;
count            4633 fs/ocfs2/xattr.c 	int count, start, len, name_value_len = 0, name_offset = 0;
count            4688 fs/ocfs2/xattr.c 	count = le16_to_cpu(xh->xh_count);
count            4691 fs/ocfs2/xattr.c 	if (start == count) {
count            4738 fs/ocfs2/xattr.c 	len = sizeof(struct ocfs2_xattr_entry) * (count - start);
count            4743 fs/ocfs2/xattr.c 	xe = &xh->xh_entries[count - start];
count            4777 fs/ocfs2/xattr.c 	if (start == count)
count            4782 fs/ocfs2/xattr.c 	       sizeof(struct ocfs2_xattr_entry) * (count - start));
count              29 fs/omfs/bitmap.c 	int count = 0;
count              34 fs/omfs/bitmap.c 		count += x - bit;
count              36 fs/omfs/bitmap.c 		if (x < nbits || count > max)
count              37 fs/omfs/bitmap.c 			return min(count, max);
count              41 fs/omfs/bitmap.c 	return min(count, max);
count              49 fs/omfs/bitmap.c 		int nbits, int bit, int count, int set)
count              61 fs/omfs/bitmap.c 	for (i = 0; i < count; i++, bit++) {
count             175 fs/omfs/bitmap.c int omfs_clear_range(struct super_block *sb, u64 block, int count)
count             191 fs/omfs/bitmap.c 	ret = set_run(sb, map, bits_per_entry, bit, count, 0);
count              75 fs/omfs/file.c 			u64 start, count;
count              77 fs/omfs/file.c 			count = be64_to_cpu(entry->e_blocks);
count              79 fs/omfs/file.c 			omfs_clear_range(inode->i_sb, start, (int) count);
count             192 fs/omfs/file.c 			sector_t block, int count, int *left)
count             196 fs/omfs/file.c 	for (; count > 1; count--) {
count              85 fs/omfs/inode.c 	int xor, i, ofs = 0, count;
count              89 fs/omfs/inode.c 	count = be32_to_cpu(oi->i_head.h_body_size);
count              92 fs/omfs/inode.c 	crc = crc_itu_t(crc, ptr + ofs, count);
count             340 fs/omfs/inode.c 	int count;
count             362 fs/omfs/inode.c 	for (count = bitmap_size; count > 0; count -= sb->s_blocksize) {
count             372 fs/omfs/inode.c 		if (count < sb->s_blocksize)
count             373 fs/omfs/inode.c 			memset((void *)*ptr + count, 0xff,
count             374 fs/omfs/inode.c 				sb->s_blocksize - count);
count             382 fs/omfs/inode.c 	for (count = 0; count < array_size; count++)
count             383 fs/omfs/inode.c 		kfree(sbi->s_imap[count]);
count              45 fs/omfs/omfs.h extern int omfs_clear_range(struct super_block *sb, u64 block, int count);
count             160 fs/orangefs/devorangefs-req.c 				 size_t count, loff_t *offset)
count             179 fs/orangefs/devorangefs-req.c 	if (count != MAX_DEV_REQ_UPSIZE) {
count             719 fs/orangefs/devorangefs-req.c 	__s32 count;
count             745 fs/orangefs/devorangefs-req.c 		desc.count = d32.count;
count             135 fs/orangefs/dir.c 	size_t count;
count             137 fs/orangefs/dir.c 	count = 1;
count             140 fs/orangefs/dir.c 		count++;
count             155 fs/orangefs/dir.c 	count++;
count             156 fs/orangefs/dir.c 	od->end = count << PART_SHIFT;
count             246 fs/orangefs/dir.c 	size_t count;
count             248 fs/orangefs/dir.c 	count = ((ctx->pos & PART_MASK) >> PART_SHIFT) - 1;
count             251 fs/orangefs/dir.c 	while (part->next && count) {
count             252 fs/orangefs/dir.c 		count--;
count             256 fs/orangefs/dir.c 	if (count) {
count              87 fs/orangefs/file.c 	new_op->upcall.req.io.count = total_size;
count             328 fs/orangefs/file.c 		ro->blksiz = iter->count;
count             607 fs/orangefs/inode.c 	size_t count = iov_iter_count(iter);
count             616 fs/orangefs/inode.c 		(int)count);
count             625 fs/orangefs/inode.c 			     (int)count);
count             628 fs/orangefs/inode.c 	if (count == 0) {
count              14 fs/orangefs/orangefs-bufmap.c 	int count;
count              28 fs/orangefs/orangefs-bufmap.c static void install(struct slot_map *m, int count, unsigned long *map)
count              31 fs/orangefs/orangefs-bufmap.c 	m->c = m->count = count;
count              40 fs/orangefs/orangefs-bufmap.c 	m->c -= m->count + 1;
count             132 fs/orangefs/orangefs-bufmap.c 		res = find_first_zero_bit(m->map, m->count);
count             228 fs/orangefs/orangefs-bufmap.c 	bufmap->desc_count = user_desc->count;
count             326 fs/orangefs/orangefs-bufmap.c 		     user_desc->count);
count             330 fs/orangefs/orangefs-bufmap.c 	    user_desc->count < 0)
count             352 fs/orangefs/orangefs-bufmap.c 	if (user_desc->total_size != (user_desc->size * user_desc->count)) {
count             356 fs/orangefs/orangefs-bufmap.c 			   user_desc->count);
count             361 fs/orangefs/orangefs-debugfs.c 				 size_t count,
count             378 fs/orangefs/orangefs-debugfs.c 	read_ret = simple_read_from_buffer(ubuf, count, ppos, buf, sprintf_ret);
count             392 fs/orangefs/orangefs-debugfs.c 				  size_t count,
count             407 fs/orangefs/orangefs-debugfs.c 	if (count == 0)
count             414 fs/orangefs/orangefs-debugfs.c 	if (count > ORANGEFS_MAX_DEBUG_STRING_LEN + 1) {
count             415 fs/orangefs/orangefs-debugfs.c 		silly = count;
count             416 fs/orangefs/orangefs-debugfs.c 		count = ORANGEFS_MAX_DEBUG_STRING_LEN + 1;
count             423 fs/orangefs/orangefs-debugfs.c 	if (copy_from_user(buf, ubuf, count - 1)) {
count             497 fs/orangefs/orangefs-debugfs.c 	*ppos += count;
count             501 fs/orangefs/orangefs-debugfs.c 		rc = count;
count             173 fs/orangefs/orangefs-sysfs.c 			 size_t count);
count             281 fs/orangefs/orangefs-sysfs.c     struct orangefs_attribute *attr, const char *buf, size_t count)
count             312 fs/orangefs/orangefs-sysfs.c 		rc = count;
count             536 fs/orangefs/orangefs-sysfs.c     struct orangefs_attribute *attr, const char *buf, size_t count)
count             821 fs/orangefs/orangefs-sysfs.c 		rc = count;
count             348 fs/orangefs/protocol.h 	__s32 count;
count              19 fs/orangefs/upcall.h 	__s32 count;
count              46 fs/overlayfs/readdir.c 	int count;
count             260 fs/overlayfs/readdir.c 	rdd->count++;
count             307 fs/overlayfs/readdir.c 		rdd->count = 0;
count             312 fs/overlayfs/readdir.c 	} while (!err && rdd->count);
count             540 fs/overlayfs/readdir.c 	rdd->count++;
count             518 fs/pipe.c      	int count, buf, nrbufs;
count             523 fs/pipe.c      			count = 0;
count             527 fs/pipe.c      				count += pipe->bufs[buf].len;
count             532 fs/pipe.c      			return put_user(count, (int __user *)arg);
count             354 fs/pnode.c     static inline int do_refcount_check(struct mount *mnt, int count)
count             356 fs/pnode.c     	return mnt_get_count(mnt) > count;
count             387 fs/pnode.c     		int count = 1;
count             397 fs/pnode.c     			count += 1;
count             401 fs/pnode.c     		if (do_refcount_check(child, count))
count             166 fs/posix_acl.c posix_acl_init(struct posix_acl *acl, int count)
count             169 fs/posix_acl.c 	acl->a_count = count;
count             177 fs/posix_acl.c posix_acl_alloc(int count, gfp_t flags)
count             180 fs/posix_acl.c 	                    count * sizeof(struct posix_acl_entry);
count             183 fs/posix_acl.c 		posix_acl_init(acl, count);
count             672 fs/posix_acl.c 	int count;
count             683 fs/posix_acl.c 	count = posix_acl_xattr_count(size);
count             684 fs/posix_acl.c 	if (count < 0)
count             686 fs/posix_acl.c 	if (count == 0)
count             689 fs/posix_acl.c 	for (end = entry + count; entry != end; entry++) {
count             730 fs/posix_acl.c 	int count;
count             741 fs/posix_acl.c 	count = posix_acl_xattr_count(size);
count             742 fs/posix_acl.c 	if (count < 0)
count             744 fs/posix_acl.c 	if (count == 0)
count             747 fs/posix_acl.c 	acl = posix_acl_alloc(count, GFP_NOFS);
count             752 fs/posix_acl.c 	for (end = entry + count; entry != end; acl_e++, entry++) {
count             159 fs/proc/base.c 	unsigned int count;
count             161 fs/proc/base.c 	count = 2;
count             164 fs/proc/base.c 			++count;
count             167 fs/proc/base.c 	return count;
count             217 fs/proc/base.c 				size_t count, unsigned long pos,
count             241 fs/proc/base.c 			if (len > count)
count             242 fs/proc/base.c 				len = count;
count             254 fs/proc/base.c 			      size_t count, loff_t *ppos)
count             287 fs/proc/base.c 	if (count > len - pos)
count             288 fs/proc/base.c 		count = len - pos;
count             289 fs/proc/base.c 	if (!count)
count             300 fs/proc/base.c 		return get_mm_proctitle(mm, buf, count, pos, arg_start);
count             309 fs/proc/base.c 	if (count > arg_end - pos)
count             310 fs/proc/base.c 		count = arg_end - pos;
count             317 fs/proc/base.c 	while (count) {
count             319 fs/proc/base.c 		size_t size = min_t(size_t, PAGE_SIZE, count);
count             333 fs/proc/base.c 		count -= got;
count             341 fs/proc/base.c 				size_t count, loff_t *pos)
count             350 fs/proc/base.c 	ret = get_mm_cmdline(mm, buf, count, pos);
count             356 fs/proc/base.c 				     size_t count, loff_t *pos)
count             366 fs/proc/base.c 	ret = get_task_cmdline(tsk, buf, count, pos);
count             503 fs/proc/base.c 				   lr->count, lr->time, lr->max);
count             525 fs/proc/base.c 			    size_t count, loff_t *offs)
count             534 fs/proc/base.c 	return count;
count             817 fs/proc/base.c 			size_t count, loff_t *ppos, int write)
count             838 fs/proc/base.c 	while (count > 0) {
count             839 fs/proc/base.c 		int this_len = min_t(int, count, PAGE_SIZE);
count             861 fs/proc/base.c 		count -= this_len;
count             872 fs/proc/base.c 			size_t count, loff_t *ppos)
count             874 fs/proc/base.c 	return mem_rw(file, buf, count, ppos, 0);
count             878 fs/proc/base.c 			 size_t count, loff_t *ppos)
count             880 fs/proc/base.c 	return mem_rw(file, (char __user*)buf, count, ppos, 1);
count             921 fs/proc/base.c 			size_t count, loff_t *ppos)
count             946 fs/proc/base.c 	while (count > 0) {
count             955 fs/proc/base.c 		max_len = min_t(size_t, PAGE_SIZE, count);
count             973 fs/proc/base.c 		count -= retval;
count             996 fs/proc/base.c 			size_t count, loff_t *ppos)
count            1006 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, mm->saved_auxv,
count            1017 fs/proc/base.c static ssize_t oom_adj_read(struct file *file, char __user *buf, size_t count,
count            1034 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, buffer, len);
count            1132 fs/proc/base.c 			     size_t count, loff_t *ppos)
count            1139 fs/proc/base.c 	if (count > sizeof(buffer) - 1)
count            1140 fs/proc/base.c 		count = sizeof(buffer) - 1;
count            1141 fs/proc/base.c 	if (copy_from_user(buffer, buf, count)) {
count            1166 fs/proc/base.c 	return err < 0 ? err : count;
count            1176 fs/proc/base.c 					size_t count, loff_t *ppos)
count            1188 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, buffer, len);
count            1192 fs/proc/base.c 					size_t count, loff_t *ppos)
count            1199 fs/proc/base.c 	if (count > sizeof(buffer) - 1)
count            1200 fs/proc/base.c 		count = sizeof(buffer) - 1;
count            1201 fs/proc/base.c 	if (copy_from_user(buffer, buf, count)) {
count            1217 fs/proc/base.c 	return err < 0 ? err : count;
count            1229 fs/proc/base.c 				  size_t count, loff_t *ppos)
count            1242 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count            1246 fs/proc/base.c 				   size_t count, loff_t *ppos)
count            1265 fs/proc/base.c 	rv = kstrtou32_from_user(buf, count, 10, &loginuid);
count            1281 fs/proc/base.c 	return count;
count            1291 fs/proc/base.c 				  size_t count, loff_t *ppos)
count            1303 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count            1314 fs/proc/base.c 				      size_t count, loff_t *ppos)
count            1328 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, buffer, len);
count            1332 fs/proc/base.c 			const char __user * buf, size_t count, loff_t *ppos)
count            1342 fs/proc/base.c 	if (count > sizeof(buffer) - 1)
count            1343 fs/proc/base.c 		count = sizeof(buffer) - 1;
count            1344 fs/proc/base.c 	if (copy_from_user(buffer, buf, count))
count            1358 fs/proc/base.c 	return count;
count            1368 fs/proc/base.c 				   size_t count, loff_t *ppos)
count            1374 fs/proc/base.c 	err = kstrtouint_from_user(buf, count, 0, &n);
count            1384 fs/proc/base.c 	return count;
count            1388 fs/proc/base.c 				  size_t count, loff_t *ppos)
count            1399 fs/proc/base.c 	return simple_read_from_buffer(buf, count, ppos, numbuf, len);
count            1431 fs/proc/base.c 	    size_t count, loff_t *offset)
count            1443 fs/proc/base.c 	return count;
count            1482 fs/proc/base.c 	    size_t count, loff_t *offset)
count            1491 fs/proc/base.c 	if (count > sizeof(buffer) - 1)
count            1492 fs/proc/base.c 		count = sizeof(buffer) - 1;
count            1493 fs/proc/base.c 	if (copy_from_user(buffer, buf, count))
count            1506 fs/proc/base.c 		count = err;
count            1510 fs/proc/base.c 	return count;
count            1537 fs/proc/base.c 				size_t count, loff_t *offset)
count            1545 fs/proc/base.c 	if (copy_from_user(buffer, buf, count > maxlen ? maxlen : count))
count            1555 fs/proc/base.c 		count = -EINVAL;
count            1559 fs/proc/base.c 	return count;
count            2361 fs/proc/base.c 					size_t count, loff_t *offset)
count            2368 fs/proc/base.c 	err = kstrtoull_from_user(buf, count, 10, &slack_ns);
count            2380 fs/proc/base.c 			count = -EPERM;
count            2387 fs/proc/base.c 			count = err;
count            2402 fs/proc/base.c 	return count;
count            2532 fs/proc/base.c 				  size_t count, loff_t *ppos)
count            2547 fs/proc/base.c 		length = simple_read_from_buffer(buf, count, ppos, p, length);
count            2553 fs/proc/base.c 				   size_t count, loff_t *ppos)
count            2578 fs/proc/base.c 	if (count > PAGE_SIZE)
count            2579 fs/proc/base.c 		count = PAGE_SIZE;
count            2585 fs/proc/base.c 	page = memdup_user(buf, count);
count            2598 fs/proc/base.c 				  count);
count            2691 fs/proc/base.c 					 size_t count, loff_t *ppos)
count            2709 fs/proc/base.c 		ret = simple_read_from_buffer(buf, count, ppos, buffer, len);
count            2719 fs/proc/base.c 					  size_t count,
count            2729 fs/proc/base.c 	ret = kstrtouint_from_user(buf, count, 0, &val);
count            2756 fs/proc/base.c 	return count;
count             214 fs/proc/inode.c static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             223 fs/proc/inode.c 			rv = read(file, buf, count, ppos);
count             229 fs/proc/inode.c static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
count             238 fs/proc/inode.c 			rv = write(file, buf, count, ppos);
count              35 fs/proc/kmsg.c 			 size_t count, loff_t *ppos)
count              40 fs/proc/kmsg.c 	return do_syslog(SYSLOG_ACTION_READ, buf, count, SYSLOG_FROM_PROC);
count              30 fs/proc/page.c 			     size_t count, loff_t *ppos)
count              40 fs/proc/page.c 	count = min_t(size_t, count, (max_pfn * KPMSIZE) - src);
count              41 fs/proc/page.c 	if (src & KPMMASK || count & KPMMASK)
count              44 fs/proc/page.c 	while (count > 0) {
count              63 fs/proc/page.c 		count -= KPMSIZE;
count             207 fs/proc/page.c 			     size_t count, loff_t *ppos)
count             216 fs/proc/page.c 	count = min_t(unsigned long, count, (max_pfn * KPMSIZE) - src);
count             217 fs/proc/page.c 	if (src & KPMMASK || count & KPMMASK)
count             220 fs/proc/page.c 	while (count > 0) {
count             234 fs/proc/page.c 		count -= KPMSIZE;
count             252 fs/proc/page.c 				size_t count, loff_t *ppos)
count             262 fs/proc/page.c 	count = min_t(unsigned long, count, (max_pfn * KPMSIZE) - src);
count             263 fs/proc/page.c 	if (src & KPMMASK || count & KPMMASK)
count             266 fs/proc/page.c 	while (count > 0) {
count             285 fs/proc/page.c 		count -= KPMSIZE;
count              69 fs/proc/proc_sysctl.c 		{{.count = 1,
count             193 fs/proc/proc_sysctl.c 	head->count = 1;
count             487 fs/proc/proc_sysctl.c 	head->count++;
count             518 fs/proc/proc_sysctl.c 	if (!--head->count)
count             576 fs/proc/proc_sysctl.c 		size_t count, loff_t *ppos, int write)
count             600 fs/proc/proc_sysctl.c 	error = BPF_CGROUP_RUN_PROG_SYSCTL(head, table, write, buf, &count,
count             612 fs/proc/proc_sysctl.c 					    &count, ppos);
count             616 fs/proc/proc_sysctl.c 		error = table->proc_handler(table, write, buf, &count, ppos);
count             620 fs/proc/proc_sysctl.c 		error = count;
count             628 fs/proc/proc_sysctl.c 				size_t count, loff_t *ppos)
count             630 fs/proc/proc_sysctl.c 	return proc_sys_call_handler(filp, (void __user *)buf, count, ppos, 0);
count             634 fs/proc/proc_sysctl.c 				size_t count, loff_t *ppos)
count             636 fs/proc/proc_sysctl.c 	return proc_sys_call_handler(filp, (void __user *)buf, count, ppos, 1);
count            1659 fs/proc/proc_sysctl.c 	if (!--header->count)
count             145 fs/proc/task_mmu.c 	if (m->count < m->size)	/* vma is copied successfully */
count            1135 fs/proc/task_mmu.c 				size_t count, loff_t *ppos)
count            1147 fs/proc/task_mmu.c 	if (count > sizeof(buffer) - 1)
count            1148 fs/proc/task_mmu.c 		count = sizeof(buffer) - 1;
count            1149 fs/proc/task_mmu.c 	if (copy_from_user(buffer, buf, count))
count            1170 fs/proc/task_mmu.c 				count = -EINTR;
count            1184 fs/proc/task_mmu.c 			count = -EINTR;
count            1194 fs/proc/task_mmu.c 					count = -EINTR;
count            1238 fs/proc/task_mmu.c 	return count;
count            1537 fs/proc/task_mmu.c 			    size_t count, loff_t *ppos)
count            1552 fs/proc/task_mmu.c 	if ((*ppos % PM_ENTRY_BYTES) || (count % PM_ENTRY_BYTES))
count            1556 fs/proc/task_mmu.c 	if (!count)
count            1584 fs/proc/task_mmu.c 	while (count && (start_vaddr < end_vaddr)) {
count            1600 fs/proc/task_mmu.c 		len = min(count, PM_ENTRY_BYTES * pm.pos);
count            1607 fs/proc/task_mmu.c 		count -= len;
count            1670 fs/proc/task_mmu.c 	int count = page_mapcount(page);
count            1688 fs/proc/task_mmu.c 	if (count > md->mapcount_max)
count            1689 fs/proc/task_mmu.c 		md->mapcount_max = count;
count              62 fs/proc/task_nommu.c 	if (current->files && atomic_read(&current->files->count) > 1)
count              67 fs/proc/task_nommu.c 	if (current->sighand && refcount_read(&current->sighand->count) > 1)
count             107 fs/proc/vmcore.c ssize_t read_from_oldmem(char *buf, size_t count,
count             115 fs/proc/vmcore.c 	if (!count)
count             122 fs/proc/vmcore.c 		if (count > (PAGE_SIZE - offset))
count             125 fs/proc/vmcore.c 			nr_bytes = count;
count             144 fs/proc/vmcore.c 		count -= nr_bytes;
count             149 fs/proc/vmcore.c 	} while (count);
count             171 fs/proc/vmcore.c ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos)
count             173 fs/proc/vmcore.c 	return read_from_oldmem(buf, count, ppos, 0, false);
count             179 fs/proc/vmcore.c ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos)
count             181 fs/proc/vmcore.c 	return read_from_oldmem(buf, count, ppos, 0, mem_encrypt_active());
count              61 fs/pstore/ftrace.c 					size_t count, loff_t *ppos)
count              66 fs/pstore/ftrace.c 	ret = kstrtou8_from_user(buf, count, 2, &on);
count              90 fs/pstore/ftrace.c 	ret = count;
count              98 fs/pstore/ftrace.c 				       size_t count, loff_t *ppos)
count             102 fs/pstore/ftrace.c 	return simple_read_from_buffer(buf, count, ppos, val, sizeof(val));
count             126 fs/pstore/inode.c 						size_t count, loff_t *ppos)
count             132 fs/pstore/inode.c 		return seq_read(file, userbuf, count, ppos);
count             133 fs/pstore/inode.c 	return simple_read_from_buffer(userbuf, count, ppos,
count             422 fs/pstore/platform.c 		record.count = oopscount;
count              15 fs/pstore/pmsg.c 			  size_t count, loff_t *ppos)
count              20 fs/pstore/pmsg.c 	if (!count)
count              25 fs/pstore/pmsg.c 	record.size = count;
count              28 fs/pstore/pmsg.c 	if (!access_ok(buf, count))
count              34 fs/pstore/pmsg.c 	return ret ? ret : count;
count             123 fs/pstore/ram_core.c 	unsigned int start, unsigned int count)
count             145 fs/pstore/ram_core.c 	} while (block < buffer->data + start + count);
count             275 fs/pstore/ram_core.c 	const void *s, unsigned int start, unsigned int count)
count             278 fs/pstore/ram_core.c 	memcpy_toio(buffer->data + start, s, count);
count             279 fs/pstore/ram_core.c 	persistent_ram_update_ecc(prz, start, count);
count             283 fs/pstore/ram_core.c 	const void __user *s, unsigned int start, unsigned int count)
count             286 fs/pstore/ram_core.c 	int ret = unlikely(__copy_from_user(buffer->data + start, s, count)) ?
count             288 fs/pstore/ram_core.c 	persistent_ram_update_ecc(prz, start, count);
count             316 fs/pstore/ram_core.c 	const void *s, unsigned int count)
count             319 fs/pstore/ram_core.c 	int c = count;
count             342 fs/pstore/ram_core.c 	return count;
count             346 fs/pstore/ram_core.c 	const void __user *s, unsigned int count)
count             348 fs/pstore/ram_core.c 	int rem, ret = 0, c = count;
count             351 fs/pstore/ram_core.c 	if (unlikely(!access_ok(s, count)))
count             374 fs/pstore/ram_core.c 	return unlikely(ret) ? ret : count;
count             365 fs/read_write.c int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count)
count             371 fs/read_write.c 	if (unlikely((ssize_t) count < 0))
count             384 fs/read_write.c 			if (count >= -pos) /* both values are in 0..LLONG_MAX */
count             386 fs/read_write.c 		} else if (unlikely((loff_t) (pos + count) < 0)) {
count             392 fs/read_write.c 			retval = locks_mandatory_area(inode, file, pos, pos + count - 1,
count             421 fs/read_write.c ssize_t __vfs_read(struct file *file, char __user *buf, size_t count,
count             425 fs/read_write.c 		return file->f_op->read(file, buf, count, pos);
count             427 fs/read_write.c 		return new_sync_read(file, buf, count, pos);
count             432 fs/read_write.c ssize_t kernel_read(struct file *file, void *buf, size_t count, loff_t *pos)
count             440 fs/read_write.c 	result = vfs_read(file, (void __user *)buf, count, pos);
count             446 fs/read_write.c ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
count             454 fs/read_write.c 	if (unlikely(!access_ok(buf, count)))
count             457 fs/read_write.c 	ret = rw_verify_area(READ, file, pos, count);
count             459 fs/read_write.c 		if (count > MAX_RW_COUNT)
count             460 fs/read_write.c 			count =  MAX_RW_COUNT;
count             461 fs/read_write.c 		ret = __vfs_read(file, buf, count, pos);
count             491 fs/read_write.c 			   size_t count, loff_t *pos)
count             494 fs/read_write.c 		return file->f_op->write(file, p, count, pos);
count             496 fs/read_write.c 		return new_sync_write(file, p, count, pos);
count             501 fs/read_write.c ssize_t __kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos)
count             513 fs/read_write.c 	if (count > MAX_RW_COUNT)
count             514 fs/read_write.c 		count =  MAX_RW_COUNT;
count             515 fs/read_write.c 	ret = __vfs_write(file, p, count, pos);
count             526 fs/read_write.c ssize_t kernel_write(struct file *file, const void *buf, size_t count,
count             535 fs/read_write.c 	res = vfs_write(file, (__force const char __user *)buf, count, pos);
count             542 fs/read_write.c ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_t *pos)
count             550 fs/read_write.c 	if (unlikely(!access_ok(buf, count)))
count             553 fs/read_write.c 	ret = rw_verify_area(WRITE, file, pos, count);
count             555 fs/read_write.c 		if (count > MAX_RW_COUNT)
count             556 fs/read_write.c 			count =  MAX_RW_COUNT;
count             558 fs/read_write.c 		ret = __vfs_write(file, buf, count, pos);
count             576 fs/read_write.c ssize_t ksys_read(unsigned int fd, char __user *buf, size_t count)
count             587 fs/read_write.c 		ret = vfs_read(f.file, buf, count, ppos);
count             595 fs/read_write.c SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count)
count             597 fs/read_write.c 	return ksys_read(fd, buf, count);
count             600 fs/read_write.c ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count)
count             611 fs/read_write.c 		ret = vfs_write(f.file, buf, count, ppos);
count             621 fs/read_write.c 		size_t, count)
count             623 fs/read_write.c 	return ksys_write(fd, buf, count);
count             626 fs/read_write.c ssize_t ksys_pread64(unsigned int fd, char __user *buf, size_t count,
count             639 fs/read_write.c 			ret = vfs_read(f.file, buf, count, &pos);
count             647 fs/read_write.c 			size_t, count, loff_t, pos)
count             649 fs/read_write.c 	return ksys_pread64(fd, buf, count, pos);
count             653 fs/read_write.c 		      size_t count, loff_t pos)
count             665 fs/read_write.c 			ret = vfs_write(f.file, buf, count, &pos);
count             673 fs/read_write.c 			 size_t, count, loff_t, pos)
count             675 fs/read_write.c 	return ksys_pwrite64(fd, buf, count, pos);
count            1394 fs/read_write.c 		  	   size_t count, loff_t max)
count            1420 fs/read_write.c 	retval = rw_verify_area(READ, in.file, &pos, count);
count            1423 fs/read_write.c 	if (count > MAX_RW_COUNT)
count            1424 fs/read_write.c 		count =  MAX_RW_COUNT;
count            1438 fs/read_write.c 	retval = rw_verify_area(WRITE, out.file, &out_pos, count);
count            1445 fs/read_write.c 	if (unlikely(pos + count > max)) {
count            1449 fs/read_write.c 		count = max - pos;
count            1464 fs/read_write.c 	retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl);
count            1492 fs/read_write.c SYSCALL_DEFINE4(sendfile, int, out_fd, int, in_fd, off_t __user *, offset, size_t, count)
count            1502 fs/read_write.c 		ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS);
count            1508 fs/read_write.c 	return do_sendfile(out_fd, in_fd, NULL, count, 0);
count            1511 fs/read_write.c SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, loff_t __user *, offset, size_t, count)
count            1519 fs/read_write.c 		ret = do_sendfile(out_fd, in_fd, &pos, count, 0);
count            1525 fs/read_write.c 	return do_sendfile(out_fd, in_fd, NULL, count, 0);
count            1530 fs/read_write.c 		compat_off_t __user *, offset, compat_size_t, count)
count            1540 fs/read_write.c 		ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS);
count            1546 fs/read_write.c 	return do_sendfile(out_fd, in_fd, NULL, count, 0);
count            1550 fs/read_write.c 		compat_loff_t __user *, offset, compat_size_t, count)
count            1558 fs/read_write.c 		ret = do_sendfile(out_fd, in_fd, &pos, count, 0);
count            1564 fs/read_write.c 	return do_sendfile(out_fd, in_fd, NULL, count, 0);
count            2153 fs/read_write.c 	u16 count = same->dest_count;
count            2186 fs/read_write.c 	for (i = 0; i < count; i++) {
count            2191 fs/read_write.c 	for (i = 0, info = same->info; i < count; i++, info++) {
count             177 fs/readdir.c   		struct old_linux_dirent __user *, dirent, unsigned int, count)
count             214 fs/readdir.c   	int count;
count             233 fs/readdir.c   	if (reclen > buf->count)
count             258 fs/readdir.c   	buf->count -= reclen;
count             268 fs/readdir.c   		struct linux_dirent __user *, dirent, unsigned int, count)
count             273 fs/readdir.c   		.count = count,
count             278 fs/readdir.c   	if (!access_ok(dirent, count))
count             295 fs/readdir.c   			error = count - buf.count;
count             305 fs/readdir.c   	int count;
count             323 fs/readdir.c   	if (reclen > buf->count)
count             343 fs/readdir.c   	buf->count -= reclen;
count             354 fs/readdir.c   		    unsigned int count)
count             359 fs/readdir.c   		.count = count,
count             364 fs/readdir.c   	if (!access_ok(dirent, count))
count             382 fs/readdir.c   			error = count - buf.count;
count             390 fs/readdir.c   		struct linux_dirent64 __user *, dirent, unsigned int, count)
count             392 fs/readdir.c   	return ksys_getdents64(fd, dirent, count);
count             444 fs/readdir.c   		struct compat_old_linux_dirent __user *, dirent, unsigned int, count)
count             475 fs/readdir.c   	int count;
count             490 fs/readdir.c   	if (reclen > buf->count)
count             518 fs/readdir.c   	buf->count -= reclen;
count             526 fs/readdir.c   		struct compat_linux_dirent __user *, dirent, unsigned int, count)
count             533 fs/readdir.c   		.count = count
count             537 fs/readdir.c   	if (!access_ok(dirent, count))
count             552 fs/readdir.c   			error = count - buf.count;
count              22 fs/reiserfs/acl.h static inline size_t reiserfs_acl_size(int count)
count              24 fs/reiserfs/acl.h 	if (count <= 4) {
count              26 fs/reiserfs/acl.h 		    count * sizeof(reiserfs_acl_entry_short);
count              30 fs/reiserfs/acl.h 		    (count - 4) * sizeof(reiserfs_acl_entry);
count             127 fs/reiserfs/ibalance.c 				   int to, int count,
count             139 fs/reiserfs/ibalance.c 	if (count <= 0)
count             145 fs/reiserfs/ibalance.c 	RFALSE(count > 2, "too many children (%d) are to be inserted", count);
count             146 fs/reiserfs/ibalance.c 	RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE),
count             148 fs/reiserfs/ibalance.c 	       B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE));
count             153 fs/reiserfs/ibalance.c 	memmove(dc + count, dc, (nr + 1 - (to + 1)) * DC_SIZE);
count             156 fs/reiserfs/ibalance.c 	for (i = 0; i < count; i++) {
count             161 fs/reiserfs/ibalance.c 	memcpy(dc, new_dc, DC_SIZE * count);
count             166 fs/reiserfs/ibalance.c 	memmove(ih + count, ih,
count             167 fs/reiserfs/ibalance.c 		(nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE);
count             171 fs/reiserfs/ibalance.c 	if (count > 1)
count             175 fs/reiserfs/ibalance.c 	set_blkh_nr_item(blkh, blkh_nr_item(blkh) + count);
count             177 fs/reiserfs/ibalance.c 			    blkh_free_space(blkh) - count * (DC_SIZE +
count             190 fs/reiserfs/ibalance.c 			    dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE)));
count            3267 fs/reiserfs/inode.c 	size_t count = iov_iter_count(iter);
count            3279 fs/reiserfs/inode.c 		loff_t end = iocb->ki_pos + count;
count              80 fs/reiserfs/item_ops.c static int sd_part_size(struct virtual_item *vi, int first, int count)
count              82 fs/reiserfs/item_ops.c 	BUG_ON(count);
count             172 fs/reiserfs/item_ops.c static int direct_part_size(struct virtual_item *vi, int first, int count)
count             174 fs/reiserfs/item_ops.c 	return count;
count             580 fs/reiserfs/item_ops.c static int direntry_part_size(struct virtual_item *vi, int first, int count)
count             590 fs/reiserfs/item_ops.c 		from = dir_u->entry_count - count;
count             591 fs/reiserfs/item_ops.c 	to = from + count - 1;
count             698 fs/reiserfs/item_ops.c static int errcatch_part_size(struct virtual_item *vi, int first, int count)
count            1352 fs/reiserfs/journal.c 	int count;
count            1375 fs/reiserfs/journal.c 	count = 0;
count            1501 fs/reiserfs/journal.c 			count++;
count            1522 fs/reiserfs/journal.c 	if (count > 0) {
count            2915 fs/reiserfs/reiserfs.h 								    int count);
count             187 fs/reiserfs/xattr.c 	int count;
count             202 fs/reiserfs/xattr.c 	if (dbuf->count == ARRAY_SIZE(dbuf->dentries))
count             224 fs/reiserfs/xattr.c 	dbuf->dentries[dbuf->count++] = dentry;
count             233 fs/reiserfs/xattr.c 	for (i = 0; i < buf->count; i++)
count             272 fs/reiserfs/xattr.c 		if (!buf.count)
count             274 fs/reiserfs/xattr.c 		for (i = 0; !err && i < buf.count && buf.dentries[i]; i++) {
count             285 fs/reiserfs/xattr.c 		buf.count = 0;
count              68 fs/reiserfs/xattr_acl.c 	int n, count;
count              79 fs/reiserfs/xattr_acl.c 	count = reiserfs_acl_count(size);
count              80 fs/reiserfs/xattr_acl.c 	if (count < 0)
count              82 fs/reiserfs/xattr_acl.c 	if (count == 0)
count              84 fs/reiserfs/xattr_acl.c 	acl = posix_acl_alloc(count, GFP_NOFS);
count              87 fs/reiserfs/xattr_acl.c 	for (n = 0; n < count; n++) {
count             876 fs/select.c    	int timed_out = 0, count = 0;
count             909 fs/select.c    					count++;
count             922 fs/select.c    		if (!count) {
count             923 fs/select.c    			count = wait->error;
count             925 fs/select.c    				count = -ERESTARTNOHAND;
count             927 fs/select.c    		if (count || timed_out)
count             954 fs/select.c    	return count;
count              27 fs/seq_file.c  	m->count = m->size;
count              99 fs/seq_file.c  	m->count = m->from = 0;
count             118 fs/seq_file.c  			m->count = 0;
count             123 fs/seq_file.c  		if (pos + m->count > offset) {
count             125 fs/seq_file.c  			m->count -= m->from;
count             128 fs/seq_file.c  		pos += m->count;
count             129 fs/seq_file.c  		m->count = 0;
count             139 fs/seq_file.c  	m->count = 0;
count             183 fs/seq_file.c  		m->count = 0;
count             195 fs/seq_file.c  			m->count = 0;
count             209 fs/seq_file.c  	if (m->count) {
count             210 fs/seq_file.c  		n = min(m->count, size);
count             214 fs/seq_file.c  		m->count -= n;
count             233 fs/seq_file.c  			m->count = 0;
count             234 fs/seq_file.c  		if (unlikely(!m->count)) {
count             238 fs/seq_file.c  		if (m->count < m->size)
count             242 fs/seq_file.c  		m->count = 0;
count             250 fs/seq_file.c  	m->count = 0;
count             255 fs/seq_file.c  		size_t offs = m->count;
count             266 fs/seq_file.c  		if (m->count >= size)
count             270 fs/seq_file.c  			m->count = offs;
count             276 fs/seq_file.c  	n = min(m->count, size);
count             281 fs/seq_file.c  	m->count -= n;
count             334 fs/seq_file.c  				m->count = 0;
count             402 fs/seq_file.c  	if (m->count < m->size) {
count             403 fs/seq_file.c  		len = vsnprintf(m->buf + m->count, m->size - m->count, f, args);
count             404 fs/seq_file.c  		if (m->count + len < m->size) {
count             405 fs/seq_file.c  			m->count += len;
count             659 fs/seq_file.c  	if (m->count >= m->size)
count             662 fs/seq_file.c  	m->buf[m->count++] = c;
count             670 fs/seq_file.c  	if (m->count + len >= m->size) {
count             674 fs/seq_file.c  	memcpy(m->buf + m->count, s, len);
count             675 fs/seq_file.c  	m->count += len;
count             696 fs/seq_file.c  	if (m->count + 2 >= m->size) /* we'll write 2 bytes at least */
count             709 fs/seq_file.c  	if (m->count + width >= m->size)
count             712 fs/seq_file.c  	len = num_to_str(m->buf + m->count, m->size - m->count, num, width);
count             716 fs/seq_file.c  	m->count += len;
count             764 fs/seq_file.c  	if (m->count + len > m->size) {
count             770 fs/seq_file.c  		m->buf[m->count + i] = hex_asc[0xf & v];
count             773 fs/seq_file.c  	m->count += len;
count             780 fs/seq_file.c  	if (m->count + 3 >= m->size) /* we'll write 2 bytes at least */
count             790 fs/seq_file.c  	if (m->count + 2 >= m->size)
count             794 fs/seq_file.c  		m->buf[m->count++] = '-';
count             799 fs/seq_file.c  		m->buf[m->count++] = num + '0';
count             803 fs/seq_file.c  	len = num_to_str(m->buf + m->count, m->size - m->count, num, 0);
count             807 fs/seq_file.c  	m->count += len;
count             825 fs/seq_file.c  	if (seq->count + len < seq->size) {
count             826 fs/seq_file.c  		memcpy(seq->buf + seq->count, data, len);
count             827 fs/seq_file.c  		seq->count += len;
count             842 fs/seq_file.c  	int size = m->pad_until - m->count;
count             844 fs/seq_file.c  		if (size + m->count > m->size) {
count             848 fs/seq_file.c  		memset(m->buf + m->count, ' ', size);
count             849 fs/seq_file.c  		m->count += size;
count             212 fs/signalfd.c  static ssize_t signalfd_read(struct file *file, char __user *buf, size_t count,
count             221 fs/signalfd.c  	count /= sizeof(struct signalfd_siginfo);
count             222 fs/signalfd.c  	if (!count)
count             236 fs/signalfd.c  	} while (--count);
count             161 fs/squashfs/dir.c 		dir_count = le32_to_cpu(dirh.count) + 1;
count             169 fs/squashfs/namei.c 		dir_count = le32_to_cpu(dirh.count) + 1;
count             417 fs/squashfs/squashfs_fs.h 	__le32			count;
count             441 fs/squashfs/squashfs_fs.h 	__le32			count;
count              35 fs/squashfs/xattr.c 	int count = squashfs_i(inode)->xattr_count;
count              44 fs/squashfs/xattr.c 	while (count--) {
count             113 fs/squashfs/xattr.c 	int count = squashfs_i(inode)->xattr_count;
count             122 fs/squashfs/xattr.c 	for (; count; count--) {
count             195 fs/squashfs/xattr.c 	err = count ? vsize : -ENODATA;
count              26 fs/squashfs/xattr.h 		unsigned int index, int *count, unsigned int *size,
count              29 fs/squashfs/xattr_id.c 		int *count, unsigned int *size, unsigned long long *xattr)
count              45 fs/squashfs/xattr_id.c 	*count = le32_to_cpu(id.count);
count              44 fs/sysfs/file.c 	ssize_t count;
count              48 fs/sysfs/file.c 	count = seq_get_buf(sf, &buf);
count              49 fs/sysfs/file.c 	if (count < PAGE_SIZE) {
count              60 fs/sysfs/file.c 		count = ops->show(kobj, of->kn->priv, buf);
count              61 fs/sysfs/file.c 		if (count < 0)
count              62 fs/sysfs/file.c 			return count;
count              69 fs/sysfs/file.c 	if (count >= (ssize_t)PAGE_SIZE) {
count              73 fs/sysfs/file.c 		count = PAGE_SIZE - 1;
count              75 fs/sysfs/file.c 	seq_commit(sf, count);
count              80 fs/sysfs/file.c 				 size_t count, loff_t pos)
count              86 fs/sysfs/file.c 	if (!count)
count              92 fs/sysfs/file.c 		if (pos + count > size)
count              93 fs/sysfs/file.c 			count = size - pos;
count              99 fs/sysfs/file.c 	return battr->read(of->file, kobj, battr, buf, pos, count);
count             104 fs/sysfs/file.c 			     size_t count, loff_t pos)
count             125 fs/sysfs/file.c 	return min_t(ssize_t, count, len);
count             130 fs/sysfs/file.c 			      size_t count, loff_t pos)
count             135 fs/sysfs/file.c 	if (!count)
count             138 fs/sysfs/file.c 	return ops->store(kobj, of->kn->priv, buf, count);
count             143 fs/sysfs/file.c 				  size_t count, loff_t pos)
count             152 fs/sysfs/file.c 		count = min_t(ssize_t, count, size - pos);
count             154 fs/sysfs/file.c 	if (!count)
count             160 fs/sysfs/file.c 	return battr->write(of->file, kobj, battr, buf, pos, count);
count              48 fs/sysv/balloc.c 	unsigned count;
count              65 fs/sysv/balloc.c 	count = fs16_to_cpu(sbi, *sbi->s_bcache_count);
count              67 fs/sysv/balloc.c 	if (count > sbi->s_flc_size) {
count              76 fs/sysv/balloc.c 	if (count == sbi->s_flc_size || count == 0) {
count              85 fs/sysv/balloc.c 		*(__fs16*)bh->b_data = cpu_to_fs16(sbi, count);
count              86 fs/sysv/balloc.c 		memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t));
count              90 fs/sysv/balloc.c 		count = 0;
count              92 fs/sysv/balloc.c 	sbi->s_bcache[count++] = nr;
count              94 fs/sysv/balloc.c 	*sbi->s_bcache_count = cpu_to_fs16(sbi, count);
count             106 fs/sysv/balloc.c 	unsigned count;
count             109 fs/sysv/balloc.c 	count = fs16_to_cpu(sbi, *sbi->s_bcache_count);
count             111 fs/sysv/balloc.c 	if (count == 0) /* Applies only to Coherent FS */
count             113 fs/sysv/balloc.c 	nr = sbi->s_bcache[--count];
count             119 fs/sysv/balloc.c 	*sbi->s_bcache_count = cpu_to_fs16(sbi, count);
count             127 fs/sysv/balloc.c 	if (count == 0) { /* the last block continues the free list */
count             128 fs/sysv/balloc.c 		unsigned count;
count             137 fs/sysv/balloc.c 		count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data);
count             138 fs/sysv/balloc.c 		if (count > sbi->s_flc_size) {
count             143 fs/sysv/balloc.c 		*sbi->s_bcache_count = cpu_to_fs16(sbi, count);
count             145 fs/sysv/balloc.c 				count * sizeof(sysv_zone_t));
count             163 fs/sysv/balloc.c 	int count;
count             184 fs/sysv/balloc.c 	count = 0;
count             193 fs/sysv/balloc.c 			count++;
count             212 fs/sysv/balloc.c 	if (count != sb_count)
count             216 fs/sysv/balloc.c 	return count;
count             230 fs/sysv/balloc.c 	count = sb_count;
count             234 fs/sysv/balloc.c 		"correcting to %d\n", sb_count, count);
count             236 fs/sysv/balloc.c 		*sbi->s_free_blocks = cpu_to_fs32(sbi, count);
count             108 fs/sysv/ialloc.c 	unsigned count;
count             123 fs/sysv/ialloc.c 	count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count);
count             124 fs/sysv/ialloc.c 	if (count < sbi->s_fic_size) {
count             125 fs/sysv/ialloc.c 		*sv_sb_fic_inode(sb,count++) = cpu_to_fs16(sbi, ino);
count             126 fs/sysv/ialloc.c 		*sbi->s_sb_fic_count = cpu_to_fs16(sbi, count);
count             142 fs/sysv/ialloc.c 	unsigned count;
count             152 fs/sysv/ialloc.c 	count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count);
count             153 fs/sysv/ialloc.c 	if (count == 0 || (*sv_sb_fic_inode(sb,count-1) == 0)) {
count             154 fs/sysv/ialloc.c 		count = refill_free_cache(sb);
count             155 fs/sysv/ialloc.c 		if (count == 0) {
count             162 fs/sysv/ialloc.c 	ino = *sv_sb_fic_inode(sb,--count);
count             163 fs/sysv/ialloc.c 	*sbi->s_sb_fic_count = cpu_to_fs16(sbi, count);
count             187 fs/sysv/ialloc.c 	int ino, count, sb_count;
count             197 fs/sysv/ialloc.c 	count = 0;
count             204 fs/sysv/ialloc.c 			count++;
count             214 fs/sysv/ialloc.c 	if (count != sb_count)
count             218 fs/sysv/ialloc.c 	return count;
count             223 fs/sysv/ialloc.c 		sb_count, count);
count             225 fs/sysv/ialloc.c 		*sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count);
count             233 fs/sysv/ialloc.c 	count = sb_count;
count             246 fs/timerfd.c   static ssize_t timerfd_read(struct file *file, char __user *buf, size_t count,
count             253 fs/timerfd.c   	if (count < sizeof(ticks))
count              32 fs/tracefs/inode.c 				 size_t count, loff_t *ppos)
count              38 fs/tracefs/inode.c 				   size_t count, loff_t *ppos)
count              40 fs/tracefs/inode.c 	return count;
count             230 fs/ubifs/debug.c 	int count = 2;
count             281 fs/ubifs/debug.c 		       count++, (unsigned long long) le64_to_cpu(dent->inum),
count            2663 fs/ubifs/debug.c static int provide_user_output(int val, char __user *u, size_t count,
count            2675 fs/ubifs/debug.c 	return simple_read_from_buffer(u, count, ppos, buf, 2);
count            2678 fs/ubifs/debug.c static ssize_t dfs_file_read(struct file *file, char __user *u, size_t count,
count            2703 fs/ubifs/debug.c 	return provide_user_output(val, u, count, ppos);
count            2715 fs/ubifs/debug.c static int interpret_user_input(const char __user *u, size_t count)
count            2720 fs/ubifs/debug.c 	buf_size = min_t(size_t, count, (sizeof(buf) - 1));
count            2733 fs/ubifs/debug.c 			      size_t count, loff_t *ppos)
count            2754 fs/ubifs/debug.c 		return count;
count            2758 fs/ubifs/debug.c 		return count;
count            2764 fs/ubifs/debug.c 		return count;
count            2767 fs/ubifs/debug.c 	val = interpret_user_input(u, count);
count            2788 fs/ubifs/debug.c 	return count;
count            2886 fs/ubifs/debug.c 				    size_t count, loff_t *ppos)
count            2906 fs/ubifs/debug.c 	return provide_user_output(val, u, count, ppos);
count            2910 fs/ubifs/debug.c 				     size_t count, loff_t *ppos)
count            2915 fs/ubifs/debug.c 	val = interpret_user_input(u, count);
count            2934 fs/ubifs/debug.c 	return count;
count             109 fs/udf/balloc.c 				   uint32_t count)
count             123 fs/udf/balloc.c 	if (bloc->logicalBlockNum + count < count ||
count             124 fs/udf/balloc.c 	    (bloc->logicalBlockNum + count) > partmap->s_partition_len) {
count             127 fs/udf/balloc.c 			  bloc->logicalBlockNum, count,
count             143 fs/udf/balloc.c 		if (bit + count > (sb->s_blocksize << 3)) {
count             144 fs/udf/balloc.c 			overflow = bit + count - (sb->s_blocksize << 3);
count             145 fs/udf/balloc.c 			count -= overflow;
count             152 fs/udf/balloc.c 		for (i = 0; i < count; i++) {
count             159 fs/udf/balloc.c 		udf_add_free_space(sb, sbi->s_partition, count);
count             162 fs/udf/balloc.c 			block += count;
count             163 fs/udf/balloc.c 			count = overflow;
count             361 fs/udf/balloc.c 				  uint32_t count)
count             374 fs/udf/balloc.c 	if (bloc->logicalBlockNum + count < count ||
count             375 fs/udf/balloc.c 	    (bloc->logicalBlockNum + count) > partmap->s_partition_len) {
count             378 fs/udf/balloc.c 			  bloc->logicalBlockNum, count,
count             384 fs/udf/balloc.c 	udf_add_free_space(sb, sbi->s_partition, count);
count             387 fs/udf/balloc.c 	end = bloc->logicalBlockNum + offset + count - 1;
count             394 fs/udf/balloc.c 	while (count &&
count             399 fs/udf/balloc.c 					(count << sb->s_blocksize_bits)) {
count             402 fs/udf/balloc.c 				count -= tmp;
count             409 fs/udf/balloc.c 					(count << sb->s_blocksize_bits));
count             410 fs/udf/balloc.c 				start += count;
count             411 fs/udf/balloc.c 				count = 0;
count             416 fs/udf/balloc.c 					(count << sb->s_blocksize_bits)) {
count             419 fs/udf/balloc.c 				count -= tmp;
count             428 fs/udf/balloc.c 					(count << sb->s_blocksize_bits));
count             429 fs/udf/balloc.c 				end -= count;
count             430 fs/udf/balloc.c 				count = 0;
count             446 fs/udf/balloc.c 	if (count) {
count             464 fs/udf/balloc.c 			(count << sb->s_blocksize_bits);
count             653 fs/udf/balloc.c 		     uint32_t count)
count             660 fs/udf/balloc.c 				       bloc, offset, count);
count             663 fs/udf/balloc.c 				      bloc, offset, count);
count             668 fs/udf/balloc.c 				((sector_t)count) << sb->s_blocksize_bits);
count             221 fs/udf/inode.c 	size_t count = iov_iter_count(iter);
count             226 fs/udf/inode.c 		udf_write_failed(mapping, iocb->ki_pos + count);
count             489 fs/udf/inode.c 	int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK);
count             540 fs/udf/inode.c 		count++;
count             571 fs/udf/inode.c 		count++;
count             580 fs/udf/inode.c 		count++;
count             592 fs/udf/inode.c 		count++;
count             603 fs/udf/inode.c 	return count;
count             693 fs/udf/inode.c 	int count = 0, startnum = 0, endnum = 0;
count             751 fs/udf/inode.c 		count++;
count             782 fs/udf/inode.c 		if (count) {
count             805 fs/udf/inode.c 		count += ret;
count             811 fs/udf/inode.c 			if (count)
count             817 fs/udf/inode.c 			count++;
count             823 fs/udf/inode.c 		endnum = startnum = ((count > 2) ? 2 : count);
count             827 fs/udf/inode.c 		if (!c && count != 1) {
count             840 fs/udf/inode.c 			count++;
count             252 fs/udf/super.c static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count)
count             256 fs/udf/super.c 	sbi->s_partmaps = kcalloc(count, sizeof(*sbi->s_partmaps), GFP_KERNEL);
count             262 fs/udf/super.c 	sbi->s_partitions = count;
count              39 fs/ufs/balloc.c void ufs_free_fragments(struct inode *inode, u64 fragment, unsigned count)
count              52 fs/ufs/balloc.c 	     (unsigned long long)fragment, count);
count              54 fs/ufs/balloc.c 	if (ufs_fragnum(fragment) + count > uspi->s_fpg)
count              75 fs/ufs/balloc.c 	end_bit = bit + count;
count              87 fs/ufs/balloc.c 	inode_sub_bytes(inode, count << uspi->s_fshift);
count              88 fs/ufs/balloc.c 	fs32_add(sb, &ucg->cg_cs.cs_nffree, count);
count              89 fs/ufs/balloc.c 	uspi->cs_total.cs_nffree += count;
count              90 fs/ufs/balloc.c 	fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count);
count             135 fs/ufs/balloc.c void ufs_free_blocks(struct inode *inode, u64 fragment, unsigned count)
count             148 fs/ufs/balloc.c 	     (unsigned long long)fragment, count);
count             150 fs/ufs/balloc.c 	if ((fragment & uspi->s_fpbmask) || (count & uspi->s_fpbmask)) {
count             153 fs/ufs/balloc.c 			   (unsigned long long)fragment, count);
count             167 fs/ufs/balloc.c 	end_bit = bit + count;
count             169 fs/ufs/balloc.c 		overflow = bit + count - uspi->s_fpg;
count             170 fs/ufs/balloc.c 		count -= overflow;
count             212 fs/ufs/balloc.c 		fragment += count;
count             213 fs/ufs/balloc.c 		count = overflow;
count             240 fs/ufs/balloc.c 			       unsigned int count, sector_t oldb,
count             254 fs/ufs/balloc.c 	      inode->i_ino, count,
count             261 fs/ufs/balloc.c 	end = count + beg;
count             345 fs/ufs/balloc.c 			   u64 goal, unsigned count, int *err,
count             356 fs/ufs/balloc.c 	     (unsigned long long)goal, count);
count             366 fs/ufs/balloc.c 	if (count + ufs_fragnum(fragment) > uspi->s_fpb) {
count             369 fs/ufs/balloc.c 			    (unsigned long long)fragment, count);
count             370 fs/ufs/balloc.c 		count = uspi->s_fpb - ufs_fragnum(fragment); 
count             373 fs/ufs/balloc.c 	newcount = oldcount + count;
count             423 fs/ufs/balloc.c 		result = ufs_alloc_fragments (inode, cgno, goal, count, err);
count             431 fs/ufs/balloc.c 				max(UFS_I(inode)->i_lastfrag, fragment + count);
count             447 fs/ufs/balloc.c 						fragment + count);
count             480 fs/ufs/balloc.c 						fragment + count);
count             515 fs/ufs/balloc.c 	unsigned cgno, fragno, fragoff, count, fragsize, i;
count             522 fs/ufs/balloc.c 	count = newcount - oldcount;
count             525 fs/ufs/balloc.c 	if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count)
count             545 fs/ufs/balloc.c 	if (!try_add_frags(inode, count))
count             559 fs/ufs/balloc.c 	if (fragsize != count)
count             560 fs/ufs/balloc.c 		fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1);
count             564 fs/ufs/balloc.c 	fs32_sub(sb, &ucg->cg_cs.cs_nffree, count);
count             565 fs/ufs/balloc.c 	fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count);
count             566 fs/ufs/balloc.c 	uspi->cs_total.cs_nffree -= count;
count             583 fs/ufs/balloc.c 	for (k = count; k < uspi->s_fpb; k++) \
count             588 fs/ufs/balloc.c 			       u64 goal, unsigned count, int *err)
count             598 fs/ufs/balloc.c 	     inode->i_ino, cgno, (unsigned long long)goal, count);
count             644 fs/ufs/balloc.c 	if (count == uspi->s_fpb) {
count             651 fs/ufs/balloc.c 	for (allocsize = count; allocsize < uspi->s_fpb; allocsize++)
count             660 fs/ufs/balloc.c 		for (i = count; i < uspi->s_fpb; i++)
count             662 fs/ufs/balloc.c 		i = uspi->s_fpb - count;
count             675 fs/ufs/balloc.c 	if (!try_add_frags(inode, count))
count             677 fs/ufs/balloc.c 	for (i = 0; i < count; i++)
count             680 fs/ufs/balloc.c 	fs32_sub(sb, &ucg->cg_cs.cs_nffree, count);
count             681 fs/ufs/balloc.c 	uspi->cs_total.cs_nffree -= count;
count             682 fs/ufs/balloc.c 	fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count);
count             685 fs/ufs/balloc.c 	if (count != allocsize)
count             686 fs/ufs/balloc.c 		fs32_add(sb, &ucg->cg_frsum[allocsize - count], 1);
count             797 fs/ufs/balloc.c 			     u64 goal, unsigned count)
count             815 fs/ufs/balloc.c 	     (unsigned long long)goal, count);
count             825 fs/ufs/balloc.c 		1 << (count - 1 + (uspi->s_fpb & 7))); 
count             831 fs/ufs/balloc.c 				1 << (count - 1 + (uspi->s_fpb & 7)));
count             836 fs/ufs/balloc.c 				  ucpi->c_cgx, start, length, count,
count             852 fs/ufs/balloc.c 		mask = mask_arr[count];
count             853 fs/ufs/balloc.c 		want = want_arr[count];
count             854 fs/ufs/balloc.c 		for (pos = 0; pos <= uspi->s_fpb - count; pos++) {
count              44 fs/ufs/cylinder.c 	UCPI_UBH(ucpi)->count = uspi->s_cgsize >> sb->s_blocksize_bits;
count              49 fs/ufs/cylinder.c 	for (i = 1; i < UCPI_UBH(ucpi)->count; i++)
count             113 fs/ufs/cylinder.c 	for (i = 1; i < UCPI_UBH(ucpi)->count; i++) {
count             873 fs/ufs/inode.c 	unsigned count;
count             876 fs/ufs/inode.c static inline void free_data(struct to_free *ctx, u64 from, unsigned count)
count             878 fs/ufs/inode.c 	if (ctx->count && ctx->to != from) {
count             879 fs/ufs/inode.c 		ufs_free_blocks(ctx->inode, ctx->to - ctx->count, ctx->count);
count             880 fs/ufs/inode.c 		ctx->count = 0;
count             882 fs/ufs/inode.c 	ctx->count += count;
count             883 fs/ufs/inode.c 	ctx->to = from + count;
count             704 fs/ufs/ufs_fs.h 	__u64 count;				/* number of fragments */
count              24 fs/ufs/util.c  	u64  count = 0;
count              27 fs/ufs/util.c  	count = size >> uspi->s_fshift;
count              28 fs/ufs/util.c  	if (count > UFS_MAXFRAG)
count              34 fs/ufs/util.c  	ubh->count = count;
count              35 fs/ufs/util.c  	for (i = 0; i < count; i++)
count              52 fs/ufs/util.c  	u64 count = 0;
count              55 fs/ufs/util.c  	count = size >> uspi->s_fshift;
count              56 fs/ufs/util.c  	if (count <= 0 || count > UFS_MAXFRAG)
count              59 fs/ufs/util.c  	USPI_UBH(uspi)->count = count;
count              60 fs/ufs/util.c  	for (i = 0; i < count; i++)
count              77 fs/ufs/util.c  	for (i = 0; i < ubh->count; i++)
count              87 fs/ufs/util.c  	for ( i = 0; i < USPI_UBH(uspi)->count; i++ ) {
count              98 fs/ufs/util.c  	for ( i = 0; i < ubh->count; i++ )
count             108 fs/ufs/util.c  		for ( i = 0; i < ubh->count; i++ )
count             111 fs/ufs/util.c  		for ( i = 0; i < ubh->count; i++ )
count             121 fs/ufs/util.c  		for (i = 0; i < ubh->count; i++)
count             124 fs/ufs/util.c  		for (i = 0; i < ubh->count; i++)
count             134 fs/ufs/util.c  	for ( i = 0; i < ubh->count; i++ ) if ( ubh->bh[i] ) 
count             144 fs/ufs/util.c  	for ( i = 0; i < ubh->count; i++ )
count             153 fs/ufs/util.c  	if (size > (ubh->count << uspi->s_fshift))
count             154 fs/ufs/util.c  		size = ubh->count << uspi->s_fshift;
count             169 fs/ufs/util.c  	if (size > (ubh->count << uspi->s_fshift))
count             170 fs/ufs/util.c  		size = ubh->count << uspi->s_fshift;
count             397 fs/ufs/util.h  	unsigned base, count, pos;
count             405 fs/ufs/util.h  		count = min_t(unsigned int, size + offset, uspi->s_bpf);
count             406 fs/ufs/util.h  		size -= count - offset;
count             407 fs/ufs/util.h  		pos = find_next_zero_bit_le(ubh->bh[base]->b_data, count, offset);
count             408 fs/ufs/util.h  		if (pos < count || !size)
count             444 fs/ufs/util.h  	unsigned base, count, pos, size;
count             452 fs/ufs/util.h  		count = min_t(unsigned int,
count             455 fs/ufs/util.h  		size -= count;
count             457 fs/ufs/util.h  			start, start - count);
count             458 fs/ufs/util.h  		if (pos > start - count || !size)
count             665 fs/unicode/mkutf8data.c 	int count;
count             670 fs/unicode/mkutf8data.c 	count = 0;
count             752 fs/unicode/mkutf8data.c 				count++;
count             757 fs/unicode/mkutf8data.c 				count++;
count             808 fs/unicode/mkutf8data.c 		printf("Pruned %d nodes\n", count);
count             948 fs/unicode/mkutf8data.c 	int count;
count             956 fs/unicode/mkutf8data.c 	count = 0;
count             971 fs/unicode/mkutf8data.c 		count++;
count             985 fs/unicode/mkutf8data.c 					count++;
count             999 fs/unicode/mkutf8data.c 					count++;
count            1602 fs/unicode/mkutf8data.c 	int count;
count            1607 fs/unicode/mkutf8data.c 	count = 0;
count            1618 fs/unicode/mkutf8data.c 		count++;
count            1622 fs/unicode/mkutf8data.c 	trees_count = count * 2;
count            1626 fs/unicode/mkutf8data.c 	count = trees_count;
count            1630 fs/unicode/mkutf8data.c 		trees[--count].maxage = maxage;
count            1631 fs/unicode/mkutf8data.c 		trees[--count].maxage = maxage;
count            1941 fs/unicode/mkutf8data.c 	int count;
count            1950 fs/unicode/mkutf8data.c 	count = 0;
count            1989 fs/unicode/mkutf8data.c 	count = 0;
count            2019 fs/unicode/mkutf8data.c 			count += 1 + last - first;
count            2029 fs/unicode/mkutf8data.c 			count++;
count            2047 fs/unicode/mkutf8data.c 	        printf("Found %d entries\n", count);
count            2048 fs/unicode/mkutf8data.c 	if (count == 0)
count            2059 fs/unicode/mkutf8data.c 	int count;
count            2069 fs/unicode/mkutf8data.c 	count = 0;
count            2075 fs/unicode/mkutf8data.c                                 count++;
count            2086 fs/unicode/mkutf8data.c                         count++;
count            2097 fs/unicode/mkutf8data.c 		printf("Found %d entries\n", count);
count            2098 fs/unicode/mkutf8data.c 	if (count == 0)
count            2124 fs/unicode/mkutf8data.c 	int count;
count            2134 fs/unicode/mkutf8data.c 	count = 0;
count            2168 fs/unicode/mkutf8data.c 		count++;
count            2172 fs/unicode/mkutf8data.c 		printf("Found %d entries\n", count);
count            2173 fs/unicode/mkutf8data.c 	if (count == 0)
count            2186 fs/unicode/mkutf8data.c 	int count;
count            2195 fs/unicode/mkutf8data.c 	count = 0;
count            2224 fs/unicode/mkutf8data.c 		count++;
count            2228 fs/unicode/mkutf8data.c 		printf("Found %d entries\n", count);
count            2229 fs/unicode/mkutf8data.c 	if (count == 0)
count            2240 fs/unicode/mkutf8data.c 	int count;
count            2249 fs/unicode/mkutf8data.c 	count = 0;
count            2266 fs/unicode/mkutf8data.c 				count++;
count            2290 fs/unicode/mkutf8data.c 			count++;
count            2297 fs/unicode/mkutf8data.c 		printf("Found %d entries\n", count);
count            2298 fs/unicode/mkutf8data.c 	if (count == 0)
count            2314 fs/unicode/mkutf8data.c 	int count;
count            2323 fs/unicode/mkutf8data.c 	count = 0;
count            2332 fs/unicode/mkutf8data.c 		count++;
count            2334 fs/unicode/mkutf8data.c 	corrections = calloc(count, sizeof(struct unicode_data));
count            2335 fs/unicode/mkutf8data.c 	corrections_count = count;
count            2338 fs/unicode/mkutf8data.c 	count = 0;
count            2347 fs/unicode/mkutf8data.c 		corrections[count] = unicode_data[unichar];
count            2348 fs/unicode/mkutf8data.c 		assert(corrections[count].code == unichar);
count            2350 fs/unicode/mkutf8data.c 		corrections[count].correction = age;
count            2364 fs/unicode/mkutf8data.c 		corrections[count].utf32nfdi = um;
count            2369 fs/unicode/mkutf8data.c 		count++;
count            2374 fs/unicode/mkutf8data.c 	        printf("Found %d entries\n", count);
count            2375 fs/unicode/mkutf8data.c 	if (count == 0)
count            2441 fs/unicode/mkutf8data.c         int count;
count            2447 fs/unicode/mkutf8data.c 	count = 0;
count            2483 fs/unicode/mkutf8data.c 		count++;
count            2486 fs/unicode/mkutf8data.c 		printf("Created %d entries\n", count);
count            2495 fs/unicode/mkutf8data.c 	int count;
count            2503 fs/unicode/mkutf8data.c 	count = 0;
count            2538 fs/unicode/mkutf8data.c 		count++;
count            2541 fs/unicode/mkutf8data.c 		printf("Processed %d entries\n", count);
count            2550 fs/unicode/mkutf8data.c 	int count;
count            2557 fs/unicode/mkutf8data.c 	count = 0;
count            2586 fs/unicode/mkutf8data.c 		count++;
count            2589 fs/unicode/mkutf8data.c 		printf("Processed %d entries\n", count);
count            1201 fs/userfaultfd.c 				size_t count, loff_t *ppos)
count            1212 fs/userfaultfd.c 		if (count < sizeof(msg))
count            1221 fs/userfaultfd.c 		count -= sizeof(msg);
count             127 fs/xfs/libxfs/xfs_attr.h 	ssize_t				count;		/* num used entries */
count             112 fs/xfs/libxfs/xfs_attr_leaf.c 		ASSERT(!to->count && !to->usedbytes);
count             166 fs/xfs/libxfs/xfs_attr_leaf.c 		to->count = be16_to_cpu(hdr3->count);
count             180 fs/xfs/libxfs/xfs_attr_leaf.c 	to->count = be16_to_cpu(from->hdr.count);
count             208 fs/xfs/libxfs/xfs_attr_leaf.c 		hdr3->count = cpu_to_be16(from->count);
count             223 fs/xfs/libxfs/xfs_attr_leaf.c 	to->hdr.count = cpu_to_be16(from->count);
count             258 fs/xfs/libxfs/xfs_attr_leaf.c 	if (!xfs_log_in_recovery(mp) && ichdr.count == 0)
count             272 fs/xfs/libxfs/xfs_attr_leaf.c 	if ((char *)&entries[ichdr.count] >
count             587 fs/xfs/libxfs/xfs_attr_leaf.c 	hdr->count = 0;
count             616 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) {
count             639 fs/xfs/libxfs/xfs_attr_leaf.c 	sf->hdr.count++;
count             684 fs/xfs/libxfs/xfs_attr_leaf.c 	end = sf->hdr.count;
count             706 fs/xfs/libxfs/xfs_attr_leaf.c 	sf->hdr.count--;
count             753 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < sf->hdr.count;
count             784 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < sf->hdr.count;
count             850 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < sf->hdr.count; i++) {
count             895 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < leafhdr.count; entry++, i++) {
count             944 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < sfp->hdr.count; i++) {
count            1051 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < ichdr.count; entry++, i++) {
count            1131 fs/xfs/libxfs/xfs_attr_leaf.c 	btree[0].hashval = entries[icleafhdr.count - 1].hashval;
count            1133 fs/xfs/libxfs/xfs_attr_leaf.c 	icnodehdr.count = 1;
count            1278 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index >= 0 && args->index <= ichdr.count);
count            1285 fs/xfs/libxfs/xfs_attr_leaf.c 	tablesize = (ichdr.count + 1) * sizeof(xfs_attr_leaf_entry_t)
count            1359 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index >= 0 && args->index <= ichdr->count);
count            1365 fs/xfs/libxfs/xfs_attr_leaf.c 	if (args->index < ichdr->count) {
count            1366 fs/xfs/libxfs/xfs_attr_leaf.c 		tmp  = ichdr->count - args->index;
count            1372 fs/xfs/libxfs/xfs_attr_leaf.c 	ichdr->count++;
count            1403 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT((args->index == ichdr->count - 1) ||
count            1442 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr->firstused >= ichdr->count * sizeof(xfs_attr_leaf_entry_t)
count            1444 fs/xfs/libxfs/xfs_attr_leaf.c 	tmp = (ichdr->count - 1) * sizeof(xfs_attr_leaf_entry_t)
count            1491 fs/xfs/libxfs/xfs_attr_leaf.c 	ichdr_dst->count = 0;
count            1505 fs/xfs/libxfs/xfs_attr_leaf.c 				leaf_dst, ichdr_dst, 0, ichdr_src.count);
count            1531 fs/xfs/libxfs/xfs_attr_leaf.c 	if (leaf1hdr->count > 0 && leaf2hdr->count > 0 &&
count            1534 fs/xfs/libxfs/xfs_attr_leaf.c 	     (be32_to_cpu(entries2[leaf2hdr->count - 1].hashval) <
count            1535 fs/xfs/libxfs/xfs_attr_leaf.c 	      be32_to_cpu(entries1[leaf1hdr->count - 1].hashval)))) {
count            1580 fs/xfs/libxfs/xfs_attr_leaf.c 	int			count;
count            1595 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr2.count == 0);
count            1628 fs/xfs/libxfs/xfs_attr_leaf.c 						      &count, &totallen);
count            1635 fs/xfs/libxfs/xfs_attr_leaf.c 	if (count < ichdr1.count) {
count            1640 fs/xfs/libxfs/xfs_attr_leaf.c 		count = ichdr1.count - count;
count            1642 fs/xfs/libxfs/xfs_attr_leaf.c 		space += count * sizeof(xfs_attr_leaf_entry_t);
count            1648 fs/xfs/libxfs/xfs_attr_leaf.c 		max -= ichdr2.count * sizeof(xfs_attr_leaf_entry_t);
count            1656 fs/xfs/libxfs/xfs_attr_leaf.c 				ichdr1.count - count, leaf2, &ichdr2, 0, count);
count            1658 fs/xfs/libxfs/xfs_attr_leaf.c 	} else if (count > ichdr1.count) {
count            1669 fs/xfs/libxfs/xfs_attr_leaf.c 		count -= ichdr1.count;
count            1671 fs/xfs/libxfs/xfs_attr_leaf.c 		space += count * sizeof(xfs_attr_leaf_entry_t);
count            1677 fs/xfs/libxfs/xfs_attr_leaf.c 		max -= ichdr1.count * sizeof(xfs_attr_leaf_entry_t);
count            1685 fs/xfs/libxfs/xfs_attr_leaf.c 					ichdr1.count, count);
count            1698 fs/xfs/libxfs/xfs_attr_leaf.c 	blk1->hashval = be32_to_cpu(entries1[ichdr1.count - 1].hashval);
count            1699 fs/xfs/libxfs/xfs_attr_leaf.c 	blk2->hashval = be32_to_cpu(entries2[ichdr2.count - 1].hashval);
count            1713 fs/xfs/libxfs/xfs_attr_leaf.c 	if (blk1->index > ichdr1.count) {
count            1715 fs/xfs/libxfs/xfs_attr_leaf.c 		blk2->index = blk1->index - ichdr1.count;
count            1718 fs/xfs/libxfs/xfs_attr_leaf.c 	} else if (blk1->index == ichdr1.count) {
count            1730 fs/xfs/libxfs/xfs_attr_leaf.c 			blk2->index = blk1->index - ichdr1.count;
count            1770 fs/xfs/libxfs/xfs_attr_leaf.c 	int				count;
count            1783 fs/xfs/libxfs/xfs_attr_leaf.c 	max = ichdr1->count + ichdr2->count;
count            1790 fs/xfs/libxfs/xfs_attr_leaf.c 	for (count = index = 0; count < max; entry++, index++, count++) {
count            1796 fs/xfs/libxfs/xfs_attr_leaf.c 		if (count == blk1->index) {
count            1809 fs/xfs/libxfs/xfs_attr_leaf.c 		if (count == ichdr1->count) {
count            1831 fs/xfs/libxfs/xfs_attr_leaf.c 	totallen -= count * sizeof(*entry);
count            1837 fs/xfs/libxfs/xfs_attr_leaf.c 	*countarg = count;
count            1884 fs/xfs/libxfs/xfs_attr_leaf.c 		ichdr.count * sizeof(xfs_attr_leaf_entry_t) +
count            1897 fs/xfs/libxfs/xfs_attr_leaf.c 	if (ichdr.count == 0) {
count            1943 fs/xfs/libxfs/xfs_attr_leaf.c 			((ichdr.count + ichdr2.count) *
count            2005 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr.count > 0 && ichdr.count < args->geo->blksize / 8);
count            2006 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index >= 0 && args->index < ichdr.count);
count            2007 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr.firstused >= ichdr.count * sizeof(*entry) +
count            2021 fs/xfs/libxfs/xfs_attr_leaf.c 	tablesize = ichdr.count * sizeof(xfs_attr_leaf_entry_t)
count            2090 fs/xfs/libxfs/xfs_attr_leaf.c 	tmp = (ichdr.count - args->index) * sizeof(xfs_attr_leaf_entry_t);
count            2092 fs/xfs/libxfs/xfs_attr_leaf.c 	ichdr.count--;
count            2096 fs/xfs/libxfs/xfs_attr_leaf.c 	entry = &xfs_attr3_leaf_entryp(leaf)[ichdr.count];
count            2108 fs/xfs/libxfs/xfs_attr_leaf.c 		for (i = ichdr.count - 1; i >= 0; entry++, i--) {
count            2130 fs/xfs/libxfs/xfs_attr_leaf.c 	      ichdr.count * sizeof(xfs_attr_leaf_entry_t);
count            2161 fs/xfs/libxfs/xfs_attr_leaf.c 	drop_blk->hashval = be32_to_cpu(entry[drophdr.count - 1].hashval);
count            2178 fs/xfs/libxfs/xfs_attr_leaf.c 						drophdr.count);
count            2183 fs/xfs/libxfs/xfs_attr_leaf.c 						savehdr.count, drophdr.count);
count            2216 fs/xfs/libxfs/xfs_attr_leaf.c 						drophdr.count);
count            2219 fs/xfs/libxfs/xfs_attr_leaf.c 						tmp_leaf, &tmphdr, tmphdr.count,
count            2220 fs/xfs/libxfs/xfs_attr_leaf.c 						savehdr.count);
count            2225 fs/xfs/libxfs/xfs_attr_leaf.c 						savehdr.count);
count            2228 fs/xfs/libxfs/xfs_attr_leaf.c 						tmp_leaf, &tmphdr, tmphdr.count,
count            2229 fs/xfs/libxfs/xfs_attr_leaf.c 						drophdr.count);
count            2244 fs/xfs/libxfs/xfs_attr_leaf.c 	save_blk->hashval = be32_to_cpu(entry[savehdr.count - 1].hashval);
count            2284 fs/xfs/libxfs/xfs_attr_leaf.c 	if (ichdr.count >= args->geo->blksize / 8)
count            2291 fs/xfs/libxfs/xfs_attr_leaf.c 	probe = span = ichdr.count / 2;
count            2301 fs/xfs/libxfs/xfs_attr_leaf.c 	if (!(probe >= 0 && (!ichdr.count || probe < ichdr.count)))
count            2314 fs/xfs/libxfs/xfs_attr_leaf.c 	while (probe < ichdr.count &&
count            2319 fs/xfs/libxfs/xfs_attr_leaf.c 	if (probe == ichdr.count || be32_to_cpu(entry->hashval) != hashval) {
count            2327 fs/xfs/libxfs/xfs_attr_leaf.c 	for (; probe < ichdr.count && (be32_to_cpu(entry->hashval) == hashval);
count            2394 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr.count < args->geo->blksize / 8);
count            2395 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index < ichdr.count);
count            2435 fs/xfs/libxfs/xfs_attr_leaf.c 	int				count)
count            2446 fs/xfs/libxfs/xfs_attr_leaf.c 	if (count == 0)
count            2455 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr_s->count > 0 && ichdr_s->count < args->geo->blksize / 8);
count            2456 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr_s->firstused >= (ichdr_s->count * sizeof(*entry_s))
count            2458 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr_d->count < args->geo->blksize / 8);
count            2459 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(ichdr_d->firstused >= (ichdr_d->count * sizeof(*entry_d))
count            2462 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(start_s < ichdr_s->count);
count            2463 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(start_d <= ichdr_d->count);
count            2464 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(count <= ichdr_s->count);
count            2470 fs/xfs/libxfs/xfs_attr_leaf.c 	if (start_d < ichdr_d->count) {
count            2471 fs/xfs/libxfs/xfs_attr_leaf.c 		tmp  = ichdr_d->count - start_d;
count            2474 fs/xfs/libxfs/xfs_attr_leaf.c 		entry_d = &xfs_attr3_leaf_entryp(leaf_d)[start_d + count];
count            2485 fs/xfs/libxfs/xfs_attr_leaf.c 	for (i = 0; i < count; entry_s++, entry_d++, desti++, i++) {
count            2497 fs/xfs/libxfs/xfs_attr_leaf.c 			ichdr_s->count -= 1;
count            2518 fs/xfs/libxfs/xfs_attr_leaf.c 			ichdr_s->count -= 1;
count            2519 fs/xfs/libxfs/xfs_attr_leaf.c 			ichdr_d->count += 1;
count            2520 fs/xfs/libxfs/xfs_attr_leaf.c 			tmp = ichdr_d->count * sizeof(xfs_attr_leaf_entry_t)
count            2531 fs/xfs/libxfs/xfs_attr_leaf.c 	if (start_s == ichdr_s->count) {
count            2532 fs/xfs/libxfs/xfs_attr_leaf.c 		tmp = count * sizeof(xfs_attr_leaf_entry_t);
count            2542 fs/xfs/libxfs/xfs_attr_leaf.c 		tmp  = (ichdr_s->count - count) * sizeof(xfs_attr_leaf_entry_t);
count            2543 fs/xfs/libxfs/xfs_attr_leaf.c 		entry_s = &xfs_attr3_leaf_entryp(leaf_s)[start_s + count];
count            2547 fs/xfs/libxfs/xfs_attr_leaf.c 		tmp = count * sizeof(xfs_attr_leaf_entry_t);
count            2548 fs/xfs/libxfs/xfs_attr_leaf.c 		entry_s = &xfs_attr3_leaf_entryp(leaf_s)[ichdr_s->count];
count            2558 fs/xfs/libxfs/xfs_attr_leaf.c 	ichdr_d->freemap[0].base += ichdr_d->count * sizeof(xfs_attr_leaf_entry_t);
count            2573 fs/xfs/libxfs/xfs_attr_leaf.c 	int		*count)
count            2581 fs/xfs/libxfs/xfs_attr_leaf.c 	if (count)
count            2582 fs/xfs/libxfs/xfs_attr_leaf.c 		*count = ichdr.count;
count            2583 fs/xfs/libxfs/xfs_attr_leaf.c 	if (!ichdr.count)
count            2585 fs/xfs/libxfs/xfs_attr_leaf.c 	return be32_to_cpu(entries[ichdr.count - 1].hashval);
count            2674 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index < ichdr.count);
count            2738 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index < ichdr.count);
count            2817 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index < ichdr1.count);
count            2821 fs/xfs/libxfs/xfs_attr_leaf.c 	ASSERT(args->index2 < ichdr2.count);
count              83 fs/xfs/libxfs/xfs_attr_leaf.h xfs_dahash_t	xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
count             873 fs/xfs/libxfs/xfs_btree.c 	xfs_extlen_t		count,		/* count of filesystem blocks */
count             880 fs/xfs/libxfs/xfs_btree.c 	xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops);
count             893 fs/xfs/libxfs/xfs_btree.c 	xfs_extlen_t		count,		/* count of filesystem blocks */
count             901 fs/xfs/libxfs/xfs_btree.c 	xfs_buf_readahead(mp->m_ddev_targp, d, mp->m_bsize * count, ops);
count            1022 fs/xfs/libxfs/xfs_btree.c 	xfs_extlen_t		count)
count            1029 fs/xfs/libxfs/xfs_btree.c 			  cur->bc_mp->m_bsize * count, cur->bc_ops->buf_ops);
count             358 fs/xfs/libxfs/xfs_btree.h 	xfs_extlen_t		count,	/* count of filesystem blocks */
count             370 fs/xfs/libxfs/xfs_btree.h 	xfs_extlen_t		count,	/* count of filesystem blocks */
count             163 fs/xfs/libxfs/xfs_da_btree.c 	if (ichdr.count == 0)
count             170 fs/xfs/libxfs/xfs_da_btree.c 	if (ichdr.count > mp->m_dir_geo->node_ents &&
count             171 fs/xfs/libxfs/xfs_da_btree.c 	    ichdr.count > mp->m_attr_geo->node_ents)
count             582 fs/xfs/libxfs/xfs_da_btree.c 		size = (int)((char *)&btree[icnodehdr.count] - (char *)oldroot);
count             600 fs/xfs/libxfs/xfs_da_btree.c 		size = (int)((char *)&ents[leafhdr.count] - (char *)leaf);
count             646 fs/xfs/libxfs/xfs_da_btree.c 	nodehdr.count = 2;
count             699 fs/xfs/libxfs/xfs_da_btree.c 	if (nodehdr.count + newcount > state->args->geo->node_ents) {
count             737 fs/xfs/libxfs/xfs_da_btree.c 	if (oldblk->index <= nodehdr.count) {
count             782 fs/xfs/libxfs/xfs_da_btree.c 	int			count;
count             800 fs/xfs/libxfs/xfs_da_btree.c 	if (nodehdr1.count > 0 && nodehdr2.count > 0 &&
count             802 fs/xfs/libxfs/xfs_da_btree.c 	     (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) <
count             803 fs/xfs/libxfs/xfs_da_btree.c 			be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) {
count             814 fs/xfs/libxfs/xfs_da_btree.c 	count = (nodehdr1.count - nodehdr2.count) / 2;
count             815 fs/xfs/libxfs/xfs_da_btree.c 	if (count == 0)
count             821 fs/xfs/libxfs/xfs_da_btree.c 	if (count > 0) {
count             825 fs/xfs/libxfs/xfs_da_btree.c 		tmp = nodehdr2.count;
count             829 fs/xfs/libxfs/xfs_da_btree.c 			btree_d = &btree2[count];
count             837 fs/xfs/libxfs/xfs_da_btree.c 		nodehdr2.count += count;
count             838 fs/xfs/libxfs/xfs_da_btree.c 		tmp = count * (uint)sizeof(xfs_da_node_entry_t);
count             839 fs/xfs/libxfs/xfs_da_btree.c 		btree_s = &btree1[nodehdr1.count - count];
count             842 fs/xfs/libxfs/xfs_da_btree.c 		nodehdr1.count -= count;
count             848 fs/xfs/libxfs/xfs_da_btree.c 		count = -count;
count             849 fs/xfs/libxfs/xfs_da_btree.c 		tmp = count * (uint)sizeof(xfs_da_node_entry_t);
count             851 fs/xfs/libxfs/xfs_da_btree.c 		btree_d = &btree1[nodehdr1.count];
count             853 fs/xfs/libxfs/xfs_da_btree.c 		nodehdr1.count += count;
count             861 fs/xfs/libxfs/xfs_da_btree.c 		tmp  = nodehdr2.count - count;
count             863 fs/xfs/libxfs/xfs_da_btree.c 		btree_s = &btree2[count];
count             866 fs/xfs/libxfs/xfs_da_btree.c 		nodehdr2.count -= count;
count             880 fs/xfs/libxfs/xfs_da_btree.c 				(sizeof(btree2[0]) * nodehdr2.count)));
count             894 fs/xfs/libxfs/xfs_da_btree.c 	blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval);
count             895 fs/xfs/libxfs/xfs_da_btree.c 	blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval);
count             900 fs/xfs/libxfs/xfs_da_btree.c 	if (blk1->index >= nodehdr1.count) {
count             901 fs/xfs/libxfs/xfs_da_btree.c 		blk2->index = blk1->index - nodehdr1.count;
count             902 fs/xfs/libxfs/xfs_da_btree.c 		blk1->index = nodehdr1.count + 1;	/* make it invalid */
count             927 fs/xfs/libxfs/xfs_da_btree.c 	ASSERT(oldblk->index >= 0 && oldblk->index <= nodehdr.count);
count             937 fs/xfs/libxfs/xfs_da_btree.c 	if (oldblk->index < nodehdr.count) {
count             938 fs/xfs/libxfs/xfs_da_btree.c 		tmp = (nodehdr.count - oldblk->index) * (uint)sizeof(*btree);
count             947 fs/xfs/libxfs/xfs_da_btree.c 	nodehdr.count += 1;
count             955 fs/xfs/libxfs/xfs_da_btree.c 	oldblk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval);
count            1102 fs/xfs/libxfs/xfs_da_btree.c 	if (oldroothdr.count > 1)
count            1158 fs/xfs/libxfs/xfs_da_btree.c 	int			count;
count            1176 fs/xfs/libxfs/xfs_da_btree.c 	if (nodehdr.count > (state->args->geo->node_ents >> 1)) {
count            1187 fs/xfs/libxfs/xfs_da_btree.c 	if (nodehdr.count == 0) {
count            1213 fs/xfs/libxfs/xfs_da_btree.c 	count  = state->args->geo->node_ents;
count            1214 fs/xfs/libxfs/xfs_da_btree.c 	count -= state->args->geo->node_ents >> 2;
count            1215 fs/xfs/libxfs/xfs_da_btree.c 	count -= nodehdr.count;
count            1236 fs/xfs/libxfs/xfs_da_btree.c 		if (count - thdr.count >= 0)
count            1273 fs/xfs/libxfs/xfs_da_btree.c 	int			*count)
count            1281 fs/xfs/libxfs/xfs_da_btree.c 	if (count)
count            1282 fs/xfs/libxfs/xfs_da_btree.c 		*count = nodehdr.count;
count            1283 fs/xfs/libxfs/xfs_da_btree.c 	if (!nodehdr.count)
count            1286 fs/xfs/libxfs/xfs_da_btree.c 	return be32_to_cpu(btree[nodehdr.count - 1].hashval);
count            1303 fs/xfs/libxfs/xfs_da_btree.c 	int			count;
count            1312 fs/xfs/libxfs/xfs_da_btree.c 		lasthash = xfs_attr_leaf_lasthash(blk->bp, &count);
count            1313 fs/xfs/libxfs/xfs_da_btree.c 		if (count == 0)
count            1317 fs/xfs/libxfs/xfs_da_btree.c 		lasthash = xfs_dir2_leaf_lasthash(dp, blk->bp, &count);
count            1318 fs/xfs/libxfs/xfs_da_btree.c 		if (count == 0)
count            1322 fs/xfs/libxfs/xfs_da_btree.c 		lasthash = xfs_da3_node_lasthash(dp, blk->bp, &count);
count            1323 fs/xfs/libxfs/xfs_da_btree.c 		if (count == 0)
count            1341 fs/xfs/libxfs/xfs_da_btree.c 		lasthash = be32_to_cpu(btree[nodehdr.count - 1].hashval);
count            1364 fs/xfs/libxfs/xfs_da_btree.c 	ASSERT(drop_blk->index < nodehdr.count);
count            1372 fs/xfs/libxfs/xfs_da_btree.c 	if (index < nodehdr.count - 1) {
count            1373 fs/xfs/libxfs/xfs_da_btree.c 		tmp  = nodehdr.count - index - 1;
count            1378 fs/xfs/libxfs/xfs_da_btree.c 		index = nodehdr.count - 1;
count            1383 fs/xfs/libxfs/xfs_da_btree.c 	nodehdr.count -= 1;
count            1431 fs/xfs/libxfs/xfs_da_btree.c 	    (be32_to_cpu(drop_btree[drop_hdr.count - 1].hashval) <
count            1432 fs/xfs/libxfs/xfs_da_btree.c 			be32_to_cpu(save_btree[save_hdr.count - 1].hashval))) {
count            1434 fs/xfs/libxfs/xfs_da_btree.c 		tmp = save_hdr.count * sizeof(xfs_da_node_entry_t);
count            1435 fs/xfs/libxfs/xfs_da_btree.c 		memmove(&save_btree[drop_hdr.count], &save_btree[0], tmp);
count            1440 fs/xfs/libxfs/xfs_da_btree.c 				(save_hdr.count + drop_hdr.count) *
count            1443 fs/xfs/libxfs/xfs_da_btree.c 		sindex = save_hdr.count;
count            1446 fs/xfs/libxfs/xfs_da_btree.c 				drop_hdr.count * sizeof(xfs_da_node_entry_t)));
count            1452 fs/xfs/libxfs/xfs_da_btree.c 	tmp = drop_hdr.count * (uint)sizeof(xfs_da_node_entry_t);
count            1454 fs/xfs/libxfs/xfs_da_btree.c 	save_hdr.count += drop_hdr.count;
count            1464 fs/xfs/libxfs/xfs_da_btree.c 	save_blk->hashval = be32_to_cpu(save_btree[save_hdr.count - 1].hashval);
count            1568 fs/xfs/libxfs/xfs_da_btree.c 		max = nodehdr.count;
count            1686 fs/xfs/libxfs/xfs_da_btree.c 	if (node1hdr.count > 0 && node2hdr.count > 0 &&
count            1688 fs/xfs/libxfs/xfs_da_btree.c 	     (be32_to_cpu(btree2[node2hdr.count - 1].hashval) <
count            1689 fs/xfs/libxfs/xfs_da_btree.c 	      be32_to_cpu(btree1[node1hdr.count - 1].hashval)))) {
count            1908 fs/xfs/libxfs/xfs_da_btree.c 		if (forward && (blk->index < nodehdr.count - 1)) {
count            1968 fs/xfs/libxfs/xfs_da_btree.c 			blk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval);
count            1972 fs/xfs/libxfs/xfs_da_btree.c 				blk->index = nodehdr.count - 1;
count            2063 fs/xfs/libxfs/xfs_da_btree.c 	int			count)
count            2075 fs/xfs/libxfs/xfs_da_btree.c 	error = xfs_bmap_first_unused(tp, dp, count, bno, w);
count            2083 fs/xfs/libxfs/xfs_da_btree.c 	error = xfs_bmapi_write(tp, dp, *bno, count,
count            2093 fs/xfs/libxfs/xfs_da_btree.c 	} else if (nmap == 0 && count > 1) {
count            2101 fs/xfs/libxfs/xfs_da_btree.c 		mapp = kmem_alloc(sizeof(*mapp) * count, 0);
count            2102 fs/xfs/libxfs/xfs_da_btree.c 		for (b = *bno, mapi = 0; b < *bno + count; ) {
count            2103 fs/xfs/libxfs/xfs_da_btree.c 			nmap = min(XFS_BMAP_MAX_NMAP, count);
count            2104 fs/xfs/libxfs/xfs_da_btree.c 			c = (int)(*bno + count - b);
count            2126 fs/xfs/libxfs/xfs_da_btree.c 	if (got != count || mapp[0].br_startoff != *bno ||
count            2128 fs/xfs/libxfs/xfs_da_btree.c 	    *bno + count) {
count            2246 fs/xfs/libxfs/xfs_da_btree.c 		dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval);
count            2254 fs/xfs/libxfs/xfs_da_btree.c 		dead_hash = be32_to_cpu(btree[deadhdr.count - 1].hashval);
count            2321 fs/xfs/libxfs/xfs_da_btree.c 		     entno < par_hdr.count &&
count            2325 fs/xfs/libxfs/xfs_da_btree.c 		if (entno == par_hdr.count) {
count            2343 fs/xfs/libxfs/xfs_da_btree.c 		     entno < par_hdr.count &&
count            2347 fs/xfs/libxfs/xfs_da_btree.c 		if (entno < par_hdr.count)
count            2401 fs/xfs/libxfs/xfs_da_btree.c 	int			done, error, w, count;
count            2409 fs/xfs/libxfs/xfs_da_btree.c 	count = args->geo->fsbcount;
count            2415 fs/xfs/libxfs/xfs_da_btree.c 		error = xfs_bunmapi(tp, dp, dead_blkno, count,
count            2441 fs/xfs/libxfs/xfs_da_btree.c 	int		count)
count            2456 fs/xfs/libxfs/xfs_da_btree.c 	return off == bno + count;
count             183 fs/xfs/libxfs/xfs_da_btree.h 			      int count);
count              25 fs/xfs/libxfs/xfs_da_format.c 	int count = sizeof(struct xfs_dir2_sf_entry);	/* namelen + offset */
count              27 fs/xfs/libxfs/xfs_da_format.c 	count += len;					/* name */
count              28 fs/xfs/libxfs/xfs_da_format.c 	count += hdr->i8count ? XFS_INO64_SIZE : XFS_INO32_SIZE; /* ino # */
count              29 fs/xfs/libxfs/xfs_da_format.c 	return count;
count             440 fs/xfs/libxfs/xfs_da_format.c 	to->count = be16_to_cpu(from->hdr.count);
count             458 fs/xfs/libxfs/xfs_da_format.c 	to->hdr.count = cpu_to_be16(from->count);
count             472 fs/xfs/libxfs/xfs_da_format.c 	to->count = be16_to_cpu(hdr3->count);
count             492 fs/xfs/libxfs/xfs_da_format.c 	hdr3->count = cpu_to_be16(from->count);
count             521 fs/xfs/libxfs/xfs_da_format.c 	to->count = be16_to_cpu(from->hdr.__count);
count             534 fs/xfs/libxfs/xfs_da_format.c 	to->hdr.__count = cpu_to_be16(from->count);
count             549 fs/xfs/libxfs/xfs_da_format.c 	to->count = be16_to_cpu(hdr3->__count);
count             564 fs/xfs/libxfs/xfs_da_format.c 	hdr3->__count = cpu_to_be16(from->count);
count             105 fs/xfs/libxfs/xfs_da_format.h 	uint16_t	count;
count             217 fs/xfs/libxfs/xfs_da_format.h 	uint8_t			count;		/* count of entries */
count             426 fs/xfs/libxfs/xfs_da_format.h 	__be16			count;		/* count of entries */
count             432 fs/xfs/libxfs/xfs_da_format.h 	__be16			count;		/* count of entries */
count             441 fs/xfs/libxfs/xfs_da_format.h 	uint16_t		count;
count             563 fs/xfs/libxfs/xfs_da_format.h 	__be32		count;			/* count of leaf entries */
count             573 fs/xfs/libxfs/xfs_da_format.h 	return ((struct xfs_dir2_leaf_entry *)btp) - be32_to_cpu(btp->count);
count             619 fs/xfs/libxfs/xfs_da_format.h 		__u8	count;	/* count of active entries */
count             637 fs/xfs/libxfs/xfs_da_format.h 	__be16	count;			/* count of active leaf_entry's */
count             687 fs/xfs/libxfs/xfs_da_format.h 	__be16			count;
count             719 fs/xfs/libxfs/xfs_da_format.h 	uint16_t	count;
count             181 fs/xfs/libxfs/xfs_dir2.c 	return !sfp->count;
count             557 fs/xfs/libxfs/xfs_dir2.c 	int			count;	/* count of filesystem blocks */
count             566 fs/xfs/libxfs/xfs_dir2.c 	count = args->geo->fsbcount;
count             568 fs/xfs/libxfs/xfs_dir2.c 	error = xfs_da_grow_inode_int(args, &bno, count);
count             580 fs/xfs/libxfs/xfs_dir2.c 		size = XFS_FSB_TO_B(mp, bno + count);
count             285 fs/xfs/libxfs/xfs_dir2_block.c 	fromidx = toidx = be32_to_cpu(btp->count) - 1;
count             303 fs/xfs/libxfs/xfs_dir2_block.c 	be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1));
count             416 fs/xfs/libxfs/xfs_dir2_block.c 		lfloglow = be32_to_cpu(btp->count);
count             423 fs/xfs/libxfs/xfs_dir2_block.c 	for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) {
count             455 fs/xfs/libxfs/xfs_dir2_block.c 		be32_add_cpu(&btp->count, 1);
count             487 fs/xfs/libxfs/xfs_dir2_block.c 		     highstale < be32_to_cpu(btp->count) &&
count             497 fs/xfs/libxfs/xfs_dir2_block.c 		    (highstale == be32_to_cpu(btp->count) ||
count             509 fs/xfs/libxfs/xfs_dir2_block.c 			ASSERT(highstale < be32_to_cpu(btp->count));
count             683 fs/xfs/libxfs/xfs_dir2_block.c 	for (low = 0, high = be32_to_cpu(btp->count) - 1; ; ) {
count             729 fs/xfs/libxfs/xfs_dir2_block.c 	} while (++mid < be32_to_cpu(btp->count) &&
count             968 fs/xfs/libxfs/xfs_dir2_block.c 	       (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale);
count             999 fs/xfs/libxfs/xfs_dir2_block.c 	btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale);
count            1006 fs/xfs/libxfs/xfs_dir2_block.c 	for (from = to = 0; from < leafhdr.count; from++) {
count            1011 fs/xfs/libxfs/xfs_dir2_block.c 	ASSERT(to == be32_to_cpu(btp->count));
count            1012 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1);
count            1121 fs/xfs/libxfs/xfs_dir2_block.c 	    (sfp->count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t);
count            1137 fs/xfs/libxfs/xfs_dir2_block.c 	btp->count = cpu_to_be32(sfp->count + 2);	/* ., .. */
count            1182 fs/xfs/libxfs/xfs_dir2_block.c 	if (!sfp->count)
count            1232 fs/xfs/libxfs/xfs_dir2_block.c 		if (++i == sfp->count)
count            1242 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_sort(blp, be32_to_cpu(btp->count), sizeof(*blp), xfs_dir2_block_sort);
count            1248 fs/xfs/libxfs/xfs_dir2_block.c 	xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1);
count              39 fs/xfs/libxfs/xfs_dir2_data.c 	int			count;		/* count of entries found */
count              89 fs/xfs/libxfs/xfs_dir2_data.c 		if (be32_to_cpu(btp->count) >=
count             107 fs/xfs/libxfs/xfs_dir2_data.c 	count = lastfree = freeseen = 0;
count             183 fs/xfs/libxfs/xfs_dir2_data.c 		count++;
count             193 fs/xfs/libxfs/xfs_dir2_data.c 			for (i = 0; i < be32_to_cpu(btp->count); i++) {
count             198 fs/xfs/libxfs/xfs_dir2_data.c 			if (i >= be32_to_cpu(btp->count))
count             210 fs/xfs/libxfs/xfs_dir2_data.c 		for (i = stale = 0; i < be32_to_cpu(btp->count); i++) {
count             218 fs/xfs/libxfs/xfs_dir2_data.c 		if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale))
count             111 fs/xfs/libxfs/xfs_dir2_leaf.c 	if (hdr->count > ops->leaf_max_ents(geo))
count             117 fs/xfs/libxfs/xfs_dir2_leaf.c 	    (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp))
count             121 fs/xfs/libxfs/xfs_dir2_leaf.c 	for (i = stale = 0; i < hdr->count; i++) {
count             122 fs/xfs/libxfs/xfs_dir2_leaf.c 		if (i + 1 < hdr->count) {
count             385 fs/xfs/libxfs/xfs_dir2_leaf.c 	leafhdr.count = be32_to_cpu(btp->count);
count             394 fs/xfs/libxfs/xfs_dir2_leaf.c 	memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t));
count             395 fs/xfs/libxfs/xfs_dir2_leaf.c 	xfs_dir3_leaf_log_ents(args, lbp, 0, leafhdr.count - 1);
count             459 fs/xfs/libxfs/xfs_dir2_leaf.c 	for (*highstale = index; *highstale < leafhdr->count; ++*highstale) {
count             488 fs/xfs/libxfs/xfs_dir2_leaf.c 		if (index < leafhdr->count)
count             490 fs/xfs/libxfs/xfs_dir2_leaf.c 				(leafhdr->count - index) * sizeof(*lep));
count             496 fs/xfs/libxfs/xfs_dir2_leaf.c 		*lfloghigh = leafhdr->count++;
count             517 fs/xfs/libxfs/xfs_dir2_leaf.c 	    (highstale == leafhdr->count ||
count             622 fs/xfs/libxfs/xfs_dir2_leaf.c 	     index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval;
count             670 fs/xfs/libxfs/xfs_dir2_leaf.c 	if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes &&
count             678 fs/xfs/libxfs/xfs_dir2_leaf.c 	else if ((char *)bestsp - (char *)&ents[leafhdr.count] < needbytes) {
count             734 fs/xfs/libxfs/xfs_dir2_leaf.c 		lfloglow = leafhdr.count;
count             888 fs/xfs/libxfs/xfs_dir2_leaf.c 	for (from = to = 0, loglow = -1; from < leafhdr->count; from++) {
count             905 fs/xfs/libxfs/xfs_dir2_leaf.c 	leafhdr->count -= leafhdr->stale;
count             949 fs/xfs/libxfs/xfs_dir2_leaf.c 	    (highstale == leafhdr->count ||
count             958 fs/xfs/libxfs/xfs_dir2_leaf.c 	for (from = to = 0; from < leafhdr->count; from++) {
count             993 fs/xfs/libxfs/xfs_dir2_leaf.c 	leafhdr->count -= from - to;
count            1002 fs/xfs/libxfs/xfs_dir2_leaf.c 		highstale = leafhdr->count;
count            1003 fs/xfs/libxfs/xfs_dir2_leaf.c 	*highlogp = leafhdr->count - 1;
count            1211 fs/xfs/libxfs/xfs_dir2_leaf.c 	     index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval;
count            1518 fs/xfs/libxfs/xfs_dir2_leaf.c 	for (lep = ents, low = 0, high = leafhdr.count - 1,
count            1616 fs/xfs/libxfs/xfs_dir2_leaf.c 	entries = hdr->count - hdr->stale;
count             458 fs/xfs/libxfs/xfs_dir2_node.c 	if (leafhdr.count == dp->d_ops->leaf_max_ents(args->geo)) {
count             465 fs/xfs/libxfs/xfs_dir2_node.c 	ASSERT(index == leafhdr.count ||
count             482 fs/xfs/libxfs/xfs_dir2_node.c 		lfloglow = leafhdr.count;
count             531 fs/xfs/libxfs/xfs_dir2_node.c 	int		*count)			/* count of entries in leaf */
count             544 fs/xfs/libxfs/xfs_dir2_node.c 	if (count)
count             545 fs/xfs/libxfs/xfs_dir2_node.c 		*count = leafhdr.count;
count             546 fs/xfs/libxfs/xfs_dir2_node.c 	if (!leafhdr.count)
count             550 fs/xfs/libxfs/xfs_dir2_node.c 	return be32_to_cpu(ents[leafhdr.count - 1].hashval);
count             590 fs/xfs/libxfs/xfs_dir2_node.c 	ASSERT(leafhdr.count > 0);
count             612 fs/xfs/libxfs/xfs_dir2_node.c 	     index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval;
count             742 fs/xfs/libxfs/xfs_dir2_node.c 	if (leafhdr.count <= 0)
count             760 fs/xfs/libxfs/xfs_dir2_node.c 	     index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval;
count             838 fs/xfs/libxfs/xfs_dir2_node.c 	ASSERT(index == leafhdr.count || (args->op_flags & XFS_DA_OP_OKNOENT));
count             894 fs/xfs/libxfs/xfs_dir2_node.c 	int				count)	/* count of leaves to copy */
count             898 fs/xfs/libxfs/xfs_dir2_node.c 	trace_xfs_dir2_leafn_moveents(args, start_s, start_d, count);
count             903 fs/xfs/libxfs/xfs_dir2_node.c 	if (count == 0)
count             911 fs/xfs/libxfs/xfs_dir2_node.c 	if (start_d < dhdr->count) {
count             912 fs/xfs/libxfs/xfs_dir2_node.c 		memmove(&dents[start_d + count], &dents[start_d],
count             913 fs/xfs/libxfs/xfs_dir2_node.c 			(dhdr->count - start_d) * sizeof(xfs_dir2_leaf_entry_t));
count             914 fs/xfs/libxfs/xfs_dir2_node.c 		xfs_dir3_leaf_log_ents(args, bp_d, start_d + count,
count             915 fs/xfs/libxfs/xfs_dir2_node.c 				       count + dhdr->count - 1);
count             924 fs/xfs/libxfs/xfs_dir2_node.c 		for (i = start_s, stale = 0; i < start_s + count; i++) {
count             935 fs/xfs/libxfs/xfs_dir2_node.c 		count * sizeof(xfs_dir2_leaf_entry_t));
count             936 fs/xfs/libxfs/xfs_dir2_node.c 	xfs_dir3_leaf_log_ents(args, bp_d, start_d, start_d + count - 1);
count             942 fs/xfs/libxfs/xfs_dir2_node.c 	if (start_s + count < shdr->count) {
count             943 fs/xfs/libxfs/xfs_dir2_node.c 		memmove(&sents[start_s], &sents[start_s + count],
count             944 fs/xfs/libxfs/xfs_dir2_node.c 			count * sizeof(xfs_dir2_leaf_entry_t));
count             945 fs/xfs/libxfs/xfs_dir2_node.c 		xfs_dir3_leaf_log_ents(args, bp_s, start_s, start_s + count - 1);
count             951 fs/xfs/libxfs/xfs_dir2_node.c 	shdr->count -= count;
count             953 fs/xfs/libxfs/xfs_dir2_node.c 	dhdr->count += count;
count             979 fs/xfs/libxfs/xfs_dir2_node.c 	if (hdr1.count > 0 && hdr2.count > 0 &&
count             981 fs/xfs/libxfs/xfs_dir2_node.c 	     be32_to_cpu(ents2[hdr2.count - 1].hashval) <
count             982 fs/xfs/libxfs/xfs_dir2_node.c 				be32_to_cpu(ents1[hdr1.count - 1].hashval)))
count            1001 fs/xfs/libxfs/xfs_dir2_node.c 	int			count;		/* count (& direction) leaves */
count            1032 fs/xfs/libxfs/xfs_dir2_node.c 	oldsum = hdr1.count + hdr2.count;
count            1045 fs/xfs/libxfs/xfs_dir2_node.c 		if (mid >= hdr1.count)
count            1046 fs/xfs/libxfs/xfs_dir2_node.c 			midhash = be32_to_cpu(ents2[mid - hdr1.count].hashval);
count            1062 fs/xfs/libxfs/xfs_dir2_node.c 	count = hdr1.count - mid + (isleft == 0);
count            1063 fs/xfs/libxfs/xfs_dir2_node.c 	if (count > 0)
count            1065 fs/xfs/libxfs/xfs_dir2_node.c 					hdr1.count - count, blk2->bp,
count            1066 fs/xfs/libxfs/xfs_dir2_node.c 					&hdr2, ents2, 0, count);
count            1067 fs/xfs/libxfs/xfs_dir2_node.c 	else if (count < 0)
count            1070 fs/xfs/libxfs/xfs_dir2_node.c 					hdr1.count, count);
count            1072 fs/xfs/libxfs/xfs_dir2_node.c 	ASSERT(hdr1.count + hdr2.count == oldsum);
count            1087 fs/xfs/libxfs/xfs_dir2_node.c 	if (hdr1.count < hdr2.count)
count            1089 fs/xfs/libxfs/xfs_dir2_node.c 	else if (hdr1.count > hdr2.count)
count            1092 fs/xfs/libxfs/xfs_dir2_node.c 		state->inleaf = swap_blocks ^ (blk1->index <= hdr1.count);
count            1097 fs/xfs/libxfs/xfs_dir2_node.c 		blk2->index = blk1->index - hdr1.count;
count            1347 fs/xfs/libxfs/xfs_dir2_node.c 		 (uint)sizeof(ents[0]) * (leafhdr.count - leafhdr.stale)) <
count            1430 fs/xfs/libxfs/xfs_dir2_node.c 	int			count;		/* leaf live entry count */
count            1451 fs/xfs/libxfs/xfs_dir2_node.c 	count = leafhdr.count - leafhdr.stale;
count            1452 fs/xfs/libxfs/xfs_dir2_node.c 	bytes = dp->d_ops->leaf_hdr_size + count * sizeof(ents[0]);
count            1466 fs/xfs/libxfs/xfs_dir2_node.c 	if (count == 0) {
count            1505 fs/xfs/libxfs/xfs_dir2_node.c 		count = leafhdr.count - leafhdr.stale;
count            1512 fs/xfs/libxfs/xfs_dir2_node.c 		count += hdr2.count - hdr2.stale;
count            1513 fs/xfs/libxfs/xfs_dir2_node.c 		bytes -= count * sizeof(ents[0]);
count            1590 fs/xfs/libxfs/xfs_dir2_node.c 	drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval);
count            1594 fs/xfs/libxfs/xfs_dir2_node.c 					drophdr.count);
count            1598 fs/xfs/libxfs/xfs_dir2_node.c 					savehdr.count, drophdr.count);
count            1599 fs/xfs/libxfs/xfs_dir2_node.c 	save_blk->hashval = be32_to_cpu(sents[savehdr.count - 1].hashval);
count              89 fs/xfs/libxfs/xfs_dir2_priv.h 		struct xfs_buf *bp, int *count);
count              55 fs/xfs/libxfs/xfs_dir2_sf.c 	int			count;		/* shortform entry count */
count              77 fs/xfs/libxfs/xfs_dir2_sf.c 	count = i8count = namelen = 0;
count              84 fs/xfs/libxfs/xfs_dir2_sf.c 	for (i = 0; i < be32_to_cpu(btp->count); i++) {
count             107 fs/xfs/libxfs/xfs_dir2_sf.c 			count++;
count             115 fs/xfs/libxfs/xfs_dir2_sf.c 		       count * 3 * sizeof(u8) +		/* namelen + offset */
count             118 fs/xfs/libxfs/xfs_dir2_sf.c 				count * XFS_INO64_SIZE :
count             119 fs/xfs/libxfs/xfs_dir2_sf.c 				count * XFS_INO32_SIZE);
count             126 fs/xfs/libxfs/xfs_dir2_sf.c 	sfhp->count = count;
count             304 fs/xfs/libxfs/xfs_dir2_sf.c 		incr_isize += (sfp->count + 2) * XFS_INO64_DIFF;
count             397 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count++;
count             484 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count++;
count             534 fs/xfs/libxfs/xfs_dir2_sf.c 	for (i = 0; i < sfp->count; i++) {
count             546 fs/xfs/libxfs/xfs_dir2_sf.c 	       (sfp->count + 3) * (uint)sizeof(xfs_dir2_leaf_entry_t) +
count             597 fs/xfs/libxfs/xfs_dir2_sf.c 	     i < sfp->count;
count             610 fs/xfs/libxfs/xfs_dir2_sf.c 	       (sfp->count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t) +
count             665 fs/xfs/libxfs/xfs_dir2_sf.c 	for (i = 0; i < sfp->count; i++) {
count             714 fs/xfs/libxfs/xfs_dir2_sf.c 	if (offset + (sfp->count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t) +
count             767 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count = 0;
count             830 fs/xfs/libxfs/xfs_dir2_sf.c 	for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->count;
count             897 fs/xfs/libxfs/xfs_dir2_sf.c 	for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->count;
count             909 fs/xfs/libxfs/xfs_dir2_sf.c 	if (i == sfp->count)
count             926 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count--;
count             985 fs/xfs/libxfs/xfs_dir2_sf.c 		newsize = dp->i_df.if_bytes + (sfp->count + 1) * XFS_INO64_DIFF;
count            1019 fs/xfs/libxfs/xfs_dir2_sf.c 		for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->count;
count            1033 fs/xfs/libxfs/xfs_dir2_sf.c 		if (i == sfp->count) {
count            1106 fs/xfs/libxfs/xfs_dir2_sf.c 	newsize = oldsize - (oldsfp->count + 1) * XFS_INO64_DIFF;
count            1117 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count = oldsfp->count;
count            1125 fs/xfs/libxfs/xfs_dir2_sf.c 	     i < sfp->count;
count            1179 fs/xfs/libxfs/xfs_dir2_sf.c 	newsize = oldsize + (oldsfp->count + 1) * XFS_INO64_DIFF;
count            1190 fs/xfs/libxfs/xfs_dir2_sf.c 	sfp->count = oldsfp->count;
count            1198 fs/xfs/libxfs/xfs_dir2_sf.c 	     i < sfp->count;
count             155 fs/xfs/libxfs/xfs_ialloc.c 	uint8_t			count,
count             161 fs/xfs/libxfs/xfs_ialloc.c 	cur->bc_rec.i.ir_count = count;
count            2705 fs/xfs/libxfs/xfs_ialloc.c 	xfs_agino_t			count;
count            2720 fs/xfs/libxfs/xfs_ialloc.c 	ci->count += irec.ir_count;
count            2730 fs/xfs/libxfs/xfs_ialloc.c 	xfs_agino_t			*count,
count            2741 fs/xfs/libxfs/xfs_ialloc.c 	*count = ci.count;
count             147 fs/xfs/libxfs/xfs_ialloc.h int xfs_ialloc_count_inodes(struct xfs_btree_cur *cur, xfs_agino_t *count,
count             150 fs/xfs/libxfs/xfs_ialloc.h 		uint8_t count, int32_t freecount, xfs_inofree_t free,
count             816 fs/xfs/scrub/agheader_repair.c 	xfs_agino_t		count;
count             822 fs/xfs/scrub/agheader_repair.c 	error = xfs_ialloc_count_inodes(cur, &count, &freecount);
count             827 fs/xfs/scrub/agheader_repair.c 	agi->agi_count = cpu_to_be32(count);
count             366 fs/xfs/scrub/attr.c 	if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused)
count             370 fs/xfs/scrub/attr.c 	for (i = 0, ent = entries; i < leafhdr.count; ent++, i++) {
count             438 fs/xfs/scrub/dabtree.c 		*pmaxrecs = nodehdr.count;
count             524 fs/xfs/scrub/dir.c 	if (leafhdr.count > d_ops->leaf_max_ents(geo)) {
count             530 fs/xfs/scrub/dir.c 	if ((char *)&ents[leafhdr.count] > (char *)bestp) {
count             536 fs/xfs/scrub/dir.c 	for (i = 0; i < leafhdr.count; i++) {
count             468 fs/xfs/scrub/inode.c 	xfs_filblks_t		count;
count             477 fs/xfs/scrub/inode.c 			&nextents, &count);
count             491 fs/xfs/scrub/inode.c 	if (count + acount != be64_to_cpu(dip->di_nblocks))
count             876 fs/xfs/scrub/trace.h 		 xfs_agino_t startino, uint16_t holemask, uint8_t count,
count             878 fs/xfs/scrub/trace.h 	TP_ARGS(mp, agno, startino, holemask, count, freecount, freemask),
count             884 fs/xfs/scrub/trace.h 		__field(uint8_t, count)
count             893 fs/xfs/scrub/trace.h 		__entry->count = count;
count             902 fs/xfs/scrub/trace.h 		  __entry->count,
count              33 fs/xfs/xfs_acl.c 	unsigned int count, i;
count              37 fs/xfs/xfs_acl.c 	count = be32_to_cpu(aclp->acl_cnt);
count              38 fs/xfs/xfs_acl.c 	if (count > max_entries || XFS_ACL_SIZE(count) != len)
count              41 fs/xfs/xfs_acl.c 	acl = posix_acl_alloc(count, GFP_KERNEL);
count              45 fs/xfs/xfs_acl.c 	for (i = 0; i < count; i++) {
count             495 fs/xfs/xfs_aops.c 	ssize_t			count = i_blocksize(inode);
count             497 fs/xfs/xfs_aops.c 	xfs_fileoff_t		end_fsb = XFS_B_TO_FSB(mp, offset + count);
count             596 fs/xfs/xfs_aops.c 	trace_xfs_map_blocks_found(ip, offset, count, wpc->fork, &imap);
count             625 fs/xfs/xfs_aops.c 	trace_xfs_map_blocks_alloc(ip, offset, count, wpc->fork, &imap);
count             878 fs/xfs/xfs_aops.c 	int			error = 0, count = 0, i;
count             901 fs/xfs/xfs_aops.c 		count++;
count             923 fs/xfs/xfs_aops.c 		if (!count) {
count             964 fs/xfs/xfs_aops.c 	if (!count)
count             115 fs/xfs/xfs_attr_inactive.c 	int			count;
count             127 fs/xfs/xfs_attr_inactive.c 	count = 0;
count             129 fs/xfs/xfs_attr_inactive.c 	for (i = 0; i < ichdr.count; entry++, i++) {
count             134 fs/xfs/xfs_attr_inactive.c 				count++;
count             141 fs/xfs/xfs_attr_inactive.c 	if (count == 0) {
count             149 fs/xfs/xfs_attr_inactive.c 	size = count * sizeof(xfs_attr_inactive_list_t);
count             157 fs/xfs/xfs_attr_inactive.c 	for (i = 0; i < ichdr.count; entry++, i++) {
count             175 fs/xfs/xfs_attr_inactive.c 	for (lp = list, i = 0; i < count; i++, lp++) {
count             218 fs/xfs/xfs_attr_inactive.c 	if (!ichdr.count) {
count             231 fs/xfs/xfs_attr_inactive.c 	for (i = 0; i < ichdr.count; i++) {
count             281 fs/xfs/xfs_attr_inactive.c 		if (i + 1 < ichdr.count) {
count              59 fs/xfs/xfs_attr_list.c 	int sbsize, nsbuf, count, i;
count              67 fs/xfs/xfs_attr_list.c 	if (!sf->hdr.count)
count              85 fs/xfs/xfs_attr_list.c 	     (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) {
count              86 fs/xfs/xfs_attr_list.c 		for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) {
count             111 fs/xfs/xfs_attr_list.c 	sbsize = sf->hdr.count * sizeof(*sbuf);
count             119 fs/xfs/xfs_attr_list.c 	for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) {
count             151 fs/xfs/xfs_attr_list.c 	count = 0;
count             156 fs/xfs/xfs_attr_list.c 			if (cursor->offset == count) {
count             159 fs/xfs/xfs_attr_list.c 			count++;
count             247 fs/xfs/xfs_attr_list.c 		for (i = 0; i < nodehdr.count; btree++, i++) {
count             257 fs/xfs/xfs_attr_list.c 		if (i == nodehdr.count)
count             323 fs/xfs/xfs_attr_list.c 						entries[leafhdr.count - 1].hashval)) {
count             405 fs/xfs/xfs_attr_list.c 		for (i = 0; i < ichdr.count; entry++, i++) {
count             418 fs/xfs/xfs_attr_list.c 		if (i == ichdr.count) {
count             431 fs/xfs/xfs_attr_list.c 	for (; i < ichdr.count; entry++, i++) {
count             555 fs/xfs/xfs_attr_list.c 	ASSERT(context->count >= 0);
count             556 fs/xfs/xfs_attr_list.c 	ASSERT(context->count < (ATTR_MAX_VALUELEN/8));
count             571 fs/xfs/xfs_attr_list.c 			context->count * sizeof(alist->al_offset[0]);
count             584 fs/xfs/xfs_attr_list.c 	alist->al_offset[context->count++] = context->firstu;
count             585 fs/xfs/xfs_attr_list.c 	alist->al_count = context->count;
count               7 fs/xfs/xfs_bio_io.c static inline unsigned int bio_max_vecs(unsigned int count)
count               9 fs/xfs/xfs_bio_io.c 	return min_t(unsigned, howmany(count, PAGE_SIZE), BIO_MAX_PAGES);
count              16 fs/xfs/xfs_bio_io.c 	unsigned int		count,
count              22 fs/xfs/xfs_bio_io.c 	unsigned int		left = count;
count              27 fs/xfs/xfs_bio_io.c 		flush_kernel_vmap_range(data, count);
count              59 fs/xfs/xfs_bio_io.c 		invalidate_kernel_vmap_range(data, count);
count             285 fs/xfs/xfs_bmap_item.c 	unsigned int			count)
count             289 fs/xfs/xfs_bmap_item.c 	ASSERT(count == XFS_BUI_MAX_FAST_EXTENTS);
count             363 fs/xfs/xfs_bmap_item.c 	unsigned int			count)
count             377 fs/xfs/xfs_bmap_item.c 	xfs_filblks_t			count;
count             381 fs/xfs/xfs_bmap_item.c 	count = bmap->bi_bmap.br_blockcount;
count             387 fs/xfs/xfs_bmap_item.c 			&count,
count             389 fs/xfs/xfs_bmap_item.c 	if (!error && count > 0) {
count             391 fs/xfs/xfs_bmap_item.c 		bmap->bi_bmap.br_blockcount = count;
count             442 fs/xfs/xfs_bmap_item.c 	xfs_filblks_t			count;
count             533 fs/xfs/xfs_bmap_item.c 	count = bmap->me_len;
count             535 fs/xfs/xfs_bmap_item.c 			bmap->me_startoff, bmap->me_startblock, &count, state);
count             539 fs/xfs/xfs_bmap_item.c 	if (count > 0) {
count             542 fs/xfs/xfs_bmap_item.c 		irec.br_blockcount = count;
count             215 fs/xfs/xfs_bmap_util.c 	xfs_filblks_t		*count)
count             223 fs/xfs/xfs_bmap_util.c 			*count += got.br_blockcount;
count             240 fs/xfs/xfs_bmap_util.c 	xfs_filblks_t		*count)
count             247 fs/xfs/xfs_bmap_util.c 		*count += xfs_bmbt_disk_get_blockcount(frp);
count             263 fs/xfs/xfs_bmap_util.c 	xfs_filblks_t		*count)
count             278 fs/xfs/xfs_bmap_util.c 	*count += 1;
count             290 fs/xfs/xfs_bmap_util.c 			*count += 1;
count             300 fs/xfs/xfs_bmap_util.c 				count);
count             314 fs/xfs/xfs_bmap_util.c 			xfs_bmap_disk_count_leaves(mp, block, numrecs, count);
count             324 fs/xfs/xfs_bmap_util.c 			*count += 1;
count             341 fs/xfs/xfs_bmap_util.c 	xfs_filblks_t		*count)
count             354 fs/xfs/xfs_bmap_util.c 	*count = 0;
count             361 fs/xfs/xfs_bmap_util.c 		*nextents = xfs_bmap_count_leaves(ifp, count);
count             383 fs/xfs/xfs_bmap_util.c 				nextents, count);
count             862 fs/xfs/xfs_bmap_util.c 	xfs_off_t		count;
count             891 fs/xfs/xfs_bmap_util.c 	count = len;
count             895 fs/xfs/xfs_bmap_util.c 	endoffset_fsb = XFS_B_TO_FSB(mp, offset + count);
count              78 fs/xfs/xfs_bmap_util.h xfs_extnum_t xfs_bmap_count_leaves(struct xfs_ifork *ifp, xfs_filblks_t *count);
count              81 fs/xfs/xfs_bmap_util.h 			  xfs_filblks_t *count);
count            1263 fs/xfs/xfs_buf.c 	int		*count,
count            1287 fs/xfs/xfs_buf.c 	size = min_t(int, BBTOB(bp->b_maps[map].bm_len), *count);
count            1288 fs/xfs/xfs_buf.c 	*count -= size;
count             255 fs/xfs/xfs_buf.h 	((bp)->b_sema.count <= 0)
count             694 fs/xfs/xfs_buf_item.c 	int			count)
count             697 fs/xfs/xfs_buf_item.c 	bip->bli_format_count = count;
count             699 fs/xfs/xfs_buf_item.c 	if (count == 1) {
count             704 fs/xfs/xfs_buf_item.c 	bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format),
count             104 fs/xfs/xfs_dir2_readdir.c 	for (i = 0; i < sfp->count; i++) {
count              82 fs/xfs/xfs_error.c 	size_t			count)
count             100 fs/xfs/xfs_error.c 	return count;
count             418 fs/xfs/xfs_extfree_item.c 	unsigned int			count)
count             423 fs/xfs/xfs_extfree_item.c 	ASSERT(count > 0);
count             425 fs/xfs/xfs_extfree_item.c 	efip = xfs_efi_init(tp->t_mountp, count);
count             469 fs/xfs/xfs_extfree_item.c 	unsigned int			count)
count             471 fs/xfs/xfs_extfree_item.c 	return xfs_trans_get_efd(tp, intent, count);
count             180 fs/xfs/xfs_file.c 	size_t			count = iov_iter_count(to);
count             183 fs/xfs/xfs_file.c 	trace_xfs_file_direct_read(ip, count, iocb->ki_pos);
count             185 fs/xfs/xfs_file.c 	if (!count)
count             203 fs/xfs/xfs_file.c 	size_t			count = iov_iter_count(to);
count             206 fs/xfs/xfs_file.c 	trace_xfs_file_dax_read(ip, count, iocb->ki_pos);
count             208 fs/xfs/xfs_file.c 	if (!count)
count             290 fs/xfs/xfs_file.c 	size_t			count = iov_iter_count(from);
count             337 fs/xfs/xfs_file.c 				iov_iter_reexpand(from, count);
count             488 fs/xfs/xfs_file.c 	size_t			count = iov_iter_count(from);
count             493 fs/xfs/xfs_file.c 	if ((iocb->ki_pos | count) & target->bt_logical_sectormask)
count             504 fs/xfs/xfs_file.c 	    ((iocb->ki_pos + count) & mp->m_blockmask)) {
count             512 fs/xfs/xfs_file.c 			trace_xfs_reflink_bounce_dio_write(ip, iocb->ki_pos, count);
count             533 fs/xfs/xfs_file.c 	count = iov_iter_count(from);
count             549 fs/xfs/xfs_file.c 	trace_xfs_file_direct_write(ip, count, iocb->ki_pos);
count             566 fs/xfs/xfs_file.c 	ASSERT(ret < 0 || ret == count);
count             579 fs/xfs/xfs_file.c 	size_t			count;
count             594 fs/xfs/xfs_file.c 	count = iov_iter_count(from);
count             596 fs/xfs/xfs_file.c 	trace_xfs_file_dax_write(ip, count, pos);
count              85 fs/xfs/xfs_icreate_item.c 	unsigned int		count,
count             101 fs/xfs/xfs_icreate_item.c 	icp->ic_format.icl_count = cpu_to_be32(count);
count              18 fs/xfs/xfs_icreate_item.h 			xfs_agblock_t agbno, unsigned int count,
count             171 fs/xfs/xfs_iomap.c 	size_t		count,
count             197 fs/xfs/xfs_iomap.c 	last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count)));
count             198 fs/xfs/xfs_iomap.c 	if ((offset + count) > XFS_ISIZE(ip)) {
count             397 fs/xfs/xfs_iomap.c 	loff_t			count,
count             410 fs/xfs/xfs_iomap.c 	if (offset + count <= XFS_ISIZE(ip))
count             529 fs/xfs/xfs_iomap.c 	loff_t			count,
count             568 fs/xfs/xfs_iomap.c 	end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb);
count             616 fs/xfs/xfs_iomap.c 			trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK,
count             630 fs/xfs/xfs_iomap.c 			trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK,
count             651 fs/xfs/xfs_iomap.c 		count = min_t(loff_t, count, 1024 * PAGE_SIZE);
count             652 fs/xfs/xfs_iomap.c 		end_fsb = min(XFS_B_TO_FSB(mp, offset + count), maxbytes_fsb);
count             664 fs/xfs/xfs_iomap.c 				count, &icur);
count             670 fs/xfs/xfs_iomap.c 			end_offset = XFS_WRITEIO_ALIGN(mp, offset + count - 1);
count             696 fs/xfs/xfs_iomap.c 		trace_xfs_delalloc_enospc(ip, offset, count);
count             711 fs/xfs/xfs_iomap.c 	trace_xfs_iomap_alloc(ip, offset, count, whichfork,
count             735 fs/xfs/xfs_iomap.c 	xfs_off_t	count,
count             750 fs/xfs/xfs_iomap.c 	trace_xfs_unwritten_convert(ip, offset, count);
count             753 fs/xfs/xfs_iomap.c 	count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count);
count             802 fs/xfs/xfs_iomap.c 		if (i_size > offset + count)
count             803 fs/xfs/xfs_iomap.c 			i_size = offset + count;
count             222 fs/xfs/xfs_linux.h int xfs_rw_bdev(struct block_device *bdev, sector_t sector, unsigned int count,
count              99 fs/xfs/xfs_log.c 	int			count);
count            1699 fs/xfs/xfs_log.c 	size_t			count)
count            1704 fs/xfs/xfs_log.c 		size_t		len = min_t(size_t, count, PAGE_SIZE - off);
count            1709 fs/xfs/xfs_log.c 		count -= len;
count            1710 fs/xfs/xfs_log.c 	} while (count);
count            1718 fs/xfs/xfs_log.c 	unsigned int		count,
count            1745 fs/xfs/xfs_log.c 	iclog->ic_io_size = count;
count            1747 fs/xfs/xfs_log.c 	bio_init(&iclog->ic_bio, iclog->ic_bvec, howmany(count, PAGE_SIZE));
count            1764 fs/xfs/xfs_log.c 	if (bno + BTOBB(count) > log->l_logBBsize) {
count            1789 fs/xfs/xfs_log.c 	unsigned int		count)
count            1794 fs/xfs/xfs_log.c 	for (i = split_offset; i < count; i += BBSIZE) {
count            1809 fs/xfs/xfs_log.c 	uint32_t		count_init, count;
count            1821 fs/xfs/xfs_log.c 		count = XLOG_LSUNITTOB(log, XLOG_BTOLSUNIT(log, count_init));
count            1823 fs/xfs/xfs_log.c 		count = BBTOB(BTOBB(count_init));
count            1826 fs/xfs/xfs_log.c 	ASSERT(count >= count_init);
count            1827 fs/xfs/xfs_log.c 	*roundoff = count - count_init;
count            1833 fs/xfs/xfs_log.c 	return count;
count            1864 fs/xfs/xfs_log.c 	unsigned int		count;		/* byte count of bwrite */
count            1872 fs/xfs/xfs_log.c 	count = xlog_calc_iclog_size(log, iclog, &roundoff);
count            1888 fs/xfs/xfs_log.c 	XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count));
count            1893 fs/xfs/xfs_log.c 	if (bno + BTOBB(count) > log->l_logBBsize) {
count            1894 fs/xfs/xfs_log.c 		xlog_split_iclog(log, &iclog->ic_header, bno, count);
count            1931 fs/xfs/xfs_log.c 	xlog_verify_iclog(log, iclog, count);
count            1932 fs/xfs/xfs_log.c 	xlog_write_iclog(log, iclog, bno, count, need_flush);
count            3805 fs/xfs/xfs_log.c 	int			count)
count            3832 fs/xfs/xfs_log.c 	for (ptr += BBSIZE; ptr < base_ptr + count; ptr += BBSIZE) {
count             128 fs/xfs/xfs_log.h 			  int		   count,
count             432 fs/xfs/xfs_log_priv.h 	int		count,
count             819 fs/xfs/xfs_log_recover.c 	int			count,
count             846 fs/xfs/xfs_log_recover.c 			if (++found == count)
count             856 fs/xfs/xfs_log_recover.c 	if (tail_blk >= head_blk && found != count) {
count             867 fs/xfs/xfs_log_recover.c 				if (++found == count)
count             893 fs/xfs/xfs_log_recover.c 	int			count,
count             920 fs/xfs/xfs_log_recover.c 			if (++found == count)
count             929 fs/xfs/xfs_log_recover.c 	if (tail_blk > head_blk && found != count) {
count             940 fs/xfs/xfs_log_recover.c 				if (++found == count)
count            3775 fs/xfs/xfs_log_recover.c 	unsigned int		count;
count            3809 fs/xfs/xfs_log_recover.c 	count = be32_to_cpu(icl->icl_count);
count            3810 fs/xfs/xfs_log_recover.c 	if (!count) {
count            3832 fs/xfs/xfs_log_recover.c 	if ((count >> mp->m_sb.sb_inopblog) != length) {
count            3876 fs/xfs/xfs_log_recover.c 	return xfs_ialloc_inode_init(mp, NULL, buffer_list, count, agno, agbno,
count              88 fs/xfs/xfs_ondisk.h 	XFS_CHECK_OFFSET(xfs_attr_shortform_t, hdr.count,	2);
count             291 fs/xfs/xfs_refcount_item.c 	unsigned int			count)
count             296 fs/xfs/xfs_refcount_item.c 	ASSERT(count > 0);
count             298 fs/xfs/xfs_refcount_item.c 	cuip = xfs_cui_init(tp->t_mountp, count);
count             362 fs/xfs/xfs_refcount_item.c 	unsigned int			count)
count             286 fs/xfs/xfs_reflink.c 	xfs_off_t		count)
count             290 fs/xfs/xfs_reflink.c 	xfs_fileoff_t		end_fsb = XFS_B_TO_FSB(mp, offset + count);
count             294 fs/xfs/xfs_reflink.c 	ASSERT(count != 0);
count             543 fs/xfs/xfs_reflink.c 	xfs_off_t		count,
count             551 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_cancel_cow_range(ip, offset, count);
count             555 fs/xfs/xfs_reflink.c 	if (count == NULLFILEOFF)
count             558 fs/xfs/xfs_reflink.c 		end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count);
count             710 fs/xfs/xfs_reflink.c 	xfs_off_t			count)
count             716 fs/xfs/xfs_reflink.c 	trace_xfs_reflink_end_cow(ip, offset, count);
count             719 fs/xfs/xfs_reflink.c 	end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count);
count              32 fs/xfs/xfs_reflink.h 		xfs_off_t count);
count              38 fs/xfs/xfs_reflink.h 		xfs_off_t count, bool cancel_real);
count              40 fs/xfs/xfs_reflink.h 		xfs_off_t count);
count             357 fs/xfs/xfs_rmap_item.c 	unsigned int			count)
count             362 fs/xfs/xfs_rmap_item.c 	ASSERT(count > 0);
count             364 fs/xfs/xfs_rmap_item.c 	ruip = xfs_rui_init(tp->t_mountp, count);
count             412 fs/xfs/xfs_rmap_item.c 	unsigned int			count)
count              20 fs/xfs/xfs_sysfs.c 			 size_t count);
count              54 fs/xfs/xfs_sysfs.c 	size_t			count)
count              58 fs/xfs/xfs_sysfs.c 	return xfs_attr->store ? xfs_attr->store(kobject, buf, count) : 0;
count              83 fs/xfs/xfs_sysfs.c 	size_t			count)
count              99 fs/xfs/xfs_sysfs.c 	return count;
count             115 fs/xfs/xfs_sysfs.c 	size_t		count)
count             129 fs/xfs/xfs_sysfs.c 	return count;
count             145 fs/xfs/xfs_sysfs.c 	size_t		count)
count             159 fs/xfs/xfs_sysfs.c 	return count;
count             175 fs/xfs/xfs_sysfs.c 	size_t		count)
count             182 fs/xfs/xfs_sysfs.c 	return count;
count             204 fs/xfs/xfs_sysfs.c 	size_t		count)
count             218 fs/xfs/xfs_sysfs.c 	return count;
count             275 fs/xfs/xfs_sysfs.c 	size_t		count)
count             289 fs/xfs/xfs_sysfs.c 	return count;
count             434 fs/xfs/xfs_sysfs.c 	size_t		count)
count             451 fs/xfs/xfs_sysfs.c 	return count;
count             475 fs/xfs/xfs_sysfs.c 	size_t		count)
count             495 fs/xfs/xfs_sysfs.c 	return count;
count             513 fs/xfs/xfs_sysfs.c 	size_t		count)
count             527 fs/xfs/xfs_sysfs.c 	return count;
count              50 fs/xfs/xfs_trace.h 		__field(int, count)
count              63 fs/xfs/xfs_trace.h 		__entry->count = ctx->count;
count              77 fs/xfs/xfs_trace.h 		   __entry->count,
count             174 fs/xfs/xfs_trace.h 		__field(int, count)
count             189 fs/xfs/xfs_trace.h 		__entry->count = ctx->count;
count             206 fs/xfs/xfs_trace.h 		   __entry->count,
count             295 fs/xfs/xfs_trace.h 		__entry->lockval = bp->b_sema.count;
count             364 fs/xfs/xfs_trace.h 		__entry->lockval = bp->b_sema.count;
count             407 fs/xfs/xfs_trace.h 		__entry->lockval = bp->b_sema.count;
count             451 fs/xfs/xfs_trace.h 		__entry->buf_lockval = bip->bli_buf->b_sema.count;
count             690 fs/xfs/xfs_trace.h 		__field(int, count)
count             697 fs/xfs/xfs_trace.h 		__entry->count = atomic_read(&VFS_I(ip)->i_count);
count             704 fs/xfs/xfs_trace.h 		  __entry->count,
count            1126 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, size_t count, loff_t offset),
count            1127 fs/xfs/xfs_trace.h 	TP_ARGS(ip, count, offset),
count            1133 fs/xfs/xfs_trace.h 		__field(size_t, count)
count            1140 fs/xfs/xfs_trace.h 		__entry->count = count;
count            1147 fs/xfs/xfs_trace.h 		  __entry->count)
count            1152 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, size_t count, loff_t offset),	\
count            1153 fs/xfs/xfs_trace.h 	TP_ARGS(ip, count, offset))
count            1227 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count,
count            1229 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec),
count            1235 fs/xfs/xfs_trace.h 		__field(size_t, count)
count            1246 fs/xfs/xfs_trace.h 		__entry->count = count;
count            1258 fs/xfs/xfs_trace.h 		  __entry->count,
count            1267 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count,	\
count            1269 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count, whichfork, irec))
count            1276 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count),
count            1277 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count),
count            1284 fs/xfs/xfs_trace.h 		__field(size_t, count)
count            1292 fs/xfs/xfs_trace.h 		__entry->count = count;
count            1301 fs/xfs/xfs_trace.h 		  __entry->count)
count            1306 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_inode *ip, xfs_off_t offset, ssize_t count),	\
count            1307 fs/xfs/xfs_trace.h 	TP_ARGS(ip, offset, count))
count            1871 fs/xfs/xfs_trace.h 	TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count),
count            1872 fs/xfs/xfs_trace.h 	TP_ARGS(args, src_idx, dst_idx, count),
count            1879 fs/xfs/xfs_trace.h 		__field(int, count)
count            1887 fs/xfs/xfs_trace.h 		__entry->count = count;
count            1896 fs/xfs/xfs_trace.h 		  __entry->count)
count            2001 fs/xfs/xfs_trace.h 		__field(int, count)
count            2011 fs/xfs/xfs_trace.h 		__entry->count = item->ri_cnt;
count            2022 fs/xfs/xfs_trace.h 		  __entry->count,
count            2135 fs/xfs/xfs_trace.h 		__field(unsigned int, count)
count            2144 fs/xfs/xfs_trace.h 		__entry->count = be32_to_cpu(in_f->icl_count);
count            2151 fs/xfs/xfs_trace.h 		  __entry->agno, __entry->agbno, __entry->count, __entry->isize,
count             374 fs/xfs/xfs_trans_ail.c 	int			count = 0;
count             465 fs/xfs/xfs_trans_ail.c 		count++;
count             494 fs/xfs/xfs_trans_ail.c 	if (!count || XFS_LSN_CMP(lsn, target) >= 0) {
count             503 fs/xfs/xfs_trans_ail.c 	} else if (((stuck + flushing) * 100) / count > 90) {
count             129 fs/xfs/xfs_xattr.c 	if (context->count < 0 || context->seen_enough)
count             135 fs/xfs/xfs_xattr.c 	arraytop = context->count + prefix_len + namelen + 1;
count             137 fs/xfs/xfs_xattr.c 		context->count = -1;	/* insufficient space */
count             141 fs/xfs/xfs_xattr.c 	offset = (char *)context->alist + context->count;
count             149 fs/xfs/xfs_xattr.c 	context->count += prefix_len + namelen + 1;
count             164 fs/xfs/xfs_xattr.c 	ASSERT(context->count >= 0);
count             235 fs/xfs/xfs_xattr.c 	if (context.count < 0)
count             238 fs/xfs/xfs_xattr.c 	return context.count;
count              18 include/acpi/acpi_bus.h 	u32 count;
count              74 include/acpi/acpi_bus.h 	  .package.count = (cnt),			\
count             919 include/acpi/actypes.h 		u32 count;	/* # of elements in package */
count             947 include/acpi/actypes.h 	u32 count;
count            1146 include/acpi/actypes.h 	u32 count;		/* Number of IDs in Ids array */
count              40 include/acpi/ghes.h 	atomic_t count;
count              88 include/acpi/processor.h 	int count;
count              16 include/acpi/video.h 	int count;
count               9 include/asm-generic/ide_iops.h static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count)
count              11 include/asm-generic/ide_iops.h 	while (count--) {
count              17 include/asm-generic/ide_iops.h static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count)
count              19 include/asm-generic/ide_iops.h 	while (count--) {
count              25 include/asm-generic/ide_iops.h static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count)
count              27 include/asm-generic/ide_iops.h 	while (count--) {
count              33 include/asm-generic/ide_iops.h static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count)
count              35 include/asm-generic/ide_iops.h 	while (count--) {
count             318 include/asm-generic/io.h 			  unsigned int count)
count             320 include/asm-generic/io.h 	if (count) {
count             326 include/asm-generic/io.h 		} while (--count);
count             334 include/asm-generic/io.h 			  unsigned int count)
count             336 include/asm-generic/io.h 	if (count) {
count             342 include/asm-generic/io.h 		} while (--count);
count             350 include/asm-generic/io.h 			  unsigned int count)
count             352 include/asm-generic/io.h 	if (count) {
count             358 include/asm-generic/io.h 		} while (--count);
count             367 include/asm-generic/io.h 			  unsigned int count)
count             369 include/asm-generic/io.h 	if (count) {
count             375 include/asm-generic/io.h 		} while (--count);
count             384 include/asm-generic/io.h 			   unsigned int count)
count             386 include/asm-generic/io.h 	if (count) {
count             391 include/asm-generic/io.h 		} while (--count);
count             399 include/asm-generic/io.h 			   unsigned int count)
count             401 include/asm-generic/io.h 	if (count) {
count             406 include/asm-generic/io.h 		} while (--count);
count             414 include/asm-generic/io.h 			   unsigned int count)
count             416 include/asm-generic/io.h 	if (count) {
count             421 include/asm-generic/io.h 		} while (--count);
count             430 include/asm-generic/io.h 			   unsigned int count)
count             432 include/asm-generic/io.h 	if (count) {
count             437 include/asm-generic/io.h 		} while (--count);
count             583 include/asm-generic/io.h static inline void insb(unsigned long addr, void *buffer, unsigned int count)
count             585 include/asm-generic/io.h 	readsb(PCI_IOBASE + addr, buffer, count);
count             591 include/asm-generic/io.h static inline void insw(unsigned long addr, void *buffer, unsigned int count)
count             593 include/asm-generic/io.h 	readsw(PCI_IOBASE + addr, buffer, count);
count             599 include/asm-generic/io.h static inline void insl(unsigned long addr, void *buffer, unsigned int count)
count             601 include/asm-generic/io.h 	readsl(PCI_IOBASE + addr, buffer, count);
count             608 include/asm-generic/io.h 			 unsigned int count)
count             610 include/asm-generic/io.h 	writesb(PCI_IOBASE + addr, buffer, count);
count             617 include/asm-generic/io.h 			 unsigned int count)
count             619 include/asm-generic/io.h 	writesw(PCI_IOBASE + addr, buffer, count);
count             626 include/asm-generic/io.h 			 unsigned int count)
count             628 include/asm-generic/io.h 	writesl(PCI_IOBASE + addr, buffer, count);
count             634 include/asm-generic/io.h static inline void insb_p(unsigned long addr, void *buffer, unsigned int count)
count             636 include/asm-generic/io.h 	insb(addr, buffer, count);
count             642 include/asm-generic/io.h static inline void insw_p(unsigned long addr, void *buffer, unsigned int count)
count             644 include/asm-generic/io.h 	insw(addr, buffer, count);
count             650 include/asm-generic/io.h static inline void insl_p(unsigned long addr, void *buffer, unsigned int count)
count             652 include/asm-generic/io.h 	insl(addr, buffer, count);
count             659 include/asm-generic/io.h 			   unsigned int count)
count             661 include/asm-generic/io.h 	outsb(addr, buffer, count);
count             668 include/asm-generic/io.h 			   unsigned int count)
count             670 include/asm-generic/io.h 	outsw(addr, buffer, count);
count             677 include/asm-generic/io.h 			   unsigned int count)
count             679 include/asm-generic/io.h 	outsl(addr, buffer, count);
count             807 include/asm-generic/io.h 			       unsigned int count)
count             809 include/asm-generic/io.h 	readsb(addr, buffer, count);
count             816 include/asm-generic/io.h 				void *buffer, unsigned int count)
count             818 include/asm-generic/io.h 	readsw(addr, buffer, count);
count             825 include/asm-generic/io.h 				void *buffer, unsigned int count)
count             827 include/asm-generic/io.h 	readsl(addr, buffer, count);
count             835 include/asm-generic/io.h 				void *buffer, unsigned int count)
count             837 include/asm-generic/io.h 	readsq(addr, buffer, count);
count             846 include/asm-generic/io.h 				unsigned int count)
count             848 include/asm-generic/io.h 	writesb(addr, buffer, count);
count             856 include/asm-generic/io.h 				 unsigned int count)
count             858 include/asm-generic/io.h 	writesw(addr, buffer, count);
count             866 include/asm-generic/io.h 				 unsigned int count)
count             868 include/asm-generic/io.h 	writesl(addr, buffer, count);
count             877 include/asm-generic/io.h 				 unsigned int count)
count             879 include/asm-generic/io.h 	writesq(addr, buffer, count);
count              82 include/asm-generic/iomap.h extern void ioread8_rep(void __iomem *port, void *buf, unsigned long count);
count              83 include/asm-generic/iomap.h extern void ioread16_rep(void __iomem *port, void *buf, unsigned long count);
count              84 include/asm-generic/iomap.h extern void ioread32_rep(void __iomem *port, void *buf, unsigned long count);
count              86 include/asm-generic/iomap.h extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
count              87 include/asm-generic/iomap.h extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
count              88 include/asm-generic/iomap.h extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
count             220 include/asm-generic/uaccess.h __strncpy_from_user(char *dst, const char __user *src, long count)
count             223 include/asm-generic/uaccess.h 	strncpy(dst, (const char __force *)src, count);
count             224 include/asm-generic/uaccess.h 	for (tmp = dst; *tmp && count > 0; tmp++, count--)
count             231 include/asm-generic/uaccess.h strncpy_from_user(char *dst, const char __user *src, long count)
count             235 include/asm-generic/uaccess.h 	return __strncpy_from_user(dst, src, count);
count             141 include/crypto/algapi.h int crypto_register_templates(struct crypto_template *tmpls, int count);
count             143 include/crypto/algapi.h void crypto_unregister_templates(struct crypto_template *tmpls, int count);
count              76 include/crypto/internal/acompress.h int crypto_register_acomps(struct acomp_alg *algs, int count);
count              77 include/crypto/internal/acompress.h void crypto_unregister_acomps(struct acomp_alg *algs, int count);
count             180 include/crypto/internal/aead.h int crypto_register_aeads(struct aead_alg *algs, int count);
count             181 include/crypto/internal/aead.h void crypto_unregister_aeads(struct aead_alg *algs, int count);
count              74 include/crypto/internal/hash.h int crypto_register_ahashes(struct ahash_alg *algs, int count);
count              75 include/crypto/internal/hash.h void crypto_unregister_ahashes(struct ahash_alg *algs, int count);
count             103 include/crypto/internal/hash.h int crypto_register_shashes(struct shash_alg *algs, int count);
count             104 include/crypto/internal/hash.h int crypto_unregister_shashes(struct shash_alg *algs, int count);
count              17 include/crypto/internal/rng.h int crypto_register_rngs(struct rng_alg *algs, int count);
count              18 include/crypto/internal/rng.h void crypto_unregister_rngs(struct rng_alg *algs, int count);
count             120 include/crypto/internal/scompress.h int crypto_register_scomps(struct scomp_alg *algs, int count);
count             121 include/crypto/internal/scompress.h void crypto_unregister_scomps(struct scomp_alg *algs, int count);
count              24 include/crypto/internal/simd.h int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
count              27 include/crypto/internal/simd.h void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
count              42 include/crypto/internal/simd.h int simd_register_aeads_compat(struct aead_alg *algs, int count,
count              45 include/crypto/internal/simd.h void simd_unregister_aeads(struct aead_alg *algs, int count,
count             131 include/crypto/internal/skcipher.h int crypto_register_skciphers(struct skcipher_alg *algs, int count);
count             132 include/crypto/internal/skcipher.h void crypto_unregister_skciphers(struct skcipher_alg *algs, int count);
count              80 include/crypto/sha.h 	u64 count;
count              86 include/crypto/sha.h 	u64 count;
count              92 include/crypto/sha.h 	u64 count[2];
count             136 include/crypto/sha.h 	sctx->count = 0;
count             154 include/crypto/sha.h 	sctx->count = 0;
count              29 include/crypto/sha1_base.h 	sctx->count = 0;
count              40 include/crypto/sha1_base.h 	unsigned int partial = sctx->count % SHA1_BLOCK_SIZE;
count              42 include/crypto/sha1_base.h 	sctx->count += len;
count              78 include/crypto/sha1_base.h 	unsigned int partial = sctx->count % SHA1_BLOCK_SIZE;
count              89 include/crypto/sha1_base.h 	*bits = cpu_to_be64(sctx->count << 3);
count              41 include/crypto/sha256_base.h 	unsigned int partial = sctx->count % SHA256_BLOCK_SIZE;
count              43 include/crypto/sha256_base.h 	sctx->count += len;
count              79 include/crypto/sha256_base.h 	unsigned int partial = sctx->count % SHA256_BLOCK_SIZE;
count              90 include/crypto/sha256_base.h 	*bits = cpu_to_be64(sctx->count << 3);
count              33 include/crypto/sha512_base.h 	sctx->count[0] = sctx->count[1] = 0;
count              50 include/crypto/sha512_base.h 	sctx->count[0] = sctx->count[1] = 0;
count              61 include/crypto/sha512_base.h 	unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE;
count              63 include/crypto/sha512_base.h 	sctx->count[0] += len;
count              64 include/crypto/sha512_base.h 	if (sctx->count[0] < len)
count              65 include/crypto/sha512_base.h 		sctx->count[1]++;
count             101 include/crypto/sha512_base.h 	unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE;
count             112 include/crypto/sha512_base.h 	bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61);
count             113 include/crypto/sha512_base.h 	bits[1] = cpu_to_be64(sctx->count[0] << 3);
count              29 include/crypto/sm3.h 	u64 count;
count              32 include/crypto/sm3_base.h 	sctx->count = 0;
count              43 include/crypto/sm3_base.h 	unsigned int partial = sctx->count % SM3_BLOCK_SIZE;
count              45 include/crypto/sm3_base.h 	sctx->count += len;
count              81 include/crypto/sm3_base.h 	unsigned int partial = sctx->count % SM3_BLOCK_SIZE;
count              92 include/crypto/sm3_base.h 	*bits = cpu_to_be64(sctx->count << 3);
count             811 include/drm/drm_crtc.h 					      size_t *count);
count              84 include/drm/drm_debugfs.h 			     int count, struct dentry *root,
count              87 include/drm/drm_debugfs.h 			     int count, struct drm_minor *minor);
count              90 include/drm/drm_debugfs.h 					   int count, struct dentry *root,
count              97 include/drm/drm_debugfs.h 					   int count, struct drm_minor *minor)
count             241 include/drm/drm_fb_helper.h 			       size_t count, loff_t *ppos);
count             243 include/drm/drm_fb_helper.h 				size_t count, loff_t *ppos);
count             382 include/drm/drm_fb_helper.h 					     char __user *buf, size_t count,
count             390 include/drm/drm_fb_helper.h 					      size_t count, loff_t *ppos)
count             374 include/drm/drm_file.h 		 size_t count, loff_t *offset);
count             192 include/drm/drm_fixed.h 	u64 count = 1;
count             201 include/drm/drm_fixed.h 		count = count + 1;
count             202 include/drm/drm_fixed.h 		term = drm_fixp_mul(term, div64_s64(y, count));
count             391 include/drm/drm_gem.h 			   int count, struct drm_gem_object ***objs_out);
count             395 include/drm/drm_gem.h int drm_gem_lock_reservations(struct drm_gem_object **objs, int count,
count             397 include/drm/drm_gem.h void drm_gem_unlock_reservations(struct drm_gem_object **objs, int count,
count              73 include/drm/drm_mode_object.h 	int count;
count             114 include/drm/drm_vblank.h 	u64 count;
count             763 include/drm/ttm/ttm_bo_api.h 		  size_t count, loff_t *f_pos, bool write);
count             197 include/kvm/arm_vgic.h 	u32 count; /* number of redistributors or 0 if single region */
count             218 include/linux/acpi.h 	int count;
count             245 include/linux/arm-smccc.h #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
count             246 include/linux/arm-smccc.h #define __declare_args(count, ...)  ___declare_args(count, __VA_ARGS__)
count             248 include/linux/arm-smccc.h #define ___constraints(count)						\
count             249 include/linux/arm-smccc.h 	: __constraint_write_ ## count					\
count             250 include/linux/arm-smccc.h 	: __constraint_read_ ## count					\
count             252 include/linux/arm-smccc.h #define __constraints(count)	___constraints(count)
count              33 include/linux/async_tx.h 	atomic_t count;
count             512 include/linux/avf/virtchnl.h 	u16 count; /* number of queues in a channel */
count              29 include/linux/badblocks.h 	int count;		/* count of bad blocks */
count              52 include/linux/bcma/bcma.h 			   size_t count, u16 offset, u8 reg_width);
count              54 include/linux/bcma/bcma.h 			    size_t count, u16 offset, u8 reg_width);
count             396 include/linux/bcma/bcma.h 				   size_t count, u16 offset, u8 reg_width)
count             398 include/linux/bcma/bcma.h 	core->bus->ops->block_read(core, buffer, count, offset, reg_width);
count             401 include/linux/bcma/bcma.h 				    const void *buffer, size_t count,
count             404 include/linux/bcma/bcma.h 	core->bus->ops->block_write(core, buffer, count, offset, reg_width);
count             223 include/linux/bio.h static inline void bio_cnt_set(struct bio *bio, unsigned int count)
count             225 include/linux/bio.h 	if (count != 1) {
count             229 include/linux/bio.h 	atomic_set(&bio->__bi_cnt, count);
count              50 include/linux/bitops.h static inline int get_bitmask_order(unsigned int count)
count              54 include/linux/bitops.h 	order = fls(count);
count             174 include/linux/bitops.h static inline int get_count_order(unsigned int count)
count             178 include/linux/bitops.h 	order = fls(count) - 1;
count             179 include/linux/bitops.h 	if (count & (count - 1))
count             287 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_SYSCTL(head, table, write, buf, count, pos, nbuf)  \
count             292 include/linux/bpf-cgroup.h 						       buf, count, pos, nbuf,  \
count             399 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_SYSCTL(head,table,write,buf,count,pos,nbuf) ({ 0; })
count             226 include/linux/buffer_head.h 				unsigned long count);
count             184 include/linux/can/dev.h #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \
count             185 include/linux/can/dev.h 	alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
count             173 include/linux/cb710.h 	void __iomem *port, size_t count)
count             175 include/linux/cb710.h 	while (count-- > 0)
count             195 include/linux/cb710.h 	void __iomem *port, size_t count)
count             197 include/linux/cb710.h 	while (count-- > 0)
count              20 include/linux/cdev.h 	unsigned int count;
count             331 include/linux/ceph/messenger.h 			  int max_count, int *count);
count             497 include/linux/ceph/rados.h 			__le64 cookie, count;
count              26 include/linux/ceph/types.h 	int count;
count             855 include/linux/cgroup.h 	refcount_t		count;
count             890 include/linux/cgroup.h 		refcount_inc(&ns->count);
count             895 include/linux/cgroup.h 	if (ns && refcount_dec_and_test(&ns->count))
count              35 include/linux/cma.h extern struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align,
count              37 include/linux/cma.h extern bool cma_release(struct cma *cma, const struct page *pages, unsigned int count);
count             578 include/linux/compat.h 				    unsigned int count);
count             607 include/linux/compat.h 				    compat_off_t __user *offset, compat_size_t count);
count             609 include/linux/compat.h 				    compat_loff_t __user *offset, compat_size_t count);
count             891 include/linux/compat.h 				       unsigned int count);
count              57 include/linux/console.h 			int count, int ypos, int xpos);
count              79 include/linux/console.h 	void	(*con_invert_region)(struct vc_data *vc, u16 *p, int count);
count             158 include/linux/counter.h 			struct counter_count *count, void *priv, char *buf);
count             160 include/linux/counter.h 			 struct counter_count *count, void *priv,
count             228 include/linux/counter.h 	int (*get)(struct counter_device *counter, struct counter_count *count,
count             230 include/linux/counter.h 	int (*set)(struct counter_device *counter, struct counter_count *count,
count             360 include/linux/counter.h 			  struct counter_count *count,
count             363 include/linux/counter.h 			   struct counter_count *count,
count             366 include/linux/counter.h 			    struct counter_count *count, size_t *function);
count             368 include/linux/counter.h 			    struct counter_count *count, size_t function);
count             370 include/linux/counter.h 			  struct counter_count *count,
count             373 include/linux/counter.h 			  struct counter_count *count,
count              27 include/linux/counter_enum.h 				struct counter_count *count, void *priv,
count              30 include/linux/counter_enum.h 				 struct counter_count *count, void *priv,
count              34 include/linux/counter_enum.h 					  struct counter_count *count,
count             264 include/linux/cpufreq.h 	ssize_t (*store)(struct cpufreq_policy *, const char *, size_t count);
count             609 include/linux/cpufreq.h 			 size_t count);
count             949 include/linux/cpufreq.h 	int count = 0;
count             955 include/linux/cpufreq.h 		count++;
count             957 include/linux/cpufreq.h 	return count;
count              21 include/linux/crash_dump.h extern ssize_t elfcorehdr_read(char *buf, size_t count, u64 *ppos);
count              22 include/linux/crash_dump.h extern ssize_t elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos);
count             120 include/linux/crash_dump.h ssize_t read_from_oldmem(char *buf, size_t count,
count             124 include/linux/crash_dump.h static inline ssize_t read_from_oldmem(char *buf, size_t count,
count             704 include/linux/crypto.h int crypto_register_algs(struct crypto_alg *algs, int count);
count             705 include/linux/crypto.h int crypto_unregister_algs(struct crypto_alg *algs, int count);
count             286 include/linux/dcache.h 	return dentry->d_lockref.count;
count             314 include/linux/dcache.h 		dentry->d_lockref.count++;
count             147 include/linux/debugfs.h 			       size_t count, loff_t *ppos);
count             150 include/linux/debugfs.h 				size_t count, loff_t *ppos);
count             372 include/linux/debugfs.h 					     size_t count, loff_t *ppos)
count             379 include/linux/debugfs.h 					      size_t count, loff_t *ppos)
count              60 include/linux/devcoredump.h 		   ssize_t (*read)(char *buffer, loff_t offset, size_t count,
count              76 include/linux/devcoredump.h 	      ssize_t (*read)(char *buffer, loff_t offset, size_t count,
count              50 include/linux/device.h 	ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
count             410 include/linux/device.h 			 size_t count);
count             715 include/linux/device.h 			const char *buf, size_t count);
count             810 include/linux/device.h 			 const char *buf, size_t count);
count             821 include/linux/device.h 			   const char *buf, size_t count);
count             825 include/linux/device.h 			 const char *buf, size_t count);
count             829 include/linux/device.h 			 const char *buf, size_t count);
count              20 include/linux/dm-io.h 	sector_t count;		/* If this is zero the region is ignored. */
count             111 include/linux/dma-contiguous.h struct page *dma_alloc_from_contiguous(struct device *dev, size_t count,
count             114 include/linux/dma-contiguous.h 				 int count);
count             146 include/linux/dma-contiguous.h struct page *dma_alloc_from_contiguous(struct device *dev, size_t count,
count             154 include/linux/dma-contiguous.h 				 int count)
count             541 include/linux/dma-fence.h 				       uint32_t count,
count             121 include/linux/dmar.h 				 int count);
count              73 include/linux/dynamic_queue_limits.h static inline void dql_queued(struct dql *dql, unsigned int count)
count              75 include/linux/dynamic_queue_limits.h 	BUG_ON(count > DQL_MAX_OBJECT);
count              77 include/linux/dynamic_queue_limits.h 	dql->last_obj_cnt = count;
count              86 include/linux/dynamic_queue_limits.h 	dql->num_queued += count;
count              96 include/linux/dynamic_queue_limits.h void dql_completed(struct dql *dql, unsigned int count);
count             159 include/linux/efi.h 	size_t			count;
count             585 include/linux/efi.h typedef efi_status_t efi_get_next_high_mono_count_t (u32 *count);
count             597 include/linux/efi.h 					  unsigned long count,
count             600 include/linux/efi.h 					      unsigned long count,
count            1075 include/linux/efi.h extern int efi_config_parse_tables(void *config_tables, int count, int sz,
count            1782 include/linux/efi.h 	atomic_t	count;			// number of entries used
count            1790 include/linux/efi.h #define EFI_MEMRESERVE_SIZE(count) (sizeof(struct linux_efi_memreserve) + \
count            1791 include/linux/efi.h 	(count) * sizeof(((struct linux_efi_memreserve *)0)->entry[0]))
count              52 include/linux/etherdevice.h #define alloc_etherdev_mq(sizeof_priv, count) alloc_etherdev_mqs(sizeof_priv, count, count)
count              29 include/linux/fault-inject.h 	unsigned long count;
count             238 include/linux/fb.h 			   size_t count, loff_t *ppos);
count             240 include/linux/fb.h 			    size_t count, loff_t *ppos);
count             440 include/linux/fb.h 	atomic_t count;
count             498 include/linux/fb.h 		unsigned int count;
count             513 include/linux/fb.h 	a->count = max_num;
count             602 include/linux/fb.h 			   size_t count, loff_t *ppos);
count             604 include/linux/fb.h 			    size_t count, loff_t *ppos);
count              52 include/linux/fdtable.h 	atomic_t count;
count             100 include/linux/fpga/fpga-mgr.h 	size_t count;
count             130 include/linux/fpga/fpga-mgr.h 			  const char *buf, size_t count);
count             131 include/linux/fpga/fpga-mgr.h 	int (*write)(struct fpga_manager *mgr, const char *buf, size_t count);
count             351 include/linux/fs.h 	size_t count;
count            1928 include/linux/fs.h 					 loff_t *count,
count            2674 include/linux/fs.h 			     unsigned int count, const char *name,
count            2677 include/linux/fs.h 				unsigned int count, const char *name);
count            2858 include/linux/fs.h static inline ssize_t generic_write_sync(struct kiocb *iocb, ssize_t count)
count            2862 include/linux/fs.h 				iocb->ki_pos - count, iocb->ki_pos - 1,
count            2868 include/linux/fs.h 	return count;
count            3101 include/linux/fs.h 				loff_t *count, unsigned int remap_flags);
count            3105 include/linux/fs.h 				    size_t *count, unsigned int flags);
count            3335 include/linux/fs.h extern int simple_pin_fs(struct file_system_type *, struct vfsmount **mount, int *count);
count            3336 include/linux/fs.h extern void simple_release_fs(struct vfsmount **mount, int *count);
count            3338 include/linux/fs.h extern ssize_t simple_read_from_buffer(void __user *to, size_t count,
count            3341 include/linux/fs.h 		const void __user *from, size_t count);
count             658 include/linux/genhd.h 			       const char *buf, size_t count);
count             572 include/linux/gfp.h extern void __page_frag_cache_drain(struct page *page, unsigned int count);
count              34 include/linux/gnss.h 				size_t count);
count              47 include/linux/gnss.h 	unsigned int count;
count              64 include/linux/gnss.h 			size_t count);
count             716 include/linux/greybus/greybus_protocols.h 	__u8	count;
count             802 include/linux/greybus/greybus_protocols.h 	__u8	count;
count             910 include/linux/greybus/greybus_protocols.h 	__le16			count;
count            1320 include/linux/greybus/greybus_protocols.h 	__le16  count;
count            2024 include/linux/greybus/greybus_protocols.h 	__u8    count;		/* count of same elements */
count            1148 include/linux/hid.h int hid_quirks_init(char **quirks_param, __u16 bus, int count);
count              55 include/linux/highmem.h static inline void totalhigh_pages_add(long count)
count              57 include/linux/highmem.h 	atomic_long_add(count, &_totalhigh_pages);
count              71 include/linux/huge_mm.h 				 const char *buf, size_t count,
count              32 include/linux/hugetlb.h 	long count;
count              64 include/linux/hw_random.h extern void add_hwgenerator_randomness(const char *buffer, size_t count, size_t entropy);
count              54 include/linux/i2c.h 				     char *buf, int count, u16 flags);
count              65 include/linux/i2c.h 				  char *buf, int count)
count              67 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, buf, count, I2C_M_RD);
count              80 include/linux/i2c.h 					  char *buf, int count)
count              82 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, buf, count,
count              95 include/linux/i2c.h 				  const char *buf, int count)
count              97 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, (char *)buf, count, 0);
count             110 include/linux/i2c.h 					  const char *buf, int count)
count             112 include/linux/i2c.h 	return i2c_transfer_buffer_flags(client, (char *)buf, count,
count             133 include/linux/i3c/ccc.h 	u8 count;
count             242 include/linux/i3c/ccc.h 	u8 count;
count             704 include/linux/ieee80211.h 	u8 count;
count             730 include/linux/ieee80211.h 	u8 count;
count             742 include/linux/ieee80211.h 	u8 count;
count            1237 include/linux/ieee80211.h 	u8 count;
count            1998 include/linux/ieee80211.h 	u8 count = 4;
count            2002 include/linux/ieee80211.h 		count += 4;
count            2006 include/linux/ieee80211.h 		count += 4;
count            2008 include/linux/ieee80211.h 	return count;
count             215 include/linux/if_team.h 		unsigned int count;
count             221 include/linux/if_team.h 		unsigned int count;
count              44 include/linux/igmp.h #define IP_SFLSIZE(count)	(sizeof(struct ip_sf_socklist) + \
count              45 include/linux/igmp.h 	(count) * sizeof(__be32))
count             461 include/linux/iio/iio.h 				      unsigned count);
count             308 include/linux/input.h 		       const struct input_value *vals, unsigned int count);
count             103 include/linux/input/mt.h void input_mt_report_finger_count(struct input_dev *dev, int count);
count              30 include/linux/intel-pti.h void pti_writedata(struct pti_masterchannel *mc, u8 *buf, int count);
count             596 include/linux/interrupt.h 	atomic_t count;
count             654 include/linux/interrupt.h 	atomic_inc(&t->count);
count             668 include/linux/interrupt.h 	atomic_dec(&t->count);
count              19 include/linux/io.h __visible void __iowrite32_copy(void __iomem *to, const void *from, size_t count);
count              20 include/linux/io.h void __ioread32_copy(void *to, const void __iomem *from, size_t count);
count              21 include/linux/io.h void __iowrite64_copy(void __iomem *to, const void *from, size_t count);
count             159 include/linux/iomap.h 		unsigned long count);
count              30 include/linux/ipc_namespace.h 	refcount_t	count;
count             129 include/linux/ipc_namespace.h 		refcount_inc(&ns->count);
count             381 include/linux/irqdomain.h 				      irq_hw_number_t hwirq_base, int count);
count             410 include/linux/irqdomain.h 				      irq_hw_number_t hwirq_base, int count);
count             375 include/linux/jump_label.h #define DEFINE_STATIC_KEY_ARRAY_TRUE(name, count)		\
count             376 include/linux/jump_label.h 	struct static_key_true name[count] = {			\
count             377 include/linux/jump_label.h 		[0 ... (count) - 1] = STATIC_KEY_TRUE_INIT,	\
count             380 include/linux/jump_label.h #define DEFINE_STATIC_KEY_ARRAY_FALSE(name, count)		\
count             381 include/linux/jump_label.h 	struct static_key_false name[count] = {			\
count             382 include/linux/jump_label.h 		[0 ... (count) - 1] = STATIC_KEY_FALSE_INIT,	\
count             432 include/linux/kernel.h int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res);
count             433 include/linux/kernel.h int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res);
count             434 include/linux/kernel.h int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned long *res);
count             435 include/linux/kernel.h int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res);
count             436 include/linux/kernel.h int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsigned int *res);
count             437 include/linux/kernel.h int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *res);
count             438 include/linux/kernel.h int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
count             439 include/linux/kernel.h int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
count             440 include/linux/kernel.h int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
count             441 include/linux/kernel.h int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
count             442 include/linux/kernel.h int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res);
count             444 include/linux/kernel.h static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
count             446 include/linux/kernel.h 	return kstrtoull_from_user(s, count, base, res);
count             449 include/linux/kernel.h static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res)
count             451 include/linux/kernel.h 	return kstrtoll_from_user(s, count, base, res);
count             454 include/linux/kernel.h static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res)
count             456 include/linux/kernel.h 	return kstrtouint_from_user(s, count, base, res);
count             459 include/linux/kernel.h static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res)
count             461 include/linux/kernel.h 	return kstrtoint_from_user(s, count, base, res);
count             631 include/linux/kernel.h extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
count             632 include/linux/kernel.h extern char *bin2hex(char *dst, const void *src, size_t count);
count             132 include/linux/kernfs.h 	atomic_t		count;
count             309 include/linux/kgdb.h extern char *kgdb_mem2hex(char *mem, char *buf, int count);
count             310 include/linux/kgdb.h extern int kgdb_hex2mem(char *buf, char *mem, int count);
count             169 include/linux/kobject.h 			 const char *buf, size_t count);
count             243 include/linux/kobject.h int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count);
count              23 include/linux/latencytop.h 	unsigned int	count;
count             364 include/linux/leds.h 			const char *buf, size_t count);
count             128 include/linux/list_lru.h 	long count = 0;
count             132 include/linux/list_lru.h 		count += list_lru_count_node(lru, nid);
count             134 include/linux/list_lru.h 	return count;
count             127 include/linux/lockd/lockd.h 	refcount_t count;
count              32 include/linux/lockref.h 			int count;
count              50 include/linux/lockref.h 	return ((int)l->count < 0);
count              35 include/linux/logic_pio.h 		   size_t dwidth, unsigned int count);
count              37 include/linux/logic_pio.h 		     size_t dwidth, unsigned int count);
count              50 include/linux/logic_pio.h void logic_insb(unsigned long addr, void *buffer, unsigned int count);
count              51 include/linux/logic_pio.h void logic_insl(unsigned long addr, void *buffer, unsigned int count);
count              52 include/linux/logic_pio.h void logic_insw(unsigned long addr, void *buffer, unsigned int count);
count              53 include/linux/logic_pio.h void logic_outsb(unsigned long addr, const void *buffer, unsigned int count);
count              54 include/linux/logic_pio.h void logic_outsw(unsigned long addr, const void *buffer, unsigned int count);
count              55 include/linux/logic_pio.h void logic_outsl(unsigned long addr, const void *buffer, unsigned int count);
count            2100 include/linux/lsm_hooks.h extern void security_add_hooks(struct security_hook_list *hooks, int count,
count            2147 include/linux/lsm_hooks.h 						int count)
count            2151 include/linux/lsm_hooks.h 	for (i = 0; i < count; i++)
count              89 include/linux/mdev.h 			size_t count, loff_t *ppos);
count              91 include/linux/mdev.h 			 size_t count, loff_t *ppos);
count             102 include/linux/mdev.h 			 const char *buf, size_t count);
count             102 include/linux/memcontrol.h 	long count[NR_VM_NODE_STAT_ITEMS];
count             697 include/linux/memcontrol.h 		x += per_cpu(pn->lruvec_stat_local->count[idx], cpu);
count             751 include/linux/memcontrol.h 			  unsigned long count);
count             755 include/linux/memcontrol.h 				      unsigned long count)
count             760 include/linux/memcontrol.h 	__count_memcg_events(memcg, idx, count);
count            1152 include/linux/memcontrol.h 				      unsigned long count)
count            1158 include/linux/memcontrol.h 					unsigned long count)
count             397 include/linux/mfd/as3722.h 		int count, u8 *buf)
count             399 include/linux/mfd/as3722.h 	return regmap_bulk_read(as3722->regmap, reg, buf, count);
count             403 include/linux/mfd/as3722.h 		int count, u8 *data)
count             405 include/linux/mfd/as3722.h 	return regmap_bulk_write(as3722->regmap, reg, data, count);
count              71 include/linux/mfd/da9150/core.h void da9150_read_qif(struct da9150 *da9150, u8 addr, int count, u8 *buf);
count              72 include/linux/mfd/da9150/core.h void da9150_write_qif(struct da9150 *da9150, u8 addr, int count, const u8 *buf);
count              78 include/linux/mfd/da9150/core.h void da9150_bulk_read(struct da9150 *da9150, u16 reg, int count, u8 *buf);
count              79 include/linux/mfd/da9150/core.h void da9150_bulk_write(struct da9150 *da9150, u16 reg, int count, const u8 *buf);
count             436 include/linux/mfd/intel_msic.h extern int intel_msic_bulk_read(unsigned short *reg, u8 *buf, size_t count);
count             437 include/linux/mfd/intel_msic.h extern int intel_msic_bulk_write(unsigned short *reg, u8 *buf, size_t count);
count             327 include/linux/mfd/lp8788.h int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count);
count             454 include/linux/mfd/max14577-private.h 		int count)
count             456 include/linux/mfd/max14577-private.h 	return regmap_bulk_read(map, reg, buf, count);
count             465 include/linux/mfd/max14577-private.h 		int count)
count             467 include/linux/mfd/max14577-private.h 	return regmap_bulk_write(map, reg, buf, count);
count             404 include/linux/mfd/max8997-private.h extern int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count,
count             407 include/linux/mfd/max8997-private.h extern int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count,
count             162 include/linux/mfd/max8998-private.h extern int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count,
count             165 include/linux/mfd/max8998-private.h extern int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count,
count              12 include/linux/mfd/qcom_rpm.h int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
count             413 include/linux/mfd/wm831x/core.h 		     int count, u16 *buf);
count             102 include/linux/mfd/wm8994/core.h 				   int count, u16 *buf)
count             104 include/linux/mfd/wm8994/core.h 	return regmap_bulk_read(wm8994->regmap, reg, buf, count);
count             108 include/linux/mfd/wm8994/core.h 				    int count, const u16 *buf)
count             110 include/linux/mfd/wm8994/core.h 	return regmap_raw_write(wm8994->regmap, reg, buf, count * sizeof(u16));
count             178 include/linux/mlx4/cq.h 		   u16 count, u16 period);
count             217 include/linux/mlx5/driver.h 	unsigned int	       *count;
count             638 include/linux/mlx5/driver.h 	unsigned int count;
count              68 include/linux/mm.h static inline void totalram_pages_add(long count)
count              70 include/linux/mm.h 	atomic_long_add(count, &_totalram_pages);
count            1645 include/linux/mm.h 	long val = atomic_long_read(&mm->rss_stat.count[member]);
count            1660 include/linux/mm.h 	atomic_long_add(value, &mm->rss_stat.count[member]);
count            1665 include/linux/mm.h 	atomic_long_inc(&mm->rss_stat.count[member]);
count            1670 include/linux/mm.h 	atomic_long_dec(&mm->rss_stat.count[member]);
count            2096 include/linux/mm.h extern void adjust_managed_page_count(struct page *page, long count);
count              56 include/linux/mm_types_task.h 	int count[NR_MM_COUNTERS];
count              61 include/linux/mm_types_task.h 	atomic_long_t count[NR_MM_COUNTERS];
count             143 include/linux/mmc/sdio_func.h 	unsigned int addr, int count);
count             145 include/linux/mmc/sdio_func.h 	unsigned int addr, int count);
count             158 include/linux/mmc/sdio_func.h 	void *src, int count);
count             160 include/linux/mmc/sdio_func.h 	void *src, int count);
count             333 include/linux/mmzone.h 	int count;		/* number of pages in the list */
count              55 include/linux/module.h 			 const char *, size_t count);
count              44 include/linux/moxtet.h 	int				count;
count             303 include/linux/mtd/mtd.h 			unsigned long count, loff_t to, size_t *retlen);
count             438 include/linux/mtd/mtd.h 	       unsigned long count, loff_t to, size_t *retlen);
count             109 include/linux/mtd/onenand.h 			unsigned char *buffer, int offset, size_t count);
count             111 include/linux/mtd/onenand.h 			const unsigned char *buffer, int offset, size_t count);
count             235 include/linux/mtd/onenand.h 			unsigned char *buffer, int offset, size_t count);
count             282 include/linux/mtd/spi-nor.h 	u32			count;
count             221 include/linux/netdevice.h 	int			count;
count             224 include/linux/netdevice.h #define netdev_hw_addr_list_count(l) ((l)->count)
count             306 include/linux/netdevice.h 	int			count;
count             796 include/linux/netdevice.h 	u16 count;
count            2099 include/linux/netdevice.h int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset);
count            2112 include/linux/netdevice.h 				 u8 tc, u16 count, u16 offset);
count            2270 include/linux/netdevice.h 	u16	count;
count            2968 include/linux/netdevice.h 	u64			count;
count            4099 include/linux/netdevice.h #define alloc_netdev_mq(sizeof_priv, name, name_assign_type, setup, count) \
count            4100 include/linux/netdevice.h 	alloc_netdev_mqs(sizeof_priv, name, name_assign_type, setup, count, \
count            4101 include/linux/netdevice.h 			 count)
count              55 include/linux/netfilter/nf_conntrack_h323.h 				 TransportAddress *taddr, int count);
count              60 include/linux/netfilter/nf_conntrack_h323.h 				 TransportAddress *taddr, int count);
count             247 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             293 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             315 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             343 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             386 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             419 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             599 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             665 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             670 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             707 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             739 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count             867 include/linux/netfilter/nf_conntrack_h323_types.h 	int count;
count              60 include/linux/nfs_fs.h 	refcount_t count;
count             194 include/linux/nfs_fs.h 	uint64_t		count;
count             119 include/linux/nfs_page.h 					    unsigned int count);
count             429 include/linux/nfs_xdr.h 	__u64				count;
count             643 include/linux/nfs_xdr.h 	__u32			count;
count             658 include/linux/nfs_xdr.h 	__u32			count;
count             679 include/linux/nfs_xdr.h 	__u32			count;
count             836 include/linux/nfs_xdr.h 	unsigned int		count;
count             932 include/linux/nfs_xdr.h 	unsigned int            count;
count            1115 include/linux/nfs_xdr.h 	u32				count;
count            1438 include/linux/nfs_xdr.h 	u64				count;
count            1444 include/linux/nfs_xdr.h 	u64			count;
count              32 include/linux/nsproxy.h 	atomic_t count;
count              78 include/linux/nsproxy.h 	if (atomic_dec_and_test(&ns->count)) {
count              85 include/linux/nsproxy.h 	atomic_inc(&ns->count);
count              81 include/linux/nvram.h static inline ssize_t nvram_read_bytes(char *buf, size_t count, loff_t *ppos)
count              89 include/linux/nvram.h 	for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count)
count              95 include/linux/nvram.h static inline ssize_t nvram_write_bytes(char *buf, size_t count, loff_t *ppos)
count             103 include/linux/nvram.h 	for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count)
count             109 include/linux/nvram.h static inline ssize_t nvram_read(char *buf, size_t count, loff_t *ppos)
count             113 include/linux/nvram.h 		return ppc_md.nvram_read(buf, count, ppos);
count             116 include/linux/nvram.h 		return arch_nvram_ops.read(buf, count, ppos);
count             118 include/linux/nvram.h 	return nvram_read_bytes(buf, count, ppos);
count             121 include/linux/nvram.h static inline ssize_t nvram_write(char *buf, size_t count, loff_t *ppos)
count             125 include/linux/nvram.h 		return ppc_md.nvram_write(buf, count, ppos);
count             128 include/linux/nvram.h 		return arch_nvram_ops.write(buf, count, ppos);
count             130 include/linux/nvram.h 	return nvram_write_bytes(buf, count, ppos);
count             152 include/linux/oprofile.h ssize_t oprofilefs_str_to_user(char const * str, char __user * buf, size_t count, loff_t * offset);
count             158 include/linux/oprofile.h ssize_t oprofilefs_ulong_to_user(unsigned long val, char __user * buf, size_t count, loff_t * offset);
count             164 include/linux/oprofile.h int oprofilefs_ulong_from_user(unsigned long * val, char const __user * buf, size_t count);
count              36 include/linux/page-isolation.h bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
count             164 include/linux/page_ref.h static inline int page_ref_freeze(struct page *page, int count)
count             166 include/linux/page_ref.h 	int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count);
count             169 include/linux/page_ref.h 		__page_ref_freeze(page, count, ret);
count             173 include/linux/page_ref.h static inline void page_ref_unfreeze(struct page *page, int count)
count             176 include/linux/page_ref.h 	VM_BUG_ON(count == 0);
count             178 include/linux/page_ref.h 	atomic_set_release(&page->_refcount, count);
count             180 include/linux/page_ref.h 		__page_ref_unfreeze(page, count);
count             167 include/linux/pagemap.h static inline int __page_cache_add_speculative(struct page *page, int count)
count             183 include/linux/pagemap.h 	page_ref_add(page, count);
count             186 include/linux/pagemap.h 	if (unlikely(!page_ref_add_unless(page, count, 0))) {
count             205 include/linux/pagemap.h static inline int page_cache_add_speculative(struct page *page, int count)
count             207 include/linux/pagemap.h 	return __page_cache_add_speculative(page, count);
count              60 include/linux/parman.h 		     unsigned long to_index, unsigned long count);
count            1263 include/linux/pci.h ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf);
count            1264 include/linux/pci.h ssize_t pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void *buf);
count              96 include/linux/percpu-refcount.h 	atomic_long_t		count;
count             194 include/linux/percpu-refcount.h 		atomic_long_add(nr, &ref->count);
count             232 include/linux/percpu-refcount.h 		ret = atomic_long_inc_not_zero(&ref->count);
count             266 include/linux/percpu-refcount.h 		ret = atomic_long_inc_not_zero(&ref->count);
count             292 include/linux/percpu-refcount.h 	else if (unlikely(atomic_long_sub_and_test(nr, &ref->count)))
count             340 include/linux/percpu-refcount.h 	return !atomic_long_read(&ref->count);
count              22 include/linux/percpu_counter.h 	s64 count;
count              71 include/linux/percpu_counter.h 	return fbc->count;
count              82 include/linux/percpu_counter.h 	s64 ret = READ_ONCE(fbc->count);
count              97 include/linux/percpu_counter.h 	s64 count;
count             103 include/linux/percpu_counter.h 	fbc->count = amount;
count             113 include/linux/percpu_counter.h 	fbc->count = amount;
count             118 include/linux/percpu_counter.h 	if (fbc->count > rhs)
count             120 include/linux/percpu_counter.h 	else if (fbc->count < rhs)
count             136 include/linux/percpu_counter.h 	fbc->count += amount;
count             148 include/linux/percpu_counter.h 	return fbc->count;
count             157 include/linux/percpu_counter.h 	return fbc->count;
count             616 include/linux/perf_event.h 	local64_t			count;
count            1260 include/linux/perf_event.h extern void perf_tp_event(u16 event_type, u64 count, void *record,
count              61 include/linux/pid.h 	refcount_t count;
count              82 include/linux/pid.h 		refcount_inc(&pid->count);
count            1397 include/linux/platform_data/cros_ec_commands.h 	uint16_t count;
count            2414 include/linux/platform_data/cros_ec_commands.h 	uint16_t count;
count             116 include/linux/platform_data/mlxreg.h 	u8 count;
count             290 include/linux/platform_device.h 				unsigned int count, struct module *owner);
count             292 include/linux/platform_device.h 				 unsigned int count);
count             294 include/linux/platform_device.h #define platform_register_drivers(drivers, count) \
count             295 include/linux/platform_device.h 	__platform_register_drivers(drivers, count, THIS_MODULE)
count             123 include/linux/pm_opp.h struct opp_table *dev_pm_opp_set_supported_hw(struct device *dev, const u32 *versions, unsigned int count);
count             127 include/linux/pm_opp.h struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigned int count);
count             267 include/linux/pm_opp.h 							    unsigned int count)
count             289 include/linux/pm_opp.h static inline struct opp_table *dev_pm_opp_set_regulators(struct device *dev, const char * const names[], unsigned int count)
count              18 include/linux/posix_acl_xattr.h posix_acl_xattr_size(int count)
count              21 include/linux/posix_acl_xattr.h 		(count * sizeof(struct posix_acl_xattr_entry)));
count              78 include/linux/pstore.h 	int			count;
count             109 include/linux/pstore_ram.h 			 unsigned int count);
count             111 include/linux/pstore_ram.h 			      const void __user *s, unsigned int count);
count             406 include/linux/radix-tree.h 		long count = radix_tree_chunk_size(iter);
count             408 include/linux/radix-tree.h 		while (--count > 0) {
count               7 include/linux/raid/xor.h extern void xor_blocks(unsigned int count, unsigned int bytes,
count             449 include/linux/regmap.h 			       size_t count);
count              57 include/linux/regset.h 			       unsigned int pos, unsigned int count,
count              78 include/linux/regset.h 			       unsigned int pos, unsigned int count,
count             254 include/linux/regset.h static inline int user_regset_copyout(unsigned int *pos, unsigned int *count,
count             259 include/linux/regset.h 	if (*count == 0)
count             263 include/linux/regset.h 		unsigned int copy = (end_pos < 0 ? *count
count             264 include/linux/regset.h 				     : min(*count, end_pos - *pos));
count             274 include/linux/regset.h 		*count -= copy;
count             279 include/linux/regset.h static inline int user_regset_copyin(unsigned int *pos, unsigned int *count,
count             284 include/linux/regset.h 	if (*count == 0)
count             288 include/linux/regset.h 		unsigned int copy = (end_pos < 0 ? *count
count             289 include/linux/regset.h 				     : min(*count, end_pos - *pos));
count             299 include/linux/regset.h 		*count -= copy;
count             309 include/linux/regset.h 					   unsigned int *count,
count             314 include/linux/regset.h 	if (*count == 0)
count             318 include/linux/regset.h 		unsigned int copy = (end_pos < 0 ? *count
count             319 include/linux/regset.h 				     : min(*count, end_pos - *pos));
count             328 include/linux/regset.h 		*count -= copy;
count             334 include/linux/regset.h 					    unsigned int *count,
count             340 include/linux/regset.h 	if (*count == 0)
count             344 include/linux/regset.h 		unsigned int copy = (end_pos < 0 ? *count
count             345 include/linux/regset.h 				     : min(*count, end_pos - *pos));
count             351 include/linux/regset.h 		*count -= copy;
count            1303 include/linux/rtsx_pci.h 		int count, bool read, int timeout);
count              36 include/linux/rwsem.h 	atomic_long_t count;
count              65 include/linux/rwsem.h 	return atomic_long_read(&sem->count) != 0;
count              69 include/linux/rwsem.h #define __RWSEM_INIT_COUNT(name)	.count = ATOMIC_LONG_INIT(RWSEM_UNLOCKED_VALUE)
count              20 include/linux/sched/signal.h 	refcount_t		count;
count              15 include/linux/scpi_protocol.h 	unsigned int count;
count              40 include/linux/selection.h extern void invert_screen(struct vc_data *vc, int offset, int count, int shift);
count              17 include/linux/semaphore.h 	unsigned int		count;
count              24 include/linux/semaphore.h 	.count		= n,						\
count              20 include/linux/seq_file.h 	size_t count;
count              53 include/linux/seq_file.h 	return m->count == m->size;
count              66 include/linux/seq_file.h 	BUG_ON(m->count > m->size);
count              67 include/linux/seq_file.h 	if (m->count < m->size)
count              68 include/linux/seq_file.h 		*bufp = m->buf + m->count;
count              72 include/linux/seq_file.h 	return m->size - m->count;
count              87 include/linux/seq_file.h 		m->count = m->size;
count              89 include/linux/seq_file.h 		BUG_ON(m->count + num > m->size);
count              90 include/linux/seq_file.h 		m->count += num;
count             104 include/linux/seq_file.h 	m->pad_until = m->count + size;
count             183 include/linux/serdev.h 					      size_t count)
count             190 include/linux/serdev.h 	return serdev->ops->receive_buf(serdev, data, count);
count             244 include/linux/serdev.h 					  size_t count)
count             258 include/linux/serdev.h 				      size_t count, unsigned long timeout)
count             176 include/linux/serial_8250.h 			      unsigned int count);
count             404 include/linux/serial_core.h 			unsigned int count,
count             198 include/linux/slimbus.h int slim_read(struct slim_device *sdev, u32 addr, size_t count, u8 *val);
count             199 include/linux/slimbus.h int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val);
count             150 include/linux/soc/qcom/qmi.h 			    const void *data, size_t count);
count              39 include/linux/soc/qcom/smd-rpm.h 		       void *buf, size_t count);
count             107 include/linux/soc/ti/ti_sci_protocol.h 				      u32 id, u32 *count);
count             276 include/linux/soc/ti/ti_sci_protocol.h 		      u32 addr_lo, u32 addr_hi, u32 count, u8 mode,
count             281 include/linux/soc/ti/ti_sci_protocol.h 			  u32 *addr_lo, u32 *addr_hi, u32 *count,
count             880 include/linux/soundwire/sdw.h int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
count             881 include/linux/soundwire/sdw.h int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val);
count              81 include/linux/spi/spi.h #define SPI_STATISTICS_ADD_TO_FIELD(stats, field, count)	\
count              85 include/linux/spi/spi.h 		(stats)->field += count;			\
count             216 include/linux/ssb/ssb.h 			   size_t count, u16 offset, u8 reg_width);
count             218 include/linux/ssb/ssb.h 			    size_t count, u16 offset, u8 reg_width);
count             601 include/linux/ssb/ssb.h 				  size_t count, u16 offset, u8 reg_width)
count             603 include/linux/ssb/ssb.h 	dev->ops->block_read(dev, buffer, count, offset, reg_width);
count             607 include/linux/ssb/ssb.h 				   size_t count, u16 offset, u8 reg_width)
count             609 include/linux/ssb/ssb.h 	dev->ops->block_write(dev, buffer, count, offset, reg_width);
count             129 include/linux/stm.h 			     const char *buf, size_t count);
count              36 include/linux/string.h ssize_t strscpy_pad(char *dest, const char *src, size_t count);
count             216 include/linux/string.h extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
count             245 include/linux/string.h static inline void memzero_explicit(void *s, size_t count)
count             247 include/linux/string.h 	memset(s, 0, count);
count             340 include/linux/string.h __FORTIFY_INLINE char *strncat(char *p, const char *q, __kernel_size_t count)
count             346 include/linux/string.h 		return __builtin_strncat(p, q, count);
count             348 include/linux/string.h 	copy_len = strnlen(q, count);
count             476 include/linux/string.h 				  const void *src, size_t count, int pad)
count             478 include/linux/string.h 	if (dest_len > count) {
count             479 include/linux/string.h 		memcpy(dest, src, count);
count             480 include/linux/string.h 		memset(dest + count, pad,  dest_len - count);
count              70 include/linux/sunrpc/auth_gss.h 	refcount_t		count;
count             476 include/linux/sunrpc/svc.h 	int count;			/* How many svc_servs use us */
count             200 include/linux/sunrpc/xdr.h 	size_t		count;
count             361 include/linux/sunrpc/xdr.h 	size_t count = sizeof(__u32) + xdr_align_size(len);
count             362 include/linux/sunrpc/xdr.h 	__be32 *p = xdr_reserve_space(xdr, count);
count             370 include/linux/sunrpc/xdr.h 	return count;
count             407 include/linux/sunrpc/xdr.h 	size_t count = sizeof(__u32) + xdr_align_size(len);
count             408 include/linux/sunrpc/xdr.h 	__be32 *p = xdr_reserve_space(xdr, count);
count             413 include/linux/sunrpc/xdr.h 	return count;
count             453 include/linux/sunrpc/xdr.h 	const size_t count = sizeof(*ptr);
count             454 include/linux/sunrpc/xdr.h 	__be32 *p = xdr_inline_decode(xdr, count);
count             502 include/linux/suspend.h extern bool pm_get_wakeup_count(unsigned int *count, bool block);
count             503 include/linux/suspend.h extern bool pm_save_wakeup_count(unsigned int count);
count             356 include/linux/syscalls.h asmlinkage long sys_eventfd2(unsigned int count, int flags);
count             455 include/linux/syscalls.h 				unsigned int count);
count             463 include/linux/syscalls.h asmlinkage long sys_read(unsigned int fd, char __user *buf, size_t count);
count             465 include/linux/syscalls.h 			  size_t count);
count             473 include/linux/syscalls.h 			    size_t count, loff_t pos);
count             475 include/linux/syscalls.h 			     size_t count, loff_t pos);
count             483 include/linux/syscalls.h 			       loff_t __user *offset, size_t count);
count             819 include/linux/syscalls.h asmlinkage long sys_readahead(int fd, loff_t offset, size_t count);
count             964 include/linux/syscalls.h asmlinkage long sys_getrandom(char __user *buf, size_t count,
count            1063 include/linux/syscalls.h asmlinkage long sys_eventfd(unsigned int count);
count            1068 include/linux/syscalls.h 			     off_t __user *offset, size_t count);
count            1099 include/linux/syscalls.h 				unsigned int count);
count            1239 include/linux/syscalls.h ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count);
count            1244 include/linux/syscalls.h 		    unsigned int count);
count            1247 include/linux/syscalls.h ssize_t ksys_read(unsigned int fd, char __user *buf, size_t count);
count            1253 include/linux/syscalls.h ssize_t ksys_pread64(unsigned int fd, char __user *buf, size_t count,
count            1256 include/linux/syscalls.h 		      size_t count, loff_t pos);
count            1270 include/linux/syscalls.h ssize_t ksys_readahead(int fd, loff_t offset, size_t count);
count             149 include/linux/sysctl.h 			int count;
count              37 include/linux/syslog.h int do_syslog(int type, char __user *buf, int count, int source);
count             132 include/linux/thread_info.h static inline void copy_overflow(int size, unsigned long count)
count             134 include/linux/thread_info.h 	WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count);
count             111 include/linux/tpm_eventlog.h 	u32 count;
count             173 include/linux/tpm_eventlog.h 	u32 count, event_type;
count             178 include/linux/tpm_eventlog.h 		+ sizeof(event->count);
count             198 include/linux/tpm_eventlog.h 	count = READ_ONCE(event->count);
count             204 include/linux/tpm_eventlog.h 	if (count > efispecid->num_algs) {
count             209 include/linux/tpm_eventlog.h 	for (i = 0; i < count; i++) {
count              45 include/linux/trace_events.h 				   const void *buf, int count,
count             633 include/linux/trace_events.h 			       struct trace_event_call *call, u64 count,
count             639 include/linux/trace_events.h 		       u64 count, struct pt_regs *regs, void *head,
count             642 include/linux/trace_events.h 	perf_tp_event(type, count, raw_data, size, regs, head, rctx, task);
count             238 include/linux/tty.h 	int			count;		/* Usage count */
count             311 include/linux/tty.h 	int count;
count             707 include/linux/tty.h 	return port->count + port->blocked_open;
count             718 include/linux/tty.h 				 char *f, int count);
count             264 include/linux/tty_driver.h 		      const unsigned char *buf, int count);
count             134 include/linux/tty_ldisc.h 	atomic_long_t		count;
count             204 include/linux/tty_ldisc.h 			       char *fp, int count);
count             208 include/linux/tty_ldisc.h 				char *fp, int count);
count             352 include/linux/uaccess.h extern long strncpy_from_unsafe(char *dst, const void *unsafe_addr, long count);
count             354 include/linux/uaccess.h 				     long count);
count             355 include/linux/uaccess.h extern long strnlen_unsafe_user(const void __user *unsafe_addr, long count);
count              38 include/linux/uio.h 	size_t count;
count             110 include/linux/uio.h 		.iov_len = min(iter->count,
count             217 include/linux/uio.h 			unsigned long nr_segs, size_t count);
count             219 include/linux/uio.h 			unsigned long nr_segs, size_t count);
count             221 include/linux/uio.h 			unsigned long nr_segs, size_t count);
count             223 include/linux/uio.h 			size_t count);
count             224 include/linux/uio.h void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count);
count             235 include/linux/uio.h 	return i->count;
count             244 include/linux/uio.h static inline void iov_iter_truncate(struct iov_iter *i, u64 count)
count             252 include/linux/uio.h 	if (i->count > count)
count             253 include/linux/uio.h 		i->count = count;
count             260 include/linux/uio.h static inline void iov_iter_reexpand(struct iov_iter *i, size_t count)
count             262 include/linux/uio.h 	i->count = count;
count            1103 include/linux/usb.h 				const char *buf, size_t count);
count            1869 include/linux/usb.h 	int			count;
count             277 include/linux/usb/serial.h 			const unsigned char *buf, int count);
count             346 include/linux/usb/serial.h 	struct usb_serial_port *port, const unsigned char *buf, int count);
count              72 include/linux/usb/typec_altmode.h 		      const u32 header, const u32 *vdo, int count);
count              20 include/linux/user_namespace.h 	u32 count;
count              59 include/linux/user_namespace.h 	atomic_t		count;
count              95 include/linux/user_namespace.h 	int count;
count             111 include/linux/user_namespace.h 		atomic_inc(&ns->count);
count             121 include/linux/user_namespace.h 	if (ns && atomic_dec_and_test(&ns->count))
count              35 include/linux/vfio.h 			size_t count, loff_t *ppos);
count              37 include/linux/vfio.h 			 size_t count, loff_t *size);
count              41 include/linux/vfio.h 	void	(*request)(void *device_data, unsigned int count);
count              65 include/linux/vfio.h 				size_t count, loff_t *ppos);
count              67 include/linux/vfio.h 				 size_t count, loff_t *size);
count             357 include/linux/virtio_config.h 				       void *buf, size_t count, size_t bytes)
count             367 include/linux/virtio_config.h 		for (i = 0; i < count; i++)
count              76 include/linux/vmalloc.h extern void vm_unmap_ram(const void *mem, unsigned int count);
count              77 include/linux/vmalloc.h extern void *vm_map_ram(struct page **pages, unsigned int count,
count             119 include/linux/vmalloc.h extern void *vmap(struct page **pages, unsigned int count,
count             197 include/linux/vmalloc.h extern long vread(char *buf, char *addr, unsigned long count);
count             198 include/linux/vmalloc.h extern long vwrite(char *buf, char *addr, unsigned long count);
count              29 include/linux/vt_buffer.h static inline void scr_memsetw(u16 *s, u16 c, unsigned int count)
count              32 include/linux/vt_buffer.h 	count /= 2;
count              33 include/linux/vt_buffer.h 	while (count--)
count              36 include/linux/vt_buffer.h 	memset16(s, c, count / 2);
count              42 include/linux/vt_buffer.h static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count)
count              45 include/linux/vt_buffer.h 	count /= 2;
count              46 include/linux/vt_buffer.h 	while (count--)
count              49 include/linux/vt_buffer.h 	memcpy(d, s, count);
count              55 include/linux/vt_buffer.h static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count)
count              59 include/linux/vt_buffer.h 		scr_memcpyw(d, s, count);
count              61 include/linux/vt_buffer.h 		count /= 2;
count              62 include/linux/vt_buffer.h 		d += count;
count              63 include/linux/vt_buffer.h 		s += count;
count              64 include/linux/vt_buffer.h 		while (count--)
count              68 include/linux/vt_buffer.h 	memmove(d, s, count);
count              52 include/linux/vt_kern.h void update_region(struct vc_data *vc, unsigned long start, int count);
count            1090 include/linux/xarray.h 	unsigned char	count;		/* Total entry count */
count             567 include/media/demux.h 		     size_t count);
count              15 include/media/drv-intf/saa7146_vv.h 	dev->d_rps0.cpu_addr[ count++ ] = cpu_to_le32(x); \
count              19 include/media/drv-intf/saa7146_vv.h 	dev->d_rps1.cpu_addr[ count++ ] = cpu_to_le32(x); \
count             296 include/media/dvb_demux.h 			      size_t count);
count             314 include/media/dvb_demux.h void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count);
count             333 include/media/dvb_demux.h 			  size_t count);
count             352 include/media/dvb_demux.h 			  size_t count);
count             111 include/media/dvb_vb2.h 	u32	count;
count             170 include/media/tuner-types.h 	unsigned int count;
count             191 include/media/tuner-types.h 	unsigned int count;
count             601 include/media/v4l2-subdev.h 	int (*rx_read)(struct v4l2_subdev *sd, u8 *buf, size_t count,
count             610 include/media/v4l2-subdev.h 	int (*tx_write)(struct v4l2_subdev *sd, u8 *buf, size_t count,
count              49 include/media/videobuf-core.h 	unsigned int count;
count             104 include/media/videobuf-core.h 			 unsigned int *count, unsigned int *size);
count             214 include/media/videobuf-core.h 			     char __user *data, size_t count, loff_t *ppos,
count             217 include/media/videobuf-core.h 			  char __user *data, size_t count, loff_t *ppos,
count             425 include/media/videobuf2-core.h 	int (*start_streaming)(struct vb2_queue *q, unsigned int count);
count             740 include/media/videobuf2-core.h 		unsigned int *count);
count             763 include/media/videobuf2-core.h 			 unsigned int *count, unsigned int requested_planes,
count            1011 include/media/videobuf2-core.h size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count,
count            1021 include/media/videobuf2-core.h size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count,
count             295 include/media/videobuf2-v4l2.h 		size_t count, loff_t *ppos);
count             297 include/media/videobuf2-v4l2.h 		size_t count, loff_t *ppos);
count             199 include/misc/cxl.h ssize_t cxl_fd_read(struct file *file, char __user *buf, size_t count,
count             215 include/misc/cxl.h ssize_t cxl_read_adapter_vpd(struct pci_dev *dev, void *buf, size_t count);
count             204 include/net/9p/client.h int p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset);
count              31 include/net/ax88796.h 	void (*block_output)(struct net_device *dev, int count,
count              33 include/net/ax88796.h 	void (*block_input)(struct net_device *dev, int count,
count            1841 include/net/bluetooth/hci.h 	__le16   count;
count             184 include/net/bonding.h 	unsigned int	count;
count            1047 include/net/cfg80211.h 	u8 count;
count            7033 include/net/cfg80211.h 				       u8 count);
count             127 include/net/codel.h 	u32		count;
count              80 include/net/codel_impl.h 	u64 val = (3LL << 32) - ((u64)vars->count * invsqrt2);
count             178 include/net/codel_impl.h 				vars->count++; /* dont care of possible wrap
count             230 include/net/codel_impl.h 		delta = vars->count - vars->lastcount;
count             234 include/net/codel_impl.h 			vars->count = delta;
count             241 include/net/codel_impl.h 			vars->count = 1;
count             244 include/net/codel_impl.h 		vars->lastcount = vars->count;
count             654 include/net/devlink.h 			  unsigned int count, struct netlink_ext_ack *extack);
count             654 include/net/dsa.h 			      unsigned int count,
count             657 include/net/dsa.h 				unsigned int count);
count              84 include/net/if_inet6.h #define IP6_SFLSIZE(count)	(sizeof(struct ip6_sf_socklist) + \
count              85 include/net/if_inet6.h 	(count) * sizeof(struct in6_addr))
count             114 include/net/inet_hashtables.h 	unsigned int		count;
count             322 include/net/ip6_fib.h 	unsigned int count;
count              18 include/net/kcm.h #define KCM_STATS_ADD(stat, count) ((stat) += (count))
count             129 include/net/kcm.h 	int count;
count             932 include/net/mac80211.h 	u16 count:5,
count            1132 include/net/mac80211.h 		info->status.rates[i].count = 0;
count            1543 include/net/mac80211.h 	u8 count;
count            1901 include/net/mac80211.h 		u8 count;
count            6156 include/net/mac80211.h 	u8 count[IEEE80211_P2P_NOA_DESC_MAX];
count              61 include/net/net_namespace.h 	refcount_t		count;		/* To decided when the network
count             238 include/net/net_namespace.h 	refcount_inc(&net->count);
count             249 include/net/net_namespace.h 	if (!refcount_inc_not_zero(&net->count))
count             256 include/net/net_namespace.h 	if (refcount_dec_and_test(&net->count))
count             268 include/net/net_namespace.h 	return refcount_read(&net->count) != 0;
count             322 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_INC(net, count)	  __this_cpu_inc((net)->ct.stat->count)
count             323 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_INC_ATOMIC(net, count) this_cpu_inc((net)->ct.stat->count)
count             324 include/net/netfilter/nf_conntrack.h #define NF_CT_STAT_ADD_ATOMIC(net, count, v) this_cpu_add((net)->ct.stat->count, (v))
count              14 include/net/netfilter/nf_conntrack_count.h 	unsigned int count;	/* length of list */
count             160 include/net/netfilter/nf_conntrack_tuple.h 	int count;
count             162 include/net/netfilter/nf_conntrack_tuple.h 	for (count = 0; count < NF_CT_TUPLE_L3SIZE; count++) {
count             163 include/net/netfilter/nf_conntrack_tuple.h 		if ((t1->src.u3.all[count] ^ t2->src.u3.all[count]) &
count             164 include/net/netfilter/nf_conntrack_tuple.h 		    mask->src.u3.all[count])
count             247 include/net/netfilter/nf_tables.h 	unsigned int	count;
count             444 include/net/netlink.h int nla_memcpy(void *dest, const struct nlattr *src, int count);
count              96 include/net/netns/conntrack.h 	atomic_t		count;
count              96 include/net/netrom.h 	unsigned short		count;
count             113 include/net/netrom.h 	unsigned char		count;
count             434 include/net/nfc/nci_core.h 			int count);
count              57 include/net/page_pool.h 	u32 count;
count              19 include/net/pkt_cls.h 	int	count;
count              18 include/net/pkt_sched.h 	int	count;
count              97 include/net/rose.h 	unsigned short		count;
count             112 include/net/rose.h 	unsigned char		count;
count             881 include/net/sch_generic.h static inline void __qdisc_qstats_drop(struct Qdisc *sch, int count)
count             883 include/net/sch_generic.h 	sch->qstats.drops += count;
count              25 include/net/scm.h 	short			count;
count              14 include/net/strparser.h #define STRP_STATS_ADD(stat, count) ((stat) += (count))
count              59 include/net/udp.h 	int			count;
count             217 include/rdma/rdmavt_qp.h 	u32 count;		/* approx count of receive entries posted */
count             188 include/scsi/iscsi_if.h 			uint32_t	count;
count             213 include/scsi/iscsi_if.h 			uint32_t	count;
count             398 include/scsi/libfcoe.h 			       const char *buf, size_t count);
count             400 include/scsi/libfcoe.h 				const char *buf, size_t count);
count             453 include/scsi/libsas.h int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count);
count             455 include/scsi/libsas.h static inline int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count)
count             116 include/scsi/scsi_transport_iscsi.h 			 unsigned int count);
count             273 include/soc/fsl/qe/qe.h 	u8 count;       /* Number of microcode[] structures */
count             288 include/soc/fsl/qe/qe.h 		__be32 count;   	/* Number of 32-bit words of the code */
count             606 include/soc/fsl/qman.h 	__be16 count;	/* Initialises 'count+1' FQDs */
count              24 include/soc/tegra/bpmp.h 			unsigned int count;
count              75 include/soc/tegra/bpmp.h 		unsigned int count;
count             114 include/sound/compress_driver.h 		       size_t count);
count              38 include/sound/control.h 	unsigned int count;		/* count of same elements */
count              57 include/sound/control.h 	unsigned int count;		/* count of same elements */
count             138 include/sound/control.h 	return array_index_nospec(ioff, kctl->count);
count             144 include/sound/control.h 	return array_index_nospec(ioff, kctl->count);
count             209 include/sound/core.h int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count);
count             210 include/sound/core.h int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count);
count            1563 include/sound/emu10k1.h 	unsigned int count;		/* count of GPR (1..16) */
count              46 include/sound/emux_synth.h 			  const void __user *data, long count);
count              51 include/sound/emux_synth.h 		       const void __user *data, long count);
count             199 include/sound/gus.h 	unsigned int count;	/* count in bytes */
count              20 include/sound/hwdep.h 		     long count, loff_t *offset);
count              22 include/sound/hwdep.h 		      long count, loff_t *offset);
count              33 include/sound/i2c.h 	int (*sendbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count);
count              34 include/sound/i2c.h 	int (*readbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count);
count              84 include/sound/i2c.h int snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count);
count              85 include/sound/i2c.h int snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count);
count              43 include/sound/info.h 			size_t count, loff_t pos);
count              46 include/sound/info.h 			 size_t count, loff_t pos);
count             360 include/sound/opl3.h long snd_opl3_write(struct snd_hwdep *hw, const char __user *buf, long count,
count             280 include/sound/pcm.h 	unsigned int count;
count             285 include/sound/pcm.h 	unsigned int count;
count             959 include/sound/pcm.h int snd_interval_list(struct snd_interval *i, unsigned int count,
count             961 include/sound/pcm.h int snd_interval_ranges(struct snd_interval *i, unsigned int count,
count             149 include/sound/rawmidi.h 			const unsigned char *buffer, int count);
count             152 include/sound/rawmidi.h 			      unsigned char *buffer, int count);
count             153 include/sound/rawmidi.h int snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream, int count);
count             155 include/sound/rawmidi.h 			 unsigned char *buffer, int count);
count             157 include/sound/rawmidi.h 			      unsigned char *buffer, int count);
count             159 include/sound/rawmidi.h 			       int count);
count             176 include/sound/rawmidi.h 			     unsigned char *buf, long count);
count             178 include/sound/rawmidi.h 			      const unsigned char *buf, long count);
count              70 include/sound/seq_kernel.h typedef int (*snd_seq_dump_func_t)(void *ptr, void *buf, int count);
count              71 include/sound/seq_kernel.h int snd_seq_expand_var_event(const struct snd_seq_event *event, int count, char *buf,
count              36 include/sound/seq_midi_event.h long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count,
count              42 include/sound/seq_oss.h 	int (*load_patch)(struct snd_seq_oss_arg *p, int format, const char __user *buf, int offs, int count);
count             499 include/sound/soc.h int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
count             505 include/sound/soc.h int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
count             509 include/sound/soc.h int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
count             513 include/sound/soc.h 			    int count, struct snd_soc_jack_gpio *gpios);
count             514 include/sound/soc.h void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
count             517 include/sound/soc.h static inline int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
count             525 include/sound/soc.h 					  int count,
count             531 include/sound/soc.h static inline void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
count             160 include/sound/sof/header.h 	uint32_t count;		/**< count of 0 means end of compound sequence */
count              61 include/sound/soundfont.h 			  const void __user *buf, long count);
count              90 include/sound/soundfont.h 		       long count, int client);
count              92 include/sound/soundfont.h 				long count, int client);
count              96 include/sound/vx_core.h 			  struct vx_pipe *pipe, int count);
count              98 include/sound/vx_core.h 			  struct vx_pipe *pipe, int count);
count             276 include/sound/vx_core.h 				       struct vx_pipe *pipe, int count)
count             278 include/sound/vx_core.h 	chip->ops->dma_write(chip, runtime, pipe, count);
count             282 include/sound/vx_core.h 				      struct vx_pipe *pipe, int count)
count             284 include/sound/vx_core.h 	chip->ops->dma_read(chip, runtime, pipe, count);
count             786 include/trace/events/afs.h 		    __entry->bytes = msg->msg_iter.count;
count            1795 include/trace/events/btrfs.h 		__entry->old_count	= oldref->count;
count            1798 include/trace/events/btrfs.h 		__entry->mod_count	= newref ? newref->count : 0;
count              14 include/trace/events/cma.h 		 unsigned int count, unsigned int align),
count              16 include/trace/events/cma.h 	TP_ARGS(pfn, page, count, align),
count              21 include/trace/events/cma.h 		__field(unsigned int, count)
count              28 include/trace/events/cma.h 		__entry->count = count;
count              35 include/trace/events/cma.h 		  __entry->count,
count              42 include/trace/events/cma.h 		 unsigned int count),
count              44 include/trace/events/cma.h 	TP_ARGS(pfn, page, count),
count              49 include/trace/events/cma.h 		__field(unsigned int, count)
count              55 include/trace/events/cma.h 		__entry->count = count;
count              61 include/trace/events/cma.h 		  __entry->count)
count             611 include/trace/events/ext4.h 			unsigned long long count),
count             613 include/trace/events/ext4.h 	TP_ARGS(sb, blk, count),
count             618 include/trace/events/ext4.h 		__field(	__u64,	count			)
count             625 include/trace/events/ext4.h 		__entry->count	= count;
count             630 include/trace/events/ext4.h 		  __entry->blk, __entry->count)
count             680 include/trace/events/ext4.h 		 unsigned long long block, unsigned int count),
count             682 include/trace/events/ext4.h 	TP_ARGS(pa, block, count),
count             688 include/trace/events/ext4.h 		__field(	__u32,	count			)
count             696 include/trace/events/ext4.h 		__entry->count		= count;
count             702 include/trace/events/ext4.h 		  __entry->block, __entry->count)
count             853 include/trace/events/ext4.h 	TP_PROTO(struct inode *inode, __u64 block, unsigned long count,
count             856 include/trace/events/ext4.h 	TP_ARGS(inode, block, count, flags),
count             862 include/trace/events/ext4.h 		__field(	unsigned long,	count		)
count             871 include/trace/events/ext4.h 		__entry->count		= count;
count             879 include/trace/events/ext4.h 		  __entry->mode, __entry->block, __entry->count,
count             978 include/trace/events/f2fs.h 							blkcnt_t count),
count             980 include/trace/events/f2fs.h 	TP_ARGS(inode, nid, ofs_in_node, count),
count             986 include/trace/events/f2fs.h 		__field(blkcnt_t, count)
count             993 include/trace/events/f2fs.h 		__entry->count = count;
count            1000 include/trace/events/f2fs.h 		(unsigned long long)__entry->count)
count            1653 include/trace/events/f2fs.h 	TP_PROTO(struct super_block *sb, int type, s64 count),
count            1655 include/trace/events/f2fs.h 	TP_ARGS(sb, type, count),
count            1660 include/trace/events/f2fs.h 		__field(s64, count)
count            1666 include/trace/events/f2fs.h 		__entry->count	= count;
count            1672 include/trace/events/f2fs.h 		__entry->count)
count            1677 include/trace/events/f2fs.h 	TP_PROTO(struct super_block *sb, int type, s64 count),
count            1679 include/trace/events/f2fs.h 	TP_ARGS(sb, type, count)
count            1684 include/trace/events/f2fs.h 	TP_PROTO(struct super_block *sb, int type, s64 count),
count            1686 include/trace/events/f2fs.h 	TP_ARGS(sb, type, count)
count             180 include/trace/events/host1x.h 	TP_PROTO(const char *name, int count, u32 thresh),
count             182 include/trace/events/host1x.h 	TP_ARGS(name, count, thresh),
count             186 include/trace/events/host1x.h 		__field(int, count)
count             192 include/trace/events/host1x.h 		__entry->count = count;
count             197 include/trace/events/host1x.h 		__entry->name, __entry->count, __entry->thresh)
count              69 include/trace/events/nilfs2.h 		     int count,
count              73 include/trace/events/nilfs2.h 	    TP_ARGS(sb, ti, count, flags, state),
count              78 include/trace/events/nilfs2.h 		    __field(int, count)
count              86 include/trace/events/nilfs2.h 		    __entry->count = count;
count              94 include/trace/events/nilfs2.h 		      __entry->count,
count              22 include/trace/events/page_ref.h 		__field(int, count)
count              32 include/trace/events/page_ref.h 		__entry->count = page_ref_count(page);
count              42 include/trace/events/page_ref.h 		__entry->count,
count              70 include/trace/events/page_ref.h 		__field(int, count)
count              81 include/trace/events/page_ref.h 		__entry->count = page_ref_count(page);
count              92 include/trace/events/page_ref.h 		__entry->count,
count             447 include/trace/events/rpcrdma.h 		unsigned int count
count             450 include/trace/events/rpcrdma.h 	TP_ARGS(r_xprt, count),
count             456 include/trace/events/rpcrdma.h 		__field(unsigned int, count)
count             461 include/trace/events/rpcrdma.h 		__entry->count = count;
count             468 include/trace/events/rpcrdma.h 		__entry->count
count             708 include/trace/events/rpcrdma.h 		unsigned int count,
count             712 include/trace/events/rpcrdma.h 	TP_ARGS(r_xprt, count, status),
count             716 include/trace/events/rpcrdma.h 		__field(unsigned int, count)
count             725 include/trace/events/rpcrdma.h 		__entry->count = count;
count             734 include/trace/events/rpcrdma.h 		__entry->count, __entry->posted, __entry->status
count              28 include/trace/events/tegra_apb_dma.h 	TP_PROTO(struct dma_chan *dc, int count, void *ptr),
count              29 include/trace/events/tegra_apb_dma.h 	TP_ARGS(dc, count, ptr),
count              32 include/trace/events/tegra_apb_dma.h 		__field(int,	count)
count              37 include/trace/events/tegra_apb_dma.h 		__entry->count = count;
count              41 include/trace/events/tegra_apb_dma.h 		  __get_str(chan), __entry->count, __entry->ptr)
count             336 include/trace/trace_events.h #define __print_array(array, count, el_size)				\
count             340 include/trace/trace_events.h 		trace_print_array_seq(p, array, count, el_size);	\
count             839 include/uapi/drm/amdgpu_drm.h 			__u32 count;
count             163 include/uapi/drm/drm.h 	int count;		  /**< Length of user-space structures */
count             270 include/uapi/drm/drm.h 	unsigned long count;
count             337 include/uapi/drm/drm.h 	int count;		 /**< Number of buffers of this size */
count             358 include/uapi/drm/drm.h 	int count;		/**< Entries in list */
count             366 include/uapi/drm/drm.h 	int count;
count             386 include/uapi/drm/drm.h 	int count;		/**< Length of the buffer list */
count             434 include/uapi/drm/drm.h 	int count;
count             269 include/uapi/drm/r128_drm.h 	int count;		/* Number of vertices in buffer */
count             197 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, offset, stride, count;
count             200 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, offset, stride, count;
count             203 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, addr_lo, addr_hi, count;
count             257 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, count, reglo, reghi;
count             260 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, count, adrlo, adrhi;
count             267 include/uapi/drm/radeon_drm.h 		unsigned short count;	/* amount of packet2 to emit */
count             279 include/uapi/drm/radeon_drm.h 		unsigned char cmd_type, count, adrlo, adrhi_flags;
count             628 include/uapi/drm/radeon_drm.h 	int count;		/* Number of vertices in buffer */
count             130 include/uapi/drm/savage_drm.h 	unsigned int count;
count             186 include/uapi/drm/savage_drm.h 		unsigned short count;	/* number of consecutive registers */
count             194 include/uapi/drm/savage_drm.h 		unsigned short count;	/* number of vertices */
count             201 include/uapi/drm/savage_drm.h 		unsigned short count;	/* number of indices that follow */
count              43 include/uapi/linux/atm_nicstar.h    int count;		/* (At least for now) only used in NS_GETPSTAT */
count             507 include/uapi/linux/btrfs_tree.h 	__le32 count;
count             511 include/uapi/linux/btrfs_tree.h 	__le32 count;
count             524 include/uapi/linux/btrfs_tree.h 	__le32 count;
count              70 include/uapi/linux/can/bcm.h 	__u32 count;
count              23 include/uapi/linux/cciss_ioctl.h 	__u32  count;
count             539 include/uapi/linux/coda.h     int	count;
count             655 include/uapi/linux/coda.h 	int count;
count             183 include/uapi/linux/dm-ioctl.h 	__u32 count;	/* Array size */
count             266 include/uapi/linux/dvb/dmx.h 	__u32			count;
count             279 include/uapi/linux/dvb/dmx.h 	__u32			count;
count             331 include/uapi/linux/fb.h 	__u32 count;			/* counter of retraces since boot */
count             148 include/uapi/linux/fsl_hypervisor.h 	__u64 count;
count             513 include/uapi/linux/fuse.h 	uint32_t	count;
count             110 include/uapi/linux/if_tun.h 	__u16  count; /* Number of addresses */
count              33 include/uapi/linux/ivtvfb.h 	int count;
count             153 include/uapi/linux/kvm.h 	__u64 count;
count             179 include/uapi/linux/kvm.h 	__u32 count;
count             292 include/uapi/linux/kvm.h 			__u32 count;
count              10 include/uapi/linux/net_dropmon.h 	__u32 count;
count              23 include/uapi/linux/netfilter/xt_connbytes.h 	} count;
count              18 include/uapi/linux/netfilter/xt_multiport.h 	__u8 count;				/* Number of ports */
count              24 include/uapi/linux/netfilter/xt_multiport.h 	__u8 count;				/* Number of ports */
count              31 include/uapi/linux/netfilter/xt_statistic.h 			__u32	count; /* unused */
count            1017 include/uapi/linux/openvswitch.h 	__u32 count;
count              24 include/uapi/linux/phantom.h 	__u32 count;
count             706 include/uapi/linux/pkt_sched.h 	__u16	count[TC_QOPT_MAX_QUEUE];
count             796 include/uapi/linux/pkt_sched.h 	__u32	count;	   /* how many drops we've done since the last time we
count             854 include/uapi/linux/pkt_sched.h 	__u32	count;
count             204 include/uapi/linux/rio_mport_cdev.h 	__u32 count;	/* Number of transfers */
count              60 include/uapi/linux/smc_diag.h 	__u32	count;
count             122 include/uapi/linux/switchtec_ioctl.h 	__u32 count;
count              26 include/uapi/linux/udmabuf.h 	__u32 count;
count             459 include/uapi/linux/vfio.h 	__u32	count;		/* Number of IRQs within this index */
count             512 include/uapi/linux/vfio.h 	__u32	count;
count             600 include/uapi/linux/vfio.h 	__u32	count;
count             615 include/uapi/linux/vfio.h 	__u32	count;
count             910 include/uapi/linux/videodev2.h 	__u32			count;
count            1689 include/uapi/linux/videodev2.h 	__u32 count;
count            2037 include/uapi/linux/videodev2.h 	__u32	count[2];
count            2401 include/uapi/linux/videodev2.h 	__u32			count;
count              24 include/uapi/misc/ocxl.h 	__u64 count;
count             397 include/uapi/mtd/ubi-user.h 	__s32 count;
count             482 include/uapi/rdma/ib_user_verbs.h 	__u32 count;
count             197 include/uapi/sound/asoc.h 	__le32 count;		/* number of elements in block */
count             419 include/uapi/sound/asoc.h 	__le32 count;
count             898 include/uapi/sound/asound.h 	unsigned int count;		/* R: count of all elements */
count             907 include/uapi/sound/asound.h 	unsigned int count;		/* count of values */
count             288 include/uapi/sound/emu10k1.h 	unsigned int count;		/* count of GPR (1..16) */
count             301 include/uapi/sound/emu10k1.h 	unsigned int count;
count              28 include/uapi/xen/gntalloc.h 	__u32 count;
count              50 include/uapi/xen/gntalloc.h 	__u32 count;
count              57 include/uapi/xen/gntdev.h 	__u32 count;
count              79 include/uapi/xen/gntdev.h 	__u32 count;
count             105 include/uapi/xen/gntdev.h 	__u32 count;
count             120 include/uapi/xen/gntdev.h 	__u32 count;
count             195 include/uapi/xen/gntdev.h 	unsigned int count;
count             242 include/uapi/xen/gntdev.h 	__u32 count;
count             285 include/uapi/xen/gntdev.h 	__u32 count;
count              31 include/video/udlfb.h 	int count;
count              48 include/xen/arm/hypercall.h int HYPERVISOR_console_io(int cmd, int count, char *str);
count              49 include/xen/arm/hypercall.h int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count);
count              86 include/xen/arm/hypercall.h 		 int count, int *success_count, domid_t domid)
count              90 include/xen/arm/page.h 				   struct page **pages, unsigned int count);
count              94 include/xen/arm/page.h 				     struct page **pages, unsigned int count);
count              62 include/xen/grant_table.h 	u16 count;
count              77 include/xen/grant_table.h 	unsigned int count;
count             114 include/xen/grant_table.h int gnttab_alloc_grant_references(u16 count, grant_ref_t *pprivate_head);
count             128 include/xen/grant_table.h 				  void (*fn)(void *), void *arg, u16 count);
count             188 include/xen/grant_table.h 	unsigned int count;
count             224 include/xen/grant_table.h 		    struct page **pages, unsigned int count);
count             227 include/xen/grant_table.h 		      struct page **pages, unsigned int count);
count             241 include/xen/grant_table.h void gnttab_batch_map(struct gnttab_map_grant_ref *batch, unsigned count);
count             242 include/xen/grant_table.h void gnttab_batch_copy(struct gnttab_copy *batch, unsigned count);
count             379 include/xen/interface/platform.h 	uint32_t count;  /* number of C state entries in array below */
count              29 include/xen/mem-reservation.h void __xenmem_reservation_va_mapping_update(unsigned long count,
count              33 include/xen/mem-reservation.h void __xenmem_reservation_va_mapping_reset(unsigned long count,
count              37 include/xen/mem-reservation.h static inline void xenmem_reservation_va_mapping_update(unsigned long count,
count              43 include/xen/mem-reservation.h 		__xenmem_reservation_va_mapping_update(count, pages, frames);
count              47 include/xen/mem-reservation.h static inline void xenmem_reservation_va_mapping_reset(unsigned long count,
count              52 include/xen/mem-reservation.h 		__xenmem_reservation_va_mapping_reset(count, pages);
count              56 include/xen/mem-reservation.h int xenmem_reservation_increase(int count, xen_pfn_t *frames);
count              58 include/xen/mem-reservation.h int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
count              46 init/init_task.c 	.count		= REFCOUNT_INIT(1),
count              14 init/initramfs.c static ssize_t __init xwrite(int fd, const char *p, size_t count)
count              19 init/initramfs.c 	while (count) {
count              20 init/initramfs.c 		ssize_t rv = ksys_write(fd, p, count);
count              31 init/initramfs.c 		count -= rv;
count             932 init/main.c    	int count = preempt_count();
count             945 init/main.c    	if (preempt_count() != count) {
count             947 init/main.c    		preempt_count_set(count);
count             563 ipc/mqueue.c   				size_t count, loff_t *off)
count             581 ipc/mqueue.c   	ret = simple_read_from_buffer(u_data, count, off, buffer,
count            1046 ipc/msg.c      	long count = 0;
count            1056 ipc/msg.c      				if (*msgtyp == count)
count            1060 ipc/msg.c      			count++;
count              29 ipc/msgutil.c  	.count		= REFCOUNT_INIT(1),
count              54 ipc/namespace.c 	refcount_set(&ns->count, 1);
count             148 ipc/namespace.c 	if (refcount_dec_and_lock(&ns->count, &mq_lock)) {
count              85 kernel/acct.c  	atomic_long_t		count;
count             135 kernel/acct.c  	if (atomic_long_dec_and_test(&p->count))
count             155 kernel/acct.c  	if (!atomic_long_inc_not_zero(&res->count)) {
count             240 kernel/acct.c  	atomic_long_set(&acct->count, 1);
count              14 kernel/audit_tree.c 	refcount_t count;
count              30 kernel/audit_tree.c 	int count;
count              99 kernel/audit_tree.c 		refcount_set(&tree->count, 1);
count             113 kernel/audit_tree.c 	refcount_inc(&tree->count);
count             118 kernel/audit_tree.c 	if (refcount_dec_and_test(&tree->count))
count             132 kernel/audit_tree.c 	for (i = 0; i < chunk->count; i++) {
count             188 kernel/audit_tree.c static struct audit_chunk *alloc_chunk(int count)
count             194 kernel/audit_tree.c 	size = offsetof(struct audit_chunk, owners) + count * sizeof(struct node);
count             201 kernel/audit_tree.c 	chunk->count = count;
count             203 kernel/audit_tree.c 	for (i = 0; i < count; i++) {
count             266 kernel/audit_tree.c 	for (n = 0; n < chunk->count; n++)
count             304 kernel/audit_tree.c 	for (i = j = 0; j < old->count; i++, j++) {
count             345 kernel/audit_tree.c 	for (i = 0; i < chunk->count; i++)
count             480 kernel/audit_tree.c 	for (n = 0; n < old->count; n++) {
count             490 kernel/audit_tree.c 	chunk = alloc_chunk(old->count + 1);
count             505 kernel/audit_tree.c 	p = &chunk->owners[chunk->count - 1];
count             506 kernel/audit_tree.c 	p->index = (chunk->count - 1) | (1U<<31);
count            1032 kernel/audit_tree.c 	for (n = 0; n < chunk->count; n++)
count              37 kernel/audit_watch.c 	refcount_t		count;	/* reference count */
count             102 kernel/audit_watch.c 	refcount_inc(&watch->count);
count             107 kernel/audit_watch.c 	if (refcount_dec_and_test(&watch->count)) {
count             169 kernel/audit_watch.c 	refcount_set(&watch->count, 1);
count             249 kernel/auditsc.c 		      struct audit_tree_refs *p, int count)
count             256 kernel/auditsc.c 		count = 31;
count             261 kernel/auditsc.c 	n = count;
count             273 kernel/auditsc.c 	ctx->tree_count = count;
count            1741 kernel/auditsc.c 	int count;
count            1746 kernel/auditsc.c 	count = context->tree_count;
count            1758 kernel/auditsc.c 		unroll_tree_refs(context, p, count);
count            1771 kernel/auditsc.c 	int count;
count            1775 kernel/auditsc.c 	count = context->tree_count;
count            1802 kernel/auditsc.c 			unroll_tree_refs(context, p, count);
count            1808 kernel/auditsc.c 			unroll_tree_refs(context, p, count);
count            1813 kernel/auditsc.c 		unroll_tree_refs(context, p, count);
count              48 kernel/bpf/cpumap.c 	unsigned int count;
count             610 kernel/bpf/cpumap.c 	if (unlikely(!bq->count))
count             616 kernel/bpf/cpumap.c 	for (i = 0; i < bq->count; i++) {
count             630 kernel/bpf/cpumap.c 	bq->count = 0;
count             648 kernel/bpf/cpumap.c 	if (unlikely(bq->count == CPU_MAP_BULK_SIZE))
count             660 kernel/bpf/cpumap.c 	bq->q[bq->count++] = xdpf;
count              63 kernel/bpf/devmap.c 	unsigned int count;
count             357 kernel/bpf/devmap.c 	if (unlikely(!bq->count))
count             360 kernel/bpf/devmap.c 	for (i = 0; i < bq->count; i++) {
count             366 kernel/bpf/devmap.c 	sent = dev->netdev_ops->ndo_xdp_xmit(dev, bq->count, bq->q, flags);
count             372 kernel/bpf/devmap.c 	drops = bq->count - sent;
count             374 kernel/bpf/devmap.c 	bq->count = 0;
count             385 kernel/bpf/devmap.c 	for (i = 0; i < bq->count; i++) {
count             443 kernel/bpf/devmap.c 	if (unlikely(bq->count == DEV_MAP_BULK_SIZE))
count             453 kernel/bpf/devmap.c 	bq->q[bq->count++] = xdpf;
count              34 kernel/bpf/hashtab.c 	atomic_t count;	/* number of elements in this hashtable */
count             691 kernel/bpf/hashtab.c 		atomic_dec(&htab->count);
count             748 kernel/bpf/hashtab.c 		if (atomic_inc_return(&htab->count) > htab->map.max_entries)
count             800 kernel/bpf/hashtab.c 	atomic_dec(&htab->count);
count            3609 kernel/bpf/verifier.c 	int count = 0;
count            3612 kernel/bpf/verifier.c 		count++;
count            3614 kernel/bpf/verifier.c 		count++;
count            3616 kernel/bpf/verifier.c 		count++;
count            3618 kernel/bpf/verifier.c 		count++;
count            3620 kernel/bpf/verifier.c 		count++;
count            3626 kernel/bpf/verifier.c 	return count <= 1;
count            3658 kernel/bpf/verifier.c 	int count = 0;
count            3661 kernel/bpf/verifier.c 		count++;
count            3663 kernel/bpf/verifier.c 		count++;
count            3665 kernel/bpf/verifier.c 		count++;
count            3667 kernel/bpf/verifier.c 		count++;
count            3669 kernel/bpf/verifier.c 		count++;
count            3674 kernel/bpf/verifier.c 	if (is_acquire_function(func_id) && count)
count            3680 kernel/bpf/verifier.c 	return count <= 1;
count             206 kernel/cgroup/cgroup.c 	.count		= REFCOUNT_INIT(2),
count             604 kernel/cgroup/cgroup.c 	int count = 0;
count             610 kernel/cgroup/cgroup.c 		count += link->cset->nr_tasks;
count             612 kernel/cgroup/cgroup.c 	return count;
count             621 kernel/cgroup/cgroup.c 	int count;
count             624 kernel/cgroup/cgroup.c 	count = __cgroup_task_count(cgrp);
count             627 kernel/cgroup/cgroup.c 	return count;
count            1122 kernel/cgroup/cgroup.c static int allocate_cgrp_cset_links(int count, struct list_head *tmp_links)
count            1129 kernel/cgroup/cgroup.c 	for (i = 0; i < count; i++) {
count            5888 kernel/cgroup/cgroup.c 		int ssid, count = 0;
count            5897 kernel/cgroup/cgroup.c 					seq_printf(m, "%s%s", count++ ? "," : "",
count            5900 kernel/cgroup/cgroup.c 			seq_printf(m, "%sname=%s", count ? "," : "",
count              79 kernel/cgroup/debug.c 	u64 count;
count              82 kernel/cgroup/debug.c 	count = refcount_read(&task_css_set(current)->refcount);
count              84 kernel/cgroup/debug.c 	return count;
count             125 kernel/cgroup/debug.c 		int count = 0;
count             165 kernel/cgroup/debug.c 			if (count++ <= MAX_TASKS_SHOWN_PER_CSS)
count             171 kernel/cgroup/debug.c 			if (count++ <= MAX_TASKS_SHOWN_PER_CSS)
count             176 kernel/cgroup/debug.c 		if (count > MAX_TASKS_SHOWN_PER_CSS)
count             178 kernel/cgroup/debug.c 				   count - MAX_TASKS_SHOWN_PER_CSS);
count             185 kernel/cgroup/debug.c 		WARN_ON(count != cset->nr_tasks);
count              35 kernel/cgroup/namespace.c 	refcount_set(&new_ns->count, 1);
count            2001 kernel/cpu.c   				  const char *buf, size_t count)
count            2036 kernel/cpu.c   	return ret ? ret : count;
count            2051 kernel/cpu.c   				const char *buf, size_t count)
count            2083 kernel/cpu.c   	return count;
count            2145 kernel/cpu.c   		    const char *buf, size_t count)
count            2181 kernel/cpu.c   	return ret ? ret : count;
count            2187 kernel/cpu.c   		    const char *buf, size_t count)
count            2211 kernel/cpu.c   		  const char *buf, size_t count)
count            2213 kernel/cpu.c   	return __store_smt_control(dev, attr, buf, count);
count             849 kernel/debug/debug_core.c    unsigned count)
count             859 kernel/debug/debug_core.c 	gdbstub_msg_write(s, count);
count              95 kernel/debug/gdbstub.c 	int count;
count             110 kernel/debug/gdbstub.c 		count = 0;
count             115 kernel/debug/gdbstub.c 		while (count < (BUFMAX - 1)) {
count             120 kernel/debug/gdbstub.c 			buffer[count] = ch;
count             121 kernel/debug/gdbstub.c 			count = count + 1;
count             137 kernel/debug/gdbstub.c 		buffer[count] = 0;
count             148 kernel/debug/gdbstub.c 	int count;
count             157 kernel/debug/gdbstub.c 		count = 0;
count             159 kernel/debug/gdbstub.c 		while ((ch = buffer[count])) {
count             162 kernel/debug/gdbstub.c 			count++;
count             239 kernel/debug/gdbstub.c char *kgdb_mem2hex(char *mem, char *buf, int count)
count             248 kernel/debug/gdbstub.c 	tmp = buf + count;
count             250 kernel/debug/gdbstub.c 	err = probe_kernel_read(tmp, mem, count);
count             253 kernel/debug/gdbstub.c 	while (count > 0) {
count             256 kernel/debug/gdbstub.c 		count--;
count             268 kernel/debug/gdbstub.c int kgdb_hex2mem(char *buf, char *mem, int count)
count             277 kernel/debug/gdbstub.c 	tmp_raw = buf + count * 2;
count             286 kernel/debug/gdbstub.c 	return probe_kernel_write(mem, tmp_raw, count);
count             326 kernel/debug/gdbstub.c static int kgdb_ebin2mem(char *buf, char *mem, int count)
count             331 kernel/debug/gdbstub.c 	while (count-- > 0) {
count             216 kernel/debug/kdb/kdb_io.c 	int count;
count             340 kernel/debug/kdb/kdb_io.c 		count = kallsyms_symbol_complete(p_tmp, buf_size);
count             341 kernel/debug/kdb/kdb_io.c 		if (tab == 2 && count > 0) {
count             342 kernel/debug/kdb/kdb_io.c 			kdb_printf("\n%d symbols are found.", count);
count             343 kernel/debug/kdb/kdb_io.c 			if (count > dtab_count) {
count             344 kernel/debug/kdb/kdb_io.c 				count = dtab_count;
count             348 kernel/debug/kdb/kdb_io.c 					   count);
count             351 kernel/debug/kdb/kdb_io.c 			for (i = 0; i < count; i++) {
count             366 kernel/debug/kdb/kdb_io.c 		} else if (tab != 2 && count > 0) {
count             660 kernel/debug/kdb/kdb_main.c 	int count;
count             680 kernel/debug/kdb/kdb_main.c 		if (!s->count)
count             694 kernel/debug/kdb/kdb_main.c 	s->command = kcalloc(s->count + 1, sizeof(*(s->command)), GFP_KDB);
count             701 kernel/debug/kdb/kdb_main.c 	memcpy(s->command, save_command, s->count * sizeof(*(s->command)));
count             702 kernel/debug/kdb/kdb_main.c 	s->command[s->count++] = kdb_strdup(cmdstr, GFP_KDB);
count             720 kernel/debug/kdb/kdb_main.c 			for (i = 0; i < s->count; ++i)
count             798 kernel/debug/kdb/kdb_main.c 	for (i = 0; i < s->count; ++i) {
count            1464 kernel/debug/kdb/kdb_main.c static int kdb_mdr(unsigned long addr, unsigned int count)
count            1467 kernel/debug/kdb/kdb_main.c 	while (count--) {
count             726 kernel/debug/kdb/kdb_support.c 	int count;
count             728 kernel/debug/kdb/kdb_support.c 		count = 1;
count             730 kernel/debug/kdb/kdb_support.c 		count = 1000;
count             736 kernel/debug/kdb/kdb_support.c 		if (!count--)
count              46 kernel/delayacct.c 			  u32 *count)
count              54 kernel/delayacct.c 		(*count)++;
count              72 kernel/delayacct.c 	u32 *count;
count              76 kernel/delayacct.c 		count = &delays->swapin_count;
count              79 kernel/delayacct.c 		count = &delays->blkio_count;
count              82 kernel/delayacct.c 	delayacct_end(&delays->lock, &delays->blkio_start, total, count);
count             246 kernel/dma/coherent.c 		int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count             249 kernel/dma/coherent.c 		if (off < count && user_count <= count - off) {
count             192 kernel/dma/contiguous.c struct page *dma_alloc_from_contiguous(struct device *dev, size_t count,
count             198 kernel/dma/contiguous.c 	return cma_alloc(dev_get_cma_area(dev), count, align, no_warn);
count             212 kernel/dma/contiguous.c 				 int count)
count             214 kernel/dma/contiguous.c 	return cma_release(dev_get_cma_area(dev), pages, count);
count             233 kernel/dma/contiguous.c 	size_t count = size >> PAGE_SHIFT;
count             239 kernel/dma/contiguous.c 	else if (count > 1)
count             247 kernel/dma/contiguous.c 		page = cma_alloc(cma, count, cma_align, gfp & __GFP_NOWARN);
count             731 kernel/dma/debug.c 			   size_t count, loff_t *ppos)
count             749 kernel/dma/debug.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             753 kernel/dma/debug.c 			    size_t count, loff_t *ppos)
count             766 kernel/dma/debug.c 	len = min(count, (size_t)(NAME_MAX_LEN - 1));
count             813 kernel/dma/debug.c 	return count;
count             868 kernel/dma/debug.c 	int count = 0, i;
count             874 kernel/dma/debug.c 				count += 1;
count             881 kernel/dma/debug.c 	return count;
count             888 kernel/dma/debug.c 	int count;
count             895 kernel/dma/debug.c 		count = device_dma_allocations(dev, &entry);
count             896 kernel/dma/debug.c 		if (count == 0)
count             904 kernel/dma/debug.c 			count, entry->dev_addr, entry->size,
count             195 kernel/dma/mapping.c 	unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT;
count             205 kernel/dma/mapping.c 	if (off >= count || user_count > count - off)
count             529 kernel/dma/swiotlb.c 			int count = 0;
count             534 kernel/dma/swiotlb.c 				io_tlb_list[i] = ++count;
count             585 kernel/dma/swiotlb.c 	int i, count, nslots = ALIGN(alloc_size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;
count             605 kernel/dma/swiotlb.c 		count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ?
count             612 kernel/dma/swiotlb.c 			io_tlb_list[i] = ++count;
count             620 kernel/dma/swiotlb.c 			io_tlb_list[i] = ++count;
count             111 kernel/events/callchain.c 	int count;
count             115 kernel/events/callchain.c 	count = atomic_inc_return(&nr_callchain_events);
count             116 kernel/events/callchain.c 	if (WARN_ON_ONCE(count < 1)) {
count             133 kernel/events/callchain.c 	if (count == 1)
count            1138 kernel/events/core.c 	int *count = this_cpu_ptr(pmu->pmu_disable_count);
count            1139 kernel/events/core.c 	if (!(*count)++)
count            1145 kernel/events/core.c 	int *count = this_cpu_ptr(pmu->pmu_disable_count);
count            1146 kernel/events/core.c 	if (!--(*count))
count            3131 kernel/events/core.c 	value = local64_read(&next_event->count);
count            3132 kernel/events/core.c 	value = local64_xchg(&event->count, value);
count            3133 kernel/events/core.c 	local64_set(&next_event->count, value);
count            3594 kernel/events/core.c static u64 perf_calculate_period(struct perf_event *event, u64 nsec, u64 count)
count            3602 kernel/events/core.c 	count_fls = fls64(count);
count            3638 kernel/events/core.c 		REDUCE_FLS(sec, count);
count            3645 kernel/events/core.c 			REDUCE_FLS(count, sec);
count            3649 kernel/events/core.c 		dividend = count * sec;
count            3651 kernel/events/core.c 		dividend = count * sec;
count            3670 kernel/events/core.c static void perf_adjust_period(struct perf_event *event, u64 nsec, u64 count, bool disable)
count            3676 kernel/events/core.c 	period = perf_calculate_period(event, nsec, count);
count            3748 kernel/events/core.c 		now = local64_read(&event->count);
count            4014 kernel/events/core.c 	return local64_read(&event->count) + atomic64_read(&event->child_count);
count            4074 kernel/events/core.c 	*value = local64_read(&event->count);
count            4827 kernel/events/core.c 	u64 count;
count            4830 kernel/events/core.c 	count = __perf_event_read_value(event, enabled, running);
count            4833 kernel/events/core.c 	return count;
count            4968 kernel/events/core.c __perf_read(struct perf_event *event, char __user *buf, size_t count)
count            4981 kernel/events/core.c 	if (count < event->read_size)
count            4994 kernel/events/core.c perf_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count            5001 kernel/events/core.c 	ret = __perf_read(event, buf, count);
count            5033 kernel/events/core.c 	local64_set(&event->count, 0);
count            6885 kernel/events/core.c 	unsigned int restart = 0, count = 0;
count            6894 kernel/events/core.c 			event->addr_filter_ranges[count].start = 0;
count            6895 kernel/events/core.c 			event->addr_filter_ranges[count].size = 0;
count            6899 kernel/events/core.c 		count++;
count            7611 kernel/events/core.c 	unsigned int restart = 0, count = 0;
count            7623 kernel/events/core.c 						&event->addr_filter_ranges[count]))
count            7626 kernel/events/core.c 		count++;
count            8305 kernel/events/core.c 	local64_add(nr, &event->count);
count            8706 kernel/events/core.c 			       struct trace_event_call *call, u64 count,
count            8717 kernel/events/core.c 	perf_tp_event(call->event.type, count, raw_data, size, regs, head,
count            8722 kernel/events/core.c void perf_tp_event(u16 event_type, u64 count, void *record, int entry_size,
count            8743 kernel/events/core.c 			perf_swevent_event(event, count, &data, regs);
count            8767 kernel/events/core.c 				perf_swevent_event(event, count, &data, regs);
count            9239 kernel/events/core.c 	unsigned int count = 0;
count            9264 kernel/events/core.c 			event->addr_filter_ranges[count].start = 0;
count            9265 kernel/events/core.c 			event->addr_filter_ranges[count].size = 0;
count            9267 kernel/events/core.c 			perf_addr_filter_apply(filter, mm, &event->addr_filter_ranges[count]);
count            9269 kernel/events/core.c 			event->addr_filter_ranges[count].start = filter->offset;
count            9270 kernel/events/core.c 			event->addr_filter_ranges[count].size  = filter->size;
count            9273 kernel/events/core.c 		count++;
count            9676 kernel/events/core.c 	local64_add(now - prev, &event->count);
count            9753 kernel/events/core.c 	local64_add(delta, &event->count);
count            9954 kernel/events/core.c 				 const char *buf, size_t count)
count            9968 kernel/events/core.c 		return count;
count            9986 kernel/events/core.c 	return count;
count             109 kernel/events/hw_breakpoint.c 	int count = 0;
count             115 kernel/events/hw_breakpoint.c 			count += hw_breakpoint_weight(iter);
count             118 kernel/events/hw_breakpoint.c 	return count;
count             240 kernel/fail_function.c 			 size_t count, loff_t *ppos)
count             248 kernel/fail_function.c 	if (count > KSYM_NAME_LEN)
count             249 kernel/fail_function.c 		count = KSYM_NAME_LEN;
count             250 kernel/fail_function.c 	buf = kmalloc(count + 1, GFP_KERNEL);
count             254 kernel/fail_function.c 	if (copy_from_user(buf, buffer, count)) {
count             258 kernel/fail_function.c 	buf[count] = '\0';
count             266 kernel/fail_function.c 		ret = count;
count             277 kernel/fail_function.c 		ret = count;
count             307 kernel/fail_function.c 		ret = count;
count             661 kernel/fork.c  		long x = atomic_long_read(&mm->rss_stat.count[i]);
count            1459 kernel/fork.c  		atomic_inc(&oldf->count);
count            1504 kernel/fork.c  		refcount_inc(&current->sighand->count);
count            1512 kernel/fork.c  	refcount_set(&sig->count, 1);
count            1521 kernel/fork.c  	if (refcount_dec_and_test(&sighand->count)) {
count            2751 kernel/fork.c  		if (refcount_read(&current->sighand->count) > 1)
count            2792 kernel/fork.c  	    (fd && atomic_read(&fd->count) > 1)) {
count             352 kernel/gcov/gcc_3_4.c 	unsigned int count;
count             415 kernel/gcov/gcc_3_4.c 	iter->count = 0;
count             457 kernel/gcov/gcc_3_4.c 		iter->count++;
count             460 kernel/gcov/gcc_3_4.c 		if (iter->count < get_func(iter)->n_ctrs[iter->type]) {
count             465 kernel/gcov/gcc_3_4.c 		get_type(iter)->offset += iter->count;
count             466 kernel/gcov/gcc_3_4.c 		iter->count = 0;
count             569 kernel/gcov/gcc_3_4.c 				values[iter->count + get_type(iter)->offset]);
count              29 kernel/gcov/gcov.h #define GCOV_TAG_FOR_COUNTER(count)					\
count              30 kernel/gcov/gcov.h 	(GCOV_TAG_COUNTER_BASE + ((unsigned int) (count) << 17))
count              47 kernel/groups.c 	unsigned int count = group_info->ngroups;
count              49 kernel/groups.c 	for (i = 0; i < count; i++) {
count              64 kernel/groups.c 	unsigned int count = group_info->ngroups;
count              66 kernel/groups.c 	for (i = 0; i < count; i++) {
count             182 kernel/irq/debugfs.c 			       size_t count, loff_t *ppos)
count             188 kernel/irq/debugfs.c 	size = min(sizeof(buf) - 1, count);
count             200 kernel/irq/debugfs.c 			return count;
count             228 kernel/irq/debugfs.c 		return err ? err : count;
count             231 kernel/irq/debugfs.c 	return count;
count             297 kernel/irq/internals.h 	int	count;
count             364 kernel/irq/internals.h 	timings->values[timings->count & IRQ_TIMINGS_MASK] =
count             367 kernel/irq/internals.h 	timings->count++;
count             560 kernel/irq/irqdesc.c 	int count, i, node = first_online_node;
count             568 kernel/irq/irqdesc.c 	count = ARRAY_SIZE(irq_desc);
count             570 kernel/irq/irqdesc.c 	for (i = 0; i < count; i++) {
count             584 kernel/irq/irqdomain.c 			       irq_hw_number_t hwirq_base, int count)
count             591 kernel/irq/irqdomain.c 		of_node_full_name(of_node), irq_base, (int)hwirq_base, count);
count             593 kernel/irq/irqdomain.c 	for (i = 0; i < count; i++) {
count             714 kernel/irq/irqdomain.c 			       irq_hw_number_t hwirq_base, int count)
count             720 kernel/irq/irqdomain.c 	ret = irq_alloc_descs(irq_base, irq_base, count,
count             725 kernel/irq/irqdomain.c 	irq_domain_associate_many(domain, irq_base, hwirq_base, count);
count             749 kernel/irq/irqdomain.c 				      unsigned int count,
count             755 kernel/irq/irqdomain.c 	fwspec->param_count = count;
count             757 kernel/irq/irqdomain.c 	for (i = 0; i < count; i++)
count             138 kernel/irq/proc.c 		const char __user *buffer, size_t count, loff_t *pos)
count             151 kernel/irq/proc.c 		err = cpumask_parselist_user(buffer, count, new_value);
count             153 kernel/irq/proc.c 		err = cpumask_parse_user(buffer, count, new_value);
count             167 kernel/irq/proc.c 		err = irq_select_affinity_usr(irq) ? -EINVAL : count;
count             171 kernel/irq/proc.c 			err = count;
count             180 kernel/irq/proc.c 		const char __user *buffer, size_t count, loff_t *pos)
count             182 kernel/irq/proc.c 	return write_irq_affinity(0, file, buffer, count, pos);
count             186 kernel/irq/proc.c 		const char __user *buffer, size_t count, loff_t *pos)
count             188 kernel/irq/proc.c 	return write_irq_affinity(1, file, buffer, count, pos);
count             236 kernel/irq/proc.c 		const char __user *buffer, size_t count, loff_t *ppos)
count             244 kernel/irq/proc.c 	err = cpumask_parse_user(buffer, count, new_value);
count             259 kernel/irq/proc.c 	err = count;
count             226 kernel/irq/spurious.c 	static int count = 100;
count             228 kernel/irq/spurious.c 	if (count > 0) {
count             229 kernel/irq/spurious.c 		count--;
count             282 kernel/irq/timings.c 	for (i = irqts->count < IRQ_TIMINGS_SIZE ?			\
count             283 kernel/irq/timings.c 		     0 : irqts->count & IRQ_TIMINGS_MASK,		\
count             284 kernel/irq/timings.c 		     irqts->count = min(IRQ_TIMINGS_SIZE,		\
count             285 kernel/irq/timings.c 					irqts->count);			\
count             286 kernel/irq/timings.c 	     irqts->count > 0; irqts->count--,				\
count             294 kernel/irq/timings.c 	int	count;
count             384 kernel/irq/timings.c 	int index, i, period_max, count, start, min = INT_MAX;
count             387 kernel/irq/timings.c 		irqs->count = irqs->last_ts = 0;
count             396 kernel/irq/timings.c 	period_max = irqs->count > (3 * PREDICTION_PERIOD_MAX) ?
count             397 kernel/irq/timings.c 		PREDICTION_PERIOD_MAX : irqs->count / 3;
count             409 kernel/irq/timings.c 	count = irqs->count < IRQ_TIMINGS_SIZE ?
count             410 kernel/irq/timings.c 		irqs->count : IRQ_TIMINGS_SIZE;
count             412 kernel/irq/timings.c 	start = irqs->count < IRQ_TIMINGS_SIZE ?
count             413 kernel/irq/timings.c 		0 : (irqs->count & IRQ_TIMINGS_MASK);
count             421 kernel/irq/timings.c 	for (i = 0; i < count; i++) {
count             428 kernel/irq/timings.c 	index = irq_timings_next_event_index(irqs->timings, count, period_max);
count             460 kernel/irq/timings.c 	irqs->circ_timings[irqs->count & IRQ_TIMINGS_MASK] = index;
count             465 kernel/irq/timings.c 	irqs->count++;
count             498 kernel/irq/timings.c 		irqs->count = 0;
count             546 kernel/irq/timings.c 	if (!irqts->count)
count             634 kernel/irq/timings.c 	size_t count;
count             711 kernel/irq/timings.c 	int index, start, i, count, period_max;
count             713 kernel/irq/timings.c 	count = ti->count - 1;
count             715 kernel/irq/timings.c 	period_max = count > (3 * PREDICTION_PERIOD_MAX) ?
count             716 kernel/irq/timings.c 		PREDICTION_PERIOD_MAX : count / 3;
count             724 kernel/irq/timings.c 	for (i = 0; i < count; i++) {
count             730 kernel/irq/timings.c 	start = count < IRQ_TIMINGS_SIZE ? 0 :
count             731 kernel/irq/timings.c 		count & IRQ_TIMINGS_MASK;
count             733 kernel/irq/timings.c 	count = min_t(int, count, IRQ_TIMINGS_SIZE);
count             735 kernel/irq/timings.c 	for (i = 0; i < count; i++) {
count             740 kernel/irq/timings.c 	index = irq_timings_next_event_index(buffer, count, period_max);
count             741 kernel/irq/timings.c 	i = irq_timings_interval_index(ti->intervals[ti->count - 1]);
count             759 kernel/irq/timings.c 			i, tis[i].count);
count             789 kernel/irq/timings.c 	for (i = 0; i < ti->count; i++) {
count             802 kernel/irq/timings.c 	if (irqs->count != ti->count) {
count             820 kernel/irq/timings.c 			i, tis[i].count);
count             830 kernel/irq/timings.c 					 unsigned count)
count             832 kernel/irq/timings.c 	int start = count >= IRQ_TIMINGS_SIZE ? count - IRQ_TIMINGS_SIZE : 0;
count             839 kernel/irq/timings.c 	for (i = 0; i < count; i++) {
count             856 kernel/irq/timings.c 	pr_debug("---> Checking timings array count (%d) is right\n", count);
count             857 kernel/irq/timings.c 	if (WARN_ON(irqts->count != count))
count             882 kernel/irq/timings.c 	if (WARN_ON(irqts->count))
count             899 kernel/irq/timings.c 	int count[] = { 0,
count             907 kernel/irq/timings.c 	for (i = 0; i < ARRAY_SIZE(count); i++) {
count             910 kernel/irq/timings.c 			count[i], IRQ_TIMINGS_SIZE);
count             912 kernel/irq/timings.c 		ret = irq_timings_test_irqts(irqts, count[i]);
count             120 kernel/kcov.c  	u64 count, start_index, end_pos, max_pos;
count             135 kernel/kcov.c  	count = READ_ONCE(area[0]);
count             138 kernel/kcov.c  	start_index = 1 + count * KCOV_WORDS_PER_CMP;
count             145 kernel/kcov.c  		WRITE_ONCE(area[0], count + 1);
count             204 kernel/kcov.c  	u64 count = cases[0];
count             224 kernel/kcov.c  	for (i = 0; i < count; i++)
count             307 kernel/kexec_core.c 		unsigned int count, i;
count             311 kernel/kexec_core.c 		count = 1 << order;
count             312 kernel/kexec_core.c 		for (i = 0; i < count; i++)
count             315 kernel/kexec_core.c 		arch_kexec_post_alloc_pages(page_address(pages), count,
count             319 kernel/kexec_core.c 			for (i = 0; i < count; i++)
count             328 kernel/kexec_core.c 	unsigned int order, count, i;
count             331 kernel/kexec_core.c 	count = 1 << order;
count             333 kernel/kexec_core.c 	arch_kexec_pre_free_pages(page_address(page), count);
count             335 kernel/kexec_core.c 	for (i = 0; i < count; i++)
count             368 kernel/kexec_core.c 	unsigned int count;
count             370 kernel/kexec_core.c 	count = 1 << order;
count             383 kernel/kexec_core.c 		epfn  = pfn + count;
count            2566 kernel/kprobes.c 	       char __user *user_buf, size_t count, loff_t *ppos)
count            2576 kernel/kprobes.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count            2580 kernel/kprobes.c 	       const char __user *user_buf, size_t count, loff_t *ppos)
count            2586 kernel/kprobes.c 	buf_size = min(count, (sizeof(buf)-1));
count            2609 kernel/kprobes.c 	return count;
count              47 kernel/ksysfs.c 				   const char *buf, size_t count)
count              49 kernel/ksysfs.c 	if (count+1 > UEVENT_HELPER_PATH_LEN)
count              51 kernel/ksysfs.c 	memcpy(uevent_helper, buf, count);
count              52 kernel/ksysfs.c 	uevent_helper[count] = '\0';
count              53 kernel/ksysfs.c 	if (count && uevent_helper[count-1] == '\n')
count              54 kernel/ksysfs.c 		uevent_helper[count-1] = '\0';
count              55 kernel/ksysfs.c 	return count;
count              68 kernel/ksysfs.c 				   const char *buf, size_t count)
count              86 kernel/ksysfs.c 	return count;
count             113 kernel/ksysfs.c 				   const char *buf, size_t count)
count             122 kernel/ksysfs.c 	return ret < 0 ? ret : count;
count             158 kernel/ksysfs.c 				   const char *buf, size_t count)
count             163 kernel/ksysfs.c 	return count;
count             175 kernel/ksysfs.c 				const char *buf, size_t count)
count             180 kernel/ksysfs.c 	return count;
count             194 kernel/ksysfs.c 			  char *buf, loff_t off, size_t count)
count             196 kernel/ksysfs.c 	memcpy(buf, &__start_notes + off, count);
count             197 kernel/ksysfs.c 	return count;
count             118 kernel/latencytop.c 			latency_record[i].count++;
count             167 kernel/latencytop.c 	lat.count = 1;
count             195 kernel/latencytop.c 			mylat->count++;
count             229 kernel/latencytop.c 				   lr->count, lr->time, lr->max);
count             245 kernel/latencytop.c lstats_write(struct file *file, const char __user *buf, size_t count,
count             250 kernel/latencytop.c 	return count;
count             122 kernel/livepatch/core.c 	unsigned long count;
count             141 kernel/livepatch/core.c 	args->count++;
count             147 kernel/livepatch/core.c 	if ((args->pos && (args->count == args->pos)) ||
count             148 kernel/livepatch/core.c 	    (!args->pos && (args->count > 1)))
count             161 kernel/livepatch/core.c 		.count = 0,
count             178 kernel/livepatch/core.c 	else if (args.count > 1 && sympos == 0) {
count             181 kernel/livepatch/core.c 	} else if (sympos != args.count && sympos > 0) {
count             312 kernel/livepatch/core.c 			     const char *buf, size_t count)
count             351 kernel/livepatch/core.c 	return count;
count             374 kernel/livepatch/core.c 			   const char *buf, size_t count)
count             385 kernel/livepatch/core.c 		return count;
count             399 kernel/livepatch/core.c 	return count;
count              62 kernel/locking/lock_events.c 			      size_t count, loff_t *ppos)
count              80 kernel/locking/lock_events.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count              89 kernel/locking/lock_events.c 			   size_t count, loff_t *ppos)
count              97 kernel/locking/lock_events.c 		return count;
count             106 kernel/locking/lock_events.c 	return count;
count             775 kernel/locking/lockdep.c 	int count = 0;
count             784 kernel/locking/lockdep.c 			count = max(count, class->name_version);
count             787 kernel/locking/lockdep.c 	return count + 1;
count            1706 kernel/locking/lockdep.c 	unsigned long  count = 0;
count            1709 kernel/locking/lockdep.c 	__bfs_forwards(this, (void *)&count, noop_count, &target_entry);
count            1711 kernel/locking/lockdep.c 	return count;
count            1734 kernel/locking/lockdep.c 	unsigned long  count = 0;
count            1737 kernel/locking/lockdep.c 	__bfs_backwards(this, (void *)&count, noop_count, &target_entry);
count            1739 kernel/locking/lockdep.c 	return count;
count             620 kernel/locking/lockdep_proc.c 			       size_t count, loff_t *ppos)
count             625 kernel/locking/lockdep_proc.c 	if (count) {
count             630 kernel/locking/lockdep_proc.c 			return count;
count             635 kernel/locking/lockdep_proc.c 	return count;
count              21 kernel/locking/mcs_spinlock.h 	int count;  /* nesting count, see qspinlock.c */
count             400 kernel/locking/qspinlock.c 	idx = node->count++;
count             559 kernel/locking/qspinlock.c 	__this_cpu_dec(qnodes[0].mcs.count);
count              37 kernel/locking/qspinlock_stat.h 		       size_t count, loff_t *ppos)
count              94 kernel/locking/qspinlock_stat.h 	return simple_read_from_buffer(user_buf, count, ppos, buf, len);
count             109 kernel/locking/rwsem.c 		#c, atomic_long_read(&(sem)->count),		\
count             226 kernel/locking/rwsem.c 	long count = atomic_long_read(&sem->count);
count             228 kernel/locking/rwsem.c 	if (count & RWSEM_WRITER_MASK)
count             276 kernel/locking/rwsem.c 	long cnt = atomic_long_add_return_acquire(RWSEM_READER_BIAS, &sem->count);
count             337 kernel/locking/rwsem.c 	atomic_long_set(&sem->count, RWSEM_UNLOCKED_VALUE);
count             436 kernel/locking/rwsem.c 	if (unlikely(atomic_long_read(&sem->count) < 0))
count             448 kernel/locking/rwsem.c 		oldcount = atomic_long_fetch_add(adjustment, &sem->count);
count             461 kernel/locking/rwsem.c 			atomic_long_add(-adjustment, &sem->count);
count             527 kernel/locking/rwsem.c 	if (woken && (atomic_long_read(&sem->count) & RWSEM_FLAG_HANDOFF))
count             531 kernel/locking/rwsem.c 		atomic_long_add(adjustment, &sem->count);
count             566 kernel/locking/rwsem.c 	long count, new;
count             570 kernel/locking/rwsem.c 	count = atomic_long_read(&sem->count);
count             572 kernel/locking/rwsem.c 		bool has_handoff = !!(count & RWSEM_FLAG_HANDOFF);
count             577 kernel/locking/rwsem.c 		new = count;
count             579 kernel/locking/rwsem.c 		if (count & RWSEM_LOCK_MASK) {
count             591 kernel/locking/rwsem.c 	} while (!atomic_long_try_cmpxchg_acquire(&sem->count, &count, new));
count             612 kernel/locking/rwsem.c 	long count = atomic_long_read(&sem->count);
count             614 kernel/locking/rwsem.c 	if (count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))
count             617 kernel/locking/rwsem.c 	count = atomic_long_fetch_add_acquire(RWSEM_READER_BIAS, &sem->count);
count             618 kernel/locking/rwsem.c 	if (!(count & (RWSEM_WRITER_MASK | RWSEM_FLAG_HANDOFF))) {
count             625 kernel/locking/rwsem.c 	atomic_long_add(-RWSEM_READER_BIAS, &sem->count);
count             634 kernel/locking/rwsem.c 	long count = atomic_long_read(&sem->count);
count             636 kernel/locking/rwsem.c 	while (!(count & (RWSEM_LOCK_MASK|RWSEM_FLAG_HANDOFF))) {
count             637 kernel/locking/rwsem.c 		if (atomic_long_try_cmpxchg_acquire(&sem->count, &count,
count             638 kernel/locking/rwsem.c 					count | RWSEM_WRITER_LOCKED)) {
count             777 kernel/locking/rwsem.c 	long count = atomic_long_read(&sem->count);
count             778 kernel/locking/rwsem.c 	int readers = count >> RWSEM_READER_SHIFT;
count             997 kernel/locking/rwsem.c 	long count, adjustment = -RWSEM_READER_BIAS;
count            1016 kernel/locking/rwsem.c 	atomic_long_add(-RWSEM_READER_BIAS, &sem->count);
count            1024 kernel/locking/rwsem.c 		if ((atomic_long_read(&sem->count) & RWSEM_FLAG_WAITERS)) {
count            1051 kernel/locking/rwsem.c 		if (adjustment && !(atomic_long_read(&sem->count) &
count            1066 kernel/locking/rwsem.c 		count = atomic_long_add_return(adjustment, &sem->count);
count            1068 kernel/locking/rwsem.c 		count = atomic_long_read(&sem->count);
count            1076 kernel/locking/rwsem.c 	if (!(count & RWSEM_LOCK_MASK)) {
count            1080 kernel/locking/rwsem.c 	if (wake || (!(count & RWSEM_WRITER_MASK) &&
count            1114 kernel/locking/rwsem.c 				   &sem->count);
count            1141 kernel/locking/rwsem.c 	long count;
count            1179 kernel/locking/rwsem.c 		count = atomic_long_read(&sem->count);
count            1189 kernel/locking/rwsem.c 		if (count & RWSEM_WRITER_MASK)
count            1192 kernel/locking/rwsem.c 		rwsem_mark_wake(sem, (count & RWSEM_READER_MASK)
count            1207 kernel/locking/rwsem.c 		atomic_long_or(RWSEM_FLAG_WAITERS, &sem->count);
count            1252 kernel/locking/rwsem.c 			count = atomic_long_read(&sem->count);
count            1253 kernel/locking/rwsem.c 			if (!(count & RWSEM_LOCK_MASK))
count            1284 kernel/locking/rwsem.c 		atomic_long_add(-RWSEM_FLAG_HANDOFF,  &sem->count);
count            1287 kernel/locking/rwsem.c 		atomic_long_andnot(RWSEM_FLAG_WAITERS, &sem->count);
count            1301 kernel/locking/rwsem.c static struct rw_semaphore *rwsem_wake(struct rw_semaphore *sem, long count)
count            1374 kernel/locking/rwsem.c 		if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp,
count            1390 kernel/locking/rwsem.c 	if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp,
count            1401 kernel/locking/rwsem.c 	if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp,
count            1418 kernel/locking/rwsem.c 	if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp,
count            1437 kernel/locking/rwsem.c 	tmp = atomic_long_add_return_release(-RWSEM_READER_BIAS, &sem->count);
count            1462 kernel/locking/rwsem.c 	tmp = atomic_long_fetch_add_release(-RWSEM_WRITER_LOCKED, &sem->count);
count            1483 kernel/locking/rwsem.c 		-RWSEM_WRITER_LOCKED+RWSEM_READER_BIAS, &sem->count);
count              58 kernel/locking/semaphore.c 	if (likely(sem->count > 0))
count              59 kernel/locking/semaphore.c 		sem->count--;
count              81 kernel/locking/semaphore.c 	if (likely(sem->count > 0))
count              82 kernel/locking/semaphore.c 		sem->count--;
count             107 kernel/locking/semaphore.c 	if (likely(sem->count > 0))
count             108 kernel/locking/semaphore.c 		sem->count--;
count             133 kernel/locking/semaphore.c 	int count;
count             136 kernel/locking/semaphore.c 	count = sem->count - 1;
count             137 kernel/locking/semaphore.c 	if (likely(count >= 0))
count             138 kernel/locking/semaphore.c 		sem->count = count;
count             141 kernel/locking/semaphore.c 	return (count < 0);
count             161 kernel/locking/semaphore.c 	if (likely(sem->count > 0))
count             162 kernel/locking/semaphore.c 		sem->count--;
count             184 kernel/locking/semaphore.c 		sem->count++;
count             349 kernel/locking/test-ww_mutex.c static int *get_random_order(int count)
count             354 kernel/locking/test-ww_mutex.c 	order = kmalloc_array(count, sizeof(*order), GFP_KERNEL);
count             358 kernel/locking/test-ww_mutex.c 	for (n = 0; n < count; n++)
count             361 kernel/locking/test-ww_mutex.c 	for (n = count - 1; n > 1; n--) {
count            1220 kernel/module.c 			    const char *buffer, size_t count)
count            1224 kernel/module.c 	rc = kobject_synth_uevent(&mk->kobj, buffer, count);
count            1225 kernel/module.c 	return rc ? rc : count;
count            1616 kernel/module.c 				 char *buf, loff_t pos, size_t count)
count            1621 kernel/module.c 	memcpy(buf, bin_attr->private + pos, count);
count            1622 kernel/module.c 	return count;
count              30 kernel/nsproxy.c 	.count			= ATOMIC_INIT(1),
count              51 kernel/nsproxy.c 		atomic_set(&nsproxy->count, 1);
count             224 kernel/nsproxy.c 	if (ns && atomic_dec_and_test(&ns->count))
count             872 kernel/padata.c 			     const char *buf, size_t count)
count             881 kernel/padata.c 	ret = bitmap_parse(buf, count, cpumask_bits(new_cpumask),
count             890 kernel/padata.c 		ret = count;
count             935 kernel/padata.c 				  const char *buf, size_t count)
count             944 kernel/padata.c 		ret = pentry->store(pinst, attr, buf, count);
count             541 kernel/params.c 	int count;
count             548 kernel/params.c 	count = attribute->param->ops->get(buf, attribute->param);
count             550 kernel/params.c 	return count;
count              47 kernel/pid.c   	.count		= REFCOUNT_INIT(1),
count             111 kernel/pid.c   	if (refcount_dec_and_test(&pid->count)) {
count             214 kernel/pid.c   	refcount_set(&pid->count, 1);
count              87 kernel/power/qos.c 		size_t count, loff_t *f_pos);
count              89 kernel/power/qos.c 		size_t count, loff_t *f_pos);
count             588 kernel/power/qos.c 		size_t count, loff_t *f_pos)
count             603 kernel/power/qos.c 	return simple_read_from_buffer(buf, count, f_pos, &value, sizeof(s32));
count             607 kernel/power/qos.c 		size_t count, loff_t *f_pos)
count             612 kernel/power/qos.c 	if (count == sizeof(s32)) {
count             618 kernel/power/qos.c 		ret = kstrtos32_from_user(buf, count, 16, &value);
count             626 kernel/power/qos.c 	return count;
count            1703 kernel/power/snapshot.c 	unsigned long saveable, size, max_size, count, highmem, pages = 0;
count            1730 kernel/power/snapshot.c 	count = saveable;
count            1739 kernel/power/snapshot.c 			count += zone_page_state(zone, NR_FREE_PAGES);
count            1741 kernel/power/snapshot.c 	avail_normal = count;
count            1742 kernel/power/snapshot.c 	count += highmem;
count            1743 kernel/power/snapshot.c 	count -= totalreserve_pages;
count            1749 kernel/power/snapshot.c 	max_size = (count - (size + PAGES_FOR_IO)) / 2
count            1796 kernel/power/snapshot.c 	alloc = count - max_size;
count            1814 kernel/power/snapshot.c 		alloc = (count - pages) - size;
count            1822 kernel/power/snapshot.c 		size = preallocate_highmem_fraction(alloc, highmem, count);
count             226 kernel/power/swap.c 	atomic_t		count;
count             233 kernel/power/swap.c 	atomic_set(&hb->count, 0);
count             257 kernel/power/swap.c 	if (atomic_dec_and_test(&hb->count))
count             285 kernel/power/swap.c 		atomic_inc(&hb->count);
count             297 kernel/power/swap.c 	wait_event(hb->wait, atomic_read(&hb->count) == 0);
count             135 kernel/power/user.c                              size_t count, loff_t *offp)
count             156 kernel/power/user.c 	res = simple_read_from_buffer(buf, count, &pg_offp,
count             168 kernel/power/user.c                               size_t count, loff_t *offp)
count             192 kernel/power/user.c 			buf, count);
count             881 kernel/printk/printk.c 			    size_t count, loff_t *ppos)
count             931 kernel/printk/printk.c 	if (len > count) {
count             428 kernel/profile.c 	const char __user *buffer, size_t count, loff_t *pos)
count             436 kernel/profile.c 	err = cpumask_parse_user(buffer, count, new_value);
count             439 kernel/profile.c 		err = count;
count             466 kernel/profile.c read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             476 kernel/profile.c 	if (count > (prof_len+1)*sizeof(unsigned int) - p)
count             477 kernel/profile.c 		count = (prof_len+1)*sizeof(unsigned int) - p;
count             480 kernel/profile.c 	while (p < sizeof(unsigned int) && count > 0) {
count             483 kernel/profile.c 		buf++; p++; count--; read++;
count             486 kernel/profile.c 	if (copy_to_user(buf, (void *)pnt, count))
count             488 kernel/profile.c 	read += count;
count             500 kernel/profile.c 			     size_t count, loff_t *ppos)
count             505 kernel/profile.c 	if (count == sizeof(int)) {
count             517 kernel/profile.c 	return count;
count            2119 kernel/rcu/tree.c 	long bl, count;
count            2187 kernel/rcu/tree.c 	count = -rcl.len;
count            2188 kernel/rcu/tree.c 	trace_rcu_batch_end(rcu_state.name, count, !!rcl.head, need_resched(),
count            2197 kernel/rcu/tree.c 	count = rcu_segcblist_n_cbs(&rdp->cblist);
count            2198 kernel/rcu/tree.c 	if (rdp->blimit >= DEFAULT_MAX_RCU_BLIMIT && count <= qlowmark)
count            2202 kernel/rcu/tree.c 	if (count == 0 && rdp->qlen_last_fqs_check != 0) {
count            2205 kernel/rcu/tree.c 	} else if (count < rdp->qlen_last_fqs_check - qhimark)
count            2206 kernel/rcu/tree.c 		rdp->qlen_last_fqs_check = count;
count            2212 kernel/rcu/tree.c 	WARN_ON_ONCE(count == 0 && !rcu_segcblist_empty(&rdp->cblist));
count            2214 kernel/rcu/tree.c 		     count != 0 && rcu_segcblist_empty(&rdp->cblist));
count            1104 kernel/relay.c 				      size_t count)
count            1112 kernel/relay.c 	if (read_pos % subbuf_size + count + padding == subbuf_size)
count            1115 kernel/relay.c 		end_pos = read_pos + count;
count            1124 kernel/relay.c 			       size_t count,
count            1132 kernel/relay.c 	if (!count)
count            1147 kernel/relay.c 		avail = min(count, avail);
count            1155 kernel/relay.c 		count -= ret;
count            1159 kernel/relay.c 	} while (count);
count             602 kernel/sched/cpufreq_schedutil.c rate_limit_us_store(struct gov_attr_set *attr_set, const char *buf, size_t count)
count             616 kernel/sched/cpufreq_schedutil.c 	return count;
count             817 kernel/sched/cpufreq_schedutil.c 	unsigned int count;
count             821 kernel/sched/cpufreq_schedutil.c 	count = gov_attr_set_put(&tunables->attr_set, &sg_policy->tunables_hook);
count             823 kernel/sched/cpufreq_schedutil.c 	if (!count)
count              71 kernel/sched/cpupri.c 		if (!atomic_read(&(vec)->count))
count             160 kernel/sched/cpupri.c 		atomic_inc(&(vec)->count);
count             185 kernel/sched/cpupri.c 		atomic_dec(&(vec)->count);
count             206 kernel/sched/cpupri.c 		atomic_set(&vec->count, 0);
count              11 kernel/sched/cpupri.h 	atomic_t		count;
count            4937 kernel/sched/fair.c 	int count = 0;
count            4945 kernel/sched/fair.c 		if (++count > 3) {
count            4972 kernel/sched/fair.c 			count = 0;
count            1928 kernel/sched/sched.h static inline void add_nr_running(struct rq *rq, unsigned count)
count            1932 kernel/sched/sched.h 	rq->nr_running = prev_nr + count;
count            1944 kernel/sched/sched.h static inline void sub_nr_running(struct rq *rq, unsigned count)
count            1946 kernel/sched/sched.h 	rq->nr_running -= count;
count            1458 kernel/seccomp.c 	unsigned long count;
count            1475 kernel/seccomp.c 	count = 0;
count            1477 kernel/seccomp.c 		count++;
count            1479 kernel/seccomp.c 	if (filter_off >= count) {
count            1484 kernel/seccomp.c 	count -= filter_off;
count            1485 kernel/seccomp.c 	for (filter = orig; filter && count > 1; filter = filter->prev)
count            1486 kernel/seccomp.c 		count--;
count            1488 kernel/seccomp.c 	if (WARN_ON(count != 1 || !filter)) {
count            1350 kernel/signal.c 	int count = 0;
count            1356 kernel/signal.c 		count++;
count            1365 kernel/signal.c 	return count;
count            1576 kernel/signal.c 		int retval = 0, count = 0;
count            1584 kernel/signal.c 				++count;
count            1589 kernel/signal.c 		ret = count ? retval : -ESRCH;
count             519 kernel/softirq.c 			if (!atomic_read(&t->count)) {
count             554 kernel/softirq.c 	atomic_set(&t->count, 0);
count             676 kernel/time/clockevents.c 	ssize_t count = 0;
count             681 kernel/time/clockevents.c 		count = snprintf(buf, PAGE_SIZE, "%s\n", td->evtdev->name);
count             683 kernel/time/clockevents.c 	return count;
count             690 kernel/time/clockevents.c 				     const char *buf, size_t count)
count             693 kernel/time/clockevents.c 	ssize_t ret = sysfs_get_uname(buf, name, count);
count             715 kernel/time/clockevents.c 	return ret ? ret : count;
count            1045 kernel/time/clocksource.c 	ssize_t count = 0;
count            1048 kernel/time/clocksource.c 	count = snprintf(buf, PAGE_SIZE, "%s\n", curr_clocksource->name);
count            1051 kernel/time/clocksource.c 	return count;
count            1083 kernel/time/clocksource.c 					 const char *buf, size_t count)
count            1089 kernel/time/clocksource.c 	ret = sysfs_get_uname(buf, override_name, count);
count            1110 kernel/time/clocksource.c 					const char *buf, size_t count)
count            1116 kernel/time/clocksource.c 	ret = sysfs_get_uname(buf, name, count);
count            1130 kernel/time/clocksource.c 	return ret ? ret : count;
count            1147 kernel/time/clocksource.c 	ssize_t count = 0;
count            1157 kernel/time/clocksource.c 			count += snprintf(buf + count,
count            1158 kernel/time/clocksource.c 				  max((ssize_t)PAGE_SIZE - count, (ssize_t)0),
count            1163 kernel/time/clocksource.c 	count += snprintf(buf + count,
count            1164 kernel/time/clocksource.c 			  max((ssize_t)PAGE_SIZE - count, (ssize_t)0), "\n");
count            1166 kernel/time/clocksource.c 	return count;
count              40 kernel/time/posix-clock.c 				size_t count, loff_t *ppos)
count              49 kernel/time/posix-clock.c 		err = clk->ops.read(clk, fp->f_flags, buf, count);
count             101 kernel/time/test_udelay.c 		size_t count, loff_t *pos)
count             108 kernel/time/test_udelay.c 	if (count >= sizeof(lbuf))
count             111 kernel/time/test_udelay.c 	if (copy_from_user(lbuf, buf, count))
count             113 kernel/time/test_udelay.c 	lbuf[count] = '\0';
count             126 kernel/time/test_udelay.c 	return count;
count            1382 kernel/time/timer.c 	int count = preempt_count();
count            1409 kernel/time/timer.c 	if (count != preempt_count()) {
count            1411 kernel/time/timer.c 			  fn, count, preempt_count());
count            1418 kernel/time/timer.c 		preempt_count_set(count);
count             371 kernel/trace/blktrace.c 				size_t count, loff_t *ppos)
count             378 kernel/trace/blktrace.c 	return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf));
count             389 kernel/trace/blktrace.c 				size_t count, loff_t *ppos)
count             394 kernel/trace/blktrace.c 	if (count >= BLK_TN_MAX_MSG)
count             397 kernel/trace/blktrace.c 	msg = memdup_user_nul(buffer, count);
count             405 kernel/trace/blktrace.c 	return count;
count            1685 kernel/trace/blktrace.c 					  const char *buf, size_t count);
count            1840 kernel/trace/blktrace.c 					  const char *buf, size_t count)
count            1849 kernel/trace/blktrace.c 	if (count == 0)
count            1913 kernel/trace/blktrace.c 	return ret ? ret : count;
count            1170 kernel/trace/ftrace.c 	hash->count++;
count            1193 kernel/trace/ftrace.c 	hash->count--;
count            1201 kernel/trace/ftrace.c 	hash->count--;
count            1212 kernel/trace/ftrace.c 	if (!hash->count)
count            1220 kernel/trace/ftrace.c 	FTRACE_WARN_ON(hash->count);
count            1356 kernel/trace/ftrace.c 	FTRACE_WARN_ON(new_hash->count != hash->count);
count            1380 kernel/trace/ftrace.c 	int size = src->count;
count            1640 kernel/trace/ftrace.c 	int count = 0;
count            1776 kernel/trace/ftrace.c 		count++;
count            1782 kernel/trace/ftrace.c 		if (!all && count == hash->count)
count            2960 kernel/trace/ftrace.c static int ftrace_allocate_records(struct ftrace_page *pg, int count)
count            2965 kernel/trace/ftrace.c 	if (WARN_ON(!count))
count            2968 kernel/trace/ftrace.c 	order = get_count_order(DIV_ROUND_UP(count, ENTRIES_PER_PAGE));
count            2974 kernel/trace/ftrace.c 	while ((PAGE_SIZE << order) / ENTRY_SIZE >= count + ENTRIES_PER_PAGE)
count            2991 kernel/trace/ftrace.c 	if (cnt > count)
count            2992 kernel/trace/ftrace.c 		cnt = count;
count            4262 kernel/trace/ftrace.c 	if (free_func && mapper->hash.count) {
count            4319 kernel/trace/ftrace.c 	int count = 0;
count            4394 kernel/trace/ftrace.c 					if (probe_ops->free && count)
count            4401 kernel/trace/ftrace.c 			count++;
count            4407 kernel/trace/ftrace.c 	if (!count) {
count            4419 kernel/trace/ftrace.c 	probe->ref += count;
count            4428 kernel/trace/ftrace.c 		ret = count;
count            4438 kernel/trace/ftrace.c 	if (!probe_ops->free || !count)
count            4466 kernel/trace/ftrace.c 	int count = 0;
count            4530 kernel/trace/ftrace.c 			count++;
count            4537 kernel/trace/ftrace.c 	if (!count) {
count            4544 kernel/trace/ftrace.c 	WARN_ON(probe->ref < count);
count            4546 kernel/trace/ftrace.c 	probe->ref -= count;
count            5133 kernel/trace/ftrace.c 	if (*pos >= fgd->hash->count)
count            5581 kernel/trace/ftrace.c 	unsigned long count;
count            5587 kernel/trace/ftrace.c 	count = end - start;
count            5589 kernel/trace/ftrace.c 	if (!count)
count            5592 kernel/trace/ftrace.c 	sort(start, count, sizeof(*start),
count            5595 kernel/trace/ftrace.c 	start_pg = ftrace_allocate_pages(count);
count            6200 kernel/trace/ftrace.c 	unsigned long count, flags;
count            6209 kernel/trace/ftrace.c 	count = __stop_mcount_loc - __start_mcount_loc;
count            6210 kernel/trace/ftrace.c 	if (!count) {
count            6216 kernel/trace/ftrace.c 		count, count / ENTRIES_PER_PAGE + 1);
count            3523 kernel/trace/trace.c 	unsigned long count;
count            3525 kernel/trace/trace.c 	count = ring_buffer_entries_cpu(buf->buffer, cpu);
count            3532 kernel/trace/trace.c 		count -= per_cpu_ptr(buf->data, cpu)->skipped_entries;
count            3534 kernel/trace/trace.c 		*total = count;
count            3536 kernel/trace/trace.c 		*total = count +
count            3538 kernel/trace/trace.c 	*entries = count;
count            4410 kernel/trace/trace.c 		   size_t count, loff_t *ppos)
count            4412 kernel/trace/trace.c 	return count;
count            4444 kernel/trace/trace.c 		     size_t count, loff_t *ppos)
count            4458 kernel/trace/trace.c 	if (len >= count) {
count            4459 kernel/trace/trace.c 		count = -EINVAL;
count            4462 kernel/trace/trace.c 	count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len);
count            4467 kernel/trace/trace.c 	return count;
count            4472 kernel/trace/trace.c 		      size_t count, loff_t *ppos)
count            4481 kernel/trace/trace.c 	err = cpumask_parse_user(ubuf, count, tracing_cpumask_new);
count            4509 kernel/trace/trace.c 	return count;
count            5033 kernel/trace/trace.c 	if (*pos || m->count)
count            5106 kernel/trace/trace.c 	if (*pos || m->count)
count            6119 kernel/trace/trace.c 	size_t count;
count            6143 kernel/trace/trace.c 		count = trace_seq_used(&iter->seq) - save_len;
count            6144 kernel/trace/trace.c 		if (rem < count) {
count            6152 kernel/trace/trace.c 		rem -= count;
count            6828 kernel/trace/trace.c 				    size_t count, loff_t *ppos);
count            7180 kernel/trace/trace.c 				     size_t count, loff_t *ppos)
count            7182 kernel/trace/trace.c 	return count;
count            7255 kernel/trace/trace.c 		     size_t count, loff_t *ppos)
count            7262 kernel/trace/trace.c 	if (!count)
count            7291 kernel/trace/trace.c 				    count,
count            7312 kernel/trace/trace.c 	if (size > count)
count            7313 kernel/trace/trace.c 		size = count;
count            7525 kernel/trace/trace.c 		   size_t count, loff_t *ppos)
count            7579 kernel/trace/trace.c 	count = simple_read_from_buffer(ubuf, count, ppos,
count            7584 kernel/trace/trace.c 	return count;
count            7632 kernel/trace/trace.c 	long *count = NULL;
count            7635 kernel/trace/trace.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count            7637 kernel/trace/trace.c 	if (count) {
count            7639 kernel/trace/trace.c 		if (*count <= 0)
count            7642 kernel/trace/trace.c 		(*count)--;
count            7653 kernel/trace/trace.c 	long *count = NULL;
count            7660 kernel/trace/trace.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count            7662 kernel/trace/trace.c 	if (count)
count            7663 kernel/trace/trace.c 		seq_printf(m, ":count=%ld\n", *count);
count            7719 kernel/trace/trace.c 	void *count = (void *)-1;
count            7747 kernel/trace/trace.c 	ret = kstrtoul(number, 0, (unsigned long *)&count);
count            7756 kernel/trace/trace.c 	ret = register_ftrace_function_probe(glob, tr, ops, count);
count            9049 kernel/trace/trace.c 				size_t count, loff_t *ppos,
count            9061 kernel/trace/trace.c 	while (done < count) {
count            9062 kernel/trace/trace.c 		size = count - done;
count            9080 kernel/trace/trace.c 				if (done + size < count) {
count            9103 kernel/trace/trace.c 		} while (done < count);
count             881 kernel/trace/trace.h 	unsigned long		count;
count             891 kernel/trace/trace.h 	return !hash || !(hash->count || (hash->flags & FTRACE_HASH_FL_MOD));
count            1618 kernel/trace/trace.h 	unsigned long			count;
count            1901 kernel/trace/trace.h 		const char __user *buffer, size_t count, loff_t *ppos,
count             191 kernel/trace/trace_dynevent.c 				size_t count, loff_t *ppos)
count             193 kernel/trace/trace_dynevent.c 	return trace_parse_run_command(file, buffer, count, ppos,
count            2513 kernel/trace/trace_events.c 	unsigned long			count;
count            2558 kernel/trace/trace_events.c 	if (!edata->count)
count            2565 kernel/trace/trace_events.c 	if (edata->count != -1)
count            2566 kernel/trace/trace_events.c 		(edata->count)--;
count            2593 kernel/trace/trace_events.c 	if (edata->count == -1)
count            2596 kernel/trace/trace_events.c 		seq_printf(m, ":count=%ld\n", edata->count);
count            2744 kernel/trace/trace_events.c 	data->count = -1;
count            2760 kernel/trace/trace_events.c 	ret = kstrtoul(number, 0, &data->count);
count            1909 kernel/trace/trace_events_filter.c ftrace_function_filter_re(char *buf, int len, int *count)
count            1923 kernel/trace/trace_events_filter.c 	re = argv_split(GFP_KERNEL, str, count);
count            1517 kernel/trace/trace_events_hist.c 				  size_t count, loff_t *ppos)
count            1519 kernel/trace/trace_events_hist.c 	return trace_parse_run_command(file, buffer, count, ppos,
count            6287 kernel/trace/trace_events_hist.c 	trigger_data->count = -1;
count            6421 kernel/trace/trace_events_hist.c 	if (!data->count)
count            6424 kernel/trace/trace_events_hist.c 	if (data->count != -1)
count            6425 kernel/trace/trace_events_hist.c 		(data->count)--;
count             383 kernel/trace/trace_events_trigger.c 	long count = (long)data;
count             387 kernel/trace/trace_events_trigger.c 	if (count == -1)
count             390 kernel/trace/trace_events_trigger.c 		seq_printf(m, ":count=%ld", count);
count             643 kernel/trace/trace_events_trigger.c 	trigger_data->count = -1;
count             668 kernel/trace/trace_events_trigger.c 		ret = kstrtoul(number, 0, &trigger_data->count);
count             944 kernel/trace/trace_events_trigger.c 	if (!data->count)
count             947 kernel/trace/trace_events_trigger.c 	if (data->count != -1)
count             948 kernel/trace/trace_events_trigger.c 		(data->count)--;
count             970 kernel/trace/trace_events_trigger.c 	if (!data->count)
count             973 kernel/trace/trace_events_trigger.c 	if (data->count != -1)
count             974 kernel/trace/trace_events_trigger.c 		(data->count)--;
count             983 kernel/trace/trace_events_trigger.c 	return event_trigger_print("traceon", m, (void *)data->count,
count             991 kernel/trace/trace_events_trigger.c 	return event_trigger_print("traceoff", m, (void *)data->count,
count            1077 kernel/trace/trace_events_trigger.c 	if (!data->count)
count            1080 kernel/trace/trace_events_trigger.c 	if (data->count != -1)
count            1081 kernel/trace/trace_events_trigger.c 		(data->count)--;
count            1101 kernel/trace/trace_events_trigger.c 	return event_trigger_print("snapshot", m, (void *)data->count,
count            1177 kernel/trace/trace_events_trigger.c 	if (!data->count)
count            1180 kernel/trace/trace_events_trigger.c 	if (data->count != -1)
count            1181 kernel/trace/trace_events_trigger.c 		(data->count)--;
count            1190 kernel/trace/trace_events_trigger.c 	return event_trigger_print("stacktrace", m, (void *)data->count,
count            1262 kernel/trace/trace_events_trigger.c 	if (!data->count)
count            1269 kernel/trace/trace_events_trigger.c 	if (data->count != -1)
count            1270 kernel/trace/trace_events_trigger.c 		(data->count)--;
count            1288 kernel/trace/trace_events_trigger.c 	if (data->count == -1)
count            1291 kernel/trace/trace_events_trigger.c 		seq_printf(m, ":count=%ld", data->count);
count            1405 kernel/trace/trace_events_trigger.c 	trigger_data->count = -1;
count            1438 kernel/trace/trace_events_trigger.c 		ret = kstrtoul(number, 0, &trigger_data->count);
count             287 kernel/trace/trace_functions.c 	long *count;
count             319 kernel/trace/trace_functions.c 	count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count             320 kernel/trace/trace_functions.c 	old_count = *count;
count             339 kernel/trace/trace_functions.c 	*count = old_count - 1;
count             427 kernel/trace/trace_functions.c 	long *count;
count             440 kernel/trace/trace_functions.c 	count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count             447 kernel/trace/trace_functions.c 		old_count = *count;
count             453 kernel/trace/trace_functions.c 		new_count = cmpxchg(count, old_count, new_count);
count             467 kernel/trace/trace_functions.c 	long *count = NULL;
count             470 kernel/trace/trace_functions.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count             472 kernel/trace/trace_functions.c 	if (count) {
count             473 kernel/trace/trace_functions.c 		if (*count <= 0)
count             475 kernel/trace/trace_functions.c 		(*count)--;
count             506 kernel/trace/trace_functions.c 	long *count = NULL;
count             511 kernel/trace/trace_functions.c 		count = (long *)ftrace_func_mapper_find_ip(mapper, ip);
count             513 kernel/trace/trace_functions.c 	if (count)
count             514 kernel/trace/trace_functions.c 		seq_printf(m, ":count=%ld\n", *count);
count             642 kernel/trace/trace_functions.c 	void *count = (void *)-1;
count             665 kernel/trace/trace_functions.c 	ret = kstrtoul(number, 0, (unsigned long *)&count);
count             670 kernel/trace/trace_functions.c 	ret = register_ftrace_function_probe(glob, tr, ops, count);
count              93 kernel/trace/trace_hwlat.c 	u64	count;			/* total since reset */
count             247 kernel/trace/trace_hwlat.c 		hwlat_data.count++;
count             248 kernel/trace/trace_hwlat.c 		s.seqnum = hwlat_data.count;
count             585 kernel/trace/trace_hwlat.c 	hwlat_data.count = 0;
count             976 kernel/trace/trace_kprobe.c 			    size_t count, loff_t *ppos)
count             978 kernel/trace/trace_kprobe.c 	return trace_parse_run_command(file, buffer, count, ppos,
count             233 kernel/trace/trace_output.c trace_print_array_seq(struct trace_seq *p, const void *buf, int count,
count             239 kernel/trace/trace_output.c 	size_t buf_len = count * el_size;
count             581 kernel/trace/trace_probe.c 			if (kstrtouint(t2, 0, &parg->count) || !parg->count) {
count             586 kernel/trace/trace_probe.c 			if (parg->count > MAX_ARRAY_LEN) {
count             600 kernel/trace/trace_probe.c 		if (parg->count || (t && strcmp(t, "string")))
count             610 kernel/trace/trace_probe.c 	*size += parg->type->size * (parg->count ?: 1);
count             612 kernel/trace/trace_probe.c 	if (parg->count) {
count             618 kernel/trace/trace_probe.c 			 parg->count);
count             643 kernel/trace/trace_probe.c 		     parg->count) {
count             691 kernel/trace/trace_probe.c 	if (parg->count) {
count             707 kernel/trace/trace_probe.c 		code->param = parg->count;
count             862 kernel/trace/trace_probe.c 		if (parg->count) {
count             865 kernel/trace/trace_probe.c 			for (j = 1; j < parg->count; j++)
count             878 kernel/trace/trace_probe.c 		if (parg->count) {
count             884 kernel/trace/trace_probe.c 			for (j = 0; j < parg->count; j++)
count             935 kernel/trace/trace_probe.c 		if (parg->count)
count             936 kernel/trace/trace_probe.c 			size *= parg->count;
count            1112 kernel/trace/trace_probe.c 		     (a->args[i].count != b->args[i].count) ||
count             219 kernel/trace/trace_probe.h 	unsigned int		count;	/* Array count */
count             227 kernel/trace/trace_probe_tmpl.h 		if (likely(!a->count)) {
count             234 kernel/trace/trace_probe_tmpl.h 		for (j = 0; j < a->count; j++) {
count             237 kernel/trace/trace_probe_tmpl.h 			trace_seq_putc(s, j == a->count - 1 ? '}' : ',');
count              63 kernel/trace/trace_selftest.c static int __maybe_unused trace_test_buffer(struct trace_buffer *buf, unsigned long *count)
count              91 kernel/trace/trace_selftest.c 	if (count)
count              92 kernel/trace/trace_selftest.c 		*count = cnt;
count             330 kernel/trace/trace_selftest.c 	unsigned long count;
count             365 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->trace_buffer, &count);
count             369 kernel/trace/trace_selftest.c 	if (count) {
count             386 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->trace_buffer, &count);
count             392 kernel/trace/trace_selftest.c 	if (!ret && count != 1) {
count             394 kernel/trace/trace_selftest.c 		printk(KERN_CONT ".. filter failed count=%ld ..", count);
count             656 kernel/trace/trace_selftest.c 	unsigned long count;
count             685 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->trace_buffer, &count);
count             691 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count             758 kernel/trace/trace_selftest.c 	unsigned long count;
count             793 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->trace_buffer, &count);
count             801 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count             824 kernel/trace/trace_selftest.c 	unsigned long count;
count             853 kernel/trace/trace_selftest.c 		ret = trace_test_buffer(&tr->max_buffer, &count);
count             857 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count             873 kernel/trace/trace_selftest.c 	unsigned long count;
count             915 kernel/trace/trace_selftest.c 		ret = trace_test_buffer(&tr->max_buffer, &count);
count             919 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count             935 kernel/trace/trace_selftest.c 	unsigned long count;
count             983 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->max_buffer, &count);
count             987 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count            1013 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->max_buffer, &count);
count            1015 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count            1090 kernel/trace/trace_selftest.c 	unsigned long count;
count            1141 kernel/trace/trace_selftest.c 		ret = trace_test_buffer(&tr->max_buffer, &count);
count            1152 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count            1165 kernel/trace/trace_selftest.c 	unsigned long count;
count            1180 kernel/trace/trace_selftest.c 	ret = trace_test_buffer(&tr->trace_buffer, &count);
count            1184 kernel/trace/trace_selftest.c 	if (!ret && !count) {
count             326 kernel/trace/trace_stack.c 		    size_t count, loff_t *ppos)
count             335 kernel/trace/trace_stack.c 	return simple_read_from_buffer(ubuf, count, ppos, buf, r);
count             340 kernel/trace/trace_stack.c 		     size_t count, loff_t *ppos)
count             346 kernel/trace/trace_stack.c 	ret = kstrtoul_from_user(ubuf, count, 10, &val);
count             366 kernel/trace/trace_stack.c 	return count;
count             780 kernel/trace/trace_uprobe.c 			    size_t count, loff_t *ppos)
count             782 kernel/trace/trace_uprobe.c 	return trace_parse_run_command(file, buffer, count, ppos,
count              56 kernel/tracepoint.c static inline void *allocate_probes(int count)
count              58 kernel/tracepoint.c 	struct tp_probes *p  = kmalloc(struct_size(p, probes, count),
count             141 kernel/ucount.c 		new->count = 0;
count             152 kernel/ucount.c 	if (ucounts->count == INT_MAX)
count             155 kernel/ucount.c 		ucounts->count += 1;
count             165 kernel/ucount.c 	ucounts->count -= 1;
count             166 kernel/ucount.c 	if (!ucounts->count)
count              34 kernel/user.c  				.count = 4294967295U,
count              44 kernel/user.c  				.count = 4294967295U,
count              54 kernel/user.c  				.count = 4294967295U,
count              58 kernel/user.c  	.count = ATOMIC_INIT(3),
count             114 kernel/user_namespace.c 	atomic_set(&ns->count, 1);
count             200 kernel/user_namespace.c 	} while (atomic_dec_and_test(&parent->count));
count             216 kernel/user_namespace.c 	u32 count; /* == 0 unless used with map_id_range_down() */
count             229 kernel/user_namespace.c 	id2 = key->id + key->count - 1;
count             237 kernel/user_namespace.c 	last = first + el->count - 1;
count             254 kernel/user_namespace.c map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
count             259 kernel/user_namespace.c 	key.count = count;
count             272 kernel/user_namespace.c map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count)
count             277 kernel/user_namespace.c 	id2 = id + count - 1;
count             282 kernel/user_namespace.c 		last = first + map->extent[idx].count - 1;
count             290 kernel/user_namespace.c static u32 map_id_range_down(struct uid_gid_map *map, u32 id, u32 count)
count             297 kernel/user_namespace.c 		extent = map_id_range_down_base(extents, map, id, count);
count             299 kernel/user_namespace.c 		extent = map_id_range_down_max(extents, map, id, count);
count             329 kernel/user_namespace.c 		last = first + map->extent[idx].count - 1;
count             346 kernel/user_namespace.c 	key.count = 1;
count             593 kernel/user_namespace.c 		extent->count);
count             614 kernel/user_namespace.c 		extent->count);
count             635 kernel/user_namespace.c 		extent->count);
count             717 kernel/user_namespace.c 	upper_last = upper_first + extent->count - 1;
count             718 kernel/user_namespace.c 	lower_last = lower_first + extent->count - 1;
count             732 kernel/user_namespace.c 		prev_upper_last = prev_upper_first + prev->count - 1;
count             733 kernel/user_namespace.c 		prev_lower_last = prev_lower_first + prev->count - 1;
count             845 kernel/user_namespace.c 			 size_t count, loff_t *ppos,
count             859 kernel/user_namespace.c 	if ((*ppos != 0) || (count >= PAGE_SIZE))
count             863 kernel/user_namespace.c 	kbuf = memdup_user_nul(buf, count);
count             926 kernel/user_namespace.c 		extent.count = simple_strtoul(pos, &pos, 10);
count             943 kernel/user_namespace.c 		if ((extent.first + extent.count) <= extent.first)
count             945 kernel/user_namespace.c 		if ((extent.lower_first + extent.count) <=
count             986 kernel/user_namespace.c 						e->count);
count            1016 kernel/user_namespace.c 	*ppos = count;
count            1017 kernel/user_namespace.c 	ret = count;
count            1092 kernel/user_namespace.c 	if ((new_map->nr_extents == 1) && (new_map->extent[0].count == 1) &&
count            1134 kernel/user_namespace.c 			     size_t count, loff_t *ppos)
count            1144 kernel/user_namespace.c 	if ((*ppos != 0) || (count >= sizeof(kbuf)))
count            1149 kernel/user_namespace.c 	if (copy_from_user(kbuf, buf, count))
count            1151 kernel/user_namespace.c 	kbuf[count] = '\0';
count            1191 kernel/user_namespace.c 	*ppos = count;
count            1192 kernel/user_namespace.c 	ret = count;
count            5368 kernel/workqueue.c 				size_t count)
count            5377 kernel/workqueue.c 	return count;
count            5439 kernel/workqueue.c 			     const char *buf, size_t count)
count            5460 kernel/workqueue.c 	return ret ?: count;
count            5478 kernel/workqueue.c 				const char *buf, size_t count)
count            5497 kernel/workqueue.c 	return ret ?: count;
count            5515 kernel/workqueue.c 			     const char *buf, size_t count)
count            5536 kernel/workqueue.c 	return ret ?: count;
count            5566 kernel/workqueue.c 		struct device_attribute *attr, const char *buf, size_t count)
count            5579 kernel/workqueue.c 	return ret ? ret : count;
count              14 lib/argv_split.c 	int count = 0;
count              22 lib/argv_split.c 			count++;
count              26 lib/argv_split.c 	return count;
count             928 lib/bch.c      	unsigned int i, j, syn, syn0, count = 0;
count             944 lib/bch.c      			roots[count++] = GF_N(bch)-i;
count             945 lib/bch.c      			if (count == p->deg)
count             949 lib/bch.c      	return (count == p->deg) ? count : 0;
count             681 lib/btree.c    			       void *func2, int reap, int height, size_t count)
count             691 lib/btree.c    			count = __btree_for_each(head, geo, child, opaque,
count             692 lib/btree.c    					func, func2, reap, height - 1, count);
count             694 lib/btree.c    			func(child, opaque, bkey(geo, node, i), count++,
count             699 lib/btree.c    	return count;
count             753 lib/btree.c    	size_t count = 0;
count             758 lib/btree.c    		count = __btree_for_each(head, geo, head->node, opaque, func,
count             760 lib/btree.c    	return count;
count             771 lib/btree.c    	size_t count = 0;
count             776 lib/btree.c    		count = __btree_for_each(head, geo, head->node, opaque, func,
count             779 lib/btree.c    	return count;
count             214 lib/crypto/sha256.c 	partial = sctx->count & 0x3f;
count             215 lib/crypto/sha256.c 	sctx->count += len;
count             255 lib/crypto/sha256.c 	bits = cpu_to_be64(sctx->count << 3);
count             258 lib/crypto/sha256.c 	index = sctx->count & 0x3f;
count              18 lib/dynamic_queue_limits.c void dql_completed(struct dql *dql, unsigned int count)
count              27 lib/dynamic_queue_limits.c 	BUG_ON(count > num_queued - dql->num_completed);
count              29 lib/dynamic_queue_limits.c 	completed = dql->num_completed + count;
count             132 lib/fault-inject.c 		attr->count++;
count             133 lib/fault-inject.c 		if (attr->count % attr->interval)
count              44 lib/hexdump.c  int hex2bin(u8 *dst, const char *src, size_t count)
count              46 lib/hexdump.c  	while (count--) {
count              65 lib/hexdump.c  char *bin2hex(char *dst, const void *src, size_t count)
count              69 lib/hexdump.c  	while (count--)
count              41 lib/iomap.c    	static int count = 10;
count              42 lib/iomap.c    	if (count) {
count              43 lib/iomap.c    		count--;
count             278 lib/iomap.c    static inline void mmio_insb(void __iomem *addr, u8 *dst, int count)
count             280 lib/iomap.c    	while (--count >= 0) {
count             286 lib/iomap.c    static inline void mmio_insw(void __iomem *addr, u16 *dst, int count)
count             288 lib/iomap.c    	while (--count >= 0) {
count             294 lib/iomap.c    static inline void mmio_insl(void __iomem *addr, u32 *dst, int count)
count             296 lib/iomap.c    	while (--count >= 0) {
count             305 lib/iomap.c    static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count)
count             307 lib/iomap.c    	while (--count >= 0) {
count             312 lib/iomap.c    static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count)
count             314 lib/iomap.c    	while (--count >= 0) {
count             319 lib/iomap.c    static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count)
count             321 lib/iomap.c    	while (--count >= 0) {
count             328 lib/iomap.c    void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
count             330 lib/iomap.c    	IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count));
count             332 lib/iomap.c    void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
count             334 lib/iomap.c    	IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count));
count             336 lib/iomap.c    void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
count             338 lib/iomap.c    	IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count));
count             344 lib/iomap.c    void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
count             346 lib/iomap.c    	IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count));
count             348 lib/iomap.c    void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
count             350 lib/iomap.c    	IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count));
count             352 lib/iomap.c    void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
count             354 lib/iomap.c    	IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count));
count              21 lib/iomap_copy.c 					    size_t count)
count              25 lib/iomap_copy.c 	const u32 *end = src + count;
count              42 lib/iomap_copy.c void __ioread32_copy(void *to, const void __iomem *from, size_t count)
count              46 lib/iomap_copy.c 	const u32 __iomem *end = src + count;
count              65 lib/iomap_copy.c 					    size_t count)
count              70 lib/iomap_copy.c 	const u64 *end = src + count;
count              75 lib/iomap_copy.c 	__iowrite32_copy(to, from, count * 2);
count              98 lib/iov_iter.c 	if (unlikely(i->count < n))				\
count              99 lib/iov_iter.c 		n = i->count;					\
count             100 lib/iov_iter.c 	if (i->count) {						\
count             133 lib/iov_iter.c 		i->count -= n;					\
count             164 lib/iov_iter.c 	if (unlikely(bytes > i->count))
count             165 lib/iov_iter.c 		bytes = i->count;
count             233 lib/iov_iter.c 	i->count -= wanted - bytes;
count             248 lib/iov_iter.c 	if (unlikely(bytes > i->count))
count             249 lib/iov_iter.c 		bytes = i->count;
count             317 lib/iov_iter.c 	i->count -= wanted - bytes;
count             375 lib/iov_iter.c 	if (unlikely(bytes > i->count))
count             376 lib/iov_iter.c 		bytes = i->count;
count             407 lib/iov_iter.c 	i->count -= bytes;
count             438 lib/iov_iter.c 			size_t count)
count             453 lib/iov_iter.c 	i->count = count;
count             503 lib/iov_iter.c 	if (unlikely(size > i->count))
count             504 lib/iov_iter.c 		size = i->count;
count             561 lib/iov_iter.c 	i->count -= bytes;
count             598 lib/iov_iter.c 	i->count -= bytes;
count             671 lib/iov_iter.c 	i->count -= xfer;
count             764 lib/iov_iter.c 	if (unlikely(i->count < bytes))
count             846 lib/iov_iter.c 	if (unlikely(i->count < bytes))
count             945 lib/iov_iter.c 	i->count -= bytes;
count            1010 lib/iov_iter.c 	if (unlikely(i->count < size))
count            1011 lib/iov_iter.c 		size = i->count;
count            1028 lib/iov_iter.c 	i->count -= size;
count            1040 lib/iov_iter.c 		i->count -= size;
count            1053 lib/iov_iter.c 	i->count += unroll;
count            1119 lib/iov_iter.c 		return i->count;	// it is a silly place, anyway
count            1121 lib/iov_iter.c 		return i->count;
count            1123 lib/iov_iter.c 		return i->count;
count            1125 lib/iov_iter.c 		return min(i->count, i->bvec->bv_len - i->iov_offset);
count            1127 lib/iov_iter.c 		return min(i->count, i->iov->iov_len - i->iov_offset);
count            1133 lib/iov_iter.c 			size_t count)
count            1140 lib/iov_iter.c 	i->count = count;
count            1146 lib/iov_iter.c 			size_t count)
count            1153 lib/iov_iter.c 	i->count = count;
count            1159 lib/iov_iter.c 			size_t count)
count            1167 lib/iov_iter.c 	i->count = count;
count            1181 lib/iov_iter.c void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count)
count            1185 lib/iov_iter.c 	i->count = count;
count            1193 lib/iov_iter.c 	size_t size = i->count;
count            1212 lib/iov_iter.c 	size_t size = i->count;
count            1279 lib/iov_iter.c 	if (maxsize > i->count)
count            1280 lib/iov_iter.c 		maxsize = i->count;
count            1361 lib/iov_iter.c 	if (maxsize > i->count)
count            1362 lib/iov_iter.c 		maxsize = i->count;
count            1455 lib/iov_iter.c 	if (unlikely(i->count < bytes))
count            1553 lib/iov_iter.c 	size_t size = i->count;
count             835 lib/kobject.c  			       const char *buf, size_t count)
count             842 lib/kobject.c  		ret = kattr->store(kobj, kattr, buf, count);
count              62 lib/kobject_uevent.c static int kobject_action_type(const char *buf, size_t count,
count              71 lib/kobject_uevent.c 	if (count && (buf[count-1] == '\n' || buf[count-1] == '\0'))
count              72 lib/kobject_uevent.c 		count--;
count              74 lib/kobject_uevent.c 	if (!count)
count              77 lib/kobject_uevent.c 	args_start = strnchr(buf, count, ' ');
count              82 lib/kobject_uevent.c 		count_first = count;
count             114 lib/kobject_uevent.c static int kobject_action_args(const char *buf, size_t count,
count             122 lib/kobject_uevent.c 	if (count && (buf[count - 1] == '\n' || buf[count - 1] == '\0'))
count             123 lib/kobject_uevent.c 		count--;
count             125 lib/kobject_uevent.c 	if (!count)
count             133 lib/kobject_uevent.c 	if (count < UUID_STRING_LEN || !uuid_is_valid(buf) ||
count             142 lib/kobject_uevent.c 	buf_end = buf + count - 1;
count             192 lib/kobject_uevent.c int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count)
count             201 lib/kobject_uevent.c 	r = kobject_action_type(buf, count, &action, &action_args);
count             213 lib/kobject_uevent.c 				count - (action_args - buf), &env);
count             374 lib/kstrtox.c  int kstrtobool_from_user(const char __user *s, size_t count, bool *res)
count             379 lib/kstrtox.c  	count = min(count, sizeof(buf) - 1);
count             380 lib/kstrtox.c  	if (copy_from_user(buf, s, count))
count             382 lib/kstrtox.c  	buf[count] = '\0';
count             388 lib/kstrtox.c  int f(const char __user *s, size_t count, unsigned int base, type *res)	\
count             393 lib/kstrtox.c  	count = min(count, sizeof(buf) - 1);				\
count             394 lib/kstrtox.c  	if (copy_from_user(buf, s, count))				\
count             396 lib/kstrtox.c  	buf[count] = '\0';						\
count              59 lib/list_sort.c 	u8 count = 0;
count              92 lib/list_sort.c 		if (unlikely(!++count))
count             193 lib/list_sort.c 	size_t count = 0;	/* Count of pending */
count             224 lib/list_sort.c 		for (bits = count; bits & 1; bits >>= 1)
count             241 lib/list_sort.c 		count++;
count              38 lib/livepatch/test_klp_shadow_vars.c 	static int count;
count              49 lib/livepatch/test_klp_shadow_vars.c 	sp->id = count++;
count              47 lib/lockref.c  		new.count++;
count              53 lib/lockref.c  	lockref->count++;
count              68 lib/lockref.c  		new.count++;
count              69 lib/lockref.c  		if (old.count <= 0)
count              77 lib/lockref.c  	if (lockref->count > 0) {
count              78 lib/lockref.c  		lockref->count++;
count              96 lib/lockref.c  		new.count--;
count              97 lib/lockref.c  		if (old.count <= 1)
count             105 lib/lockref.c  	if (lockref->count > 1) {
count             106 lib/lockref.c  		lockref->count--;
count             123 lib/lockref.c  		new.count++;
count             124 lib/lockref.c  		if (old.count <= 0)
count             131 lib/lockref.c  	if (lockref->count <= 0)
count             133 lib/lockref.c  	lockref->count++;
count             149 lib/lockref.c  		new.count--;
count             150 lib/lockref.c  		if (old.count <= 0)
count             153 lib/lockref.c  		return new.count;
count             167 lib/lockref.c  		new.count--;
count             168 lib/lockref.c  		if (old.count <= 1)
count             175 lib/lockref.c  	if (lockref->count <= 1)
count             177 lib/lockref.c  	lockref->count--;
count             190 lib/lockref.c  	lockref->count = -128;
count             204 lib/lockref.c  		new.count++;
count             205 lib/lockref.c  		if (old.count < 0)
count             213 lib/lockref.c  	if (lockref->count >= 0) {
count             214 lib/lockref.c  		lockref->count++;
count             265 lib/logic_pio.c 		   unsigned int count)					\
count             268 lib/logic_pio.c 		reads##bw(PCI_IOBASE + addr, buffer, count);		\
count             274 lib/logic_pio.c 				addr, buffer, sizeof(type), count);	\
count             282 lib/logic_pio.c 		    unsigned int count)					\
count             285 lib/logic_pio.c 		writes##bw(PCI_IOBASE + addr, buffer, count);		\
count             291 lib/logic_pio.c 				addr, buffer, sizeof(type), count);	\
count             570 lib/nlattr.c   int nla_memcpy(void *dest, const struct nlattr *src, int count)
count             572 lib/nlattr.c   	int minlen = min_t(int, count, nla_len(src));
count             575 lib/nlattr.c   	if (count > minlen)
count             576 lib/nlattr.c   		memset(dest + minlen, 0, count - minlen);
count             112 lib/oid_registry.c 	int count;
count             118 lib/oid_registry.c 	ret = count = snprintf(buffer, bufsize, "%u.%u", n / 40, n % 40);
count             119 lib/oid_registry.c 	if (count >= bufsize)
count             121 lib/oid_registry.c 	buffer += count;
count             122 lib/oid_registry.c 	bufsize -= count;
count             139 lib/oid_registry.c 		ret += count = snprintf(buffer, bufsize, ".%lu", num);
count             140 lib/oid_registry.c 		if (count >= bufsize)
count             142 lib/oid_registry.c 		buffer += count;
count             143 lib/oid_registry.c 		bufsize -= count;
count              54 lib/parman.c   	unsigned long count;
count             128 lib/parman.c   			       unsigned long count)
count             130 lib/parman.c   	parman->ops->move(parman->priv, item->index, to_index, count);
count             190 lib/parman.c   	if (parman->count + 1 > parman->limit_count) {
count             204 lib/parman.c   	parman->count++;
count             215 lib/parman.c   	parman->count--;
count             216 lib/parman.c   	if (parman->limit_count - parman->count >= parman->ops->resize_step)
count              87 lib/percpu-refcount.c 	atomic_long_set(&ref->count, start_count);
count             137 lib/percpu-refcount.c 	unsigned long count = 0;
count             141 lib/percpu-refcount.c 		count += *per_cpu_ptr(percpu_count, cpu);
count             144 lib/percpu-refcount.c 		 atomic_long_read(&ref->count), (long)count);
count             158 lib/percpu-refcount.c 	atomic_long_add((long)count - PERCPU_COUNT_BIAS, &ref->count);
count             160 lib/percpu-refcount.c 	WARN_ONCE(atomic_long_read(&ref->count) <= 0,
count             162 lib/percpu-refcount.c 		  ref->release, atomic_long_read(&ref->count));
count             207 lib/percpu-refcount.c 	atomic_long_add(PERCPU_COUNT_BIAS, &ref->count);
count              70 lib/percpu_counter.c 	fbc->count = amount;
count              84 lib/percpu_counter.c 	s64 count;
count              87 lib/percpu_counter.c 	count = __this_cpu_read(*fbc->counters) + amount;
count              88 lib/percpu_counter.c 	if (count >= batch || count <= -batch) {
count              91 lib/percpu_counter.c 		fbc->count += count;
count              92 lib/percpu_counter.c 		__this_cpu_sub(*fbc->counters, count - amount);
count             112 lib/percpu_counter.c 	ret = fbc->count;
count             129 lib/percpu_counter.c 	fbc->count = amount;
count             189 lib/percpu_counter.c 		fbc->count += *pcount;
count             204 lib/percpu_counter.c 	s64	count;
count             206 lib/percpu_counter.c 	count = percpu_counter_read(fbc);
count             208 lib/percpu_counter.c 	if (abs(count - rhs) > (batch * num_online_cpus())) {
count             209 lib/percpu_counter.c 		if (count > rhs)
count             215 lib/percpu_counter.c 	count = percpu_counter_sum(fbc);
count             216 lib/percpu_counter.c 	if (count > rhs)
count             218 lib/percpu_counter.c 	else if (count < rhs)
count             245 lib/radix-tree.c 			unsigned int count, unsigned int nr_values)
count             291 lib/radix-tree.c 		ret->count = count;
count             493 lib/radix-tree.c 		if (node->count != 1)
count             539 lib/radix-tree.c 		node->count = 0;
count             560 lib/radix-tree.c 		if (node->count) {
count             570 lib/radix-tree.c 			parent->count--;
count             639 lib/radix-tree.c 				node->count++;
count             697 lib/radix-tree.c 		node->count++;
count             833 lib/radix-tree.c 		struct radix_tree_node *node, int count, int values)
count             835 lib/radix-tree.c 	if (node && (count || values)) {
count             836 lib/radix-tree.c 		node->count += count;
count             890 lib/radix-tree.c 	int count = calculate_count(root, node, slot, item, old);
count             898 lib/radix-tree.c 			(count || values));
count             899 lib/radix-tree.c 	replace_slot(slot, item, node, count, values);
count            1522 lib/radix-tree.c 				node->count++;
count             165 lib/rbtree_test.c 	int count;
count             166 lib/rbtree_test.c 	for (count = 0; rb; rb = rb_parent(rb))
count             167 lib/rbtree_test.c 		count += !is_red(rb);
count             168 lib/rbtree_test.c 	return count;
count             174 lib/rbtree_test.c 	int count = 0;
count             176 lib/rbtree_test.c 		count++;
count             178 lib/rbtree_test.c 	WARN_ON_ONCE(count != nr_nodes);
count             184 lib/rbtree_test.c 	int count = 0;
count             186 lib/rbtree_test.c 		count++;
count             188 lib/rbtree_test.c 	WARN_ON_ONCE(count != nr_nodes);
count             194 lib/rbtree_test.c 	int count = 0, blacks = 0;
count             202 lib/rbtree_test.c 		if (!count)
count             208 lib/rbtree_test.c 		count++;
count             211 lib/rbtree_test.c 	WARN_ON_ONCE(count != nr_nodes);
count             212 lib/rbtree_test.c 	WARN_ON_ONCE(count < (1 << black_path_count(rb_last(&root.rb_root))) - 1);
count              24 lib/reed_solomon/decode_rs.c 	int count = 0;
count             199 lib/reed_solomon/decode_rs.c 	count = 0;		/* Number of roots of lambda(x) */
count             217 lib/reed_solomon/decode_rs.c 		root[count] = i;
count             218 lib/reed_solomon/decode_rs.c 		loc[count] = k;
count             222 lib/reed_solomon/decode_rs.c 		if (++count == deg_lambda)
count             225 lib/reed_solomon/decode_rs.c 	if (deg_lambda != count) {
count             253 lib/reed_solomon/decode_rs.c 	for (j = count - 1; j >= 0; j--) {
count             291 lib/reed_solomon/decode_rs.c 		for (j = 0; j < count; j++) {
count             309 lib/reed_solomon/decode_rs.c 		for (i = 0; i < count; i++) {
count             317 lib/reed_solomon/decode_rs.c 		for (i = 0; i < count; i++) {
count             114 lib/string.c   char *strncpy(char *dest, const char *src, size_t count)
count             118 lib/string.c   	while (count) {
count             122 lib/string.c   		count--;
count             180 lib/string.c   ssize_t strscpy(char *dest, const char *src, size_t count)
count             183 lib/string.c   	size_t max = count;
count             186 lib/string.c   	if (count == 0 || WARN_ON_ONCE(count > INT_MAX))
count             217 lib/string.c   		count -= sizeof(unsigned long);
count             221 lib/string.c   	while (count) {
count             229 lib/string.c   		count--;
count             261 lib/string.c   ssize_t strscpy_pad(char *dest, const char *src, size_t count)
count             265 lib/string.c   	written = strscpy(dest, src, count);
count             266 lib/string.c   	if (written < 0 || written == count - 1)
count             269 lib/string.c   	memset(dest + written + 1, 0, count - written - 1);
count             305 lib/string.c   char *strncat(char *dest, const char *src, size_t count)
count             309 lib/string.c   	if (count) {
count             313 lib/string.c   			if (--count == 0) {
count             331 lib/string.c   size_t strlcat(char *dest, const char *src, size_t count)
count             338 lib/string.c   	BUG_ON(dsize >= count);
count             341 lib/string.c   	count -= dsize;
count             342 lib/string.c   	if (len >= count)
count             343 lib/string.c   		len = count-1;
count             382 lib/string.c   int strncmp(const char *cs, const char *ct, size_t count)
count             386 lib/string.c   	while (count) {
count             393 lib/string.c   		count--;
count             465 lib/string.c   char *strnchr(const char *s, size_t count, int c)
count             467 lib/string.c   	while (count--) {
count             540 lib/string.c   size_t strnlen(const char *s, size_t count)
count             544 lib/string.c   	for (sc = s; count-- && *sc != '\0'; ++sc)
count             561 lib/string.c   	size_t count = 0;
count             569 lib/string.c   			return count;
count             570 lib/string.c   		++count;
count             572 lib/string.c   	return count;
count             588 lib/string.c   	size_t count = 0;
count             593 lib/string.c   				return count;
count             595 lib/string.c   		++count;
count             597 lib/string.c   	return count;
count             740 lib/string.c   void *memset(void *s, int c, size_t count)
count             744 lib/string.c   	while (count--)
count             762 lib/string.c   void *memset16(uint16_t *s, uint16_t v, size_t count)
count             766 lib/string.c   	while (count--)
count             784 lib/string.c   void *memset32(uint32_t *s, uint32_t v, size_t count)
count             788 lib/string.c   	while (count--)
count             806 lib/string.c   void *memset64(uint64_t *s, uint64_t v, size_t count)
count             810 lib/string.c   	while (count--)
count             827 lib/string.c   void *memcpy(void *dest, const void *src, size_t count)
count             832 lib/string.c   	while (count--)
count             848 lib/string.c   void *memmove(void *dest, const void *src, size_t count)
count             856 lib/string.c   		while (count--)
count             860 lib/string.c   		tmp += count;
count             862 lib/string.c   		s += count;
count             863 lib/string.c   		while (count--)
count             879 lib/string.c   __visible int memcmp(const void *cs, const void *ct, size_t count)
count             884 lib/string.c   	for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
count              28 lib/strncpy_from_user.c 					unsigned long count, unsigned long max)
count              68 lib/strncpy_from_user.c 	if (res >= count)
count              97 lib/strncpy_from_user.c long strncpy_from_user(char *dst, const char __user *src, long count)
count             101 lib/strncpy_from_user.c 	if (unlikely(count <= 0))
count             114 lib/strncpy_from_user.c 		if (max > count)
count             115 lib/strncpy_from_user.c 			max = count;
count             117 lib/strncpy_from_user.c 		kasan_check_write(dst, count);
count             118 lib/strncpy_from_user.c 		check_object_size(dst, count, false);
count             120 lib/strncpy_from_user.c 			retval = do_strncpy_from_user(dst, src, count, max);
count              23 lib/strnlen_user.c static inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned long max)
count              60 lib/strnlen_user.c 	if (res >= count)
count              61 lib/strnlen_user.c 		return count+1;
count              92 lib/strnlen_user.c long strnlen_user(const char __user *str, long count)
count              96 lib/strnlen_user.c 	if (unlikely(count <= 0))
count             109 lib/strnlen_user.c 		if (max > count)
count             110 lib/strnlen_user.c 			max = count;
count             113 lib/strnlen_user.c 			retval = do_strnlen_user(str, count, max);
count             165 lib/test_firmware.c static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp)
count             167 lib/test_firmware.c 	*dst = kstrndup(name, count, gfp);
count             170 lib/test_firmware.c 	return count;
count             199 lib/test_firmware.c 			   const char *buf, size_t count)
count             216 lib/test_firmware.c 	ret = count;
count             270 lib/test_firmware.c 				 const char *buf, size_t count)
count             276 lib/test_firmware.c 	ret = __kstrncpy(&test_fw_config->name, buf, count, GFP_KERNEL);
count             377 lib/test_firmware.c 					 const char *buf, size_t count)
count             390 lib/test_firmware.c 	rc = test_dev_config_update_u8(buf, count,
count             407 lib/test_firmware.c 				     const char *buf, size_t count)
count             410 lib/test_firmware.c 					   count,
count             424 lib/test_firmware.c 					const char *buf, size_t count)
count             426 lib/test_firmware.c 	int rc = test_dev_config_update_bool(buf, count,
count             429 lib/test_firmware.c 	if (rc == count)
count             446 lib/test_firmware.c 					const char *buf, size_t count)
count             448 lib/test_firmware.c 	return test_dev_config_update_bool(buf, count,
count             462 lib/test_firmware.c 					const char *buf, size_t count)
count             464 lib/test_firmware.c 	return test_dev_config_update_u8(buf, count,
count             479 lib/test_firmware.c 				     const char *buf, size_t count)
count             484 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
count             499 lib/test_firmware.c 	rc = count;
count             520 lib/test_firmware.c 					   const char *buf, size_t count)
count             525 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
count             548 lib/test_firmware.c 		rc = count;
count             563 lib/test_firmware.c 					     const char *buf, size_t count)
count             568 lib/test_firmware.c 	name = kstrndup(buf, count, GFP_KERNEL);
count             592 lib/test_firmware.c 		rc = count;
count             659 lib/test_firmware.c 					      const char *buf, size_t count)
count             695 lib/test_firmware.c 	rc = count;
count             756 lib/test_firmware.c 					     const char *buf, size_t count)
count             798 lib/test_firmware.c 	rc = count;
count             837 lib/test_firmware.c 					  const char *buf, size_t count)
count             840 lib/test_firmware.c 	return count;
count             566 lib/test_kmod.c 		     const char *buf, size_t count)
count             593 lib/test_kmod.c 	ret = count;
count             604 lib/test_kmod.c static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp)
count             606 lib/test_kmod.c 	*dst = kstrndup(name, count, gfp);
count             609 lib/test_kmod.c 	return count;
count             614 lib/test_kmod.c 				    size_t count)
count             616 lib/test_kmod.c 	return __kstrncpy(&config->test_driver, name, count, GFP_KERNEL);
count             621 lib/test_kmod.c 			       size_t count)
count             623 lib/test_kmod.c 	return __kstrncpy(&config->test_fs, name, count, GFP_KERNEL);
count             654 lib/test_kmod.c 					const char *buf, size_t count)
count             665 lib/test_kmod.c 	copied = config_copy_test_driver_name(config, buf, count);
count             701 lib/test_kmod.c 				    const char *buf, size_t count)
count             712 lib/test_kmod.c 	copied = config_copy_test_fs(config, buf, count);
count             847 lib/test_kmod.c 			   const char *buf, size_t count)
count             864 lib/test_kmod.c 	ret = count;
count             984 lib/test_kmod.c 				 const char *buf, size_t count)
count             989 lib/test_kmod.c 	return test_dev_config_update_int(test_dev, buf, count,
count             995 lib/test_kmod.c 					const char *buf, size_t count)
count            1000 lib/test_kmod.c 	return test_dev_config_update_uint_sync(test_dev, buf, count,
count            1018 lib/test_kmod.c 				      const char *buf, size_t count)
count            1023 lib/test_kmod.c 	return test_dev_config_update_uint_range(test_dev, buf, count,
count              72 lib/test_list_sort.c 	int i, count = 1, err = -ENOMEM;
count             127 lib/test_list_sort.c 		count++;
count             135 lib/test_list_sort.c 	if (count != TEST_LIST_LEN) {
count             136 lib/test_list_sort.c 		pr_err("error: bad list length %d", count);
count             419 lib/test_objagg.c #define EXPECT_STATS(count, ...)		\
count             421 lib/test_objagg.c 	.info_count = count,			\
count              90 lib/test_parman.c #define ITEM_PTRS_SIZE(count) (sizeof(struct test_parman_item *) * (count))
count             114 lib/test_parman.c 			     unsigned long to_index, unsigned long count)
count             120 lib/test_parman.c 		ITEM_PTRS_SIZE(count));
count             121 lib/test_parman.c 	memset(&prio_array[from_index], 0, ITEM_PTRS_SIZE(count));
count              29 lib/test_strscpy.c static int __init tc(char *src, int count, int expected,
count              50 lib/test_strscpy.c 	max_expected = count - 1;    /* Space for the null */
count              51 lib/test_strscpy.c 	if (count > max_count) {
count              52 lib/test_strscpy.c 		pr_err("count (%d) is too big (%d) ... aborting", count, max_count);
count              60 lib/test_strscpy.c 	written = strscpy_pad(buf, src, count);
count              66 lib/test_strscpy.c 	if (count && written == -E2BIG) {
count              67 lib/test_strscpy.c 		if (strncmp(buf, src, count - 1) != 0) {
count              71 lib/test_strscpy.c 		if (buf[count - 1] != '\0') {
count              85 lib/test_strscpy.c 		if (buf[count - 1] != '\0') {
count             258 lib/test_xarray.c 	unsigned int count = 0;
count             277 lib/test_xarray.c 		count++;
count             279 lib/test_xarray.c 	XA_BUG_ON(xa, count != 1000);
count             405 lib/test_xarray.c 	int count;
count             443 lib/test_xarray.c 	count = 0;
count             446 lib/test_xarray.c 		count++;
count             448 lib/test_xarray.c 	XA_BUG_ON(xa, count != 2);
count             584 lib/test_xarray.c 	XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 2);
count             594 lib/test_xarray.c 	XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 3);
count             606 lib/test_xarray.c 	XA_BUG_ON(xa, xa_to_node(xa_head(xa))->count != 4);
count             847 lib/test_xarray.c 	unsigned int count = 0;
count             855 lib/test_xarray.c 		count++;
count             860 lib/test_xarray.c 		count = 0;
count             864 lib/test_xarray.c 	XA_BUG_ON(xa, count != present);
count            1165 lib/test_xarray.c 	unsigned int count = 0;
count            1175 lib/test_xarray.c 		XA_BUG_ON(xa, entry != xa_mk_index(1UL << count));
count            1176 lib/test_xarray.c 		count++;
count            1179 lib/test_xarray.c 	XA_BUG_ON(xa, count != order_limit);
count            1181 lib/test_xarray.c 	count = 0;
count            1185 lib/test_xarray.c 		XA_BUG_ON(xa, entry != xa_mk_index(1UL << count));
count            1186 lib/test_xarray.c 		count++;
count            1190 lib/test_xarray.c 	XA_BUG_ON(xa, count != order_limit);
count            1562 lib/test_xarray.c 	if (node->count && node->count == node->nr_values) {
count            1634 lib/test_xarray.c 		XA_BUG_ON(xa, xas.xa_node->count == 0);
count            1635 lib/test_xarray.c 		XA_BUG_ON(xa, xas.xa_node->count > (1 << order));
count            1641 lib/test_xarray.c 		XA_BUG_ON(xa, xas.xa_node->count != xas.xa_node->nr_values * 2);
count            1557 lib/vsprintf.c 	int count = 1;
count            1568 lib/vsprintf.c 		switch (fmt[count++]) {
count            1758 lib/vsprintf.c 	int count = 2;
count            1763 lib/vsprintf.c 	switch (fmt[count]) {
count            1766 lib/vsprintf.c 		count++;
count            1770 lib/vsprintf.c 		count++;
count            1774 lib/vsprintf.c 	raw = fmt[count] == 'r';
count             380 lib/xarray.c   		parent->count++;
count             381 lib/xarray.c   		XA_NODE_BUG_ON(node, parent->count > XA_CHUNK_SIZE);
count             387 lib/xarray.c   	node->count = 0;
count             441 lib/xarray.c   		XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
count             442 lib/xarray.c   		if (node->count != 1)
count             457 lib/xarray.c   		node->count = 0;
count             484 lib/xarray.c   		XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
count             485 lib/xarray.c   		if (node->count)
count             500 lib/xarray.c   		parent->count--;
count             501 lib/xarray.c   		XA_NODE_BUG_ON(parent, parent->count > XA_CHUNK_SIZE);
count             540 lib/xarray.c   			node->count = 0;
count             582 lib/xarray.c   		node->count = 1;
count             742 lib/xarray.c   		int count, int values)
count             744 lib/xarray.c   	if (!node || (!count && !values))
count             747 lib/xarray.c   	node->count += count;
count             749 lib/xarray.c   	XA_NODE_BUG_ON(node, node->count > XA_CHUNK_SIZE);
count             752 lib/xarray.c   	if (count < 0)
count             774 lib/xarray.c   	int count = 0;
count             818 lib/xarray.c   		count += !next - !entry;
count             838 lib/xarray.c   	update_node(xas, node, count, values);
count            2021 lib/xarray.c   		node->parent, node->shift, node->count, node->nr_values,
count              87 lib/xz/xz_dec_stream.c 		vli_type count;
count             109 lib/xz/xz_dec_stream.c 		vli_type count;
count             274 lib/xz/xz_dec_stream.c 		++s->block.count;
count             309 lib/xz/xz_dec_stream.c 			s->index.count = s->vli;
count             316 lib/xz/xz_dec_stream.c 			if (s->index.count != s->block.count)
count             333 lib/xz/xz_dec_stream.c 			--s->index.count;
count             337 lib/xz/xz_dec_stream.c 	} while (s->index.count > 0);
count             636 lib/zlib_deflate/deftree.c     int count = 0;             /* repeat count of the current code */
count             645 lib/zlib_deflate/deftree.c         if (++count < max_count && curlen == nextlen) {
count             647 lib/zlib_deflate/deftree.c         } else if (count < min_count) {
count             648 lib/zlib_deflate/deftree.c             s->bl_tree[curlen].Freq += count;
count             652 lib/zlib_deflate/deftree.c         } else if (count <= 10) {
count             657 lib/zlib_deflate/deftree.c         count = 0; prevlen = curlen;
count             682 lib/zlib_deflate/deftree.c     int count = 0;             /* repeat count of the current code */
count             691 lib/zlib_deflate/deftree.c         if (++count < max_count && curlen == nextlen) {
count             693 lib/zlib_deflate/deftree.c         } else if (count < min_count) {
count             694 lib/zlib_deflate/deftree.c             do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
count             698 lib/zlib_deflate/deftree.c                 send_code(s, curlen, s->bl_tree); count--;
count             700 lib/zlib_deflate/deftree.c             Assert(count >= 3 && count <= 6, " 3_6?");
count             701 lib/zlib_deflate/deftree.c             send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2);
count             703 lib/zlib_deflate/deftree.c         } else if (count <= 10) {
count             704 lib/zlib_deflate/deftree.c             send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3);
count             707 lib/zlib_deflate/deftree.c             send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7);
count             709 lib/zlib_deflate/deftree.c         count = 0; prevlen = curlen;
count              44 lib/zlib_inflate/inftrees.c     unsigned short count[MAXBITS+1];    /* number of codes of each length */
count              94 lib/zlib_inflate/inftrees.c         count[len] = 0;
count              96 lib/zlib_inflate/inftrees.c         count[lens[sym]]++;
count             101 lib/zlib_inflate/inftrees.c         if (count[max] != 0) break;
count             113 lib/zlib_inflate/inftrees.c         if (count[min] != 0) break;
count             120 lib/zlib_inflate/inftrees.c         left -= count[len];
count             129 lib/zlib_inflate/inftrees.c         offs[len + 1] = offs[len] + count[len];
count             240 lib/zlib_inflate/inftrees.c         if (--(count[len]) == 0) {
count             258 lib/zlib_inflate/inftrees.c                 left -= count[curr + drop];
count             604 lib/zstd/compress.c 	U32 *count;
count             610 lib/zstd/compress.c 		count = (U32 *)zc->tmpCounters + spaceUsed32;
count             653 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, workspace);
count             666 lib/zstd/compress.c 			if (count[llCodeTable[nbSeq - 1]] > 1) {
count             667 lib/zstd/compress.c 				count[llCodeTable[nbSeq - 1]]--;
count             670 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
count             685 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, ofCodeTable, nbSeq, workspace);
count             698 lib/zstd/compress.c 			if (count[ofCodeTable[nbSeq - 1]] > 1) {
count             699 lib/zstd/compress.c 				count[ofCodeTable[nbSeq - 1]]--;
count             702 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
count             717 lib/zstd/compress.c 		size_t const mostFrequent = FSE_countFast_wksp(count, &max, mlCodeTable, nbSeq, workspace);
count             730 lib/zstd/compress.c 			if (count[mlCodeTable[nbSeq - 1]] > 1) {
count             731 lib/zstd/compress.c 				count[mlCodeTable[nbSeq - 1]]--;
count             734 lib/zstd/compress.c 			FSE_normalizeCount(norm, tableLog, count, nbSeq_1, max);
count             119 lib/zstd/entropy_common.c 			int count;
count             122 lib/zstd/entropy_common.c 				count = bitStream & (threshold - 1);
count             125 lib/zstd/entropy_common.c 				count = bitStream & (2 * threshold - 1);
count             126 lib/zstd/entropy_common.c 				if (count >= threshold)
count             127 lib/zstd/entropy_common.c 					count -= max;
count             131 lib/zstd/entropy_common.c 			count--;				 /* extra accuracy */
count             132 lib/zstd/entropy_common.c 			remaining -= count < 0 ? -count : count; /* -1 means +1 */
count             133 lib/zstd/entropy_common.c 			normalizedCounter[charnum++] = (short)count;
count             134 lib/zstd/entropy_common.c 			previous0 = !count;
count             107 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t srcSize, unsigned maxSymbolValue);
count             249 lib/zstd/fse.h size_t FSE_count_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace);
count             255 lib/zstd/fse.h size_t FSE_countFast_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize, unsigned *workSpace);
count             261 lib/zstd/fse.h size_t FSE_count_simple(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize);
count             262 lib/zstd/fse_compress.c 			int count = normalizedCounter[charnum++];
count             264 lib/zstd/fse_compress.c 			remaining -= count < 0 ? -count : count;
count             265 lib/zstd/fse_compress.c 			count++; /* +1 for extra accuracy */
count             266 lib/zstd/fse_compress.c 			if (count >= threshold)
count             267 lib/zstd/fse_compress.c 				count += max; /* [0..max[ [max..threshold[ (...) [threshold+max 2*threshold[ */
count             268 lib/zstd/fse_compress.c 			bitStream += count << bitCount;
count             270 lib/zstd/fse_compress.c 			bitCount -= (count < max);
count             271 lib/zstd/fse_compress.c 			previous0 = (count == 1);
count             324 lib/zstd/fse_compress.c size_t FSE_count_simple(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize)
count             331 lib/zstd/fse_compress.c 	memset(count, 0, (maxSymbolValue + 1) * sizeof(*count));
count             338 lib/zstd/fse_compress.c 		count[*ip++]++;
count             340 lib/zstd/fse_compress.c 	while (!count[maxSymbolValue])
count             347 lib/zstd/fse_compress.c 			if (count[s] > max)
count             348 lib/zstd/fse_compress.c 				max = count[s];
count             357 lib/zstd/fse_compress.c static size_t FSE_count_parallel_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned checkMax,
count             373 lib/zstd/fse_compress.c 		memset(count, 0, maxSymbolValue + 1);
count             433 lib/zstd/fse_compress.c 			count[s] = Counting1[s] + Counting2[s] + Counting3[s] + Counting4[s];
count             434 lib/zstd/fse_compress.c 			if (count[s] > max)
count             435 lib/zstd/fse_compress.c 				max = count[s];
count             439 lib/zstd/fse_compress.c 	while (!count[maxSymbolValue])
count             448 lib/zstd/fse_compress.c size_t FSE_countFast_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace)
count             451 lib/zstd/fse_compress.c 		return FSE_count_simple(count, maxSymbolValuePtr, source, sourceSize);
count             452 lib/zstd/fse_compress.c 	return FSE_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, 0, workSpace);
count             458 lib/zstd/fse_compress.c size_t FSE_count_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned *workSpace)
count             461 lib/zstd/fse_compress.c 		return FSE_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, 1, workSpace);
count             463 lib/zstd/fse_compress.c 	return FSE_countFast_wksp(count, maxSymbolValuePtr, source, sourceSize, workSpace);
count             519 lib/zstd/fse_compress.c static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 maxSymbolValue)
count             531 lib/zstd/fse_compress.c 		if (count[s] == 0) {
count             535 lib/zstd/fse_compress.c 		if (count[s] <= lowThreshold) {
count             538 lib/zstd/fse_compress.c 			total -= count[s];
count             541 lib/zstd/fse_compress.c 		if (count[s] <= lowOne) {
count             544 lib/zstd/fse_compress.c 			total -= count[s];
count             556 lib/zstd/fse_compress.c 			if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) {
count             559 lib/zstd/fse_compress.c 				total -= count[s];
count             572 lib/zstd/fse_compress.c 			if (count[s] > maxC)
count             573 lib/zstd/fse_compress.c 				maxV = s, maxC = count[s];
count             593 lib/zstd/fse_compress.c 				U64 const end = tmpTotal + (count[s] * rStep);
count             608 lib/zstd/fse_compress.c size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t total, unsigned maxSymbolValue)
count             632 lib/zstd/fse_compress.c 			if (count[s] == total)
count             634 lib/zstd/fse_compress.c 			if (count[s] == 0) {
count             638 lib/zstd/fse_compress.c 			if (count[s] <= lowThreshold) {
count             642 lib/zstd/fse_compress.c 				short proba = (short)((count[s] * step) >> scale);
count             645 lib/zstd/fse_compress.c 					proba += (count[s] * step) - ((U64)proba << scale) > restToBeat;
count             655 lib/zstd/fse_compress.c 			size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue);
count             152 lib/zstd/huf.h size_t HUF_buildCTable_wksp(HUF_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize);
count              92 lib/zstd/huf_compress.c 	U32 *count;
count             100 lib/zstd/huf_compress.c 	count = (U32 *)workspace + spaceUsed32;
count             116 lib/zstd/huf_compress.c 		CHECK_V_F(maxCount, FSE_count_simple(count, &maxSymbolValue, weightTable, wtSize));
count             124 lib/zstd/huf_compress.c 	CHECK_F(FSE_normalizeCount(norm, tableLog, count, wtSize, maxSymbolValue));
count             284 lib/zstd/huf_compress.c 	U32 count;
count             341 lib/zstd/huf_compress.c 						U32 const highTotal = huffNode[highPos].count;
count             342 lib/zstd/huf_compress.c 						U32 const lowTotal = 2 * huffNode[lowPos].count;
count             389 lib/zstd/huf_compress.c static void HUF_sort(nodeElt *huffNode, const U32 *count, U32 maxSymbolValue)
count             396 lib/zstd/huf_compress.c 		U32 r = BIT_highbit32(count[n] + 1);
count             404 lib/zstd/huf_compress.c 		U32 const c = count[n];
count             407 lib/zstd/huf_compress.c 		while ((pos > rank[r].base) && (c > huffNode[pos - 1].count))
count             409 lib/zstd/huf_compress.c 		huffNode[pos].count = c;
count             420 lib/zstd/huf_compress.c size_t HUF_buildCTable_wksp(HUF_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize)
count             439 lib/zstd/huf_compress.c 	HUF_sort(huffNode, count, maxSymbolValue);
count             443 lib/zstd/huf_compress.c 	while (huffNode[nonNullRank].count == 0)
count             448 lib/zstd/huf_compress.c 	huffNode[nodeNb].count = huffNode[lowS].count + huffNode[lowS - 1].count;
count             453 lib/zstd/huf_compress.c 		huffNode[n].count = (U32)(1U << 30);
count             454 lib/zstd/huf_compress.c 	huffNode0[0].count = (U32)(1U << 31); /* fake entry, strong barrier */
count             458 lib/zstd/huf_compress.c 		U32 n1 = (huffNode[lowS].count < huffNode[lowN].count) ? lowS-- : lowN++;
count             459 lib/zstd/huf_compress.c 		U32 n2 = (huffNode[lowS].count < huffNode[lowN].count) ? lowS-- : lowN++;
count             460 lib/zstd/huf_compress.c 		huffNode[nodeNb].count = huffNode[n1].count + huffNode[n2].count;
count             501 lib/zstd/huf_compress.c static size_t HUF_estimateCompressedSize(HUF_CElt *CTable, const unsigned *count, unsigned maxSymbolValue)
count             506 lib/zstd/huf_compress.c 		nbBits += CTable[s].nbBits * count[s];
count             511 lib/zstd/huf_compress.c static int HUF_validateCTable(const HUF_CElt *CTable, const unsigned *count, unsigned maxSymbolValue)
count             516 lib/zstd/huf_compress.c 		bad |= (count[s] != 0) & (CTable[s].nbBits == 0);
count             660 lib/zstd/huf_compress.c 	U32 *count;
count             681 lib/zstd/huf_compress.c 	count = (U32 *)workSpace;
count             695 lib/zstd/huf_compress.c 		CHECK_V_F(largest, FSE_count_wksp(count, &maxSymbolValue, (const BYTE *)src, srcSize, (U32 *)workSpace));
count             705 lib/zstd/huf_compress.c 	if (repeat && *repeat == HUF_repeat_check && !HUF_validateCTable(oldHufTable, count, maxSymbolValue)) {
count             716 lib/zstd/huf_compress.c 		CHECK_V_F(maxBits, HUF_buildCTable_wksp(CTable, count, maxSymbolValue, huffLog, workSpace, wkspSize));
count             727 lib/zstd/huf_compress.c 			size_t const oldSize = HUF_estimateCompressedSize(oldHufTable, count, maxSymbolValue);
count             728 lib/zstd/huf_compress.c 			size_t const newSize = HUF_estimateCompressedSize(CTable, count, maxSymbolValue);
count             137 mm/backing-dev.c 				  const char *buf, size_t count)
count             149 mm/backing-dev.c 	return count;
count             167 mm/backing-dev.c 		struct device_attribute *attr, const char *buf, size_t count)
count             179 mm/backing-dev.c 		ret = count;
count             186 mm/backing-dev.c 		struct device_attribute *attr, const char *buf, size_t count)
count             198 mm/backing-dev.c 		ret = count;
count              50 mm/cma.c       	return cma->count << PAGE_SHIFT;
count              84 mm/cma.c       			     unsigned int count)
count              89 mm/cma.c       	bitmap_count = cma_bitmap_pages_to_bits(cma, count);
count             100 mm/cma.c       	unsigned i = cma->count >> pageblock_order;
count             106 mm/cma.c       		cma->count = 0;
count             143 mm/cma.c       	cma->count = 0;
count             215 mm/cma.c       	cma->count = size >> PAGE_SHIFT;
count             400 mm/cma.c       	pr_cont("=> %lu free of %lu total pages\n", nr_total, cma->count);
count             417 mm/cma.c       struct page *cma_alloc(struct cma *cma, size_t count, unsigned int align,
count             428 mm/cma.c       	if (!cma || !cma->count)
count             432 mm/cma.c       		 count, align);
count             434 mm/cma.c       	if (!count)
count             440 mm/cma.c       	bitmap_count = cma_bitmap_pages_to_bits(cma, count);
count             464 mm/cma.c       		ret = alloc_contig_range(pfn, pfn + count, MIGRATE_CMA,
count             472 mm/cma.c       		cma_clear_bitmap(cma, pfn, count);
count             482 mm/cma.c       	trace_cma_alloc(pfn, page, count, align);
count             490 mm/cma.c       		for (i = 0; i < count; i++)
count             496 mm/cma.c       			__func__, count, ret);
count             514 mm/cma.c       bool cma_release(struct cma *cma, const struct page *pages, unsigned int count)
count             525 mm/cma.c       	if (pfn < cma->base_pfn || pfn >= cma->base_pfn + cma->count)
count             528 mm/cma.c       	VM_BUG_ON(pfn + count > cma->base_pfn + cma->count);
count             530 mm/cma.c       	free_contig_range(pfn, count);
count             531 mm/cma.c       	cma_clear_bitmap(cma, pfn, count);
count             532 mm/cma.c       	trace_cma_release(pfn, pages, count);
count               7 mm/cma.h       	unsigned long   count;
count              23 mm/cma.h       	return cma->count >> cma->order_per_bit;
count              92 mm/cma_debug.c static int cma_free_mem(struct cma *cma, int count)
count              96 mm/cma_debug.c 	while (count) {
count             101 mm/cma_debug.c 		if (mem->n <= count) {
count             103 mm/cma_debug.c 			count -= mem->n;
count             106 mm/cma_debug.c 			cma_release(cma, mem->p, count);
count             107 mm/cma_debug.c 			mem->p += count;
count             108 mm/cma_debug.c 			mem->n -= count;
count             109 mm/cma_debug.c 			count = 0;
count             131 mm/cma_debug.c static int cma_alloc_mem(struct cma *cma, int count)
count             140 mm/cma_debug.c 	p = cma_alloc(cma, count, 0, false);
count             147 mm/cma_debug.c 	mem->n = count;
count             177 mm/cma_debug.c 	debugfs_create_file("count", 0444, tmp, &cma->count, &cma_debugfs_fops);
count            2469 mm/compaction.c 			const char *buf, size_t count)
count            2480 mm/compaction.c 	return count;
count              89 mm/early_ioremap.c 	int count = 0;
count              94 mm/early_ioremap.c 			count++;
count              96 mm/early_ioremap.c 	if (WARN(count, KERN_WARNING
count              99 mm/early_ioremap.c 		 count))
count             146 mm/fadvise.c   			unsigned long count;
count             159 mm/fadvise.c   			count = invalidate_mapping_pages(mapping,
count             168 mm/fadvise.c   			if (count < (end_index - start_index + 1)) {
count            2031 mm/filemap.c   	last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT;
count            2092 mm/filemap.c   							offset, iter->count))
count            2276 mm/filemap.c   	size_t count = iov_iter_count(iter);
count            2279 mm/filemap.c   	if (!count)
count            2291 mm/filemap.c   						   iocb->ki_pos + count - 1))
count            2296 mm/filemap.c   					        iocb->ki_pos + count - 1);
count            2306 mm/filemap.c   			count -= retval;
count            2308 mm/filemap.c   		iov_iter_revert(iter, count - iov_iter_count(iter));
count            2319 mm/filemap.c   		if (retval < 0 || !count || iocb->ki_pos >= size ||
count            2906 mm/filemap.c   				      loff_t *count)
count            2917 mm/filemap.c   		*count = min(*count, limit - pos);
count            2926 mm/filemap.c   	*count = min(*count, max_size - pos);
count            2942 mm/filemap.c   	loff_t count;
count            2958 mm/filemap.c   	count = iov_iter_count(from);
count            2959 mm/filemap.c   	ret = generic_write_check_limits(file, iocb->ki_pos, &count);
count            2963 mm/filemap.c   	iov_iter_truncate(from, count);
count            2981 mm/filemap.c   	uint64_t count = *req_count;
count            2992 mm/filemap.c   	if (pos_in + count < pos_in || pos_out + count < pos_out)
count            3000 mm/filemap.c   	    (pos_in >= size_in || pos_in + count > size_in ||
count            3001 mm/filemap.c   	     pos_out >= size_out || pos_out + count > size_out))
count            3007 mm/filemap.c   	count = min(count, size_in - (uint64_t)pos_in);
count            3009 mm/filemap.c   	ret = generic_write_check_limits(file_out, pos_out, &count);
count            3020 mm/filemap.c   	if (pos_in + count == size_in) {
count            3023 mm/filemap.c   		if (!IS_ALIGNED(count, bs))
count            3024 mm/filemap.c   			count = ALIGN_DOWN(count, bs);
count            3025 mm/filemap.c   		bcount = count;
count            3038 mm/filemap.c   	if (*req_count != count && !(remap_flags & REMAP_FILE_CAN_SHORTEN))
count            3041 mm/filemap.c   	*req_count = count;
count            3082 mm/filemap.c   	uint64_t count = *req_count;
count            3098 mm/filemap.c   	if (pos_in + count < pos_in || pos_out + count < pos_out)
count            3104 mm/filemap.c   		count = 0;
count            3106 mm/filemap.c   		count = min(count, size_in - (uint64_t)pos_in);
count            3108 mm/filemap.c   	ret = generic_write_check_limits(file_out, pos_out, &count);
count            3114 mm/filemap.c   	    pos_out + count > pos_in &&
count            3115 mm/filemap.c   	    pos_out < pos_in + count)
count            3118 mm/filemap.c   	*req_count = count;
count             216 mm/highmem.c   	int count;
count             221 mm/highmem.c   	count = get_pkmap_entries_count(color);
count             227 mm/highmem.c   			count = get_pkmap_entries_count(color);
count             231 mm/highmem.c   		if (--count)
count             176 mm/huge_memory.c 			     const char *buf, size_t count)
count             178 mm/huge_memory.c 	ssize_t ret = count;
count             212 mm/huge_memory.c 				 const char *buf, size_t count,
count             229 mm/huge_memory.c 	return count;
count             248 mm/huge_memory.c 			    const char *buf, size_t count)
count             278 mm/huge_memory.c 	return count;
count             290 mm/huge_memory.c 		struct kobj_attribute *attr, const char *buf, size_t count)
count             292 mm/huge_memory.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
count             315 mm/huge_memory.c 			       const char *buf, size_t count)
count             317 mm/huge_memory.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
count            2701 mm/huge_memory.c 	int count, mapcount, extra_pins, ret;
count            2786 mm/huge_memory.c 	count = page_count(head);
count            2811 mm/huge_memory.c 					mapcount, count);
count              79 mm/hugetlb.c   	bool free = (spool->count == 0) && (spool->used_hpages == 0);
count             104 mm/hugetlb.c   	spool->count = 1;
count             121 mm/hugetlb.c   	BUG_ON(!spool->count);
count             122 mm/hugetlb.c   	spool->count--;
count            2361 mm/hugetlb.c   static void try_to_free_low(struct hstate *h, unsigned long count,
count            2373 mm/hugetlb.c   			if (count >= h->nr_huge_pages)
count            2385 mm/hugetlb.c   static inline void try_to_free_low(struct hstate *h, unsigned long count,
count            2424 mm/hugetlb.c   static int set_max_huge_pages(struct hstate *h, unsigned long count, int nid,
count            2449 mm/hugetlb.c   		unsigned long old_count = count;
count            2451 mm/hugetlb.c   		count += h->nr_huge_pages - h->nr_huge_pages_node[nid];
count            2458 mm/hugetlb.c   		if (count < old_count)
count            2459 mm/hugetlb.c   			count = ULONG_MAX;
count            2470 mm/hugetlb.c   		if (count > persistent_huge_pages(h)) {
count            2489 mm/hugetlb.c   	while (h->surplus_huge_pages && count > persistent_huge_pages(h)) {
count            2494 mm/hugetlb.c   	while (count > persistent_huge_pages(h)) {
count            2532 mm/hugetlb.c   	min_count = max(count, min_count);
count            2539 mm/hugetlb.c   	while (count < persistent_huge_pages(h)) {
count            2596 mm/hugetlb.c   					   unsigned long count, size_t len)
count            2622 mm/hugetlb.c   	err = set_max_huge_pages(h, count, nid, n_mask);
count            2632 mm/hugetlb.c   	unsigned long count;
count            2636 mm/hugetlb.c   	err = kstrtoul(buf, 10, &count);
count            2641 mm/hugetlb.c   	return __nr_hugepages_store_common(obey_mempolicy, h, nid, count, len);
count            2686 mm/hugetlb.c   		struct kobj_attribute *attr, const char *buf, size_t count)
count            2703 mm/hugetlb.c   	return count;
count            3168 mm/hugetlb.c   		unsigned long count = h->nr_huge_pages;
count            3170 mm/hugetlb.c   		total += (PAGE_SIZE << huge_page_order(h)) * count;
count            3179 mm/hugetlb.c   				   count,
count             126 mm/khugepaged.c 					  const char *buf, size_t count)
count             139 mm/khugepaged.c 	return count;
count             154 mm/khugepaged.c 					   const char *buf, size_t count)
count             167 mm/khugepaged.c 	return count;
count             181 mm/khugepaged.c 				   const char *buf, size_t count)
count             192 mm/khugepaged.c 	return count;
count             224 mm/khugepaged.c 				       const char *buf, size_t count)
count             226 mm/khugepaged.c 	return single_hugepage_flag_store(kobj, attr, buf, count,
count             249 mm/khugepaged.c 					      const char *buf, size_t count)
count             260 mm/khugepaged.c 	return count;
count             275 mm/khugepaged.c 					      const char *buf, size_t count)
count             286 mm/khugepaged.c 	return count;
count            1298 mm/khugepaged.c 	int count = 0;
count            1360 mm/khugepaged.c 		count++;
count            1378 mm/khugepaged.c 		page_ref_sub(hpage, count);
count            1379 mm/khugepaged.c 		add_mm_counter(vma->vm_mm, mm_counter_file(hpage), -count);
count             153 mm/kmemleak.c  	int count;
count             308 mm/kmemleak.c  	return object->count != KMEMLEAK_BLACK &&
count             309 mm/kmemleak.c  		object->count < object->min_count;
count             315 mm/kmemleak.c  		object->count >= object->min_count;
count             366 mm/kmemleak.c  	pr_notice("  count = %d\n", object->count);
count             595 mm/kmemleak.c  	object->count = 0;			/* white color initially */
count            1194 mm/kmemleak.c  	object->count++;
count            1423 mm/kmemleak.c  		object->count = 0;
count            1499 mm/kmemleak.c  			object->count = object->min_count;
count            2861 mm/ksm.c       				     const char *buf, size_t count)
count            2873 mm/ksm.c       	return count;
count            2885 mm/ksm.c       				   const char *buf, size_t count)
count            2896 mm/ksm.c       	return count;
count            2907 mm/ksm.c       			 const char *buf, size_t count)
count            2935 mm/ksm.c       				count = err;
count            2944 mm/ksm.c       	return count;
count            2957 mm/ksm.c       				   const char *buf, size_t count)
count            3001 mm/ksm.c       	return err ? err : count;
count            3013 mm/ksm.c       				   const char *buf, size_t count)
count            3024 mm/ksm.c       	return count;
count            3036 mm/ksm.c       				      const char *buf, size_t count)
count            3053 mm/ksm.c       		return count;
count            3065 mm/ksm.c       	return err ? err : count;
count            3132 mm/ksm.c       					 const char *buf, size_t count)
count            3143 mm/ksm.c       	return count;
count             189 mm/list_lru.c  	unsigned long count;
count             193 mm/list_lru.c  	count = l->nr_items;
count             196 mm/list_lru.c  	return count;
count             161 mm/maccess.c   long strncpy_from_unsafe(char *dst, const void *unsafe_addr, long count)
count             167 mm/maccess.c   	if (unlikely(count <= 0))
count             175 mm/maccess.c   	} while (dst[-1] && ret == 0 && src - unsafe_addr < count);
count             203 mm/maccess.c   			      long count)
count             208 mm/maccess.c   	if (unlikely(count <= 0))
count             213 mm/maccess.c   	ret = strncpy_from_user(dst, unsafe_addr, count);
count             217 mm/maccess.c   	if (ret >= count) {
count             218 mm/maccess.c   		ret = count;
count             243 mm/maccess.c   long strnlen_unsafe_user(const void __user *unsafe_addr, long count)
count             250 mm/maccess.c   	ret = strnlen_user(unsafe_addr, count);
count            1925 mm/memblock.c  	unsigned long count = 0;
count            1941 mm/memblock.c  		count += __free_memory_core(start, end);
count            1943 mm/memblock.c  	return count;
count             756 mm/memcontrol.c 	__this_cpu_add(pn->lruvec_stat_local->count[idx], val);
count             758 mm/memcontrol.c 	x = val + __this_cpu_read(pn->lruvec_stat_cpu->count[idx]);
count             766 mm/memcontrol.c 	__this_cpu_write(pn->lruvec_stat_cpu->count[idx], x);
count             807 mm/memcontrol.c 			  unsigned long count)
count             814 mm/memcontrol.c 	x = count + __this_cpu_read(memcg->vmstats_percpu->events[idx]);
count            1328 mm/memcontrol.c 	unsigned long count;
count            1331 mm/memcontrol.c 	count = page_counter_read(&memcg->memory);
count            1333 mm/memcontrol.c 	if (count < limit)
count            1334 mm/memcontrol.c 		margin = limit - count;
count            1337 mm/memcontrol.c 		count = page_counter_read(&memcg->memsw);
count            1339 mm/memcontrol.c 		if (count <= limit)
count            1340 mm/memcontrol.c 			margin = min(margin, limit - count);
count            2333 mm/memcontrol.c 				x = this_cpu_xchg(pn->lruvec_stat_cpu->count[i], 0);
count            3497 mm/memcontrol.c 					pn->lruvec_stat_cpu->count[i], cpu);
count            5338 mm/memcontrol.c static int mem_cgroup_do_precharge(unsigned long count)
count            5343 mm/memcontrol.c 	ret = try_charge(mc.to, GFP_KERNEL & ~__GFP_DIRECT_RECLAIM, count);
count            5345 mm/memcontrol.c 		mc.precharge += count;
count            5350 mm/memcontrol.c 	while (count--) {
count             901 mm/memory-failure.c 	int count;
count             905 mm/memory-failure.c 	count = page_count(p) - 1;
count             907 mm/memory-failure.c 		count--;
count             908 mm/memory-failure.c 	if (count > 0) {
count             910 mm/memory-failure.c 		       pfn, action_page_types[ps->type], count);
count             151 mm/memory.c    		if (current->rss_stat.count[i]) {
count             152 mm/memory.c    			add_mm_counter(mm, i, current->rss_stat.count[i]);
count             153 mm/memory.c    			current->rss_stat.count[i] = 0;
count             164 mm/memory.c    		task->rss_stat.count[member] += val;
count            1514 mm/memory.c    	unsigned long count = vma_pages(vma);
count            1523 mm/memory.c    	if (count > num - offset)
count            1526 mm/memory.c    	for (i = 0; i < count; i++) {
count             415 mm/memremap.c  	int count = page_ref_dec_return(page);
count             421 mm/memremap.c  	if (count == 1) {
count             453 mm/memremap.c  	} else if (!count)
count             643 mm/mlock.c     	unsigned long count = 0;
count             659 mm/mlock.c     				count -= (start - vma->vm_start);
count             661 mm/mlock.c     				count += start + len - vma->vm_start;
count             664 mm/mlock.c     			count += vma->vm_end - vma->vm_start;
count             668 mm/mlock.c     	return count >> PAGE_SHIFT;
count             189 mm/nommu.c     long vread(char *buf, char *addr, unsigned long count)
count             192 mm/nommu.c     	if ((unsigned long) buf + count < count)
count             193 mm/nommu.c     		count = -(unsigned long) buf;
count             195 mm/nommu.c     	memcpy(buf, addr, count);
count             196 mm/nommu.c     	return count;
count             199 mm/nommu.c     long vwrite(char *buf, char *addr, unsigned long count)
count             202 mm/nommu.c     	if ((unsigned long) addr + count < count)
count             203 mm/nommu.c     		count = -(unsigned long) addr;
count             205 mm/nommu.c     	memcpy(addr, buf, count);
count             206 mm/nommu.c     	return count;
count             330 mm/nommu.c     void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot)
count             343 mm/nommu.c     void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot)
count             350 mm/nommu.c     void vm_unmap_ram(const void *mem, unsigned int count)
count            1249 mm/page_alloc.c static void free_pcppages_bulk(struct zone *zone, int count,
count            1259 mm/page_alloc.c 	while (count) {
count            1278 mm/page_alloc.c 			batch_free = count;
count            1284 mm/page_alloc.c 			pcp->count--;
count            1302 mm/page_alloc.c 		} while (--count && --batch_free && !list_empty(list));
count            2744 mm/page_alloc.c 			unsigned long count, struct list_head *list,
count            2750 mm/page_alloc.c 	for (i = 0; i < count; ++i) {
count            2803 mm/page_alloc.c 	to_drain = min(pcp->count, batch);
count            2827 mm/page_alloc.c 	if (pcp->count)
count            2828 mm/page_alloc.c 		free_pcppages_bulk(zone, pcp->count, pcp);
count            2930 mm/page_alloc.c 			if (pcp->pcp.count)
count            2935 mm/page_alloc.c 				if (pcp->pcp.count) {
count            3054 mm/page_alloc.c 	pcp->count++;
count            3055 mm/page_alloc.c 	if (pcp->count >= pcp->high) {
count            3222 mm/page_alloc.c 			pcp->count += rmqueue_bulk(zone, 0,
count            3231 mm/page_alloc.c 		pcp->count--;
count            4868 mm/page_alloc.c void __page_frag_cache_drain(struct page *page, unsigned int count)
count            4872 mm/page_alloc.c 	if (page_ref_sub_and_test(page, count))
count            5260 mm/page_alloc.c 			free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count;
count            5346 mm/page_alloc.c 			free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count;
count            5389 mm/page_alloc.c 			K(this_cpu_read(zone->pageset->pcp.count)),
count            7482 mm/page_alloc.c void adjust_managed_page_count(struct page *page, long count)
count            7484 mm/page_alloc.c 	atomic_long_add(count, &page_zone(page)->managed_pages);
count            7485 mm/page_alloc.c 	totalram_pages_add(count);
count            7488 mm/page_alloc.c 		totalhigh_pages_add(count);
count            8191 mm/page_alloc.c bool has_unmovable_pages(struct zone *zone, struct page *page, int count,
count            8293 mm/page_alloc.c 		if (found > count)
count            8517 mm/page_alloc.c 	unsigned int count = 0;
count            8522 mm/page_alloc.c 		count += page_count(page) != 1;
count            8525 mm/page_alloc.c 	WARN(count != 0, "%d pages are still in use!\n", count);
count             123 mm/page_idle.c 				     loff_t pos, size_t count)
count             130 mm/page_idle.c 	if (pos % BITMAP_CHUNK_SIZE || count % BITMAP_CHUNK_SIZE)
count             137 mm/page_idle.c 	end_pfn = pfn + count * BITS_PER_BYTE;
count             168 mm/page_idle.c 				      loff_t pos, size_t count)
count             175 mm/page_idle.c 	if (pos % BITMAP_CHUNK_SIZE || count % BITMAP_CHUNK_SIZE)
count             182 mm/page_idle.c 	end_pfn = pfn + count * BITS_PER_BYTE;
count             261 mm/page_owner.c 	unsigned long count[MIGRATE_TYPES] = { 0, };
count             319 mm/page_owner.c 					count[MIGRATE_MOVABLE]++;
count             321 mm/page_owner.c 					count[pageblock_mt]++;
count             333 mm/page_owner.c 		seq_printf(m, "%12lu ", count[i]);
count             338 mm/page_owner.c print_page_owner(char __user *buf, size_t count, unsigned long pfn,
count             347 mm/page_owner.c 	count = min_t(size_t, count, PAGE_SIZE);
count             348 mm/page_owner.c 	kbuf = kmalloc(count, GFP_KERNEL);
count             352 mm/page_owner.c 	ret = snprintf(kbuf, count,
count             357 mm/page_owner.c 	if (ret >= count)
count             363 mm/page_owner.c 	ret += snprintf(kbuf + ret, count - ret,
count             371 mm/page_owner.c 	if (ret >= count)
count             375 mm/page_owner.c 	ret += stack_trace_snprint(kbuf + ret, count - ret, entries, nr_entries, 0);
count             376 mm/page_owner.c 	if (ret >= count)
count             380 mm/page_owner.c 		ret += snprintf(kbuf + ret, count - ret,
count             383 mm/page_owner.c 		if (ret >= count)
count             387 mm/page_owner.c 	ret += snprintf(kbuf + ret, count - ret, "\n");
count             388 mm/page_owner.c 	if (ret >= count)
count             457 mm/page_owner.c read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos)
count             539 mm/page_owner.c 		return print_page_owner(buf, count, pfn, page,
count             550 mm/page_owner.c 	unsigned long count = 0;
count             609 mm/page_owner.c 			count++;
count             615 mm/page_owner.c 		pgdat->node_id, zone->name, count);
count             578 mm/readahead.c ssize_t ksys_readahead(int fd, loff_t offset, size_t count)
count             598 mm/readahead.c 	ret = vfs_fadvise(f.file, offset, count, POSIX_FADV_WILLNEED);
count             604 mm/readahead.c SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count)
count             606 mm/readahead.c 	return ksys_readahead(fd, offset, count);
count            3947 mm/shmem.c     	int i, count;
count            3949 mm/shmem.c     	for (i = 0, count = 0; i < ARRAY_SIZE(values); i++) {
count            3952 mm/shmem.c     		count += sprintf(buf + count, fmt,
count            3955 mm/shmem.c     	buf[count - 1] = '\n';
count            3956 mm/shmem.c     	return count;
count            3960 mm/shmem.c     		struct kobj_attribute *attr, const char *buf, size_t count)
count            3965 mm/shmem.c     	if (count + 1 > sizeof(tmp))
count            3967 mm/shmem.c     	memcpy(tmp, buf, count);
count            3968 mm/shmem.c     	tmp[count] = '\0';
count            3969 mm/shmem.c     	if (count && tmp[count - 1] == '\n')
count            3970 mm/shmem.c     		tmp[count - 1] = '\0';
count            3982 mm/shmem.c     	return count;
count            2380 mm/slab.c      		unsigned int count;
count            2391 mm/slab.c      				unsigned int count)
count            2405 mm/slab.c      		state->count = count;
count            2406 mm/slab.c      		state->pos = rand % count;
count            2415 mm/slab.c      	if (state->pos >= state->count)
count            2433 mm/slab.c      	unsigned int objfreelist = 0, i, rand, count = cachep->num;
count            2437 mm/slab.c      	if (count < 2)
count            2440 mm/slab.c      	precomputed = freelist_state_initialize(&state, cachep, count);
count            2445 mm/slab.c      			objfreelist = count - 1;
count            2450 mm/slab.c      		count--;
count            2458 mm/slab.c      		for (i = 0; i < count; i++)
count            2462 mm/slab.c      		for (i = count - 1; i > 0; i--) {
count            2468 mm/slab.c      		for (i = 0; i < count; i++)
count            4116 mm/slab.c      		       size_t count, loff_t *ppos)
count            4122 mm/slab.c      	if (count > MAX_SLABINFO_WRITE)
count            4124 mm/slab.c      	if (copy_from_user(&kbuf, buffer, count))
count            4154 mm/slab.c      		res = count;
count             261 mm/slab.h      		       size_t count, loff_t *ppos);
count             662 mm/slab.h      int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count,
count             667 mm/slab.h      					unsigned int count, gfp_t gfp)
count            1343 mm/slab_common.c 			       unsigned int count)
count            1348 mm/slab_common.c 	for (i = 0; i < count; i++)
count            1352 mm/slab_common.c 	for (i = count - 1; i > 0; i--) {
count            1360 mm/slab_common.c int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count,
count            1365 mm/slab_common.c 	if (count < 2 || cachep->random_seq)
count            1368 mm/slab_common.c 	cachep->random_seq = kcalloc(count, sizeof(unsigned int), gfp);
count            1375 mm/slab_common.c 	freelist_randomize(&state, cachep->random_seq, count);
count            1511 mm/slub.c      	unsigned int count = oo_objects(s->oo);
count            1518 mm/slub.c      	err = cache_random_seq_create(s, count, GFP_KERNEL);
count            1529 mm/slub.c      		for (i = 0; i < count; i++)
count            4443 mm/slub.c      	unsigned long count = 0;
count            4451 mm/slub.c      		count++;
count            4453 mm/slub.c      	if (count != n->nr_partial)
count            4455 mm/slub.c      		       s->name, count, n->nr_partial);
count            4462 mm/slub.c      		count++;
count            4464 mm/slub.c      	if (count != atomic_long_read(&n->nr_slabs))
count            4466 mm/slub.c      		       s->name, count, atomic_long_read(&n->nr_slabs));
count            4470 mm/slub.c      	return count;
count            4476 mm/slub.c      	unsigned long count = 0;
count            4485 mm/slub.c      		count += validate_slab_node(s, n, map);
count            4487 mm/slub.c      	return count;
count            4495 mm/slub.c      	unsigned long count;
count            4508 mm/slub.c      	unsigned long count;
count            4530 mm/slub.c      	if (t->count) {
count            4531 mm/slub.c      		memcpy(l, t->loc, sizeof(struct location) * t->count);
count            4548 mm/slub.c      	end = t->count;
count            4564 mm/slub.c      			l->count++;
count            4593 mm/slub.c      	if (t->count >= t->max && !alloc_loc_track(t, 2 * t->max, GFP_ATOMIC))
count            4597 mm/slub.c      	if (pos < t->count)
count            4599 mm/slub.c      			(t->count - pos) * sizeof(struct location));
count            4600 mm/slub.c      	t->count++;
count            4601 mm/slub.c      	l->count = 1;
count            4663 mm/slub.c      	for (i = 0; i < t.count; i++) {
count            4668 mm/slub.c      		len += sprintf(buf + len, "%7ld ", l->count);
count            4678 mm/slub.c      				(long)div_u64(l->sum_time, l->count),
count            4709 mm/slub.c      	if (!t.count)
count            4932 mm/slub.c      	ssize_t (*store)(struct kmem_cache *s, const char *x, size_t count);
count            5945 mm/slub.c      		       size_t count, loff_t *ppos)
count             797 mm/swap_state.c 				      const char *buf, size_t count)
count             806 mm/swap_state.c 	return count;
count            1181 mm/swapfile.c  	unsigned char count;
count            1184 mm/swapfile.c  	count = p->swap_map[offset];
count            1186 mm/swapfile.c  	has_cache = count & SWAP_HAS_CACHE;
count            1187 mm/swapfile.c  	count &= ~SWAP_HAS_CACHE;
count            1192 mm/swapfile.c  	} else if (count == SWAP_MAP_SHMEM) {
count            1197 mm/swapfile.c  		count = 0;
count            1198 mm/swapfile.c  	} else if ((count & ~COUNT_CONTINUED) <= SWAP_MAP_MAX) {
count            1199 mm/swapfile.c  		if (count == COUNT_CONTINUED) {
count            1200 mm/swapfile.c  			if (swap_count_continued(p, offset, count))
count            1201 mm/swapfile.c  				count = SWAP_MAP_MAX | COUNT_CONTINUED;
count            1203 mm/swapfile.c  				count = SWAP_MAP_MAX;
count            1205 mm/swapfile.c  			count--;
count            1208 mm/swapfile.c  	usage = count | has_cache;
count            1296 mm/swapfile.c  	unsigned char count;
count            1299 mm/swapfile.c  	count = p->swap_map[offset];
count            1300 mm/swapfile.c  	VM_BUG_ON(count != SWAP_HAS_CACHE);
count            1431 mm/swapfile.c  	int count = 0;
count            1442 mm/swapfile.c  		count = swap_count(p->swap_map[offset]);
count            1445 mm/swapfile.c  	return count;
count            1452 mm/swapfile.c  	int count = 0;
count            1456 mm/swapfile.c  		count = swap_count(si->swap_map[offset]);
count            1459 mm/swapfile.c  	return count;
count            1464 mm/swapfile.c  	int count = 0;
count            1469 mm/swapfile.c  	count = swap_count(si->swap_map[offset]);
count            1471 mm/swapfile.c  	return count;
count            1481 mm/swapfile.c  	int count = 0;
count            1486 mm/swapfile.c  		count = swap_swapcount(si, entry);
count            1489 mm/swapfile.c  	return count;
count            1498 mm/swapfile.c  	int count, tmp_count, n;
count            1513 mm/swapfile.c  	count = swap_count(p->swap_map[offset]);
count            1514 mm/swapfile.c  	if (!(count & COUNT_CONTINUED))
count            1517 mm/swapfile.c  	count &= ~COUNT_CONTINUED;
count            1530 mm/swapfile.c  		count += (tmp_count & ~COUNT_CONTINUED) * n;
count            1535 mm/swapfile.c  	return count;
count            1655 mm/swapfile.c  	int count, total_mapcount, total_swapcount;
count            1660 mm/swapfile.c  	count = page_trans_huge_map_swapcount(page, &total_mapcount,
count            1664 mm/swapfile.c  	if (count == 1 && PageSwapCache(page) &&
count            1686 mm/swapfile.c  	return count <= 1;
count            1735 mm/swapfile.c  	unsigned char count;
count            1742 mm/swapfile.c  		count = __swap_entry_free(p, entry, 1);
count            1743 mm/swapfile.c  		if (count == SWAP_HAS_CACHE &&
count            2096 mm/swapfile.c  	unsigned char count;
count            2105 mm/swapfile.c  		count = READ_ONCE(si->swap_map[i]);
count            2106 mm/swapfile.c  		if (count && swap_count(count) != SWAP_MAP_BAD)
count            3382 mm/swapfile.c  	unsigned char count;
count            3393 mm/swapfile.c  	count = p->swap_map[offset];
count            3399 mm/swapfile.c  	if (unlikely(swap_count(count) == SWAP_MAP_BAD)) {
count            3404 mm/swapfile.c  	has_cache = count & SWAP_HAS_CACHE;
count            3405 mm/swapfile.c  	count &= ~SWAP_HAS_CACHE;
count            3411 mm/swapfile.c  		if (!has_cache && count)
count            3418 mm/swapfile.c  	} else if (count || has_cache) {
count            3420 mm/swapfile.c  		if ((count & ~COUNT_CONTINUED) < SWAP_MAP_MAX)
count            3421 mm/swapfile.c  			count += usage;
count            3422 mm/swapfile.c  		else if ((count & ~COUNT_CONTINUED) > SWAP_MAP_MAX)
count            3424 mm/swapfile.c  		else if (swap_count_continued(p, offset, count))
count            3425 mm/swapfile.c  			count = COUNT_CONTINUED;
count            3431 mm/swapfile.c  	p->swap_map[offset] = count | has_cache;
count            3529 mm/swapfile.c  	unsigned char count;
count            3552 mm/swapfile.c  	count = si->swap_map[offset] & ~SWAP_HAS_CACHE;
count            3554 mm/swapfile.c  	if ((count & ~COUNT_CONTINUED) != SWAP_MAP_MAX) {
count            3582 mm/swapfile.c  		BUG_ON(count & COUNT_CONTINUED);
count            3595 mm/swapfile.c  		if (!(count & COUNT_CONTINUED))
count            3599 mm/swapfile.c  		count = *map;
count            3606 mm/swapfile.c  		if ((count & ~COUNT_CONTINUED) != SWAP_CONT_MAX)
count            3634 mm/swapfile.c  				 pgoff_t offset, unsigned char count)
count            3643 mm/swapfile.c  		BUG_ON(count & COUNT_CONTINUED);
count            3652 mm/swapfile.c  	if (count == SWAP_MAP_MAX)	/* initial increment from swap_map */
count            3655 mm/swapfile.c  	if (count == (SWAP_MAP_MAX | COUNT_CONTINUED)) { /* incrementing */
count            3690 mm/swapfile.c  		BUG_ON(count != COUNT_CONTINUED);
count            3700 mm/swapfile.c  			count = 0;
count            3705 mm/swapfile.c  			*map = SWAP_CONT_MAX | count;
count            3706 mm/swapfile.c  			count = COUNT_CONTINUED;
count            3710 mm/swapfile.c  		ret = count == COUNT_CONTINUED;
count             553 mm/truncate.c  	unsigned long count = 0;
count             617 mm/truncate.c  			count += ret;
count             624 mm/truncate.c  	return count;
count            1737 mm/vmalloc.c   void vm_unmap_ram(const void *mem, unsigned int count)
count            1739 mm/vmalloc.c   	unsigned long size = (unsigned long)count << PAGE_SHIFT;
count            1749 mm/vmalloc.c   	if (likely(count <= VMAP_MAX_ALLOC)) {
count            1778 mm/vmalloc.c   void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot)
count            1780 mm/vmalloc.c   	unsigned long size = (unsigned long)count << PAGE_SHIFT;
count            1784 mm/vmalloc.c   	if (likely(count <= VMAP_MAX_ALLOC)) {
count            1800 mm/vmalloc.c   		vm_unmap_ram(mem, count);
count            2370 mm/vmalloc.c   void *vmap(struct page **pages, unsigned int count,
count            2378 mm/vmalloc.c   	if (count > totalram_pages())
count            2381 mm/vmalloc.c   	size = (unsigned long)count << PAGE_SHIFT;
count            2746 mm/vmalloc.c   static int aligned_vread(char *buf, char *addr, unsigned long count)
count            2751 mm/vmalloc.c   	while (count) {
count            2756 mm/vmalloc.c   		if (length > count)
count            2757 mm/vmalloc.c   			length = count;
count            2780 mm/vmalloc.c   		count -= length;
count            2785 mm/vmalloc.c   static int aligned_vwrite(char *buf, char *addr, unsigned long count)
count            2790 mm/vmalloc.c   	while (count) {
count            2795 mm/vmalloc.c   		if (length > count)
count            2796 mm/vmalloc.c   			length = count;
count            2817 mm/vmalloc.c   		count -= length;
count            2846 mm/vmalloc.c   long vread(char *buf, char *addr, unsigned long count)
count            2851 mm/vmalloc.c   	unsigned long buflen = count;
count            2855 mm/vmalloc.c   	if ((unsigned long) addr + count < count)
count            2856 mm/vmalloc.c   		count = -(unsigned long) addr;
count            2860 mm/vmalloc.c   		if (!count)
count            2871 mm/vmalloc.c   			if (count == 0)
count            2876 mm/vmalloc.c   			count--;
count            2879 mm/vmalloc.c   		if (n > count)
count            2880 mm/vmalloc.c   			n = count;
count            2887 mm/vmalloc.c   		count -= n;
count            2925 mm/vmalloc.c   long vwrite(char *buf, char *addr, unsigned long count)
count            2934 mm/vmalloc.c   	if ((unsigned long) addr + count < count)
count            2935 mm/vmalloc.c   		count = -(unsigned long) addr;
count            2936 mm/vmalloc.c   	buflen = count;
count            2940 mm/vmalloc.c   		if (!count)
count            2951 mm/vmalloc.c   			if (count == 0)
count            2955 mm/vmalloc.c   			count--;
count            2958 mm/vmalloc.c   		if (n > count)
count            2959 mm/vmalloc.c   			n = count;
count            2966 mm/vmalloc.c   		count -= n;
count             797 mm/vmstat.c    			       !__this_cpu_read(p->pcp.count))
count             811 mm/vmstat.c    			if (__this_cpu_read(p->pcp.count)) {
count             964 mm/vmstat.c    	unsigned long count = 0;
count             967 mm/vmstat.c    		count += zone_page_state(zones + i, item);
count             969 mm/vmstat.c    	return count;
count             981 mm/vmstat.c    	unsigned long count = 0;
count             984 mm/vmstat.c    		count += zone_numa_state_snapshot(zones + i, item);
count             986 mm/vmstat.c    	return count;
count            1438 mm/vmstat.c    	unsigned long count[MIGRATE_TYPES] = { 0, };
count            1457 mm/vmstat.c    			count[mtype]++;
count            1463 mm/vmstat.c    		seq_printf(m, "%12lu ", count[mtype]);
count            1624 mm/vmstat.c    			   pageset->pcp.count,
count             380 mm/workingset.c 	if (node->count && node->count == node->nr_values) {
count             492 mm/workingset.c 	if (WARN_ON_ONCE(node->count != node->nr_values))
count             124 net/6lowpan/debugfs.c 				    const char __user *user_buf, size_t count,
count             132 net/6lowpan/debugfs.c 	int status = count, n, i;
count             136 net/6lowpan/debugfs.c 						 count))) {
count            1171 net/9p/client.c 	uint16_t nwqids, count;
count            1213 net/9p/client.c 	for (count = 0; count < nwqids; count++)
count            1215 net/9p/client.c 			count, wqids[count].type,
count            1216 net/9p/client.c 			(unsigned long long)wqids[count].path,
count            1217 net/9p/client.c 			wqids[count].version);
count            1561 net/9p/client.c 		int count = iov_iter_count(to);
count            1569 net/9p/client.c 		if (count < rsize)
count            1570 net/9p/client.c 			rsize = count;
count            1592 net/9p/client.c 				   "D", &count, &dataptr);
count            1598 net/9p/client.c 		if (rsize < count) {
count            1599 net/9p/client.c 			pr_err("bogus RREAD count (%d > %d)\n", count, rsize);
count            1600 net/9p/client.c 			count = rsize;
count            1603 net/9p/client.c 		p9_debug(P9_DEBUG_9P, "<<< RREAD count %d\n", count);
count            1604 net/9p/client.c 		if (!count) {
count            1610 net/9p/client.c 			int n = copy_to_iter(dataptr, count, to);
count            1613 net/9p/client.c 			if (n != count) {
count            1619 net/9p/client.c 			iov_iter_advance(to, count);
count            1620 net/9p/client.c 			total += count;
count            1621 net/9p/client.c 			offset += count;
count            1642 net/9p/client.c 		int count = iov_iter_count(from);
count            1647 net/9p/client.c 		if (count < rsize)
count            1648 net/9p/client.c 			rsize = count;
count            1664 net/9p/client.c 		*err = p9pdu_readf(&req->rc, clnt->proto_version, "d", &count);
count            1670 net/9p/client.c 		if (rsize < count) {
count            1671 net/9p/client.c 			pr_err("bogus RWRITE count (%d > %d)\n", count, rsize);
count            1672 net/9p/client.c 			count = rsize;
count            1675 net/9p/client.c 		p9_debug(P9_DEBUG_9P, "<<< RWRITE count %d\n", count);
count            1678 net/9p/client.c 		iov_iter_advance(from, count);
count            1679 net/9p/client.c 		total += count;
count            1680 net/9p/client.c 		offset += count;
count            2067 net/9p/client.c int p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset)
count            2073 net/9p/client.c 	struct kvec kv = {.iov_base = data, .iov_len = count};
count            2076 net/9p/client.c 	iov_iter_kvec(&to, READ, &kv, 1, count);
count            2079 net/9p/client.c 				fid->fid, (unsigned long long) offset, count);
count            2088 net/9p/client.c 	if (count < rsize)
count            2089 net/9p/client.c 		rsize = count;
count            2109 net/9p/client.c 	err = p9pdu_readf(&req->rc, clnt->proto_version, "D", &count, &dataptr);
count            2114 net/9p/client.c 	if (rsize < count) {
count            2115 net/9p/client.c 		pr_err("bogus RREADDIR count (%d > %d)\n", count, rsize);
count            2116 net/9p/client.c 		count = rsize;
count            2119 net/9p/client.c 	p9_debug(P9_DEBUG_9P, "<<< RREADDIR count %d\n", count);
count            2122 net/9p/client.c 		memmove(data, dataptr, count);
count            2125 net/9p/client.c 	return count;
count             214 net/9p/protocol.c 				uint32_t *count = va_arg(ap, uint32_t *);
count             218 net/9p/protocol.c 				    p9pdu_readf(pdu, proto_version, "d", count);
count             220 net/9p/protocol.c 					*count =
count             221 net/9p/protocol.c 					    min_t(uint32_t, *count,
count             434 net/9p/protocol.c 				uint32_t count = va_arg(ap, uint32_t);
count             438 net/9p/protocol.c 									count);
count             439 net/9p/protocol.c 				if (!errcode && pdu_write_u(pdu, from, count))
count             913 net/9p/trans_fd.c 	int rc, count, in[4];
count             918 net/9p/trans_fd.c 	for (count = 0; count < 4; count++) {
count             919 net/9p/trans_fd.c 		if (in[count] > 255)
count             168 net/9p/trans_virtio.c 			int limit, char *data, int count)
count             173 net/9p/trans_virtio.c 	while (count) {
count             175 net/9p/trans_virtio.c 		if (s > count)
count             176 net/9p/trans_virtio.c 			s = count;
count             181 net/9p/trans_virtio.c 		count -= s;
count             214 net/9p/trans_virtio.c 	       struct page **pdata, int nr_pages, size_t offs, int count)
count             227 net/9p/trans_virtio.c 		if (s > count)
count             228 net/9p/trans_virtio.c 			s = count;
count             234 net/9p/trans_virtio.c 		count -= s;
count             307 net/9p/trans_virtio.c 			       int count,
count             329 net/9p/trans_virtio.c 		n = iov_iter_get_pages_alloc(data, pages, count, offs);
count             351 net/9p/trans_virtio.c 		if (len > count)
count             352 net/9p/trans_virtio.c 			len = count;
count             467 net/appletalk/aarp.c 		unsigned int count;
count             469 net/appletalk/aarp.c 		for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) {
count             485 net/appletalk/aarp.c 	unsigned int count;
count             516 net/appletalk/aarp.c 	for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) {
count              37 net/atm/atm_sysfs.c 	int i, j, count = 0;
count              43 net/atm/atm_sysfs.c 				count += scnprintf(buf + count,
count              44 net/atm/atm_sysfs.c 						   PAGE_SIZE - count, ".");
count              48 net/atm/atm_sysfs.c 			count += scnprintf(buf + count,
count              49 net/atm/atm_sysfs.c 					   PAGE_SIZE - count, "%02x",
count              52 net/atm/atm_sysfs.c 		count += scnprintf(buf + count, PAGE_SIZE - count, "\n");
count              56 net/atm/atm_sysfs.c 	return count;
count             122 net/atm/mpoa_caches.c 	entry->count = 1;
count             138 net/atm/mpoa_caches.c 	entry->count++;
count             143 net/atm/mpoa_caches.c 		if (entry->count > mpc->parameters.mpc_p1) {
count             162 net/atm/mpoa_caches.c 	if (entry->count > mpc->parameters.mpc_p1 &&
count             236 net/atm/mpoa_caches.c 		entry->count = 0;
count              27 net/atm/mpoa_caches.h 	uint32_t count;
count              37 net/atm/proc.c 				 size_t count, loff_t *pos);
count             317 net/atm/proc.c 				 size_t count, loff_t *pos)
count             323 net/atm/proc.c 	if (count == 0)
count             333 net/atm/proc.c 		if (length > count)
count             107 net/batman-adv/bat_iv_ogm.c 	u16 count = 0;
count             115 net/batman-adv/bat_iv_ogm.c 			count++;
count             123 net/batman-adv/bat_iv_ogm.c 	if (count == 0)
count             126 net/batman-adv/bat_iv_ogm.c 	return (u8)(sum / count);
count             670 net/batman-adv/bat_v.c 					char *buff, size_t count)
count             685 net/batman-adv/bat_v.c 	return count;
count             168 net/batman-adv/gateway_common.c 				size_t count)
count             194 net/batman-adv/gateway_common.c 		return count;
count             206 net/batman-adv/gateway_common.c 	return count;
count              31 net/batman-adv/gateway_common.h 				size_t count);
count             829 net/batman-adv/hard-interface.c 	size_t count = 0;
count             836 net/batman-adv/hard-interface.c 		count++;
count             840 net/batman-adv/hard-interface.c 	return count;
count             125 net/batman-adv/icmp_socket.c 				  size_t count, loff_t *ppos)
count             135 net/batman-adv/icmp_socket.c 	if (!buf || count < sizeof(struct batadv_icmp_packet))
count             138 net/batman-adv/icmp_socket.c 	if (!access_ok(buf, count))
count             156 net/batman-adv/icmp_socket.c 	packet_len = min(count, socket_packet->icmp_len);
count             110 net/batman-adv/log.c 			       size_t count, loff_t *ppos)
count             124 net/batman-adv/log.c 	if (count == 0)
count             127 net/batman-adv/log.c 	if (!access_ok(buf, count))
count             138 net/batman-adv/log.c 	while ((!error) && (i < count) &&
count             360 net/batman-adv/main.h 				      size_t count)
count             362 net/batman-adv/main.h 	this_cpu_add(bat_priv->bat_counters[idx], count);
count            1061 net/batman-adv/network-coding.c 	size_t count;
count            1173 net/batman-adv/network-coding.c 		count = skb_src->len + ETH_HLEN;
count            1174 net/batman-adv/network-coding.c 		count += skb_dest->len + ETH_HLEN;
count            1176 net/batman-adv/network-coding.c 		batadv_add_counter(bat_priv, BATADV_CNT_NC_RECODE_BYTES, count);
count            1180 net/batman-adv/network-coding.c 		count = skb_src->len + ETH_HLEN;
count            1181 net/batman-adv/network-coding.c 		count += skb_dest->len + ETH_HLEN;
count            1183 net/batman-adv/network-coding.c 		batadv_add_counter(bat_priv, BATADV_CNT_NC_CODE_BYTES, count);
count             139 net/batman-adv/sysfs.c 			     size_t count)				\
count             146 net/batman-adv/sysfs.c 	length = __batadv_store_bool_attr(buff, count, _post_func, attr,\
count             178 net/batman-adv/sysfs.c 			     size_t count)				\
count             185 net/batman-adv/sysfs.c 	length = __batadv_store_uint_attr(buff, count, _min, _max,	\
count             217 net/batman-adv/sysfs.c 				  size_t count)				\
count             222 net/batman-adv/sysfs.c 	size_t res = __batadv_store_bool_attr(buff, count, _post_func,	\
count             262 net/batman-adv/sysfs.c 			     size_t count)				\
count             274 net/batman-adv/sysfs.c 	length = __batadv_store_uint_attr(buff, count, _min, _max,	\
count             318 net/batman-adv/sysfs.c static int batadv_store_bool_attr(char *buff, size_t count,
count             327 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count             328 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count             347 net/batman-adv/sysfs.c 		return count;
count             356 net/batman-adv/sysfs.c 	return count;
count             360 net/batman-adv/sysfs.c __batadv_store_bool_attr(char *buff, size_t count,
count             368 net/batman-adv/sysfs.c 	ret = batadv_store_bool_attr(buff, count, net_dev, attr->name,
count             376 net/batman-adv/sysfs.c static int batadv_store_uint_attr(const char *buff, size_t count,
count             407 net/batman-adv/sysfs.c 		return count;
count             416 net/batman-adv/sysfs.c 	return count;
count             419 net/batman-adv/sysfs.c static ssize_t __batadv_store_uint_attr(const char *buff, size_t count,
count             429 net/batman-adv/sysfs.c 	ret = batadv_store_uint_attr(buff, count, net_dev, slave_dev,
count             488 net/batman-adv/sysfs.c 				    size_t count)
count             504 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count             505 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count             527 net/batman-adv/sysfs.c 		return count;
count             563 net/batman-adv/sysfs.c 	return count;
count             588 net/batman-adv/sysfs.c 					 size_t count)
count             602 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count             603 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count             607 net/batman-adv/sysfs.c 							      count);
count             609 net/batman-adv/sysfs.c 	length = __batadv_store_uint_attr(buff, count, 1, BATADV_TQ_MAX_VALUE,
count             636 net/batman-adv/sysfs.c 				      size_t count)
count             644 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count             645 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count             647 net/batman-adv/sysfs.c 	length = batadv_gw_bandwidth_set(net_dev, buff, count);
count             685 net/batman-adv/sysfs.c 					   size_t count)
count             724 net/batman-adv/sysfs.c 	return count;
count            1050 net/batman-adv/sysfs.c 				       size_t count)
count            1057 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count            1058 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count            1078 net/batman-adv/sysfs.c 	return count;
count            1132 net/batman-adv/sysfs.c 						char *buff, size_t count)
count            1147 net/batman-adv/sysfs.c 	if (buff[count - 1] == '\n')
count            1148 net/batman-adv/sysfs.c 		buff[count - 1] = '\0';
count            1174 net/batman-adv/sysfs.c 	return count;
count              44 net/batman-adv/sysfs.h 			 char *buf, size_t count);
count             310 net/batman-adv/translation-table.c 	int count;
count             316 net/batman-adv/translation-table.c 	count = atomic_read(&tt_global_entry->orig_list_count);
count             319 net/batman-adv/translation-table.c 	return count;
count            3841 net/batman-adv/translation-table.c 				      bool enable, bool count)
count            3867 net/batman-adv/translation-table.c 			if (!count)
count            2273 net/batman-adv/types.h 				   size_t count);
count             164 net/bluetooth/6lowpan.c 	int count = atomic_read(&dev->peer_count);
count             169 net/bluetooth/6lowpan.c 	BT_DBG("peers %d addr %pI6c rt %p", count, daddr, rt);
count            1110 net/bluetooth/6lowpan.c 				    size_t count,
count            1114 net/bluetooth/6lowpan.c 	size_t buf_size = min(count, sizeof(buf) - 1);
count            1157 net/bluetooth/6lowpan.c 		return count;
count            1169 net/bluetooth/6lowpan.c 		return count;
count            1172 net/bluetooth/6lowpan.c 	return count;
count             107 net/bluetooth/cmtp/core.c static inline void cmtp_add_msgpart(struct cmtp_session *session, int id, const unsigned char *buf, int count)
count             112 net/bluetooth/cmtp/core.c 	BT_DBG("session %p buf %p count %d", session, buf, count);
count             114 net/bluetooth/cmtp/core.c 	size = (skb) ? skb->len + count : count;
count             125 net/bluetooth/cmtp/core.c 	skb_put_data(nskb, buf, count);
count              64 net/bluetooth/hci_core.c 			     size_t count, loff_t *ppos)
count              72 net/bluetooth/hci_core.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count              76 net/bluetooth/hci_core.c 			      size_t count, loff_t *ppos)
count              86 net/bluetooth/hci_core.c 	err = kstrtobool_from_user(user_buf, count, &enable);
count             109 net/bluetooth/hci_core.c 	return count;
count             120 net/bluetooth/hci_core.c 				size_t count, loff_t *ppos)
count             128 net/bluetooth/hci_core.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             132 net/bluetooth/hci_core.c 				 size_t count, loff_t *ppos)
count             138 net/bluetooth/hci_core.c 	err = kstrtobool_from_user(user_buf, count, &enable);
count             165 net/bluetooth/hci_core.c 	return count;
count              34 net/bluetooth/hci_debugfs.c 				size_t count, loff_t *ppos)		      \
count              42 net/bluetooth/hci_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);	      \
count              47 net/bluetooth/hci_debugfs.c 				 size_t count, loff_t *ppos)		      \
count              56 net/bluetooth/hci_debugfs.c 	err = kstrtobool_from_user(user_buf, count, &enable);		      \
count              65 net/bluetooth/hci_debugfs.c 	return count;							      \
count             256 net/bluetooth/hci_debugfs.c 				   size_t count, loff_t *ppos)
count             264 net/bluetooth/hci_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             274 net/bluetooth/hci_debugfs.c 				 size_t count, loff_t *ppos)
count             282 net/bluetooth/hci_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             408 net/bluetooth/hci_debugfs.c 				   size_t count, loff_t *ppos)
count             416 net/bluetooth/hci_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             672 net/bluetooth/hci_debugfs.c 					 size_t count, loff_t *ppos)
count             680 net/bluetooth/hci_debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count             685 net/bluetooth/hci_debugfs.c 					  size_t count, loff_t *ppos)
count             694 net/bluetooth/hci_debugfs.c 	err = kstrtobool_from_user(user_buf, count, &enable);
count             703 net/bluetooth/hci_debugfs.c 	return count;
count            3654 net/bluetooth/hci_event.c 		__u16  handle, count;
count            3657 net/bluetooth/hci_event.c 		count  = __le16_to_cpu(info->count);
count            3663 net/bluetooth/hci_event.c 		conn->sent -= count;
count            3667 net/bluetooth/hci_event.c 			hdev->acl_cnt += count;
count            3674 net/bluetooth/hci_event.c 				hdev->le_cnt += count;
count            3678 net/bluetooth/hci_event.c 				hdev->acl_cnt += count;
count            3685 net/bluetooth/hci_event.c 			hdev->sco_cnt += count;
count             235 net/bluetooth/hidp/core.c 		unsigned char *data, size_t count,
count             297 net/bluetooth/hidp/core.c 		len = skb->len < count ? skb->len : count;
count             319 net/bluetooth/hidp/core.c 			       unsigned char *data, size_t count,
count             345 net/bluetooth/hidp/core.c 	ret = hidp_send_ctrl_message(session, report_type, data, count);
count             375 net/bluetooth/hidp/core.c 	ret = count;
count             383 net/bluetooth/hidp/core.c static int hidp_output_report(struct hid_device *hid, __u8 *data, size_t count)
count             389 net/bluetooth/hidp/core.c 				      data, count);
count            2156 net/bluetooth/l2cap_core.c 					 int count, struct sk_buff *skb)
count            2162 net/bluetooth/l2cap_core.c 	if (!copy_from_iter_full(skb_put(skb, count), count, &msg->msg_iter))
count            2165 net/bluetooth/l2cap_core.c 	sent += count;
count            2166 net/bluetooth/l2cap_core.c 	len  -= count;
count            2173 net/bluetooth/l2cap_core.c 		count = min_t(unsigned int, conn->mtu, len);
count            2175 net/bluetooth/l2cap_core.c 		tmp = chan->ops->alloc_skb(chan, 0, count,
count            2182 net/bluetooth/l2cap_core.c 		if (!copy_from_iter_full(skb_put(*frag, count), count,
count            2186 net/bluetooth/l2cap_core.c 		sent += count;
count            2187 net/bluetooth/l2cap_core.c 		len  -= count;
count            2203 net/bluetooth/l2cap_core.c 	int err, count, hlen = L2CAP_HDR_SIZE + L2CAP_PSMLEN_SIZE;
count            2209 net/bluetooth/l2cap_core.c 	count = min_t(unsigned int, (conn->mtu - hlen), len);
count            2211 net/bluetooth/l2cap_core.c 	skb = chan->ops->alloc_skb(chan, hlen, count,
count            2222 net/bluetooth/l2cap_core.c 	err = l2cap_skbuff_fromiovec(chan, msg, len, count, skb);
count            2235 net/bluetooth/l2cap_core.c 	int err, count;
count            2240 net/bluetooth/l2cap_core.c 	count = min_t(unsigned int, (conn->mtu - L2CAP_HDR_SIZE), len);
count            2242 net/bluetooth/l2cap_core.c 	skb = chan->ops->alloc_skb(chan, L2CAP_HDR_SIZE, count,
count            2252 net/bluetooth/l2cap_core.c 	err = l2cap_skbuff_fromiovec(chan, msg, len, count, skb);
count            2266 net/bluetooth/l2cap_core.c 	int err, count, hlen;
count            2282 net/bluetooth/l2cap_core.c 	count = min_t(unsigned int, (conn->mtu - hlen), len);
count            2284 net/bluetooth/l2cap_core.c 	skb = chan->ops->alloc_skb(chan, hlen, count,
count            2303 net/bluetooth/l2cap_core.c 	err = l2cap_skbuff_fromiovec(chan, msg, len, count, skb);
count            2387 net/bluetooth/l2cap_core.c 	int err, count, hlen;
count            2400 net/bluetooth/l2cap_core.c 	count = min_t(unsigned int, (conn->mtu - hlen), len);
count            2402 net/bluetooth/l2cap_core.c 	skb = chan->ops->alloc_skb(chan, hlen, count,
count            2415 net/bluetooth/l2cap_core.c 	err = l2cap_skbuff_fromiovec(chan, msg, len, count, skb);
count            2928 net/bluetooth/l2cap_core.c 	int len, count;
count            2937 net/bluetooth/l2cap_core.c 	count = min_t(unsigned int, conn->mtu, len);
count            2939 net/bluetooth/l2cap_core.c 	skb = bt_skb_alloc(count, GFP_KERNEL);
count            2957 net/bluetooth/l2cap_core.c 		count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE;
count            2958 net/bluetooth/l2cap_core.c 		skb_put_data(skb, data, count);
count            2959 net/bluetooth/l2cap_core.c 		data += count;
count            2967 net/bluetooth/l2cap_core.c 		count = min_t(unsigned int, conn->mtu, len);
count            2969 net/bluetooth/l2cap_core.c 		*frag = bt_skb_alloc(count, GFP_KERNEL);
count            2973 net/bluetooth/l2cap_core.c 		skb_put_data(*frag, data, count);
count            2975 net/bluetooth/l2cap_core.c 		len  -= count;
count            2976 net/bluetooth/l2cap_core.c 		data += count;
count             358 net/bluetooth/mgmt.c 	u16 count;
count             365 net/bluetooth/mgmt.c 	count = 0;
count             369 net/bluetooth/mgmt.c 			count++;
count             372 net/bluetooth/mgmt.c 	rp_len = sizeof(*rp) + (2 * count);
count             379 net/bluetooth/mgmt.c 	count = 0;
count             394 net/bluetooth/mgmt.c 			rp->index[count++] = cpu_to_le16(d->id);
count             399 net/bluetooth/mgmt.c 	rp->num_controllers = cpu_to_le16(count);
count             400 net/bluetooth/mgmt.c 	rp_len = sizeof(*rp) + (2 * count);
count             418 net/bluetooth/mgmt.c 	u16 count;
count             425 net/bluetooth/mgmt.c 	count = 0;
count             429 net/bluetooth/mgmt.c 			count++;
count             432 net/bluetooth/mgmt.c 	rp_len = sizeof(*rp) + (2 * count);
count             439 net/bluetooth/mgmt.c 	count = 0;
count             454 net/bluetooth/mgmt.c 			rp->index[count++] = cpu_to_le16(d->id);
count             459 net/bluetooth/mgmt.c 	rp->num_controllers = cpu_to_le16(count);
count             460 net/bluetooth/mgmt.c 	rp_len = sizeof(*rp) + (2 * count);
count             477 net/bluetooth/mgmt.c 	u16 count;
count             484 net/bluetooth/mgmt.c 	count = 0;
count             487 net/bluetooth/mgmt.c 			count++;
count             490 net/bluetooth/mgmt.c 	rp = kmalloc(struct_size(rp, entry, count), GFP_ATOMIC);
count             496 net/bluetooth/mgmt.c 	count = 0;
count             511 net/bluetooth/mgmt.c 				rp->entry[count].type = 0x01;
count             513 net/bluetooth/mgmt.c 				rp->entry[count].type = 0x00;
count             515 net/bluetooth/mgmt.c 			rp->entry[count].type = 0x02;
count             520 net/bluetooth/mgmt.c 		rp->entry[count].bus = d->bus;
count             521 net/bluetooth/mgmt.c 		rp->entry[count++].index = cpu_to_le16(d->id);
count             525 net/bluetooth/mgmt.c 	rp->num_controllers = cpu_to_le16(count);
count             539 net/bluetooth/mgmt.c 				struct_size(rp, entry, count));
count             753 net/bluetooth/rfcomm/tty.c 	       dev->channel, dev->port.count);
count             776 net/bluetooth/rfcomm/tty.c 						dev->port.count);
count             781 net/bluetooth/rfcomm/tty.c static int rfcomm_tty_write(struct tty_struct *tty, const unsigned char *buf, int count)
count             788 net/bluetooth/rfcomm/tty.c 	BT_DBG("tty %p count %d", tty, count);
count             790 net/bluetooth/rfcomm/tty.c 	while (count) {
count             791 net/bluetooth/rfcomm/tty.c 		size = min_t(uint, count, dlc->mtu);
count             804 net/bluetooth/rfcomm/tty.c 		count -= size;
count             187 net/bluetooth/selftest.c 			      size_t count, loff_t *ppos)
count             189 net/bluetooth/selftest.c 	return simple_read_from_buffer(user_buf, count, ppos, test_ecdh_buffer,
count            3310 net/bluetooth/smp.c 				    size_t count, loff_t *ppos)
count            3318 net/bluetooth/smp.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
count            3323 net/bluetooth/smp.c 				     size_t count, loff_t *ppos)
count            3329 net/bluetooth/smp.c 	err = kstrtobool_from_user(user_buf, count, &enable);
count            3354 net/bluetooth/smp.c 	return count;
count            3366 net/bluetooth/smp.c 				     size_t count, loff_t *ppos)
count            3373 net/bluetooth/smp.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count            3378 net/bluetooth/smp.c 				      size_t count, loff_t *ppos)
count            3382 net/bluetooth/smp.c 	size_t buf_size = min(count, (sizeof(buf) - 1));
count            3398 net/bluetooth/smp.c 	return count;
count            3410 net/bluetooth/smp.c 				     size_t count, loff_t *ppos)
count            3417 net/bluetooth/smp.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count            3422 net/bluetooth/smp.c 				      size_t count, loff_t *ppos)
count            3426 net/bluetooth/smp.c 	size_t buf_size = min(count, (sizeof(buf) - 1));
count            3442 net/bluetooth/smp.c 	return count;
count            3789 net/bluetooth/smp.c 			     size_t count, loff_t *ppos)
count            3791 net/bluetooth/smp.c 	return simple_read_from_buffer(user_buf, count, ppos, test_smp_buffer,
count            2193 net/bridge/br_multicast.c 	int count = 0;
count            2216 net/bridge/br_multicast.c 			count++;
count            2222 net/bridge/br_multicast.c 	return count;
count             564 net/bridge/br_private.h int br_fdb_fillbuf(struct net_bridge *br, void *buf, unsigned long count,
count             917 net/bridge/br_sysfs_br.c 			      char *buf, loff_t off, size_t count)
count             928 net/bridge/br_sysfs_br.c 			    count / sizeof(struct __fdb_entry),
count             305 net/bridge/br_sysfs_if.c 			    const char *buf, size_t count)
count             322 net/bridge/br_sysfs_if.c 		buf_copy = kstrndup(buf, count, GFP_KERNEL);
count             342 net/bridge/br_sysfs_if.c 		ret = count;
count             292 net/caif/cfctrl.c 		int count;
count             294 net/caif/cfctrl.c 		count = cfctrl_cancel_req(&cfctrl->serv.layer,
count             296 net/caif/cfctrl.c 		if (count != 1) {
count             297 net/caif/cfctrl.c 			pr_err("Could not remove request (%d)", count);
count              26 net/caif/cfpkt_skbuff.c 	atomic_t count;
count             112 net/can/bcm.c  	u32 count;
count             377 net/can/bcm.c  	if (op->kt_ival1 && op->count)
count             400 net/can/bcm.c  	if (op->kt_ival1 && (op->count > 0)) {
count             401 net/can/bcm.c  		op->count--;
count             402 net/can/bcm.c  		if (!op->count && (op->flags & TX_COUNTEVT)) {
count             407 net/can/bcm.c  			msg_head.count   = op->count;
count             444 net/can/bcm.c  	head.count   = op->count;
count             565 net/can/bcm.c  	msg_head.count   = op->count;
count             822 net/can/bcm.c  	msg_head->count   = op->count;
count             978 net/can/bcm.c  		op->count = msg_head->count;
count             997 net/can/bcm.c  		if (op->count)
count             998 net/can/bcm.c  			op->count--;
count             653 net/can/j1939/socket.c 	int tmp, count = 0, ret = 0;
count             672 net/can/j1939/socket.c 			count = optlen / sizeof(*filters);
count             677 net/can/j1939/socket.c 			for (f = filters, c = count; c; f++, c--) {
count             687 net/can/j1939/socket.c 		jsk->nfilters = count;
count             101 net/can/proc.c 			       unsigned long count)
count             109 net/can/proc.c 	if (count > (ULONG_MAX / HZ)) {
count             111 net/can/proc.c 		       count);
count             115 net/can/proc.c 	rate = (count * HZ) / (newjif - oldjif);
count              91 net/can/raw.c  	int count;                 /* number of active filters */
count             138 net/can/raw.c  			if (this_cpu_ptr(ro->uniq)->join_rx_count < ro->count)
count             148 net/can/raw.c  		if (ro->join_filters && ro->count > 1)
count             183 net/can/raw.c  			      int count)
count             188 net/can/raw.c  	for (i = 0; i < count; i++) {
count             219 net/can/raw.c  				int count)
count             223 net/can/raw.c  	for (i = 0; i < count; i++)
count             245 net/can/raw.c  	raw_disable_filters(net, dev, sk, ro->filter, ro->count);
count             255 net/can/raw.c  	err = raw_enable_filters(net, dev, sk, ro->filter, ro->count);
count             260 net/can/raw.c  					    ro->count);
count             289 net/can/raw.c  		if (ro->count > 1)
count             294 net/can/raw.c  		ro->count   = 0;
count             323 net/can/raw.c  	ro->count            = 1;
count             373 net/can/raw.c  	if (ro->count > 1)
count             378 net/can/raw.c  	ro->count   = 0;
count             496 net/can/raw.c  	int count = 0;
count             510 net/can/raw.c  		count = optlen / sizeof(struct can_filter);
count             512 net/can/raw.c  		if (count > 1) {
count             517 net/can/raw.c  		} else if (count == 1) {
count             529 net/can/raw.c  			if (count == 1)
count             534 net/can/raw.c  							 filter, count);
count             536 net/can/raw.c  				if (count > 1)
count             543 net/can/raw.c  					    ro->count);
count             547 net/can/raw.c  		if (ro->count > 1)
count             551 net/can/raw.c  		if (count == 1) {
count             557 net/can/raw.c  		ro->count  = count;
count             667 net/can/raw.c  		if (ro->count > 0) {
count             668 net/can/raw.c  			int fsize = ro->count * sizeof(struct can_filter);
count             580 net/ceph/ceph_common.c 	size_t pos = m->count;
count             619 net/ceph/ceph_common.c 	if (m->count != pos)
count             620 net/ceph/ceph_common.c 		m->count--;
count             476 net/ceph/crush/mapper.c 	int count = out_size;
count             484 net/ceph/crush/mapper.c 	for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) {
count             567 net/ceph/crush/mapper.c 							    out2, outpos, count,
count             627 net/ceph/crush/mapper.c 		count--;
count            1940 net/ceph/messenger.c 		   int max_count, int *count)
count            2002 net/ceph/messenger.c 	if (count)
count            2003 net/ceph/messenger.c 		*count = i + 1;
count             233 net/compat.c   			int count = type == SO_TIMESTAMPNS_OLD ? 1 : 3;
count             236 net/compat.c   			for (i = 0; i < count; i++) {
count             241 net/compat.c   			len = sizeof(cts[0]) * count;
count             270 net/compat.c   	int fdnum = scm->fp->count;
count            2022 net/core/dev.c 	if (tc->offset + tc->count > txq) {
count            2033 net/core/dev.c 		if (tc->offset + tc->count > txq) {
count            2049 net/core/dev.c 			if ((txq - tc->offset) < tc->count)
count            2100 net/core/dev.c 				 int cpu, u16 offset, u16 count)
count            2109 net/core/dev.c 		for (i = count, j = offset; i--; j++) {
count            2136 net/core/dev.c 			   u16 offset, u16 count, bool is_rxqs_map)
count            2144 net/core/dev.c 					       count);
count            2149 net/core/dev.c 		for (i = offset + (count - 1); count--; i--) {
count            2158 net/core/dev.c 				   u16 count)
count            2175 net/core/dev.c 				       offset, count, true);
count            2186 net/core/dev.c 	clean_xps_maps(dev, possible_mask, dev_maps, nr_ids, offset, count,
count            2477 net/core/dev.c int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset)
count            2483 net/core/dev.c 	netif_reset_xps_queues(dev, offset, count);
count            2485 net/core/dev.c 	dev->tc_to_txq[tc].count = count;
count            2526 net/core/dev.c 				 u8 tc, u16 count, u16 offset)
count            2533 net/core/dev.c 	if ((offset + count) > dev->real_num_tx_queues)
count            2537 net/core/dev.c 	sb_dev->tc_to_txq[tc].count = count;
count            2543 net/core/dev.c 	while (count--)
count            2544 net/core/dev.c 		netdev_get_tx_queue(dev, count + offset)->sb_dev = sb_dev;
count            2793 net/core/dev.c 		qcount = sb_dev->tc_to_txq[tc].count;
count            4144 net/core/dev.c 			fl->count++;
count            5298 net/core/dev.c 	if (NAPI_GRO_CB(skb)->count == 1) {
count            5337 net/core/dev.c 		napi->gro_hash[index].count--;
count            5340 net/core/dev.c 	if (!napi->gro_hash[index].count)
count            5532 net/core/dev.c 		napi->gro_hash[hash].count--;
count            5541 net/core/dev.c 	if (unlikely(napi->gro_hash[hash].count >= MAX_GRO_SKBS)) {
count            5544 net/core/dev.c 		napi->gro_hash[hash].count++;
count            5546 net/core/dev.c 	NAPI_GRO_CB(skb)->count = 1;
count            5558 net/core/dev.c 	if (napi->gro_hash[hash].count) {
count            6112 net/core/dev.c 				goto count;
count            6116 net/core/dev.c 				goto count;
count            6123 net/core/dev.c count:
count            6215 net/core/dev.c 		napi->gro_hash[i].count = 0;
count            6270 net/core/dev.c 		napi->gro_hash[i].count = 0;
count            8848 net/core/dev.c 	unsigned int i, count = dev->num_rx_queues;
count            8850 net/core/dev.c 	size_t sz = count * sizeof(*rx);
count            8853 net/core/dev.c 	BUG_ON(count < 1);
count            8861 net/core/dev.c 	for (i = 0; i < count; i++) {
count            8882 net/core/dev.c 	unsigned int i, count = dev->num_rx_queues;
count            8888 net/core/dev.c 	for (i = 0; i < count; i++)
count            8915 net/core/dev.c 	unsigned int count = dev->num_tx_queues;
count            8917 net/core/dev.c 	size_t sz = count * sizeof(*tx);
count            8919 net/core/dev.c 	if (count < 1 || count > 0xffff)
count              40 net/core/dev_addr_lists.c 	list->count++;
count             108 net/core/dev_addr_lists.c 	list->count--;
count             414 net/core/dev_addr_lists.c 	list->count = 0;
count             420 net/core/dev_addr_lists.c 	list->count = 0;
count             783 net/core/devlink.c 			      u32 count, struct netlink_ext_ack *extack)
count             787 net/core/devlink.c 		return devlink->ops->port_split(devlink, port_index, count,
count             797 net/core/devlink.c 	u32 count;
count             804 net/core/devlink.c 	count = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_SPLIT_COUNT]);
count             805 net/core/devlink.c 	return devlink_port_split(devlink, port_index, count, info->extack);
count              65 net/core/drop_monitor.c 	u32 count;
count             237 net/core/drop_monitor.c 			point->count++;
count             250 net/core/drop_monitor.c 	point->count = 1;
count             333 net/core/drop_monitor.c 	if (nla_put_u32(msg, NET_DM_ATTR_HW_TRAP_COUNT, hw_entry->count))
count             454 net/core/drop_monitor.c 			hw_entry->count++;
count             464 net/core/drop_monitor.c 	hw_entry->count = 1;
count              21 net/core/net-procfs.c 	unsigned int count = 0, offset = get_offset(*pos);
count              25 net/core/net-procfs.c 		if (++count == offset)
count             158 net/core/net-procfs.c 		flow_limit_count = fl->count;
count             378 net/core/net-sysfs.c 	size_t count = len;
count             386 net/core/net-sysfs.c 		--count;
count             392 net/core/net-sysfs.c 		ret = dev_set_alias(netdev, buf, count);
count             669 net/core/net-sysfs.c 				   const char *buf, size_t count)
count             677 net/core/net-sysfs.c 	return attribute->store(queue, buf, count);
count             791 net/core/net-sysfs.c 	unsigned long mask, count;
count             799 net/core/net-sysfs.c 	rc = kstrtoul(buf, 0, &count);
count             803 net/core/net-sysfs.c 	if (count) {
count             804 net/core/net-sysfs.c 		mask = count - 1;
count             829 net/core/net-sysfs.c 		for (count = 0; count <= mask; count++)
count             830 net/core/net-sysfs.c 			table->flows[count].cpu = RPS_NO_CPU;
count             971 net/core/net-sysfs.c 		if (!refcount_read(&dev_net(dev)->count))
count            1014 net/core/net-sysfs.c 				       const char *buf, size_t count)
count            1023 net/core/net-sysfs.c 	return attribute->store(queue, buf, count);
count            1138 net/core/net-sysfs.c static ssize_t bql_set(const char *buf, const size_t count,
count            1156 net/core/net-sysfs.c 	return count;
count            1509 net/core/net-sysfs.c 		if (!refcount_read(&dev_net(dev)->count))
count            1712 net/core/net-sysfs.c 	if (!refcount_read(&dev_net(ndev)->count))
count              47 net/core/net_namespace.c 	.count		= REFCOUNT_INIT(1),
count             258 net/core/net_namespace.c 	if (refcount_read(&net->count) == 0)
count             325 net/core/net_namespace.c 	refcount_set(&net->count, 1);
count             271 net/core/netpoll.c 	int count = 0;
count             283 net/core/netpoll.c 		if (++count < 10) {
count              93 net/core/page_pool.c 		if (likely(pool->alloc.count)) {
count              95 net/core/page_pool.c 			page = pool->alloc.cache[--pool->alloc.count];
count             111 net/core/page_pool.c 		pool->alloc.count = __ptr_ring_consume_batched(r,
count             214 net/core/page_pool.c 	int count;
count             229 net/core/page_pool.c 	count = atomic_inc_return(&pool->pages_state_release_cnt);
count             230 net/core/page_pool.c 	trace_page_pool_state_release(pool, page, count);
count             276 net/core/page_pool.c 	if (unlikely(pool->alloc.count == PP_ALLOC_CACHE_SIZE))
count             280 net/core/page_pool.c 	pool->alloc.cache[pool->alloc.count++] = page;
count             360 net/core/page_pool.c 	while (pool->alloc.count) {
count             361 net/core/page_pool.c 		page = pool->alloc.cache[--pool->alloc.count];
count             247 net/core/pktgen.c 	int count;
count             283 net/core/pktgen.c 	__u64 count;		/* Default No packets to send */
count             499 net/core/pktgen.c 			    size_t count, loff_t *ppos)
count             507 net/core/pktgen.c 	if (count == 0)
count             510 net/core/pktgen.c 	if (count > sizeof(data))
count             511 net/core/pktgen.c 		count = sizeof(data);
count             513 net/core/pktgen.c 	if (copy_from_user(data, buf, count))
count             516 net/core/pktgen.c 	data[count - 1] = 0;	/* Strip trailing '\n' and terminate string */
count             530 net/core/pktgen.c 	return count;
count             555 net/core/pktgen.c 		   (unsigned long long)pkt_dev->count, pkt_dev->min_pkt_size,
count             857 net/core/pktgen.c 			       const char __user * user_buffer, size_t count,
count             871 net/core/pktgen.c 	if (count < 1) {
count             876 net/core/pktgen.c 	max = count;
count             895 net/core/pktgen.c 	max = count - i;
count             903 net/core/pktgen.c 		size_t copy = min_t(size_t, count + 1, 1024);
count             909 net/core/pktgen.c 		pr_debug("%s,%zu  buffer -:%s:-\n", name, count, tp);
count             927 net/core/pktgen.c 		return count;
count             944 net/core/pktgen.c 		return count;
count             963 net/core/pktgen.c 		return count;
count             974 net/core/pktgen.c 		return count;
count             985 net/core/pktgen.c 		return count;
count            1000 net/core/pktgen.c 		return count;
count            1015 net/core/pktgen.c 		return count;
count            1030 net/core/pktgen.c 		return count;
count            1043 net/core/pktgen.c 		return count;
count            1056 net/core/pktgen.c 		return count;
count            1069 net/core/pktgen.c 		return count;
count            1082 net/core/pktgen.c 		return count;
count            1096 net/core/pktgen.c 		return count;
count            1104 net/core/pktgen.c 		pkt_dev->count = value;
count            1106 net/core/pktgen.c 			(unsigned long long)pkt_dev->count);
count            1107 net/core/pktgen.c 		return count;
count            1121 net/core/pktgen.c 		return count;
count            1135 net/core/pktgen.c 		return count;
count            1150 net/core/pktgen.c 		return count;
count            1169 net/core/pktgen.c 		return count;
count            1208 net/core/pktgen.c 			return count;
count            1211 net/core/pktgen.c 		return count;
count            1247 net/core/pktgen.c 			return count;
count            1250 net/core/pktgen.c 		return count;
count            1270 net/core/pktgen.c 		return count;
count            1290 net/core/pktgen.c 		return count;
count            1313 net/core/pktgen.c 		return count;
count            1335 net/core/pktgen.c 		return count;
count            1356 net/core/pktgen.c 		return count;
count            1379 net/core/pktgen.c 		return count;
count            1399 net/core/pktgen.c 		return count;
count            1419 net/core/pktgen.c 		return count;
count            1436 net/core/pktgen.c 		return count;
count            1453 net/core/pktgen.c 		return count;
count            1459 net/core/pktgen.c 		return count;
count            1473 net/core/pktgen.c 		return count;
count            1484 net/core/pktgen.c 		return count;
count            1495 net/core/pktgen.c 		return count;
count            1506 net/core/pktgen.c 		return count;
count            1517 net/core/pktgen.c 		return count;
count            1540 net/core/pktgen.c 		return count;
count            1567 net/core/pktgen.c 		return count;
count            1582 net/core/pktgen.c 		return count;
count            1597 net/core/pktgen.c 		return count;
count            1624 net/core/pktgen.c 		return count;
count            1639 net/core/pktgen.c 		return count;
count            1654 net/core/pktgen.c 		return count;
count            1670 net/core/pktgen.c 		return count;
count            1686 net/core/pktgen.c 		return count;
count            1698 net/core/pktgen.c 		return count;
count            1750 net/core/pktgen.c 				   size_t count, loff_t * offset)
count            1758 net/core/pktgen.c 	if (count < 1) {
count            1763 net/core/pktgen.c 	max = count;
count            1781 net/core/pktgen.c 	max = count - i;
count            1789 net/core/pktgen.c 		pr_debug("t=%s, count=%lu\n", name, (unsigned long)count);
count            1814 net/core/pktgen.c 			ret = count;
count            1826 net/core/pktgen.c 		ret = count;
count            1833 net/core/pktgen.c 		ret = count;
count            2210 net/core/pktgen.c 		if (pkt_dev->flows[flow].count >= pkt_dev->lflow) {
count            2212 net/core/pktgen.c 			pkt_dev->flows[flow].count = 0;
count            2222 net/core/pktgen.c 		if (pkt_dev->flows[flow].count > pkt_dev->lflow) {
count            2223 net/core/pktgen.c 			pkt_dev->flows[flow].count = 0;
count            2487 net/core/pktgen.c 	pkt_dev->flows[flow].count++;
count            3449 net/core/pktgen.c 	if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) {
count            3620 net/core/pktgen.c 	pkt_dev->count = pg_count_d;
count              86 net/core/scm.c 		fpl->count = 0;
count              90 net/core/scm.c 	fpp = &fpl->fp[fpl->count];
count              92 net/core/scm.c 	if (fpl->count + num > fpl->max)
count             107 net/core/scm.c 		fpl->count++;
count             123 net/core/scm.c 		for (i=fpl->count-1; i>=0; i--)
count             200 net/core/scm.c 	if (p->fp && !p->fp->count)
count             284 net/core/scm.c 	int fdnum = scm->fp->count;
count             363 net/core/scm.c 	new_fpl = kmemdup(fpl, offsetof(struct scm_fp_list, fp[fpl->count]),
count             366 net/core/scm.c 		for (i = 0; i < fpl->count; i++)
count             368 net/core/scm.c 		new_fpl->max = new_fpl->count;
count            4084 net/core/skbuff.c 	NAPI_GRO_CB(p)->count++;
count             537 net/core/sock_map.c 	atomic_t count;
count             585 net/core/sock_map.c 	atomic_dec(&htab->count);
count             644 net/core/sock_map.c 	if (atomic_inc_return(&htab->count) > htab->map.max_entries) {
count             646 net/core/sock_map.c 			atomic_dec(&htab->count);
count             654 net/core/sock_map.c 		atomic_dec(&htab->count);
count              56 net/dsa/dsa.c  			      unsigned int count, struct module *owner)
count              60 net/dsa/dsa.c  	for (i = 0; i < count; i++)
count              73 net/dsa/dsa.c  				unsigned int count)
count              77 net/dsa/dsa.c  	for (i = 0; i < count; i++)
count              83 net/dsa/master.c 	int count = 0;
count              86 net/dsa/master.c 		count = ops->get_sset_count(dev, ETH_SS_STATS);
count              91 net/dsa/master.c 		ds->ops->get_ethtool_stats(ds, port, data + count);
count             102 net/dsa/master.c 	int count = 0;
count             105 net/dsa/master.c 		count = phy_ethtool_get_sset_count(dev->phydev);
count             106 net/dsa/master.c 		if (count >= 0)
count             109 net/dsa/master.c 		count = ops->get_sset_count(dev, ETH_SS_PHY_STATS);
count             113 net/dsa/master.c 	if (count < 0)
count             114 net/dsa/master.c 		count = 0;
count             117 net/dsa/master.c 		ds->ops->get_ethtool_phy_stats(ds, port, data + count);
count             125 net/dsa/master.c 	int count = 0;
count             129 net/dsa/master.c 		count = phy_ethtool_get_sset_count(dev->phydev);
count             131 net/dsa/master.c 		count = ops->get_sset_count(dev, sset);
count             133 net/dsa/master.c 	if (count < 0)
count             134 net/dsa/master.c 		count = 0;
count             137 net/dsa/master.c 		count += ds->ops->get_sset_count(ds, cpu_dp->index, sset);
count             139 net/dsa/master.c 	return count;
count             150 net/dsa/master.c 	int mcount = 0, count;
count             180 net/dsa/master.c 		count = ds->ops->get_sset_count(ds, port, stringset);
count             181 net/dsa/master.c 		for (i = 0; i < count; i++) {
count             695 net/dsa/slave.c 		int count;
count             697 net/dsa/slave.c 		count = 4;
count             699 net/dsa/slave.c 			count += ds->ops->get_sset_count(ds, dp->index, sset);
count             701 net/dsa/slave.c 		return count;
count            1490 net/ipv4/af_inet.c 			flush_id ^= NAPI_GRO_CB(p)->count;
count            2175 net/ipv4/fib_trie.c 	int count = cb->args[2];
count            2181 net/ipv4/fib_trie.c 	if (count && !key)
count            2190 net/ipv4/fib_trie.c 			cb->args[2] = count;
count            2194 net/ipv4/fib_trie.c 		++count;
count            2206 net/ipv4/fib_trie.c 	cb->args[2] = count;
count            2165 net/ipv4/igmp.c 	int count = 0;
count            2186 net/ipv4/igmp.c 		count++;
count            2189 net/ipv4/igmp.c 	if (count >= net->ipv4.sysctl_igmp_max_memberships)
count            2382 net/ipv4/igmp.c 		int count = IP_SFBLOCK;
count            2385 net/ipv4/igmp.c 			count += psl->sl_max;
count            2386 net/ipv4/igmp.c 		newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL);
count            2391 net/ipv4/igmp.c 		newpsl->sl_max = count;
count            2392 net/ipv4/igmp.c 		newpsl->sl_count = count - IP_SFBLOCK;
count            2514 net/ipv4/igmp.c 	int err, len, count, copycount;
count            2550 net/ipv4/igmp.c 		count = 0;
count            2552 net/ipv4/igmp.c 		count = psl->sl_count;
count            2554 net/ipv4/igmp.c 	copycount = count < msf->imsf_numsrc ? count : msf->imsf_numsrc;
count            2556 net/ipv4/igmp.c 	msf->imsf_numsrc = count;
count            2572 net/ipv4/igmp.c 	int err, i, count, copycount;
count            2599 net/ipv4/igmp.c 	count = psl ? psl->sl_count : 0;
count            2600 net/ipv4/igmp.c 	copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc;
count            2601 net/ipv4/igmp.c 	gsf->gf_numsrc = count;
count             131 net/ipv4/inet_fragment.c 	int count;
count             133 net/ipv4/inet_fragment.c 	count = del_timer_sync(&fq->timer) ? 1 : 0;
count             138 net/ipv4/inet_fragment.c 		count++;
count             140 net/ipv4/inet_fragment.c 		count++;
count             144 net/ipv4/inet_fragment.c 	if (refcount_sub_and_test(count, &fq->refcnt))
count             208 net/ipv4/inet_hashtables.c 	ilb2->count++;
count             224 net/ipv4/inet_hashtables.c 	ilb2->count--;
count             563 net/ipv4/inet_hashtables.c 	ilb->count++;
count             610 net/ipv4/inet_hashtables.c 		ilb->count--;
count             754 net/ipv4/inet_hashtables.c 		h->listening_hash[i].count = 0;
count             768 net/ipv4/inet_hashtables.c 		h->lhash2[i].count = 0;
count             275 net/ipv4/inet_timewait_sock.c 				refcount_read(&twsk_net(tw)->count))
count             282 net/ipv4/inet_timewait_sock.c 				     refcount_read(&twsk_net(tw)->count))) {
count              95 net/ipv4/netfilter/nf_nat_h323.c 			TransportAddress *taddr, int count)
count             103 net/ipv4/netfilter/nf_nat_h323.c 	for (i = 0; i < count; i++) {
count             148 net/ipv4/netfilter/nf_nat_h323.c 			TransportAddress *taddr, int count)
count             155 net/ipv4/netfilter/nf_nat_h323.c 	for (i = 0; i < count; i++) {
count             296 net/ipv4/proc.c 			     unsigned short *type, int count)
count             300 net/ipv4/proc.c 	if (count) {
count             302 net/ipv4/proc.c 		for (j = 0; j < count; ++j)
count             307 net/ipv4/proc.c 		for (j = 0; j < count; ++j)
count             316 net/ipv4/proc.c 	int i, count;
count             321 net/ipv4/proc.c 	count = 0;
count             325 net/ipv4/proc.c 			type[count] = i;
count             326 net/ipv4/proc.c 			vals[count++] = val;
count             328 net/ipv4/proc.c 		if (count == PERLINE) {
count             329 net/ipv4/proc.c 			icmpmsg_put_line(seq, vals, type, count);
count             330 net/ipv4/proc.c 			count = 0;
count             333 net/ipv4/proc.c 	icmpmsg_put_line(seq, vals, type, count);
count              49 net/ipv4/syncookies.c 		       u32 count, int c)
count              54 net/ipv4/syncookies.c 			    count, &syncookie_secret[c]);
count             104 net/ipv4/syncookies.c 	u32 count = tcp_cookie_time();
count             106 net/ipv4/syncookies.c 		sseq + (count << COOKIEBITS) +
count             107 net/ipv4/syncookies.c 		((cookie_hash(saddr, daddr, sport, dport, count, 1) + data)
count             123 net/ipv4/syncookies.c 	u32 diff, count = tcp_cookie_time();
count             129 net/ipv4/syncookies.c 	diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS);
count             134 net/ipv4/syncookies.c 		cookie_hash(saddr, daddr, sport, dport, count - diff, 1))
count             744 net/ipv4/tcp.c 			      min(rd_desc->count, len), tss->flags);
count             746 net/ipv4/tcp.c 		rd_desc->count -= ret;
count             755 net/ipv4/tcp.c 		.count	  = tss->len,
count            1677 net/ipv4/tcp.c 		if (!desc->count)
count            3461 net/ipv4/tcp_input.c 	u32 count, now;
count            3478 net/ipv4/tcp_input.c 	count = READ_ONCE(challenge_count);
count            3479 net/ipv4/tcp_input.c 	if (count > 0) {
count            3480 net/ipv4/tcp_input.c 		WRITE_ONCE(challenge_count, count - 1);
count             885 net/ipv4/tcp_metrics.c 				!refcount_read(&tm_net(tm)->count);
count             252 net/ipv4/tcp_offload.c 	    NAPI_GRO_CB(p)->count != 1 ||
count             296 net/ipv4/tcp_offload.c 	skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
count             277 net/ipv4/udp.c 		if (hslot->count > 10) {
count             285 net/ipv4/udp.c 			if (hslot->count < hslot2->count)
count             317 net/ipv4/udp.c 		hslot->count++;
count             329 net/ipv4/udp.c 		hslot2->count++;
count            1898 net/ipv4/udp.c 			hslot->count--;
count            1904 net/ipv4/udp.c 			hslot2->count--;
count            1937 net/ipv4/udp.c 				hslot2->count--;
count            1943 net/ipv4/udp.c 				nhslot2->count++;
count            2152 net/ipv4/udp.c 	unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10);
count            2391 net/ipv4/udp.c 	if (hslot->count > 10)
count            3016 net/ipv4/udp.c 		table->hash[i].count = 0;
count            3021 net/ipv4/udp.c 		table->hash2[i].count = 0;
count             394 net/ipv4/udp_offload.c 		    NAPI_GRO_CB(p)->count >= UDP_GRO_CNT_MAX)
count             502 net/ipv4/udp_offload.c 	skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count;
count             692 net/ipv6/calipso.c 			     unsigned int count)
count             694 net/ipv6/calipso.c 	if (WARN_ON_ONCE(count >= 8))
count             697 net/ipv6/calipso.c 	switch (count) {
count             705 net/ipv6/calipso.c 		buf[offset + 1] = count - 2;
count             706 net/ipv6/calipso.c 		if (count > 2)
count             707 net/ipv6/calipso.c 			memset(buf + offset + 2, 0, count - 2);
count             529 net/ipv6/ip6_fib.c 		w->count = 0;
count             546 net/ipv6/ip6_fib.c 			w->skip = w->count;
count            2007 net/ipv6/ip6_fib.c 				w->count++;
count            2122 net/ipv6/ip6_fib.c 	c.w.count = 0;
count            2466 net/ipv6/ip6_fib.c 		iter->w.skip = iter->w.count;
count             470 net/ipv6/ip6_flowlabel.c 	int count = 0;
count             477 net/ipv6/ip6_flowlabel.c 		count++;
count             481 net/ipv6/ip6_flowlabel.c 	    ((count >= FL_MAX_PER_SOCK ||
count             482 net/ipv6/ip6_flowlabel.c 	      (count > 0 && room < FL_MAX_SIZE/2) || room < FL_MAX_SIZE/4) &&
count             419 net/ipv6/mcast.c 		int count = IP6_SFBLOCK;
count             422 net/ipv6/mcast.c 			count += psl->sl_max;
count             423 net/ipv6/mcast.c 		newpsl = sock_kmalloc(sk, IP6_SFLSIZE(count), GFP_ATOMIC);
count             428 net/ipv6/mcast.c 		newpsl->sl_max = count;
count             429 net/ipv6/mcast.c 		newpsl->sl_count = count - IP6_SFBLOCK;
count             552 net/ipv6/mcast.c 	int err, i, count, copycount;
count             589 net/ipv6/mcast.c 	count = psl ? psl->sl_count : 0;
count             593 net/ipv6/mcast.c 	copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc;
count             594 net/ipv6/mcast.c 	gsf->gf_numsrc = count;
count            4726 net/ipv6/route.c 			unsigned int count;
count            4728 net/ipv6/route.c 			count = rt6_multipath_dead_count(rt, dev);
count            4729 net/ipv6/route.c 			if (rt->fib6_nsiblings + 1 == count) {
count            5607 net/ipv6/route.c 	unsigned int count;
count            5641 net/ipv6/route.c 				w->count++;
count            5653 net/ipv6/route.c 			w->count++;
count            5668 net/ipv6/route.c 	int count = 0;
count            5700 net/ipv6/route.c 			count++;
count            5709 net/ipv6/route.c 							   .count = 0 };
count            5723 net/ipv6/route.c 			return count += w.count;
count             605 net/ipv6/seg6_local.c 	int i, count;
count             607 net/ipv6/seg6_local.c 	count = ARRAY_SIZE(seg6_action_table);
count             608 net/ipv6/seg6_local.c 	for (i = 0; i < count; i++) {
count              42 net/ipv6/syncookies.c 		       __be16 sport, __be16 dport, u32 count, int c)
count              47 net/ipv6/syncookies.c 		u32 count;
count              53 net/ipv6/syncookies.c 		.count = count,
count              68 net/ipv6/syncookies.c 	u32 count = tcp_cookie_time();
count              70 net/ipv6/syncookies.c 		sseq + (count << COOKIEBITS) +
count              71 net/ipv6/syncookies.c 		((cookie_hash(saddr, daddr, sport, dport, count, 1) + data)
count              79 net/ipv6/syncookies.c 	__u32 diff, count = tcp_cookie_time();
count              83 net/ipv6/syncookies.c 	diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS);
count              88 net/ipv6/syncookies.c 		cookie_hash(saddr, daddr, sport, dport, count - diff, 1))
count             752 net/ipv6/udp.c 	unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10);
count              90 net/kcm/kcmproc.c 		   knet->count);
count            1774 net/kcm/kcmsock.c 	knet->count--;
count            1989 net/kcm/kcmsock.c 	knet->count++;
count            1788 net/key/af_key.c static int dump_sa(struct xfrm_state *x, int count, void *ptr)
count            1807 net/key/af_key.c 	out_hdr->sadb_msg_seq = count + 1;
count            1903 net/key/af_key.c static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr)
count            2678 net/key/af_key.c static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr)
count            2703 net/key/af_key.c 	out_hdr->sadb_msg_seq = count + 1;
count             186 net/l2tp/l2tp_core.c 	int count = 0;
count             190 net/l2tp/l2tp_core.c 		if (++count > nth &&
count             249 net/l2tp/l2tp_core.c 	int count = 0;
count             254 net/l2tp/l2tp_core.c 			if (++count > nth) {
count             361 net/llc/llc_sap.c 			 struct sock **stack, int count)
count             366 net/llc/llc_sap.c 	for (i = 0; i < count; i++) {
count             918 net/mac80211/cfg.c 		new->csa_current_counter = csa->count;
count            3218 net/mac80211/cfg.c 		if (params->count <= 1)
count            3231 net/mac80211/cfg.c 		csa.count = params->count;
count            3268 net/mac80211/cfg.c 		if (params->count > 1) {
count            3299 net/mac80211/cfg.c 		if (params->count > 1) {
count            3364 net/mac80211/cfg.c 	ch_switch.count = params->count;
count            3398 net/mac80211/cfg.c 					  params->count);
count              20 net/mac80211/debugfs.c int mac80211_format_buffer(char __user *userbuf, size_t count,
count              31 net/mac80211/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);
count              36 net/mac80211/debugfs.c 			    size_t count, loff_t *ppos)			\
count              40 net/mac80211/debugfs.c 	return mac80211_format_buffer(userbuf, count, ppos, 		\
count              75 net/mac80211/debugfs.c 			size_t count,
count             110 net/mac80211/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count             116 net/mac80211/debugfs.c 			 size_t count,
count             123 net/mac80211/debugfs.c 	if (count > sizeof(buf))
count             126 net/mac80211/debugfs.c 	if (copy_from_user(buf, user_buf, count))
count             135 net/mac80211/debugfs.c 		return count;
count             137 net/mac80211/debugfs.c 		return count;
count             139 net/mac80211/debugfs.c 		return count;
count             153 net/mac80211/debugfs.c 				    size_t count,
count             162 net/mac80211/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos,
count             168 net/mac80211/debugfs.c 				     size_t count,
count             175 net/mac80211/debugfs.c 	if (count > sizeof(buf))
count             178 net/mac80211/debugfs.c 	if (copy_from_user(buf, user_buf, count))
count             193 net/mac80211/debugfs.c 	return count;
count             205 net/mac80211/debugfs.c 			   size_t count, loff_t *ppos)
count             214 net/mac80211/debugfs.c 	return count;
count             279 net/mac80211/debugfs.c 			    size_t count, loff_t *ppos)
count             302 net/mac80211/debugfs.c 	rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count             308 net/mac80211/debugfs.c 			 size_t count, loff_t *ppos)
count             334 net/mac80211/debugfs.c 	rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
count             340 net/mac80211/debugfs.c 			   size_t count, loff_t *ppos)
count             354 net/mac80211/debugfs.c 	return simple_read_from_buffer(user_buf, count, ppos, buf, res);
count             365 net/mac80211/debugfs.c 	size_t count, loff_t *ppos,
count             379 net/mac80211/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);
count             390 net/mac80211/debugfs.c 				     size_t count, loff_t *ppos)	\
count             394 net/mac80211/debugfs.c 				      count,				\
count               9 net/mac80211/debugfs.h int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
count              19 net/mac80211/debugfs_key.c 				 size_t count, loff_t *ppos)		\
count              22 net/mac80211/debugfs_key.c 	return mac80211_format_buffer(userbuf, count, ppos, 		\
count              71 net/mac80211/debugfs_key.c 				  size_t count, loff_t *ppos)
count              79 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
count              84 net/mac80211/debugfs_key.c 				 size_t count, loff_t *ppos)
count             105 net/mac80211/debugfs_key.c 		ret = kstrtou64_from_user(userbuf, count, 16, &pn);
count             112 net/mac80211/debugfs_key.c 		return count;
count             119 net/mac80211/debugfs_key.c 				size_t count, loff_t *ppos)
count             153 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             158 net/mac80211/debugfs_key.c 				size_t count, loff_t *ppos)
count             221 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             226 net/mac80211/debugfs_key.c 				size_t count, loff_t *ppos)
count             254 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             259 net/mac80211/debugfs_key.c 				  size_t count, loff_t *ppos)
count             279 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             284 net/mac80211/debugfs_key.c 				     size_t count, loff_t *ppos)
count             295 net/mac80211/debugfs_key.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, len);
count             300 net/mac80211/debugfs_key.c 			    size_t count, loff_t *ppos)
count             314 net/mac80211/debugfs_key.c 	res = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count              27 net/mac80211/debugfs_netdev.c 	size_t count, loff_t *ppos,
count              38 net/mac80211/debugfs_netdev.c 		ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret);
count              46 net/mac80211/debugfs_netdev.c 	size_t count, loff_t *ppos,
count              52 net/mac80211/debugfs_netdev.c 	if (count >= sizeof(buf))
count              55 net/mac80211/debugfs_netdev.c 	if (copy_from_user(buf, userbuf, count))
count              57 net/mac80211/debugfs_netdev.c 	buf[count] = '\0';
count              61 net/mac80211/debugfs_netdev.c 	ret = (*write)(sdata, buf, count);
count             134 net/mac80211/debugfs_netdev.c 					size_t count, loff_t *ppos)	\
count             137 net/mac80211/debugfs_netdev.c 				 userbuf, count, ppos,			\
count             144 net/mac80211/debugfs_netdev.c 					 size_t count, loff_t *ppos)	\
count             146 net/mac80211/debugfs_netdev.c 	return ieee80211_if_write(file->private_data, userbuf, count,	\
count              24 net/mac80211/debugfs_sta.c 				   size_t count, loff_t *ppos)		\
count              27 net/mac80211/debugfs_sta.c 	return mac80211_format_buffer(userbuf, count, ppos, 		\
count              86 net/mac80211/debugfs_sta.c 			      size_t count, loff_t *ppos)
count             101 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
count             107 net/mac80211/debugfs_sta.c 					  size_t count, loff_t *ppos)
count             117 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             122 net/mac80211/debugfs_sta.c 				      size_t count, loff_t *ppos)
count             131 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             138 net/mac80211/debugfs_sta.c 			size_t count, loff_t *ppos)
count             190 net/mac80211/debugfs_sta.c 	rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             197 net/mac80211/debugfs_sta.c 				size_t count, loff_t *ppos)
count             230 net/mac80211/debugfs_sta.c 	rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             236 net/mac80211/debugfs_sta.c 				 size_t count, loff_t *ppos)
count             250 net/mac80211/debugfs_sta.c 	return count;
count             255 net/mac80211/debugfs_sta.c 					size_t count, loff_t *ppos)
count             295 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             299 net/mac80211/debugfs_sta.c 				    size_t count, loff_t *ppos)
count             308 net/mac80211/debugfs_sta.c 	if (count > sizeof(_buf))
count             311 net/mac80211/debugfs_sta.c 	if (copy_from_user(buf, userbuf, count))
count             365 net/mac80211/debugfs_sta.c 	return ret ?: count;
count             370 net/mac80211/debugfs_sta.c 				size_t count, loff_t *ppos)
count             447 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             452 net/mac80211/debugfs_sta.c 				 size_t count, loff_t *ppos)
count             552 net/mac80211/debugfs_sta.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             557 net/mac80211/debugfs_sta.c 				size_t count, loff_t *ppos)
count             921 net/mac80211/debugfs_sta.c 	ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
count             187 net/mac80211/driver-ops.h 	trace_drv_prepare_multicast(local, mc_list->count);
count             149 net/mac80211/ibss.c 		*pos++ = csa_settings->count;
count             150 net/mac80211/ibss.c 		presp->csa_current_counter = csa_settings->count;
count             824 net/mac80211/ibss.c 	params.count = csa_ie.count;
count             254 net/mac80211/ieee80211_i.h 	u8 count;
count            1450 net/mac80211/ieee80211_i.h 	u8 count;
count             815 net/mac80211/mesh.c 		bcn->csa_current_counter = csa->settings.count;
count             817 net/mac80211/mesh.c 		*pos++ = csa->settings.count;
count            1086 net/mac80211/mesh.c 	params.count = csa_ie.count;
count             647 net/mac80211/mlme.c 	int i, count, rates_len, supp_rates_len, shift;
count             767 net/mac80211/mlme.c 	count = 0;
count             773 net/mac80211/mlme.c 			if (++count == 8)
count             778 net/mac80211/mlme.c 	if (rates_len > count) {
count             779 net/mac80211/mlme.c 		pos = skb_put(skb, rates_len - count + 2);
count             781 net/mac80211/mlme.c 		*pos++ = rates_len - count;
count            1316 net/mac80211/mlme.c 		ch_switch.count = csa_ie.count;
count            1416 net/mac80211/mlme.c 					  csa_ie.count);
count            1425 net/mac80211/mlme.c 	if (csa_ie.count <= 1)
count            1429 net/mac80211/mlme.c 			  TU_TO_EXP_TIME((csa_ie.count - 1) *
count            1665 net/mac80211/mlme.c 	int count = 0;
count            1681 net/mac80211/mlme.c 			count = 0;
count            1687 net/mac80211/mlme.c 		count++;
count            1690 net/mac80211/mlme.c 	if (count == 1 && ieee80211_powersave_allowed(found)) {
count            1935 net/mac80211/mlme.c 	int count, mu_edca_count, ac;
count            1954 net/mac80211/mlme.c 	count = wmm_param[6] & 0x0f;
count            1960 net/mac80211/mlme.c 	if (count == ifmgd->wmm_last_param_set &&
count            1963 net/mac80211/mlme.c 	ifmgd->wmm_last_param_set = count;
count             208 net/mac80211/rate.c 			   size_t count, loff_t *ppos)
count             213 net/mac80211/rate.c 	return simple_read_from_buffer(userbuf, count, ppos,
count             356 net/mac80211/rate.c 	info->control.rates[0].count =
count             703 net/mac80211/rate.c 		    info->control.rates[i].count) {
count             710 net/mac80211/rate.c 				rates[i].count = ratetbl->rate[i].count_rts;
count             712 net/mac80211/rate.c 				rates[i].count = ratetbl->rate[i].count_cts;
count             714 net/mac80211/rate.c 				rates[i].count = ratetbl->rate[i].count;
count             717 net/mac80211/rate.c 			rates[i].count = 0;
count             720 net/mac80211/rate.c 		if (rates[i].idx < 0 || !rates[i].count)
count             884 net/mac80211/rate.c 		info->control.rates[i].count = 0;
count             119 net/mac80211/rc80211_minstrel.c 	ratetbl->rate[offset].count = r->adjusted_retry_count;
count             149 net/mac80211/rc80211_minstrel.c 	ratetbl->rate[i].count = mp->max_retry;
count             280 net/mac80211/rc80211_minstrel.c 		mi->r[ndx].stats.attempts += ar[i].count;
count             431 net/mac80211/rc80211_minstrel.c 	rate->count = minstrel_get_retry_count(&mi->r[ndx], info);
count             800 net/mac80211/rc80211_minstrel_ht.c 	if (!rate->count)
count             941 net/mac80211/rc80211_minstrel_ht.c 		rate->attempts += ar[i].count * info->status.ampdu_len;
count            1069 net/mac80211/rc80211_minstrel_ht.c 		ratetbl->rate[offset].count = 2;
count            1073 net/mac80211/rc80211_minstrel_ht.c 		ratetbl->rate[offset].count = mrs->retry_count;
count            1093 net/mac80211/rc80211_minstrel_ht.c 		ratetbl->rate[offset].count = ratetbl->rate[offset].count_rts;
count            1339 net/mac80211/rc80211_minstrel_ht.c 	rate->count = 1;
count              60 net/mac80211/spectmgmt.c 		csa_ie->count = elems->ext_chansw_ie->count;
count              64 net/mac80211/spectmgmt.c 		csa_ie->count = elems->ch_switch_ie->count;
count            1313 net/mac80211/sta_info.c 		int count = skb_queue_len(&pending), tmp;
count            1319 net/mac80211/sta_info.c 		filtered += tmp - count;
count            1320 net/mac80211/sta_info.c 		count = tmp;
count            1326 net/mac80211/sta_info.c 		buffered += tmp - count;
count             774 net/mac80211/status.c 	int count = -1;
count             782 net/mac80211/status.c 			info->status.rates[i].count = 0;
count             789 net/mac80211/status.c 			info->status.rates[i].count = 0;
count             793 net/mac80211/status.c 		count += info->status.rates[i].count;
count             797 net/mac80211/status.c 	if (count < 0)
count             798 net/mac80211/status.c 		count = 0;
count             800 net/mac80211/status.c 	*retry_count = count;
count            1144 net/mac80211/trace.h 		__field(u8, count)
count            1154 net/mac80211/trace.h 		__entry->count = ch_switch->count;
count            1159 net/mac80211/trace.h 		LOCAL_PR_ARG, VIF_PR_ARG, CHANDEF_PR_ARG, __entry->count
count            2459 net/mac80211/trace.h 		__field(u8, count)
count            2469 net/mac80211/trace.h 		__entry->count = ch_switch->count;
count            2475 net/mac80211/trace.h 		LOCAL_PR_ARG, VIF_PR_ARG, CHANDEF_PR_ARG, __entry->count,
count            2506 net/mac80211/trace.h 		__field(u8, count)
count            2516 net/mac80211/trace.h 		__entry->count = ch_switch->count;
count            2523 net/mac80211/trace.h 		LOCAL_PR_ARG, VIF_PR_ARG, CHANDEF_PR_ARG, __entry->count,
count             758 net/mac80211/tx.c 				.count = ratetbl->rate[0].count
count             782 net/mac80211/tx.c 	if (unlikely(!info->control.rates[0].count))
count             783 net/mac80211/tx.c 		info->control.rates[0].count = 1;
count             785 net/mac80211/tx.c 	if (WARN_ON_ONCE((info->control.rates[0].count > 1) &&
count             787 net/mac80211/tx.c 		info->control.rates[0].count = 1;
count            2171 net/mac80211/tx.c 			info->control.rates[i].count = 0;
count            2193 net/mac80211/tx.c 		info->control.rates[0].count = min_t(u8, rate_retries + 1,
count            4305 net/mac80211/tx.c 	u8 count = beacon->csa_current_counter;
count            4335 net/mac80211/tx.c 			beacon_data[beacon->csa_counter_offsets[i]] = count;
count            4339 net/mac80211/tx.c 			resp->data[resp->csa_counter_offsets[i]] = count;
count            4358 net/mac80211/tx.c 	u8 count = 0;
count            4372 net/mac80211/tx.c 	count = __ieee80211_csa_update_counter(beacon);
count            4376 net/mac80211/tx.c 	return count;
count            3077 net/mac80211/util.c 	int brate, rate, i, j, count = 0;
count            3092 net/mac80211/util.c 				count++;
count            3097 net/mac80211/util.c 	return count;
count            3512 net/mac80211/util.c 	*pos++ = csa_settings->count;				/* count */
count            3633 net/mac80211/util.c 	if (data->count[i] == 1)
count            3641 net/mac80211/util.c 	if (data->count[i] < 255) {
count            3642 net/mac80211/util.c 		if (data->count[i] <= skip) {
count            3643 net/mac80211/util.c 			data->count[i] = 0;
count            3647 net/mac80211/util.c 		data->count[i] -= skip;
count            3665 net/mac80211/util.c 		if (!data->count[i])
count            3715 net/mac80211/util.c 		if (!data->count[i])
count            3747 net/mac80211/util.c 		if (!desc->count || !desc->duration)
count            3750 net/mac80211/util.c 		data->count[i] = desc->count;
count            3755 net/mac80211/util.c 		if (data->count[i] > 1 &&
count            2582 net/netfilter/ipvs/ip_vs_ctl.c 	int idx, count=0;
count            2593 net/netfilter/ipvs/ip_vs_ctl.c 			if (count >= get->num_services)
count            2597 net/netfilter/ipvs/ip_vs_ctl.c 			if (copy_to_user(&uptr->entrytable[count],
count            2602 net/netfilter/ipvs/ip_vs_ctl.c 			count++;
count            2612 net/netfilter/ipvs/ip_vs_ctl.c 			if (count >= get->num_services)
count            2616 net/netfilter/ipvs/ip_vs_ctl.c 			if (copy_to_user(&uptr->entrytable[count],
count            2621 net/netfilter/ipvs/ip_vs_ctl.c 			count++;
count            2645 net/netfilter/ipvs/ip_vs_ctl.c 		int count = 0;
count            2652 net/netfilter/ipvs/ip_vs_ctl.c 			if (count >= get->num_dests)
count            2672 net/netfilter/ipvs/ip_vs_ctl.c 			if (copy_to_user(&uptr->entrytable[count],
count            2677 net/netfilter/ipvs/ip_vs_ctl.c 			count++;
count            1757 net/netfilter/ipvs/ip_vs_sync.c 	int id = 0, count, hlen;
count            1782 net/netfilter/ipvs/ip_vs_sync.c 		count = clamp(sysctl_sync_ports(ipvs), 1, IPVS_SYNC_PORTS_MAX);
count            1783 net/netfilter/ipvs/ip_vs_sync.c 		ipvs->threads_mask = count - 1;
count            1785 net/netfilter/ipvs/ip_vs_sync.c 		count = ipvs->threads_mask + 1;
count            1841 net/netfilter/ipvs/ip_vs_sync.c 		ipvs->ms = kcalloc(count, sizeof(ipvs->ms[0]), GFP_KERNEL);
count            1845 net/netfilter/ipvs/ip_vs_sync.c 		for (id = 0; id < count; id++, ms++) {
count            1855 net/netfilter/ipvs/ip_vs_sync.c 	ti = kcalloc(count, sizeof(struct ip_vs_sync_thread_data),
count            1860 net/netfilter/ipvs/ip_vs_sync.c 	for (id = 0; id < count; id++) {
count            1906 net/netfilter/ipvs/ip_vs_sync.c 	id = min(id, count - 1);
count              90 net/netfilter/nf_conncount.c 	list->count--;
count             180 net/netfilter/nf_conncount.c 	if (WARN_ON_ONCE(list->count > INT_MAX))
count             192 net/netfilter/nf_conncount.c 	list->count++;
count             216 net/netfilter/nf_conncount.c 	list->count = 0;
count             259 net/netfilter/nf_conncount.c 	if (!list->count)
count             285 net/netfilter/nf_conncount.c 		if (!rbconn->list.count) {
count             312 net/netfilter/nf_conncount.c 	unsigned int count = 0, gc_count = 0;
count             335 net/netfilter/nf_conncount.c 				count = 0; /* hotdrop */
count             337 net/netfilter/nf_conncount.c 				count = rbconn->list.count;
count             374 net/netfilter/nf_conncount.c 	count = 1;
count             375 net/netfilter/nf_conncount.c 	rbconn->list.count = count;
count             381 net/netfilter/nf_conncount.c 	return count;
count             416 net/netfilter/nf_conncount.c 				return rbconn->list.count;
count             423 net/netfilter/nf_conncount.c 			if (rbconn->list.count == 0) {
count             434 net/netfilter/nf_conncount.c 				return rbconn->list.count;
count             477 net/netfilter/nf_conncount.c 		if (rbconn->list.count > 0)
count            1272 net/netfilter/nf_conntrack_core.c 			if (atomic_read(&net->ct.count) < nf_conntrack_max95)
count            1354 net/netfilter/nf_conntrack_core.c 	atomic_inc(&net->ct.count);
count            1357 net/netfilter/nf_conntrack_core.c 	    unlikely(atomic_read(&net->ct.count) > nf_conntrack_max)) {
count            1361 net/netfilter/nf_conntrack_core.c 			atomic_dec(&net->ct.count);
count            1396 net/netfilter/nf_conntrack_core.c 	atomic_dec(&net->ct.count);
count            1423 net/netfilter/nf_conntrack_core.c 	atomic_dec(&net->ct.count);
count            2164 net/netfilter/nf_conntrack_core.c 	if (atomic_read(&net->ct.count) > 0) {
count            2180 net/netfilter/nf_conntrack_core.c 	if (atomic_read(&net->ct.count) == 0)
count            2209 net/netfilter/nf_conntrack_core.c 		if (atomic_read(&net->ct.count) == 0)
count            2290 net/netfilter/nf_conntrack_core.c 		if (atomic_read(&net->ct.count) != 0)
count            2578 net/netfilter/nf_conntrack_core.c 	atomic_set(&net->ct.count, 0);
count             237 net/netfilter/nf_conntrack_expect.c 	int count;
count             241 net/netfilter/nf_conntrack_expect.c 	for (count = 0; count < NF_CT_TUPLE_L3SIZE; count++){
count             242 net/netfilter/nf_conntrack_expect.c 		intersect_mask.src.u3.all[count] =
count             243 net/netfilter/nf_conntrack_expect.c 			a->mask.src.u3.all[count] & b->mask.src.u3.all[count];
count             647 net/netfilter/nf_conntrack_h323_asn1.c 	unsigned int count, effective_count = 0, i, len = 0;
count             663 net/netfilter/nf_conntrack_h323_asn1.c 		count = *bs->cur++;
count             669 net/netfilter/nf_conntrack_h323_asn1.c 		count = *bs->cur++;
count             670 net/netfilter/nf_conntrack_h323_asn1.c 		count <<= 8;
count             671 net/netfilter/nf_conntrack_h323_asn1.c 		count += *bs->cur++;
count             677 net/netfilter/nf_conntrack_h323_asn1.c 		count = get_len(bs);
count             682 net/netfilter/nf_conntrack_h323_asn1.c 		count = get_bits(bs, f->sz);
count             685 net/netfilter/nf_conntrack_h323_asn1.c 	count += f->lb;
count             689 net/netfilter/nf_conntrack_h323_asn1.c 		effective_count = count > f->ub ? f->ub : count;
count             698 net/netfilter/nf_conntrack_h323_asn1.c 	for (i = 0; i < count; i++) {
count              67 net/netfilter/nf_conntrack_h323_main.c 			  TransportAddress *taddr, int count) __read_mostly;
count              72 net/netfilter/nf_conntrack_h323_main.c 			  TransportAddress *taddr, int count) __read_mostly;
count             898 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < setup->fastStart.count; i++) {
count             930 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < callproc->fastStart.count; i++) {
count             961 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < connect->fastStart.count; i++) {
count             992 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < alert->fastStart.count; i++) {
count            1032 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < facility->fastStart.count; i++) {
count            1063 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < progress->fastStart.count; i++) {
count            1121 net/netfilter/nf_conntrack_h323_main.c 		for (i = 0; i < pdu->h245Control.count; i++) {
count            1248 net/netfilter/nf_conntrack_h323_main.c 		       TransportAddress *taddr, int count)
count            1260 net/netfilter/nf_conntrack_h323_main.c 	for (i = 0; i < count; i++) {
count            1267 net/netfilter/nf_conntrack_h323_main.c 	if (i >= count)		/* Not found */
count            1376 net/netfilter/nf_conntrack_h323_main.c 			  rrq->callSignalAddress.count);
count            1385 net/netfilter/nf_conntrack_h323_main.c 				   rrq->rasAddress.count);
count            1417 net/netfilter/nf_conntrack_h323_main.c 					rcf->callSignalAddress.count);
count            1467 net/netfilter/nf_conntrack_h323_main.c 				   urq->callSignalAddress.count);
count            1656 net/netfilter/nf_conntrack_h323_main.c 					irr->callSignalAddress.count);
count            2289 net/netfilter/nf_conntrack_netlink.c 	unsigned int nr_conntracks = atomic_read(&net->ct.count);
count             154 net/netfilter/nf_conntrack_proto_sctp.c #define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count)	\
count             155 net/netfilter/nf_conntrack_proto_sctp.c for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0;	\
count             158 net/netfilter/nf_conntrack_proto_sctp.c 	(offset) += (ntohs((sch)->length) + 3) & ~3, (count)++)
count             166 net/netfilter/nf_conntrack_proto_sctp.c 	u_int32_t offset, count;
count             172 net/netfilter/nf_conntrack_proto_sctp.c 	for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) {
count             173 net/netfilter/nf_conntrack_proto_sctp.c 		pr_debug("Chunk Num: %d  Type: %d\n", count, sch->type);
count             188 net/netfilter/nf_conntrack_proto_sctp.c 		     count != 0) || !sch->length) {
count             198 net/netfilter/nf_conntrack_proto_sctp.c 	return count == 0;
count             276 net/netfilter/nf_conntrack_proto_sctp.c 	u32 offset, count;
count             280 net/netfilter/nf_conntrack_proto_sctp.c 	for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count) {
count             369 net/netfilter/nf_conntrack_proto_sctp.c 	u_int32_t offset, count;
count             409 net/netfilter/nf_conntrack_proto_sctp.c 	for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) {
count             425 net/netfilter/nf_conntrack_standalone.c 	unsigned int nr_conntracks = atomic_read(&net->ct.count);
count             612 net/netfilter/nf_conntrack_standalone.c 		.data		= &init_net.ct.count,
count            1035 net/netfilter/nf_conntrack_standalone.c 	table[NF_SYSCTL_CT_COUNT].data = &net->ct.count;
count             271 net/netfilter/nf_log.c 	unsigned int	count;
count             281 net/netfilter/nf_log.c 	if (likely(m->count < S_SIZE)) {
count             283 net/netfilter/nf_log.c 		len = vsnprintf(m->buf + m->count, S_SIZE - m->count, f, args);
count             285 net/netfilter/nf_log.c 		if (likely(m->count + len < S_SIZE)) {
count             286 net/netfilter/nf_log.c 			m->count += len;
count             290 net/netfilter/nf_log.c 	m->count = S_SIZE;
count             306 net/netfilter/nf_log.c 	m->count = 0;
count             313 net/netfilter/nf_log.c 	m->buf[m->count] = 0;
count            3868 net/netfilter/nf_tables_api.c 		iter.count	= 0;
count            4166 net/netfilter/nf_tables_api.c 	args.iter.count		= 0;
count            4177 net/netfilter/nf_tables_api.c 	if (args.iter.count == cb->args[0])
count            4180 net/netfilter/nf_tables_api.c 	cb->args[0] = args.iter.count;
count            7303 net/netfilter/nf_tables_api.c 			iter.count	= 0;
count              32 net/netfilter/nft_connlimit.c 	unsigned int count;
count              51 net/netfilter/nft_connlimit.c 	count = priv->list.count;
count              53 net/netfilter/nft_connlimit.c 	if ((count > priv->limit) ^ priv->invert) {
count             135 net/netfilter/nft_ct.c 		u64 count = 0;
count             138 net/netfilter/nft_ct.c 			count = nft_ct_get_eval_counter(acct->counter,
count             140 net/netfilter/nft_ct.c 		memcpy(dest, &count, sizeof(count));
count             207 net/netfilter/nft_lookup.c 	iter.count	= 0;
count             223 net/netfilter/nft_set_bitmap.c 		if (iter->count < iter->skip)
count             235 net/netfilter/nft_set_bitmap.c 		iter->count++;
count             276 net/netfilter/nft_set_hash.c 		if (iter->count < iter->skip)
count             290 net/netfilter/nft_set_hash.c 		iter->count++;
count             579 net/netfilter/nft_set_hash.c 			if (iter->count < iter->skip)
count             590 net/netfilter/nft_set_hash.c 			iter->count++;
count              21 net/netfilter/nft_set_rbtree.c 	seqcount_t		count;
count              60 net/netfilter/nft_set_rbtree.c 		if (read_seqcount_retry(&priv->count, seq))
count             114 net/netfilter/nft_set_rbtree.c 	unsigned int seq = read_seqcount_begin(&priv->count);
count             118 net/netfilter/nft_set_rbtree.c 	if (ret || !read_seqcount_retry(&priv->count, seq))
count             122 net/netfilter/nft_set_rbtree.c 	seq = read_seqcount_begin(&priv->count);
count             141 net/netfilter/nft_set_rbtree.c 		if (read_seqcount_retry(&priv->count, seq))
count             197 net/netfilter/nft_set_rbtree.c 	unsigned int seq = read_seqcount_begin(&priv->count);
count             204 net/netfilter/nft_set_rbtree.c 	if (ret || !read_seqcount_retry(&priv->count, seq))
count             208 net/netfilter/nft_set_rbtree.c 	seq = read_seqcount_begin(&priv->count);
count             268 net/netfilter/nft_set_rbtree.c 	write_seqcount_begin(&priv->count);
count             270 net/netfilter/nft_set_rbtree.c 	write_seqcount_end(&priv->count);
count             284 net/netfilter/nft_set_rbtree.c 	write_seqcount_begin(&priv->count);
count             286 net/netfilter/nft_set_rbtree.c 	write_seqcount_end(&priv->count);
count             365 net/netfilter/nft_set_rbtree.c 		if (iter->count < iter->skip)
count             380 net/netfilter/nft_set_rbtree.c 		iter->count++;
count             397 net/netfilter/nft_set_rbtree.c 	write_seqcount_begin(&priv->count);
count             434 net/netfilter/nft_set_rbtree.c 	write_seqcount_end(&priv->count);
count             456 net/netfilter/nft_set_rbtree.c 	seqcount_init(&priv->count);
count              92 net/netfilter/xt_connbytes.c 	if (sinfo->count.to >= sinfo->count.from)
count              93 net/netfilter/xt_connbytes.c 		return what <= sinfo->count.to && what >= sinfo->count.from;
count              95 net/netfilter/xt_connbytes.c 		return what < sinfo->count.to || what > sinfo->count.from;
count             127 net/netfilter/xt_hashlimit.c 	unsigned int count;		/* number entries in table */
count             241 net/netfilter/xt_hashlimit.c 	if (ht->cfg.max && ht->count >= ht->cfg.max) {
count             253 net/netfilter/xt_hashlimit.c 		ht->count++;
count             271 net/netfilter/xt_hashlimit.c 	ht->count--;
count             320 net/netfilter/xt_hashlimit.c 	hinfo->count = 0;
count              34 net/netfilter/xt_multiport.c 	for (i = 0; i < minfo->count; i++) {
count             112 net/netfilter/xt_multiport.c       u_int8_t count)
count             122 net/netfilter/xt_multiport.c 		&& count <= XT_MULTI_PORTS;
count             131 net/netfilter/xt_multiport.c 		     multiinfo->count) ? 0 : -EINVAL;
count             140 net/netfilter/xt_multiport.c 		     multiinfo->count) ? 0 : -EINVAL;
count              19 net/netfilter/xt_statistic.c 	atomic_t count;
count              42 net/netfilter/xt_statistic.c 			oval = atomic_read(&info->master->count);
count              44 net/netfilter/xt_statistic.c 		} while (atomic_cmpxchg(&info->master->count, oval, nval) != oval);
count              64 net/netfilter/xt_statistic.c 	atomic_set(&info->master->count, info->u.nth.count);
count             127 net/netrom/nr_route.c 			for (i = 0; i < nr_nodet->count; i++)
count             158 net/netrom/nr_route.c 		nr_neigh->count    = 0;
count             195 net/netrom/nr_route.c 		nr_node->count = 1;
count             204 net/netrom/nr_route.c 		nr_neigh->count++;
count             219 net/netrom/nr_route.c 	for (found = 0, i = 0; i < nr_node->count; i++) {
count             230 net/netrom/nr_route.c 		if (nr_node->count < 3) {
count             239 net/netrom/nr_route.c 			nr_node->count++;
count             241 net/netrom/nr_route.c 			nr_neigh->count++;
count             245 net/netrom/nr_route.c 				nr_node->routes[2].neighbour->count--;
count             248 net/netrom/nr_route.c 				if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked)
count             256 net/netrom/nr_route.c 				nr_neigh->count++;
count             262 net/netrom/nr_route.c 	switch (nr_node->count) {
count             273 net/netrom/nr_route.c 	for (i = 0; i < nr_node->count; i++) {
count             342 net/netrom/nr_route.c 	for (i = 0; i < nr_node->count; i++) {
count             344 net/netrom/nr_route.c 			nr_neigh->count--;
count             347 net/netrom/nr_route.c 			if (nr_neigh->count == 0 && !nr_neigh->locked)
count             351 net/netrom/nr_route.c 			nr_node->count--;
count             353 net/netrom/nr_route.c 			if (nr_node->count == 0) {
count             404 net/netrom/nr_route.c 	nr_neigh->count    = 0;
count             441 net/netrom/nr_route.c 	if (nr_neigh->count == 0)
count             463 net/netrom/nr_route.c 		for (i = 0; i < s->count; i++) {
count             471 net/netrom/nr_route.c 				nr_neigh->count--;
count             474 net/netrom/nr_route.c 				if (nr_neigh->count == 0 && !nr_neigh->locked)
count             477 net/netrom/nr_route.c 				s->count--;
count             497 net/netrom/nr_route.c 		if (s->count <= 0)
count             522 net/netrom/nr_route.c 				for (i = 0; i < t->count; i++) {
count             524 net/netrom/nr_route.c 						t->count--;
count             538 net/netrom/nr_route.c 				if (t->count <= 0)
count             735 net/netrom/nr_route.c 		if (nr_node->which < nr_node->count &&
count             793 net/netrom/nr_route.c 	if (nr_node->which >= nr_node->count) {
count             874 net/netrom/nr_route.c 			nr_node->count);
count             876 net/netrom/nr_route.c 		for (i = 0; i < nr_node->count; i++) {
count             929 net/netrom/nr_route.c 			nr_neigh->count,
count             968 net/netrom/nr_route.c 		while(s->count) {
count             969 net/netrom/nr_route.c 			s->count--;
count             245 net/nfc/nci/uart.c 				 char *flags, int count)
count             253 net/nfc/nci/uart.c 	nu->ops.recv_buf(nu, (void *)data, flags, count);
count             301 net/nfc/nci/uart.c 				  const unsigned char *data, size_t count)
count             330 net/nfc/nci/uart.c 				     char *flags, int count)
count             343 net/nfc/nci/uart.c 	while (count > 0) {
count             357 net/nfc/nci/uart.c 			--count;
count             370 net/nfc/nci/uart.c 		if (count < chunk_len)
count             371 net/nfc/nci/uart.c 			chunk_len = count;
count             374 net/nfc/nci/uart.c 		count -= chunk_len;
count            2041 net/openvswitch/conntrack.c 	zone_limit.count = nf_conncount_count(net, data, &conncount_key, NULL,
count              98 net/openvswitch/flow_table.c 	return table->count;
count             184 net/openvswitch/flow_table.c 	table->count = 0;
count             359 net/openvswitch/flow_table.c 	flow_table->count = 0;
count             570 net/openvswitch/flow_table.c 	BUG_ON(table->count == 0);
count             572 net/openvswitch/flow_table.c 	table->count--;
count             653 net/openvswitch/flow_table.c 	table->count++;
count             656 net/openvswitch/flow_table.c 	if (table->count > ti->n_buckets)
count              39 net/openvswitch/flow_table.h 	unsigned int count;
count            1301 net/packet/af_packet.c 	int i, count = 0;
count            1306 net/packet/af_packet.c 			count++;
count            1314 net/packet/af_packet.c 	return count > (ROLLOVER_HLEN >> 1);
count            3580 net/packet/af_packet.c 			ml->count++;
count            3592 net/packet/af_packet.c 	i->count = 1;
count            3617 net/packet/af_packet.c 			if (--ml->count == 0) {
count              61 net/packet/diag.c 		dml->pdmc_count = ml->count;
count              10 net/packet/internal.h 	int			count;
count              54 net/qrtr/tun.c 	int count;
count              66 net/qrtr/tun.c 	count = min_t(size_t, iov_iter_count(to), skb->len);
count              67 net/qrtr/tun.c 	if (copy_to_iter(skb->data, count, to) != count)
count              68 net/qrtr/tun.c 		count = -EFAULT;
count              72 net/qrtr/tun.c 	return count;
count              50 net/rds/ib.h   	unsigned long count;
count             446 net/rds/ib.h   #define rds_ib_stats_add(member, count) \
count             447 net/rds/ib.h   		rds_stats_add_which(rds_ib_stats, member, count)
count             291 net/rds/ib_rdma.c 	unsigned int count = 0;
count             299 net/rds/ib_rdma.c 		count++;
count             301 net/rds/ib_rdma.c 	return count;
count             113 net/rds/ib_recv.c 		head->count = 0;
count             492 net/rds/ib_recv.c 	__this_cpu_inc(cache->percpu->count);
count             494 net/rds/ib_recv.c 	if (__this_cpu_read(cache->percpu->count) < RDS_IB_RECYCLE_BATCH_COUNT)
count             512 net/rds/ib_recv.c 	__this_cpu_write(cache->percpu->count, 0);
count             965 net/rds/rds.h  #define rds_stats_add_which(which, member, count) do {		\
count             966 net/rds/rds.h  	per_cpu(which, get_cpu()).member += count;	\
count             969 net/rds/rds.h  #define rds_stats_add(member, count) rds_stats_add_which(rds_stats, member, count)
count             454 net/rds/recv.c 	unsigned int count = 0, max_messages = ~0U;
count             474 net/rds/recv.c 	while (!list_empty(&rs->rs_notify_queue) && count < max_messages) {
count             478 net/rds/recv.c 		count++;
count             482 net/rds/recv.c 	if (!count)
count             274 net/rds/tcp_recv.c 	desc.count = 1; /* give more than one skb per call */
count             723 net/rfkill/core.c 			  const char *buf, size_t count)
count             743 net/rfkill/core.c 	return count;
count             766 net/rfkill/core.c 			   const char *buf, size_t count)
count             787 net/rfkill/core.c 	return count;
count            1165 net/rfkill/core.c 			       size_t count, loff_t *pos)
count            1194 net/rfkill/core.c 	sz = min_t(unsigned long, sizeof(ev->ev), count);
count            1207 net/rfkill/core.c 				size_t count, loff_t *pos)
count            1214 net/rfkill/core.c 	if (count < RFKILL_EVENT_SIZE_V1 - 1)
count            1222 net/rfkill/core.c 	count = min(count, sizeof(ev));
count            1223 net/rfkill/core.c 	if (copy_from_user(&ev, buf, count))
count            1255 net/rfkill/core.c 	return ret ?: count;
count              67 net/rose/rose_loopback.c 	int count;
count              69 net/rose/rose_loopback.c 	for (count = 0; count < ROSE_LOOPBACK_LIMIT; count++) {
count              95 net/rose/rose_route.c 		rose_neigh->count     = 0;
count             159 net/rose/rose_route.c 		rose_node->count        = 1;
count             180 net/rose/rose_route.c 		rose_neigh->count++;
count             186 net/rose/rose_route.c 	if (rose_node->count < 3) {
count             187 net/rose/rose_route.c 		rose_node->neighbour[rose_node->count] = rose_neigh;
count             188 net/rose/rose_route.c 		rose_node->count++;
count             189 net/rose/rose_route.c 		rose_neigh->count++;
count             330 net/rose/rose_route.c 	for (i = 0; i < rose_node->count; i++) {
count             332 net/rose/rose_route.c 			rose_neigh->count--;
count             334 net/rose/rose_route.c 			if (rose_neigh->count == 0 && rose_neigh->use == 0)
count             337 net/rose/rose_route.c 			rose_node->count--;
count             339 net/rose/rose_route.c 			if (rose_node->count == 0) {
count             382 net/rose/rose_route.c 	sn->count     = 0;
count             429 net/rose/rose_route.c 	rose_node->count        = 1;
count             437 net/rose/rose_route.c 	rose_loopback_neigh->count++;
count             468 net/rose/rose_route.c 	rose_loopback_neigh->count--;
count             499 net/rose/rose_route.c 			for (i = 0; i < t->count; i++) {
count             503 net/rose/rose_route.c 				t->count--;
count             516 net/rose/rose_route.c 			if (t->count <= 0)
count             575 net/rose/rose_route.c 			s->count = 0;
count             685 net/rose/rose_route.c 			for (i = 0; i < node->count; i++) {
count             696 net/rose/rose_route.c 				for (i = 0; i < node->count; i++) {
count            1136 net/rose/rose_route.c 				   rose_node->count);
count            1138 net/rose/rose_route.c 			for (i = 0; i < rose_node->count; i++)
count            1201 net/rose/rose_route.c 			   rose_neigh->count,
count            2493 net/sched/cls_api.c 		arg.w.count = 0;
count            2497 net/sched/cls_api.c 		cb->args[1] = arg.w.count + 1;
count             254 net/sched/cls_basic.c 		if (arg->count < arg->skip)
count             262 net/sched/cls_basic.c 		arg->count++;
count             654 net/sched/cls_bpf.c 		if (arg->count < arg->skip)
count             661 net/sched/cls_bpf.c 		arg->count++;
count             157 net/sched/cls_cgroup.c 	if (arg->count < arg->skip)
count             167 net/sched/cls_cgroup.c 	arg->count++;
count             686 net/sched/cls_flow.c 		if (arg->count < arg->skip)
count             693 net/sched/cls_flow.c 		arg->count++;
count            1742 net/sched/cls_flower.c 	arg->count = arg->skip;
count            1754 net/sched/cls_flower.c 		arg->count++;
count             362 net/sched/cls_fw.c 			if (arg->count < arg->skip) {
count             363 net/sched/cls_fw.c 				arg->count++;
count             370 net/sched/cls_fw.c 			arg->count++;
count             274 net/sched/cls_matchall.c 	if (arg->count < arg->skip)
count             282 net/sched/cls_matchall.c 	arg->count++;
count             580 net/sched/cls_route.c 					if (arg->count < arg->skip) {
count             581 net/sched/cls_route.c 						arg->count++;
count             588 net/sched/cls_route.c 					arg->count++;
count             675 net/sched/cls_rsvp.h 					if (arg->count < arg->skip) {
count             676 net/sched/cls_rsvp.h 						arg->count++;
count             683 net/sched/cls_rsvp.h 					arg->count++;
count             562 net/sched/cls_tcindex.c 			if (walker->count >= walker->skip) {
count             568 net/sched/cls_tcindex.c 			walker->count++;
count             576 net/sched/cls_tcindex.c 			if (walker->count >= walker->skip) {
count             582 net/sched/cls_tcindex.c 			walker->count++;
count            1127 net/sched/cls_u32.c 		if (arg->count >= arg->skip) {
count            1133 net/sched/cls_u32.c 		arg->count++;
count            1138 net/sched/cls_u32.c 				if (arg->count < arg->skip) {
count            1139 net/sched/cls_u32.c 					arg->count++;
count            1146 net/sched/cls_u32.c 				arg->count++;
count            1368 net/sched/sch_api.c 	arg.w.stop = arg.w.skip = arg.w.count = 0;
count            2148 net/sched/sch_api.c 	arg.w.count = 0;
count            2150 net/sched/sch_api.c 	cb->args[1] = arg.w.count;
count             356 net/sched/sch_atm.c 		if (walker->count >= walker->skip &&
count             361 net/sched/sch_atm.c 		walker->count++;
count             108 net/sched/sch_cake.c 	u32	count;
count             380 net/sched/sch_cake.c 	val = (3LL << 32) - ((u64)vars->count * invsqrt2);
count             390 net/sched/sch_cake.c 	if (vars->count < REC_INV_SQRT_CACHE)
count             391 net/sched/sch_cake.c 		vars->rec_inv_sqrt = cobalt_rec_inv_sqrt_cache[vars->count];
count             414 net/sched/sch_cake.c 	for (v.count = 1; v.count < REC_INV_SQRT_CACHE; v.count++) {
count             420 net/sched/sch_cake.c 		cobalt_rec_inv_sqrt_cache[v.count] = v.rec_inv_sqrt;
count             464 net/sched/sch_cake.c 	if (!vars->count)
count             465 net/sched/sch_cake.c 		vars->count = 1;
count             490 net/sched/sch_cake.c 	if (vars->count && ktime_to_ns(ktime_sub(now, vars->drop_next)) >= 0) {
count             491 net/sched/sch_cake.c 		vars->count--;
count             534 net/sched/sch_cake.c 	next_due = vars->count && ktime_to_ns(schedule) >= 0;
count             545 net/sched/sch_cake.c 		if (!vars->count)
count             546 net/sched/sch_cake.c 			vars->count = 1;
count             555 net/sched/sch_cake.c 		vars->count++;
count             556 net/sched/sch_cake.c 		if (!vars->count)
count             557 net/sched/sch_cake.c 			vars->count--;
count             565 net/sched/sch_cake.c 			vars->count--;
count             571 net/sched/sch_cake.c 			next_due = vars->count && ktime_to_ns(schedule) >= 0;
count             580 net/sched/sch_cake.c 	if (!vars->count)
count            2051 net/sched/sch_cake.c 			if (flow->cvars.p_drop || flow->cvars.count ||
count            2993 net/sched/sch_cake.c 		PUT_STAT_U32(COBALT_COUNT, flow->cvars.count);
count            3032 net/sched/sch_cake.c 			    arg->count < arg->skip) {
count            3033 net/sched/sch_cake.c 				arg->count++;
count            3040 net/sched/sch_cake.c 			arg->count++;
count            1762 net/sched/sch_cbq.c 			if (arg->count < arg->skip) {
count            1763 net/sched/sch_cbq.c 				arg->count++;
count            1770 net/sched/sch_cbq.c 			arg->count++;
count             522 net/sched/sch_cbs.c 		if (walker->count >= walker->skip) {
count             528 net/sched/sch_cbs.c 		walker->count++;
count             250 net/sched/sch_codel.c 		.count		= q->vars.count,
count             289 net/sched/sch_drr.c 			if (arg->count < arg->skip) {
count             290 net/sched/sch_drr.c 				arg->count++;
count             297 net/sched/sch_drr.c 			arg->count++;
count             180 net/sched/sch_dsmark.c 		if (walker->count >= walker->skip) {
count             187 net/sched/sch_dsmark.c 		walker->count++;
count             176 net/sched/sch_fq_codel.c 	flow->cvars.count += i;
count             632 net/sched/sch_fq_codel.c 		xstats.class_stats.count = flow->cvars.count;
count             672 net/sched/sch_fq_codel.c 		    arg->count < arg->skip) {
count             673 net/sched/sch_fq_codel.c 			arg->count++;
count             680 net/sched/sch_fq_codel.c 		arg->count++;
count            1353 net/sched/sch_hfsc.c 			if (arg->count < arg->skip) {
count            1354 net/sched/sch_hfsc.c 				arg->count++;
count            1361 net/sched/sch_hfsc.c 			arg->count++;
count            1546 net/sched/sch_htb.c 			if (arg->count < arg->skip) {
count            1547 net/sched/sch_htb.c 				arg->count++;
count            1554 net/sched/sch_htb.c 			arg->count++;
count             264 net/sched/sch_mq.c 	arg->count = arg->skip;
count             270 net/sched/sch_mq.c 		arg->count++;
count              92 net/sched/sch_mqprio.c 		unsigned int last = qopt->offset[i] + qopt->count[i];
count              98 net/sched/sch_mqprio.c 		    !qopt->count[i] ||
count             278 net/sched/sch_mqprio.c 					    qopt->count[i], qopt->offset[i]);
count             433 net/sched/sch_mqprio.c 		opt.count[tc] = dev->tc_to_txq[tc].count;
count             529 net/sched/sch_mqprio.c 		for (i = tc.offset; i < tc.offset + tc.count; i++) {
count             578 net/sched/sch_mqprio.c 	arg->count = arg->skip;
count             584 net/sched/sch_mqprio.c 		arg->count++;
count             589 net/sched/sch_mqprio.c 		arg->count = TC_MAX_QUEUE;
count             599 net/sched/sch_mqprio.c 		arg->count++;
count             358 net/sched/sch_multiq.c 		if (arg->count < arg->skip) {
count             359 net/sched/sch_multiq.c 			arg->count++;
count             366 net/sched/sch_multiq.c 		arg->count++;
count             443 net/sched/sch_netem.c 	int count = 1;
count             452 net/sched/sch_netem.c 		++count;
count             459 net/sched/sch_netem.c 			--count;
count             461 net/sched/sch_netem.c 	if (count == 0) {
count             478 net/sched/sch_netem.c 	if (count > 1 && (skb2 = skb_clone(skb, GFP_ATOMIC)) != NULL) {
count            1250 net/sched/sch_netem.c 		if (walker->count >= walker->skip)
count            1255 net/sched/sch_netem.c 		walker->count++;
count             294 net/sched/sch_pie.c 			u32 count = q->vars.dq_count << PIE_SCALE;
count             299 net/sched/sch_pie.c 			count = count / dtime;
count             302 net/sched/sch_pie.c 				q->vars.avg_dq_rate = count;
count             306 net/sched/sch_pie.c 				     (q->vars.avg_dq_rate >> 3)) + (count >> 3);
count             381 net/sched/sch_prio.c 		if (arg->count < arg->skip) {
count             382 net/sched/sch_prio.c 			arg->count++;
count             389 net/sched/sch_prio.c 		arg->count++;
count             663 net/sched/sch_qfq.c 			if (arg->count < arg->skip) {
count             664 net/sched/sch_qfq.c 				arg->count++;
count             671 net/sched/sch_qfq.c 			arg->count++;
count             410 net/sched/sch_red.c 		if (walker->count >= walker->skip)
count             415 net/sched/sch_red.c 		walker->count++;
count             660 net/sched/sch_sfb.c 		if (walker->count >= walker->skip)
count             665 net/sched/sch_sfb.c 		walker->count++;
count             892 net/sched/sch_sfq.c 		    arg->count < arg->skip) {
count             893 net/sched/sch_sfq.c 			arg->count++;
count             900 net/sched/sch_sfq.c 		arg->count++;
count             271 net/sched/sch_skbprio.c 		if (arg->count < arg->skip) {
count             272 net/sched/sch_skbprio.c 			arg->count++;
count             279 net/sched/sch_skbprio.c 		arg->count++;
count             942 net/sched/sch_taprio.c 		unsigned int last = qopt->offset[i] + qopt->count[i];
count             948 net/sched/sch_taprio.c 		    !qopt->count[i] ||
count            1368 net/sched/sch_taprio.c 		if (dev->tc_to_txq[i].count != mqprio->count[i] ||
count            1479 net/sched/sch_taprio.c 					    mqprio->count[i],
count            1794 net/sched/sch_taprio.c 		opt.count[i] = dev->tc_to_txq[i].count;
count            1900 net/sched/sch_taprio.c 	arg->count = arg->skip;
count            1906 net/sched/sch_taprio.c 		arg->count++;
count             515 net/sched/sch_tbf.c 		if (walker->count >= walker->skip)
count             520 net/sched/sch_tbf.c 		walker->count++;
count              91 net/smc/smc.h  		u32	count;		/* cursor (= offset) part */
count             187 net/smc/smc_cdc.c 	cdc.prod.count = curs.count;
count             190 net/smc/smc_cdc.c 	cdc.cons.count = curs.count;
count             232 net/smc/smc_cdc.c 	if (conn->urg_curs.count)
count             233 net/smc/smc_cdc.c 		conn->urg_rx_byte = *(base + conn->urg_curs.count - 1);
count              31 net/smc/smc_cdc.h 		__be32	count;
count              57 net/smc/smc_cdc.h 		u32	count;
count              93 net/smc/smc_cdc.h 	curs->count += value;
count              94 net/smc/smc_cdc.h 	if (curs->count >= size) {
count              96 net/smc/smc_cdc.h 		curs->count -= size;
count             172 net/smc/smc_cdc.h 			     ((size - old->count) + new->count));
count             174 net/smc/smc_cdc.h 	return max_t(int, 0, (new->count - old->count));
count             185 net/smc/smc_cdc.h 	    (old->wrap == new->wrap && old->count > new->count))
count             199 net/smc/smc_cdc.h 			     (size - old->count) + new->count +
count             205 net/smc/smc_cdc.h 			     (size - old->count) + new->count +
count             209 net/smc/smc_cdc.h 	return max_t(int, 0, (new->count - old->count));
count             218 net/smc/smc_cdc.h 	peer->count = htonl(save->count);
count             248 net/smc/smc_cdc.h 	temp.count = ntohl(net.count);
count             253 net/smc/smc_cdc.h 	    (old.count > temp.count))
count             279 net/smc/smc_cdc.h 	temp.count = peer->prod.count;
count             283 net/smc/smc_cdc.h 	temp.count = peer->cons.count;
count             120 net/smc/smc_diag.c 			.rx_prod.count = conn->local_rx_ctrl.prod.count,
count             122 net/smc/smc_diag.c 			.rx_cons.count = conn->local_rx_ctrl.cons.count,
count             125 net/smc/smc_diag.c 			.tx_prod.count = conn->local_tx_ctrl.prod.count,
count             127 net/smc/smc_diag.c 			.tx_cons.count = conn->local_tx_ctrl.cons.count,
count             138 net/smc/smc_diag.c 			.tx_prep.count = conn->tx_curs_prep.count,
count             140 net/smc/smc_diag.c 			.tx_sent.count = conn->tx_curs_sent.count,
count             142 net/smc/smc_diag.c 			.tx_fin.count = conn->tx_curs_fin.count,
count             391 net/smc/smc_rx.c 				  cons.count);
count             393 net/smc/smc_rx.c 		chunk_off = cons.count;
count             183 net/smc/smc_tx.c 		tx_cnt_prep = prep.count;
count             434 net/smc/smc_tx.c 	dst_off = prod.count;
count             442 net/smc/smc_tx.c 				conn->peer_rmbe_size - prod.count, len);
count             451 net/smc/smc_tx.c 	if (sent.count + dst_len <= conn->sndbuf_desc->len) {
count             456 net/smc/smc_tx.c 		src_len = conn->sndbuf_desc->len - sent.count;
count             460 net/smc/smc_tx.c 		rc = smcd_tx_rdma_writes(conn, len, sent.count, src_len,
count             463 net/smc/smc_tx.c 		rc = smcr_tx_rdma_writes(conn, len, sent.count, src_len,
count             285 net/strparser/strparser.c 				desc->count = 0; /* Stop reading socket */
count             363 net/strparser/strparser.c 	desc.count = 1; /* give more than one skb per call */
count              98 net/sunrpc/auth_gss/auth_gss.c 	refcount_inc(&ctx->count);
count             105 net/sunrpc/auth_gss/auth_gss.c 	if (refcount_dec_and_test(&ctx->count))
count             181 net/sunrpc/auth_gss/auth_gss.c 		refcount_set(&ctx->count,1);
count             271 net/sunrpc/auth_gss/auth_gss.c 	refcount_t count;
count             313 net/sunrpc/auth_gss/auth_gss.c 	if (!refcount_dec_and_test(&gss_msg->count))
count             334 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&pos->count);
count             353 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&gss_msg->count);
count             367 net/sunrpc/auth_gss/auth_gss.c 	refcount_dec(&gss_msg->count);
count             552 net/sunrpc/auth_gss/auth_gss.c 	refcount_set(&gss_msg->count, 1);
count             586 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&gss_msg->count);
count             590 net/sunrpc/auth_gss/auth_gss.c 			refcount_dec(&gss_msg->count);
count             637 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&gss_msg->count);
count             854 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&gss_msg->count);
count             871 net/sunrpc/auth_gss/auth_gss.c 		refcount_inc(&gss_msg->count);
count             326 net/sunrpc/auth_gss/gss_rpc_upcall.c 	if (res.options.count == 1) {
count             340 net/sunrpc/auth_gss/gss_rpc_upcall.c 	if (res.options.count != 0) {
count             124 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (oa->count != 0)
count             139 net/sunrpc/auth_gss/gss_rpc_xdr.c 	u32 count, i;
count             145 net/sunrpc/auth_gss/gss_rpc_xdr.c 	count = be32_to_cpup(p++);
count             147 net/sunrpc/auth_gss/gss_rpc_xdr.c 	for (i = 0; i < count; i++) {
count             151 net/sunrpc/auth_gss/gss_rpc_xdr.c 	oa->count = 0;
count             233 net/sunrpc/auth_gss/gss_rpc_xdr.c 	u32 count, i;
count             240 net/sunrpc/auth_gss/gss_rpc_xdr.c 	count = be32_to_cpup(p++);
count             241 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (!count)
count             245 net/sunrpc/auth_gss/gss_rpc_xdr.c 	oa->count = 1;
count             262 net/sunrpc/auth_gss/gss_rpc_xdr.c 	for (i = 0; i < count; i++) {
count             403 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (naa->count != 0)
count             418 net/sunrpc/auth_gss/gss_rpc_xdr.c 	u32 count, i;
count             424 net/sunrpc/auth_gss/gss_rpc_xdr.c 	count = be32_to_cpup(p++);
count             425 net/sunrpc/auth_gss/gss_rpc_xdr.c 	for (i = 0; i < count; i++) {
count             429 net/sunrpc/auth_gss/gss_rpc_xdr.c 	naa->count = 0;
count             485 net/sunrpc/auth_gss/gss_rpc_xdr.c 	struct gssx_name_attr_array dummy_name_attr_array = { .count = 0 };
count             486 net/sunrpc/auth_gss/gss_rpc_xdr.c 	struct gssx_option_array dummy_option_array = { .count = 0 };
count             527 net/sunrpc/auth_gss/gss_rpc_xdr.c 	if (cea->count != 0)
count              40 net/sunrpc/auth_gss/gss_rpc_xdr.h 	u32 count;
count              67 net/sunrpc/auth_gss/gss_rpc_xdr.h 	u32 count;
count              86 net/sunrpc/auth_gss/gss_rpc_xdr.h 	u32 count;
count            1380 net/sunrpc/auth_gss/svcauth_gss.c 			 size_t count, loff_t *ppos)
count            1387 net/sunrpc/auth_gss/svcauth_gss.c 	if (*ppos || count > sizeof(tbuf)-1)
count            1389 net/sunrpc/auth_gss/svcauth_gss.c 	if (copy_from_user(tbuf, buf, count))
count            1392 net/sunrpc/auth_gss/svcauth_gss.c 	tbuf[count] = 0;
count            1404 net/sunrpc/auth_gss/svcauth_gss.c 	return count;
count            1408 net/sunrpc/auth_gss/svcauth_gss.c 			 size_t count, loff_t *ppos)
count            1421 net/sunrpc/auth_gss/svcauth_gss.c 	if (len > count)
count            1422 net/sunrpc/auth_gss/svcauth_gss.c 		len = count;
count             796 net/sunrpc/cache.c static ssize_t cache_read(struct file *filp, char __user *buf, size_t count,
count             804 net/sunrpc/cache.c 	if (count == 0)
count             843 net/sunrpc/cache.c 		if (rp->offset + count > rq->len)
count             844 net/sunrpc/cache.c 			count = rq->len - rp->offset;
count             846 net/sunrpc/cache.c 		if (copy_to_user(buf, rq->buf + rp->offset, count))
count             848 net/sunrpc/cache.c 		rp->offset += count;
count             875 net/sunrpc/cache.c 	return err ? err :  count;
count             879 net/sunrpc/cache.c 				 size_t count, struct cache_detail *cd)
count             883 net/sunrpc/cache.c 	if (count == 0)
count             885 net/sunrpc/cache.c 	if (copy_from_user(kaddr, buf, count))
count             887 net/sunrpc/cache.c 	kaddr[count] = '\0';
count             888 net/sunrpc/cache.c 	ret = cd->cache_parse(cd, kaddr, count);
count             890 net/sunrpc/cache.c 		ret = count;
count             895 net/sunrpc/cache.c 				   size_t count, struct cache_detail *cd)
count             900 net/sunrpc/cache.c 	if (count >= sizeof(write_buf))
count             903 net/sunrpc/cache.c 	ret = cache_do_downcall(write_buf, buf, count, cd);
count             911 net/sunrpc/cache.c 			      size_t count, struct cache_detail *cd)
count             917 net/sunrpc/cache.c 	if (count >= PAGE_SIZE)
count             925 net/sunrpc/cache.c 	ret = cache_do_downcall(kaddr, buf, count, cd);
count             931 net/sunrpc/cache.c 	return cache_slow_downcall(buf, count, cd);
count             935 net/sunrpc/cache.c 			   size_t count, loff_t *ppos,
count             946 net/sunrpc/cache.c 	ret = cache_downcall(mapping, buf, count, cd);
count            1474 net/sunrpc/cache.c 			  size_t count, loff_t *ppos,
count            1482 net/sunrpc/cache.c 	return simple_read_from_buffer(buf, count, ppos, tbuf, len);
count            1486 net/sunrpc/cache.c 			   size_t count, loff_t *ppos,
count            1493 net/sunrpc/cache.c 	if (*ppos || count > sizeof(tbuf)-1)
count            1495 net/sunrpc/cache.c 	if (copy_from_user(tbuf, buf, count))
count            1497 net/sunrpc/cache.c 	tbuf[count] = 0;
count            1524 net/sunrpc/cache.c 	*ppos += count;
count            1525 net/sunrpc/cache.c 	return count;
count            1529 net/sunrpc/cache.c 				 size_t count, loff_t *ppos)
count            1533 net/sunrpc/cache.c 	return cache_read(filp, buf, count, ppos, cd);
count            1537 net/sunrpc/cache.c 				  size_t count, loff_t *ppos)
count            1541 net/sunrpc/cache.c 	return cache_write(filp, buf, count, ppos, cd);
count            1621 net/sunrpc/cache.c 			    size_t count, loff_t *ppos)
count            1625 net/sunrpc/cache.c 	return read_flush(filp, buf, count, ppos, cd);
count            1630 net/sunrpc/cache.c 				  size_t count, loff_t *ppos)
count            1634 net/sunrpc/cache.c 	return write_flush(filp, buf, count, ppos, cd);
count            1748 net/sunrpc/cache.c 				 size_t count, loff_t *ppos)
count            1752 net/sunrpc/cache.c 	return cache_read(filp, buf, count, ppos, cd);
count            1756 net/sunrpc/cache.c 				  size_t count, loff_t *ppos)
count            1760 net/sunrpc/cache.c 	return cache_write(filp, buf, count, ppos, cd);
count            1840 net/sunrpc/cache.c 			    size_t count, loff_t *ppos)
count            1844 net/sunrpc/cache.c 	return read_flush(filp, buf, count, ppos, cd);
count            1849 net/sunrpc/cache.c 				  size_t count, loff_t *ppos)
count            1853 net/sunrpc/cache.c 	return write_flush(filp, buf, count, ppos, cd);
count              33 net/sunrpc/socklib.c 	if (len > desc->count)
count              34 net/sunrpc/socklib.c 		len = desc->count;
count              37 net/sunrpc/socklib.c 	desc->count -= len;
count              55 net/sunrpc/socklib.c 	if (len > desc->count)
count              56 net/sunrpc/socklib.c 		len = desc->count;
count              60 net/sunrpc/socklib.c 	desc->count -= len;
count              86 net/sunrpc/socklib.c 		if (ret != len || !desc->count)
count             134 net/sunrpc/socklib.c 		if (ret != len || !desc->count)
count             160 net/sunrpc/socklib.c 	desc.count = skb->len - desc.offset;
count             173 net/sunrpc/socklib.c 	if (desc.count)
count             184 net/sunrpc/socklib.c 	if (desc.count)
count              63 net/sunrpc/svc.c 	if (m->count)
count             231 net/sunrpc/svc.c 	if (m->count++) {
count             274 net/sunrpc/svc.c 	if (!--m->count) {
count             290 net/sunrpc/svc.c 	if (m->count) {
count             312 net/sunrpc/svc.c 	WARN_ON_ONCE(m->count == 0);
count             313 net/sunrpc/svc.c 	if (m->count == 0)
count             139 net/sunrpc/xprtrdma/rpc_rdma.c 	unsigned int count, remaining, offset;
count             147 net/sunrpc/xprtrdma/rpc_rdma.c 		count = RPCRDMA_MIN_SEND_SGES;
count             152 net/sunrpc/xprtrdma/rpc_rdma.c 			if (++count > r_xprt->rx_ia.ri_max_send_sges)
count             950 net/sunrpc/xprtrdma/verbs.c 	unsigned int count;
count             952 net/sunrpc/xprtrdma/verbs.c 	for (count = 0; count < ia->ri_max_segs; count++) {
count             974 net/sunrpc/xprtrdma/verbs.c 	r_xprt->rx_stats.mrs_allocated += count;
count             975 net/sunrpc/xprtrdma/verbs.c 	trace_xprtrdma_createmrs(r_xprt, count);
count            1502 net/sunrpc/xprtrdma/verbs.c 	int needed, count, rc;
count            1505 net/sunrpc/xprtrdma/verbs.c 	count = 0;
count            1541 net/sunrpc/xprtrdma/verbs.c 		++count;
count            1547 net/sunrpc/xprtrdma/verbs.c 	trace_xprtrdma_post_recvs(r_xprt, count, rc);
count            1555 net/sunrpc/xprtrdma/verbs.c 			--count;
count            1558 net/sunrpc/xprtrdma/verbs.c 	ep->rep_receive_count += count;
count             197 net/sunrpc/xprtsock.c static void xs_pktdump(char *msg, u32 *packet, unsigned int count)
count             203 net/sunrpc/xprtsock.c 	for (j = 0; j < count && j < 128; j += 4) {
count             215 net/sunrpc/xprtsock.c static inline void xs_pktdump(char *msg, u32 *packet, unsigned int count)
count             358 net/sunrpc/xprtsock.c 		struct kvec *kvec, size_t count, size_t seek)
count             360 net/sunrpc/xprtsock.c 	iov_iter_kvec(&msg->msg_iter, READ, kvec, 1, count);
count             366 net/sunrpc/xprtsock.c 		struct bio_vec *bvec, unsigned long nr, size_t count,
count             369 net/sunrpc/xprtsock.c 	iov_iter_bvec(&msg->msg_iter, READ, bvec, nr, count);
count             375 net/sunrpc/xprtsock.c 		size_t count)
count             377 net/sunrpc/xprtsock.c 	iov_iter_discard(&msg->msg_iter, READ, count);
count             383 net/sunrpc/xprtsock.c xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_t seek)
count             386 net/sunrpc/xprtsock.c 		.bi_size = count,
count             396 net/sunrpc/xprtsock.c xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_t seek)
count             403 net/sunrpc/xprtsock.c 		struct xdr_buf *buf, size_t count, size_t seek, size_t *read)
count             408 net/sunrpc/xprtsock.c 	want = min_t(size_t, count, buf->head[0].iov_len);
count             414 net/sunrpc/xprtsock.c 		if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
count             425 net/sunrpc/xprtsock.c 			min_t(size_t, count - offset, buf->page_len),
count             436 net/sunrpc/xprtsock.c 		if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
count             446 net/sunrpc/xprtsock.c 	want = min_t(size_t, count - offset, buf->tail[0].iov_len);
count             452 net/sunrpc/xprtsock.c 		if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
count             306 net/tipc/name_distr.c 	uint count;
count             317 net/tipc/name_distr.c 		count = msg_data_sz(msg) / ITEM_SIZE;
count             319 net/tipc/name_distr.c 		while (count--) {
count             467 net/tipc/netlink_compat.c static inline u32 perc(u32 count, u32 total)
count             469 net/tipc/netlink_compat.c 	return (count * 100 + (total / 2)) / total;
count             255 net/tipc/topsrv.c 	int count = 0;
count             288 net/tipc/topsrv.c 		if (++count >= MAX_SEND_MSG_COUNT) {
count             290 net/tipc/topsrv.c 			count = 0;
count             416 net/tipc/topsrv.c 	int count = 0;
count             423 net/tipc/topsrv.c 		if (++count >= MAX_RECV_MSG_COUNT) {
count             425 net/tipc/topsrv.c 			count = 0;
count             170 net/tipc/trace.c 	u32 count, len;
count             194 net/tipc/trace.c 		count = 0;
count             196 net/tipc/trace.c 			count++;
count             197 net/tipc/trace.c 			if (count == 6)
count             199 net/tipc/trace.c 			if (count > 5 && count <= len - 5)
count             201 net/tipc/trace.c 			i += scnprintf(buf + i, sz - i, "  #%d ", count);
count             509 net/tipc/udp_media.c 			goto count;
count             524 net/tipc/udp_media.c count:
count            2710 net/unix/af_unix.c 	unsigned long count = 0;
count            2715 net/unix/af_unix.c 		if (++count == offset)
count             103 net/unix/garbage.c 			int nfd = UNIXCB(skb).fp->count;
count             119 net/unix/scm.c 	for (i = scm->fp->count - 1; i >= 0; i--)
count             132 net/unix/scm.c 	for (i = scm->fp->count-1; i >= 0; i--)
count             495 net/wireless/chan.c 	int count = 0;
count             519 net/wireless/chan.c 				count++;
count             523 net/wireless/chan.c 	return count;
count              15 net/wireless/debugfs.c 			    size_t count, loff_t *ppos)			\
count              22 net/wireless/debugfs.c 	return simple_read_from_buffer(userbuf, count, ppos, buf, res);	\
count              64 net/wireless/debugfs.c 				  size_t count, loff_t *ppos)
count              89 net/wireless/debugfs.c 	r = simple_read_from_buffer(user_buf, count, ppos, buf, offset);
count            8500 net/wireless/nl80211.c 	params.count = cs_count;
count            8542 net/wireless/nl80211.c 		if (params.beacon_csa.tail[offset] != params.count)
count            8568 net/wireless/nl80211.c 			    params.count)
count            16249 net/wireless/nl80211.c 				     u8 count)
count            16271 net/wireless/nl80211.c 	    (nla_put_u32(msg, NL80211_ATTR_CH_SWITCH_COUNT, count)))
count            16311 net/wireless/nl80211.c 				       u8 count)
count            16320 net/wireless/nl80211.c 				 NL80211_CMD_CH_SWITCH_STARTED_NOTIFY, count);
count             216 net/wireless/pmsr.c 	int count, rem, err, idx;
count             229 net/wireless/pmsr.c 	count = 0;
count             231 net/wireless/pmsr.c 		count++;
count             233 net/wireless/pmsr.c 		if (count > rdev->wiphy.pmsr_capa->max_peers) {
count             240 net/wireless/pmsr.c 	req = kzalloc(struct_size(req, peers, count), GFP_KERNEL);
count             274 net/wireless/pmsr.c 	req->n_peers = count;
count            2182 net/wireless/trace.h 		__field(u8, count)
count            2192 net/wireless/trace.h 		__entry->count = params->count;
count            2206 net/wireless/trace.h 		  __entry->block_tx, __entry->count, __entry->radar_required)
count             122 net/xfrm/xfrm_policy.c 	seqcount_t count;
count             719 net/xfrm/xfrm_policy.c 	seqcount_init(&bin->count);
count            1074 net/xfrm/xfrm_policy.c 	write_seqcount_begin(&b->count);
count            1077 net/xfrm/xfrm_policy.c 	write_seqcount_end(&b->count);
count            1127 net/xfrm/xfrm_policy.c 		write_seqcount_begin(&bin->count);
count            1134 net/xfrm/xfrm_policy.c 		write_seqcount_end(&bin->count);
count            1142 net/xfrm/xfrm_policy.c 	write_seqcount_begin(&bin->count);
count            1148 net/xfrm/xfrm_policy.c 	write_seqcount_end(&bin->count);
count            1158 net/xfrm/xfrm_policy.c 	write_seqcount_begin(&bin->count);
count            1164 net/xfrm/xfrm_policy.c 	write_seqcount_end(&bin->count);
count            1906 net/xfrm/xfrm_policy.c 				seqcount_t *count,
count            1913 net/xfrm/xfrm_policy.c 	seq = read_seqcount_begin(count);
count            1935 net/xfrm/xfrm_policy.c 	if (read_seqcount_retry(count, seq))
count            1957 net/xfrm/xfrm_policy.c 	n = xfrm_policy_lookup_inexact_addr(&b->root_d, &b->count, daddr,
count            1961 net/xfrm/xfrm_policy.c 		n = xfrm_policy_lookup_inexact_addr(&n->root, &b->count, saddr,
count            1967 net/xfrm/xfrm_policy.c 	n = xfrm_policy_lookup_inexact_addr(&b->root_s, &b->count, saddr,
count            1776 net/xfrm/xfrm_state.c 	int count[XFRM_MAX_DEPTH] = { };
count            1784 net/xfrm/xfrm_state.c 		count[c]++;
count            1788 net/xfrm/xfrm_state.c 		count[i] += count[i - 1];
count            1791 net/xfrm/xfrm_state.c 		dst[count[class[i] - 1]++] = src[i];
count             973 net/xfrm/xfrm_user.c static int dump_one_state(struct xfrm_state *x, int count, void *ptr)
count            1761 net/xfrm/xfrm_user.c static int dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr)
count              48 samples/bpf/offwaketime_user.c static void print_stack(struct key_t *key, __u64 count)
count              68 samples/bpf/offwaketime_user.c 	printf(";%s %lld\n", key->waker, count);
count              74 samples/bpf/sampleip_user.c 	__u32 count;
count              82 samples/bpf/sampleip_user.c 	return ((struct ipcount *)p1)->count - ((struct ipcount *)p2)->count;
count              99 samples/bpf/sampleip_user.c 		counts[i++].count = value;
count             115 samples/bpf/sampleip_user.c 			       counts[i].count);
count             118 samples/bpf/sampleip_user.c 			       counts[i].count);
count              50 samples/bpf/syscall_tp_kern.c 	count(&enter_open_map);
count              57 samples/bpf/syscall_tp_kern.c 	count(&enter_open_map);
count              64 samples/bpf/syscall_tp_kern.c 	count(&exit_open_map);
count              71 samples/bpf/syscall_tp_kern.c 	count(&exit_open_map);
count              61 samples/bpf/trace_event_user.c static void print_stack(struct key_t *key, __u64 count)
count              67 samples/bpf/trace_event_user.c 	printf("%3lld %s;", count, key->comm);
count              81 samples/bpf/trace_event_user.c 	if (count < 6)
count              29 samples/bpf/tracex6_kern.c 	u64 count, *val;
count              32 samples/bpf/tracex6_kern.c 	count = bpf_perf_event_read(&counters, key);
count              33 samples/bpf/tracex6_kern.c 	error = (s64)count;
count              39 samples/bpf/tracex6_kern.c 		*val = count;
count              41 samples/bpf/tracex6_kern.c 		bpf_map_update_elem(&values, &key, &count, BPF_NOEXIST);
count              64 samples/configfs/configfs_sample.c 		const char *page, size_t count)
count              79 samples/configfs/configfs_sample.c 	return count;
count             148 samples/configfs/configfs_sample.c 		const char *page, size_t count)
count             163 samples/configfs/configfs_sample.c 	return count;
count             114 samples/kfifo/bytestream-example.c 						size_t count, loff_t *ppos)
count             122 samples/kfifo/bytestream-example.c 	ret = kfifo_from_user(&test, buf, count, &copied);
count             130 samples/kfifo/bytestream-example.c 						size_t count, loff_t *ppos)
count             138 samples/kfifo/bytestream-example.c 	ret = kfifo_to_user(&test, buf, count, &copied);
count             107 samples/kfifo/inttype-example.c 						size_t count, loff_t *ppos)
count             115 samples/kfifo/inttype-example.c 	ret = kfifo_from_user(&test, buf, count, &copied);
count             123 samples/kfifo/inttype-example.c 						size_t count, loff_t *ppos)
count             131 samples/kfifo/inttype-example.c 	ret = kfifo_to_user(&test, buf, count, &copied);
count             121 samples/kfifo/record-example.c 						size_t count, loff_t *ppos)
count             129 samples/kfifo/record-example.c 	ret = kfifo_from_user(&test, buf, count, &copied);
count             137 samples/kfifo/record-example.c 						size_t count, loff_t *ppos)
count             145 samples/kfifo/record-example.c 	ret = kfifo_to_user(&test, buf, count, &copied);
count              35 samples/kobject/kobject-example.c 			 const char *buf, size_t count)
count              43 samples/kobject/kobject-example.c 	return count;
count              67 samples/kobject/kobject-example.c 		       const char *buf, size_t count)
count              79 samples/kobject/kobject-example.c 	return count;
count              41 samples/kobject/kset-example.c 	ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count);
count             119 samples/kobject/kset-example.c 			 const char *buf, size_t count)
count             127 samples/kobject/kset-example.c 	return count;
count             151 samples/kobject/kset-example.c 		       const char *buf, size_t count)
count             163 samples/kobject/kset-example.c 	return count;
count             252 samples/mei/mei-amt-version.c 	uint32_t count;
count             322 samples/mei/mei-amt-version.c 			sizeof(code_ver->count);
count             323 samples/mei/mei-amt-version.c 	if (code_ver->count != ver_type_cnt / sizeof(struct amt_version_type)) {
count             328 samples/mei/mei-amt-version.c 	for (i = 0; i < code_ver->count; i++) {
count             465 samples/mei/mei-amt-version.c 		for (i = 0; i < ver.count; i++) {
count             302 samples/qmi/qmi_sample_client.c 			  size_t count, loff_t *ppos)
count             326 samples/qmi/qmi_sample_client.c 		count = ret;
count             328 samples/qmi/qmi_sample_client.c 	return count;
count             369 samples/qmi/qmi_sample_client.c 			  size_t count, loff_t *ppos)
count             388 samples/qmi/qmi_sample_client.c 	req->data_len = min_t(size_t, sizeof(req->data), count);
count             418 samples/qmi/qmi_sample_client.c 	ret = count;
count              18 samples/rpmsg/rpmsg_client_sample.c static int count = 100;
count              19 samples/rpmsg/rpmsg_client_sample.c module_param(count, int, 0644);
count              38 samples/rpmsg/rpmsg_client_sample.c 	if (idata->rx_count >= count) {
count              30 samples/seccomp/bpf-fancy.c 		.count = 0,
count              20 samples/seccomp/bpf-helper.c 		      struct sock_filter *filter, size_t count)
count              24 samples/seccomp/bpf-helper.c 	if (count < 1 || count > BPF_MAXINSNS)
count              30 samples/seccomp/bpf-helper.c 	for (i = 0; i < count; ++i) {
count              31 samples/seccomp/bpf-helper.c 		size_t offset = count - i - 1;
count              69 samples/seccomp/bpf-helper.c 	if (labels->count == BPF_LABELS_MAX) {
count              73 samples/seccomp/bpf-helper.c 	if (labels->count == 0) {
count              76 samples/seccomp/bpf-helper.c 		labels->count++;
count              79 samples/seccomp/bpf-helper.c 	end = begin + labels->count;
count              86 samples/seccomp/bpf-helper.c 	labels->count++;
count              90 samples/seccomp/bpf-helper.c void seccomp_bpf_print(struct sock_filter *filter, size_t count)
count              92 samples/seccomp/bpf-helper.c 	struct sock_filter *end = filter + count;
count              28 samples/seccomp/bpf-helper.h 	int count;
count              36 samples/seccomp/bpf-helper.h 		      struct sock_filter *filter, size_t count);
count              38 samples/seccomp/bpf-helper.h void seccomp_bpf_print(struct sock_filter *filter, size_t count);
count             249 samples/v4l/v4l2-pci-skeleton.c static int start_streaming(struct vb2_queue *vq, unsigned int count)
count              95 samples/vfio-mdev/mbochs.c module_param_named(count, max_mbytes, int, 0444);
count             306 samples/vfio-mdev/mbochs.c 				 char *buf, u32 count)
count             334 samples/vfio-mdev/mbochs.c 			      char *buf, u32 count)
count             344 samples/vfio-mdev/mbochs.c 		if (count != 2)
count             358 samples/vfio-mdev/mbochs.c 			__func__, offset, count);
count             364 samples/vfio-mdev/mbochs.c 			     char *buf, u32 count)
count             376 samples/vfio-mdev/mbochs.c 			memset(buf, 0, count);
count             379 samples/vfio-mdev/mbochs.c 		memcpy(buf, mdev_state->edid_blob + offset, count);
count             382 samples/vfio-mdev/mbochs.c 		if (count != 2)
count             394 samples/vfio-mdev/mbochs.c 			__func__, offset, count);
count             395 samples/vfio-mdev/mbochs.c 		memset(buf, 0, count);
count             401 samples/vfio-mdev/mbochs.c 			     char *buf, u32 count, bool is_write)
count             405 samples/vfio-mdev/mbochs.c 	if (offset + count > sizeof(mdev_state->edid_regs))
count             407 samples/vfio-mdev/mbochs.c 	if (count != 4)
count             416 samples/vfio-mdev/mbochs.c 			memcpy(regs + offset, buf, count);
count             423 samples/vfio-mdev/mbochs.c 		memcpy(buf, regs + offset, count);
count             428 samples/vfio-mdev/mbochs.c 			     char *buf, u32 count, bool is_write)
count             430 samples/vfio-mdev/mbochs.c 	if (offset + count > mdev_state->edid_regs.edid_max_size)
count             433 samples/vfio-mdev/mbochs.c 		memcpy(mdev_state->edid_blob + offset, buf, count);
count             435 samples/vfio-mdev/mbochs.c 		memcpy(buf, mdev_state->edid_blob + offset, count);
count             438 samples/vfio-mdev/mbochs.c static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count,
count             452 samples/vfio-mdev/mbochs.c 			handle_pci_cfg_write(mdev_state, pos, buf, count);
count             454 samples/vfio-mdev/mbochs.c 			memcpy(buf, (mdev_state->vconfig + pos), count);
count             457 samples/vfio-mdev/mbochs.c 		   pos + count <= (MBOCHS_MMIO_BAR_OFFSET +
count             461 samples/vfio-mdev/mbochs.c 			handle_mmio_write(mdev_state, pos, buf, count);
count             463 samples/vfio-mdev/mbochs.c 			handle_mmio_read(mdev_state, pos, buf, count);
count             466 samples/vfio-mdev/mbochs.c 		   pos + count <= (MBOCHS_EDID_OFFSET +
count             470 samples/vfio-mdev/mbochs.c 			handle_edid_regs(mdev_state, pos, buf, count, is_write);
count             473 samples/vfio-mdev/mbochs.c 			handle_edid_blob(mdev_state, pos, buf, count, is_write);
count             477 samples/vfio-mdev/mbochs.c 		   pos + count <=
count             484 samples/vfio-mdev/mbochs.c 			memcpy(map + poff, buf, count);
count             486 samples/vfio-mdev/mbochs.c 			memcpy(buf, map + poff, count);
count             497 samples/vfio-mdev/mbochs.c 	ret = count;
count             585 samples/vfio-mdev/mbochs.c 			   size_t count, loff_t *ppos)
count             590 samples/vfio-mdev/mbochs.c 	while (count) {
count             593 samples/vfio-mdev/mbochs.c 		if (count >= 4 && !(*ppos % 4)) {
count             605 samples/vfio-mdev/mbochs.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             631 samples/vfio-mdev/mbochs.c 		count -= filled;
count             644 samples/vfio-mdev/mbochs.c 			    size_t count, loff_t *ppos)
count             649 samples/vfio-mdev/mbochs.c 	while (count) {
count             652 samples/vfio-mdev/mbochs.c 		if (count >= 4 && !(*ppos % 4)) {
count             664 samples/vfio-mdev/mbochs.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             689 samples/vfio-mdev/mbochs.c 		count -= filled;
count             734 samples/vfio-mdev/mbochs.c 	int i, count = 0;
count             743 samples/vfio-mdev/mbochs.c 		count++;
count             745 samples/vfio-mdev/mbochs.c 	dev_dbg(dev, "%s: %d pages released\n", __func__, count);
count            1079 samples/vfio-mdev/mbochs.c 	irq_info->count = 0;
count            1240 samples/vfio-mdev/mbochs.c 		minsz = offsetofend(struct vfio_irq_info, count);
count            1378 samples/vfio-mdev/mbochs.c 	int count = (max_mbytes - mbochs_used_mbytes) / type->mbytes;
count            1380 samples/vfio-mdev/mbochs.c 	return sprintf(buf, "%d\n", count);
count              47 samples/vfio-mdev/mdpy.c module_param_named(count, max_devices, int, 0444);
count              48 samples/vfio-mdev/mdpy.c MODULE_PARM_DESC(count, "number of " MDPY_NAME " devices");
count             151 samples/vfio-mdev/mdpy.c 				 char *buf, u32 count)
count             175 samples/vfio-mdev/mdpy.c static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count,
count             186 samples/vfio-mdev/mdpy.c 			handle_pci_cfg_write(mdev_state, pos, buf, count);
count             188 samples/vfio-mdev/mdpy.c 			memcpy(buf, (mdev_state->vconfig + pos), count);
count             191 samples/vfio-mdev/mdpy.c 		   (pos + count <=
count             195 samples/vfio-mdev/mdpy.c 			memcpy(mdev_state->memblk, buf, count);
count             197 samples/vfio-mdev/mdpy.c 			memcpy(buf, mdev_state->memblk, count);
count             206 samples/vfio-mdev/mdpy.c 	ret = count;
count             292 samples/vfio-mdev/mdpy.c 			 size_t count, loff_t *ppos)
count             297 samples/vfio-mdev/mdpy.c 	while (count) {
count             300 samples/vfio-mdev/mdpy.c 		if (count >= 4 && !(*ppos % 4)) {
count             312 samples/vfio-mdev/mdpy.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             338 samples/vfio-mdev/mdpy.c 		count -= filled;
count             351 samples/vfio-mdev/mdpy.c 			  size_t count, loff_t *ppos)
count             356 samples/vfio-mdev/mdpy.c 	while (count) {
count             359 samples/vfio-mdev/mdpy.c 		if (count >= 4 && !(*ppos % 4)) {
count             371 samples/vfio-mdev/mdpy.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             396 samples/vfio-mdev/mdpy.c 		count -= filled;
count             466 samples/vfio-mdev/mdpy.c 	irq_info->count = 0;
count             574 samples/vfio-mdev/mdpy.c 		minsz = offsetofend(struct vfio_irq_info, count);
count             114 samples/vfio-mdev/mtty.c 	u8 count;
count             159 samples/vfio-mdev/mtty.c static void dump_buffer(u8 *buf, uint32_t count)
count             165 samples/vfio-mdev/mtty.c 	for (i = 0; i < count; i++) {
count             238 samples/vfio-mdev/mtty.c 				 u8 *buf, u32 count)
count             286 samples/vfio-mdev/mtty.c 			offset, count);
count             292 samples/vfio-mdev/mtty.c 				u16 offset, u8 *buf, u32 count)
count             308 samples/vfio-mdev/mtty.c 		if (mdev_state->s[index].rxtx.count <
count             312 samples/vfio-mdev/mtty.c 			mdev_state->s[index].rxtx.count++;
count             322 samples/vfio-mdev/mtty.c 			   (mdev_state->s[index].rxtx.count ==
count             376 samples/vfio-mdev/mtty.c 			mdev_state->s[index].rxtx.count = 0;
count             460 samples/vfio-mdev/mtty.c 			    u16 offset, u8 *buf, u32 count)
count             477 samples/vfio-mdev/mtty.c 			mdev_state->s[index].rxtx.count--;
count             518 samples/vfio-mdev/mtty.c 		    (mdev_state->s[index].rxtx.count >=
count             579 samples/vfio-mdev/mtty.c 			if (mdev_state->s[index].rxtx.count <
count             634 samples/vfio-mdev/mtty.c static ssize_t mdev_access(struct mdev_device *mdev, u8 *buf, size_t count,
count             663 samples/vfio-mdev/mtty.c 			dump_buffer(buf, count);
count             664 samples/vfio-mdev/mtty.c 			handle_pci_cfg_write(mdev_state, offset, buf, count);
count             666 samples/vfio-mdev/mtty.c 			memcpy(buf, (mdev_state->vconfig + offset), count);
count             667 samples/vfio-mdev/mtty.c 			dump_buffer(buf, count);
count             677 samples/vfio-mdev/mtty.c 			dump_buffer(buf, count);
count             684 samples/vfio-mdev/mtty.c 			handle_bar_write(index, mdev_state, offset, buf, count);
count             686 samples/vfio-mdev/mtty.c 			handle_bar_read(index, mdev_state, offset, buf, count);
count             687 samples/vfio-mdev/mtty.c 			dump_buffer(buf, count);
count             702 samples/vfio-mdev/mtty.c 	ret = count;
count             800 samples/vfio-mdev/mtty.c 			 size_t count, loff_t *ppos)
count             805 samples/vfio-mdev/mtty.c 	while (count) {
count             808 samples/vfio-mdev/mtty.c 		if (count >= 4 && !(*ppos % 4)) {
count             820 samples/vfio-mdev/mtty.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             846 samples/vfio-mdev/mtty.c 		count -= filled;
count             859 samples/vfio-mdev/mtty.c 		   size_t count, loff_t *ppos)
count             864 samples/vfio-mdev/mtty.c 	while (count) {
count             867 samples/vfio-mdev/mtty.c 		if (count >= 4 && !(*ppos % 4)) {
count             879 samples/vfio-mdev/mtty.c 		} else if (count >= 2 && !(*ppos % 2)) {
count             904 samples/vfio-mdev/mtty.c 		count -= filled;
count             917 samples/vfio-mdev/mtty.c 			 unsigned int count, void *data)
count            1106 samples/vfio-mdev/mtty.c 	irq_info->count = 1;
count            1194 samples/vfio-mdev/mtty.c 		minsz = offsetofend(struct vfio_irq_info, count);
count            1218 samples/vfio-mdev/mtty.c 		minsz = offsetofend(struct vfio_irq_set, count);
count            1238 samples/vfio-mdev/mtty.c 				    hdr.count, data);
count             701 scripts/dtc/libfdt/fdt_ro.c 	int length, count = 0;
count             717 scripts/dtc/libfdt/fdt_ro.c 		count++;
count             720 scripts/dtc/libfdt/fdt_ro.c 	return count;
count             726 scripts/gcc-plugins/gcc-common.h #define cgraph_create_edge(caller, callee, call_stmt, count, freq) \
count             727 scripts/gcc-plugins/gcc-common.h 	(caller)->create_edge((callee), (call_stmt), (count))
count             730 scripts/gcc-plugins/gcc-common.h 		old_call_stmt, call_stmt, count, freq, reason)	\
count             732 scripts/gcc-plugins/gcc-common.h 		(old_call_stmt), (call_stmt), (count), (reason))
count             734 scripts/gcc-plugins/gcc-common.h #define cgraph_create_edge(caller, callee, call_stmt, count, freq) \
count             735 scripts/gcc-plugins/gcc-common.h 	(caller)->create_edge((callee), (call_stmt), (count), (freq))
count             738 scripts/gcc-plugins/gcc-common.h 		old_call_stmt, call_stmt, count, freq, reason)	\
count             740 scripts/gcc-plugins/gcc-common.h 		(old_call_stmt), (call_stmt), (count), (freq), (reason))
count              73 scripts/gcc-plugins/stackleak_plugin.c 			stackleak_track_stack, bb->count, frequency);
count            1146 scripts/kconfig/confdata.c void sym_set_change_count(int count)
count            1149 scripts/kconfig/confdata.c 	sym_change_count = count;
count            1151 scripts/kconfig/confdata.c 	    (bool)_sym_change_count != (bool)count)
count            1155 scripts/kconfig/confdata.c void sym_add_change_count(int count)
count            1157 scripts/kconfig/confdata.c 	sym_set_change_count(count + sym_change_count);
count              52 scripts/kconfig/lkc.h void sym_set_change_count(int count);
count              53 scripts/kconfig/lkc.h void sym_add_change_count(int count);
count              58 scripts/kconfig/lkc.h static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
count              62 scripts/kconfig/lkc.h 	if (fwrite(str, len, count, out) != count)
count             402 scripts/kconfig/qconf.cc 	if (selectedItems().count() == 0)
count            1661 scripts/kconfig/qconf.cc 	if (menuList->selectedItems().count() == 0)
count             576 scripts/mod/file2alias.c 	const unsigned int count = (size / id_size)-1;
count             581 scripts/mod/file2alias.c 	for (i = 0; i < count; i++) {
count             602 scripts/mod/file2alias.c 	const unsigned int count = (size / id_size)-1;
count             607 scripts/mod/file2alias.c 	for (i = 0; i < count; i++) {
count              99 scripts/recordmcount.c static ssize_t uwrite(void const *const buf, size_t const count)
count             101 scripts/recordmcount.c 	size_t cnt = count;
count             106 scripts/recordmcount.c 	if (file_ptr + count >= file_end) {
count             107 scripts/recordmcount.c 		off_t aoffset = (file_ptr + count) - file_end;
count             123 scripts/recordmcount.c 			idx = aoffset - count;
count             130 scripts/recordmcount.c 	if (cnt < count)
count             131 scripts/recordmcount.c 		memcpy(file_append + idx, buf + cnt, count - cnt);
count             133 scripts/recordmcount.c 	file_ptr += count;
count             134 scripts/recordmcount.c 	return count;
count             811 security/apparmor/apparmorfs.c 	struct kref count;
count             824 security/apparmor/apparmorfs.c 	t = container_of(kref, struct multi_transaction, count);
count             832 security/apparmor/apparmorfs.c 		kref_get(&(t->count));
count             840 security/apparmor/apparmorfs.c 		kref_put(&(t->count), multi_transaction_kref);
count             871 security/apparmor/apparmorfs.c 	kref_init(&t->count);
count             934 security/apparmor/apparmorfs.c 			       size_t count, loff_t *ppos)
count             942 security/apparmor/apparmorfs.c 	t = multi_transaction_new(file, ubuf, count);
count             946 security/apparmor/apparmorfs.c 	if (count > QUERY_CMD_PROFILE_LEN &&
count             950 security/apparmor/apparmorfs.c 				  count - QUERY_CMD_PROFILE_LEN, true);
count             951 security/apparmor/apparmorfs.c 	} else if (count > QUERY_CMD_LABEL_LEN &&
count             955 security/apparmor/apparmorfs.c 				  count - QUERY_CMD_LABEL_LEN, true);
count             956 security/apparmor/apparmorfs.c 	} else if (count > QUERY_CMD_LABELALL_LEN &&
count             961 security/apparmor/apparmorfs.c 				  count - QUERY_CMD_LABELALL_LEN, false);
count             962 security/apparmor/apparmorfs.c 	} else if (count > QUERY_CMD_DATA_LEN &&
count             966 security/apparmor/apparmorfs.c 				 count - QUERY_CMD_DATA_LEN);
count             977 security/apparmor/apparmorfs.c 	return count;
count            1162 security/apparmor/apparmorfs.c 	int count = 1;
count            1169 security/apparmor/apparmorfs.c 				count++;
count            1174 security/apparmor/apparmorfs.c 	seq_printf(seq, "%s\n", count > 1 ? "yes" : "no");
count            2414 security/apparmor/apparmorfs.c 	int count = 0;
count            2415 security/apparmor/apparmorfs.c 	int error = simple_pin_fs(parent->d_sb->s_type, &mount, &count);
count            2447 security/apparmor/apparmorfs.c 	simple_release_fs(&mount, &count);
count             411 security/apparmor/domain.c 			unsigned int state, count;
count             415 security/apparmor/domain.c 						 name, &count);
count             421 security/apparmor/domain.c 				if (count < candidate_len)
count             451 security/apparmor/domain.c 				if (count == candidate_len &&
count            1054 security/apparmor/domain.c 				   int count, int flags)
count            1065 security/apparmor/domain.c 	AA_BUG(count < 1);
count            1071 security/apparmor/domain.c 	for (i = 0; i < count && !hat; i++) {
count            1128 security/apparmor/domain.c 		if (count > 1 || COMPLAIN_MODE(profile)) {
count            1166 security/apparmor/domain.c int aa_change_hat(const char *hats[], int count, u64 token, int flags)
count            1197 security/apparmor/domain.c 	if (count) {
count            1198 security/apparmor/domain.c 		new = change_hat(label, hats, count, flags);
count              36 security/apparmor/include/domain.h int aa_change_hat(const char *hats[], int count, u64 token, int flags);
count             106 security/apparmor/include/label.h 	struct kref count;
count             126 security/apparmor/include/label.h 	struct kref count;
count             374 security/apparmor/include/label.h 	if (l && kref_get_unless_zero(&l->count))
count             383 security/apparmor/include/label.h 		kref_get(&(l->count));
count             403 security/apparmor/include/label.h 	} while (c && !kref_get_unless_zero(&c->count));
count             443 security/apparmor/include/label.h 		kref_put(&l->count, aa_label_kref);
count             453 security/apparmor/include/label.h 		kref_get(&(proxy->count));
count             461 security/apparmor/include/label.h 		kref_put(&proxy->count, aa_proxy_kref);
count              94 security/apparmor/include/lib.h 	struct kref count;
count             110 security/apparmor/include/lib.h 		kref_get(&(str_to_counted(str)->count));
count             118 security/apparmor/include/lib.h 		kref_put(&str_to_counted(str)->count, aa_str_kref);
count              95 security/apparmor/include/match.h 	struct kref count;
count             139 security/apparmor/include/match.h 	unsigned int count;
count             147 security/apparmor/include/match.h 	.count = 0,			\
count             154 security/apparmor/include/match.h 			      const char *str, unsigned int *count);
count             166 security/apparmor/include/match.h 		kref_get(&(dfa->count));
count             180 security/apparmor/include/match.h 		kref_put(&dfa->count, aa_dfa_free_kref);
count             246 security/apparmor/include/policy.h 		kref_get(&(p->label.count));
count             260 security/apparmor/include/policy.h 	if (p && kref_get_unless_zero(&p->label.count))
count             280 security/apparmor/include/policy.h 	} while (c && !kref_get_unless_zero(&c->label.count));
count             293 security/apparmor/include/policy.h 		kref_put(&p->label.count, aa_label_kref);
count              32 security/apparmor/include/policy_ns.h 	int count;
count              58 security/apparmor/include/policy_unpack.h 	struct kref count;
count              87 security/apparmor/include/policy_unpack.h 	if (data && kref_get_unless_zero(&(data->count)))
count             118 security/apparmor/include/policy_unpack.h 		kref_put(&data->count, aa_loaddata_kref);
count              55 security/apparmor/label.c 	struct aa_proxy *proxy = container_of(kref, struct aa_proxy, count);
count              66 security/apparmor/label.c 		kref_init(&new->count);
count             374 security/apparmor/label.c 	struct aa_label *label = container_of(kref, struct aa_label, count);
count             411 security/apparmor/label.c 	kref_init(&label->count);
count            1530 security/apparmor/label.c 	int mode = -1, count = 0;
count            1540 security/apparmor/label.c 			count++;
count            1548 security/apparmor/label.c 	if (count == 0)
count            1601 security/apparmor/label.c 	int count = 0, total = 0;
count            1617 security/apparmor/label.c 			if (count > 0) {
count            1625 security/apparmor/label.c 			count++;
count            1629 security/apparmor/label.c 	if (count == 0) {
count            1812 security/apparmor/label.c 	int count = 1;
count            1819 security/apparmor/label.c 		count++;
count            1823 security/apparmor/label.c 	return count;
count             143 security/apparmor/lib.c 	kref_init(&str->count);
count             149 security/apparmor/lib.c 	kfree(container_of(kref, struct counted_str, count));
count             265 security/apparmor/match.c 	struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count);
count             291 security/apparmor/match.c 	kref_init(&dfa->count);
count             649 security/apparmor/match.c 				 unsigned int *count)
count             660 security/apparmor/match.c 	AA_BUG(!count);
count             662 security/apparmor/match.c 	*count = 0;
count             682 security/apparmor/match.c 				*count -= adjust;
count             686 security/apparmor/match.c 			(*count)++;
count             701 security/apparmor/match.c 				*count -= adjust;
count             705 security/apparmor/match.c 			(*count)++;
count             711 security/apparmor/match.c 		*count = 0;
count             729 security/apparmor/match.c 			      const char *str, unsigned int *count)
count             735 security/apparmor/match.c 	return leftmatch_fb(dfa, start, str, &wb, count);
count             864 security/apparmor/policy.c 	ssize_t count, error;
count             879 security/apparmor/policy.c 	count = 0;
count             889 security/apparmor/policy.c 			if (count) {
count             896 security/apparmor/policy.c 			count++;
count             171 security/apparmor/policy_unpack.c 	struct aa_loaddata *d = container_of(kref, struct aa_loaddata, count);
count             191 security/apparmor/policy_unpack.c 	kref_init(&d->count);
count             107 security/apparmor/procattr.c 	int count = 0;
count             126 security/apparmor/procattr.c 		for (count = 0; (hat < end) && count < 16; ++count) {
count             128 security/apparmor/procattr.c 			hats[count] = hat;
count             130 security/apparmor/procattr.c 				 , __func__, current->pid, token, count, hat);
count             135 security/apparmor/procattr.c 			 __func__, current->pid, token, count, "<NULL>");
count             137 security/apparmor/procattr.c 	return aa_change_hat(hats, count, token, flags);
count             600 security/device_cgroup.c 	int count, rc = 0;
count             658 security/device_cgroup.c 		for (count = 0; count < sizeof(temp) - 1; count++) {
count             659 security/device_cgroup.c 			temp[count] = *b;
count             680 security/device_cgroup.c 		for (count = 0; count < sizeof(temp) - 1; count++) {
count             681 security/device_cgroup.c 			temp[count] = *b;
count             694 security/device_cgroup.c 	for (b++, count = 0; count < 3; count++, b++) {
count             707 security/device_cgroup.c 			count = 3;
count             318 security/inode.c static ssize_t lsm_read(struct file *filp, char __user *buf, size_t count,
count             321 security/inode.c 	return simple_read_from_buffer(buf, count, ppos, lsm_names,
count              97 security/integrity/evm/evm_main.c 	int count = 0;
count             109 security/integrity/evm/evm_main.c 		count++;
count             112 security/integrity/evm/evm_main.c 	return count;
count              42 security/integrity/evm/evm_secfs.c 			    size_t count, loff_t *ppos)
count              51 security/integrity/evm/evm_secfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count              69 security/integrity/evm/evm_secfs.c 			     size_t count, loff_t *ppos)
count              76 security/integrity/evm/evm_secfs.c 	ret = kstrtoint_from_user(buf, count, 0, &i);
count             109 security/integrity/evm/evm_secfs.c 	return count;
count             129 security/integrity/evm/evm_secfs.c 			       size_t count, loff_t *ppos)
count             158 security/integrity/evm/evm_secfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count             175 security/integrity/evm/evm_secfs.c 				size_t count, loff_t *ppos)
count             189 security/integrity/evm/evm_secfs.c 	if (count > XATTR_NAME_MAX)
count             203 security/integrity/evm/evm_secfs.c 	xattr->name = memdup_user_nul(buf, count);
count             227 security/integrity/evm/evm_secfs.c 			err = count;
count             258 security/integrity/evm/evm_secfs.c 	return count;
count             189 security/integrity/iint.c 			  void *addr, unsigned long count)
count             200 security/integrity/iint.c 	ret = __vfs_read(file, buf, count, &offset);
count             114 security/integrity/ima/ima.h 	u64 count;
count              42 security/integrity/ima/ima_fs.c static ssize_t ima_show_htable_value(char __user *buf, size_t count,
count              49 security/integrity/ima/ima_fs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, len);
count              54 security/integrity/ima/ima_fs.c 					  size_t count, loff_t *ppos)
count              56 security/integrity/ima/ima_fs.c 	return ima_show_htable_value(buf, count, ppos, &ima_htable.violations);
count              66 security/integrity/ima/ima_fs.c 					   size_t count, loff_t *ppos)
count              68 security/integrity/ima/ima_fs.c 	return ima_show_htable_value(buf, count, ppos, &ima_htable.len);
count              34 security/integrity/ima/ima_kexec.c 	file.count = sizeof(khdr);	/* reserved space */
count              39 security/integrity/ima/ima_kexec.c 		if (file.count < file.size) {
count              40 security/integrity/ima/ima_kexec.c 			khdr.count++;
count              55 security/integrity/ima/ima_kexec.c 	khdr.buffer_size = file.count;
count              58 security/integrity/ima/ima_kexec.c 		khdr.count = cpu_to_le64(khdr.count);
count              65 security/integrity/ima/ima_kexec.c 			file.count < 100 ? file.count : 100, true);
count              67 security/integrity/ima/ima_kexec.c 	*buffer_size = file.count;
count             574 security/integrity/ima/ima_policy.c static void add_rules(struct ima_rule_entry *entries, int count,
count             579 security/integrity/ima/ima_policy.c 	for (i = 0; i < count; i++) {
count             363 security/integrity/ima/ima_template.c 	unsigned long count = 0;
count             371 security/integrity/ima/ima_template.c 		khdr->count = le64_to_cpu(khdr->count);
count             380 security/integrity/ima/ima_template.c 	if (khdr->count > ULONG_MAX - 1) {
count             395 security/integrity/ima/ima_template.c 	while ((bufp < bufendp) && (count++ < khdr->count)) {
count             398 security/integrity/ima/ima_template.c 		enforce_mask |= (count == khdr->count) ? ENFORCE_BUFEND : 0;
count             142 security/integrity/integrity.h 			  void *addr, unsigned long count);
count             454 security/keys/keyring.c 	size_t			count;
count             464 security/keys/keyring.c 	       key->type->name, key->serial, ctx->count, ctx->buflen);
count             466 security/keys/keyring.c 	if (ctx->count >= ctx->buflen)
count             470 security/keys/keyring.c 	ctx->count += sizeof(key->serial);
count             496 security/keys/keyring.c 		ctx.count = 0;
count             117 security/lockdown/lockdown.c static ssize_t lockdown_read(struct file *filp, char __user *buf, size_t count,
count             140 security/lockdown/lockdown.c 	return simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count             443 security/security.c void __init security_add_hooks(struct security_hook_list *hooks, int count,
count             448 security/security.c 	for (i = 0; i < count; i++) {
count             122 security/selinux/selinuxfs.c 				size_t count, loff_t *ppos)
count             130 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             135 security/selinux/selinuxfs.c 				 size_t count, loff_t *ppos)
count             144 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count             151 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count             184 security/selinux/selinuxfs.c 	length = count;
count             200 security/selinux/selinuxfs.c 					size_t count, loff_t *ppos)
count             212 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             234 security/selinux/selinuxfs.c 				      size_t count, loff_t *ppos)
count             240 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos,
count             276 security/selinux/selinuxfs.c 				 size_t count, loff_t *ppos)
count             285 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count             292 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count             313 security/selinux/selinuxfs.c 	length = count;
count             328 security/selinux/selinuxfs.c 				   size_t count, loff_t *ppos)
count             334 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             352 security/selinux/selinuxfs.c 				size_t count, loff_t *ppos)
count             360 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             441 security/selinux/selinuxfs.c 			       size_t count, loff_t *ppos)
count             452 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, plm->data, plm->len);
count             531 security/selinux/selinuxfs.c 			      size_t count, loff_t *ppos)
count             552 security/selinux/selinuxfs.c 	if (count > 64 * 1024 * 1024)
count             556 security/selinux/selinuxfs.c 	data = vmalloc(count);
count             561 security/selinux/selinuxfs.c 	if (copy_from_user(data, buf, count) != 0)
count             564 security/selinux/selinuxfs.c 	length = security_load_policy(fsi->state, data, count);
count             574 security/selinux/selinuxfs.c 	length = count;
count             629 security/selinux/selinuxfs.c 				     size_t count, loff_t *ppos)
count             636 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             640 security/selinux/selinuxfs.c 				      size_t count, loff_t *ppos)
count             654 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count             661 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count             670 security/selinux/selinuxfs.c 	length = count;
count             683 security/selinux/selinuxfs.c 					size_t count, loff_t *ppos)
count             700 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count             708 security/selinux/selinuxfs.c 	req = memdup_user_nul(buf, count);
count             716 security/selinux/selinuxfs.c 	oldcon = kzalloc(count + 1, GFP_KERNEL);
count             720 security/selinux/selinuxfs.c 	newcon = kzalloc(count + 1, GFP_KERNEL);
count             724 security/selinux/selinuxfs.c 	taskcon = kzalloc(count + 1, GFP_KERNEL);
count             746 security/selinux/selinuxfs.c 		rc = count;
count            1169 security/selinux/selinuxfs.c 			     size_t count, loff_t *ppos)
count            1199 security/selinux/selinuxfs.c 	ret = simple_read_from_buffer(buf, count, ppos, page, length);
count            1210 security/selinux/selinuxfs.c 			      size_t count, loff_t *ppos)
count            1219 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count            1226 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count            1252 security/selinux/selinuxfs.c 	length = count;
count            1268 security/selinux/selinuxfs.c 				      size_t count, loff_t *ppos)
count            1275 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count            1282 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count            1305 security/selinux/selinuxfs.c 		length = count;
count            1416 security/selinux/selinuxfs.c 					    size_t count, loff_t *ppos)
count            1425 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count            1430 security/selinux/selinuxfs.c 					     size_t count, loff_t *ppos)
count            1446 security/selinux/selinuxfs.c 	if (count >= PAGE_SIZE)
count            1453 security/selinux/selinuxfs.c 	page = memdup_user_nul(buf, count);
count            1463 security/selinux/selinuxfs.c 	ret = count;
count            1470 security/selinux/selinuxfs.c 				       size_t count, loff_t *ppos)
count            1483 security/selinux/selinuxfs.c 		length = simple_read_from_buffer(buf, count, ppos, page, length);
count            1607 security/selinux/selinuxfs.c 				size_t count, loff_t *ppos)
count            1619 security/selinux/selinuxfs.c 	ret = simple_read_from_buffer(buf, count, ppos, con, len);
count            1675 security/selinux/selinuxfs.c 				size_t count, loff_t *ppos)
count            1680 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, res, len);
count            1689 security/selinux/selinuxfs.c 				size_t count, loff_t *ppos)
count            1694 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, res, len);
count            1703 security/selinux/selinuxfs.c 				  size_t count, loff_t *ppos)
count            1714 security/selinux/selinuxfs.c 	return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
count             349 security/selinux/ss/ebitmap.c 	u32 mapunit, count, startbit, index;
count             364 security/selinux/ss/ebitmap.c 	count = le32_to_cpu(buf[2]);
count             382 security/selinux/ss/ebitmap.c 	if (e->highbit && !count)
count             385 security/selinux/ss/ebitmap.c 	for (i = 0; i < count; i++) {
count             455 security/selinux/ss/ebitmap.c 	u32 count;
count             462 security/selinux/ss/ebitmap.c 	count = 0;
count             467 security/selinux/ss/ebitmap.c 			count++;
count             473 security/selinux/ss/ebitmap.c 	buf[2] = cpu_to_le32(count);
count              33 security/selinux/ss/sidtab.c 	s->count = 0;
count              58 security/selinux/ss/sidtab.c static u32 sidtab_level_from_count(u32 count)
count              63 security/selinux/ss/sidtab.c 	while (count > capacity) {
count             134 security/selinux/ss/sidtab.c 	u32 count = smp_load_acquire(&s->count);
count             136 security/selinux/ss/sidtab.c 	if (index >= count)
count             174 security/selinux/ss/sidtab.c 			       u32 *pos, u32 count, u32 level,
count             184 security/selinux/ss/sidtab.c 		while (i < SIDTAB_INNER_ENTRIES && *pos < count) {
count             186 security/selinux/ss/sidtab.c 						 pos, count, level - 1,
count             196 security/selinux/ss/sidtab.c 		while (i < SIDTAB_LEAF_ENTRIES && *pos < count) {
count             246 security/selinux/ss/sidtab.c 	u32 count, count_locked, level, pos;
count             256 security/selinux/ss/sidtab.c 	count = smp_load_acquire(&s->count);
count             257 security/selinux/ss/sidtab.c 	level = sidtab_level_from_count(count);
count             260 security/selinux/ss/sidtab.c 	rc = sidtab_find_context(s->roots[level], &pos, count, level,
count             271 security/selinux/ss/sidtab.c 	count_locked = s->count;
count             275 security/selinux/ss/sidtab.c 	while (count < count_locked) {
count             276 security/selinux/ss/sidtab.c 		if (context_cmp(sidtab_do_lookup(s, count, 0), context)) {
count             277 security/selinux/ss/sidtab.c 			sidtab_rcache_push(s, count);
count             278 security/selinux/ss/sidtab.c 			*index = count;
count             282 security/selinux/ss/sidtab.c 		++count;
count             287 security/selinux/ss/sidtab.c 	if (count >= SIDTAB_MAX)
count             292 security/selinux/ss/sidtab.c 	dst = sidtab_do_lookup(s, count, 1);
count             306 security/selinux/ss/sidtab.c 		dst_convert = sidtab_do_lookup(convert->target, count, 1);
count             319 security/selinux/ss/sidtab.c 		convert->target->count = count + 1;
count             326 security/selinux/ss/sidtab.c 	sidtab_rcache_push(s, count);
count             327 security/selinux/ss/sidtab.c 	*index = count;
count             330 security/selinux/ss/sidtab.c 	smp_store_release(&s->count, count + 1);
count             361 security/selinux/ss/sidtab.c 			       u32 *pos, u32 count, u32 level,
count             375 security/selinux/ss/sidtab.c 		while (i < SIDTAB_INNER_ENTRIES && *pos < count) {
count             378 security/selinux/ss/sidtab.c 						 pos, count, level - 1,
count             392 security/selinux/ss/sidtab.c 		while (i < SIDTAB_LEAF_ENTRIES && *pos < count) {
count             409 security/selinux/ss/sidtab.c 	u32 count, level, pos;
count             420 security/selinux/ss/sidtab.c 	count = s->count;
count             421 security/selinux/ss/sidtab.c 	level = sidtab_level_from_count(count);
count             426 security/selinux/ss/sidtab.c 	rc = sidtab_do_lookup(params->target, count - 1, 1) ? 0 : -ENOMEM;
count             433 security/selinux/ss/sidtab.c 	params->target->count = count;
count             441 security/selinux/ss/sidtab.c 	pr_info("SELinux:  Converting %u SID table entries...\n", count);
count             446 security/selinux/ss/sidtab.c 				 &s->roots[level], &pos, count, level, params);
count              81 security/selinux/ss/sidtab.h 	u32 count;
count             444 security/smack/smackfs.c 					size_t count, loff_t *ppos,
count             466 security/smack/smackfs.c 		if (count < SMK_OLOADLEN || count > SMK_LOADLEN)
count             469 security/smack/smackfs.c 		if (count >= PAGE_SIZE) {
count             470 security/smack/smackfs.c 			count = PAGE_SIZE - 1;
count             475 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count             484 security/smack/smackfs.c 		while (count > 0 && (data[count - 1] != '\n'))
count             485 security/smack/smackfs.c 			--count;
count             486 security/smack/smackfs.c 		if (count == 0) {
count             492 security/smack/smackfs.c 	data[count] = '\0';
count             494 security/smack/smackfs.c 	while (cnt < count) {
count             499 security/smack/smackfs.c 			cnt = count;
count             658 security/smack/smackfs.c 			      size_t count, loff_t *ppos)
count             668 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
count             832 security/smack/smackfs.c 				size_t count, loff_t *ppos, int format)
count             856 security/smack/smackfs.c 	    (count < SMK_CIPSOMIN || count > SMK_CIPSOMAX))
count             859 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count             881 security/smack/smackfs.c 	if (rule > data + count) {
count             891 security/smack/smackfs.c 	if (rule > data + count) {
count             901 security/smack/smackfs.c 	    count != (SMK_CIPSOMIN + catlen * SMK_DIGITLEN))
count             920 security/smack/smackfs.c 		rc = count;
count             940 security/smack/smackfs.c 			       size_t count, loff_t *ppos)
count             942 security/smack/smackfs.c 	return smk_set_cipso(file, buf, count, ppos, SMK_FIXED24_FMT);
count            1014 security/smack/smackfs.c 			      size_t count, loff_t *ppos)
count            1016 security/smack/smackfs.c 	return smk_set_cipso(file, buf, count, ppos, SMK_LONG_FMT);
count            1133 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            1162 security/smack/smackfs.c 	if (count < SMK_NETLBLADDRMIN)
count            1165 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            1169 security/smack/smackfs.c 	smack = kzalloc(count + 1, GFP_KERNEL);
count            1272 security/smack/smackfs.c 		rc = count;
count            1396 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            1422 security/smack/smackfs.c 	if (count < SMK_NETLBLADDRMIN)
count            1425 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            1429 security/smack/smackfs.c 	smack = kzalloc(count + 1, GFP_KERNEL);
count            1529 security/smack/smackfs.c 		rc = count;
count            1560 security/smack/smackfs.c 			    size_t count, loff_t *ppos)
count            1569 security/smack/smackfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count            1584 security/smack/smackfs.c 			     size_t count, loff_t *ppos)
count            1592 security/smack/smackfs.c 	if (count >= sizeof(temp) || count == 0)
count            1595 security/smack/smackfs.c 	if (copy_from_user(temp, buf, count) != 0)
count            1598 security/smack/smackfs.c 	temp[count] = '\0';
count            1607 security/smack/smackfs.c 	return count;
count            1626 security/smack/smackfs.c 			       size_t count, loff_t *ppos)
count            1635 security/smack/smackfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count            1650 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            1659 security/smack/smackfs.c 	if (count >= sizeof(temp) || count == 0)
count            1662 security/smack/smackfs.c 	if (copy_from_user(temp, buf, count) != 0)
count            1665 security/smack/smackfs.c 	temp[count] = '\0';
count            1685 security/smack/smackfs.c 	return count;
count            1704 security/smack/smackfs.c 			       size_t count, loff_t *ppos)
count            1713 security/smack/smackfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count            1728 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            1737 security/smack/smackfs.c 	if (count >= sizeof(temp) || count == 0)
count            1740 security/smack/smackfs.c 	if (copy_from_user(temp, buf, count) != 0)
count            1743 security/smack/smackfs.c 	temp[count] = '\0';
count            1763 security/smack/smackfs.c 	return count;
count            1819 security/smack/smackfs.c 				 size_t count, loff_t *ppos)
count            1824 security/smack/smackfs.c 	int rc = count;
count            1829 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            1833 security/smack/smackfs.c 	skp = smk_import_entry(data, count);
count            1991 security/smack/smackfs.c 				 size_t count, loff_t *ppos)
count            2000 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            2021 security/smack/smackfs.c 		rc = count;
count            2078 security/smack/smackfs.c 					size_t count, loff_t *ppos)
count            2082 security/smack/smackfs.c 	int rc = count;
count            2087 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            2100 security/smack/smackfs.c 	skp = smk_import_entry(data, count);
count            2132 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2141 security/smack/smackfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count            2155 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2163 security/smack/smackfs.c 	if (count >= sizeof(temp) || count == 0)
count            2166 security/smack/smackfs.c 	if (copy_from_user(temp, buf, count) != 0)
count            2169 security/smack/smackfs.c 	temp[count] = '\0';
count            2176 security/smack/smackfs.c 	return count;
count            2245 security/smack/smackfs.c 			      size_t count, loff_t *ppos)
count            2249 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules,
count            2269 security/smack/smackfs.c 				size_t count, loff_t *ppos, int format)
count            2275 security/smack/smackfs.c 	data = simple_transaction_get(file, buf, count);
count            2280 security/smack/smackfs.c 		if (count < SMK_LOADLEN)
count            2306 security/smack/smackfs.c 	return count;
count            2317 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2319 security/smack/smackfs.c 	return smk_user_access(file, buf, count, ppos, SMK_FIXED24_FMT);
count            2375 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2383 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
count            2452 security/smack/smackfs.c 			      size_t count, loff_t *ppos)
count            2456 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, &tsp->smk_rules,
count            2476 security/smack/smackfs.c 					size_t count, loff_t *ppos)
count            2478 security/smack/smackfs.c 	return smk_user_access(file, buf, count, ppos, SMK_LONG_FMT);
count            2496 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2504 security/smack/smackfs.c 	int rc = count;
count            2512 security/smack/smackfs.c 	if (count == 0 || count > SMK_LONGLABEL)
count            2515 security/smack/smackfs.c 	data = memdup_user(buf, count);
count            2519 security/smack/smackfs.c 	cp = smk_parse_smack(data, count);
count            2571 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2579 security/smack/smackfs.c 	return smk_write_rules_list(file, buf, count, ppos, NULL, NULL,
count            2633 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2637 security/smack/smackfs.c 	int rc = count;
count            2642 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            2646 security/smack/smackfs.c 	skp = smk_import_entry(data, count);
count            2721 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2740 security/smack/smackfs.c 	data = memdup_user_nul(buf, count);
count            2750 security/smack/smackfs.c 		return count;
count            2775 security/smack/smackfs.c 			       size_t count, loff_t *ppos)
count            2784 security/smack/smackfs.c 	rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
count            2796 security/smack/smackfs.c 				size_t count, loff_t *ppos)
count            2804 security/smack/smackfs.c 	if (*ppos != 0 || count >= sizeof(temp) || count == 0)
count            2807 security/smack/smackfs.c 	if (copy_from_user(temp, buf, count) != 0)
count            2810 security/smack/smackfs.c 	temp[count] = '\0';
count            2818 security/smack/smackfs.c 	return count;
count              42 security/tomoyo/securityfs_if.c 			      size_t count, loff_t *ppos)
count              47 security/tomoyo/securityfs_if.c 	if (!count || count >= TOMOYO_EXEC_TMPSIZE - 10)
count              49 security/tomoyo/securityfs_if.c 	data = memdup_user_nul(buf, count);
count              87 security/tomoyo/securityfs_if.c 	return error ? error : count;
count             101 security/tomoyo/securityfs_if.c 				size_t count, loff_t *ppos)
count             107 security/tomoyo/securityfs_if.c 	if (pos >= len || !count)
count             110 security/tomoyo/securityfs_if.c 	if (count < len)
count             111 security/tomoyo/securityfs_if.c 		len = count;
count             175 security/tomoyo/securityfs_if.c static ssize_t tomoyo_read(struct file *file, char __user *buf, size_t count,
count             178 security/tomoyo/securityfs_if.c 	return tomoyo_read_control(file->private_data, buf, count);
count             192 security/tomoyo/securityfs_if.c 			    size_t count, loff_t *ppos)
count             194 security/tomoyo/securityfs_if.c 	return tomoyo_write_control(file->private_data, buf, count);
count            1024 security/tomoyo/util.c 	unsigned int count = 0;
count            1072 security/tomoyo/util.c 				count++;
count            1074 security/tomoyo/util.c 	if (count < tomoyo_profile(domain->ns, domain->profile)->
count             112 sound/aoa/codecs/onyx.c 	uinfo->count = 2;
count             188 sound/aoa/codecs/onyx.c 	uinfo->count = 1;
count             461 sound/aoa/codecs/onyx.c 	uinfo->count = 1;
count             228 sound/aoa/codecs/tas.c 	uinfo->count = 2;
count             329 sound/aoa/codecs/tas.c 	uinfo->count = 2;
count             389 sound/aoa/codecs/tas.c 	uinfo->count = 1;
count             550 sound/aoa/codecs/tas.c 	uinfo->count = 1;
count             601 sound/aoa/codecs/tas.c 	uinfo->count = 1;
count              16 sound/aoa/core/gpio-pmf.c 	struct pmf_args args = { .count = 1, .u[0].v = !on };	\
count              39 sound/aoa/core/gpio-pmf.c 	struct pmf_args args = { .count = 1, .u[0].v = !!on };
count             213 sound/aoa/core/gpio-pmf.c 	struct pmf_args args = { .count = 1, .u[0].p = &ret };
count              85 sound/aoa/soundbus/i2sbus/control.c 	struct pmf_args args = { .count = 0 };
count             113 sound/aoa/soundbus/i2sbus/control.c 	struct pmf_args args = { .count = 0 };
count             156 sound/aoa/soundbus/i2sbus/control.c 	struct pmf_args args = { .count = 0 };
count             251 sound/core/compress_offload.c 	       const char __user *buf, size_t count)
count             264 sound/core/compress_offload.c 			(unsigned long)count, app_pointer);
count             265 sound/core/compress_offload.c 	if (count < runtime->buffer_size - app_pointer) {
count             266 sound/core/compress_offload.c 		if (copy_from_user(dstn, buf, count))
count             272 sound/core/compress_offload.c 		if (copy_from_user(runtime->buffer, buf + copy, count - copy))
count             277 sound/core/compress_offload.c 		stream->ops->ack(stream, count);
count             278 sound/core/compress_offload.c 	return count;
count             282 sound/core/compress_offload.c 		size_t count, loff_t *offset)
count             308 sound/core/compress_offload.c 	if (avail > count)
count             309 sound/core/compress_offload.c 		avail = count;
count             333 sound/core/compress_offload.c 		size_t count, loff_t *offset)
count             365 sound/core/compress_offload.c 	if (avail > count)
count             366 sound/core/compress_offload.c 		avail = count;
count             119 sound/core/control.c 		for (idx = 0; idx < control->count; idx++)
count             196 sound/core/control.c static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count,
count             201 sound/core/control.c 	if (count == 0 || count > MAX_CONTROL_COUNT)
count             204 sound/core/control.c 	*kctl = kzalloc(struct_size(*kctl, vd, count), GFP_KERNEL);
count             208 sound/core/control.c 	for (idx = 0; idx < count; idx++) {
count             212 sound/core/control.c 	(*kctl)->count = count;
count             232 sound/core/control.c 	unsigned int count;
count             239 sound/core/control.c 	count = ncontrol->count;
count             240 sound/core/control.c 	if (count == 0)
count             241 sound/core/control.c 		count = 1;
count             253 sound/core/control.c 	err = snd_ctl_new(&kctl, count, access, NULL);
count             300 sound/core/control.c 					  unsigned int count)
count             305 sound/core/control.c 	if (card->last_numid >= UINT_MAX - count)
count             309 sound/core/control.c 		if (kctl->id.numid < card->last_numid + 1 + count &&
count             310 sound/core/control.c 		    kctl->id.numid + kctl->count > card->last_numid + 1) {
count             311 sound/core/control.c 		    	card->last_numid = kctl->id.numid + kctl->count - 1;
count             318 sound/core/control.c static int snd_ctl_find_hole(struct snd_card *card, unsigned int count)
count             322 sound/core/control.c 	while (snd_ctl_remove_numid_conflict(card, count)) {
count             343 sound/core/control.c 	unsigned int count;
count             348 sound/core/control.c 	if (id.index > UINT_MAX - kcontrol->count)
count             369 sound/core/control.c 	if (snd_ctl_find_hole(card, kcontrol->count) < 0)
count             373 sound/core/control.c 	card->controls_count += kcontrol->count;
count             375 sound/core/control.c 	card->last_numid += kcontrol->count;
count             378 sound/core/control.c 	count = kcontrol->count;
count             379 sound/core/control.c 	for (idx = 0; idx < count; idx++, id.index++, id.numid++)
count             469 sound/core/control.c 	card->controls_count -= kcontrol->count;
count             471 sound/core/control.c 	for (idx = 0; idx < kcontrol->count; idx++, id.index++, id.numid++)
count             532 sound/core/control.c 	for (idx = 0; idx < kctl->count; idx++)
count             618 sound/core/control.c 	card->last_numid += kctl->count;
count             644 sound/core/control.c 		if (kctl->id.numid <= numid && kctl->id.numid + kctl->count > numid)
count             684 sound/core/control.c 		if (kctl->id.index + kctl->count <= id->index)
count             732 sound/core/control.c 	list.count = card->controls_count;
count             736 sound/core/control.c 			if (offset >= kctl->count) {
count             737 sound/core/control.c 				offset -= kctl->count;
count             740 sound/core/control.c 			for (jidx = offset; jidx < kctl->count; jidx++) {
count             779 sound/core/control.c 		if (members > info->count)
count             788 sound/core/control.c 	return members == info->count;
count            1116 sound/core/control.c 		for (i = 0; i < kctl->count; ++i)
count            1126 sound/core/control.c 	for (i = 0; i < kctl->count; ++i) {
count            1225 sound/core/control.c 	unsigned int count;
count            1253 sound/core/control.c 	count = info->owner;
count            1254 sound/core/control.c 	if (count == 0)
count            1255 sound/core/control.c 		count = 1;
count            1280 sound/core/control.c 	if (info->count < 1 ||
count            1281 sound/core/control.c 	    info->count > max_value_counts[info->type])
count            1285 sound/core/control.c 	private_size = value_sizes[info->type] * info->count;
count            1293 sound/core/control.c 	err = snd_ctl_new(&kctl, count, access, file);
count            1297 sound/core/control.c 	kctl->private_data = kzalloc(sizeof(struct user_element) + private_size * count,
count            1586 sound/core/control.c 			    size_t count, loff_t * offset)
count            1597 sound/core/control.c 	if (count < sizeof(struct snd_ctl_event))
count            1600 sound/core/control.c 	while (count >= sizeof(struct snd_ctl_event)) {
count            1634 sound/core/control.c 		count -= sizeof(struct snd_ctl_event);
count            1896 sound/core/control.c 	uinfo->count = 1;
count            1916 sound/core/control.c 	uinfo->count = 2;
count            1940 sound/core/control.c 	info->count = channels;
count              17 sound/core/control_compat.c 	u32 count;
count              56 sound/core/control_compat.c 	u32 count;
count             196 sound/core/control_compat.c 		*countp = info->count;
count             202 sound/core/control_compat.c static int get_elem_size(int type, int count)
count             206 sound/core/control_compat.c 		return sizeof(s64) * count;
count             208 sound/core/control_compat.c 		return sizeof(int) * count;
count             226 sound/core/control_compat.c 	int uninitialized_var(count);
count             235 sound/core/control_compat.c 	type = get_ctl_type(card, &data->id, &count);
count             241 sound/core/control_compat.c 		for (i = 0; i < count; i++) {
count             249 sound/core/control_compat.c 		size = get_elem_size(type, count);
count             259 sound/core/control_compat.c 	*countp = count;
count             267 sound/core/control_compat.c 				  int type, int count)
count             273 sound/core/control_compat.c 		for (i = 0; i < count; i++) {
count             281 sound/core/control_compat.c 		size = get_elem_size(type, count);
count             292 sound/core/control_compat.c 	int err, type, count;
count             299 sound/core/control_compat.c 				       &type, &count);
count             309 sound/core/control_compat.c 	err = copy_ctl_value_to_user(userdata, valuep, data, type, count);
count             320 sound/core/control_compat.c 	int err, type, count;
count             327 sound/core/control_compat.c 				       &type, &count);
count             337 sound/core/control_compat.c 	err = copy_ctl_value_to_user(userdata, valuep, data, type, count);
count              51 sound/core/ctljack.c 	size_t count = strlen(src_name);
count              55 sound/core/ctljack.c 	if (count >= 5)
count              56 sound/core/ctljack.c 		need_cat = strncmp(&src_name[count - 5], " Jack", 5) ? true : false;
count              51 sound/core/hwdep.c 			      size_t count, loff_t *offset)
count              55 sound/core/hwdep.c 		return hw->ops.read(hw, buf, count, offset);
count              60 sound/core/hwdep.c 			       size_t count, loff_t *offset)
count              64 sound/core/hwdep.c 		return hw->ops.write(hw, buf, count, offset);
count              93 sound/core/info.c static bool valid_pos(loff_t pos, size_t count)
count              95 sound/core/info.c 	if (pos < 0 || (long) pos != pos || (ssize_t) count < 0)
count              97 sound/core/info.c 	if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos)
count             148 sound/core/info.c 				   size_t count, loff_t * offset)
count             156 sound/core/info.c 	if (!valid_pos(pos, count))
count             161 sound/core/info.c 	size = min(count, size);
count             170 sound/core/info.c 				    size_t count, loff_t * offset)
count             178 sound/core/info.c 	if (!valid_pos(pos, count))
count             180 sound/core/info.c 	if (count > 0) {
count             182 sound/core/info.c 		count = min(count, maxsize);
count             184 sound/core/info.c 					   file, buffer, count, pos);
count             303 sound/core/info.c 					 size_t count, loff_t *offset)
count             316 sound/core/info.c 	if (!valid_pos(pos, count))
count             318 sound/core/info.c 	next = pos + count;
count             341 sound/core/info.c 	if (copy_from_user(buf->buffer + pos, buffer, count)) {
count             351 sound/core/info.c 	return count;
count             292 sound/core/init.c 				   size_t count, loff_t *offset)
count             298 sound/core/init.c 				    size_t count, loff_t *offset)
count             656 sound/core/init.c 		   const char *buf, size_t count)
count             660 sound/core/init.c 	size_t copy = count > sizeof(card->id) - 1 ?
count             661 sound/core/init.c 					sizeof(card->id) - 1 : count;
count             681 sound/core/init.c 	return count;
count             792 sound/core/init.c 	int idx, count;
count             795 sound/core/init.c 	for (idx = count = 0; idx < SNDRV_CARDS; idx++) {
count             798 sound/core/init.c 			count++;
count             809 sound/core/init.c 	if (!count)
count             816 sound/core/init.c 	int idx, count;
count             819 sound/core/init.c 	for (idx = count = 0; idx < SNDRV_CARDS; idx++) {
count             822 sound/core/init.c 			count++;
count             827 sound/core/init.c 	if (!count) {
count              23 sound/core/memory.c int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count)
count              26 sound/core/memory.c 	return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0;
count              29 sound/core/memory.c 	while (count) {
count              30 sound/core/memory.c 		size_t c = count;
count              36 sound/core/memory.c 		count -= c;
count              55 sound/core/memory.c int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count)
count              58 sound/core/memory.c 	return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0;
count              61 sound/core/memory.c 	while (count) {
count              62 sound/core/memory.c 		size_t c = count;
count              68 sound/core/memory.c 		count -= c;
count              28 sound/core/oss/io.c #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1)
count              29 sound/core/oss/io.c #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count)
count              30 sound/core/oss/io.c #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1)
count              31 sound/core/oss/io.c #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count)
count             536 sound/core/oss/mixer_oss.c 	if (uinfo->count > 1)
count             572 sound/core/oss/mixer_oss.c 		if (uinfo->count == 1)
count             575 sound/core/oss/mixer_oss.c 	if (uinfo->count > 1 && !uctl->value.integer.value[route ? 3 : 1])
count             637 sound/core/oss/mixer_oss.c 	if (uinfo->count > 1)
count             674 sound/core/oss/mixer_oss.c 	if (uinfo->count > 1) {
count             880 sound/core/oss/mixer_oss.c 	for (idx = 0; idx < uinfo->count; idx++)
count             925 sound/core/oss/mixer_oss.c 	if (info->count > slot->channels)
count             926 sound/core/oss/mixer_oss.c 		slot->channels = info->count;
count            2726 sound/core/oss/pcm_oss.c static ssize_t snd_pcm_oss_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count            2737 sound/core/oss/pcm_oss.c 	return snd_pcm_oss_read1(substream, buf, count);
count            2740 sound/core/oss/pcm_oss.c 		ssize_t res = snd_pcm_oss_read1(substream, buf, count);
count            2743 sound/core/oss/pcm_oss.c 			(long)count, (long)res);
count            2749 sound/core/oss/pcm_oss.c static ssize_t snd_pcm_oss_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
count            2760 sound/core/oss/pcm_oss.c 	result = snd_pcm_oss_write1(substream, buf, count);
count            2763 sound/core/oss/pcm_oss.c 	       (long)count, (long)result);
count             579 sound/core/oss/pcm_plugin.c 					 snd_pcm_uframes_t count,
count             606 sound/core/oss/pcm_plugin.c 		v->frames = count;
count             613 sound/core/oss/pcm_plugin.c 	return count;
count             126 sound/core/oss/pcm_plugin.h 						   char *buf, snd_pcm_uframes_t count,
count             994 sound/core/pcm_lib.c int snd_interval_list(struct snd_interval *i, unsigned int count,
count            1000 sound/core/pcm_lib.c 	if (!count) {
count            1007 sound/core/pcm_lib.c         for (k = 0; k < count; k++) {
count            1033 sound/core/pcm_lib.c int snd_interval_ranges(struct snd_interval *i, unsigned int count,
count            1040 sound/core/pcm_lib.c 	if (!count) {
count            1047 sound/core/pcm_lib.c 	for (k = 0; k < count; k++) {
count            1245 sound/core/pcm_lib.c 	return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask);
count            1276 sound/core/pcm_lib.c 				   r->count, r->ranges, r->mask);
count            2312 sound/core/pcm_lib.c 	uinfo->count = 0;
count            2313 sound/core/pcm_lib.c 	uinfo->count = info->max_channels;
count            2360 sound/core/pcm_lib.c 	int c, count = 0;
count            2381 sound/core/pcm_lib.c 		count += 8;
count            2385 sound/core/pcm_lib.c 		count += chs_bytes;
count            2392 sound/core/pcm_lib.c 	if (put_user(count, tlv + 1))
count            2448 sound/core/pcm_lib.c 	knew.count = pcm->streams[stream].substream_count;
count             487 sound/core/pcm_misc.c 	for (i = 0; i < (int)snd_pcm_known_rates.count; i++) {
count             493 sound/core/pcm_misc.c 	for (i = (int)snd_pcm_known_rates.count - 1; i >= 0; i--) {
count             514 sound/core/pcm_misc.c 	for (i = 0; i < snd_pcm_known_rates.count; i++)
count             532 sound/core/pcm_misc.c 	for (i = 0; i < snd_pcm_known_rates.count; i++)
count             595 sound/core/pcm_misc.c 	for (i = 0; i < snd_pcm_known_rates.count; i++) {
count            2197 sound/core/pcm_native.c 	.count = ARRAY_SIZE(rates),
count            2206 sound/core/pcm_native.c 				 snd_pcm_known_rates.count,
count            3062 sound/core/pcm_native.c static ssize_t snd_pcm_read(struct file *file, char __user *buf, size_t count,
count            3077 sound/core/pcm_native.c 	if (!frame_aligned(runtime, count))
count            3079 sound/core/pcm_native.c 	count = bytes_to_frames(runtime, count);
count            3080 sound/core/pcm_native.c 	result = snd_pcm_lib_read(substream, buf, count);
count            3087 sound/core/pcm_native.c 			     size_t count, loff_t * offset)
count            3101 sound/core/pcm_native.c 	if (!frame_aligned(runtime, count))
count            3103 sound/core/pcm_native.c 	count = bytes_to_frames(runtime, count);
count            3104 sound/core/pcm_native.c 	result = snd_pcm_lib_write(substream, buf, count);
count              83 sound/core/rawmidi.c 					   size_t count)
count              88 sound/core/rawmidi.c 	       (!substream->append || runtime->avail >= count);
count             893 sound/core/rawmidi.c 			const unsigned char *buffer, int count)
count             907 sound/core/rawmidi.c 	if (count == 1) {	/* special case, faster code */
count             918 sound/core/rawmidi.c 		substream->bytes += count;
count             920 sound/core/rawmidi.c 		if (count1 > count)
count             921 sound/core/rawmidi.c 			count1 = count;
count             928 sound/core/rawmidi.c 		count -= count1;
count             930 sound/core/rawmidi.c 		if (count > 0) {
count             932 sound/core/rawmidi.c 			count1 = count;
count             935 sound/core/rawmidi.c 				runtime->xruns += count - count1;
count             958 sound/core/rawmidi.c 				     unsigned char *kernelbuf, long count)
count             968 sound/core/rawmidi.c 	while (count > 0 && runtime->avail) {
count             970 sound/core/rawmidi.c 		if (count1 > count)
count             971 sound/core/rawmidi.c 			count1 = count;
count             993 sound/core/rawmidi.c 		count -= count1;
count            1002 sound/core/rawmidi.c 			     unsigned char *buf, long count)
count            1005 sound/core/rawmidi.c 	return snd_rawmidi_kernel_read1(substream, NULL/*userbuf*/, buf, count);
count            1009 sound/core/rawmidi.c static ssize_t snd_rawmidi_read(struct file *file, char __user *buf, size_t count,
count            1025 sound/core/rawmidi.c 	while (count > 0) {
count            1052 sound/core/rawmidi.c 						  count);
count            1057 sound/core/rawmidi.c 		count -= count1;
count            1095 sound/core/rawmidi.c 			      unsigned char *buffer, int count)
count            1110 sound/core/rawmidi.c 	if (count == 1) {	/* special case, faster code */
count            1115 sound/core/rawmidi.c 		if (count1 > count)
count            1116 sound/core/rawmidi.c 			count1 = count;
count            1120 sound/core/rawmidi.c 		count -= count1;
count            1122 sound/core/rawmidi.c 		if (count > 0) {
count            1123 sound/core/rawmidi.c 			if (count > (int)(runtime->buffer_size - runtime->avail - count1))
count            1124 sound/core/rawmidi.c 				count = runtime->buffer_size - runtime->avail - count1;
count            1125 sound/core/rawmidi.c 			memcpy(buffer + count1, runtime->buffer, count);
count            1126 sound/core/rawmidi.c 			result += count;
count            1149 sound/core/rawmidi.c 			      unsigned char *buffer, int count)
count            1156 sound/core/rawmidi.c 	result = __snd_rawmidi_transmit_peek(substream, buffer, count);
count            1169 sound/core/rawmidi.c int __snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream, int count)
count            1178 sound/core/rawmidi.c 	snd_BUG_ON(runtime->avail + count > runtime->buffer_size);
count            1179 sound/core/rawmidi.c 	runtime->hw_ptr += count;
count            1181 sound/core/rawmidi.c 	runtime->avail += count;
count            1182 sound/core/rawmidi.c 	substream->bytes += count;
count            1183 sound/core/rawmidi.c 	if (count > 0) {
count            1187 sound/core/rawmidi.c 	return count;
count            1202 sound/core/rawmidi.c int snd_rawmidi_transmit_ack(struct snd_rawmidi_substream *substream, int count)
count            1209 sound/core/rawmidi.c 	result = __snd_rawmidi_transmit_ack(substream, count);
count            1226 sound/core/rawmidi.c 			 unsigned char *buffer, int count)
count            1236 sound/core/rawmidi.c 		count = __snd_rawmidi_transmit_peek(substream, buffer, count);
count            1237 sound/core/rawmidi.c 		if (count <= 0)
count            1238 sound/core/rawmidi.c 			result = count;
count            1240 sound/core/rawmidi.c 			result = __snd_rawmidi_transmit_ack(substream, count);
count            1257 sound/core/rawmidi.c 	int count = 0;
count            1261 sound/core/rawmidi.c 		count = runtime->buffer_size - runtime->avail;
count            1262 sound/core/rawmidi.c 		__snd_rawmidi_transmit_ack(substream, count);
count            1265 sound/core/rawmidi.c 	return count;
count            1272 sound/core/rawmidi.c 				      long count)
count            1287 sound/core/rawmidi.c 		if ((long)runtime->avail < count) {
count            1293 sound/core/rawmidi.c 	while (count > 0 && runtime->avail > 0) {
count            1295 sound/core/rawmidi.c 		if (count1 > count)
count            1296 sound/core/rawmidi.c 			count1 = count;
count            1320 sound/core/rawmidi.c 		count -= count1;
count            1332 sound/core/rawmidi.c 			      const unsigned char *buf, long count)
count            1334 sound/core/rawmidi.c 	return snd_rawmidi_kernel_write1(substream, NULL, buf, count);
count            1339 sound/core/rawmidi.c 				 size_t count, loff_t *offset)
count            1351 sound/core/rawmidi.c 	if (substream->append && count > runtime->buffer_size)
count            1354 sound/core/rawmidi.c 	while (count > 0) {
count            1356 sound/core/rawmidi.c 		while (!snd_rawmidi_ready_append(substream, count)) {
count            1378 sound/core/rawmidi.c 		count1 = snd_rawmidi_kernel_write1(substream, buf, NULL, count);
count            1383 sound/core/rawmidi.c 		if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK))
count            1385 sound/core/rawmidi.c 		count -= count1;
count            1529 sound/core/rawmidi.c 					int count)
count            1534 sound/core/rawmidi.c 	for (idx = 0; idx < count; idx++) {
count              46 sound/core/seq/oss/seq_oss.c static ssize_t odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset);
count              47 sound/core/seq/oss/seq_oss.c static ssize_t odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset);
count             147 sound/core/seq/oss/seq_oss.c odev_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
count             153 sound/core/seq/oss/seq_oss.c 	return snd_seq_oss_read(dp, buf, count);
count             158 sound/core/seq/oss/seq_oss.c odev_write(struct file *file, const char __user *buf, size_t count, loff_t *offset)
count             164 sound/core/seq/oss/seq_oss.c 	return snd_seq_oss_write(dp, buf, count, file);
count             113 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_read(struct seq_oss_devinfo *dev, char __user *buf, int count);
count             114 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt);
count             116 sound/core/seq/oss/seq_oss_readq.c static int readq_dump_sysex(void *ptr, void *buf, int count)
count             120 sound/core/seq/oss/seq_oss_readq.c 	return snd_seq_oss_readq_puts(ctx->readq, ctx->dev, buf, count);
count              31 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count)
count              42 sound/core/seq/oss/seq_oss_rw.c 	while (count >= SHORT_EVENT_SIZE) {
count              60 sound/core/seq/oss/seq_oss_rw.c 		if (ev_len < count) {
count              72 sound/core/seq/oss/seq_oss_rw.c 		count -= ev_len;
count              83 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt)
count              92 sound/core/seq/oss/seq_oss_rw.c 	while (count >= SHORT_EVENT_SIZE) {
count             106 sound/core/seq/oss/seq_oss_rw.c 							    fmt, buf, 0, count);
count             116 sound/core/seq/oss/seq_oss_rw.c 			if (count < ev_size)
count             140 sound/core/seq/oss/seq_oss_rw.c 		count -= ev_size;
count             401 sound/core/seq/seq_clientmgr.c static ssize_t snd_seq_read(struct file *file, char __user *buf, size_t count,
count             413 sound/core/seq/seq_clientmgr.c 	if (!access_ok(buf, count))
count             435 sound/core/seq/seq_clientmgr.c 	while (count >= sizeof(struct snd_seq_event)) {
count             450 sound/core/seq/seq_clientmgr.c 			count -= sizeof(struct snd_seq_event);
count             452 sound/core/seq/seq_clientmgr.c 			err = snd_seq_expand_var_event(&cell->event, count,
count             458 sound/core/seq/seq_clientmgr.c 			count -= err;
count             465 sound/core/seq/seq_clientmgr.c 			count -= sizeof(struct snd_seq_event);
count            1020 sound/core/seq/seq_clientmgr.c 			     size_t count, loff_t *offset)
count            1049 sound/core/seq/seq_clientmgr.c 	while (count >= sizeof(struct snd_seq_event)) {
count            1073 sound/core/seq/seq_clientmgr.c 			if ((size_t)(extlen + len) > count) {
count            1102 sound/core/seq/seq_clientmgr.c 		count -= len;
count            1977 sound/core/seq/seq_clientmgr.c 	subs->num_subs = group->count;
count            2391 sound/core/seq/seq_clientmgr.c 	int count = 0;
count            2404 sound/core/seq/seq_clientmgr.c 		if (count++)
count             130 sound/core/seq/seq_memory.c int snd_seq_expand_var_event(const struct snd_seq_event *event, int count, char *buf,
count             141 sound/core/seq/seq_memory.c 	if (count < newlen)
count              96 sound/core/seq/seq_midi.c static int dump_midi(struct snd_rawmidi_substream *substream, const char *buf, int count)
count             104 sound/core/seq/seq_midi.c 	if ((tmp = runtime->avail) < count) {
count             109 sound/core/seq/seq_midi.c 	if (snd_rawmidi_kernel_write(substream, buf, count) < count)
count              85 sound/core/seq/seq_midi_event.c static int extra_decode_xrpn(struct snd_midi_event *dev, unsigned char *buf, int count,
count             290 sound/core/seq/seq_midi_event.c long snd_midi_event_decode(struct snd_midi_event *dev, unsigned char *buf, long count,
count             304 sound/core/seq/seq_midi_event.c 			return extra_event[type].decode(dev, buf, count, ev);
count             318 sound/core/seq/seq_midi_event.c 		return snd_seq_expand_var_event(ev, count, buf, 1, 0);
count             338 sound/core/seq/seq_midi_event.c 		if (count < qlen)
count             384 sound/core/seq/seq_midi_event.c 			       int count, struct snd_seq_event *ev)
count             391 sound/core/seq/seq_midi_event.c 		if (count < 4)
count             393 sound/core/seq/seq_midi_event.c 		if (dev->nostat && count < 6)
count             396 sound/core/seq/seq_midi_event.c 			if (count < 5)
count             407 sound/core/seq/seq_midi_event.c 		if (count < 2)
count             410 sound/core/seq/seq_midi_event.c 			if (count < 3)
count             422 sound/core/seq/seq_midi_event.c 			     int count, struct snd_seq_event *ev)
count             437 sound/core/seq/seq_midi_event.c 	if (count < 8)
count             439 sound/core/seq/seq_midi_event.c 	if (dev->nostat && count < 12)
count             447 sound/core/seq/seq_midi_event.c 		if (count < 9)
count             101 sound/core/seq/seq_ports.c 	grp->count = 0;
count             259 sound/core/seq/seq_ports.c 	snd_BUG_ON(port->c_src.count != 0);
count             260 sound/core/seq/seq_ports.c 	snd_BUG_ON(port->c_dest.count != 0);
count             373 sound/core/seq/seq_ports.c 	info->read_use = port->c_src.count;
count             374 sound/core/seq/seq_ports.c 	info->write_use = port->c_dest.count;
count             410 sound/core/seq/seq_ports.c 	grp->count++;
count             411 sound/core/seq/seq_ports.c 	if (grp->open && grp->count == 1) {
count             415 sound/core/seq/seq_ports.c 			grp->count--;
count             433 sound/core/seq/seq_ports.c 	if (! grp->count)
count             435 sound/core/seq/seq_ports.c 	grp->count--;
count             436 sound/core/seq/seq_ports.c 	if (grp->close && grp->count == 0)
count              37 sound/core/seq/seq_ports.h 	unsigned int count;		/* count of subscribers */
count             136 sound/core/seq/seq_prioq.c 	int count;
count             167 sound/core/seq/seq_prioq.c 	count = 10000; /* FIXME: enough big, isn't it? */
count             181 sound/core/seq/seq_prioq.c 		if (! --count) {
count            2057 sound/core/timer.c 				   size_t count, loff_t *offset)
count            2068 sound/core/timer.c 	while ((long)count - result >= unit) {
count              19 sound/core/vmaster.c 	int count;		/* item count */
count              69 sound/core/vmaster.c 	for (ch = 0; ch < slave->info.count; ch++)
count              82 sound/core/vmaster.c 	if (slave->info.count) {
count              99 sound/core/vmaster.c 	slave->info.count = uinfo->count;
count             100 sound/core/vmaster.c 	if (slave->info.count > 2  ||
count             119 sound/core/vmaster.c 	if (master->info.count)
count             127 sound/core/vmaster.c 		master->info.count = 1; /* always mono */
count             145 sound/core/vmaster.c 	for (ch = 0; ch < slave->info.count; ch++)
count             161 sound/core/vmaster.c 		for (ch = 0; ch < slave->info.count; ch++)
count             166 sound/core/vmaster.c 		for (ch = 0; ch < slave->info.count; ch++) {
count             207 sound/core/vmaster.c 	for (ch = 0; ch < slave->info.count; ch++) {
count             258 sound/core/vmaster.c 	srec = kzalloc(struct_size(srec, slave.vd, slave->count),
count             264 sound/core/vmaster.c 	memcpy(srec->slave.vd, slave->vd, slave->count * sizeof(*slave->vd));
count             295 sound/core/vmaster.c 	uinfo->count = master->info.count;
count             366 sound/core/vmaster.c 		       sctl->count * sizeof(*sctl->vd));
count             796 sound/drivers/aloop.c 	uinfo->count = 1;
count             895 sound/drivers/aloop.c 	uinfo->count = 1;
count             917 sound/drivers/aloop.c 	uinfo->count = 1;
count             941 sound/drivers/aloop.c 	uinfo->count = 1;
count             728 sound/drivers/dummy.c 	uinfo->count = 2;
count             486 sound/drivers/mts64.c 	uinfo->count = 1;
count             496 sound/drivers/mts64.c 	uinfo->count = 1;
count             506 sound/drivers/mts64.c 	uinfo->count = 1;
count              14 sound/drivers/opl3/opl3_oss.c static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *buf, int offs, int count);
count             175 sound/drivers/opl3/opl3_oss.c 				       const char __user *buf, int offs, int count)
count             193 sound/drivers/opl3/opl3_oss.c 	if (count < (int)sizeof(sbi)) {
count             182 sound/drivers/opl3/opl3_synth.c long snd_opl3_write(struct snd_hwdep *hw, const char __user *buf, long count,
count             190 sound/drivers/opl3/opl3_synth.c 	while (count >= sizeof(inst)) {
count             207 sound/drivers/opl3/opl3_synth.c 		count -= sizeof(inst);
count             155 sound/drivers/opl4/opl4_local.h 	int count;
count              13 sound/drivers/opl4/opl4_mixer.c 	uinfo->count = 2;
count              41 sound/drivers/opl4/opl4_proc.c 				      size_t count, loff_t pos)
count              46 sound/drivers/opl4/opl4_proc.c 	buf = vmalloc(count);
count              49 sound/drivers/opl4/opl4_proc.c 	snd_opl4_read_memory(opl4, buf, pos, count);
count              50 sound/drivers/opl4/opl4_proc.c 	if (copy_to_user(_buf, buf, count)) {
count              55 sound/drivers/opl4/opl4_proc.c 	return count;
count              62 sound/drivers/opl4/opl4_proc.c 				       size_t count, loff_t pos)
count              67 sound/drivers/opl4/opl4_proc.c 	buf = vmalloc(count);
count              70 sound/drivers/opl4/opl4_proc.c 	if (copy_from_user(buf, _buf, count)) {
count              74 sound/drivers/opl4/opl4_proc.c 	snd_opl4_write_memory(opl4, buf, pos, count);
count              76 sound/drivers/opl4/opl4_proc.c 	return count;
count             494 sound/drivers/opl4/opl4_synth.c 	for (i = 0; i < regions->count; i++) {
count              16 sound/drivers/pcsp/pcsp_input.c static void pcspkr_do_sound(unsigned int count)
count              22 sound/drivers/pcsp/pcsp_input.c 	if (count) {
count              26 sound/drivers/pcsp/pcsp_input.c 		outb_p(count & 0xff, 0x42);
count              27 sound/drivers/pcsp/pcsp_input.c 		outb((count >> 8) & 0xff, 0x42);
count              46 sound/drivers/pcsp/pcsp_input.c 	unsigned int count = 0;
count              69 sound/drivers/pcsp/pcsp_input.c 		count = PIT_TICK_RATE / value;
count              71 sound/drivers/pcsp/pcsp_input.c 	pcspkr_do_sound(count);
count              18 sound/drivers/pcsp/pcsp_mixer.c 	uinfo->count = 1;
count              50 sound/drivers/pcsp/pcsp_mixer.c 	uinfo->count = 1;
count              87 sound/drivers/pcsp/pcsp_mixer.c 	uinfo->count = 1;
count             404 sound/drivers/vx/vx_mixer.c 	uinfo->count = 2;
count             562 sound/drivers/vx/vx_mixer.c 	uinfo->count = 2;
count             749 sound/drivers/vx/vx_mixer.c 	uinfo->count = 1;
count             822 sound/drivers/vx/vx_mixer.c 	uinfo->count = 2;
count             653 sound/drivers/vx/vx_pcm.c 	u64 count;
count             661 sound/drivers/vx/vx_pcm.c 	count = ((u64)(rmh.Stat[0] & 0xfffff) << 24) | (u64)rmh.Stat[1];
count             662 sound/drivers/vx/vx_pcm.c 	update = (int)(count - pipe->cur_count);
count             663 sound/drivers/vx/vx_pcm.c 	pipe->cur_count = count;
count             999 sound/drivers/vx/vx_pcm.c 	int size, space, count;
count            1019 sound/drivers/vx/vx_pcm.c 	count = size - DMA_READ_ALIGN;
count            1023 sound/drivers/vx/vx_pcm.c 	while (count > 0) {
count            1029 sound/drivers/vx/vx_pcm.c 		count -= 3;
count            1031 sound/drivers/vx/vx_pcm.c 	if (count > 0) {
count            1034 sound/drivers/vx/vx_pcm.c 		space = (count / align) * align;
count            1037 sound/drivers/vx/vx_pcm.c 			count -= space;
count            1041 sound/drivers/vx/vx_pcm.c 	while (count > 0) {
count            1045 sound/drivers/vx/vx_pcm.c 		count -= 3;
count            1050 sound/drivers/vx/vx_pcm.c 	count = DMA_READ_ALIGN;
count            1051 sound/drivers/vx/vx_pcm.c 	while (count > 0) {
count            1053 sound/drivers/vx/vx_pcm.c 		count -= 3;
count              19 sound/firewire/bebob/bebob_hwdep.c hwdep_read(struct snd_hwdep *hwdep, char __user *buf,  long count,
count              44 sound/firewire/bebob/bebob_hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              49 sound/firewire/bebob/bebob_hwdep.c 	if (copy_to_user(buf, &event, count))
count              52 sound/firewire/bebob/bebob_hwdep.c 	return count;
count             413 sound/firewire/bebob/bebob_maudio.c 	einf->count = 1;
count              12 sound/firewire/dice/dice-hwdep.c 			    long count, loff_t *offset)
count              36 sound/firewire/dice/dice-hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              43 sound/firewire/dice/dice-hwdep.c 		count = min_t(long, count, sizeof(event.dice_notification));
count              48 sound/firewire/dice/dice-hwdep.c 	if (copy_to_user(buf, &event, count))
count              51 sound/firewire/dice/dice-hwdep.c 	return count;
count              29 sound/firewire/dice/dice-proc.c static const char *str_from_array(const char *const strs[], unsigned int count,
count              32 sound/firewire/dice/dice-proc.c 	if (i < count)
count              15 sound/firewire/dice/dice-stream.c 	unsigned int count;
count             124 sound/firewire/dice/dice-stream.c 	tx_params->count =
count             131 sound/firewire/dice/dice-stream.c 	rx_params->count =
count             154 sound/firewire/dice/dice-stream.c 	for (i = 0; i < params->count; i++) {
count             222 sound/firewire/dice/dice-stream.c 	for (i = 0; i < params->count; ++i) {
count             342 sound/firewire/dice/dice-stream.c 	for (i = 0; i < params->count; i++) {
count             419 sound/firewire/dice/dice-stream.c 			if (i < tx_params.count)
count             421 sound/firewire/dice/dice-stream.c 			if (i < rx_params.count)
count             463 sound/firewire/dice/dice-stream.c 			if ((i < tx_params.count &&
count             466 sound/firewire/dice/dice-stream.c 			    (i < rx_params.count &&
count             661 sound/firewire/dice/dice-stream.c 	for (i = 0; i < tx_params.count; ++i) {
count             671 sound/firewire/dice/dice-stream.c 	for (i = 0; i < rx_params.count; ++i) {
count             241 sound/firewire/digi00x/amdtp-dot.c 				  unsigned int port, unsigned int count)
count             245 sound/firewire/digi00x/amdtp-dot.c 	p->midi_fifo_used[port] += amdtp_rate_table[s->sfc] * count;
count              19 sound/firewire/digi00x/digi00x-hwdep.c static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf,  long count,
count              44 sound/firewire/digi00x/digi00x-hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              51 sound/firewire/digi00x/digi00x-hwdep.c 		count = min_t(long, count, sizeof(event.digi00x_message));
count              56 sound/firewire/digi00x/digi00x-hwdep.c 	if (copy_to_user(buf, &event, count))
count              59 sound/firewire/digi00x/digi00x-hwdep.c 	return count;
count              18 sound/firewire/fireface/ff-hwdep.c static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf,  long count,
count              43 sound/firewire/fireface/ff-hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              48 sound/firewire/fireface/ff-hwdep.c 	if (copy_to_user(buf, &event, count))
count              51 sound/firewire/fireface/ff-hwdep.c 	return count;
count              91 sound/firewire/fireface/ff-protocol-former.c 	unsigned int count;
count              96 sound/firewire/fireface/ff-protocol-former.c 	count = 0;
count              98 sound/firewire/fireface/ff-protocol-former.c 		count = max(count, ff->spec->pcm_playback_channels[i]);
count             100 sound/firewire/fireface/ff-protocol-former.c 	reg = kcalloc(count, sizeof(__le32), GFP_KERNEL);
count             112 sound/firewire/fireface/ff-protocol-former.c 		for (i = 0; i < count; ++i)
count             118 sound/firewire/fireface/ff-protocol-former.c 				 sizeof(__le32) * count, 0);
count             299 sound/firewire/fireface/ff-protocol-former.c 	unsigned int count;
count             310 sound/firewire/fireface/ff-protocol-former.c 	count = 0;
count             311 sound/firewire/fireface/ff-protocol-former.c 	while (count++ < 10) {
count             326 sound/firewire/fireface/ff-protocol-former.c 	if (count >= 10)
count             105 sound/firewire/fireface/ff-protocol-latter.c 	unsigned int count;
count             131 sound/firewire/fireface/ff-protocol-latter.c 	count = 0;
count             132 sound/firewire/fireface/ff-protocol-latter.c 	while (count++ < 10) {
count             143 sound/firewire/fireface/ff-protocol-latter.c 	if (count > 10)
count              57 sound/firewire/fireworks/fireworks.h 	u8 count;
count              28 sound/firewire/fireworks/fireworks_hwdep.c 	long count = 0;
count              77 sound/firewire/fireworks/fireworks_hwdep.c 			count += till_end;
count              94 sound/firewire/fireworks/fireworks_hwdep.c 	return count;
count              98 sound/firewire/fireworks/fireworks_hwdep.c hwdep_read_locked(struct snd_efw *efw, char __user *buf, long count,
count             112 sound/firewire/fireworks/fireworks_hwdep.c 	count = min_t(long, count, sizeof(event.lock_status));
count             114 sound/firewire/fireworks/fireworks_hwdep.c 	if (copy_to_user(buf, &event, count))
count             117 sound/firewire/fireworks/fireworks_hwdep.c 	return count;
count             121 sound/firewire/fireworks/fireworks_hwdep.c hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
count             149 sound/firewire/fireworks/fireworks_hwdep.c 		count = hwdep_read_locked(efw, buf, count, offset);
count             151 sound/firewire/fireworks/fireworks_hwdep.c 		count = hwdep_read_resp_buf(efw, buf, count, offset);
count             153 sound/firewire/fireworks/fireworks_hwdep.c 	return count;
count             157 sound/firewire/fireworks/fireworks_hwdep.c hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count,
count             164 sound/firewire/fireworks/fireworks_hwdep.c 	if (count < sizeof(struct snd_efw_transaction) ||
count             165 sound/firewire/fireworks/fireworks_hwdep.c 	    SND_EFW_RESPONSE_MAXIMUM_BYTES < count)
count             168 sound/firewire/fireworks/fireworks_hwdep.c 	buf = memdup_user(data, count);
count             175 sound/firewire/fireworks/fireworks_hwdep.c 		count = -EINVAL;
count             179 sound/firewire/fireworks/fireworks_hwdep.c 	if (snd_efw_transaction_cmd(efw->unit, buf, count) < 0)
count             180 sound/firewire/fireworks/fireworks_hwdep.c 		count = -EIO;
count             183 sound/firewire/fireworks/fireworks_hwdep.c 	return count;
count              68 sound/firewire/fireworks/fireworks_proc.c 			    hwinfo->phys_out_grps[i].count);
count              77 sound/firewire/fireworks/fireworks_proc.c 			    hwinfo->phys_out_grps[i].count);
count             155 sound/firewire/fireworks/fireworks_proc.c 		for (c = 0; c < efw->phys_out_grps[g].count; c++) {
count             168 sound/firewire/fireworks/fireworks_proc.c 		for (c = 0; c < efw->phys_in_grps[g].count; c++)
count              88 sound/firewire/isight.c static void isight_update_pointers(struct isight *isight, unsigned int count)
count              96 sound/firewire/isight.c 	ptr += count;
count             101 sound/firewire/isight.c 	isight->period_counter += count;
count             109 sound/firewire/isight.c 			   const __be16 *samples, unsigned int count)
count             118 sound/firewire/isight.c 	if (isight->buffer_pointer + count <= runtime->buffer_size) {
count             120 sound/firewire/isight.c 		       samples, count * 4);
count             126 sound/firewire/isight.c 		memcpy(runtime->dma_area, samples, (count - count1) * 4);
count             129 sound/firewire/isight.c 	isight_update_pointers(isight, count);
count             170 sound/firewire/isight.c 	unsigned int index, length, count, total;
count             181 sound/firewire/isight.c 		count = be32_to_cpu(payload->sample_count);
count             182 sound/firewire/isight.c 		if (likely(count <= (length - 16) / 4)) {
count             191 sound/firewire/isight.c 			isight_samples(isight, payload->samples, count);
count             192 sound/firewire/isight.c 			isight->total_samples += count;
count             478 sound/firewire/isight.c 	info->count = 1;
count              19 sound/firewire/motu/motu-hwdep.c static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
count              44 sound/firewire/motu/motu-hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              50 sound/firewire/motu/motu-hwdep.c 		count = min_t(long, count, sizeof(event.motu_notification));
count              55 sound/firewire/motu/motu-hwdep.c 	if (copy_to_user(buf, &event, count))
count              58 sound/firewire/motu/motu-hwdep.c 	return count;
count              18 sound/firewire/oxfw/oxfw-hwdep.c static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf,  long count,
count              43 sound/firewire/oxfw/oxfw-hwdep.c 		count = min_t(long, count, sizeof(event.lock_status));
count              48 sound/firewire/oxfw/oxfw-hwdep.c 	if (copy_to_user(buf, &event, count))
count              51 sound/firewire/oxfw/oxfw-hwdep.c 	return count;
count              51 sound/firewire/oxfw/oxfw-pcm.c 	unsigned int count, list[SND_OXFW_STREAM_FORMAT_ENTRIES] = {0};
count              53 sound/firewire/oxfw/oxfw-pcm.c 	count = 0;
count              63 sound/firewire/oxfw/oxfw-pcm.c 		if (list[count] == formation.pcm)
count              71 sound/firewire/oxfw/oxfw-pcm.c 			list[count] = formation.pcm;
count              72 sound/firewire/oxfw/oxfw-pcm.c 			if (++count == ARRAY_SIZE(list))
count              77 sound/firewire/oxfw/oxfw-pcm.c 	return snd_interval_list(c, count, list, 0);
count             185 sound/firewire/oxfw/oxfw-spkr.c 	info->count = spkr->mixer_channels;
count              22 sound/firewire/packets-buffer.c 			    unsigned int count, unsigned int packet_size,
count              30 sound/firewire/packets-buffer.c 	b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL);
count              42 sound/firewire/packets-buffer.c 	pages = DIV_ROUND_UP(count, packets_per_page);
count              49 sound/firewire/packets-buffer.c 	for (i = 0; i < count; ++i) {
count              22 sound/firewire/packets-buffer.h 			    unsigned int count, unsigned int packet_size,
count              19 sound/firewire/tascam/tascam-hwdep.c 				   long count, loff_t *offset)
count              27 sound/firewire/tascam/tascam-hwdep.c 	count = min_t(long, count, sizeof(event));
count              31 sound/firewire/tascam/tascam-hwdep.c 	if (copy_to_user(buf, &event, count))
count              34 sound/firewire/tascam/tascam-hwdep.c 	return count;
count              43 sound/firewire/tascam/tascam-hwdep.c 	long count;
count              52 sound/firewire/tascam/tascam-hwdep.c 	count = sizeof(type);
count              83 sound/firewire/tascam/tascam-hwdep.c 		count += length;
count              93 sound/firewire/tascam/tascam-hwdep.c 	return count;
count              96 sound/firewire/tascam/tascam-hwdep.c static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
count             116 sound/firewire/tascam/tascam-hwdep.c 		count = tscm_hwdep_read_locked(tscm, buf, count, offset);
count             118 sound/firewire/tascam/tascam-hwdep.c 		count = tscm_hwdep_read_queue(tscm, buf, count, offset);
count             121 sound/firewire/tascam/tascam-hwdep.c 		count = 0;
count             124 sound/firewire/tascam/tascam-hwdep.c 	return count;
count            1075 sound/hda/hdac_device.c 	unsigned int state, actual_state, count;
count            1077 sound/hda/hdac_device.c 	for (count = 0; count < 500; count++) {
count              93 sound/hda/hdac_sysfs.c 			 const char *buf, size_t count);
count             126 sound/hda/hdac_sysfs.c 				 const char *buf, size_t count)
count             138 sound/hda/hdac_sysfs.c 	return wid_attr->store(codec, nid, wid_attr, buf, count);
count             615 sound/hda/hdmi_chmap.c 	uinfo->count = chmap->channels_max;
count             636 sound/hda/hdmi_chmap.c 	int count = 0;
count             645 sound/hda/hdmi_chmap.c 		chmap[count++] = snd_hdac_spk_to_chmap(spk);
count             648 sound/hda/hdmi_chmap.c 	WARN_ON(count != channels);
count             671 sound/hda/hdmi_chmap.c 	int chs, count = 0;
count             716 sound/hda/hdmi_chmap.c 			count += 8;
count             722 sound/hda/hdmi_chmap.c 			count += chs_bytes;
count             732 sound/hda/hdmi_chmap.c 	if (put_user(count, tlv + 1))
count             841 sound/hda/hdmi_chmap.c 	for (i = 0; i < kctl->count; i++)
count             101 sound/i2c/cs8427.c 				    int count)
count             109 sound/i2c/cs8427.c 	if (!memcmp(hw_data, ndata, count))
count             113 sound/i2c/cs8427.c 	memcpy(hw_data, ndata, count);
count             116 sound/i2c/cs8427.c 		if (memcmp(hw_data, data, count) == 0) {
count             126 sound/i2c/cs8427.c 	for (idx = 0; idx < count; idx++)
count             128 sound/i2c/cs8427.c 	if (snd_i2c_sendbytes(device, data, count + 1) != count + 1)
count             349 sound/i2c/cs8427.c 	uinfo->count = 1;
count             374 sound/i2c/cs8427.c 	uinfo->count = 10;
count             407 sound/i2c/cs8427.c 	uinfo->count = 1;
count             451 sound/i2c/cs8427.c 	uinfo->count = 1;
count              22 sound/i2c/i2c.c 				 unsigned char *bytes, int count);
count              24 sound/i2c/i2c.c 				 unsigned char *bytes, int count);
count             132 sound/i2c/i2c.c int snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count)
count             134 sound/i2c/i2c.c 	return device->bus->ops->sendbytes(device, bytes, count);
count             139 sound/i2c/i2c.c int snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count)
count             141 sound/i2c/i2c.c 	return device->bus->ops->readbytes(device, bytes, count);
count             262 sound/i2c/i2c.c 				 unsigned char *bytes, int count)
count             275 sound/i2c/i2c.c 	while (count-- > 0) {
count             288 sound/i2c/i2c.c 				 unsigned char *bytes, int count)
count             301 sound/i2c/i2c.c 	while (count-- > 0) {
count             302 sound/i2c/i2c.c 		err = snd_i2c_bit_readbyte(bus, count == 0);
count             177 sound/i2c/other/ak4113.c 	uinfo->count = 1;
count             215 sound/i2c/other/ak4113.c 	uinfo->count = 1;
count             253 sound/i2c/other/ak4113.c 	uinfo->count = 1;
count             273 sound/i2c/other/ak4113.c 	uinfo->count = 1;
count             293 sound/i2c/other/ak4113.c 	uinfo->count = 1;
count             310 sound/i2c/other/ak4113.c 	uinfo->count = 4;
count             335 sound/i2c/other/ak4113.c 	uinfo->count = AK4113_REG_QSUB_SIZE;
count             172 sound/i2c/other/ak4114.c 	uinfo->count = 1;
count             209 sound/i2c/other/ak4114.c 	uinfo->count = 1;
count             227 sound/i2c/other/ak4114.c 	uinfo->count = 1;
count             267 sound/i2c/other/ak4114.c 	uinfo->count = 1;
count             283 sound/i2c/other/ak4114.c 	uinfo->count = 4;
count             305 sound/i2c/other/ak4114.c 	uinfo->count = AK4114_REG_QSUB_SIZE;
count             146 sound/i2c/other/ak4117.c 	uinfo->count = 1;
count             183 sound/i2c/other/ak4117.c 	uinfo->count = 1;
count             218 sound/i2c/other/ak4117.c 	uinfo->count = 1;
count             236 sound/i2c/other/ak4117.c 	uinfo->count = 1;
count             254 sound/i2c/other/ak4117.c 	uinfo->count = 1;
count             270 sound/i2c/other/ak4117.c 	uinfo->count = 4;
count             292 sound/i2c/other/ak4117.c 	uinfo->count = AK4117_REG_QSUB_SIZE;
count             358 sound/i2c/other/ak4xxx-adda.c 	uinfo->count = 1;
count             416 sound/i2c/other/ak4xxx-adda.c 	uinfo->count = 2;
count             615 sound/i2c/other/ak4xxx-adda.c 			knew.count = 1;
count             640 sound/i2c/other/ak4xxx-adda.c 		knew.count = 1;
count             733 sound/i2c/other/ak4xxx-adda.c 		knew.count = 1;
count             815 sound/i2c/other/ak4xxx-adda.c 		knew.count = 1;
count              74 sound/i2c/other/pt2258.c 	uinfo->count = 2;
count             184 sound/i2c/other/pt2258.c 		knew.count = 1;
count              75 sound/i2c/tea6330t.c 	uinfo->count = 2;
count              97 sound/i2c/tea6330t.c 	int change, count, err;
count             107 sound/i2c/tea6330t.c 	count = 0;
count             109 sound/i2c/tea6330t.c 		bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT;
count             110 sound/i2c/tea6330t.c 		bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft;
count             113 sound/i2c/tea6330t.c 		if (count == 0)
count             114 sound/i2c/tea6330t.c 			bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT;
count             115 sound/i2c/tea6330t.c 		bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright;
count             117 sound/i2c/tea6330t.c 	if (count > 0) {
count             118 sound/i2c/tea6330t.c 		if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0)
count             180 sound/i2c/tea6330t.c 	uinfo->count = 1;
count             227 sound/i2c/tea6330t.c 	uinfo->count = 1;
count             775 sound/isa/ad1816a/ad1816a_lib.c 	uinfo->count = 1;
count             840 sound/isa/ad1816a/ad1816a_lib.c 	uinfo->count = 2;
count             399 sound/isa/cs423x/cs4236_lib.c 	uinfo->count = 1;
count             512 sound/isa/cs423x/cs4236_lib.c 	uinfo->count = 2;
count            1021 sound/isa/cs423x/cs4236_lib.c 	unsigned int idx, count;
count            1045 sound/isa/cs423x/cs4236_lib.c 		count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4235);
count            1049 sound/isa/cs423x/cs4236_lib.c 		count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4237);
count            1053 sound/isa/cs423x/cs4236_lib.c 		count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4238);
count            1057 sound/isa/cs423x/cs4236_lib.c 		count = 0;
count            1060 sound/isa/cs423x/cs4236_lib.c 	for (idx = 0; idx < count; idx++, kcontrol++) {
count             361 sound/isa/es1688/es1688_lib.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             400 sound/isa/es1688/es1688_lib.c 	count = -count;
count             403 sound/isa/es1688/es1688_lib.c 	snd_es1688_write(chip, 0xa4, (unsigned char) count);
count             404 sound/isa/es1688/es1688_lib.c 	snd_es1688_write(chip, 0xa5, (unsigned char) (count >> 8));
count             422 sound/isa/es1688/es1688_lib.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             457 sound/isa/es1688/es1688_lib.c 	count = -count;
count             460 sound/isa/es1688/es1688_lib.c 	snd_es1688_write(chip, 0xa4, (unsigned char) count);
count             461 sound/isa/es1688/es1688_lib.c 	snd_es1688_write(chip, 0xa5, (unsigned char) (count >> 8));
count             788 sound/isa/es1688/es1688_lib.c 	uinfo->count = 1;
count             847 sound/isa/es1688/es1688_lib.c 	uinfo->count = 2;
count             471 sound/isa/es18xx.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             476 sound/isa/es18xx.c         count = 0x10000 - count;
count             477 sound/isa/es18xx.c         snd_es18xx_mixer_write(chip, 0x74, count & 0xff);
count             478 sound/isa/es18xx.c         snd_es18xx_mixer_write(chip, 0x76, count >> 8);
count             570 sound/isa/es18xx.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             580 sound/isa/es18xx.c 	count = 0x10000 - count;
count             581 sound/isa/es18xx.c 	snd_es18xx_write(chip, 0xA4, count & 0xff);
count             582 sound/isa/es18xx.c 	snd_es18xx_write(chip, 0xA5, count >> 8);
count             636 sound/isa/es18xx.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             646 sound/isa/es18xx.c 	count = 0x10000 - count;
count             647 sound/isa/es18xx.c 	snd_es18xx_write(chip, 0xA4, count & 0xff);
count             648 sound/isa/es18xx.c 	snd_es18xx_write(chip, 0xA5, count >> 8);
count            1060 sound/isa/es18xx.c 	uinfo->count = 2;
count            1124 sound/isa/es18xx.c 	uinfo->count = 1;
count            1188 sound/isa/es18xx.c 	uinfo->count = 2;
count              25 sound/isa/gus/gus_dma.c 				unsigned int count,
count              34 sound/isa/gus/gus_dma.c 		    addr, buf_addr, count);
count              55 sound/isa/gus/gus_dma.c 		count++;
count              56 sound/isa/gus/gus_dma.c 		count &= ~1;	/* align */
count              60 sound/isa/gus/gus_dma.c 		count++;
count              61 sound/isa/gus/gus_dma.c 		count &= ~1;	/* align */
count              64 sound/isa/gus/gus_dma.c 	snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA_MODE_WRITE);
count              67 sound/isa/gus/gus_dma.c 		   address << 1, count, dma_cmd);
count             129 sound/isa/gus/gus_dma.c 	snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd);
count             134 sound/isa/gus/gus_dma.c 		   block->addr, block->buf_addr, block->count, block->cmd);
count             196 sound/isa/gus/gus_dma.c 		    block->addr, (long) block->buffer, block->count,
count             228 sound/isa/gus/gus_dma.c 		snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd);
count             373 sound/isa/gus/gus_io.c 			 unsigned short value, unsigned int count)
count             383 sound/isa/gus/gus_io.c 	count >>= 1;
count             395 sound/isa/gus/gus_io.c 	while (count--)
count             510 sound/isa/gus/gus_io.c void snd_gf1_peek_print_block(struct snd_gus_card * gus, unsigned int addr, int count, int w_16bit)
count             513 sound/isa/gus/gus_io.c 		while (count-- > 0)
count             514 sound/isa/gus/gus_io.c 			printk(count > 0 ? "%02x:" : "%02x", snd_gf1_peek(gus, addr++));
count             516 sound/isa/gus/gus_io.c 		while (count-- > 0) {
count             517 sound/isa/gus/gus_io.c 			printk(count > 0 ? "%04x:" : "%04x", snd_gf1_peek(gus, addr) | (snd_gf1_peek(gus, addr + 1) << 8));
count              40 sound/isa/gus/gus_main.c 	uinfo->count = 1;
count              22 sound/isa/gus/gus_mem_proc.c 				     size_t count, loff_t pos)
count              28 sound/isa/gus/gus_mem_proc.c 	err = snd_gus_dram_read(gus, buf, pos, count, priv->rom);
count              31 sound/isa/gus/gus_mem_proc.c 	return count;
count              69 sound/isa/gus/gus_mixer.c 	uinfo->count = 2;
count              62 sound/isa/gus/gus_pcm.c 				    unsigned int count)
count              68 sound/isa/gus/gus_pcm.c 	count += offset & 31;
count              83 sound/isa/gus/gus_pcm.c 	block.count = count;
count             290 sound/isa/gus/gus_pcm.c 				  unsigned int pos, unsigned int count,
count             301 sound/isa/gus/gus_pcm.c 	while (count > 0) {
count             302 sound/isa/gus/gus_pcm.c 		len = count;
count             305 sound/isa/gus/gus_pcm.c 		count -= len;
count             332 sound/isa/gus/gus_pcm.c 		if (count > 0 && !in_interrupt()) {
count             372 sound/isa/gus/gus_pcm.c 				     void __user *src, unsigned long count)
count             376 sound/isa/gus/gus_pcm.c 	unsigned int len = count;
count             389 sound/isa/gus/gus_pcm.c 					    void *src, unsigned long count)
count             393 sound/isa/gus/gus_pcm.c 	unsigned int len = count;
count             405 sound/isa/gus/gus_pcm.c 					unsigned long count)
count             409 sound/isa/gus/gus_pcm.c 	unsigned int len = count;
count             416 sound/isa/gus/gus_pcm.c 				   bytes_to_samples(runtime, count));
count             752 sound/isa/gus/gus_pcm.c 	uinfo->count = 2;
count              15 sound/isa/gus/gus_uart.c 	int count;
count              19 sound/isa/gus/gus_uart.c 	count = 10;
count              20 sound/isa/gus/gus_uart.c 	while (count) {
count              25 sound/isa/gus/gus_uart.c 			count--;
count              28 sound/isa/gus/gus_uart.c 		count = 100;	/* arm counter to new value */
count             128 sound/isa/msnd/msnd_pinnacle_mixer.c 	uinfo->count = 2;
count             301 sound/isa/opti9xx/miro.c 	uinfo->count = 1;
count             406 sound/isa/opti9xx/miro.c 	uinfo->count = 2;
count             823 sound/isa/sb/emu8000.c 	uinfo->count = 1;
count             884 sound/isa/sb/emu8000.c 	uinfo->count = 1;
count             951 sound/isa/sb/emu8000.c 	uinfo->count = 1;
count              21 sound/isa/sb/emu8000_local.h 			   const void __user *data, long count);
count             138 sound/isa/sb/emu8000_patch.c 		       const void __user *data, long count)
count             435 sound/isa/sb/emu8000_pcm.c #define LOOP_WRITE(rec, offset, _buf, count, mode)		\
count             441 sound/isa/sb/emu8000_pcm.c 		while (count > 0) {				\
count             446 sound/isa/sb/emu8000_pcm.c 			count--;				\
count             453 sound/isa/sb/emu8000_pcm.c 			  void __user *src, unsigned long count)
count             459 sound/isa/sb/emu8000_pcm.c 	count <<= 1;
count             460 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, src, count, COPY_USER);
count             466 sound/isa/sb/emu8000_pcm.c 				 void *src, unsigned long count)
count             472 sound/isa/sb/emu8000_pcm.c 	count <<= 1;
count             473 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, src, count, COPY_KERNEL);
count             479 sound/isa/sb/emu8000_pcm.c 			     int voice, unsigned long pos, unsigned long count)
count             485 sound/isa/sb/emu8000_pcm.c 	count <<= 1;
count             486 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, NULL, count, FILL_SILENCE);
count             492 sound/isa/sb/emu8000_pcm.c #define LOOP_WRITE(rec, pos, _buf, count, mode)				\
count             500 sound/isa/sb/emu8000_pcm.c 		while (count > 0) {					\
count             510 sound/isa/sb/emu8000_pcm.c 			count--;					\
count             521 sound/isa/sb/emu8000_pcm.c 			  void __user *src, unsigned long count)
count             527 sound/isa/sb/emu8000_pcm.c 	count = bytes_to_frames(subs->runtime, count);
count             528 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, src, count, COPY_USER);
count             534 sound/isa/sb/emu8000_pcm.c 				 void *src, unsigned long count)
count             540 sound/isa/sb/emu8000_pcm.c 	count = bytes_to_frames(subs->runtime, count);
count             541 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, src, count, COPY_KERNEL);
count             546 sound/isa/sb/emu8000_pcm.c 			     int voice, unsigned long pos, unsigned long count)
count             552 sound/isa/sb/emu8000_pcm.c 	count = bytes_to_frames(subs->runtime, count);
count             553 sound/isa/sb/emu8000_pcm.c 	LOOP_WRITE(rec, pos, NULL, count, FILL_SILENCE);
count             978 sound/isa/sb/sb16_csp.c 	uinfo->count = 2;
count             253 sound/isa/sb/sb16_main.c 	unsigned int size, count, dma;
count             267 sound/isa/sb/sb16_main.c 	count = snd_pcm_lib_period_bytes(substream);
count             270 sound/isa/sb/sb16_main.c 		count >>= 1;
count             271 sound/isa/sb/sb16_main.c 		count--;
count             274 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             275 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count >> 8);
count             278 sound/isa/sb/sb16_main.c 		count--;
count             281 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             282 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count >> 8);
count             323 sound/isa/sb/sb16_main.c 	unsigned int size, count, dma;
count             336 sound/isa/sb/sb16_main.c 	count = snd_pcm_lib_period_bytes(substream);
count             339 sound/isa/sb/sb16_main.c 		count >>= 1;
count             340 sound/isa/sb/sb16_main.c 		count--;
count             343 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             344 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count >> 8);
count             347 sound/isa/sb/sb16_main.c 		count--;
count             350 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             351 sound/isa/sb/sb16_main.c 		snd_sbdsp_command(chip, count >> 8);
count              95 sound/isa/sb/sb8_main.c 	unsigned int mixreg, rate, size, count;
count             144 sound/isa/sb/sb8_main.c 	count = chip->p_period_size = snd_pcm_lib_period_bytes(substream);
count             180 sound/isa/sb/sb8_main.c 			count /= 2;
count             181 sound/isa/sb/sb8_main.c 		count--;
count             183 sound/isa/sb/sb8_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             184 sound/isa/sb/sb8_main.c 		snd_sbdsp_command(chip, count >> 8);
count             197 sound/isa/sb/sb8_main.c 	unsigned int count;
count             204 sound/isa/sb/sb8_main.c 			count = chip->p_period_size - 1;
count             205 sound/isa/sb/sb8_main.c 			snd_sbdsp_command(chip, count & 0xff);
count             206 sound/isa/sb/sb8_main.c 			snd_sbdsp_command(chip, count >> 8);
count             245 sound/isa/sb/sb8_main.c 	unsigned int mixreg, rate, size, count;
count             295 sound/isa/sb/sb8_main.c 	count = chip->c_period_size = snd_pcm_lib_period_bytes(substream);
count             317 sound/isa/sb/sb8_main.c 			count /= 2;
count             318 sound/isa/sb/sb8_main.c 		count--;
count             320 sound/isa/sb/sb8_main.c 		snd_sbdsp_command(chip, count & 0xff);
count             321 sound/isa/sb/sb8_main.c 		snd_sbdsp_command(chip, count >> 8);
count             334 sound/isa/sb/sb8_main.c 	unsigned int count;
count             341 sound/isa/sb/sb8_main.c 			count = chip->c_period_size - 1;
count             342 sound/isa/sb/sb8_main.c 			snd_sbdsp_command(chip, count & 0xff);
count             343 sound/isa/sb/sb8_main.c 			snd_sbdsp_command(chip, count >> 8);
count              50 sound/isa/sb/sb_mixer.c 	uinfo->count = 1;
count             102 sound/isa/sb/sb_mixer.c 	uinfo->count = 2;
count             378 sound/isa/sb/sb_mixer.c 	uinfo->count = 4;
count             596 sound/isa/sscape.c 	uinfo->count = 1;
count              64 sound/isa/wss/wss_lib.c 	.count = ARRAY_SIZE(rates),
count            1007 sound/isa/wss/wss_lib.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count            1013 sound/isa/wss/wss_lib.c 	count = snd_wss_get_count(chip->image[CS4231_PLAYBK_FORMAT], count) - 1;
count            1014 sound/isa/wss/wss_lib.c 	snd_wss_out(chip, CS4231_PLY_LWR_CNT, (unsigned char) count);
count            1015 sound/isa/wss/wss_lib.c 	snd_wss_out(chip, CS4231_PLY_UPR_CNT, (unsigned char) (count >> 8));
count            1050 sound/isa/wss/wss_lib.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count            1057 sound/isa/wss/wss_lib.c 		count = snd_wss_get_count(chip->image[CS4231_PLAYBK_FORMAT],
count            1058 sound/isa/wss/wss_lib.c 					  count);
count            1060 sound/isa/wss/wss_lib.c 		count = snd_wss_get_count(chip->image[CS4231_REC_FORMAT],
count            1061 sound/isa/wss/wss_lib.c 					  count);
count            1062 sound/isa/wss/wss_lib.c 	count--;
count            1064 sound/isa/wss/wss_lib.c 		snd_wss_out(chip, CS4231_PLY_LWR_CNT, (unsigned char) count);
count            1066 sound/isa/wss/wss_lib.c 			    (unsigned char) (count >> 8));
count            1068 sound/isa/wss/wss_lib.c 		snd_wss_out(chip, CS4231_REC_LWR_CNT, (unsigned char) count);
count            1070 sound/isa/wss/wss_lib.c 			    (unsigned char) (count >> 8));
count            2046 sound/isa/wss/wss_lib.c 	uinfo->count = 1;
count            2103 sound/isa/wss/wss_lib.c 	uinfo->count = 2;
count            2232 sound/isa/wss/wss_lib.c 	int count = ARRAY_SIZE(snd_wss_controls);
count            2243 sound/isa/wss/wss_lib.c 		count = 11;
count            2246 sound/isa/wss/wss_lib.c 		count = 9;
count            2248 sound/isa/wss/wss_lib.c 	for (idx = 0; idx < count; idx++) {
count             173 sound/mips/hal2.c 	uinfo->count = 2;
count             449 sound/mips/hal2.c 	int count = H2_BUF_SIZE / H2_BLOCK_SIZE;
count             456 sound/mips/hal2.c 	desc = dma_alloc_attrs(dev, count * sizeof(struct hal2_desc),
count             466 sound/mips/hal2.c 	for (i = 0; i < count; i++) {
count             469 sound/mips/hal2.c 		desc->desc.pnext = (i == count - 1) ?
count             473 sound/mips/hal2.c 	dma_cache_sync(dev, codec->desc, count * sizeof(struct hal2_desc),
count             475 sound/mips/hal2.c 	codec->desc_count = count;
count             150 sound/mips/sgio2audio.c 	uinfo->count = 2;
count             345 sound/mips/sgio2audio.c 					unsigned int ch, unsigned int count)
count             366 sound/mips/sgio2audio.c 	chip->channel[ch].size += (count >> 3); /* in frames */
count             370 sound/mips/sgio2audio.c 	while (count) {
count             380 sound/mips/sgio2audio.c 		count -= sizeof(u64);
count             393 sound/mips/sgio2audio.c 					unsigned int ch, unsigned int count)
count             414 sound/mips/sgio2audio.c 	chip->channel[ch].size += (count >> 3); /* in frames */
count             418 sound/mips/sgio2audio.c 	while (count) {
count             430 sound/mips/sgio2audio.c 		count -= sizeof(u64);
count             474 sound/mips/sgio2audio.c 	int count, ch;
count             481 sound/mips/sgio2audio.c 	count = CHANNEL_RING_SIZE -
count             483 sound/mips/sgio2audio.c 	if (snd_sgio2audio_dma_pull_frag(chip, ch, count))
count             494 sound/mips/sgio2audio.c 	int count, ch;
count             500 sound/mips/sgio2audio.c 	count = CHANNEL_RING_SIZE -
count             502 sound/mips/sgio2audio.c 	if (snd_sgio2audio_dma_push_frag(chip, ch, count))
count             227 sound/oss/dmasound/dmasound.h     int front, rear, count;
count             161 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             164 sound/oss/dmasound/dmasound_atari.c 	count = min_t(unsigned long, userCount, frameLeft);
count             166 sound/oss/dmasound/dmasound_atari.c 		count &= ~1;
count             167 sound/oss/dmasound/dmasound_atari.c 	used = count;
count             168 sound/oss/dmasound/dmasound_atari.c 	while (count > 0) {
count             173 sound/oss/dmasound/dmasound_atari.c 		count--;
count             184 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             187 sound/oss/dmasound/dmasound_atari.c 	count = min_t(unsigned long, userCount, frameLeft);
count             189 sound/oss/dmasound/dmasound_atari.c 		count &= ~1;
count             190 sound/oss/dmasound/dmasound_atari.c 	used = count;
count             191 sound/oss/dmasound/dmasound_atari.c 	if (copy_from_user(p, userPtr, count))
count             202 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             206 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft);
count             207 sound/oss/dmasound/dmasound_atari.c 		used = count;
count             208 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             213 sound/oss/dmasound/dmasound_atari.c 			count--;
count             217 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>1;
count             218 sound/oss/dmasound/dmasound_atari.c 		used = count*2;
count             219 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             225 sound/oss/dmasound/dmasound_atari.c 			count--;
count             237 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             241 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>1;
count             242 sound/oss/dmasound/dmasound_atari.c 		used = count*2;
count             243 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             250 sound/oss/dmasound/dmasound_atari.c 			count--;
count             255 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft) & ~3;
count             256 sound/oss/dmasound/dmasound_atari.c 		used = count;
count             257 sound/oss/dmasound/dmasound_atari.c 		if (copy_from_user(p, userPtr, count))
count             269 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             273 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>1;
count             274 sound/oss/dmasound/dmasound_atari.c 		used = count*2;
count             275 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             283 sound/oss/dmasound/dmasound_atari.c 			count--;
count             288 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>2;
count             289 sound/oss/dmasound/dmasound_atari.c 		used = count*4;
count             290 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             296 sound/oss/dmasound/dmasound_atari.c 			count--;
count             308 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             310 sound/oss/dmasound/dmasound_atari.c 	count = frameLeft;
count             313 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>1;
count             314 sound/oss/dmasound/dmasound_atari.c 		used = count*2;
count             315 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             323 sound/oss/dmasound/dmasound_atari.c 			count--;
count             328 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>2;
count             329 sound/oss/dmasound/dmasound_atari.c 		used = count*4;
count             330 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             337 sound/oss/dmasound/dmasound_atari.c 			count--;
count             349 sound/oss/dmasound/dmasound_atari.c 	ssize_t count, used;
count             351 sound/oss/dmasound/dmasound_atari.c 	count = frameLeft;
count             354 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>1;
count             355 sound/oss/dmasound/dmasound_atari.c 		used = count*2;
count             356 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             368 sound/oss/dmasound/dmasound_atari.c 		count = min_t(unsigned long, userCount, frameLeft)>>2;
count             369 sound/oss/dmasound/dmasound_atari.c 		used = count;
count             370 sound/oss/dmasound/dmasound_atari.c 		while (count > 0) {
count             377 sound/oss/dmasound/dmasound_atari.c 			count--;
count            1177 sound/oss/dmasound/dmasound_atari.c 	end = start+((write_sq.count == index) ? write_sq.rear_size
count            1208 sound/oss/dmasound/dmasound_atari.c 	    write_sq.count <= 0) {	/* nothing to do */
count            1217 sound/oss/dmasound/dmasound_atari.c 		if (write_sq.count == 1 &&
count            1227 sound/oss/dmasound/dmasound_atari.c 		if (write_sq.count == 1) {
count            1232 sound/oss/dmasound/dmasound_atari.c 		if (write_sq.count == 2 &&
count            1247 sound/oss/dmasound/dmasound_atari.c 		if (write_sq.count == 2 &&
count            1299 sound/oss/dmasound/dmasound_atari.c 	write_sq.count--;
count            1312 sound/oss/dmasound/dmasound_atari.c 	if ((write_sq.active != 1) || (write_sq.count != 1))
count             529 sound/oss/dmasound/dmasound_core.c 	sq->front = sq->count = sq->rear_size = 0;
count             608 sound/oss/dmasound/dmasound_core.c 	if (write_sq.count > 0 &&
count             625 sound/oss/dmasound/dmasound_core.c 		while (write_sq.count >= write_sq.max_active) {
count             632 sound/oss/dmasound/dmasound_core.c 			if (write_sq.count < write_sq.max_active)
count             664 sound/oss/dmasound/dmasound_core.c 			write_sq.count++;
count             686 sound/oss/dmasound/dmasound_core.c 		if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0)
count             825 sound/oss/dmasound/dmasound_core.c 	write_sq.count = 0;
count            1132 sound/oss/dmasound/dmasound_core.c 			info.fragments = write_sq.max_active - write_sq.count;
count            1332 sound/oss/dmasound/dmasound_core.c 		write_sq.count, write_sq.rear_size, write_sq.active,
count            1357 sound/oss/dmasound/dmasound_core.c static ssize_t state_read(struct file *file, char __user *buf, size_t count,
count            1361 sound/oss/dmasound/dmasound_core.c 	if (n > count)
count            1362 sound/oss/dmasound/dmasound_core.c 		n = count;
count             160 sound/oss/dmasound/dmasound_paula.c 	ssize_t count, used;
count             164 sound/oss/dmasound/dmasound_paula.c 		count = min_t(unsigned long, userCount, frameLeft) & ~1;
count             165 sound/oss/dmasound/dmasound_paula.c 		used = count;
count             166 sound/oss/dmasound/dmasound_paula.c 		if (copy_from_user(p, userPtr, count))
count             171 sound/oss/dmasound/dmasound_paula.c 		count = min_t(unsigned long, userCount, frameLeft)>>1 & ~1;
count             172 sound/oss/dmasound/dmasound_paula.c 		used = count*2;
count             173 sound/oss/dmasound/dmasound_paula.c 		while (count > 0) {
count             177 sound/oss/dmasound/dmasound_paula.c 			count--;
count             194 sound/oss/dmasound/dmasound_paula.c 	ssize_t count, used;						\
count             198 sound/oss/dmasound/dmasound_paula.c 		count = min_t(size_t, userCount, frameLeft) & ~1;	\
count             199 sound/oss/dmasound/dmasound_paula.c 		used = count;						\
count             200 sound/oss/dmasound/dmasound_paula.c 		while (count > 0) {					\
count             205 sound/oss/dmasound/dmasound_paula.c 			count--;					\
count             210 sound/oss/dmasound/dmasound_paula.c 		count = min_t(size_t, userCount, frameLeft)>>1 & ~1;	\
count             211 sound/oss/dmasound/dmasound_paula.c 		used = count*2;						\
count             212 sound/oss/dmasound/dmasound_paula.c 		while (count > 0) {					\
count             220 sound/oss/dmasound/dmasound_paula.c 			count--;					\
count             246 sound/oss/dmasound/dmasound_paula.c 	ssize_t count, used;						\
count             252 sound/oss/dmasound/dmasound_paula.c 		count = min_t(size_t, userCount, frameLeft)>>1 & ~1;	\
count             253 sound/oss/dmasound/dmasound_paula.c 		used = count*2;						\
count             254 sound/oss/dmasound/dmasound_paula.c 		while (count > 0) {					\
count             260 sound/oss/dmasound/dmasound_paula.c 			count--;					\
count             267 sound/oss/dmasound/dmasound_paula.c 		count = min_t(size_t, userCount, frameLeft)>>2 & ~1;	\
count             268 sound/oss/dmasound/dmasound_paula.c 		used = count*4;						\
count             269 sound/oss/dmasound/dmasound_paula.c 		while (count > 0) {					\
count             280 sound/oss/dmasound/dmasound_paula.c 			count--;					\
count             471 sound/oss/dmasound/dmasound_paula.c 	size = (write_sq.count == index ? write_sq.rear_size
count             536 sound/oss/dmasound/dmasound_paula.c 	if (write_sq.count < minframes) {
count             542 sound/oss/dmasound/dmasound_paula.c 	if (write_sq.count <= minframes &&
count             573 sound/oss/dmasound/dmasound_paula.c 		write_sq.count--;
count             590 sound/oss/dmasound/dmasound_paula.c 	if (write_sq.count >= minframes)
count              67 sound/oss/dmasound/dmasound_q40.c 	ssize_t count, used;
count              70 sound/oss/dmasound/dmasound_q40.c 	used = count = min_t(size_t, userCount, frameLeft);
count              71 sound/oss/dmasound/dmasound_q40.c 	if (copy_from_user(p,userPtr,count))
count              73 sound/oss/dmasound/dmasound_q40.c 	while (count > 0) {
count              76 sound/oss/dmasound/dmasound_q40.c 		count--;
count              87 sound/oss/dmasound/dmasound_q40.c 	ssize_t count, used;
count              90 sound/oss/dmasound/dmasound_q40.c 	used = count = min_t(size_t, userCount, frameLeft);
count              91 sound/oss/dmasound/dmasound_q40.c 	if (copy_from_user(p,userPtr,count))
count              93 sound/oss/dmasound/dmasound_q40.c 	while (count > 0) {
count              96 sound/oss/dmasound/dmasound_q40.c 		count--;
count             106 sound/oss/dmasound/dmasound_q40.c 	ssize_t count, used;
count             109 sound/oss/dmasound/dmasound_q40.c 	used = count = min_t(size_t, userCount, frameLeft);
count             110 sound/oss/dmasound/dmasound_q40.c 	if (copy_from_user(p,userPtr,count))
count             412 sound/oss/dmasound/dmasound_q40.c 	size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size);
count             442 sound/oss/dmasound/dmasound_q40.c 	if (write_sq.active || write_sq.count<=0 ) {
count             448 sound/oss/dmasound/dmasound_q40.c 	if (write_sq.count <= 1 && write_sq.rear_size < write_sq.block_size && !write_sq.syncing) {
count             493 sound/oss/dmasound/dmasound_q40.c 	write_sq.count--;
count              89 sound/parisc/harmony.c 	.count = ARRAY_SIZE(snd_harmony_rates),
count             196 sound/parisc/harmony.c 			h->pbuf.buf += h->pbuf.count; /* PAGE_SIZE */
count             215 sound/parisc/harmony.c 			h->cbuf.buf += h->cbuf.count;
count             404 sound/parisc/harmony.c 	h->pbuf.count = snd_pcm_lib_period_bytes(ss);
count             434 sound/parisc/harmony.c         h->cbuf.count = snd_pcm_lib_period_bytes(ss);
count             685 sound/parisc/harmony.c 	uinfo->count = left_shift == right_shift ? 1 : 2;
count              12 sound/parisc/harmony.h         int count;
count             528 sound/pci/ac97/ac97_codec.c 	uinfo->count = shift == rshift ? 1 : 2;
count             690 sound/pci/ac97/ac97_codec.c 	uinfo->count = 1;
count             881 sound/pci/ac97/ac97_codec.c 		uinfo->count = 2;
count             883 sound/pci/ac97/ac97_codec.c 		uinfo->count = 1;
count             929 sound/pci/ac97/ac97_codec.c 	uinfo->count = 2;
count              28 sound/pci/ac97/ac97_patch.c static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count)
count              32 sound/pci/ac97/ac97_patch.c 	for (idx = 0; idx < count; idx++)
count             148 sound/pci/ad1889.c ad1889_load_adc_buffer_count(struct snd_ad1889 *chip, u32 count)
count             150 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_ADCBC, count);
count             151 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_ADCCC, count);
count             155 sound/pci/ad1889.c ad1889_load_adc_interrupt_count(struct snd_ad1889 *chip, u32 count)
count             157 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_ADCIB, count);
count             158 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_ADCIC, count);
count             169 sound/pci/ad1889.c ad1889_load_wave_buffer_count(struct snd_ad1889 *chip, u32 count)
count             171 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_WAVBC, count);
count             172 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_WAVCC, count);
count             176 sound/pci/ad1889.c ad1889_load_wave_interrupt_count(struct snd_ad1889 *chip, u32 count)
count             178 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_WAVIB, count);
count             179 sound/pci/ad1889.c 	ad1889_writel(chip, AD_DMA_WAVIC, count);
count             354 sound/pci/ad1889.c 	unsigned int count = snd_pcm_lib_period_bytes(ss);
count             385 sound/pci/ad1889.c 	ad1889_load_wave_interrupt_count(chip, count);
count             394 sound/pci/ad1889.c 		chip->wave.addr, count, size, reg, rt->rate);
count             404 sound/pci/ad1889.c 	unsigned int count = snd_pcm_lib_period_bytes(ss);
count             432 sound/pci/ad1889.c 	ad1889_load_adc_interrupt_count(chip, count);
count             441 sound/pci/ad1889.c 		chip->ramc.addr, count, size, reg, rt->rate);
count              65 sound/pci/ak4531_codec.c 	uinfo->count = 1;
count             132 sound/pci/ak4531_codec.c 	uinfo->count = 2;
count             207 sound/pci/ak4531_codec.c 	uinfo->count = 4;
count             186 sound/pci/ali5451/ali5451.c 	int count;              /* runtime->period_size */
count             633 sound/pci/ali5451/ali5451.c 	u16 count = 0;
count             640 sound/pci/ali5451/ali5451.c 	while ((R1 < 0x0b || R1 > 0x0e) && R1 != 0x12 && count <= 50000) {
count             641 sound/pci/ali5451/ali5451.c 		count ++;
count             647 sound/pci/ali5451/ali5451.c 	if (count > 50000) {
count             652 sound/pci/ali5451/ali5451.c 	for (count = 0; count <= 50000; count++) {
count             662 sound/pci/ali5451/ali5451.c 	if (count > 50000) {
count            1236 sound/pci/ali5451/ali5451.c 	pvoice->count = runtime->period_size;
count            1242 sound/pci/ali5451/ali5451.c 		       pvoice->eso, pvoice->count);
count            1270 sound/pci/ali5451/ali5451.c 		evoice->count = pvoice->count;
count            1271 sound/pci/ali5451/ali5451.c 		evoice->eso = pvoice->count << 1;
count            1347 sound/pci/ali5451/ali5451.c 	pvoice->count = runtime->period_size;
count            1590 sound/pci/ali5451/ali5451.c 		.count = ARRAY_SIZE(rates),
count             374 sound/pci/als4000.c 	unsigned count;
count             379 sound/pci/als4000.c 	count = snd_pcm_lib_period_bytes(substream);
count             382 sound/pci/als4000.c 		count >>= 1;
count             383 sound/pci/als4000.c 	count--;
count             390 sound/pci/als4000.c 	snd_als4_cr_write(chip, ALS4K_CR1C_FIFO2_BLOCK_LENGTH_LO, count & 0xff);
count             391 sound/pci/als4000.c 	snd_als4_cr_write(chip, ALS4K_CR1D_FIFO2_BLOCK_LENGTH_HI, count >> 8);
count             401 sound/pci/als4000.c 	unsigned count;
count             406 sound/pci/als4000.c 	count = snd_pcm_lib_period_bytes(substream);
count             409 sound/pci/als4000.c 		count >>= 1;
count             410 sound/pci/als4000.c 	count--;
count             426 sound/pci/als4000.c 	snd_sbdsp_command(chip, count & 0xff);
count             427 sound/pci/als4000.c 	snd_sbdsp_command(chip, count >> 8);
count             103 sound/pci/asihpi/asihpi.c 	int count;
count            1479 sound/pci/asihpi/asihpi.c 	u32 count;
count            1494 sound/pci/asihpi/asihpi.c 	err = hpi_meter_query_channels(h_control, &count);
count            1496 sound/pci/asihpi/asihpi.c 		count = HPI_MAX_CHANNELS;
count            1499 sound/pci/asihpi/asihpi.c 	uinfo->count = count;
count            1617 sound/pci/asihpi/asihpi.c 	uinfo->count = 2;
count            1750 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            1846 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2009 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2083 sound/pci/asihpi/asihpi.c 	u32 count;
count            2085 sound/pci/asihpi/asihpi.c 	err = hpi_meter_query_channels(h_control, &count);
count            2087 sound/pci/asihpi/asihpi.c 		count = HPI_MAX_CHANNELS;
count            2090 sound/pci/asihpi/asihpi.c 	uinfo->count = count;
count            2190 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2375 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2376 sound/pci/asihpi/asihpi.c 	uinfo->value.enumerated.items = clkcache->count;
count            2405 sound/pci/asihpi/asihpi.c 	for (i = 0; i < clkcache->count; i++)
count            2427 sound/pci/asihpi/asihpi.c 	if (item >= clkcache->count)
count            2428 sound/pci/asihpi/asihpi.c 		item = clkcache->count-1;
count            2447 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2489 sound/pci/asihpi/asihpi.c 	uinfo->count = 1;
count            2558 sound/pci/asihpi/asihpi.c 	clkcache->count = i;
count             146 sound/pci/asihpi/hpi6000.c 	u16 dsp_index, u32 hpi_address, u32 *source, u32 count);
count             148 sound/pci/asihpi/hpi6000.c 	u16 dsp_index, u32 hpi_address, u32 *dest, u32 count);
count             609 sound/pci/asihpi/hpi6000.c 		phr->u.ax.assert.count = 1;	/* assert count */
count            1208 sound/pci/asihpi/hpi6000.c 	u16 dsp_index, u32 hpi_address, u32 *source, u32 count)
count            1215 sound/pci/asihpi/hpi6000.c 	int local_count = count;
count            1246 sound/pci/asihpi/hpi6000.c 	u16 dsp_index, u32 hpi_address, u32 *dest, u32 count)
count            1253 sound/pci/asihpi/hpi6000.c 	int local_count = count;
count            1777 sound/pci/asihpi/hpi6000.c 			if (!phr->u.ax.assert.count) {
count             698 sound/pci/asihpi/hpi_internal.h 		u16 count;
count             923 sound/pci/asihpi/hpi_internal.h 			u16 count;
count             924 sound/pci/asihpi/hpi_internal.h 		} count;
count             152 sound/pci/asihpi/hpicmn.c 	int count = phm->obj_index;
count             158 sound/pci/asihpi/hpicmn.c 			if (!count)
count             160 sound/pci/asihpi/hpicmn.c 			count--;
count             851 sound/pci/atiixp_modem.c 		.count = ARRAY_SIZE(rates),
count             193 sound/pci/au88x0/au88x0.h 				     int size, int count);
count             200 sound/pci/au88x0/au88x0.h 				    int size, int count);
count             720 sound/pci/au88x0/au88x0_a3d.c 	uinfo->count = 6;
count             729 sound/pci/au88x0/au88x0_a3d.c 	uinfo->count = 2;
count             738 sound/pci/au88x0/au88x0_a3d.c 	uinfo->count = 2;
count             748 sound/pci/au88x0/au88x0_a3d.c 	uinfo->count = 4;
count            1089 sound/pci/au88x0/au88x0_core.c 			 int psize, int count)
count            1094 sound/pci/au88x0/au88x0_core.c 	dma->nr_periods = count;
count            1098 sound/pci/au88x0/au88x0_core.c 	switch (count) {
count            1368 sound/pci/au88x0/au88x0_core.c 			int psize, int count)
count            1373 sound/pci/au88x0/au88x0_core.c 	dma->nr_periods = count;
count            1377 sound/pci/au88x0/au88x0_core.c 	switch (count) {
count             577 sound/pci/au88x0/au88x0_eq.c vortex_Eqlzr_SetAllBands(vortex_t * vortex, u16 gains[], s32 count)
count             582 sound/pci/au88x0/au88x0_eq.c 	if (((eq->this10) * 2 != count) || (eq->this28 == 0))
count             585 sound/pci/au88x0/au88x0_eq.c 	for (i = 0; i < count; i++) {
count             658 sound/pci/au88x0/au88x0_eq.c static int vortex_Eqlzr_GetAllPeaks(vortex_t * vortex, u16 * peaks, int *count)
count             664 sound/pci/au88x0/au88x0_eq.c 	*count = eq->this10 * 2;
count             763 sound/pci/au88x0/au88x0_eq.c 	uinfo->count = 2;
count             821 sound/pci/au88x0/au88x0_eq.c 	uinfo->count = 20;
count             831 sound/pci/au88x0/au88x0_eq.c 	int i, count = 0;
count             834 sound/pci/au88x0/au88x0_eq.c 	vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);
count             835 sound/pci/au88x0/au88x0_eq.c 	if (count != 20) {
count             837 sound/pci/au88x0/au88x0_eq.c 			"peak count error 20 != %d\n", count);
count             108 sound/pci/au88x0/au88x0_pcm.c 	.count = ARRAY_SIZE(au8830_channels),
count             466 sound/pci/au88x0/au88x0_pcm.c 	uinfo->count = 1;
count             534 sound/pci/au88x0/au88x0_pcm.c 	uinfo->count = (VORTEX_IS_QUAD(vortex) ? 4 : 2);
count             378 sound/pci/azt3328.c 			     unsigned reg, const void *buffer, int count
count             382 sound/pci/azt3328.c 	if (count) {
count             387 sound/pci/azt3328.c 		} while (--count);
count             928 sound/pci/azt3328.c 	uinfo->count = reg.stereo + 1;
count            1448 sound/pci/azt3328.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count            1459 sound/pci/azt3328.c 					runtime->dma_addr, count, size);
count            2021 sound/pci/azt3328.c 	.count = ARRAY_SIZE(snd_azf3328_fixed_rates),
count            2615 sound/pci/azt3328.c 			 unsigned long io_addr, unsigned count, u32 *saved_regs)
count            2619 sound/pci/azt3328.c 	for (reg = 0; reg < count; ++reg) {
count            2632 sound/pci/azt3328.c 			unsigned count
count            2637 sound/pci/azt3328.c 	for (reg = 0; reg < count; ++reg) {
count             555 sound/pci/bt87x.c 	info->count = 1;
count             313 sound/pci/ca0106/ca0106_mixer.c 	uinfo->count = 1;
count             405 sound/pci/ca0106/ca0106_mixer.c         uinfo->count = 2;
count             452 sound/pci/ca0106/ca0106_mixer.c         uinfo->count = 2;
count             579 sound/pci/ca0106/ca0106_mixer.c 		.count =	4,
count             607 sound/pci/ca0106/ca0106_mixer.c 		.count =	4,
count             615 sound/pci/ca0106/ca0106_mixer.c 		.count =	4,
count             711 sound/pci/cmipci.c 	.count = 3,
count             716 sound/pci/cmipci.c 	.count = 4,
count             721 sound/pci/cmipci.c 	.count = 5,
count            1001 sound/pci/cmipci.c 	uinfo->count = 1;
count            1048 sound/pci/cmipci.c 	uinfo->count = 1;
count            1075 sound/pci/cmipci.c 	uinfo->count = 1;
count            1590 sound/pci/cmipci.c 		.count = ARRAY_SIZE(rate_constraints),
count            2029 sound/pci/cmipci.c 	uinfo->count = reg.stereo + 1;
count            2111 sound/pci/cmipci.c 	uinfo->count = 4;
count            2200 sound/pci/cmipci.c 	uinfo->count = reg.stereo + 1;
count             521 sound/pci/cs4281.c 	int count;
count             539 sound/pci/cs4281.c 	for (count = 0; count < 2000; count++) {
count             560 sound/pci/cs4281.c 	int count;
count             600 sound/pci/cs4281.c 	for (count = 0; count < 500; count++) {
count             622 sound/pci/cs4281.c 	for (count = 0; count < 100; count++) {
count             993 sound/pci/cs4281.c 	uinfo->count             = 2;
count            1128 sound/pci/cs4281.c 				   size_t count, loff_t pos)
count            1132 sound/pci/cs4281.c 	if (copy_to_user_fromio(buf, chip->ba0 + pos, count))
count            1134 sound/pci/cs4281.c 	return count;
count            1140 sound/pci/cs4281.c 				   size_t count, loff_t pos)
count            1144 sound/pci/cs4281.c 	if (copy_to_user_fromio(buf, chip->ba1 + pos, count))
count            1146 sound/pci/cs4281.c 	return count;
count             839 sound/pci/cs46xx/cs46xx_dsp_scb_types.h 	    count,
count              78 sound/pci/cs46xx/cs46xx_lib.c 	int count;
count             143 sound/pci/cs46xx/cs46xx_lib.c 	for (count = 0; count < 1000; count++) {
count             165 sound/pci/cs46xx/cs46xx_lib.c 	for (count = 0; count < 100; count++) {
count             223 sound/pci/cs46xx/cs46xx_lib.c 	int count;
count             265 sound/pci/cs46xx/cs46xx_lib.c 	for (count = 0; count < 4000; count++) {
count            1476 sound/pci/cs46xx/cs46xx_lib.c 	.count = ARRAY_SIZE(period_sizes),
count            1894 sound/pci/cs46xx/cs46xx_lib.c 	uinfo->count = 2;
count            2144 sound/pci/cs46xx/cs46xx_lib.c 	uinfo->count = 1;
count            2815 sound/pci/cs46xx/cs46xx_lib.c 				  size_t count, loff_t pos)
count            2819 sound/pci/cs46xx/cs46xx_lib.c 	if (copy_to_user_fromio(buf, region->remap_addr + pos, count))
count            2821 sound/pci/cs46xx/cs46xx_lib.c 	return count;
count            3118 sound/pci/cs46xx/cs46xx_lib.c 		int count;
count            3119 sound/pci/cs46xx/cs46xx_lib.c 		for (count = 0; count < 150; count++) {
count             202 sound/pci/cs5535audio/cs5535audio.c 	unsigned char count;
count             212 sound/pci/cs5535audio/cs5535audio.c 	for (count = 0; count < 4; count++) {
count             213 sound/pci/cs5535audio/cs5535audio.c 		if (acc_irq_stat & (1 << count)) {
count             214 sound/pci/cs5535audio/cs5535audio.c 			switch (count) {
count              65 sound/pci/cs5535audio/cs5535audio_olpc.c 	uinfo->count = 1;
count              89 sound/pci/cs5535audio/cs5535audio_olpc.c 	uinfo->count = 1;
count             334 sound/pci/ctxfi/ctmixer.c 	uinfo->count = 2;
count             570 sound/pci/ctxfi/ctmixer.c 	uinfo->count = 1;
count             619 sound/pci/ctxfi/ctmixer.c 	uinfo->count = 1;
count             676 sound/pci/ctxfi/ctmixer.c 	.count		= 1,
count             685 sound/pci/ctxfi/ctmixer.c 	.count		= 1,
count             696 sound/pci/ctxfi/ctmixer.c 	.count		= 1,
count             283 sound/pci/echoaudio/echoaudio.c 	pipe->constr.count = i;
count             984 sound/pci/echoaudio/echoaudio.c 	uinfo->count = num_busses_out(chip);
count            1065 sound/pci/echoaudio/echoaudio.c 	uinfo->count = num_analog_busses_in(chip);
count            1134 sound/pci/echoaudio/echoaudio.c 	uinfo->count = num_analog_busses_out(chip);
count            1196 sound/pci/echoaudio/echoaudio.c 	uinfo->count = num_analog_busses_in(chip);
count            1262 sound/pci/echoaudio/echoaudio.c 	uinfo->count = 1;
count            1334 sound/pci/echoaudio/echoaudio.c 	uinfo->count = 1;
count            1718 sound/pci/echoaudio/echoaudio.c 	uinfo->count = 96;
count            1759 sound/pci/echoaudio/echoaudio.c 	uinfo->count = 6;
count            2048 sound/pci/echoaudio/echoaudio.c 	snd_echo_vmixer.count = num_pipes_out(chip) * num_busses_out(chip);
count            2087 sound/pci/echoaudio/echoaudio.c 	snd_echo_monitor_mixer.count = num_busses_in(chip) * num_busses_out(chip);
count             118 sound/pci/echoaudio/midi.c 	short int count, midi_byte, i, received;
count             121 sound/pci/echoaudio/midi.c 	count = le16_to_cpu(chip->comm_page->midi_input[0]);
count             123 sound/pci/echoaudio/midi.c 	if (snd_BUG_ON(count >= MIDI_IN_BUFFER_SIZE))
count             129 sound/pci/echoaudio/midi.c 	for (i = 1; i <= count; i++) {
count             519 sound/pci/emu10k1/emu10k1_main.c 	unsigned short count;
count             528 sound/pci/emu10k1/emu10k1_main.c 	for (count = 0; count < EC_NUM_CONTROL_BITS; count++) {
count              27 sound/pci/emu10k1/emu10k1_patch.c 		       const void __user *data, long count)
count              18 sound/pci/emu10k1/emu10k1_synth_local.h 			   const void __user *_data, long count);
count            1106 sound/pci/emu10k1/emu10k1x.c 	uinfo->count = 1;
count            1158 sound/pci/emu10k1/emu10k1x.c 	.count =	3,
count            1167 sound/pci/emu10k1/emu10k1x.c 	.count =	3,
count             313 sound/pci/emu10k1/emufx.c 	uinfo->count = ctl->vcount;
count             362 sound/pci/emu10k1/emufx.c 			if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) {
count             370 sound/pci/emu10k1/emufx.c 			if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) {
count             831 sound/pci/emu10k1/emufx.c 		nctl->count = gctl->count;
count             924 sound/pci/emu10k1/emufx.c 			gctl->count = ctl->count;
count            1098 sound/pci/emu10k1/emufx.c 	ctl->vcount = ctl->count = 1;
count            1119 sound/pci/emu10k1/emufx.c 	ctl->vcount = ctl->count = 2;
count            1141 sound/pci/emu10k1/emufx.c 	ctl->vcount = ctl->count = 1;
count            1154 sound/pci/emu10k1/emufx.c 	ctl->vcount = ctl->count = 2;
count            1472 sound/pci/emu10k1/emufx.c 	ctl->count = 10;
count            1481 sound/pci/emu10k1/emufx.c 	ctl->count = 10;
count            2192 sound/pci/emu10k1/emufx.c 	ctl->count = 10;
count            2202 sound/pci/emu10k1/emufx.c 	ctl->count = 10;
count              35 sound/pci/emu10k1/emumixer.c 	uinfo->count = 1;
count             789 sound/pci/emu10k1/emumixer.c 	.count =	1,
count             840 sound/pci/emu10k1/emumixer.c 	.count =	1,
count             891 sound/pci/emu10k1/emumixer.c 	.count =	1,
count             980 sound/pci/emu10k1/emumixer.c 	uinfo->count = 2;
count            1133 sound/pci/emu10k1/emumixer.c 	.count =	1,
count            1171 sound/pci/emu10k1/emumixer.c 	.count =	3,
count            1180 sound/pci/emu10k1/emumixer.c 	.count =	3,
count            1221 sound/pci/emu10k1/emumixer.c 	uinfo->count = emu->audigy ? 3*8 : 3*4;
count            1287 sound/pci/emu10k1/emumixer.c 	.count =	32,
count            1297 sound/pci/emu10k1/emumixer.c 	uinfo->count = emu->audigy ? 3*8 : 3*4;
count            1358 sound/pci/emu10k1/emumixer.c 	.count =	32,
count            1367 sound/pci/emu10k1/emumixer.c 	uinfo->count = 3;
count            1423 sound/pci/emu10k1/emumixer.c 	.count =	32,
count            1435 sound/pci/emu10k1/emumixer.c 	uinfo->count = emu->audigy ? 8 : 4;
count            1495 sound/pci/emu10k1/emumixer.c 	.count =	16,
count            1505 sound/pci/emu10k1/emumixer.c 	uinfo->count = emu->audigy ? 8 : 4;
count            1562 sound/pci/emu10k1/emumixer.c 	.count =	16,
count            1571 sound/pci/emu10k1/emumixer.c 	uinfo->count = 1;
count            1620 sound/pci/emu10k1/emumixer.c 	.count =	16,
count             165 sound/pci/emu10k1/emupcm.c 	.count = 31,
count             175 sound/pci/emu10k1/emupcm.c 	.count = 8,
count            1494 sound/pci/emu10k1/emupcm.c 	uinfo->count = nefx;
count            1578 sound/pci/emu10k1/emupcm.c 						   unsigned int count,
count            1588 sound/pci/emu10k1/emupcm.c 		while (count--) {
count            1593 sound/pci/emu10k1/emupcm.c 		while (count--) {
count            1607 sound/pci/emu10k1/emupcm.c 	unsigned int frames = bytes >> 2, count;
count            1612 sound/pci/emu10k1/emupcm.c 		count = tram_pos + 1;
count            1615 sound/pci/emu10k1/emupcm.c 						       src, count, tram_shift);
count            1616 sound/pci/emu10k1/emupcm.c 		src += count * 2;
count            1617 sound/pci/emu10k1/emupcm.c 		frames -= count;
count             322 sound/pci/emu10k1/emuproc.c 				       size_t count, loff_t pos)
count             342 sound/pci/emu10k1/emuproc.c 	tmp = kmalloc(count + 8, GFP_KERNEL);
count             345 sound/pci/emu10k1/emuproc.c 	for (idx = 0; idx < ((pos & 3) + count + 3) >> 2; idx++) {
count             354 sound/pci/emu10k1/emuproc.c 	if (copy_to_user(buf, ((char *)tmp) + (pos & 3), count))
count             357 sound/pci/emu10k1/emuproc.c 		res = count;
count             466 sound/pci/emu10k1/io.c 	volatile unsigned count;
count             471 sound/pci/emu10k1/io.c 		count = 0;
count             472 sound/pci/emu10k1/io.c 		while (count++ < 16384) {
count             477 sound/pci/emu10k1/io.c 		if (count > 16384)
count             674 sound/pci/emu10k1/p16v.c         uinfo->count = 2;
count             459 sound/pci/ens1370.c 	.count = 4, 
count            1334 sound/pci/ens1370.c 	uinfo->count = 1;
count             614 sound/pci/es1938.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             633 sound/pci/es1938.c 	count = 0x10000 - count;
count             634 sound/pci/es1938.c 	snd_es1938_write(chip, ESS_CMD_DMACNTRELOADL, count & 0xff);
count             635 sound/pci/es1938.c 	snd_es1938_write(chip, ESS_CMD_DMACNTRELOADH, count >> 8);
count             662 sound/pci/es1938.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             678 sound/pci/es1938.c 	count >>= 1;
count             679 sound/pci/es1938.c 	count = 0x10000 - count;
count             680 sound/pci/es1938.c 	snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2TCOUNTL, count & 0xff);
count             681 sound/pci/es1938.c 	snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2TCOUNTH, count >> 8);
count             699 sound/pci/es1938.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             710 sound/pci/es1938.c 	count = 0x10000 - count;
count             719 sound/pci/es1938.c 	snd_es1938_write(chip, ESS_CMD_DMACNTRELOADL, count & 0xff);
count             720 sound/pci/es1938.c 	snd_es1938_write(chip, ESS_CMD_DMACNTRELOADH, count >> 8);
count             767 sound/pci/es1938.c 	size_t count;
count             771 sound/pci/es1938.c 	count = inw(SLDM_REG(chip, DMACOUNT));
count             772 sound/pci/es1938.c 	diff = chip->dma1_start + chip->dma1_size - ptr - count;
count             828 sound/pci/es1938.c 				   void __user *dst, unsigned long count)
count             833 sound/pci/es1938.c 	if (snd_BUG_ON(pos + count > chip->dma1_size))
count             835 sound/pci/es1938.c 	if (pos + count < chip->dma1_size) {
count             836 sound/pci/es1938.c 		if (copy_to_user(dst, runtime->dma_area + pos + 1, count))
count             839 sound/pci/es1938.c 		if (copy_to_user(dst, runtime->dma_area + pos + 1, count - 1))
count             842 sound/pci/es1938.c 			     ((unsigned char __user *)dst) + count - 1))
count             850 sound/pci/es1938.c 					  void *dst, unsigned long count)
count             855 sound/pci/es1938.c 	if (snd_BUG_ON(pos + count > chip->dma1_size))
count             857 sound/pci/es1938.c 	if (pos + count < chip->dma1_size) {
count             858 sound/pci/es1938.c 		memcpy(dst, runtime->dma_area + pos + 1, count);
count             860 sound/pci/es1938.c 		memcpy(dst, runtime->dma_area + pos + 1, count - 1);
count             861 sound/pci/es1938.c 		runtime->dma_area[0] = *((unsigned char *)dst + count - 1);
count            1107 sound/pci/es1938.c 	uinfo->count = 2;
count            1179 sound/pci/es1938.c 	uinfo->count = 1;
count            1240 sound/pci/es1938.c 	uinfo->count = 2;
count             463 sound/pci/es1968.c 	unsigned int count;	/* sample counter in bytes */
count            1250 sound/pci/es1968.c 		es->count = 0;
count            1865 sound/pci/es1968.c 	es->count += diff;
count            1867 sound/pci/es1968.c 	if (es->count > es->frag_size) {
count            1871 sound/pci/es1968.c 		es->count %= es->frag_size;
count             334 sound/pci/fm801.c 	.count = ARRAY_SIZE(rates),
count             344 sound/pci/fm801.c 	.count = ARRAY_SIZE(channels),
count             846 sound/pci/fm801.c 	uinfo->count = 1;
count             902 sound/pci/fm801.c 	uinfo->count = 2;
count            1408 sound/pci/hda/hda_codec.c 	uinfo->count = chs == 3 ? 2 : 1;
count            2101 sound/pci/hda/hda_codec.c 	uinfo->count = chs == 3 ? 2 : 1;
count            2178 sound/pci/hda/hda_codec.c 	uinfo->count = 1;
count            2783 sound/pci/hda/hda_codec.c 	int count;
count            2797 sound/pci/hda/hda_codec.c 	for (count = 0; count < 10; count++) {
count            3474 sound/pci/hda/hda_codec.c 	uinfo->count = 1;
count            2314 sound/pci/hda/hda_generic.c 	uinfo->count = 1;
count            2902 sound/pci/hda/hda_generic.c 	uinfo->count = 1;
count            3748 sound/pci/hda/hda_generic.c 		knew->count = nums;
count             169 sound/pci/hda/hda_sysfs.c 			    const char *buf, size_t count)	\
count             177 sound/pci/hda/hda_sysfs.c 	return count;						\
count             183 sound/pci/hda/hda_sysfs.c 			    const char *buf, size_t count)	\
count             191 sound/pci/hda/hda_sysfs.c 	return count;						\
count             204 sound/pci/hda/hda_sysfs.c 			    const char *buf, size_t count)	\
count             210 sound/pci/hda/hda_sysfs.c 	return err < 0 ? err : count;				\
count             257 sound/pci/hda/hda_sysfs.c 				const char *buf, size_t count)
count             263 sound/pci/hda/hda_sysfs.c 	return count;
count             362 sound/pci/hda/hda_sysfs.c 			   const char *buf, size_t count)
count             368 sound/pci/hda/hda_sysfs.c 	return count;
count             397 sound/pci/hda/hda_sysfs.c 				      const char *buf, size_t count)
count             403 sound/pci/hda/hda_sysfs.c 	return count;
count            1296 sound/pci/hda/patch_ca0132.c 				      unsigned int count)
count            1305 sound/pci/hda/patch_ca0132.c 	while ((count-- != 0) && (status == 0))
count            1398 sound/pci/hda/patch_ca0132.c 				 unsigned int count)
count            1408 sound/pci/hda/patch_ca0132.c 	status = chipio_write_data_multiple(codec, data, count);
count            1683 sound/pci/hda/patch_ca0132.c 	unsigned int count;
count            1688 sound/pci/hda/patch_ca0132.c 	count = 0;
count            1689 sound/pci/hda/patch_ca0132.c 	while (count < size) {
count            1693 sound/pci/hda/patch_ca0132.c 		count++;
count            1723 sound/pci/hda/patch_ca0132.c 	unsigned int count;
count            1730 sound/pci/hda/patch_ca0132.c 	count = 0;
count            1731 sound/pci/hda/patch_ca0132.c 	while (count < size && count < size_count) {
count            1735 sound/pci/hda/patch_ca0132.c 		count++;
count            1738 sound/pci/hda/patch_ca0132.c 	skip_count = count;
count            1747 sound/pci/hda/patch_ca0132.c 	*buf_size = count;
count            1827 sound/pci/hda/patch_ca0132.c 	unsigned int count;
count            1835 sound/pci/hda/patch_ca0132.c 		count = spec->wait_num_data;
count            1837 sound/pci/hda/patch_ca0132.c 				    &spec->scp_resp_count, count);
count            2299 sound/pci/hda/patch_ca0132.c 			unsigned int count,
count            2317 sound/pci/hda/patch_ca0132.c 	if (count > max_dma_count) {
count            2350 sound/pci/hda/patch_ca0132.c 	adr_ofs = (count - 1) << (DSPDMAC_DSPADROFS_BOFS_LOBIT +
count            2361 sound/pci/hda/patch_ca0132.c 	base_cnt = (count - 1) << DSPDMAC_XFRCNT_BCNT_LOBIT;
count            2363 sound/pci/hda/patch_ca0132.c 	cur_cnt  = (count - 1) << DSPDMAC_XFRCNT_CCNT_LOBIT;
count            2378 sound/pci/hda/patch_ca0132.c 		   chip_addx, count, dma_cfg, adr_ofs, xfr_cnt);
count            2676 sound/pci/hda/patch_ca0132.c 		unsigned int count)
count            2678 sound/pci/hda/patch_ca0132.c 	memcpy(dma->dmab->area, data, count);
count            2700 sound/pci/hda/patch_ca0132.c 	u32 count;
count            2719 sound/pci/hda/patch_ca0132.c 	return p->count == 0;
count            2724 sound/pci/hda/patch_ca0132.c 	return struct_size(p, data, p->count);
count            2748 sound/pci/hda/patch_ca0132.c 	unsigned int count;
count            2755 sound/pci/hda/patch_ca0132.c 	count = fls->count;
count            2757 sound/pci/hda/patch_ca0132.c 	while (count >= 2) {
count            2763 sound/pci/hda/patch_ca0132.c 		count -= 2;
count            2831 sound/pci/hda/patch_ca0132.c 	words_to_write = fls->count;
count            3870 sound/pci/hda/patch_ca0132.c 	uinfo->count = chs == 3 ? 2 : 1;
count            3905 sound/pci/hda/patch_ca0132.c 	uinfo->count = chs == 3 ? 2 : 1;
count            3940 sound/pci/hda/patch_ca0132.c 	uinfo->count = chs == 3 ? 2 : 1;
count            5202 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5216 sound/pci/hda/patch_ca0132.c 	uinfo->count = chs == 3 ? 2 : 1;
count            5283 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5335 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5389 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5440 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5485 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5541 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5605 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count            5662 sound/pci/hda/patch_ca0132.c 	uinfo->count = 1;
count             938 sound/pci/hda/patch_cirrus.c 	uinfo->count = 1;
count             343 sound/pci/hda/patch_hdmi.c 		uinfo->count = 0;
count             347 sound/pci/hda/patch_hdmi.c 	uinfo->count = eld->eld_valid ? eld->eld_size : 0;
count            3082 sound/pci/hda/patch_hdmi.c 	.count = ARRAY_SIZE(channels_2_6_8),
count            3088 sound/pci/hda/patch_hdmi.c 	.count = ARRAY_SIZE(channels_2_8),
count            3893 sound/pci/hda/patch_hdmi.c 	int count = 0;
count            3902 sound/pci/hda/patch_hdmi.c 				chmap[count++] = SNDRV_CHMAP_NA;
count            3907 sound/pci/hda/patch_hdmi.c 		chmap[count++] = snd_hdac_spk_to_chmap(spk);
count            3910 sound/pci/hda/patch_hdmi.c 	WARN_ON(count != channels);
count             160 sound/pci/hda/patch_si3054.c 		.count = ARRAY_SIZE(rates),
count             621 sound/pci/hda/patch_sigmatel.c 		.count = cnt, \
count             973 sound/pci/hda/patch_sigmatel.c 	kctl->count = cfg->dig_outs;
count             487 sound/pci/hda/patch_via.c 	.count = 1,
count             880 sound/pci/hda/patch_via.c 	uinfo->count = 1;
count             919 sound/pci/hda/patch_via.c 	 .count = 1,
count             350 sound/pci/ice1712/aureon.c 	uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1;
count             736 sound/pci/ice1712/aureon.c 	uinfo->count = 2;
count             786 sound/pci/ice1712/aureon.c 	uinfo->count = voices;
count             839 sound/pci/ice1712/aureon.c 	uinfo->count = kcontrol->private_value >> 8;
count             936 sound/pci/ice1712/aureon.c 	uinfo->count = 1;
count            1022 sound/pci/ice1712/aureon.c 	uinfo->count = 2;
count            1180 sound/pci/ice1712/aureon.c 	uinfo->count = 1;
count            1233 sound/pci/ice1712/aureon.c 	uinfo->count = 10;
count            1251 sound/pci/ice1712/aureon.c 	uinfo->count = 1;
count             123 sound/pci/ice1712/delta.c static int ap_cs8427_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count)
count             126 sound/pci/ice1712/delta.c 	int res = count;
count             132 sound/pci/ice1712/delta.c 	while (count-- > 0)
count             140 sound/pci/ice1712/delta.c static int ap_cs8427_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count)
count             143 sound/pci/ice1712/delta.c 	int res = count;
count             149 sound/pci/ice1712/delta.c 	while (count-- > 0)
count             714 sound/pci/ice1712/ews.c 	.count = 8,
count             925 sound/pci/ice1712/ice1712.c 	.count = ARRAY_SIZE(rates),
count            1325 sound/pci/ice1712/ice1712.c 	uinfo->count = 2;
count            1374 sound/pci/ice1712/ice1712.c 		.count = 10,
count            1385 sound/pci/ice1712/ice1712.c 		.count = 10,
count            1406 sound/pci/ice1712/ice1712.c 	.count = 2,
count            1428 sound/pci/ice1712/ice1712.c 	.count = 2,
count            1446 sound/pci/ice1712/ice1712.c 		tmp.count = ice->num_total_adcs;
count            1458 sound/pci/ice1712/ice1712.c 		tmp.count = ice->num_total_adcs;
count            1603 sound/pci/ice1712/ice1712.c 	uinfo->count = sizeof(struct snd_ice1712_eeprom);
count            1630 sound/pci/ice1712/ice1712.c 	uinfo->count = 1;
count            2165 sound/pci/ice1712/ice1712.c 	.count = 2,
count            2173 sound/pci/ice1712/ice1712.c 	uinfo->count = 1;
count            2213 sound/pci/ice1712/ice1712.c 	uinfo->count = 22;
count            2452 sound/pci/ice1712/ice1712.c 		tmp.count = ice->num_total_dacs;
count             243 sound/pci/ice1712/ice1724.c 	unsigned int count;
count             245 sound/pci/ice1712/ice1724.c 	for (count = inb(ICEREG1724(ice, MPU_RXFIFO)); count > 0; --count)
count             261 sound/pci/ice1712/ice1724.c 	int count, i;
count             265 sound/pci/ice1712/ice1724.c 	count = 31 - inb(ICEREG1724(ice, MPU_TXFIFO));
count             266 sound/pci/ice1712/ice1724.c 	if (count > 0) {
count             267 sound/pci/ice1712/ice1724.c 		count = snd_rawmidi_transmit(s, buffer, count);
count             268 sound/pci/ice1712/ice1724.c 		for (i = 0; i < count; ++i)
count             281 sound/pci/ice1712/ice1724.c 	int count, i;
count             285 sound/pci/ice1712/ice1724.c 	count = inb(ICEREG1724(ice, MPU_RXFIFO));
count             286 sound/pci/ice1712/ice1724.c 	if (count > 0) {
count             287 sound/pci/ice1712/ice1724.c 		count = min(count, 32);
count             288 sound/pci/ice1712/ice1724.c 		for (i = 0; i < count; ++i)
count             290 sound/pci/ice1712/ice1724.c 		snd_rawmidi_receive(s, buffer, count);
count             517 sound/pci/ice1712/ice1724.c 	.count = ARRAY_SIZE(rates) - 2, /* up to 96000 */
count             523 sound/pci/ice1712/ice1724.c 	.count = ARRAY_SIZE(rates) - 5, /* up to 48000 */
count             529 sound/pci/ice1712/ice1724.c 	.count = ARRAY_SIZE(rates),
count             537 sound/pci/ice1712/ice1724.c 	unsigned int count;	/* COUNT register offset */
count             652 sound/pci/ice1712/ice1724.c 	if (rate > ice->hw_rates->list[ice->hw_rates->count - 1])
count             848 sound/pci/ice1712/ice1724.c 	     ice->profi_port + reg->count);
count             885 sound/pci/ice1712/ice1724.c 	.count = VT1724_MT_PLAYBACK_COUNT,
count             892 sound/pci/ice1712/ice1724.c 	.count = VT1724_MT_PDMA4_COUNT,
count             899 sound/pci/ice1712/ice1724.c 	.count = VT1724_MT_CAPTURE_COUNT,
count             906 sound/pci/ice1712/ice1724.c 	.count = VT1724_MT_RDMA1_COUNT,
count             996 sound/pci/ice1712/ice1724.c 	runtime->hw.rate_max = ice->hw_rates->list[ice->hw_rates->count - 1];
count            1364 sound/pci/ice1712/ice1724.c 		.count = VT1724_MT_PDMA1_COUNT,
count            1370 sound/pci/ice1712/ice1724.c 		.count = VT1724_MT_PDMA2_COUNT,
count            1376 sound/pci/ice1712/ice1724.c 		.count = VT1724_MT_PDMA3_COUNT,
count            1574 sound/pci/ice1712/ice1724.c 	uinfo->count = sizeof(struct snd_ice1712_eeprom);
count            1601 sound/pci/ice1712/ice1724.c 	uinfo->count = 1;
count            1839 sound/pci/ice1712/ice1724.c 	int hw_rates_count = ice->hw_rates->count;
count            1841 sound/pci/ice1712/ice1724.c 	uinfo->count = 1;
count            1872 sound/pci/ice1712/ice1724.c 		ucontrol->value.enumerated.item[0] = ice->hw_rates->count +
count            1877 sound/pci/ice1712/ice1724.c 		for (i = 0; i < ice->hw_rates->count; i++) {
count            1914 sound/pci/ice1712/ice1724.c 	unsigned int first_ext_clock = ice->hw_rates->count;
count            2146 sound/pci/ice1712/ice1724.c 	.count = 2,
count            2154 sound/pci/ice1712/ice1724.c 	uinfo->count = 22; /* FIXME: for compatibility with ice1712... */
count            2476 sound/pci/ice1712/ice1724.c 		tmp.count = ice->num_total_dacs;
count            2477 sound/pci/ice1712/ice1724.c 		if (ice->vt1720 && tmp.count > 2)
count            2478 sound/pci/ice1712/ice1724.c 			tmp.count = 2;
count             135 sound/pci/ice1712/juli.c 	.count = ARRAY_SIZE(juli_rates),
count             164 sound/pci/ice1712/maya44.c 	uinfo->count = 2;
count             438 sound/pci/ice1712/maya44.c 		.count = 2,
count             450 sound/pci/ice1712/maya44.c 		.count = 2,
count             462 sound/pci/ice1712/maya44.c 		.count = 2,
count             472 sound/pci/ice1712/maya44.c 		.count = 2,
count             482 sound/pci/ice1712/maya44.c 		.count = 2,
count             513 sound/pci/ice1712/maya44.c 		.count = 4,  /* FIXME: do controls 5-9 have any meaning? */
count             656 sound/pci/ice1712/maya44.c 	.count = ARRAY_SIZE(rates),
count             322 sound/pci/ice1712/phase.c 	uinfo->count = 2;
count             469 sound/pci/ice1712/phase.c 	uinfo->count = voices;
count             525 sound/pci/ice1712/phase.c 	uinfo->count = kcontrol->private_value >> 8;
count             629 sound/pci/ice1712/phase.c 	uinfo->count = 1;
count             103 sound/pci/ice1712/pontis.c 	uinfo->count = 2;
count             158 sound/pci/ice1712/pontis.c 	uinfo->count = 2;
count             443 sound/pci/ice1712/pontis.c 	uinfo->count = 1;
count             136 sound/pci/ice1712/prodigy192.c 	uinfo->count = 1;
count             228 sound/pci/ice1712/prodigy192.c 	uinfo->count = 2;
count             373 sound/pci/ice1712/prodigy192.c 		.count = 6,
count             383 sound/pci/ice1712/prodigy192.c 		.count = 6,
count             392 sound/pci/ice1712/prodigy192.c 		.count = 1,
count             403 sound/pci/ice1712/prodigy192.c 		.count = 1,
count             245 sound/pci/ice1712/prodigy_hifi.c 	uinfo->count = 2;
count             354 sound/pci/ice1712/prodigy_hifi.c 	uinfo->count = 2;
count             402 sound/pci/ice1712/prodigy_hifi.c 	uinfo->count = voices;
count             453 sound/pci/ice1712/prodigy_hifi.c 	uinfo->count = 2;
count             576 sound/pci/ice1712/prodigy_hifi.c 	uinfo->count = 2;
count             231 sound/pci/ice1712/quartet.c 	.count = ARRAY_SIZE(qtet_rates),
count             424 sound/pci/ice1712/se.c 	uinfo->count = 2;
count             188 sound/pci/ice1712/wm8766.c 	uinfo->count = (wm->ctl[n].flags & WM8766_FLAG_STEREO) ? 2 : 1;
count             462 sound/pci/ice1712/wm8776.c 	uinfo->count = (wm->ctl[n].flags & WM8776_FLAG_STEREO) ? 2 : 1;
count             185 sound/pci/ice1712/wtm.c 	uinfo->count = 1;
count             320 sound/pci/ice1712/wtm.c 	uinfo->count = 2;
count             503 sound/pci/ice1712/wtm.c 		.count = 2,
count             512 sound/pci/ice1712/wtm.c 		.count = 8,
count             523 sound/pci/ice1712/wtm.c 		.count = 8,
count             532 sound/pci/ice1712/wtm.c 		.count = 2,
count             543 sound/pci/ice1712/wtm.c 		.count = 2,
count             597 sound/pci/intel8x0.c 	int count = 0;
count             598 sound/pci/intel8x0.c 	for (count = 0; count < 0x7f; count++) {
count            1088 sound/pci/intel8x0.c 	.count = ARRAY_SIZE(channels4),
count            1098 sound/pci/intel8x0.c 	.count = ARRAY_SIZE(channels6),
count            1108 sound/pci/intel8x0.c 	.count = ARRAY_SIZE(channels8),
count             625 sound/pci/intel8x0m.c 		.count = ARRAY_SIZE(rates),
count             885 sound/pci/korg1212/korg1212.c         u16       count;
count            1005 sound/pci/korg1212/korg1212.c         for (count = 0; count < 10; count++)
count            1262 sound/pci/korg1212/korg1212.c static int snd_korg1212_silence(struct snd_korg1212 *korg1212, int pos, int count, int offset, int size)
count            1268 sound/pci/korg1212/korg1212.c 				   pos, offset, size, count);
count            1269 sound/pci/korg1212/korg1212.c 	if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
count            1272 sound/pci/korg1212/korg1212.c 	for (i=0; i < count; i++) {
count            1289 sound/pci/korg1212/korg1212.c 				void __user *dst, int pos, int count,
count            1298 sound/pci/korg1212/korg1212.c 	count = bytes_to_frames(runtime, count);
count            1302 sound/pci/korg1212/korg1212.c 				   pos, size, count);
count            1303 sound/pci/korg1212/korg1212.c 	if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
count            1306 sound/pci/korg1212/korg1212.c 	for (i=0; i < count; i++) {
count            1326 sound/pci/korg1212/korg1212.c 				  void __user *src, int pos, int count,
count            1335 sound/pci/korg1212/korg1212.c 	count = bytes_to_frames(runtime, count);
count            1340 sound/pci/korg1212/korg1212.c 				   pos, size, count);
count            1342 sound/pci/korg1212/korg1212.c 	if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
count            1345 sound/pci/korg1212/korg1212.c 	for (i=0; i < count; i++) {
count            1645 sound/pci/korg1212/korg1212.c 				      void __user *src, unsigned long count)
count            1647 sound/pci/korg1212/korg1212.c 	return snd_korg1212_copy_from(substream, src, pos, count, false);
count            1652 sound/pci/korg1212/korg1212.c 				      void *src, unsigned long count)
count            1655 sound/pci/korg1212/korg1212.c 				      pos, count, true);
count            1661 sound/pci/korg1212/korg1212.c                            unsigned long count)
count            1667 sound/pci/korg1212/korg1212.c 				    bytes_to_frames(runtime, count),
count            1673 sound/pci/korg1212/korg1212.c 				     void __user *dst, unsigned long count)
count            1675 sound/pci/korg1212/korg1212.c 	return snd_korg1212_copy_to(substream, dst, pos, count, false);
count            1680 sound/pci/korg1212/korg1212.c 				     void *dst, unsigned long count)
count            1683 sound/pci/korg1212/korg1212.c 				    pos, count, true);
count            1719 sound/pci/korg1212/korg1212.c 	uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1;
count            1783 sound/pci/korg1212/korg1212.c 	uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1;
count            1909 sound/pci/korg1212/korg1212.c         uinfo->count = 2;
count             506 sound/pci/lola/lola_mixer.c 	uinfo->count = chip->pin[dir].num_pins;
count             603 sound/pci/lola/lola_mixer.c 	uinfo->count = chip->pin[CAPT].num_pins;
count             662 sound/pci/lola/lola_mixer.c 	unsigned int count = (kcontrol->private_value >> 8) & 0xff;
count             665 sound/pci/lola/lola_mixer.c 	uinfo->count = count;
count             676 sound/pci/lola/lola_mixer.c 	unsigned int count = (kcontrol->private_value >> 8) & 0xff;
count             680 sound/pci/lola/lola_mixer.c 	for (i = 0; i < count; i++) {
count             699 sound/pci/lola/lola_mixer.c 	unsigned int count = (kcontrol->private_value >> 8) & 0xff;
count             702 sound/pci/lola/lola_mixer.c 	for (i = 0; i < count; i++) {
count             746 sound/pci/lola/lola_mixer.c 	uinfo->count = src_num;
count             818 sound/pci/lola/lola_mixer.c 	lola_dest_gain_mixer.count = num;
count             862 sound/pci/lx6464es/lx6464es.c 	uinfo->count = 1;
count             713 sound/pci/maestro3.c 	int count;
count            1153 sound/pci/maestro3.c 	s->count = 0;
count            1509 sound/pci/maestro3.c 	s->count += diff;
count            1511 sound/pci/maestro3.c 	if (s->count >= (signed)s->period_size) {
count            1513 sound/pci/maestro3.c 		if (s->count < 2 * (signed)s->period_size)
count            1514 sound/pci/maestro3.c 			s->count -= (signed)s->period_size;
count            1516 sound/pci/maestro3.c 			s->count %= s->period_size;
count            1134 sound/pci/mixart/mixart.c 				   size_t count, loff_t pos)
count            1138 sound/pci/mixart/mixart.c 	count = count & ~3; /* make sure the read size is a multiple of 4 bytes */
count            1139 sound/pci/mixart/mixart.c 	if (copy_to_user_fromio(buf, MIXART_MEM(mgr, pos), count))
count            1141 sound/pci/mixart/mixart.c 	return count;
count            1150 sound/pci/mixart/mixart.c 				   size_t count, loff_t pos)
count            1154 sound/pci/mixart/mixart.c 	count = count & ~3; /* make sure the read size is a multiple of 4 bytes */
count            1155 sound/pci/mixart/mixart.c 	if (copy_to_user_fromio(buf, MIXART_REG(mgr, pos), count))
count            1157 sound/pci/mixart/mixart.c 	return count;
count             333 sound/pci/mixart/mixart_mixer.c 	uinfo->count = 2;
count             812 sound/pci/mixart/mixart_mixer.c 	uinfo->count = 2;
count             944 sound/pci/mixart/mixart_mixer.c 	.count =        MIXART_PLAYBACK_STREAMS,
count            1134 sound/pci/mixart/mixart_mixer.c 		temp.count = MIXART_PLAYBACK_STREAMS;
count            1140 sound/pci/mixart/mixart_mixer.c 		temp.count = 1;
count            1147 sound/pci/mixart/mixart_mixer.c 			temp.count = MIXART_PLAYBACK_STREAMS;
count            1153 sound/pci/mixart/mixart_mixer.c 			temp.count = 0;
count             391 sound/pci/nm256/nm256.c 	.count = ARRAY_SIZE(samplerates), 
count             684 sound/pci/nm256/nm256.c 			   int channel, unsigned long pos, unsigned long count)
count             689 sound/pci/nm256/nm256.c 	memset_io(s->bufptr + pos, 0, count);
count             696 sound/pci/nm256/nm256.c 			void __user *src, unsigned long count)
count             701 sound/pci/nm256/nm256.c 	if (copy_from_user_toio(s->bufptr + pos, src, count))
count             709 sound/pci/nm256/nm256.c 			       void *src, unsigned long count)
count             714 sound/pci/nm256/nm256.c 	memcpy_toio(s->bufptr + pos, src, count);
count             724 sound/pci/nm256/nm256.c 		       void __user *dst, unsigned long count)
count             729 sound/pci/nm256/nm256.c 	if (copy_to_user_fromio(dst, s->bufptr + pos, count))
count             737 sound/pci/nm256/nm256.c 			      void *dst, unsigned long count)
count             742 sound/pci/nm256/nm256.c 	memcpy_fromio(dst, s->bufptr + pos, count);
count             120 sound/pci/oxygen/oxygen_io.c 	unsigned int count, succeeded;
count             128 sound/pci/oxygen/oxygen_io.c 	for (count = 5; count > 0; --count) {
count             145 sound/pci/oxygen/oxygen_io.c 	unsigned int count;
count             152 sound/pci/oxygen/oxygen_io.c 	for (count = 5; count > 0; --count) {
count             187 sound/pci/oxygen/oxygen_io.c 	unsigned int count;
count             193 sound/pci/oxygen/oxygen_io.c 	for (count = 50; count > 0; count--) {
count              22 sound/pci/oxygen/oxygen_mixer.c 	info->count = chip->model.dac_channels_mixer;
count             108 sound/pci/oxygen/oxygen_mixer.c 	unsigned int count = upmix_item_count(chip);
count             110 sound/pci/oxygen/oxygen_mixer.c 	return snd_ctl_enum_info(info, 1, count, names);
count             186 sound/pci/oxygen/oxygen_mixer.c 	unsigned int count = upmix_item_count(chip);
count             189 sound/pci/oxygen/oxygen_mixer.c 	if (value->value.enumerated.item[0] >= count)
count             297 sound/pci/oxygen/oxygen_mixer.c 	info->count = 1;
count             464 sound/pci/oxygen/oxygen_mixer.c 	info->count = 1;
count             592 sound/pci/oxygen/oxygen_mixer.c 	info->count = stereo ? 2 : 1;
count             690 sound/pci/oxygen/oxygen_mixer.c 	info->count = 2;
count            1031 sound/pci/oxygen/oxygen_mixer.c 			unsigned int count)
count            1048 sound/pci/oxygen/oxygen_mixer.c 	for (i = 0; i < count; ++i) {
count              98 sound/pci/oxygen/xonar_dg_mixer.c 	info->count = 2;
count             202 sound/pci/oxygen/xonar_dg_mixer.c 	info->count = 2;
count              19 sound/pci/oxygen/xonar_hdmi.c 			       unsigned int count, const u8 *params)
count              27 sound/pci/oxygen/xonar_hdmi.c 	oxygen_write_uart(chip, count);
count              28 sound/pci/oxygen/xonar_hdmi.c 	for (i = 0; i < count; ++i)
count              30 sound/pci/oxygen/xonar_hdmi.c 	checksum = 0xfb + 0xef + command + count;
count              31 sound/pci/oxygen/xonar_hdmi.c 	for (i = 0; i < count; ++i)
count             600 sound/pci/oxygen/xonar_wm87x6.c 	info->count = 1;
count             689 sound/pci/oxygen/xonar_wm87x6.c 	info->count = 2;
count             803 sound/pci/oxygen/xonar_wm87x6.c 	info->count = 2;
count             702 sound/pci/pcxhr/pcxhr_mix22.c 	uinfo->count = 1;
count             753 sound/pci/pcxhr/pcxhr_mix22.c 	uinfo->count = 1;
count              80 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->count = 2;
count             340 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->count = 2;
count             453 sound/pci/pcxhr/pcxhr_mixer.c 	.count =	PCXHR_PLAYBACK_STREAMS,
count             805 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->count = 3 + mgr->capture_chips;
count             847 sound/pci/pcxhr/pcxhr_mixer.c 	uinfo->count = 1;
count            1137 sound/pci/pcxhr/pcxhr_mixer.c 			temp.count = PCXHR_PLAYBACK_STREAMS;
count            1179 sound/pci/pcxhr/pcxhr_mixer.c 			temp.count = 1;
count             245 sound/pci/rme32.c 				      unsigned long count)
count             249 sound/pci/rme32.c 	memset_io(rme32->iobase + RME32_IO_DATA_BUFFER + pos, 0, count);
count             256 sound/pci/rme32.c 				   void __user *src, unsigned long count)
count             261 sound/pci/rme32.c 				src, count))
count             268 sound/pci/rme32.c 					  void *src, unsigned long count)
count             272 sound/pci/rme32.c 	memcpy_toio(rme32->iobase + RME32_IO_DATA_BUFFER + pos, src, count);
count             279 sound/pci/rme32.c 				  void __user *dst, unsigned long count)
count             285 sound/pci/rme32.c 			    count))
count             292 sound/pci/rme32.c 					 void *dst, unsigned long count)
count             296 sound/pci/rme32.c 	memcpy_fromio(dst, rme32->iobase + RME32_IO_DATA_BUFFER + pos, count);
count             832 sound/pci/rme32.c 	.count = ARRAY_SIZE(period_bytes),
count            1744 sound/pci/rme32.c 	uinfo->count = 1;
count            1777 sound/pci/rme32.c 	uinfo->count = 1;
count            1815 sound/pci/rme32.c 	uinfo->count = 1;
count             316 sound/pci/rme96.c 			   int channel, unsigned long pos, unsigned long count)
count             321 sound/pci/rme96.c 		  0, count);
count             328 sound/pci/rme96.c 			void __user *src, unsigned long count)
count             333 sound/pci/rme96.c 				   src, count);
count             339 sound/pci/rme96.c 			       void *src, unsigned long count)
count             343 sound/pci/rme96.c 	memcpy_toio(rme96->iobase + RME96_IO_PLAY_BUFFER + pos, src, count);
count             350 sound/pci/rme96.c 		       void __user *dst, unsigned long count)
count             356 sound/pci/rme96.c 				   count);
count             362 sound/pci/rme96.c 			      void *dst, unsigned long count)
count             366 sound/pci/rme96.c 	memcpy_fromio(dst, rme96->iobase + RME96_IO_REC_BUFFER + pos, count);
count            1155 sound/pci/rme96.c 	.count = ARRAY_SIZE(period_bytes),
count            2134 sound/pci/rme96.c 	uinfo->count = 1;
count            2163 sound/pci/rme96.c 	uinfo->count = 1;
count            2195 sound/pci/rme96.c 	uinfo->count = 1;
count            2211 sound/pci/rme96.c         uinfo->count = 2;
count             605 sound/pci/rme9652/hdsp.c static int hdsp_fifo_wait(struct hdsp *hdsp, int count, int timeout);
count             856 sound/pci/rme9652/hdsp.c static int hdsp_fifo_wait(struct hdsp *hdsp, int count, int timeout)
count             866 sound/pci/rme9652/hdsp.c 		if ((int)(hdsp_read (hdsp, HDSP_fifoStatus) & 0xff) <= count)
count             878 sound/pci/rme9652/hdsp.c 		    count, timeout);
count            1569 sound/pci/rme9652/hdsp.c 	uinfo->count = 1;
count            1598 sound/pci/rme9652/hdsp.c 	uinfo->count = 1;
count            1629 sound/pci/rme9652/hdsp.c 	uinfo->count = 1;
count            1825 sound/pci/rme9652/hdsp.c 	uinfo->count = 1;
count            2611 sound/pci/rme9652/hdsp.c 	uinfo->count = 3;
count            2855 sound/pci/rme9652/hdsp.c 	uinfo->count = 1;
count            3898 sound/pci/rme9652/hdsp.c 				  void __user *src, unsigned long count)
count            3903 sound/pci/rme9652/hdsp.c 	if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES))
count            3909 sound/pci/rme9652/hdsp.c 	if (copy_from_user(channel_buf + pos, src, count))
count            3916 sound/pci/rme9652/hdsp.c 					 void *src, unsigned long count)
count            3924 sound/pci/rme9652/hdsp.c 	memcpy(channel_buf + pos, src, count);
count            3930 sound/pci/rme9652/hdsp.c 				 void __user *dst, unsigned long count)
count            3935 sound/pci/rme9652/hdsp.c 	if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES))
count            3941 sound/pci/rme9652/hdsp.c 	if (copy_to_user(dst, channel_buf + pos, count))
count            3948 sound/pci/rme9652/hdsp.c 					void *dst, unsigned long count)
count            3956 sound/pci/rme9652/hdsp.c 	memcpy(dst, channel_buf + pos, count);
count            3962 sound/pci/rme9652/hdsp.c 			       unsigned long count)
count            3970 sound/pci/rme9652/hdsp.c 	memset(channel_buf + pos, 0, count);
count            4257 sound/pci/rme9652/hdsp.c 	.count = ARRAY_SIZE(hdsp_period_sizes),
count            4265 sound/pci/rme9652/hdsp.c 	.count = ARRAY_SIZE(hdsp_9632_sample_rates),
count            2241 sound/pci/rme9652/hdspm.c 	uinfo->count = 1;
count            3635 sound/pci/rme9652/hdspm.c 	uinfo->count = 3;
count            3739 sound/pci/rme9652/hdspm.c 	uinfo->count = 1;
count            4443 sound/pci/rme9652/hdspm.c 	uinfo->count = 1;
count            6047 sound/pci/rme9652/hdspm.c 	.count = ARRAY_SIZE(hdspm_aes32_sample_rates),
count             800 sound/pci/rme9652/rme9652.c 	uinfo->count = 1;
count             829 sound/pci/rme9652/rme9652.c 	uinfo->count = 1;
count             860 sound/pci/rme9652/rme9652.c 	uinfo->count = 1;
count            1246 sound/pci/rme9652/rme9652.c 	uinfo->count = rme9652->ss_channels;
count            1340 sound/pci/rme9652/rme9652.c 	uinfo->count = 1;
count            1873 sound/pci/rme9652/rme9652.c 				     void __user *src, unsigned long count)
count            1878 sound/pci/rme9652/rme9652.c 	if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES))
count            1886 sound/pci/rme9652/rme9652.c 	if (copy_from_user(channel_buf + pos, src, count))
count            1893 sound/pci/rme9652/rme9652.c 					    void *src, unsigned long count)
count            1903 sound/pci/rme9652/rme9652.c 	memcpy(channel_buf + pos, src, count);
count            1909 sound/pci/rme9652/rme9652.c 				    void __user *dst, unsigned long count)
count            1914 sound/pci/rme9652/rme9652.c 	if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES))
count            1922 sound/pci/rme9652/rme9652.c 	if (copy_to_user(dst, channel_buf + pos, count))
count            1929 sound/pci/rme9652/rme9652.c 					   void *dst, unsigned long count)
count            1939 sound/pci/rme9652/rme9652.c 	memcpy(dst, channel_buf + pos, count);
count            1945 sound/pci/rme9652/rme9652.c 				  unsigned long count)
count            1955 sound/pci/rme9652/rme9652.c 	memset(channel_buf + pos, 0, count);
count            2219 sound/pci/rme9652/rme9652.c 	.count = ARRAY_SIZE(period_sizes),
count             919 sound/pci/sis7019.c 	int count;
count             934 sound/pci/sis7019.c 	count = 0xffff;
count             935 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count)
count             938 sound/pci/sis7019.c 	if (!count)
count             943 sound/pci/sis7019.c 	count = 0xffff;
count             950 sound/pci/sis7019.c 	} while (--count);
count             952 sound/pci/sis7019.c 	if (!count)
count             960 sound/pci/sis7019.c 	count = 0xffff;
count             961 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count)
count             973 sound/pci/sis7019.c 	if (!count) {
count            1074 sound/pci/sis7019.c 	int count;
count            1085 sound/pci/sis7019.c 	count = 0xffff;
count            1086 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count)
count            1089 sound/pci/sis7019.c 	if (!count)
count            1095 sound/pci/sis7019.c 	count = 0xffff;
count            1096 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count)
count            1102 sound/pci/sis7019.c 	if (!count)
count             254 sound/pci/sonicvibes.c 					  unsigned int count)
count             256 sound/pci/sonicvibes.c 	count--;
count             258 sound/pci/sonicvibes.c 	outl(count, sonic->dmaa_port + SV_DMA_COUNT0);
count             268 sound/pci/sonicvibes.c 					  unsigned int count)
count             271 sound/pci/sonicvibes.c 	count >>= 1;
count             272 sound/pci/sonicvibes.c 	count--;
count             274 sound/pci/sonicvibes.c 	outl(count, sonic->dmac_port + SV_DMA_COUNT0);
count             701 sound/pci/sonicvibes.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             704 sound/pci/sonicvibes.c 	count--;
count             713 sound/pci/sonicvibes.c 	snd_sonicvibes_out1(sonic, SV_IREG_DMA_A_UPPER, count >> 8);
count             714 sound/pci/sonicvibes.c 	snd_sonicvibes_out1(sonic, SV_IREG_DMA_A_LOWER, count);
count             725 sound/pci/sonicvibes.c 	unsigned int count = snd_pcm_lib_period_bytes(substream);
count             728 sound/pci/sonicvibes.c 	count >>= 1;
count             729 sound/pci/sonicvibes.c 	count--;
count             738 sound/pci/sonicvibes.c 	snd_sonicvibes_out1(sonic, SV_IREG_DMA_C_UPPER, count >> 8);
count             739 sound/pci/sonicvibes.c 	snd_sonicvibes_out1(sonic, SV_IREG_DMA_C_LOWER, count);
count             955 sound/pci/sonicvibes.c 	uinfo->count = 1;
count            1011 sound/pci/sonicvibes.c 	uinfo->count = 2;
count             109 sound/pci/trident/trident_main.c 	unsigned short count = 0xffff;
count             121 sound/pci/trident/trident_main.c 		} while (--count);
count             130 sound/pci/trident/trident_main.c 		} while (--count);
count             140 sound/pci/trident/trident_main.c 		} while (--count);
count             143 sound/pci/trident/trident_main.c 	if (count == 0 && !trident->ac97_detect) {
count             172 sound/pci/trident/trident_main.c 	unsigned short count = 0xffff;
count             186 sound/pci/trident/trident_main.c 		} while (--count);
count             196 sound/pci/trident/trident_main.c 		} while (--count);
count             206 sound/pci/trident/trident_main.c 		} while (--count);
count             213 sound/pci/trident/trident_main.c 		count = 0;	/* return */
count             216 sound/pci/trident/trident_main.c 	if (count == 0) {
count            2365 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2427 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2460 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2573 sound/pci/trident/trident_main.c 	uinfo->count = 2;
count            2645 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2694 sound/pci/trident/trident_main.c 	.count =	32,
count            2711 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2758 sound/pci/trident/trident_main.c 	.count =	32,
count            2774 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2815 sound/pci/trident/trident_main.c 	.count = 	32,
count            2832 sound/pci/trident/trident_main.c 	uinfo->count = 1;
count            2871 sound/pci/trident/trident_main.c 	.count =	32,
count             773 sound/pci/via82xx.c 					   unsigned int count)
count             779 sound/pci/via82xx.c 	res = base + size - count;
count             784 sound/pci/via82xx.c 	if (size < count) {
count             787 sound/pci/via82xx.c 			   (int)size, (int)count);
count             790 sound/pci/via82xx.c 		if (! count) {
count             808 sound/pci/via82xx.c 			       viadev->idx_table[idx].size, count);
count             829 sound/pci/via82xx.c 	unsigned int idx, ptr, count, res;
count             837 sound/pci/via82xx.c 	count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)) & 0xffffff;
count             846 sound/pci/via82xx.c 	res = calc_linear_pos(chip, viadev, idx, count);
count             860 sound/pci/via82xx.c 	unsigned int idx, count, res;
count             867 sound/pci/via82xx.c 	count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT));
count             881 sound/pci/via82xx.c 	if (count & 0xffffff) {
count             882 sound/pci/via82xx.c 		idx = count >> 24;
count             891 sound/pci/via82xx.c 			count &= 0xffffff;
count             892 sound/pci/via82xx.c 			res = calc_linear_pos(chip, viadev, idx, count);
count            1281 sound/pci/via82xx.c 		.count = ARRAY_SIZE(channels),
count            1686 sound/pci/via82xx.c 	uinfo->count = 2;
count             556 sound/pci/via82xx_modem.c 					   unsigned int count)
count             561 sound/pci/via82xx_modem.c 	res = viadev->idx_table[idx].offset + size - count;
count             564 sound/pci/via82xx_modem.c 	if (size < count) {
count             567 sound/pci/via82xx_modem.c 			   (int)size, (int)count);
count             575 sound/pci/via82xx_modem.c 		       viadev->idx_table[idx].size, count);
count             577 sound/pci/via82xx_modem.c 		if (count && size < count) {
count             582 sound/pci/via82xx_modem.c 			if (! count)
count             610 sound/pci/via82xx_modem.c 	unsigned int idx, ptr, count, res;
count             618 sound/pci/via82xx_modem.c 	count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)) & 0xffffff;
count             628 sound/pci/via82xx_modem.c 	res = calc_linear_pos(chip, viadev, idx, count);
count             737 sound/pci/via82xx_modem.c                 .count = ARRAY_SIZE(rates),
count             246 sound/pci/vx222/vx222_ops.c 			  struct vx_pipe *pipe, int count)
count             252 sound/pci/vx222/vx222_ops.c 	if (snd_BUG_ON(count % 4))
count             259 sound/pci/vx222/vx222_ops.c 	if (offset + count >= pipe->buffer_bytes) {
count             261 sound/pci/vx222/vx222_ops.c 		count -= length;
count             271 sound/pci/vx222/vx222_ops.c 	pipe->hw_ptr += count;
count             272 sound/pci/vx222/vx222_ops.c 	count >>= 2; /* in 32bit words */
count             274 sound/pci/vx222/vx222_ops.c 	for (; count > 0; count--) {
count             285 sound/pci/vx222/vx222_ops.c 			 struct vx_pipe *pipe, int count)
count             291 sound/pci/vx222/vx222_ops.c 	if (snd_BUG_ON(count % 4))
count             297 sound/pci/vx222/vx222_ops.c 	if (offset + count >= pipe->buffer_bytes) {
count             299 sound/pci/vx222/vx222_ops.c 		count -= length;
count             307 sound/pci/vx222/vx222_ops.c 	pipe->hw_ptr += count;
count             308 sound/pci/vx222/vx222_ops.c 	count >>= 2; /* in 32bit words */
count             310 sound/pci/vx222/vx222_ops.c 	for (; count > 0; count--)
count             859 sound/pci/vx222/vx222_ops.c 	uinfo->count = 2;
count             903 sound/pci/vx222/vx222_ops.c 	uinfo->count = 1;
count            1270 sound/pci/ymfpci/ymfpci_main.c 	uinfo->count = 1;
count            1317 sound/pci/ymfpci/ymfpci_main.c 	uinfo->count = 1;
count            1345 sound/pci/ymfpci/ymfpci_main.c 	uinfo->count = 1;
count            1510 sound/pci/ymfpci/ymfpci_main.c 	uinfo->count = 2;
count            1718 sound/pci/ymfpci/ymfpci_main.c 	uinfo->count = 2;
count            1886 sound/pci/ymfpci/ymfpci_main.c 	unsigned int count;
count            1892 sound/pci/ymfpci/ymfpci_main.c 		count = timer->sticks - 1;
count            1899 sound/pci/ymfpci/ymfpci_main.c 		count = 2 - 1;
count            1901 sound/pci/ymfpci/ymfpci_main.c 	snd_ymfpci_writew(chip, YDSXGR_TIMERCOUNT, count);
count              24 sound/pcmcia/vx/vxp_mixer.c 	uinfo->count = 1;
count             352 sound/pcmcia/vx/vxp_ops.c 			  struct vx_pipe *pipe, int count)
count             359 sound/pcmcia/vx/vxp_ops.c 	if (offset + count >= pipe->buffer_bytes) {
count             361 sound/pcmcia/vx/vxp_ops.c 		count -= length;
count             371 sound/pcmcia/vx/vxp_ops.c 	pipe->hw_ptr += count;
count             372 sound/pcmcia/vx/vxp_ops.c 	count >>= 1; /* in 16bit words */
count             374 sound/pcmcia/vx/vxp_ops.c 	for (; count > 0; count--) {
count             391 sound/pcmcia/vx/vxp_ops.c 			 struct vx_pipe *pipe, int count)
count             398 sound/pcmcia/vx/vxp_ops.c 	if (snd_BUG_ON(count % 2))
count             401 sound/pcmcia/vx/vxp_ops.c 	if (offset + count >= pipe->buffer_bytes) {
count             403 sound/pcmcia/vx/vxp_ops.c 		count -= length;
count             411 sound/pcmcia/vx/vxp_ops.c 	pipe->hw_ptr += count;
count             412 sound/pcmcia/vx/vxp_ops.c 	count >>= 1; /* in 16bit words */
count             414 sound/pcmcia/vx/vxp_ops.c 	for (; count > 1; count--)
count             126 sound/ppc/awacs.c 	uinfo->count = 2;
count             324 sound/ppc/awacs.c 	uinfo->count = 2;
count             390 sound/ppc/awacs.c 	uinfo->count = 1;
count             430 sound/ppc/awacs.c 	uinfo->count = 1;
count             532 sound/ppc/awacs.c 	uinfo->count = 1;
count             165 sound/ppc/beep.c 	uinfo->count = 1;
count             165 sound/ppc/burgundy.c 	uinfo->count = 2;
count             241 sound/ppc/burgundy.c 	uinfo->count = 2;
count             288 sound/ppc/burgundy.c 	uinfo->count = stereo + 1;
count             350 sound/ppc/burgundy.c 	uinfo->count = stereo + 1;
count             406 sound/ppc/burgundy.c 	uinfo->count = stereo + 1;
count             115 sound/ppc/daca.c 	uinfo->count = 2;
count             312 sound/ppc/pmac.c 	int count = 0;
count             319 sound/ppc/pmac.c 		count = in_le16(&cp->res_count);
count             320 sound/ppc/pmac.c 		if (count)
count             321 sound/ppc/pmac.c 			count = rec->period_size - count;
count             324 sound/ppc/pmac.c 	count += rec->cur_period * rec->period_size;
count             326 sound/ppc/pmac.c 	return bytes_to_frames(subs->runtime, count);
count             108 sound/ppc/snd_ps3.c 				   int count, int force_stop)
count             114 sound/ppc/snd_ps3.c 		retries = count;
count             699 sound/ppc/snd_ps3.c 	uinfo->count = 1;
count             112 sound/ppc/tumbler.c 		int err, count = 10;
count             120 sound/ppc/tumbler.c 		} while (count--);
count             246 sound/ppc/tumbler.c 	uinfo->count = 2;
count             393 sound/ppc/tumbler.c 	uinfo->count = 1;
count             515 sound/ppc/tumbler.c 	uinfo->count = 1;
count             660 sound/ppc/tumbler.c 	uinfo->count = 2;
count             476 sound/sh/aica.c 	uinfo->count = 1;
count             174 sound/sh/sh_dac_audio.c 			       void __user *src, unsigned long count)
count             179 sound/sh/sh_dac_audio.c 	if (copy_from_user_toio(chip->data_buffer + pos, src, count))
count             181 sound/sh/sh_dac_audio.c 	chip->buffer_end = chip->data_buffer + pos + count;
count             193 sound/sh/sh_dac_audio.c 				      void *src, unsigned long count)
count             198 sound/sh/sh_dac_audio.c 	memcpy_toio(chip->data_buffer + pos, src, count);
count             199 sound/sh/sh_dac_audio.c 	chip->buffer_end = chip->data_buffer + pos + count;
count             211 sound/sh/sh_dac_audio.c 				  unsigned long count)
count             216 sound/sh/sh_dac_audio.c 	memset_io(chip->data_buffer + pos, 0, count);
count             217 sound/sh/sh_dac_audio.c 	chip->buffer_end = chip->data_buffer + pos + count;
count             130 sound/soc/amd/acp-da7219-max98357a.c 	.count = ARRAY_SIZE(rates),
count             136 sound/soc/amd/acp-da7219-max98357a.c 	.count = ARRAY_SIZE(channels),
count             457 sound/soc/amd/acp-pcm-dma.c 	u32 count = ACP_DMA_RESET_TIME;
count             494 sound/soc/amd/acp-pcm-dma.c 		if (--count == 0) {
count             554 sound/soc/amd/acp-pcm-dma.c 	u32 val, count, sram_pte_offset;
count             562 sound/soc/amd/acp-pcm-dma.c 	count = ACP_SOFT_RESET_DONE_TIME_OUT_VALUE;
count             568 sound/soc/amd/acp-pcm-dma.c 		if (--count == 0) {
count             580 sound/soc/amd/acp-pcm-dma.c 	count = ACP_CLOCK_EN_TIME_OUT_VALUE;
count             586 sound/soc/amd/acp-pcm-dma.c 		if (--count == 0) {
count             648 sound/soc/amd/acp-pcm-dma.c 	u32 count;
count             656 sound/soc/amd/acp-pcm-dma.c 	count = ACP_SOFT_RESET_DONE_TIME_OUT_VALUE;
count             662 sound/soc/amd/acp-pcm-dma.c 		if (--count == 0) {
count             673 sound/soc/amd/acp-pcm-dma.c 	count = ACP_CLOCK_EN_TIME_OUT_VALUE;
count             679 sound/soc/amd/acp-pcm-dma.c 		if (--count == 0) {
count             155 sound/soc/atmel/atmel-pcm-pdc.c 	static int count;
count             157 sound/soc/atmel/atmel-pcm-pdc.c 	count++;
count             163 sound/soc/atmel/atmel-pcm-pdc.c 				params->name, ssc_sr, count);
count             243 sound/soc/bcm/cygnus-ssp.c 	.count = ARRAY_SIZE(cygnus_rates),
count              70 sound/soc/codecs/ab8500-codec.c 		{.count = xcount, .min = xmin, .max = xmax} }
count              74 sound/soc/codecs/ab8500-codec.c 	unsigned int count;
count            1281 sound/soc/codecs/ab8500-codec.c 	uinfo->count = fc->count;
count            1298 sound/soc/codecs/ab8500-codec.c 	for (i = 0; i < fc->count; i++)
count            1315 sound/soc/codecs/ab8500-codec.c 	for (i = 0; i < fc->count; i++)
count              43 sound/soc/codecs/ad193x.c 	.count = ARRAY_SIZE(ad193x_sb),
count             924 sound/soc/codecs/adau1977.c 	adau1977->constraints.count = ARRAY_SIZE(adau1977_rates);
count             478 sound/soc/codecs/ak4458.c 	.count = ARRAY_SIZE(ak4458_rates),
count             276 sound/soc/codecs/ak4613.c 	constraint->count	= 0;
count             294 sound/soc/codecs/ak4613.c 			constraint->count = i + 1;
count             230 sound/soc/codecs/ak5558.c 	.count = ARRAY_SIZE(ak5558_rates),
count            1611 sound/soc/codecs/arizona.c 	.count	= ARRAY_SIZE(arizona_sr_vals),
count            2793 sound/soc/codecs/arizona.c 	int count = 0;
count            2795 sound/soc/codecs/arizona.c 	count = 0;
count            2797 sound/soc/codecs/arizona.c 		if (count == ARRAY_SIZE(pdata->inmode))
count            2800 sound/soc/codecs/arizona.c 		pdata->inmode[count] = val;
count            2801 sound/soc/codecs/arizona.c 		count++;
count            2804 sound/soc/codecs/arizona.c 	count = 0;
count            2806 sound/soc/codecs/arizona.c 		if (count == ARRAY_SIZE(pdata->dmic_ref))
count            2809 sound/soc/codecs/arizona.c 		pdata->dmic_ref[count] = val;
count            2810 sound/soc/codecs/arizona.c 		count++;
count            2813 sound/soc/codecs/arizona.c 	count = 0;
count            2815 sound/soc/codecs/arizona.c 		if (count == ARRAY_SIZE(pdata->out_mono))
count            2818 sound/soc/codecs/arizona.c 		pdata->out_mono[count] = !!val;
count            2819 sound/soc/codecs/arizona.c 		count++;
count            2822 sound/soc/codecs/arizona.c 	count = 0;
count            2824 sound/soc/codecs/arizona.c 		if (count == ARRAY_SIZE(pdata->max_channels_clocked))
count            2827 sound/soc/codecs/arizona.c 		pdata->max_channels_clocked[count] = val;
count            2828 sound/soc/codecs/arizona.c 		count++;
count            2831 sound/soc/codecs/arizona.c 	count = 0;
count            2833 sound/soc/codecs/arizona.c 		if (count == ARRAY_SIZE(pdata->out_vol_limit))
count            2836 sound/soc/codecs/arizona.c 		pdata->out_vol_limit[count] = val;
count            2837 sound/soc/codecs/arizona.c 		count++;
count            2844 sound/soc/codecs/arizona.c 		for (count = 0; count < ARRAY_SIZE(pdata->spk_fmt); ++count)
count            2845 sound/soc/codecs/arizona.c 			pdata->spk_fmt[count] = pdm_val[count];
count            2851 sound/soc/codecs/arizona.c 		for (count = 0; count < ARRAY_SIZE(pdata->spk_mute); ++count)
count            2852 sound/soc/codecs/arizona.c 			pdata->spk_mute[count] = pdm_val[count];
count             516 sound/soc/codecs/cs35l33.c 	.count  = ARRAY_SIZE(cs35l33_src_rates),
count             572 sound/soc/codecs/cs35l34.c 	.count  = ARRAY_SIZE(cs35l34_src_rates),
count             599 sound/soc/codecs/cs35l35.c 	.count  = ARRAY_SIZE(cs35l35_src_rates),
count             627 sound/soc/codecs/cs35l35.c 	.count  = ARRAY_SIZE(cs35l35_pdm_rates),
count             959 sound/soc/codecs/cs35l36.c 	.count  = ARRAY_SIZE(cs35l36_src_rates),
count            1543 sound/soc/codecs/cs35l36.c 	int ret, count;
count            1579 sound/soc/codecs/cs35l36.c 	count = 0;
count            1582 sound/soc/codecs/cs35l36.c 		count++;
count            1592 sound/soc/codecs/cs35l36.c 		if (count >= 100)
count             960 sound/soc/codecs/cs42l52.c 			       const char *buf, size_t count)
count             972 sound/soc/codecs/cs42l52.c 	return count;
count            1024 sound/soc/codecs/cs42l56.c 			       const char *buf, size_t count)
count            1036 sound/soc/codecs/cs42l56.c 	return count;
count            1140 sound/soc/codecs/cs42l73.c 	.count  = ARRAY_SIZE(cs42l73_asrc_rates),
count            1440 sound/soc/codecs/cs43130.c 	.count	= ARRAY_SIZE(cs43130_asp_src_rates),
count            1457 sound/soc/codecs/cs43130.c 	.count	= ARRAY_SIZE(cs43130_dop_src_rates),
count             747 sound/soc/codecs/cs53l30.c 	.count = ARRAY_SIZE(cs53l30_src_rates),
count             263 sound/soc/codecs/cx20442.c 				const unsigned char *cp, char *fp, int count)
count             369 sound/soc/codecs/es8316.c 	int count = 0;
count             375 sound/soc/codecs/es8316.c 		es8316->sysclk_constraints.count = 0;
count             391 sound/soc/codecs/es8316.c 			es8316->allowed_rates[count++] = freq / ratio;
count             395 sound/soc/codecs/es8316.c 	es8316->sysclk_constraints.count = count;
count              35 sound/soc/codecs/es8328.c 	.count	= ARRAY_SIZE(rates_12288),
count              48 sound/soc/codecs/es8328.c 	.count	= ARRAY_SIZE(rates_11289),
count             495 sound/soc/codecs/es8328.c 		for (i = 0; i < es8328->sysclk_constraints->count; i++)
count             500 sound/soc/codecs/es8328.c 		if (i == es8328->sysclk_constraints->count) {
count             741 sound/soc/codecs/hdac_hdmi.c 	int count;
count             746 sound/soc/codecs/hdac_hdmi.c 			for (count = 0; count < 10; count++) {
count             295 sound/soc/codecs/hdmi-codec.c 	uinfo->count = FIELD_SIZEOF(struct hdmi_codec_priv, eld);
count              40 sound/soc/codecs/inno_rk3036.c 	uinfo->count = 2;
count              43 sound/soc/codecs/lochnagar-sc.c 	.count = ARRAY_SIZE(lochnagar_sc_chan_vals),
count              53 sound/soc/codecs/lochnagar-sc.c 	.count = ARRAY_SIZE(lochnagar_sc_rate_vals),
count             719 sound/soc/codecs/madera.c 	int count;
count             723 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_FX];
count             727 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ASRC1];
count             731 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ASRC2];
count             735 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ISRC1];
count             739 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ISRC2];
count             743 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ISRC3];
count             747 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_ISRC4];
count             750 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_OUT];
count             753 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_SPD];
count             757 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP1];
count             761 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP2];
count             765 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP3];
count             769 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP4];
count             773 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP5];
count             777 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP6];
count             781 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_DSP7];
count             784 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_AIF1];
count             787 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_AIF2];
count             790 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_AIF3];
count             793 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_AIF4];
count             803 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_SLIMBUS];
count             806 sound/soc/codecs/madera.c 		count = priv->domain_group_ref[MADERA_DOM_GRP_PWM];
count             812 sound/soc/codecs/madera.c 	dev_dbg(priv->madera->dev, "Rate reg 0x%x group ref %d\n", reg, count);
count             814 sound/soc/codecs/madera.c 	if (count)
count            2892 sound/soc/codecs/madera.c 	.count	= ARRAY_SIZE(madera_sr_vals),
count             736 sound/soc/codecs/max98373.c 	int ret, reg, count;
count             746 sound/soc/codecs/max98373.c 	count = 0;
count             747 sound/soc/codecs/max98373.c 	while (count < 3) {
count             753 sound/soc/codecs/max98373.c 			dev_info(dev, "Reset completed (retry:%d)\n", count);
count             756 sound/soc/codecs/max98373.c 		count++;
count             150 sound/soc/codecs/max9867.c 	.count = ARRAY_SIZE(max9867_rates_44k1),
count             159 sound/soc/codecs/max9867.c 	.count = ARRAY_SIZE(max9867_rates_48k),
count             506 sound/soc/codecs/msm8916-wcd-digital.c 	ucontrol->count = params->max;
count             384 sound/soc/codecs/mt6358.c 	int offset = 0, count = 0, reg_idx;
count             400 sound/soc/codecs/mt6358.c 			reg_idx = from + count;
count             402 sound/soc/codecs/mt6358.c 			reg_idx = from - count;
count             412 sound/soc/codecs/mt6358.c 		count++;
count             294 sound/soc/codecs/nau8825.c 	nau8825->xtalk_sem.count = 1;
count             541 sound/soc/codecs/pcm512x.c 	.count = ARRAY_SIZE(pcm512x_dai_rates),
count            1209 sound/soc/codecs/rt1011.c 	uinfo->count = 128;
count            1315 sound/soc/codecs/rt1011.c 	uinfo->count = 1;
count            2036 sound/soc/codecs/rt1011.c 	unsigned int value, count = 0, r0[3];
count            2124 sound/soc/codecs/rt1011.c 		r0[0] = r0[1] = r0[2] = count = 0;
count            2125 sound/soc/codecs/rt1011.c 		while (count < chk_cnt) {
count            2129 sound/soc/codecs/rt1011.c 			r0[count%3] = value << 16;
count            2132 sound/soc/codecs/rt1011.c 			r0[count%3] |= value;
count            2134 sound/soc/codecs/rt1011.c 			if (r0[count%3] == 0)
count            2137 sound/soc/codecs/rt1011.c 			count++;
count            2142 sound/soc/codecs/rt1011.c 		if (count > chk_cnt) {
count            2174 sound/soc/codecs/rt1011.c 		if (count <= chk_cnt) {
count             667 sound/soc/codecs/rt5645.c 	uinfo->count = RT5645_HWEQ_NUM * sizeof(struct rt5645_eq_param_s);
count            3864 sound/soc/codecs/rt5659.c 	int value, count;
count            3914 sound/soc/codecs/rt5659.c 	count = 0;
count            3922 sound/soc/codecs/rt5659.c 		if (count > 30) {
count            3928 sound/soc/codecs/rt5659.c 		count++;
count            3939 sound/soc/codecs/rt5659.c 	count = 0;
count            3947 sound/soc/codecs/rt5659.c 		if (count > 85) {
count            3953 sound/soc/codecs/rt5659.c 		count++;
count            3986 sound/soc/codecs/rt5659.c 	count = 0;
count            3995 sound/soc/codecs/rt5659.c 		if (count > 10) {
count            4001 sound/soc/codecs/rt5659.c 		count++;
count            4019 sound/soc/codecs/rt5659.c 	count = 0;
count            4028 sound/soc/codecs/rt5659.c 		if (count > 35) {
count            4034 sound/soc/codecs/rt5659.c 		count++;
count            3343 sound/soc/codecs/rt5663.c 	int value, count;
count            3369 sound/soc/codecs/rt5663.c 	count = 0;
count            3377 sound/soc/codecs/rt5663.c 		if (++count > 200)
count            3417 sound/soc/codecs/rt5663.c 	count = 0;
count            3425 sound/soc/codecs/rt5663.c 		if (count > 200)
count            3427 sound/soc/codecs/rt5663.c 		count++;
count            3434 sound/soc/codecs/rt5663.c 	count = 0;
count            3442 sound/soc/codecs/rt5663.c 		if (count > 200)
count            3444 sound/soc/codecs/rt5663.c 		count++;
count            4669 sound/soc/codecs/rt5665.c 	int value, count;
count            4696 sound/soc/codecs/rt5665.c 	count = 0;
count            4704 sound/soc/codecs/rt5665.c 		if (count > 60) {
count            4711 sound/soc/codecs/rt5665.c 		count++;
count            4715 sound/soc/codecs/rt5665.c 	count = 0;
count            4723 sound/soc/codecs/rt5665.c 		if (count > 60) {
count            4730 sound/soc/codecs/rt5665.c 		count++;
count             901 sound/soc/codecs/rt5668.c 	unsigned int val, count;
count             909 sound/soc/codecs/rt5668.c 		count = 0;
count             912 sound/soc/codecs/rt5668.c 		while (val == 0 && count < 50) {
count             916 sound/soc/codecs/rt5668.c 			count++;
count            2403 sound/soc/codecs/rt5668.c 	int value, count;
count            2435 sound/soc/codecs/rt5668.c 	for (count = 0; count < 60; count++) {
count            2443 sound/soc/codecs/rt5668.c 	if (count >= 60)
count             911 sound/soc/codecs/rt5682.c 	unsigned int val, count;
count             929 sound/soc/codecs/rt5682.c 		count = 0;
count             932 sound/soc/codecs/rt5682.c 		while (val == 0 && count < 50) {
count             936 sound/soc/codecs/rt5682.c 			count++;
count            2480 sound/soc/codecs/rt5682.c 	int value, count;
count            2506 sound/soc/codecs/rt5682.c 	for (count = 0; count < 60; count++) {
count            2514 sound/soc/codecs/rt5682.c 	if (count >= 60)
count             511 sound/soc/codecs/sgtl5000.c 	uinfo->count = 2;
count             110 sound/soc/codecs/sigmadsp.c 	info->count = ctrl->num_bytes;
count             290 sound/soc/codecs/sigmadsp.c 	if (sigmadsp->rate_constraints.count)
count             300 sound/soc/codecs/sigmadsp.c 	sigmadsp->rate_constraints.count = num_rates;
count             592 sound/soc/codecs/sigmadsp.c 	for (i = 0; i < sigmadsp->rate_constraints.count; i++) {
count             608 sound/soc/codecs/sigmadsp.c 	if (sigmadsp->rate_constraints.count) {
count             804 sound/soc/codecs/sigmadsp.c 	if (sigmadsp->rate_constraints.count == 0)
count             281 sound/soc/codecs/ssm2518.c 	.count = ARRAY_SIZE(ssm2518_rates_2048000),
count             290 sound/soc/codecs/ssm2518.c 	.count = ARRAY_SIZE(ssm2518_rates_2822000),
count             299 sound/soc/codecs/ssm2518.c 	.count = ARRAY_SIZE(ssm2518_rates_3072000),
count             308 sound/soc/codecs/ssm2518.c 	.count = ARRAY_SIZE(ssm2518_rates_12288000),
count             208 sound/soc/codecs/ssm2602.c 	.count = ARRAY_SIZE(ssm2602_rates_12288000),
count             217 sound/soc/codecs/ssm2602.c 	.count = ARRAY_SIZE(ssm2602_rates_11289600),
count             264 sound/soc/codecs/sta32x.c 	uinfo->count = 3 * numcoef;
count             301 sound/soc/codecs/sta350.c 	uinfo->count = 3 * numcoef;
count             235 sound/soc/codecs/tas571x.c 	uinfo->count = numcoef;
count             149 sound/soc/codecs/tda7419.c 	uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1;
count             280 sound/soc/codecs/tlv320aic26.c 				  const char *buf, size_t count)
count             287 sound/soc/codecs/tlv320aic26.c 	return count;
count             329 sound/soc/codecs/tlv320aic31xx.c 			     int count)
count             332 sound/soc/codecs/tlv320aic31xx.c 	int counter = count;
count             344 sound/soc/codecs/tlv320aic31xx.c 			(count - counter) * sleep);
count             103 sound/soc/codecs/tscs42xx.c 	int count = MAX_PLL_LOCK_20MS_WAITS;
count             115 sound/soc/codecs/tscs42xx.c 	} while (count--);
count             611 sound/soc/codecs/tscs42xx.c 	ucontrol->count = params->max;
count            1493 sound/soc/codecs/tscs454.c 	ucontrol->count = params->max;
count              91 sound/soc/codecs/twl6040.c 	{ .count = ARRAY_SIZE(lp_rates), .list = lp_rates, },
count              92 sound/soc/codecs/twl6040.c 	{ .count = ARRAY_SIZE(hp_rates), .list = hp_rates, },
count             134 sound/soc/codecs/uda1334.c 	uda1334->rate_constraint.count = 0;
count             154 sound/soc/codecs/uda1334.c 			uda1334->rate_constraint.count++;
count             163 sound/soc/codecs/uda1334.c 	if (uda1334->rate_constraint.count == 0)
count             222 sound/soc/codecs/uda1334.c 	uda1334->rate_constraint.count =
count             218 sound/soc/codecs/wm8523.c 	wm8523->rate_constraint.count = 0;
count             241 sound/soc/codecs/wm8523.c 			wm8523->rate_constraint.count++;
count             250 sound/soc/codecs/wm8523.c 	if (wm8523->rate_constraint.count == 0)
count             401 sound/soc/codecs/wm8523.c 	wm8523->rate_constraint.count =
count             102 sound/soc/codecs/wm8524.c 	wm8524->rate_constraint.count = 0;
count             121 sound/soc/codecs/wm8524.c 			wm8524->rate_constraint.count++;
count             130 sound/soc/codecs/wm8524.c 	if (wm8524->rate_constraint.count == 0)
count             189 sound/soc/codecs/wm8524.c 	wm8524->rate_constraint.count =
count             307 sound/soc/codecs/wm8731.c 	.count = ARRAY_SIZE(wm8731_rates_12000000),
count             313 sound/soc/codecs/wm8731.c 	.count = ARRAY_SIZE(wm8731_rates_12288000_18432000),
count             319 sound/soc/codecs/wm8731.c 	.count = ARRAY_SIZE(wm8731_rates_11289600_16934400),
count             108 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_11289),
count             117 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_12288),
count             126 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_16384),
count             135 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_16934),
count             144 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_18432),
count             153 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_22579),
count             162 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_24576),
count             171 sound/soc/codecs/wm8741.c 	.count	= ARRAY_SIZE(rates_36864),
count             208 sound/soc/codecs/wm8741.c 	for (i = 0; i < wm8741->sysclk_constraints->count; i++) {
count             213 sound/soc/codecs/wm8741.c 	if (i == wm8741->sysclk_constraints->count) {
count             490 sound/soc/codecs/wm8958-dsp2.c 	uinfo->count = 1;
count             613 sound/soc/codecs/wm8958-dsp2.c 	uinfo->count = 1;
count             674 sound/soc/codecs/wm8958-dsp2.c 	uinfo->count = 1;
count             780 sound/soc/codecs/wm8958-dsp2.c 	uinfo->count = 1;
count            1538 sound/soc/codecs/wm8962.c 	uinfo->count = 1;
count            3216 sound/soc/codecs/wm8962.c 			       const char *buf, size_t count)
count            3228 sound/soc/codecs/wm8962.c 	return count;
count             526 sound/soc/codecs/wm8988.c 	.count	= ARRAY_SIZE(rates_12288),
count             535 sound/soc/codecs/wm8988.c 	.count	= ARRAY_SIZE(rates_112896),
count             545 sound/soc/codecs/wm8988.c 	.count	= ARRAY_SIZE(rates_12),
count            3883 sound/soc/codecs/wm8994.c 	int reg, count, ret, id_delay;
count            3901 sound/soc/codecs/wm8994.c 	count = 10;
count            3921 sound/soc/codecs/wm8994.c 	} while (count--);
count            3923 sound/soc/codecs/wm8994.c 	if (count == 0)
count             136 sound/soc/codecs/wm9090.c 	int count = 0;
count             140 sound/soc/codecs/wm9090.c 		count++;
count             145 sound/soc/codecs/wm9090.c 		 != WM9090_DCS_CAL_COMPLETE_MASK && count < 1000);
count             667 sound/soc/codecs/wm_adsp.c 					 size_t count, loff_t *ppos)
count             677 sound/soc/codecs/wm_adsp.c 		ret = simple_read_from_buffer(user_buf, count, ppos,
count             687 sound/soc/codecs/wm_adsp.c 					size_t count, loff_t *ppos)
count             697 sound/soc/codecs/wm_adsp.c 		ret = simple_read_from_buffer(user_buf, count, ppos,
count             959 sound/soc/codecs/wm_adsp.c 		uinfo->count = 1;
count             963 sound/soc/codecs/wm_adsp.c 		uinfo->count = ctl->len;
count            2816 sound/soc/codecs/wm_adsp.c 	int ret, count;
count            2819 sound/soc/codecs/wm_adsp.c 	for (count = 0; count < 10; ++count) {
count            2835 sound/soc/codecs/wm_adsp.c 	adsp_dbg(dsp, "RAM ready after %d polls\n", count);
count            4175 sound/soc/codecs/wm_adsp.c 			      char __user *buf, size_t count)
count            4181 sound/soc/codecs/wm_adsp.c 	compr_dbg(compr, "Requested read of %zu bytes\n", count);
count            4188 sound/soc/codecs/wm_adsp.c 	count /= WM_ADSP_DATA_WORD_SIZE;
count            4191 sound/soc/codecs/wm_adsp.c 		nwords = wm_adsp_buffer_capture_block(compr, count);
count            4208 sound/soc/codecs/wm_adsp.c 		count -= nwords;
count            4210 sound/soc/codecs/wm_adsp.c 	} while (nwords > 0 && count > 0);
count            4218 sound/soc/codecs/wm_adsp.c 		       size_t count)
count            4227 sound/soc/codecs/wm_adsp.c 		ret = wm_adsp_compr_read(compr, buf, count);
count             203 sound/soc/codecs/wm_adsp.h 		       char __user *buf, size_t count);
count              63 sound/soc/codecs/wm_hubs.c 	int count = 0;
count              80 sound/soc/codecs/wm_hubs.c 		count++;
count              90 sound/soc/codecs/wm_hubs.c 	} while (reg & op && count < timeout);
count              36 sound/soc/fsl/fsl_asrc.c 	.count = ARRAY_SIZE(supported_asrc_rate),
count             646 sound/soc/fsl/fsl_dma.c 		link->count = cpu_to_be32(period_size);
count             122 sound/soc/fsl/fsl_dma.h 	__be32 count;   /* Byte count */
count              36 sound/soc/fsl/fsl_sai.c 	.count = ARRAY_SIZE(fsl_sai_rates),
count             533 sound/soc/fsl/fsl_sai.c 	u32 xcsr, count = 100;
count             586 sound/soc/fsl/fsl_sai.c 			} while (--count && xcsr & FSL_SAI_CSR_TERE);
count             648 sound/soc/fsl/fsl_spdif.c 	uinfo->count = 1;
count             744 sound/soc/fsl/fsl_spdif.c 	uinfo->count = SPDIF_QSUB_SIZE;
count             776 sound/soc/fsl/fsl_spdif.c 	uinfo->count = 1;
count             804 sound/soc/fsl/fsl_spdif.c 	uinfo->count = 1;
count             871 sound/soc/fsl/fsl_spdif.c 	uinfo->count = 1;
count              41 sound/soc/fsl/imx-audmix.c 	.count = ARRAY_SIZE(imx_audmix_rates),
count              58 sound/soc/fsl/imx-audmux.c 				size_t count, loff_t *ppos)
count             127 sound/soc/fsl/imx-audmux.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count             271 sound/soc/fsl/mpc5200_dma.c 	dma_addr_t count;
count             278 sound/soc/fsl/mpc5200_dma.c 	count = s->period_current * s->period_bytes;
count             280 sound/soc/fsl/mpc5200_dma.c 	return bytes_to_frames(substream->runtime, count);
count             274 sound/soc/img/img-spdif-in.c 	uinfo->count = 1;
count             314 sound/soc/img/img-spdif-in.c 	uinfo->count = IMG_SPDIF_IN_NUM_ACLKGEN;
count             388 sound/soc/img/img-spdif-in.c 	uinfo->count = 1;
count             428 sound/soc/img/img-spdif-in.c 	uinfo->count = 1;
count             486 sound/soc/img/img-spdif-in.c 	uinfo->count = 1;
count             115 sound/soc/img/img-spdif-out.c 	uinfo->count = 1;
count             133 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->count = 1;
count             313 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->count = bc->max;
count             371 sound/soc/intel/atom/sst-atom-controls.c 	uinfo->count = mc->stereo ? 2 : 1;
count             301 sound/soc/intel/atom/sst/sst.h 	unsigned int count;
count             523 sound/soc/intel/atom/sst/sst.h void memcpy32_toio(void __iomem *dst, const void *src, int count);
count             524 sound/soc/intel/atom/sst/sst.h void memcpy32_fromio(void *dst, const void __iomem *src, int count);
count              34 sound/soc/intel/atom/sst/sst_loader.c void memcpy32_toio(void __iomem *dst, const void *src, int count)
count              39 sound/soc/intel/atom/sst/sst_loader.c 	__iowrite32_copy(dst, src, count / 4);
count              42 sound/soc/intel/atom/sst/sst_loader.c void memcpy32_fromio(void *dst, const void __iomem *src, int count)
count              47 sound/soc/intel/atom/sst/sst_loader.c 	__ioread32_copy(dst, src, count / 4);
count             176 sound/soc/intel/atom/sst/sst_loader.c 	u32 count;
count             187 sound/soc/intel/atom/sst/sst_loader.c 	for (count = 0; count < module->blocks; count++) {
count             207 sound/soc/intel/atom/sst/sst_loader.c 					block->type, count);
count             235 sound/soc/intel/atom/sst/sst_loader.c 	u32 count, num_modules;
count             242 sound/soc/intel/atom/sst/sst_loader.c 	for (count = 0; count < num_modules; count++) {
count              63 sound/soc/intel/baytrail/sst-baytrail-dsp.c 	int count;
count              75 sound/soc/intel/baytrail/sst-baytrail-dsp.c 	for (count = 0; count < module->blocks; count++) {
count              78 sound/soc/intel/baytrail/sst-baytrail-dsp.c 			dev_err(dsp->dev, "block %d size invalid\n", count);
count             100 sound/soc/intel/baytrail/sst-baytrail-dsp.c 				block->type, count);
count             119 sound/soc/intel/baytrail/sst-baytrail-dsp.c 	int ret, count;
count             138 sound/soc/intel/baytrail/sst-baytrail-dsp.c 	for (count = 0; count < header->modules; count++) {
count             142 sound/soc/intel/baytrail/sst-baytrail-dsp.c 			dev_err(dsp->dev, "invalid module %d\n", count);
count             258 sound/soc/intel/boards/bxt_da7219_max98357a.c 	.count = ARRAY_SIZE(rates),
count             268 sound/soc/intel/boards/bxt_da7219_max98357a.c 	.count = ARRAY_SIZE(channels),
count             278 sound/soc/intel/boards/bxt_da7219_max98357a.c 	.count = ARRAY_SIZE(channels_quad),
count             345 sound/soc/intel/boards/bxt_da7219_max98357a.c 	.count = ARRAY_SIZE(rates_16000),
count             354 sound/soc/intel/boards/bxt_da7219_max98357a.c 	.count = ARRAY_SIZE(ch_mono),
count             248 sound/soc/intel/boards/bxt_rt298.c 	.count = ARRAY_SIZE(rates),
count             268 sound/soc/intel/boards/bxt_rt298.c 	.count = ARRAY_SIZE(channels_dmic),
count             294 sound/soc/intel/boards/bxt_rt298.c 	.count = ARRAY_SIZE(channels),
count              85 sound/soc/intel/boards/bytcht_nocodec.c 	.count = ARRAY_SIZE(rates_48000),
count             721 sound/soc/intel/boards/bytcr_rt5651.c 	.count = ARRAY_SIZE(rates_48000),
count             245 sound/soc/intel/boards/glk_rt5682_max98357a.c 	.count = ARRAY_SIZE(rates),
count             255 sound/soc/intel/boards/glk_rt5682_max98357a.c 	.count = ARRAY_SIZE(channels),
count             265 sound/soc/intel/boards/glk_rt5682_max98357a.c 	.count = ARRAY_SIZE(channels_quad),
count             305 sound/soc/intel/boards/glk_rt5682_max98357a.c 	.count = ARRAY_SIZE(rates_16000),
count             252 sound/soc/intel/boards/kbl_da7219_max98357a.c 	.count = ARRAY_SIZE(rates),
count             262 sound/soc/intel/boards/kbl_da7219_max98357a.c 	.count = ARRAY_SIZE(channels),
count             272 sound/soc/intel/boards/kbl_da7219_max98357a.c 	.count = ARRAY_SIZE(channels_quad),
count             344 sound/soc/intel/boards/kbl_da7219_max98357a.c 	.count = ARRAY_SIZE(rates_16000),
count             427 sound/soc/intel/boards/kbl_da7219_max98927.c 	.count = ARRAY_SIZE(rates),
count             437 sound/soc/intel/boards/kbl_da7219_max98927.c 	.count = ARRAY_SIZE(channels),
count             447 sound/soc/intel/boards/kbl_da7219_max98927.c 	.count = ARRAY_SIZE(channels_quad),
count             542 sound/soc/intel/boards/kbl_da7219_max98927.c 	.count = ARRAY_SIZE(rates_16000),
count             550 sound/soc/intel/boards/kbl_da7219_max98927.c 	.count = ARRAY_SIZE(ch_mono),
count             277 sound/soc/intel/boards/kbl_rt5660.c 	.count = ARRAY_SIZE(rates),
count             287 sound/soc/intel/boards/kbl_rt5660.c 	.count = ARRAY_SIZE(channels),
count              29 sound/soc/intel/boards/kbl_rt5663_max98927.c #define DMIC_CH(p) p->list[p->count-1]
count             353 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(rates),
count             363 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(channels),
count             509 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(channels_dmic),
count             519 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(dmic_2ch),
count             545 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(rates_16000),
count             554 sound/soc/intel/boards/kbl_rt5663_max98927.c 	.count = ARRAY_SIZE(ch_mono),
count              37 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c #define DMIC_CH(p) p->list[p->count-1]
count             223 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	.count = ARRAY_SIZE(rates),
count             233 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	.count = ARRAY_SIZE(channels),
count             380 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	.count = ARRAY_SIZE(channels_dmic),
count             390 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 	.count = ARRAY_SIZE(dmic_2ch),
count              22 sound/soc/intel/boards/skl_nau88l25_max98357a.c #define DMIC_CH(p)     p->list[p->count-1]
count             252 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(rates),
count             262 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(channels),
count             334 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(channels_dmic),
count             344 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(dmic_2ch),
count             370 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(rates_16000),
count             379 sound/soc/intel/boards/skl_nau88l25_max98357a.c 	.count = ARRAY_SIZE(ch_mono),
count              26 sound/soc/intel/boards/skl_nau88l25_ssm4567.c #define DMIC_CH(p)     p->list[p->count-1]
count             272 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(rates),
count             282 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(channels),
count             372 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(channels_dmic),
count             382 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(dmic_2ch),
count             408 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(rates_16000),
count             417 sound/soc/intel/boards/skl_nau88l25_ssm4567.c 	.count = ARRAY_SIZE(ch_mono),
count             166 sound/soc/intel/boards/skl_rt286.c 	.count = ARRAY_SIZE(rates),
count             176 sound/soc/intel/boards/skl_rt286.c 	.count = ARRAY_SIZE(channels),
count             265 sound/soc/intel/boards/skl_rt286.c 	.count = ARRAY_SIZE(channels_dmic),
count              85 sound/soc/intel/haswell/sst-haswell-dsp.c 	int count, ret;
count             119 sound/soc/intel/haswell/sst-haswell-dsp.c 	for (count = 0; count < le32_to_cpu(module->blocks); count++) {
count             123 sound/soc/intel/haswell/sst-haswell-dsp.c 				"error: block %d size invalid\n", count);
count             143 sound/soc/intel/haswell/sst-haswell-dsp.c 				block->type, count);
count             154 sound/soc/intel/haswell/sst-haswell-dsp.c 			count, mod->type, block->size, ram,
count             160 sound/soc/intel/haswell/sst-haswell-dsp.c 				count);
count             178 sound/soc/intel/haswell/sst-haswell-dsp.c 	int ret, count;
count             197 sound/soc/intel/haswell/sst-haswell-dsp.c 	for (count = 0; count < le32_to_cpu(header->modules); count++) {
count             202 sound/soc/intel/haswell/sst-haswell-dsp.c 			dev_err(dsp->dev, "error: invalid module %d\n", count);
count              68 sound/soc/intel/skylake/skl-debug.c 			   size_t count, loff_t *ppos)
count             152 sound/soc/intel/skylake/skl-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count             174 sound/soc/intel/skylake/skl-debug.c 			       size_t count, loff_t *ppos)
count             206 sound/soc/intel/skylake/skl-debug.c 	ret = simple_read_from_buffer(user_buf, count, ppos, tmp, ret);
count             288 sound/soc/intel/skylake/skl-messages.c 	cores->count = ops->num_cores;
count             290 sound/soc/intel/skylake/skl-messages.c 	cores->state = kcalloc(cores->count, sizeof(*cores->state), GFP_KERNEL);
count             296 sound/soc/intel/skylake/skl-messages.c 	cores->usage_count = kcalloc(cores->count, sizeof(*cores->usage_count),
count             411 sound/soc/intel/skylake/skl-messages.c 		skl_dsp_set_astate_cfg(skl, skl->cfg.astate_cfg->count,
count            1451 sound/soc/intel/skylake/skl-pcm.c 					skl->cfg.astate_cfg->count,
count             108 sound/soc/intel/skylake/skl-sst-cldma.c 		u32 count)
count             117 sound/soc/intel/skylake/skl-sst-cldma.c 	sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_LVI, count - 1);
count              42 sound/soc/intel/skylake/skl-sst-dsp.c 	for (i = SKL_DSP_CORE0_ID + 1; i < skl->cores.count; i++) {
count              55 sound/soc/intel/skylake/skl-sst-dsp.c 	core_mask = SKL_DSP_CORES_MASK(skl->cores.count);
count             341 sound/soc/intel/skylake/skl-sst-dsp.c 	if (core_id >= skl->cores.count) {
count             370 sound/soc/intel/skylake/skl-sst-dsp.c 	if (core_id >= skl->cores.count) {
count              40 sound/soc/intel/skylake/skl-sst-ipc.h 	unsigned int count;
count            3179 sound/soc/intel/skylake/skl-topology.c 	static int astate_cfg_idx, count;
count            3232 sound/soc/intel/skylake/skl-topology.c 		count = skl->cfg.astate_cfg->count = tkn_elem->value;
count            3236 sound/soc/intel/skylake/skl-topology.c 		if (tkn_elem->value >= count) {
count              51 sound/soc/intel/skylake/skl.h 	u32 count;
count             204 sound/soc/kirkwood/kirkwood-dma.c 	unsigned long size, count;
count             209 sound/soc/kirkwood/kirkwood-dma.c 	count = snd_pcm_lib_period_bytes(substream);
count             212 sound/soc/kirkwood/kirkwood-dma.c 		writel(count, priv->io + KIRKWOOD_PLAY_BYTE_INT_COUNT);
count             216 sound/soc/kirkwood/kirkwood-dma.c 		writel(count, priv->io + KIRKWOOD_REC_BYTE_INT_COUNT);
count             229 sound/soc/kirkwood/kirkwood-dma.c 	snd_pcm_uframes_t count;
count             232 sound/soc/kirkwood/kirkwood-dma.c 		count = bytes_to_frames(substream->runtime,
count             235 sound/soc/kirkwood/kirkwood-dma.c 		count = bytes_to_frames(substream->runtime,
count             238 sound/soc/kirkwood/kirkwood-dma.c 	return count;
count             275 sound/soc/mediatek/common/mtk-btcvsd.c 	int count = bytes;
count             280 sound/soc/mediatek/common/mtk-btcvsd.c 		count = count >> 2;
count             282 sound/soc/mediatek/common/mtk-btcvsd.c 		count = count >> 1;
count             284 sound/soc/mediatek/common/mtk-btcvsd.c 	count = count / runtime->channels;
count             285 sound/soc/mediatek/common/mtk-btcvsd.c 	return count;
count             700 sound/soc/mediatek/common/mtk-btcvsd.c 				   size_t count)
count             708 sound/soc/mediatek/common/mtk-btcvsd.c 	while (count) {
count             727 sound/soc/mediatek/common/mtk-btcvsd.c 		if (count % packet_size != 0 ||
count             730 sound/soc/mediatek/common/mtk-btcvsd.c 				 __func__, count, avail, packet_size);
count             732 sound/soc/mediatek/common/mtk-btcvsd.c 			count -= count % packet_size;
count             736 sound/soc/mediatek/common/mtk-btcvsd.c 		if (count > avail)
count             739 sound/soc/mediatek/common/mtk-btcvsd.c 			read_size = count;
count             760 sound/soc/mediatek/common/mtk-btcvsd.c 		count -= read_size;
count             781 sound/soc/mediatek/common/mtk-btcvsd.c 				    size_t count)
count             783 sound/soc/mediatek/common/mtk-btcvsd.c 	int written_size = count, avail = 0, cur_write_idx, write_size, cont;
count             800 sound/soc/mediatek/common/mtk-btcvsd.c 	while (count) {
count             820 sound/soc/mediatek/common/mtk-btcvsd.c 		if (count % packet_size != 0 ||
count             823 sound/soc/mediatek/common/mtk-btcvsd.c 				 __func__, count, avail, packet_size);
count             824 sound/soc/mediatek/common/mtk-btcvsd.c 			count -= count % packet_size;
count             828 sound/soc/mediatek/common/mtk-btcvsd.c 		if (count > avail)
count             831 sound/soc/mediatek/common/mtk-btcvsd.c 			write_size = count;
count             851 sound/soc/mediatek/common/mtk-btcvsd.c 		count -= write_size;
count            1049 sound/soc/mediatek/common/mtk-btcvsd.c 			       void __user *buf, unsigned long count)
count            1057 sound/soc/mediatek/common/mtk-btcvsd.c 		mtk_btcvsd_snd_write(bt, buf, count);
count            1059 sound/soc/mediatek/common/mtk-btcvsd.c 		mtk_btcvsd_snd_read(bt, buf, count);
count             102 sound/soc/mediatek/mt2701/mt2701-cs42448.c 		.count = ARRAY_SIZE(mt2701_cs42448_sampling_rates),
count              72 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c 		.count = ARRAY_SIZE(rates),
count              80 sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c 		.count = ARRAY_SIZE(channels),
count             357 sound/soc/meson/axg-pdm.c 	unsigned int count = 0;
count             361 sound/soc/meson/axg-pdm.c 		count += lpf[i].tap_num;
count             364 sound/soc/meson/axg-pdm.c 	if (count >= PDM_LPF_MAX_STAGE)
count             279 sound/soc/meson/axg-spdifin.c 	uinfo->count = 1;
count             353 sound/soc/meson/axg-spdifin.c 	uinfo->count = 1;
count             153 sound/soc/qcom/qdsp6/q6asm-dai.c 	.count = ARRAY_SIZE(supported_sample_rates),
count             736 sound/soc/qcom/qdsp6/q6asm-dai.c 				size_t count)
count             743 sound/soc/qcom/qdsp6/q6asm-dai.c 	prtd->bytes_received += count;
count             746 sound/soc/qcom/qdsp6/q6asm-dai.c 	return count;
count              79 sound/soc/rockchip/rockchip_pdm.c 	unsigned int i, count, clk, div, rate;
count              85 sound/soc/rockchip/rockchip_pdm.c 	count = ARRAY_SIZE(clkref);
count              86 sound/soc/rockchip/rockchip_pdm.c 	for (i = 0; i < count; i++) {
count             110 sound/soc/rockchip/rockchip_pdm.c 	unsigned int i, count, ratio;
count             116 sound/soc/rockchip/rockchip_pdm.c 	count = ARRAY_SIZE(ds_ratio);
count             117 sound/soc/rockchip/rockchip_pdm.c 	for (i = 0; i < count; i++) {
count              30 sound/soc/samsung/h1940_uda1380.c 	.count = ARRAY_SIZE(rates),
count              41 sound/soc/samsung/rx1950_uda1380.c 	.count = ARRAY_SIZE(rates),
count              44 sound/soc/samsung/s3c24xx_uda134x.c 	.count	= ARRAY_SIZE(rates),
count             244 sound/soc/sh/fsi.c 	unsigned int count;
count             742 sound/soc/sh/fsi.c 	clock->count	= 0;
count             812 sound/soc/sh/fsi.c 	if (0 == clock->count) {
count             823 sound/soc/sh/fsi.c 		clock->count++;
count             837 sound/soc/sh/fsi.c 	if (1 == clock->count--) {
count             415 sound/soc/sh/rcar/adg.c 	uint32_t count = 0;
count             522 sound/soc/sh/rcar/adg.c 	of_property_read_u32(np, "#clock-cells", &count);
count             526 sound/soc/sh/rcar/adg.c 	if (!count) {
count             990 sound/soc/sh/rcar/core.c 	constraint->count	= 0;
count             996 sound/soc/sh/rcar/core.c 		constraint->count = i + 1;
count            1484 sound/soc/sh/rcar/core.c 		uinfo->count = cfg->size;
count            1492 sound/soc/sh/rcar/core.c 		uinfo->count = cfg->size;
count             345 sound/soc/sh/siu_dai.c 	uinfo->count = 2;
count             218 sound/soc/sh/siu_pcm.c 		size_t count;
count             227 sound/soc/sh/siu_pcm.c 		count = siu_stream->period_bytes;
count             230 sound/soc/sh/siu_pcm.c 		siu_pcm_rd_set(port_info, buff, count);
count              56 sound/soc/soc-acpi.c 		if (!myobj || myobj->package.count != pkg_ctx->length) {
count             734 sound/soc/soc-compress.c 			  char __user *buf, size_t count)
count             750 sound/soc/soc-compress.c 		ret = component->driver->compr_ops->copy(cstream, buf, count);
count             103 sound/soc/soc-core.c 			       const char *buf, size_t count)
count             112 sound/soc/soc-core.c 	return count;
count            2611 sound/soc/soc-core.c 				 size_t count)
count            2618 sound/soc/soc-core.c 	dev_dbg(dev, "ASoC: dai register %s #%zu\n", dev_name(dev), count);
count            2620 sound/soc/soc-core.c 	for (i = 0; i < count; i++) {
count            2622 sound/soc/soc-core.c 		dai = soc_add_dai(component, dai_drv + i, count == 1 &&
count            2097 sound/soc/soc-dapm.c 					   size_t count, loff_t *ppos)
count            2157 sound/soc/soc-dapm.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
count            2170 sound/soc/soc-dapm.c 				   size_t count, loff_t *ppos)
count            2194 sound/soc/soc-dapm.c 	return simple_read_from_buffer(user_buf, count, ppos, level,
count            2384 sound/soc/soc-dapm.c 	int count = 0;
count            2417 sound/soc/soc-dapm.c 				count += sprintf(buf + count, "%s: %s\n",
count            2439 sound/soc/soc-dapm.c 	count += sprintf(buf + count, "PM State: %s\n", state);
count            2441 sound/soc/soc-dapm.c 	return count;
count            2450 sound/soc/soc-dapm.c 	int i, count = 0;
count            2457 sound/soc/soc-dapm.c 		count += dapm_widget_show_component(cmpnt, buf + count);
count            2462 sound/soc/soc-dapm.c 	return count;
count            3125 sound/soc/soc-dapm.c 	int count = 0;
count            3146 sound/soc/soc-dapm.c 			count++;
count            3150 sound/soc/soc-dapm.c 	if (count == 0)
count            3153 sound/soc/soc-dapm.c 	if (count > 1)
count            3155 sound/soc/soc-dapm.c 			 count, route->source, route->sink);
count            3540 sound/soc/soc-dapm.c 	uinfo->count = 1;
count            4040 sound/soc/soc-dapm.c 	int count;
count            4047 sound/soc/soc-dapm.c 	for (count = 0 ; count < num_params; count++)
count            4048 sound/soc/soc-dapm.c 		devm_kfree(card->dev, (void *)w_param_text[count]);
count            4069 sound/soc/soc-dapm.c 	int count;
count            4071 sound/soc/soc-dapm.c 	for (count = 0 ; count < num_params; count++) {
count            4075 sound/soc/soc-dapm.c 				count, link_name);
count            4076 sound/soc/soc-dapm.c 			w_param_text[count] =
count            4079 sound/soc/soc-dapm.c 					       count);
count            4081 sound/soc/soc-dapm.c 			w_param_text[count] = devm_kmemdup(card->dev,
count            4086 sound/soc/soc-dapm.c 		if (!w_param_text[count])
count              21 sound/soc/soc-jack.c 	int count;
count             135 sound/soc/soc-jack.c int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
count             140 sound/soc/soc-jack.c 	for (i = 0; i < count; i++) {
count             182 sound/soc/soc-jack.c int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
count             187 sound/soc/soc-jack.c 	for (i = 0; i < count; i++) {
count             318 sound/soc/soc-jack.c static void jack_free_gpios(struct snd_soc_jack *jack, int count,
count             323 sound/soc/soc-jack.c 	for (i = 0; i < count; i++) {
count             337 sound/soc/soc-jack.c 	jack_free_gpios(tbl->jack, tbl->count, tbl->gpios);
count             350 sound/soc/soc-jack.c int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
count             360 sound/soc/soc-jack.c 	tbl->count = count;
count             363 sound/soc/soc-jack.c 	for (i = 0; i < count; i++) {
count             465 sound/soc/soc-jack.c 			    int count, struct snd_soc_jack_gpio *gpios)
count             469 sound/soc/soc-jack.c 	for (i = 0; i < count; i++)
count             472 sound/soc/soc-jack.c 	return snd_soc_jack_add_gpios(jack, count, gpios);
count             485 sound/soc/soc-jack.c void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
count             488 sound/soc/soc-jack.c 	jack_free_gpios(jack, count, gpios);
count             197 sound/soc/soc-ops.c 	uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1;
count             468 sound/soc/soc-ops.c 	uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1;
count             629 sound/soc/soc-ops.c 	uinfo->count = params->num_regs * component->val_bytes;
count             761 sound/soc/soc-ops.c 	ucontrol->count = params->max;
count             771 sound/soc/soc-ops.c 	unsigned int count = size < params->max ? size : params->max;
count             777 sound/soc/soc-ops.c 			ret = params->get(kcontrol, tlv, count);
count             781 sound/soc/soc-ops.c 			ret = params->put(kcontrol, tlv, count);
count             805 sound/soc/soc-ops.c 	uinfo->count = 1;
count            1544 sound/soc/soc-pcm.c 	int err, count = 0;
count            1594 sound/soc/soc-pcm.c 		count++;
count            1597 sound/soc/soc-pcm.c 	return count;
count            2672 sound/soc/soc-pcm.c 	int count, paths;
count            2702 sound/soc/soc-pcm.c 	count = dpcm_process_paths(fe, SNDRV_PCM_STREAM_PLAYBACK, &list, new);
count            2703 sound/soc/soc-pcm.c 	if (count) {
count            2733 sound/soc/soc-pcm.c 	count = dpcm_process_paths(fe, SNDRV_PCM_STREAM_CAPTURE, &list, new);
count            2734 sound/soc/soc-pcm.c 	if (count) {
count            3226 sound/soc/soc-pcm.c 				size_t count, loff_t *ppos)
count            3244 sound/soc/soc-pcm.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, offset);
count              88 sound/soc/soc-topology.c 	unsigned int count, size_t bytes, const char *elem_type)
count              90 sound/soc/soc-topology.c 	const u8 *end = tplg->pos + elem_size * count;
count             100 sound/soc/soc-topology.c 	if (elem_size * count > bytes) {
count             103 sound/soc/soc-topology.c 			elem_type, count, elem_size, bytes);
count             747 sound/soc/soc-topology.c static int soc_tplg_dbytes_create(struct soc_tplg *tplg, unsigned int count,
count             756 sound/soc/soc-topology.c 		sizeof(struct snd_soc_tplg_bytes_control), count,
count             759 sound/soc/soc-topology.c 			count);
count             763 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count             827 sound/soc/soc-topology.c static int soc_tplg_dmixer_create(struct soc_tplg *tplg, unsigned int count,
count             837 sound/soc/soc-topology.c 		count, size, "mixers")) {
count             840 sound/soc/soc-topology.c 			count);
count             844 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            1003 sound/soc/soc-topology.c static int soc_tplg_denum_create(struct soc_tplg *tplg, unsigned int count,
count            1013 sound/soc/soc-topology.c 		count, size, "enums")) {
count            1016 sound/soc/soc-topology.c 			count);
count            1020 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            1135 sound/soc/soc-topology.c 	dev_dbg(tplg->dev, "ASoC: adding %d kcontrols at 0x%lx\n", hdr->count,
count            1138 sound/soc/soc-topology.c 	for (i = 0; i < le32_to_cpu(hdr->count); i++) {
count            1201 sound/soc/soc-topology.c 	int count, i, j;
count            1204 sound/soc/soc-topology.c 	count = le32_to_cpu(hdr->count);
count            1216 sound/soc/soc-topology.c 		count, le32_to_cpu(hdr->payload_size), "graph")) {
count            1219 sound/soc/soc-topology.c 			count);
count            1223 sound/soc/soc-topology.c 	dev_dbg(tplg->dev, "ASoC: adding %d DAPM routes for index %d\n", count,
count            1227 sound/soc/soc-topology.c 	routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *),
count            1237 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            1249 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            1296 sound/soc/soc-topology.c 		for (i = 0; i < count ; i++)
count            1739 sound/soc/soc-topology.c 	int ret, count, i;
count            1741 sound/soc/soc-topology.c 	count = le32_to_cpu(hdr->count);
count            1746 sound/soc/soc-topology.c 	dev_dbg(tplg->dev, "ASoC: adding %d DAPM widgets\n", count);
count            1748 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            2053 sound/soc/soc-topology.c 	int count;
count            2059 sound/soc/soc-topology.c 	count = le32_to_cpu(hdr->count);
count            2075 sound/soc/soc-topology.c 				      size, count,
count            2079 sound/soc/soc-topology.c 			count);
count            2083 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            2117 sound/soc/soc-topology.c 	dev_dbg(tplg->dev, "ASoC: adding %d PCM DAIs\n", count);
count            2298 sound/soc/soc-topology.c 	int count;
count            2303 sound/soc/soc-topology.c 	count = le32_to_cpu(hdr->count);
count            2322 sound/soc/soc-topology.c 				      size, count,
count            2326 sound/soc/soc-topology.c 			count);
count            2331 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            2433 sound/soc/soc-topology.c 	int count;
count            2436 sound/soc/soc-topology.c 	count = le32_to_cpu(hdr->count);
count            2442 sound/soc/soc-topology.c 	for (i = 0; i < count; i++) {
count            2458 sound/soc/soc-topology.c 	dev_dbg(tplg->dev, "ASoC: Configure %d BE DAIs\n", count);
count             123 sound/soc/sof/debug.c 				  size_t count, loff_t *ppos)
count             138 sound/soc/sof/debug.c 	string = kzalloc(count, GFP_KERNEL);
count             142 sound/soc/sof/debug.c 	size = simple_write_to_buffer(string, count, ppos, buffer, count);
count             222 sound/soc/sof/debug.c 				 size_t count, loff_t *ppos)
count             242 sound/soc/sof/debug.c 		count = strlen(dfse->cache_buf);
count             243 sound/soc/sof/debug.c 		size_ret = copy_to_user(buffer, dfse->cache_buf, count);
count             247 sound/soc/sof/debug.c 		*ppos += count;
count             248 sound/soc/sof/debug.c 		return count;
count             256 sound/soc/sof/debug.c 	if (pos >= size || !count)
count             259 sound/soc/sof/debug.c 	if (count > size - pos)
count             260 sound/soc/sof/debug.c 		count = size - pos;
count             266 sound/soc/sof/debug.c 	size = ALIGN(count, 4);
count             312 sound/soc/sof/debug.c 	size_ret = copy_to_user(buffer, buf + skip, count);
count             320 sound/soc/sof/debug.c 	*ppos = pos + count;
count             322 sound/soc/sof/debug.c 	return count;
count              59 sound/soc/sof/intel/hda-ctrl.c 	int count = 0;
count             107 sound/soc/sof/intel/hda-ctrl.c 	} while (count++ <= SOF_HDA_MAX_CAPS && offset);
count             265 sound/soc/sof/loader.c 	int count, bar;
count             276 sound/soc/sof/loader.c 	for (count = 0; count < module->num_blocks; count++) {
count             288 sound/soc/sof/loader.c 				 "warning: block %d size zero\n", count);
count             312 sound/soc/sof/loader.c 				block->type, count);
count             318 sound/soc/sof/loader.c 			count, block->type, block->size, offset);
count             378 sound/soc/sof/loader.c 	int ret, count;
count             395 sound/soc/sof/loader.c 	for (count = 0; count < header->num_modules; count++) {
count             408 sound/soc/sof/loader.c 			dev_err(sdev->dev, "error: invalid module %d\n", count);
count             846 sound/soc/sof/topology.c 				  int count,
count             857 sound/soc/sof/topology.c 		for (j = 0; j < count; j++) {
count             876 sound/soc/sof/topology.c 				    int count,
count             887 sound/soc/sof/topology.c 		for (j = 0; j < count; j++) {
count             906 sound/soc/sof/topology.c 				  int count,
count             921 sound/soc/sof/topology.c 		for (j = 0; j < count; j++) {
count             978 sound/soc/sof/topology.c 			    int count,
count            1006 sound/soc/sof/topology.c 			sof_parse_uuid_tokens(scomp, object, tokens, count,
count            1010 sound/soc/sof/topology.c 			sof_parse_string_tokens(scomp, object, tokens, count,
count            1017 sound/soc/sof/topology.c 			sof_parse_word_tokens(scomp, object, tokens, count,
count              70 sound/soc/sof/trace.c 				       size_t count, loff_t *ppos)
count              85 sound/soc/sof/trace.c 	if (!count)
count              92 sound/soc/sof/trace.c 	if (count > buffer_size - lpos) /* min() not used to avoid sparse warnings */
count              93 sound/soc/sof/trace.c 		count = buffer_size - lpos;
count             103 sound/soc/sof/trace.c 	count = avail > count ? count : avail;
count             106 sound/soc/sof/trace.c 	rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count);
count             110 sound/soc/sof/trace.c 	*ppos += count;
count             113 sound/soc/sof/trace.c 	return count;
count             536 sound/soc/sprd/sprd-pcm-compress.c 				    char __user *buf, size_t count)
count             540 sound/soc/sprd/sprd-pcm-compress.c 	int avail_bytes, data_count = count;
count             608 sound/soc/sprd/sprd-pcm-compress.c 	stream->received_total += count;
count             609 sound/soc/sprd/sprd-pcm-compress.c 	return count;
count             103 sound/soc/sti/sti_uniperif.c 	int count = 10;
count             109 sound/soc/sti/sti_uniperif.c 		while (GET_UNIPERIF_SOFT_RST_SOFT_RST(uni) && count) {
count             111 sound/soc/sti/sti_uniperif.c 			count--;
count             115 sound/soc/sti/sti_uniperif.c 	if (!count) {
count             565 sound/soc/sti/uniperif_player.c 	uinfo->count = 1;
count             630 sound/soc/sti/uniperif_player.c 	uinfo->count = 1;
count             265 sound/soc/stm/stm32_sai_sub.c 	uinfo->count = 1;
count             463 sound/soc/stm/stm32_spdifrx.c 	uinfo->count = 1;
count             472 sound/soc/stm/stm32_spdifrx.c 	uinfo->count = 1;
count             609 sound/soc/sunxi/sun4i-codec.c 	.count  = ARRAY_SIZE(sun4i_codec_src_rates),
count             341 sound/soc/ti/ams-delta.c 				const unsigned char *cp, char *fp, int count)
count             356 sound/soc/ti/ams-delta.c 		v253_ops.receive_buf(tty, cp, fp, count);
count             370 sound/soc/ti/ams-delta.c 	v253_ops.receive_buf(tty, cp, fp, count);
count             372 sound/soc/ti/ams-delta.c 	for (c = &cp[count - 1]; c >= cp; c--) {
count             690 sound/soc/ti/davinci-mcasp.c 	int i, count = 0;
count             696 sound/soc/ti/davinci-mcasp.c 		list[count++] = i;
count             699 sound/soc/ti/davinci-mcasp.c 		list[count++] = i*slots;
count             701 sound/soc/ti/davinci-mcasp.c 	cl->count = count;
count            1382 sound/soc/ti/davinci-mcasp.c 	int i, count = 0;
count            1406 sound/soc/ti/davinci-mcasp.c 				count++;
count            1412 sound/soc/ti/davinci-mcasp.c 		count, rate, slots);
count             393 sound/soc/ti/omap-mcbsp-st.c 	uinfo->count = 1;
count             320 sound/soc/uniphier/aio-compress.c 				   char __user *buf, size_t count)
count             327 sound/soc/uniphier/aio-compress.c 	size_t cnt = min_t(size_t, count, aio_rb_space_to_end(sub) / 2);
count             493 sound/soc/uniphier/aio-cpu.c 	uinfo->count = 1;
count             793 sound/sparc/amd7930.c 	uinfo->count = 1;
count             210 sound/sparc/cs4231.c 	.count	= ARRAY_SIZE(rates),
count            1343 sound/sparc/cs4231.c 	uinfo->count = 1;
count            1408 sound/sparc/cs4231.c 	uinfo->count = 2;
count            2265 sound/sparc/dbri.c 	uinfo->count = 2;
count            2334 sound/sparc/dbri.c 	uinfo->count = 1;
count             464 sound/spi/at73c213.c 	uinfo->count = 2;
count             611 sound/spi/at73c213.c 	uinfo->count = 1;
count             623 sound/spi/at73c213.c 	uinfo->count = 2;
count             636 sound/spi/at73c213.c 	uinfo->count = 1;
count              56 sound/synth/emux/emux.c 				  const void __user *buf, long count)
count              59 sound/synth/emux/emux.c 	return emu->ops.sample_new(emu, sp, hdr, buf, count);
count              24 sound/synth/emux/emux_oss.c 				       const char __user *buf, int offs, int count);
count             191 sound/synth/emux/emux_oss.c 			    const char __user *buf, int offs, int count)
count             208 sound/synth/emux/emux_oss.c 		rc = snd_soundfont_load_guspatch(emu->sflist, buf, count,
count             212 sound/synth/emux/emux_oss.c 		if (count < (int)sizeof(patch))
count             218 sound/synth/emux/emux_oss.c 			rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port));
count             221 sound/synth/emux/emux_oss.c 				rc = emu->ops.load_fx(emu, patch.type, patch.optarg, buf, count);
count              25 sound/synth/emux/soundfont.c 		      int count, int client);
count              40 sound/synth/emux/soundfont.c static int load_map(struct snd_sf_list *sflist, const void __user *data, int count);
count              41 sound/synth/emux/soundfont.c static int load_info(struct snd_sf_list *sflist, const void __user *data, long count);
count              49 sound/synth/emux/soundfont.c static int load_data(struct snd_sf_list *sflist, const void __user *data, long count);
count             117 sound/synth/emux/soundfont.c 		   long count, int client)
count             123 sound/synth/emux/soundfont.c 	if (count < (long)sizeof(patch)) {
count             124 sound/synth/emux/soundfont.c 		snd_printk(KERN_ERR "patch record too small %ld\n", count);
count             130 sound/synth/emux/soundfont.c 	count -= sizeof(patch);
count             137 sound/synth/emux/soundfont.c 	if (count < patch.len) {
count             139 sound/synth/emux/soundfont.c 			   count, patch.len);
count             150 sound/synth/emux/soundfont.c 		rc = open_patch(sflist, data, count, client);
count             167 sound/synth/emux/soundfont.c 		rc = load_info(sflist, data, count);
count             170 sound/synth/emux/soundfont.c 		rc = load_data(sflist, data, count);
count             179 sound/synth/emux/soundfont.c 		rc = load_map(sflist, data, count);
count             220 sound/synth/emux/soundfont.c 	   int count, int client)
count             412 sound/synth/emux/soundfont.c load_map(struct snd_sf_list *sflist, const void __user *data, int count)
count             419 sound/synth/emux/soundfont.c 	if (count < (int)sizeof(map))
count             509 sound/synth/emux/soundfont.c load_info(struct snd_sf_list *sflist, const void __user *data, long count)
count             523 sound/synth/emux/soundfont.c 	if (count < (long)sizeof(hdr)) {
count             531 sound/synth/emux/soundfont.c 	count -= sizeof(hdr);
count             539 sound/synth/emux/soundfont.c 	if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) {
count             542 sound/synth/emux/soundfont.c 		       count, hdr.nvoices);
count             572 sound/synth/emux/soundfont.c 		count -= sizeof(tmpzone.v);
count             695 sound/synth/emux/soundfont.c load_data(struct snd_sf_list *sflist, const void __user *data, long count)
count             714 sound/synth/emux/soundfont.c 	if (sample_info.size != (count-off)/2)
count             741 sound/synth/emux/soundfont.c 			 data + off, count - off);
count             749 sound/synth/emux/soundfont.c 	return count;
count             939 sound/synth/emux/soundfont.c 	      long count, int client)
count             948 sound/synth/emux/soundfont.c 	if (count < (long)sizeof(patch)) {
count             949 sound/synth/emux/soundfont.c 		snd_printk(KERN_ERR "patch record too small %ld\n", count);
count             955 sound/synth/emux/soundfont.c 	count -= sizeof(patch);
count            1010 sound/synth/emux/soundfont.c 			 data, count);
count            1117 sound/synth/emux/soundfont.c 			    long count, int client)
count            1121 sound/synth/emux/soundfont.c 	rc = load_guspatch(sflist, data, count, client);
count             179 sound/usb/6fire/control.c 	uinfo->count = 2;
count             283 sound/usb/6fire/control.c 	uinfo->count = 2;
count              29 sound/usb/caiaq/control.c 	uinfo->count = 1;
count              67 sound/usb/hiface/pcm.c 	.count = ARRAY_SIZE(rates),
count             340 sound/usb/line6/driver.c 	unsigned count;
count             361 sound/usb/line6/driver.c 	for (count = 0; count < LINE6_READ_WRITE_MAX_RETRIES; count++) {
count             382 sound/usb/line6/driver.c 			count);
count             416 sound/usb/line6/driver.c 	int count;
count             436 sound/usb/line6/driver.c 	for (count = 0; count < LINE6_READ_WRITE_MAX_RETRIES; count++) {
count             458 sound/usb/line6/driver.c 			count);
count             569 sound/usb/line6/driver.c line6_hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
count             592 sound/usb/line6/driver.c 	if (kfifo_peek_len(&line6->messages.fifo) > count) {
count             596 sound/usb/line6/driver.c 		rv = kfifo_to_user(&line6->messages.fifo, buf, count, &out_count);
count             607 sound/usb/line6/driver.c line6_hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count,
count             614 sound/usb/line6/driver.c 	if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) {
count             619 sound/usb/line6/driver.c 	data_copy = memdup_user(data, count);
count             623 sound/usb/line6/driver.c 	rv = line6_send_raw_message(line6, data_copy, count);
count             192 sound/usb/line6/driver.h 			     const char *buf, size_t count);
count              24 sound/usb/line6/pcm.c 	uinfo->count = 1;
count              67 sound/usb/line6/pcm.c 	uinfo->count = 1;
count             192 sound/usb/line6/pcm.c 		pstr->count = 0;
count             393 sound/usb/line6/pcm.c 	uinfo->count = 2;
count             605 sound/usb/line6/pcm.c 		line6pcm->out.count = 0;
count             609 sound/usb/line6/pcm.c 		line6pcm->in.count = 0;
count             106 sound/usb/line6/pcm.h 	unsigned count;
count             177 sound/usb/line6/playback.c 			line6pcm->out.count += frame_increment;
count             178 sound/usb/line6/playback.c 			n = line6pcm->out.count / frame_factor;
count             179 sound/usb/line6/playback.c 			line6pcm->out.count -= n * frame_factor;
count             318 sound/usb/line6/pod.c 	uinfo->count = 1;
count             146 sound/usb/line6/toneport.c 	uinfo->count = 1;
count             195 sound/usb/line6/toneport.c 	uinfo->count = 1;
count             742 sound/usb/midi.c 	int pos, end, count, buf_end;
count             754 sound/usb/midi.c 		count = snd_rawmidi_transmit_peek(substream,
count             756 sound/usb/midi.c 		if (!count) {
count             761 sound/usb/midi.c 		for (pos = 0; pos < count && tmp[pos] != 0xF0; pos++)
count             770 sound/usb/midi.c 		for (end = 1; end < count && tmp[end] < 0xF0; end++)
count             774 sound/usb/midi.c 		if (end < count && tmp[end] == 0xF0) {
count             780 sound/usb/midi.c 		if (end < count && tmp[end] == 0xF7) {
count             782 sound/usb/midi.c 			count = end + 1;
count             783 sound/usb/midi.c 			msg[0] = 0x10 | count;
count             784 sound/usb/midi.c 			memcpy(&msg[1], tmp, count);
count             785 sound/usb/midi.c 			snd_rawmidi_transmit_ack(substream, count);
count             786 sound/usb/midi.c 			urb->transfer_buffer_length += count + 1;
count             787 sound/usb/midi.c 			msg += count + 1;
count             791 sound/usb/midi.c 		if (count < MAX_AKAI_SYSEX_LEN) {
count             796 sound/usb/midi.c 		snd_rawmidi_transmit_ack(substream, count);
count             823 sound/usb/midi.c 	int count;
count             828 sound/usb/midi.c 	count = snd_rawmidi_transmit(ep->ports[0].substream,
count             831 sound/usb/midi.c 	if (count < 1) {
count             836 sound/usb/midi.c 	transfer_buffer[1] = count;
count             837 sound/usb/midi.c 	urb->transfer_buffer_length = 2 + count;
count             858 sound/usb/midi.c 	int count;
count             862 sound/usb/midi.c 	count = snd_rawmidi_transmit(ep->ports[0].substream,
count             865 sound/usb/midi.c 	if (count < 1) {
count             869 sound/usb/midi.c 	urb->transfer_buffer_length = count;
count             908 sound/usb/midi.c 	int count;
count             916 sound/usb/midi.c 		count = 1;
count             919 sound/usb/midi.c 		count = 2;
count             921 sound/usb/midi.c 	count = snd_rawmidi_transmit(ep->ports[0].substream,
count             923 sound/usb/midi.c 				     count);
count             924 sound/usb/midi.c 	if (count < 1) {
count             929 sound/usb/midi.c 	memset(urb->transfer_buffer + count, 0xFD, ep->max_transfer - count);
count             158 sound/usb/mixer.c 		if (p->id == unitid && index < p->count)
count            1309 sound/usb/mixer.c 	uinfo->count = cval->channels;
count            3275 sound/usb/mixer.c 	unsigned int count = 0;
count            3287 sound/usb/mixer.c 		count++;
count            3289 sound/usb/mixer.c 	if (count == 0)
count            3299 sound/usb/mixer.c 		if (count > 1 && info->control != control)
count              22 sound/usb/mixer_maps.c 	int count;
count             179 sound/usb/mixer_maps.c 		.count = 2,
count             188 sound/usb/mixer_maps.c 		.count = 3,
count             193 sound/usb/mixer_maps.c 		.count = 3,
count             198 sound/usb/mixer_maps.c 		.count = 2,
count             211 sound/usb/mixer_quirks.c 				     long count, loff_t *offset)
count             217 sound/usb/mixer_quirks.c 	if (count != 1 && count != 4)
count             222 sound/usb/mixer_quirks.c 		if (count == 1)
count             227 sound/usb/mixer_quirks.c 	return err < 0 ? err : count;
count             846 sound/usb/mixer_quirks.c 					      unsigned int count)
count             857 sound/usb/mixer_quirks.c 	for (i = 0; i < count; i++) {
count            1485 sound/usb/mixer_quirks.c 	uinfo->count = 1;
count            2040 sound/usb/mixer_quirks.c 	uinfo->count = 1;
count             228 sound/usb/mixer_scarlett.c 	uinfo->count = elem->channels;
count             296 sound/usb/mixer_scarlett.c 	uinfo->count = elem->channels;
count             375 sound/usb/mixer_scarlett.c 	uinfo->count = elem->channels;
count             769 sound/usb/mixer_scarlett_gen2.c 	int config_item_num, int count, void *buf)
count             773 sound/usb/mixer_scarlett_gen2.c 	int size = config_item.size * count;
count            1017 sound/usb/mixer_scarlett_gen2.c 	uinfo->count = elem->channels;
count            1472 sound/usb/mixer_scarlett_gen2.c 	uinfo->count = elem->channels;
count            1576 sound/usb/mixer_scarlett_gen2.c 	uinfo->count = elem->channels;
count            1681 sound/usb/mixer_scarlett_gen2.c 	uinfo->count = elem->channels;
count            1743 sound/usb/mixer_scarlett_gen2.c 	int port_type, count = 0;
count            1748 sound/usb/mixer_scarlett_gen2.c 		count += ports[port_type].num[SCARLETT2_PORT_IN];
count            1750 sound/usb/mixer_scarlett_gen2.c 	return count;
count             241 sound/usb/mixer_us16x08.c 	uinfo->count = 1;
count             409 sound/usb/mixer_us16x08.c 	uinfo->count = 1;
count             610 sound/usb/mixer_us16x08.c 	uinfo->count = 1;
count             766 sound/usb/mixer_us16x08.c 	.count = 16,
count             776 sound/usb/mixer_us16x08.c 	.count = 16,
count             786 sound/usb/mixer_us16x08.c 	.count = 16,
count             796 sound/usb/mixer_us16x08.c 	.count = 1,
count             806 sound/usb/mixer_us16x08.c 	.count = 8,
count             816 sound/usb/mixer_us16x08.c 	.count = 1,
count             826 sound/usb/mixer_us16x08.c 	.count = 16,
count             836 sound/usb/mixer_us16x08.c 	.count = 16,
count             847 sound/usb/mixer_us16x08.c 	.count = 16,
count             858 sound/usb/mixer_us16x08.c 	.count = 16,
count             868 sound/usb/mixer_us16x08.c 	.count = 16,
count             879 sound/usb/mixer_us16x08.c 	.count = 16,
count             890 sound/usb/mixer_us16x08.c 	.count = 16,
count             900 sound/usb/mixer_us16x08.c 	.count = 16,
count             910 sound/usb/mixer_us16x08.c 	.count = 16,
count             920 sound/usb/mixer_us16x08.c 	.count = 16,
count             930 sound/usb/mixer_us16x08.c 	.count = 16,
count             941 sound/usb/mixer_us16x08.c 	.count = 16,
count             951 sound/usb/mixer_us16x08.c 	.count = 1,
count            1191 sound/usb/pcm.c 	int count = 0, needs_knot = 0;
count            1200 sound/usb/pcm.c 		count += fp->nr_rates;
count            1208 sound/usb/pcm.c 		kmalloc_array(count, sizeof(int), GFP_KERNEL);
count            1211 sound/usb/pcm.c 	subs->rate_list.count = count;
count            1213 sound/usb/pcm.c 	count = 0;
count            1217 sound/usb/pcm.c 			rate_list[count++] = fp->rate_table[i];
count             931 sound/usb/quirks.c 	int count;
count             942 sound/usb/quirks.c 	count = 0;
count             944 sound/usb/quirks.c 	while ((bootresponse[0] == MBOX2_BOOT_LOADING) && (count < 10)) {
count             952 sound/usb/quirks.c 		count++;
count             126 sound/usb/stream.c 	uinfo->count = subs->channels_max;
count             153 sound/usb/stream.c 	int count = 0;
count             181 sound/usb/stream.c 		count += 8 + ch_bytes;
count             184 sound/usb/stream.c 	if (put_user(count, tlv + 1))
count             117 sound/usb/usx2y/usbusx2yaudio.c 	int count, counts, pack;
count             121 sound/usb/usx2y/usbusx2yaudio.c 	count = 0;
count             125 sound/usb/usx2y/usbusx2yaudio.c 		count += counts;
count             138 sound/usb/usx2y/usbusx2yaudio.c 		if (subs->hwptr + count > runtime->buffer_size) {
count             148 sound/usb/usx2y/usbusx2yaudio.c 			       runtime->dma_area, (count - len) * usX2Y->stride);
count             149 sound/usb/usx2y/usbusx2yaudio.c 			subs->hwptr += count;
count             154 sound/usb/usx2y/usbusx2yaudio.c 			if ((subs->hwptr += count) >= runtime->buffer_size)
count             159 sound/usb/usx2y/usbusx2yaudio.c 	urb->transfer_buffer_length = count * usX2Y->stride;
count             101 sound/usb/usx2y/usx2yhwdeppcm.c 	int count, counts, pack;
count             114 sound/usb/usx2y/usx2yhwdeppcm.c 	count = 0;
count             130 sound/usb/usx2y/usx2yhwdeppcm.c 		count += counts;
count             132 sound/usb/usx2y/usx2yhwdeppcm.c 	urb->transfer_buffer_length = count * usX2Y->stride;
count             537 sound/x86/intel_hdmi_audio.c 	uinfo->count = HAD_MAX_CHANNEL;
count            1416 sound/x86/intel_hdmi_audio.c 	uinfo->count = 1;
count            1470 sound/x86/intel_hdmi_audio.c 	uinfo->count = HDMI_MAX_ELD_BYTES;
count             136 sound/xen/xen_snd_front.c 			       unsigned long pos, unsigned long count)
count             145 sound/xen/xen_snd_front.c 	req->op.rw.length = count;
count             159 sound/xen/xen_snd_front.c 			      unsigned long pos, unsigned long count)
count             168 sound/xen/xen_snd_front.c 	req->op.rw.length = count;
count              46 sound/xen/xen_snd_front.h 			       unsigned long pos, unsigned long count);
count              49 sound/xen/xen_snd_front.h 			      unsigned long pos, unsigned long count);
count             607 sound/xen/xen_snd_front_alsa.c 			     unsigned long count)
count             611 sound/xen/xen_snd_front_alsa.c 	if (unlikely(pos + count > stream->buffer_sz))
count             614 sound/xen/xen_snd_front_alsa.c 	if (copy_from_user(stream->buffer + pos, src, count))
count             617 sound/xen/xen_snd_front_alsa.c 	return xen_snd_front_stream_write(&stream->evt_pair->req, pos, count);
count             622 sound/xen/xen_snd_front_alsa.c 			       unsigned long count)
count             626 sound/xen/xen_snd_front_alsa.c 	if (unlikely(pos + count > stream->buffer_sz))
count             629 sound/xen/xen_snd_front_alsa.c 	memcpy(stream->buffer + pos, src, count);
count             631 sound/xen/xen_snd_front_alsa.c 	return xen_snd_front_stream_write(&stream->evt_pair->req, pos, count);
count             636 sound/xen/xen_snd_front_alsa.c 			      unsigned long count)
count             641 sound/xen/xen_snd_front_alsa.c 	if (unlikely(pos + count > stream->buffer_sz))
count             644 sound/xen/xen_snd_front_alsa.c 	ret = xen_snd_front_stream_read(&stream->evt_pair->req, pos, count);
count             648 sound/xen/xen_snd_front_alsa.c 	return copy_to_user(dst, stream->buffer + pos, count) ?
count             654 sound/xen/xen_snd_front_alsa.c 				unsigned long count)
count             659 sound/xen/xen_snd_front_alsa.c 	if (unlikely(pos + count > stream->buffer_sz))
count             662 sound/xen/xen_snd_front_alsa.c 	ret = xen_snd_front_stream_read(&stream->evt_pair->req, pos, count);
count             666 sound/xen/xen_snd_front_alsa.c 	memcpy(dst, stream->buffer + pos, count);
count             673 sound/xen/xen_snd_front_alsa.c 				unsigned long count)
count             677 sound/xen/xen_snd_front_alsa.c 	if (unlikely(pos + count > stream->buffer_sz))
count             680 sound/xen/xen_snd_front_alsa.c 	memset(stream->buffer + pos, 0, count);
count             682 sound/xen/xen_snd_front_alsa.c 	return xen_snd_front_stream_write(&stream->evt_pair->req, pos, count);
count             276 tools/accounting/getdelays.c 	int count = 0;
count             500 tools/accounting/getdelays.c 						count++;
count               8 tools/arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_SRC reg count target
count              11 tools/arch/x86/include/asm/mcsafe_test.h .macro MCSAFE_TEST_DST reg count target
count             236 tools/arch/x86/include/uapi/asm/kvm.h 	__u32 count; /* can be 65536 */
count              54 tools/bpf/bpf_jit_disasm.c 	int count, i, pc = 0;
count              88 tools/bpf/bpf_jit_disasm.c 		count = disassemble(pc, &info);
count              92 tools/bpf/bpf_jit_disasm.c 			for (i = 0; i < count; ++i)
count              97 tools/bpf/bpf_jit_disasm.c 		pc += count;
count              98 tools/bpf/bpf_jit_disasm.c 	} while(count > 0 && pc < len);
count             126 tools/bpf/bpftool/cgroup.c 		int count = count_attached_bpf_progs(cgroup_fd, type);
count             128 tools/bpf/bpftool/cgroup.c 		if (count < 0 && errno != EINVAL)
count             131 tools/bpf/bpftool/cgroup.c 		if (count > 0) {
count              86 tools/bpf/bpftool/jit_disasm.c 	int count, i, pc = 0;
count             164 tools/bpf/bpftool/jit_disasm.c 		count = disassemble(pc, &info);
count             179 tools/bpf/bpftool/jit_disasm.c 				for (i = 0; i < count; ++i)
count             185 tools/bpf/bpftool/jit_disasm.c 				for (i = 0; i < count; ++i)
count             195 tools/bpf/bpftool/jit_disasm.c 		pc += count;
count             196 tools/bpf/bpftool/jit_disasm.c 	} while (count > 0 && pc < len);
count             123 tools/bpf/bpftool/main.c 	unsigned int count = 0;
count             133 tools/bpf/bpftool/main.c 		count++;
count             134 tools/bpf/bpftool/main.c 		if (count > 1)
count             141 tools/bpf/bpftool/main.c 	if (count >= 2) {
count             316 tools/iio/iio_utils.c 	int count = 0, i;
count             384 tools/iio/iio_utils.c 			current = &(*ci_array)[count++];
count             390 tools/iio/iio_utils.c 				count--;
count             398 tools/iio/iio_utils.c 				count--;
count             406 tools/iio/iio_utils.c 				count--;
count             413 tools/iio/iio_utils.c 				count--;
count             419 tools/iio/iio_utils.c 				count--;
count             431 tools/iio/iio_utils.c 				count--;
count             441 tools/iio/iio_utils.c 				count--;
count             524 tools/iio/iio_utils.c 	for (i = count - 1;  i >= 0; i--) {
count             544 tools/iio/iio_utils.c 	int count = 0;
count             548 tools/iio/iio_utils.c 		count++;
count             551 tools/iio/iio_utils.c 	return count;
count            1530 tools/include/nolibc/nolibc.h int sys_getdents64(int fd, struct linux_dirent64 *dirp, int count)
count            1532 tools/include/nolibc/nolibc.h 	return my_syscall3(__NR_getdents64, fd, dirp, count);
count            1631 tools/include/nolibc/nolibc.h ssize_t sys_read(int fd, void *buf, size_t count)
count            1633 tools/include/nolibc/nolibc.h 	return my_syscall3(__NR_read, fd, buf, count);
count            1766 tools/include/nolibc/nolibc.h ssize_t sys_write(int fd, const void *buf, size_t count)
count            1768 tools/include/nolibc/nolibc.h 	return my_syscall3(__NR_write, fd, buf, count);
count            1904 tools/include/nolibc/nolibc.h int getdents64(int fd, struct linux_dirent64 *dirp, int count)
count            1906 tools/include/nolibc/nolibc.h 	int ret = sys_getdents64(fd, dirp, count);
count            2074 tools/include/nolibc/nolibc.h ssize_t read(int fd, void *buf, size_t count)
count            2076 tools/include/nolibc/nolibc.h 	ssize_t ret = sys_read(fd, buf, count);
count            2266 tools/include/nolibc/nolibc.h ssize_t write(int fd, const void *buf, size_t count)
count            2268 tools/include/nolibc/nolibc.h 	ssize_t ret = sys_write(fd, buf, count);
count             163 tools/include/uapi/drm/drm.h 	int count;		  /**< Length of user-space structures */
count             270 tools/include/uapi/drm/drm.h 	unsigned long count;
count             337 tools/include/uapi/drm/drm.h 	int count;		 /**< Number of buffers of this size */
count             358 tools/include/uapi/drm/drm.h 	int count;		/**< Entries in list */
count             366 tools/include/uapi/drm/drm.h 	int count;
count             386 tools/include/uapi/drm/drm.h 	int count;		/**< Length of the buffer list */
count             434 tools/include/uapi/drm/drm.h 	int count;
count             110 tools/include/uapi/linux/if_tun.h 	__u16  count; /* Number of addresses */
count             153 tools/include/uapi/linux/kvm.h 	__u64 count;
count             179 tools/include/uapi/linux/kvm.h 	__u32 count;
count             292 tools/include/uapi/linux/kvm.h 			__u32 count;
count             705 tools/include/uapi/linux/pkt_sched.h 	__u16	count[TC_QOPT_MAX_QUEUE];
count             795 tools/include/uapi/linux/pkt_sched.h 	__u32	count;	   /* how many drops we've done since the last time we
count             853 tools/include/uapi/linux/pkt_sched.h 	__u32	count;
count             898 tools/include/uapi/sound/asound.h 	unsigned int count;		/* R: count of all elements */
count             907 tools/include/uapi/sound/asound.h 	unsigned int count;		/* count of values */
count             148 tools/laptop/freefall/freefall.c 		unsigned char count;
count             150 tools/laptop/freefall/freefall.c 		ret = read(fd, &count, sizeof(count));
count             157 tools/laptop/freefall/freefall.c 		if (ret != sizeof(count)) {
count              21 tools/lib/argv_split.c 	int count = 0;
count              26 tools/lib/argv_split.c 			count++;
count              31 tools/lib/argv_split.c 	return count;
count            5779 tools/lib/bpf/libbpf.c 		__u32 count, size;
count            5794 tools/lib/bpf/libbpf.c 		count = bpf_prog_info_read_offset_u32(&info, desc->count_offset);
count            5797 tools/lib/bpf/libbpf.c 		data_len += count * size;
count            5813 tools/lib/bpf/libbpf.c 		__u32 count, size;
count            5819 tools/lib/bpf/libbpf.c 		count = bpf_prog_info_read_offset_u32(&info, desc->count_offset);
count            5822 tools/lib/bpf/libbpf.c 					     desc->count_offset, count);
count            5828 tools/lib/bpf/libbpf.c 		ptr += count * size;
count             898 tools/lib/traceevent/event-parse.c 		free_arg(arg->int_array.count);
count            1434 tools/lib/traceevent/event-parse.c 	int count = 0;
count            1442 tools/lib/traceevent/event-parse.c 			return count;
count            1445 tools/lib/traceevent/event-parse.c 		count++;
count            2735 tools/lib/traceevent/event-parse.c 	if (alloc_and_process_delim(event, ",", &arg->int_array.count))
count            2744 tools/lib/traceevent/event-parse.c 	free_arg(arg->int_array.count);
count            2745 tools/lib/traceevent/event-parse.c 	arg->int_array.count = NULL;
count            4102 tools/lib/traceevent/event-parse.c 		len = eval_num_arg(data, size, event, arg->int_array.count);
count            5862 tools/lib/traceevent/event-parse.c 		 int count, struct tep_format_field *list)
count            5868 tools/lib/traceevent/event-parse.c 	fields = malloc(sizeof(*fields) * (count + 1));
count            5874 tools/lib/traceevent/event-parse.c 		if (i == count + 1) {
count            5882 tools/lib/traceevent/event-parse.c 	if (i != count)
count            5982 tools/lib/traceevent/event-parse.c 		print_args(args->int_array.count);
count             212 tools/lib/traceevent/event-parse.h 	struct tep_print_arg	*count;
count             105 tools/lib/traceevent/event-plugin.c 	int count = 0;
count             117 tools/lib/traceevent/event-plugin.c 			list = realloc(list, count + 2);
count             123 tools/lib/traceevent/event-plugin.c 			list[count++] = name;
count             124 tools/lib/traceevent/event-plugin.c 			list[count] = NULL;
count             130 tools/lib/traceevent/event-plugin.c 	while (--count >= 0)
count             131 tools/lib/traceevent/event-plugin.c 		free(list[count]);
count             213 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 	if (packet->count != d->packet.count)
count             215 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 			 d->packet.count, packet->count);
count             278 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 	    packet.count != d->packet.count ||
count              41 tools/perf/arch/x86/tests/rdpmc.c 	u64 count, cyc = 0, time_offset = 0, enabled, running, delta;
count              58 tools/perf/arch/x86/tests/rdpmc.c 		count = pc->offset;
count              60 tools/perf/arch/x86/tests/rdpmc.c 			count += rdpmc(idx - 1);
count              77 tools/perf/arch/x86/tests/rdpmc.c 		quot = count / running;
count              78 tools/perf/arch/x86/tests/rdpmc.c 		rem = count % running;
count              79 tools/perf/arch/x86/tests/rdpmc.c 		count = quot * enabled + (rem * enabled) / running;
count              82 tools/perf/arch/x86/tests/rdpmc.c 	return count;
count              87 tools/perf/arch/x86/util/header.c 	int count = 0;
count              90 tools/perf/arch/x86/util/header.c 		count++;
count              94 tools/perf/arch/x86/util/header.c 	if (count == 3)
count             478 tools/perf/builtin-kvm.c COMPARE_EVENT_KEY(count, stats.n);
count             487 tools/perf/builtin-kvm.c 	DEF_SORT_NAME_KEY(sample, count),
count            2791 tools/perf/builtin-sched.c 		ret += fprintf(fp, " %8d  ", chain->count);
count             242 tools/perf/builtin-stat.c 			     struct perf_counts_values *count)
count             246 tools/perf/builtin-stat.c 	return perf_event__synthesize_stat(NULL, cpu, thread, sid->id, count,
count             255 tools/perf/builtin-stat.c 		struct perf_counts_values *count =
count             257 tools/perf/builtin-stat.c 		count->ena = count->run = val;
count             258 tools/perf/builtin-stat.c 		count->val = val;
count             286 tools/perf/builtin-stat.c 			struct perf_counts_values *count;
count             288 tools/perf/builtin-stat.c 			count = perf_counts(counter->counts, cpu, thread);
count             305 tools/perf/builtin-stat.c 				if (perf_evsel__write_stat_event(counter, cpu, thread, count)) {
count             316 tools/perf/builtin-stat.c 						count->val, count->ena, count->run);
count            1339 tools/perf/builtin-timechart.c 	int count = 0;
count            1362 tools/perf/builtin-timechart.c 				count++;
count            1372 tools/perf/builtin-timechart.c 	return count;
count            1379 tools/perf/builtin-timechart.c 	int count = 0;
count            1403 tools/perf/builtin-timechart.c 				count++;
count            1413 tools/perf/builtin-timechart.c 	return count;
count            1420 tools/perf/builtin-timechart.c 	int count = 0;
count            1435 tools/perf/builtin-timechart.c 				count++;
count            1445 tools/perf/builtin-timechart.c 	return count;
count            1454 tools/perf/builtin-timechart.c 	int count;
count            1464 tools/perf/builtin-timechart.c 			count = determine_display_tasks_filtered(tchart);
count            1466 tools/perf/builtin-timechart.c 			count = determine_display_io_tasks(tchart, thresh);
count            1468 tools/perf/builtin-timechart.c 			count = determine_display_tasks(tchart, thresh);
count            1470 tools/perf/builtin-timechart.c 	} while (!process_filter && thresh && count < tchart->proc_num);
count            1473 tools/perf/builtin-timechart.c 		count = 0;
count            1476 tools/perf/builtin-timechart.c 		open_svg(filename, 0, count, tchart->first_time, tchart->last_time);
count            1483 tools/perf/builtin-timechart.c 		open_svg(filename, tchart->numcpus, count, tchart->first_time, tchart->last_time);
count             169 tools/perf/lib/evsel.c 		     struct perf_counts_values *count)
count             173 tools/perf/lib/evsel.c 	memset(count, 0, sizeof(*count));
count             178 tools/perf/lib/evsel.c 	if (readn(FD(evsel, cpu, thread), count->values, size) <= 0)
count              32 tools/perf/lib/include/perf/evsel.h 				 struct perf_counts_values *count);
count             124 tools/perf/pmu-events/json.c 	int count = 0;
count             127 tools/perf/pmu-events/json.c 			count++;
count             128 tools/perf/pmu-events/json.c 	return count;
count             149 tools/perf/tests/bp_signal.c 	long long count;
count             152 tools/perf/tests/bp_signal.c 	ret = read(fd, &count, sizeof(long long));
count             158 tools/perf/tests/bp_signal.c 	return count;
count              47 tools/perf/tests/bp_signal_overflow.c 	long long count;
count              50 tools/perf/tests/bp_signal_overflow.c 	ret = read(fd, &count, sizeof(long long));
count              56 tools/perf/tests/bp_signal_overflow.c 	return count;
count              66 tools/perf/tests/bp_signal_overflow.c 	long long count;
count             115 tools/perf/tests/bp_signal_overflow.c 	count = bp_count(fd);
count             120 tools/perf/tests/bp_signal_overflow.c 		 count, overflows);
count             122 tools/perf/tests/bp_signal_overflow.c 	if (count != EXECUTIONS) {
count             124 tools/perf/tests/bp_signal_overflow.c 		count, EXECUTIONS);
count             126 tools/perf/tests/bpf.c 	int i, ret = TEST_FAIL, err = 0, count = 0;
count             194 tools/perf/tests/bpf.c 				count ++;
count             199 tools/perf/tests/bpf.c 	if (count != expect) {
count             200 tools/perf/tests/bpf.c 		pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect, count);
count             166 tools/perf/tests/event-times.c 	struct perf_counts_values count;
count             200 tools/perf/tests/event-times.c 	perf_evsel__read(&evsel->core, 0, 0, &count);
count             202 tools/perf/tests/event-times.c 	err = !(count.ena == count.run);
count             206 tools/perf/tests/event-times.c 		 count.ena, count.run);
count             143 tools/perf/tests/hists_link.c 	size_t count = 0;
count             165 tools/perf/tests/hists_link.c 				count++;
count             175 tools/perf/tests/hists_link.c 	if (count != ARRAY_SIZE(fake_common_samples)) {
count             177 tools/perf/tests/hists_link.c 			 count, ARRAY_SIZE(fake_common_samples));
count             191 tools/perf/tests/hists_link.c 	size_t count = 0;
count             228 tools/perf/tests/hists_link.c 		count++;
count             241 tools/perf/tests/hists_link.c 		if (count != count_pair + ARRAY_SIZE(fake_samples[0])) {
count             243 tools/perf/tests/hists_link.c 				 count, count_pair + ARRAY_SIZE(fake_samples[0]));
count             247 tools/perf/tests/hists_link.c 		if (count != count_pair) {
count             249 tools/perf/tests/hists_link.c 				 count, count_pair);
count              38 tools/perf/tests/parse-no-sample-id-all.c static int process_events(union perf_event **events, size_t count)
count              44 tools/perf/tests/parse-no-sample-id-all.c 	for (i = 0; i < count && !err; i++)
count              82 tools/perf/tests/stat.c 	struct perf_counts_values count;
count              84 tools/perf/tests/stat.c 	count.val = 100;
count              85 tools/perf/tests/stat.c 	count.ena = 200;
count              86 tools/perf/tests/stat.c 	count.run = 300;
count              89 tools/perf/tests/stat.c 		!perf_event__synthesize_stat(NULL, 1, 2, 3, &count, process_stat_event, NULL));
count              16 tools/perf/tests/wp.c 	long long count;                        \
count              17 tools/perf/tests/wp.c 	wp_read(fd, &count, sizeof(long long)); \
count              18 tools/perf/tests/wp.c 	TEST_ASSERT_VAL(text, count == val);    \
count              24 tools/perf/tests/wp.c static int wp_read(int fd, long long *count, int size)
count              26 tools/perf/tests/wp.c 	int ret = read(fd, count, size);
count             272 tools/perf/ui/browsers/hists.c 	int count = 0;
count             290 tools/perf/ui/browsers/hists.c 			count++;
count             293 tools/perf/ui/browsers/hists.c 				count += hierarchy_count_rows(hb, child, true);
count             298 tools/perf/ui/browsers/hists.c 	return count;
count             183 tools/perf/ui/stdio/hist.c 			rem_node.count = child->parent->children_count - cumul_count;
count             184 tools/perf/ui/stdio/hist.c 			if (rem_node.count <= 0)
count            1724 tools/perf/util/annotate.c 	int pc = 0, count, sub_id;
count            1804 tools/perf/util/annotate.c 		count = disassemble(pc, &info);
count            1841 tools/perf/util/annotate.c 		pc += count;
count            1842 tools/perf/util/annotate.c 	} while (count > 0 && pc < len);
count             655 tools/perf/util/callchain.c 	new->count = 1;
count             817 tools/perf/util/callchain.c 	new->count = parent->count;
count             830 tools/perf/util/callchain.c 		parent->count = 0;
count             856 tools/perf/util/callchain.c 		parent->count = 1;
count             966 tools/perf/util/callchain.c 		root->count++;
count            1181 tools/perf/util/callchain.c 	unsigned count = callchain_cumul_counts(node);
count            1185 tools/perf/util/callchain.c 		count = node->count;
count            1193 tools/perf/util/callchain.c 		scnprintf(bf, bfsize, "%u", count);
count            1210 tools/perf/util/callchain.c 	unsigned count = callchain_cumul_counts(node);
count            1214 tools/perf/util/callchain.c 		count = node->count;
count            1221 tools/perf/util/callchain.c 		return fprintf(fp, "%u", count);
count              68 tools/perf/util/callchain.h 	unsigned int		count;
count             184 tools/perf/util/callchain.h 	return node->count + node->children_count;
count             102 tools/perf/util/color.c 		size_t count, const char *buf)
count             105 tools/perf/util/color.c 		return fwrite(buf, count, 1, fp) != 1;
count             107 tools/perf/util/color.c 	while (count) {
count             108 tools/perf/util/color.c 		char *p = memchr(buf, '\n', count);
count             111 tools/perf/util/color.c 				fwrite(buf, p ? (size_t)(p - buf) : count, 1, fp) != 1 ||
count             118 tools/perf/util/color.c 		count -= p + 1 - buf;
count              42 tools/perf/util/color.h int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
count             706 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c 	u32 count;
count             722 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c 						   &count);
count             723 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c 			processed += count;
count              52 tools/perf/util/data-convert-bt.c 	u32 count;
count             673 tools/perf/util/data-convert-bt.c 		   cs->cpu, cs->count);
count             675 tools/perf/util/data-convert-bt.c 		cs->count = 0;
count             783 tools/perf/util/data-convert-bt.c 	return cs->count >= STREAM_FLUSH_COUNT;
count             849 tools/perf/util/data-convert-bt.c 		cs->count++;
count             892 tools/perf/util/data-convert-bt.c 		cs->count++;					\
count             105 tools/perf/util/demangle-rust.c 	int count;
count             121 tools/perf/util/demangle-rust.c 	count = 0;
count             124 tools/perf/util/demangle-rust.c 			count++;
count             126 tools/perf/util/demangle-rust.c 	return count >= 5 && count <= 15;
count            1035 tools/perf/util/dwarf-aux.c 	int count;
count            1052 tools/perf/util/dwarf-aux.c 	count = dwarf_getscopes_die(vr_die, &scopes);
count            1055 tools/perf/util/dwarf-aux.c 	if (count <= 1) {
count            1267 tools/perf/util/evsel.c 				struct perf_counts_values *count)
count            1276 tools/perf/util/evsel.c 		evsel->prev_raw_counts->aggr = *count;
count            1279 tools/perf/util/evsel.c 		*perf_counts(evsel->prev_raw_counts, cpu, thread) = *count;
count            1282 tools/perf/util/evsel.c 	count->val = count->val - tmp.val;
count            1283 tools/perf/util/evsel.c 	count->ena = count->ena - tmp.ena;
count            1284 tools/perf/util/evsel.c 	count->run = count->run - tmp.run;
count            1287 tools/perf/util/evsel.c void perf_counts_values__scale(struct perf_counts_values *count,
count            1293 tools/perf/util/evsel.c 		if (count->run == 0) {
count            1295 tools/perf/util/evsel.c 			count->val = 0;
count            1296 tools/perf/util/evsel.c 		} else if (count->run < count->ena) {
count            1298 tools/perf/util/evsel.c 			count->val = (u64)((double) count->val * count->ena / count->run);
count            1309 tools/perf/util/evsel.c 	struct perf_counts_values *count = perf_counts(evsel->counts, cpu, thread);
count            1311 tools/perf/util/evsel.c 	return perf_evsel__read(&evsel->core, cpu, thread, count);
count            1318 tools/perf/util/evsel.c 	struct perf_counts_values *count;
count            1320 tools/perf/util/evsel.c 	count = perf_counts(counter->counts, cpu, thread);
count            1322 tools/perf/util/evsel.c 	count->val    = val;
count            1323 tools/perf/util/evsel.c 	count->ena    = ena;
count            1324 tools/perf/util/evsel.c 	count->run    = run;
count            1411 tools/perf/util/evsel.c 	struct perf_counts_values count;
count            1420 tools/perf/util/evsel.c 	if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) <= 0)
count            1423 tools/perf/util/evsel.c 	perf_evsel__compute_deltas(evsel, cpu, thread, &count);
count            1424 tools/perf/util/evsel.c 	perf_counts_values__scale(&count, scale, NULL);
count            1425 tools/perf/util/evsel.c 	*perf_counts(evsel->counts, cpu, thread) = count;
count             137 tools/perf/util/evsel.h void perf_counts_values__scale(struct perf_counts_values *count,
count             141 tools/perf/util/evsel.h 				struct perf_counts_values *count);
count             156 tools/perf/util/header.c 		 size_t count, size_t count_aligned)
count             159 tools/perf/util/header.c 	int err = do_write(ff, bf, count);
count             162 tools/perf/util/header.c 		err = do_write(ff, zero_buf, count_aligned - count);
count            2675 tools/perf/util/header.c 	u32 count, i;
count            2683 tools/perf/util/header.c 	if (do_read_u32(ff, &count))
count            2688 tools/perf/util/header.c 	for (i = 0; i < count; ++i) {
count            2749 tools/perf/util/header.c 	u32 count, i;
count            2757 tools/perf/util/header.c 	if (do_read_u32(ff, &count))
count            2762 tools/perf/util/header.c 	for (i = 0; i < count; ++i) {
count             159 tools/perf/util/header.h 		 size_t count, size_t count_aligned);
count             410 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	switch (packet->count) {
count             772 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		fc = pkt_info->packet.count;
count            1223 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1233 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1300 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->tnt.count -= 1;
count            1301 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->tnt.count)
count            1318 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			    decoder->packet.count == 0) {
count            1333 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			decoder->tnt.count -= 1;
count            1334 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->tnt.count)
count            1357 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (!decoder->tnt.count) {
count            1498 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint32_t fc = decoder->packet.count;
count            1635 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->state.items.is_32_bit = decoder->packet.count;
count            1647 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint32_t id = decoder->packet.count;
count            1732 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count)
count            1812 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1828 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1840 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1889 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (!decoder->packet.count)
count            1899 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count != 0)
count            1907 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            1923 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count != 0)
count            1929 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 			if (decoder->packet.count == 0) {
count            2153 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	return decoder->packet.count &&
count            2154 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	       (decoder->have_last_ip || decoder->packet.count == 3 ||
count            2155 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->packet.count == 6);
count              80 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	int count;
count              87 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	for (count = 47; count; count--) {
count              94 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = count;
count             135 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	unsigned int count = (52 - 5) >> 3;
count             137 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	if (count < 1 || count > 7)
count             140 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	if (len < count + 2)
count             144 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = count;
count             145 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	memcpy_le64(&packet->payload, buf + 2, count);
count             147 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	return count + 2;
count             187 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = buf[5] | ((buf[6] & BIT(0)) << 8);
count             225 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = (buf[1] >> 5) & 0x3;
count             229 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	switch (packet->count) {
count             293 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = buf[2] >> 7;
count             304 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = buf[0] >> 3;
count             315 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = buf[0] >> 3;
count             390 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	int count;
count             392 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	for (count = 6; count; count--) {
count             399 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = count;
count             433 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	packet->count = byte >> 5;
count             435 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 	switch (packet->count) {
count             634 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		if (packet->count)
count             681 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		for (i = 0; i < packet->count; i++) {
count             692 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		ret = snprintf(buf, blen, " (%d)", packet->count);
count             702 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 		if (!(packet->count))
count             714 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 				(unsigned)payload, packet->count);
count             754 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 				name, packet->count ? "4" : "8", payload);
count             757 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 				name, packet->count, payload);
count             762 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c 			name, payload, packet->count);
count              61 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.h 	int			count;
count             398 tools/perf/util/jitdump.c 	uint64_t count;
count             413 tools/perf/util/jitdump.c 	count = jr->load.code_index;
count             424 tools/perf/util/jitdump.c 			count);
count             821 tools/perf/util/probe-finder.c 	int count = 0, linenum = 1;
count             838 tools/perf/util/probe-finder.c 			count++;
count             844 tools/perf/util/probe-finder.c 		count = -errno;
count             848 tools/perf/util/probe-finder.c 	if (count == 0)
count             850 tools/perf/util/probe-finder.c 	return count;
count             231 tools/perf/util/scripting-engines/trace-event-perl.c 		define_event_symbols(event, ev_name, args->int_array.count);
count             542 tools/perf/util/scripting-engines/trace-event-perl.c 	int i, not_first, count, nr_events;
count             625 tools/perf/util/scripting-engines/trace-event-perl.c 		count = 0;
count             630 tools/perf/util/scripting-engines/trace-event-perl.c 			if (++count % 5 == 0)
count             644 tools/perf/util/scripting-engines/trace-event-perl.c 		count = 0;
count             649 tools/perf/util/scripting-engines/trace-event-perl.c 			if (count && count % 4 == 0) {
count             652 tools/perf/util/scripting-engines/trace-event-perl.c 			count++;
count             668 tools/perf/util/scripting-engines/trace-event-perl.c 		count = 0;
count             674 tools/perf/util/scripting-engines/trace-event-perl.c 			if (++count % 5 == 0)
count             678 tools/perf/util/scripting-engines/trace-event-perl.c 				if ((count - 1) % 5 != 0) {
count             680 tools/perf/util/scripting-engines/trace-event-perl.c 					count = 4;
count             688 tools/perf/util/scripting-engines/trace-event-perl.c 				if ((count - 1) % 5 != 0) {
count             690 tools/perf/util/scripting-engines/trace-event-perl.c 					count = 4;
count             310 tools/perf/util/scripting-engines/trace-event-python.c 		define_event_symbols(event, ev_name, args->int_array.count);
count            1357 tools/perf/util/scripting-engines/trace-event-python.c 	     struct perf_counts_values *count)
count            1380 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, n++, count->val);
count            1381 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, n++, count->ena);
count            1382 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, n++, count->run);
count            1690 tools/perf/util/scripting-engines/trace-event-python.c 	int i, not_first, count, nr_events;
count            1755 tools/perf/util/scripting-engines/trace-event-python.c 		count = 0;
count            1760 tools/perf/util/scripting-engines/trace-event-python.c 			if (++count % 5 == 0)
count            1767 tools/perf/util/scripting-engines/trace-event-python.c 		if (++count % 5 == 0)
count            1780 tools/perf/util/scripting-engines/trace-event-python.c 		count = 0;
count            1785 tools/perf/util/scripting-engines/trace-event-python.c 			if (count && count % 3 == 0) {
count            1788 tools/perf/util/scripting-engines/trace-event-python.c 			count++;
count            1805 tools/perf/util/scripting-engines/trace-event-python.c 		count = 0;
count            1811 tools/perf/util/scripting-engines/trace-event-python.c 			if (++count % 5 == 0)
count            1815 tools/perf/util/scripting-engines/trace-event-python.c 				if ((count - 1) % 5 != 0) {
count            1817 tools/perf/util/scripting-engines/trace-event-python.c 					count = 4;
count            1825 tools/perf/util/scripting-engines/trace-event-python.c 				if ((count - 1) % 5 != 0) {
count            1827 tools/perf/util/scripting-engines/trace-event-python.c 					count = 4;
count             196 tools/perf/util/stat-shadow.c 				int ctx, int cpu, u64 count)
count             202 tools/perf/util/stat-shadow.c 		update_stats(&v->stats, count);
count             210 tools/perf/util/stat-shadow.c void perf_stat__update_shadow_stats(struct evsel *counter, u64 count,
count             214 tools/perf/util/stat-shadow.c 	u64 count_ns = count;
count             217 tools/perf/util/stat-shadow.c 	count *= counter->scale;
count             222 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_CYCLES, ctx, cpu, count);
count             224 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_CYCLES_IN_TX, ctx, cpu, count);
count             226 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_TRANSACTION, ctx, cpu, count);
count             228 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_ELISION, ctx, cpu, count);
count             231 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             234 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             237 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             240 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             243 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             246 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             249 tools/perf/util/stat-shadow.c 				    ctx, cpu, count);
count             251 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_BRANCHES, ctx, cpu, count);
count             253 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_CACHEREFS, ctx, cpu, count);
count             255 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_L1_DCACHE, ctx, cpu, count);
count             257 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_L1_ICACHE, ctx, cpu, count);
count             259 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_LL_CACHE, ctx, cpu, count);
count             261 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_DTLB_CACHE, ctx, cpu, count);
count             263 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_ITLB_CACHE, ctx, cpu, count);
count             265 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_SMI_NUM, ctx, cpu, count);
count             267 tools/perf/util/stat-shadow.c 		update_runtime_stat(st, STAT_APERF, ctx, cpu, count);
count             271 tools/perf/util/stat-shadow.c 		update_stats(&v->stats, count);
count             273 tools/perf/util/stat-shadow.c 			v->metric_total += count;
count             277 tools/perf/util/stat-shadow.c 		v->metric_total += count;
count             283 tools/perf/util/stat.c 		       struct perf_counts_values *count)
count             289 tools/perf/util/stat.c 	if (check_per_pkg(evsel, count, cpu, &skip)) {
count             295 tools/perf/util/stat.c 		count = &zero;
count             304 tools/perf/util/stat.c 			perf_evsel__compute_deltas(evsel, cpu, thread, count);
count             305 tools/perf/util/stat.c 		perf_counts_values__scale(count, config->scale, NULL);
count             307 tools/perf/util/stat.c 			perf_stat__update_shadow_stats(evsel, count->val,
count             314 tools/perf/util/stat.c 					count->val, 0, &config->stats[thread]);
count             317 tools/perf/util/stat.c 					count->val, 0, &rt_stat);
count             321 tools/perf/util/stat.c 		aggr->val += count->val;
count             322 tools/perf/util/stat.c 		aggr->ena += count->ena;
count             323 tools/perf/util/stat.c 		aggr->run += count->run;
count             358 tools/perf/util/stat.c 	u64 *count = counter->counts->aggr.values;
count             388 tools/perf/util/stat.c 		update_stats(&ps->res_stats[i], count[i]);
count             392 tools/perf/util/stat.c 			perf_evsel__name(counter), count[0], count[1], count[2]);
count             398 tools/perf/util/stat.c 	perf_stat__update_shadow_stats(counter, *count, 0, &rt_stat);
count             406 tools/perf/util/stat.c 	struct perf_counts_values count;
count             410 tools/perf/util/stat.c 	count.val = st->val;
count             411 tools/perf/util/stat.c 	count.ena = st->ena;
count             412 tools/perf/util/stat.c 	count.run = st->run;
count             420 tools/perf/util/stat.c 	*perf_counts(counter->counts, st->cpu, st->thread) = count;
count             176 tools/perf/util/stat.h void perf_stat__update_shadow_stats(struct evsel *counter, u64 count,
count            1371 tools/perf/util/symbol-elf.c static int kcore__copy_hdr(struct kcore *from, struct kcore *to, size_t count)
count            1383 tools/perf/util/symbol-elf.c 	ehdr->e_phnum     = count;
count            1401 tools/perf/util/symbol-elf.c 	if (!gelf_newphdr(to->elf, count))
count            1953 tools/perf/util/symbol-elf.c 	size_t count = 1;
count            1964 tools/perf/util/symbol-elf.c 	if (kcore__copy_hdr(&kcore, &extract, count))
count            2283 tools/perf/util/symbol-elf.c 	int count = 0;
count            2286 tools/perf/util/symbol-elf.c 		count++;
count            2287 tools/perf/util/symbol-elf.c 	return count;
count             709 tools/perf/util/symbol.c 	int count = 0;
count             744 tools/perf/util/symbol.c 		++count;
count             750 tools/perf/util/symbol.c 	return count;
count             764 tools/perf/util/symbol.c 	int count = 0, moved = 0;
count             844 tools/perf/util/symbol.c 			if (count == 0) {
count             884 tools/perf/util/symbol.c 			++count;
count             898 tools/perf/util/symbol.c 	return count + moved;
count            1090 tools/perf/util/synthetic-events.c 				struct perf_counts_values *count,
count            1103 tools/perf/util/synthetic-events.c 	event.val       = count->val;
count            1104 tools/perf/util/synthetic-events.c 	event.ena       = count->ena;
count            1105 tools/perf/util/synthetic-events.c 	event.run       = count->run;
count              52 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat(struct perf_tool *tool, u32 cpu, u32 thread, u64 id, struct perf_counts_values *count, perf_event__handler_t process, struct machine *machine);
count             167 tools/perf/util/trace-event-info.c 	int count = 0;
count             189 tools/perf/util/trace-event-info.c 		count++;
count             192 tools/perf/util/trace-event-info.c 	if (write(output_fd, &count, 4) != 4) {
count             260 tools/perf/util/trace-event-info.c 	int count = 0;
count             282 tools/perf/util/trace-event-info.c 		count++;
count             285 tools/perf/util/trace-event-info.c 	if (write(output_fd, &count, 4) != 4) {
count             296 tools/perf/util/trace-event-read.c 	int count;
count             300 tools/perf/util/trace-event-read.c 	count = read4(pevent);
count             302 tools/perf/util/trace-event-read.c 	for (i = 0; i < count; i++) {
count             316 tools/perf/util/trace-event-read.c 	int count;
count             327 tools/perf/util/trace-event-read.c 		count = read4(pevent);
count             329 tools/perf/util/trace-event-read.c 		for (x=0; x < count; x++) {
count             164 tools/perf/util/vdso.c 	size_t count;
count             167 tools/perf/util/vdso.c 		count = fread(buf, 1, sizeof(buf), f);
count             172 tools/perf/util/vdso.c 		if (count && writen(fd, buf, count) != (ssize_t)count)
count            1206 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	s32 count;
count            1221 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	count = fread(&header, 1, sizeof(struct acpi_table_header), table_file);
count            1222 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (count != sizeof(struct acpi_table_header)) {
count            1267 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	count = fread(local_table, 1, table_length, table_file);
count            1268 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (count != table_length) {
count              47 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c static int fam14h_nbp1_count(unsigned int id, unsigned long long *count,
count             195 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c static int fam14h_nbp1_count(unsigned int id, unsigned long long *count,
count             200 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 			*count = 1;
count             202 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 			*count = 0;
count              48 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h 	int (*get_count)(unsigned int self_id, unsigned long long *count,
count              30 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c static int mperf_get_count_freq(unsigned int id, unsigned long long *count,
count             154 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c static int mperf_get_count_freq(unsigned int id, unsigned long long *count,
count             175 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 	*count = max_frequency * ((double)aperf_diff / mperf_diff);
count             182 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 	dprint("avg freq:   %llu\n", *count);
count             255 tools/power/x86/intel-speed-select/isst-core.c 		int count;
count             271 tools/power/x86/intel-speed-select/isst-core.c 						 &count);
count              46 tools/testing/nvdimm/pmem-dax.c 	if (unlikely(pmem->bb.count))
count             126 tools/testing/radix-tree/main.c void check_copied_tags(struct radix_tree_root *tree, unsigned long start, unsigned long end, unsigned long *idx, int count, int fromtag, int totag)
count             130 tools/testing/radix-tree/main.c 	for (i = 0; i < count; i++) {
count             160 tools/testing/radix-tree/main.c 	unsigned long start, end, count = 0, tagged, cur, tmp;
count             178 tools/testing/radix-tree/main.c 				count++;
count             191 tools/testing/radix-tree/main.c 				count++;
count             210 tools/testing/radix-tree/main.c 				count++;
count             220 tools/testing/radix-tree/main.c 	assert(tagged == count);
count             225 tools/testing/radix-tree/main.c 	tmp = rand() % (count / 10 + 2);
count             227 tools/testing/radix-tree/main.c 	assert(tagged == count);
count              51 tools/testing/radix-tree/regression1.c 	int count;
count              59 tools/testing/radix-tree/regression1.c 	p->count = 1;
count              69 tools/testing/radix-tree/regression1.c 	assert(!p->count);
count              92 tools/testing/radix-tree/regression1.c 		if (!page->count)
count             140 tools/testing/radix-tree/regression1.c 			p->count--;
count             148 tools/testing/radix-tree/regression1.c 			p->count--;
count             133 tools/testing/selftests/bpf/progs/xdping_kern.c 		if (i == pinginfo->count || i == XDPING_MAX_COUNT)
count              78 tools/testing/selftests/bpf/test_tag.c static int hex2bin(uint8_t *dst, const char *src, size_t count)
count              80 tools/testing/selftests/bpf/test_tag.c 	while (count--) {
count              11 tools/testing/selftests/bpf/urandom_read.c void urandom_read(int fd, int count)
count              16 tools/testing/selftests/bpf/urandom_read.c        for (i = 0; i < count; ++i)
count              23 tools/testing/selftests/bpf/urandom_read.c 	int count = 4;
count              29 tools/testing/selftests/bpf/urandom_read.c 		count = atoi(argv[1]);
count              31 tools/testing/selftests/bpf/urandom_read.c 	urandom_read(fd, count);
count              36 tools/testing/selftests/bpf/xdping.c static int get_stats(int fd, __u16 count, __u32 raddr)
count              52 tools/testing/selftests/bpf/xdping.c 	for (i = 0; i < count; i++) {
count              59 tools/testing/selftests/bpf/xdping.c 		       count + i + 1,
count              63 tools/testing/selftests/bpf/xdping.c 	if (i < count) {
count              64 tools/testing/selftests/bpf/xdping.c 		fprintf(stderr, "Expected %d samples, got %d.\n", count, i);
count              92 tools/testing/selftests/bpf/xdping.c 	__u16 count = XDPING_DEFAULT_COUNT;
count             110 tools/testing/selftests/bpf/xdping.c 			count = atoi(optarg);
count             111 tools/testing/selftests/bpf/xdping.c 			if (count < 1 || count > XDPING_MAX_COUNT) {
count             225 tools/testing/selftests/bpf/xdping.c 	pinginfo.seq = htons(count);
count             226 tools/testing/selftests/bpf/xdping.c 	pinginfo.count = count;
count             239 tools/testing/selftests/bpf/xdping.c 		 count, ifname, argv[optind]);
count             247 tools/testing/selftests/bpf/xdping.c 		ret = get_stats(map_fd, count, raddr);
count              10 tools/testing/selftests/bpf/xdping.h 	__u16	count;
count             208 tools/testing/selftests/cgroup/cgroup_util.c int cg_wait_for_proc_count(const char *cgroup, int count)
count             224 tools/testing/selftests/cgroup/cgroup_util.c 		if (nr >= count)
count              46 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_wait_for_proc_count(const char *cgroup, int count);
count             154 tools/testing/selftests/exec/execveat.c 	int ii, count, len;
count             172 tools/testing/selftests/exec/execveat.c 		count = (PATH_MAX - 3 - strlen(cwd)) / XX_DIR_LEN;
count             173 tools/testing/selftests/exec/execveat.c 		for (ii = 0; ii < count; ii++) {
count             177 tools/testing/selftests/exec/execveat.c 		len = (PATH_MAX - 3 - strlen(cwd)) - (count * XX_DIR_LEN);
count              20 tools/testing/selftests/filesystems/binderfs/binderfs_test.c static ssize_t write_nointr(int fd, const void *buf, size_t count)
count              24 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	ret = write(fd, buf, count);
count              31 tools/testing/selftests/filesystems/binderfs/binderfs_test.c static void write_to_file(const char *filename, const void *buf, size_t count,
count              42 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	ret = write_nointr(fd, buf, count);
count              52 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	if ((size_t)ret != count)
count             763 tools/testing/selftests/kselftest_harness.h 	unsigned int count = 0;
count             770 tools/testing/selftests/kselftest_harness.h 		count++;
count             777 tools/testing/selftests/kselftest_harness.h 	printf("[==========] %u / %u tests passed.\n", pass_count, count);
count              22 tools/testing/selftests/kvm/include/test_util.h ssize_t test_write(int fd, const void *buf, size_t count);
count              23 tools/testing/selftests/kvm/include/test_util.h ssize_t test_read(int fd, void *buf, size_t count);
count              41 tools/testing/selftests/kvm/lib/io.c ssize_t test_write(int fd, const void *buf, size_t count)
count              45 tools/testing/selftests/kvm/lib/io.c 	size_t num_left = count;
count              51 tools/testing/selftests/kvm/lib/io.c 	TEST_ASSERT(count >= 0, "Unexpected count, count: %li", count);
count              77 tools/testing/selftests/kvm/lib/io.c 	} while (num_written < count);
count             118 tools/testing/selftests/kvm/lib/io.c ssize_t test_read(int fd, void *buf, size_t count)
count             122 tools/testing/selftests/kvm/lib/io.c 	size_t num_left = count;
count             128 tools/testing/selftests/kvm/lib/io.c 	TEST_ASSERT(count >= 0, "Unexpected count, count: %li", count);
count             154 tools/testing/selftests/kvm/lib/io.c 	} while (num_read < count);
count            1635 tools/testing/selftests/kvm/lib/kvm_util.c 	size_t count;
count            1648 tools/testing/selftests/kvm/lib/kvm_util.c 		count = fread(&val, sizeof(char), 1, f);
count            1649 tools/testing/selftests/kvm/lib/kvm_util.c 		TEST_ASSERT(count == 1, "Unable to read from param file.");
count              43 tools/testing/selftests/media_tests/media_device_open.c 	int count = 0;
count              48 tools/testing/selftests/media_tests/media_device_test.c 	int count;
count              76 tools/testing/selftests/media_tests/media_device_test.c 	count = rand();
count              91 tools/testing/selftests/media_tests/media_device_test.c 	printf("Running test for %d iterations\n", count);
count              93 tools/testing/selftests/media_tests/media_device_test.c 	while (count > 0) {
count              99 tools/testing/selftests/media_tests/media_device_test.c 				mdi.model, mdi.driver, count);
count             101 tools/testing/selftests/media_tests/media_device_test.c 		count--;
count              44 tools/testing/selftests/media_tests/video_device_test.c 	int count;
count              70 tools/testing/selftests/media_tests/video_device_test.c 	count = rand();
count              85 tools/testing/selftests/media_tests/video_device_test.c 	while (count > 0) {
count              99 tools/testing/selftests/media_tests/video_device_test.c 		count--;
count             211 tools/testing/selftests/net/psock_fanout.c 	int count = 0;
count             213 tools/testing/selftests/net/psock_fanout.c 	while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) {
count             214 tools/testing/selftests/net/psock_fanout.c 		count++;
count             215 tools/testing/selftests/net/psock_fanout.c 		header = ring + (count * getpagesize());
count             218 tools/testing/selftests/net/psock_fanout.c 	return count;
count              34 tools/testing/selftests/net/reuseport_addr_any.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count,
count              74 tools/testing/selftests/net/reuseport_addr_any.c 	for (i = 0; i < count; ++i) {
count             194 tools/testing/selftests/net/reuseport_addr_any.c static void test(int *rcv_fds, int count, int family, int proto, int fd)
count             204 tools/testing/selftests/net/reuseport_addr_any.c 	for (i = 0; i < count; ++i) {
count              31 tools/testing/selftests/net/reuseport_dualstack.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count)
count              55 tools/testing/selftests/net/reuseport_dualstack.c 	for (i = 0; i < count; ++i) {
count             128 tools/testing/selftests/net/reuseport_dualstack.c static void test(int *rcv_fds, int count, int proto)
count             140 tools/testing/selftests/net/reuseport_dualstack.c 	for (i = 0; i < count; ++i) {
count             259 tools/testing/selftests/net/udpgso_bench_tx.c 	int ret, done = 0, count = 0;
count             268 tools/testing/selftests/net/udpgso_bench_tx.c 		count++;
count             271 tools/testing/selftests/net/udpgso_bench_tx.c 	return count;
count             276 tools/testing/selftests/net/udpgso_bench_tx.c 	int ret, total_len, len, count = 0;
count             292 tools/testing/selftests/net/udpgso_bench_tx.c 		count++;
count             295 tools/testing/selftests/net/udpgso_bench_tx.c 	return count;
count              46 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c 			int count;
count              47 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c 			for (count = 0; count < CHUNK_COUNT; count++)
count              48 tools/testing/selftests/powerpc/benchmarks/mmap_bench.c 				c[count << 16] = 'c';
count              73 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 	u64 count, upper, lower;
count              75 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 	count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)];
count              79 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 	if (count < lower) {
count              81 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 			pmc, count, lower, lower - count);
count              87 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 	if (count > upper) {
count              89 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 			pmc, count, upper, count - upper);
count              94 tools/testing/selftests/powerpc/pmu/ebb/ebb.c 		pmc, count, lower, upper, count - lower, upper - count);
count              47 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c static int count, first_time;
count              90 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c 		count = COUNT_MAX;
count             101 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c 	if (count == COUNT_MAX) {
count             106 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c 	count++;
count              66 tools/testing/selftests/powerpc/tm/tm-syscall.c 	unsigned count = 0;
count              80 tools/testing/selftests/powerpc/tm/tm-syscall.c 	for (count = 0; timercmp(&now, &end, <); count++) {
count              97 tools/testing/selftests/powerpc/tm/tm-syscall.c 	printf("%d active and suspended transactions behaved correctly.\n", count);
count             178 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h 	unsigned int count;
count             181 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h #define COMPLETION_INITIALIZER(x) {.count = 0}
count             187 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h 	c->count = 0;
count             192 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h 	unsigned int prev_count = __sync_fetch_and_sub(&c->count, 1);
count             199 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h 	unsigned int prev_count = __sync_fetch_and_add(&c->count, 1);
count             212 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/locks.h 	return c->count;
count              25 tools/testing/selftests/rseq/basic_percpu_ops_test.c 	intptr_t count;
count              92 tools/testing/selftests/rseq/basic_percpu_ops_test.c 		data->c[cpu].count++;
count             130 tools/testing/selftests/rseq/basic_percpu_ops_test.c 		sum += data.c[i].count;
count             255 tools/testing/selftests/rseq/param_test.c 	intptr_t count;
count             372 tools/testing/selftests/rseq/param_test.c 		data->c[cpu].count++;
count             432 tools/testing/selftests/rseq/param_test.c 		sum += data.c[i].count;
count             454 tools/testing/selftests/rseq/param_test.c 			ret = rseq_addv(&data->c[cpu].count, 1, cpu);
count             508 tools/testing/selftests/rseq/param_test.c 		sum += data.c[i].count;
count             291 tools/testing/selftests/rseq/rseq-arm.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             322 tools/testing/selftests/rseq/rseq-arm.h 		  [count]		"Ir" (count)
count             188 tools/testing/selftests/rseq/rseq-arm64.h #define RSEQ_ASM_OP_R_ADD(count)						\
count             190 tools/testing/selftests/rseq/rseq-arm64.h 			", %[" __rseq_str(count) "]\n"
count             318 tools/testing/selftests/rseq/rseq-arm64.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             334 tools/testing/selftests/rseq/rseq-arm64.h 		RSEQ_ASM_OP_R_ADD(count)
count             343 tools/testing/selftests/rseq/rseq-arm64.h 		  [count]		"r" (count)
count             294 tools/testing/selftests/rseq/rseq-mips.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             325 tools/testing/selftests/rseq/rseq-mips.h 		  [count]		"Ir" (count)
count             177 tools/testing/selftests/rseq/rseq-ppc.h #define RSEQ_ASM_OP_R_ADD(count)						\
count             178 tools/testing/selftests/rseq/rseq-ppc.h 		"add %%r17, %[" __rseq_str(count) "], %%r17\n\t"
count             334 tools/testing/selftests/rseq/rseq-ppc.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             355 tools/testing/selftests/rseq/rseq-ppc.h 		RSEQ_ASM_OP_R_ADD(count)
count             366 tools/testing/selftests/rseq/rseq-ppc.h 		  [count]		"r" (count)
count             266 tools/testing/selftests/rseq/rseq-s390.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             295 tools/testing/selftests/rseq/rseq-s390.h 		  [count]		"r" (count)
count              22 tools/testing/selftests/rseq/rseq-skip.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             238 tools/testing/selftests/rseq/rseq-x86.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             264 tools/testing/selftests/rseq/rseq-x86.h 		  [count]		"er" (count)
count             759 tools/testing/selftests/rseq/rseq-x86.h int rseq_addv(intptr_t *v, intptr_t count, int cpu)
count             785 tools/testing/selftests/rseq/rseq-x86.h 		  [count]		"ir" (count)
count             313 tools/testing/selftests/seccomp/seccomp_bpf.c 	int count = BPF_MAXINSNS + 1;
count             321 tools/testing/selftests/seccomp/seccomp_bpf.c 	filter = calloc(count, sizeof(*filter));
count             324 tools/testing/selftests/seccomp/seccomp_bpf.c 	for (i = 0; i < count; i++)
count             331 tools/testing/selftests/seccomp/seccomp_bpf.c 	prog.len = count;
count             350 tools/testing/selftests/seccomp/seccomp_bpf.c 	int count = BPF_MAXINSNS;
count             358 tools/testing/selftests/seccomp/seccomp_bpf.c 	filter = calloc(count, sizeof(*filter));
count             361 tools/testing/selftests/seccomp/seccomp_bpf.c 	for (i = 0; i < count; i++)
count             373 tools/testing/selftests/seccomp/seccomp_bpf.c 	prog.len = count;
count             383 tools/testing/selftests/seccomp/seccomp_bpf.c 		       i, count, i * (count + 4));
count              93 tools/testing/selftests/sparc64/drivers/adi-test.c 	unsigned long	count;
count              98 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "read", .total = 0, .count = 0, .bytes = 0};
count             100 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "pread", .total = 0, .count = 0, .bytes = 0};
count             102 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "write", .total = 0, .count = 0, .bytes = 0};
count             104 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "pwrite", .total = 0, .count = 0, .bytes = 0};
count             106 tools/testing/selftests/sparc64/drivers/adi-test.c 	.name = "seek", .total = 0, .count = 0, .bytes = 0};
count             113 tools/testing/selftests/sparc64/drivers/adi-test.c 	ustats->count++;
count             119 tools/testing/selftests/sparc64/drivers/adi-test.c 		       ustats->name, ustats->count,
count             120 tools/testing/selftests/sparc64/drivers/adi-test.c 		       (float)ustats->total / (float)ustats->count,
count             121 tools/testing/selftests/sparc64/drivers/adi-test.c 		       (float)ustats->bytes / (float)ustats->count);
count              39 tools/testing/selftests/sync/sw_sync.h int sw_sync_timeline_inc(int fd, unsigned int count);
count             133 tools/testing/selftests/sync/sync.c 	int count;
count             139 tools/testing/selftests/sync/sync.c 	count = info->num_fences;
count             143 tools/testing/selftests/sync/sync.c 	return count;
count             148 tools/testing/selftests/sync/sync.c 	unsigned int i, count = 0;
count             158 tools/testing/selftests/sync/sync.c 			count++;
count             163 tools/testing/selftests/sync/sync.c 	return count;
count             171 tools/testing/selftests/sync/sync.c int sw_sync_timeline_inc(int fd, unsigned int count)
count             173 tools/testing/selftests/sync/sync.c 	__u32 arg = count;
count             125 tools/testing/selftests/timers/clocksource-switch.c 	int count, i, status;
count             130 tools/testing/selftests/timers/clocksource-switch.c 	count = get_clocksources(clocksource_list);
count             138 tools/testing/selftests/timers/clocksource-switch.c 	for (i = 0; i < count; i++) {
count             157 tools/testing/selftests/timers/clocksource-switch.c 		for (i = 0; i < count; i++)
count              63 tools/testing/selftests/timers/leapcrash.c 	int count = 0;
count              81 tools/testing/selftests/timers/leapcrash.c 	for (count = 0; count < 20; count++) {
count              64 tools/testing/selftests/timers/mqueue-lat.c 	int i, count, ret;
count              74 tools/testing/selftests/timers/mqueue-lat.c 	count = 100;
count              77 tools/testing/selftests/timers/mqueue-lat.c 	for (i = 0; i < count; i++) {
count              94 tools/testing/selftests/timers/mqueue-lat.c 	if ((timespec_sub(start, end)/count) > TARGET_TIMEOUT + UNRESONABLE_LATENCY)
count             102 tools/testing/selftests/timers/nsleep-lat.c 	int i, count;
count             112 tools/testing/selftests/timers/nsleep-lat.c 	count = 10;
count             116 tools/testing/selftests/timers/nsleep-lat.c 	for (i = 0; i < count; i++)
count             120 tools/testing/selftests/timers/nsleep-lat.c 	if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) {
count             121 tools/testing/selftests/timers/nsleep-lat.c 		printf("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns);
count             126 tools/testing/selftests/timers/nsleep-lat.c 	for (i = 0; i < count; i++) {
count             134 tools/testing/selftests/timers/nsleep-lat.c 	if (latency/count > UNRESONABLE_LATENCY) {
count             135 tools/testing/selftests/timers/nsleep-lat.c 		printf("Large abs latency: %lld ns :", latency/count);
count             106 tools/testing/selftests/timers/threadtest.c 	int count;
count             110 tools/testing/selftests/timers/threadtest.c 		for (count = 0; count < LISTSIZE; count++)
count             111 tools/testing/selftests/timers/threadtest.c 			clock_gettime(CLOCK_MONOTONIC, &my_list[count]);
count              31 tools/testing/selftests/uevent/uevent_filtering.c ssize_t read_nointr(int fd, void *buf, size_t count)
count              36 tools/testing/selftests/uevent/uevent_filtering.c 	ret = read(fd, buf, count);
count              43 tools/testing/selftests/uevent/uevent_filtering.c ssize_t write_nointr(int fd, const void *buf, size_t count)
count              48 tools/testing/selftests/uevent/uevent_filtering.c 	ret = write(fd, buf, count);
count             290 tools/testing/selftests/vm/userfaultfd.c 	unsigned long long count;
count             326 tools/testing/selftests/vm/userfaultfd.c 			count = *area_count(area_dst, page_nr);
count             327 tools/testing/selftests/vm/userfaultfd.c 			if (!count)
count             330 tools/testing/selftests/vm/userfaultfd.c 					page_nr, count,
count             346 tools/testing/selftests/vm/userfaultfd.c 					page_nr, count,
count             374 tools/testing/selftests/vm/userfaultfd.c 		count = *area_count(area_dst, page_nr);
count             375 tools/testing/selftests/vm/userfaultfd.c 		if (count != count_verify[page_nr]) {
count             378 tools/testing/selftests/vm/userfaultfd.c 				page_nr, count,
count             381 tools/testing/selftests/vm/userfaultfd.c 		count++;
count             382 tools/testing/selftests/vm/userfaultfd.c 		*area_count(area_dst, page_nr) = count_verify[page_nr] = count;
count             714 tools/testing/selftests/vm/userfaultfd.c 	unsigned long long count;
count             756 tools/testing/selftests/vm/userfaultfd.c 		count = *area_count(area_dst, nr);
count             757 tools/testing/selftests/vm/userfaultfd.c 		if (count != count_verify[nr]) {
count             760 tools/testing/selftests/vm/userfaultfd.c 				nr, count,
count             777 tools/testing/selftests/vm/userfaultfd.c 		count = *area_count(area_dst, nr);
count             778 tools/testing/selftests/vm/userfaultfd.c 		if (count != count_verify[nr]) {
count             781 tools/testing/selftests/vm/userfaultfd.c 				nr, count,
count             231 tools/testing/selftests/vm/va_128TBswitch.c static int run_test(struct testcase *test, int count)
count             236 tools/testing/selftests/vm/va_128TBswitch.c 	for (i = 0; i < count; i++) {
count             227 tools/usb/ffs-test.c 	__u32 length, fs_count = 0, hs_count = 0, count;
count             262 tools/usb/ffs-test.c 		GET_NEXT_COUNT_IF_FLAG(count, FUNCTIONFS_HAS_SS_DESC);
count             264 tools/usb/ffs-test.c 		count = fs_count + hs_count;
count             265 tools/usb/ffs-test.c 		if (!count)
count             282 tools/usb/ffs-test.c 	} while (--count);
count             255 tools/vm/page-types.c 				 unsigned long count)
count             262 tools/vm/page-types.c 	bytes = pread(fd, buf, count * 8, (off_t)index * 8);
count             379 tools/vm/page-types.c 	static unsigned long count;
count             382 tools/vm/page-types.c 	    offset == index + count && size && voffset == voff + count) {
count             383 tools/vm/page-types.c 		count += size;
count             387 tools/vm/page-types.c 	if (count) {
count             397 tools/vm/page-types.c 				index, count, page_flag_name(flags0));
count             405 tools/vm/page-types.c 	count  = size;
count             663 tools/vm/page-types.c 		     unsigned long count,
count             678 tools/vm/page-types.c 	if (count == 1)
count             683 tools/vm/page-types.c 	while (count) {
count             684 tools/vm/page-types.c 		batch = min_t(unsigned long, count, KPAGEFLAGS_BATCH);
count             700 tools/vm/page-types.c 		count -= pages;
count             725 tools/vm/page-types.c static void walk_vma(unsigned long index, unsigned long count)
count             733 tools/vm/page-types.c 	while (count) {
count             734 tools/vm/page-types.c 		batch = min_t(unsigned long, count, PAGEMAP_BATCH);
count             748 tools/vm/page-types.c 		count -= pages;
count             752 tools/vm/page-types.c static void walk_task(unsigned long index, unsigned long count)
count             754 tools/vm/page-types.c 	const unsigned long end = index + count;
count              91 tools/vm/page_owner_sort.c 	int ret, i, count;
count             137 tools/vm/page_owner_sort.c 	for (i = count = 0; i < list_size; i++) {
count             138 tools/vm/page_owner_sort.c 		if (count == 0 ||
count             139 tools/vm/page_owner_sort.c 		    strcmp(list2[count-1].txt, list[i].txt) != 0) {
count             140 tools/vm/page_owner_sort.c 			list2[count++] = list[i];
count             142 tools/vm/page_owner_sort.c 			list2[count-1].num += list[i].num;
count             146 tools/vm/page_owner_sort.c 	qsort(list2, count, sizeof(list[0]), compare_num);
count             148 tools/vm/page_owner_sort.c 	for (i = 0; i < count; i++)
count            1183 tools/vm/slabinfo.c 	int count;
count            1196 tools/vm/slabinfo.c 			count = readlink(de->d_name, buffer, sizeof(buffer)-1);
count            1198 tools/vm/slabinfo.c 			if (count < 0)
count            1201 tools/vm/slabinfo.c 			buffer[count] = 0;
count            1202 tools/vm/slabinfo.c 			p = buffer + count;
count             457 virt/kvm/arm/pmu.c 	period = -(local64_read(&perf_event->count));
count             111 virt/kvm/arm/vgic/vgic-kvm-device.c 			u32 count = (*addr & KVM_VGIC_V3_RDIST_COUNT_MASK)
count             116 virt/kvm/arm/vgic/vgic-kvm-device.c 			if (!count || flags)
count             120 virt/kvm/arm/vgic/vgic-kvm-device.c 							    base, count);
count             132 virt/kvm/arm/vgic/vgic-kvm-device.c 		*addr |= (u64)rdreg->count << KVM_VGIC_V3_RDIST_COUNT_SHIFT;
count             701 virt/kvm/arm/vgic/vgic-mmio-v3.c 					gpa_t base, uint32_t count)
count             706 virt/kvm/arm/vgic/vgic-mmio-v3.c 	size_t size = count * KVM_VGIC_V3_REDIST_SIZE;
count             710 virt/kvm/arm/vgic/vgic-mmio-v3.c 	if (!count && !list_empty(rd_regions))
count             727 virt/kvm/arm/vgic/vgic-mmio-v3.c 		if (!rdreg->count)
count             736 virt/kvm/arm/vgic/vgic-mmio-v3.c 	if (!count && !IS_VGIC_ADDR_UNDEF(d->vgic_dist_base) &&
count             755 virt/kvm/arm/vgic/vgic-mmio-v3.c 	rdreg->count = count;
count             766 virt/kvm/arm/vgic/vgic-mmio-v3.c int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count)
count             770 virt/kvm/arm/vgic/vgic-mmio-v3.c 	ret = vgic_v3_insert_redist_region(kvm, index, addr, count);
count             761 virt/kvm/arm/vgic/vgic.c 	int count = 0;
count             775 virt/kvm/arm/vgic/vgic.c 		count += w;
count             778 virt/kvm/arm/vgic/vgic.c 	return count;
count             786 virt/kvm/arm/vgic/vgic.c 	int count;
count             792 virt/kvm/arm/vgic/vgic.c 	count = compute_ap_list_depth(vcpu, &multi_sgi);
count             793 virt/kvm/arm/vgic/vgic.c 	if (count > kvm_vgic_global_state.nr_lr || multi_sgi)
count             796 virt/kvm/arm/vgic/vgic.c 	count = 0;
count             814 virt/kvm/arm/vgic/vgic.c 			vgic_populate_lr(vcpu, irq, count++);
count             822 virt/kvm/arm/vgic/vgic.c 		if (count == kvm_vgic_global_state.nr_lr) {
count             830 virt/kvm/arm/vgic/vgic.c 	vcpu->arch.vgic_cpu.used_lrs = count;
count             833 virt/kvm/arm/vgic/vgic.c 	for ( ; count < kvm_vgic_global_state.nr_lr; count++)
count             834 virt/kvm/arm/vgic/vgic.c 		vgic_clear_lr(vcpu, count);
count             222 virt/kvm/arm/vgic/vgic.h int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count);
count             277 virt/kvm/arm/vgic/vgic.h 	if (!region->count)
count             280 virt/kvm/arm/vgic/vgic.h 	return (region->free_index >= region->count);
count             288 virt/kvm/arm/vgic/vgic.h 	if (!rdreg->count)
count             291 virt/kvm/arm/vgic/vgic.h 		return rdreg->count * KVM_VGIC_V3_REDIST_SIZE;