count 21 arch/x86/boot/memory.c int count = 0; count 50 arch/x86/boot/memory.c count = 0; count 54 arch/x86/boot/memory.c count++; count 56 arch/x86/boot/memory.c } while (next && count < ARRAY_SIZE(boot_params.e820_map)); count 58 arch/x86/boot/memory.c return boot_params.e820_entries = count; count 619 arch/x86/ia32/sys_ia32.c return sys_pread64(fd, ubuf, count, count 626 arch/x86/ia32/sys_ia32.c return sys_pwrite64(fd, ubuf, count, count 656 arch/x86/ia32/sys_ia32.c count); count 834 arch/x86/ia32/sys_ia32.c return sys_readahead(fd, ((u64)off_hi << 32) | off_lo, count); count 783 arch/x86/kernel/acpi/boot.c int count; count 793 arch/x86/kernel/acpi/boot.c count = count 796 arch/x86/kernel/acpi/boot.c if (count < 0) { count 799 arch/x86/kernel/acpi/boot.c return count; count 804 arch/x86/kernel/acpi/boot.c return count; count 809 arch/x86/kernel/acpi/boot.c int count; count 819 arch/x86/kernel/acpi/boot.c count = count 822 arch/x86/kernel/acpi/boot.c if (count < 0) { count 825 arch/x86/kernel/acpi/boot.c return count; count 830 arch/x86/kernel/acpi/boot.c count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_SAPIC, count 833 arch/x86/kernel/acpi/boot.c if (!count) count 834 arch/x86/kernel/acpi/boot.c count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_APIC, count 836 arch/x86/kernel/acpi/boot.c if (!count) { count 840 arch/x86/kernel/acpi/boot.c } else if (count < 0) { count 843 arch/x86/kernel/acpi/boot.c return count; count 846 arch/x86/kernel/acpi/boot.c count = count 848 arch/x86/kernel/acpi/boot.c if (count < 0) { count 851 arch/x86/kernel/acpi/boot.c return count; count 1222 arch/x86/kernel/acpi/boot.c int count; count 1246 arch/x86/kernel/acpi/boot.c count = count 1249 arch/x86/kernel/acpi/boot.c if (!count) { count 1252 arch/x86/kernel/acpi/boot.c } else if (count < 0) { count 1254 arch/x86/kernel/acpi/boot.c return count; count 1257 arch/x86/kernel/acpi/boot.c count = count 1260 arch/x86/kernel/acpi/boot.c if (count < 0) { count 1264 arch/x86/kernel/acpi/boot.c return count; count 1277 arch/x86/kernel/acpi/boot.c count = count 1280 arch/x86/kernel/acpi/boot.c if (count < 0) { count 1283 arch/x86/kernel/acpi/boot.c return count; count 68 arch/x86/kernel/acpi/processor.c obj_list->count = 1; count 1416 arch/x86/kernel/apm_32.c if ((int)count < sizeof(apm_event_t)) count 1421 arch/x86/kernel/apm_32.c i = count; count 1425 arch/x86/kernel/apm_32.c if (i < count) count 1443 arch/x86/kernel/apm_32.c if (i < count) count 1444 arch/x86/kernel/apm_32.c return count - i; count 557 arch/x86/kernel/cpu/common.c int count = 0; count 564 arch/x86/kernel/cpu/common.c if (count >= X86_VENDOR_NUM) count 566 arch/x86/kernel/cpu/common.c cpu_devs[count] = cpudev; count 567 arch/x86/kernel/cpu/common.c count++; count 760 arch/x86/kernel/cpu/intel_cacheinfo.c ssize_t (*store)(struct _cpuid4_info *, const char *, size_t count); count 815 arch/x86/kernel/cpu/intel_cacheinfo.c buf, count) : count 251 arch/x86/kernel/cpu/mcheck/mce_amd_64.c ssize_t(*store) (struct threshold_block *, const char *, size_t count); count 376 arch/x86/kernel/cpu/mcheck/mce_amd_64.c ret = a->store ? a->store(b, buf, count) : -EIO; count 552 arch/x86/kernel/cpu/mtrr/generic.c unsigned long mask, count; count 568 arch/x86/kernel/cpu/mtrr/generic.c for (count = 0; count < sizeof mask * 8; ++count) { count 570 arch/x86/kernel/cpu/mtrr/generic.c set_bit(count, &smp_changes_mask); count 125 arch/x86/kernel/cpu/mtrr/main.c atomic_t count; count 144 arch/x86/kernel/cpu/mtrr/main.c atomic_dec(&data->count); count 155 arch/x86/kernel/cpu/mtrr/main.c atomic_dec(&data->count); count 159 arch/x86/kernel/cpu/mtrr/main.c atomic_dec(&data->count); count 220 arch/x86/kernel/cpu/mtrr/main.c atomic_set(&data.count, num_booting_cpus() - 1); count 231 arch/x86/kernel/cpu/mtrr/main.c while(atomic_read(&data.count)) count 235 arch/x86/kernel/cpu/mtrr/main.c atomic_set(&data.count, num_booting_cpus() - 1); count 251 arch/x86/kernel/cpu/mtrr/main.c while(atomic_read(&data.count)) count 254 arch/x86/kernel/cpu/mtrr/main.c atomic_set(&data.count, num_booting_cpus() - 1); count 262 arch/x86/kernel/cpu/mtrr/main.c while(atomic_read(&data.count)) count 239 arch/x86/kernel/cpu/perfctr-watchdog.c u64 count = (u64)cpu_khz * 1000; count 240 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, 0x7fffffffUL); count 241 arch/x86/kernel/cpu/perfctr-watchdog.c retval = count + 1; count 249 arch/x86/kernel/cpu/perfctr-watchdog.c u64 count = (u64)cpu_khz * 1000; count 251 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, nmi_hz); count 253 arch/x86/kernel/cpu/perfctr-watchdog.c pr_debug("setting %s to -0x%08Lx\n", descr, count); count 254 arch/x86/kernel/cpu/perfctr-watchdog.c wrmsrl(perfctr_msr, 0 - count); count 260 arch/x86/kernel/cpu/perfctr-watchdog.c u64 count = (u64)cpu_khz * 1000; count 262 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, nmi_hz); count 264 arch/x86/kernel/cpu/perfctr-watchdog.c pr_debug("setting %s to -0x%08Lx\n", descr, count); count 265 arch/x86/kernel/cpu/perfctr-watchdog.c wrmsr(perfctr_msr, (u32)(-count), 0); count 94 arch/x86/kernel/cpuid.c if (count % 16) count 97 arch/x86/kernel/cpuid.c for (; count; count -= 16) { count 219 arch/x86/kernel/ds.c context->count++; count 264 arch/x86/kernel/ds.c context->count++; count 280 arch/x86/kernel/ds.c if (--context->count) count 860 arch/x86/kernel/ds.c unsigned long leftovers = context->count; count 876 arch/x86/kernel/e820.c int i, count; count 879 arch/x86/kernel/e820.c count = 0; count 881 arch/x86/kernel/e820.c count++; count 884 arch/x86/kernel/e820.c count, start, end); count 885 arch/x86/kernel/e820.c for (i = 0; i < count; i++) { count 134 arch/x86/kernel/efi.c return efi_call_virt1(get_next_high_mono_count, count); count 190 arch/x86/kernel/i387.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, count 209 arch/x86/kernel/i387.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, count 378 arch/x86/kernel/i387.c return fpregs_soft_get(target, regset, pos, count, kbuf, ubuf); count 381 arch/x86/kernel/i387.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, count 386 arch/x86/kernel/i387.c if (kbuf && pos == 0 && count == sizeof(env)) { count 393 arch/x86/kernel/i387.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &env, 0, -1); count 410 arch/x86/kernel/i387.c return fpregs_soft_set(target, regset, pos, count, kbuf, ubuf); count 413 arch/x86/kernel/i387.c return user_regset_copyin(&pos, &count, &kbuf, &ubuf, count 417 arch/x86/kernel/i387.c if (pos > 0 || count < sizeof(env)) count 420 arch/x86/kernel/i387.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &env, 0, -1); count 137 arch/x86/kernel/i8253.c int count; count 158 arch/x86/kernel/i8253.c count = inb_pit(PIT_CH0); /* read the latched count */ count 159 arch/x86/kernel/i8253.c count |= inb_pit(PIT_CH0) << 8; count 162 arch/x86/kernel/i8253.c if (count > LATCH) { count 166 arch/x86/kernel/i8253.c count = LATCH - 1; count 182 arch/x86/kernel/i8253.c if (count > old_count && jifs == old_jifs) { count 183 arch/x86/kernel/i8253.c count = old_count; count 185 arch/x86/kernel/i8253.c old_count = count; count 190 arch/x86/kernel/i8253.c count = (LATCH - 1) - count; count 192 arch/x86/kernel/i8253.c return (cycle_t)(jifs * LATCH) + count; count 45 arch/x86/kernel/kdebugfs.c if (count > node->len - pos) count 46 arch/x86/kernel/kdebugfs.c count = node->len - pos; count 48 arch/x86/kernel/kdebugfs.c pg = pfn_to_page((pa + count - 1) >> PAGE_SHIFT); count 50 arch/x86/kernel/kdebugfs.c p = ioremap_cache(pa, count); count 57 arch/x86/kernel/kdebugfs.c remain = copy_to_user(user_buf, p, count); count 65 arch/x86/kernel/kdebugfs.c *ppos = pos + count; count 67 arch/x86/kernel/kdebugfs.c return count; count 126 arch/x86/kernel/microcode_intel.c unsigned int count; count 150 arch/x86/kernel/microcode_intel.c #define exttable_size(et) ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE) count 234 arch/x86/kernel/microcode_intel.c ext_sigcount = ext_header->count; count 302 arch/x86/kernel/microcode_intel.c ext_sigcount = ext_header->count; count 291 arch/x86/kernel/mpparse.c int count = sizeof(*mpc); count 292 arch/x86/kernel/mpparse.c unsigned char *mpt = ((unsigned char *)mpc) + count; count 327 arch/x86/kernel/mpparse.c while (count < mpc->mpc_length) { count 337 arch/x86/kernel/mpparse.c count += sizeof(*m); count 348 arch/x86/kernel/mpparse.c count += sizeof(*m); count 359 arch/x86/kernel/mpparse.c count += sizeof(struct mpc_config_ioapic); count 371 arch/x86/kernel/mpparse.c count += sizeof(struct mpc_config_intsrc); count 380 arch/x86/kernel/mpparse.c count += sizeof(*m); count 389 arch/x86/kernel/mpparse.c count = mpc->mpc_length; count 855 arch/x86/kernel/mpparse.c int count = sizeof(*mpc); count 856 arch/x86/kernel/mpparse.c unsigned char *mpt = ((unsigned char *)mpc) + count; count 859 arch/x86/kernel/mpparse.c while (count < mpc->mpc_length) { count 866 arch/x86/kernel/mpparse.c count += sizeof(*m); count 874 arch/x86/kernel/mpparse.c count += sizeof(*m); count 880 arch/x86/kernel/mpparse.c count += sizeof(struct mpc_config_ioapic); count 909 arch/x86/kernel/mpparse.c count += sizeof(struct mpc_config_intsrc); count 917 arch/x86/kernel/mpparse.c count += sizeof(*m); count 949 arch/x86/kernel/mpparse.c count += sizeof(struct mpc_config_intsrc); count 951 arch/x86/kernel/mpparse.c printk(KERN_INFO "No spare slots, try to append...take your risk, new mpc_length %x\n", count); count 953 arch/x86/kernel/mpparse.c if (count <= mpc_new_length) count 954 arch/x86/kernel/mpparse.c printk(KERN_INFO "No spare slots, try to append..., new mpc_length %x\n", count); count 961 arch/x86/kernel/mpparse.c mpc->mpc_length = count; count 78 arch/x86/kernel/msr.c if (count % 8) count 81 arch/x86/kernel/msr.c for (; count; count -= 8) { count 109 arch/x86/kernel/msr.c if (count % 8) count 112 arch/x86/kernel/msr.c for (; count; count -= 8) { count 192 arch/x86/kernel/numaq_32.c int count = sizeof(*oemtable); /* the header size */ count 193 arch/x86/kernel/numaq_32.c unsigned char *oemptr = ((unsigned char *)oemtable) + count; count 209 arch/x86/kernel/numaq_32.c while (count < oemtable->oem_length) { count 217 arch/x86/kernel/numaq_32.c count += sizeof(*m); count 633 arch/x86/kernel/pci-calgary_64.c int count = 1; count 638 arch/x86/kernel/pci-calgary_64.c "sequence - count %d\n", bus, count); count 666 arch/x86/kernel/pci-calgary_64.c if (++count < 100) count 702 arch/x86/kernel/process_32.c int count = 0; count 718 arch/x86/kernel/process_32.c } while (count++ < 16); count 737 arch/x86/kernel/process_64.c int count = 0; count 753 arch/x86/kernel/process_64.c } while (count++ < 16); count 422 arch/x86/kernel/ptrace.c while (count > 0) { count 424 arch/x86/kernel/ptrace.c count -= sizeof(*k); count 429 arch/x86/kernel/ptrace.c while (count > 0) { count 432 arch/x86/kernel/ptrace.c count -= sizeof(*u); count 448 arch/x86/kernel/ptrace.c while (count > 0 && !ret) { count 450 arch/x86/kernel/ptrace.c count -= sizeof(*k); count 455 arch/x86/kernel/ptrace.c while (count > 0 && !ret) { count 461 arch/x86/kernel/ptrace.c count -= sizeof(*u); count 578 arch/x86/kernel/ptrace.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, count 1282 arch/x86/kernel/ptrace.c while (count > 0) { count 1284 arch/x86/kernel/ptrace.c count -= sizeof(*k); count 1289 arch/x86/kernel/ptrace.c while (count > 0) { count 1294 arch/x86/kernel/ptrace.c count -= sizeof(*u); count 1310 arch/x86/kernel/ptrace.c while (count > 0 && !ret) { count 1312 arch/x86/kernel/ptrace.c count -= sizeof(*k); count 1317 arch/x86/kernel/ptrace.c while (count > 0 && !ret) { count 1323 arch/x86/kernel/ptrace.c count -= sizeof(*u); count 105 arch/x86/kernel/tlb_uv.c int count = 0; count 119 arch/x86/kernel/tlb_uv.c count++; count 126 arch/x86/kernel/tlb_uv.c return count; count 139 arch/x86/kernel/tlb_uv.c int count = 0; count 145 arch/x86/kernel/tlb_uv.c count += uv_examine_destination(uv_bau_table_bases[i], sender); count 147 arch/x86/kernel/tlb_uv.c return count; count 371 arch/x86/kernel/tlb_uv.c int count = 0; count 387 arch/x86/kernel/tlb_uv.c count++; count 399 arch/x86/kernel/tlb_uv.c if (!count) count 401 arch/x86/kernel/tlb_uv.c else if (count > 1) count 496 arch/x86/kernel/tlb_uv.c if (count == 0 || count > sizeof(optstr)) count 498 arch/x86/kernel/tlb_uv.c if (copy_from_user(optstr, user, count)) count 500 arch/x86/kernel/tlb_uv.c optstr[count - 1] = '\0'; count 539 arch/x86/kernel/tlb_uv.c return count; count 168 arch/x86/kernel/tls.c (count % sizeof(struct user_desc)) != 0) count 172 arch/x86/kernel/tls.c count /= sizeof(struct user_desc); count 178 arch/x86/kernel/tls.c while (count-- > 0) count 183 arch/x86/kernel/tls.c while (count-- > 0) { count 203 arch/x86/kernel/tls.c (count % sizeof(struct user_desc)) != 0) count 208 arch/x86/kernel/tls.c else if (__copy_from_user(infobuf, ubuf, count)) count 215 arch/x86/kernel/tls.c info, count / sizeof(struct user_desc)); count 267 arch/x86/kernel/tsc.c int count = 0; count 269 arch/x86/kernel/tsc.c for (count = 0; count < 50000; count++) { count 275 arch/x86/kernel/tsc.c return count > 50; count 417 arch/x86/kernel/vmi_32.c vmi_ops.allocate_page(pfn, VMI_PAGE_L2 | VMI_PAGE_CLONE, clonepfn, start, count); count 118 arch/x86/kvm/i8254.c counter = (c->count - d) & 0xffff; count 122 arch/x86/kvm/i8254.c counter = c->count - (mod_64((2 * d), c->count)); count 125 arch/x86/kvm/i8254.c counter = c->count - mod_64(d, c->count); count 146 arch/x86/kvm/i8254.c out = (d >= c->count); count 149 arch/x86/kvm/i8254.c out = (d < c->count); count 152 arch/x86/kvm/i8254.c out = ((mod_64(d, c->count) == 0) && (d != 0)); count 155 arch/x86/kvm/i8254.c out = (mod_64(d, c->count) < ((c->count + 1) >> 1)); count 159 arch/x86/kvm/i8254.c out = (d == c->count); count 294 arch/x86/kvm/i8254.c ps->channels[channel].count = val; count 402 arch/x86/kvm/i8254.c int ret, count; count 433 arch/x86/kvm/i8254.c count = pit_get_count(kvm, addr); count 434 arch/x86/kvm/i8254.c ret = count & 0xff; count 437 arch/x86/kvm/i8254.c count = pit_get_count(kvm, addr); count 438 arch/x86/kvm/i8254.c ret = (count >> 8) & 0xff; count 441 arch/x86/kvm/i8254.c count = pit_get_count(kvm, addr); count 442 arch/x86/kvm/i8254.c ret = count & 0xff; count 446 arch/x86/kvm/i8254.c count = pit_get_count(kvm, addr); count 447 arch/x86/kvm/i8254.c ret = (count >> 8) & 0xff; count 16 arch/x86/kvm/i8254.h u32 count; /* can be 65536 */ count 1592 arch/x86/kvm/x86.c kvm_pit_load_count(kvm, 0, ps->channels[0].count); count 2264 arch/x86/kvm/x86.c io->count -= io->cur_count; count 2321 arch/x86/kvm/x86.c vcpu->run->io.count = vcpu->arch.pio.count = vcpu->arch.pio.cur_count = 1; count 2365 arch/x86/kvm/x86.c vcpu->run->io.count = vcpu->arch.pio.count = vcpu->arch.pio.cur_count = count; count 2380 arch/x86/kvm/x86.c if (!count) { count 2389 arch/x86/kvm/x86.c now = min(count, (unsigned long)in_page / size); count 2407 arch/x86/kvm/x86.c vcpu->run->io.count = now; count 2410 arch/x86/kvm/x86.c if (vcpu->arch.pio.cur_count == vcpu->arch.pio.count) count 2432 arch/x86/kvm/x86.c if (vcpu->arch.pio.count == 0) count 2438 arch/x86/kvm/x86.c port, size, count); count 883 arch/x86/lguest/boot.c unsigned int len = count; count 36 arch/x86/lib/csum-partial_64.c unsigned odd, count; count 47 arch/x86/lib/csum-partial_64.c count = len >> 1; /* nr of 16-bit words.. */ count 48 arch/x86/lib/csum-partial_64.c if (count) { count 51 arch/x86/lib/csum-partial_64.c count--; count 55 arch/x86/lib/csum-partial_64.c count >>= 1; /* nr of 32-bit words.. */ count 56 arch/x86/lib/csum-partial_64.c if (count) { count 61 arch/x86/lib/csum-partial_64.c count--; count 65 arch/x86/lib/csum-partial_64.c count >>= 1; /* nr of 64-bit words.. */ count 69 arch/x86/lib/csum-partial_64.c count64 = count >> 3; count 88 arch/x86/lib/csum-partial_64.c count %= 8; count 89 arch/x86/lib/csum-partial_64.c while (count) { count 95 arch/x86/lib/csum-partial_64.c --count; count 19 arch/x86/lib/memcpy_32.c return __memset(s, c, count); count 12 arch/x86/lib/memmove_64.c return memcpy(dest, src, count); count 14 arch/x86/lib/memmove_64.c char *p = dest + count; count 15 arch/x86/lib/memmove_64.c const char *s = src + count; count 16 arch/x86/lib/memmove_64.c while (count--) count 45 arch/x86/lib/string_32.c : "0" (src), "1" (dest), "2" (count) : "memory"); count 86 arch/x86/lib/string_32.c : "0" (src), "1" (dest), "2" (0), "3" (0xffffffffu), "g" (count) count 134 arch/x86/lib/string_32.c : "1" (cs), "2" (ct), "3" (count) count 185 arch/x86/lib/string_32.c if (!count) count 193 arch/x86/lib/string_32.c : "a" (c), "0" (cs), "1" (count) count 232 arch/x86/lib/string_32.c : "c" (s), "1" (count) count 59 arch/x86/lib/usercopy_32.c : "=d"(res), "=c"(count), "=&a" (__d0), "=&S" (__d1), \ count 61 arch/x86/lib/usercopy_32.c : "i"(-EFAULT), "0"(count), "1"(count), "3"(src), "4"(dst) \ count 89 arch/x86/lib/usercopy_32.c __do_strncpy_from_user(dst, src, count, res); count 117 arch/x86/lib/usercopy_32.c __do_strncpy_from_user(dst, src, count, res); count 35 arch/x86/lib/usercopy_64.c : "=r"(res), "=c"(count), "=&a" (__d0), "=&S" (__d1), \ count 37 arch/x86/lib/usercopy_64.c : "i"(-EFAULT), "0"(count), "1"(count), "3"(src), "4"(dst) \ count 45 arch/x86/lib/usercopy_64.c __do_strncpy_from_user(dst, src, count, res); count 55 arch/x86/lib/usercopy_64.c return __strncpy_from_user(dst, src, count); count 690 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, s387, 0, count 704 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, count 707 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, count 753 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, s387, 0, count 758 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, count 761 arch/x86/math-emu/fpu_entry.c ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, count 623 arch/x86/mm/ioremap.c int count = 0; count 628 arch/x86/mm/ioremap.c count++; count 630 arch/x86/mm/ioremap.c if (!count) count 634 arch/x86/mm/ioremap.c count); count 41 arch/x86/mm/kmmio.c int count; count 317 arch/x86/mm/kmmio.c if (!f->count) count 319 arch/x86/mm/kmmio.c f->count++; count 327 arch/x86/mm/kmmio.c f->count = 1; count 347 arch/x86/mm/kmmio.c f->count--; count 348 arch/x86/mm/kmmio.c BUG_ON(f->count < 0); count 349 arch/x86/mm/kmmio.c if (!f->count) { count 402 arch/x86/mm/kmmio.c BUG_ON(p->count); count 420 arch/x86/mm/kmmio.c if (!p->count) count 21 arch/x86/mm/memtest.c unsigned long count; count 51 arch/x86/mm/memtest.c count = (size - (start_phys_aligned - start_phys))/incr; count 56 arch/x86/mm/memtest.c for (i = 0; i < count; i++) count 58 arch/x86/mm/memtest.c for (i = 0; i < count; i++, start++, start_phys_aligned += incr) { count 110 arch/x86/mm/mmio-mod.c ssize_t len = (count > 65535) ? 65535 : count; count 355 arch/x86/oprofile/nmi_int.c oprofilefs_create_ulong(sb, dir, "count", &counter_config[i].count); count 19 arch/x86/oprofile/op_counter.h unsigned long count; count 173 arch/x86/oprofile/op_model_amd.c reset_value[i] = counter_config[i].count; count 175 arch/x86/oprofile/op_model_amd.c CTR_WRITE(counter_config[i].count, msrs, i); count 585 arch/x86/oprofile/op_model_p4.c reset_value[i] = counter_config[i].count; count 587 arch/x86/oprofile/op_model_p4.c CTR_WRITE(counter_config[i].count, VIRT_CTR(stag, i)); count 89 arch/x86/oprofile/op_model_ppro.c reset_value[i] = counter_config[i].count; count 91 arch/x86/oprofile/op_model_ppro.c CTR_32BIT_WRITE(counter_config[i].count, msrs, i); count 467 arch/x86/xen/enlighten.c unsigned in, out, count; count 469 arch/x86/xen/enlighten.c count = (desc->size+1) / sizeof(gate_desc); count 470 arch/x86/xen/enlighten.c BUG_ON(count > 256); count 472 arch/x86/xen/enlighten.c for (in = out = 0; in < count; in++) { count 1409 block/as-iosched.c return count; count 1443 block/as-iosched.c static ssize_t __FUNC(elevator_t *e, const char *page, size_t count) \ count 1446 block/as-iosched.c int ret = as_var_store(__PTR, (page), count); \ count 297 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); count 307 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); count 319 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); count 462 block/blk-core.c rl->count[READ] = rl->count[WRITE] = 0; count 684 block/blk-core.c if (rl->count[rw] < queue_congestion_off_threshold(q)) count 687 block/blk-core.c if (rl->count[rw] + 1 <= q->nr_requests) { count 703 block/blk-core.c rl->count[rw]--; count 732 block/blk-core.c if (rl->count[rw]+1 >= queue_congestion_on_threshold(q)) { count 733 block/blk-core.c if (rl->count[rw]+1 >= q->nr_requests) { count 764 block/blk-core.c if (rl->count[rw] >= (3 * q->nr_requests / 2)) count 767 block/blk-core.c rl->count[rw]++; count 796 block/blk-core.c if (unlikely(rl->count[rw] == 0)) count 1505 block/blk-core.c int count = bio_sectors(bio); count 1515 block/blk-core.c count_vm_events(PGPGOUT, count); count 1518 block/blk-core.c count_vm_events(PGPGIN, count); count 192 block/blk-integrity.c ret = entry->store(bi, page, count); count 224 block/blk-integrity.c return count; count 243 block/blk-integrity.c return count; count 30 block/blk-sysfs.c return count; count 43 block/blk-sysfs.c int ret = queue_var_store(&nr, page, count); count 51 block/blk-sysfs.c if (rl->count[READ] >= queue_congestion_on_threshold(q)) count 53 block/blk-sysfs.c else if (rl->count[READ] < queue_congestion_off_threshold(q)) count 56 block/blk-sysfs.c if (rl->count[WRITE] >= queue_congestion_on_threshold(q)) count 58 block/blk-sysfs.c else if (rl->count[WRITE] < queue_congestion_off_threshold(q)) count 61 block/blk-sysfs.c if (rl->count[READ] >= q->nr_requests) { count 63 block/blk-sysfs.c } else if (rl->count[READ]+1 <= q->nr_requests) { count 68 block/blk-sysfs.c if (rl->count[WRITE] >= q->nr_requests) { count 70 block/blk-sysfs.c } else if (rl->count[WRITE]+1 <= q->nr_requests) { count 89 block/blk-sysfs.c ssize_t ret = queue_var_store(&ra_kb, page, count); count 116 block/blk-sysfs.c ssize_t ret = queue_var_store(&max_sectors_kb, page, count); count 147 block/blk-sysfs.c ssize_t ret = queue_var_store(&nm, page, count); count 173 block/blk-sysfs.c ret = queue_var_store(&val, page, count); count 51 block/blk-timeout.c if (count) { count 64 block/blk-timeout.c return count; count 273 block/blktrace.c return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); count 295 block/blktrace.c if (count > BLK_TN_MAX_MSG) count 298 block/blktrace.c msg = kmalloc(count, GFP_KERNEL); count 302 block/blktrace.c if (copy_from_user(msg, buffer, count)) { count 311 block/blktrace.c return count; count 527 block/bsg.c if (count % sizeof(struct sg_io_v4)) count 531 block/bsg.c nr_commands = count / sizeof(struct sg_io_v4); count 589 block/bsg.c dprintk("%s: read %Zd bytes\n", bd->name, count); count 594 block/bsg.c ret = __bsg_read(buf, count, bd, NULL, &bytes_read); count 610 block/bsg.c if (count % sizeof(struct sg_io_v4)) count 613 block/bsg.c nr_commands = count / sizeof(struct sg_io_v4); count 663 block/bsg.c dprintk("%s: write %Zd bytes\n", bd->name, count); count 668 block/bsg.c ret = __bsg_write(bd, buf, count, &bytes_written, count 2287 block/cfq-iosched.c return count; count 2311 block/cfq-iosched.c static ssize_t __FUNC(elevator_t *e, const char *page, size_t count) \ count 2315 block/cfq-iosched.c int ret = cfq_var_store(&__data, (page), count); \ count 129 block/cmd-filter.c return count; count 135 block/cmd-filter.c return rcf_cmds_store(filter, page, count, READ); count 141 block/cmd-filter.c return rcf_cmds_store(filter, page, count, WRITE); count 386 block/deadline-iosched.c return count; count 406 block/deadline-iosched.c static ssize_t __FUNC(elevator_t *e, const char *page, size_t count) \ count 410 block/deadline-iosched.c int ret = deadline_var_store(&__data, (page), count); \ count 673 block/elevator.c int nrq = q->rq.count[READ] + q->rq.count[WRITE] count 1187 block/elevator.c return count; count 1193 block/elevator.c return count; count 166 crypto/async_tx/async_tx.c atomic_set(&ref->count, 0); count 187 crypto/async_tx/async_tx.c else if (atomic_read(&ref->count) < count 188 crypto/async_tx/async_tx.c atomic_read(&min_ref->count)) count 202 crypto/async_tx/async_tx.c atomic_inc(&ret_ref->count); count 228 crypto/async_tx/async_tx.c atomic_set(&ref->count, 0); count 406 crypto/blowfish.c short i, j, count; count 410 crypto/blowfish.c for (i = 0, count = 0; i < 256; i++) count 411 crypto/blowfish.c for (j = 0; j < 4; j++, count++) count 412 crypto/blowfish.c S[count] = bf_sbox[count]; count 440 crypto/blowfish.c for (j = 0, count = i * 256; j < 256; j += 2, count += 2) { count 443 crypto/blowfish.c S[count] = data[0]; count 444 crypto/blowfish.c S[count + 1] = data[1]; count 29 crypto/sha1_generic.c u64 count; count 53 crypto/sha1_generic.c partial = sctx->count & 0x3f; count 54 crypto/sha1_generic.c sctx->count += len; count 89 crypto/sha1_generic.c bits = cpu_to_be64(sctx->count << 3); count 92 crypto/sha1_generic.c index = sctx->count & 0x3f; count 29 crypto/sha256_generic.c u32 count[2]; count 234 crypto/sha256_generic.c sctx->count[0] = 0; count 235 crypto/sha256_generic.c sctx->count[1] = 0; count 249 crypto/sha256_generic.c sctx->count[0] = sctx->count[1] = 0; count 259 crypto/sha256_generic.c index = (unsigned int)((sctx->count[0] >> 3) & 0x3f); count 262 crypto/sha256_generic.c if ((sctx->count[0] += (len << 3)) < (len << 3)) { count 263 crypto/sha256_generic.c sctx->count[1]++; count 264 crypto/sha256_generic.c sctx->count[1] += (len >> 29); count 295 crypto/sha256_generic.c bits[1] = cpu_to_be32(sctx->count[0]); count 296 crypto/sha256_generic.c bits[0] = cpu_to_be32(sctx->count[1]); count 299 crypto/sha256_generic.c index = (sctx->count[0] >> 3) & 0x3f; count 26 crypto/sha512_generic.c u32 count[4]; count 149 crypto/sha512_generic.c sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; count 164 crypto/sha512_generic.c sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; count 175 crypto/sha512_generic.c index = (unsigned int)((sctx->count[0] >> 3) & 0x7F); count 178 crypto/sha512_generic.c if ((sctx->count[0] += (len << 3)) < (len << 3)) { count 179 crypto/sha512_generic.c if ((sctx->count[1] += 1) < 1) count 180 crypto/sha512_generic.c if ((sctx->count[2] += 1) < 1) count 181 crypto/sha512_generic.c sctx->count[3]++; count 182 crypto/sha512_generic.c sctx->count[1] += (len >> 29); count 218 crypto/sha512_generic.c bits[3] = cpu_to_be32(sctx->count[0]); count 219 crypto/sha512_generic.c bits[2] = cpu_to_be32(sctx->count[1]); count 220 crypto/sha512_generic.c bits[1] = cpu_to_be32(sctx->count[2]); count 221 crypto/sha512_generic.c bits[0] = cpu_to_be32(sctx->count[3]); count 224 crypto/sha512_generic.c index = (sctx->count[0] >> 3) & 0x7f; count 57 crypto/testmgr.c unsigned int count; count 64 crypto/testmgr.c unsigned int count; count 71 crypto/testmgr.c unsigned int count; count 77 crypto/testmgr.c unsigned int count; count 900 crypto/testmgr.c desc->suite.aead.enc.count); count 907 crypto/testmgr.c desc->suite.aead.dec.count); count 929 crypto/testmgr.c desc->suite.cipher.enc.count); count 936 crypto/testmgr.c desc->suite.cipher.dec.count); count 958 crypto/testmgr.c desc->suite.cipher.enc.count); count 965 crypto/testmgr.c desc->suite.cipher.dec.count); count 987 crypto/testmgr.c desc->suite.comp.comp.count, count 988 crypto/testmgr.c desc->suite.comp.decomp.count); count 1007 crypto/testmgr.c err = test_hash(tfm, desc->suite.hash.vecs, desc->suite.hash.count); count 1022 crypto/testmgr.c .count = AES_CBC_ENC_TEST_VECTORS count 1026 crypto/testmgr.c .count = AES_CBC_DEC_TEST_VECTORS count 1037 crypto/testmgr.c .count = ANUBIS_CBC_ENC_TEST_VECTORS count 1041 crypto/testmgr.c .count = ANUBIS_CBC_DEC_TEST_VECTORS count 1052 crypto/testmgr.c .count = BF_CBC_ENC_TEST_VECTORS count 1056 crypto/testmgr.c .count = BF_CBC_DEC_TEST_VECTORS count 1067 crypto/testmgr.c .count = CAMELLIA_CBC_ENC_TEST_VECTORS count 1071 crypto/testmgr.c .count = CAMELLIA_CBC_DEC_TEST_VECTORS count 1082 crypto/testmgr.c .count = DES_CBC_ENC_TEST_VECTORS count 1086 crypto/testmgr.c .count = DES_CBC_DEC_TEST_VECTORS count 1097 crypto/testmgr.c .count = DES3_EDE_CBC_ENC_TEST_VECTORS count 1101 crypto/testmgr.c .count = DES3_EDE_CBC_DEC_TEST_VECTORS count 1112 crypto/testmgr.c .count = TF_CBC_ENC_TEST_VECTORS count 1116 crypto/testmgr.c .count = TF_CBC_DEC_TEST_VECTORS count 1127 crypto/testmgr.c .count = AES_CCM_ENC_TEST_VECTORS count 1131 crypto/testmgr.c .count = AES_CCM_DEC_TEST_VECTORS count 1141 crypto/testmgr.c .count = CRC32C_TEST_VECTORS count 1151 crypto/testmgr.c .count = CTS_MODE_ENC_TEST_VECTORS count 1155 crypto/testmgr.c .count = CTS_MODE_DEC_TEST_VECTORS count 1166 crypto/testmgr.c .count = DEFLATE_COMP_TEST_VECTORS count 1170 crypto/testmgr.c .count = DEFLATE_DECOMP_TEST_VECTORS count 1181 crypto/testmgr.c .count = AES_ENC_TEST_VECTORS count 1185 crypto/testmgr.c .count = AES_DEC_TEST_VECTORS count 1196 crypto/testmgr.c .count = ANUBIS_ENC_TEST_VECTORS count 1200 crypto/testmgr.c .count = ANUBIS_DEC_TEST_VECTORS count 1211 crypto/testmgr.c .count = ARC4_ENC_TEST_VECTORS count 1215 crypto/testmgr.c .count = ARC4_DEC_TEST_VECTORS count 1226 crypto/testmgr.c .count = BF_ENC_TEST_VECTORS count 1230 crypto/testmgr.c .count = BF_DEC_TEST_VECTORS count 1241 crypto/testmgr.c .count = CAMELLIA_ENC_TEST_VECTORS count 1245 crypto/testmgr.c .count = CAMELLIA_DEC_TEST_VECTORS count 1256 crypto/testmgr.c .count = CAST5_ENC_TEST_VECTORS count 1260 crypto/testmgr.c .count = CAST5_DEC_TEST_VECTORS count 1271 crypto/testmgr.c .count = CAST6_ENC_TEST_VECTORS count 1275 crypto/testmgr.c .count = CAST6_DEC_TEST_VECTORS count 1286 crypto/testmgr.c .count = DES_ENC_TEST_VECTORS count 1290 crypto/testmgr.c .count = DES_DEC_TEST_VECTORS count 1301 crypto/testmgr.c .count = DES3_EDE_ENC_TEST_VECTORS count 1305 crypto/testmgr.c .count = DES3_EDE_DEC_TEST_VECTORS count 1316 crypto/testmgr.c .count = KHAZAD_ENC_TEST_VECTORS count 1320 crypto/testmgr.c .count = KHAZAD_DEC_TEST_VECTORS count 1331 crypto/testmgr.c .count = SEED_ENC_TEST_VECTORS count 1335 crypto/testmgr.c .count = SEED_DEC_TEST_VECTORS count 1346 crypto/testmgr.c .count = SERPENT_ENC_TEST_VECTORS count 1350 crypto/testmgr.c .count = SERPENT_DEC_TEST_VECTORS count 1361 crypto/testmgr.c .count = TEA_ENC_TEST_VECTORS count 1365 crypto/testmgr.c .count = TEA_DEC_TEST_VECTORS count 1376 crypto/testmgr.c .count = TNEPRES_ENC_TEST_VECTORS count 1380 crypto/testmgr.c .count = TNEPRES_DEC_TEST_VECTORS count 1391 crypto/testmgr.c .count = TF_ENC_TEST_VECTORS count 1395 crypto/testmgr.c .count = TF_DEC_TEST_VECTORS count 1406 crypto/testmgr.c .count = XETA_ENC_TEST_VECTORS count 1410 crypto/testmgr.c .count = XETA_DEC_TEST_VECTORS count 1421 crypto/testmgr.c .count = XTEA_ENC_TEST_VECTORS count 1425 crypto/testmgr.c .count = XTEA_DEC_TEST_VECTORS count 1436 crypto/testmgr.c .count = AES_GCM_ENC_TEST_VECTORS count 1440 crypto/testmgr.c .count = AES_GCM_DEC_TEST_VECTORS count 1450 crypto/testmgr.c .count = HMAC_MD5_TEST_VECTORS count 1459 crypto/testmgr.c .count = HMAC_RMD128_TEST_VECTORS count 1468 crypto/testmgr.c .count = HMAC_RMD160_TEST_VECTORS count 1477 crypto/testmgr.c .count = HMAC_SHA1_TEST_VECTORS count 1486 crypto/testmgr.c .count = HMAC_SHA224_TEST_VECTORS count 1495 crypto/testmgr.c .count = HMAC_SHA256_TEST_VECTORS count 1504 crypto/testmgr.c .count = HMAC_SHA384_TEST_VECTORS count 1513 crypto/testmgr.c .count = HMAC_SHA512_TEST_VECTORS count 1523 crypto/testmgr.c .count = AES_LRW_ENC_TEST_VECTORS count 1527 crypto/testmgr.c .count = AES_LRW_DEC_TEST_VECTORS count 1538 crypto/testmgr.c .count = LZO_COMP_TEST_VECTORS count 1542 crypto/testmgr.c .count = LZO_DECOMP_TEST_VECTORS count 1552 crypto/testmgr.c .count = MD4_TEST_VECTORS count 1561 crypto/testmgr.c .count = MD5_TEST_VECTORS count 1570 crypto/testmgr.c .count = MICHAEL_MIC_TEST_VECTORS count 1580 crypto/testmgr.c .count = FCRYPT_ENC_TEST_VECTORS count 1584 crypto/testmgr.c .count = FCRYPT_DEC_TEST_VECTORS count 1595 crypto/testmgr.c .count = AES_CTR_ENC_TEST_VECTORS count 1599 crypto/testmgr.c .count = AES_CTR_DEC_TEST_VECTORS count 1609 crypto/testmgr.c .count = RMD128_TEST_VECTORS count 1618 crypto/testmgr.c .count = RMD160_TEST_VECTORS count 1627 crypto/testmgr.c .count = RMD256_TEST_VECTORS count 1636 crypto/testmgr.c .count = RMD320_TEST_VECTORS count 1646 crypto/testmgr.c .count = SALSA20_STREAM_ENC_TEST_VECTORS count 1656 crypto/testmgr.c .count = SHA1_TEST_VECTORS count 1665 crypto/testmgr.c .count = SHA224_TEST_VECTORS count 1674 crypto/testmgr.c .count = SHA256_TEST_VECTORS count 1683 crypto/testmgr.c .count = SHA384_TEST_VECTORS count 1692 crypto/testmgr.c .count = SHA512_TEST_VECTORS count 1701 crypto/testmgr.c .count = TGR128_TEST_VECTORS count 1710 crypto/testmgr.c .count = TGR160_TEST_VECTORS count 1719 crypto/testmgr.c .count = TGR192_TEST_VECTORS count 1728 crypto/testmgr.c .count = WP256_TEST_VECTORS count 1737 crypto/testmgr.c .count = WP384_TEST_VECTORS count 1746 crypto/testmgr.c .count = WP512_TEST_VECTORS count 1755 crypto/testmgr.c .count = XCBC_AES_TEST_VECTORS count 1765 crypto/testmgr.c .count = AES_XTS_ENC_TEST_VECTORS count 1769 crypto/testmgr.c .count = AES_XTS_DEC_TEST_VECTORS count 40 crypto/tgr192.c int count; count 506 crypto/tgr192.c tctx->count = 0; count 517 crypto/tgr192.c if (tctx->count == 64) { /* flush the buffer */ count 519 crypto/tgr192.c tctx->count = 0; count 525 crypto/tgr192.c if (tctx->count) { count 526 crypto/tgr192.c for (; len && tctx->count < 64; len--) { count 527 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; count 538 crypto/tgr192.c tctx->count = 0; count 543 crypto/tgr192.c for (; len && tctx->count < 64; len--) { count 544 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; count 568 crypto/tgr192.c if ((lsb = t + tctx->count) < t) { /* add the count */ count 577 crypto/tgr192.c if (tctx->count < 56) { /* enough room */ count 578 crypto/tgr192.c tctx->hash[tctx->count++] = 0x01; /* pad */ count 579 crypto/tgr192.c while (tctx->count < 56) { count 580 crypto/tgr192.c tctx->hash[tctx->count++] = 0; /* pad */ count 583 crypto/tgr192.c tctx->hash[tctx->count++] = 0x01; /* pad character */ count 584 crypto/tgr192.c while (tctx->count < 64) { count 585 crypto/tgr192.c tctx->hash[tctx->count++] = 0; count 66 crypto/xor.c int i, count, max; count 79 crypto/xor.c count = 0; count 84 crypto/xor.c count++; count 87 crypto/xor.c if (count > max) count 88 crypto/xor.c max = count; count 139 fs/9p/vfs_file.c ret = p9_client_uread(fid, data, *offset, count); count 164 fs/9p/vfs_file.c (int)count, (int)*offset); count 167 fs/9p/vfs_file.c ret = p9_client_uwrite(fid, data, *offset, count); count 197 fs/afs/callback.c _enter("%p,%zu,", server, count); count 200 fs/afs/callback.c ASSERTCMP(count, <=, AFSCBMAX); count 202 fs/afs/callback.c for (; count > 0; callbacks++, count--) { count 154 fs/afs/cmservice.c afs_break_callbacks(call->server, call->count, call->request); count 188 fs/afs/cmservice.c call->count = ntohl(call->tmp); count 189 fs/afs/cmservice.c _debug("FID count: %u", call->count); count 190 fs/afs/cmservice.c if (call->count > AFSCBMAX) count 193 fs/afs/cmservice.c call->buffer = kmalloc(call->count * 3 * 4, GFP_KERNEL); count 202 fs/afs/cmservice.c call->count * 3 * 4); count 210 fs/afs/cmservice.c call->request = kcalloc(call->count, count 218 fs/afs/cmservice.c for (loop = call->count; loop > 0; loop--, cb++) { count 240 fs/afs/cmservice.c if (tmp != call->count && tmp != 0) count 250 fs/afs/cmservice.c call->count * 3 * 4); count 260 fs/afs/cmservice.c for (loop = call->count; loop > 0; loop--, cb++) { count 336 fs/afs/fsclient.c call->count = ntohl(call->tmp); count 337 fs/afs/fsclient.c _debug("DATA length MSW: %u", call->count); count 338 fs/afs/fsclient.c if (call->count > 0) count 354 fs/afs/fsclient.c call->count = ntohl(call->tmp); count 355 fs/afs/fsclient.c _debug("DATA length: %u", call->count); count 356 fs/afs/fsclient.c if (call->count > PAGE_SIZE) count 364 fs/afs/fsclient.c if (call->count > 0) { count 368 fs/afs/fsclient.c call->count); count 409 fs/afs/fsclient.c if (call->count < PAGE_SIZE) { count 413 fs/afs/fsclient.c memset(buffer + call->count, 0, PAGE_SIZE - call->count); count 1519 fs/afs/fsclient.c call->count = ntohl(call->tmp); count 1520 fs/afs/fsclient.c _debug("volname length: %u", call->count); count 1521 fs/afs/fsclient.c if (call->count >= AFSNAMEMAX) count 1529 fs/afs/fsclient.c if (call->count > 0) { count 1531 fs/afs/fsclient.c call->count); count 1540 fs/afs/fsclient.c p[call->count] = 0; count 1547 fs/afs/fsclient.c if ((call->count & 3) == 0) { count 1551 fs/afs/fsclient.c call->count = 4 - (call->count & 3); count 1555 fs/afs/fsclient.c call->count); count 1575 fs/afs/fsclient.c call->count = ntohl(call->tmp); count 1576 fs/afs/fsclient.c _debug("offline msg length: %u", call->count); count 1577 fs/afs/fsclient.c if (call->count >= AFSNAMEMAX) count 1585 fs/afs/fsclient.c if (call->count > 0) { count 1587 fs/afs/fsclient.c call->count); count 1596 fs/afs/fsclient.c p[call->count] = 0; count 1603 fs/afs/fsclient.c if ((call->count & 3) == 0) { count 1607 fs/afs/fsclient.c call->count = 4 - (call->count & 3); count 1611 fs/afs/fsclient.c call->count); count 1631 fs/afs/fsclient.c call->count = ntohl(call->tmp); count 1632 fs/afs/fsclient.c _debug("motd length: %u", call->count); count 1633 fs/afs/fsclient.c if (call->count >= AFSNAMEMAX) count 1641 fs/afs/fsclient.c if (call->count > 0) { count 1643 fs/afs/fsclient.c call->count); count 1652 fs/afs/fsclient.c p[call->count] = 0; count 1659 fs/afs/fsclient.c if ((call->count & 3) == 0) { count 1663 fs/afs/fsclient.c call->count = 4 - (call->count & 3); count 1667 fs/afs/fsclient.c call->count); count 116 fs/afs/internal.h u32 count; /* count for use in unmarshalling */ count 392 fs/afs/internal.h int count; /* number of records */ count 246 fs/afs/rxrpc.c unsigned count, n, loop, offset, to; count 258 fs/afs/rxrpc.c count = last - first + 1; count 259 fs/afs/rxrpc.c if (count > ARRAY_SIZE(pages)) count 260 fs/afs/rxrpc.c count = ARRAY_SIZE(pages); count 261 fs/afs/rxrpc.c n = find_get_pages_contig(call->mapping, first, count, pages); count 262 fs/afs/rxrpc.c ASSERTCMP(n, ==, count); count 291 fs/afs/rxrpc.c } while (++loop < count); count 292 fs/afs/rxrpc.c first += count; count 294 fs/afs/rxrpc.c for (loop = 0; loop < count; loop++) count 835 fs/afs/rxrpc.c _enter("{%u},{%zu},%d,,%zu", call->offset, len, last, count); count 837 fs/afs/rxrpc.c ASSERTCMP(call->offset, <, count); count 839 fs/afs/rxrpc.c len = min_t(size_t, len, count - call->offset); count 845 fs/afs/rxrpc.c if (call->offset < count) { count 847 fs/afs/rxrpc.c _leave(" = -EBADMSG [%d < %zu]", call->offset, count); count 57 fs/afs/security.c _enter("{%d}", permits->count); count 59 fs/afs/security.c for (loop = permits->count - 1; loop >= 0; loop--) count 72 fs/afs/security.c _enter("{%d}", permits->count); count 134 fs/afs/security.c int count, loop; count 170 fs/afs/security.c count = 0; count 175 fs/afs/security.c count = xpermits->count; count 177 fs/afs/security.c for (loop = count; loop > 0; loop--) { count 187 fs/afs/security.c permits = kmalloc(sizeof(*permits) + sizeof(*permit) * (count + 1), count 193 fs/afs/security.c count * sizeof(struct afs_permit)); count 197 fs/afs/security.c permits->permits[count].access_mask = vnode->status.caller_access; count 198 fs/afs/security.c permits->permits[count].key = key_get(key); count 199 fs/afs/security.c permits->count = count + 1; count 248 fs/afs/security.c for (loop = permits->count; loop > 0; loop--) { count 42 fs/afs/vlocation.c int count, ret; count 48 fs/afs/vlocation.c for (count = cell->vl_naddrs; count > 0; count--) { count 98 fs/afs/vlocation.c int count, ret; count 104 fs/afs/vlocation.c for (count = cell->vl_naddrs; count > 0; count--) { count 328 fs/afs/write.c unsigned count, loop; count 338 fs/afs/write.c count = last - first + 1; count 339 fs/afs/write.c if (count > PAGEVEC_SIZE) count 340 fs/afs/write.c count = PAGEVEC_SIZE; count 342 fs/afs/write.c first, count, pv.pages); count 343 fs/afs/write.c ASSERTCMP(pv.nr, ==, count); count 345 fs/afs/write.c for (loop = 0; loop < count; loop++) { count 366 fs/afs/write.c unsigned long count; count 373 fs/afs/write.c count = 1; count 387 fs/afs/write.c _debug("more %lx [%lx]", start, count); count 421 fs/afs/write.c count += loop; count 429 fs/afs/write.c } while (start <= wb->last && count < 65536); count 436 fs/afs/write.c last = first + count - 1; count 473 fs/afs/write.c ret = count; count 660 fs/afs/write.c unsigned count, loop; count 674 fs/afs/write.c count = last - first + 1; count 675 fs/afs/write.c if (count > PAGEVEC_SIZE) count 676 fs/afs/write.c count = PAGEVEC_SIZE; count 677 fs/afs/write.c pv.nr = find_get_pages_contig(call->mapping, first, count, count 679 fs/afs/write.c ASSERTCMP(pv.nr, ==, count); count 682 fs/afs/write.c for (loop = 0; loop < count; loop++) { count 697 fs/afs/write.c first += count; count 718 fs/afs/write.c size_t count = iov_length(iov, nr_segs); count 722 fs/afs/write.c vnode->fid.vid, vnode->fid.vnode, count, nr_segs); count 730 fs/afs/write.c if (!count) count 62 fs/autofs4/autofs_i.h atomic_t count; count 175 fs/autofs4/expire.c unsigned int ino_count = atomic_read(&ino->count); count 337 fs/autofs4/expire.c ino_count = atomic_read(&ino->count) + 2; count 359 fs/autofs4/expire.c ino_count = atomic_read(&ino->count) + 1; count 373 fs/autofs4/expire.c ino_count = atomic_read(&ino->count) + 1; count 53 fs/autofs4/inode.c atomic_set(&ino->count, 0); count 82 fs/autofs4/inode.c if (atomic_dec_and_test(&ino->count)) { count 85 fs/autofs4/inode.c atomic_dec(&p_ino->count); count 658 fs/autofs4/root.c atomic_inc(&ino->count); count 661 fs/autofs4/root.c atomic_inc(&p_ino->count); count 695 fs/autofs4/root.c if (atomic_dec_and_test(&ino->count)) { count 698 fs/autofs4/root.c atomic_dec(&p_ino->count); count 746 fs/autofs4/root.c if (atomic_dec_and_test(&ino->count)) { count 749 fs/autofs4/root.c atomic_dec(&p_ino->count); count 798 fs/autofs4/root.c atomic_inc(&ino->count); count 801 fs/autofs4/root.c atomic_inc(&p_ino->count); count 302 fs/binfmt_misc.c if ((count < 11) || (count > 256)) count 306 fs/binfmt_misc.c memsize = sizeof(Node) + count + 8; count 314 fs/binfmt_misc.c if (copy_from_user(buf, buffer, count)) count 319 fs/binfmt_misc.c memset(buf+count, del, 8); count 395 fs/binfmt_misc.c if (p != buf + count) count 418 fs/binfmt_misc.c if (!count) count 420 fs/binfmt_misc.c if (count > 3) count 422 fs/binfmt_misc.c if (copy_from_user(s, buffer, count)) count 424 fs/binfmt_misc.c if (s[count-1] == '\n') count 425 fs/binfmt_misc.c count--; count 426 fs/binfmt_misc.c if (count == 1 && s[0] == '0') count 428 fs/binfmt_misc.c if (count == 1 && s[0] == '1') count 430 fs/binfmt_misc.c if (count == 2 && s[0] == '-' && s[1] == '1') count 558 fs/binfmt_misc.c int res = parse_command(buffer, count); count 575 fs/binfmt_misc.c return count; count 594 fs/binfmt_misc.c e = create_entry(buffer, count); count 643 fs/binfmt_misc.c return count; count 663 fs/binfmt_misc.c int res = parse_command(buffer, count); count 679 fs/binfmt_misc.c return count; count 564 fs/block_dev.c int count; /* references from the holder */ count 628 fs/block_dev.c bo->count = 1; count 656 fs/block_dev.c tmp->count++; count 720 fs/block_dev.c bo->count--; count 721 fs/block_dev.c BUG_ON(bo->count < 0); count 722 fs/block_dev.c if (!bo->count) { count 2118 fs/buffer.c to = min_t(unsigned, PAGE_CACHE_SIZE - from, desc->count); count 199 fs/char_dev.c dev_t to = from + count; count 236 fs/char_dev.c cd = __register_chrdev_region(0, baseminor, count, name); count 312 fs/char_dev.c dev_t to = from + count; count 458 fs/char_dev.c p->count = count; count 459 fs/char_dev.c return kobj_map(cdev_map, dev, count, NULL, exact_match, exact_lock, p); count 464 fs/char_dev.c kobj_unmap(cdev_map, dev, count); count 476 fs/char_dev.c cdev_unmap(p->dev, p->count); count 274 fs/cifs/cifs_debug.c return count; count 453 fs/cifs/cifs_debug.c return count; count 490 fs/cifs/cifs_debug.c return count; count 529 fs/cifs/cifs_debug.c return count; count 566 fs/cifs/cifs_debug.c return count; count 603 fs/cifs/cifs_debug.c return count; count 640 fs/cifs/cifs_debug.c return count; count 677 fs/cifs/cifs_debug.c return count; count 707 fs/cifs/cifs_debug.c if ((count < 1) || (count > 11)) count 712 fs/cifs/cifs_debug.c if (copy_from_user(flags_string, buffer, count)) count 715 fs/cifs/cifs_debug.c if (count < 3) { count 720 fs/cifs/cifs_debug.c return count; count 723 fs/cifs/cifs_debug.c return count; count 755 fs/cifs/cifs_debug.c return count; count 455 fs/cifs/cifssmb.c u16 count; count 488 fs/cifs/cifssmb.c count = 0; count 490 fs/cifs/cifssmb.c strncpy(pSMB->DialectsArray+count, protocols[i].name, 16); count 491 fs/cifs/cifssmb.c count += strlen(protocols[i].name) + 1; count 494 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 495 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 662 fs/cifs/cifssmb.c count = pSMBr->ByteCount; count 663 fs/cifs/cifssmb.c if (count < 16) { count 681 fs/cifs/cifssmb.c if (count == 16) { count 686 fs/cifs/cifssmb.c count - 16, count 1063 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 1087 fs/cifs/cifssmb.c count = sizeof(OPEN_PSX_REQ); count 1108 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 1110 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 1227 fs/cifs/cifssmb.c __u16 count; count 1238 fs/cifs/cifssmb.c count = 1; /* account for one byte pad to word boundary */ count 1245 fs/cifs/cifssmb.c count = 0; /* no pad */ count 1277 fs/cifs/cifssmb.c count += name_len; count 1278 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 1280 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 1333 fs/cifs/cifssmb.c __u16 count; count 1344 fs/cifs/cifssmb.c count = 1; /* account for one byte pad to word boundary */ count 1352 fs/cifs/cifssmb.c count = 0; /* no pad */ count 1389 fs/cifs/cifssmb.c count += name_len; count 1390 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 1392 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 1435 fs/cifs/cifssmb.c cFYI(1, ("Reading %d bytes on fid %d", count, netfid)); count 1459 fs/cifs/cifssmb.c pSMB->MaxCount = cpu_to_le16(count & 0xFFFF); count 1460 fs/cifs/cifssmb.c pSMB->MaxCountHigh = cpu_to_le32(count >> 16); count 1486 fs/cifs/cifssmb.c || (data_length > count)) { count 1488 fs/cifs/cifssmb.c data_length, count)); count 1571 fs/cifs/cifssmb.c bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); count 1577 fs/cifs/cifssmb.c if (bytes_sent > count) count 1578 fs/cifs/cifssmb.c bytes_sent = count; count 1588 fs/cifs/cifssmb.c } else if (count != 0) { count 1643 fs/cifs/cifssmb.c cFYI(1, ("write2 at %lld %d bytes", (long long)offset, count)); count 1670 fs/cifs/cifssmb.c pSMB->DataLengthLow = cpu_to_le16(count & 0xFFFF); count 1671 fs/cifs/cifssmb.c pSMB->DataLengthHigh = cpu_to_le16(count >> 16); count 1674 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count+1; count 1676 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count+5; /* smb data starts later */ count 1678 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count + 1); count 1682 fs/cifs/cifssmb.c pSMBW->ByteCount = cpu_to_le16(count + 5); count 1732 fs/cifs/cifssmb.c __u16 count; count 1763 fs/cifs/cifssmb.c count = sizeof(LOCKING_ANDX_RANGE); count 1766 fs/cifs/cifssmb.c count = 0; count 1768 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 1769 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 1802 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 1825 fs/cifs/cifssmb.c count = sizeof(struct cifs_posix_lock); count 1834 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 1835 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 1961 fs/cifs/cifssmb.c __u16 count; count 2001 fs/cifs/cifssmb.c count = 1 /* 1st signature byte */ + name_len + name_len2; count 2002 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 2003 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 2031 fs/cifs/cifssmb.c __u16 params, param_offset, offset, count, byte_count; count 2074 fs/cifs/cifssmb.c count = 12 /* sizeof(struct set_file_rename) */ + (2 * len_of_str); count 2075 fs/cifs/cifssmb.c byte_count += count; count 2076 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 2108 fs/cifs/cifssmb.c __u16 count; count 2148 fs/cifs/cifssmb.c count = 1 /* 1st signature byte */ + name_len + name_len2; count 2149 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 2150 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 2350 fs/cifs/cifssmb.c __u16 count; count 2393 fs/cifs/cifssmb.c count = 1 /* string type byte */ + name_len + name_len2; count 2394 fs/cifs/cifssmb.c pSMB->hdr.smb_buf_length += count; count 2395 fs/cifs/cifssmb.c pSMB->ByteCount = cpu_to_le16(count); count 2482 fs/cifs/cifssmb.c __u16 count = le16_to_cpu(pSMBr->t2.DataCount); count 2487 fs/cifs/cifssmb.c min_t(const int, buflen, count) / 2); count 2497 fs/cifs/cifssmb.c min_t(const int, buflen, count)); count 2728 fs/cifs/cifssmb.c __u16 count; count 2737 fs/cifs/cifssmb.c count = le16_to_cpu(cifs_acl->access_entry_count); count 2740 fs/cifs/cifssmb.c size += sizeof(struct cifs_posix_ace) * count; count 2748 fs/cifs/cifssmb.c count = le16_to_cpu(cifs_acl->access_entry_count); count 2750 fs/cifs/cifssmb.c size += sizeof(struct cifs_posix_ace) * count; count 2752 fs/cifs/cifssmb.c pACE = &cifs_acl->ace_array[count]; count 2753 fs/cifs/cifssmb.c count = le16_to_cpu(cifs_acl->default_entry_count); count 2754 fs/cifs/cifssmb.c size += sizeof(struct cifs_posix_ace) * count; count 2763 fs/cifs/cifssmb.c size = posix_acl_xattr_size(count); count 2770 fs/cifs/cifssmb.c for (i = 0; i < count ; i++) { count 2802 fs/cifs/cifssmb.c int count; count 2808 fs/cifs/cifssmb.c count = posix_acl_xattr_count((size_t)buflen); count 2811 fs/cifs/cifssmb.c count, buflen, le32_to_cpu(local_acl->a_version))); count 2819 fs/cifs/cifssmb.c cifs_acl->access_entry_count = cpu_to_le16(count); count 2821 fs/cifs/cifssmb.c cifs_acl->default_entry_count = cpu_to_le16(count); count 2826 fs/cifs/cifssmb.c for (i = 0; i < count; i++) { count 2835 fs/cifs/cifssmb.c rc = (__u16)(count * sizeof(struct cifs_posix_ace)); count 2918 fs/cifs/cifssmb.c __u16 count = le16_to_cpu(pSMBr->t2.DataCount); count 2921 fs/cifs/cifssmb.c buflen, acl_type, count); count 3070 fs/cifs/cifssmb.c __u16 count = le16_to_cpu(pSMBr->t2.DataCount); count 3073 fs/cifs/cifssmb.c if (count != 16) { count 3903 fs/cifs/cifssmb.c __u16 count = le16_to_cpu(pSMBr->t2.DataCount); count 3906 fs/cifs/cifssmb.c if (count < 8) { count 4763 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 4786 fs/cifs/cifssmb.c count = sizeof(struct file_end_of_file_info); count 4793 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 4794 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 4849 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 4871 fs/cifs/cifssmb.c count = sizeof(FILE_BASIC_INFO); count 4878 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 4879 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 4911 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 4933 fs/cifs/cifssmb.c count = 1; count 4940 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 4941 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 4971 fs/cifs/cifssmb.c __u16 params, param_offset, offset, byte_count, count; count 4994 fs/cifs/cifssmb.c count = sizeof(FILE_BASIC_INFO); count 5012 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 5014 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 5102 fs/cifs/cifssmb.c __u16 params, param_offset, offset, count, byte_count; count 5125 fs/cifs/cifssmb.c count = sizeof(FILE_UNIX_BASIC_INFO); count 5140 fs/cifs/cifssmb.c memset(data_offset, 0, count); count 5146 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 5148 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 5583 fs/cifs/cifssmb.c __u16 params, param_offset, byte_count, offset, count; count 5614 fs/cifs/cifssmb.c count = sizeof(*parm_data) + ea_value_len + name_len; count 5637 fs/cifs/cifssmb.c byte_count = 3 /* pad */ + params + count; count 5638 fs/cifs/cifssmb.c pSMB->DataCount = cpu_to_le16(count); count 5639 fs/cifs/cifssmb.c parm_data->list_len = cpu_to_le32(count); count 2339 fs/cifs/connect.c __u16 count; count 2455 fs/cifs/connect.c count = (long) bcc_ptr - (long) pByteArea(smb_buffer); count 2456 fs/cifs/connect.c smb_buffer->smb_buf_length += count; count 2457 fs/cifs/connect.c pSMB->req_no_secext.ByteCount = cpu_to_le16(count); count 2651 fs/cifs/connect.c __u16 count; count 2759 fs/cifs/connect.c count = (long) bcc_ptr - (long) pByteArea(smb_buffer); count 2760 fs/cifs/connect.c smb_buffer->smb_buf_length += count; count 2761 fs/cifs/connect.c pSMB->req.ByteCount = cpu_to_le16(count); count 2988 fs/cifs/connect.c __u16 count; count 3186 fs/cifs/connect.c count = (long) bcc_ptr - (long) pByteArea(smb_buffer); count 3187 fs/cifs/connect.c smb_buffer->smb_buf_length += count; count 3188 fs/cifs/connect.c pSMB->req.ByteCount = cpu_to_le16(count); count 3385 fs/cifs/connect.c __u16 count; count 3463 fs/cifs/connect.c count = bcc_ptr - &pSMB->Password[0]; count 3464 fs/cifs/connect.c pSMB->hdr.smb_buf_length += count; count 3465 fs/cifs/connect.c pSMB->ByteCount = cpu_to_le16(count); count 115 fs/cifs/md5.c unsigned int count; count 119 fs/cifs/md5.c count = (ctx->bits[0] >> 3) & 0x3F; count 123 fs/cifs/md5.c p = ctx->in + count; count 127 fs/cifs/md5.c count = 64 - 1 - count; count 130 fs/cifs/md5.c if (count < 8) { count 132 fs/cifs/md5.c memset(p, 0, count); count 140 fs/cifs/md5.c memset(p, 0, count - 8); count 343 fs/cifs/sess.c int count; count 575 fs/cifs/sess.c count = iov[1].iov_len + iov[2].iov_len; count 576 fs/cifs/sess.c smb_buf->smb_buf_length += count; count 578 fs/cifs/sess.c BCC_LE(smb_buf) = cpu_to_le16(count); count 169 fs/cifs/smbdes.c out[i] = d[(i + count) % n]; count 41 fs/coda/file.c return host_file->f_op->read(host_file, buf, count, ppos); count 59 fs/coda/file.c return host_file->f_op->splice_read(host_file, ppos, pipe, count,flags); count 80 fs/coda/file.c ret = host_file->f_op->write(host_file, buf, count, ppos); count 103 fs/coda/psdev.c ssize_t retval = 0, count = 0; count 117 fs/coda/psdev.c count = nbytes; count 124 fs/coda/psdev.c count = nbytes; count 150 fs/coda/psdev.c count = nbytes; count 189 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 246 fs/coda/psdev.c count = req->uc_inSize; count 250 fs/coda/psdev.c count = nbytes; count 253 fs/coda/psdev.c if (copy_to_user(buf, req->uc_data, count)) count 267 fs/coda/psdev.c return (count ? count : retval); count 363 fs/coda/upcall.c retlen = outp->coda_readlink.count; count 851 fs/compat.c int count; count 864 fs/compat.c if (reclen > buf->count) count 890 fs/compat.c buf->count -= reclen; count 906 fs/compat.c if (!access_ok(VERIFY_WRITE, dirent, count)) count 916 fs/compat.c buf.count = count; count 928 fs/compat.c error = count - buf.count; count 942 fs/compat.c int count; count 956 fs/compat.c if (reclen > buf->count) count 981 fs/compat.c buf->count -= reclen; count 997 fs/compat.c if (!access_ok(VERIFY_WRITE, dirent, count)) count 1007 fs/compat.c buf.count = count; count 1020 fs/compat.c error = count - buf.count; count 954 fs/compat_ioctl.c static int count; count 955 fs/compat_ioctl.c if (++count <= 20) count 1007 fs/compat_ioctl.c static int count; count 1008 fs/compat_ioctl.c if (++count <= 20) count 2830 fs/compat_ioctl.c static int count; count 2832 fs/compat_ioctl.c if (++count <= 50) count 45 fs/configfs/file.c size_t count; count 70 fs/configfs/file.c ssize_t count; count 77 fs/configfs/file.c count = ops->show_attribute(item,attr,buffer->page); count 79 fs/configfs/file.c BUG_ON(count > (ssize_t)SIMPLE_ATTR_SIZE); count 80 fs/configfs/file.c if (count >= 0) count 81 fs/configfs/file.c buffer->count = count; count 83 fs/configfs/file.c ret = count; count 118 fs/configfs/file.c __func__, count, *ppos, buffer->page); count 119 fs/configfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->page, count 120 fs/configfs/file.c buffer->count); count 147 fs/configfs/file.c if (count >= SIMPLE_ATTR_SIZE) count 148 fs/configfs/file.c count = SIMPLE_ATTR_SIZE - 1; count 149 fs/configfs/file.c error = copy_from_user(buffer->page,buf,count); count 153 fs/configfs/file.c buffer->page[count] = 0; count 154 fs/configfs/file.c return error ? -EFAULT : count; count 176 fs/configfs/file.c return ops->store_attribute(item,attr,buffer->page,count); count 204 fs/configfs/file.c len = fill_write_buffer(buffer, buf, count); count 206 fs/configfs/file.c len = flush_write_buffer(file->f_path.dentry, buffer, count); count 458 fs/dcache.c BUG_ON((flags & DCACHE_REFERENCED) && count == NULL); count 460 fs/dcache.c if (count != NULL) count 462 fs/dcache.c cnt = *count; count 464 fs/dcache.c if (count == NULL) count 510 fs/dcache.c if (count == NULL && !list_empty(&sb->s_dentry_lru)) count 512 fs/dcache.c if (count != NULL) count 513 fs/dcache.c *count = cnt; count 536 fs/dcache.c if (unused == 0 || count == 0) count 540 fs/dcache.c if (count >= unused) count 543 fs/dcache.c prune_ratio = unused / count; count 583 fs/dcache.c count -= pruned; count 588 fs/dcache.c if (__put_super_and_need_restart(sb) && count > 0) { count 31 fs/debugfs/file.c return count; count 309 fs/debugfs/file.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); count 319 fs/debugfs/file.c buf_size = min(count, (sizeof(buf)-1)); count 336 fs/debugfs/file.c return count; count 380 fs/debugfs/file.c return simple_read_from_buffer(user_buf, count, ppos, blob->data, count 481 fs/dlm/debug_fs.c rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos); count 204 fs/dlm/dir.c int error = -ENOMEM, last_len, count = 0; count 284 fs/dlm/dir.c count++; count 294 fs/dlm/dir.c log_debug(ls, "dlm_recover_directory %d entries", count); count 964 fs/dlm/lock.c int count = 0, found; count 990 fs/dlm/lock.c count++; count 997 fs/dlm/lock.c return count; count 328 fs/dlm/plock.c if (count < sizeof(info)) count 356 fs/dlm/plock.c if (count != sizeof(info)) count 388 fs/dlm/plock.c return count; count 386 fs/dlm/recover.c int error = 0, count = 0; count 399 fs/dlm/recover.c count += recover_master_static(r); count 404 fs/dlm/recover.c count++; count 411 fs/dlm/recover.c log_debug(ls, "dlm_recover_masters %d resources", count); count 509 fs/dlm/recover.c int error, count = 0; count 535 fs/dlm/recover.c count += r->res_recover_locks_count; count 539 fs/dlm/recover.c log_debug(ls, "dlm_recover_locks %d locks", count); count 690 fs/dlm/recover.c int count = 0; count 703 fs/dlm/recover.c count++; count 711 fs/dlm/recover.c log_debug(ls, "dlm_recover_rsbs %d rsbs", count); count 99 fs/dlm/user.c memcpy(kb->i.lspace.name, kb32->i.lspace.name, count - count 118 fs/dlm/user.c memcpy(kb->i.lock.name, kb32->i.lock.name, count - count 517 fs/dlm/user.c if (count < sizeof(struct dlm_write_request32)) count 519 fs/dlm/user.c if (count < sizeof(struct dlm_write_request)) count 523 fs/dlm/user.c kbuf = kzalloc(count + 1, GFP_KERNEL); count 527 fs/dlm/user.c if (copy_from_user(kbuf, buf, count)) { count 541 fs/dlm/user.c kbuf = kmalloc(count + 1 + (sizeof(struct dlm_write_request) - count 550 fs/dlm/user.c compat_input(kbuf, k32buf, count + 1); count 743 fs/dlm/user.c count >= len + DLM_USER_LVB_LEN) { count 795 fs/dlm/user.c if (count == sizeof(struct dlm_device_version)) { count 796 fs/dlm/user.c error = copy_version_to_user(buf, count); count 801 fs/dlm/user.c log_print("non-version read from control device %zu", count); count 806 fs/dlm/user.c if (count < sizeof(struct dlm_lock_result32)) count 808 fs/dlm/user.c if (count < sizeof(struct dlm_lock_result)) count 864 fs/dlm/user.c type, bmode, buf, count); count 527 fs/dquot.c while (head != &free_dquots && count) { count 533 fs/dquot.c count--; count 323 fs/ecryptfs/miscdev.c if (count < total_length) { count 327 fs/ecryptfs/miscdev.c "pending message\n", __func__, count, total_length); count 419 fs/ecryptfs/miscdev.c if (count == 0) count 421 fs/ecryptfs/miscdev.c data = kmalloc(count, GFP_KERNEL); count 424 fs/ecryptfs/miscdev.c "kmalloc([%Zd], GFP_KERNEL)\n", __func__, count); count 427 fs/ecryptfs/miscdev.c rc = copy_from_user(data, buf, count); count 433 fs/ecryptfs/miscdev.c sz = count; count 437 fs/ecryptfs/miscdev.c if (count < (1 + 4 + 1 + sizeof(struct ecryptfs_message))) { count 443 fs/ecryptfs/miscdev.c count); count 457 fs/ecryptfs/miscdev.c if ((1 + 4 + packet_size_length + packet_size) != count) { count 462 fs/ecryptfs/miscdev.c (1 + packet_size_length + packet_size), count); count 30 fs/eventfd.c __u64 count; count 49 fs/eventfd.c if (ULLONG_MAX - ctx->count < n) count 50 fs/eventfd.c n = (int) (ULLONG_MAX - ctx->count); count 51 fs/eventfd.c ctx->count += n; count 74 fs/eventfd.c if (ctx->count > 0) count 76 fs/eventfd.c if (ctx->count == ULLONG_MAX) count 78 fs/eventfd.c if (ULLONG_MAX - 1 > ctx->count) count 93 fs/eventfd.c if (count < sizeof(ucnt)) count 97 fs/eventfd.c ucnt = ctx->count; count 104 fs/eventfd.c if (ctx->count > 0) { count 105 fs/eventfd.c ucnt = ctx->count; count 121 fs/eventfd.c ctx->count = 0; count 140 fs/eventfd.c if (count < sizeof(ucnt)) count 148 fs/eventfd.c if (ULLONG_MAX - ctx->count > ucnt) count 154 fs/eventfd.c if (ULLONG_MAX - ctx->count > ucnt) { count 170 fs/eventfd.c ctx->count += ucnt; count 218 fs/eventfd.c ctx->count = count; count 233 fs/eventfd.c return sys_eventfd2(count, 0); count 719 fs/exec.c result = vfs_read(file, (void __user *)addr, count, &pos); count 779 fs/exec.c int count; count 800 fs/exec.c count = thread_group_leader(tsk) ? 1 : 2; count 801 fs/exec.c sig->notify_count = count; count 802 fs/exec.c while (atomic_read(&sig->count) > count) { count 883 fs/exec.c if (atomic_read(&oldsighand->count) != 1) { count 893 fs/exec.c atomic_set(&newsighand->count, 1); count 1092 fs/exec.c if (atomic_read(&p->fs->count) > 1 || count 1093 fs/exec.c atomic_read(&p->files->count) > 1 || count 1094 fs/exec.c atomic_read(&p->sighand->count) > 1) count 1310 fs/exec.c bprm->argc = count(argv, MAX_ARG_STRINGS); count 1314 fs/exec.c bprm->envc = count(envp, MAX_ARG_STRINGS); 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 28 fs/ext2/acl.h if (count <= 4) { count 30 fs/ext2/acl.h count * sizeof(ext2_acl_entry_short); count 34 fs/ext2/acl.h (count - 4) * sizeof(ext2_acl_entry); count 163 fs/ext2/balloc.c if (count) { count 166 fs/ext2/balloc.c percpu_counter_add(&sbi->s_freeblocks_counter, count); count 174 fs/ext2/balloc.c if (count) { count 180 fs/ext2/balloc.c desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count); count 502 fs/ext2/balloc.c block + count < block || count 503 fs/ext2/balloc.c block + count > le32_to_cpu(es->s_blocks_count)) { count 506 fs/ext2/balloc.c "block = %lu, count = %lu", block, count); count 510 fs/ext2/balloc.c ext2_debug ("freeing block(s) %lu-%lu\n", block, block + count - 1); count 522 fs/ext2/balloc.c if (bit + count > EXT2_BLOCKS_PER_GROUP(sb)) { count 523 fs/ext2/balloc.c overflow = bit + count - EXT2_BLOCKS_PER_GROUP(sb); count 524 fs/ext2/balloc.c count -= overflow; count 535 fs/ext2/balloc.c if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || count 536 fs/ext2/balloc.c in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || count 539 fs/ext2/balloc.c in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), count 544 fs/ext2/balloc.c block, count); count 548 fs/ext2/balloc.c for (i = 0, group_freed = 0; i < count; i++) { count 566 fs/ext2/balloc.c block += count; count 567 fs/ext2/balloc.c count = overflow; count 738 fs/ext2/balloc.c while (num < *count && grp_goal < end count 744 fs/ext2/balloc.c *count = num; count 747 fs/ext2/balloc.c *count = num; count 1107 fs/ext2/balloc.c unsigned long num = *count; count 1117 fs/ext2/balloc.c grp_goal, count, NULL); count 1147 fs/ext2/balloc.c if (my_rsv->rsv_goal_size < *count) count 1148 fs/ext2/balloc.c my_rsv->rsv_goal_size = *count; count 1161 fs/ext2/balloc.c if (curr < *count) count 1163 fs/ext2/balloc.c *count - curr); count 1175 fs/ext2/balloc.c *count = num; count 1178 fs/ext2/balloc.c num = *count; count 1238 fs/ext2/balloc.c unsigned long num = *count; count 1411 fs/ext2/balloc.c DQUOT_FREE_BLOCK(inode, *count-num); count 1412 fs/ext2/balloc.c *count = num; count 1422 fs/ext2/balloc.c DQUOT_FREE_BLOCK(inode, *count); count 1429 fs/ext2/balloc.c unsigned long count = 1; count 1431 fs/ext2/balloc.c return ext2_new_blocks(inode, goal, &count, errp); count 672 fs/ext2/ialloc.c unsigned long count = 0; count 679 fs/ext2/ialloc.c count += le16_to_cpu(gdp->bg_used_dirs_count); count 681 fs/ext2/ialloc.c return count; count 329 fs/ext2/inode.c unsigned long count = 0; count 338 fs/ext2/inode.c count += blks; count 340 fs/ext2/inode.c count += blocks_to_boundary + 1; count 341 fs/ext2/inode.c return count; count 344 fs/ext2/inode.c count++; count 345 fs/ext2/inode.c while (count < blks && count <= blocks_to_boundary count 346 fs/ext2/inode.c && le32_to_cpu(*(branch[0].p + count)) == 0) { count 347 fs/ext2/inode.c count++; count 349 fs/ext2/inode.c return count; count 367 fs/ext2/inode.c unsigned long count = 0; count 383 fs/ext2/inode.c count = target; count 385 fs/ext2/inode.c current_block = ext2_new_blocks(inode,goal,&count,err); count 389 fs/ext2/inode.c target -= count; count 391 fs/ext2/inode.c while (index < indirect_blks && count) { count 393 fs/ext2/inode.c count--; count 396 fs/ext2/inode.c if (count > 0) count 404 fs/ext2/inode.c ret = count; count 587 fs/ext2/inode.c int count = 0; count 601 fs/ext2/inode.c count++; count 603 fs/ext2/inode.c while (count < maxblocks && count <= blocks_to_boundary) { count 613 fs/ext2/inode.c count = 0; count 616 fs/ext2/inode.c blk = le32_to_cpu(*(chain[depth-1].p + count)); count 617 fs/ext2/inode.c if (blk == first_block + count) count 618 fs/ext2/inode.c count++; count 646 fs/ext2/inode.c count = ext2_blks_to_allocate(partial, indirect_blks, count 651 fs/ext2/inode.c err = ext2_alloc_branch(inode, indirect_blks, &count, goal, count 671 fs/ext2/inode.c ext2_splice_branch(inode, iblock, partial, indirect_blks, count); count 676 fs/ext2/inode.c if (count > blocks_to_boundary) count 678 fs/ext2/inode.c err = count; count 931 fs/ext2/inode.c unsigned long block_to_free = 0, count = 0; count 939 fs/ext2/inode.c if (count == 0) count 941 fs/ext2/inode.c else if (block_to_free == nr - count) count 942 fs/ext2/inode.c count++; count 945 fs/ext2/inode.c ext2_free_blocks (inode, block_to_free, count); count 948 fs/ext2/inode.c count = 1; count 952 fs/ext2/inode.c if (count > 0) { count 954 fs/ext2/inode.c ext2_free_blocks (inode, block_to_free, count); count 24 fs/ext3/acl.c int n, count; count 35 fs/ext3/acl.c count = ext3_acl_count(size); count 36 fs/ext3/acl.c if (count < 0) count 38 fs/ext3/acl.c if (count == 0) count 40 fs/ext3/acl.c acl = posix_acl_alloc(count, GFP_NOFS); count 43 fs/ext3/acl.c for (n=0; n < count; n++) { count 28 fs/ext3/acl.h if (count <= 4) { count 30 fs/ext3/acl.h count * sizeof(ext3_acl_entry_short); count 34 fs/ext3/acl.h (count - 4) * sizeof(ext3_acl_entry); count 496 fs/ext3/balloc.c block + count < block || count 497 fs/ext3/balloc.c block + count > le32_to_cpu(es->s_blocks_count)) { count 500 fs/ext3/balloc.c "block = "E3FSBLK", count = %lu", block, count); count 504 fs/ext3/balloc.c ext3_debug ("freeing block(s) %lu-%lu\n", block, block + count - 1); count 516 fs/ext3/balloc.c if (bit + count > EXT3_BLOCKS_PER_GROUP(sb)) { count 517 fs/ext3/balloc.c overflow = bit + count - EXT3_BLOCKS_PER_GROUP(sb); count 518 fs/ext3/balloc.c count -= overflow; count 528 fs/ext3/balloc.c if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || count 529 fs/ext3/balloc.c in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || count 532 fs/ext3/balloc.c in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), count 537 fs/ext3/balloc.c block, count); count 563 fs/ext3/balloc.c for (i = 0, group_freed = 0; i < count; i++) { count 635 fs/ext3/balloc.c percpu_counter_add(&sbi->s_freeblocks_counter, count); count 648 fs/ext3/balloc.c block += count; count 649 fs/ext3/balloc.c count = overflow; count 677 fs/ext3/balloc.c ext3_free_blocks_sb(handle, sb, block, count, &dquot_freed_blocks); count 930 fs/ext3/balloc.c while (num < *count && grp_goal < end count 937 fs/ext3/balloc.c *count = num; count 940 fs/ext3/balloc.c *count = num; count 1307 fs/ext3/balloc.c unsigned long num = *count; count 1331 fs/ext3/balloc.c grp_goal, count, NULL); count 1362 fs/ext3/balloc.c if (my_rsv->rsv_goal_size < *count) count 1363 fs/ext3/balloc.c my_rsv->rsv_goal_size = *count; count 1376 fs/ext3/balloc.c if (curr < *count) count 1378 fs/ext3/balloc.c *count - curr); count 1390 fs/ext3/balloc.c *count = num; count 1393 fs/ext3/balloc.c num = *count; count 1493 fs/ext3/balloc.c unsigned long num = *count; count 1716 fs/ext3/balloc.c DQUOT_FREE_BLOCK(inode, *count-num); count 1717 fs/ext3/balloc.c *count = num; count 1731 fs/ext3/balloc.c DQUOT_FREE_BLOCK(inode, *count); count 1739 fs/ext3/balloc.c unsigned long count = 1; count 1741 fs/ext3/balloc.c return ext3_new_blocks(handle, inode, goal, &count, errp); count 761 fs/ext3/ialloc.c unsigned long count = 0; count 768 fs/ext3/ialloc.c count += le16_to_cpu(gdp->bg_used_dirs_count); count 770 fs/ext3/ialloc.c return count; count 483 fs/ext3/inode.c unsigned long count = 0; count 492 fs/ext3/inode.c count += blks; count 494 fs/ext3/inode.c count += blocks_to_boundary + 1; count 495 fs/ext3/inode.c return count; count 498 fs/ext3/inode.c count++; count 499 fs/ext3/inode.c while (count < blks && count <= blocks_to_boundary && count 500 fs/ext3/inode.c le32_to_cpu(*(branch[0].p + count)) == 0) { count 501 fs/ext3/inode.c count++; count 503 fs/ext3/inode.c return count; count 521 fs/ext3/inode.c unsigned long count = 0; count 537 fs/ext3/inode.c count = target; count 539 fs/ext3/inode.c current_block = ext3_new_blocks(handle,inode,goal,&count,err); count 543 fs/ext3/inode.c target -= count; count 545 fs/ext3/inode.c while (index < indirect_blks && count) { count 547 fs/ext3/inode.c count--; count 550 fs/ext3/inode.c if (count > 0) count 558 fs/ext3/inode.c ret = count; count 801 fs/ext3/inode.c int count = 0; count 817 fs/ext3/inode.c count++; count 819 fs/ext3/inode.c while (count < maxblocks && count <= blocks_to_boundary) { count 831 fs/ext3/inode.c count = 0; count 834 fs/ext3/inode.c blk = le32_to_cpu(*(chain[depth-1].p + count)); count 836 fs/ext3/inode.c if (blk == first_block + count) count 837 fs/ext3/inode.c count++; count 870 fs/ext3/inode.c count++; count 895 fs/ext3/inode.c count = ext3_blks_to_allocate(partial, indirect_blks, count 900 fs/ext3/inode.c err = ext3_alloc_branch(handle, inode, indirect_blks, &count, goal, count 912 fs/ext3/inode.c partial, indirect_blks, count); count 927 fs/ext3/inode.c if (count > blocks_to_boundary) count 929 fs/ext3/inode.c err = count; count 1694 fs/ext3/inode.c size_t count = iov_length(iov, nr_segs); count 1697 fs/ext3/inode.c loff_t final_size = offset + count; count 2069 fs/ext3/inode.c ext3_free_blocks(handle, inode, block_to_free, count); count 2096 fs/ext3/inode.c unsigned long count = 0; /* Number of blocks in the run */ count 2118 fs/ext3/inode.c if (count == 0) { count 2121 fs/ext3/inode.c count = 1; count 2122 fs/ext3/inode.c } else if (nr == block_to_free + count) { count 2123 fs/ext3/inode.c count++; count 2127 fs/ext3/inode.c count, block_to_free_p, p); count 2130 fs/ext3/inode.c count = 1; count 2135 fs/ext3/inode.c if (count > 0) count 2137 fs/ext3/inode.c count, block_to_free_p, p); count 98 fs/ext3/namei.c __le16 count; count 221 fs/ext3/namei.c return le16_to_cpu(((struct dx_countlimit *) entries)->count); count 231 fs/ext3/namei.c ((struct dx_countlimit *) entries)->count = cpu_to_le16(value); count 308 fs/ext3/namei.c unsigned count = dx_get_count (entries), names = 0, space = 0, i; count 312 fs/ext3/namei.c printk("%i indexed blocks...\n", count); count 313 fs/ext3/namei.c for (i = 0; i < count; i++, entries++) count 316 fs/ext3/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; count 348 fs/ext3/namei.c unsigned count, indirect; count 410 fs/ext3/namei.c count = dx_get_count(entries); count 411 fs/ext3/namei.c if (!count || count > dx_get_limit(entries)) { count 420 fs/ext3/namei.c q = entries + count - 1; count 433 fs/ext3/namei.c unsigned n = count - 1; count 576 fs/ext3/namei.c int err, count = 0; count 594 fs/ext3/namei.c return count; count 608 fs/ext3/namei.c count++; count 611 fs/ext3/namei.c return count; count 631 fs/ext3/namei.c int count = 0; count 641 fs/ext3/namei.c count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, count 644 fs/ext3/namei.c return count; count 657 fs/ext3/namei.c count++; count 664 fs/ext3/namei.c count++; count 675 fs/ext3/namei.c count += ret; count 690 fs/ext3/namei.c (count && ((hashval & 1) == 0))) count 695 fs/ext3/namei.c count, *next_hash)); count 696 fs/ext3/namei.c return count; count 714 fs/ext3/namei.c int count = 0; count 726 fs/ext3/namei.c count++; count 732 fs/ext3/namei.c return count; count 738 fs/ext3/namei.c struct dx_map_entry *p, *q, *top = map + count - 1; count 741 fs/ext3/namei.c while (count > 2) count 743 fs/ext3/namei.c count = count*10/13; count 744 fs/ext3/namei.c if (count - 9 < 2) /* 9, 10 -> 11 */ count 745 fs/ext3/namei.c count = 11; count 746 fs/ext3/namei.c for (p = top, q = p - count; q >= map; p--, q--) count 768 fs/ext3/namei.c int count = dx_get_count(entries); count 770 fs/ext3/namei.c assert(count < dx_get_limit(entries)); count 771 fs/ext3/namei.c assert(old < entries + count); count 772 fs/ext3/namei.c memmove(new + 1, new, (char *)(entries + count) - (char *)(new)); count 775 fs/ext3/namei.c dx_set_count(entries, count + 1); count 1122 fs/ext3/namei.c while (count--) { count 1170 fs/ext3/namei.c unsigned count, continued; count 1201 fs/ext3/namei.c count = dx_make_map ((struct ext3_dir_entry_2 *) data1, count 1203 fs/ext3/namei.c map -= count; count 1204 fs/ext3/namei.c dx_sort_map (map, count); count 1208 fs/ext3/namei.c for (i = count-1; i >= 0; i--) { count 1216 fs/ext3/namei.c split = count - move; count 1220 fs/ext3/namei.c dx_get_block(frame->at), hash2, split, count-split)); count 1223 fs/ext3/namei.c de2 = dx_move_dirents(data1, data2, map + split, count - split); count 24 fs/ext4/acl.c int n, count; count 35 fs/ext4/acl.c count = ext4_acl_count(size); count 36 fs/ext4/acl.c if (count < 0) count 38 fs/ext4/acl.c if (count == 0) count 40 fs/ext4/acl.c acl = posix_acl_alloc(count, GFP_NOFS); count 43 fs/ext4/acl.c for (n = 0; n < count; n++) { count 28 fs/ext4/acl.h if (count <= 4) { count 30 fs/ext4/acl.h count * sizeof(ext4_acl_entry_short); count 34 fs/ext4/acl.h (count - 4) * sizeof(ext4_acl_entry); count 387 fs/ext4/balloc.c block + count < block || count 388 fs/ext4/balloc.c block + count > ext4_blocks_count(es)) { count 391 fs/ext4/balloc.c "block = %llu, count = %lu", block, count); count 395 fs/ext4/balloc.c ext4_debug("freeing block(s) %llu-%llu\n", block, block + count - 1); count 404 fs/ext4/balloc.c if (bit + count > EXT4_BLOCKS_PER_GROUP(sb)) { count 405 fs/ext4/balloc.c overflow = bit + count - EXT4_BLOCKS_PER_GROUP(sb); count 406 fs/ext4/balloc.c count -= overflow; count 416 fs/ext4/balloc.c if (in_range(ext4_block_bitmap(sb, desc), block, count) || count 417 fs/ext4/balloc.c in_range(ext4_inode_bitmap(sb, desc), block, count) || count 419 fs/ext4/balloc.c in_range(block + count - 1, ext4_inode_table(sb, desc), count 424 fs/ext4/balloc.c block, count); count 450 fs/ext4/balloc.c for (i = 0, group_freed = 0; i < count; i++) { count 523 fs/ext4/balloc.c percpu_counter_add(&sbi->s_freeblocks_counter, count); count 528 fs/ext4/balloc.c sbi->s_flex_groups[flex_group].free_blocks += count; count 543 fs/ext4/balloc.c block += count; count 544 fs/ext4/balloc.c count = overflow; count 577 fs/ext4/balloc.c ext4_mb_free_blocks(handle, inode, block, count, count 698 fs/ext4/balloc.c ar.len = *count; count 709 fs/ext4/balloc.c *count = ar.len; count 730 fs/ext4/balloc.c count, errp, EXT4_META_BLOCK); count 736 fs/ext4/balloc.c EXT4_I(inode)->i_allocated_meta_blocks += *count; count 755 fs/ext4/balloc.c unsigned long count = 1; count 756 fs/ext4/balloc.c return ext4_new_meta_blocks(handle, inode, goal, &count, errp); count 776 fs/ext4/balloc.c return do_blk_alloc(handle, inode, iblock, goal, count, errp, 0); count 1014 fs/ext4/ialloc.c unsigned long count = 0; count 1021 fs/ext4/ialloc.c count += le16_to_cpu(gdp->bg_used_dirs_count); count 1023 fs/ext4/ialloc.c return count; count 511 fs/ext4/inode.c unsigned long count = 0; count 520 fs/ext4/inode.c count += blks; count 522 fs/ext4/inode.c count += blocks_to_boundary + 1; count 523 fs/ext4/inode.c return count; count 526 fs/ext4/inode.c count++; count 527 fs/ext4/inode.c while (count < blks && count <= blocks_to_boundary && count 528 fs/ext4/inode.c le32_to_cpu(*(branch[0].p + count)) == 0) { count 529 fs/ext4/inode.c count++; count 531 fs/ext4/inode.c return count; count 550 fs/ext4/inode.c unsigned long count = 0, blk_allocated = 0; count 566 fs/ext4/inode.c count = target; count 569 fs/ext4/inode.c goal, &count, err); count 573 fs/ext4/inode.c target -= count; count 575 fs/ext4/inode.c while (index < indirect_blks && count) { count 577 fs/ext4/inode.c count--; count 579 fs/ext4/inode.c if (count > 0) { count 592 fs/ext4/inode.c target = blks - count ; count 593 fs/ext4/inode.c blk_allocated = count; count 597 fs/ext4/inode.c count = target; count 600 fs/ext4/inode.c goal, &count, err); count 616 fs/ext4/inode.c blk_allocated += count; count 856 fs/ext4/inode.c int count = 0; count 875 fs/ext4/inode.c count++; count 877 fs/ext4/inode.c while (count < maxblocks && count <= blocks_to_boundary) { count 880 fs/ext4/inode.c blk = le32_to_cpu(*(chain[depth-1].p + count)); count 882 fs/ext4/inode.c if (blk == first_block + count) count 883 fs/ext4/inode.c count++; count 906 fs/ext4/inode.c count = ext4_blks_to_allocate(partial, indirect_blks, count 912 fs/ext4/inode.c &count, goal, count 924 fs/ext4/inode.c partial, indirect_blks, count); count 931 fs/ext4/inode.c disksize = ((loff_t) iblock + count) << inode->i_blkbits; count 943 fs/ext4/inode.c if (count > blocks_to_boundary) count 945 fs/ext4/inode.c err = count; count 3002 fs/ext4/inode.c size_t count = iov_length(iov, nr_segs); count 3005 fs/ext4/inode.c loff_t final_size = offset + count; count 3406 fs/ext4/inode.c ext4_free_blocks(handle, inode, block_to_free, count, 0); count 3433 fs/ext4/inode.c unsigned long count = 0; /* Number of blocks in the run */ count 3455 fs/ext4/inode.c if (count == 0) { count 3458 fs/ext4/inode.c count = 1; count 3459 fs/ext4/inode.c } else if (nr == block_to_free + count) { count 3460 fs/ext4/inode.c count++; count 3464 fs/ext4/inode.c count, block_to_free_p, p); count 3467 fs/ext4/inode.c count = 1; count 3472 fs/ext4/inode.c if (count > 0) count 3474 fs/ext4/inode.c count, block_to_free_p, p); count 441 fs/ext4/mballoc.c for (i = 0; i < count; i++) { count 465 fs/ext4/mballoc.c for (i = 0; i < count; i++) { count 529 fs/ext4/mballoc.c int count; count 551 fs/ext4/mballoc.c count = 0; count 575 fs/ext4/mballoc.c count++; count 577 fs/ext4/mballoc.c MB_CHECK_ASSERT(e4b->bd_info->bb_counters[order] == count); count 1067 fs/ext4/mballoc.c BUG_ON(first + count > (sb->s_blocksize << 3)); count 1070 fs/ext4/mballoc.c mb_free_blocks_double(inode, e4b, first, count); count 1072 fs/ext4/mballoc.c e4b->bd_info->bb_free += count; count 1079 fs/ext4/mballoc.c if (first + count < EXT4_SB(sb)->s_mb_maxs[0]) count 1080 fs/ext4/mballoc.c max = !mb_test_bit(first + count, EXT4_MB_BITMAP(e4b)); count 1087 fs/ext4/mballoc.c while (count-- > 0) { count 2040 fs/ext4/mballoc.c if (count >= sizeof(str)) { count 2046 fs/ext4/mballoc.c if (copy_from_user(str, buffer, count)) count 2054 fs/ext4/mballoc.c return count; count 2565 fs/ext4/mballoc.c int count = 0; count 2570 fs/ext4/mballoc.c count++; count 2573 fs/ext4/mballoc.c if (count) count 2574 fs/ext4/mballoc.c mb_debug("mballoc: %u PAs left\n", count); count 2653 fs/ext4/mballoc.c int count = 0; count 2684 fs/ext4/mballoc.c count += md->num; count 2703 fs/ext4/mballoc.c mb_debug("freed %u blocks in %u structures\n", count, count2); count 3320 fs/ext4/mballoc.c int count = 0; count 3344 fs/ext4/mballoc.c count++; count 4432 fs/ext4/mballoc.c for (i = 0; i < count; i++) { count 4508 fs/ext4/mballoc.c block + count < block || count 4509 fs/ext4/mballoc.c block + count > ext4_blocks_count(es)) { count 4512 fs/ext4/mballoc.c "block = %lu, count = %lu", block, count); count 4533 fs/ext4/mballoc.c if (bit + count > EXT4_BLOCKS_PER_GROUP(sb)) { count 4534 fs/ext4/mballoc.c overflow = bit + count - EXT4_BLOCKS_PER_GROUP(sb); count 4535 fs/ext4/mballoc.c count -= overflow; count 4548 fs/ext4/mballoc.c if (in_range(ext4_block_bitmap(sb, gdp), block, count) || count 4549 fs/ext4/mballoc.c in_range(ext4_inode_bitmap(sb, gdp), block, count) || count 4552 fs/ext4/mballoc.c in_range(block + count - 1, ext4_inode_table(sb, gdp), count 4557 fs/ext4/mballoc.c "Block = %lu, count = %lu", block, count); count 4584 fs/ext4/mballoc.c for (i = 0; i < count; i++) count 4589 fs/ext4/mballoc.c bit, count); count 4598 fs/ext4/mballoc.c ac->ac_b_ex.fe_len = count; count 4605 fs/ext4/mballoc.c ext4_mb_free_metadata(handle, &e4b, block_group, bit, count); count 4608 fs/ext4/mballoc.c mb_free_blocks(inode, &e4b, bit, count); count 4609 fs/ext4/mballoc.c ext4_mb_return_to_preallocation(inode, &e4b, block, count); count 4614 fs/ext4/mballoc.c le16_add_cpu(&gdp->bg_free_blocks_count, count); count 4617 fs/ext4/mballoc.c percpu_counter_add(&sbi->s_freeblocks_counter, count); count 4622 fs/ext4/mballoc.c sbi->s_flex_groups[flex_group].free_blocks += count; count 4628 fs/ext4/mballoc.c *freed += count; count 4637 fs/ext4/mballoc.c block += count; count 4638 fs/ext4/mballoc.c count = overflow; count 98 fs/ext4/namei.c __le16 count; count 224 fs/ext4/namei.c return le16_to_cpu(((struct dx_countlimit *) entries)->count); count 234 fs/ext4/namei.c ((struct dx_countlimit *) entries)->count = cpu_to_le16(value); count 311 fs/ext4/namei.c unsigned count = dx_get_count(entries), names = 0, space = 0, i; count 315 fs/ext4/namei.c printk("%i indexed blocks...\n", count); count 316 fs/ext4/namei.c for (i = 0; i < count; i++, entries++) count 320 fs/ext4/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; count 353 fs/ext4/namei.c unsigned count, indirect; count 413 fs/ext4/namei.c count = dx_get_count(entries); count 414 fs/ext4/namei.c if (!count || count > dx_get_limit(entries)) { count 423 fs/ext4/namei.c q = entries + count - 1; count 436 fs/ext4/namei.c unsigned n = count - 1; count 579 fs/ext4/namei.c int err, count = 0; count 598 fs/ext4/namei.c return count; count 612 fs/ext4/namei.c count++; count 615 fs/ext4/namei.c return count; count 635 fs/ext4/namei.c int count = 0; count 645 fs/ext4/namei.c count = htree_dirblock_to_tree(dir_file, dir, 0, &hinfo, count 648 fs/ext4/namei.c return count; count 661 fs/ext4/namei.c count++; count 668 fs/ext4/namei.c count++; count 679 fs/ext4/namei.c count += ret; count 694 fs/ext4/namei.c (count && ((hashval & 1) == 0))) count 699 fs/ext4/namei.c "next hash: %x\n", count, *next_hash)); count 700 fs/ext4/namei.c return count; count 718 fs/ext4/namei.c int count = 0; count 730 fs/ext4/namei.c count++; count 736 fs/ext4/namei.c return count; count 742 fs/ext4/namei.c struct dx_map_entry *p, *q, *top = map + count - 1; count 745 fs/ext4/namei.c while (count > 2) { count 746 fs/ext4/namei.c count = count*10/13; count 747 fs/ext4/namei.c if (count - 9 < 2) /* 9, 10 -> 11 */ count 748 fs/ext4/namei.c count = 11; count 749 fs/ext4/namei.c for (p = top, q = p - count; q >= map; p--, q--) count 770 fs/ext4/namei.c int count = dx_get_count(entries); count 772 fs/ext4/namei.c assert(count < dx_get_limit(entries)); count 773 fs/ext4/namei.c assert(old < entries + count); count 774 fs/ext4/namei.c memmove(new + 1, new, (char *)(entries + count) - (char *)(new)); count 777 fs/ext4/namei.c dx_set_count(entries, count + 1); count 1125 fs/ext4/namei.c while (count--) { count 1173 fs/ext4/namei.c unsigned count, continued; count 1204 fs/ext4/namei.c count = dx_make_map((struct ext4_dir_entry_2 *) data1, count 1206 fs/ext4/namei.c map -= count; count 1207 fs/ext4/namei.c dx_sort_map(map, count); count 1211 fs/ext4/namei.c for (i = count-1; i >= 0; i--) { count 1219 fs/ext4/namei.c split = count - move; count 1224 fs/ext4/namei.c hash2, split, count-split)); count 1227 fs/ext4/namei.c de2 = dx_move_dirents(data1, data2, map + split, count - split); count 910 fs/fat/dir.c int count = 0; count 916 fs/fat/dir.c count++; count 919 fs/fat/dir.c return count; count 449 fs/fat/fatent.c int i, count, err, nr_bhs, idx_clus; count 461 fs/fat/fatent.c count = FAT_START_ENT; count 465 fs/fat/fatent.c while (count < sbi->max_cluster) { count 501 fs/fat/fatent.c count++; count 502 fs/fat/fatent.c if (count == sbi->max_cluster) count 157 fs/fat/file.c loff_t start = inode->i_size, count = size - inode->i_size; count 167 fs/fat/file.c err = sync_page_range_nolock(inode, mapping, start, count); count 305 fs/file.c atomic_set(&newf->count, 1); count 425 fs/file.c .count = ATOMIC_INIT(1), count 323 fs/file_table.c if (likely((atomic_read(&files->count) == 1))) { count 41 fs/fuse/control.c return count; count 39 fs/fuse/dev.c atomic_set(&req->count, 1); count 78 fs/fuse/dev.c atomic_inc(&req->count); count 84 fs/fuse/dev.c BUG_ON(atomic_read(&req->count) < 2); count 85 fs/fuse/dev.c atomic_dec(&req->count); count 201 fs/fuse/dev.c if (atomic_dec_and_test(&req->count)) { count 586 fs/fuse/dev.c if (page && zeroing && count < PAGE_SIZE) { count 591 fs/fuse/dev.c while (count) { count 598 fs/fuse/dev.c offset += fuse_copy_do(cs, &buf, &count); count 601 fs/fuse/dev.c offset += fuse_copy_do(cs, NULL, &count); count 615 fs/fuse/dev.c unsigned count = min(nbytes, (unsigned) PAGE_SIZE - offset); count 619 fs/fuse/dev.c int err = fuse_copy_page(cs, page, offset, count, zeroing); count 623 fs/fuse/dev.c nbytes -= count; count 624 fs/fuse/dev.c count = min(nbytes, (unsigned) PAGE_SIZE); count 60 fs/fuse/file.c atomic_set(&ff->count, 0); count 74 fs/fuse/file.c atomic_inc(&ff->count); count 87 fs/fuse/file.c if (atomic_dec_and_test(&ff->count)) { count 371 fs/fuse/file.c inarg->size = count; count 381 fs/fuse/file.c req->out.args[0].size = count; count 390 fs/fuse/file.c fuse_read_fill(req, file, inode, pos, count, FUSE_READ); count 422 fs/fuse/file.c size_t count = PAGE_CACHE_SIZE; count 447 fs/fuse/file.c num_read = fuse_send_read(req, file, inode, pos, count, NULL); count 455 fs/fuse/file.c if (num_read < count) count 470 fs/fuse/file.c size_t count = req->misc.read.in.size; count 477 fs/fuse/file.c if (!req->out.h.error && num_read < count) { count 502 fs/fuse/file.c size_t count = req->num_pages << PAGE_CACHE_SHIFT; count 504 fs/fuse/file.c fuse_read_fill(req, file, inode, pos, count, FUSE_READ); count 608 fs/fuse/file.c inarg->size = count; count 620 fs/fuse/file.c req->in.args[1].size = count; count 631 fs/fuse/file.c fuse_write_fill(req, file, file->private_data, inode, pos, count, 0); count 690 fs/fuse/file.c nres = fuse_send_write(req, file, inode, pos, count, NULL); count 698 fs/fuse/file.c if (count == PAGE_CACHE_SIZE) count 731 fs/fuse/file.c res = fuse_send_write(req, file, inode, pos, count, NULL); count 734 fs/fuse/file.c count = res; count 738 fs/fuse/file.c if (!req->out.h.error && !offset && count >= PAGE_CACHE_SIZE) count 741 fs/fuse/file.c if (count > PAGE_CACHE_SIZE - offset) count 742 fs/fuse/file.c count -= PAGE_CACHE_SIZE - offset; count 744 fs/fuse/file.c count = 0; count 760 fs/fuse/file.c size_t count = 0; count 772 fs/fuse/file.c bytes = min_t(size_t, bytes, fc->max_write - count); count 801 fs/fuse/file.c count += tmp; count 809 fs/fuse/file.c } while (iov_iter_count(ii) && count < fc->max_write && count 812 fs/fuse/file.c return count > 0 ? count : err; count 829 fs/fuse/file.c ssize_t count; count 837 fs/fuse/file.c count = fuse_fill_write_pages(req, mapping, ii, pos); count 838 fs/fuse/file.c if (count <= 0) { count 839 fs/fuse/file.c err = count; count 844 fs/fuse/file.c pos, count); count 851 fs/fuse/file.c if (num_written != count) count 871 fs/fuse/file.c size_t count = 0; count 879 fs/fuse/file.c err = generic_segment_checks(iov, &nr_segs, &count, VERIFY_READ); count 889 fs/fuse/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); count 893 fs/fuse/file.c if (count == 0) count 902 fs/fuse/file.c iov_iter_init(&i, iov, nr_segs, count, 0); count 969 fs/fuse/file.c while (count) { count 971 fs/fuse/file.c size_t nbytes_limit = min(count, nmax); count 995 fs/fuse/file.c count -= nres; count 1001 fs/fuse/file.c if (count) { count 1022 fs/fuse/file.c return fuse_direct_io(file, buf, count, ppos, 0); count 1032 fs/fuse/file.c res = generic_write_checks(file, ppos, &count, 0); count 1034 fs/fuse/file.c res = fuse_direct_io(file, buf, count, ppos, 1); count 104 fs/fuse/fuse_i.h atomic_t count; count 188 fs/fuse/fuse_i.h atomic_t count; count 293 fs/fuse/fuse_i.h atomic_t count; count 474 fs/fuse/inode.c atomic_set(&fc->count, 1); count 530 fs/fuse/inode.c if (atomic_dec_and_test(&fc->count)) { count 541 fs/fuse/inode.c atomic_inc(&fc->count); count 920 fs/gfs2/quota.c unsigned int count = 0; count 936 fs/gfs2/quota.c qda[count++] = qd; count 939 fs/gfs2/quota.c if (count) { count 940 fs/gfs2/quota.c do_sync(count, qda); count 941 fs/gfs2/quota.c for (x = 0; x < count; x++) count 229 fs/gfs2/rgrp.c u32 count = 0; count 233 fs/gfs2/rgrp.c count++; count 235 fs/gfs2/rgrp.c count++; count 237 fs/gfs2/rgrp.c count++; count 239 fs/gfs2/rgrp.c count++; count 242 fs/gfs2/rgrp.c return count; count 257 fs/gfs2/rgrp.c u32 count[4], tmp; count 260 fs/gfs2/rgrp.c memset(count, 0, 4 * sizeof(u32)); count 266 fs/gfs2/rgrp.c count[x] += gfs2_bitcount(rgd, count 272 fs/gfs2/rgrp.c if (count[0] != rgd->rd_rg.rg_free) { count 275 fs/gfs2/rgrp.c count[0], rgd->rd_rg.rg_free); count 282 fs/gfs2/rgrp.c if (count[1] + count[2] != tmp) { count 285 fs/gfs2/rgrp.c count[1], tmp); count 289 fs/gfs2/rgrp.c if (count[3] != rgd->rd_rg.rg_dinodes) { count 292 fs/gfs2/rgrp.c count[3], rgd->rd_rg.rg_dinodes); count 296 fs/gfs2/rgrp.c if (count[2] > count[3]) { count 299 fs/gfs2/rgrp.c count[2]); count 45 fs/gfs2/sys.c unsigned int count; count 48 fs/gfs2/sys.c count = sdp->sd_freeze_count; count 51 fs/gfs2/sys.c return snprintf(buf, PAGE_SIZE, "%u\n", count); count 200 fs/hfs/bitmap.c if (!count) count 203 fs/hfs/bitmap.c dprint(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 219 fs/hfs/btree.c u32 count; count 231 fs/hfs/btree.c count = inode->i_size >> tree->node_size_shift; count 232 fs/hfs/btree.c tree->free_nodes = count - tree->node_count; count 233 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 201 fs/hfs/extent.c be16_to_cpu(extent[i].count)); count 208 fs/hfs/extent.c u16 count, start; count 213 fs/hfs/extent.c count = be16_to_cpu(extent->count); count 214 fs/hfs/extent.c if (offset == count) { count 216 fs/hfs/extent.c if (alloc_block != start + count) { count 222 fs/hfs/extent.c block_count += count; count 223 fs/hfs/extent.c extent->count = cpu_to_be16(block_count); count 225 fs/hfs/extent.c } else if (offset < count) count 227 fs/hfs/extent.c offset -= count; count 236 fs/hfs/extent.c u16 count, start; count 241 fs/hfs/extent.c count = be16_to_cpu(extent->count); count 242 fs/hfs/extent.c if (offset == count) count 244 fs/hfs/extent.c else if (offset < count) count 246 fs/hfs/extent.c offset -= count; count 253 fs/hfs/extent.c if (count <= block_nr) { count 254 fs/hfs/extent.c hfs_clear_vbm_bits(sb, start, count); count 256 fs/hfs/extent.c extent->count = 0; count 257 fs/hfs/extent.c block_nr -= count; count 259 fs/hfs/extent.c count -= block_nr; count 260 fs/hfs/extent.c hfs_clear_vbm_bits(sb, start + count, block_nr); count 261 fs/hfs/extent.c extent->count = cpu_to_be16(count); count 268 fs/hfs/extent.c count = be16_to_cpu(extent->count); count 293 fs/hfs/extent.c blocks += be16_to_cpu(extent[i].count); count 401 fs/hfs/extent.c HFS_I(inode)->first_extents[0].count = cpu_to_be16(len); count 445 fs/hfs/extent.c HFS_I(inode)->cached_extents[0].count = cpu_to_be16(len); count 177 fs/hfs/hfs.h __be16 count; count 233 fs/hfs/inode.c u16 count; count 237 fs/hfs/inode.c for (count = 0, i = 0; i < 3; i++) count 238 fs/hfs/inode.c count += be16_to_cpu(ext[i].count); count 239 fs/hfs/inode.c HFS_I(inode)->first_blocks = count; count 158 fs/hfsplus/bitmap.c if (!count) count 161 fs/hfsplus/bitmap.c dprint(DBG_BITMAP, "block_free: %u,%u\n", offset, count); count 163 fs/hfsplus/bitmap.c if ((offset + count) > HFSPLUS_SB(sb).total_blocks) count 173 fs/hfsplus/bitmap.c len = count; count 180 fs/hfsplus/bitmap.c if (j > count) { count 181 fs/hfsplus/bitmap.c mask |= 0xffffffffU >> (i + count); count 186 fs/hfsplus/bitmap.c count -= j; count 192 fs/hfsplus/bitmap.c if (count < 32) count 195 fs/hfsplus/bitmap.c count -= 32; count 197 fs/hfsplus/bitmap.c if (!count) count 208 fs/hfsplus/bitmap.c if (count) { count 209 fs/hfsplus/bitmap.c mask = 0xffffffffU >> count; count 195 fs/hfsplus/btree.c u32 count; count 207 fs/hfsplus/btree.c count = inode->i_size >> tree->node_size_shift; count 208 fs/hfsplus/btree.c tree->free_nodes = count - tree->node_count; count 209 fs/hfsplus/btree.c tree->node_count = count; count 53 fs/hfsplus/extents.c u32 count; count 56 fs/hfsplus/extents.c count = be32_to_cpu(ext->block_count); count 57 fs/hfsplus/extents.c if (off < count) count 59 fs/hfsplus/extents.c off -= count; count 68 fs/hfsplus/extents.c u32 count = 0; count 71 fs/hfsplus/extents.c count += be32_to_cpu(ext->block_count); count 72 fs/hfsplus/extents.c return count; count 241 fs/hfsplus/extents.c u32 count, start; count 246 fs/hfsplus/extents.c count = be32_to_cpu(extent->block_count); count 247 fs/hfsplus/extents.c if (offset == count) { count 249 fs/hfsplus/extents.c if (alloc_block != start + count) { count 255 fs/hfsplus/extents.c block_count += count; count 258 fs/hfsplus/extents.c } else if (offset < count) count 260 fs/hfsplus/extents.c offset -= count; count 270 fs/hfsplus/extents.c u32 count, start; count 275 fs/hfsplus/extents.c count = be32_to_cpu(extent->block_count); count 276 fs/hfsplus/extents.c if (offset == count) count 278 fs/hfsplus/extents.c else if (offset < count) count 280 fs/hfsplus/extents.c offset -= count; count 287 fs/hfsplus/extents.c if (count <= block_nr) { count 288 fs/hfsplus/extents.c hfsplus_block_free(sb, start, count); count 291 fs/hfsplus/extents.c block_nr -= count; count 293 fs/hfsplus/extents.c count -= block_nr; count 294 fs/hfsplus/extents.c hfsplus_block_free(sb, start + count, block_nr); count 295 fs/hfsplus/extents.c extent->block_count = cpu_to_be32(count); count 302 fs/hfsplus/extents.c count = be32_to_cpu(extent->block_count); count 377 fs/hfsplus/inode.c u32 count; count 382 fs/hfsplus/inode.c for (count = 0, i = 0; i < 8; i++) count 383 fs/hfsplus/inode.c count += be32_to_cpu(fork->extents[i].block_count); count 384 fs/hfsplus/inode.c HFSPLUS_I(inode).first_blocks = count; count 442 fs/hostfs/hostfs_kern.c int count = PAGE_CACHE_SIZE; count 447 fs/hostfs/hostfs_kern.c count = inode->i_size & (PAGE_CACHE_SIZE-1); count 452 fs/hostfs/hostfs_kern.c err = write_file(HOSTFS_I(inode)->fd, &base, buffer, count); count 453 fs/hostfs/hostfs_kern.c if (err != count) { count 124 fs/hpfs/file.c retval = do_sync_write(file, buf, count, ppos); count 113 fs/hpfs/super.c unsigned i, count; count 115 fs/hpfs/super.c count = 0; count 119 fs/hpfs/super.c for (b = bits[i]; b; b>>=1) count += b & 1; count 122 fs/hpfs/super.c return count; count 127 fs/hpfs/super.c unsigned n, count, n_bands; count 129 fs/hpfs/super.c count = 0; count 131 fs/hpfs/super.c count += hpfs_count_one_bitmap(s, hpfs_sb(s)->sb_bmp_dir[n]); count 132 fs/hpfs/super.c return count; count 201 fs/hppfs/hppfs.c n = (*read)(file, buf, count, &file->f_pos); count 224 fs/hppfs/hppfs.c while (count > 0) { count 225 fs/hppfs/hppfs.c cur = min_t(ssize_t, count, PAGE_SIZE); count 240 fs/hppfs/hppfs.c count -= err; count 270 fs/hppfs/hppfs.c if (off + count > hppfs->len) count 271 fs/hppfs/hppfs.c count = hppfs->len - off; count 272 fs/hppfs/hppfs.c rem = copy_to_user(buf, &data->contents[off], count); count 273 fs/hppfs/hppfs.c *ppos += count - rem; count 283 fs/hppfs/hppfs.c count = hppfs_read_file(hppfs->host_fd, buf, count); count 284 fs/hppfs/hppfs.c if (count > 0) count 285 fs/hppfs/hppfs.c *ppos += count; count 287 fs/hppfs/hppfs.c else count = read_proc(hppfs->proc_file, buf, count, ppos, 1); count 289 fs/hppfs/hppfs.c return count; count 195 fs/hugetlbfs/inode.c if (size > count) count 196 fs/hugetlbfs/inode.c size = count; count 320 fs/inode.c int busy = 0, count = 0; count 343 fs/inode.c count++; count 349 fs/inode.c inodes_stat.nr_unused -= count; count 81 fs/inotify.c atomic_t count; /* reference count */ count 88 fs/inotify.c atomic_inc(&ih->count); count 93 fs/inotify.c if (atomic_dec_and_test(&ih->count)) { count 105 fs/inotify.c atomic_inc(&watch->count); count 117 fs/inotify.c if (atomic_dec_and_test(&watch->count)) { count 462 fs/inotify.c atomic_set(&ih->count, 0); count 477 fs/inotify.c atomic_set(&watch->count, 0); count 79 fs/inotify_user.c atomic_t count; /* reference count */ count 154 fs/inotify_user.c atomic_inc(&dev->count); count 159 fs/inotify_user.c if (atomic_dec_and_test(&dev->count)) { count 478 fs/inotify_user.c if (event_size + kevent->event.len > count) { count 479 fs/inotify_user.c if (ret == 0 && count > 0) { count 501 fs/inotify_user.c count -= event_size; count 509 fs/inotify_user.c count -= kevent->event.len; count 644 fs/inotify_user.c atomic_set(&dev->count, 0); count 495 fs/jbd/revoke.c int i, offset, count; count 499 fs/jbd/revoke.c count = 0; count 514 fs/jbd/revoke.c count++; count 521 fs/jbd/revoke.c jbd_debug(1, "Wrote %d revoke records\n", count); count 494 fs/jbd2/revoke.c int i, offset, count; count 498 fs/jbd2/revoke.c count = 0; count 513 fs/jbd2/revoke.c count++; count 520 fs/jbd2/revoke.c jbd_debug(1, "Wrote %d revoke records\n", count); count 26 fs/jffs2/acl.c if (count <= 4) { count 28 fs/jffs2/acl.c + count * sizeof(struct jffs2_acl_entry_short); count 32 fs/jffs2/acl.c + (count - 4) * sizeof(struct jffs2_acl_entry); count 60 fs/jffs2/acl.c int i, count; count 73 fs/jffs2/acl.c count = jffs2_acl_count(size); count 74 fs/jffs2/acl.c if (count < 0) count 76 fs/jffs2/acl.c if (count == 0) count 79 fs/jffs2/acl.c acl = posix_acl_alloc(count, GFP_KERNEL); count 83 fs/jffs2/acl.c for (i=0; i < count; i++) { count 124 fs/jffs2/erase.c if (!--count) { count 1079 fs/jffs2/scan.c uint32_t count = 0; count 1083 fs/jffs2/scan.c count++; count 1085 fs/jffs2/scan.c return count; count 1095 fs/jffs2/scan.c while(count--) { count 296 fs/jffs2/summary.c switch (count) { count 796 fs/jffs2/wbuf.c return jffs2_flash_direct_writev(c, invecs, count, to, retlen); count 851 fs/jffs2/wbuf.c for (invec = 0; invec < count; invec++) { count 898 fs/jffs2/wbuf.c int res = jffs2_sum_add_kvec(c, invecs, count, (uint32_t) to); count 26 fs/jffs2/writev.c for (i=0; i<count; i++) { count 46 fs/jffs2/writev.c res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); count 54 fs/jffs2/writev.c return c->mtd->writev(c->mtd, vecs, count, to, retlen); count 56 fs/jffs2/writev.c return mtd_fake_writev(c->mtd, vecs, count, to, retlen); count 103 fs/jffs2/xattr.c int count; count 110 fs/jffs2/xattr.c for (count = 0; count < XATTRINDEX_HASHSIZE; count++) { count 57 fs/jfs/jfs_debug.c return count; count 556 fs/jfs/jfs_dmap.c log->count++; count 2850 fs/jfs/jfs_imap.c log->count++; count 271 fs/jfs/jfs_logmgr.c log->count++; count 298 fs/jfs/jfs_logmgr.c log->count++; count 1292 fs/jfs/jfs_logmgr.c log->count = 0; count 412 fs/jfs/jfs_logmgr.h int count; /* 4: count */ count 241 fs/jfs/jfs_metapage.c if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || count 314 fs/jfs/jfs_metapage.c log->count--; count 549 fs/jfs/jfs_metapage.c if (mp->count || mp->nohomeok || count 551 fs/jfs/jfs_metapage.c jfs_info("count = %ld, nohomeok = %d", mp->count, count 647 fs/jfs/jfs_metapage.c mp->count++; count 665 fs/jfs/jfs_metapage.c mp->count = 1; count 696 fs/jfs/jfs_metapage.c mp->count++; count 722 fs/jfs/jfs_metapage.c if (mp->count || mp->nohomeok) { count 728 fs/jfs/jfs_metapage.c mp->count++; count 744 fs/jfs/jfs_metapage.c assert(mp->count); count 745 fs/jfs/jfs_metapage.c if (--mp->count || mp->nohomeok) { count 34 fs/jfs/jfs_metapage.h unsigned long count; /* Reference count */ count 984 fs/jfs/jfs_txnmgr.c log->count--; count 1774 fs/jfs/jfs_txnmgr.c xadlock->count = next - lwm; count 1775 fs/jfs/jfs_txnmgr.c if ((xadlock->count <= 4) && (tblk->xflag & COMMIT_LAZY)) { count 1787 fs/jfs/jfs_txnmgr.c for (i = 0; i < xadlock->count; i++) { count 1804 fs/jfs/jfs_txnmgr.c "count:%d", tlck->ip, mp, tlck, lwm, xadlock->count); count 1877 fs/jfs/jfs_txnmgr.c xadlock->count = hwm - XTENTRYSTART + 1; count 1878 fs/jfs/jfs_txnmgr.c if ((xadlock->count <= 4) && (tblk->xflag & COMMIT_LAZY)) { count 1890 fs/jfs/jfs_txnmgr.c for (i = 0; i < xadlock->count; i++) { count 1907 fs/jfs/jfs_txnmgr.c tlck->ip, mp, xadlock->count); count 2027 fs/jfs/jfs_txnmgr.c xadlock->count = next - lwm; count 2032 fs/jfs/jfs_txnmgr.c tlck->ip, mp, xadlock->count, lwm, next); count 2049 fs/jfs/jfs_txnmgr.c pxdlock->count = 1; count 2053 fs/jfs/jfs_txnmgr.c "hwm:%d", ip, mp, pxdlock->count, hwm); count 2068 fs/jfs/jfs_txnmgr.c xadlock->count = hwm - next + 1; count 2073 fs/jfs/jfs_txnmgr.c tlck->ip, mp, xadlock->count, next, hwm); count 2460 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { count 2481 fs/jfs/jfs_txnmgr.c for (n = 0; n < pxdlistlock->count; n++, pxd++) { count 2522 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { count 2545 fs/jfs/jfs_txnmgr.c for (n = 0; n < pxdlistlock->count; n++, pxd++) { count 2563 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { count 2582 fs/jfs/jfs_txnmgr.c for (n = 0; n < pxdlistlock->count; n++, pxd++) { count 225 fs/jfs/jfs_txnmgr.h u8 count; /* 1: number of pxd/xad */ count 253 fs/jfs/jfs_txnmgr.h u8 count; /* 1: number of pxd/xad */ count 3669 fs/jfs/jfs_xtree.c xadlock.count = count 3700 fs/jfs/jfs_xtree.c xadlock.count = count 3774 fs/jfs/jfs_xtree.c xadlock.count = count 3846 fs/jfs/jfs_xtree.c xadlock.count = count 498 fs/libfs.c ++*count; count 509 fs/libfs.c if (!--*count) count 537 fs/libfs.c if (count > available - pos) count 538 fs/libfs.c count = available - pos; count 539 fs/libfs.c if (copy_to_user(to, from + pos, count)) count 541 fs/libfs.c *ppos = pos + count; count 542 fs/libfs.c return count; count 568 fs/libfs.c if (count > available - pos) count 569 fs/libfs.c count = available - pos; count 570 fs/libfs.c memcpy(to, from + pos, count); count 571 fs/libfs.c *ppos = pos + count; count 573 fs/libfs.c return count; count 51 fs/lockd/clntproc.c atomic_inc(&lockowner->count); count 57 fs/lockd/clntproc.c if (!atomic_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) count 108 fs/lockd/clntproc.c atomic_set(&new->count, 1); count 1108 fs/locks.c fl.fl_end = offset + count - 1; count 204 fs/mbcache.c int count = 0; count 212 fs/mbcache.c count += atomic_read(&cache->c_entry_count); count 232 fs/mbcache.c return (count / 100) * sysctl_vfs_cache_pressure; count 1676 fs/namei.c int count = 0; count 1866 fs/namei.c if (count++==32) { count 180 fs/namespace.c unsigned long count; count 192 fs/namespace.c writer->count = 0; count 217 fs/namespace.c if (!cpu_writer->count) count 219 fs/namespace.c atomic_add(cpu_writer->count, &cpu_writer->mnt->__mnt_writers); count 220 fs/namespace.c cpu_writer->count = 0; count 264 fs/namespace.c cpu_writer->count++; count 341 fs/namespace.c if (cpu_writer->count > 0) { count 342 fs/namespace.c cpu_writer->count--; count 620 fs/namespace.c atomic_add(cpu_writer->count, &mnt->__mnt_writers); count 621 fs/namespace.c cpu_writer->count = 0; count 1984 fs/namespace.c atomic_set(&new_ns->count, 1); count 2138 fs/namespace.c atomic_inc(&fs->count); count 2292 fs/namespace.c atomic_set(&ns->count, 1); count 122 fs/ncpfs/file.c if ((ssize_t) count < 0) { count 125 fs/ncpfs/file.c if (!count) count 129 fs/ncpfs/file.c if (pos + count > inode->i_sb->s_maxbytes) { count 130 fs/ncpfs/file.c count = inode->i_sb->s_maxbytes - pos; count 148 fs/ncpfs/file.c while (already_read < count) { count 152 fs/ncpfs/file.c count - already_read); count 198 fs/ncpfs/file.c if ((ssize_t) count < 0) count 205 fs/ncpfs/file.c if (pos + count > MAX_NON_LFS && !(file->f_flags&O_LARGEFILE)) { count 209 fs/ncpfs/file.c if (count > MAX_NON_LFS - (u32)pos) { count 210 fs/ncpfs/file.c count = MAX_NON_LFS - (u32)pos; count 214 fs/ncpfs/file.c if (count || pos > inode->i_sb->s_maxbytes) { count 218 fs/ncpfs/file.c if (pos + count > inode->i_sb->s_maxbytes) { count 219 fs/ncpfs/file.c count = inode->i_sb->s_maxbytes - pos; count 222 fs/ncpfs/file.c if (!count) count 238 fs/ncpfs/file.c while (already_written < count) { count 242 fs/ncpfs/file.c count - already_written); count 38 fs/ncpfs/mmap.c unsigned int count; count 52 fs/ncpfs/mmap.c count = PAGE_SIZE; count 58 fs/ncpfs/mmap.c while (already_read < count) { count 64 fs/ncpfs/mmap.c to_read = min_t(unsigned int, to_read, count - already_read); count 45 fs/ncpfs/sock.c return kernel_sendmsg(sock, &msg, vec, count, len); count 77 fs/nfs/direct.c ssize_t count, /* bytes actually processed */ count 130 fs/nfs/direct.c if (count == 0) count 133 fs/nfs/direct.c npages = (count + (pgbase & ~PAGE_MASK) + PAGE_SIZE - 1) >> PAGE_SHIFT; count 164 fs/nfs/direct.c dreq->count = 0; count 201 fs/nfs/direct.c result = dreq->count; count 216 fs/nfs/direct.c res = (long) dreq->count; count 248 fs/nfs/direct.c dreq->count += data->res.count; count 252 fs/nfs/direct.c data->res.count); count 280 fs/nfs/direct.c size_t count = iov->iov_len; count 302 fs/nfs/direct.c bytes = min(rsize,count); count 338 fs/nfs/direct.c data->args.count = bytes; count 341 fs/nfs/direct.c data->res.count = bytes; count 370 fs/nfs/direct.c count -= bytes; count 371 fs/nfs/direct.c } while (count != 0); count 462 fs/nfs/direct.c dreq->count = 0; count 477 fs/nfs/direct.c data->res.count = data->args.count; count 501 fs/nfs/direct.c data->args.count, count 566 fs/nfs/direct.c data->args.count = 0; count 568 fs/nfs/direct.c data->res.count = 0; count 653 fs/nfs/direct.c dreq->count += data->res.count; count 694 fs/nfs/direct.c size_t count = iov->iov_len; count 716 fs/nfs/direct.c bytes = min(wsize,count); count 754 fs/nfs/direct.c data->args.count = bytes; count 757 fs/nfs/direct.c data->res.count = bytes; count 788 fs/nfs/direct.c count -= bytes; count 789 fs/nfs/direct.c } while (count != 0); count 845 fs/nfs/direct.c if (dreq->commit_data == NULL || count < wsize) count 888 fs/nfs/direct.c size_t count; count 890 fs/nfs/direct.c count = iov_length(iov, nr_segs); count 891 fs/nfs/direct.c nfs_add_stats(mapping->host, NFSIOS_DIRECTREADBYTES, count); count 896 fs/nfs/direct.c count, (long long) pos); count 899 fs/nfs/direct.c if (!count) count 945 fs/nfs/direct.c size_t count; count 947 fs/nfs/direct.c count = iov_length(iov, nr_segs); count 948 fs/nfs/direct.c nfs_add_stats(mapping->host, NFSIOS_DIRECTWRITTENBYTES, count); count 953 fs/nfs/direct.c count, (long long) pos); count 955 fs/nfs/direct.c retval = generic_write_checks(file, &pos, &count, 0); count 960 fs/nfs/direct.c if ((ssize_t) count < 0) count 963 fs/nfs/direct.c if (!count) count 970 fs/nfs/direct.c retval = nfs_direct_write(iocb, iov, nr_segs, pos, count); count 259 fs/nfs/file.c size_t count = iov_length(iov, nr_segs); count 266 fs/nfs/file.c (unsigned long) count, (unsigned long) pos); count 269 fs/nfs/file.c nfs_add_stats(inode, NFSIOS_NORMALREADBYTES, count); count 286 fs/nfs/file.c (unsigned long) count, (unsigned long long) *ppos); count 290 fs/nfs/file.c res = generic_file_splice_read(filp, ppos, pipe, count, flags); count 509 fs/nfs/file.c size_t count = iov_length(iov, nr_segs); count 516 fs/nfs/file.c (unsigned long) count, (long long) pos); count 530 fs/nfs/file.c result = count; count 531 fs/nfs/file.c if (!count) count 534 fs/nfs/file.c nfs_add_stats(inode, NFSIOS_NORMALWRITTENBYTES, count); count 563 fs/nfs/inode.c atomic_set(&ctx->count, 1); count 571 fs/nfs/inode.c atomic_inc(&ctx->count); count 583 fs/nfs/inode.c if (!atomic_dec_and_lock(&ctx->count, &inode->i_lock)) count 242 fs/nfs/nfs2xdr.c u32 count = args->count; count 246 fs/nfs/nfs2xdr.c *p++ = htonl(count); count 247 fs/nfs/nfs2xdr.c *p++ = htonl(count); count 253 fs/nfs/nfs2xdr.c args->pages, args->pgbase, count); count 266 fs/nfs/nfs2xdr.c u32 count, recvd; count 273 fs/nfs/nfs2xdr.c count = ntohl(*p++); count 286 fs/nfs/nfs2xdr.c if (count > recvd) { count 288 fs/nfs/nfs2xdr.c "count %u > recvd %u\n", count, recvd); count 289 fs/nfs/nfs2xdr.c count = recvd; count 292 fs/nfs/nfs2xdr.c dprintk("RPC: readres OK count %u\n", count); count 293 fs/nfs/nfs2xdr.c if (count < res->count) count 294 fs/nfs/nfs2xdr.c res->count = count; count 296 fs/nfs/nfs2xdr.c return count; count 308 fs/nfs/nfs2xdr.c u32 count = args->count; count 313 fs/nfs/nfs2xdr.c *p++ = htonl(count); count 314 fs/nfs/nfs2xdr.c *p++ = htonl(count); count 318 fs/nfs/nfs2xdr.c xdr_encode_pages(sndbuf, args->pages, args->pgbase, count); count 402 fs/nfs/nfs2xdr.c u32 count = args->count; count 406 fs/nfs/nfs2xdr.c *p++ = htonl(count); /* see above */ count 411 fs/nfs/nfs2xdr.c xdr_inline_pages(&req->rq_rcv_buf, replen, args->pages, 0, count); count 202 fs/nfs/nfs3acl.c int status, count; count 236 fs/nfs/nfs3acl.c for (count = 0; count < NFSACL_MAXPAGES && args.pages[count]; count++) count 237 fs/nfs/nfs3acl.c __free_page(args.pages[count]); count 305 fs/nfs/nfs3acl.c int status, count; count 331 fs/nfs/nfs3acl.c for (count = 0; count < NFSACL_MAXPAGES && args.pages[count]; count++) count 332 fs/nfs/nfs3acl.c __free_page(args.pages[count]); count 599 fs/nfs/nfs3proc.c .count = count, count 338 fs/nfs/nfs3xdr.c u32 count = args->count; count 342 fs/nfs/nfs3xdr.c *p++ = htonl(count); count 348 fs/nfs/nfs3xdr.c args->pages, args->pgbase, count); count 360 fs/nfs/nfs3xdr.c u32 count = args->count; count 364 fs/nfs/nfs3xdr.c *p++ = htonl(count); count 366 fs/nfs/nfs3xdr.c *p++ = htonl(count); count 370 fs/nfs/nfs3xdr.c xdr_encode_pages(sndbuf, args->pages, args->pgbase, count); count 479 fs/nfs/nfs3xdr.c u32 count = args->count; count 488 fs/nfs/nfs3xdr.c *p++ = htonl(count >> 3); count 490 fs/nfs/nfs3xdr.c *p++ = htonl(count); count 495 fs/nfs/nfs3xdr.c xdr_inline_pages(&req->rq_rcv_buf, replen, args->pages, 0, count); count 668 fs/nfs/nfs3xdr.c *p++ = htonl(args->count); count 709 fs/nfs/nfs3xdr.c int count, err; count 719 fs/nfs/nfs3xdr.c for (count = 0; (count << PAGE_SHIFT) < len; count++) { count 720 fs/nfs/nfs3xdr.c args->pages[count] = alloc_page(GFP_KERNEL); count 721 fs/nfs/nfs3xdr.c if (!args->pages[count]) { count 722 fs/nfs/nfs3xdr.c while (count) count 723 fs/nfs/nfs3xdr.c __free_page(args->pages[--count]); count 887 fs/nfs/nfs3xdr.c u32 count, ocount, recvd; count 899 fs/nfs/nfs3xdr.c count = ntohl(*p++); count 903 fs/nfs/nfs3xdr.c if (ocount != count) { count 919 fs/nfs/nfs3xdr.c if (count > recvd) { count 921 fs/nfs/nfs3xdr.c "count %u > recvd %u\n", count, recvd); count 922 fs/nfs/nfs3xdr.c count = recvd; count 926 fs/nfs/nfs3xdr.c if (count < res->count) count 927 fs/nfs/nfs3xdr.c res->count = count; count 929 fs/nfs/nfs3xdr.c return count; count 946 fs/nfs/nfs3xdr.c res->count = ntohl(*p++); count 951 fs/nfs/nfs3xdr.c return res->count; count 153 fs/nfs/nfs4_fs.h atomic_t count; count 101 fs/nfs/nfs4namespace.c int rc, count, in[4]; count 106 fs/nfs/nfs4namespace.c for (count = 0; count < 4; count++) { count 107 fs/nfs/nfs4namespace.c if (in[count] > 255) count 148 fs/nfs/nfs4proc.c BUG_ON(readdir->count < 80); count 194 fs/nfs/nfs4proc.c readdir->count -= readdir->pgbase; count 474 fs/nfs/nfs4proc.c atomic_inc(&state->count); count 559 fs/nfs/nfs4proc.c atomic_inc(&state->count); count 2209 fs/nfs/nfs4proc.c .count = count, count 2245 fs/nfs/nfs4proc.c page, count, plus), count 356 fs/nfs/nfs4state.c atomic_set(&state->count, 1); count 387 fs/nfs/nfs4state.c if (atomic_inc_not_zero(&state->count)) count 444 fs/nfs/nfs4state.c if (!atomic_dec_and_lock(&state->count, &owner->so_lock)) count 761 fs/nfs/nfs4xdr.c WRITE32(args->count); count 1167 fs/nfs/nfs4xdr.c WRITE32(args->count); count 1184 fs/nfs/nfs4xdr.c WRITE32(readdir->count >> 1); /* We're not doing readdirplus */ count 1185 fs/nfs/nfs4xdr.c WRITE32(readdir->count); count 1353 fs/nfs/nfs4xdr.c WRITE32(args->count); count 1355 fs/nfs/nfs4xdr.c xdr_write_pages(xdr, args->pages, args->pgbase, args->count); count 1832 fs/nfs/nfs4xdr.c args->pgbase, args->count); count 1835 fs/nfs/nfs4xdr.c args->pgbase, args->count); count 1868 fs/nfs/nfs4xdr.c args->pages, args->pgbase, args->count); count 3469 fs/nfs/nfs4xdr.c uint32_t count, eof, recvd, hdrlen; count 3477 fs/nfs/nfs4xdr.c READ32(count); count 3480 fs/nfs/nfs4xdr.c if (count > recvd) { count 3482 fs/nfs/nfs4xdr.c "count %u > recvd %u\n", count, recvd); count 3483 fs/nfs/nfs4xdr.c count = recvd; count 3486 fs/nfs/nfs4xdr.c xdr_read_pages(xdr, count); count 3488 fs/nfs/nfs4xdr.c res->count = count; count 3783 fs/nfs/nfs4xdr.c READ32(res->count); count 4354 fs/nfs/nfs4xdr.c status = res->count; count 4380 fs/nfs/nfs4xdr.c status = res->count; count 86 fs/nfs/pagelist.c req->wb_bytes = count; count 469 fs/nfs/proc.c .count = count, count 564 fs/nfs/proc.c if (data->args.offset + data->args.count >= data->res.fattr->size) count 87 fs/nfs/read.c unsigned int remainder = data->args.count - data->res.count; count 88 fs/nfs/read.c unsigned int base = data->args.pgbase + data->res.count; count 186 fs/nfs/read.c data->args.count = count; count 190 fs/nfs/read.c data->res.count = count; count 201 fs/nfs/read.c count, count 250 fs/nfs/read.c nbytes = count; count 265 fs/nfs/read.c nbytes = count; count 318 fs/nfs/read.c return nfs_read_rpcsetup(req, data, &nfs_read_full_ops, count, 0); count 339 fs/nfs/read.c nfs_add_stats(data->inode, NFSIOS_SERVERREADBYTES, data->res.count); count 353 fs/nfs/read.c if (resp->eof || resp->count == argp->count) count 359 fs/nfs/read.c if (resp->count == 0) count 363 fs/nfs/read.c argp->offset += resp->count; count 364 fs/nfs/read.c argp->pgbase += resp->count; count 365 fs/nfs/read.c argp->count -= resp->count; count 410 fs/nfs/read.c unsigned int count = data->res.count; count 415 fs/nfs/read.c count = data->args.count; count 416 fs/nfs/read.c if (unlikely(count == 0)) count 420 fs/nfs/read.c count += base; count 421 fs/nfs/read.c for (;count >= PAGE_CACHE_SIZE; count -= PAGE_CACHE_SIZE, pages++) count 423 fs/nfs/read.c if (count == 0) count 426 fs/nfs/read.c if (data->res.eof || data->res.count == data->args.count) count 144 fs/nfs/write.c end = ((loff_t)page->index << PAGE_CACHE_SHIFT) + ((loff_t)offset+count); count 169 fs/nfs/write.c if (count != nfs_page_length(page)) count 666 fs/nfs/write.c req = nfs_setup_write_request(ctx, page, offset, count); count 670 fs/nfs/write.c nfs_grow_file(page, offset, count); count 730 fs/nfs/write.c file->f_path.dentry->d_name.name, count, count 741 fs/nfs/write.c count = max(count + offset, nfs_page_length(page)); count 745 fs/nfs/write.c status = nfs_writepage_setup(ctx, page, offset, count); count 818 fs/nfs/write.c data->args.count = count; count 828 fs/nfs/write.c data->res.count = count; count 840 fs/nfs/write.c count, count 878 fs/nfs/write.c nbytes = count; count 893 fs/nfs/write.c nbytes = count; count 953 fs/nfs/write.c return nfs_write_rpcsetup(req, data, &nfs_write_full_ops, count, 0, how); count 1119 fs/nfs/write.c nfs_add_stats(data->inode, NFSIOS_SERVERWRITTENBYTES, resp->count); count 1143 fs/nfs/write.c if (task->tk_status >= 0 && resp->count < argp->count) { count 1149 fs/nfs/write.c if (resp->count != 0) { count 1153 fs/nfs/write.c argp->offset += resp->count; count 1154 fs/nfs/write.c argp->pgbase += resp->count; count 1155 fs/nfs/write.c argp->count -= resp->count; count 1168 fs/nfs/write.c argp->count); count 1226 fs/nfs/write.c data->args.count = 0; count 1228 fs/nfs/write.c data->res.count = 0; count 37 fs/nfs_common/nfsacl.c unsigned int count; count 52 fs/nfs_common/nfsacl.c &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; count 121 fs/nfs_common/nfsacl.c unsigned int count; count 139 fs/nfs_common/nfsacl.c nfsacl_desc->count = 0; count 142 fs/nfs_common/nfsacl.c entry = &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; count 169 fs/nfsd/nfs3proc.c (unsigned long) argp->count, count 177 fs/nfsd/nfs3proc.c resp->count = argp->count; count 178 fs/nfsd/nfs3proc.c if (max_blocksize < resp->count) count 179 fs/nfsd/nfs3proc.c resp->count = max_blocksize; count 181 fs/nfsd/nfs3proc.c svc_reserve_auth(rqstp, ((1 + NFS3_POST_OP_ATTR_WORDS + 3)<<2) + resp->count +4); count 187 fs/nfsd/nfs3proc.c &resp->count); count 191 fs/nfsd/nfs3proc.c resp->eof = (argp->offset + resp->count) >= inode->i_size; count 219 fs/nfsd/nfs3proc.c resp->count = argp->count; count 435 fs/nfsd/nfs3proc.c int count; count 439 fs/nfsd/nfs3proc.c argp->count, (u32) argp->cookie); count 443 fs/nfsd/nfs3proc.c count = (argp->count >> 2) - 2; count 448 fs/nfsd/nfs3proc.c resp->buflen = count; count 455 fs/nfsd/nfs3proc.c resp->count = resp->buffer - argp->buffer; count 471 fs/nfsd/nfs3proc.c int count = 0; count 478 fs/nfsd/nfs3proc.c argp->count, (u32) argp->cookie); count 482 fs/nfsd/nfs3proc.c resp->count = (argp->count >> 2) - 2; count 489 fs/nfsd/nfs3proc.c resp->buflen = resp->count; count 502 fs/nfsd/nfs3proc.c count += (caddr_t)resp->buffer - page_addr; count 505 fs/nfsd/nfs3proc.c count += PAGE_SIZE; count 507 fs/nfsd/nfs3proc.c resp->count = count >> 2; count 636 fs/nfsd/nfs3proc.c argp->count, count 643 fs/nfsd/nfs3proc.c nfserr = nfsd_commit(rqstp, &resp->fh, argp->offset, argp->count); count 343 fs/nfsd/nfs3xdr.c len = args->count = ntohl(*p++); count 372 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); count 378 fs/nfsd/nfs3xdr.c if (args->count != args->len) count 399 fs/nfsd/nfs3xdr.c if (args->count > max_blocksize) { count 400 fs/nfsd/nfs3xdr.c args->count = max_blocksize; count 573 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); count 575 fs/nfsd/nfs3xdr.c if (args->count > PAGE_SIZE) count 576 fs/nfsd/nfs3xdr.c args->count = PAGE_SIZE; count 596 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); count 598 fs/nfsd/nfs3xdr.c len = (args->count > max_blocksize) ? max_blocksize : count 599 fs/nfsd/nfs3xdr.c args->count; count 600 fs/nfsd/nfs3xdr.c args->count = len; count 619 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); count 711 fs/nfsd/nfs3xdr.c *p++ = htonl(resp->count); count 713 fs/nfsd/nfs3xdr.c *p++ = htonl(resp->count); /* xdr opaque count */ count 716 fs/nfsd/nfs3xdr.c rqstp->rq_res.page_len = resp->count; count 717 fs/nfsd/nfs3xdr.c if (resp->count & 3) { count 721 fs/nfsd/nfs3xdr.c rqstp->rq_res.tail[0].iov_len = 4 - (resp->count & 3); count 735 fs/nfsd/nfs3xdr.c *p++ = htonl(resp->count); count 790 fs/nfsd/nfs3xdr.c rqstp->rq_res.page_len = (resp->count) << 2; count 496 fs/nfsd/nfs4idmap.c atomic_t count; count 502 fs/nfsd/nfs4idmap.c if (atomic_dec_and_test(&mdr->count)) count 509 fs/nfsd/nfs4idmap.c atomic_inc(&mdr->count); count 581 fs/nfsd/nfs4idmap.c atomic_set(&mdr->count, 1); count 733 fs/nfsd/nfs4proc.c int count; count 752 fs/nfsd/nfs4proc.c count = 4 + (verify->ve_attrlen >> 2); count 753 fs/nfsd/nfs4proc.c buf = kmalloc(count << 2, GFP_KERNEL); count 760 fs/nfsd/nfs4proc.c &count, verify->ve_bmval, count 764 fs/nfsd/nfs4proc.c if (status == nfserr_resource && count == 0) count 1228 fs/nfsd/nfs4xdr.c int strlen, count=0; count 1245 fs/nfsd/nfs4xdr.c count++; count 1253 fs/nfsd/nfs4xdr.c WRITE32(count); count 145 fs/nfsd/nfsproc.c argp->count, argp->offset); count 151 fs/nfsd/nfsproc.c if (NFSSVC_MAXBLKSIZE_V2 < argp->count) { count 156 fs/nfsd/nfsproc.c argp->count); count 157 fs/nfsd/nfsproc.c argp->count = NFSSVC_MAXBLKSIZE_V2; count 159 fs/nfsd/nfsproc.c svc_reserve_auth(rqstp, (19<<2) + argp->count + 4); count 161 fs/nfsd/nfsproc.c resp->count = argp->count; count 165 fs/nfsd/nfsproc.c &resp->count); count 481 fs/nfsd/nfsproc.c int count; count 487 fs/nfsd/nfsproc.c argp->count, argp->cookie); count 490 fs/nfsd/nfsproc.c count = (argp->count >> 2) - 2; count 493 fs/nfsd/nfsproc.c count -= 2; count 494 fs/nfsd/nfsproc.c if (count < 0) count 495 fs/nfsd/nfsproc.c count = 0; count 499 fs/nfsd/nfsproc.c resp->buflen = count; count 506 fs/nfsd/nfsproc.c resp->count = resp->buffer - argp->buffer; count 264 fs/nfsd/nfsxdr.c len = args->count = ntohl(*p++); count 405 fs/nfsd/nfsxdr.c args->count = ntohl(*p++); count 406 fs/nfsd/nfsxdr.c if (args->count > PAGE_SIZE) count 407 fs/nfsd/nfsxdr.c args->count = PAGE_SIZE; count 461 fs/nfsd/nfsxdr.c *p++ = htonl(resp->count); count 465 fs/nfsd/nfsxdr.c rqstp->rq_res.page_len = resp->count; count 466 fs/nfsd/nfsxdr.c if (resp->count & 3) { count 470 fs/nfsd/nfsxdr.c rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3); count 899 fs/nfsd/vfs.c if (svc_msnfs(fhp) && !lock_may_read(inode, offset, *count)) count 911 fs/nfsd/vfs.c .total_len = *count, count 937 fs/nfsd/vfs.c *count = host_err; count 1075 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count); count 1080 fs/nfsd/vfs.c err = nfsd_vfs_read(rqstp, fhp, file, offset, vec, vlen, count); count 1136 fs/nfsd/vfs.c if ((u64)count > ~(u64)offset) 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 1292 fs/ntfs/aops.c atomic_dec(&tni->count); count 50 fs/ntfs/bitmap.c s64 cnt = count; count 173 fs/ntfs/bitmap.c if (count != cnt) count 174 fs/ntfs/bitmap.c pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, count 50 fs/ntfs/bitmap.h return __ntfs_bitmap_set_bits_in_run(vi, start_bit, count, value, count 68 fs/ntfs/bitmap.h return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 1); count 85 fs/ntfs/bitmap.h return ntfs_bitmap_set_bits_in_run(vi, start_bit, count, 0); count 1807 fs/ntfs/file.c (unsigned long long)pos, (unsigned long)count); count 1808 fs/ntfs/file.c if (unlikely(!count)) count 1863 fs/ntfs/file.c end = pos + count; count 1885 fs/ntfs/file.c count = ll - pos; count 1901 fs/ntfs/file.c count = ll - pos; count 1998 fs/ntfs/file.c if (bytes > count) count 1999 fs/ntfs/file.c bytes = count; count 2060 fs/ntfs/file.c count -= copied; count 2074 fs/ntfs/file.c } while (count); count 2104 fs/ntfs/file.c size_t count; /* after file limit checks */ count 2107 fs/ntfs/file.c count = 0; count 2108 fs/ntfs/file.c err = generic_segment_checks(iov, &nr_segs, &count, VERIFY_READ); count 2116 fs/ntfs/file.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); count 2119 fs/ntfs/file.c if (!count) count 2126 fs/ntfs/file.c count); count 2191 fs/ntfs/file.c .iov_len = count }; count 340 fs/ntfs/inode.c if (!atomic_dec_and_test(&ni->count)) count 363 fs/ntfs/inode.c if (!atomic_dec_and_test(&ni->count)) count 392 fs/ntfs/inode.c atomic_set(&ni->count, 1); count 55 fs/ntfs/inode.h atomic_t count; /* Inode reference count for book keeping. */ count 165 fs/ntfs/lcnalloc.c (unsigned long long)count, count 172 fs/ntfs/lcnalloc.c BUG_ON(count < 0); count 178 fs/ntfs/lcnalloc.c if (!count) count 253 fs/ntfs/lcnalloc.c clusters = count; count 769 fs/ntfs/lcnalloc.c (unsigned long long)(count - clusters)); count 861 fs/ntfs/lcnalloc.c (unsigned long long)count, count 867 fs/ntfs/lcnalloc.c BUG_ON(count < -1); count 901 fs/ntfs/lcnalloc.c if (count >= 0 && to_free > count) count 902 fs/ntfs/lcnalloc.c to_free = count; count 919 fs/ntfs/lcnalloc.c if (count >= 0) count 920 fs/ntfs/lcnalloc.c count -= to_free; count 928 fs/ntfs/lcnalloc.c for (; rl->length && count != 0; ++rl) { count 958 fs/ntfs/lcnalloc.c if (count >= 0 && to_free > count) count 959 fs/ntfs/lcnalloc.c to_free = count; count 975 fs/ntfs/lcnalloc.c if (count >= 0) count 976 fs/ntfs/lcnalloc.c count -= to_free; count 984 fs/ntfs/lcnalloc.c BUG_ON(count > 0); count 110 fs/ntfs/lcnalloc.h return __ntfs_cluster_free(ni, start_vcn, count, ctx, false); count 161 fs/ntfs/mft.c atomic_inc(&ni->count); count 171 fs/ntfs/mft.c atomic_dec(&ni->count); count 222 fs/ntfs/mft.c atomic_dec(&ni->count); count 259 fs/ntfs/mft.c atomic_inc(&base_ni->count); count 273 fs/ntfs/mft.c atomic_inc(&ni->count); count 279 fs/ntfs/mft.c atomic_dec(&base_ni->count); count 283 fs/ntfs/mft.c atomic_dec(&ni->count); count 306 fs/ntfs/mft.c atomic_dec(&base_ni->count); count 317 fs/ntfs/mft.c atomic_dec(&base_ni->count); count 352 fs/ntfs/mft.c atomic_dec(&base_ni->count); count 359 fs/ntfs/mft.c atomic_dec(&base_ni->count); count 973 fs/ntfs/mft.c atomic_inc(&ni->count); count 978 fs/ntfs/mft.c atomic_dec(&ni->count); count 987 fs/ntfs/mft.c atomic_dec(&ni->count); count 1083 fs/ntfs/mft.c atomic_inc(&eni->count); count 1090 fs/ntfs/mft.c atomic_dec(&eni->count); count 2706 fs/ntfs/mft.c atomic_inc(&ni->count); count 2806 fs/ntfs/mft.c if (atomic_read(&ni->count) > 2) { count 740 fs/ocfs2/alloc.c int count, status, i; count 748 fs/ocfs2/alloc.c count = 0; count 749 fs/ocfs2/alloc.c while (count < wanted) { count 753 fs/ocfs2/alloc.c wanted - count, count 762 fs/ocfs2/alloc.c for(i = count; i < (num_got + count); i++) { count 801 fs/ocfs2/alloc.c count += num_got; count 1302 fs/ocfs2/alloc.c int count = le16_to_cpu(el->l_count); count 1307 fs/ocfs2/alloc.c BUG_ON(next_free >= count); count 141 fs/ocfs2/aops.c u64 p_blkno, count, past_eof; count 157 fs/ocfs2/aops.c err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count, count 166 fs/ocfs2/aops.c if (max_blocks < count) count 167 fs/ocfs2/aops.c count = max_blocks; count 190 fs/ocfs2/aops.c bh_result->b_size = count << inode->i_blkbits; count 1035 fs/ocfs2/cluster/heartbeat.c status = o2hb_read_block_input(reg, page, count, count 1043 fs/ocfs2/cluster/heartbeat.c return count; count 1068 fs/ocfs2/cluster/heartbeat.c return count; count 1096 fs/ocfs2/cluster/heartbeat.c return count; count 1350 fs/ocfs2/cluster/heartbeat.c ret = count; count 1462 fs/ocfs2/cluster/heartbeat.c ret = o2hb_region_attr->store(reg, page, count); count 1567 fs/ocfs2/cluster/heartbeat.c ret = o2hb_heartbeat_group_attr->store(reg, page, count); count 1591 fs/ocfs2/cluster/heartbeat.c return count; count 64 fs/ocfs2/cluster/masklog.c return count; count 133 fs/ocfs2/cluster/masklog.c return mlog_mask_store(mlog_attr->mask, buf, count); count 224 fs/ocfs2/cluster/nodemanager.c return count; count 248 fs/ocfs2/cluster/nodemanager.c return count; count 291 fs/ocfs2/cluster/nodemanager.c return count; count 345 fs/ocfs2/cluster/nodemanager.c return count; count 437 fs/ocfs2/cluster/nodemanager.c ret = o2nm_node_attr->store(node, page, count); count 438 fs/ocfs2/cluster/nodemanager.c if (ret < count) count 497 fs/ocfs2/cluster/nodemanager.c return count; count 512 fs/ocfs2/cluster/nodemanager.c ret = o2nm_cluster_attr_write(page, count, &val); count 547 fs/ocfs2/cluster/nodemanager.c ret = o2nm_cluster_attr_write(page, count, &val); count 579 fs/ocfs2/cluster/nodemanager.c return o2nm_cluster_attr_write(page, count, count 640 fs/ocfs2/cluster/nodemanager.c ret = o2nm_cluster_attr->store(cluster, page, count); count 641 fs/ocfs2/cluster/nodemanager.c if (ret < count) count 193 fs/ocfs2/dlm/dlmfs.c inode->i_ino, count, *ppos); count 198 fs/ocfs2/dlm/dlmfs.c if (!count) count 201 fs/ocfs2/dlm/dlmfs.c if (!access_ok(VERIFY_WRITE, buf, count)) count 205 fs/ocfs2/dlm/dlmfs.c if ((count + *ppos) > i_size_read(inode)) count 208 fs/ocfs2/dlm/dlmfs.c readlen = count - *ppos; count 237 fs/ocfs2/dlm/dlmfs.c inode->i_ino, count, *ppos); count 242 fs/ocfs2/dlm/dlmfs.c if (!count) count 245 fs/ocfs2/dlm/dlmfs.c if (!access_ok(VERIFY_READ, buf, count)) count 249 fs/ocfs2/dlm/dlmfs.c if ((count + *ppos) > i_size_read(inode)) count 252 fs/ocfs2/dlm/dlmfs.c writelen = count - *ppos; count 2361 fs/ocfs2/dlm/dlmmaster.c int count = 0; count 2382 fs/ocfs2/dlm/dlmmaster.c ++count; count 2396 fs/ocfs2/dlm/dlmmaster.c *numlocks = count; count 1103 fs/ocfs2/file.c clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; count 1722 fs/ocfs2/file.c end = saved_pos + count; count 1757 fs/ocfs2/file.c ret = ocfs2_check_range_for_holes(inode, saved_pos, count); count 1785 fs/ocfs2/file.c size_t count; /* after file limit checks */ count 1862 fs/ocfs2/file.c ret = generic_write_checks(file, ppos, &count, count 1868 fs/ocfs2/file.c ppos, count, ocount); count 105 fs/ocfs2/localalloc.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, written); count 794 fs/ocfs2/localalloc.c u32 count = 0; count 801 fs/ocfs2/localalloc.c count += hweight8(buffer[i]); count 803 fs/ocfs2/localalloc.c mlog_exit(count); count 804 fs/ocfs2/localalloc.c return count; count 887 fs/ocfs2/localalloc.c unsigned int tmp = count; count 891 fs/ocfs2/localalloc.c "%u\n", start, count); count 913 fs/ocfs2/localalloc.c int bit_off, left, count, start; count 937 fs/ocfs2/localalloc.c start = count = bit_off = 0; count 943 fs/ocfs2/localalloc.c count++; count 947 fs/ocfs2/localalloc.c if (count) { count 950 fs/ocfs2/localalloc.c start - count); count 954 fs/ocfs2/localalloc.c count, start - count, count 959 fs/ocfs2/localalloc.c main_bm_bh, blkno, count); count 967 fs/ocfs2/localalloc.c count = 1; count 251 fs/ocfs2/stack_user.c if ((count != target_len) || count 252 fs/ocfs2/stack_user.c (count > sizeof(union ocfs2_control_message))) count 269 fs/ocfs2/stack_user.c buf, count); count 279 fs/ocfs2/stack_user.c return count; count 491 fs/ocfs2/stack_user.c ret = ocfs2_control_cfu(&msg, count, buf, count); count 495 fs/ocfs2/stack_user.c if ((count == OCFS2_CONTROL_MESSAGE_SETNODE_TOTAL_LEN) && count 499 fs/ocfs2/stack_user.c else if ((count == OCFS2_CONTROL_MESSAGE_SETVERSION_TOTAL_LEN) && count 503 fs/ocfs2/stack_user.c else if ((count == OCFS2_CONTROL_MESSAGE_DOWN_TOTAL_LEN) && count 511 fs/ocfs2/stack_user.c return ret ? ret : count; count 528 fs/ocfs2/stack_user.c count); count 533 fs/ocfs2/stack_user.c ret = ocfs2_control_message(file, buf, count); count 556 fs/ocfs2/stack_user.c ret = simple_read_from_buffer(buf, count, ppos, count 538 fs/ocfs2/stackglue.c size_t len = count; count 554 fs/ocfs2/stackglue.c ret = count; count 559 fs/ocfs2/stackglue.c ret = count; count 1790 fs/ocfs2/suballoc.c BUG_ON((count + start_bit) > ocfs2_bits_per_group(cl)); count 1793 fs/ocfs2/suballoc.c (unsigned long long)OCFS2_I(alloc_inode)->ip_blkno, count, count 1808 fs/ocfs2/suballoc.c BUG_ON((count + start_bit) > le16_to_cpu(group->bg_bits)); count 1812 fs/ocfs2/suballoc.c start_bit, count); count 1826 fs/ocfs2/suballoc.c count); count 1828 fs/ocfs2/suballoc.c fe->id1.bitmap1.i_used = cpu_to_le32(tmp_used - count); count 2614 fs/ocfs2/xattr.c u16 count = le16_to_cpu(xb_xh->xh_count); count 2630 fs/ocfs2/xattr.c xe = &xb_xh->xh_entries[count - 1]; count 2648 fs/ocfs2/xattr.c size = count * sizeof(struct ocfs2_xattr_entry); count 2654 fs/ocfs2/xattr.c for (i = 0; i < count; i++) count 2660 fs/ocfs2/xattr.c sort(target + offset, count, sizeof(struct ocfs2_xattr_entry), count 3182 fs/ocfs2/xattr.c u16 count, start, len, name_value_len, xe_len, name_offset; count 3236 fs/ocfs2/xattr.c count = le16_to_cpu(xh->xh_count); count 3237 fs/ocfs2/xattr.c start = count / 2; count 3267 fs/ocfs2/xattr.c len = sizeof(struct ocfs2_xattr_entry) * (count - start); count 3272 fs/ocfs2/xattr.c xe = &xh->xh_entries[count - start]; count 3316 fs/ocfs2/xattr.c sizeof(struct ocfs2_xattr_entry) * (count - start)); count 3919 fs/ocfs2/xattr.c u16 count = le16_to_cpu(xh->xh_count), start; count 3924 fs/ocfs2/xattr.c last = &xh->xh_entries[count]; count 3988 fs/ocfs2/xattr.c int low = 0, high = count - 1, tmp; count 3991 fs/ocfs2/xattr.c while (low <= high && count) { count 4007 fs/ocfs2/xattr.c if (low != count) count 4516 fs/ocfs2/xattr.c u16 count, header_size, xh_free_start; count 4527 fs/ocfs2/xattr.c count = le16_to_cpu(xh->xh_count); count 4530 fs/ocfs2/xattr.c count * sizeof(struct ocfs2_xattr_entry); count 4580 fs/ocfs2/xattr.c if (free < need || count == ocfs2_xattr_max_xe_in_bucket(inode->i_sb)) { count 4582 fs/ocfs2/xattr.c count < ocfs2_xattr_max_xe_in_bucket(inode->i_sb)) { count 28 fs/omfs/bitmap.c int count = 0; count 33 fs/omfs/bitmap.c count += x - bit; count 35 fs/omfs/bitmap.c if (x < nbits || count > max) count 36 fs/omfs/bitmap.c return min(count, max); count 40 fs/omfs/bitmap.c return min(count, max); count 60 fs/omfs/bitmap.c for (i = 0; i < count; i++, bit++) { count 190 fs/omfs/bitmap.c ret = set_run(sb, map, bits_per_entry, bit, count, 0); count 91 fs/omfs/file.c u64 start, count; count 93 fs/omfs/file.c count = be64_to_cpu(entry->e_blocks); count 95 fs/omfs/file.c omfs_clear_range(inode->i_sb, start, (int) count); count 213 fs/omfs/file.c for (; count > 1; count--) { count 76 fs/omfs/inode.c int xor, i, ofs = 0, count; count 80 fs/omfs/inode.c count = be32_to_cpu(oi->i_head.h_body_size); count 83 fs/omfs/inode.c crc = crc_itu_t(crc, ptr + ofs, count); count 296 fs/omfs/inode.c int count; count 315 fs/omfs/inode.c for (count = bitmap_size; count > 0; count -= sb->s_blocksize) { count 325 fs/omfs/inode.c if (count < sb->s_blocksize) count 326 fs/omfs/inode.c memset((void *)*ptr + count, 0xff, count 327 fs/omfs/inode.c sb->s_blocksize - count); count 335 fs/omfs/inode.c for (count = 0; count < array_size; count++) count 336 fs/omfs/inode.c kfree(sbi->s_imap[count]); count 256 fs/partitions/check.c if (count > 0 && sscanf(buf, "%d", &i) > 0) count 259 fs/partitions/check.c return count; count 195 fs/partitions/efi.c while (count) { count 201 fs/partitions/efi.c if (copied > count) count 202 fs/partitions/efi.c copied = count; count 207 fs/partitions/efi.c count -= copied; count 224 fs/partitions/efi.c size_t count; count 229 fs/partitions/efi.c count = le32_to_cpu(gpt->num_partition_entries) * count 231 fs/partitions/efi.c if (!count) count 233 fs/partitions/efi.c pte = kzalloc(count, GFP_KERNEL); count 239 fs/partitions/efi.c count) < count) { count 584 fs/pipe.c int count, buf, nrbufs; count 590 fs/pipe.c count = 0; count 594 fs/pipe.c count += pipe->bufs[buf].len; count 599 fs/pipe.c return put_user(count, (int __user *)arg); count 283 fs/pnode.c return (mycount > count); count 41 fs/posix_acl.c count * sizeof(struct posix_acl_entry); count 45 fs/posix_acl.c acl->a_count = count; count 100 fs/proc/array.c buf = m->buf + m->count; count 124 fs/proc/array.c m->count = buf - m->buf; count 264 fs/proc/array.c num_threads = atomic_read(&p->signal->count); count 379 fs/proc/array.c num_threads = atomic_read(&sig->count); count 140 fs/proc/base.c unsigned int count; count 142 fs/proc/base.c count = 0; count 145 fs/proc/base.c ++count; count 148 fs/proc/base.c return count; count 157 fs/proc/base.c atomic_inc(&fs->count); count 165 fs/proc/base.c int count = 0; count 168 fs/proc/base.c count = atomic_read(&tsk->signal->count); count 171 fs/proc/base.c return count; count 370 fs/proc/base.c task->latency_record[i].count, count 409 fs/proc/base.c return count; count 464 fs/proc/base.c int count = 0; count 478 fs/proc/base.c count += sprintf(&bufptr[count], "%-25s %-20s %-20s %-10s\n", count 483 fs/proc/base.c count += sprintf(&bufptr[count], "%-25s %-20s ", count 486 fs/proc/base.c count += sprintf(&bufptr[count], "%-25s %-20lu ", count 490 fs/proc/base.c count += sprintf(&bufptr[count], "%-20s ", "unlimited"); count 492 fs/proc/base.c count += sprintf(&bufptr[count], "%-20lu ", count 496 fs/proc/base.c count += sprintf(&bufptr[count], "%-10s\n", count 499 fs/proc/base.c count += sprintf(&bufptr[count], "\n"); count 502 fs/proc/base.c return count; count 705 fs/proc/base.c if (count > PROC_BLOCK_SIZE) count 706 fs/proc/base.c count = PROC_BLOCK_SIZE; count 715 fs/proc/base.c length = simple_read_from_buffer(buf, count, ppos, (char *)page, length); count 805 fs/proc/base.c while (count > 0) { count 808 fs/proc/base.c this_len = (count > PAGE_SIZE) ? PAGE_SIZE : count; count 824 fs/proc/base.c count -= retval; count 863 fs/proc/base.c while (count > 0) { count 866 fs/proc/base.c this_len = (count > PAGE_SIZE) ? PAGE_SIZE : count; count 880 fs/proc/base.c count -= retval; count 940 fs/proc/base.c while (count > 0) { count 948 fs/proc/base.c max_len = (count > PAGE_SIZE) ? PAGE_SIZE : count; count 967 fs/proc/base.c count -= retval; count 999 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, buffer, len); count 1010 fs/proc/base.c if (count > sizeof(buffer) - 1) count 1011 fs/proc/base.c count = sizeof(buffer) - 1; count 1012 fs/proc/base.c if (copy_from_user(buffer, buf, count)) count 1054 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 1071 fs/proc/base.c if (count >= PAGE_SIZE) count 1072 fs/proc/base.c count = PAGE_SIZE - 1; count 1082 fs/proc/base.c if (copy_from_user(page, buf, count)) count 1085 fs/proc/base.c page[count] = '\0'; count 1094 fs/proc/base.c length = count; count 1119 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 1143 fs/proc/base.c return simple_read_from_buffer(buf, count, ppos, buffer, len); count 1156 fs/proc/base.c if (count > sizeof(buffer) - 1) count 1157 fs/proc/base.c count = sizeof(buffer) - 1; count 1158 fs/proc/base.c if (copy_from_user(buffer, buf, count)) count 1217 fs/proc/base.c return count; count 2075 fs/proc/base.c length = simple_read_from_buffer(buf, count, ppos, p, length); count 2091 fs/proc/base.c if (count > PAGE_SIZE) count 2092 fs/proc/base.c count = PAGE_SIZE; count 2105 fs/proc/base.c if (copy_from_user(page, buf, count)) count 2110 fs/proc/base.c (void*)page, count); count 2180 fs/proc/base.c ret = simple_read_from_buffer(buf, count, ppos, buffer, len); count 2203 fs/proc/base.c if (count > sizeof(buffer) - 1) count 2204 fs/proc/base.c count = sizeof(buffer) - 1; count 2205 fs/proc/base.c if (copy_from_user(buffer, buf, count)) count 48 fs/proc/generic.c ssize_t n, count; count 69 fs/proc/generic.c count = min_t(size_t, PROC_BLOCK_SIZE, nbytes); count 121 fs/proc/generic.c count, &eof, dp->data); count 142 fs/proc/generic.c if (n > count) count 143 fs/proc/generic.c n = count; count 151 fs/proc/generic.c if (n > count) { count 166 fs/proc/generic.c if (n > count) count 167 fs/proc/generic.c n = count; count 199 fs/proc/generic.c return dp->write_proc(file, buffer, count, dp->data); count 594 fs/proc/generic.c atomic_set(&ent->count, 1); count 810 fs/proc/generic.c if (atomic_dec_and_test(&de->count)) count 29 fs/proc/inode.c atomic_inc(&de->count); count 39 fs/proc/inode.c if (!atomic_read(&de->count)) { count 45 fs/proc/inode.c if (atomic_dec_and_test(&de->count)) count 192 fs/proc/inode.c rv = read(file, buf, count, ppos); count 214 fs/proc/inode.c rv = write(file, buf, count, ppos); count 40 fs/proc/kmsg.c return do_syslog(2, buf, count); count 37 fs/proc/proc_devtree.c if (n > count) count 38 fs/proc/proc_devtree.c n = count; count 75 fs/proc/proc_misc.c if (len <= off+count) *eof = 1; count 78 fs/proc/proc_misc.c if (len>count) len = count; count 103 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 123 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 237 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 287 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 378 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 387 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 674 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 683 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 704 fs/proc/proc_misc.c return proc_calc_metrics(page, start, off, count, eof, len); count 714 fs/proc/proc_misc.c if (count) { count 721 fs/proc/proc_misc.c return count; count 748 fs/proc/proc_misc.c count = min_t(size_t, count, (max_pfn * KPMSIZE) - src); count 749 fs/proc/proc_misc.c if (src & KPMMASK || count & KPMMASK) count 752 fs/proc/proc_misc.c while (count > 0) { count 767 fs/proc/proc_misc.c count -= KPMSIZE; count 814 fs/proc/proc_misc.c count = min_t(unsigned long, count, (max_pfn * KPMSIZE) - src); count 815 fs/proc/proc_misc.c if (src & KPMMASK || count & KPMMASK) count 818 fs/proc/proc_misc.c while (count > 0) { count 845 fs/proc/proc_misc.c count -= KPMSIZE; count 155 fs/proc/proc_sysctl.c res = count; count 168 fs/proc/proc_sysctl.c return proc_sys_call_handler(filp, (void __user *)buf, count, ppos, 0); count 174 fs/proc/proc_sysctl.c return proc_sys_call_handler(filp, (void __user *)buf, count, ppos, 1); count 208 fs/proc/root.c .count = ATOMIC_INIT(1), count 258 fs/proc/task_mmu.c if (m->count < m->size) /* vma is copied successfully */ count 463 fs/proc/task_mmu.c if (count > sizeof(buffer) - 1) count 464 fs/proc/task_mmu.c count = sizeof(buffer) - 1; count 465 fs/proc/task_mmu.c if (copy_from_user(buffer, buf, count)) count 651 fs/proc/task_mmu.c if ((*ppos % PM_ENTRY_BYTES) || (count % PM_ENTRY_BYTES)) count 661 fs/proc/task_mmu.c uend = (unsigned long)(buf + count); count 686 fs/proc/task_mmu.c pm.end = (u64 *)(buf + count); count 45 fs/proc/task_nommu.c if (current->fs && atomic_read(¤t->fs->count) > 1) count 50 fs/proc/task_nommu.c if (current->files && atomic_read(¤t->files->count) > 1) count 55 fs/proc/task_nommu.c if (current->sighand && atomic_read(¤t->sighand->count) > 1) count 48 fs/proc/vmcore.c if (!count) count 57 fs/proc/vmcore.c if (count > (PAGE_SIZE - offset)) count 60 fs/proc/vmcore.c nr_bytes = count; count 66 fs/proc/vmcore.c count -= nr_bytes; count 71 fs/proc/vmcore.c } while (count); count 187 fs/read_write.c if (unlikely((ssize_t) count < 0)) count 190 fs/read_write.c if (unlikely((pos < 0) || (loff_t) (pos + count) < 0)) count 196 fs/read_write.c inode, file, pos, count); count 204 fs/read_write.c return count > MAX_RW_COUNT ? MAX_RW_COUNT : count; count 250 fs/read_write.c if (unlikely(!access_ok(VERIFY_WRITE, buf, count))) count 253 fs/read_write.c ret = rw_verify_area(READ, file, pos, count); count 255 fs/read_write.c count = ret; count 257 fs/read_write.c ret = file->f_op->read(file, buf, count, pos); count 259 fs/read_write.c ret = do_sync_read(file, buf, count, pos); count 305 fs/read_write.c if (unlikely(!access_ok(VERIFY_READ, buf, count))) count 308 fs/read_write.c ret = rw_verify_area(WRITE, file, pos, count); count 310 fs/read_write.c count = ret; count 312 fs/read_write.c ret = file->f_op->write(file, buf, count, pos); count 314 fs/read_write.c ret = do_sync_write(file, buf, count, pos); count 346 fs/read_write.c ret = vfs_read(file, buf, count, &pos); count 363 fs/read_write.c ret = vfs_write(file, buf, count, &pos); count 385 fs/read_write.c ret = vfs_read(file, buf, count, &pos); count 406 fs/read_write.c ret = vfs_write(file, buf, count, &pos); count 712 fs/read_write.c retval = rw_verify_area(READ, in_file, ppos, count); count 715 fs/read_write.c count = retval; count 730 fs/read_write.c retval = rw_verify_area(WRITE, out_file, &out_file->f_pos, count); count 733 fs/read_write.c count = retval; count 742 fs/read_write.c if (unlikely(pos + count > max)) { count 746 fs/read_write.c count = max - pos; count 760 fs/read_write.c retval = do_splice_direct(in_file, ppos, out_file, count, fl); count 790 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS); count 796 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); count 807 fs/read_write.c ret = do_sendfile(out_fd, in_fd, &pos, count, 0); count 813 fs/read_write.c return do_sendfile(out_fd, in_fd, NULL, count, 0); count 144 fs/readdir.c int count; count 157 fs/readdir.c if (reclen > buf->count) count 183 fs/readdir.c buf->count -= reclen; count 198 fs/readdir.c if (!access_ok(VERIFY_WRITE, dirent, count)) count 208 fs/readdir.c buf.count = count; count 220 fs/readdir.c error = count - buf.count; count 232 fs/readdir.c int count; count 244 fs/readdir.c if (reclen > buf->count) count 267 fs/readdir.c buf->count -= reclen; count 282 fs/readdir.c if (!access_ok(VERIFY_WRITE, dirent, count)) count 292 fs/readdir.c buf.count = count; count 305 fs/readdir.c error = count - buf.count; count 273 fs/reiserfs/file.c *ppos + count > MAX_NON_LFS) { count 277 fs/reiserfs/file.c if (count > MAX_NON_LFS - (unsigned long)*ppos) count 278 fs/reiserfs/file.c count = MAX_NON_LFS - (unsigned long)*ppos; count 281 fs/reiserfs/file.c return do_sync_write(file, buf, count, ppos); count 131 fs/reiserfs/ibalance.c if (count <= 0) count 137 fs/reiserfs/ibalance.c RFALSE(count > 2, "too many children (%d) are to be inserted", count); count 138 fs/reiserfs/ibalance.c RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE), count 140 fs/reiserfs/ibalance.c B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE)); count 145 fs/reiserfs/ibalance.c memmove(dc + count, dc, (nr + 1 - (to + 1)) * DC_SIZE); count 148 fs/reiserfs/ibalance.c for (i = 0; i < count; i++) { count 153 fs/reiserfs/ibalance.c memcpy(dc, new_dc, DC_SIZE * count); count 158 fs/reiserfs/ibalance.c memmove(ih + count, ih, count 159 fs/reiserfs/ibalance.c (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); count 163 fs/reiserfs/ibalance.c if (count > 1) count 167 fs/reiserfs/ibalance.c set_blkh_nr_item(blkh, blkh_nr_item(blkh) + count); count 169 fs/reiserfs/ibalance.c blkh_free_space(blkh) - count * (DC_SIZE + count 182 fs/reiserfs/ibalance.c dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); count 89 fs/reiserfs/item_ops.c BUG_ON(count); count 183 fs/reiserfs/item_ops.c return count; count 596 fs/reiserfs/item_ops.c from = dir_u->entry_count - count; count 597 fs/reiserfs/item_ops.c to = from + count - 1; count 1393 fs/reiserfs/journal.c int count; count 1417 fs/reiserfs/journal.c count = 0; count 1530 fs/reiserfs/journal.c count++; count 1549 fs/reiserfs/journal.c if (count > 0) { count 72 fs/reiserfs/xattr_acl.c int n, count; count 83 fs/reiserfs/xattr_acl.c count = reiserfs_acl_count(size); count 84 fs/reiserfs/xattr_acl.c if (count < 0) count 86 fs/reiserfs/xattr_acl.c if (count == 0) count 88 fs/reiserfs/xattr_acl.c acl = posix_acl_alloc(count, GFP_NOFS); count 91 fs/reiserfs/xattr_acl.c for (n = 0; n < count; n++) { count 210 fs/romfs/inode.c if (count > maxsize || offset+count > maxsize) count 211 fs/romfs/inode.c count = maxsize-offset; count 218 fs/romfs/inode.c maxsize = min_t(unsigned long, count, avail); count 225 fs/romfs/inode.c while (res < count) { count 231 fs/romfs/inode.c maxsize = min_t(unsigned long, count - res, ROMBSIZE); count 248 fs/romfs/inode.c if (offset >= maxsize || count > maxsize || offset+count>maxsize) count 256 fs/romfs/inode.c maxsize = min_t(unsigned long, count, avail); count 262 fs/romfs/inode.c while (res < count) { count 269 fs/romfs/inode.c maxsize = min_t(unsigned long, count - res, ROMBSIZE); count 579 fs/select.c int count = 0; count 605 fs/select.c count++; count 615 fs/select.c if (!count) { count 616 fs/select.c count = wait->error; count 618 fs/select.c count = -EINTR; count 620 fs/select.c if (count || !*timeout) count 643 fs/select.c return count; count 95 fs/seq_file.c if (m->count) { count 96 fs/seq_file.c n = min(m->count, size); count 100 fs/seq_file.c m->count -= n; count 105 fs/seq_file.c if (!m->count) count 121 fs/seq_file.c m->count = 0; count 122 fs/seq_file.c if (unlikely(!m->count)) { count 127 fs/seq_file.c if (m->count < m->size) count 134 fs/seq_file.c m->count = 0; count 140 fs/seq_file.c m->count = 0; count 144 fs/seq_file.c while (m->count < size) { count 145 fs/seq_file.c size_t offs = m->count; count 153 fs/seq_file.c if (m->count == m->size || err) { count 154 fs/seq_file.c m->count = offs; count 161 fs/seq_file.c n = min(m->count, size); count 166 fs/seq_file.c m->count -= n; count 167 fs/seq_file.c if (m->count) count 197 fs/seq_file.c m->count = m->from = 0; count 217 fs/seq_file.c m->count = 0; count 219 fs/seq_file.c if (m->count == m->size) count 221 fs/seq_file.c if (pos + m->count > offset) { count 223 fs/seq_file.c m->count -= m->from; count 227 fs/seq_file.c pos += m->count; count 228 fs/seq_file.c m->count = 0; count 276 fs/seq_file.c m->count = 0; count 321 fs/seq_file.c for (p = m->buf + m->count; (c = *s) != '\0' && p < end; s++) { count 333 fs/seq_file.c m->count = m->size; count 336 fs/seq_file.c m->count = p - m->buf; count 346 fs/seq_file.c if (m->count < m->size) { count 348 fs/seq_file.c len = vsnprintf(m->buf + m->count, m->size - m->count, f, args); count 350 fs/seq_file.c if (m->count + len < m->size) { count 351 fs/seq_file.c m->count += len; count 355 fs/seq_file.c m->count = m->size; count 385 fs/seq_file.c if (m->count < m->size) { count 386 fs/seq_file.c char *s = m->buf + m->count; count 387 fs/seq_file.c char *p = d_path(path, s, m->size - m->count); count 391 fs/seq_file.c p = m->buf + m->count; count 392 fs/seq_file.c m->count = s - m->buf; count 397 fs/seq_file.c m->count = m->size; count 411 fs/seq_file.c if (m->count < m->size) { count 412 fs/seq_file.c char *s = m->buf + m->count; count 416 fs/seq_file.c p = __d_path(path, root, s, m->size - m->count); count 422 fs/seq_file.c p = m->buf + m->count; count 423 fs/seq_file.c m->count = s - m->buf; count 428 fs/seq_file.c m->count = m->size; count 437 fs/seq_file.c if (m->count < m->size) { count 438 fs/seq_file.c char *s = m->buf + m->count; count 439 fs/seq_file.c char *p = dentry_path(dentry, s, m->size - m->count); count 443 fs/seq_file.c p = m->buf + m->count; count 444 fs/seq_file.c m->count = s - m->buf; count 449 fs/seq_file.c m->count = m->size; count 457 fs/seq_file.c if (m->count + len < m->size) { count 458 fs/seq_file.c bitmap_scnprintf(m->buf + m->count, m->size - m->count, count 460 fs/seq_file.c m->count += len; count 463 fs/seq_file.c m->count = m->size; count 557 fs/seq_file.c if (m->count < m->size) { count 558 fs/seq_file.c m->buf[m->count++] = c; count 568 fs/seq_file.c if (m->count + len < m->size) { count 569 fs/seq_file.c memcpy(m->buf + m->count, s, len); count 570 fs/seq_file.c m->count += len; count 573 fs/seq_file.c m->count = m->size; count 182 fs/signalfd.c count /= sizeof(struct signalfd_siginfo); count 183 fs/signalfd.c if (!count) count 197 fs/signalfd.c } while (--count); count 61 fs/smbfs/file.c int count = PAGE_SIZE; count 65 fs/smbfs/file.c DENTRY_PATH(dentry), count, offset, rsize); count 72 fs/smbfs/file.c if (count < rsize) count 73 fs/smbfs/file.c rsize = count; count 79 fs/smbfs/file.c count -= result; count 86 fs/smbfs/file.c } while (count); count 88 fs/smbfs/file.c memset(buffer, 0, count); count 130 fs/smbfs/file.c inode->i_ino, SMB_I(inode)->fileid, count, offset, wsize); count 135 fs/smbfs/file.c if (count < wsize) count 136 fs/smbfs/file.c wsize = count; count 153 fs/smbfs/file.c count -= wsize; count 161 fs/smbfs/file.c } while (count); count 211 fs/smbfs/file.c DEBUG1("(%s/%s %d@%lld)\n", DENTRY_PATH(dentry), count, count 214 fs/smbfs/file.c return smb_writepage_sync(dentry->d_inode, page, offset, count); count 273 fs/smbfs/file.c DENTRY_PATH(dentry), *ppos, count); count 281 fs/smbfs/file.c status = generic_file_splice_read(file, ppos, pipe, count, flags); count 1340 fs/smbfs/proc.c WSET(buf, smb_vwv1, count); count 1345 fs/smbfs/proc.c req->rq_rsize = count; count 1368 fs/smbfs/proc.c inode->i_ino, SMB_I(inode)->fileid, count, result); count 1386 fs/smbfs/proc.c inode->i_ino, fileid, count, offset); count 1388 fs/smbfs/proc.c smb_setup_header(req, SMBwrite, 5, count + 3); count 1390 fs/smbfs/proc.c WSET(req->rq_header, smb_vwv1, count); count 1395 fs/smbfs/proc.c WSET(buf, 1, count); /* yes, again ... */ count 1399 fs/smbfs/proc.c req->rq_iov[2].iov_len = count; count 1465 fs/smbfs/proc.c WSET(buf, smb_vwv5, count); count 1473 fs/smbfs/proc.c req->rq_rsize = count; count 1488 fs/smbfs/proc.c inode->i_ino, SMB_I(inode)->fileid, count, result); count 1506 fs/smbfs/proc.c inode->i_ino, SMB_I(inode)->fileid, count, offset); count 1508 fs/smbfs/proc.c p = smb_setup_header(req, SMBwriteX, 14, count + 1); count 1517 fs/smbfs/proc.c WSET(req->rq_header, smb_vwv10, count); /* data length */ count 1524 fs/smbfs/proc.c req->rq_iov[2].iov_len = count; count 1950 fs/smbfs/proc.c __u16 count; count 2017 fs/smbfs/proc.c count = WVAL(req->rq_header, smb_vwv0); count 2018 fs/smbfs/proc.c if (count <= 0) count 2023 fs/smbfs/proc.c if (bcc != count * SMB_DIRINFO_SIZE + 3) count 2031 fs/smbfs/proc.c last_status = req->rq_buffer + 3 + (count-1) * SMB_DIRINFO_SIZE; count 2048 fs/smbfs/proc.c for (i = 0; i < count; i++) { count 49 fs/sysfs/bin.c rc = attr->read(kobj, attr, buffer, off, count); count 63 fs/sysfs/bin.c int count = min_t(size_t, bytes, PAGE_SIZE); count 68 fs/sysfs/bin.c if (offs + count > size) count 69 fs/sysfs/bin.c count = size - offs; count 74 fs/sysfs/bin.c count = fill_read(dentry, bb->buffer, offs, count); count 75 fs/sysfs/bin.c if (count < 0) count 78 fs/sysfs/bin.c if (copy_to_user(userbuf, bb->buffer, count)) { count 79 fs/sysfs/bin.c count = -EFAULT; count 83 fs/sysfs/bin.c pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count); count 85 fs/sysfs/bin.c *off = offs + count; count 89 fs/sysfs/bin.c return count; count 106 fs/sysfs/bin.c rc = attr->write(kobj, attr, buffer, offset, count); count 120 fs/sysfs/bin.c int count = min_t(size_t, bytes, PAGE_SIZE); count 125 fs/sysfs/bin.c if (offs + count > size) count 126 fs/sysfs/bin.c count = size - offs; count 131 fs/sysfs/bin.c if (copy_from_user(bb->buffer, userbuf, count)) { count 132 fs/sysfs/bin.c count = -EFAULT; count 136 fs/sysfs/bin.c count = flush_write(dentry, bb->buffer, offs, count); count 137 fs/sysfs/bin.c if (count > 0) count 138 fs/sysfs/bin.c *off = offs + count; count 142 fs/sysfs/bin.c return count; count 45 fs/sysfs/file.c size_t count; count 72 fs/sysfs/file.c ssize_t count; count 84 fs/sysfs/file.c count = ops->show(kobj, attr_sd->s_attr.attr, buffer->page); count 92 fs/sysfs/file.c if (count >= (ssize_t)PAGE_SIZE) { count 96 fs/sysfs/file.c count = PAGE_SIZE - 1; count 98 fs/sysfs/file.c if (count >= 0) { count 100 fs/sysfs/file.c buffer->count = count; count 102 fs/sysfs/file.c ret = count; count 139 fs/sysfs/file.c __func__, count, *ppos, buffer->page); count 140 fs/sysfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->page, count 141 fs/sysfs/file.c buffer->count); count 167 fs/sysfs/file.c if (count >= PAGE_SIZE) count 168 fs/sysfs/file.c count = PAGE_SIZE - 1; count 169 fs/sysfs/file.c error = copy_from_user(buffer->page,buf,count); count 173 fs/sysfs/file.c buffer->page[count] = 0; count 174 fs/sysfs/file.c return error ? -EFAULT : count; count 201 fs/sysfs/file.c rc = ops->store(kobj, attr_sd->s_attr.attr, buffer->page, count); count 233 fs/sysfs/file.c len = fill_write_buffer(buffer, buf, count); count 47 fs/sysv/balloc.c unsigned count; count 64 fs/sysv/balloc.c count = fs16_to_cpu(sbi, *sbi->s_bcache_count); count 66 fs/sysv/balloc.c if (count > sbi->s_flc_size) { count 75 fs/sysv/balloc.c if (count == sbi->s_flc_size || count == 0) { count 84 fs/sysv/balloc.c *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count); count 85 fs/sysv/balloc.c memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t)); count 89 fs/sysv/balloc.c count = 0; count 91 fs/sysv/balloc.c sbi->s_bcache[count++] = nr; count 93 fs/sysv/balloc.c *sbi->s_bcache_count = cpu_to_fs16(sbi, count); count 105 fs/sysv/balloc.c unsigned count; count 108 fs/sysv/balloc.c count = fs16_to_cpu(sbi, *sbi->s_bcache_count); count 110 fs/sysv/balloc.c if (count == 0) /* Applies only to Coherent FS */ count 112 fs/sysv/balloc.c nr = sbi->s_bcache[--count]; count 118 fs/sysv/balloc.c *sbi->s_bcache_count = cpu_to_fs16(sbi, count); count 126 fs/sysv/balloc.c if (count == 0) { /* the last block continues the free list */ count 127 fs/sysv/balloc.c unsigned count; count 136 fs/sysv/balloc.c count = fs16_to_cpu(sbi, *(__fs16*)bh->b_data); count 137 fs/sysv/balloc.c if (count > sbi->s_flc_size) { count 142 fs/sysv/balloc.c *sbi->s_bcache_count = cpu_to_fs16(sbi, count); count 144 fs/sysv/balloc.c count * sizeof(sysv_zone_t)); count 162 fs/sysv/balloc.c int count; count 183 fs/sysv/balloc.c count = 0; count 192 fs/sysv/balloc.c count++; count 211 fs/sysv/balloc.c if (count != sb_count) count 215 fs/sysv/balloc.c return count; count 229 fs/sysv/balloc.c count = sb_count; count 233 fs/sysv/balloc.c "correcting to %d\n", sb_count, count); count 235 fs/sysv/balloc.c *sbi->s_free_blocks = cpu_to_fs32(sbi, count); count 106 fs/sysv/ialloc.c unsigned count; count 122 fs/sysv/ialloc.c count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); count 123 fs/sysv/ialloc.c if (count < sbi->s_fic_size) { count 124 fs/sysv/ialloc.c *sv_sb_fic_inode(sb,count++) = cpu_to_fs16(sbi, ino); count 125 fs/sysv/ialloc.c *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count); count 141 fs/sysv/ialloc.c unsigned count; count 148 fs/sysv/ialloc.c count = fs16_to_cpu(sbi, *sbi->s_sb_fic_count); count 149 fs/sysv/ialloc.c if (count == 0 || (*sv_sb_fic_inode(sb,count-1) == 0)) { count 150 fs/sysv/ialloc.c count = refill_free_cache(sb); count 151 fs/sysv/ialloc.c if (count == 0) { count 158 fs/sysv/ialloc.c ino = *sv_sb_fic_inode(sb,--count); count 159 fs/sysv/ialloc.c *sbi->s_sb_fic_count = cpu_to_fs16(sbi, count); count 192 fs/sysv/ialloc.c int ino, count, sb_count; count 202 fs/sysv/ialloc.c count = 0; count 209 fs/sysv/ialloc.c count++; count 219 fs/sysv/ialloc.c if (count != sb_count) count 223 fs/sysv/ialloc.c return count; count 228 fs/sysv/ialloc.c sb_count, count); count 230 fs/sysv/ialloc.c *sbi->s_sb_total_free_inodes = cpu_to_fs16(SYSV_SB(sb), count); count 238 fs/sysv/ialloc.c count = sb_count; count 116 fs/timerfd.c if (count < sizeof(ticks)) count 173 fs/udf/balloc.c (bloc.logicalBlockNum + count) > count 176 fs/udf/balloc.c bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count, count 193 fs/udf/balloc.c if (bit + count > (sb->s_blocksize << 3)) { count 194 fs/udf/balloc.c overflow = bit + count - (sb->s_blocksize << 3); count 195 fs/udf/balloc.c count -= overflow; count 202 fs/udf/balloc.c for (i = 0; i < count; i++) { count 215 fs/udf/balloc.c block += count; count 216 fs/udf/balloc.c count = overflow; count 442 fs/udf/balloc.c (bloc.logicalBlockNum + count) > count 445 fs/udf/balloc.c bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count, count 455 fs/udf/balloc.c DQUOT_FREE_BLOCK(inode, count); count 456 fs/udf/balloc.c if (udf_add_free_space(sbi, sbi->s_partition, count)) count 460 fs/udf/balloc.c end = bloc.logicalBlockNum + offset + count - 1; count 467 fs/udf/balloc.c while (count && count 472 fs/udf/balloc.c (count << sb->s_blocksize_bits)) { count 475 fs/udf/balloc.c count -= tmp; count 482 fs/udf/balloc.c (count << sb->s_blocksize_bits)); count 483 fs/udf/balloc.c start += count; count 484 fs/udf/balloc.c count = 0; count 489 fs/udf/balloc.c (count << sb->s_blocksize_bits)) { count 492 fs/udf/balloc.c count -= tmp; count 501 fs/udf/balloc.c (count << sb->s_blocksize_bits)); count 502 fs/udf/balloc.c end -= count; count 503 fs/udf/balloc.c count = 0; count 520 fs/udf/balloc.c if (count) { count 541 fs/udf/balloc.c (count << sb->s_blocksize_bits); count 842 fs/udf/balloc.c bloc, offset, count); count 846 fs/udf/balloc.c bloc, offset, count); count 850 fs/udf/balloc.c bloc, offset, count); count 854 fs/udf/balloc.c bloc, offset, count); count 114 fs/udf/file.c size_t count = iocb->ki_left; count 125 fs/udf/file.c pos + count)) { count 126 fs/udf/file.c udf_expand_file_adinicb(inode, pos + count, &err); count 132 fs/udf/file.c if (pos + count > inode->i_size) count 133 fs/udf/file.c iinfo->i_lenAlloc = pos + count; count 364 fs/udf/inode.c int count = 0, fake = !(last_ext->extLength & UDF_EXTENT_LENGTH_MASK); count 415 fs/udf/inode.c count++; count 437 fs/udf/inode.c count++; count 445 fs/udf/inode.c count++; count 456 fs/udf/inode.c count++; count 467 fs/udf/inode.c return count; count 477 fs/udf/inode.c int count = 0, startnum = 0, endnum = 0; count 532 fs/udf/inode.c count++; count 567 fs/udf/inode.c if (count) { count 593 fs/udf/inode.c count += ret; count 599 fs/udf/inode.c if (count) count 605 fs/udf/inode.c count++; count 611 fs/udf/inode.c endnum = startnum = ((count > 2) ? 2 : count); count 615 fs/udf/inode.c if (!c && count != 1) { count 628 fs/udf/inode.c count++; count 240 fs/udf/super.c sbi->s_partmaps = kcalloc(count, sizeof(struct udf_part_map), count 245 fs/udf/super.c count); count 250 fs/udf/super.c sbi->s_partitions = count; count 53 fs/ufs/balloc.c (unsigned long long)fragment, count); count 55 fs/ufs/balloc.c if (ufs_fragnum(fragment) + count > uspi->s_fpg) count 76 fs/ufs/balloc.c end_bit = bit + count; count 88 fs/ufs/balloc.c DQUOT_FREE_BLOCK (inode, count); count 91 fs/ufs/balloc.c fs32_add(sb, &ucg->cg_cs.cs_nffree, count); count 92 fs/ufs/balloc.c uspi->cs_total.cs_nffree += count; count 93 fs/ufs/balloc.c fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); count 155 fs/ufs/balloc.c (unsigned long long)fragment, count); count 157 fs/ufs/balloc.c if ((fragment & uspi->s_fpbmask) || (count & uspi->s_fpbmask)) { count 160 fs/ufs/balloc.c (unsigned long long)fragment, count); count 174 fs/ufs/balloc.c end_bit = bit + count; count 176 fs/ufs/balloc.c overflow = bit + count - uspi->s_fpg; count 177 fs/ufs/balloc.c count -= overflow; count 221 fs/ufs/balloc.c fragment += count; count 222 fs/ufs/balloc.c count = overflow; count 263 fs/ufs/balloc.c inode->i_ino, count, count 270 fs/ufs/balloc.c end = count + beg; count 366 fs/ufs/balloc.c (unsigned long long)goal, count); count 376 fs/ufs/balloc.c if (count + ufs_fragnum(fragment) > uspi->s_fpb) { count 379 fs/ufs/balloc.c (unsigned long long)fragment, count); count 380 fs/ufs/balloc.c count = uspi->s_fpb - ufs_fragnum(fragment); count 383 fs/ufs/balloc.c newcount = oldcount + count; count 431 fs/ufs/balloc.c result = ufs_alloc_fragments (inode, cgno, goal, count, err); count 437 fs/ufs/balloc.c fragment + count); count 452 fs/ufs/balloc.c UFS_I(inode)->i_lastfrag = max_t(u32, UFS_I(inode)->i_lastfrag, fragment + count); count 491 fs/ufs/balloc.c UFS_I(inode)->i_lastfrag = max_t(u32, UFS_I(inode)->i_lastfrag, fragment + count); count 513 fs/ufs/balloc.c unsigned cgno, fragno, fragoff, count, fragsize, i; count 521 fs/ufs/balloc.c count = newcount - oldcount; count 524 fs/ufs/balloc.c if (fs32_to_cpu(sb, UFS_SB(sb)->fs_cs(cgno).cs_nffree) < count) count 555 fs/ufs/balloc.c if (fragsize != count) count 556 fs/ufs/balloc.c fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1); count 559 fs/ufs/balloc.c if(DQUOT_ALLOC_BLOCK(inode, count)) { 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 585 fs/ufs/balloc.c for (k = count; k < uspi->s_fpb; k++) \ count 601 fs/ufs/balloc.c inode->i_ino, cgno, (unsigned long long)goal, count); count 648 fs/ufs/balloc.c if (count == uspi->s_fpb) { count 655 fs/ufs/balloc.c for (allocsize = count; allocsize < uspi->s_fpb; allocsize++) count 664 fs/ufs/balloc.c for (i = count; i < uspi->s_fpb; i++) count 666 fs/ufs/balloc.c i = uspi->s_fpb - count; count 679 fs/ufs/balloc.c if(DQUOT_ALLOC_BLOCK(inode, count)) { count 683 fs/ufs/balloc.c for (i = 0; i < count; i++) count 686 fs/ufs/balloc.c fs32_sub(sb, &ucg->cg_cs.cs_nffree, count); count 687 fs/ufs/balloc.c uspi->cs_total.cs_nffree -= count; count 688 fs/ufs/balloc.c fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); count 691 fs/ufs/balloc.c if (count != allocsize) count 692 fs/ufs/balloc.c fs32_add(sb, &ucg->cg_frsum[allocsize - count], 1); count 829 fs/ufs/balloc.c (unsigned long long)goal, count); count 842 fs/ufs/balloc.c 1 << (count - 1 + (uspi->s_fpb & 7))); count 848 fs/ufs/balloc.c 1 << (count - 1 + (uspi->s_fpb & 7))); count 853 fs/ufs/balloc.c ucpi->c_cgx, start, length, count, count 869 fs/ufs/balloc.c mask = mask_arr[count]; count 870 fs/ufs/balloc.c want = want_arr[count]; count 871 fs/ufs/balloc.c for (pos = 0; pos <= uspi->s_fpb - count; pos++) { count 43 fs/ufs/cylinder.c UCPI_UBH(ucpi)->count = uspi->s_cgsize >> sb->s_blocksize_bits; count 48 fs/ufs/cylinder.c for (i = 1; i < UCPI_UBH(ucpi)->count; i++) count 112 fs/ufs/cylinder.c for (i = 1; i < UCPI_UBH(ucpi)->count; i++) { count 690 fs/ufs/ufs_fs.h __u64 count; /* number of fragments */ count 23 fs/ufs/util.c u64 count = 0; count 26 fs/ufs/util.c count = size >> uspi->s_fshift; count 27 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 ll_rw_block(rw, ubh->count, ubh->bh); count 129 fs/ufs/util.c for ( i = 0; i < ubh->count; i++ ) count 138 fs/ufs/util.c for ( i = 0; i < ubh->count; i++ ) if ( ubh->bh[i] ) count 148 fs/ufs/util.c for ( i = 0; i < ubh->count; i++ ) count 157 fs/ufs/util.c if (size > (ubh->count << uspi->s_fshift)) count 158 fs/ufs/util.c size = ubh->count << uspi->s_fshift; count 173 fs/ufs/util.c if (size > (ubh->count << uspi->s_fshift)) count 174 fs/ufs/util.c size = ubh->count << uspi->s_fshift; count 404 fs/ufs/util.h unsigned base, count, pos; count 412 fs/ufs/util.h count = min_t(unsigned int, size + offset, uspi->s_bpf); count 413 fs/ufs/util.h size -= count - offset; count 414 fs/ufs/util.h pos = ext2_find_next_zero_bit (ubh->bh[base]->b_data, count, offset); count 415 fs/ufs/util.h if (pos < count || !size) count 451 fs/ufs/util.h unsigned base, count, pos, size; count 459 fs/ufs/util.h count = min_t(unsigned int, count 462 fs/ufs/util.h size -= count; count 464 fs/ufs/util.h start, start - count); count 465 fs/ufs/util.h if (pos > start - count || !size) count 22 fs/xattr_acl.c int count; count 33 fs/xattr_acl.c count = posix_acl_xattr_count(size); count 34 fs/xattr_acl.c if (count < 0) count 36 fs/xattr_acl.c if (count == 0) count 39 fs/xattr_acl.c acl = posix_acl_alloc(count, GFP_KERNEL); count 44 fs/xattr_acl.c for (end = entry + count; entry != end; acl_e++, entry++) { count 323 fs/xfs/linux-2.6/xfs_aops.c error = xfs_iomap(ip, offset, count, count 756 fs/xfs/linux-2.6/xfs_aops.c int count = 0, done = 0, uptodate = 1; count 828 fs/xfs/linux-2.6/xfs_aops.c count++; count 835 fs/xfs/linux-2.6/xfs_aops.c count++; count 847 fs/xfs/linux-2.6/xfs_aops.c if (count) { count 859 fs/xfs/linux-2.6/xfs_aops.c xfs_start_page_writeback(page, !page_dirty, count); count 943 fs/xfs/linux-2.6/xfs_aops.c int page_dirty, count = 0; count 1078 fs/xfs/linux-2.6/xfs_aops.c count++; count 1113 fs/xfs/linux-2.6/xfs_aops.c count++; count 1131 fs/xfs/linux-2.6/xfs_aops.c xfs_start_page_writeback(page, 1, count); count 61 fs/xfs/linux-2.6/xfs_buf.c (void *)(unsigned long)bp->b_sema.count, count 894 fs/xfs/linux-2.6/xfs_buf.c return bp->b_sema.count; count 1704 fs/xfs/linux-2.6/xfs_buf.c int count; count 1725 fs/xfs/linux-2.6/xfs_buf.c count = 0; count 1732 fs/xfs/linux-2.6/xfs_buf.c count++; count 1737 fs/xfs/linux-2.6/xfs_buf.c if (count) count 707 fs/xfs/linux-2.6/xfs_ioctl.c int count; /* # of records returned */ count 727 fs/xfs/linux-2.6/xfs_ioctl.c if ((count = bulkreq.icount) <= 0) count 734 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_inumbers(mp, &inlast, &count, count 740 fs/xfs/linux-2.6/xfs_ioctl.c error = xfs_bulkstat(mp, &inlast, &count, count 753 fs/xfs/linux-2.6/xfs_ioctl.c if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) count 147 fs/xfs/linux-2.6/xfs_ioctl32.c for (i = 0; i < count; i++) { count 153 fs/xfs/linux-2.6/xfs_ioctl32.c *written = count * sizeof(*p32); count 264 fs/xfs/linux-2.6/xfs_ioctl32.c int count; /* # of records returned */ count 292 fs/xfs/linux-2.6/xfs_ioctl32.c if ((count = bulkreq.icount) <= 0) count 299 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_inumbers(mp, &inlast, &count, count 304 fs/xfs/linux-2.6/xfs_ioctl32.c error = xfs_bulkstat(mp, &inlast, &count, count 317 fs/xfs/linux-2.6/xfs_ioctl32.c if (copy_to_user(bulkreq.ocount, &count, sizeof(count))) count 147 fs/xfs/linux-2.6/xfs_lrw.c if (bytes > count) count 148 fs/xfs/linux-2.6/xfs_lrw.c bytes = count; count 162 fs/xfs/linux-2.6/xfs_lrw.c count -= bytes; count 164 fs/xfs/linux-2.6/xfs_lrw.c } while (count); count 292 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_DATA(mp, DM_EVENT_READ, ip, *ppos, count, count 300 fs/xfs/linux-2.6/xfs_lrw.c pipe, count, *ppos, ioflags); count 301 fs/xfs/linux-2.6/xfs_lrw.c ret = generic_file_splice_read(infilp, ppos, pipe, count, flags); count 334 fs/xfs/linux-2.6/xfs_lrw.c error = XFS_SEND_DATA(mp, DM_EVENT_WRITE, ip, *ppos, count, count 342 fs/xfs/linux-2.6/xfs_lrw.c new_size = *ppos + count; count 350 fs/xfs/linux-2.6/xfs_lrw.c pipe, count, *ppos, ioflags); count 351 fs/xfs/linux-2.6/xfs_lrw.c ret = generic_file_splice_write(pipe, outfilp, ppos, count, flags); count 577 fs/xfs/linux-2.6/xfs_lrw.c size_t ocount = 0, count; count 587 fs/xfs/linux-2.6/xfs_lrw.c count = ocount; count 590 fs/xfs/linux-2.6/xfs_lrw.c if (count == 0) count 613 fs/xfs/linux-2.6/xfs_lrw.c error = -generic_write_checks(file, &pos, &count, count 629 fs/xfs/linux-2.6/xfs_lrw.c pos, count, dmflags, &iolock); count 652 fs/xfs/linux-2.6/xfs_lrw.c if ((pos & target->bt_smask) || (count & target->bt_smask)) { count 667 fs/xfs/linux-2.6/xfs_lrw.c new_size = pos + count; count 746 fs/xfs/linux-2.6/xfs_lrw.c &segs, pos, offset, count, ocount); count 752 fs/xfs/linux-2.6/xfs_lrw.c if (ret >= 0 && ret != count) { count 756 fs/xfs/linux-2.6/xfs_lrw.c count -= ret; count 766 fs/xfs/linux-2.6/xfs_lrw.c pos, offset, count, ret); count 94 fs/xfs/linux-2.6/xfs_stats.c if ((len -= offset) > count) count 95 fs/xfs/linux-2.6/xfs_stats.c return count; count 234 fs/xfs/linux-2.6/xfs_xattr.c ASSERT(context->count >= 0); count 243 fs/xfs/linux-2.6/xfs_xattr.c arraytop = context->count + prefix_len + namelen + 1; count 245 fs/xfs/linux-2.6/xfs_xattr.c context->count = -1; /* insufficient space */ count 248 fs/xfs/linux-2.6/xfs_xattr.c offset = (char *)context->alist + context->count; count 254 fs/xfs/linux-2.6/xfs_xattr.c context->count += prefix_len + namelen + 1; count 262 fs/xfs/linux-2.6/xfs_xattr.c context->count += xfs_xattr_prefix_len(flags) + namelen + 1; count 307 fs/xfs/linux-2.6/xfs_xattr.c if (context.count < 0) count 316 fs/xfs/linux-2.6/xfs_xattr.c data, size, &context.count); count 324 fs/xfs/linux-2.6/xfs_xattr.c data, size, &context.count); count 329 fs/xfs/linux-2.6/xfs_xattr.c return context.count; count 1821 fs/xfs/quota/xfs_qm.c int done, count, error; count 1827 fs/xfs/quota/xfs_qm.c count = INT_MAX; count 1866 fs/xfs/quota/xfs_qm.c if ((error = xfs_bulkstat(mp, &lastino, &count, count 76 fs/xfs/quota/xfs_qm_stats.c if ((len -= offset) > count) count 77 fs/xfs/quota/xfs_qm_stats.c return count; count 111 fs/xfs/quota/xfs_qm_stats.c if ((len -= offset) > count) count 112 fs/xfs/quota/xfs_qm_stats.c return count; count 39 fs/xfs/quota/xfs_qm_stats.h # define XQM_STATS_INC(count) ( (count)++ ) count 1405 fs/xfs/quota/xfs_qm_syscalls.c int done, count; count 1413 fs/xfs/quota/xfs_qm_syscalls.c count = 5; count 1437 fs/xfs/quota/xfs_qm_syscalls.c if ((error = xfs_bulkstat(mp, &lastino, &count, count 623 fs/xfs/quota/xfs_trans_dquot.c xfs_qcnt_t count; count 688 fs/xfs/quota/xfs_trans_dquot.c count = be64_to_cpu(dqp->q_core.d_icount); count 698 fs/xfs/quota/xfs_trans_dquot.c if (hardlimit > 0ULL && count >= hardlimit) { count 701 fs/xfs/quota/xfs_trans_dquot.c } else if (softlimit > 0ULL && count >= softlimit) { count 303 fs/xfs/support/ktrace.c new_index = index + count; count 681 fs/xfs/xfs_attr.c ASSERT(context->count >= 0); count 682 fs/xfs/xfs_attr.c ASSERT(context->count < (ATTR_MAX_VALUELEN/8)); count 697 fs/xfs/xfs_attr.c context->count * sizeof(alist->al_offset[0]); count 710 fs/xfs/xfs_attr.c alist->al_offset[context->count++] = context->firstu; count 711 fs/xfs/xfs_attr.c alist->al_count = context->count; count 1858 fs/xfs/xfs_attr.c be16_to_cpu(leaf->hdr.count)-1].hashval)) { count 1912 fs/xfs/xfs_attr.c for (i = 0; i < be16_to_cpu(node->hdr.count); count 1922 fs/xfs/xfs_attr.c if (i == be16_to_cpu(node->hdr.count)) { count 2288 fs/xfs/xfs_attr.c (__psunsigned_t)be16_to_cpu(node->hdr.count), count 2291 fs/xfs/xfs_attr.c be16_to_cpu(node->hdr.count)-1].hashval)); count 2315 fs/xfs/xfs_attr.c (__psunsigned_t)be16_to_cpu(leaf->hdr.count), count 2318 fs/xfs/xfs_attr.c be16_to_cpu(leaf->hdr.count)-1].hashval)); count 2340 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->count), count 113 fs/xfs/xfs_attr.h ssize_t count; /* num used entries */ count 239 fs/xfs/xfs_attr_leaf.c hdr->count = 0; count 270 fs/xfs/xfs_attr_leaf.c for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { count 293 fs/xfs/xfs_attr_leaf.c sf->hdr.count++; count 317 fs/xfs/xfs_attr_leaf.c end = sf->hdr.count; count 339 fs/xfs/xfs_attr_leaf.c sf->hdr.count--; count 400 fs/xfs/xfs_attr_leaf.c for (i = 0; i < sf->hdr.count; count 427 fs/xfs/xfs_attr_leaf.c for (i = 0; i < sf->hdr.count; count 513 fs/xfs/xfs_attr_leaf.c for (i = 0; i < sf->hdr.count; i++) { count 574 fs/xfs/xfs_attr_leaf.c int sbsize, nsbuf, count, i; count 583 fs/xfs/xfs_attr_leaf.c if (!sf->hdr.count) count 601 fs/xfs/xfs_attr_leaf.c (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { count 602 fs/xfs/xfs_attr_leaf.c for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { count 632 fs/xfs/xfs_attr_leaf.c sbsize = sf->hdr.count * sizeof(*sbuf); count 640 fs/xfs/xfs_attr_leaf.c for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { count 672 fs/xfs/xfs_attr_leaf.c count = 0; count 677 fs/xfs/xfs_attr_leaf.c if (cursor->offset == count) { count 680 fs/xfs/xfs_attr_leaf.c count++; count 734 fs/xfs/xfs_attr_leaf.c for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) { count 820 fs/xfs/xfs_attr_leaf.c for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) { count 887 fs/xfs/xfs_attr_leaf.c leaf->entries[be16_to_cpu(leaf->hdr.count)-1 ].hashval; count 889 fs/xfs/xfs_attr_leaf.c node->hdr.count = cpu_to_be16(1); count 1011 fs/xfs/xfs_attr_leaf.c && (args->index <= be16_to_cpu(leaf->hdr.count))); count 1020 fs/xfs/xfs_attr_leaf.c tablesize = (be16_to_cpu(hdr->count) + 1) count 1085 fs/xfs/xfs_attr_leaf.c ASSERT((args->index >= 0) && (args->index <= be16_to_cpu(hdr->count))); count 1091 fs/xfs/xfs_attr_leaf.c if (args->index < be16_to_cpu(hdr->count)) { count 1092 fs/xfs/xfs_attr_leaf.c tmp = be16_to_cpu(hdr->count) - args->index; count 1098 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr->count, 1); count 1131 fs/xfs/xfs_attr_leaf.c ASSERT((args->index == be16_to_cpu(hdr->count)-1) || count 1173 fs/xfs/xfs_attr_leaf.c ((be16_to_cpu(hdr->count) * sizeof(*entry)) + sizeof(*hdr))); count 1174 fs/xfs/xfs_attr_leaf.c tmp = (be16_to_cpu(hdr->count)-1) * sizeof(xfs_attr_leaf_entry_t) count 1222 fs/xfs/xfs_attr_leaf.c hdr_d->count = 0; count 1233 fs/xfs/xfs_attr_leaf.c be16_to_cpu(hdr_s->count), mp); count 1259 fs/xfs/xfs_attr_leaf.c int count, totallen, max, space, swap; count 1299 fs/xfs/xfs_attr_leaf.c &count, &totallen); count 1306 fs/xfs/xfs_attr_leaf.c if (count < be16_to_cpu(hdr1->count)) { count 1311 fs/xfs/xfs_attr_leaf.c count = be16_to_cpu(hdr1->count) - count; count 1313 fs/xfs/xfs_attr_leaf.c space += count * sizeof(xfs_attr_leaf_entry_t); count 1320 fs/xfs/xfs_attr_leaf.c max -= be16_to_cpu(hdr2->count) * sizeof(xfs_attr_leaf_entry_t); count 1328 fs/xfs/xfs_attr_leaf.c xfs_attr_leaf_moveents(leaf1, be16_to_cpu(hdr1->count) - count, count 1329 fs/xfs/xfs_attr_leaf.c leaf2, 0, count, state->mp); count 1333 fs/xfs/xfs_attr_leaf.c } else if (count > be16_to_cpu(hdr1->count)) { count 1343 fs/xfs/xfs_attr_leaf.c count -= be16_to_cpu(hdr1->count); count 1345 fs/xfs/xfs_attr_leaf.c space += count * sizeof(xfs_attr_leaf_entry_t); count 1352 fs/xfs/xfs_attr_leaf.c max -= be16_to_cpu(hdr1->count) * sizeof(xfs_attr_leaf_entry_t); count 1361 fs/xfs/xfs_attr_leaf.c be16_to_cpu(hdr1->count), count, state->mp); count 1371 fs/xfs/xfs_attr_leaf.c leaf1->entries[be16_to_cpu(leaf1->hdr.count)-1].hashval); count 1373 fs/xfs/xfs_attr_leaf.c leaf2->entries[be16_to_cpu(leaf2->hdr.count)-1].hashval); count 1387 fs/xfs/xfs_attr_leaf.c if (blk1->index > be16_to_cpu(leaf1->hdr.count)) { count 1389 fs/xfs/xfs_attr_leaf.c blk2->index = blk1->index - be16_to_cpu(leaf1->hdr.count); count 1392 fs/xfs/xfs_attr_leaf.c } else if (blk1->index == be16_to_cpu(leaf1->hdr.count)) { count 1400 fs/xfs/xfs_attr_leaf.c - be16_to_cpu(leaf1->hdr.count); count 1427 fs/xfs/xfs_attr_leaf.c int count, max, index, totallen, half; count 1444 fs/xfs/xfs_attr_leaf.c max = be16_to_cpu(hdr1->count) + be16_to_cpu(hdr2->count); count 1455 fs/xfs/xfs_attr_leaf.c for (count = index = 0; count < max; entry++, index++, count++) { count 1461 fs/xfs/xfs_attr_leaf.c if (count == blk1->index) { count 1477 fs/xfs/xfs_attr_leaf.c if (count == be16_to_cpu(hdr1->count)) { count 1499 fs/xfs/xfs_attr_leaf.c totallen -= count * sizeof(*entry); count 1508 fs/xfs/xfs_attr_leaf.c *countarg = count; count 1534 fs/xfs/xfs_attr_leaf.c int count, bytes, forward, error, retval, i; count 1547 fs/xfs/xfs_attr_leaf.c count = be16_to_cpu(leaf->hdr.count); count 1549 fs/xfs/xfs_attr_leaf.c count * sizeof(xfs_attr_leaf_entry_t) + count 1562 fs/xfs/xfs_attr_leaf.c if (count == 0) { count 1604 fs/xfs/xfs_attr_leaf.c count = be16_to_cpu(leaf->hdr.count); count 1609 fs/xfs/xfs_attr_leaf.c count += be16_to_cpu(leaf->hdr.count); count 1611 fs/xfs/xfs_attr_leaf.c bytes -= count * sizeof(xfs_attr_leaf_entry_t); count 1665 fs/xfs/xfs_attr_leaf.c ASSERT((be16_to_cpu(hdr->count) > 0) count 1666 fs/xfs/xfs_attr_leaf.c && (be16_to_cpu(hdr->count) < (XFS_LBSIZE(mp)/8))); count 1668 fs/xfs/xfs_attr_leaf.c && (args->index < be16_to_cpu(hdr->count))); count 1670 fs/xfs/xfs_attr_leaf.c ((be16_to_cpu(hdr->count) * sizeof(*entry)) + sizeof(*hdr))); count 1681 fs/xfs/xfs_attr_leaf.c tablesize = be16_to_cpu(hdr->count) * sizeof(xfs_attr_leaf_entry_t) count 1758 fs/xfs/xfs_attr_leaf.c tmp = (be16_to_cpu(hdr->count) - args->index) count 1761 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr->count, -1); count 1764 fs/xfs/xfs_attr_leaf.c entry = &leaf->entries[be16_to_cpu(hdr->count)]; count 1776 fs/xfs/xfs_attr_leaf.c for (i = be16_to_cpu(hdr->count)-1; i >= 0; entry++, i--) { count 1800 fs/xfs/xfs_attr_leaf.c tmp += be16_to_cpu(leaf->hdr.count) * sizeof(xfs_attr_leaf_entry_t); count 1834 fs/xfs/xfs_attr_leaf.c drop_leaf->entries[be16_to_cpu(drop_leaf->hdr.count)-1].hashval); count 1848 fs/xfs/xfs_attr_leaf.c be16_to_cpu(drop_hdr->count), mp); count 1851 fs/xfs/xfs_attr_leaf.c be16_to_cpu(save_hdr->count), count 1852 fs/xfs/xfs_attr_leaf.c be16_to_cpu(drop_hdr->count), mp); count 1865 fs/xfs/xfs_attr_leaf.c tmp_hdr->count = 0; count 1874 fs/xfs/xfs_attr_leaf.c be16_to_cpu(drop_hdr->count), mp); count 1876 fs/xfs/xfs_attr_leaf.c be16_to_cpu(tmp_leaf->hdr.count), count 1877 fs/xfs/xfs_attr_leaf.c be16_to_cpu(save_hdr->count), mp); count 1880 fs/xfs/xfs_attr_leaf.c be16_to_cpu(save_hdr->count), mp); count 1882 fs/xfs/xfs_attr_leaf.c be16_to_cpu(tmp_leaf->hdr.count), count 1883 fs/xfs/xfs_attr_leaf.c be16_to_cpu(drop_hdr->count), mp); count 1896 fs/xfs/xfs_attr_leaf.c save_leaf->entries[be16_to_cpu(save_leaf->hdr.count)-1].hashval); count 1928 fs/xfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(leaf->hdr.count) count 1935 fs/xfs/xfs_attr_leaf.c probe = span = be16_to_cpu(leaf->hdr.count) / 2; count 1947 fs/xfs/xfs_attr_leaf.c (!leaf->hdr.count count 1948 fs/xfs/xfs_attr_leaf.c || (probe < be16_to_cpu(leaf->hdr.count)))); count 1959 fs/xfs/xfs_attr_leaf.c while ((probe < be16_to_cpu(leaf->hdr.count)) && count 1964 fs/xfs/xfs_attr_leaf.c if ((probe == be16_to_cpu(leaf->hdr.count)) || count 1973 fs/xfs/xfs_attr_leaf.c for ( ; (probe < be16_to_cpu(leaf->hdr.count)) && count 2032 fs/xfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(leaf->hdr.count) count 2034 fs/xfs/xfs_attr_leaf.c ASSERT(args->index < be16_to_cpu(leaf->hdr.count)); count 2093 fs/xfs/xfs_attr_leaf.c if (count == 0) count 2103 fs/xfs/xfs_attr_leaf.c ASSERT((be16_to_cpu(hdr_s->count) > 0) && count 2104 fs/xfs/xfs_attr_leaf.c (be16_to_cpu(hdr_s->count) < (XFS_LBSIZE(mp)/8))); count 2106 fs/xfs/xfs_attr_leaf.c ((be16_to_cpu(hdr_s->count) count 2108 fs/xfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(hdr_d->count) < (XFS_LBSIZE(mp)/8)); count 2110 fs/xfs/xfs_attr_leaf.c ((be16_to_cpu(hdr_d->count) count 2113 fs/xfs/xfs_attr_leaf.c ASSERT(start_s < be16_to_cpu(hdr_s->count)); count 2114 fs/xfs/xfs_attr_leaf.c ASSERT(start_d <= be16_to_cpu(hdr_d->count)); count 2115 fs/xfs/xfs_attr_leaf.c ASSERT(count <= be16_to_cpu(hdr_s->count)); count 2120 fs/xfs/xfs_attr_leaf.c if (start_d < be16_to_cpu(hdr_d->count)) { count 2121 fs/xfs/xfs_attr_leaf.c tmp = be16_to_cpu(hdr_d->count) - start_d; count 2124 fs/xfs/xfs_attr_leaf.c entry_d = &leaf_d->entries[start_d + count]; count 2135 fs/xfs/xfs_attr_leaf.c for (i = 0; i < count; entry_s++, entry_d++, desti++, i++) { count 2148 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr_s->count, -1); count 2170 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr_s->count, -1); count 2171 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr_d->count, 1); count 2172 fs/xfs/xfs_attr_leaf.c tmp = be16_to_cpu(hdr_d->count) count 2184 fs/xfs/xfs_attr_leaf.c if (start_s == be16_to_cpu(hdr_s->count)) { count 2185 fs/xfs/xfs_attr_leaf.c tmp = count * sizeof(xfs_attr_leaf_entry_t); count 2195 fs/xfs/xfs_attr_leaf.c tmp = be16_to_cpu(hdr_s->count) - count; count 2197 fs/xfs/xfs_attr_leaf.c entry_s = &leaf_s->entries[start_s + count]; count 2201 fs/xfs/xfs_attr_leaf.c tmp = count * sizeof(xfs_attr_leaf_entry_t); count 2202 fs/xfs/xfs_attr_leaf.c entry_s = &leaf_s->entries[be16_to_cpu(hdr_s->count)]; count 2212 fs/xfs/xfs_attr_leaf.c be16_add_cpu(&hdr_d->freemap[0].base, be16_to_cpu(hdr_d->count) * count 2236 fs/xfs/xfs_attr_leaf.c if ((be16_to_cpu(leaf1->hdr.count) > 0) && count 2237 fs/xfs/xfs_attr_leaf.c (be16_to_cpu(leaf2->hdr.count) > 0) && count 2241 fs/xfs/xfs_attr_leaf.c be16_to_cpu(leaf2->hdr.count)-1].hashval) < count 2243 fs/xfs/xfs_attr_leaf.c be16_to_cpu(leaf1->hdr.count)-1].hashval)))) { count 2259 fs/xfs/xfs_attr_leaf.c if (count) count 2260 fs/xfs/xfs_attr_leaf.c *count = be16_to_cpu(leaf->hdr.count); count 2261 fs/xfs/xfs_attr_leaf.c if (!leaf->hdr.count) count 2263 fs/xfs/xfs_attr_leaf.c return be32_to_cpu(leaf->entries[be16_to_cpu(leaf->hdr.count)-1].hashval); count 2337 fs/xfs/xfs_attr_leaf.c for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) { count 2350 fs/xfs/xfs_attr_leaf.c if (i == be16_to_cpu(leaf->hdr.count)) { count 2364 fs/xfs/xfs_attr_leaf.c for ( ; (i < be16_to_cpu(leaf->hdr.count)); entry++, i++) { count 2464 fs/xfs/xfs_attr_leaf.c ASSERT(args->index < be16_to_cpu(leaf->hdr.count)); count 2528 fs/xfs/xfs_attr_leaf.c ASSERT(args->index < be16_to_cpu(leaf->hdr.count)); count 2598 fs/xfs/xfs_attr_leaf.c ASSERT(args->index < be16_to_cpu(leaf1->hdr.count)); count 2604 fs/xfs/xfs_attr_leaf.c ASSERT(args->index2 < be16_to_cpu(leaf2->hdr.count)); count 2739 fs/xfs/xfs_attr_leaf.c int error, count, i; count 2753 fs/xfs/xfs_attr_leaf.c count = be16_to_cpu(node->hdr.count); count 2754 fs/xfs/xfs_attr_leaf.c if (!count) { count 2766 fs/xfs/xfs_attr_leaf.c for (i = 0; i < count; i++) { count 2813 fs/xfs/xfs_attr_leaf.c if ((i+1) < count) { count 2845 fs/xfs/xfs_attr_leaf.c int error, count, size, tmp, i; count 2853 fs/xfs/xfs_attr_leaf.c count = 0; count 2855 fs/xfs/xfs_attr_leaf.c for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) { count 2860 fs/xfs/xfs_attr_leaf.c count++; count 2867 fs/xfs/xfs_attr_leaf.c if (count == 0) { count 2875 fs/xfs/xfs_attr_leaf.c size = count * sizeof(xfs_attr_inactive_list_t); count 2883 fs/xfs/xfs_attr_leaf.c for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) { count 2901 fs/xfs/xfs_attr_leaf.c for (lp = list, i = 0; i < count; i++, lp++) { count 82 fs/xfs/xfs_attr_leaf.h __be16 count; /* count of active leaf_entry's */ count 36 fs/xfs/xfs_attr_sf.h __u8 count; /* count of active entries */ count 6372 fs/xfs/xfs_bmap.c count); count 6388 fs/xfs/xfs_bmap.c if (unlikely(xfs_bmap_count_tree(mp, tp, ifp, bno, level, count) < 0)) { count 6421 fs/xfs/xfs_bmap.c *count += 1; count 6431 fs/xfs/xfs_bmap.c *count += 1; count 6441 fs/xfs/xfs_bmap.c xfs_bmap_count_tree(mp, tp, ifp, bno, level, count)) < 0)) { count 6453 fs/xfs/xfs_bmap.c xfs_bmap_disk_count_leaves(0, block, numrecs, count); count 6461 fs/xfs/xfs_bmap.c *count += 1; count 6482 fs/xfs/xfs_bmap.c *count += xfs_bmbt_get_blockcount(frp); count 6502 fs/xfs/xfs_bmap.c *count += xfs_bmbt_disk_get_blockcount(frp); count 797 fs/xfs/xfs_btree.c xfs_baread(mp->m_ddev_targp, d, mp->m_bsize * count); count 817 fs/xfs/xfs_btree.c xfs_baread(mp->m_ddev_targp, d, mp->m_bsize * count); count 128 fs/xfs/xfs_da_btree.c node->hdr.count = 0; count 329 fs/xfs/xfs_da_btree.c size = (int)((char *)&oldroot->btree[be16_to_cpu(oldroot->hdr.count)] - count 334 fs/xfs/xfs_da_btree.c size = (int)((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] - count 356 fs/xfs/xfs_da_btree.c node->hdr.count = cpu_to_be16(2); count 401 fs/xfs/xfs_da_btree.c if ((be16_to_cpu(node->hdr.count) + newcount) > state->node_ents) { count 438 fs/xfs/xfs_da_btree.c if (oldblk->index <= be16_to_cpu(node->hdr.count)) { count 473 fs/xfs/xfs_da_btree.c int count, tmp; count 482 fs/xfs/xfs_da_btree.c if ((be16_to_cpu(node1->hdr.count) > 0) && (be16_to_cpu(node2->hdr.count) > 0) && count 484 fs/xfs/xfs_da_btree.c (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) < count 485 fs/xfs/xfs_da_btree.c be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) { count 492 fs/xfs/xfs_da_btree.c count = (be16_to_cpu(node1->hdr.count) - be16_to_cpu(node2->hdr.count)) / 2; count 493 fs/xfs/xfs_da_btree.c if (count == 0) count 499 fs/xfs/xfs_da_btree.c if (count > 0) { count 503 fs/xfs/xfs_da_btree.c if ((tmp = be16_to_cpu(node2->hdr.count)) > 0) { count 506 fs/xfs/xfs_da_btree.c btree_d = &node2->btree[count]; count 514 fs/xfs/xfs_da_btree.c be16_add_cpu(&node2->hdr.count, count); count 515 fs/xfs/xfs_da_btree.c tmp = count * (uint)sizeof(xfs_da_node_entry_t); count 516 fs/xfs/xfs_da_btree.c btree_s = &node1->btree[be16_to_cpu(node1->hdr.count) - count]; count 519 fs/xfs/xfs_da_btree.c be16_add_cpu(&node1->hdr.count, -count); count 525 fs/xfs/xfs_da_btree.c count = -count; count 526 fs/xfs/xfs_da_btree.c tmp = count * (uint)sizeof(xfs_da_node_entry_t); count 528 fs/xfs/xfs_da_btree.c btree_d = &node1->btree[be16_to_cpu(node1->hdr.count)]; count 530 fs/xfs/xfs_da_btree.c be16_add_cpu(&node1->hdr.count, count); count 537 fs/xfs/xfs_da_btree.c tmp = be16_to_cpu(node2->hdr.count) - count; count 539 fs/xfs/xfs_da_btree.c btree_s = &node2->btree[count]; count 542 fs/xfs/xfs_da_btree.c be16_add_cpu(&node2->hdr.count, -count); count 553 fs/xfs/xfs_da_btree.c sizeof(node2->btree[0]) * be16_to_cpu(node2->hdr.count))); count 561 fs/xfs/xfs_da_btree.c blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval); count 562 fs/xfs/xfs_da_btree.c blk2->hashval = be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval); count 567 fs/xfs/xfs_da_btree.c if (blk1->index >= be16_to_cpu(node1->hdr.count)) { count 568 fs/xfs/xfs_da_btree.c blk2->index = blk1->index - be16_to_cpu(node1->hdr.count); count 569 fs/xfs/xfs_da_btree.c blk1->index = be16_to_cpu(node1->hdr.count) + 1; /* make it invalid */ count 588 fs/xfs/xfs_da_btree.c ASSERT((oldblk->index >= 0) && (oldblk->index <= be16_to_cpu(node->hdr.count))); count 599 fs/xfs/xfs_da_btree.c if (oldblk->index < be16_to_cpu(node->hdr.count)) { count 600 fs/xfs/xfs_da_btree.c tmp = (be16_to_cpu(node->hdr.count) - oldblk->index) * (uint)sizeof(*btree); count 607 fs/xfs/xfs_da_btree.c be16_add_cpu(&node->hdr.count, 1); count 614 fs/xfs/xfs_da_btree.c oldblk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1 ].hashval); count 730 fs/xfs/xfs_da_btree.c if (be16_to_cpu(oldroot->hdr.count) > 1) count 774 fs/xfs/xfs_da_btree.c int count, forward, error, retval, i; count 787 fs/xfs/xfs_da_btree.c count = be16_to_cpu(node->hdr.count); count 788 fs/xfs/xfs_da_btree.c if (count > (state->node_ents >> 1)) { count 799 fs/xfs/xfs_da_btree.c if (count == 0) { count 841 fs/xfs/xfs_da_btree.c count = state->node_ents; count 842 fs/xfs/xfs_da_btree.c count -= state->node_ents >> 2; count 843 fs/xfs/xfs_da_btree.c count -= be16_to_cpu(node->hdr.count); count 846 fs/xfs/xfs_da_btree.c count -= be16_to_cpu(node->hdr.count); count 848 fs/xfs/xfs_da_btree.c if (count >= 0) count 897 fs/xfs/xfs_da_btree.c int level, count; count 903 fs/xfs/xfs_da_btree.c lasthash = xfs_attr_leaf_lasthash(blk->bp, &count); count 904 fs/xfs/xfs_da_btree.c if (count == 0) count 908 fs/xfs/xfs_da_btree.c lasthash = xfs_dir2_leafn_lasthash(blk->bp, &count); count 909 fs/xfs/xfs_da_btree.c if (count == 0) count 913 fs/xfs/xfs_da_btree.c lasthash = xfs_da_node_lasthash(blk->bp, &count); count 914 fs/xfs/xfs_da_btree.c if (count == 0) count 929 fs/xfs/xfs_da_btree.c lasthash = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); count 944 fs/xfs/xfs_da_btree.c ASSERT(drop_blk->index < be16_to_cpu(node->hdr.count)); count 951 fs/xfs/xfs_da_btree.c if (drop_blk->index < (be16_to_cpu(node->hdr.count)-1)) { count 952 fs/xfs/xfs_da_btree.c tmp = be16_to_cpu(node->hdr.count) - drop_blk->index - 1; count 957 fs/xfs/xfs_da_btree.c btree = &node->btree[be16_to_cpu(node->hdr.count)-1]; count 962 fs/xfs/xfs_da_btree.c be16_add_cpu(&node->hdr.count, -1); count 997 fs/xfs/xfs_da_btree.c (be32_to_cpu(drop_node->btree[be16_to_cpu(drop_node->hdr.count)-1].hashval) < count 998 fs/xfs/xfs_da_btree.c be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval))) count 1000 fs/xfs/xfs_da_btree.c btree = &save_node->btree[be16_to_cpu(drop_node->hdr.count)]; count 1001 fs/xfs/xfs_da_btree.c tmp = be16_to_cpu(save_node->hdr.count) * (uint)sizeof(xfs_da_node_entry_t); count 1006 fs/xfs/xfs_da_btree.c (be16_to_cpu(save_node->hdr.count) + be16_to_cpu(drop_node->hdr.count)) * count 1009 fs/xfs/xfs_da_btree.c btree = &save_node->btree[be16_to_cpu(save_node->hdr.count)]; count 1012 fs/xfs/xfs_da_btree.c be16_to_cpu(drop_node->hdr.count) * count 1019 fs/xfs/xfs_da_btree.c tmp = be16_to_cpu(drop_node->hdr.count) * (uint)sizeof(xfs_da_node_entry_t); count 1021 fs/xfs/xfs_da_btree.c be16_add_cpu(&save_node->hdr.count, be16_to_cpu(drop_node->hdr.count)); count 1030 fs/xfs/xfs_da_btree.c save_blk->hashval = be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval); count 1092 fs/xfs/xfs_da_btree.c max = be16_to_cpu(node->hdr.count); count 1289 fs/xfs/xfs_da_btree.c if ((be16_to_cpu(node1->hdr.count) > 0) && (be16_to_cpu(node2->hdr.count) > 0) && count 1292 fs/xfs/xfs_da_btree.c (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) < count 1293 fs/xfs/xfs_da_btree.c be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) { count 1309 fs/xfs/xfs_da_btree.c if (count) count 1310 fs/xfs/xfs_da_btree.c *count = be16_to_cpu(node->hdr.count); count 1311 fs/xfs/xfs_da_btree.c if (!node->hdr.count) count 1313 fs/xfs/xfs_da_btree.c return be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); count 1422 fs/xfs/xfs_da_btree.c if (forward && (blk->index < be16_to_cpu(node->hdr.count)-1)) { count 1466 fs/xfs/xfs_da_btree.c blk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval); count 1470 fs/xfs/xfs_da_btree.c blk->index = be16_to_cpu(node->hdr.count)-1; count 1566 fs/xfs/xfs_da_btree.c int nmap, error, w, count, c, got, i, mapi; count 1579 fs/xfs/xfs_da_btree.c count = mp->m_dirblkfsbs; count 1582 fs/xfs/xfs_da_btree.c count = 1; count 1587 fs/xfs/xfs_da_btree.c if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w))) count 1596 fs/xfs/xfs_da_btree.c if ((error = xfs_bmapi(tp, dp, bno, count, count 1612 fs/xfs/xfs_da_btree.c else if (nmap == 0 && count > 1) { count 1613 fs/xfs/xfs_da_btree.c mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); count 1614 fs/xfs/xfs_da_btree.c for (b = bno, mapi = 0; b < bno + count; ) { count 1615 fs/xfs/xfs_da_btree.c nmap = MIN(XFS_BMAP_MAX_NMAP, count); count 1616 fs/xfs/xfs_da_btree.c c = (int)(bno + count - b); count 1641 fs/xfs/xfs_da_btree.c if (got != count || mapp[0].br_startoff != bno || count 1643 fs/xfs/xfs_da_btree.c bno + count) { count 1712 fs/xfs/xfs_da_btree.c dead_hash = be32_to_cpu(dead_leaf2->ents[be16_to_cpu(dead_leaf2->hdr.count) - 1].hashval); count 1717 fs/xfs/xfs_da_btree.c dead_hash = be32_to_cpu(dead_node->btree[be16_to_cpu(dead_node->hdr.count) - 1].hashval); count 1783 fs/xfs/xfs_da_btree.c entno < be16_to_cpu(par_node->hdr.count) && count 1787 fs/xfs/xfs_da_btree.c if (unlikely(entno == be16_to_cpu(par_node->hdr.count))) { count 1805 fs/xfs/xfs_da_btree.c entno < be16_to_cpu(par_node->hdr.count) && count 1809 fs/xfs/xfs_da_btree.c if (entno < be16_to_cpu(par_node->hdr.count)) count 1862 fs/xfs/xfs_da_btree.c int done, error, w, count; count 1871 fs/xfs/xfs_da_btree.c count = mp->m_dirblkfsbs; count 1873 fs/xfs/xfs_da_btree.c count = 1; count 1879 fs/xfs/xfs_da_btree.c if ((error = xfs_bunmapi(tp, dp, dead_blkno, count, count 1920 fs/xfs/xfs_da_btree.c return off == bno + count; count 64 fs/xfs/xfs_da_btree.h __be16 count; /* count of active entries */ count 137 fs/xfs/xfs_dir2.c return !sfp->hdr.count; count 517 fs/xfs/xfs_dir2.c int count; /* count of filesystem blocks */ count 537 fs/xfs/xfs_dir2.c count = mp->m_dirblkfsbs; count 541 fs/xfs/xfs_dir2.c if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, XFS_DATA_FORK))) count 548 fs/xfs/xfs_dir2.c if ((error = xfs_bmapi(tp, dp, bno, count, count 562 fs/xfs/xfs_dir2.c else if (nmap == 0 && count > 1) { count 568 fs/xfs/xfs_dir2.c mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); count 572 fs/xfs/xfs_dir2.c for (b = bno, mapi = 0; b < bno + count; ) { count 578 fs/xfs/xfs_dir2.c nmap = MIN(XFS_BMAP_MAX_NMAP, count); count 579 fs/xfs/xfs_dir2.c c = (int)(bno + count - b); count 613 fs/xfs/xfs_dir2.c if (got != count || mapp[0].br_startoff != bno || count 615 fs/xfs/xfs_dir2.c bno + count) { count 632 fs/xfs/xfs_dir2.c size = XFS_FSB_TO_B(mp, bno + count); count 255 fs/xfs/xfs_dir2_block.c for (fromidx = toidx = be32_to_cpu(btp->count) - 1, count 274 fs/xfs/xfs_dir2_block.c be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); count 295 fs/xfs/xfs_dir2_block.c lfloglow = be32_to_cpu(btp->count); count 301 fs/xfs/xfs_dir2_block.c for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) { count 329 fs/xfs/xfs_dir2_block.c be32_add_cpu(&btp->count, 1); count 361 fs/xfs/xfs_dir2_block.c highstale < be32_to_cpu(btp->count) && count 370 fs/xfs/xfs_dir2_block.c (highstale == be32_to_cpu(btp->count) || count 382 fs/xfs/xfs_dir2_block.c ASSERT(highstale < be32_to_cpu(btp->count)); count 668 fs/xfs/xfs_dir2_block.c for (low = 0, high = be32_to_cpu(btp->count) - 1; ; ) { count 714 fs/xfs/xfs_dir2_block.c } while (++mid < be32_to_cpu(btp->count) && count 944 fs/xfs/xfs_dir2_block.c (uint)sizeof(*lep) * (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)); count 973 fs/xfs/xfs_dir2_block.c btp->count = cpu_to_be32(be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)); count 980 fs/xfs/xfs_dir2_block.c for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) { count 985 fs/xfs/xfs_dir2_block.c ASSERT(to == be32_to_cpu(btp->count)); count 986 fs/xfs/xfs_dir2_block.c xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); count 1105 fs/xfs/xfs_dir2_block.c (sfp->hdr.count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t); count 1119 fs/xfs/xfs_dir2_block.c btp->count = cpu_to_be32(sfp->hdr.count + 2); /* ., .. */ count 1161 fs/xfs/xfs_dir2_block.c if ((i = 0) == sfp->hdr.count) count 1211 fs/xfs/xfs_dir2_block.c if (++i == sfp->hdr.count) count 1221 fs/xfs/xfs_dir2_block.c xfs_sort(blp, be32_to_cpu(btp->count), sizeof(*blp), xfs_dir2_block_sort); count 1227 fs/xfs/xfs_dir2_block.c xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); count 46 fs/xfs/xfs_dir2_block.h __be32 count; /* count of leaf entries */ count 76 fs/xfs/xfs_dir2_block.h return ((struct xfs_dir2_leaf_entry *)btp) - be32_to_cpu(btp->count); count 54 fs/xfs/xfs_dir2_data.c int count; /* count of entries found */ count 82 fs/xfs/xfs_dir2_data.c count = lastfree = freeseen = 0; count 138 fs/xfs/xfs_dir2_data.c count++; count 147 fs/xfs/xfs_dir2_data.c for (i = 0; i < be32_to_cpu(btp->count); i++) { count 152 fs/xfs/xfs_dir2_data.c ASSERT(i < be32_to_cpu(btp->count)); count 161 fs/xfs/xfs_dir2_data.c for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { count 167 fs/xfs/xfs_dir2_data.c ASSERT(count == be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)); count 112 fs/xfs/xfs_dir2_leaf.c leaf->hdr.count = cpu_to_be16(be32_to_cpu(btp->count)); count 118 fs/xfs/xfs_dir2_leaf.c memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); count 119 fs/xfs/xfs_dir2_leaf.c xfs_dir2_leaf_log_ents(tp, lbp, 0, be16_to_cpu(leaf->hdr.count) - 1); count 222 fs/xfs/xfs_dir2_leaf.c index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval; count 266 fs/xfs/xfs_dir2_leaf.c if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] < count 275 fs/xfs/xfs_dir2_leaf.c leaf->hdr.count)] < needbytes) { count 332 fs/xfs/xfs_dir2_leaf.c lfloglow = be16_to_cpu(leaf->hdr.count); count 441 fs/xfs/xfs_dir2_leaf.c if (index < be16_to_cpu(leaf->hdr.count)) count 443 fs/xfs/xfs_dir2_leaf.c (be16_to_cpu(leaf->hdr.count) - index) * sizeof(*lep)); count 448 fs/xfs/xfs_dir2_leaf.c lfloghigh = be16_to_cpu(leaf->hdr.count); count 449 fs/xfs/xfs_dir2_leaf.c be16_add_cpu(&leaf->hdr.count, 1); count 479 fs/xfs/xfs_dir2_leaf.c highstale < be16_to_cpu(leaf->hdr.count) && count 491 fs/xfs/xfs_dir2_leaf.c (highstale == be16_to_cpu(leaf->hdr.count) || count 571 fs/xfs/xfs_dir2_leaf.c ASSERT(be16_to_cpu(leaf->hdr.count) <= xfs_dir2_max_leaf_ents(mp)); count 576 fs/xfs/xfs_dir2_leaf.c ASSERT((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <= count 581 fs/xfs/xfs_dir2_leaf.c for (i = stale = 0; i < be16_to_cpu(leaf->hdr.count); i++) { count 582 fs/xfs/xfs_dir2_leaf.c if (i + 1 < be16_to_cpu(leaf->hdr.count)) count 613 fs/xfs/xfs_dir2_leaf.c for (from = to = 0, loglow = -1; from < be16_to_cpu(leaf->hdr.count); from++) { count 630 fs/xfs/xfs_dir2_leaf.c be16_add_cpu(&leaf->hdr.count, -(be16_to_cpu(leaf->hdr.stale))); count 679 fs/xfs/xfs_dir2_leaf.c highstale < be16_to_cpu(leaf->hdr.count) && count 688 fs/xfs/xfs_dir2_leaf.c (highstale == be16_to_cpu(leaf->hdr.count) || count 697 fs/xfs/xfs_dir2_leaf.c for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) { count 732 fs/xfs/xfs_dir2_leaf.c be16_add_cpu(&leaf->hdr.count, -(from - to)); count 741 fs/xfs/xfs_dir2_leaf.c highstale = be16_to_cpu(leaf->hdr.count); count 742 fs/xfs/xfs_dir2_leaf.c *highlogp = be16_to_cpu(leaf->hdr.count) - 1; count 1160 fs/xfs/xfs_dir2_leaf.c leaf->hdr.count = 0; count 1360 fs/xfs/xfs_dir2_leaf.c for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) && count 1652 fs/xfs/xfs_dir2_leaf.c if (!leaf->hdr.count) count 1659 fs/xfs/xfs_dir2_leaf.c for (lep = leaf->ents, low = 0, high = be16_to_cpu(leaf->hdr.count) - 1, count 1835 fs/xfs/xfs_dir2_leaf.c (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)) * (uint)sizeof(leaf->ents[0]) + count 49 fs/xfs/xfs_dir2_leaf.h __be16 count; /* count of entries */ count 219 fs/xfs/xfs_dir2_node.c if (be16_to_cpu(leaf->hdr.count) == xfs_dir2_max_leaf_ents(mp)) { count 226 fs/xfs/xfs_dir2_node.c ASSERT(index == be16_to_cpu(leaf->hdr.count) || count 244 fs/xfs/xfs_dir2_node.c lfloglow = be16_to_cpu(leaf->hdr.count); count 252 fs/xfs/xfs_dir2_node.c if (index < be16_to_cpu(leaf->hdr.count)) count 254 fs/xfs/xfs_dir2_node.c (be16_to_cpu(leaf->hdr.count) - index) * sizeof(*lep)); count 256 fs/xfs/xfs_dir2_node.c lfloghigh = be16_to_cpu(leaf->hdr.count); count 257 fs/xfs/xfs_dir2_node.c be16_add_cpu(&leaf->hdr.count, 1); count 283 fs/xfs/xfs_dir2_node.c highstale < be16_to_cpu(leaf->hdr.count) && count 296 fs/xfs/xfs_dir2_node.c (highstale == be16_to_cpu(leaf->hdr.count) || count 356 fs/xfs/xfs_dir2_node.c ASSERT(be16_to_cpu(leaf->hdr.count) <= xfs_dir2_max_leaf_ents(mp)); count 357 fs/xfs/xfs_dir2_node.c for (i = stale = 0; i < be16_to_cpu(leaf->hdr.count); i++) { count 358 fs/xfs/xfs_dir2_node.c if (i + 1 < be16_to_cpu(leaf->hdr.count)) { count 382 fs/xfs/xfs_dir2_node.c if (count) count 383 fs/xfs/xfs_dir2_node.c *count = be16_to_cpu(leaf->hdr.count); count 384 fs/xfs/xfs_dir2_node.c if (!leaf->hdr.count) count 386 fs/xfs/xfs_dir2_node.c return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval); count 422 fs/xfs/xfs_dir2_node.c ASSERT(be16_to_cpu(leaf->hdr.count) > 0); count 443 fs/xfs/xfs_dir2_node.c for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) && count 566 fs/xfs/xfs_dir2_node.c ASSERT(be16_to_cpu(leaf->hdr.count) > 0); count 583 fs/xfs/xfs_dir2_node.c for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) && count 656 fs/xfs/xfs_dir2_node.c ASSERT(index == be16_to_cpu(leaf->hdr.count) || count 715 fs/xfs/xfs_dir2_node.c start_d, count); count 719 fs/xfs/xfs_dir2_node.c if (count == 0) { count 730 fs/xfs/xfs_dir2_node.c if (start_d < be16_to_cpu(leaf_d->hdr.count)) { count 731 fs/xfs/xfs_dir2_node.c memmove(&leaf_d->ents[start_d + count], &leaf_d->ents[start_d], count 732 fs/xfs/xfs_dir2_node.c (be16_to_cpu(leaf_d->hdr.count) - start_d) * count 734 fs/xfs/xfs_dir2_node.c xfs_dir2_leaf_log_ents(tp, bp_d, start_d + count, count 735 fs/xfs/xfs_dir2_node.c count + be16_to_cpu(leaf_d->hdr.count) - 1); count 744 fs/xfs/xfs_dir2_node.c for (i = start_s, stale = 0; i < start_s + count; i++) { count 754 fs/xfs/xfs_dir2_node.c count * sizeof(xfs_dir2_leaf_entry_t)); count 755 fs/xfs/xfs_dir2_node.c xfs_dir2_leaf_log_ents(tp, bp_d, start_d, start_d + count - 1); count 760 fs/xfs/xfs_dir2_node.c if (start_s + count < be16_to_cpu(leaf_s->hdr.count)) { count 761 fs/xfs/xfs_dir2_node.c memmove(&leaf_s->ents[start_s], &leaf_s->ents[start_s + count], count 762 fs/xfs/xfs_dir2_node.c count * sizeof(xfs_dir2_leaf_entry_t)); count 763 fs/xfs/xfs_dir2_node.c xfs_dir2_leaf_log_ents(tp, bp_s, start_s, start_s + count - 1); count 768 fs/xfs/xfs_dir2_node.c be16_add_cpu(&leaf_s->hdr.count, -(count)); count 770 fs/xfs/xfs_dir2_node.c be16_add_cpu(&leaf_d->hdr.count, count); count 794 fs/xfs/xfs_dir2_node.c if (be16_to_cpu(leaf1->hdr.count) > 0 && count 795 fs/xfs/xfs_dir2_node.c be16_to_cpu(leaf2->hdr.count) > 0 && count 797 fs/xfs/xfs_dir2_node.c be32_to_cpu(leaf2->ents[be16_to_cpu(leaf2->hdr.count) - 1].hashval) < count 798 fs/xfs/xfs_dir2_node.c be32_to_cpu(leaf1->ents[be16_to_cpu(leaf1->hdr.count) - 1].hashval))) count 817 fs/xfs/xfs_dir2_node.c int count; /* count (& direction) leaves */ count 841 fs/xfs/xfs_dir2_node.c oldsum = be16_to_cpu(leaf1->hdr.count) + be16_to_cpu(leaf2->hdr.count); count 853 fs/xfs/xfs_dir2_node.c if (mid >= be16_to_cpu(leaf1->hdr.count)) count 854 fs/xfs/xfs_dir2_node.c midhash = be32_to_cpu(leaf2->ents[mid - be16_to_cpu(leaf1->hdr.count)].hashval); count 870 fs/xfs/xfs_dir2_node.c count = be16_to_cpu(leaf1->hdr.count) - mid + (isleft == 0); count 871 fs/xfs/xfs_dir2_node.c if (count > 0) count 873 fs/xfs/xfs_dir2_node.c be16_to_cpu(leaf1->hdr.count) - count, blk2->bp, 0, count); count 874 fs/xfs/xfs_dir2_node.c else if (count < 0) count 876 fs/xfs/xfs_dir2_node.c be16_to_cpu(leaf1->hdr.count), count); count 877 fs/xfs/xfs_dir2_node.c ASSERT(be16_to_cpu(leaf1->hdr.count) + be16_to_cpu(leaf2->hdr.count) == oldsum); count 882 fs/xfs/xfs_dir2_node.c if (be16_to_cpu(leaf1->hdr.count) < be16_to_cpu(leaf2->hdr.count)) count 884 fs/xfs/xfs_dir2_node.c else if (be16_to_cpu(leaf1->hdr.count) > be16_to_cpu(leaf2->hdr.count)) count 888 fs/xfs/xfs_dir2_node.c swap ^ (blk1->index <= be16_to_cpu(leaf1->hdr.count)); count 893 fs/xfs/xfs_dir2_node.c blk2->index = blk1->index - be16_to_cpu(leaf1->hdr.count); count 1113 fs/xfs/xfs_dir2_node.c (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale))) < count 1197 fs/xfs/xfs_dir2_node.c int count; /* leaf live entry count */ count 1214 fs/xfs/xfs_dir2_node.c count = be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale); count 1215 fs/xfs/xfs_dir2_node.c bytes = (uint)sizeof(leaf->hdr) + count * (uint)sizeof(leaf->ents[0]); count 1229 fs/xfs/xfs_dir2_node.c if (count == 0) { count 1268 fs/xfs/xfs_dir2_node.c count = be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale); count 1272 fs/xfs/xfs_dir2_node.c count += be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale); count 1273 fs/xfs/xfs_dir2_node.c bytes -= count * (uint)sizeof(leaf->ents[0]); count 1343 fs/xfs/xfs_dir2_node.c drop_blk->hashval = be32_to_cpu(drop_leaf->ents[be16_to_cpu(drop_leaf->hdr.count) - 1].hashval); count 1346 fs/xfs/xfs_dir2_node.c be16_to_cpu(drop_leaf->hdr.count)); count 1349 fs/xfs/xfs_dir2_node.c be16_to_cpu(save_leaf->hdr.count), be16_to_cpu(drop_leaf->hdr.count)); count 1350 fs/xfs/xfs_dir2_node.c save_blk->hashval = be32_to_cpu(save_leaf->ents[be16_to_cpu(save_leaf->hdr.count) - 1].hashval); count 79 fs/xfs/xfs_dir2_sf.c int count; /* shortform entry count */ count 92 fs/xfs/xfs_dir2_sf.c count = i8count = namelen = 0; count 99 fs/xfs/xfs_dir2_sf.c for (i = 0; i < be32_to_cpu(btp->count); i++) { count 121 fs/xfs/xfs_dir2_sf.c count++; count 129 fs/xfs/xfs_dir2_sf.c count + /* namelen */ count 130 fs/xfs/xfs_dir2_sf.c count * (uint)sizeof(xfs_dir2_sf_off_t) + /* offset */ count 133 fs/xfs/xfs_dir2_sf.c (uint)sizeof(xfs_dir2_ino8_t) * count : count 134 fs/xfs/xfs_dir2_sf.c (uint)sizeof(xfs_dir2_ino4_t) * count); count 141 fs/xfs/xfs_dir2_sf.c sfhp->count = count; count 317 fs/xfs/xfs_dir2_sf.c (sfp->hdr.count + 2) * count 414 fs/xfs/xfs_dir2_sf.c sfp->hdr.count++; count 503 fs/xfs/xfs_dir2_sf.c sfp->hdr.count++; count 557 fs/xfs/xfs_dir2_sf.c for (i = 0; i < sfp->hdr.count; i++) { count 569 fs/xfs/xfs_dir2_sf.c (sfp->hdr.count + 3) * (uint)sizeof(xfs_dir2_leaf_entry_t) + count 625 fs/xfs/xfs_dir2_sf.c i < sfp->hdr.count; count 638 fs/xfs/xfs_dir2_sf.c (sfp->hdr.count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t) + count 689 fs/xfs/xfs_dir2_sf.c sfp->hdr.count = 0; count 779 fs/xfs/xfs_dir2_sf.c for (i = 0; i < sfp->hdr.count; i++) { count 858 fs/xfs/xfs_dir2_sf.c for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->hdr.count; count 924 fs/xfs/xfs_dir2_sf.c for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp); i < sfp->hdr.count; count 937 fs/xfs/xfs_dir2_sf.c if (i == sfp->hdr.count) count 954 fs/xfs/xfs_dir2_sf.c sfp->hdr.count--; count 1020 fs/xfs/xfs_dir2_sf.c (sfp->hdr.count + 1) * count 1059 fs/xfs/xfs_dir2_sf.c i < sfp->hdr.count; count 1076 fs/xfs/xfs_dir2_sf.c if (i == sfp->hdr.count) { count 1156 fs/xfs/xfs_dir2_sf.c (oldsfp->hdr.count + 1) * count 1168 fs/xfs/xfs_dir2_sf.c sfp->hdr.count = oldsfp->hdr.count; count 1177 fs/xfs/xfs_dir2_sf.c i < sfp->hdr.count; count 1233 fs/xfs/xfs_dir2_sf.c (oldsfp->hdr.count + 1) * count 1245 fs/xfs/xfs_dir2_sf.c sfp->hdr.count = oldsfp->hdr.count; count 1254 fs/xfs/xfs_dir2_sf.c i < sfp->hdr.count; count 76 fs/xfs/xfs_dir2_sf.h __uint8_t count; /* count of entries */ count 3554 fs/xfs/xfs_inode.c xfs_iext_add(ifp, idx, count); count 3555 fs/xfs/xfs_inode.c for (i = idx; i < idx + count; i++, new++) count 3654 fs/xfs/xfs_inode.c int count = ext_diff; count 3656 fs/xfs/xfs_inode.c while (count) { count 3658 fs/xfs/xfs_inode.c erp->er_extcount = count; count 3659 fs/xfs/xfs_inode.c count -= MIN(count, (int)XFS_LINEAR_EXTS); count 3660 fs/xfs/xfs_inode.c if (count) { count 3723 fs/xfs/xfs_inode.c ext_cnt = count; count 3931 fs/xfs/xfs_inode.c ext_cnt = count; count 3970 fs/xfs/xfs_inode.c ifp->if_bytes -= count * sizeof(xfs_bmbt_rec_t); count 70 fs/xfs/xfs_iomap.c (void *)((unsigned long)count), count 102 fs/xfs/xfs_iomap.c (void *)((unsigned long)count), count 193 fs/xfs/xfs_iomap.c xfs_iomap_enter_trace(XFS_IOMAP_READ_ENTER, ip, offset, count); count 198 fs/xfs/xfs_iomap.c xfs_iomap_enter_trace(XFS_IOMAP_WRITE_ENTER, ip, offset, count); count 205 fs/xfs/xfs_iomap.c xfs_iomap_enter_trace(XFS_IOMAP_ALLOC_ENTER, ip, offset, count); count 222 fs/xfs/xfs_iomap.c if ((xfs_fsize_t)offset + count > mp->m_maxioffset) count 223 fs/xfs/xfs_iomap.c count = mp->m_maxioffset - offset; count 224 fs/xfs/xfs_iomap.c end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); count 242 fs/xfs/xfs_iomap.c offset, count, iomapp, &imap, flags); count 247 fs/xfs/xfs_iomap.c error = xfs_iomap_write_direct(ip, offset, count, flags, count 250 fs/xfs/xfs_iomap.c error = xfs_iomap_write_delay(ip, offset, count, flags, count 255 fs/xfs/xfs_iomap.c offset, count, iomapp, &imap, flags); count 266 fs/xfs/xfs_iomap.c offset, count, iomapp, &imap, flags); count 270 fs/xfs/xfs_iomap.c error = xfs_iomap_write_allocate(ip, offset, count, count 434 fs/xfs/xfs_iomap.c last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); count 435 fs/xfs/xfs_iomap.c if ((offset + count) > isize) { count 576 fs/xfs/xfs_iomap.c if ((ioflag & BMAPI_SYNC) || (offset + count) <= isize) count 583 fs/xfs/xfs_iomap.c start_fsb = XFS_B_TO_FSBT(mp, ((xfs_ufsize_t)(offset + count - 1))); count 644 fs/xfs/xfs_iomap.c error = xfs_iomap_eof_want_preallocate(mp, ip, isize, offset, count, count 650 fs/xfs/xfs_iomap.c aligned_offset = XFS_WRITEIO_ALIGN(mp, (offset + count - 1)); count 654 fs/xfs/xfs_iomap.c last_fsb = XFS_B_TO_FSB(mp, ((xfs_ufsize_t)(offset + count))); count 680 fs/xfs/xfs_iomap.c ip, offset, count); count 886 fs/xfs/xfs_iomap.c xfs_iomap_enter_trace(XFS_IOMAP_UNWRITTEN, ip, offset, count); count 889 fs/xfs/xfs_iomap.c count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + count); count 741 fs/xfs/xfs_itable.c int count; /* count value for bulkstat call */ count 764 fs/xfs/xfs_itable.c count = 1; count 765 fs/xfs/xfs_itable.c if (xfs_bulkstat(mp, lastinop, &count, xfs_bulkstat_one, count 769 fs/xfs/xfs_itable.c if (count == 0 || (xfs_ino_t)*lastinop != ino) count 786 fs/xfs/xfs_itable.c if (copy_to_user(ubuffer, buffer, count * sizeof(*buffer))) count 788 fs/xfs/xfs_itable.c *written = count * sizeof(*buffer); count 822 fs/xfs/xfs_itable.c left = *count; count 823 fs/xfs/xfs_itable.c *count = 0; count 886 fs/xfs/xfs_itable.c *count += bufidx; count 911 fs/xfs/xfs_itable.c *count += bufidx; count 1452 fs/xfs/xfs_log.c uint count; /* byte count of bwrite */ count 1468 fs/xfs/xfs_log.c count = XLOG_LSUNITTOB(log, XLOG_BTOLSUNIT(log, count_init)); count 1470 fs/xfs/xfs_log.c count = BBTOB(BTOBB(count_init)); count 1472 fs/xfs/xfs_log.c roundoff = count - count_init; count 1502 fs/xfs/xfs_log.c XFS_STATS_ADD(xs_log_blocks, BTOBB(count)); count 1505 fs/xfs/xfs_log.c if (XFS_BUF_ADDR(bp) + BTOBB(count) > log->l_logBBsize) { count 1506 fs/xfs/xfs_log.c split = count - (BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp))); count 1507 fs/xfs/xfs_log.c count = BBTOB(log->l_logBBsize - XFS_BUF_ADDR(bp)); count 1512 fs/xfs/xfs_log.c XFS_BUF_SET_COUNT(bp, count); count 1525 fs/xfs/xfs_log.c ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize); count 1527 fs/xfs/xfs_log.c xlog_verify_iclog(log, iclog, count, B_TRUE); count 1549 fs/xfs/xfs_log.c (__psint_t)count), split); count 1571 fs/xfs/xfs_log.c ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize); count 3411 fs/xfs/xfs_log.c for (ptr += BBSIZE; ptr < ((xfs_caddr_t)&iclog->ic_header) + count; count 2190 fs/xfs/xfs_mount.c cntp->icsb_icount = count + resid; count 2193 fs/xfs/xfs_mount.c cntp->icsb_ifree = count + resid; count 2196 fs/xfs/xfs_mount.c cntp->icsb_fdblocks = count + resid; count 2263 fs/xfs/xfs_mount.c uint64_t count, resid; count 2273 fs/xfs/xfs_mount.c count = mp->m_sb.sb_icount; count 2274 fs/xfs/xfs_mount.c resid = do_div(count, weight); count 2275 fs/xfs/xfs_mount.c if (count < max(min, XFS_ICSB_INO_CNTR_REENABLE)) count 2279 fs/xfs/xfs_mount.c count = mp->m_sb.sb_ifree; count 2280 fs/xfs/xfs_mount.c resid = do_div(count, weight); count 2281 fs/xfs/xfs_mount.c if (count < max(min, XFS_ICSB_INO_CNTR_REENABLE)) count 2285 fs/xfs/xfs_mount.c count = mp->m_sb.sb_fdblocks; count 2286 fs/xfs/xfs_mount.c resid = do_div(count, weight); count 2287 fs/xfs/xfs_mount.c if (count < max(min, XFS_ICSB_FDBLK_CNTR_REENABLE(mp))) count 2292 fs/xfs/xfs_mount.c count = resid = 0; /* quiet, gcc */ count 2296 fs/xfs/xfs_mount.c xfs_icsb_enable_counter(mp, field, count, resid); count 1233 fs/xfs/xfs_trans.c unsigned int logres, count; count 1246 fs/xfs/xfs_trans.c count = trans->t_log_count; count 1271 fs/xfs/xfs_trans.c XFS_TRANS_PERM_LOG_RES, count); count 142 fs/xfs/xfs_trans_ail.c int flush_log, count, stuck; count 172 fs/xfs/xfs_trans_ail.c flush_log = stuck = count = restarts = 0; count 230 fs/xfs/xfs_trans_ail.c count++; count 266 fs/xfs/xfs_trans_ail.c if (!count) { count 278 fs/xfs/xfs_trans_ail.c ((stuck * 100) / count > 90)) { count 65 fs/xfs/xfs_vfsops.c int count = 0, pincount; count 82 fs/xfs/xfs_vfsops.c count++; count 84 fs/xfs/xfs_vfsops.c } while (count < 2); count 2983 fs/xfs/xfs_vnodeops.c xfs_off_t count; count 3014 fs/xfs/xfs_vnodeops.c count = len; count 3019 fs/xfs/xfs_vnodeops.c allocatesize_fsb = XFS_B_TO_FSB(mp, count); count 123 include/acpi/acdisasm.h u32 count; count 242 include/acpi/aclocal.h u32 count; count 261 include/acpi/aclocal.h u32 *count; count 142 include/acpi/acobject.h u32 count; /* # of elements in package */ count 38 include/acpi/acpi_bus.h u32 count; count 215 include/acpi/acstruct.h u32 count; count 670 include/acpi/actypes.h u32 count; /* # of elements in package */ count 698 include/acpi/actypes.h u32 count; count 826 include/acpi/actypes.h u32 count; count 56 include/acpi/processor.h u32 count; count 61 include/acpi/processor.h u32 count; count 88 include/acpi/processor.h int count; count 95 include/asm-cris/arch-v10/uaccess.h if (count == 0) count 143 include/asm-cris/arch-v10/uaccess.h : "=r" (res), "=r" (dst), "=r" (src), "=r" (count) count 144 include/asm-cris/arch-v10/uaccess.h : "3" (count), "1" (dst), "2" (src), "g" (-EFAULT) count 101 include/asm-cris/arch-v32/uaccess.h if (count == 0) count 150 include/asm-cris/arch-v32/uaccess.h : "=r" (res), "=b" (dst), "=b" (src), "=r" (count) count 151 include/asm-cris/arch-v32/uaccess.h : "3" (count), "1" (dst), "2" (src), "g" (-EFAULT) count 12 include/asm-cris/io.h u32 (*read_io)(u32 port, void *addr, int size, int count); count 13 include/asm-cris/io.h void (*write_io)(u32 port, void *addr, int size, int count); count 133 include/asm-cris/io.h #define insb(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,1,count) : 0) count 134 include/asm-cris/io.h #define insw(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,2,count) : 0) count 135 include/asm-cris/io.h #define insl(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,4,count) : 0) count 139 include/asm-cris/io.h #define outsb(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,1,count) count 140 include/asm-cris/io.h #define outsw(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,2,count) count 141 include/asm-cris/io.h #define outsl(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,3,count) count 206 include/asm-cris/uaccess.h return __do_strncpy_from_user(dst, src, count); count 214 include/asm-cris/uaccess.h res = __do_strncpy_from_user(dst, src, count); count 116 include/asm-frv/io.h memset((void __force *) addr, val, count); count 121 include/asm-frv/io.h memcpy(dst, (void __force *) src, count); count 126 include/asm-frv/io.h memcpy((void __force *) dst, src, count); count 343 include/asm-frv/io.h io_insb((unsigned long) p, dst, count); count 348 include/asm-frv/io.h io_insw((unsigned long) p, dst, count); count 353 include/asm-frv/io.h __insl_ns((unsigned long) p, dst, count); count 358 include/asm-frv/io.h io_outsb((unsigned long) p, src, count); count 363 include/asm-frv/io.h io_outsw((unsigned long) p, src, count); count 368 include/asm-frv/io.h __outsl_ns((unsigned long) p, src, count); count 268 include/asm-frv/uaccess.h #define clear_user(dst,count) __memset_user(____force(dst), (count)) count 274 include/asm-frv/uaccess.h #define clear_user(dst,count) (memset(____force(dst), 0, (count)), 0) count 10 include/asm-generic/ide_iops.h while (count--) { count 18 include/asm-generic/ide_iops.h while (count--) { count 26 include/asm-generic/ide_iops.h while (count--) { count 34 include/asm-generic/ide_iops.h while (count--) { count 23 include/asm-generic/mutex-dec.h if (unlikely(atomic_dec_return(count) < 0)) count 24 include/asm-generic/mutex-dec.h fail_fn(count); count 42 include/asm-generic/mutex-dec.h if (unlikely(atomic_dec_return(count) < 0)) count 43 include/asm-generic/mutex-dec.h return fail_fn(count); count 67 include/asm-generic/mutex-dec.h if (unlikely(atomic_inc_return(count) <= 0)) count 68 include/asm-generic/mutex-dec.h fail_fn(count); count 102 include/asm-generic/mutex-dec.h if (likely(atomic_cmpxchg(count, 1, 0) == 1)) { count 108 include/asm-generic/mutex-dec.h return fail_fn(count); count 13 include/asm-generic/mutex-null.h #define __mutex_fastpath_lock(count, fail_fn) fail_fn(count) count 14 include/asm-generic/mutex-null.h #define __mutex_fastpath_lock_retval(count, fail_fn) fail_fn(count) count 15 include/asm-generic/mutex-null.h #define __mutex_fastpath_unlock(count, fail_fn) fail_fn(count) count 16 include/asm-generic/mutex-null.h #define __mutex_fastpath_trylock(count, fail_fn) fail_fn(count) count 28 include/asm-generic/mutex-xchg.h if (unlikely(atomic_xchg(count, 0) != 1)) count 29 include/asm-generic/mutex-xchg.h fail_fn(count); count 47 include/asm-generic/mutex-xchg.h if (unlikely(atomic_xchg(count, 0) != 1)) count 48 include/asm-generic/mutex-xchg.h return fail_fn(count); count 71 include/asm-generic/mutex-xchg.h if (unlikely(atomic_xchg(count, 1) != 0)) count 72 include/asm-generic/mutex-xchg.h fail_fn(count); count 95 include/asm-generic/mutex-xchg.h int prev = atomic_xchg(count, 0); count 109 include/asm-generic/mutex-xchg.h prev = atomic_xchg(count, prev); count 172 include/asm-m32r/io.h memset((void __force *) addr, val, count); count 178 include/asm-m32r/io.h memcpy(dst, (void __force *) src, count); count 184 include/asm-m32r/io.h memcpy((void __force *) dst, src, count); count 303 include/asm-m32r/spinlock.h atomic_t *count = (atomic_t*)lock; count 304 include/asm-m32r/spinlock.h if (atomic_dec_return(count) >= 0) count 306 include/asm-m32r/spinlock.h atomic_inc(count); count 312 include/asm-m32r/spinlock.h atomic_t *count = (atomic_t *)lock; count 313 include/asm-m32r/spinlock.h if (atomic_sub_and_test(RW_LOCK_BIAS, count)) count 315 include/asm-m32r/spinlock.h atomic_add(RW_LOCK_BIAS, count); count 38 include/asm-m68k/adb_iop.h __u8 count; /* no. of data bytes */ count 206 include/asm-m68k/apollodma.h count--; count 208 include/asm-m68k/apollodma.h dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); count 209 include/asm-m68k/apollodma.h dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); count 211 include/asm-m68k/apollodma.h dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); count 212 include/asm-m68k/apollodma.h dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); count 231 include/asm-m68k/apollodma.h unsigned short count; count 233 include/asm-m68k/apollodma.h count = 1 + dma_inb(io_port); count 234 include/asm-m68k/apollodma.h count += dma_inb(io_port) << 8; count 236 include/asm-m68k/apollodma.h return (dmanr<=3)? count : (count<<1); count 61 include/asm-m68k/fbio.h int count; count 199 include/asm-m68k/fbio.h __u32 count; count 209 include/asm-m68k/fbio.h __u32 count; count 306 include/asm-m68k/fbio.h int count; count 337 include/asm-m68k/io.h __builtin_memset((void __force *) addr, val, count); count 341 include/asm-m68k/io.h __builtin_memcpy(dst, (void __force *) src, count); count 345 include/asm-m68k/io.h __builtin_memcpy((void __force *) dst, src, count); count 47 include/asm-m68k/string.h : "+a" (sc), "+d" (count)); count 122 include/asm-mn10300/io.h if (count) { count 127 include/asm-mn10300/io.h } while (--count); count 133 include/asm-mn10300/io.h if (count) { count 138 include/asm-mn10300/io.h } while (--count); count 144 include/asm-mn10300/io.h if (count) { count 149 include/asm-mn10300/io.h } while (--count); count 155 include/asm-mn10300/io.h if (count) { count 159 include/asm-mn10300/io.h } while (--count); count 165 include/asm-mn10300/io.h if (count) { count 169 include/asm-mn10300/io.h } while (--count); count 177 include/asm-mn10300/io.h return __outsl(addr, buffer, count); count 179 include/asm-mn10300/io.h if (count) { count 183 include/asm-mn10300/io.h } while (--count); count 196 include/asm-mn10300/io.h insb((unsigned long) (p), (dst), (count)) count 198 include/asm-mn10300/io.h insw((unsigned long) (p), (dst), (count)) count 200 include/asm-mn10300/io.h insl((unsigned long) (p), (dst), (count)) count 203 include/asm-mn10300/io.h outsb((unsigned long) (p), (src), (count)) count 205 include/asm-mn10300/io.h outsw((unsigned long) (p), (src), (count)) count 207 include/asm-mn10300/io.h outsl((unsigned long) (p), (src), (count)) count 99 include/asm-parisc/dma.h unsigned short count; count 101 include/asm-parisc/dma.h count = 1 + dma_inb(io_port); count 102 include/asm-parisc/dma.h count += dma_inb(io_port) << 8; count 104 include/asm-parisc/dma.h return (dmanr<=3)? count : (count<<1); count 29 include/asm-parisc/ide.h while (count--) { count 37 include/asm-parisc/ide.h while (count--) { count 45 include/asm-parisc/ide.h while (count--) { count 53 include/asm-parisc/ide.h while (count--) { count 268 include/asm-x86/dma.h count--; count 270 include/asm-x86/dma.h dma_outb(count & 0xff, ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE); count 271 include/asm-x86/dma.h dma_outb((count >> 8) & 0xff, count 274 include/asm-x86/dma.h dma_outb((count >> 1) & 0xff, count 276 include/asm-x86/dma.h dma_outb((count >> 9) & 0xff, count 294 include/asm-x86/dma.h unsigned short count; count 299 include/asm-x86/dma.h count = 1 + dma_inb(io_port); count 300 include/asm-x86/dma.h count += dma_inb(io_port) << 8; count 302 include/asm-x86/dma.h return (dmanr <= 3) ? count : (count << 1); count 221 include/asm-x86/ds.h unsigned long count; count 145 include/asm-x86/io_32.h memset((void __force *)addr, val, count); count 151 include/asm-x86/io_32.h __memcpy(dst, (const void __force *)src, count); count 157 include/asm-x86/io_32.h __memcpy((void __force *)dst, src, count); count 268 include/asm-x86/io_32.h static inline void outs##bwl(int port, const void *addr, unsigned long count) \ count 271 include/asm-x86/io_32.h : "+S"(addr), "+c"(count) : "d"(port)); \ count 274 include/asm-x86/io_32.h static inline void ins##bwl(int port, void *addr, unsigned long count) \ count 277 include/asm-x86/io_32.h : "+D"(addr), "+c"(count) : "d"(port)); \ count 101 include/asm-x86/io_64.h unsigned long count) \ count 104 include/asm-x86/io_64.h : "=D" (addr), "=c" (count) \ count 105 include/asm-x86/io_64.h : "d" (port), "0" (addr), "1" (count)); \ count 110 include/asm-x86/io_64.h unsigned long count) \ count 113 include/asm-x86/io_64.h : "=S" (addr), "=c" (count) \ count 114 include/asm-x86/io_64.h : "d" (port), "0" (addr), "1" (count)); \ count 193 include/asm-x86/kvm.h __u32 count; /* can be 65536 */ count 41 include/asm-x86/mach-default/mach_timer.h unsigned long count = 0; count 43 include/asm-x86/mach-default/mach_timer.h count++; count 45 include/asm-x86/mach-default/mach_timer.h *count_p = count; count 132 include/asm-x86/mca_dma.h count--; /* transfers one more than count -- correct for this */ count 135 include/asm-x86/mca_dma.h outb(count & 0xff, MCA_DMA_REG_EXE); count 136 include/asm-x86/mca_dma.h outb((count >> 8) & 0xff, MCA_DMA_REG_EXE); count 149 include/asm-x86/mca_dma.h unsigned short count; count 152 include/asm-x86/mca_dma.h count = 1 + inb(MCA_DMA_REG_EXE); count 153 include/asm-x86/mca_dma.h count += inb(MCA_DMA_REG_EXE) << 8; count 155 include/asm-x86/mca_dma.h return count; count 28 include/asm-x86/mutex_32.h typecheck(atomic_t *, count); \ count 36 include/asm-x86/mutex_32.h : "a" (count) \ count 54 include/asm-x86/mutex_32.h if (unlikely(atomic_dec_return(count) < 0)) count 55 include/asm-x86/mutex_32.h return fail_fn(count); count 77 include/asm-x86/mutex_32.h typecheck(atomic_t *, count); \ count 85 include/asm-x86/mutex_32.h : "a" (count) \ count 117 include/asm-x86/mutex_32.h if (likely(atomic_cmpxchg(count, 1, 0) == 1)) count 121 include/asm-x86/mutex_32.h return fail_fn(count); count 49 include/asm-x86/mutex_64.h if (unlikely(atomic_dec_return(count) < 0)) count 50 include/asm-x86/mutex_64.h return fail_fn(count); count 94 include/asm-x86/mutex_64.h if (likely(atomic_cmpxchg(count, 1, 0) == 1)) count 260 include/asm-x86/paravirt.h void (*alloc_pmd_clone)(unsigned long pfn, unsigned long clonepfn, unsigned long start, unsigned long count); count 1020 include/asm-x86/paravirt.h PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count); count 549 include/asm-x86/pgtable.h memcpy(dst, src, count * sizeof(pgd_t)); count 627 include/asm-x86/processor.h *ecx = count; count 68 include/asm-x86/rwsem.h signed long count; count 114 include/asm-x86/rwsem.h : "+m" (sem->count) count 135 include/asm-x86/rwsem.h : "+m" (sem->count), "=&a" (result), "=&r" (tmp) count 158 include/asm-x86/rwsem.h : "+m" (sem->count), "=d" (tmp) count 173 include/asm-x86/rwsem.h signed long ret = cmpxchg(&sem->count, count 194 include/asm-x86/rwsem.h : "+m" (sem->count), "=d" (tmp) count 213 include/asm-x86/rwsem.h : "+m" (sem->count) count 230 include/asm-x86/rwsem.h : "+m" (sem->count) count 241 include/asm-x86/rwsem.h : "+m" (sem->count) count 253 include/asm-x86/rwsem.h : "+r" (tmp), "+m" (sem->count) count 261 include/asm-x86/rwsem.h return (sem->count != 0); count 330 include/asm-x86/spinlock.h atomic_t *count = (atomic_t *)lock; count 332 include/asm-x86/spinlock.h atomic_dec(count); count 333 include/asm-x86/spinlock.h if (atomic_read(count) >= 0) count 335 include/asm-x86/spinlock.h atomic_inc(count); count 341 include/asm-x86/spinlock.h atomic_t *count = (atomic_t *)lock; count 343 include/asm-x86/spinlock.h if (atomic_sub_and_test(RW_LOCK_BIAS, count)) count 345 include/asm-x86/spinlock.h atomic_add(RW_LOCK_BIAS, count); count 201 include/asm-x86/string_32.h : "a" (c), "1" (s), "0" (count) count 207 include/asm-x86/string_32.h #define __constant_count_memset(s, c, count) __memset_generic((s), (c), (count)) count 227 include/asm-x86/string_32.h : "a" (c), "q" (count), "0" (count/4), "1" ((long)s) count 248 include/asm-x86/string_32.h switch (count) { count 270 include/asm-x86/string_32.h : "a" (eax), "0" (count/4), "1" ((long)s) \ count 282 include/asm-x86/string_32.h switch (count % 4) { count 302 include/asm-x86/string_32.h (__builtin_constant_p(count) \ count 303 include/asm-x86/string_32.h ? __constant_c_and_count_memset((s), (c), (count)) \ count 304 include/asm-x86/string_32.h : __constant_c_memset((s), (c), (count))) count 307 include/asm-x86/string_32.h (__builtin_constant_p(count) \ count 308 include/asm-x86/string_32.h ? __constant_count_memset((s), (c), (count)) \ count 309 include/asm-x86/string_32.h : __memset_generic((s), (c), (count))) count 315 include/asm-x86/string_32.h (count)) \ count 316 include/asm-x86/string_32.h : __memset((s), (c), (count))) count 48 include/asm-x86/summit/apic.h int count = 0; count 56 include/asm-x86/summit/apic.h for (count = 0, i = NR_CPUS; --i >= 0; ) { count 59 include/asm-x86/summit/apic.h ++count; count 64 include/asm-x86/summit/apic.h BUG_ON(count >= XAPIC_DEST_CPUS_SHIFT); count 65 include/asm-x86/summit/apic.h id = my_cluster | (1UL << count); count 207 include/asm-x86/xen/hypercall.h return _hypercall4(int, mmu_update, req, count, success_count, domid); count 214 include/asm-x86/xen/hypercall.h return _hypercall4(int, mmuext_op, op, count, success_count, domid); count 343 include/asm-x86/xen/hypercall.h return _hypercall3(int, console_io, cmd, count, str); count 363 include/asm-x86/xen/hypercall.h return _hypercall3(int, grant_table_op, cmd, uop, count); count 442 include/asm-x86/xen/hypercall.h mcl->args[2] = count; count 494 include/asm-x86/xen/hypercall.h mcl->args[1] = count; count 505 include/asm-x86/xen/hypercall.h mcl->args[1] = count; count 25 include/asm-xtensa/rwsem.h signed long count; count 50 include/asm-xtensa/rwsem.h sem->count = RWSEM_UNLOCKED_VALUE; count 60 include/asm-xtensa/rwsem.h if (atomic_add_return(1,(atomic_t *)(&sem->count)) > 0) count 70 include/asm-xtensa/rwsem.h while ((tmp = sem->count) >= 0) { count 71 include/asm-xtensa/rwsem.h if (tmp == cmpxchg(&sem->count, tmp, count 88 include/asm-xtensa/rwsem.h (atomic_t *)(&sem->count)); count 99 include/asm-xtensa/rwsem.h tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, count 113 include/asm-xtensa/rwsem.h tmp = atomic_sub_return(1,(atomic_t *)(&sem->count)); count 125 include/asm-xtensa/rwsem.h (atomic_t *)(&sem->count)) < 0) count 134 include/asm-xtensa/rwsem.h atomic_add(delta, (atomic_t *)(&sem->count)); count 145 include/asm-xtensa/rwsem.h tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); count 156 include/asm-xtensa/rwsem.h return atomic_add_return(delta, (atomic_t *)(&sem->count)); count 161 include/asm-xtensa/rwsem.h return (sem->count != 0); count 461 include/asm-xtensa/uaccess.h return __strncpy_from_user(dst, src, count); count 160 include/drm/drm.h int count; /**< Length of user-space structures */ count 267 include/drm/drm.h unsigned long count; count 334 include/drm/drm.h int count; /**< Number of buffers of this size */ count 355 include/drm/drm.h int count; /**< Entries in list */ count 363 include/drm/drm.h int count; count 383 include/drm/drm.h int count; /**< Length of the buffer list */ count 427 include/drm/drm.h int count; count 216 include/drm/drmP.h #define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) count 217 include/drm/drmP.h #define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) count 337 include/drm/drmP.h int count; /**< Number of possible buffers */ count 348 include/drm/drmP.h atomic_t count; /**< Number of free buffers */ count 263 include/drm/r128_drm.h int count; /* Number of vertices in buffer */ count 191 include/drm/radeon_drm.h unsigned char cmd_type, offset, stride, count; count 194 include/drm/radeon_drm.h unsigned char cmd_type, offset, stride, count; count 197 include/drm/radeon_drm.h unsigned char cmd_type, addr_lo, addr_hi, count; count 251 include/drm/radeon_drm.h unsigned char cmd_type, count, reglo, reghi; count 254 include/drm/radeon_drm.h unsigned char cmd_type, count, adrlo, adrhi; count 261 include/drm/radeon_drm.h unsigned short count; /* amount of packet2 to emit */ count 273 include/drm/radeon_drm.h unsigned char cmd_type, count, adrlo, adrhi_flags; count 587 include/drm/radeon_drm.h int count; /* Number of vertices in buffer */ count 124 include/drm/savage_drm.h unsigned int count; count 180 include/drm/savage_drm.h unsigned short count; /* number of consecutive registers */ count 188 include/drm/savage_drm.h unsigned short count; /* number of vertices */ count 195 include/drm/savage_drm.h unsigned short count; /* number of indices that follow */ count 154 include/linux/acpi.h int count; count 314 include/linux/arcdevice.h void *buf, int count); count 316 include/linux/arcdevice.h void *buf, int count); count 37 include/linux/async_tx.h atomic_t count; count 42 include/linux/atm_nicstar.h int count; /* (At least for now) only used in NS_GETPSTAT */ count 29 include/linux/bitops.h order = fls(count); count 37 include/linux/bitops.h order = fls(count) - 1; count 38 include/linux/bitops.h if (count & (count - 1)) count 42 include/linux/blkdev.h int count[2]; count 31 include/linux/can/bcm.h __u32 count; count 21 include/linux/cciss_ioctl.h __u32 count; count 18 include/linux/cdev.h unsigned int count; count 110 include/linux/cgroup.h atomic_t count; count 541 include/linux/coda.h int count; count 198 include/linux/configfs.h const char *page, size_t count) \ count 206 include/linux/configfs.h ret = _item##_attr->store(_item, page, count); \ count 274 include/linux/cpufreq.h ssize_t (*store)(struct cpufreq_policy *, const char *, size_t count); count 41 include/linux/device.h ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count); count 154 include/linux/device.h size_t count); count 238 include/linux/device.h ssize_t (*store)(struct class *class, const char *buf, size_t count); count 300 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 171 include/linux/dm-ioctl.h uint32_t count; /* Array size */ count 27 include/linux/fault-inject.h unsigned long count; count 320 include/linux/fb.h __u32 count; /* counter of retraces since boot */ count 615 include/linux/fb.h size_t count, loff_t *ppos); count 617 include/linux/fb.h size_t count, loff_t *ppos); count 45 include/linux/fdtable.h atomic_t count; count 423 include/linux/fs.h size_t count; count 441 include/linux/fs.h i->count = count + written; count 448 include/linux/fs.h return i->count; count 462 include/linux/fs.h size_t count; count 7 include/linux/fs_struct.h atomic_t count; count 14 include/linux/fs_struct.h .count = ATOMIC_INIT(1), \ count 1037 include/linux/ide.h if (len < count) { \ count 1042 include/linux/ide.h len = count; \ count 54 include/linux/idr.h int count; /* When zero, we can release it */ count 485 include/linux/ieee80211.h u8 count; count 511 include/linux/ieee80211.h u8 count; count 81 include/linux/if_tun.h __u16 count; /* Number of addresses */ count 161 include/linux/igmp.h (count) * sizeof(__be32)) count 42 include/linux/init_task.h .count = ATOMIC_INIT(1), \ count 55 include/linux/init_task.h .count = ATOMIC_INIT(1), \ count 64 include/linux/init_task.h .count = ATOMIC_INIT(1), \ count 73 include/linux/init_task.h .count = ATOMIC_INIT(1), \ count 91 include/linux/inotify.h atomic_t count; /* reference count */ count 299 include/linux/interrupt.h atomic_t count; count 358 include/linux/interrupt.h atomic_inc(&t->count); count 372 include/linux/interrupt.h atomic_dec(&t->count); count 378 include/linux/interrupt.h atomic_dec(&t->count); count 94 include/linux/ioc4.h uint32_t count:16; /* Period control */ count 458 include/linux/isdn.h int count; /* # of fd on device */ count 54 include/linux/isdn/capilli.h int count, int *eof, struct capi_ctr *card); count 32 include/linux/ivtvfb.h int count; count 129 include/linux/kobject.h const char *buf, size_t count); count 124 include/linux/kvm.h __u32 count; count 44 include/linux/kvm_types.h unsigned long count; count 19 include/linux/latencytop.h unsigned int count; count 121 include/linux/lockd/lockd.h atomic_t count; count 33 include/linux/mfd/wm8400-private.h int (*read_dev)(void *data, char reg, int count, u16 *dst); count 34 include/linux/mfd/wm8400-private.h int (*write_dev)(void *data, char reg, int count, const u16 *src); count 111 include/linux/mmzone.h int count; /* number of pages in the list */ count 11 include/linux/mnt_namespace.h atomic_t count; count 31 include/linux/mnt_namespace.h if (atomic_dec_and_lock(&ns->count, &vfsmount_lock)) count 45 include/linux/mnt_namespace.h atomic_inc(&ns->count); count 51 include/linux/module.h const char *, size_t count); count 222 include/linux/module.h local_t count; count 391 include/linux/module.h local_inc(&module->ref[get_cpu()].count); count 403 include/linux/module.h local_inc(&module->ref[cpu].count); count 185 include/linux/mtd/mtd.h int (*writev) (struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen); count 112 include/linux/mtd/onenand.h unsigned char *buffer, int offset, size_t count); count 114 include/linux/mtd/onenand.h const unsigned char *buffer, int offset, size_t count); count 50 include/linux/mutex.h atomic_t count; count 97 include/linux/mutex.h { .count = ATOMIC_INIT(1) \ count 117 include/linux/mutex.h return atomic_read(&lock->count) != 1; count 53 include/linux/netfilter/nf_conntrack_h323.h TransportAddress *taddr, int count); count 58 include/linux/netfilter/nf_conntrack_h323.h TransportAddress *taddr, int count); count 245 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 291 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 313 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 341 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 384 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 417 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 597 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 663 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 668 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 705 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 737 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 865 include/linux/netfilter/nf_conntrack_h323_types.h int count; count 21 include/linux/netfilter/xt_connbytes.h } count; count 17 include/linux/netfilter/xt_multiport.h u_int8_t count; /* Number of ports */ count 24 include/linux/netfilter/xt_multiport.h u_int8_t count; /* Number of ports */ count 27 include/linux/netfilter/xt_statistic.h u_int32_t count; count 81 include/linux/nfs_fs.h atomic_t count; count 250 include/linux/nfs_xdr.h __u32 count; count 257 include/linux/nfs_xdr.h __u32 count; count 268 include/linux/nfs_xdr.h __u32 count; count 283 include/linux/nfs_xdr.h __u32 count; count 392 include/linux/nfs_xdr.h unsigned int count; count 495 include/linux/nfs_xdr.h unsigned int count; count 641 include/linux/nfs_xdr.h u32 count; count 32 include/linux/nfsd/xdr.h __u32 count; count 83 include/linux/nfsd/xdr.h __u32 count; count 103 include/linux/nfsd/xdr.h unsigned long count; count 108 include/linux/nfsd/xdr.h int count; count 35 include/linux/nfsd/xdr3.h __u32 count; count 42 include/linux/nfsd/xdr3.h __u32 count; count 100 include/linux/nfsd/xdr3.h __u32 count; count 108 include/linux/nfsd/xdr3.h __u32 count; count 152 include/linux/nfsd/xdr3.h unsigned long count; count 159 include/linux/nfsd/xdr3.h unsigned long count; count 178 include/linux/nfsd/xdr3.h int count; count 25 include/linux/nsproxy.h atomic_t count; count 74 include/linux/nsproxy.h if (atomic_dec_and_test(&ns->count)) { count 81 include/linux/nsproxy.h atomic_inc(&ns->count); count 158 include/linux/pagemap.h atomic_add(count, &page->_count); count 161 include/linux/pagemap.h if (unlikely(!atomic_add_unless(&page->_count, count, 0))) count 171 include/linux/pagemap.h return likely(atomic_cmpxchg(&page->_count, count, 0) == count); count 177 include/linux/pagemap.h VM_BUG_ON(count == 0); count 179 include/linux/pagemap.h atomic_set(&page->_count, count); count 20 include/linux/percpu_counter.h s64 count; count 58 include/linux/percpu_counter.h return fbc->count; count 68 include/linux/percpu_counter.h s64 ret = fbc->count; count 79 include/linux/percpu_counter.h s64 count; count 84 include/linux/percpu_counter.h fbc->count = amount; count 96 include/linux/percpu_counter.h fbc->count = amount; count 106 include/linux/percpu_counter.h fbc->count += amount; count 112 include/linux/percpu_counter.h return fbc->count; count 117 include/linux/percpu_counter.h return fbc->count; count 23 include/linux/phantom.h __u32 count; count 59 include/linux/pid.h atomic_t count; count 78 include/linux/pid.h atomic_inc(&pid->count); count 41 include/linux/posix_acl_xattr.h (count * sizeof(posix_acl_xattr_entry))); count 78 include/linux/proc_fs.h atomic_t count; /* use count */ count 192 include/linux/raid/bitmap.h unsigned int count:31; count 205 include/linux/raid/raid5.h atomic_t count; /* nr of active thread/requests */ count 224 include/linux/regset.h if (*count == 0) count 228 include/linux/regset.h unsigned int copy = (end_pos < 0 ? *count count 229 include/linux/regset.h : min(*count, end_pos - *pos)); count 239 include/linux/regset.h *count -= copy; count 249 include/linux/regset.h if (*count == 0) count 253 include/linux/regset.h unsigned int copy = (end_pos < 0 ? *count count 254 include/linux/regset.h : min(*count, end_pos - *pos)); count 264 include/linux/regset.h *count -= copy; count 279 include/linux/regset.h if (*count == 0) count 283 include/linux/regset.h unsigned int copy = (end_pos < 0 ? *count count 284 include/linux/regset.h : min(*count, end_pos - *pos)); count 293 include/linux/regset.h *count -= copy; count 305 include/linux/regset.h if (*count == 0) count 309 include/linux/regset.h unsigned int copy = (end_pos < 0 ? *count count 310 include/linux/regset.h : min(*count, end_pos - *pos)); count 316 include/linux/regset.h *count -= copy; count 23 include/linux/reiserfs_acl.h if (count <= 4) { count 25 include/linux/reiserfs_acl.h count * sizeof(reiserfs_acl_entry_short); count 29 include/linux/reiserfs_acl.h (count - 4) * sizeof(reiserfs_acl_entry); count 414 include/linux/sched.h atomic_t count; count 436 include/linux/sched.h atomic_t count; count 18 include/linux/semaphore.h unsigned int count; count 25 include/linux/semaphore.h .count = n, \ count 20 include/linux/seq_file.h size_t count; count 41 include/linux/serial167.h int count; /* # of fd on device */ count 40 include/linux/serialP.h int count; count 325 include/linux/serial_core.h int count; count 122 include/linux/smb_fs.h int (*read)(struct inode *inode, loff_t offset, int count, count 124 include/linux/smb_fs.h int (*write)(struct inode *inode, loff_t offset, int count, const count 84 include/linux/ssb/ssb.h size_t count, u16 offset, u8 reg_width); count 86 include/linux/ssb/ssb.h size_t count, u16 offset, u8 reg_width); count 389 include/linux/ssb/ssb.h dev->ops->block_read(dev, buffer, count, offset, reg_width); count 395 include/linux/ssb/ssb.h dev->ops->block_write(dev, buffer, count, offset, reg_width); count 68 include/linux/sunrpc/auth_gss.h atomic_t count; count 191 include/linux/sunrpc/sched.h unsigned char count; /* # task groups remaining serviced so far */ count 85 include/linux/sunrpc/svc_rdma.h int count; count 105 include/linux/sunrpc/svc_rdma.h int count; /* sge count for this chunk */ count 119 include/linux/sunrpc/svc_rdma.h unsigned long count; count 174 include/linux/sunrpc/xdr.h size_t count; count 1082 include/linux/sysctl.h int count; count 74 include/linux/thermal.h int count; count 187 include/linux/tty.h int count; /* Usage count */ count 228 include/linux/tty.h int count; count 236 include/linux/tty_driver.h const unsigned char *buf, int count); count 257 include/linux/tty_driver.h int count, int *eof, void *data); count 137 include/linux/tty_ldisc.h char *fp, int count); count 1587 include/linux/usb.h int count; count 226 include/linux/usb/serial.h const unsigned char *buf, int count); count 211 include/linux/videodev.h __u32 count[2]; /* count of lines for each frame */ count 484 include/linux/videodev2.h __u32 count; count 779 include/linux/videodev2.h __u32 count; count 1266 include/linux/videodev2.h __u32 count[2]; count 33 include/linux/vt_buffer.h count /= 2; count 34 include/linux/vt_buffer.h while (count--) count 42 include/linux/vt_buffer.h count /= 2; count 43 include/linux/vt_buffer.h while (count--) count 52 include/linux/vt_buffer.h scr_memcpyw(d, s, count); count 54 include/linux/vt_buffer.h count /= 2; count 55 include/linux/vt_buffer.h d += count; count 56 include/linux/vt_buffer.h s += count; count 57 include/linux/vt_buffer.h while (count--) count 13 include/media/saa7146_vv.h dev->d_rps0.cpu_addr[ count++ ] = cpu_to_le32(x); \ count 17 include/media/saa7146_vv.h dev->d_rps1.cpu_addr[ count++ ] = cpu_to_le32(x); \ count 111 include/media/tuner-types.h unsigned int count; count 117 include/media/tuner-types.h unsigned int count; count 55 include/media/videobuf-core.h unsigned int count; count 113 include/media/videobuf-core.h unsigned int *count, unsigned int *size); count 135 include/media/videobuf-core.h unsigned int *count, count 142 include/media/videobuf-core.h size_t count, count 146 include/media/videobuf-core.h size_t count, count 297 include/mtd/ubi-user.h int32_t count; count 458 include/net/9p/9p.h u32 count; count 462 include/net/9p/9p.h u32 count; count 469 include/net/9p/9p.h u32 count; count 474 include/net/9p/9p.h u32 count; count 642 include/net/ieee80211.h u8 count; count 884 include/net/ieee80211.h u8 count; count 888 include/net/ieee80211.h u8 count; count 77 include/net/if_inet6.h (count) * sizeof(struct in6_addr)) count 141 include/net/mac80211.h unsigned int count; count 30 include/net/net_namespace.h atomic_t count; /* To decided when the network count 110 include/net/net_namespace.h return net && atomic_read(&net->count); count 115 include/net/net_namespace.h atomic_inc(&net->count); count 126 include/net/net_namespace.h if (!atomic_inc_not_zero(&net->count)) count 133 include/net/net_namespace.h if (atomic_dec_and_test(&net->count)) count 9 include/net/netfilter/ipv4/nf_conntrack_icmp.h atomic_t count; count 24 include/net/netfilter/ipv6/nf_conntrack_icmpv6.h atomic_t count; count 293 include/net/netfilter/nf_conntrack.h (per_cpu_ptr((net)->ct.stat, raw_smp_processor_id())->count++) count 297 include/net/netfilter/nf_conntrack.h per_cpu_ptr((net)->ct.stat, raw_smp_processor_id())->count++; \ count 193 include/net/netfilter/nf_conntrack_tuple.h int count; count 195 include/net/netfilter/nf_conntrack_tuple.h for (count = 0; count < NF_CT_TUPLE_L3SIZE; count++) { count 196 include/net/netfilter/nf_conntrack_tuple.h if ((t1->src.u3.all[count] ^ t2->src.u3.all[count]) & count 197 include/net/netfilter/nf_conntrack_tuple.h mask->src.u3.all[count]) count 11 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 14 include/net/pkt_cls.h int count; count 12 include/net/pkt_sched.h int count; count 90 include/net/rose.h unsigned short count; count 105 include/net/rose.h unsigned char count; count 17 include/net/scm.h int count; count 615 include/net/tcp.h if (*count) { count 616 include/net/tcp.h *count -= decr; count 617 include/net/tcp.h if ((int)*count < 0) count 618 include/net/tcp.h *count = 0; count 625 include/net/tcp.h tcp_dec_pcount_approx_int(count, tcp_skb_pcount(skb)); count 308 include/rdma/ib_user_verbs.h __u32 count; count 781 include/sound/asound.h unsigned int count; /* R: count of all elements */ count 790 include/sound/asound.h unsigned int count; /* count of values */ count 927 include/sound/asound.h unsigned long count; count 46 include/sound/control.h unsigned int count; /* count of same elements */ count 66 include/sound/control.h unsigned int count; /* count of same elements */ count 854 include/sound/cs46xx_dsp_scb_types.h count, count 1574 include/sound/emu10k1.h unsigned int count; /* count of GPR (1..16) */ count 2149 include/sound/emu10k1.h unsigned int count; /* count of GPR (1..16) */ count 2162 include/sound/emu10k1.h unsigned int count; count 61 include/sound/emux_synth.h const void __user *data, long count); count 66 include/sound/emux_synth.h const void __user *data, long count); count 214 include/sound/gus.h unsigned int count; /* count in bytes */ count 32 include/sound/hwdep.h long (*read) (struct snd_hwdep *hw, char __user *buf, long count, loff_t *offset); count 33 include/sound/hwdep.h long (*write) (struct snd_hwdep *hw, const char __user *buf, long count, loff_t *offset); count 49 include/sound/i2c.h int (*sendbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count); count 50 include/sound/i2c.h int (*readbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count); count 54 include/sound/info.h unsigned long count, unsigned long pos); count 57 include/sound/info.h unsigned long count, unsigned long pos); count 75 include/sound/pcm.h void __user *buf, snd_pcm_uframes_t count); count 77 include/sound/pcm.h snd_pcm_uframes_t pos, snd_pcm_uframes_t count); count 259 include/sound/pcm.h unsigned int count; count 345 include/sound/pcm.h int count; count 55 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 74 include/sound/soundfont.h const void __user *buf, long count); count 117 include/sound/vx_core.h struct vx_pipe *pipe, int count); count 119 include/sound/vx_core.h struct vx_pipe *pipe, int count); count 300 include/sound/vx_core.h chip->ops->dma_write(chip, runtime, pipe, count); count 306 include/sound/vx_core.h chip->ops->dma_read(chip, runtime, pipe, count); count 51 include/xen/grant_table.h u16 count; count 121 init/initramfs.c static __initdata unsigned count; count 130 init/initramfs.c count -= n; count 139 init/initramfs.c if (count >= size) { count 162 init/initramfs.c if (count < n) count 163 init/initramfs.c n = count; count 209 init/initramfs.c if (this_header + count < next_header) { count 210 init/initramfs.c eat(count); count 221 init/initramfs.c while(count && *victim == '\0') count 223 init/initramfs.c if (count && (this_header & 3)) count 294 init/initramfs.c if (count >= body_len) { count 301 init/initramfs.c sys_write(wfd, victim, count); count 302 init/initramfs.c body_len -= count; count 303 init/initramfs.c eat(count); count 332 init/initramfs.c count = len; count 337 init/initramfs.c return len - count; count 705 init/main.c int count = preempt_count(); count 731 init/main.c if (preempt_count() != count) { count 733 init/main.c preempt_count() = count; count 335 ipc/mqueue.c ret = simple_read_from_buffer(u_data, count, off, buffer, count 59 kernel/audit.h atomic_t count; /* reference count */ count 10 kernel/audit_tree.c atomic_t count; count 26 kernel/audit_tree.c int count; count 75 kernel/audit_tree.c atomic_set(&tree->count, 1); count 89 kernel/audit_tree.c atomic_inc(&tree->count); count 100 kernel/audit_tree.c if (atomic_dec_and_test(&tree->count)) count 116 kernel/audit_tree.c size = offsetof(struct audit_chunk, owners) + count * sizeof(struct node); count 123 kernel/audit_tree.c chunk->count = count; count 124 kernel/audit_tree.c for (i = 0; i < count; i++) { count 137 kernel/audit_tree.c for (i = 0; i < chunk->count; i++) { count 189 kernel/audit_tree.c for (n = 0; n < chunk->count; n++) count 201 kernel/audit_tree.c int size = chunk->count - 1; count 333 kernel/audit_tree.c for (n = 0; n < old->count; n++) { count 342 kernel/audit_tree.c chunk = alloc_chunk(old->count + 1); count 362 kernel/audit_tree.c for (n = 0, p = chunk->owners; n < old->count; n++, p++) { count 371 kernel/audit_tree.c p->index = (chunk->count - 1) | (1U<<31); count 861 kernel/audit_tree.c for (n = 0; n < chunk->count; n++) count 106 kernel/auditfilter.c atomic_inc(&watch->count); count 111 kernel/auditfilter.c if (atomic_dec_and_test(&watch->count)) { count 187 kernel/auditfilter.c atomic_set(&watch->count, 1); count 362 kernel/auditsc.c count = 31; count 367 kernel/auditsc.c n = count; count 379 kernel/auditsc.c ctx->tree_count = count; count 878 kernel/auditsc.c int count = 0; count 882 kernel/auditsc.c if (previous || (count && count < 10)) { count 883 kernel/auditsc.c ++count; count 887 kernel/auditsc.c context->name_count, count); count 897 kernel/auditsc.c if (count >= 10) count 898 kernel/auditsc.c printk(KERN_ERR "audit: freed %d contexts\n", count); count 1604 kernel/auditsc.c int count; count 1609 kernel/auditsc.c count = context->tree_count; count 1621 kernel/auditsc.c unroll_tree_refs(context, p, count); count 1636 kernel/auditsc.c int count; count 1640 kernel/auditsc.c count = context->tree_count; count 1667 kernel/auditsc.c unroll_tree_refs(context, p, count); count 1673 kernel/auditsc.c unroll_tree_refs(context, p, count); count 1679 kernel/auditsc.c unroll_tree_refs(context, p, count); count 268 kernel/cgroup.c if (atomic_dec_and_test(&cgrp->count) && count 379 kernel/cgroup.c for (i = 0; i < count; i++) { count 444 kernel/cgroup.c atomic_inc(&cgrp->count); count 1710 kernel/cgroup.c for (i = 0; i < count; i++) { count 1726 kernel/cgroup.c int count = 0; count 1731 kernel/cgroup.c count += atomic_read(&link->cg->ref.refcount); count 1734 kernel/cgroup.c return count; count 2413 kernel/cgroup.c if (atomic_read(&cgrp->count) != 0) { count 2616 kernel/cgroup.c int count = 0; count 2623 kernel/cgroup.c seq_printf(m, "%s%s", count++ ? "," : "", ss->name); count 2998 kernel/cgroup.c if (cgroup_is_releasable(cgrp) && !atomic_read(&cgrp->count) count 36 kernel/cgroup_debug.c return atomic_read(&cont->count); count 41 kernel/cgroup_debug.c u64 count; count 44 kernel/cgroup_debug.c count = cgroup_task_count(cont); count 46 kernel/cgroup_debug.c return count; count 57 kernel/cgroup_debug.c u64 count; count 60 kernel/cgroup_debug.c count = atomic_read(¤t->cgroups->ref.refcount); count 62 kernel/cgroup_debug.c return count; count 2440 kernel/cpuset.c m->count += cpumask_scnprintf(m->buf + m->count, m->size - m->count, count 2444 kernel/cpuset.c m->count += cpulist_scnprintf(m->buf + m->count, m->size - m->count, count 2448 kernel/cpuset.c m->count += nodemask_scnprintf(m->buf + m->count, m->size - m->count, count 2452 kernel/cpuset.c m->count += nodelist_scnprintf(m->buf + m->count, m->size - m->count, count 75 kernel/delayacct.c (*count)++; count 146 kernel/exec_domain.c if (atomic_read(¤t->fs->count) != 1) { count 87 kernel/exit.c BUG_ON(!atomic_read(&sig->count)); count 93 kernel/exit.c if (atomic_dec_and_test(&sig->count)) count 100 kernel/exit.c if (sig->group_exit_task && atomic_read(&sig->count) == sig->notify_count) count 451 kernel/exit.c atomic_inc(&fs->count); count 455 kernel/exit.c atomic_inc(¤t->files->count); count 502 kernel/exit.c atomic_inc(&files->count); count 512 kernel/exit.c if (atomic_dec_and_test(&files->count)) { count 554 kernel/exit.c if (atomic_dec_and_test(&fs->count)) { count 655 kernel/fork.c atomic_set(&fs->count, 1); count 678 kernel/fork.c atomic_inc(¤t->fs->count); count 700 kernel/fork.c atomic_inc(&oldf->count); count 744 kernel/fork.c atomic_inc(¤t->sighand->count); count 751 kernel/fork.c atomic_set(&sig->count, 1); count 758 kernel/fork.c if (atomic_dec_and_test(&sighand->count)) count 768 kernel/fork.c atomic_inc(¤t->signal->count); count 783 kernel/fork.c atomic_set(&sig->count, 1); count 852 kernel/fork.c if (atomic_dec_and_test(&sig->count)) count 1339 kernel/fork.c static int __read_mostly count = 100; count 1341 kernel/fork.c if (count > 0 && printk_ratelimit()) { count 1344 kernel/fork.c count--; count 1472 kernel/fork.c (atomic_read(¤t->signal->count) > 1)) count 1501 kernel/fork.c (fs && atomic_read(&fs->count) > 1)) { count 1517 kernel/fork.c if ((unshare_flags & CLONE_SIGHAND) && atomic_read(&sigh->count) > 1) count 1547 kernel/fork.c (fd && atomic_read(&fd->count) > 1)) { count 1657 kernel/fork.c if (atomic_dec_and_test(&new_sigh->count)) count 50 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); count 65 kernel/irq/proc.c return irq_select_affinity(irq) ? -EINVAL : count; count 69 kernel/irq/proc.c return count; count 98 kernel/irq/proc.c err = cpumask_parse_user(buffer, count, new_value); count 115 kernel/irq/proc.c return count; count 132 kernel/irq/spurious.c static int count = 100; count 134 kernel/irq/spurious.c if (count > 0) { count 135 kernel/irq/spurious.c count--; count 360 kernel/kexec.c unsigned int count, i; count 363 kernel/kexec.c count = 1 << order; count 364 kernel/kexec.c for (i = 0; i < count; i++) count 373 kernel/kexec.c unsigned int order, count, i; count 376 kernel/kexec.c count = 1 << order; count 377 kernel/kexec.c for (i = 0; i < count; i++) count 413 kernel/kexec.c unsigned int count; count 415 kernel/kexec.c count = 1 << order; count 428 kernel/kexec.c epfn = pfn + count; count 261 kernel/kgdb.c int count; count 276 kernel/kgdb.c count = 0; count 281 kernel/kgdb.c while (count < (BUFMAX - 1)) { count 286 kernel/kgdb.c buffer[count] = ch; count 287 kernel/kgdb.c count = count + 1; count 289 kernel/kgdb.c buffer[count] = 0; count 314 kernel/kgdb.c int count; count 323 kernel/kgdb.c count = 0; count 325 kernel/kgdb.c while ((ch = buffer[count])) { count 328 kernel/kgdb.c count++; count 375 kernel/kgdb.c tmp = buf + count; count 377 kernel/kgdb.c err = probe_kernel_read(tmp, mem, count); count 379 kernel/kgdb.c while (count > 0) { count 382 kernel/kgdb.c count--; count 401 kernel/kgdb.c while (count-- > 0) { count 430 kernel/kgdb.c tmp_raw = buf + count * 2; count 439 kernel/kgdb.c return probe_kernel_write(mem, tmp_raw, count); count 1560 kernel/kgdb.c kgdb_msg_write(s, count); count 1267 kernel/kprobes.c return simple_read_from_buffer(user_buf, count, ppos, buf, 2); count 1276 kernel/kprobes.c buf_size = min(count, (sizeof(buf)-1)); count 1293 kernel/kprobes.c return count; count 45 kernel/ksysfs.c if (count+1 > UEVENT_HELPER_PATH_LEN) count 47 kernel/ksysfs.c memcpy(uevent_helper, buf, count); count 48 kernel/ksysfs.c uevent_helper[count] = '\0'; count 49 kernel/ksysfs.c if (count && uevent_helper[count-1] == '\n') count 50 kernel/ksysfs.c uevent_helper[count-1] = '\0'; count 51 kernel/ksysfs.c return count; count 92 kernel/ksysfs.c memcpy(buf, &__start_notes + off, count); count 93 kernel/ksysfs.c return count; count 88 kernel/latencytop.c latency_record[i].count++; count 130 kernel/latencytop.c lat.count = 1; count 164 kernel/latencytop.c mylat->count++; count 190 kernel/latencytop.c latency_record[i].count, count 218 kernel/latencytop.c return count; count 663 kernel/lockdep.c int count = 0; count 672 kernel/lockdep.c count = max(count, class->name_version); count 675 kernel/lockdep.c return count + 1; count 3393 kernel/lockdep.c int count = 10; count 3410 kernel/lockdep.c if (count == 10) count 3412 kernel/lockdep.c if (count) { count 3413 kernel/lockdep.c count--; count 3414 kernel/lockdep.c printk(" #%d", 10-count); count 3421 kernel/lockdep.c if (count != 10) count 697 kernel/lockdep_proc.c if (count) { count 702 kernel/lockdep_proc.c return count; count 707 kernel/lockdep_proc.c return count; count 552 kernel/module.c local_set(&mod->ref[i].count, 0); count 554 kernel/module.c local_set(&mod->ref[raw_smp_processor_id()].count, 1); count 695 kernel/module.c total += local_read(&mod->ref[i].count); count 857 kernel/module.c local_dec(&module->ref[cpu].count); count 1165 kernel/module.c memcpy(buf, bin_attr->private + pos, count); count 1166 kernel/module.c return count; count 46 kernel/mutex.c atomic_set(&lock->count, 1); count 93 kernel/mutex.c __mutex_fastpath_lock(&lock->count, __mutex_lock_slowpath); count 118 kernel/mutex.c __mutex_fastpath_unlock(&lock->count, __mutex_unlock_slowpath); count 145 kernel/mutex.c old_val = atomic_xchg(&lock->count, -1); count 161 kernel/mutex.c old_val = atomic_xchg(&lock->count, -1); count 194 kernel/mutex.c atomic_set(&lock->count, 0); count 237 kernel/mutex.c struct mutex *lock = container_of(lock_count, struct mutex, count); count 250 kernel/mutex.c atomic_set(&lock->count, 1); count 303 kernel/mutex.c (&lock->count, __mutex_lock_interruptible_slowpath); count 312 kernel/mutex.c (&lock->count, __mutex_lock_killable_slowpath); count 319 kernel/mutex.c struct mutex *lock = container_of(lock_count, struct mutex, count); count 327 kernel/mutex.c struct mutex *lock = container_of(lock_count, struct mutex, count); count 335 kernel/mutex.c struct mutex *lock = container_of(lock_count, struct mutex, count); count 347 kernel/mutex.c struct mutex *lock = container_of(lock_count, struct mutex, count); count 353 kernel/mutex.c prev = atomic_xchg(&lock->count, -1); count 360 kernel/mutex.c atomic_set(&lock->count, 0); count 383 kernel/mutex.c return __mutex_fastpath_trylock(&lock->count, count 59 kernel/ns_cgroup.c if (atomic_read(&new_cgroup->count) != 0) count 39 kernel/nsproxy.c atomic_set(&ns->count, 1); count 223 kernel/nsproxy.c if (ns && atomic_dec_and_test(&ns->count)) { count 397 kernel/params.c int count; count 403 kernel/params.c count = attribute->param->get(buf, attribute->param); count 404 kernel/params.c if (count > 0) { count 406 kernel/params.c ++count; count 408 kernel/params.c return count; count 587 kernel/params.c unsigned int i, name_len, count = 0; count 610 kernel/params.c if (count) count 613 kernel/params.c count, count 618 kernel/params.c count = 0; count 621 kernel/params.c count++; count 625 kernel/params.c if (count) count 626 kernel/params.c kernel_param_sysfs_setup(modname, kp_begin, count, count 211 kernel/pid.c if ((atomic_read(&pid->count) == 1) || count 212 kernel/pid.c atomic_dec_and_test(&pid->count)) { count 267 kernel/pid.c atomic_set(&pid->count, 1); count 390 kernel/pm_qos_params.c if (count != sizeof(s32)) count 1366 kernel/power/snapshot.c if (handle->cur_offset + count >= PAGE_SIZE) { count 1367 kernel/power/snapshot.c count = PAGE_SIZE - handle->cur_offset; count 1371 kernel/power/snapshot.c handle->cur_offset += count; count 1373 kernel/power/snapshot.c handle->offset += count; count 1374 kernel/power/snapshot.c return count; count 1894 kernel/power/snapshot.c if (handle->cur_offset + count >= PAGE_SIZE) { count 1895 kernel/power/snapshot.c count = PAGE_SIZE - handle->cur_offset; count 1899 kernel/power/snapshot.c handle->cur_offset += count; count 1901 kernel/power/snapshot.c handle->offset += count; count 1902 kernel/power/snapshot.c return count; count 154 kernel/power/user.c res = snapshot_read_next(&data->handle, count); count 177 kernel/power/user.c res = snapshot_write_next(&data->handle, count); count 291 kernel/printk.c unsigned i, j, limit, count; count 350 kernel/printk.c count = len; count 351 kernel/printk.c if (count > log_buf_len) count 352 kernel/printk.c count = log_buf_len; count 354 kernel/printk.c if (count > logged_chars) count 355 kernel/printk.c count = logged_chars; count 365 kernel/printk.c for (i = 0; i < count && !error; i++) { count 371 kernel/printk.c error = __put_user(c,&buf[count-1-i]); count 379 kernel/printk.c if (i != count) { count 380 kernel/printk.c int offset = count-error; count 424 kernel/profile.c int len = cpumask_scnprintf(page, count, *(cpumask_t *)data); count 425 kernel/profile.c if (count - len < 2) count 435 kernel/profile.c unsigned long full_count = count, err; count 438 kernel/profile.c err = cpumask_parse_user(buffer, count, new_value); 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 505 kernel/profile.c if (count == sizeof(int)) { count 517 kernel/profile.c return count; count 333 kernel/rcuclassic.c int count = 0; count 341 kernel/rcuclassic.c if (++count >= rdp->blimit) count 347 kernel/rcuclassic.c rdp->qlen -= count; count 205 kernel/rcupreempt_trace.c bcount = simple_read_from_buffer(buffer, count, ppos, count 221 kernel/rcupreempt_trace.c bcount = simple_read_from_buffer(buffer, count, ppos, count 258 kernel/rcupreempt_trace.c bcount = simple_read_from_buffer(buffer, count, ppos, count 1086 kernel/relay.c if (read_pos % subbuf_size + count + padding == subbuf_size) count 1089 kernel/relay.c end_pos = read_pos + count; count 1116 kernel/relay.c desc->count -= ret; count 1139 kernel/relay.c if (!desc->count) count 1152 kernel/relay.c avail = min(desc->count, avail); count 1161 kernel/relay.c } while (desc->count && ret); count 1174 kernel/relay.c desc.count = count; count 312 kernel/rtmutex-tester.c if (count >= sizeof(cmdbuf)) count 316 kernel/rtmutex-tester.c if (buf[count-1] == '\n') count 317 kernel/rtmutex-tester.c count--; count 318 kernel/rtmutex-tester.c if (count < 1) count 321 kernel/rtmutex-tester.c memcpy(cmdbuf, buf, count); count 322 kernel/rtmutex-tester.c cmdbuf[count] = 0; count 355 kernel/rtmutex-tester.c return count; count 7871 kernel/sched.c return ret ? ret : count; count 7883 kernel/sched.c return sched_power_savings_store(buf, count, 0); count 7899 kernel/sched.c return sched_power_savings_store(buf, count, 1); count 126 kernel/sched_cpupri.c vec->count--; count 127 kernel/sched_cpupri.c if (!vec->count) count 140 kernel/sched_cpupri.c vec->count++; count 141 kernel/sched_cpupri.c if (vec->count == 1) count 166 kernel/sched_cpupri.c vec->count = 0; count 16 kernel/sched_cpupri.h int count; count 337 kernel/sched_debug.c num_threads = atomic_read(&p->signal->count); count 58 kernel/semaphore.c if (likely(sem->count > 0)) count 59 kernel/semaphore.c sem->count--; count 81 kernel/semaphore.c if (likely(sem->count > 0)) count 82 kernel/semaphore.c sem->count--; count 107 kernel/semaphore.c if (likely(sem->count > 0)) count 108 kernel/semaphore.c sem->count--; count 133 kernel/semaphore.c int count; count 136 kernel/semaphore.c count = sem->count - 1; count 137 kernel/semaphore.c if (likely(count >= 0)) count 138 kernel/semaphore.c sem->count = count; count 141 kernel/semaphore.c return (count < 0); count 161 kernel/semaphore.c if (likely(sem->count > 0)) count 162 kernel/semaphore.c sem->count--; count 184 kernel/semaphore.c sem->count++; count 1140 kernel/signal.c int retval = 0, count = 0; count 1146 kernel/signal.c ++count; count 1151 kernel/signal.c ret = count ? retval : -ESRCH; count 383 kernel/softirq.c if (!atomic_read(&t->count)) { count 418 kernel/softirq.c if (!atomic_read(&t->count)) { count 443 kernel/softirq.c atomic_set(&t->count, 0); count 1134 kernel/sys.c unsigned int count = group_info->ngroups; count 1137 kernel/sys.c unsigned int cp_count = min(NGROUPS_PER_BLOCK, count); count 1144 kernel/sys.c count -= cp_count; count 1154 kernel/sys.c unsigned int count = group_info->ngroups; count 1157 kernel/sys.c unsigned int cp_count = min(NGROUPS_PER_BLOCK, count); count 1164 kernel/sys.c count -= cp_count; count 159 kernel/sysctl.c .count = 1, count 1396 kernel/sysctl.c head->count++; count 1403 kernel/sysctl.c if (!--head->count) count 1844 kernel/sysctl.c header->count = 1; count 1864 kernel/sysctl.c header->parent->count++; count 1920 kernel/sysctl.c if (!--header->parent->count) { count 1924 kernel/sysctl.c if (!--header->count) count 382 kernel/time/clocksource.c ssize_t count = 0; count 385 kernel/time/clocksource.c count = snprintf(buf, PAGE_SIZE, "%s\n", curr_clocksource->name); count 388 kernel/time/clocksource.c return count; count 405 kernel/time/clocksource.c size_t ret = count; count 409 kernel/time/clocksource.c if (count >= sizeof(override_name)) count 413 kernel/time/clocksource.c if (buf[count-1] == '\n') count 414 kernel/time/clocksource.c count--; count 418 kernel/time/clocksource.c if (count > 0) count 419 kernel/time/clocksource.c memcpy(override_name, buf, count); count 420 kernel/time/clocksource.c override_name[count] = 0; count 459 kernel/time/clocksource.c ssize_t count = 0; count 463 kernel/time/clocksource.c count += snprintf(buf + count, count 464 kernel/time/clocksource.c max((ssize_t)PAGE_SIZE - count, (ssize_t)0), count 469 kernel/time/clocksource.c count += snprintf(buf + count, count 470 kernel/time/clocksource.c max((ssize_t)PAGE_SIZE - count, (ssize_t)0), "\n"); count 472 kernel/time/clocksource.c return count; count 70 kernel/time/timer_stats.c unsigned long count; count 206 kernel/time/timer_stats.c curr->count = 0; count 262 kernel/time/timer_stats.c entry->count++; count 311 kernel/time/timer_stats.c entry->count, entry->pid, entry->comm); count 314 kernel/time/timer_stats.c entry->count, entry->pid, entry->comm); count 322 kernel/time/timer_stats.c events += entry->count; count 362 kernel/time/timer_stats.c if (count != 2 || *offs) count 365 kernel/time/timer_stats.c if (copy_from_user(ctl, buf, count)) count 386 kernel/time/timer_stats.c count = -EINVAL; count 390 kernel/time/timer_stats.c return count; count 1012 kernel/timer.c static int count = LOAD_FREQ; count 1014 kernel/timer.c count -= ticks; count 1015 kernel/timer.c if (unlikely(count < 0)) { count 1021 kernel/timer.c count += LOAD_FREQ; count 1022 kernel/timer.c } while (count < 0); count 2095 kernel/trace/trace.c len = cpumask_scnprintf(mask_str, count, tracing_cpumask); count 2096 kernel/trace/trace.c if (count - len < 2) { count 2097 kernel/trace/trace.c count = -EINVAL; count 2101 kernel/trace/trace.c count = simple_read_from_buffer(ubuf, count, ppos, mask_str, NR_CPUS+1); count 2106 kernel/trace/trace.c return count; count 2116 kernel/trace/trace.c err = cpumask_parse_user(ubuf, count, tracing_cpumask_new); count 2143 kernel/trace/trace.c return count; count 105 kernel/trace/trace_selftest.c if (count) count 106 kernel/trace/trace_selftest.c *count = cnt; count 123 kernel/trace/trace_selftest.c unsigned long count; count 164 kernel/trace/trace_selftest.c ret = trace_test_buffer(tr, &count); count 168 kernel/trace/trace_selftest.c if (count) { count 186 kernel/trace/trace_selftest.c ret = trace_test_buffer(tr, &count); count 190 kernel/trace/trace_selftest.c if (!ret && count != 1) { count 191 kernel/trace/trace_selftest.c printk(KERN_CONT ".. filter failed count=%ld ..", count); count 215 kernel/trace/trace_selftest.c unsigned long count; count 244 kernel/trace/trace_selftest.c ret = trace_test_buffer(tr, &count); count 247 kernel/trace/trace_selftest.c if (!ret && !count) { count 273 kernel/trace/trace_selftest.c unsigned long count; count 291 kernel/trace/trace_selftest.c ret = trace_test_buffer(&max_tr, &count); count 294 kernel/trace/trace_selftest.c if (!ret && !count) { count 310 kernel/trace/trace_selftest.c unsigned long count; count 328 kernel/trace/trace_selftest.c ret = trace_test_buffer(&max_tr, &count); count 331 kernel/trace/trace_selftest.c if (!ret && !count) { count 347 kernel/trace/trace_selftest.c unsigned long count; count 373 kernel/trace/trace_selftest.c ret = trace_test_buffer(&max_tr, &count); count 377 kernel/trace/trace_selftest.c if (!ret && !count) { count 402 kernel/trace/trace_selftest.c ret = trace_test_buffer(&max_tr, &count); count 404 kernel/trace/trace_selftest.c if (!ret && !count) { count 452 kernel/trace/trace_selftest.c unsigned long count; count 495 kernel/trace/trace_selftest.c ret = trace_test_buffer(&max_tr, &count); count 505 kernel/trace/trace_selftest.c if (!ret && !count) { count 518 kernel/trace/trace_selftest.c unsigned long count; count 530 kernel/trace/trace_selftest.c ret = trace_test_buffer(tr, &count); count 533 kernel/trace/trace_selftest.c if (!ret && !count) { count 546 kernel/trace/trace_selftest.c unsigned long count; count 558 kernel/trace/trace_selftest.c ret = trace_test_buffer(tr, &count); count 28 lib/argv_split.c int count = 0; count 33 lib/argv_split.c count++; count 38 lib/argv_split.c return count; count 116 lib/fault-inject.c attr->count++; count 117 lib/fault-inject.c if (attr->count % attr->interval) count 189 lib/idr.c p->count++; count 221 lib/idr.c if (!p->count) count 232 lib/idr.c new->bitmap = new->count = 0; count 239 lib/idr.c new->count = 1; count 265 lib/idr.c pa[0]->count++; count 365 lib/idr.c while(*paa && ! --((**paa)->count)){ count 393 lib/idr.c if (idp->top && idp->top->count == 1 && (idp->layers > 1) && count 405 lib/idr.c to_free->bitmap = to_free->count = 0; count 748 lib/idr.c pa[0]->count++; count 40 lib/iomap.c static int count = 10; count 41 lib/iomap.c if (count) { count 42 lib/iomap.c count--; count 147 lib/iomap.c while (--count >= 0) { count 155 lib/iomap.c while (--count >= 0) { count 163 lib/iomap.c while (--count >= 0) { count 174 lib/iomap.c while (--count >= 0) { count 181 lib/iomap.c while (--count >= 0) { count 188 lib/iomap.c while (--count >= 0) { count 197 lib/iomap.c IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count)); count 201 lib/iomap.c IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count)); count 205 lib/iomap.c IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count)); count 213 lib/iomap.c IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count)); count 217 lib/iomap.c IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count)); count 221 lib/iomap.c IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count)); count 37 lib/iomap_copy.c const u32 *end = src + count; count 61 lib/iomap_copy.c const u64 *end = src + count; count 66 lib/iomap_copy.c __iowrite32_copy(to, from, count * 2); count 691 lib/kobject.c ret = kattr->store(kobj, kattr, buf, count); count 60 lib/kobject_uevent.c if (count && (buf[count-1] == '\n' || buf[count-1] == '\0')) count 61 lib/kobject_uevent.c count--; count 63 lib/kobject_uevent.c if (!count) count 67 lib/kobject_uevent.c if (strncmp(kobject_actions[action], buf, count) != 0) count 69 lib/kobject_uevent.c if (kobject_actions[action][count] != '\0') count 26 lib/percpu_counter.c fbc->count = amount; count 33 lib/percpu_counter.c s64 count; count 38 lib/percpu_counter.c count = *pcount + amount; count 39 lib/percpu_counter.c if (count >= batch || count <= -batch) { count 41 lib/percpu_counter.c fbc->count += count; count 45 lib/percpu_counter.c *pcount = count; count 61 lib/percpu_counter.c ret = fbc->count; count 67 lib/percpu_counter.c fbc->count = ret; count 79 lib/percpu_counter.c fbc->count = amount; count 135 lib/percpu_counter.c fbc->count += *pcount; count 51 lib/radix-tree.c unsigned int count; count 187 lib/radix-tree.c node->count = 0; count 274 lib/radix-tree.c node->count = 1; count 322 lib/radix-tree.c node->count++; count 340 lib/radix-tree.c node->count++; count 1057 lib/radix-tree.c if (to_free->count != 1) count 1143 lib/radix-tree.c pathp->node->count--; count 1151 lib/radix-tree.c if (pathp->node->count) { count 37 lib/reed_solomon/decode_rs.c int count = 0; count 91 lib/reed_solomon/decode_rs.c count = 0; count 180 lib/reed_solomon/decode_rs.c count = 0; /* Number of roots of lambda(x) */ count 192 lib/reed_solomon/decode_rs.c root[count] = i; count 193 lib/reed_solomon/decode_rs.c loc[count] = k; count 197 lib/reed_solomon/decode_rs.c if (++count == deg_lambda) count 200 lib/reed_solomon/decode_rs.c if (deg_lambda != count) { count 205 lib/reed_solomon/decode_rs.c count = -EBADMSG; count 227 lib/reed_solomon/decode_rs.c for (j = count - 1; j >= 0; j--) { count 266 lib/reed_solomon/decode_rs.c for (i = 0; i < count; i++) count 269 lib/reed_solomon/decode_rs.c return count; count 24 lib/rwsem.c sem->count = RWSEM_UNLOCKED_VALUE; count 154 lib/rwsem.c signed long count; count 166 lib/rwsem.c count = rwsem_atomic_update(adjustment, sem); count 169 lib/rwsem.c if (!(count & RWSEM_ACTIVE_MASK)) count 127 lib/string.c while (count) { count 131 lib/string.c count--; count 198 lib/string.c if (count) { count 202 lib/string.c if (--count == 0) { count 227 lib/string.c BUG_ON(dsize >= count); count 230 lib/string.c count -= dsize; count 231 lib/string.c if (len >= count) count 232 lib/string.c len = count-1; count 271 lib/string.c while (count) { count 274 lib/string.c count--; count 324 lib/string.c for (; count-- && *s != '\0'; ++s) count 388 lib/string.c for (sc = s; count-- && *sc != '\0'; ++sc) count 405 lib/string.c size_t count = 0; count 413 lib/string.c return count; count 414 lib/string.c ++count; count 416 lib/string.c return count; count 432 lib/string.c size_t count = 0; count 437 lib/string.c return count; count 439 lib/string.c ++count; count 441 lib/string.c return count; count 536 lib/string.c while (count--) count 558 lib/string.c while (count--) count 582 lib/string.c while (count--) count 586 lib/string.c tmp += count; count 588 lib/string.c s += count; count 589 lib/string.c while (count--) count 610 lib/string.c for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) count 348 lib/swiotlb.c int count = 0; count 353 lib/swiotlb.c io_tlb_list[i] = ++count; count 396 lib/swiotlb.c int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; count 418 lib/swiotlb.c count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? count 425 lib/swiotlb.c io_tlb_list[i] = ++count; count 431 lib/swiotlb.c io_tlb_list[i] = ++count; 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 99 mm/backing-dev.c ret = count; count 129 mm/backing-dev.c ret = count; count 147 mm/backing-dev.c ret = count; count 149 mm/bootmem.c unsigned long start, end, pages, count = 0; count 177 mm/bootmem.c count += BITS_PER_LONG; count 185 mm/bootmem.c count++; count 197 mm/bootmem.c count += pages; count 201 mm/bootmem.c bdebug("nid=%td released=%lx\n", bdata - bootmem_node_data, count); count 203 mm/bootmem.c return count; count 326 mm/filemap.c pgoff_t end = (pos + count - 1) >> PAGE_CACHE_SHIFT; count 329 mm/filemap.c if (!mapping_cap_writeback_dirty(mapping) || !count) count 331 mm/filemap.c ret = filemap_fdatawrite_range(mapping, pos, pos + count - 1); count 358 mm/filemap.c pgoff_t end = (pos + count - 1) >> PAGE_CACHE_SHIFT; count 361 mm/filemap.c if (!mapping_cap_writeback_dirty(mapping) || !count) count 363 mm/filemap.c ret = filemap_fdatawrite_range(mapping, pos, pos + count - 1); count 1001 mm/filemap.c last_index = (*ppos + desc->count + PAGE_CACHE_SIZE-1) >> PAGE_CACHE_SHIFT; count 1097 mm/filemap.c if (ret == nr && desc->count) count 1197 mm/filemap.c unsigned long left, count = desc->count; count 1199 mm/filemap.c if (size > count) count 1200 mm/filemap.c size = count; count 1225 mm/filemap.c desc->count = count - size; count 1265 mm/filemap.c *count = cnt; count 1287 mm/filemap.c size_t count; count 1290 mm/filemap.c count = 0; count 1291 mm/filemap.c retval = generic_segment_checks(iov, &nr_segs, &count, VERIFY_WRITE); count 1303 mm/filemap.c if (!count) count 1326 mm/filemap.c desc.count = iov[seg].iov_len; count 1327 mm/filemap.c if (desc.count == 0) count 1336 mm/filemap.c if (desc.count > 0) count 1367 mm/filemap.c pgoff_t end = (offset + count - 1) >> PAGE_CACHE_SHIFT; count 1869 mm/filemap.c BUG_ON(i->count < bytes); count 1873 mm/filemap.c i->count -= bytes; count 1882 mm/filemap.c while (bytes || unlikely(i->count && !iov->iov_len)) { count 1886 mm/filemap.c BUG_ON(!i->count || i->count < copy); count 1887 mm/filemap.c i->count -= copy; count 1925 mm/filemap.c return i->count; count 1927 mm/filemap.c return min(i->count, iov->iov_len - i->iov_offset); count 1956 mm/filemap.c if (*count > limit - (typeof(limit))*pos) { count 1957 mm/filemap.c *count = limit - (typeof(limit))*pos; count 1965 mm/filemap.c if (unlikely(*pos + *count > MAX_NON_LFS && count 1970 mm/filemap.c if (*count > MAX_NON_LFS - (unsigned long)*pos) { count 1971 mm/filemap.c *count = MAX_NON_LFS - (unsigned long)*pos; count 1984 mm/filemap.c if (*count || *pos > inode->i_sb->s_maxbytes) { count 1990 mm/filemap.c if (unlikely(*pos + *count > inode->i_sb->s_maxbytes)) count 1991 mm/filemap.c *count = inode->i_sb->s_maxbytes - *pos; count 1999 mm/filemap.c if (*count || *pos > isize) count 2003 mm/filemap.c if (*pos + *count > isize) count 2004 mm/filemap.c *count = isize - *pos; count 2110 mm/filemap.c if (count != ocount) count 2111 mm/filemap.c *nr_segs = iov_shorten((struct iovec *)iov, *nr_segs, count); count 2483 mm/filemap.c iov_iter_init(&i, iov, nr_segs, count, written); count 2523 mm/filemap.c size_t count; /* after file limit checks */ count 2534 mm/filemap.c count = ocount; count 2543 mm/filemap.c err = generic_write_checks(file, &pos, &count, S_ISBLK(inode->i_mode)); count 2547 mm/filemap.c if (count == 0) count 2562 mm/filemap.c ppos, count, ocount); count 2563 mm/filemap.c if (written < 0 || written == count) count 2570 mm/filemap.c count -= written; count 2572 mm/filemap.c nr_segs, pos, ppos, count, count 2609 mm/filemap.c pos, ppos, count, written); count 175 mm/filemap_xip.c unsigned count; count 178 mm/filemap_xip.c count = read_seqcount_begin(&xip_sparse_seq); count 207 mm/filemap_xip.c } else if (read_seqcount_retry(&xip_sparse_seq, count)) { count 337 mm/filemap_xip.c if (bytes > count) count 338 mm/filemap_xip.c bytes = count; count 364 mm/filemap_xip.c count -= status; count 374 mm/filemap_xip.c } while (count); count 394 mm/filemap_xip.c size_t count; count 406 mm/filemap_xip.c count = len; count 413 mm/filemap_xip.c ret = generic_write_checks(filp, &pos, &count, S_ISBLK(inode->i_mode)); count 416 mm/filemap_xip.c if (count == 0) count 425 mm/filemap_xip.c ret = __xip_file_write (filp, buf, count, pos, ppos); count 124 mm/highmem.c int count; count 127 mm/highmem.c count = LAST_PKMAP; count 133 mm/highmem.c count = LAST_PKMAP; count 137 mm/highmem.c if (--count) count 1048 mm/hugetlb.c if (count >= h->nr_huge_pages) count 1085 mm/hugetlb.c while (h->surplus_huge_pages && count > persistent_huge_pages(h)) { count 1090 mm/hugetlb.c while (count > persistent_huge_pages(h)) { count 1120 mm/hugetlb.c min_count = max(count, min_count); count 1128 mm/hugetlb.c while (count < persistent_huge_pages(h)) { count 1177 mm/hugetlb.c return count; count 1202 mm/hugetlb.c return count; count 58 mm/memcontrol.c s64 count[MEM_CGROUP_STAT_NSTATS]; count 72 mm/memcontrol.c stat->cpustat[cpu].count[idx] += val; count 81 mm/memcontrol.c ret += stat->cpustat[cpu].count[idx]; count 103 mm/memcontrol.c unsigned long count[NR_MEM_CGROUP_ZSTAT]; count 106 mm/memcontrol.c #define MEM_CGROUP_ZSTAT(mz, idx) ((mz)->count[(idx)]) count 870 mm/memcontrol.c int count = FORCE_UNCHARGE_BATCH; count 893 mm/memcontrol.c if (--count <= 0) { count 894 mm/memcontrol.c count = FORCE_UNCHARGE_BATCH; count 920 mm/memcontrol.c if (atomic_read(&mem->css.cgroup->count) > 0) count 1006 mm/memcontrol.c for (i = 0; i < ARRAY_SIZE(stat->cpustat[0].count); i++) { count 2191 mm/mempolicy.c int count = page_mapcount(page); count 2209 mm/mempolicy.c if (count > md->mapcount_max) count 2210 mm/mempolicy.c md->mapcount_max = count; count 2328 mm/mempolicy.c if (m->count < m->size) count 110 mm/migrate.c int count = 0; count 115 mm/migrate.c count++; count 117 mm/migrate.c return count; count 232 mm/nommu.c memcpy(buf, addr, count); count 233 mm/nommu.c return count; count 239 mm/nommu.c if ((unsigned long) addr + count < count) count 240 mm/nommu.c count = -(unsigned long) addr; count 242 mm/nommu.c memcpy(addr, buf, count); count 243 mm/nommu.c return(count); count 490 mm/page_alloc.c while (count--) { count 840 mm/page_alloc.c for (i = 0; i < count; ++i) { count 877 mm/page_alloc.c if (pcp->count >= pcp->batch) count 880 mm/page_alloc.c to_drain = pcp->count; count 882 mm/page_alloc.c pcp->count -= to_drain; count 910 mm/page_alloc.c free_pages_bulk(zone, pcp->count, &pcp->list, 0); count 911 mm/page_alloc.c pcp->count = 0; count 997 mm/page_alloc.c pcp->count++; count 998 mm/page_alloc.c if (pcp->count >= pcp->high) { count 1000 mm/page_alloc.c pcp->count -= pcp->batch; count 1055 mm/page_alloc.c if (!pcp->count) { count 1056 mm/page_alloc.c pcp->count = rmqueue_bulk(zone, 0, count 1058 mm/page_alloc.c if (unlikely(!pcp->count)) count 1075 mm/page_alloc.c pcp->count += rmqueue_bulk(zone, 0, count 1081 mm/page_alloc.c pcp->count--; count 1861 mm/page_alloc.c pageset->pcp.batch, pageset->pcp.count); count 2673 mm/page_alloc.c pcp->count = 0; count 92 mm/quicklist.c unsigned long count = 0; count 99 mm/quicklist.c count += q->nr_pages; count 101 mm/quicklist.c return count; count 1691 mm/shmem.c if (ret != nr || !desc->count) count 1707 mm/shmem.c size_t count; count 1710 mm/shmem.c retval = generic_segment_checks(iov, &nr_segs, &count, VERIFY_WRITE); count 1719 mm/shmem.c desc.count = iov[seg].iov_len; count 1720 mm/shmem.c if (desc.count == 0) count 1729 mm/shmem.c if (desc.count > 0) count 4283 mm/slab.c if (count > MAX_SLABINFO_WRITE) count 4285 mm/slab.c if (copy_from_user(&kbuf, buffer, count)) count 4314 mm/slab.c res = count; count 4434 mm/slab.c m->count = m->size; count 3313 mm/slub.c unsigned long count = 0; count 3321 mm/slub.c count++; count 3323 mm/slub.c if (count != n->nr_partial) count 3325 mm/slub.c "counter=%ld\n", s->name, count, n->nr_partial); count 3332 mm/slub.c count++; count 3334 mm/slub.c if (count != atomic_long_read(&n->nr_slabs)) count 3336 mm/slub.c "counter=%ld\n", s->name, count, count 3341 mm/slub.c return count; count 3347 mm/slub.c unsigned long count = 0; count 3358 mm/slub.c count += validate_slab_node(s, n, map); count 3361 mm/slub.c return count; count 3428 mm/slub.c unsigned long count; count 3441 mm/slub.c unsigned long count; count 3463 mm/slub.c if (t->count) { count 3464 mm/slub.c memcpy(l, t->loc, sizeof(struct location) * t->count); count 3481 mm/slub.c end = t->count; count 3497 mm/slub.c l->count++; count 3525 mm/slub.c if (t->count >= t->max && !alloc_loc_track(t, 2 * t->max, GFP_ATOMIC)) count 3529 mm/slub.c if (pos < t->count) count 3531 mm/slub.c (t->count - pos) * sizeof(struct location)); count 3532 mm/slub.c t->count++; count 3533 mm/slub.c l->count = 1; count 3594 mm/slub.c for (i = 0; i < t.count; i++) { count 3599 mm/slub.c len += sprintf(buf + len, "%7ld ", l->count); count 3609 mm/slub.c (long)div_u64(l->sum_time, l->count), count 3640 mm/slub.c if (!t.count) count 3760 mm/slub.c ssize_t (*store)(struct kmem_cache *s, const char *x, size_t count); count 275 mm/swapfile.c int count = p->swap_map[offset]; count 277 mm/swapfile.c if (count < SWAP_MAP_MAX) { count 278 mm/swapfile.c count--; count 279 mm/swapfile.c p->swap_map[offset] = count; count 280 mm/swapfile.c if (!count) { count 291 mm/swapfile.c return count; count 314 mm/swapfile.c int count = 0; count 322 mm/swapfile.c count = p->swap_map[swp_offset(entry)] - 1; count 325 mm/swapfile.c return count; count 334 mm/swapfile.c int count; count 337 mm/swapfile.c count = page_mapcount(page); count 338 mm/swapfile.c if (count <= 1 && PageSwapCache(page)) count 339 mm/swapfile.c count += page_swapcount(page); count 340 mm/swapfile.c return count == 1; count 684 mm/swapfile.c int count; count 706 mm/swapfile.c count = si->swap_map[i]; count 707 mm/swapfile.c if (count && count != SWAP_MAP_BAD) count 473 mm/vmalloc.c if (count > num_physpages) count 476 mm/vmalloc.c area = get_vm_area_caller((count << PAGE_SHIFT), flags, count 715 mm/vmalloc.c if ((unsigned long) addr + count < count) count 716 mm/vmalloc.c count = -(unsigned long) addr; count 724 mm/vmalloc.c if (count == 0) count 729 mm/vmalloc.c count--; count 733 mm/vmalloc.c if (count == 0) count 738 mm/vmalloc.c count--; count 753 mm/vmalloc.c if ((unsigned long) addr + count < count) count 754 mm/vmalloc.c count = -(unsigned long) addr; count 762 mm/vmalloc.c if (count == 0) count 766 mm/vmalloc.c count--; count 770 mm/vmalloc.c if (count == 0) count 775 mm/vmalloc.c count--; count 337 mm/vmstat.c if (!p->expire || !p->pcp.count) count 352 mm/vmstat.c if (p->pcp.count) count 510 mm/vmstat.c unsigned long count[MIGRATE_TYPES] = { 0, }; count 538 mm/vmstat.c count[mtype]++; count 544 mm/vmstat.c seq_printf(m, "%12lu ", count[mtype]); count 725 mm/vmstat.c pageset->pcp.count, count 578 net/9p/client.c (long long unsigned) offset, count); count 590 net/9p/client.c if (count < rsize) count 591 net/9p/client.c rsize = count; count 604 net/9p/client.c n = rc->params.rread.count; count 605 net/9p/client.c if (n > count) count 606 net/9p/client.c n = count; count 609 net/9p/client.c count -= n; count 617 net/9p/client.c } while (count > 0 && n == rsize); count 635 net/9p/client.c (long long unsigned) offset, count); count 647 net/9p/client.c if (count < rsize) count 648 net/9p/client.c rsize = count; count 661 net/9p/client.c n = rc->params.rread.count; count 662 net/9p/client.c count -= n; count 670 net/9p/client.c } while (count > 0); count 689 net/9p/client.c (long long unsigned) offset, count); count 701 net/9p/client.c if (count < rsize) count 702 net/9p/client.c rsize = count; count 715 net/9p/client.c n = rc->params.rread.count; count 716 net/9p/client.c if (n > count) count 717 net/9p/client.c n = count; count 725 net/9p/client.c count -= n; count 733 net/9p/client.c } while (count > 0 && n == rsize); count 753 net/9p/client.c (long long unsigned) offset, count); count 765 net/9p/client.c if (count < rsize) count 766 net/9p/client.c rsize = count; count 779 net/9p/client.c n = rc->params.rread.count; count 780 net/9p/client.c count -= n; count 788 net/9p/client.c } while (count > 0); count 804 net/9p/client.c (long long unsigned) offset, count); count 807 net/9p/client.c while (count) { count 808 net/9p/client.c n = p9_client_read(fid, data, offset, count); count 814 net/9p/client.c count -= n; count 914 net/9p/client.c offset >= fid->rdir_fpos+fid->rdir_fcall->params.rread.count)) { count 917 net/9p/client.c fid->rdir_fpos += fid->rdir_fcall->params.rread.count; count 933 net/9p/client.c fid->rdir_fcall->params.rread.count; count 949 net/9p/client.c n = rc->params.rread.count; count 968 net/9p/client.c fid->rdir_fcall->params.rread.count - m, &st, clnt->dotu); count 374 net/9p/conv.c rcall->params.rread.count = buf_get_int32(bufp); count 376 net/9p/conv.c buf_check_size(bufp, rcall->params.rread.count); count 379 net/9p/conv.c rcall->params.rwrite.count = buf_get_int32(bufp); count 453 net/9p/conv.c *pdata = buf_alloc(bufp, count); count 456 net/9p/conv.c memmove(*pdata, data, count); count 464 net/9p/conv.c *pdata = buf_alloc(bufp, count); count 467 net/9p/conv.c return copy_from_user(*pdata, data, count); count 833 net/9p/conv.c p9_put_int32(bufp, count, &fc->params.tread.count); count 864 net/9p/conv.c size = 4 + 8 + 4 + count; count 871 net/9p/conv.c p9_put_int32(bufp, count, &fc->params.twrite.count); count 872 net/9p/conv.c err = p9_put_data(bufp, data, count, &fc->params.twrite.data); count 907 net/9p/conv.c size = 4 + 8 + 4 + count; count 914 net/9p/conv.c p9_put_int32(bufp, count, &fc->params.twrite.count); count 915 net/9p/conv.c err = p9_put_user_data(bufp, data, count, &fc->params.twrite.data); count 285 net/9p/fcprint.c fc->params.tread.count); count 291 net/9p/fcprint.c fc->params.rread.count); count 293 net/9p/fcprint.c fc->params.rread.count); count 301 net/9p/fcprint.c fc->params.twrite.count); count 303 net/9p/fcprint.c fc->params.twrite.count); count 308 net/9p/fcprint.c tag, fc->params.rwrite.count); count 1393 net/9p/trans_fd.c int rc, count, in[4]; count 1398 net/9p/trans_fd.c for (count = 0; count < 4; count++) { count 1399 net/9p/trans_fd.c if (in[count] > 255) count 156 net/9p/trans_virtio.c int count; count 169 net/9p/trans_virtio.c for (count = old_max; count < c->max_tag; count++) { count 170 net/9p/trans_virtio.c c->reqs[count].status = REQ_STATUS_IDLE; count 171 net/9p/trans_virtio.c c->reqs[count].wq = kmalloc(sizeof(wait_queue_head_t), count 173 net/9p/trans_virtio.c if (!c->reqs[count].wq) { count 177 net/9p/trans_virtio.c init_waitqueue_head(c->reqs[count].wq); count 203 net/9p/trans_virtio.c int count; count 208 net/9p/trans_virtio.c for (count = 0; count < chan->max_tag; count++) count 209 net/9p/trans_virtio.c kfree(chan->reqs[count].wq); count 273 net/9p/trans_virtio.c while (count) { count 275 net/9p/trans_virtio.c if (s > count) count 276 net/9p/trans_virtio.c s = count; count 278 net/9p/trans_virtio.c count -= s; count 537 net/9p/trans_virtio.c int count; count 539 net/9p/trans_virtio.c for (count = 0; count < MAX_9P_CHAN; count++) count 540 net/9p/trans_virtio.c channels[count].initialized = false; count 469 net/appletalk/aarp.c unsigned int count; count 471 net/appletalk/aarp.c for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) { count 487 net/appletalk/aarp.c unsigned int count; count 518 net/appletalk/aarp.c for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) { count 112 net/atm/mpoa_caches.c entry->count = 1; count 128 net/atm/mpoa_caches.c entry->count++; count 133 net/atm/mpoa_caches.c if(entry->count > mpc->parameters.mpc_p1){ count 151 net/atm/mpoa_caches.c if( entry->count > mpc->parameters.mpc_p1 && count 227 net/atm/mpoa_caches.c entry->count=0; count 24 net/atm/mpoa_caches.h uint32_t count; count 378 net/atm/proc.c if (count == 0) return 0; count 386 net/atm/proc.c if (length > count) length = -EINVAL; count 540 net/bluetooth/cmtp/capi.c if (off + count >= len) count 548 net/bluetooth/cmtp/capi.c return ((count < len - off) ? count : len - off); count 118 net/bluetooth/cmtp/core.c BT_DBG("session %p buf %p count %d", session, buf, count); count 120 net/bluetooth/cmtp/core.c size = (skb) ? skb->len + count : count; count 130 net/bluetooth/cmtp/core.c memcpy(skb_put(nskb, count), buf, count); count 964 net/bluetooth/hci_core.c while (count) { count 974 net/bluetooth/hci_core.c if (count >= HCI_EVENT_HDR_SIZE) { count 982 net/bluetooth/hci_core.c if (count >= HCI_ACL_HDR_SIZE) { count 990 net/bluetooth/hci_core.c if (count >= HCI_SCO_HDR_SIZE) { count 1018 net/bluetooth/hci_core.c len = min(len, count); count 1033 net/bluetooth/hci_core.c count -= len; data += len; count 1420 net/bluetooth/hci_event.c __u16 handle, count; count 1423 net/bluetooth/hci_event.c count = get_unaligned_le16(ptr++); count 1427 net/bluetooth/hci_event.c conn->sent -= count; count 1430 net/bluetooth/hci_event.c if ((hdev->acl_cnt += count) > hdev->acl_pkts) count 1433 net/bluetooth/hci_event.c if ((hdev->sco_cnt += count) > hdev->sco_pkts) count 302 net/bluetooth/hci_sysfs.c return count; count 329 net/bluetooth/hci_sysfs.c return count; count 356 net/bluetooth/hci_sysfs.c return count; count 1021 net/bluetooth/l2cap.c int err, hlen, count, sent=0; count 1032 net/bluetooth/l2cap.c count = min_t(unsigned int, (conn->mtu - hlen), len); count 1034 net/bluetooth/l2cap.c skb = bt_skb_send_alloc(sk, hlen + count, count 1047 net/bluetooth/l2cap.c if (memcpy_fromiovec(skb_put(skb, count), msg->msg_iov, count)) { count 1052 net/bluetooth/l2cap.c sent += count; count 1053 net/bluetooth/l2cap.c len -= count; count 1058 net/bluetooth/l2cap.c count = min_t(unsigned int, conn->mtu, len); count 1060 net/bluetooth/l2cap.c *frag = bt_skb_send_alloc(sk, count, msg->msg_flags & MSG_DONTWAIT, &err); count 1064 net/bluetooth/l2cap.c if (memcpy_fromiovec(skb_put(*frag, count), msg->msg_iov, count)) { count 1069 net/bluetooth/l2cap.c sent += count; count 1070 net/bluetooth/l2cap.c len -= count; count 1319 net/bluetooth/l2cap.c int len, count; count 1324 net/bluetooth/l2cap.c count = min_t(unsigned int, conn->mtu, len); count 1326 net/bluetooth/l2cap.c skb = bt_skb_alloc(count, GFP_ATOMIC); count 1340 net/bluetooth/l2cap.c count -= L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE; count 1341 net/bluetooth/l2cap.c memcpy(skb_put(skb, count), data, count); count 1342 net/bluetooth/l2cap.c data += count; count 1350 net/bluetooth/l2cap.c count = min_t(unsigned int, conn->mtu, len); count 1352 net/bluetooth/l2cap.c *frag = bt_skb_alloc(count, GFP_ATOMIC); count 1356 net/bluetooth/l2cap.c memcpy(skb_put(*frag, count), data, count); count 1358 net/bluetooth/l2cap.c len -= count; count 1359 net/bluetooth/l2cap.c data += count; count 778 net/bluetooth/rfcomm/tty.c BT_DBG("tty %p count %d", tty, count); count 780 net/bluetooth/rfcomm/tty.c while (count) { count 781 net/bluetooth/rfcomm/tty.c size = min_t(uint, count, dlc->mtu); count 798 net/bluetooth/rfcomm/tty.c count -= size; count 238 net/bluetooth/sco.c int err, count; count 246 net/bluetooth/sco.c count = min_t(unsigned int, conn->mtu, len); count 247 net/bluetooth/sco.c if (!(skb = bt_skb_send_alloc(sk, count, msg->msg_flags & MSG_DONTWAIT, &err))) count 250 net/bluetooth/sco.c if (memcpy_fromiovec(skb_put(skb, count), msg->msg_iov, count)) { count 258 net/bluetooth/sco.c return count; count 393 net/bridge/br_sysfs_br.c count / sizeof(struct __fdb_entry), count 198 net/bridge/br_sysfs_if.c ret = count; count 94 net/can/bcm.c int count; count 351 net/can/bcm.c if (op->kt_ival1.tv64 && (op->count > 0)) { count 353 net/can/bcm.c op->count--; count 354 net/can/bcm.c if (!op->count && (op->flags & TX_COUNTEVT)) { count 360 net/can/bcm.c msg_head.count = op->count; count 370 net/can/bcm.c if (op->kt_ival1.tv64 && (op->count > 0)) { count 406 net/can/bcm.c head.count = op->count; count 523 net/can/bcm.c msg_head.count = op->count; count 783 net/can/bcm.c msg_head->count = op->count; count 918 net/can/bcm.c op->count = msg_head->count; count 930 net/can/bcm.c ((op->kt_ival1.tv64 && op->count) || op->kt_ival2.tv64)) { count 935 net/can/bcm.c if (op->kt_ival1.tv64 && (op->count > 0)) { count 118 net/can/proc.c if (count > (ULONG_MAX / HZ)) { count 120 net/can/proc.c count); count 124 net/can/proc.c rate = (count * HZ) / (newjif - oldjif); count 85 net/can/raw.c int count; /* number of active filters */ count 133 net/can/raw.c for (i = 0; i < count; i++) { count 167 net/can/raw.c for (i = 0; i < count; i++) count 187 net/can/raw.c raw_disable_filters(dev, sk, ro->filter, ro->count); count 196 net/can/raw.c err = raw_enable_filters(dev, sk, ro->filter, ro->count); count 200 net/can/raw.c raw_disable_filters(dev, sk, ro->filter, ro->count); count 230 net/can/raw.c if (ro->count > 1) count 235 net/can/raw.c ro->count = 0; count 264 net/can/raw.c ro->count = 1; count 301 net/can/raw.c if (ro->count > 1) count 306 net/can/raw.c ro->count = 0; count 416 net/can/raw.c int count = 0; count 430 net/can/raw.c count = optlen / sizeof(struct can_filter); count 432 net/can/raw.c if (count > 1) { count 442 net/can/raw.c } else if (count == 1) { count 454 net/can/raw.c if (count == 1) count 458 net/can/raw.c count); count 460 net/can/raw.c if (count > 1) count 466 net/can/raw.c raw_disable_filters(dev, sk, ro->filter, ro->count); count 470 net/can/raw.c if (ro->count > 1) count 474 net/can/raw.c if (count == 1) { count 480 net/can/raw.c ro->count = count; count 571 net/can/raw.c if (ro->count > 0) { count 572 net/can/raw.c int fsize = ro->count * sizeof(struct can_filter); count 269 net/compat.c int fdnum = scm->fp->count; count 3127 net/core/dev.c (*count)--; count 3162 net/core/dev.c (*count)++; count 53 net/core/flow.c int count; count 62 net/core/flow.c (per_cpu(flow_hash_info, cpu).count) count 216 net/core/net-sysfs.c size_t count = len; count 224 net/core/net-sysfs.c --count; count 227 net/core/net-sysfs.c ret = dev_set_alias(netdev, buf, count); count 38 net/core/net_namespace.c atomic_set(&net->count, 1); count 235 net/core/netpoll.c int count = 0; count 247 net/core/netpoll.c if (++count < 10) { count 218 net/core/pktgen.c int count; count 251 net/core/pktgen.c __u64 count; /* Default No packets to send */ count 468 net/core/pktgen.c if (count > sizeof(data)) count 469 net/core/pktgen.c count = sizeof(data); count 471 net/core/pktgen.c if (copy_from_user(data, buf, count)) { count 475 net/core/pktgen.c data[count - 1] = 0; /* Make string */ count 486 net/core/pktgen.c err = count; count 516 net/core/pktgen.c (unsigned long long)pkt_dev->count, pkt_dev->min_pkt_size, count 830 net/core/pktgen.c if (count < 1) { count 835 net/core/pktgen.c max = count - i; count 854 net/core/pktgen.c max = count - i; count 862 net/core/pktgen.c char tb[count + 1]; count 863 net/core/pktgen.c if (copy_from_user(tb, user_buffer, count)) count 865 net/core/pktgen.c tb[count] = 0; count 867 net/core/pktgen.c (unsigned long)count, tb); count 884 net/core/pktgen.c return count; count 901 net/core/pktgen.c return count; count 920 net/core/pktgen.c return count; count 931 net/core/pktgen.c return count; count 942 net/core/pktgen.c return count; count 959 net/core/pktgen.c return count; count 972 net/core/pktgen.c return count; count 985 net/core/pktgen.c return count; count 998 net/core/pktgen.c return count; count 1011 net/core/pktgen.c return count; count 1022 net/core/pktgen.c return count; count 1030 net/core/pktgen.c pkt_dev->count = value; count 1032 net/core/pktgen.c (unsigned long long)pkt_dev->count); count 1033 net/core/pktgen.c return count; count 1047 net/core/pktgen.c return count; count 1061 net/core/pktgen.c return count; count 1161 net/core/pktgen.c return count; count 1164 net/core/pktgen.c return count; count 1186 net/core/pktgen.c return count; count 1209 net/core/pktgen.c return count; count 1232 net/core/pktgen.c return count; count 1255 net/core/pktgen.c return count; count 1276 net/core/pktgen.c return count; count 1299 net/core/pktgen.c return count; count 1320 net/core/pktgen.c return count; count 1341 net/core/pktgen.c return count; count 1382 net/core/pktgen.c return count; count 1424 net/core/pktgen.c return count; count 1430 net/core/pktgen.c return count; count 1444 net/core/pktgen.c return count; count 1455 net/core/pktgen.c return count; count 1466 net/core/pktgen.c return count; count 1477 net/core/pktgen.c return count; count 1500 net/core/pktgen.c return count; count 1527 net/core/pktgen.c return count; count 1542 net/core/pktgen.c return count; count 1557 net/core/pktgen.c return count; count 1584 net/core/pktgen.c return count; count 1599 net/core/pktgen.c return count; count 1614 net/core/pktgen.c return count; count 1630 net/core/pktgen.c return count; count 1646 net/core/pktgen.c return count; count 1707 net/core/pktgen.c if (count < 1) { count 1712 net/core/pktgen.c max = count - i; count 1730 net/core/pktgen.c max = count - i; count 1739 net/core/pktgen.c name, (unsigned long)count); count 1763 net/core/pktgen.c ret = count; count 1773 net/core/pktgen.c ret = count; count 1780 net/core/pktgen.c ret = count; count 2141 net/core/pktgen.c if (pkt_dev->flows[flow].count >= pkt_dev->lflow) { count 2143 net/core/pktgen.c pkt_dev->flows[flow].count = 0; count 2153 net/core/pktgen.c if (pkt_dev->flows[flow].count > pkt_dev->lflow) { count 2154 net/core/pktgen.c pkt_dev->flows[flow].count = 0; count 2412 net/core/pktgen.c pkt_dev->flows[flow].count++; count 3471 net/core/pktgen.c if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { count 3645 net/core/pktgen.c pkt_dev->count = pg_count_d; count 78 net/core/scm.c fpl->count = 0; count 80 net/core/scm.c fpp = &fpl->fp[fpl->count]; count 82 net/core/scm.c if (fpl->count + num > SCM_MAX_FD) count 97 net/core/scm.c fpl->count++; count 109 net/core/scm.c for (i=fpl->count-1; i>=0; i--) count 158 net/core/scm.c if (p->fp && !p->fp->count) count 214 net/core/scm.c int fdnum = scm->fp->count; count 287 net/core/scm.c for (i=fpl->count-1; i>=0; i--) count 197 net/dsa/slave.c int count; count 199 net/dsa/slave.c count = 4; count 201 net/dsa/slave.c count += ds->drv->get_sset_count(ds); count 203 net/dsa/slave.c return count; count 238 net/ieee80211/ieee80211_module.c return snprintf(page, count, "0x%08X\n", ieee80211_debug_level); count 245 net/ieee80211/ieee80211_module.c unsigned long len = min((unsigned long)sizeof(buf) - 1, count); count 249 net/ieee80211/ieee80211_module.c return count; count 1322 net/ieee80211/ieee80211_rx.c network->quiet.count = info_element->data[0]; count 1951 net/ipv4/fib_trie.c int count = cb->args[3]; count 1957 net/ipv4/fib_trie.c if (count == 0) count 1965 net/ipv4/fib_trie.c l = trie_leafindex(t, count); count 1971 net/ipv4/fib_trie.c cb->args[3] = count; count 1976 net/ipv4/fib_trie.c ++count; count 1981 net/ipv4/fib_trie.c cb->args[3] = count; count 1746 net/ipv4/igmp.c int count = 0; count 1767 net/ipv4/igmp.c count++; count 1770 net/ipv4/igmp.c if (count >= sysctl_igmp_max_memberships) count 1940 net/ipv4/igmp.c int count = IP_SFBLOCK; count 1943 net/ipv4/igmp.c count += psl->sl_max; count 1944 net/ipv4/igmp.c newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL); count 1949 net/ipv4/igmp.c newpsl->sl_max = count; count 1950 net/ipv4/igmp.c newpsl->sl_count = count - IP_SFBLOCK; count 2069 net/ipv4/igmp.c int err, len, count, copycount; count 2106 net/ipv4/igmp.c count = 0; count 2108 net/ipv4/igmp.c count = psl->sl_count; count 2110 net/ipv4/igmp.c copycount = count < msf->imsf_numsrc ? count : msf->imsf_numsrc; count 2112 net/ipv4/igmp.c msf->imsf_numsrc = count; count 2129 net/ipv4/igmp.c int err, i, count, copycount; count 2157 net/ipv4/igmp.c count = psl ? psl->sl_count : 0; count 2158 net/ipv4/igmp.c copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; count 2159 net/ipv4/igmp.c gsf->gf_numsrc = count; count 206 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c .data = &init_net.ct.count, count 326 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c unsigned int nr_conntracks = atomic_read(&net->ct.count); count 90 net/ipv4/netfilter/nf_conntrack_proto_icmp.c if (atomic_dec_and_test(&ct->proto.icmp.count)) count 93 net/ipv4/netfilter/nf_conntrack_proto_icmp.c atomic_inc(&ct->proto.icmp.count); count 120 net/ipv4/netfilter/nf_conntrack_proto_icmp.c atomic_set(&ct->proto.icmp.count, 0); count 109 net/ipv4/netfilter/nf_nat_h323.c for (i = 0; i < count; i++) { count 161 net/ipv4/netfilter/nf_nat_h323.c for (i = 0; i < count; i++) { count 244 net/ipv4/proc.c int j, i, count; count 248 net/ipv4/proc.c count = 0; count 252 net/ipv4/proc.c out[count++] = i; count 253 net/ipv4/proc.c if (count < PERLINE) count 267 net/ipv4/proc.c if (count) { count 269 net/ipv4/proc.c for (j = 0; j < count; ++j) count 273 net/ipv4/proc.c for (j = 0; j < count; ++j) count 51 net/ipv4/syncookies.c tmp[3] = count; 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 130 net/ipv4/syncookies.c diff = (count - (cookie >> COOKIEBITS)) & ((__u32) - 1 >> COOKIEBITS); count 135 net/ipv4/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) count 1248 net/ipv4/tcp.c if (!desc->count) count 410 net/ipv6/ip6_flowlabel.c int count = 0; count 416 net/ipv6/ip6_flowlabel.c count++; count 419 net/ipv6/ip6_flowlabel.c ((count >= FL_MAX_PER_SOCK || count 420 net/ipv6/ip6_flowlabel.c (count > 0 && room < FL_MAX_SIZE/2) || room < FL_MAX_SIZE/4) count 447 net/ipv6/mcast.c int count = IP6_SFBLOCK; count 450 net/ipv6/mcast.c count += psl->sl_max; count 451 net/ipv6/mcast.c newpsl = sock_kmalloc(sk, IP6_SFLSIZE(count), GFP_ATOMIC); count 456 net/ipv6/mcast.c newpsl->sl_max = count; count 457 net/ipv6/mcast.c newpsl->sl_count = count - IP6_SFBLOCK; count 586 net/ipv6/mcast.c int err, i, count, copycount; count 624 net/ipv6/mcast.c count = psl ? psl->sl_count : 0; count 629 net/ipv6/mcast.c copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; count 630 net/ipv6/mcast.c gsf->gf_numsrc = count; count 92 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c if (atomic_dec_and_test(&ct->proto.icmp.count)) count 95 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c atomic_inc(&ct->proto.icmp.count); count 120 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c atomic_set(&ct->proto.icmp.count, 0); count 93 net/ipv6/syncookies.c tmp[9] = count; count 104 net/ipv6/syncookies.c sseq + (count << COOKIEBITS) + count 105 net/ipv6/syncookies.c ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) count 118 net/ipv6/syncookies.c diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); count 123 net/ipv6/syncookies.c cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) count 58 net/ipv6/xfrm6_state.c int count[maxclass]; count 60 net/ipv6/xfrm6_state.c memset(count, 0, sizeof(count)); count 65 net/ipv6/xfrm6_state.c count[c]++; count 69 net/ipv6/xfrm6_state.c count[i] += count[i - 1]; count 72 net/ipv6/xfrm6_state.c dst[count[class[i] - 1]++] = src[i]; count 104 net/irda/ircomm/ircomm_param.c int count; count 136 net/irda/ircomm/ircomm_param.c count = irda_param_insert(self, pi, skb_tail_pointer(skb), count 138 net/irda/ircomm/ircomm_param.c if (count < 0) { count 143 net/irda/ircomm/ircomm_param.c skb_put(skb, count); count 154 net/irda/ircomm/ircomm_param.c return count; count 513 net/irda/ircomm/ircomm_tty.c if ((tty->count == 1) && (self->open_count != 1)) { count 674 net/irda/ircomm/ircomm_tty.c IRDA_DEBUG(2, "%s(), count=%d, hw_stopped=%d\n", __func__ , count, count 704 net/irda/ircomm/ircomm_tty.c if (count < 1) count 721 net/irda/ircomm/ircomm_tty.c while (count) { count 722 net/irda/ircomm/ircomm_tty.c size = count; count 772 net/irda/ircomm/ircomm_tty.c count -= size; count 1360 net/irda/ircomm/ircomm_tty.c int count = 0, l; count 1367 net/irda/ircomm/ircomm_tty.c while ((self != NULL) && (count < 4000)) { count 1371 net/irda/ircomm/ircomm_tty.c l = ircomm_tty_line_info(self, buf + count); count 1372 net/irda/ircomm/ircomm_tty.c count += l; count 1373 net/irda/ircomm/ircomm_tty.c if (count+begin > offset+len) count 1375 net/irda/ircomm/ircomm_tty.c if (count+begin < offset) { count 1376 net/irda/ircomm/ircomm_tty.c begin += count; count 1377 net/irda/ircomm/ircomm_tty.c count = 0; count 1386 net/irda/ircomm/ircomm_tty.c if (offset >= count+begin) count 1389 net/irda/ircomm/ircomm_tty.c return ((len < begin+count-offset) ? len : begin+count-offset); count 191 net/irda/irda_device.c int count = 0; count 202 net/irda/irda_device.c if (count++ > 100) { count 316 net/irda/irda_device.c set_dma_count(channel, count); count 368 net/irda/irlan/irlan_client.c int count; count 406 net/irda/irlan/irlan_client.c count = frame[1]; count 408 net/irda/irlan/irlan_client.c IRDA_DEBUG(4, "%s(), got %d parameters\n", __func__ , count); count 413 net/irda/irlan/irlan_client.c for (i=0; i<count;i++) { count 230 net/irda/irlan/irlan_provider.c int count; count 259 net/irda/irlan/irlan_provider.c count = frame[1]; count 261 net/irda/irlan/irlan_provider.c IRDA_DEBUG(4, "Got %d parameters\n", count); count 266 net/irda/irlan/irlan_provider.c for (i=0; i<count;i++) { count 701 net/irda/irlap.c int count = 0; count 727 net/irda/irlap.c count++; count 985 net/irda/irlap_frame.c int count; count 991 net/irda/irlap_frame.c count = skb_queue_len(&self->wx_list); count 1014 net/irda/irlap_frame.c if (count-- == 1) count 52 net/irda/irnet/irnet_ppp.c DENTER(CTRL_TRACE, "(ap=0x%p, count=%Zd)\n", ap, count); count 55 net/irda/irnet/irnet_ppp.c DABORT(count >= IRNET_MAX_COMMAND, -ENOMEM, count 59 net/irda/irnet/irnet_ppp.c if(copy_from_user(command, buf, count)) count 66 net/irda/irnet/irnet_ppp.c command[count] = '\0'; count 68 net/irda/irnet/irnet_ppp.c command, count); count 168 net/irda/irnet/irnet_ppp.c return(count); count 285 net/irda/irnet/irnet_ppp.c DENTER(CTRL_TRACE, "(ap=0x%p, count=%Zd)\n", ap, count); count 288 net/irda/irnet/irnet_ppp.c DABORT(count < sizeof(event), -EOVERFLOW, CTRL_ERROR, "Buffer to small.\n"); count 569 net/irda/irnet/irnet_ppp.c file, ap, count); count 576 net/irda/irnet/irnet_ppp.c return irnet_ctrl_write(ap, buf, count); count 593 net/irda/irnet/irnet_ppp.c file, ap, count); count 600 net/irda/irnet/irnet_ppp.c return irnet_ctrl_read(ap, file, buf, count); count 1766 net/key/af_key.c out_hdr->sadb_msg_seq = count + 1; count 2624 net/key/af_key.c out_hdr->sadb_msg_seq = count + 1; count 24 net/mac80211/debugfs.c size_t count, loff_t *ppos) \ count 31 net/mac80211/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ count 92 net/mac80211/debugfs.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); count 103 net/mac80211/debugfs.c size_t count, loff_t *ppos) \ count 107 net/mac80211/debugfs.c count, \ count 20 net/mac80211/debugfs_key.c size_t count, loff_t *ppos) \ count 25 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ count 82 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, alg, strlen(alg)); count 111 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); count 148 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); count 162 net/mac80211/debugfs_key.c return simple_read_from_buffer(userbuf, count, ppos, buf, len); count 177 net/mac80211/debugfs_key.c res = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); count 39 net/mac80211/debugfs_netdev.c ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret); count 55 net/mac80211/debugfs_netdev.c buf_size = min(count, (sizeof(buf)-1)); count 57 net/mac80211/debugfs_netdev.c return count; count 63 net/mac80211/debugfs_netdev.c return count; count 114 net/mac80211/debugfs_netdev.c size_t count, loff_t *ppos) \ count 117 net/mac80211/debugfs_netdev.c userbuf, count, ppos, \ count 132 net/mac80211/debugfs_netdev.c size_t count, loff_t *ppos) \ count 135 net/mac80211/debugfs_netdev.c userbuf, count, ppos, \ count 140 net/mac80211/debugfs_netdev.c size_t count, loff_t *ppos) \ count 143 net/mac80211/debugfs_netdev.c userbuf, count, ppos, \ count 23 net/mac80211/debugfs_sta.c size_t count, loff_t *ppos) \ count 29 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ count 85 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); count 97 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); count 108 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, res); count 122 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); count 169 net/mac80211/debugfs_sta.c return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); count 190 net/mac80211/debugfs_sta.c buf_size = min(count, (sizeof(buf)-1)); count 233 net/mac80211/debugfs_sta.c return count; count 877 net/mac80211/ieee80211_i.h ssize_t (*store)(struct sta_info *, const char *buf, size_t count); count 79 net/mac80211/mlme.c int i, j, count; count 81 net/mac80211/mlme.c count = 0; count 88 net/mac80211/mlme.c count++; count 93 net/mac80211/mlme.c return count; count 240 net/mac80211/mlme.c int i, len, count, rates_len, supp_rates_len; count 333 net/mac80211/mlme.c count = 0; count 338 net/mac80211/mlme.c if (++count == 8) count 343 net/mac80211/mlme.c if (rates_len > count) { count 344 net/mac80211/mlme.c pos = skb_put(skb, rates_len - count + 2); count 346 net/mac80211/mlme.c *pos++ = rates_len - count; count 498 net/mac80211/mlme.c int count; count 509 net/mac80211/mlme.c count = wmm_param[6] & 0x0f; count 510 net/mac80211/mlme.c if (count == ifsta->wmm_last_param_set) count 512 net/mac80211/mlme.c ifsta->wmm_last_param_set = count; count 138 net/mac80211/rate.c return simple_read_from_buffer(userbuf, count, ppos, count 2235 net/netfilter/ipvs/ip_vs_ctl.c int idx, count=0; count 2246 net/netfilter/ipvs/ip_vs_ctl.c if (count >= get->num_services) count 2250 net/netfilter/ipvs/ip_vs_ctl.c if (copy_to_user(&uptr->entrytable[count], count 2255 net/netfilter/ipvs/ip_vs_ctl.c count++; count 2265 net/netfilter/ipvs/ip_vs_ctl.c if (count >= get->num_services) count 2269 net/netfilter/ipvs/ip_vs_ctl.c if (copy_to_user(&uptr->entrytable[count], count 2274 net/netfilter/ipvs/ip_vs_ctl.c count++; count 2296 net/netfilter/ipvs/ip_vs_ctl.c int count = 0; count 2301 net/netfilter/ipvs/ip_vs_ctl.c if (count >= get->num_dests) count 2314 net/netfilter/ipvs/ip_vs_ctl.c if (copy_to_user(&uptr->entrytable[count], count 2319 net/netfilter/ipvs/ip_vs_ctl.c count++; count 474 net/netfilter/nf_conntrack_core.c atomic_inc(&net->ct.count); count 477 net/netfilter/nf_conntrack_core.c unlikely(atomic_read(&net->ct.count) > nf_conntrack_max)) { count 480 net/netfilter/nf_conntrack_core.c atomic_dec(&net->ct.count); count 492 net/netfilter/nf_conntrack_core.c atomic_dec(&net->ct.count); count 517 net/netfilter/nf_conntrack_core.c atomic_dec(&net->ct.count); count 1026 net/netfilter/nf_conntrack_core.c if (atomic_read(&net->ct.count) != 0) { count 1202 net/netfilter/nf_conntrack_core.c atomic_set(&net->ct.count, 0); count 189 net/netfilter/nf_conntrack_expect.c int count; count 193 net/netfilter/nf_conntrack_expect.c for (count = 0; count < NF_CT_TUPLE_L3SIZE; count++){ count 194 net/netfilter/nf_conntrack_expect.c intersect_mask.src.u3.all[count] = count 195 net/netfilter/nf_conntrack_expect.c a->mask.src.u3.all[count] & b->mask.src.u3.all[count]; count 612 net/netfilter/nf_conntrack_h323_asn1.c unsigned int count, effective_count = 0, i, len = 0; count 627 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; count 632 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; count 633 net/netfilter/nf_conntrack_h323_asn1.c count <<= 8; count 634 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; count 639 net/netfilter/nf_conntrack_h323_asn1.c count = get_len(bs); count 642 net/netfilter/nf_conntrack_h323_asn1.c count = get_bits(bs, f->sz); count 645 net/netfilter/nf_conntrack_h323_asn1.c count += f->lb; count 649 net/netfilter/nf_conntrack_h323_asn1.c effective_count = count > f->ub ? f->ub : count; count 658 net/netfilter/nf_conntrack_h323_asn1.c for (i = 0; i < count; i++) { count 64 net/netfilter/nf_conntrack_h323_main.c TransportAddress *taddr, int count) __read_mostly; count 69 net/netfilter/nf_conntrack_h323_main.c TransportAddress *taddr, int count) __read_mostly; count 885 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < setup->fastStart.count; i++) { count 916 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < callproc->fastStart.count; i++) { count 946 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < connect->fastStart.count; i++) { count 976 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < alert->fastStart.count; i++) { count 1015 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < facility->fastStart.count; i++) { count 1045 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < progress->fastStart.count; i++) { count 1101 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < pdu->h245Control.count; i++) { count 1258 net/netfilter/nf_conntrack_h323_main.c for (i = 0; i < count; i++) { count 1265 net/netfilter/nf_conntrack_h323_main.c if (i >= count) /* Not found */ count 1371 net/netfilter/nf_conntrack_h323_main.c rrq->callSignalAddress.count); count 1379 net/netfilter/nf_conntrack_h323_main.c rrq->rasAddress.count); count 1410 net/netfilter/nf_conntrack_h323_main.c rcf->callSignalAddress.count); count 1458 net/netfilter/nf_conntrack_h323_main.c urq->callSignalAddress.count); count 1641 net/netfilter/nf_conntrack_h323_main.c irr->callSignalAddress.count); count 179 net/netfilter/nf_conntrack_proto_sctp.c for ((offset) = (dataoff) + sizeof(sctp_sctphdr_t), (count) = 0; \ count 182 net/netfilter/nf_conntrack_proto_sctp.c (offset) += (ntohs((sch)->length) + 3) & ~3, (count)++) count 190 net/netfilter/nf_conntrack_proto_sctp.c u_int32_t offset, count; count 196 net/netfilter/nf_conntrack_proto_sctp.c for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) { count 197 net/netfilter/nf_conntrack_proto_sctp.c pr_debug("Chunk Num: %d Type: %d\n", count, sch->type); count 212 net/netfilter/nf_conntrack_proto_sctp.c count != 0) || !sch->length) { count 222 net/netfilter/nf_conntrack_proto_sctp.c return count == 0; count 299 net/netfilter/nf_conntrack_proto_sctp.c u_int32_t offset, count; count 322 net/netfilter/nf_conntrack_proto_sctp.c for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) { count 403 net/netfilter/nf_conntrack_proto_sctp.c u_int32_t offset, count; count 420 net/netfilter/nf_conntrack_proto_sctp.c for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) { count 235 net/netfilter/nf_conntrack_standalone.c unsigned int nr_conntracks = atomic_read(&net->ct.count); count 344 net/netfilter/nf_conntrack_standalone.c .data = &init_net.ct.count, count 422 net/netfilter/nf_conntrack_standalone.c table[1].data = &net->ct.count; count 89 net/netfilter/xt_connbytes.c if (sinfo->count.to) count 90 net/netfilter/xt_connbytes.c return what <= sinfo->count.to && what >= sinfo->count.from; count 92 net/netfilter/xt_connbytes.c return what >= sinfo->count.from; count 91 net/netfilter/xt_hashlimit.c unsigned int count; /* number entries in table */ count 156 net/netfilter/xt_hashlimit.c if (ht->cfg.max && ht->count >= ht->cfg.max) { count 175 net/netfilter/xt_hashlimit.c ht->count++; count 184 net/netfilter/xt_hashlimit.c ht->count--; count 236 net/netfilter/xt_hashlimit.c hinfo->count = 0; count 297 net/netfilter/xt_hashlimit.c hinfo->count = 0; count 41 net/netfilter/xt_multiport.c for (i = 0; i < count; i++) { count 60 net/netfilter/xt_multiport.c for (i = 0; i < minfo->count; i++) { count 118 net/netfilter/xt_multiport.c multiinfo->count, ntohs(pptr[0]), ntohs(pptr[1])); count 158 net/netfilter/xt_multiport.c && count <= XT_MULTI_PORTS; count 167 net/netfilter/xt_multiport.c multiinfo->count); count 176 net/netfilter/xt_multiport.c multiinfo->count); count 185 net/netfilter/xt_multiport.c multiinfo->count); count 194 net/netfilter/xt_multiport.c multiinfo->count); count 41 net/netfilter/xt_statistic.c if (info->u.nth.count++ == info->u.nth.every) { count 42 net/netfilter/xt_statistic.c info->u.nth.count = 0; count 238 net/netlink/attr.c int minlen = min_t(int, count, nla_len(src)); count 121 net/netrom/nr_route.c for (i = 0; i < nr_nodet->count; i++) count 152 net/netrom/nr_route.c nr_neigh->count = 0; count 189 net/netrom/nr_route.c nr_node->count = 1; count 198 net/netrom/nr_route.c nr_neigh->count++; count 212 net/netrom/nr_route.c for (found = 0, i = 0; i < nr_node->count; i++) { count 223 net/netrom/nr_route.c if (nr_node->count < 3) { count 232 net/netrom/nr_route.c nr_node->count++; count 234 net/netrom/nr_route.c nr_neigh->count++; count 238 net/netrom/nr_route.c nr_node->routes[2].neighbour->count--; count 241 net/netrom/nr_route.c if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) count 249 net/netrom/nr_route.c nr_neigh->count++; count 255 net/netrom/nr_route.c switch (nr_node->count) { count 301 net/netrom/nr_route.c for (i = 0; i < nr_node->count; i++) { count 370 net/netrom/nr_route.c for (i = 0; i < nr_node->count; i++) { count 372 net/netrom/nr_route.c nr_neigh->count--; count 375 net/netrom/nr_route.c if (nr_neigh->count == 0 && !nr_neigh->locked) count 379 net/netrom/nr_route.c nr_node->count--; count 381 net/netrom/nr_route.c if (nr_node->count == 0) { count 431 net/netrom/nr_route.c nr_neigh->count = 0; count 468 net/netrom/nr_route.c if (nr_neigh->count == 0) count 490 net/netrom/nr_route.c for (i = 0; i < s->count; i++) { count 498 net/netrom/nr_route.c nr_neigh->count--; count 501 net/netrom/nr_route.c if (nr_neigh->count == 0 && !nr_neigh->locked) count 504 net/netrom/nr_route.c s->count--; count 523 net/netrom/nr_route.c if (s->count <= 0) count 548 net/netrom/nr_route.c for (i = 0; i < t->count; i++) { count 550 net/netrom/nr_route.c t->count--; count 563 net/netrom/nr_route.c if (t->count <= 0) count 754 net/netrom/nr_route.c if (nr_node->which < nr_node->count && count 812 net/netrom/nr_route.c if (nr_node->which >= nr_node->count) { count 910 net/netrom/nr_route.c nr_node->count); count 912 net/netrom/nr_route.c for (i = 0; i < nr_node->count; i++) { count 995 net/netrom/nr_route.c nr_neigh->count, count 1048 net/netrom/nr_route.c while(s->count) { count 1049 net/netrom/nr_route.c s->count--; count 142 net/packet/af_packet.c int count; count 1304 net/packet/af_packet.c ml->count++; count 1315 net/packet/af_packet.c i->count = 1; count 1340 net/packet/af_packet.c if (--ml->count == 0) { count 439 net/rfkill/rfkill.c return error ? error : count; count 492 net/rfkill/rfkill.c return error ? error : count; count 97 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 325 net/rose/rose_route.c for (i = 0; i < rose_node->count; i++) { count 327 net/rose/rose_route.c rose_neigh->count--; count 329 net/rose/rose_route.c if (rose_neigh->count == 0 && rose_neigh->use == 0) count 332 net/rose/rose_route.c rose_node->count--; count 334 net/rose/rose_route.c if (rose_node->count == 0) { count 376 net/rose/rose_route.c sn->count = 0; count 423 net/rose/rose_route.c rose_node->count = 1; count 431 net/rose/rose_route.c rose_loopback_neigh->count++; count 462 net/rose/rose_route.c rose_loopback_neigh->count--; count 493 net/rose/rose_route.c for (i = 0; i < t->count; i++) { count 497 net/rose/rose_route.c t->count--; count 509 net/rose/rose_route.c if (t->count <= 0) count 568 net/rose/rose_route.c s->count = 0; count 678 net/rose/rose_route.c for (i = 0; i < node->count; i++) { count 1121 net/rose/rose_route.c rose_node->count); count 1123 net/rose/rose_route.c for (i = 0; i < rose_node->count; i++) count 1199 net/rose/rose_route.c rose_neigh->count, count 679 net/rxrpc/ar-input.c _enter("%p, %d", sk, count); count 461 net/sched/cls_api.c arg.w.count = 0; count 463 net/sched/cls_api.c cb->args[1] = arg.w.count+1; count 235 net/sched/cls_basic.c if (arg->count < arg->skip) count 243 net/sched/cls_basic.c arg->count++; count 667 net/sched/cls_flow.c if (arg->count < arg->skip) count 674 net/sched/cls_flow.c arg->count++; count 317 net/sched/cls_fw.c if (arg->count < arg->skip) { count 318 net/sched/cls_fw.c arg->count++; count 325 net/sched/cls_fw.c arg->count++; count 533 net/sched/cls_route.c if (arg->count < arg->skip) { count 534 net/sched/cls_route.c arg->count++; count 541 net/sched/cls_route.c arg->count++; count 573 net/sched/cls_rsvp.h if (arg->count < arg->skip) { count 574 net/sched/cls_rsvp.h arg->count++; count 581 net/sched/cls_rsvp.h arg->count++; count 375 net/sched/cls_tcindex.c if (walker->count >= walker->skip) { count 383 net/sched/cls_tcindex.c walker->count++; count 391 net/sched/cls_tcindex.c if (walker->count >= walker->skip) { count 398 net/sched/cls_tcindex.c walker->count++; count 417 net/sched/cls_tcindex.c walker.count = 0; count 666 net/sched/cls_u32.c if (arg->count >= arg->skip) { count 672 net/sched/cls_u32.c arg->count++; count 675 net/sched/cls_u32.c if (arg->count < arg->skip) { count 676 net/sched/cls_u32.c arg->count++; count 683 net/sched/cls_u32.c arg->count++; count 915 net/sched/sch_api.c arg.w.stop = arg.w.skip = arg.w.count = 0; count 1536 net/sched/sch_api.c arg.w.count = 0; count 1538 net/sched/sch_api.c cb->args[1] = arg.w.count; count 363 net/sched/sch_atm.c if (walker->count >= walker->skip) count 368 net/sched/sch_atm.c walker->count++; count 2032 net/sched/sch_cbq.c if (arg->count < arg->skip) { count 2033 net/sched/sch_cbq.c arg->count++; count 2040 net/sched/sch_cbq.c arg->count++; count 176 net/sched/sch_dsmark.c if (walker->count >= walker->skip) { count 183 net/sched/sch_dsmark.c walker->count++; count 1396 net/sched/sch_hfsc.c if (arg->count < arg->skip) { count 1397 net/sched/sch_hfsc.c arg->count++; count 1404 net/sched/sch_hfsc.c arg->count++; count 1532 net/sched/sch_htb.c if (arg->count < arg->skip) { count 1533 net/sched/sch_htb.c arg->count++; count 1540 net/sched/sch_htb.c arg->count++; count 411 net/sched/sch_multiq.c if (arg->count < arg->skip) { count 412 net/sched/sch_multiq.c arg->count++; count 419 net/sched/sch_multiq.c arg->count++; count 164 net/sched/sch_netem.c int count = 1; count 170 net/sched/sch_netem.c ++count; count 174 net/sched/sch_netem.c --count; count 176 net/sched/sch_netem.c if (count == 0) { count 189 net/sched/sch_netem.c if (count > 1 && (skb2 = skb_clone(skb, GFP_ATOMIC)) != NULL) { count 687 net/sched/sch_netem.c if (walker->count >= walker->skip) count 692 net/sched/sch_netem.c walker->count++; 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 332 net/sched/sch_red.c if (walker->count >= walker->skip) count 337 net/sched/sch_red.c walker->count++; count 600 net/sched/sch_sfq.c arg->count < arg->skip) { count 601 net/sched/sch_sfq.c arg->count++; count 608 net/sched/sch_sfq.c arg->count++; count 438 net/sched/sch_tbf.c if (walker->count >= walker->skip) count 443 net/sched/sch_tbf.c walker->count++; count 84 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&ctx->count); count 91 net/sunrpc/auth_gss/auth_gss.c if (atomic_dec_and_test(&ctx->count)) count 166 net/sunrpc/auth_gss/auth_gss.c atomic_set(&ctx->count,1); count 225 net/sunrpc/auth_gss/auth_gss.c atomic_t count; count 238 net/sunrpc/auth_gss/auth_gss.c if (!atomic_dec_and_test(&gss_msg->count)) count 254 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&pos->count); count 276 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&gss_msg->count); count 290 net/sunrpc/auth_gss/auth_gss.c atomic_dec(&gss_msg->count); count 336 net/sunrpc/auth_gss/auth_gss.c atomic_set(&gss_msg->count, 1); count 402 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&gss_msg->count); count 558 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&gss_msg->count); count 576 net/sunrpc/auth_gss/auth_gss.c atomic_inc(&gss_msg->count); count 702 net/sunrpc/cache.c if (count == 0) count 734 net/sunrpc/cache.c if (rp->offset + count > rq->len) count 735 net/sunrpc/cache.c count = rq->len - rp->offset; count 737 net/sunrpc/cache.c if (copy_to_user(buf, rq->buf + rp->offset, count)) count 739 net/sunrpc/cache.c rp->offset += count; count 766 net/sunrpc/cache.c return err ? err : count; count 778 net/sunrpc/cache.c if (count == 0) count 780 net/sunrpc/cache.c if (count >= sizeof(write_buf)) count 785 net/sunrpc/cache.c if (copy_from_user(write_buf, buf, count)) { count 789 net/sunrpc/cache.c write_buf[count] = '\0'; count 791 net/sunrpc/cache.c err = cd->cache_parse(cd, write_buf, count); count 796 net/sunrpc/cache.c return err ? err : count; count 1282 net/sunrpc/cache.c if (len > count) count 1283 net/sunrpc/cache.c len = count; count 1297 net/sunrpc/cache.c if (*ppos || count > sizeof(tbuf)-1) count 1299 net/sunrpc/cache.c if (copy_from_user(tbuf, buf, count)) count 1301 net/sunrpc/cache.c tbuf[count] = 0; count 1310 net/sunrpc/cache.c *ppos += count; count 1311 net/sunrpc/cache.c return count; count 176 net/sunrpc/sched.c queue->count = 1 << (priority * 2); count 432 net/sunrpc/sched.c if (--queue->count) count 29 net/sunrpc/socklib.c if (len > desc->count) count 30 net/sunrpc/socklib.c len = desc->count; count 33 net/sunrpc/socklib.c desc->count -= len; count 52 net/sunrpc/socklib.c if (len > desc->count) count 53 net/sunrpc/socklib.c len = desc->count; count 57 net/sunrpc/socklib.c desc->count -= len; count 82 net/sunrpc/socklib.c if (ret != len || !desc->count) count 130 net/sunrpc/socklib.c if (ret != len || !desc->count) count 157 net/sunrpc/socklib.c desc.count = skb->len - desc.offset; count 170 net/sunrpc/socklib.c if (desc.count) count 180 net/sunrpc/socklib.c if (desc.count) count 52 net/sunrpc/svc.c int count; /* How many svc_servs use us */ count 60 net/sunrpc/svc.c .count = 0, count 75 net/sunrpc/svc.c if (m->count) count 242 net/sunrpc/svc.c if (m->count++) { count 285 net/sunrpc/svc.c if (!--m->count) { count 310 net/sunrpc/svc.c BUG_ON(m->count == 0); count 365 net/sunrpc/svcsock.c svsk, sk, count, count 84 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c while (bc && sge_no < ctxt->count) { count 97 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c BUG_ON(bc && (sge_no == ctxt->count)); count 104 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c while (sge_no < ctxt->count) { count 108 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c ctxt->count = bc; count 153 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->arg.pages = &head->pages[head->count]; count 154 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->hdr_count = head->count; /* save count of hdr pages */ count 159 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->count++; count 181 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c chl_map->ch[ch_no].count = count 206 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->count++; count 251 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->arg.pages = &head->pages[head->count]; count 252 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->hdr_count = head->count; /* save count of hdr pages */ count 275 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c head->count += page_no; count 286 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c chl_map->ch[ch_no].count = 1; count 313 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c ctxt->count = count; count 315 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c for (i = 0; i < count; i++) { count 446 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c rdma_read_max_sge(xprt, chl_map->ch[ch_no].count); count 457 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c (read_wr.num_sge == chl_map->ch[ch_no].count)) { count 500 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (read_wr.num_sge < chl_map->ch[ch_no].count) { count 501 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c chl_map->ch[ch_no].count -= read_wr.num_sge; count 536 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c for (page_no = 0; page_no < head->count; page_no++) { count 96 net/sunrpc/xprtrdma/svc_rdma_sendto.c vec->count = 2; count 142 net/sunrpc/xprtrdma/svc_rdma_sendto.c vec->count++; count 149 net/sunrpc/xprtrdma/svc_rdma_sendto.c vec->count++; count 239 net/sunrpc/xprtrdma/svc_rdma_sendto.c vec->count = sge_no; count 262 net/sunrpc/xprtrdma/svc_rdma_sendto.c BUG_ON(vec->count > RPCSVC_MAXPAGES); count 266 net/sunrpc/xprtrdma/svc_rdma_sendto.c write_len, vec->sge, vec->count); count 273 net/sunrpc/xprtrdma/svc_rdma_sendto.c for (bc = xdr_off, xdr_sge_no = 1; bc && xdr_sge_no < vec->count; count 305 net/sunrpc/xprtrdma/svc_rdma_sendto.c ctxt->count++; count 310 net/sunrpc/xprtrdma/svc_rdma_sendto.c BUG_ON(xdr_sge_no > vec->count); count 522 net/sunrpc/xprtrdma/svc_rdma_sendto.c ctxt->count = 1; count 543 net/sunrpc/xprtrdma/svc_rdma_sendto.c for (sge_no = 1; byte_count && sge_no < vec->count; sge_no++) { count 571 net/sunrpc/xprtrdma/svc_rdma_sendto.c ctxt->count++; count 582 net/sunrpc/xprtrdma/svc_rdma_sendto.c BUG_ON(sge_no > ctxt->count); count 102 net/sunrpc/xprtrdma/svc_rdma_transport.c ctxt->count = 0; count 112 net/sunrpc/xprtrdma/svc_rdma_transport.c for (i = 0; i < ctxt->count && ctxt->sge[i].length; i++) { count 137 net/sunrpc/xprtrdma/svc_rdma_transport.c for (i = 0; i < ctxt->count; i++) count 161 net/sunrpc/xprtrdma/svc_rdma_transport.c map->count = 0; count 514 net/sunrpc/xprtrdma/svc_rdma_transport.c ctxt->count = sge_no; count 517 net/sunrpc/xprtrdma/svc_rdma_transport.c recv_wr.num_sge = ctxt->count; count 1328 net/sunrpc/xprtrdma/svc_rdma_transport.c ctxt->count = 1; count 404 net/sunrpc/xprtrdma/verbs.c int count = 0; count 407 net/sunrpc/xprtrdma/verbs.c ++count; count 409 net/sunrpc/xprtrdma/verbs.c if (count) count 411 net/sunrpc/xprtrdma/verbs.c __func__, count, wc.opcode); count 194 net/sunrpc/xprtsock.c for (j = 0; j < count && j < 128; j += 4) { count 967 net/sunrpc/xprtsock.c len = desc->count; count 973 net/sunrpc/xprtsock.c my_desc.count = len; count 976 net/sunrpc/xprtsock.c desc->count -= r; count 1031 net/sunrpc/xprtsock.c if (len > desc->count) count 1032 net/sunrpc/xprtsock.c len = desc->count; count 1033 net/sunrpc/xprtsock.c desc->count -= len; count 1047 net/sunrpc/xprtsock.c .count = len, count 1070 net/sunrpc/xprtsock.c } while (desc.count); count 1072 net/sunrpc/xprtsock.c return len - desc.count; count 1098 net/sunrpc/xprtsock.c rd_desc.count = 65536; count 571 net/tipc/bcast.c assert(tipc_cltr_bcast_nodes.count != 0); count 572 net/tipc/bcast.c bcbuf_set_acks(buf, tipc_cltr_bcast_nodes.count); count 595 net/tipc/bcast.c if (bcbearer->remains_new.count == bcbearer->remains.count) count 613 net/tipc/bcast.c if (bcbearer->remains_new.count == 0) count 646 net/tipc/bcast.c if (!b->active || !b->nodes.count) count 50 net/tipc/bcast.h u32 count; count 65 net/tipc/bcast.h int count; count 87 net/tipc/bcast.h nm_ptr->count++; count 104 net/tipc/bcast.h nm_ptr->count--; count 139 net/tipc/bcast.h nm_diff->count++; count 154 net/tipc/bcast.h int cnt = pl_ptr->count; count 164 net/tipc/bcast.h pl_ptr->count++; count 267 net/tipc/discover.c if (!req->bearer->nodes.count) { count 272 net/tipc/discover.c if (req->bearer->nodes.count) { count 302 net/tipc/discover.c (req->bearer->nodes.count)) count 3078 net/tipc/link.c return (count * 100 + (total / 2)) / total; count 248 net/tipc/name_distr.c u32 count = msg_data_sz(msg) / ITEM_SIZE; count 251 net/tipc/name_distr.c while (count--) { count 132 net/tipc/port.c if (dports.count != 0) { count 141 net/tipc/port.c if ((res < 0) && (dports.count != 0)) { count 185 net/tipc/port.c if (dp->count != 0) { count 186 net/tipc/port.c if (dp->count == 1) { count 192 net/tipc/port.c for (; cnt < dp->count; cnt++) { count 1287 net/unix/af_unix.c for (i=scm->fp->count-1; i>=0; i--) count 1306 net/unix/af_unix.c for (i=scm->fp->count-1; i>=0; i--) count 180 net/unix/garbage.c int nfd = UNIXCB(skb).fp->count; count 72 samples/firmware_class/firmware_sample_firmware_class.c return count; count 86 samples/firmware_class/firmware_sample_firmware_class.c return count; count 97 samples/firmware_class/firmware_sample_firmware_class.c return count; count 40 samples/kobject/kobject-example.c return count; count 72 samples/kobject/kobject-example.c return count; count 42 samples/kobject/kset-example.c ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count); count 123 samples/kobject/kset-example.c return count; count 155 samples/kobject/kset-example.c return count; count 795 scripts/kconfig/confdata.c sym_change_count = count; count 797 scripts/kconfig/confdata.c (bool)_sym_change_count != (bool)count) count 803 scripts/kconfig/confdata.c sym_set_change_count(count + sym_change_count); count 78 scripts/kconfig/lkc.h void sym_set_change_count(int count); count 79 scripts/kconfig/lkc.h void sym_add_change_count(int count); count 361 scripts/mod/file2alias.c const unsigned int count = (size / id_size)-1; count 367 scripts/mod/file2alias.c for (i = 0; i < count; i++) { count 382 scripts/mod/file2alias.c const unsigned int count = (size / id_size)-1; count 388 scripts/mod/file2alias.c for (i = 0; i < count; i++) { count 363 security/device_cgroup.c int retval = 0, count; count 419 security/device_cgroup.c for (b++, count = 0; count < 3; count++, b++) { count 432 security/device_cgroup.c count = 3; count 41 security/inode.c return count; count 145 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 157 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) count 167 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 188 security/selinux/selinuxfs.c length = count; count 212 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 229 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) count 239 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 256 security/selinux/selinuxfs.c length = count; count 276 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 299 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 326 security/selinux/selinuxfs.c if ((count > 64 * 1024 * 1024) count 327 security/selinux/selinuxfs.c || (data = vmalloc(count)) == NULL) { count 333 security/selinux/selinuxfs.c if (copy_from_user(data, buf, count) != 0) count 336 security/selinux/selinuxfs.c length = security_load_policy(data, count); count 356 security/selinux/selinuxfs.c length = count; count 412 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 426 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) count 436 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 444 security/selinux/selinuxfs.c length = count; count 461 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 475 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) count 485 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 493 security/selinux/selinuxfs.c length = count; count 870 security/selinux/selinuxfs.c if (count > PAGE_SIZE) { count 887 security/selinux/selinuxfs.c ret = simple_read_from_buffer(buf, count, ppos, page, length); count 916 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) { count 933 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 944 security/selinux/selinuxfs.c length = count; count 972 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) { count 987 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) count 997 security/selinux/selinuxfs.c length = count; count 1124 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 1136 security/selinux/selinuxfs.c if (count >= PAGE_SIZE) { count 1153 security/selinux/selinuxfs.c if (copy_from_user(page, buf, count)) { count 1169 security/selinux/selinuxfs.c ret = count; count 1189 security/selinux/selinuxfs.c ret = simple_read_from_buffer(buf, count, ppos, page, ret); count 1319 security/selinux/selinuxfs.c ret = simple_read_from_buffer(buf, count, ppos, con, len); count 1393 security/selinux/selinuxfs.c rc = simple_read_from_buffer(buf, count, ppos, page, len); count 1417 security/selinux/selinuxfs.c rc = simple_read_from_buffer(buf, count, ppos, page, len); count 1438 security/selinux/selinuxfs.c return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); count 351 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 for (i = 0; i < count; i++) { count 246 security/smack/smackfs.c if (count != SMK_LOADLEN) count 249 security/smack/smackfs.c data = kzalloc(count, GFP_KERNEL); count 253 security/smack/smackfs.c if (copy_from_user(data, buf, count) != 0) { count 313 security/smack/smackfs.c rc = count; count 510 security/smack/smackfs.c if (count < SMK_CIPSOMIN || count > SMK_CIPSOMAX) count 513 security/smack/smackfs.c data = kzalloc(count + 1, GFP_KERNEL); count 517 security/smack/smackfs.c if (copy_from_user(data, buf, count) != 0) { count 522 security/smack/smackfs.c data[count] = '\0'; count 544 security/smack/smackfs.c if (count != (SMK_CIPSOMIN + catlen * SMK_DIGITLEN)) count 578 security/smack/smackfs.c rc = count; count 613 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); count 636 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) count 639 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) count 642 security/smack/smackfs.c temp[count] = '\0'; count 651 security/smack/smackfs.c return count; count 678 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp)); count 701 security/smack/smackfs.c if (count >= sizeof(temp) || count == 0) count 704 security/smack/smackfs.c if (copy_from_user(temp, buf, count) != 0) count 707 security/smack/smackfs.c temp[count] = '\0'; count 714 security/smack/smackfs.c return count; count 777 security/smack/smackfs.c if (count >= SMK_LABELLEN) count 780 security/smack/smackfs.c if (copy_from_user(in, buf, count) != 0) count 783 security/smack/smackfs.c smack = smk_import(in, count); count 795 security/smack/smackfs.c return count; count 859 security/smack/smackfs.c if (count >= SMK_LABELLEN) count 862 security/smack/smackfs.c if (copy_from_user(in, buf, count) != 0) count 872 security/smack/smackfs.c smack_onlycap = smk_import(in, count); count 874 security/smack/smackfs.c return count; count 917 security/smack/smackfs.c if (count < SMK_LABELLEN) count 931 security/smack/smackfs.c rc = simple_read_from_buffer(buf, count, ppos, bound, strlen(bound)); count 955 security/smack/smackfs.c if (count >= 40) count 958 security/smack/smackfs.c if (copy_from_user(bound, buf, count) != 0) count 961 security/smack/smackfs.c bound[count] = '\0'; count 973 security/smack/smackfs.c return count; count 112 sound/aoa/codecs/snd-aoa-codec-onyx.c uinfo->count = 2; count 188 sound/aoa/codecs/snd-aoa-codec-onyx.c uinfo->count = 1; count 246 sound/aoa/codecs/snd-aoa-codec-onyx.c uinfo->count = 1; count 467 sound/aoa/codecs/snd-aoa-codec-onyx.c uinfo->count = 1; count 228 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 2; count 329 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 2; count 389 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 1; count 483 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 1; count 556 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 1; count 607 sound/aoa/codecs/snd-aoa-codec-tas.c uinfo->count = 1; count 16 sound/aoa/core/snd-aoa-gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !on }; \ count 39 sound/aoa/core/snd-aoa-gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !!on }; count 213 sound/aoa/core/snd-aoa-gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].p = &ret }; count 85 sound/aoa/soundbus/i2sbus/i2sbus-control.c struct pmf_args args = { .count = 0 }; count 113 sound/aoa/soundbus/i2sbus/i2sbus-control.c struct pmf_args args = { .count = 0 }; count 156 sound/aoa/soundbus/i2sbus/i2sbus-control.c struct pmf_args args = { .count = 0 }; count 140 sound/arm/sa11xx-uda1341.c .count = ARRAY_SIZE(rates), count 124 sound/core/control.c for (idx = 0; idx < control->count; idx++) count 192 sound/core/control.c if (snd_BUG_ON(!control || !control->count)) count 194 sound/core/control.c kctl = kzalloc(sizeof(*kctl) + sizeof(struct snd_kcontrol_volatile) * control->count, GFP_KERNEL); count 200 sound/core/control.c for (idx = 0; idx < kctl->count; idx++) count 231 sound/core/control.c kctl.count = ncontrol->count ? ncontrol->count : 1; count 274 sound/core/control.c kctl->id.numid + kctl->count > card->last_numid) || count 275 sound/core/control.c (kctl->id.numid <= card->last_numid + count - 1 && count 276 sound/core/control.c kctl->id.numid + kctl->count > card->last_numid + count - 1)) count 277 sound/core/control.c return card->last_numid = kctl->id.numid + kctl->count - 1; count 287 sound/core/control.c while (last_numid != snd_ctl_hole_check(card, count)) { count 334 sound/core/control.c if (snd_ctl_find_hole(card, kcontrol->count) < 0) { count 340 sound/core/control.c card->controls_count += kcontrol->count; count 342 sound/core/control.c card->last_numid += kcontrol->count; count 344 sound/core/control.c for (idx = 0; idx < kcontrol->count; idx++, id.index++, id.numid++) count 374 sound/core/control.c card->controls_count -= kcontrol->count; count 376 sound/core/control.c for (idx = 0; idx < kcontrol->count; idx++, id.index++, id.numid++) count 435 sound/core/control.c for (idx = 0; idx < kctl->count; idx++) count 469 sound/core/control.c card->last_numid += kctl->count; count 495 sound/core/control.c if (kctl->id.numid <= numid && kctl->id.numid + kctl->count > numid) count 535 sound/core/control.c if (kctl->id.index + kctl->count <= id->index) count 592 sound/core/control.c list.count = card->controls_count; count 598 sound/core/control.c if (offset < kctl->count) count 600 sound/core/control.c offset -= kctl->count; count 607 sound/core/control.c for (jidx = offset; space > 0 && jidx < kctl->count; jidx++) { count 626 sound/core/control.c list.count = card->controls_count; count 959 sound/core/control.c if (info->count > 1024) count 983 sound/core/control.c kctl.count = info->owner ? info->owner : 1; count 998 sound/core/control.c if (info->count > 128) count 1003 sound/core/control.c if (info->count > 64) count 1008 sound/core/control.c if (info->count > 512) count 1013 sound/core/control.c if (info->count != 1) count 1019 sound/core/control.c private_size *= info->count; count 1034 sound/core/control.c for (idx = 0; idx < _kctl->count; idx++) count 1234 sound/core/control.c if (count < sizeof(struct snd_ctl_event)) count 1237 sound/core/control.c while (count >= sizeof(struct snd_ctl_event)) { count 1269 sound/core/control.c count -= sizeof(struct snd_ctl_event); count 1495 sound/core/control.c uinfo->count = 1; count 1507 sound/core/control.c uinfo->count = 2; count 29 sound/core/control_compat.c u32 count; count 68 sound/core/control_compat.c u32 count; count 195 sound/core/control_compat.c *countp = info->count; count 205 sound/core/control_compat.c return sizeof(s64) * count; count 207 sound/core/control_compat.c return sizeof(int) * count; count 223 sound/core/control_compat.c int uninitialized_var(count); count 232 sound/core/control_compat.c type = get_ctl_type(card, &data->id, &count); count 238 sound/core/control_compat.c for (i = 0; i < count; i++) { count 245 sound/core/control_compat.c size = get_elem_size(type, count); count 256 sound/core/control_compat.c *countp = count; count 269 sound/core/control_compat.c for (i = 0; i < count; i++) { count 276 sound/core/control_compat.c size = get_elem_size(type, count); count 288 sound/core/control_compat.c int err, type, count; count 294 sound/core/control_compat.c if ((err = copy_ctl_value_from_user(card, data, data32, &type, &count)) < 0) count 303 sound/core/control_compat.c err = copy_ctl_value_to_user(data32, data, type, count); count 314 sound/core/control_compat.c int err, type, count; count 320 sound/core/control_compat.c if ((err = copy_ctl_value_from_user(card, data, data32, &type, &count)) < 0) count 329 sound/core/control_compat.c err = copy_ctl_value_to_user(data32, data, type, count); count 69 sound/core/hwdep.c return hw->ops.read(hw, buf, count, offset); count 78 sound/core/hwdep.c return hw->ops.write(hw, buf, count, offset); count 223 sound/core/info.c if (pos < 0 || (long) pos != pos || (ssize_t) count < 0) count 225 sound/core/info.c if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos) count 236 sound/core/info.c size = min(count, size); count 244 sound/core/info.c file, buffer, count, pos); count 266 sound/core/info.c if (pos < 0 || (long) pos != pos || (ssize_t) count < 0) count 268 sound/core/info.c if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos) count 276 sound/core/info.c if (pos + count >= buf->len) { count 277 sound/core/info.c if (resize_info_buffer(buf, pos + count)) { count 282 sound/core/info.c if (copy_from_user(buf->buffer + pos, buffer, count)) { count 286 sound/core/info.c buf->size = pos + count; count 288 sound/core/info.c size = count; count 294 sound/core/info.c file, buffer, count, pos); count 587 sound/core/init.c int idx, count; count 590 sound/core/init.c for (idx = count = 0; idx < SNDRV_CARDS; idx++) { count 593 sound/core/init.c count++; count 604 sound/core/init.c if (!count) count 612 sound/core/init.c int idx, count; count 615 sound/core/init.c for (idx = count = 0; idx < SNDRV_CARDS; idx++) { count 618 sound/core/init.c count++; count 623 sound/core/init.c if (!count) { count 409 sound/core/memalloc.c if (count > sizeof(buf) - 1) count 411 sound/core/memalloc.c if (copy_from_user(buf, buffer, count)) count 413 sound/core/memalloc.c buf[count] = '\0'; count 418 sound/core/memalloc.c return count; count 439 sound/core/memalloc.c return count; count 452 sound/core/memalloc.c return count; count 462 sound/core/memalloc.c return count; count 488 sound/core/memalloc.c return count; count 40 sound/core/memory.c return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; count 43 sound/core/memory.c while (count) { count 44 sound/core/memory.c size_t c = count; count 50 sound/core/memory.c count -= c; count 73 sound/core/memory.c return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; count 76 sound/core/memory.c while (count) { count 77 sound/core/memory.c size_t c = count; count 83 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,1) 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,1) count 529 sound/core/oss/mixer_oss.c if (uinfo->count > 1) count 565 sound/core/oss/mixer_oss.c if (uinfo->count == 1) count 568 sound/core/oss/mixer_oss.c if (uinfo->count > 1 && !uctl->value.integer.value[route ? 3 : 1]) count 628 sound/core/oss/mixer_oss.c if (uinfo->count > 1) count 665 sound/core/oss/mixer_oss.c if (uinfo->count > 1) { count 859 sound/core/oss/mixer_oss.c for (idx = 0; idx < uinfo->count; idx++) count 903 sound/core/oss/mixer_oss.c if (info->count > slot->channels) count 904 sound/core/oss/mixer_oss.c slot->channels = info->count; count 2626 sound/core/oss/pcm_oss.c return snd_pcm_oss_read1(substream, buf, count); count 2629 sound/core/oss/pcm_oss.c ssize_t res = snd_pcm_oss_read1(substream, buf, count); count 2630 sound/core/oss/pcm_oss.c printk("pcm_oss: read %li bytes (returned %li bytes)\n", (long)count, (long)res); count 2647 sound/core/oss/pcm_oss.c result = snd_pcm_oss_write1(substream, buf, count); count 2649 sound/core/oss/pcm_oss.c printk("pcm_oss: write %li bytes (wrote %li bytes)\n", (long)count, (long)result); count 570 sound/core/oss/pcm_plugin.c v->frames = count; count 577 sound/core/oss/pcm_plugin.c return count; count 788 sound/core/pcm_lib.c if (!count) { count 792 sound/core/pcm_lib.c for (k = 0; k < count; k++) { count 807 sound/core/pcm_lib.c for (k = count; k-- > 0;) { count 993 sound/core/pcm_lib.c return snd_interval_list(hw_param_interval(params, rule->var), list->count, list->list, list->mask); count 436 sound/core/pcm_misc.c for (i = 0; i < (int)snd_pcm_known_rates.count; i++) { count 442 sound/core/pcm_misc.c for (i = (int)snd_pcm_known_rates.count - 1; i >= 0; i--) { count 464 sound/core/pcm_misc.c for (i = 0; i < snd_pcm_known_rates.count; i++) count 1436 sound/core/pcm_native.c drec = kmalloc(substream->group->count * sizeof(*drec), GFP_KERNEL); count 1620 sound/core/pcm_native.c substream->group->count = 1; count 1623 sound/core/pcm_native.c substream->group->count++; count 1651 sound/core/pcm_native.c substream->group->count--; count 1652 sound/core/pcm_native.c if (substream->group->count == 1) { /* detach the last stream, too */ count 1761 sound/core/pcm_native.c .count = ARRAY_SIZE(rates), count 1770 sound/core/pcm_native.c snd_pcm_known_rates.count, count 2798 sound/core/pcm_native.c if (!frame_aligned(runtime, count)) count 2800 sound/core/pcm_native.c count = bytes_to_frames(runtime, count); count 2801 sound/core/pcm_native.c result = snd_pcm_lib_read(substream, buf, count); count 2822 sound/core/pcm_native.c if (!frame_aligned(runtime, count)) count 2824 sound/core/pcm_native.c count = bytes_to_frames(runtime, count); count 2825 sound/core/pcm_native.c result = snd_pcm_lib_write(substream, buf, count); count 92 sound/core/rawmidi.c (!substream->append || runtime->avail >= count); count 865 sound/core/rawmidi.c if (count == 1) { /* special case, faster code */ count 876 sound/core/rawmidi.c substream->bytes += count; count 878 sound/core/rawmidi.c if (count1 > count) count 879 sound/core/rawmidi.c count1 = count; count 886 sound/core/rawmidi.c count -= count1; count 888 sound/core/rawmidi.c if (count > 0) { count 890 sound/core/rawmidi.c count1 = count; count 893 sound/core/rawmidi.c runtime->xruns += count - count1; count 921 sound/core/rawmidi.c while (count > 0 && runtime->avail) { count 923 sound/core/rawmidi.c if (count1 > count) count 924 sound/core/rawmidi.c count1 = count; count 943 sound/core/rawmidi.c count -= count1; count 952 sound/core/rawmidi.c return snd_rawmidi_kernel_read1(substream, NULL/*userbuf*/, buf, count); count 971 sound/core/rawmidi.c while (count > 0) { count 995 sound/core/rawmidi.c count); count 1000 sound/core/rawmidi.c count -= count1; count 1058 sound/core/rawmidi.c if (count == 1) { /* special case, faster code */ count 1063 sound/core/rawmidi.c if (count1 > count) count 1064 sound/core/rawmidi.c count1 = count; count 1068 sound/core/rawmidi.c count -= count1; count 1070 sound/core/rawmidi.c if (count > 0) { count 1071 sound/core/rawmidi.c if (count > (int)(runtime->buffer_size - runtime->avail - count1)) count 1072 sound/core/rawmidi.c count = runtime->buffer_size - runtime->avail - count1; count 1073 sound/core/rawmidi.c memcpy(buffer + count1, runtime->buffer, count); count 1074 sound/core/rawmidi.c result += count; count 1103 sound/core/rawmidi.c snd_BUG_ON(runtime->avail + count > runtime->buffer_size); count 1104 sound/core/rawmidi.c runtime->hw_ptr += count; count 1106 sound/core/rawmidi.c runtime->avail += count; count 1107 sound/core/rawmidi.c substream->bytes += count; count 1108 sound/core/rawmidi.c if (count > 0) { count 1113 sound/core/rawmidi.c return count; count 1129 sound/core/rawmidi.c count = snd_rawmidi_transmit_peek(substream, buffer, count); count 1130 sound/core/rawmidi.c if (count < 0) count 1131 sound/core/rawmidi.c return count; count 1132 sound/core/rawmidi.c return snd_rawmidi_transmit_ack(substream, count); count 1152 sound/core/rawmidi.c if ((long)runtime->avail < count) { count 1157 sound/core/rawmidi.c while (count > 0 && runtime->avail > 0) { count 1159 sound/core/rawmidi.c if (count1 > count) count 1160 sound/core/rawmidi.c count1 = count; count 1180 sound/core/rawmidi.c count -= count1; count 1193 sound/core/rawmidi.c return snd_rawmidi_kernel_write1(substream, NULL, buf, count); count 1209 sound/core/rawmidi.c if (substream->append && count > runtime->buffer_size) count 1212 sound/core/rawmidi.c while (count > 0) { count 1214 sound/core/rawmidi.c while (!snd_rawmidi_ready_append(substream, count)) { count 1233 sound/core/rawmidi.c count1 = snd_rawmidi_kernel_write1(substream, buf, NULL, count); count 1238 sound/core/rawmidi.c if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) count 1240 sound/core/rawmidi.c count -= count1; count 1383 sound/core/rawmidi.c for (idx = 0; idx < count; idx++) { count 169 sound/core/seq/oss/seq_oss.c return snd_seq_oss_read(dp, buf, count); count 180 sound/core/seq/oss/seq_oss.c return snd_seq_oss_write(dp, buf, count, file); count 55 sound/core/seq/oss/seq_oss_rw.c while (count >= SHORT_EVENT_SIZE) { count 73 sound/core/seq/oss/seq_oss_rw.c if (ev_len < count) { count 85 sound/core/seq/oss/seq_oss_rw.c count -= ev_len; count 105 sound/core/seq/oss/seq_oss_rw.c while (count >= SHORT_EVENT_SIZE) { count 119 sound/core/seq/oss/seq_oss_rw.c fmt, buf, 0, count); count 129 sound/core/seq/oss/seq_oss_rw.c if (count < ev_size) count 153 sound/core/seq/oss/seq_oss_rw.c count -= ev_size; count 403 sound/core/seq/seq_clientmgr.c if (!access_ok(VERIFY_WRITE, buf, count)) count 425 sound/core/seq/seq_clientmgr.c while (count >= sizeof(struct snd_seq_event)) { count 440 sound/core/seq/seq_clientmgr.c count -= sizeof(struct snd_seq_event); count 442 sound/core/seq/seq_clientmgr.c err = snd_seq_expand_var_event(&cell->event, count, count 448 sound/core/seq/seq_clientmgr.c count -= err; count 455 sound/core/seq/seq_clientmgr.c count -= sizeof(struct snd_seq_event); count 1013 sound/core/seq/seq_clientmgr.c while (count >= sizeof(struct snd_seq_event)) { count 1037 sound/core/seq/seq_clientmgr.c if ((size_t)(extlen + len) > count) { count 1065 sound/core/seq/seq_clientmgr.c count -= len; count 2033 sound/core/seq/seq_clientmgr.c subs.num_subs = group->count; count 2442 sound/core/seq/seq_clientmgr.c int count = 0; count 2455 sound/core/seq/seq_clientmgr.c if (count++) count 154 sound/core/seq/seq_memory.c if (count < newlen) count 81 sound/core/seq/seq_midi.c long res, count; count 98 sound/core/seq/seq_midi.c count = snd_midi_event_encode(msynth->parser, pbuf, res, &ev); count 99 sound/core/seq/seq_midi.c if (count < 0) count 101 sound/core/seq/seq_midi.c pbuf += count; count 102 sound/core/seq/seq_midi.c res -= count; count 122 sound/core/seq/seq_midi.c if ((tmp = runtime->avail) < count) { count 123 sound/core/seq/seq_midi.c snd_printd("warning, output event was lost (count = %i, available = %i)\n", count, tmp); count 126 sound/core/seq/seq_midi.c if (snd_rawmidi_kernel_write(substream, buf, count) < count) count 223 sound/core/seq/seq_midi_event.c while (count-- > 0) { count 370 sound/core/seq/seq_midi_event.c return extra_event[type].decode(dev, buf, count, ev); count 384 sound/core/seq/seq_midi_event.c return snd_seq_expand_var_event(ev, count, buf, 1, 0); count 404 sound/core/seq/seq_midi_event.c if (count < qlen) count 456 sound/core/seq/seq_midi_event.c if (count < 4) count 458 sound/core/seq/seq_midi_event.c if (dev->nostat && count < 6) count 461 sound/core/seq/seq_midi_event.c if (count < 5) count 472 sound/core/seq/seq_midi_event.c if (count < 2) count 475 sound/core/seq/seq_midi_event.c if (count < 3) count 502 sound/core/seq/seq_midi_event.c if (count < 8) count 504 sound/core/seq/seq_midi_event.c if (dev->nostat && count < 12) count 512 sound/core/seq/seq_midi_event.c if (count < 9) count 115 sound/core/seq/seq_ports.c grp->count = 0; count 272 sound/core/seq/seq_ports.c snd_BUG_ON(port->c_src.count != 0); count 273 sound/core/seq/seq_ports.c snd_BUG_ON(port->c_dest.count != 0); count 388 sound/core/seq/seq_ports.c info->read_use = port->c_src.count; count 389 sound/core/seq/seq_ports.c info->write_use = port->c_dest.count; count 428 sound/core/seq/seq_ports.c grp->count++; count 429 sound/core/seq/seq_ports.c if (grp->open && (port->callback_all || grp->count == 1)) { count 433 sound/core/seq/seq_ports.c grp->count--; count 451 sound/core/seq/seq_ports.c if (! grp->count) count 453 sound/core/seq/seq_ports.c grp->count--; count 454 sound/core/seq/seq_ports.c if (grp->close && (port->callback_all || grp->count == 0)) count 52 sound/core/seq/seq_ports.h unsigned int count; /* count of subscribers */ count 153 sound/core/seq/seq_prioq.c int count; count 184 sound/core/seq/seq_prioq.c count = 10000; /* FIXME: enough big, isn't it? */ count 198 sound/core/seq/seq_prioq.c if (! --count) { count 155 sound/core/seq/seq_virmidi.c int count, res; count 171 sound/core/seq/seq_virmidi.c count = snd_rawmidi_transmit_peek(substream, buf, sizeof(buf)); count 172 sound/core/seq/seq_virmidi.c if (count <= 0) count 175 sound/core/seq/seq_virmidi.c while (count > 0) { count 176 sound/core/seq/seq_virmidi.c res = snd_midi_event_encode(vmidi->parser, pbuf, count, &vmidi->event); count 183 sound/core/seq/seq_virmidi.c count -= res; count 1848 sound/core/timer.c while ((long)count - result >= unit) { count 22 sound/core/vmaster.c int count; /* item count */ count 63 sound/core/vmaster.c if (slave->info.count) count 76 sound/core/vmaster.c slave->info.count = uinfo->count; count 77 sound/core/vmaster.c if (slave->info.count > 2 || count 93 sound/core/vmaster.c for (ch = 0; ch < slave->info.count; ch++) count 104 sound/core/vmaster.c if (master->info.count) count 112 sound/core/vmaster.c master->info.count = 1; /* always mono */ count 128 sound/core/vmaster.c for (ch = 0; ch < slave->info.count; ch++) count 144 sound/core/vmaster.c for (ch = 0; ch < slave->info.count; ch++) count 149 sound/core/vmaster.c for (ch = 0; ch < slave->info.count; ch++) { count 190 sound/core/vmaster.c for (ch = 0; ch < slave->info.count; ch++) { count 238 sound/core/vmaster.c slave->count * sizeof(*slave->vd), GFP_KERNEL); count 242 sound/core/vmaster.c memcpy(srec->slave.vd, slave->vd, slave->count * sizeof(*slave->vd)); count 273 sound/core/vmaster.c uinfo->count = master->info.count; count 467 sound/drivers/dummy.c uinfo->count = 2; count 500 sound/drivers/mts64.c uinfo->count = 1; count 510 sound/drivers/mts64.c uinfo->count = 1; count 520 sound/drivers/mts64.c uinfo->count = 1; count 612 sound/drivers/mts64.c uinfo->count = 1; count 222 sound/drivers/opl3/opl3_oss.c if (count < (int)sizeof(sbi)) { count 200 sound/drivers/opl3/opl3_synth.c while (count >= sizeof(inst)) { count 217 sound/drivers/opl3/opl3_synth.c count -= sizeof(inst); count 155 sound/drivers/opl4/opl4_local.h int count; count 26 sound/drivers/opl4/opl4_mixer.c uinfo->count = 2; count 60 sound/drivers/opl4/opl4_proc.c size = count; count 86 sound/drivers/opl4/opl4_proc.c size = count; count 494 sound/drivers/opl4/opl4_synth.c for (i = 0; i < regions->count; i++) { count 26 sound/drivers/pcsp/pcsp_input.c if (count) { count 32 sound/drivers/pcsp/pcsp_input.c outb_p(count & 0xff, 0x42); count 33 sound/drivers/pcsp/pcsp_input.c outb((count >> 8) & 0xff, 0x42); count 50 sound/drivers/pcsp/pcsp_input.c unsigned int count = 0; count 73 sound/drivers/pcsp/pcsp_input.c count = PIT_TICK_RATE / value; count 75 sound/drivers/pcsp/pcsp_input.c pcspkr_do_sound(count); count 17 sound/drivers/pcsp/pcsp_mixer.c uinfo->count = 1; count 49 sound/drivers/pcsp/pcsp_mixer.c uinfo->count = 1; count 86 sound/drivers/pcsp/pcsp_mixer.c uinfo->count = 1; count 421 sound/drivers/vx/vx_mixer.c uinfo->count = 2; count 487 sound/drivers/vx/vx_mixer.c uinfo->count = 1; count 551 sound/drivers/vx/vx_mixer.c uinfo->count = 1; count 598 sound/drivers/vx/vx_mixer.c uinfo->count = 2; count 785 sound/drivers/vx/vx_mixer.c uinfo->count = 1; count 858 sound/drivers/vx/vx_mixer.c uinfo->count = 2; count 721 sound/drivers/vx/vx_pcm.c u64 count; count 729 sound/drivers/vx/vx_pcm.c count = ((u64)(rmh.Stat[0] & 0xfffff) << 24) | (u64)rmh.Stat[1]; count 730 sound/drivers/vx/vx_pcm.c update = (int)(count - pipe->cur_count); count 731 sound/drivers/vx/vx_pcm.c pipe->cur_count = count; count 1086 sound/drivers/vx/vx_pcm.c int size, space, count; count 1106 sound/drivers/vx/vx_pcm.c count = size - DMA_READ_ALIGN; count 1110 sound/drivers/vx/vx_pcm.c while (count > 0) { count 1116 sound/drivers/vx/vx_pcm.c count -= 3; count 1118 sound/drivers/vx/vx_pcm.c if (count > 0) { count 1121 sound/drivers/vx/vx_pcm.c space = (count / align) * align; count 1123 sound/drivers/vx/vx_pcm.c count -= space; count 1126 sound/drivers/vx/vx_pcm.c while (count > 0) { count 1130 sound/drivers/vx/vx_pcm.c count -= 3; count 1135 sound/drivers/vx/vx_pcm.c count = DMA_READ_ALIGN; count 1136 sound/drivers/vx/vx_pcm.c while (count > 0) { count 1138 sound/drivers/vx/vx_pcm.c count -= 3; count 134 sound/i2c/cs8427.c if (!memcmp(hw_data, ndata, count)) count 138 sound/i2c/cs8427.c memcpy(hw_data, ndata, count); count 141 sound/i2c/cs8427.c if (memcmp(hw_data, data, count) == 0) { count 151 sound/i2c/cs8427.c for (idx = 0; idx < count; idx++) count 153 sound/i2c/cs8427.c if (snd_i2c_sendbytes(device, data, count + 1) != count + 1) count 355 sound/i2c/cs8427.c uinfo->count = 1; count 380 sound/i2c/cs8427.c uinfo->count = 10; count 413 sound/i2c/cs8427.c uinfo->count = 1; count 457 sound/i2c/cs8427.c uinfo->count = 1; count 146 sound/i2c/i2c.c return device->bus->ops->sendbytes(device, bytes, count); count 153 sound/i2c/i2c.c return device->bus->ops->readbytes(device, bytes, count); count 285 sound/i2c/i2c.c while (count-- > 0) { count 309 sound/i2c/i2c.c while (count-- > 0) { count 310 sound/i2c/i2c.c if ((err = snd_i2c_bit_readbyte(bus, count == 0)) < 0) { count 540 sound/i2c/l3/uda1341.c uinfo->count = 1; count 603 sound/i2c/l3/uda1341.c uinfo->count = 1; count 661 sound/i2c/l3/uda1341.c uinfo->count = 1; count 183 sound/i2c/other/ak4114.c uinfo->count = 1; count 221 sound/i2c/other/ak4114.c uinfo->count = 1; count 239 sound/i2c/other/ak4114.c uinfo->count = 1; count 279 sound/i2c/other/ak4114.c uinfo->count = 1; count 295 sound/i2c/other/ak4114.c uinfo->count = 4; count 317 sound/i2c/other/ak4114.c uinfo->count = AK4114_REG_QSUB_SIZE; count 163 sound/i2c/other/ak4117.c uinfo->count = 1; count 201 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 272 sound/i2c/other/ak4117.c uinfo->count = 1; count 288 sound/i2c/other/ak4117.c uinfo->count = 4; count 310 sound/i2c/other/ak4117.c uinfo->count = AK4117_REG_QSUB_SIZE; count 339 sound/i2c/other/ak4xxx-adda.c uinfo->count = 1; count 397 sound/i2c/other/ak4xxx-adda.c uinfo->count = 2; count 439 sound/i2c/other/ak4xxx-adda.c uinfo->count = 1; count 547 sound/i2c/other/ak4xxx-adda.c uinfo->count = 1; count 612 sound/i2c/other/ak4xxx-adda.c knew.count = 1; count 637 sound/i2c/other/ak4xxx-adda.c knew.count = 1; count 722 sound/i2c/other/ak4xxx-adda.c knew.count = 1; count 804 sound/i2c/other/ak4xxx-adda.c knew.count = 1; count 87 sound/i2c/other/pt2258.c uinfo->count = 2; count 197 sound/i2c/other/pt2258.c knew.count = 1; count 89 sound/i2c/tea6330t.c uinfo->count = 2; count 111 sound/i2c/tea6330t.c int change, count, err; count 121 sound/i2c/tea6330t.c count = 0; count 123 sound/i2c/tea6330t.c bytes[count++] = TEA6330T_SADDR_VOLUME_LEFT; count 124 sound/i2c/tea6330t.c bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] = tea->mleft; count 127 sound/i2c/tea6330t.c if (count == 0) count 128 sound/i2c/tea6330t.c bytes[count++] = TEA6330T_SADDR_VOLUME_RIGHT; count 129 sound/i2c/tea6330t.c bytes[count++] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] = tea->mright; count 131 sound/i2c/tea6330t.c if (count > 0) { count 132 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0) count 194 sound/i2c/tea6330t.c uinfo->count = 1; count 241 sound/i2c/tea6330t.c uinfo->count = 1; count 726 sound/isa/ad1816a/ad1816a_lib.c uinfo->count = 2; count 784 sound/isa/ad1816a/ad1816a_lib.c uinfo->count = 1; count 849 sound/isa/ad1816a/ad1816a_lib.c uinfo->count = 2; count 394 sound/isa/cs423x/cs4236_lib.c uinfo->count = 1; count 497 sound/isa/cs423x/cs4236_lib.c uinfo->count = 2; count 966 sound/isa/cs423x/cs4236_lib.c unsigned int idx, count; count 990 sound/isa/cs423x/cs4236_lib.c count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4235); count 994 sound/isa/cs423x/cs4236_lib.c count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4237); count 998 sound/isa/cs423x/cs4236_lib.c count = ARRAY_SIZE(snd_cs4236_3d_controls_cs4238); count 1002 sound/isa/cs423x/cs4236_lib.c count = 0; count 1005 sound/isa/cs423x/cs4236_lib.c for (idx = 0; idx < count; idx++, kcontrol++) { count 369 sound/isa/es1688/es1688_lib.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 408 sound/isa/es1688/es1688_lib.c count = -count; count 411 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa4, (unsigned char) count); count 412 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa5, (unsigned char) (count >> 8)); count 430 sound/isa/es1688/es1688_lib.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 465 sound/isa/es1688/es1688_lib.c count = -count; count 468 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa4, (unsigned char) count); count 469 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xa5, (unsigned char) (count >> 8)); count 763 sound/isa/es1688/es1688_lib.c uinfo->count = 1; count 808 sound/isa/es1688/es1688_lib.c uinfo->count = 1; count 867 sound/isa/es1688/es1688_lib.c uinfo->count = 2; count 496 sound/isa/es18xx.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 503 sound/isa/es18xx.c count = 0x10000 - count; count 504 sound/isa/es18xx.c snd_es18xx_mixer_write(chip, 0x74, count & 0xff); count 505 sound/isa/es18xx.c snd_es18xx_mixer_write(chip, 0x76, count >> 8); count 597 sound/isa/es18xx.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 609 sound/isa/es18xx.c count = 0x10000 - count; count 610 sound/isa/es18xx.c snd_es18xx_write(chip, 0xA4, count & 0xff); count 611 sound/isa/es18xx.c snd_es18xx_write(chip, 0xA5, count >> 8); count 665 sound/isa/es18xx.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 677 sound/isa/es18xx.c count = 0x10000 - count; count 678 sound/isa/es18xx.c snd_es18xx_write(chip, 0xA4, count & 0xff); count 679 sound/isa/es18xx.c snd_es18xx_write(chip, 0xA5, count >> 8); count 990 sound/isa/es18xx.c uinfo->count = 1; count 1101 sound/isa/es18xx.c uinfo->count = 2; count 1162 sound/isa/es18xx.c uinfo->count = 1; count 1212 sound/isa/es18xx.c uinfo->count = 2; count 69 sound/isa/gus/gus_dma.c count++; count 70 sound/isa/gus/gus_dma.c count &= ~1; /* align */ count 74 sound/isa/gus/gus_dma.c count++; count 75 sound/isa/gus/gus_dma.c count &= ~1; /* align */ count 78 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 80 sound/isa/gus/gus_dma.c snd_printk("address = 0x%x, count = 0x%x, dma_cmd = 0x%x\n", address << 1, count, dma_cmd); count 142 sound/isa/gus/gus_dma.c snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); count 145 sound/isa/gus/gus_dma.c printk("program dma (IRQ) - addr = 0x%x, buffer = 0x%lx, count = 0x%x, cmd = 0x%x\n", addr, (long) buffer, count, cmd); count 207 sound/isa/gus/gus_dma.c printk("addr = 0x%x, buffer = 0x%lx, count = 0x%x, cmd = 0x%x\n", block->addr, (long) block->buffer, block->count, block->cmd); count 237 sound/isa/gus/gus_dma.c snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); count 398 sound/isa/gus/gus_io.c count >>= 1; count 410 sound/isa/gus/gus_io.c while (count--) count 528 sound/isa/gus/gus_io.c while (count-- > 0) count 529 sound/isa/gus/gus_io.c printk(count > 0 ? "%02x:" : "%02x", snd_gf1_peek(gus, addr++)); count 531 sound/isa/gus/gus_io.c while (count-- > 0) { count 532 sound/isa/gus/gus_io.c printk(count > 0 ? "%04x:" : "%04x", snd_gf1_peek(gus, addr) | (snd_gf1_peek(gus, addr + 1) << 8)); count 54 sound/isa/gus/gus_main.c uinfo->count = 1; count 43 sound/isa/gus/gus_mem_proc.c size = count; count 84 sound/isa/gus/gus_mixer.c uinfo->count = 2; count 83 sound/isa/gus/gus_pcm.c count += offset & 31; count 95 sound/isa/gus/gus_pcm.c block.count = count; count 303 sound/isa/gus/gus_pcm.c while (count > 0) { count 304 sound/isa/gus/gus_pcm.c len = count; count 307 sound/isa/gus/gus_pcm.c count -= len; count 334 sound/isa/gus/gus_pcm.c if (count > 0 && !in_interrupt()) { count 354 sound/isa/gus/gus_pcm.c len = samples_to_bytes(runtime, count); count 385 sound/isa/gus/gus_pcm.c len = samples_to_bytes(runtime, count); count 390 sound/isa/gus/gus_pcm.c snd_pcm_format_set_silence(runtime->format, runtime->dma_area + bpos, count); count 736 sound/isa/gus/gus_pcm.c uinfo->count = 2; count 30 sound/isa/gus/gus_uart.c int count; count 34 sound/isa/gus/gus_uart.c count = 10; count 35 sound/isa/gus/gus_uart.c while (count) { count 40 sound/isa/gus/gus_uart.c count--; count 43 sound/isa/gus/gus_uart.c count = 100; /* arm counter to new value */ count 285 sound/isa/opti9xx/miro.c uinfo->count = 1; count 385 sound/isa/opti9xx/miro.c uinfo->count = 2; count 824 sound/isa/sb/emu8000.c uinfo->count = 1; count 885 sound/isa/sb/emu8000.c uinfo->count = 1; count 952 sound/isa/sb/emu8000.c uinfo->count = 1; count 432 sound/isa/sb/emu8000_pcm.c while (count > 0) { count 438 sound/isa/sb/emu8000_pcm.c count--; count 456 sound/isa/sb/emu8000_pcm.c count /= rec->voices; count 458 sound/isa/sb/emu8000_pcm.c err = emu8k_transfer_block(emu, pos + rec->loop_start[i], buf, count); count 461 sound/isa/sb/emu8000_pcm.c buf += count; count 465 sound/isa/sb/emu8000_pcm.c return emu8k_transfer_block(emu, pos + rec->loop_start[voice], src, count); count 473 sound/isa/sb/emu8000_pcm.c while (count > 0) { count 476 sound/isa/sb/emu8000_pcm.c count--; count 494 sound/isa/sb/emu8000_pcm.c err = emu8k_silence_block(emu, pos + rec->loop_start[0], count / 2); count 497 sound/isa/sb/emu8000_pcm.c return emu8k_silence_block(emu, pos + rec->loop_start[1], count / 2); count 499 sound/isa/sb/emu8000_pcm.c return emu8k_silence_block(emu, pos + rec->loop_start[voice], count); count 524 sound/isa/sb/emu8000_pcm.c while (count-- > 0) { count 552 sound/isa/sb/emu8000_pcm.c while (count-- > 0) { count 989 sound/isa/sb/sb16_csp.c uinfo->count = 2; count 264 sound/isa/sb/sb16_main.c unsigned int size, count, dma; count 278 sound/isa/sb/sb16_main.c count = snd_pcm_lib_period_bytes(substream); count 281 sound/isa/sb/sb16_main.c count >>= 1; count 282 sound/isa/sb/sb16_main.c count--; count 285 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count & 0xff); count 286 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count >> 8); count 289 sound/isa/sb/sb16_main.c count--; count 292 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count & 0xff); count 293 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count >> 8); count 334 sound/isa/sb/sb16_main.c unsigned int size, count, dma; count 347 sound/isa/sb/sb16_main.c count = snd_pcm_lib_period_bytes(substream); count 350 sound/isa/sb/sb16_main.c count >>= 1; count 351 sound/isa/sb/sb16_main.c count--; count 354 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count & 0xff); count 355 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count >> 8); count 358 sound/isa/sb/sb16_main.c count--; count 361 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count & 0xff); count 362 sound/isa/sb/sb16_main.c snd_sbdsp_command(chip, count >> 8); count 709 sound/isa/sb/sb16_main.c uinfo->count = 1; count 108 sound/isa/sb/sb8_main.c unsigned int mixreg, rate, size, count; count 137 sound/isa/sb/sb8_main.c count = chip->p_period_size = snd_pcm_lib_period_bytes(substream); count 171 sound/isa/sb/sb8_main.c count--; count 173 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count & 0xff); count 174 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count >> 8); count 187 sound/isa/sb/sb8_main.c unsigned int count; count 194 sound/isa/sb/sb8_main.c count = chip->p_period_size - 1; count 195 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count & 0xff); count 196 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count >> 8); count 236 sound/isa/sb/sb8_main.c unsigned int mixreg, rate, size, count; count 266 sound/isa/sb/sb8_main.c count = chip->c_period_size = snd_pcm_lib_period_bytes(substream); count 285 sound/isa/sb/sb8_main.c count--; count 287 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count & 0xff); count 288 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count >> 8); count 301 sound/isa/sb/sb8_main.c unsigned int count; count 308 sound/isa/sb/sb8_main.c count = chip->c_period_size - 1; count 309 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count & 0xff); count 310 sound/isa/sb/sb8_main.c snd_sbdsp_command(chip, count >> 8); count 65 sound/isa/sb/sb_mixer.c uinfo->count = 1; count 117 sound/isa/sb/sb_mixer.c uinfo->count = 2; count 190 sound/isa/sb/sb_mixer.c uinfo->count = 1; count 282 sound/isa/sb/sb_mixer.c uinfo->count = 1; count 351 sound/isa/sb/sb_mixer.c uinfo->count = 4; count 720 sound/isa/sscape.c uinfo->count = 1; count 77 sound/isa/wss/wss_lib.c .count = ARRAY_SIZE(rates), count 989 sound/isa/wss/wss_lib.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 995 sound/isa/wss/wss_lib.c count = snd_wss_get_count(chip->image[CS4231_PLAYBK_FORMAT], count) - 1; count 996 sound/isa/wss/wss_lib.c snd_wss_out(chip, CS4231_PLY_LWR_CNT, (unsigned char) count); count 997 sound/isa/wss/wss_lib.c snd_wss_out(chip, CS4231_PLY_UPR_CNT, (unsigned char) (count >> 8)); count 1032 sound/isa/wss/wss_lib.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 1039 sound/isa/wss/wss_lib.c count = snd_wss_get_count(chip->image[CS4231_PLAYBK_FORMAT], count 1040 sound/isa/wss/wss_lib.c count); count 1042 sound/isa/wss/wss_lib.c count = snd_wss_get_count(chip->image[CS4231_REC_FORMAT], count 1043 sound/isa/wss/wss_lib.c count); count 1044 sound/isa/wss/wss_lib.c count--; count 1046 sound/isa/wss/wss_lib.c snd_wss_out(chip, CS4231_PLY_LWR_CNT, (unsigned char) count); count 1048 sound/isa/wss/wss_lib.c (unsigned char) (count >> 8)); count 1050 sound/isa/wss/wss_lib.c snd_wss_out(chip, CS4231_REC_LWR_CNT, (unsigned char) count); count 1052 sound/isa/wss/wss_lib.c (unsigned char) (count >> 8)); count 1952 sound/isa/wss/wss_lib.c uinfo->count = 2; count 2013 sound/isa/wss/wss_lib.c uinfo->count = 1; count 2070 sound/isa/wss/wss_lib.c uinfo->count = 2; count 261 sound/mips/au1x00.c .count = ARRAY_SIZE(rates), count 184 sound/mips/hal2.c uinfo->count = 2; count 455 sound/mips/hal2.c int count = H2_BUF_SIZE / H2_BLOCK_SIZE; count 462 sound/mips/hal2.c desc = dma_alloc_noncoherent(NULL, count * sizeof(struct hal2_desc), count 472 sound/mips/hal2.c for (i = 0; i < count; i++) { count 475 sound/mips/hal2.c desc->desc.pnext = (i == count - 1) ? count 479 sound/mips/hal2.c dma_cache_sync(NULL, codec->desc, count * sizeof(struct hal2_desc), count 481 sound/mips/hal2.c codec->desc_count = count; count 164 sound/mips/sgio2audio.c uinfo->count = 2; count 208 sound/mips/sgio2audio.c uinfo->count = 1; count 387 sound/mips/sgio2audio.c chip->channel[ch].size += (count >> 3); /* in frames */ count 391 sound/mips/sgio2audio.c while (count) { count 401 sound/mips/sgio2audio.c count -= sizeof(u64); count 435 sound/mips/sgio2audio.c chip->channel[ch].size += (count >> 3); /* in frames */ count 439 sound/mips/sgio2audio.c while (count) { count 451 sound/mips/sgio2audio.c count -= sizeof(u64); count 495 sound/mips/sgio2audio.c int count, ch; count 502 sound/mips/sgio2audio.c count = CHANNEL_RING_SIZE - count 504 sound/mips/sgio2audio.c if (snd_sgio2audio_dma_pull_frag(chip, ch, count)) count 515 sound/mips/sgio2audio.c int count, ch; count 521 sound/mips/sgio2audio.c count = CHANNEL_RING_SIZE - count 523 sound/mips/sgio2audio.c if (snd_sgio2audio_dma_push_frag(chip, ch, count)) count 1039 sound/oss/ad1848.c cnt = count; count 1081 sound/oss/ad1848.c cnt = count; count 115 sound/oss/au1550_ac97.c int count; count 656 sound/oss/au1550_ac97.c db->count = 0; count 734 sound/oss/au1550_ac97.c if (db->count >= db->fragsize) { count 742 sound/oss/au1550_ac97.c db->count -= db->fragsize; count 768 sound/oss/au1550_ac97.c if ((dp->count + obytes) > dp->dmasize) { count 786 sound/oss/au1550_ac97.c dp->count += obytes; count 846 sound/oss/au1550_ac97.c int count, tmo; count 853 sound/oss/au1550_ac97.c count = s->dma_dac.count; count 855 sound/oss/au1550_ac97.c if (count <= s->dma_dac.fragsize) count 861 sound/oss/au1550_ac97.c tmo = 1000 * count / (s->no_vra ? count 997 sound/oss/au1550_ac97.c if (bufptr + count > bufend) { count 1006 sound/oss/au1550_ac97.c count - partial)) < 0) count 1016 sound/oss/au1550_ac97.c count - partial)) < 0) count 1022 sound/oss/au1550_ac97.c ret = translate_to_user(db, userbuf, bufptr, count); count 1024 sound/oss/au1550_ac97.c ret = translate_from_user(db, bufptr, userbuf, count); count 1043 sound/oss/au1550_ac97.c if (!access_ok(VERIFY_WRITE, buffer, count)) count 1047 sound/oss/au1550_ac97.c count *= db->cnt_factor; count 1052 sound/oss/au1550_ac97.c while (count > 0) { count 1059 sound/oss/au1550_ac97.c avail = db->count; count 1083 sound/oss/au1550_ac97.c count > avail ? count 1084 sound/oss/au1550_ac97.c avail : count, 1)) < 0) { count 1091 sound/oss/au1550_ac97.c db->count -= cnt; count 1097 sound/oss/au1550_ac97.c count -= cnt; count 1121 sound/oss/au1550_ac97.c pr_debug("write: count=%d\n", count); count 1125 sound/oss/au1550_ac97.c if (!access_ok(VERIFY_READ, buffer, count)) count 1128 sound/oss/au1550_ac97.c count *= db->cnt_factor; count 1133 sound/oss/au1550_ac97.c while (count > 0) { count 1138 sound/oss/au1550_ac97.c avail = (int) db->dmasize - db->count; count 1162 sound/oss/au1550_ac97.c count > avail ? count 1163 sound/oss/au1550_ac97.c avail : count, 0)) < 0) { count 1170 sound/oss/au1550_ac97.c db->count += cnt; count 1179 sound/oss/au1550_ac97.c while ((db->dma_qcount < 2) && (db->count >= db->fragsize)) { count 1194 sound/oss/au1550_ac97.c count -= cnt; count 1231 sound/oss/au1550_ac97.c if (s->dma_adc.count >= (signed)s->dma_adc.dma_fragsize) count 1236 sound/oss/au1550_ac97.c if (s->dma_dac.count >= count 1241 sound/oss/au1550_ac97.c s->dma_dac.count + (signed)s->dma_dac.dma_fragsize) count 1349 sound/oss/au1550_ac97.c int count; count 1356 sound/oss/au1550_ac97.c for (count = 0; count < ARRAY_SIZE(ioctl_str); count++) { count 1357 sound/oss/au1550_ac97.c if (ioctl_str[count].cmd == cmd) count 1360 sound/oss/au1550_ac97.c if (count < ARRAY_SIZE(ioctl_str)) count 1361 sound/oss/au1550_ac97.c pr_debug("ioctl %s, arg=0x%lxn", ioctl_str[count].str, arg); count 1386 sound/oss/au1550_ac97.c s->dma_dac.count = s->dma_dac.total_bytes = 0; count 1393 sound/oss/au1550_ac97.c s->dma_adc.count = s->dma_adc.total_bytes = 0; count 1600 sound/oss/au1550_ac97.c count = s->dma_dac.count; count 1601 sound/oss/au1550_ac97.c count -= dma_count_done(&s->dma_dac); count 1603 sound/oss/au1550_ac97.c if (count < 0) count 1604 sound/oss/au1550_ac97.c count = 0; count 1605 sound/oss/au1550_ac97.c abinfo.bytes = (s->dma_dac.dmasize - count) / count 1618 sound/oss/au1550_ac97.c count = s->dma_adc.count; count 1619 sound/oss/au1550_ac97.c count += dma_count_done(&s->dma_adc); count 1621 sound/oss/au1550_ac97.c if (count < 0) count 1622 sound/oss/au1550_ac97.c count = 0; count 1623 sound/oss/au1550_ac97.c abinfo.bytes = count / s->dma_adc.cnt_factor; count 1637 sound/oss/au1550_ac97.c count = s->dma_dac.count; count 1638 sound/oss/au1550_ac97.c count -= dma_count_done(&s->dma_dac); count 1640 sound/oss/au1550_ac97.c if (count < 0) count 1641 sound/oss/au1550_ac97.c count = 0; count 1642 sound/oss/au1550_ac97.c count /= s->dma_dac.cnt_factor; count 1643 sound/oss/au1550_ac97.c return put_user(count, (int *) arg); count 1650 sound/oss/au1550_ac97.c count = s->dma_adc.count; count 1653 sound/oss/au1550_ac97.c count += diff; count 1661 sound/oss/au1550_ac97.c s->dma_adc.count &= (s->dma_adc.dma_fragsize-1); count 1663 sound/oss/au1550_ac97.c if (count < 0) count 1664 sound/oss/au1550_ac97.c count = 0; count 1665 sound/oss/au1550_ac97.c cinfo.blocks = count >> s->dma_adc.fragshift; count 1673 sound/oss/au1550_ac97.c count = s->dma_dac.count; count 1676 sound/oss/au1550_ac97.c count -= diff; count 1684 sound/oss/au1550_ac97.c s->dma_dac.count &= (s->dma_dac.dma_fragsize-1); count 1686 sound/oss/au1550_ac97.c if (count < 0) count 1687 sound/oss/au1550_ac97.c count = 0; count 1688 sound/oss/au1550_ac97.c cinfo.blocks = count >> s->dma_dac.fragshift; count 231 sound/oss/audio.c c = count; count 233 sound/oss/audio.c if(count < 0) count 244 sound/oss/audio.c if (!count) /* Flush output */ count 300 sound/oss/audio.c return count; count 311 sound/oss/audio.c c = count; count 365 sound/oss/audio.c return count - c; count 370 sound/oss/audio.c int val, count; count 510 sound/oss/audio.c count = DMAbuf_get_buffer_pointer (dev, dmap, DMODE_OUTPUT); count 511 sound/oss/audio.c if (count < dmap->fragment_size && dmap->qhead != 0) count 512 sound/oss/audio.c count += dmap->bytes_in_use; /* Pointer wrap not handled yet */ count 513 sound/oss/audio.c count += dmap->byte_counter; count 516 sound/oss/audio.c count = dmap->user_counter - count; count 517 sound/oss/audio.c if (count < 0) count 518 sound/oss/audio.c count = 0; count 520 sound/oss/audio.c val = count; count 688 sound/oss/audio.c int bytes, count; count 698 sound/oss/audio.c count = (fact >> 16) & 0x7fff; count 700 sound/oss/audio.c if (count == 0) count 701 sound/oss/audio.c count = MAX_SUB_BUFFERS; count 702 sound/oss/audio.c else if (count < MAX_SUB_BUFFERS) count 703 sound/oss/audio.c count++; count 708 sound/oss/audio.c if (count < 2) count 725 sound/oss/audio.c dmap->max_fragments = count; count 735 sound/oss/audio.c return bytes | ((count - 1) << 16); count 745 sound/oss/audio.c int fact, ret, changed, bits, count, err; count 928 sound/oss/audio.c count = DMAbuf_get_buffer_pointer (dev, dmap_out, DMODE_OUTPUT); count 929 sound/oss/audio.c if (count < dmap_out->fragment_size && dmap_out->qhead != 0) count 930 sound/oss/audio.c count += dmap_out->bytes_in_use; /* Pointer wrap not handled yet */ count 931 sound/oss/audio.c count += dmap_out->byte_counter; count 933 sound/oss/audio.c count = dmap_out->user_counter - count; count 934 sound/oss/audio.c if (count < 0) count 935 sound/oss/audio.c count = 0; count 937 sound/oss/audio.c ret = count; count 171 sound/oss/dev_table.h int count, int intrflag); count 173 sound/oss/dev_table.h int count, int intrflag); count 274 sound/oss/dev_table.h int offs, int count, int pmgr_flag); count 160 sound/oss/dmabuf.c set_dma_count(chan, count); count 927 sound/oss/dmabuf.c sound_start_dma(dmap, physaddr, count, dma_mode); count 928 sound/oss/dmabuf.c return count; count 947 sound/oss/dmabuf.c return count; count 226 sound/oss/dmasound/dmasound.h int front, rear, count; count 160 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 163 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft); count 165 sound/oss/dmasound/dmasound_atari.c count &= ~1; count 166 sound/oss/dmasound/dmasound_atari.c used = count; count 167 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 172 sound/oss/dmasound/dmasound_atari.c count--; count 183 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 186 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft); count 188 sound/oss/dmasound/dmasound_atari.c count &= ~1; count 189 sound/oss/dmasound/dmasound_atari.c used = count; count 190 sound/oss/dmasound/dmasound_atari.c if (copy_from_user(p, userPtr, count)) count 201 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 205 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft); count 206 sound/oss/dmasound/dmasound_atari.c used = count; count 207 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 212 sound/oss/dmasound/dmasound_atari.c count--; count 216 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>1; count 217 sound/oss/dmasound/dmasound_atari.c used = count*2; count 218 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 224 sound/oss/dmasound/dmasound_atari.c count--; count 236 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 240 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>1; count 241 sound/oss/dmasound/dmasound_atari.c used = count*2; count 242 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 249 sound/oss/dmasound/dmasound_atari.c count--; count 254 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft) & ~3; count 255 sound/oss/dmasound/dmasound_atari.c used = count; count 256 sound/oss/dmasound/dmasound_atari.c if (copy_from_user(p, userPtr, count)) count 268 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 272 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>1; count 273 sound/oss/dmasound/dmasound_atari.c used = count*2; count 274 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 282 sound/oss/dmasound/dmasound_atari.c count--; count 287 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>2; count 288 sound/oss/dmasound/dmasound_atari.c used = count*4; count 289 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 295 sound/oss/dmasound/dmasound_atari.c count--; count 307 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 309 sound/oss/dmasound/dmasound_atari.c count = frameLeft; count 312 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>1; count 313 sound/oss/dmasound/dmasound_atari.c used = count*2; count 314 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 322 sound/oss/dmasound/dmasound_atari.c count--; count 327 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>2; count 328 sound/oss/dmasound/dmasound_atari.c used = count*4; count 329 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 336 sound/oss/dmasound/dmasound_atari.c count--; count 348 sound/oss/dmasound/dmasound_atari.c ssize_t count, used; count 350 sound/oss/dmasound/dmasound_atari.c count = frameLeft; count 353 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>1; count 354 sound/oss/dmasound/dmasound_atari.c used = count*2; count 355 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 367 sound/oss/dmasound/dmasound_atari.c count = min_t(unsigned long, userCount, frameLeft)>>2; count 368 sound/oss/dmasound/dmasound_atari.c used = count; count 369 sound/oss/dmasound/dmasound_atari.c while (count > 0) { count 376 sound/oss/dmasound/dmasound_atari.c count--; count 1175 sound/oss/dmasound/dmasound_atari.c end = start+((write_sq.count == index) ? write_sq.rear_size count 1206 sound/oss/dmasound/dmasound_atari.c write_sq.count <= 0) { /* nothing to do */ count 1215 sound/oss/dmasound/dmasound_atari.c if (write_sq.count == 1 && count 1225 sound/oss/dmasound/dmasound_atari.c if (write_sq.count == 1) { count 1230 sound/oss/dmasound/dmasound_atari.c if (write_sq.count == 2 && count 1245 sound/oss/dmasound/dmasound_atari.c if (write_sq.count == 2 && count 1297 sound/oss/dmasound/dmasound_atari.c write_sq.count--; count 1310 sound/oss/dmasound/dmasound_atari.c if ((write_sq.active != 1) || (write_sq.count != 1)) count 510 sound/oss/dmasound/dmasound_core.c sq->front = sq->count = sq->rear_size = 0; count 589 sound/oss/dmasound/dmasound_core.c if (write_sq.count > 0 && count 604 sound/oss/dmasound/dmasound_core.c while (write_sq.count >= write_sq.max_active) { count 633 sound/oss/dmasound/dmasound_core.c write_sq.count++; count 655 sound/oss/dmasound/dmasound_core.c if (write_sq.count < write_sq.max_active || write_sq.block_size - write_sq.rear_size > 0) count 793 sound/oss/dmasound/dmasound_core.c write_sq.count = 0; count 1100 sound/oss/dmasound/dmasound_core.c info.fragments = write_sq.max_active - write_sq.count; count 1284 sound/oss/dmasound/dmasound_core.c write_sq.count, write_sq.rear_size, write_sq.active, count 1310 sound/oss/dmasound/dmasound_core.c if (n > count) count 1311 sound/oss/dmasound/dmasound_core.c n = count; count 158 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; count 162 sound/oss/dmasound/dmasound_paula.c count = min_t(unsigned long, userCount, frameLeft) & ~1; count 163 sound/oss/dmasound/dmasound_paula.c used = count; count 164 sound/oss/dmasound/dmasound_paula.c if (copy_from_user(p, userPtr, count)) count 169 sound/oss/dmasound/dmasound_paula.c count = min_t(unsigned long, userCount, frameLeft)>>1 & ~1; count 170 sound/oss/dmasound/dmasound_paula.c used = count*2; count 171 sound/oss/dmasound/dmasound_paula.c while (count > 0) { count 175 sound/oss/dmasound/dmasound_paula.c count--; count 192 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; \ count 196 sound/oss/dmasound/dmasound_paula.c count = min_t(size_t, userCount, frameLeft) & ~1; \ count 197 sound/oss/dmasound/dmasound_paula.c used = count; \ count 198 sound/oss/dmasound/dmasound_paula.c while (count > 0) { \ count 203 sound/oss/dmasound/dmasound_paula.c count--; \ count 208 sound/oss/dmasound/dmasound_paula.c count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \ count 209 sound/oss/dmasound/dmasound_paula.c used = count*2; \ count 210 sound/oss/dmasound/dmasound_paula.c while (count > 0) { \ count 218 sound/oss/dmasound/dmasound_paula.c count--; \ count 244 sound/oss/dmasound/dmasound_paula.c ssize_t count, used; \ count 250 sound/oss/dmasound/dmasound_paula.c count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \ count 251 sound/oss/dmasound/dmasound_paula.c used = count*2; \ count 252 sound/oss/dmasound/dmasound_paula.c while (count > 0) { \ count 258 sound/oss/dmasound/dmasound_paula.c count--; \ count 265 sound/oss/dmasound/dmasound_paula.c count = min_t(size_t, userCount, frameLeft)>>2 & ~1; \ count 266 sound/oss/dmasound/dmasound_paula.c used = count*4; \ count 267 sound/oss/dmasound/dmasound_paula.c while (count > 0) { \ count 278 sound/oss/dmasound/dmasound_paula.c count--; \ count 469 sound/oss/dmasound/dmasound_paula.c size = (write_sq.count == index ? write_sq.rear_size count 534 sound/oss/dmasound/dmasound_paula.c if (write_sq.count < minframes) { count 540 sound/oss/dmasound/dmasound_paula.c if (write_sq.count <= minframes && count 571 sound/oss/dmasound/dmasound_paula.c write_sq.count--; count 588 sound/oss/dmasound/dmasound_paula.c if (write_sq.count >= minframes) count 66 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; count 69 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); count 70 sound/oss/dmasound/dmasound_q40.c if (copy_from_user(p,userPtr,count)) count 72 sound/oss/dmasound/dmasound_q40.c while (count > 0) { count 75 sound/oss/dmasound/dmasound_q40.c count--; count 86 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; count 89 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); count 90 sound/oss/dmasound/dmasound_q40.c if (copy_from_user(p,userPtr,count)) count 92 sound/oss/dmasound/dmasound_q40.c while (count > 0) { count 95 sound/oss/dmasound/dmasound_q40.c count--; count 105 sound/oss/dmasound/dmasound_q40.c ssize_t count, used; count 108 sound/oss/dmasound/dmasound_q40.c used = count = min_t(size_t, userCount, frameLeft); count 109 sound/oss/dmasound/dmasound_q40.c if (copy_from_user(p,userPtr,count)) count 409 sound/oss/dmasound/dmasound_q40.c size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); count 437 sound/oss/dmasound/dmasound_q40.c if (write_sq.active || write_sq.count<=0 ) { count 443 sound/oss/dmasound/dmasound_q40.c if (write_sq.count <= 1 && write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { count 488 sound/oss/dmasound/dmasound_q40.c write_sq.count--; count 499 sound/oss/midi_synth.c if (count < hdr_size) count 504 sound/oss/midi_synth.c count -= hdr_size; count 514 sound/oss/midi_synth.c if (count < sysex.len) count 517 sound/oss/midi_synth.c sysex.len = count; count 266 sound/oss/midibuf.c if (!count) count 271 sound/oss/midibuf.c while (c < count) count 292 sound/oss/midibuf.c if (n > (count - c)) count 293 sound/oss/midibuf.c n = count - c; count 338 sound/oss/midibuf.c if (n > count) count 339 sound/oss/midibuf.c n = count; count 122 sound/oss/msnd.c int count = 0; count 124 sound/oss/msnd.c while ((count < len) && (f->len != f->n)) { count 129 sound/oss/msnd.c nwritten = len - count; count 135 sound/oss/msnd.c if (nwritten > len - count) count 136 sound/oss/msnd.c nwritten = len - count; count 141 sound/oss/msnd.c count += nwritten; count 148 sound/oss/msnd.c return count; count 153 sound/oss/msnd.c int count = 0; count 155 sound/oss/msnd.c while ((count < len) && (f->len != f->n)) { count 160 sound/oss/msnd.c nwritten = len - count; count 166 sound/oss/msnd.c if (nwritten > len - count) count 167 sound/oss/msnd.c nwritten = len - count; count 172 sound/oss/msnd.c count += nwritten; count 179 sound/oss/msnd.c return count; count 184 sound/oss/msnd.c int count = 0; count 186 sound/oss/msnd.c while ((count < len) && (f->len > 0)) { count 191 sound/oss/msnd.c nread = len - count; count 197 sound/oss/msnd.c if (nread > len - count) count 198 sound/oss/msnd.c nread = len - count; count 203 sound/oss/msnd.c count += nread; count 210 sound/oss/msnd.c return count; count 215 sound/oss/msnd.c int count = 0; count 217 sound/oss/msnd.c while ((count < len) && (f->len > 0)) { count 222 sound/oss/msnd.c nread = len - count; count 228 sound/oss/msnd.c if (nread > len - count) count 229 sound/oss/msnd.c nread = len - count; count 234 sound/oss/msnd.c count += nread; count 241 sound/oss/msnd.c return count; count 888 sound/oss/msnd_pinnacle.c int count = len; count 894 sound/oss/msnd_pinnacle.c while (count > 0) { count 899 sound/oss/msnd_pinnacle.c if (k > count) count 900 sound/oss/msnd_pinnacle.c k = count; count 911 sound/oss/msnd_pinnacle.c count -= n; count 913 sound/oss/msnd_pinnacle.c if (n == k && count) count 924 sound/oss/msnd_pinnacle.c return count == len ? -EAGAIN : len - count; count 927 sound/oss/msnd_pinnacle.c if (count > 0) { count 941 sound/oss/msnd_pinnacle.c return len - count; count 946 sound/oss/msnd_pinnacle.c int count = len; count 952 sound/oss/msnd_pinnacle.c while (count > 0) { count 957 sound/oss/msnd_pinnacle.c if (k > count) count 958 sound/oss/msnd_pinnacle.c k = count; count 970 sound/oss/msnd_pinnacle.c count -= n; count 972 sound/oss/msnd_pinnacle.c if (count && n == k) count 983 sound/oss/msnd_pinnacle.c return count == len ? -EAGAIN : len - count; count 986 sound/oss/msnd_pinnacle.c if (count > 0) { count 1000 sound/oss/msnd_pinnacle.c return len - count; count 1007 sound/oss/msnd_pinnacle.c return dsp_read(buf, count); count 1016 sound/oss/msnd_pinnacle.c return dsp_write(buf, count); count 826 sound/oss/opl3.c if (count <sizeof(ins)) count 259 sound/oss/pas2_pcm.c DEB(printk("pas2_pcm.c: static void pas_audio_output_block(char *buf = %P, int count = %X)\n", buf, count)); count 261 sound/oss/pas2_pcm.c cnt = count; count 278 sound/oss/pas2_pcm.c count >>= 1; count 280 sound/oss/pas2_pcm.c if (count != pcm_count) count 284 sound/oss/pas2_pcm.c pas_write(count & 0xff, 0x1389); count 285 sound/oss/pas2_pcm.c pas_write((count >> 8) & 0xff, 0x1389); count 288 sound/oss/pas2_pcm.c pcm_count = count; count 306 sound/oss/pas2_pcm.c DEB(printk("pas2_pcm.c: static void pas_audio_start_input(char *buf = %P, int count = %X)\n", buf, count)); count 308 sound/oss/pas2_pcm.c cnt = count; count 322 sound/oss/pas2_pcm.c count >>= 1; count 324 sound/oss/pas2_pcm.c if (count != pcm_count) count 328 sound/oss/pas2_pcm.c pas_write(count & 0xff, 0x1389); count 329 sound/oss/pas2_pcm.c pas_write((count >> 8) & 0xff, 0x1389); count 332 sound/oss/pas2_pcm.c pcm_count = count; count 312 sound/oss/pss.c int i, val, count; count 328 sound/oss/pss.c count = 1; count 329 sound/oss/pss.c while ((flags&CPF_LAST) || count<size ) count 343 sound/oss/pss.c if (count >= size && flags & CPF_LAST) count 348 sound/oss/pss.c printk(KERN_ERR "PSS: Download timeout problems, byte %d=%d\n", count, size); count 353 sound/oss/pss.c if (count >= size) count 363 sound/oss/pss.c count++; count 156 sound/oss/sb_audio.c devc->trg_bytes = count; count 163 sound/oss/sb_audio.c devc->trg_bytes_16 = count; count 176 sound/oss/sb_audio.c int count = nr_bytes; count 182 sound/oss/sb_audio.c count >>= 1; count 183 sound/oss/sb_audio.c count--; count 190 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) (count & 0xff)); count 191 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); count 202 sound/oss/sb_audio.c int count = nr_bytes; count 212 sound/oss/sb_audio.c count >>= 1; count 213 sound/oss/sb_audio.c count--; count 220 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) (count & 0xff)); count 221 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); count 341 sound/oss/sb_audio.c int count = nr_bytes; count 348 sound/oss/sb_audio.c count >>= 1; count 349 sound/oss/sb_audio.c count--; count 356 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) (count & 0xff)); count 357 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); count 376 sound/oss/sb_audio.c int count = nr_bytes; count 387 sound/oss/sb_audio.c count >>= 1; count 388 sound/oss/sb_audio.c count--; count 395 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) (count & 0xff)); count 396 sound/oss/sb_audio.c sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); count 710 sound/oss/sb_audio.c cnt = count; count 758 sound/oss/sb_audio.c cnt = count; count 310 sound/oss/sb_ess.c devc->trg_bytes = count; count 552 sound/oss/sb_ess.c int count = nr_bytes; count 560 sound/oss/sb_ess.c if (audio_devs[dev]->dmap_in->dma > 3) count >>= 1; count 561 sound/oss/sb_ess.c count--; count 575 sound/oss/sb_ess.c int count = nr_bytes; count 580 sound/oss/sb_ess.c count >>= 1; count 581 sound/oss/sb_ess.c count--; count 595 sound/oss/sb_ess.c int count = nr_bytes; count 599 sound/oss/sb_ess.c if (audio_devs[dev]->dmap_out->dma > 3) count >>= 1; count 600 sound/oss/sb_ess.c count--; count 86 sound/oss/sequencer.c int c = count, p = 0; count 117 sound/oss/sequencer.c return count - c; count 126 sound/oss/sequencer.c return count - c; count 220 sound/oss/sequencer.c DEB(printk("sequencer_write(dev=%d, count=%d)\n", dev, count)); count 225 sound/oss/sequencer.c c = count; count 264 sound/oss/sequencer.c return count - c; count 310 sound/oss/sequencer.c int processed = count - c; count 327 sound/oss/sequencer.c return count; count 184 sound/oss/sh_dac_audio.c if (count < 0) count 187 sound/oss/sh_dac_audio.c if (!count) { count 198 sound/oss/sh_dac_audio.c if (count > free) count 199 sound/oss/sh_dac_audio.c count = free; count 201 sound/oss/sh_dac_audio.c if (copy_from_user((void *)buffer_end, buf, count)) count 204 sound/oss/sh_dac_audio.c buffer_end += count; count 207 sound/oss/sh_dac_audio.c if (nbytes > count) { count 208 sound/oss/sh_dac_audio.c if (copy_from_user((void *)buffer_end, buf, count)) count 210 sound/oss/sh_dac_audio.c buffer_end += count; count 215 sound/oss/sh_dac_audio.c ((void *)data_buffer, buf + nbytes, count - nbytes)) count 217 sound/oss/sh_dac_audio.c buffer_end = data_buffer + count - nbytes; count 226 sound/oss/sh_dac_audio.c return count; count 157 sound/oss/soundcard.c DEB(printk("sound_read(dev=%d, count=%d)\n", dev, count)); count 162 sound/oss/soundcard.c ret = audio_read(dev, file, buf, count); count 167 sound/oss/soundcard.c ret = sequencer_read(dev, file, buf, count); count 171 sound/oss/soundcard.c ret = MIDIbuf_read(dev, file, buf, count); count 183 sound/oss/soundcard.c DEB(printk("sound_write(dev=%d, count=%d)\n", dev, count)); count 187 sound/oss/soundcard.c ret = sequencer_write(dev, file, buf, count); count 193 sound/oss/soundcard.c ret = audio_write(dev, file, buf, count); count 197 sound/oss/soundcard.c ret = MIDIbuf_write(dev, file, buf, count); count 683 sound/oss/soundcard.c if (count < 0) { count 684 sound/oss/soundcard.c seq_timer.expires = (-count) + jiffies; count 688 sound/oss/soundcard.c count += seq_time; count 690 sound/oss/soundcard.c count -= jiffies; count 692 sound/oss/soundcard.c if (count < 1) count 693 sound/oss/soundcard.c count = 1; count 695 sound/oss/soundcard.c seq_timer.expires = (count) + jiffies; count 233 sound/oss/sscape.c for (i = 0; i < count; i++) count 860 sound/oss/sscape.c set_dma_count(chan, count); count 237 sound/oss/swarm_cs4297a.c int count; count 826 sound/oss/swarm_cs4297a.c (s->dma_dac.count > 0 count 874 sound/oss/swarm_cs4297a.c (s->dma_adc.mapped || s->dma_adc.count <= count 969 sound/oss/swarm_cs4297a.c if (d->count && (d->sb_hwptr == d->sb_swptr)) { count 991 sound/oss/swarm_cs4297a.c d->count += good_diff * FRAME_SAMPLE_BYTES; count 992 sound/oss/swarm_cs4297a.c if (d->count > d->sbufsz) { count 998 sound/oss/swarm_cs4297a.c if (d->count >= (signed) d->fragsize) count 1001 sound/oss/swarm_cs4297a.c if (d->count > 0) { count 1004 sound/oss/swarm_cs4297a.c "cs4297a: update count -> %d\n", d->count)); count 1063 sound/oss/swarm_cs4297a.c d->total_bytes, d->count)); count 1082 sound/oss/swarm_cs4297a.c d->hwptr, hwptr, d->swptr, diff, d->count)); count 1087 sound/oss/swarm_cs4297a.c d->count += diff * FRAME_SAMPLE_BYTES; count 1088 sound/oss/swarm_cs4297a.c if (d->count >= d->fragsize) { count 1091 sound/oss/swarm_cs4297a.c if (d->count > d->sbufsz) count 1092 sound/oss/swarm_cs4297a.c d->count &= d->sbufsz - 1; count 1095 sound/oss/swarm_cs4297a.c d->count -= diff * FRAME_SAMPLE_BYTES; count 1096 sound/oss/swarm_cs4297a.c if (d->count <= 0) { count 1108 sound/oss/swarm_cs4297a.c if (d->count < 0) { count 1111 sound/oss/swarm_cs4297a.c d->count = 0; count 1115 sound/oss/swarm_cs4297a.c } else if (d->count <= count 1126 sound/oss/swarm_cs4297a.c if ( (d->count <= (signed) d->sbufsz/2) || intflag) count 1130 sound/oss/swarm_cs4297a.c "cs4297a: update count -> %d\n", d->count)); count 1137 sound/oss/swarm_cs4297a.c d->total_bytes, d->count)); count 1609 sound/oss/swarm_cs4297a.c int count; count 1616 sound/oss/swarm_cs4297a.c while ((count = __raw_readq(SS_CSR(R_SER_DMA_DSCR_COUNT_TX))) || count 1617 sound/oss/swarm_cs4297a.c (s->dma_dac.count > 0)) { count 1621 sound/oss/swarm_cs4297a.c tmo = ((count * FRAME_TX_US) * HZ) / 1000000; count 1652 sound/oss/swarm_cs4297a.c printk(KERN_INFO "cs4297a: cs4297a_read()+ %d \n", count)); count 1659 sound/oss/swarm_cs4297a.c if (!access_ok(VERIFY_WRITE, buffer, count)) count 1671 sound/oss/swarm_cs4297a.c while (count > 0) { count 1674 sound/oss/swarm_cs4297a.c count, s->dma_adc.count, count 1682 sound/oss/swarm_cs4297a.c count_fr = s->dma_adc.count / FRAME_SAMPLE_BYTES; count 1699 sound/oss/swarm_cs4297a.c if (cnt_by > (count * 2)) { count 1700 sound/oss/swarm_cs4297a.c cnt = (count * 2) / FRAME_SAMPLE_BYTES; count 1701 sound/oss/swarm_cs4297a.c cnt_by = count * 2; count 1704 sound/oss/swarm_cs4297a.c if (cnt_by > count) { count 1705 sound/oss/swarm_cs4297a.c cnt = count / FRAME_SAMPLE_BYTES; count 1706 sound/oss/swarm_cs4297a.c cnt_by = count; count 1734 sound/oss/swarm_cs4297a.c "_read() copy_to cnt=%d count=%d ", cnt_by, count)); count 1737 sound/oss/swarm_cs4297a.c s->dma_adc.sbufsz, s->dma_adc.count, count 1748 sound/oss/swarm_cs4297a.c s->dma_adc.count -= cnt_by; count 1753 sound/oss/swarm_cs4297a.c count -= copied; count 1776 sound/oss/swarm_cs4297a.c count)); count 1783 sound/oss/swarm_cs4297a.c if (!access_ok(VERIFY_READ, buffer, count)) count 1786 sound/oss/swarm_cs4297a.c while (count > 0) { count 1796 sound/oss/swarm_cs4297a.c if (d->count < 0) { count 1797 sound/oss/swarm_cs4297a.c d->count = 0; count 1809 sound/oss/swarm_cs4297a.c if (d->count + cnt > d->sbufsz) count 1810 sound/oss/swarm_cs4297a.c cnt = d->sbufsz - d->count; count 1812 sound/oss/swarm_cs4297a.c if (cnt > count) count 1813 sound/oss/swarm_cs4297a.c cnt = count; count 1868 sound/oss/swarm_cs4297a.c d->count += cnt; count 1871 sound/oss/swarm_cs4297a.c count -= cnt; count 1913 sound/oss/swarm_cs4297a.c if (s->dma_dac.count >= count 1922 sound/oss/swarm_cs4297a.c if ((signed) (s->dma_dac.sbufsz/2) >= s->dma_dac.count) count 1927 sound/oss/swarm_cs4297a.c if (s->dma_adc.count >= (signed) s->dma_adc.fragsize) count 1930 sound/oss/swarm_cs4297a.c if (s->dma_adc.count > 0) count 1999 sound/oss/swarm_cs4297a.c s->dma_dac.count = s->dma_dac.total_bytes = count 2008 sound/oss/swarm_cs4297a.c s->dma_adc.count = s->dma_adc.total_bytes = count 2167 sound/oss/swarm_cs4297a.c s->dma_dac.sbufsz - s->dma_dac.count; count 2187 sound/oss/swarm_cs4297a.c abinfo.bytes = s->dma_adc.count / 2; count 2193 sound/oss/swarm_cs4297a.c abinfo.bytes = s->dma_adc.count; count 2213 sound/oss/swarm_cs4297a.c val = s->dma_dac.count; count 2234 sound/oss/swarm_cs4297a.c s->dma_adc.count / count 2238 sound/oss/swarm_cs4297a.c s->dma_adc.count >> s->dma_adc. count 2246 sound/oss/swarm_cs4297a.c s->dma_adc.count &= s->dma_adc.fragsize - 1; count 2266 sound/oss/swarm_cs4297a.c s->dma_dac.count >> s->dma_dac.fragshift; count 2270 sound/oss/swarm_cs4297a.c s->dma_dac.count &= s->dma_dac.fragsize - 1; count 2546 sound/oss/swarm_cs4297a.c s->dma_adc.count = 0; count 85 sound/oss/uart6850.c int count = 10; count 87 sound/oss/uart6850.c while (count) count 95 sound/oss/uart6850.c count = 100; count 101 sound/oss/uart6850.c while (!input_avail() && count) count 102 sound/oss/uart6850.c count--; count 2260 sound/oss/vwsnd.c file, buffer, count, ppos); count 2273 sound/oss/vwsnd.c if (!access_ok(VERIFY_READ, buffer, count)) count 2276 sound/oss/vwsnd.c while (count) { count 2299 sound/oss/vwsnd.c if (nb > count) count 2300 sound/oss/vwsnd.c nb = count; count 2306 sound/oss/vwsnd.c count -= nb; count 2322 sound/oss/vwsnd.c ret = vwsnd_audio_do_read(file, buffer, count, ppos); count 2338 sound/oss/vwsnd.c file, buffer, count, ppos); count 2350 sound/oss/vwsnd.c if (!access_ok(VERIFY_WRITE, buffer, count)) count 2353 sound/oss/vwsnd.c while (count) { count 2374 sound/oss/vwsnd.c if (nb > count) count 2375 sound/oss/vwsnd.c nb = count; count 2381 sound/oss/vwsnd.c count -= nb; count 2397 sound/oss/vwsnd.c ret = vwsnd_audio_do_write(file, buffer, count, ppos); count 264 sound/oss/waveartist.c int count; count 266 sound/oss/waveartist.c for (count = 5000; count; count--) count 270 sound/oss/waveartist.c if (!count) count 277 sound/oss/waveartist.c int count; count 279 sound/oss/waveartist.c for (count = 5000; count; count--) count 283 sound/oss/waveartist.c if (!count) count 434 sound/oss/waveartist.c unsigned int count = __count; count 438 sound/oss/waveartist.c buf, count); count 443 sound/oss/waveartist.c count >>= 1; count 446 sound/oss/waveartist.c count >>= 1; count 448 sound/oss/waveartist.c count -= 1; count 453 sound/oss/waveartist.c count == devc->xfer_count) { count 465 sound/oss/waveartist.c waveartist_cmd2(devc, WACMD_OUTPUTSIZE, count); count 467 sound/oss/waveartist.c devc->xfer_count = count; count 479 sound/oss/waveartist.c unsigned int count = __count; count 483 sound/oss/waveartist.c buf, count); count 486 sound/oss/waveartist.c count >>= 1; count 489 sound/oss/waveartist.c count >>= 1; count 491 sound/oss/waveartist.c count -= 1; count 496 sound/oss/waveartist.c count == devc->xfer_count) { count 508 sound/oss/waveartist.c waveartist_cmd2(devc, WACMD_INPUTSIZE, count); count 510 sound/oss/waveartist.c devc->xfer_count = count; count 102 sound/parisc/harmony.c .count = ARRAY_SIZE(snd_harmony_rates), count 209 sound/parisc/harmony.c h->pbuf.buf += h->pbuf.count; /* PAGE_SIZE */ count 228 sound/parisc/harmony.c h->cbuf.buf += h->cbuf.count; count 417 sound/parisc/harmony.c h->pbuf.count = snd_pcm_lib_period_bytes(ss); count 447 sound/parisc/harmony.c h->cbuf.count = snd_pcm_lib_period_bytes(ss); count 701 sound/parisc/harmony.c uinfo->count = left_shift == right_shift ? 1 : 2; count 778 sound/parisc/harmony.c uinfo->count = 1; count 11 sound/parisc/harmony.h int count; count 442 sound/pci/ac97/ac97_codec.c uinfo->count = e->shift_l == e->shift_r ? 1 : 2; count 523 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 37 sound/pci/ac97/ac97_patch.c for (idx = 0; idx < count; idx++) count 79 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 239 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 290 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 398 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 1113 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 1157 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 1190 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 1813 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 1999 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 2157 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 2740 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 2992 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 3172 sound/pci/ac97/ac97_patch.c uinfo->count = 1; count 165 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_ADCBC, count); count 166 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_ADCCC, count); count 172 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_ADCIB, count); count 173 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_ADCIC, count); count 186 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_WAVBC, count); count 187 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_WAVCC, count); count 193 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_WAVIB, count); count 194 sound/pci/ad1889.c ad1889_writel(chip, AD_DMA_WAVIC, count); count 369 sound/pci/ad1889.c unsigned int count = snd_pcm_lib_period_bytes(ss); count 400 sound/pci/ad1889.c ad1889_load_wave_interrupt_count(chip, count); count 409 sound/pci/ad1889.c count, size, reg, rt->rate); count 419 sound/pci/ad1889.c unsigned int count = snd_pcm_lib_period_bytes(ss); count 447 sound/pci/ad1889.c ad1889_load_adc_interrupt_count(chip, count); count 456 sound/pci/ad1889.c count, size, reg, rt->rate); count 82 sound/pci/ak4531_codec.c uinfo->count = 1; count 149 sound/pci/ak4531_codec.c uinfo->count = 2; count 224 sound/pci/ak4531_codec.c uinfo->count = 4; count 212 sound/pci/ali5451/ali5451.c int count; /* runtime->period_size */ count 714 sound/pci/ali5451/ali5451.c u16 count = 0; count 721 sound/pci/ali5451/ali5451.c while ((R1 < 0x0b || R1 > 0x0e) && R1 != 0x12 && count <= 50000) { count 722 sound/pci/ali5451/ali5451.c count ++; count 728 sound/pci/ali5451/ali5451.c if (count > 50000) { count 733 sound/pci/ali5451/ali5451.c for (count = 0; count <= 50000; count++) { count 743 sound/pci/ali5451/ali5451.c if (count > 50000) { count 1325 sound/pci/ali5451/ali5451.c pvoice->count = runtime->period_size; count 1331 sound/pci/ali5451/ali5451.c pvoice->eso, pvoice->count); count 1358 sound/pci/ali5451/ali5451.c evoice->count = pvoice->count; count 1359 sound/pci/ali5451/ali5451.c evoice->eso = pvoice->count << 1; count 1434 sound/pci/ali5451/ali5451.c pvoice->count = runtime->period_size; count 1678 sound/pci/ali5451/ali5451.c .count = ARRAY_SIZE(rates), count 389 sound/pci/als4000.c unsigned count; count 394 sound/pci/als4000.c count = snd_pcm_lib_period_bytes(substream); count 397 sound/pci/als4000.c count >>= 1; count 398 sound/pci/als4000.c count--; count 405 sound/pci/als4000.c snd_als4_cr_write(chip, ALS4K_CR1C_FIFO2_BLOCK_LENGTH_LO, count & 0xff); count 406 sound/pci/als4000.c snd_als4_cr_write(chip, ALS4K_CR1D_FIFO2_BLOCK_LENGTH_HI, count >> 8); count 416 sound/pci/als4000.c unsigned count; count 421 sound/pci/als4000.c count = snd_pcm_lib_period_bytes(substream); count 424 sound/pci/als4000.c count >>= 1; count 425 sound/pci/als4000.c count--; count 441 sound/pci/als4000.c snd_sbdsp_command(chip, count & 0xff); count 442 sound/pci/als4000.c snd_sbdsp_command(chip, count >> 8); count 865 sound/pci/atiixp_modem.c .count = ARRAY_SIZE(rates), count 730 sound/pci/au88x0/au88x0_a3d.c uinfo->count = 6; count 739 sound/pci/au88x0/au88x0_a3d.c uinfo->count = 2; count 748 sound/pci/au88x0/au88x0_a3d.c uinfo->count = 2; count 758 sound/pci/au88x0/au88x0_a3d.c uinfo->count = 4; count 1105 sound/pci/au88x0/au88x0_core.c dma->nr_periods = count; count 1109 sound/pci/au88x0/au88x0_core.c switch (count) { count 1371 sound/pci/au88x0/au88x0_core.c dma->nr_periods = count; count 1375 sound/pci/au88x0/au88x0_core.c switch (count) { count 594 sound/pci/au88x0/au88x0_eq.c if (((eq->this10) * 2 != count) || (eq->this28 == 0)) count 597 sound/pci/au88x0/au88x0_eq.c for (i = 0; i < count; i++) { count 676 sound/pci/au88x0/au88x0_eq.c *count = eq->this10 * 2; count 775 sound/pci/au88x0/au88x0_eq.c uinfo->count = 2; count 833 sound/pci/au88x0/au88x0_eq.c uinfo->count = 20; count 843 sound/pci/au88x0/au88x0_eq.c int i, count = 0; count 846 sound/pci/au88x0/au88x0_eq.c vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count); count 847 sound/pci/au88x0/au88x0_eq.c if (count != 20) { count 848 sound/pci/au88x0/au88x0_eq.c printk(KERN_ERR "vortex: peak count error 20 != %d \n", count); count 429 sound/pci/au88x0/au88x0_pcm.c uinfo->count = 1; count 754 sound/pci/aw2/aw2-alsa.c uinfo->count = 1; count 559 sound/pci/azt3328.c uinfo->count = reg.stereo + 1; count 660 sound/pci/azt3328.c uinfo->count = (reg.reg == IDX_MIXER_REC_SELECT) ? 2 : 1; count 1056 sound/pci/azt3328.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 1065 sound/pci/azt3328.c snd_azf3328_setdmaa(chip, runtime->dma_addr, count, size, AZF_PLAYBACK); count 1078 sound/pci/azt3328.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 1087 sound/pci/azt3328.c snd_azf3328_setdmaa(chip, runtime->dma_addr, count, size, AZF_CAPTURE); count 1765 sound/pci/azt3328.c .count = ARRAY_SIZE(snd_azf3328_fixed_rates), count 559 sound/pci/bt87x.c info->count = 1; count 641 sound/pci/bt87x.c info->count = 1; count 134 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 1; count 181 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 1; count 237 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 1; count 251 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 1; count 321 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 1; count 372 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 2; count 419 sound/pci/ca0106/ca0106_mixer.c uinfo->count = 2; count 546 sound/pci/ca0106/ca0106_mixer.c .count = 4, count 574 sound/pci/ca0106/ca0106_mixer.c .count = 4, count 724 sound/pci/cmipci.c .count = 3, count 729 sound/pci/cmipci.c .count = 4, count 734 sound/pci/cmipci.c .count = 5, count 1006 sound/pci/cmipci.c uinfo->count = 1; count 1053 sound/pci/cmipci.c uinfo->count = 1; count 1080 sound/pci/cmipci.c uinfo->count = 1; count 1595 sound/pci/cmipci.c .count = ARRAY_SIZE(rate_constraints), count 2028 sound/pci/cmipci.c uinfo->count = reg.stereo + 1; count 2110 sound/pci/cmipci.c uinfo->count = 4; count 2199 sound/pci/cmipci.c uinfo->count = reg.stereo + 1; count 2504 sound/pci/cmipci.c uinfo->count = 1; count 2561 sound/pci/cmipci.c uinfo->count = 1; count 536 sound/pci/cs4281.c int count; count 554 sound/pci/cs4281.c for (count = 0; count < 2000; count++) { count 574 sound/pci/cs4281.c int count; count 614 sound/pci/cs4281.c for (count = 0; count < 500; count++) { count 635 sound/pci/cs4281.c for (count = 0; count < 100; count++) { count 1006 sound/pci/cs4281.c uinfo->count = 2; count 1146 sound/pci/cs4281.c size = count; count 1164 sound/pci/cs4281.c size = count; count 90 sound/pci/cs46xx/cs46xx_lib.c int count; count 155 sound/pci/cs46xx/cs46xx_lib.c for (count = 0; count < 1000; count++) { count 176 sound/pci/cs46xx/cs46xx_lib.c for (count = 0; count < 100; count++) { count 231 sound/pci/cs46xx/cs46xx_lib.c int count; count 273 sound/pci/cs46xx/cs46xx_lib.c for (count = 0; count < 4000; count++) { count 1298 sound/pci/cs46xx/cs46xx_lib.c .count = ARRAY_SIZE(period_sizes), count 1741 sound/pci/cs46xx/cs46xx_lib.c uinfo->count = 2; count 1991 sound/pci/cs46xx/cs46xx_lib.c uinfo->count = 1; count 2667 sound/pci/cs46xx/cs46xx_lib.c size = count; count 2965 sound/pci/cs46xx/cs46xx_lib.c int count; count 2966 sound/pci/cs46xx/cs46xx_lib.c for (count = 0; count < 150; count++) { count 208 sound/pci/cs5535audio/cs5535audio.c unsigned char count; count 218 sound/pci/cs5535audio/cs5535audio.c for (count = 0; count < 4; count++) { count 219 sound/pci/cs5535audio/cs5535audio.c if (acc_irq_stat & (1 << count)) { count 220 sound/pci/cs5535audio/cs5535audio.c switch (count) { count 251 sound/pci/echoaudio/echoaudio.c pipe->constr.count = i; count 961 sound/pci/echoaudio/echoaudio.c uinfo->count = num_busses_out(chip); count 1039 sound/pci/echoaudio/echoaudio.c uinfo->count = num_analog_busses_in(chip); count 1108 sound/pci/echoaudio/echoaudio.c uinfo->count = num_analog_busses_out(chip); count 1170 sound/pci/echoaudio/echoaudio.c uinfo->count = num_analog_busses_in(chip); count 1236 sound/pci/echoaudio/echoaudio.c uinfo->count = 1; count 1304 sound/pci/echoaudio/echoaudio.c uinfo->count = 1; count 1377 sound/pci/echoaudio/echoaudio.c uinfo->count = 1; count 1465 sound/pci/echoaudio/echoaudio.c uinfo->count = 1; count 1527 sound/pci/echoaudio/echoaudio.c uinfo->count = 1; count 1710 sound/pci/echoaudio/echoaudio.c uinfo->count = 96; count 1754 sound/pci/echoaudio/echoaudio.c uinfo->count = 6; count 2039 sound/pci/echoaudio/echoaudio.c snd_echo_vmixer.count = num_pipes_out(chip) * num_busses_out(chip); count 2072 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 528 sound/pci/emu10k1/emu10k1_main.c unsigned short count; count 537 sound/pci/emu10k1/emu10k1_main.c for (count = 0; count < EC_NUM_CONTROL_BITS; count++) { count 1111 sound/pci/emu10k1/emu10k1x.c uinfo->count = 1; count 1163 sound/pci/emu10k1/emu10k1x.c .count = 3, count 1172 sound/pci/emu10k1/emu10k1x.c .count = 3, count 332 sound/pci/emu10k1/emufx.c uinfo->count = ctl->vcount; count 381 sound/pci/emu10k1/emufx.c if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { count 389 sound/pci/emu10k1/emufx.c if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { count 824 sound/pci/emu10k1/emufx.c nctl->count = gctl->count; count 914 sound/pci/emu10k1/emufx.c gctl->count = ctl->count; count 1073 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 1; count 1087 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 2; count 1102 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 1; count 1115 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 2; count 1429 sound/pci/emu10k1/emufx.c ctl->count = 10; count 1438 sound/pci/emu10k1/emufx.c ctl->count = 10; count 2139 sound/pci/emu10k1/emufx.c ctl->count = 10; count 2148 sound/pci/emu10k1/emufx.c ctl->count = 10; count 49 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 399 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 707 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 823 sound/pci/emu10k1/emumixer.c .count = 1, count 842 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 918 sound/pci/emu10k1/emumixer.c uinfo->count = 2; count 1003 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 1077 sound/pci/emu10k1/emumixer.c .count = 1, count 1115 sound/pci/emu10k1/emumixer.c .count = 3, count 1124 sound/pci/emu10k1/emumixer.c .count = 3, count 1165 sound/pci/emu10k1/emumixer.c uinfo->count = emu->audigy ? 3*8 : 3*4; count 1231 sound/pci/emu10k1/emumixer.c .count = 32, count 1241 sound/pci/emu10k1/emumixer.c uinfo->count = emu->audigy ? 3*8 : 3*4; count 1302 sound/pci/emu10k1/emumixer.c .count = 32, count 1311 sound/pci/emu10k1/emumixer.c uinfo->count = 3; count 1367 sound/pci/emu10k1/emumixer.c .count = 32, count 1379 sound/pci/emu10k1/emumixer.c uinfo->count = emu->audigy ? 8 : 4; count 1439 sound/pci/emu10k1/emumixer.c .count = 16, count 1449 sound/pci/emu10k1/emumixer.c uinfo->count = emu->audigy ? 8 : 4; count 1506 sound/pci/emu10k1/emumixer.c .count = 16, count 1515 sound/pci/emu10k1/emumixer.c uinfo->count = 1; count 1564 sound/pci/emu10k1/emumixer.c .count = 16, count 174 sound/pci/emu10k1/emupcm.c .count = 31, count 184 sound/pci/emu10k1/emupcm.c .count = 8, count 1462 sound/pci/emu10k1/emupcm.c uinfo->count = nefx; count 1551 sound/pci/emu10k1/emupcm.c while (count--) { count 1556 sound/pci/emu10k1/emupcm.c while (count--) { count 1570 sound/pci/emu10k1/emupcm.c unsigned int frames = bytes >> 2, count; count 1575 sound/pci/emu10k1/emupcm.c count = tram_pos + 1; count 1578 sound/pci/emu10k1/emupcm.c src, count, tram_shift); count 1579 sound/pci/emu10k1/emupcm.c src += count * 2; count 1580 sound/pci/emu10k1/emupcm.c frames -= count; count 364 sound/pci/emu10k1/emuproc.c size = count; count 480 sound/pci/emu10k1/io.c volatile unsigned count; count 485 sound/pci/emu10k1/io.c count = 0; count 486 sound/pci/emu10k1/io.c while (count++ < 16384) { count 491 sound/pci/emu10k1/io.c if (count >= 16384) count 658 sound/pci/emu10k1/p16v.c uinfo->count = 2; count 717 sound/pci/emu10k1/p16v.c uinfo->count = 1; count 762 sound/pci/emu10k1/p16v.c uinfo->count = 1; count 470 sound/pci/ens1370.c .count = 4, count 1335 sound/pci/ens1370.c uinfo->count = 1; count 641 sound/pci/es1938.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 660 sound/pci/es1938.c count = 0x10000 - count; count 661 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACNTRELOADL, count & 0xff); count 662 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACNTRELOADH, count >> 8); count 689 sound/pci/es1938.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 705 sound/pci/es1938.c count >>= 1; count 706 sound/pci/es1938.c count = 0x10000 - count; count 707 sound/pci/es1938.c snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2TCOUNTL, count & 0xff); count 708 sound/pci/es1938.c snd_es1938_mixer_write(chip, ESSSB_IREG_AUDIO2TCOUNTH, count >> 8); count 726 sound/pci/es1938.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 737 sound/pci/es1938.c count = 0x10000 - count; count 746 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACNTRELOADL, count & 0xff); count 747 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACNTRELOADH, count >> 8); count 794 sound/pci/es1938.c size_t count; count 798 sound/pci/es1938.c count = inw(SLDM_REG(chip, DMACOUNT)); count 799 sound/pci/es1938.c diff = chip->dma1_start + chip->dma1_size - ptr - count; count 862 sound/pci/es1938.c count <<= chip->dma1_shift; count 863 sound/pci/es1938.c if (snd_BUG_ON(pos + count > chip->dma1_size)) count 865 sound/pci/es1938.c if (pos + count < chip->dma1_size) { count 866 sound/pci/es1938.c if (copy_to_user(dst, runtime->dma_area + pos + 1, count)) count 869 sound/pci/es1938.c if (copy_to_user(dst, runtime->dma_area + pos + 1, count - 1)) count 871 sound/pci/es1938.c if (put_user(runtime->dma_area[0], ((unsigned char __user *)dst) + count - 1)) count 1065 sound/pci/es1938.c uinfo->count = 1; count 1123 sound/pci/es1938.c uinfo->count = 2; count 1195 sound/pci/es1938.c uinfo->count = 1; count 1256 sound/pci/es1938.c uinfo->count = 2; count 468 sound/pci/es1968.c unsigned int count; /* sample counter in bytes */ count 1251 sound/pci/es1968.c es->count = 0; count 1867 sound/pci/es1968.c es->count += diff; count 1869 sound/pci/es1968.c if (es->count > es->frag_size) { count 1873 sound/pci/es1968.c es->count %= es->frag_size; count 315 sound/pci/fm801.c .count = ARRAY_SIZE(rates), count 325 sound/pci/fm801.c .count = ARRAY_SIZE(channels), count 1037 sound/pci/fm801.c uinfo->count = 1; count 1092 sound/pci/fm801.c uinfo->count = 2; count 1149 sound/pci/fm801.c uinfo->count = 1; count 987 sound/pci/hda/hda_codec.c uinfo->count = chs == 3 ? 2 : 1; count 1143 sound/pci/hda/hda_codec.c uinfo->count = chs == 3 ? 2 : 1; count 1341 sound/pci/hda/hda_codec.c uinfo->count = 1; count 2505 sound/pci/hda/hda_codec.c uinfo->count = 1; count 2560 sound/pci/hda/hda_codec.c uinfo->count = 1; count 732 sound/pci/hda/hda_intel.c int count; count 740 sound/pci/hda/hda_intel.c count = 50; count 741 sound/pci/hda/hda_intel.c while (azx_readb(chip, GCTL) && --count) count 752 sound/pci/hda/hda_intel.c count = 50; count 753 sound/pci/hda/hda_intel.c while (!azx_readb(chip, GCTL) && --count) count 1114 sound/pci/hda/patch_analog.c uinfo->count = 1; count 2040 sound/pci/hda/patch_analog.c .count = 3, count 2055 sound/pci/hda/patch_analog.c uinfo->count = 1; count 3099 sound/pci/hda/patch_analog.c .count = 2, count 3288 sound/pci/hda/patch_analog.c .count = 2, count 3350 sound/pci/hda/patch_analog.c .count = 2, count 3531 sound/pci/hda/patch_analog.c .count = 2, count 3665 sound/pci/hda/patch_analog.c .count = 2, count 4005 sound/pci/hda/patch_analog.c .count = 2, count 192 sound/pci/hda/patch_cmedia.c .count = 2, count 470 sound/pci/hda/patch_realtek.c uinfo->count = 1; count 1174 sound/pci/hda/patch_realtek.c .count = 3, count 1195 sound/pci/hda/patch_realtek.c .count = 2, count 1495 sound/pci/hda/patch_realtek.c .count = 1, count 2799 sound/pci/hda/patch_realtek.c uinfo->count = 1; count 2873 sound/pci/hda/patch_realtek.c uinfo->count = 1; count 4333 sound/pci/hda/patch_realtek.c .count = 2, count 4351 sound/pci/hda/patch_realtek.c .count = 1, count 6236 sound/pci/hda/patch_realtek.c .count = 2, count 6258 sound/pci/hda/patch_realtek.c .count = 3, count 7009 sound/pci/hda/patch_realtek.c .count = 2, count 7039 sound/pci/hda/patch_realtek.c .count = 2, count 7066 sound/pci/hda/patch_realtek.c .count = 2, count 7093 sound/pci/hda/patch_realtek.c .count = 2, count 7125 sound/pci/hda/patch_realtek.c .count = 2, count 7161 sound/pci/hda/patch_realtek.c .count = 1, count 7200 sound/pci/hda/patch_realtek.c .count = 2, count 7237 sound/pci/hda/patch_realtek.c .count = 1, count 7270 sound/pci/hda/patch_realtek.c .count = 2, count 7298 sound/pci/hda/patch_realtek.c .count = 2, count 7321 sound/pci/hda/patch_realtek.c .count = 1, count 7347 sound/pci/hda/patch_realtek.c .count = 2, count 7373 sound/pci/hda/patch_realtek.c .count = 2, count 7398 sound/pci/hda/patch_realtek.c .count = 2, count 7438 sound/pci/hda/patch_realtek.c .count = 2, count 7479 sound/pci/hda/patch_realtek.c .count = 1, count 8150 sound/pci/hda/patch_realtek.c .count = 2, count 9327 sound/pci/hda/patch_realtek.c .count = 1, count 11110 sound/pci/hda/patch_realtek.c .count = 1, count 11130 sound/pci/hda/patch_realtek.c .count = 2, count 11798 sound/pci/hda/patch_realtek.c .count = 1, count 12476 sound/pci/hda/patch_realtek.c .count = 1, count 12510 sound/pci/hda/patch_realtek.c .count = 1, count 12538 sound/pci/hda/patch_realtek.c .count = 1, count 12573 sound/pci/hda/patch_realtek.c .count = 1, count 12615 sound/pci/hda/patch_realtek.c .count = 1, count 13162 sound/pci/hda/patch_realtek.c .count = 1, count 13627 sound/pci/hda/patch_realtek.c .count = 1, count 15145 sound/pci/hda/patch_realtek.c .count = 1, count 174 sound/pci/hda/patch_si3054.c .count = ARRAY_SIZE(rates), count 932 sound/pci/hda/patch_sigmatel.c .count = 1, \ count 942 sound/pci/hda/patch_sigmatel.c .count = 1, \ count 967 sound/pci/hda/patch_sigmatel.c .count = cnt, \ count 977 sound/pci/hda/patch_sigmatel.c .count = cnt, \ count 1252 sound/pci/hda/patch_sigmatel.c stac_dmux_mixer.count = spec->num_dmuxes; count 1268 sound/pci/hda/patch_sigmatel.c stac_smux_mixer.count = spec->num_smuxes; count 4919 sound/pci/hda/patch_sigmatel.c .count = 1, count 4938 sound/pci/hda/patch_sigmatel.c .count = 1, count 183 sound/pci/hda/patch_via.c uinfo->count = 2; count 500 sound/pci/hda/patch_via.c .count = 1, count 521 sound/pci/hda/patch_via.c .count = 1, count 1466 sound/pci/hda/patch_via.c .count = 1, count 2026 sound/pci/hda/patch_via.c .count = 1, count 2548 sound/pci/hda/patch_via.c .count = 1, count 2948 sound/pci/hda/patch_via.c .count = 1, count 209 sound/pci/ice1712/aureon.c uinfo->count = 1; count 370 sound/pci/ice1712/aureon.c uinfo->count = kcontrol->private_value & AUREON_AC97_STEREO ? 2 : 1; count 771 sound/pci/ice1712/aureon.c uinfo->count = 2; count 821 sound/pci/ice1712/aureon.c uinfo->count = voices; count 874 sound/pci/ice1712/aureon.c uinfo->count = kcontrol->private_value >> 8; count 971 sound/pci/ice1712/aureon.c uinfo->count = 1; count 1057 sound/pci/ice1712/aureon.c uinfo->count = 2; count 1125 sound/pci/ice1712/aureon.c uinfo->count = 2; count 1186 sound/pci/ice1712/aureon.c uinfo->count = 1; count 1231 sound/pci/ice1712/aureon.c uinfo->count = 1; count 1284 sound/pci/ice1712/aureon.c uinfo->count = 10; count 1302 sound/pci/ice1712/aureon.c uinfo->count = 1; count 1411 sound/pci/ice1712/aureon.c uinfo->count = 1; count 133 sound/pci/ice1712/delta.c int res = count; count 139 sound/pci/ice1712/delta.c while (count-- > 0) count 150 sound/pci/ice1712/delta.c int res = count; count 156 sound/pci/ice1712/delta.c while (count-- > 0) count 583 sound/pci/ice1712/ews.c uinfo->count = 1; count 733 sound/pci/ice1712/ews.c .count = 8, count 906 sound/pci/ice1712/ews.c uinfo->count = 1; count 937 sound/pci/ice1712/ice1712.c .count = ARRAY_SIZE(rates), count 1331 sound/pci/ice1712/ice1712.c uinfo->count = 2; count 1380 sound/pci/ice1712/ice1712.c .count = 10, count 1391 sound/pci/ice1712/ice1712.c .count = 10, count 1412 sound/pci/ice1712/ice1712.c .count = 2, count 1434 sound/pci/ice1712/ice1712.c .count = 2, count 1452 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_adcs; count 1464 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_adcs; count 1611 sound/pci/ice1712/ice1712.c uinfo->count = sizeof(struct snd_ice1712_eeprom); count 1638 sound/pci/ice1712/ice1712.c uinfo->count = 1; count 1815 sound/pci/ice1712/ice1712.c uinfo->count = 1; count 1906 sound/pci/ice1712/ice1712.c uinfo->count = 1; count 2034 sound/pci/ice1712/ice1712.c uinfo->count = 1; count 2192 sound/pci/ice1712/ice1712.c .count = 2, count 2200 sound/pci/ice1712/ice1712.c uinfo->count = 1; count 2240 sound/pci/ice1712/ice1712.c uinfo->count = 22; count 2468 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_dacs; count 231 sound/pci/ice1712/ice1724.c unsigned int count; count 233 sound/pci/ice1712/ice1724.c for (count = inb(ICEREG1724(ice, MPU_RXFIFO)); count > 0; --count) count 247 sound/pci/ice1712/ice1724.c int count, i; count 251 sound/pci/ice1712/ice1724.c count = 31 - inb(ICEREG1724(ice, MPU_TXFIFO)); count 252 sound/pci/ice1712/ice1724.c if (count > 0) { count 253 sound/pci/ice1712/ice1724.c count = snd_rawmidi_transmit(s, buffer, count); count 254 sound/pci/ice1712/ice1724.c for (i = 0; i < count; ++i) count 262 sound/pci/ice1712/ice1724.c int count, i; count 266 sound/pci/ice1712/ice1724.c count = inb(ICEREG1724(ice, MPU_RXFIFO)); count 267 sound/pci/ice1712/ice1724.c if (count > 0) { count 268 sound/pci/ice1712/ice1724.c count = min(count, 32); count 269 sound/pci/ice1712/ice1724.c for (i = 0; i < count; ++i) count 271 sound/pci/ice1712/ice1724.c snd_rawmidi_receive(s, buffer, count); count 492 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates) - 2, /* up to 96000 */ count 498 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates) - 5, /* up to 48000 */ count 504 sound/pci/ice1712/ice1724.c .count = ARRAY_SIZE(rates), count 512 sound/pci/ice1712/ice1724.c unsigned int count; /* COUNT register offset */ count 623 sound/pci/ice1712/ice1724.c if (rate > ice->hw_rates->list[ice->hw_rates->count - 1]) count 797 sound/pci/ice1712/ice1724.c ice->profi_port + reg->count); count 834 sound/pci/ice1712/ice1724.c .count = VT1724_MT_PLAYBACK_COUNT, count 841 sound/pci/ice1712/ice1724.c .count = VT1724_MT_CAPTURE_COUNT, count 926 sound/pci/ice1712/ice1724.c runtime->hw.rate_max = ice->hw_rates->list[ice->hw_rates->count - 1]; count 1063 sound/pci/ice1712/ice1724.c .count = VT1724_MT_PDMA4_COUNT, count 1070 sound/pci/ice1712/ice1724.c .count = VT1724_MT_RDMA1_COUNT, count 1274 sound/pci/ice1712/ice1724.c .count = VT1724_MT_PDMA1_COUNT, count 1280 sound/pci/ice1712/ice1724.c .count = VT1724_MT_PDMA2_COUNT, count 1286 sound/pci/ice1712/ice1724.c .count = VT1724_MT_PDMA3_COUNT, count 1486 sound/pci/ice1712/ice1724.c uinfo->count = sizeof(struct snd_ice1712_eeprom); count 1513 sound/pci/ice1712/ice1724.c uinfo->count = 1; count 1753 sound/pci/ice1712/ice1724.c uinfo->count = 1; count 1754 sound/pci/ice1712/ice1724.c uinfo->value.enumerated.items = ice->hw_rates->count + 1; count 1773 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = ice->hw_rates->count; count 1777 sound/pci/ice1712/ice1724.c for (i = 0; i < ice->hw_rates->count; i++) { count 1806 sound/pci/ice1712/ice1724.c unsigned int spdif = ice->hw_rates->count; count 1928 sound/pci/ice1712/ice1724.c uinfo->count = 1; count 2039 sound/pci/ice1712/ice1724.c .count = 2, count 2047 sound/pci/ice1712/ice1724.c uinfo->count = 22; /* FIXME: for compatibility with ice1712... */ count 2307 sound/pci/ice1712/ice1724.c tmp.count = ice->num_total_dacs; count 2308 sound/pci/ice1712/ice1724.c if (ice->vt1720 && tmp.count > 2) count 2309 sound/pci/ice1712/ice1724.c tmp.count = 2; count 150 sound/pci/ice1712/juli.c .count = ARRAY_SIZE(juli_rates), count 337 sound/pci/ice1712/phase.c uinfo->count = 2; count 484 sound/pci/ice1712/phase.c uinfo->count = voices; count 540 sound/pci/ice1712/phase.c uinfo->count = kcontrol->private_value >> 8; count 644 sound/pci/ice1712/phase.c uinfo->count = 1; count 728 sound/pci/ice1712/phase.c uinfo->count = 1; count 118 sound/pci/ice1712/pontis.c uinfo->count = 2; count 173 sound/pci/ice1712/pontis.c uinfo->count = 2; count 422 sound/pci/ice1712/pontis.c uinfo->count = 1; count 464 sound/pci/ice1712/pontis.c uinfo->count = 1; count 149 sound/pci/ice1712/prodigy192.c uinfo->count = 1; count 238 sound/pci/ice1712/prodigy192.c uinfo->count = 2; count 284 sound/pci/ice1712/prodigy192.c uinfo->count = 1; count 391 sound/pci/ice1712/prodigy192.c .count = 6, count 401 sound/pci/ice1712/prodigy192.c .count = 6, count 410 sound/pci/ice1712/prodigy192.c .count = 1, count 421 sound/pci/ice1712/prodigy192.c .count = 1, count 563 sound/pci/ice1712/prodigy192.c uinfo->count = 1; count 260 sound/pci/ice1712/prodigy_hifi.c uinfo->count = 2; count 387 sound/pci/ice1712/prodigy_hifi.c uinfo->count = 2; count 435 sound/pci/ice1712/prodigy_hifi.c uinfo->count = voices; count 486 sound/pci/ice1712/prodigy_hifi.c uinfo->count = 2; count 564 sound/pci/ice1712/prodigy_hifi.c uinfo->count = 1; count 616 sound/pci/ice1712/prodigy_hifi.c uinfo->count = 2; count 439 sound/pci/ice1712/se.c uinfo->count = 2; count 457 sound/pci/ice1712/se.c uinfo->count = 1; count 142 sound/pci/ice1712/wtm.c uinfo->count = 1; count 277 sound/pci/ice1712/wtm.c uinfo->count = 2; count 408 sound/pci/ice1712/wtm.c .count = 2, count 417 sound/pci/ice1712/wtm.c .count = 8, count 425 sound/pci/ice1712/wtm.c .count = 8, count 433 sound/pci/ice1712/wtm.c .count = 2, count 441 sound/pci/ice1712/wtm.c .count = 2, count 604 sound/pci/intel8x0.c int count = 0; count 605 sound/pci/intel8x0.c for (count = 0; count < 0x7f; count++) { count 1104 sound/pci/intel8x0.c .count = ARRAY_SIZE(channels4), count 1114 sound/pci/intel8x0.c .count = ARRAY_SIZE(channels6), count 1124 sound/pci/intel8x0.c .count = ARRAY_SIZE(channels8), count 627 sound/pci/intel8x0m.c .count = ARRAY_SIZE(rates), count 902 sound/pci/korg1212/korg1212.c u16 count; count 1022 sound/pci/korg1212/korg1212.c for (count = 0; count < 10; count++) count 1283 sound/pci/korg1212/korg1212.c pos, offset, size, count); count 1284 sound/pci/korg1212/korg1212.c if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) count 1287 sound/pci/korg1212/korg1212.c for (i=0; i < count; i++) { count 1310 sound/pci/korg1212/korg1212.c if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) count 1313 sound/pci/korg1212/korg1212.c for (i=0; i < count; i++) { count 1339 sound/pci/korg1212/korg1212.c pos, offset, size, count); count 1341 sound/pci/korg1212/korg1212.c if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) count 1344 sound/pci/korg1212/korg1212.c for (i=0; i < count; i++) { count 1650 sound/pci/korg1212/korg1212.c stateName[korg1212->cardState], pos, count); count 1652 sound/pci/korg1212/korg1212.c return snd_korg1212_copy_from(korg1212, src, pos, count, 0, korg1212->channels * 2); count 1666 sound/pci/korg1212/korg1212.c return snd_korg1212_silence(korg1212, pos, count, 0, korg1212->channels * 2); count 1678 sound/pci/korg1212/korg1212.c stateName[korg1212->cardState], pos, count); count 1680 sound/pci/korg1212/korg1212.c return snd_korg1212_copy_to(korg1212, dst, pos, count, 0, korg1212->channels * 2); count 1714 sound/pci/korg1212/korg1212.c uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; count 1778 sound/pci/korg1212/korg1212.c uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; count 1846 sound/pci/korg1212/korg1212.c uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; count 1909 sound/pci/korg1212/korg1212.c uinfo->count = 2; count 1963 sound/pci/korg1212/korg1212.c uinfo->count = 1; count 795 sound/pci/maestro3.c int count; count 1228 sound/pci/maestro3.c s->count = 0; count 1584 sound/pci/maestro3.c s->count += diff; count 1586 sound/pci/maestro3.c if (s->count >= (signed)s->period_size) { count 1588 sound/pci/maestro3.c if (s->count < 2 * (signed)s->period_size) count 1589 sound/pci/maestro3.c s->count -= (signed)s->period_size; count 1591 sound/pci/maestro3.c s->count %= s->period_size; count 1163 sound/pci/mixart/mixart.c count = count & ~3; /* make sure the read size is a multiple of 4 bytes */ count 1164 sound/pci/mixart/mixart.c if(count <= 0) count 1166 sound/pci/mixart/mixart.c if(pos + count > MIXART_BA0_SIZE) count 1167 sound/pci/mixart/mixart.c count = (long)(MIXART_BA0_SIZE - pos); count 1168 sound/pci/mixart/mixart.c if(copy_to_user_fromio(buf, MIXART_MEM( mgr, pos ), count)) count 1170 sound/pci/mixart/mixart.c return count; count 1182 sound/pci/mixart/mixart.c count = count & ~3; /* make sure the read size is a multiple of 4 bytes */ count 1183 sound/pci/mixart/mixart.c if(count <= 0) count 1185 sound/pci/mixart/mixart.c if(pos + count > MIXART_BA1_SIZE) count 1186 sound/pci/mixart/mixart.c count = (long)(MIXART_BA1_SIZE - pos); count 1187 sound/pci/mixart/mixart.c if(copy_to_user_fromio(buf, MIXART_REG( mgr, pos ), count)) count 1189 sound/pci/mixart/mixart.c return count; count 344 sound/pci/mixart/mixart_mixer.c uinfo->count = 2; count 819 sound/pci/mixart/mixart_mixer.c uinfo->count = 2; count 951 sound/pci/mixart/mixart_mixer.c .count = MIXART_PLAYBACK_STREAMS, count 1139 sound/pci/mixart/mixart_mixer.c temp.count = MIXART_PLAYBACK_STREAMS; count 1145 sound/pci/mixart/mixart_mixer.c temp.count = 1; count 1152 sound/pci/mixart/mixart_mixer.c temp.count = MIXART_PLAYBACK_STREAMS; count 1158 sound/pci/mixart/mixart_mixer.c temp.count = 0; count 403 sound/pci/nm256/nm256.c .count = ARRAY_SIZE(samplerates), count 701 sound/pci/nm256/nm256.c count = frames_to_bytes(runtime, count); count 703 sound/pci/nm256/nm256.c memset_io(s->bufptr + pos, 0, count); count 716 sound/pci/nm256/nm256.c count = frames_to_bytes(runtime, count); count 718 sound/pci/nm256/nm256.c if (copy_from_user_toio(s->bufptr + pos, src, count)) count 735 sound/pci/nm256/nm256.c count = frames_to_bytes(runtime, count); count 737 sound/pci/nm256/nm256.c if (copy_to_user_fromio(dst, s->bufptr + pos, count)) count 131 sound/pci/oxygen/oxygen_io.c unsigned int count, succeeded; count 139 sound/pci/oxygen/oxygen_io.c for (count = 5; count > 0; --count) { count 156 sound/pci/oxygen/oxygen_io.c unsigned int count; count 163 sound/pci/oxygen/oxygen_io.c for (count = 5; count > 0; --count) { count 198 sound/pci/oxygen/oxygen_io.c unsigned int count; count 201 sound/pci/oxygen/oxygen_io.c count = 10; count 203 sound/pci/oxygen/oxygen_io.c && count > 0) { count 205 sound/pci/oxygen/oxygen_io.c --count; count 34 sound/pci/oxygen/oxygen_mixer.c info->count = chip->model.dac_channels; count 106 sound/pci/oxygen/oxygen_mixer.c unsigned int count = 2 + (chip->model.dac_channels == 8); count 109 sound/pci/oxygen/oxygen_mixer.c info->count = 1; count 110 sound/pci/oxygen/oxygen_mixer.c info->value.enumerated.items = count; count 111 sound/pci/oxygen/oxygen_mixer.c if (info->value.enumerated.item >= count) count 112 sound/pci/oxygen/oxygen_mixer.c info->value.enumerated.item = count - 1; count 175 sound/pci/oxygen/oxygen_mixer.c unsigned int count = 2 + (chip->model.dac_channels == 8); count 182 sound/pci/oxygen/oxygen_mixer.c count - 1); count 287 sound/pci/oxygen/oxygen_mixer.c info->count = 1; count 453 sound/pci/oxygen/oxygen_mixer.c info->count = 1; count 579 sound/pci/oxygen/oxygen_mixer.c info->count = 2; count 628 sound/pci/oxygen/oxygen_mixer.c info->count = 2; count 940 sound/pci/oxygen/oxygen_mixer.c for (i = 0; i < count; ++i) { count 257 sound/pci/oxygen/virtuoso.c oxygen_write_uart(chip, count); count 258 sound/pci/oxygen/virtuoso.c for (i = 0; i < count; ++i) count 260 sound/pci/oxygen/virtuoso.c checksum = 0xfb + 0xef + command + count; count 261 sound/pci/oxygen/virtuoso.c for (i = 0; i < count; ++i) count 84 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 2; count 301 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 2; count 413 sound/pci/pcxhr/pcxhr_mixer.c .count = PCXHR_PLAYBACK_STREAMS, count 582 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 1; count 649 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 1; count 712 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 3 + mgr->capture_chips; count 753 sound/pci/pcxhr/pcxhr_mixer.c uinfo->count = 1; count 977 sound/pci/pcxhr/pcxhr_mixer.c temp.count = PCXHR_PLAYBACK_STREAMS; count 1008 sound/pci/pcxhr/pcxhr_mixer.c temp.count = 1; count 266 sound/pci/rme32.c count <<= rme32->playback_frlog; count 268 sound/pci/rme32.c memset_io(rme32->iobase + RME32_IO_DATA_BUFFER + pos, 0, count); count 278 sound/pci/rme32.c count <<= rme32->playback_frlog; count 281 sound/pci/rme32.c src, count)) count 292 sound/pci/rme32.c count <<= rme32->capture_frlog; count 296 sound/pci/rme32.c count)) count 830 sound/pci/rme32.c .count = ARRAY_SIZE(period_bytes), count 1616 sound/pci/rme32.c uinfo->count = 1; count 1706 sound/pci/rme32.c uinfo->count = 1; count 1766 sound/pci/rme32.c uinfo->count = 1; count 1799 sound/pci/rme32.c uinfo->count = 1; count 1837 sound/pci/rme32.c uinfo->count = 1; count 309 sound/pci/rme96.c count <<= rme96->playback_frlog; count 312 sound/pci/rme96.c 0, count); count 324 sound/pci/rme96.c count <<= rme96->playback_frlog; count 327 sound/pci/rme96.c count); count 339 sound/pci/rme96.c count <<= rme96->capture_frlog; count 342 sound/pci/rme96.c count); count 1133 sound/pci/rme96.c .count = ARRAY_SIZE(period_bytes), count 1844 sound/pci/rme96.c uinfo->count = 1; count 1960 sound/pci/rme96.c uinfo->count = 1; count 1999 sound/pci/rme96.c uinfo->count = 1; count 2039 sound/pci/rme96.c uinfo->count = 1; count 2097 sound/pci/rme96.c uinfo->count = 1; count 2126 sound/pci/rme96.c uinfo->count = 1; count 2158 sound/pci/rme96.c uinfo->count = 1; count 2174 sound/pci/rme96.c uinfo->count = 2; count 798 sound/pci/rme9652/hdsp.c if ((int)(hdsp_read (hdsp, HDSP_fifoStatus) & 0xff) <= count) count 809 sound/pci/rme9652/hdsp.c count, timeout); count 1497 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1526 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1557 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1594 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1820 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1878 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1904 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 1973 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2083 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2198 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2283 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2368 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2581 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2685 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 2860 sound/pci/rme9652/hdsp.c uinfo->count = 3; count 2931 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 3109 sound/pci/rme9652/hdsp.c uinfo->count = 1; count 3788 sound/pci/rme9652/hdsp.c if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES / 4)) count 3794 sound/pci/rme9652/hdsp.c if (copy_from_user(channel_buf + pos * 4, src, count * 4)) count 3796 sound/pci/rme9652/hdsp.c return count; count 3805 sound/pci/rme9652/hdsp.c if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES / 4)) count 3811 sound/pci/rme9652/hdsp.c if (copy_to_user(dst, channel_buf + pos * 4, count * 4)) count 3813 sound/pci/rme9652/hdsp.c return count; count 3825 sound/pci/rme9652/hdsp.c memset(channel_buf + pos * 4, 0, count * 4); count 3826 sound/pci/rme9652/hdsp.c return count; count 4111 sound/pci/rme9652/hdsp.c .count = ARRAY_SIZE(hdsp_period_sizes), count 4119 sound/pci/rme9652/hdsp.c .count = ARRAY_SIZE(hdsp_9632_sample_rates), count 1342 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1374 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1451 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1573 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1721 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1735 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1828 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 1840 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 2278 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 2349 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 2431 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 2501 sound/pci/rme9652/hdspm.c uinfo->count = 3; count 2605 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 2690 sound/pci/rme9652/hdspm.c uinfo->count = 1; count 3524 sound/pci/rme9652/hdspm.c if (snd_BUG_ON(pos + count > HDSPM_CHANNEL_BUFFER_BYTES / 4)) count 3534 sound/pci/rme9652/hdspm.c return copy_from_user(channel_buf + pos * 4, src, count * 4); count 3544 sound/pci/rme9652/hdspm.c if (snd_BUG_ON(pos + count > HDSPM_CHANNEL_BUFFER_BYTES / 4)) count 3552 sound/pci/rme9652/hdspm.c return copy_to_user(dst, channel_buf + pos * 4, count * 4); count 3567 sound/pci/rme9652/hdspm.c memset(channel_buf + pos * 4, 0, count * 4); count 3901 sound/pci/rme9652/hdspm.c .count = ARRAY_SIZE(period_sizes), count 3988 sound/pci/rme9652/hdspm.c .count = ARRAY_SIZE(hdspm_aes32_sample_rates), count 815 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 844 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 875 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 928 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 999 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 1148 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 1240 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 1279 sound/pci/rme9652/rme9652.c uinfo->count = rme9652->ss_channels; count 1373 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 1400 sound/pci/rme9652/rme9652.c uinfo->count = 1; count 1916 sound/pci/rme9652/rme9652.c if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES / 4)) count 1924 sound/pci/rme9652/rme9652.c if (copy_from_user(channel_buf + pos * 4, src, count * 4)) count 1926 sound/pci/rme9652/rme9652.c return count; count 1935 sound/pci/rme9652/rme9652.c if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES / 4)) count 1943 sound/pci/rme9652/rme9652.c if (copy_to_user(dst, channel_buf + pos * 4, count * 4)) count 1945 sound/pci/rme9652/rme9652.c return count; count 1959 sound/pci/rme9652/rme9652.c memset(channel_buf + pos * 4, 0, count * 4); count 1960 sound/pci/rme9652/rme9652.c return count; count 2223 sound/pci/rme9652/rme9652.c .count = ARRAY_SIZE(period_sizes), count 922 sound/pci/sis7019.c int count; count 937 sound/pci/sis7019.c count = 0xffff; count 938 sound/pci/sis7019.c while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count) count 941 sound/pci/sis7019.c if (!count) count 946 sound/pci/sis7019.c count = 0xffff; count 953 sound/pci/sis7019.c } while (--count); count 955 sound/pci/sis7019.c if (!count) count 963 sound/pci/sis7019.c count = 0xffff; count 964 sound/pci/sis7019.c while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count) count 976 sound/pci/sis7019.c if (!count) { count 1079 sound/pci/sis7019.c int count; count 1090 sound/pci/sis7019.c count = 0xffff; count 1091 sound/pci/sis7019.c while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count) count 1094 sound/pci/sis7019.c if (!count) count 1100 sound/pci/sis7019.c count = 0xffff; count 1101 sound/pci/sis7019.c while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count) count 1117 sound/pci/sis7019.c if (!sis->codecs_present || !count) count 271 sound/pci/sonicvibes.c count--; count 273 sound/pci/sonicvibes.c outl(count, sonic->dmaa_port + SV_DMA_COUNT0); count 285 sound/pci/sonicvibes.c count >>= 1; count 286 sound/pci/sonicvibes.c count--; count 288 sound/pci/sonicvibes.c outl(count, sonic->dmac_port + SV_DMA_COUNT0); count 678 sound/pci/sonicvibes.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 681 sound/pci/sonicvibes.c count--; count 690 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, SV_IREG_DMA_A_UPPER, count >> 8); count 691 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, SV_IREG_DMA_A_LOWER, count); count 702 sound/pci/sonicvibes.c unsigned int count = snd_pcm_lib_period_bytes(substream); count 705 sound/pci/sonicvibes.c count >>= 1; count 706 sound/pci/sonicvibes.c count--; count 715 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, SV_IREG_DMA_C_UPPER, count >> 8); count 716 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, SV_IREG_DMA_C_LOWER, count); count 887 sound/pci/sonicvibes.c uinfo->count = 2; count 940 sound/pci/sonicvibes.c uinfo->count = 1; count 996 sound/pci/sonicvibes.c uinfo->count = 2; count 123 sound/pci/trident/trident_main.c unsigned short count = 0xffff; count 135 sound/pci/trident/trident_main.c } while (--count); count 144 sound/pci/trident/trident_main.c } while (--count); count 154 sound/pci/trident/trident_main.c } while (--count); count 157 sound/pci/trident/trident_main.c if (count == 0 && !trident->ac97_detect) { count 185 sound/pci/trident/trident_main.c unsigned short count = 0xffff; count 199 sound/pci/trident/trident_main.c } while (--count); count 209 sound/pci/trident/trident_main.c } while (--count); count 219 sound/pci/trident/trident_main.c } while (--count); count 226 sound/pci/trident/trident_main.c count = 0; /* return */ count 229 sound/pci/trident/trident_main.c if (count == 0) { count 2388 sound/pci/trident/trident_main.c uinfo->count = 1; count 2450 sound/pci/trident/trident_main.c uinfo->count = 1; count 2483 sound/pci/trident/trident_main.c uinfo->count = 1; count 2596 sound/pci/trident/trident_main.c uinfo->count = 2; count 2668 sound/pci/trident/trident_main.c uinfo->count = 1; count 2717 sound/pci/trident/trident_main.c .count = 32, count 2734 sound/pci/trident/trident_main.c uinfo->count = 1; count 2781 sound/pci/trident/trident_main.c .count = 32, count 2797 sound/pci/trident/trident_main.c uinfo->count = 1; count 2838 sound/pci/trident/trident_main.c .count = 32, count 2855 sound/pci/trident/trident_main.c uinfo->count = 1; count 2894 sound/pci/trident/trident_main.c .count = 32, count 776 sound/pci/via82xx.c res = base + size - count; count 781 sound/pci/via82xx.c if (size < count) { count 783 sound/pci/via82xx.c (int)size, (int)count); count 786 sound/pci/via82xx.c if (! count) { count 804 sound/pci/via82xx.c viadev->idx_table[idx].size, count); count 825 sound/pci/via82xx.c unsigned int idx, ptr, count, res; count 833 sound/pci/via82xx.c count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)) & 0xffffff; count 842 sound/pci/via82xx.c res = calc_linear_pos(viadev, idx, count); count 856 sound/pci/via82xx.c unsigned int idx, count, res; count 863 sound/pci/via82xx.c count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)); count 877 sound/pci/via82xx.c if (count & 0xffffff) { count 878 sound/pci/via82xx.c idx = count >> 24; count 886 sound/pci/via82xx.c count &= 0xffffff; count 887 sound/pci/via82xx.c res = calc_linear_pos(viadev, idx, count); count 1240 sound/pci/via82xx.c .count = ARRAY_SIZE(channels), count 1525 sound/pci/via82xx.c uinfo->count = 1; count 1612 sound/pci/via82xx.c uinfo->count = 2; count 1705 sound/pci/via82xx.c .count = 4, count 566 sound/pci/via82xx_modem.c res = viadev->idx_table[idx].offset + size - count; count 569 sound/pci/via82xx_modem.c if (size < count) { count 571 sound/pci/via82xx_modem.c (int)size, (int)count); count 579 sound/pci/via82xx_modem.c viadev->idx_table[idx].size, count); count 581 sound/pci/via82xx_modem.c if (count && size < count) { count 586 sound/pci/via82xx_modem.c if (! count) count 614 sound/pci/via82xx_modem.c unsigned int idx, ptr, count, res; count 622 sound/pci/via82xx_modem.c count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)) & 0xffffff; count 632 sound/pci/via82xx_modem.c res = calc_linear_pos(viadev, idx, count); count 741 sound/pci/via82xx_modem.c .count = ARRAY_SIZE(rates), count 256 sound/pci/vx222/vx222_ops.c if (snd_BUG_ON(count % 4)) count 263 sound/pci/vx222/vx222_ops.c if (offset + count > pipe->buffer_bytes) { count 265 sound/pci/vx222/vx222_ops.c count -= length; count 275 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; count 276 sound/pci/vx222/vx222_ops.c count >>= 2; /* in 32bit words */ count 278 sound/pci/vx222/vx222_ops.c while (count-- > 0) { count 295 sound/pci/vx222/vx222_ops.c if (snd_BUG_ON(count % 4)) count 301 sound/pci/vx222/vx222_ops.c if (offset + count > pipe->buffer_bytes) { count 303 sound/pci/vx222/vx222_ops.c count -= length; count 311 sound/pci/vx222/vx222_ops.c pipe->hw_ptr += count; count 312 sound/pci/vx222/vx222_ops.c count >>= 2; /* in 32bit words */ count 314 sound/pci/vx222/vx222_ops.c while (count-- > 0) count 862 sound/pci/vx222/vx222_ops.c uinfo->count = 2; count 906 sound/pci/vx222/vx222_ops.c uinfo->count = 1; count 1260 sound/pci/ymfpci/ymfpci_main.c uinfo->count = 1; count 1307 sound/pci/ymfpci/ymfpci_main.c uinfo->count = 1; count 1335 sound/pci/ymfpci/ymfpci_main.c uinfo->count = 1; count 1385 sound/pci/ymfpci/ymfpci_main.c info->count = 1; count 1506 sound/pci/ymfpci/ymfpci_main.c uinfo->count = 2; count 1713 sound/pci/ymfpci/ymfpci_main.c uinfo->count = 2; count 1875 sound/pci/ymfpci/ymfpci_main.c unsigned int count; count 1878 sound/pci/ymfpci/ymfpci_main.c count = (timer->sticks << 1) - 1; count 1880 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writew(chip, YDSXGR_TIMERCOUNT, count); count 37 sound/pcmcia/vx/vxp_mixer.c uinfo->count = 1; count 372 sound/pcmcia/vx/vxp_ops.c if (offset + count > pipe->buffer_bytes) { count 374 sound/pcmcia/vx/vxp_ops.c count -= length; count 384 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; count 385 sound/pcmcia/vx/vxp_ops.c count >>= 1; /* in 16bit words */ count 387 sound/pcmcia/vx/vxp_ops.c while (count-- > 0) { count 411 sound/pcmcia/vx/vxp_ops.c if (snd_BUG_ON(count % 2)) count 414 sound/pcmcia/vx/vxp_ops.c if (offset + count > pipe->buffer_bytes) { count 416 sound/pcmcia/vx/vxp_ops.c count -= length; count 424 sound/pcmcia/vx/vxp_ops.c pipe->hw_ptr += count; count 425 sound/pcmcia/vx/vxp_ops.c count >>= 1; /* in 16bit words */ count 427 sound/pcmcia/vx/vxp_ops.c while (count-- > 1) count 139 sound/ppc/awacs.c uinfo->count = 2; count 337 sound/ppc/awacs.c uinfo->count = 2; count 403 sound/ppc/awacs.c uinfo->count = 1; count 443 sound/ppc/awacs.c uinfo->count = 1; count 545 sound/ppc/awacs.c uinfo->count = 1; count 178 sound/ppc/beep.c uinfo->count = 1; count 179 sound/ppc/burgundy.c uinfo->count = 2; count 255 sound/ppc/burgundy.c uinfo->count = 2; count 302 sound/ppc/burgundy.c uinfo->count = stereo + 1; count 364 sound/ppc/burgundy.c uinfo->count = stereo + 1; count 420 sound/ppc/burgundy.c uinfo->count = stereo + 1; count 128 sound/ppc/daca.c uinfo->count = 2; count 324 sound/ppc/pmac.c int count = 0; count 331 sound/ppc/pmac.c count = in_le16(&cp->res_count); count 332 sound/ppc/pmac.c if (count) count 333 sound/ppc/pmac.c count = rec->period_size - count; count 336 sound/ppc/pmac.c count += rec->cur_period * rec->period_size; count 338 sound/ppc/pmac.c return bytes_to_frames(subs->runtime, count); count 187 sound/ppc/snd_ps3.c retries = count; count 122 sound/ppc/tumbler.c int err, count = 10; count 130 sound/ppc/tumbler.c } while (count--); count 255 sound/ppc/tumbler.c uinfo->count = 2; count 400 sound/ppc/tumbler.c uinfo->count = 1; count 521 sound/ppc/tumbler.c uinfo->count = 1; count 666 sound/ppc/tumbler.c uinfo->count = 2; count 794 sound/ppc/tumbler.c uinfo->count = 1; count 505 sound/sh/aica.c uinfo->count = 1; count 110 sound/soc/at32/at32-pcm.c static int count; count 112 sound/soc/at32/at32-pcm.c count++; count 116 sound/soc/at32/at32-pcm.c "underrun" : "overrun", params->name, ssc_sr, count); count 72 sound/soc/at91/at91-pcm.c static int count = 0; count 74 sound/soc/at91/at91-pcm.c count++; count 82 sound/soc/at91/at91-pcm.c params->name, ssc_sr, count); count 55 sound/soc/blackfin/bf5xx-ac97-pcm.c (__u32 *)runtime->dma_area + sport->tx_pos, count); count 63 sound/soc/blackfin/bf5xx-ac97-pcm.c (__u32 *)runtime->dma_area + sport->rx_pos, count); count 286 sound/soc/blackfin/bf5xx-ac97-pcm.c substream->stream ? "Capture" : "Playback", pos, count); count 291 sound/soc/blackfin/bf5xx-ac97-pcm.c buf, count); count 295 sound/soc/blackfin/bf5xx-ac97-pcm.c buf, count); count 104 sound/soc/blackfin/bf5xx-ac97.c while (count--) { count 114 sound/soc/blackfin/bf5xx-ac97.c while (count--) count 83 sound/soc/blackfin/bf5xx-ad73311.c int count = 0; count 110 sound/soc/blackfin/bf5xx-ad73311.c for (count = 0; count < 6; count++) count 111 sound/soc/blackfin/bf5xx-ad73311.c bfin_write_SPORT_TX16(ctrl_regs[count]); count 117 sound/soc/blackfin/bf5xx-ad73311.c while (!(status & TUVF) && count++ < 10000) { count 126 sound/soc/blackfin/bf5xx-ad73311.c if (count == 10000) { count 420 sound/soc/blackfin/bf5xx-sport.c int i, count = x_count; count 424 sound/soc/blackfin/bf5xx-sport.c if ((count & (x_count - 1)) == 0) { count 425 sound/soc/blackfin/bf5xx-sport.c y_count = count >> i; count 485 sound/soc/blackfin/bf5xx-sport.c int i, count = x_count; count 489 sound/soc/blackfin/bf5xx-sport.c if ((count & (x_count - 1)) == 0) { count 490 sound/soc/blackfin/bf5xx-sport.c y_count = count >> i; count 297 sound/soc/codecs/tlv320aic23.c u8 count = 0; count 306 sound/soc/codecs/tlv320aic23.c while ((srate_reg_info[count].sample_rate != params_rate(params)) && count 307 sound/soc/codecs/tlv320aic23.c (count < ARRAY_SIZE(srate_reg_info))) { count 308 sound/soc/codecs/tlv320aic23.c count++; count 311 sound/soc/codecs/tlv320aic23.c data = (srate_reg_info[count].divider << TLV320AIC23_CLKIN_SHIFT) | count 312 sound/soc/codecs/tlv320aic23.c (srate_reg_info[count]. control << TLV320AIC23_BOSR_SHIFT) | count 418 sound/soc/codecs/tlv320aic26.c return count; count 75 sound/soc/davinci/davinci-pcm.c unsigned int count; count 85 sound/soc/davinci/davinci-pcm.c count = period_size / data_type; count 103 sound/soc/davinci/davinci-pcm.c davinci_set_dma_transfer_params(lch, data_type, count, 1, 0, ASYNC); count 212 sound/soc/davinci/davinci-pcm.c dma_addr_t count; count 219 sound/soc/davinci/davinci-pcm.c count = src - runtime->dma_addr; count 221 sound/soc/davinci/davinci-pcm.c count = dst - runtime->dma_addr;; count 225 sound/soc/davinci/davinci-pcm.c offset = bytes_to_frames(runtime, count); count 576 sound/soc/fsl/fsl_dma.c link->count = cpu_to_be32(period_size); count 125 sound/soc/fsl/fsl_dma.h __be32 count; /* Byte count */ count 560 sound/soc/fsl/mpc5200_psc_i2s.c dma_addr_t count; count 567 sound/soc/fsl/mpc5200_psc_i2s.c count = s->period_current_pt - s->period_start; count 569 sound/soc/fsl/mpc5200_psc_i2s.c return bytes_to_frames(substream->runtime, count); count 699 sound/soc/fsl/mpc5200_psc_i2s.c return count; count 969 sound/soc/soc-core.c int i, step = 1, count = 0; count 977 sound/soc/soc-core.c count += sprintf(buf, "%s registers\n", codec->name); count 979 sound/soc/soc-core.c count += sprintf(buf + count, "%2x: ", i); count 980 sound/soc/soc-core.c if (count >= PAGE_SIZE - 1) count 984 sound/soc/soc-core.c count += codec->display_register(codec, buf + count, count 985 sound/soc/soc-core.c PAGE_SIZE - count, i); count 987 sound/soc/soc-core.c count += snprintf(buf + count, PAGE_SIZE - count, count 990 sound/soc/soc-core.c if (count >= PAGE_SIZE - 1) count 993 sound/soc/soc-core.c count += snprintf(buf + count, PAGE_SIZE - count, "\n"); count 994 sound/soc/soc-core.c if (count >= PAGE_SIZE - 1) count 999 sound/soc/soc-core.c if (count >= PAGE_SIZE) count 1000 sound/soc/soc-core.c count = PAGE_SIZE - 1; count 1002 sound/soc/soc-core.c return count; count 1323 sound/soc/soc-core.c uinfo->count = e->shift_l == e->shift_r ? 1 : 2; count 1413 sound/soc/soc-core.c uinfo->count = 1; count 1443 sound/soc/soc-core.c uinfo->count = 1; count 1473 sound/soc/soc-core.c uinfo->count = shift == rshift ? 1 : 2; count 1580 sound/soc/soc-core.c uinfo->count = 2; count 1687 sound/soc/soc-core.c uinfo->count = 2; count 776 sound/soc/soc-dapm.c int count = 0; count 793 sound/soc/soc-dapm.c count += sprintf(buf + count, "%s: %s\n", count 815 sound/soc/soc-dapm.c count += sprintf(buf + count, "PM State: %s\n", state); count 817 sound/soc/soc-dapm.c return count; count 792 sound/sparc/amd7930.c uinfo->count = 1; count 210 sound/sparc/cs4231.c .count = ARRAY_SIZE(rates), count 1287 sound/sparc/cs4231.c uinfo->count = 2; count 1348 sound/sparc/cs4231.c uinfo->count = 1; count 1413 sound/sparc/cs4231.c uinfo->count = 2; count 2253 sound/sparc/dbri.c uinfo->count = 2; count 2322 sound/sparc/dbri.c uinfo->count = 1; count 465 sound/spi/at73c213.c uinfo->count = 2; count 612 sound/spi/at73c213.c uinfo->count = 1; count 624 sound/spi/at73c213.c uinfo->count = 2; count 637 sound/spi/at73c213.c uinfo->count = 1; count 73 sound/synth/emux/emux.c return emu->ops.sample_new(emu, sp, hdr, buf, count); count 230 sound/synth/emux/emux_oss.c rc = snd_soundfont_load_guspatch(emu->sflist, buf, count, count 234 sound/synth/emux/emux_oss.c if (count < (int)sizeof(patch)) count 240 sound/synth/emux/emux_oss.c rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); count 243 sound/synth/emux/emux_oss.c rc = emu->ops.load_fx(emu, patch.type, patch.optarg, buf, count); count 135 sound/synth/emux/soundfont.c if (count < (long)sizeof(patch)) { count 136 sound/synth/emux/soundfont.c snd_printk("patch record too small %ld\n", count); count 142 sound/synth/emux/soundfont.c count -= sizeof(patch); count 149 sound/synth/emux/soundfont.c if (count < patch.len) { count 150 sound/synth/emux/soundfont.c snd_printk("Patch too short %ld, need %d\n", count, patch.len); count 161 sound/synth/emux/soundfont.c rc = open_patch(sflist, data, count, client); count 178 sound/synth/emux/soundfont.c rc = load_info(sflist, data, count); count 181 sound/synth/emux/soundfont.c rc = load_data(sflist, data, count); count 190 sound/synth/emux/soundfont.c rc = load_map(sflist, data, count); count 429 sound/synth/emux/soundfont.c if (count < (int)sizeof(map)) count 533 sound/synth/emux/soundfont.c if (count < (long)sizeof(hdr)) { count 541 sound/synth/emux/soundfont.c count -= sizeof(hdr); count 548 sound/synth/emux/soundfont.c if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { count 550 sound/synth/emux/soundfont.c count, hdr.nvoices); count 580 sound/synth/emux/soundfont.c count -= sizeof(tmpzone.v); count 722 sound/synth/emux/soundfont.c if (sample_info.size != (count-off)/2) count 749 sound/synth/emux/soundfont.c data + off, count - off); count 757 sound/synth/emux/soundfont.c return count; count 954 sound/synth/emux/soundfont.c if (count < (long)sizeof(patch)) { count 955 sound/synth/emux/soundfont.c snd_printk("patch record too small %ld\n", count); count 961 sound/synth/emux/soundfont.c count -= sizeof(patch); count 1016 sound/synth/emux/soundfont.c data, count); count 1124 sound/synth/emux/soundfont.c rc = load_guspatch(sflist, data, count, client); count 43 sound/usb/caiaq/caiaq-control.c uinfo->count = 1; count 1850 sound/usb/usbaudio.c int count = 0, needs_knot = 0; count 1856 sound/usb/usbaudio.c count += fp->nr_rates; count 1863 sound/usb/usbaudio.c subs->rate_list.count = count; count 1864 sound/usb/usbaudio.c subs->rate_list.list = kmalloc(sizeof(int) * count, GFP_KERNEL); count 1866 sound/usb/usbaudio.c count = 0; count 1870 sound/usb/usbaudio.c subs->rate_list.list[count++] = fp->rate_table[i]; count 619 sound/usb/usbmidi.c int count; count 624 sound/usb/usbmidi.c count = snd_rawmidi_transmit(ep->ports[0].substream, count 627 sound/usb/usbmidi.c if (count < 1) { count 632 sound/usb/usbmidi.c transfer_buffer[1] = count; count 633 sound/usb/usbmidi.c ep->urb->transfer_buffer_length = 2 + count; count 653 sound/usb/usbmidi.c int count; count 657 sound/usb/usbmidi.c count = snd_rawmidi_transmit(ep->ports[0].substream, count 660 sound/usb/usbmidi.c if (count < 1) { count 664 sound/usb/usbmidi.c ep->urb->transfer_buffer_length = count; count 686 sound/usb/usbmidi.c int count; count 690 sound/usb/usbmidi.c count = ep->urb->dev->speed == USB_SPEED_HIGH ? 1 : 2; count 691 sound/usb/usbmidi.c count = snd_rawmidi_transmit(ep->ports[0].substream, count 693 sound/usb/usbmidi.c count); count 694 sound/usb/usbmidi.c if (count < 1) { count 699 sound/usb/usbmidi.c memset(ep->urb->transfer_buffer + count, 0xFD, 9 - count); count 700 sound/usb/usbmidi.c ep->urb->transfer_buffer_length = count; count 238 sound/usb/usbmixer.c if (p->id == unitid && index < p->count) count 757 sound/usb/usbmixer.c uinfo->count = cval->channels; count 1395 sound/usb/usbmixer.c uinfo->count = 1; count 1826 sound/usb/usbmixer.c if (count != 1 && count != 4) count 1831 sound/usb/usbmixer.c if (count == 1) count 1836 sound/usb/usbmixer.c return err < 0 ? err : count; count 31 sound/usb/usbmixer_maps.c int count; count 174 sound/usb/usbmixer_maps.c .count = 3, count 179 sound/usb/usbmixer_maps.c .count = 3, count 184 sound/usb/usbmixer_maps.c .count = 2, count 129 sound/usb/usx2y/usbusx2yaudio.c int count, counts, pack; count 133 sound/usb/usx2y/usbusx2yaudio.c count = 0; count 137 sound/usb/usx2y/usbusx2yaudio.c count += counts; count 150 sound/usb/usx2y/usbusx2yaudio.c if (subs->hwptr + count > runtime->buffer_size) { count 160 sound/usb/usx2y/usbusx2yaudio.c runtime->dma_area, (count - len) * usX2Y->stride); count 161 sound/usb/usx2y/usbusx2yaudio.c subs->hwptr += count; count 166 sound/usb/usx2y/usbusx2yaudio.c if ((subs->hwptr += count) >= runtime->buffer_size) count 171 sound/usb/usx2y/usbusx2yaudio.c urb->transfer_buffer_length = count * usX2Y->stride; count 112 sound/usb/usx2y/usx2yhwdeppcm.c int count, counts, pack; count 125 sound/usb/usx2y/usx2yhwdeppcm.c count = 0; count 141 sound/usb/usx2y/usx2yhwdeppcm.c count += counts; count 143 sound/usb/usx2y/usx2yhwdeppcm.c urb->transfer_buffer_length = count * usX2Y->stride;