count 392 altq/altq_red.c drop_early(int fp_len, int fp_probd, int count) count 396 altq/altq_red.c d = fp_probd - count * fp_len; count 352 altq/altq_rio.c prec->count++; count 366 altq/altq_rio.c prec->count = 1; count 369 altq/altq_rio.c prec->probd, prec->count)) { count 387 altq/altq_rio.c rp->rio_precstate[i].count = 0; count 89 altq/altq_rio.h int count; /* packet count since the last dropped/ count 65 altq/altq_rmclass_debug.h int count; count 90 altq/altq_rmclass_debug.h int *_p = &cbqtrace_ptr->count; \ count 259 arch/i386/i386/bios.c smbios_entry.count = sh->count; count 265 arch/i386/i386/bios.c sh->majrev, sh->minrev, sh->addr, sh->count); count 481 arch/i386/i386/bios.c u_int32_t base, count, off, ent; count 489 arch/i386/i386/bios.c : "+a" (service), "+b" (base), "=c" (count), "=d" (off) count 530 arch/i386/i386/bios.c ei->bei_size = count; count 717 arch/i386/i386/bios.c smbios_entry.count; tcount++) { count 179 arch/i386/i386/db_interface.c db_sysregs_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 227 arch/i386/i386/db_interface.c db_cpuinfo_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 261 arch/i386/i386/db_interface.c db_startproc_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 282 arch/i386/i386/db_interface.c db_stopproc_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 303 arch/i386/i386/db_interface.c db_ddbproc_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 179 arch/i386/i386/db_trace.c db_stack_trace_print(db_expr_t addr, boolean_t have_addr, db_expr_t count, count 209 arch/i386/i386/db_trace.c if (count == -1) count 210 arch/i386/i386/db_trace.c count = 65535; count 233 arch/i386/i386/db_trace.c while (count && frame != 0) { count 339 arch/i386/i386/db_trace.c --count; count 342 arch/i386/i386/db_trace.c if (count && is_trap != NONE) { count 981 arch/i386/i386/esm.c unsigned int count = wait ? 0 : 0xfffff; count 986 arch/i386/i386/esm.c } while (count++ < 0xfffff); count 169 arch/i386/i386/ipifuncs.c int count = 0; count 177 arch/i386/i386/ipifuncs.c count++; count 179 arch/i386/i386/ipifuncs.c if (!count) count 144 arch/i386/i386/mpbios.c u_int16_t count; count 410 arch/i386/i386/mpbios.c mpbios_search(struct device *self, paddr_t start, int count, struct mp_map *map) count 416 arch/i386/i386/mpbios.c int end = count - sizeof(*m); count 417 arch/i386/i386/mpbios.c const u_int8_t *base = mpbios_map(start, count, &t); count 421 arch/i386/i386/mpbios.c self->dv_xname, start, start + count - sizeof(*m)); count 501 arch/i386/i386/mpbios.c int count; count 569 arch/i386/i386/mpbios.c for (count = mp_cth->entry_count, count 572 arch/i386/i386/mpbios.c count-- && position < end; count 583 arch/i386/i386/mpbios.c mp_conf[type].count++; count 589 arch/i386/i386/mpbios.c for (count = mp_cth->entry_count, count 592 arch/i386/i386/mpbios.c count-- && position < end; count 615 arch/i386/i386/mpbios.c mp_conf[MPS_MCT_IOAPIC].count; count 617 arch/i386/i386/mpbios.c intr_cnt += mp_conf[MPS_MCT_CPU].count; count 629 arch/i386/i386/mpbios.c count = mp_cth->entry_count; count 632 arch/i386/i386/mpbios.c while ((count--) && (position < end)) { count 98 arch/i386/i386/nvram.c int count = min(sizeof(buf), uio->uio_resid); count 108 arch/i386/i386/nvram.c printf("attempting to read %d bytes at offset %d\n", count, pos); count 111 arch/i386/i386/nvram.c for (tmp = buf; count-- > 0 && pos < NVRAM_SIZE; ++pos, ++tmp) count 50 arch/i386/include/smbiosvar.h u_int16_t count; count 66 arch/i386/include/smbiosvar.h u_int16_t count; /* Number of SMBIOS structures */ count 392 arch/i386/isa/clock.c unsigned long long count, last_count; count 396 arch/i386/isa/clock.c __asm __volatile("rdtsc" : "=A" (count)); count 397 arch/i386/isa/clock.c cpuspeed = ((count - last_count) + 999999) / 1000000; count 725 arch/i386/isa/clock.c u_int count; count 735 arch/i386/isa/clock.c count = rtclock_tval - ((hi << 8) | lo); count 737 arch/i386/isa/clock.c if (count < i8254_lastcount) { count 741 arch/i386/isa/clock.c i8254_lastcount = count; count 742 arch/i386/isa/clock.c count += i8254_offset; count 745 arch/i386/isa/clock.c return (count); count 373 arch/i386/isa/isa_machdep.c int i, bestirq, count; count 381 arch/i386/isa/isa_machdep.c count = -1; count 420 arch/i386/isa/isa_machdep.c if ((bestirq == -1) || (count > tmp)) { count 422 arch/i386/isa/isa_machdep.c count = tmp; count 1144 arch/i386/isa/pccom.c int s, count; count 1160 arch/i386/isa/pccom.c count = ndqb(&tp->t_outq, 0); count 1162 arch/i386/isa/pccom.c if (count > 0) { count 1171 arch/i386/isa/pccom.c if (n > count) count 1172 arch/i386/isa/pccom.c n = count; count 1176 arch/i386/isa/pccom.c --count; count 1178 arch/i386/isa/pccom.c sc->sc_tbc = count; count 355 arch/i386/pci/pci_intr_fixup.c int i, bit, count = 0, irq = I386_PCI_INTERRUPT_LINE_NO_CONNECTION; count 361 arch/i386/pci/pci_intr_fixup.c count++; count 365 arch/i386/pci/pci_intr_fixup.c return (count); count 39 arch/i386/stand/libsa/libsa.h int count; count 57 arch/i386/stand/libsa/machdep.c for (j = 0; j < pr->count; j++) { count 175 compat/common/vfs_syscalls_25.c long count, maxcount; count 180 compat/common/vfs_syscalls_25.c count = 0; count 188 compat/common/vfs_syscalls_25.c if (sfsp && count < maxcount) { count 210 compat/common/vfs_syscalls_25.c count++; count 215 compat/common/vfs_syscalls_25.c if (sfsp && count > maxcount) count 218 compat/common/vfs_syscalls_25.c *retval = count; count 349 compat/common/vfs_syscalls_43.c if (SCARG(uap, count) < 0) count 363 compat/common/vfs_syscalls_43.c aiov.iov_len = SCARG(uap, count); count 369 compat/common/vfs_syscalls_43.c auio.uio_resid = SCARG(uap, count); count 381 compat/common/vfs_syscalls_43.c u_int nbytes = SCARG(uap, count); count 434 compat/common/vfs_syscalls_43.c *retval = SCARG(uap, count) - auio.uio_resid; count 654 compat/freebsd/freebsd_file.c long count, maxcount; count 659 compat/freebsd/freebsd_file.c count = 0; count 667 compat/freebsd/freebsd_file.c if (sfsp && count < maxcount) { count 690 compat/freebsd/freebsd_file.c count++; count 695 compat/freebsd/freebsd_file.c if (sfsp && count > maxcount) count 698 compat/freebsd/freebsd_file.c *retval = count; count 152 compat/freebsd/freebsd_misc.c args.resid = SCARG(uap, count); count 162 compat/freebsd/freebsd_misc.c *retval = SCARG(uap, count) - args.resid; count 130 compat/freebsd/freebsd_syscallargs.h syscallarg(int) count; count 244 compat/freebsd/freebsd_syscallargs.h syscallarg(unsigned) count; count 169 compat/hpux/hppa/hpux_syscallargs.h syscallarg(int) count; count 184 compat/hpux/m68k/hpux_syscallargs.h syscallarg(int) count; count 287 compat/ibcs2/ibcs2_syscallargs.h syscallarg(int) count; count 935 compat/linux/linux_misc.c SCARG(uap, count) = 1; count 1054 compat/linux/linux_misc.c int nbytes = SCARG(uap, count); count 220 compat/linux/linux_syscallargs.h syscallarg(int) count; count 230 compat/linux/linux_syscallargs.h syscallarg(unsigned int) count; count 355 compat/linux/linux_syscallargs.h syscallarg(unsigned) count; count 536 compat/linux/linux_syscallargs.h syscallarg(unsigned) count; count 147 compat/osf1/osf1_mount.c long count, maxcount, error; count 154 compat/osf1/osf1_mount.c count = 0; count 158 compat/osf1/osf1_mount.c if (osf_sfsp && count < maxcount) { count 176 compat/osf1/osf1_mount.c count++; count 178 compat/osf1/osf1_mount.c if (osf_sfsp && count > maxcount) count 181 compat/osf1/osf1_mount.c *retval = count; count 207 compat/ultrix/ultrix_fs.c long count, maxcount; count 245 compat/ultrix/ultrix_fs.c for (count = 0, mp = CIRCLEQ_FIRST(&mountlist); count 246 compat/ultrix/ultrix_fs.c mp != CIRCLEQ_END(&mountlist) && count < maxcount; mp = nmp) { count 270 compat/ultrix/ultrix_fs.c count++; count 275 compat/ultrix/ultrix_fs.c if (sfsp != NULL && count > maxcount) count 278 compat/ultrix/ultrix_fs.c *retval = count; count 45 crypto/criov.c unsigned count; count 63 crypto/criov.c count = min(iov->iov_len - off, len); count 64 crypto/criov.c bcopy(((caddr_t)iov->iov_base) + off, cp, count); count 65 crypto/criov.c len -= count; count 66 crypto/criov.c cp += count; count 78 crypto/criov.c unsigned count; count 97 crypto/criov.c count = min(iov->iov_len - off, len); count 98 crypto/criov.c bcopy(cp, ((caddr_t)iov->iov_base) + off, count); count 99 crypto/criov.c len -= count; count 100 crypto/criov.c cp += count; count 137 crypto/criov.c unsigned int count; count 159 crypto/criov.c count = min(uio->uio_iov[ind].iov_len - off, len); count 162 crypto/criov.c count); count 166 crypto/criov.c len -= count; count 85 crypto/cryptosoft.c int i, k, j, blks, ind, count, ivlen; count 257 crypto/cryptosoft.c count = crd->crd_skip; count 258 crypto/cryptosoft.c ind = cuio_getptr(uio, count, &k); count 314 crypto/cryptosoft.c count += blks; count 317 crypto/cryptosoft.c ind = cuio_getptr(uio, count, &k); count 369 crypto/cryptosoft.c count += blks; count 57 crypto/deflate.c u_int32_t count, result; count 128 crypto/deflate.c result = count = zbuf.total_out; count 139 crypto/deflate.c if (count > buf[j].size) { count 143 crypto/deflate.c count -= buf[j].size; count 146 crypto/deflate.c bcopy(buf[j].out, *out, count); count 147 crypto/deflate.c *out += count; count 149 crypto/deflate.c count = 0; count 53 crypto/md5.c ctx->count = 0; count 70 crypto/md5.c have = (size_t)((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1)); count 74 crypto/md5.c ctx->count += (u_int64_t)len << 3; count 105 crypto/md5.c u_int8_t count[8]; count 110 crypto/md5.c PUT_64BIT_LE(count, ctx->count); count 114 crypto/md5.c ((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1)); count 118 crypto/md5.c MD5Update(ctx, count, 8); count 23 crypto/md5.h u_int64_t count; /* number of bits, mod 2^64 */ count 95 crypto/rmd160.c ctx->count = 0; count 108 crypto/rmd160.c have = (ctx->count/8) % 64; count 110 crypto/rmd160.c ctx->count += 8 * len; count 137 crypto/rmd160.c PUT_64BIT_LE(size, ctx->count); count 143 crypto/rmd160.c padlen = 64 - ((ctx->count/8) % 64); count 31 crypto/rmd160.h u_int64_t count; /* number of bits, modulo 2^64 */ count 112 crypto/sha1.c context->count = 0; count 129 crypto/sha1.c j = (u_int32_t)((context->count >> 3) & 63); count 130 crypto/sha1.c context->count += (len << 3); count 153 crypto/sha1.c finalcount[i] = (unsigned char)((context->count >> count 157 crypto/sha1.c while ((context->count & 504) != 448) { count 172 crypto/sha1.c bzero(context->count, 8); count 17 crypto/sha1.h u_int64_t count; count 82 ddb/db_break.c db_set_breakpoint(struct vm_map *map, db_addr_t addr, int count) count 107 ddb/db_break.c bkpt->init_count = count; count 108 ddb/db_break.c bkpt->count = count; count 225 ddb/db_break.c bkpt->count = 1; count 268 ddb/db_break.c db_delete_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 276 ddb/db_break.c db_breakpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 278 ddb/db_break.c if (count == -1) count 279 ddb/db_break.c count = 1; count 281 ddb/db_break.c db_set_breakpoint(db_map_addr(addr), (db_addr_t)addr, count); count 287 ddb/db_break.c db_listbreak_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 45 ddb/db_break.h int count; /* current count */ count 157 ddb/db_command.c db_expr_t addr, count; count 167 ddb/db_command.c count = 1; count 240 ddb/db_command.c if (!db_expression(&count)) { count 248 ddb/db_command.c count = -1; count 260 ddb/db_command.c (*cmd->fcn)(addr, have_addr, count, modif); count 286 ddb/db_command.c db_buf_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 298 ddb/db_command.c db_map_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 310 ddb/db_command.c db_malloc_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 326 ddb/db_command.c db_mount_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 338 ddb/db_command.c db_object_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 350 ddb/db_command.c db_page_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 362 ddb/db_command.c db_vnode_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 374 ddb/db_command.c db_show_panic_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 384 ddb/db_command.c db_extent_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 391 ddb/db_command.c db_pool_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 398 ddb/db_command.c db_proc_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 408 ddb/db_command.c db_uvmexp_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 505 ddb/db_command.c db_help_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 564 ddb/db_command.c db_fncall(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 618 ddb/db_command.c db_boot_sync_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 624 ddb/db_command.c db_boot_crash_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 630 ddb/db_command.c db_boot_dump_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 636 ddb/db_command.c db_boot_halt_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 642 ddb/db_command.c db_boot_reboot_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 648 ddb/db_command.c db_boot_poweroff_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 654 ddb/db_command.c db_dmesg_cmd(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 675 ddb/db_command.c db_stack_trace_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, count 678 ddb/db_command.c db_stack_trace_print(addr, have_addr, count, modif, db_printf); count 60 ddb/db_examine.c db_examine_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 65 ddb/db_examine.c if (count == -1) count 66 ddb/db_examine.c count = 1; count 68 ddb/db_examine.c db_examine((db_addr_t)addr, db_examine_format, count); count 72 ddb/db_examine.c db_examine(db_addr_t addr, char *fmt, int count) count 80 ddb/db_examine.c while (--count >= 0) { count 186 ddb/db_examine.c db_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 274 ddb/db_examine.c db_expr_t count; count 317 ddb/db_examine.c if (!db_expression(&count)) { count 324 ddb/db_examine.c count = -1; /* forever */ count 328 ddb/db_examine.c db_search(addr, size, value, mask, count); count 333 ddb/db_examine.c db_expr_t count) count 336 ddb/db_examine.c while (count < 0 || count-- != 0) { count 180 ddb/db_hangman.c db_hangman(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 76 ddb/db_input.c db_putstring(char *s, int count) count 78 ddb/db_input.c while (--count >= 0) count 83 ddb/db_input.c db_putnchars(int c, int count) count 85 ddb/db_input.c while (--count >= 0) count 51 ddb/db_print.c db_show_regs(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 103 ddb/db_run.c if (--bkpt->count == 0) { count 105 ddb/db_run.c bkpt->count = bkpt->init_count; count 242 ddb/db_run.c db_single_step_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 246 ddb/db_run.c if (count == -1) count 247 ddb/db_run.c count = 1; count 253 ddb/db_run.c db_loop_count = count; count 265 ddb/db_run.c db_trace_until_call_cmd(db_expr_t addr, int have_addr, db_expr_t count, count 284 ddb/db_run.c db_trace_until_matching_cmd(db_expr_t addr, int have_addr, db_expr_t count, count 305 ddb/db_run.c db_continue_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 131 ddb/db_variables.c db_set_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 169 ddb/db_watch.c db_deletewatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 177 ddb/db_watch.c db_watchpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 194 ddb/db_watch.c db_listwatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 52 ddb/db_write_cmd.c db_write_cmd(db_expr_t address, boolean_t have_addr, db_expr_t count, count 294 dev/acpi/acpidebug.c db_acpi_showval(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 309 dev/acpi/acpidebug.c db_acpi_disasm(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 325 dev/acpi/acpidebug.c db_acpi_tree(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 331 dev/acpi/acpidebug.c db_acpi_trace(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 401 dev/acpi/acpidebug.c int count, int depth) count 414 dev/acpi/acpidebug.c while (scope->pos < scope->end && count--) { count 707 dev/acpi/dsdt.c int count; count 715 dev/acpi/dsdt.c count = 0; count 718 dev/acpi/dsdt.c count = name[1]; count 722 dev/acpi/dsdt.c count = 2; count 726 dev/acpi/dsdt.c count = 1; count 728 dev/acpi/dsdt.c while (count--) { count 745 dev/acpi/dsdt.c int count; count 759 dev/acpi/dsdt.c count = name[1]; count 763 dev/acpi/dsdt.c count = 2; count 767 dev/acpi/dsdt.c count = 1; count 771 dev/acpi/dsdt.c while (count-- && root) { count 800 dev/acpi/dsdt.c int count; count 817 dev/acpi/dsdt.c count = name[1]; count 821 dev/acpi/dsdt.c count = 2; count 839 dev/acpi/dsdt.c while (count-- && (root = __aml_search(root, name)) != NULL) { count 261 dev/bluetooth/btkbd.c if (h.loc.count > MAXKEYCODE) count 271 dev/bluetooth/btkbd.c sc->sc_nkeycode = h.loc.count; count 914 dev/ccd.c long count = bp->b_bcount; count 954 dev/ccd.c count = vbp->b_bcount; count 966 dev/ccd.c if (count > bp->b_resid) count 968 dev/ccd.c bp->b_resid -= count; count 368 dev/eisa/aha1742.c ahb_poll(sc, xs, count) count 371 dev/eisa/aha1742.c int count; count 376 dev/eisa/aha1742.c while (count) { count 386 dev/eisa/aha1742.c count--; count 254 dev/eisa/uha_eisa.c u24_poll(sc, xs, count) count 257 dev/eisa/uha_eisa.c int count; count 262 dev/eisa/uha_eisa.c while (count) { count 272 dev/eisa/uha_eisa.c count--; count 54 dev/hotplug.c hotplugattach(int count) count 553 dev/i2o/i2o.h u_int32_t count; count 578 dev/i2o/i2o.h u_int16_t count; count 590 dev/i2o/i2o.h u_int16_t count; count 1229 dev/i2o/iop.c pgop->olh.count = htole16(1); count 322 dev/ic/aac.c int count = 0, i = 0; count 347 dev/ic/aac.c count = mir->MntRespCount; count 390 dev/ic/aac.c } while ((i < count) && (i < AAC_MAX_CONTAINERS)); count 227 dev/ic/adv.c adv_create_ccbs(sc, ccbstore, count) count 230 dev/ic/adv.c int count; count 235 dev/ic/adv.c bzero(ccbstore, sizeof(ADV_CCB) * count); count 236 dev/ic/adv.c for (i = 0; i < count; i++) { count 881 dev/ic/adv.c adv_poll(sc, xs, count) count 884 dev/ic/adv.c int count; count 888 dev/ic/adv.c while (count) { count 893 dev/ic/adv.c count--; count 945 dev/ic/advlib.c int count = 0; count 962 dev/ic/advlib.c } while (count++ < 20); count 1110 dev/ic/advlib.c AscMemWordSetLram(iot, ioh, s_addr, s_words, count) count 1115 dev/ic/advlib.c int count; count 1120 dev/ic/advlib.c for (i = 0; i < count; i++) count 2927 dev/ic/advlib.c int count = 0; count 2937 dev/ic/advlib.c } while (count++ < 20); count 2959 dev/ic/advlib.c int count = 0; count 2971 dev/ic/advlib.c } while (count++ < 20); count 2984 dev/ic/advlib.c int count = 0; count 2992 dev/ic/advlib.c if (count++ > 30) count 3006 dev/ic/advlib.c int count; count 3009 dev/ic/advlib.c count = 0; count 3018 dev/ic/advlib.c } while (count++ < 20); count 277 dev/ic/adw.c adw_create_ccbs(sc, ccbstore, count) count 280 dev/ic/adw.c int count; count 285 dev/ic/adw.c for (i = 0; i < count; i++) { count 967 dev/ic/adw.c adw_poll(sc, xs, count) count 970 dev/ic/adw.c int count; count 974 dev/ic/adw.c while (count > 0) { count 984 dev/ic/adw.c count--; count 580 dev/ic/aic6360.c aic_poll(struct aic_softc *sc, struct scsi_xfer *xs, int count) count 586 dev/ic/aic6360.c while (count) { count 596 dev/ic/aic6360.c count--; count 8732 dev/ic/aic79xx.c int i, count; count 8735 dev/ic/aic79xx.c for (i = 0, count = 0; i < 31; i++) { count 8740 dev/ic/aic79xx.c count++; count 8742 dev/ic/aic79xx.c if ((count & 0x01) == 0) count 9196 dev/ic/aic79xx.c u_int start_addr, u_int count, int bytestream) count 9208 dev/ic/aic79xx.c end_addr = start_addr + count; count 9243 dev/ic/aic79xx.c u_int start_addr, u_int count) count 9265 dev/ic/aic79xx.c end_addr = start_addr + count; count 1005 dev/ic/aic79xx.h u_int start_addr, u_int count, int bstream); count 1008 dev/ic/aic79xx.h u_int start_addr, u_int count); count 184 dev/ic/aic79xx_openbsd.h #define ahd_outsb(ahd, port, valp, count) \ count 187 dev/ic/aic79xx_openbsd.h (port & 0xFF), valp, count) count 189 dev/ic/aic79xx_openbsd.h #define ahd_insb(ahd, port, valp, count) \ count 192 dev/ic/aic79xx_openbsd.h (port & 0xFF), valp, count) count 5494 dev/ic/aic7xxx.c u_int count; count 5497 dev/ic/aic7xxx.c count = 0; count 5529 dev/ic/aic7xxx.c count++; count 5546 dev/ic/aic7xxx.c return (count); count 6398 dev/ic/aic7xxx.c int i, count; count 6401 dev/ic/aic7xxx.c for (i = 0, count = 0; i < 31; i++) { count 6406 dev/ic/aic7xxx.c count++; count 6408 dev/ic/aic7xxx.c if ((count & 0x01) == 0) count 185 dev/ic/aic7xxx_openbsd.h #define ahc_outsb(ahc, port, valp, count) \ count 186 dev/ic/aic7xxx_openbsd.h bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) count 188 dev/ic/aic7xxx_openbsd.h #define ahc_insb(ahc, port, valp, count) \ count 189 dev/ic/aic7xxx_openbsd.h bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count) count 60 dev/ic/anvar.h #define CSR_WRITE_MULTI_STREAM_2(sc, reg, val, count) \ count 61 dev/ic/anvar.h bus_space_write_multi_stream_2(sc->sc_iot, sc->sc_ioh, reg, val, count) count 62 dev/ic/anvar.h #define CSR_READ_MULTI_STREAM_2(sc, reg, buf, count) \ count 63 dev/ic/anvar.h bus_space_read_multi_stream_2(sc->sc_iot, sc->sc_ioh, reg, buf, count) count 586 dev/ic/bha.c bha_create_ccbs(sc, ccbstore, count) count 589 dev/ic/bha.c int count; count 594 dev/ic/bha.c bzero(ccbstore, sizeof(struct bha_ccb) * count); count 595 dev/ic/bha.c for (i = 0; i < count; i++) { count 1545 dev/ic/bha.c bha_poll(sc, xs, count) count 1548 dev/ic/bha.c int count; count 1554 dev/ic/bha.c while (count) { count 1565 dev/ic/bha.c count--; count 368 dev/ic/bt463.c u_int count, index; count 372 dev/ic/bt463.c count = cmapp->count; count 374 dev/ic/bt463.c if (index >= BT463_NCMAP_ENTRIES || count > BT463_NCMAP_ENTRIES - index) count 379 dev/ic/bt463.c if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) { count 383 dev/ic/bt463.c if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) { count 387 dev/ic/bt463.c if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) { count 406 dev/ic/bt463.c u_int count, index; count 409 dev/ic/bt463.c count = cmapp->count; count 412 dev/ic/bt463.c if (index >= BT463_NCMAP_ENTRIES || count > BT463_NCMAP_ENTRIES - index) count 415 dev/ic/bt463.c error = copyout(&data->cmap_r[index], cmapp->red, count); count 418 dev/ic/bt463.c error = copyout(&data->cmap_g[index], cmapp->green, count); count 421 dev/ic/bt463.c error = copyout(&data->cmap_b[index], cmapp->blue, count); count 430 dev/ic/bt463.c u_int index, count; count 435 dev/ic/bt463.c count = cursorp->cmap.count; count 437 dev/ic/bt463.c if (index >= 2 || count > 2 - index) count 440 dev/ic/bt463.c if ((error = copyin(&cursorp->cmap.red, &spare, count)) != 0) count 442 dev/ic/bt463.c if ((error = copyin(&cursorp->cmap.green, &spare, count)) != 0) count 444 dev/ic/bt463.c if ((error = copyin(&cursorp->cmap.blue, &spare, count)) != 0) count 456 dev/ic/bt463.c int count, index; count 459 dev/ic/bt463.c count = cursorp->cmap.count; count 461 dev/ic/bt463.c copyin(cursorp->cmap.red, &data->curcmap_r[index], count); count 462 dev/ic/bt463.c copyin(cursorp->cmap.green, &data->curcmap_g[index], count); count 463 dev/ic/bt463.c copyin(cursorp->cmap.blue, &data->curcmap_b[index], count); count 477 dev/ic/bt463.c cursorp->cmap.count = 2; count 269 dev/ic/bt485.c u_int count, index; count 279 dev/ic/bt485.c count = cmapp->count; count 281 dev/ic/bt485.c if (index >= 256 || count > 256 - index) count 286 dev/ic/bt485.c if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) { count 290 dev/ic/bt485.c if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) { count 294 dev/ic/bt485.c if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) { count 316 dev/ic/bt485.c u_int count, index; count 319 dev/ic/bt485.c if (cmapp->index >= 256 || cmapp->count > 256 - cmapp->index) count 322 dev/ic/bt485.c count = cmapp->count; count 325 dev/ic/bt485.c error = copyout(&data->cmap_r[index], cmapp->red, count); count 328 dev/ic/bt485.c error = copyout(&data->cmap_g[index], cmapp->green, count); count 331 dev/ic/bt485.c error = copyout(&data->cmap_b[index], cmapp->blue, count); count 341 dev/ic/bt485.c u_int count, index; count 353 dev/ic/bt485.c count = cursorp->cmap.count; count 354 dev/ic/bt485.c if (index >= 2 || count > 2 - index) count 380 dev/ic/bt485.c count = cursorp->cmap.count; count 382 dev/ic/bt485.c &data->curcmap_r[index], count)) != 0) { count 387 dev/ic/bt485.c &data->curcmap_g[index], count)) != 0) { count 392 dev/ic/bt485.c &data->curcmap_b[index], count)) != 0) { count 400 dev/ic/bt485.c count = (CURSOR_MAX_SIZE / NBBY) * data->cursize.y; count 404 dev/ic/bt485.c count)) != 0) { count 409 dev/ic/bt485.c count)) != 0) { count 429 dev/ic/bt485.c int error, count; count 439 dev/ic/bt485.c cursorp->cmap.count = 2; count 458 dev/ic/bt485.c count = (CURSOR_MAX_SIZE / NBBY) * data->cursize.y; count 459 dev/ic/bt485.c error = copyout(data->curimage, cursorp->image, count); count 462 dev/ic/bt485.c error = copyout(data->curmask, cursorp->mask, count); count 535 dev/ic/bt485.c int count, i, v; count 566 dev/ic/bt485.c count = (CURSOR_MAX_SIZE / NBBY) * data->cursize.y; count 578 dev/ic/bt485.c for (i = 0; i < count; i++) count 592 dev/ic/bt485.c for (i = 0; i < count; i++) count 283 dev/ic/bt8xx.h short count; count 382 dev/ic/cissreg.h u_int16_t count; count 1261 dev/ic/cy.c u_char save_car, save_tir, serv_type, count, ch; count 1285 dev/ic/cy.c count = 0; count 1289 dev/ic/cy.c count += 2; count 1296 dev/ic/cy.c count < CD1400_TX_FIFO_SIZE) { count 1302 dev/ic/cy.c if (count >= count 1310 dev/ic/cy.c count++; count 1314 dev/ic/cy.c count++; count 536 dev/ic/dp8390.c len = packet_hdr.count; count 556 dev/ic/dp8390.c if (len != packet_hdr.count) { count 561 dev/ic/dp8390.c sc->sc_dev.dv_xname, packet_hdr.count, len, count 1121 dev/ic/dp8390.c hdrp->count = bus_space_read_1(buft, bufh, src + 2) | count 542 dev/ic/dp8390reg.h u_int16_t count; /* bytes in packet (length + 4) */ count 718 dev/ic/dpt.c dpt_create_ccbs(sc, ccbstore, count) count 721 dev/ic/dpt.c int count; count 726 dev/ic/dpt.c memset(ccbstore, 0, sizeof(struct dpt_ccb) * count); count 728 dev/ic/dpt.c for (i = 0, ccb = ccbstore; i < count; i++, ccb++) { count 1566 dev/ic/fxp.c int count = 10000; count 1573 dev/ic/fxp.c && count--) count 1576 dev/ic/fxp.c if (count <= 0) count 1592 dev/ic/fxp.c int count = 10000; count 1599 dev/ic/fxp.c count--) count 1602 dev/ic/fxp.c if (count <= 0) count 202 dev/ic/i82365.c int vendor, count, i, reg; count 211 dev/ic/i82365.c count = 0; count 224 dev/ic/i82365.c count++; count 241 dev/ic/i82365.c count++; count 266 dev/ic/i82365.c count++; count 284 dev/ic/i82365.c count++; count 296 dev/ic/i82365.c if (count == 0) count 833 dev/ic/i82596.c int rbindex, count = 0; count 862 dev/ic/i82596.c ++count; count 866 dev/ic/i82596.c return (count); count 278 dev/ic/ibm561.c u_int count, index; count 283 dev/ic/ibm561.c count = cmapp->count; count 286 dev/ic/ibm561.c count > IBM561_NCMAP_ENTRIES - index) count 290 dev/ic/ibm561.c if ((error = copyin(cmapp->red, &data->cmap_r[index], count)) != 0) { count 294 dev/ic/ibm561.c if ((error = copyin(cmapp->green, &data->cmap_g[index], count)) != 0) { count 298 dev/ic/ibm561.c if ((error = copyin(cmapp->blue, &data->cmap_b[index], count)) != 0) { count 314 dev/ic/ibm561.c u_int count, index; count 318 dev/ic/ibm561.c cmapp->count > IBM561_NCMAP_ENTRIES - cmapp->index) count 320 dev/ic/ibm561.c count = cmapp->count; count 322 dev/ic/ibm561.c error = copyout(&data->cmap_r[index], cmapp->red, count); count 325 dev/ic/ibm561.c error = copyout(&data->cmap_g[index], cmapp->green, count); count 328 dev/ic/ibm561.c error = copyout(&data->cmap_b[index], cmapp->blue, count); count 1530 dev/ic/isp.c int count, check_for_fabric; count 1546 dev/ic/isp.c count = 0; count 1547 dev/ic/isp.c while (count < usdelay) { count 1573 dev/ic/isp.c count, (long) GET_NANOSEC(&hra), (long) GET_NANOSEC(&hrb), count 1586 dev/ic/isp.c count += 1000; count 1597 dev/ic/isp.c count += 4000000; count 1601 dev/ic/isp.c count += (wrk / 1000); count 1737 dev/ic/isp.c count = fcp->isp_iid; count 1738 dev/ic/isp.c (void) isp_async(isp, ISPASYNC_PROMENADE, &count); count 1760 dev/ic/isp.c count = fcp->isp_iid; count 1761 dev/ic/isp.c (void) isp_async(isp, ISPASYNC_PROMENADE, &count); count 713 dev/ic/ispmbox.h count : 7; count 162 dev/ic/lsi64854.c int count = 500000; \ count 163 dev/ic/lsi64854.c while ((COND) && --count > 0) DELAY(1); \ count 164 dev/ic/lsi64854.c if (count == 0) { \ count 253 dev/ic/malo.c int count); count 257 dev/ic/malo.c int count); count 553 dev/ic/malo.c malo_alloc_rx_ring(struct malo_softc *sc, struct malo_rx_ring *ring, int count) count 559 dev/ic/malo.c ring->count = count; count 563 dev/ic/malo.c count * sizeof(struct malo_rx_desc), 1, count 564 dev/ic/malo.c count * sizeof(struct malo_rx_desc), 0, count 573 dev/ic/malo.c count * sizeof(struct malo_rx_desc), count 582 dev/ic/malo.c count * sizeof(struct malo_rx_desc), (caddr_t *)&ring->desc, count 591 dev/ic/malo.c count * sizeof(struct malo_rx_desc), NULL, BUS_DMA_NOWAIT); count 598 dev/ic/malo.c bzero(ring->desc, count * sizeof(struct malo_rx_desc)); count 601 dev/ic/malo.c ring->data = malloc(count * sizeof (struct malo_rx_data), M_DEVBUF, count 613 dev/ic/malo.c bzero(ring->data, count * sizeof (struct malo_rx_data)); count 614 dev/ic/malo.c for (i = 0; i < count; i++) { count 653 dev/ic/malo.c (i + 1) % count * sizeof(struct malo_rx_desc)); count 670 dev/ic/malo.c for (i = 0; i < ring->count; i++) count 690 dev/ic/malo.c ring->count * sizeof(struct malo_rx_desc)); count 695 dev/ic/malo.c for (i = 0; i < ring->count; i++) { count 715 dev/ic/malo.c int count) count 719 dev/ic/malo.c ring->count = count; count 724 dev/ic/malo.c count * sizeof(struct malo_tx_desc), 1, count 725 dev/ic/malo.c count * sizeof(struct malo_tx_desc), 0, BUS_DMA_NOWAIT, &ring->map); count 733 dev/ic/malo.c count * sizeof(struct malo_tx_desc), count 742 dev/ic/malo.c count * sizeof(struct malo_tx_desc), (caddr_t *)&ring->desc, count 751 dev/ic/malo.c count * sizeof(struct malo_tx_desc), NULL, BUS_DMA_NOWAIT); count 758 dev/ic/malo.c memset(ring->desc, 0, count * sizeof(struct malo_tx_desc)); count 761 dev/ic/malo.c ring->data = malloc(count * sizeof(struct malo_tx_data), M_DEVBUF, count 770 dev/ic/malo.c memset(ring->data, 0, count * sizeof(struct malo_tx_data)); count 771 dev/ic/malo.c for (i = 0; i < count; i++) { count 781 dev/ic/malo.c (i + 1) % count * sizeof(struct malo_tx_desc)); count 797 dev/ic/malo.c for (i = 0; i < ring->count; i++) { count 836 dev/ic/malo.c ring->count * sizeof(struct malo_tx_desc)); count 841 dev/ic/malo.c for (i = 0; i < ring->count; i++) { count 1408 dev/ic/malo.c if (++sc->sc_txring.stat >= sc->sc_txring.count) count 1869 dev/ic/malo.c size_t size, count, bsize; count 1884 dev/ic/malo.c for (count = 0; count < size; count += bsize) { count 1885 dev/ic/malo.c bsize = MIN(256, size - count); count 1892 dev/ic/malo.c bcopy(ucode + count, data, bsize); count 29 dev/ic/malo.h int count; count 43 dev/ic/malo.h int count; count 431 dev/ic/mfireg.h uint64_t count; count 946 dev/ic/midway.c int lcv, retval = 4, cnt, count; count 993 dev/ic/midway.c count = (sc->bestburstlen - sizeof(u_int32_t)) / sizeof(u_int32_t); count 994 dev/ic/midway.c bcode = en_dmaplan[count].bcode; count 995 dev/ic/midway.c count = wmtry >> en_dmaplan[count].divshift; count 998 dev/ic/midway.c count = 1; count 1003 dev/ic/midway.c EN_WRITE(sc, sc->dtq_chip, MID_MK_TXQ_ENI(count, 0, MID_DMA_END, bcode)); count 1029 dev/ic/midway.c EN_WRITE(sc, sc->drq_chip, MID_MK_RXQ_ENI(count, 0, MID_DMA_END, bcode)); count 1991 dev/ic/midway.c dma, *data, *datastop, count, bcode; count 2026 dev/ic/midway.c count = EN_READ(sc, MIDX_PLACE(chan)); count 2028 dev/ic/midway.c MIDX_BASE(count), MIDX_SZ(count), EN_READ(sc, MIDX_READPTR(chan)), count 2147 dev/ic/midway.c count = 1; count 2151 dev/ic/midway.c count = cnt; count 2162 dev/ic/midway.c EN_DTQADD(sc, count, chan, bcode, vtophys(data), l->mlen, end); count 2176 dev/ic/midway.c count = cnt / sizeof(u_int32_t); count 2179 dev/ic/midway.c count = cnt / sizeof(u_int32_t); count 2180 dev/ic/midway.c bcode = en_dmaplan[count].bcode; count 2181 dev/ic/midway.c count = cnt >> en_dmaplan[count].divshift; count 2191 dev/ic/midway.c EN_DTQADD(sc, count, chan, bcode, vtophys(data), l->mlen, end); count 2199 dev/ic/midway.c count = len >> sc->bestburstshift; count 2200 dev/ic/midway.c cnt = count << sc->bestburstshift; count 2210 dev/ic/midway.c EN_DTQADD(sc, count, chan, bcode, vtophys(data), l->mlen, end); count 2219 dev/ic/midway.c count = cnt / sizeof(u_int32_t); count 2220 dev/ic/midway.c bcode = en_dmaplan[count].bcode; count 2221 dev/ic/midway.c count = cnt >> en_dmaplan[count].divshift; count 2230 dev/ic/midway.c EN_DTQADD(sc, count, chan, bcode, vtophys(data), l->mlen, end); count 2240 dev/ic/midway.c count = 1; count 2243 dev/ic/midway.c count = len; count 2253 dev/ic/midway.c EN_DTQADD(sc, count, chan, bcode, vtophys(data), l->mlen, end); count 2628 dev/ic/midway.c u_int32_t cur, dstart, rbd, pdu, *sav, dma, bcode, count, *data, *datastop; count 2907 dev/ic/midway.c count = cnt / sizeof(u_int32_t); count 2910 dev/ic/midway.c count = cnt / sizeof(u_int32_t); count 2911 dev/ic/midway.c bcode = en_dmaplan[count].bcode; count 2912 dev/ic/midway.c count = cnt >> en_dmaplan[count].divshift; count 2922 dev/ic/midway.c EN_DRQADD(sc, count, vci, bcode, vtophys(data), mlen, slot, end); count 2930 dev/ic/midway.c count = tlen >> sc->bestburstshift; count 2931 dev/ic/midway.c cnt = count << sc->bestburstshift; count 2941 dev/ic/midway.c EN_DRQADD(sc, count, vci, bcode, vtophys(data), mlen, slot, end); count 2949 dev/ic/midway.c count = tlen / sizeof(u_int32_t); count 2950 dev/ic/midway.c bcode = en_dmaplan[count].bcode; count 2951 dev/ic/midway.c count = tlen >> en_dmaplan[count].divshift; count 2959 dev/ic/midway.c EN_DRQADD(sc, count, vci, bcode, vtophys(data), mlen, slot, end); count 238 dev/ic/ncr5380sbc.c ncr5380_pio_out(sc, phase, count, data) count 240 dev/ic/ncr5380sbc.c int phase, count; count 252 dev/ic/ncr5380sbc.c resid = count; count 294 dev/ic/ncr5380sbc.c return (count - resid); count 299 dev/ic/ncr5380sbc.c ncr5380_pio_in(sc, phase, count, data) count 301 dev/ic/ncr5380sbc.c int phase, count; count 310 dev/ic/ncr5380sbc.c resid = count; count 349 dev/ic/ncr5380sbc.c return (count - resid); count 870 dev/ic/ncr53c9x.c ncr53c9x_poll(sc, xs, count) count 873 dev/ic/ncr53c9x.c int count; count 877 dev/ic/ncr53c9x.c while (count) { count 892 dev/ic/ncr53c9x.c count--; count 665 dev/ic/ne2000.c hdr->count = swap16(hdr->count); count 319 dev/ic/osiop.c acb->ds->status.count = 1; count 321 dev/ic/osiop.c acb->ds->msg.count = 1; count 323 dev/ic/osiop.c acb->ds->msgin.count = 1; count 325 dev/ic/osiop.c acb->ds->extmsg.count = 1; count 327 dev/ic/osiop.c acb->ds->synmsg.count = 3; count 417 dev/ic/osiop.c acb->ds->cmd.count = xs->cmdlen; count 731 dev/ic/osiop.c acb->ds->cmd.count = sizeof(*cmd); count 1005 dev/ic/osiop.c ds->id.count = 1; count 1033 dev/ic/osiop.c ds->id.count = MSG_EXT_SDTR_LEN + 3; count 1051 dev/ic/osiop.c ds->data[i].count = datadma->dm_segs[i].ds_len; count 1282 dev/ic/osiop.c if (ds->data[1].count != 0) { count 1284 dev/ic/osiop.c for (i = 0; ds->data[i].count != 0; i++) count 1288 dev/ic/osiop.c ds->data[i].count); count 1419 dev/ic/osiop.c ds->data[0].addr, ds->data[0].count, count 1439 dev/ic/osiop.c acb->curlen != ds->data[0].count) count 1444 dev/ic/osiop.c ds->data[0].addr, ds->data[0].count); count 1453 dev/ic/osiop.c acb->curlen = ds->data[n].count; count 1483 dev/ic/osiop.c if (ds->data[i].count == 0) count 1487 dev/ic/osiop.c (ds->data[i].addr + ds->data[i].count)) count 1490 dev/ic/osiop.c if (i >= OSIOP_NSG || ds->data[i].count == 0) { count 1501 dev/ic/osiop.c ds->data[0].addr, ds->data[0].count, count 1505 dev/ic/osiop.c ds->data[0].count = acb->curlen; count 1507 dev/ic/osiop.c i < OSIOP_NSG && ds->data[i].count > 0; count 1513 dev/ic/osiop.c ds->data[j].addr, ds->data[j].count, count 1514 dev/ic/osiop.c ds->data[i].addr, ds->data[i].count); count 1517 dev/ic/osiop.c ds->data[j].count = ds->data[i].count; count 1521 dev/ic/osiop.c ds->data[j].count = 0; count 2028 dev/ic/osiop.c acb->ds->cmd.count); count 2029 dev/ic/osiop.c for (i = acb->ds->cmd.count; i > 0; i--) count 95 dev/ic/osiopvar.h u_int32_t count; count 285 dev/ic/pcdisplay_subr.c bus_size_t off, count, n; count 289 dev/ic/pcdisplay_subr.c count = nrows * scr->type->ncols; count 295 dev/ic/pcdisplay_subr.c val, count); count 297 dev/ic/pcdisplay_subr.c for (n = 0; n < count; n++) count 2490 dev/ic/pgt.c int count; count 2494 dev/ic/pgt.c count = pgt_drain_tx_queue(sc, PGT_QUEUE_DATA_LOW_TX); count 2497 dev/ic/pgt.c sc->sc_dev.dv_xname, count)); count 343 dev/ic/rt2560.c int count) count 347 dev/ic/rt2560.c ring->count = count; count 352 dev/ic/rt2560.c error = bus_dmamap_create(sc->sc_dmat, count * RT2560_TX_DESC_SIZE, 1, count 353 dev/ic/rt2560.c count * RT2560_TX_DESC_SIZE, 0, BUS_DMA_NOWAIT, &ring->map); count 360 dev/ic/rt2560.c error = bus_dmamem_alloc(sc->sc_dmat, count * RT2560_TX_DESC_SIZE, count 369 dev/ic/rt2560.c count * RT2560_TX_DESC_SIZE, (caddr_t *)&ring->desc, count 378 dev/ic/rt2560.c count * RT2560_TX_DESC_SIZE, NULL, BUS_DMA_NOWAIT); count 385 dev/ic/rt2560.c memset(ring->desc, 0, count * RT2560_TX_DESC_SIZE); count 388 dev/ic/rt2560.c ring->data = malloc(count * sizeof (struct rt2560_tx_data), M_DEVBUF, count 397 dev/ic/rt2560.c memset(ring->data, 0, count * sizeof (struct rt2560_tx_data)); count 398 dev/ic/rt2560.c for (i = 0; i < count; i++) { count 420 dev/ic/rt2560.c for (i = 0; i < ring->count; i++) { count 459 dev/ic/rt2560.c ring->count * RT2560_TX_DESC_SIZE); count 464 dev/ic/rt2560.c for (i = 0; i < ring->count; i++) { count 490 dev/ic/rt2560.c int count) count 494 dev/ic/rt2560.c ring->count = count; count 498 dev/ic/rt2560.c error = bus_dmamap_create(sc->sc_dmat, count * RT2560_RX_DESC_SIZE, 1, count 499 dev/ic/rt2560.c count * RT2560_RX_DESC_SIZE, 0, BUS_DMA_NOWAIT, &ring->map); count 506 dev/ic/rt2560.c error = bus_dmamem_alloc(sc->sc_dmat, count * RT2560_RX_DESC_SIZE, count 515 dev/ic/rt2560.c count * RT2560_RX_DESC_SIZE, (caddr_t *)&ring->desc, count 524 dev/ic/rt2560.c count * RT2560_RX_DESC_SIZE, NULL, BUS_DMA_NOWAIT); count 531 dev/ic/rt2560.c memset(ring->desc, 0, count * RT2560_RX_DESC_SIZE); count 534 dev/ic/rt2560.c ring->data = malloc(count * sizeof (struct rt2560_rx_data), M_DEVBUF, count 546 dev/ic/rt2560.c memset(ring->data, 0, count * sizeof (struct rt2560_rx_data)); count 547 dev/ic/rt2560.c for (i = 0; i < count; i++) { count 600 dev/ic/rt2560.c for (i = 0; i < ring->count; i++) { count 622 dev/ic/rt2560.c ring->count * RT2560_RX_DESC_SIZE); count 627 dev/ic/rt2560.c for (i = 0; i < ring->count; i++) { count 1813 dev/ic/rt2560.c if (++txq->cur_encrypt >= txq->count) count 1912 dev/ic/rt2560.c if (++txq->cur_encrypt >= txq->count) count 66 dev/ic/rt2560var.h int count; count 86 dev/ic/rt2560var.h int count; count 377 dev/ic/rt2661.c int count) count 381 dev/ic/rt2661.c ring->count = count; count 385 dev/ic/rt2661.c error = bus_dmamap_create(sc->sc_dmat, count * RT2661_TX_DESC_SIZE, 1, count 386 dev/ic/rt2661.c count * RT2661_TX_DESC_SIZE, 0, BUS_DMA_NOWAIT, &ring->map); count 393 dev/ic/rt2661.c error = bus_dmamem_alloc(sc->sc_dmat, count * RT2661_TX_DESC_SIZE, count 402 dev/ic/rt2661.c count * RT2661_TX_DESC_SIZE, (caddr_t *)&ring->desc, count 411 dev/ic/rt2661.c count * RT2661_TX_DESC_SIZE, NULL, BUS_DMA_NOWAIT); count 418 dev/ic/rt2661.c memset(ring->desc, 0, count * RT2661_TX_DESC_SIZE); count 421 dev/ic/rt2661.c ring->data = malloc(count * sizeof (struct rt2661_tx_data), M_DEVBUF, count 430 dev/ic/rt2661.c memset(ring->data, 0, count * sizeof (struct rt2661_tx_data)); count 431 dev/ic/rt2661.c for (i = 0; i < count; i++) { count 453 dev/ic/rt2661.c for (i = 0; i < ring->count; i++) { count 491 dev/ic/rt2661.c ring->count * RT2661_TX_DESC_SIZE); count 496 dev/ic/rt2661.c for (i = 0; i < ring->count; i++) { count 521 dev/ic/rt2661.c int count) count 525 dev/ic/rt2661.c ring->count = count; count 528 dev/ic/rt2661.c error = bus_dmamap_create(sc->sc_dmat, count * RT2661_RX_DESC_SIZE, 1, count 529 dev/ic/rt2661.c count * RT2661_RX_DESC_SIZE, 0, BUS_DMA_NOWAIT, &ring->map); count 536 dev/ic/rt2661.c error = bus_dmamem_alloc(sc->sc_dmat, count * RT2661_RX_DESC_SIZE, count 545 dev/ic/rt2661.c count * RT2661_RX_DESC_SIZE, (caddr_t *)&ring->desc, count 554 dev/ic/rt2661.c count * RT2661_RX_DESC_SIZE, NULL, BUS_DMA_NOWAIT); count 561 dev/ic/rt2661.c memset(ring->desc, 0, count * RT2661_RX_DESC_SIZE); count 564 dev/ic/rt2661.c ring->data = malloc(count * sizeof (struct rt2661_rx_data), M_DEVBUF, count 576 dev/ic/rt2661.c memset(ring->data, 0, count * sizeof (struct rt2661_rx_data)); count 577 dev/ic/rt2661.c for (i = 0; i < count; i++) { count 630 dev/ic/rt2661.c for (i = 0; i < ring->count; i++) count 649 dev/ic/rt2661.c ring->count * RT2661_RX_DESC_SIZE); count 654 dev/ic/rt2661.c for (i = 0; i < ring->count; i++) { count 952 dev/ic/rt2661.c if (++txq->stat >= txq->count) /* faster than % count */ count 992 dev/ic/rt2661.c if (++txq->next >= txq->count) /* faster than % count */ count 320 dev/ic/rt2661reg.h #define RAL_READ_REGION_4(sc, offset, datap, count) \ count 322 dev/ic/rt2661reg.h (datap), (count)) count 334 dev/ic/rt2661reg.h #define RAL_WRITE_REGION_1(sc, offset, datap, count) \ count 336 dev/ic/rt2661reg.h (datap), (count)) count 62 dev/ic/rt2661var.h int count; count 80 dev/ic/rt2661var.h int count; count 835 dev/ic/siop.c siop_cmd->cmd_tables->t_extmsgdata.count = count 849 dev/ic/siop.c siop_cmd->cmd_tables->t_msgout.count = count 867 dev/ic/siop.c siop_cmd->cmd_tables->t_extmsgdata.count = count 975 dev/ic/siop.c siop_cmd->cmd_tables->t_msgout.count = count 1170 dev/ic/siop.c siop_cmd->cmd_c.siop_tables->cmd.count = count 1448 dev/ic/siop.c siop_cmd->cmd_c.siop_tables->cmd.count = count 1647 dev/ic/siop.c siop_cmd->cmd_tables->t_msgout.count); count 1661 dev/ic/siop.c siop_cmd->cmd_tables->t_msgout.count = count 1870 dev/ic/siop.c xfer->siop_tables.t_msgout.count= siop_htoc32(&sc->sc_c, 1); count 1872 dev/ic/siop.c xfer->siop_tables.t_msgin.count= siop_htoc32(&sc->sc_c, 1); count 1875 dev/ic/siop.c xfer->siop_tables.t_extmsgin.count= siop_htoc32(&sc->sc_c, 2); count 1880 dev/ic/siop.c xfer->siop_tables.t_status.count= siop_htoc32(&sc->sc_c, 1); count 1883 dev/ic/siop.c xfer->siop_tables.cmd.count = siop_htoc32(&sc->sc_c, 0); count 270 dev/ic/siop_common.c siop_cmd->siop_tables->t_msgout.count = siop_htoc32(sc, msgoffset); count 324 dev/ic/siop_common.c siop_cmd->siop_tables->data[i].count = count 369 dev/ic/siop_common.c tables->t_msgout.count = siop_htoc32(sc, 1); count 522 dev/ic/siop_common.c tables->t_msgout.count = siop_htoc32(sc, 1); count 587 dev/ic/siop_common.c tables->t_msgout.count = siop_htoc32(sc, 1); count 673 dev/ic/siop_common.c siop_cmd->siop_tables->t_msgout.count = count 687 dev/ic/siop_common.c siop_cmd->siop_tables->t_msgout.count = count 705 dev/ic/siop_common.c siop_cmd->siop_tables->t_msgout.count = count 744 dev/ic/siop_common.c table->count, table->addr); count 834 dev/ic/siop_common.c siop_ctoh32(sc, table->count) - siop_cmd->resid); count 835 dev/ic/siop_common.c table->count = siop_htoc32(sc, siop_cmd->resid); count 867 dev/ic/siop_common.c siop_ctoh32(sc, siop_cmd->siop_tables->data[i].count); count 876 dev/ic/siop_common.c siop_ctoh32(sc, table->count) - siop_cmd->resid; count 891 dev/ic/siop_common.c siop_cmd->siop_tables->t_msgout.count = siop_htoc32(sc, 1); count 906 dev/ic/siop_common.c if (siop_ctoh32(sc, table->count) & 1) { count 42 dev/ic/siopvar_common.h u_int32_t count; count 95 dev/ic/smc93cx6.c read_seeprom(sd, buf, start_addr, count) count 99 dev/ic/smc93cx6.c bus_size_t count; count 110 dev/ic/smc93cx6.c for (k = start_addr; k < count + start_addr; k++) { count 172 dev/ic/smc93cx6.c for (k = 0; k < count; k = k + 1) { count 780 dev/ic/sti.c u_int mode, idx, count; count 824 dev/ic/sti.c count = cmapp->count; count 825 dev/ic/sti.c if (idx >= STI_NCMAP || idx + count > STI_NCMAP) count 827 dev/ic/sti.c if ((ret = copyout(&scr->scr_rcmap[idx], cmapp->red, count))) count 829 dev/ic/sti.c if ((ret = copyout(&scr->scr_gcmap[idx], cmapp->green, count))) count 831 dev/ic/sti.c if ((ret = copyout(&scr->scr_bcmap[idx], cmapp->blue, count))) count 840 dev/ic/sti.c count = cmapp->count; count 841 dev/ic/sti.c if (idx >= STI_NCMAP || idx + count > STI_NCMAP) count 843 dev/ic/sti.c if ((ret = copyin(cmapp->red, &scr->scr_rcmap[idx], count))) count 845 dev/ic/sti.c if ((ret = copyin(cmapp->green, &scr->scr_gcmap[idx], count))) count 847 dev/ic/sti.c if ((ret = copyin(cmapp->blue, &scr->scr_bcmap[idx], count))) count 849 dev/ic/sti.c for (i = idx + count - 1; i >= idx; i--) count 259 dev/ic/twe.c cmd->cmd_param.count = 1; count 327 dev/ic/twe.c cmd->cmd_param.count = 1; count 358 dev/ic/twe.c cmd->cmd_param.count = 1; count 916 dev/ic/twe.c cmd->cmd_io.count = htole16(blockcnt); count 1039 dev/ic/twe.c cmd->cmd_param.count = 1; count 174 dev/ic/twereg.h u_int16_t count; count 181 dev/ic/twereg.h u_int16_t count; count 1896 dev/ic/wdc.c wdccommand(chp, drive, command, cylin, head, sector, count, precomp) count 1901 dev/ic/wdc.c u_int8_t head, sector, count, precomp; count 1905 dev/ic/wdc.c chp->channel, drive, command, cylin, head, sector, count, precomp), count 1908 dev/ic/wdc.c count, command); count 1918 dev/ic/wdc.c CHP_WRITE_REG(chp, wdr_seccnt, count); count 1929 dev/ic/wdc.c wdccommandext(chp, drive, command, blkno, count) count 1934 dev/ic/wdc.c u_int16_t count; count 1938 dev/ic/wdc.c chp->channel, drive, command, blkno, count), count 1941 dev/ic/wdc.c blkno >> 8, blkno >> 24, blkno, count >> 8, count, command); count 1953 dev/ic/wdc.c CHP_LBA48_WRITE_REG(chp, wdr_seccnt, count); count 87 dev/ic/wdcevent.h u_int8_t sector, u_int8_t count, u_int8_t command) { count 89 dev/ic/wdcevent.h sector, count, command }; count 984 dev/ic/z8530tty.c register int count; count 1004 dev/ic/z8530tty.c count = zst->zst_heldtbc; count 1006 dev/ic/z8530tty.c count = zst->zst_tbc; count 1012 dev/ic/z8530tty.c if (count > 0) { count 1014 dev/ic/z8530tty.c zst->zst_tbc = --count; count 320 dev/ipmi.c int count = 5000000; /* == 5s XXX can be shorter */ count 322 dev/ipmi.c while (count--) { count 1470 dev/ipmi.c add_child_sensors(struct ipmi_softc *sc, u_int8_t *psdr, int count, count 1486 dev/ipmi.c for (idx = 0; idx < count; idx++) { count 1500 dev/ipmi.c if (count > 1) count 1410 dev/isa/aha.c aha_poll(sc, xs, count) count 1413 dev/isa/aha.c int count; count 1419 dev/isa/aha.c while (count) { count 1432 dev/isa/aha.c count--; count 2721 dev/isa/ess.c ess_read_multi_mix_reg(sc, reg, datap, count) count 2725 dev/isa/ess.c bus_size_t count; count 2733 dev/isa/ess.c bus_space_read_multi_1(iot, ioh, ESS_MIX_REG_DATA, datap, count); count 499 dev/isa/gus.c dmarecords[dmarecord_index].count = sa->size; count 593 dev/isa/gus.c dmarecords[dmarecord_index].count = size; count 300 dev/isa/gusvar.h u_short count; count 711 dev/isa/if_ec.c packet_hdrp->count = swap16(packet_hdrp->count); count 148 dev/isa/if_ex.c #define ISA_GET_2_MULTI(offset, addr, count) bus_space_read_multi_2( \ count 149 dev/isa/if_ex.c sc->sc_iot, sc->sc_ioh, (offset), (addr), (count)) count 150 dev/isa/if_ex.c #define ISA_PUT_2_MULTI(offset, addr, count) bus_space_write_multi_2( \ count 151 dev/isa/if_ex.c sc->sc_iot, sc->sc_ioh, (offset), (addr), (count)) count 1707 dev/isa/if_ie.c ee16_eeprom_outbits(sc, edata, count) count 1709 dev/isa/if_ie.c int edata, count; count 1715 dev/isa/if_ie.c for (i = count - 1; i >= 0; i--) { count 735 dev/isa/if_we.c packet_hdrp->count = swap16(packet_hdrp->count); count 95 dev/isa/mcd.c int retry, count; count 1162 dev/isa/mcd.c mbx->count = RDELAY_WAITMODE; count 1180 dev/isa/mcd.c RDELAY_WAITMODE - mbx->count, 0, 0, 0); count 1200 dev/isa/mcd.c mbx->count = RDELAY_WAITREAD; count 1229 dev/isa/mcd.c RDELAY_WAITREAD - mbx->count, 0, 0, 0); count 1252 dev/isa/mcd.c if (mbx->count-- < 0) { count 614 dev/isa/pss.c int i, val, count; count 631 dev/isa/pss.c count = 1; count 642 dev/isa/pss.c if (count >= size) count 646 dev/isa/pss.c count, size); count 652 dev/isa/pss.c count++; count 281 dev/isa/seagate.c int *count, u_char **data); count 921 dev/isa/seagate.c sea_transfer_pio(struct sea_softc *sea, u_char *phase, int *count, u_char **data) count 924 dev/isa/seagate.c int c = *count; count 983 dev/isa/seagate.c *count = c; count 1180 dev/isa/seagate.c sea_poll(struct sea_softc *sea, struct scsi_xfer *xs, int count) count 1184 dev/isa/seagate.c while (count) { count 1193 dev/isa/seagate.c count--; count 1291 dev/isa/seagate.c for (count = 0; count 1292 dev/isa/seagate.c count < BLOCK_SIZE; count 1293 dev/isa/seagate.c count++) count 1310 dev/isa/seagate.c for (count = 0; count 1311 dev/isa/seagate.c count < BLOCK_SIZE; count 1312 dev/isa/seagate.c count++) count 281 dev/isa/uha_isa.c u14_poll(sc, xs, count) count 284 dev/isa/uha_isa.c int count; count 289 dev/isa/uha_isa.c while (count) { count 299 dev/isa/uha_isa.c count--; count 1351 dev/isa/wds.c wds_poll(sc, xs, count) count 1354 dev/isa/wds.c int count; count 1360 dev/isa/wds.c while (count) { count 1370 dev/isa/wds.c count--; count 1379 dev/isa/wds.c wds_ipoll(sc, scb, count) count 1382 dev/isa/wds.c int count; count 1388 dev/isa/wds.c while (count) { count 1398 dev/isa/wds.c count--; count 122 dev/midi.c unsigned count; count 151 dev/midi.c count = MIDIBUF_SIZE - mb->start; count 152 dev/midi.c if (count > mb->used) count 153 dev/midi.c count = mb->used; count 154 dev/midi.c if (count > uio->uio_resid) count 155 dev/midi.c count = uio->uio_resid; count 156 dev/midi.c error = uiomove(mb->data + mb->start, count, uio); count 161 dev/midi.c MIDIBUF_REMOVE(mb, count); count 287 dev/midi.c unsigned count; count 328 dev/midi.c count = MIDIBUF_SIZE - MIDIBUF_END(mb); count 329 dev/midi.c if (count > MIDIBUF_AVAIL(mb)) count 330 dev/midi.c count = MIDIBUF_AVAIL(mb); count 331 dev/midi.c if (count > uio->uio_resid) count 332 dev/midi.c count = uio->uio_resid; count 333 dev/midi.c error = uiomove(mb->data + MIDIBUF_END(mb), count, uio); count 338 dev/midi.c mb->used += count; count 642 dev/midi.c unsigned count; count 652 dev/midi.c count = MIDIBUF_SIZE - MIDIBUF_END(mb); count 653 dev/midi.c if (count > MIDIBUF_AVAIL(mb)) count = MIDIBUF_AVAIL(mb); count 654 dev/midi.c if (count > mesglen) count = mesglen; count 655 dev/midi.c bcopy(mesg, mb->data + MIDIBUF_END(mb), count); count 656 dev/midi.c mb->used += count; count 657 dev/midi.c mesg += count; count 658 dev/midi.c mesglen -= count; count 65 dev/midivar.h #define MIDIBUF_REMOVE(buf, count) \ count 67 dev/midivar.h (buf)->start += (count); \ count 69 dev/midivar.h (buf)->used -= (count); \ count 315 dev/onewire/onewire.c int search = 1, count = 0, lastd = -1, dir, rv, i, i0; count 322 dev/onewire/onewire.c while (search && count < size) { count 383 dev/onewire/onewire.c buf[count++] = rom; count 386 dev/onewire/onewire.c return (count); count 261 dev/pci/autri.c u_int16_t count; count 296 dev/pci/autri.c for (count=0; count < 0xffff; count++) { count 302 dev/pci/autri.c if (count == 0xffff) { count 312 dev/pci/autri.c for (count=0; count < 0xffff; count++) { count 319 dev/pci/autri.c if (count == 0xffff) { count 339 dev/pci/autri.c u_int16_t count; count 373 dev/pci/autri.c for (count=0; count < 0xffff; count++) { count 379 dev/pci/autri.c if (count == 0xffff) { count 398 dev/pci/autri.c int addr, count = 200; count 451 dev/pci/autri.c while (count--) { count 458 dev/pci/autri.c if (count == 0) count 67 dev/pci/autrivar.h u_int count; count 390 dev/pci/bktr/bktr_card.c writeEEProm( bktr_ptr_t bktr, int offset, int count, u_char *data ) count 401 dev/pci/bktr/bktr_card.c readEEProm(bktr_ptr_t bktr, int offset, int count, u_char *data) count 414 dev/pci/bktr/bktr_card.c if ( (offset + count) > max ) count 422 dev/pci/bktr/bktr_card.c for ( x = 0; x < count; ++x ) { count 442 dev/pci/bktr/bktr_card.c signCard( bktr_ptr_t bktr, int offset, int count, u_char *sig ) count 449 dev/pci/bktr/bktr_card.c for ( x = 0; x < count; ++x ) { count 88 dev/pci/bktr/bktr_card.h int signCard( bktr_ptr_t bktr, int offset, int count, u_char *sig ); count 91 dev/pci/bktr/bktr_card.h int writeEEProm( bktr_ptr_t bktr, int offset, int count, u_char *data ); count 92 dev/pci/bktr/bktr_card.h int readEEProm( bktr_ptr_t bktr, int offset, int count, u_char *data ); count 995 dev/pci/bktr/bktr_core.c int count; count 1007 dev/pci/bktr/bktr_core.c count = bktr->rows * bktr->cols * count 1010 dev/pci/bktr/bktr_core.c if ((int) uio->uio_iov->iov_len < count) count 1029 dev/pci/bktr/bktr_core.c status = uiomove((caddr_t)bktr->bigbuf, count, uio); count 1706 dev/pci/bktr/bktr_core.c int count; count 1980 dev/pci/bktr/bktr_core.c count = (((struct eeProm *)arg)->count); count 1982 dev/pci/bktr/bktr_core.c if ( writeEEProm( bktr, offset, count, buf ) < 0 ) count 1988 dev/pci/bktr/bktr_core.c count = (((struct eeProm *)arg)->count); count 1990 dev/pci/bktr/bktr_core.c if ( readEEProm( bktr, offset, count, buf ) < 0 ) count 1996 dev/pci/bktr/bktr_core.c count = (((struct eeProm *)arg)->count); count 1998 dev/pci/bktr/bktr_core.c if ( signCard( bktr, offset, count, buf ) < 0 ) count 625 dev/pci/esa.c vc->play.count = 0; count 764 dev/pci/esa.c vc->rec.count = 0; count 912 dev/pci/esa.c vc->play.count += diff; count 913 dev/pci/esa.c while(vc->play.count >= play_blksize) { count 914 dev/pci/esa.c vc->play.count -= play_blksize; count 926 dev/pci/esa.c vc->rec.count += diff; count 927 dev/pci/esa.c while(vc->rec.count >= rec_blksize) { count 928 dev/pci/esa.c vc->rec.count -= rec_blksize; count 81 dev/pci/esavar.h u_int32_t count; count 122 dev/pci/esavar.h int count; count 4448 dev/pci/if_bnx.c int count = 0; count 4490 dev/pci/if_bnx.c count++; count 4499 dev/pci/if_bnx.c if (count == 0) { count 5146 dev/pci/if_bnx.c bnx_dump_tx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count) count 5156 dev/pci/if_bnx.c for (i = 0; i < count; i++) { count 5172 dev/pci/if_bnx.c bnx_dump_rx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count) count 5182 dev/pci/if_bnx.c for (i = 0; i < count; i++) { count 5249 dev/pci/if_bnx.c bnx_dump_tx_chain(struct bnx_softc *sc, int tx_prod, int count) count 5276 dev/pci/if_bnx.c for (i = 0; i < count; i++) { count 5292 dev/pci/if_bnx.c bnx_dump_rx_chain(struct bnx_softc *sc, int rx_prod, int count) count 5321 dev/pci/if_bnx.c for (i = 0; i < count; i++) { count 526 dev/pci/if_che.c size_t count) count 530 dev/pci/if_che.c if (addr + count * sizeof(u_int32_t) > CHE_SF_SIZE || (addr & 3)) count 540 dev/pci/if_che.c while (count) { count 541 dev/pci/if_che.c if ((rv = che_read_flash_reg(sc, 4, count > 1, datap))) count 543 dev/pci/if_che.c count--; count 2491 dev/pci/if_em.c em_rxeof(struct em_softc *sc, int count) count 2514 dev/pci/if_em.c (count != 0) && count 2532 dev/pci/if_em.c count--; count 134 dev/pci/if_em_hw.c uint16_t count); count 146 dev/pci/if_em_hw.c uint16_t count); count 151 dev/pci/if_em_hw.c static uint16_t em_shift_in_ee_bits(struct em_hw *hw, uint16_t count); count 3311 dev/pci/if_em_hw.c uint16_t count) count 3321 dev/pci/if_em_hw.c mask <<= (count - 1); count 4367 dev/pci/if_em_hw.c uint16_t count) count 4377 dev/pci/if_em_hw.c mask = 0x01 << (count - 1); count 4419 dev/pci/if_em_hw.c uint16_t count) count 4437 dev/pci/if_em_hw.c for (i = 0; i < count; i++) { count 7798 dev/pci/if_em_hw.c int32_t count = 0; count 7855 dev/pci/if_em_hw.c } while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT); count 7877 dev/pci/if_em_hw.c int32_t count = 0; count 7931 dev/pci/if_em_hw.c } while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT); count 8043 dev/pci/if_em_hw.c int32_t count = 0; count 8079 dev/pci/if_em_hw.c count++; count 8118 dev/pci/if_em_hw.c } while ((count < ICH_FLASH_CYCLE_REPEAT_COUNT) && !error_flag); count 1447 dev/pci/if_ipw.c uint16_t count, size; count 1454 dev/pci/if_ipw.c count = info >> 16; count 1456 dev/pci/if_ipw.c total = count * size; count 1975 dev/pci/if_ipw.c bus_size_t count) count 1977 dev/pci/if_ipw.c for (; count > 0; offset++, datap++, count--) { count 1985 dev/pci/if_ipw.c bus_size_t count) count 1987 dev/pci/if_ipw.c for (; count > 0; offset++, datap++, count--) { count 1074 dev/pci/if_iwi.c sc->sc_dev.dv_xname, letoh32(beacon->count))); count 1978 dev/pci/if_iwi.c int i, count; count 1991 dev/pci/if_iwi.c count = 0; count 1995 dev/pci/if_iwi.c count++; count 1998 dev/pci/if_iwi.c *(p - count) = IWI_CHAN_5GHZ | count; count 2000 dev/pci/if_iwi.c p = (count > 0) ? p + 1 : scan.channels; count 2001 dev/pci/if_iwi.c count = 0; count 2005 dev/pci/if_iwi.c count++; count 2008 dev/pci/if_iwi.c *(p - count) = IWI_CHAN_2GHZ | count; count 192 dev/pci/if_iwireg.h uint32_t count; count 434 dev/pci/if_iwireg.h #define CSR_READ_REGION_4(sc, offset, datap, count) \ count 436 dev/pci/if_iwireg.h (datap), (count)) count 447 dev/pci/if_iwireg.h #define CSR_WRITE_REGION_1(sc, offset, datap, count) \ count 449 dev/pci/if_iwireg.h (datap), (count)) count 1739 dev/pci/if_ixgb.c ixgb_rxeof(struct ixgb_softc *sc, int count) count 1765 dev/pci/if_ixgb.c (count != 0) && count 1776 dev/pci/if_ixgb.c count--; count 2212 dev/pci/if_msk.c int count = m->m_pkthdr.len; count 2216 dev/pci/if_msk.c while (count > 0 && m) { count 2221 dev/pci/if_msk.c count -= m->m_len; count 2868 dev/pci/if_sk.c int count = m->m_pkthdr.len; count 2872 dev/pci/if_sk.c while (count > 0 && m) { count 2877 dev/pci/if_sk.c count -= m->m_len; count 641 dev/pci/if_ste.c int total_len = 0, count=0; count 648 dev/pci/if_ste.c if ((STE_RX_LIST_CNT - count) < 3) count 710 dev/pci/if_ste.c count++; count 619 dev/pci/if_wpi.c wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, int count, count 625 dev/pci/if_wpi.c ring->count = count; count 630 dev/pci/if_wpi.c (void **)&ring->desc, count * sizeof (struct wpi_tx_desc), count 642 dev/pci/if_wpi.c (void **)&ring->cmd, count * sizeof (struct wpi_tx_cmd), 4, count 650 dev/pci/if_wpi.c ring->data = malloc(count * sizeof (struct wpi_tx_data), M_DEVBUF, count 658 dev/pci/if_wpi.c memset(ring->data, 0, count * sizeof (struct wpi_tx_data)); count 660 dev/pci/if_wpi.c for (i = 0; i < count; i++) { count 700 dev/pci/if_wpi.c for (i = 0; i < ring->count; i++) { count 723 dev/pci/if_wpi.c for (i = 0; i < ring->count; i++) { count 1781 dev/pci/if_wpi.c if (sc->txq[0].queued >= sc->txq[0].count - 8) { count 1802 dev/pci/if_wpi.c if (sc->txq[0].queued >= sc->txq[0].count - 8) { count 725 dev/pci/if_wpireg.h #define WPI_WRITE_REGION_4(sc, offset, datap, count) \ count 727 dev/pci/if_wpireg.h (datap), (count)) count 78 dev/pci/if_wpivar.h int count; count 70 dev/pci/ixgb_ee.c uint16_t count); count 119 dev/pci/ixgb_ee.c ixgb_shift_out_bits(struct ixgb_hw *hw, uint16_t data, uint16_t count) count 127 dev/pci/ixgb_ee.c mask = 0x01 << (count - 1); count 1322 dev/pci/pccbb.c int count; count 1366 dev/pci/pccbb.c ++poll->count; count 2592 dev/pci/pccbb.c int count; count 2638 dev/pci/pccbb.c ++poll->count; count 6291 dev/pci/pciide.c u_int32_t count; count 6298 dev/pci/pciide.c count = dma_maps->dmamap_xfer->dm_mapsize >> 1; count 6299 dev/pci/pciide.c count |= dma_maps->dma_flags & WDC_DMA_READ ? count 6302 dev/pci/pciide.c PDC262_ATAPI(channel), count); count 878 dev/pci/tga.c u_int count, v; count 914 dev/pci/tga.c count = (cursorp->size.y * 64 * 2) / NBBY; count 918 dev/pci/tga.c (TGARREG(dc, TGA_REG_CCBR) & 0x3ff)), count)) != 0) count 932 dev/pci/tga.c u_int count; count 943 dev/pci/tga.c count = (cursorp->size.y * 64 * 2) / NBBY; count 946 dev/pci/tga.c cursorp->image, count); count 212 dev/pcmcia/if_cnw.c cnw_cmd(sc, cmd, count, arg1, arg2) count 214 dev/pcmcia/if_cnw.c int cmd, count, arg1, arg2; count 230 dev/pcmcia/if_cnw.c if (count > 0) { count 232 dev/pcmcia/if_cnw.c if (count > 1) count 237 dev/pcmcia/if_cnw.c ptr + count + 1, CNW_CMD_EOC); count 2095 dev/pcmcia/if_ray.c u_int i, count; count 2104 dev/pcmcia/if_ray.c count = 0; count 2107 dev/pcmcia/if_ray.c count = 0; count 2109 dev/pcmcia/if_ray.c count = 1; count 2122 dev/pcmcia/if_ray.c if (count) count 2125 dev/pcmcia/if_ray.c RAY_DPRINTF(("%s: interrupt handled %d\n", sc->sc_xname, count)); count 2127 dev/pcmcia/if_ray.c return (count ? 1 : 0); count 2887 dev/pcmcia/if_ray.c int count; count 2893 dev/pcmcia/if_ray.c if ((count = sc->sc_ec.ec_multicnt) < 17) { count 2899 dev/pcmcia/if_ray.c count = 17; count 2907 dev/pcmcia/if_ray.c if (count > 16) { count 2923 dev/pcmcia/if_ray.c SRAM_WRITE_FIELD_1(sc, ccs, ray_cmd_update_mcast, c_nmcast, count); count 52 dev/pcmcia/pcmcia_cis.c int count; count 685 dev/pcmcia/pcmcia_cis.c state->count = 0; count 783 dev/pcmcia/pcmcia_cis.c int start, i, ch, count; count 788 dev/pcmcia/pcmcia_cis.c for (count = 0, start = 0, i = 0; count 789 dev/pcmcia/pcmcia_cis.c (count < 4) && ((i + 4) < 256); i++) { count 795 dev/pcmcia/pcmcia_cis.c state->card->cis1_info[count] = count 798 dev/pcmcia/pcmcia_cis.c count++; count 852 dev/pcmcia/pcmcia_cis.c state->pf->number = state->count++; count 893 dev/pcmcia/pcmcia_cis.c state->pf->number = state->count++; count 709 dev/raidframe/rf_dagdegrd.c unsigned firstDataCol, napdas, count; count 794 dev/raidframe/rf_dagdegrd.c count = 0; count 807 dev/raidframe/rf_dagdegrd.c count++; count 811 dev/raidframe/rf_dagdegrd.c count++; count 813 dev/raidframe/rf_dagdegrd.c count++; count 817 dev/raidframe/rf_dagdegrd.c count++; count 819 dev/raidframe/rf_dagdegrd.c count++; count 826 dev/raidframe/rf_dagdegrd.c napdas += count; count 125 dev/raidframe/rf_disks.c unsigned i, count, foundone = 0, numFailuresThisRow; count 193 dev/raidframe/rf_disks.c for (count = 0, i = 1; i; i <<= 1) count 195 dev/raidframe/rf_disks.c count++; count 196 dev/raidframe/rf_disks.c if (count != 1) { count 507 dev/raidframe/rf_evenodd_dagfuncs.c int rrdrow, erow, count = 0; count 691 dev/raidframe/rf_evenodd_dagfuncs.c count++; count 698 dev/raidframe/rf_evenodd_dagfuncs.c RF_ASSERT(count == numRowInEncMatrix); count 529 dev/raidframe/rf_map.c rf_AllocPDAList(int count) count 534 dev/raidframe/rf_map.c count); count 549 dev/raidframe/rf_map.c int count /* Number of elements in list. */ count 553 dev/raidframe/rf_map.c (RF_PhysDiskAddr_t *), count); count 574 dev/raidframe/rf_map.c rf_AllocASMList(int count) count 579 dev/raidframe/rf_map.c count); count 591 dev/raidframe/rf_map.c int count) count 594 dev/raidframe/rf_map.c (RF_AccessStripeMap_t *), count); count 602 dev/raidframe/rf_map.c int count = 0, t, asm_count = 0; count 615 dev/raidframe/rf_map.c count++; count 627 dev/raidframe/rf_map.c count++; count 639 dev/raidframe/rf_map.c count++; count 651 dev/raidframe/rf_map.c RF_ASSERT(t == count); count 654 dev/raidframe/rf_map.c rf_FreePDAList(pdaList, pdaEnd, count); count 702 dev/raidframe/rf_raid1.c t->count = 1; count 176 dev/raidframe/rf_reconbuffer.c (targetRbuf->count + pssPtr->xorBufCount + 1 == count 315 dev/raidframe/rf_reconbuffer.c t->count = 1; count 375 dev/raidframe/rf_reconbuffer.c targetRbuf->count += pssPtr->xorBufCount; count 421 dev/raidframe/rf_reconbuffer.c if (rbuf->count == numDataCol) { count 81 dev/raidframe/rf_reconstruct.h RF_StripeCount_t count; /* count 383 dev/sbus/agten.c u_int index = rcm->index, count = rcm->count; count 386 dev/sbus/agten.c if (index >= 256 || count > 256 - index) count 389 dev/sbus/agten.c if ((error = copyout(&cm->cm_red[index], rcm->red, count)) != 0) count 391 dev/sbus/agten.c if ((error = copyout(&cm->cm_green[index], rcm->green, count)) != 0) count 393 dev/sbus/agten.c if ((error = copyout(&cm->cm_blue[index], rcm->blue, count)) != 0) count 402 dev/sbus/agten.c u_int index = rcm->index, count = rcm->count; count 405 dev/sbus/agten.c if (index >= 256 || count > 256 - index) count 408 dev/sbus/agten.c if ((error = copyin(rcm->red, &cm->cm_red[index], count)) != 0) count 410 dev/sbus/agten.c if ((error = copyin(rcm->green, &cm->cm_green[index], count)) != 0) count 412 dev/sbus/agten.c if ((error = copyin(rcm->blue, &cm->cm_blue[index], count)) != 0) count 303 dev/sbus/cgsix.c cgsix_loadcmap_deferred(sc, cm->index, cm->count); count 305 dev/sbus/cgsix.c cgsix_loadcmap_immediate(sc, cm->index, cm->count); count 324 dev/sbus/cgsix.c curs->cmap.count = 2; count 394 dev/sbus/cgsix.c if (curs->cmap.count < 2) count 605 dev/sbus/cgsix.c u_int index = rcm->index, count = rcm->count, i; count 608 dev/sbus/cgsix.c if (index >= 256 || count > 256 - index) count 610 dev/sbus/cgsix.c for (i = 0; i < count; i++) { count 627 dev/sbus/cgsix.c u_int index = rcm->index, count = rcm->count, i; count 630 dev/sbus/cgsix.c if (index >= 256 || count > 256 - index) count 632 dev/sbus/cgsix.c for (i = 0; i < count; i++) { count 662 dev/sbus/cgsix.c int count; count 665 dev/sbus/cgsix.c count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; count 667 dev/sbus/cgsix.c while (--count >= 0) { count 330 dev/sbus/cgthree.c cgthree_loadcmap(sc, cm->index, cm->count); count 439 dev/sbus/cgthree.c int count; count 442 dev/sbus/cgthree.c count = BT_D4M3(start + ncolors - 1) - BT_D4M3(start) + 3; count 444 dev/sbus/cgthree.c while (--count >= 0) { count 453 dev/sbus/cgthree.c u_int index = rcm->index, count = rcm->count, i; count 456 dev/sbus/cgthree.c if (index >= 256 || count > 256 - index) count 458 dev/sbus/cgthree.c for (i = 0; i < count; i++) { count 475 dev/sbus/cgthree.c u_int index = rcm->index, count = rcm->count, i; count 478 dev/sbus/cgthree.c if (index >= 256 || count > 256 - index) count 480 dev/sbus/cgthree.c for (i = 0; i < count; i++) { count 690 dev/sbus/esp_sbus.c db_esp(db_expr_t addr, int have_addr, db_expr_t count, char *modif) count 567 dev/sbus/magma.c int count = 0; count 570 dev/sbus/magma.c while (mbpp->mp_cnt && count++ < CD1400_PAR_FIFO_SIZE) { count 594 dev/sbus/magma.c int count = 0; count 602 dev/sbus/magma.c count += 2; count 609 dev/sbus/magma.c count += 2; count 616 dev/sbus/magma.c while (mtty->mp_txc > 0 && count < CD1400_TX_FIFO_SIZE - 1) { count 626 dev/sbus/magma.c count++; count 630 dev/sbus/magma.c count++; count 268 dev/sbus/mgx.c mgx_loadcmap(sc, cm->index, cm->count); count 385 dev/sbus/mgx.c u_int index = rcm->index, count = rcm->count, i; count 388 dev/sbus/mgx.c if (index >= 256 || count > 256 - index) count 391 dev/sbus/mgx.c for (i = 0; i < count; i++) { count 409 dev/sbus/mgx.c u_int index = rcm->index, count = rcm->count, i; count 412 dev/sbus/mgx.c if (index >= 256 || count > 256 - index) count 415 dev/sbus/mgx.c for (i = 0; i < count; i++) { count 357 dev/sbus/rfx.c rfx_loadcmap(sc, cm->index, cm->count); count 454 dev/sbus/rfx.c u_int index = rcm->index, count = rcm->count; count 457 dev/sbus/rfx.c if (index >= 256 || count > 256 - index) count 460 dev/sbus/rfx.c if ((error = copyout(cm->red + index, rcm->red, count)) != 0) count 462 dev/sbus/rfx.c if ((error = copyout(cm->green + index, rcm->green, count)) != 0) count 464 dev/sbus/rfx.c if ((error = copyout(cm->blue + index, rcm->blue, count)) != 0) count 473 dev/sbus/rfx.c u_int index = rcm->index, count = rcm->count; count 477 dev/sbus/rfx.c if (index >= 256 || count > 256 - index) count 480 dev/sbus/rfx.c if ((error = copyin(rcm->red, red, count)) != 0) count 482 dev/sbus/rfx.c if ((error = copyin(rcm->green, green, count)) != 0) count 484 dev/sbus/rfx.c if ((error = copyin(rcm->blue, blue, count)) != 0) count 487 dev/sbus/rfx.c bcopy(red, cm->red + index, count); count 488 dev/sbus/rfx.c bcopy(green, cm->green + index, count); count 489 dev/sbus/rfx.c bcopy(blue, cm->blue + index, count); count 393 dev/sbus/vigra.c vigra_loadcmap_deferred(sc, cm->index, cm->count); count 395 dev/sbus/vigra.c vigra_loadcmap_immediate(sc, cm->index, cm->count); count 489 dev/sbus/vigra.c u_int index = rcm->index, count = rcm->count, i; count 492 dev/sbus/vigra.c if (index >= 256 || count > 256 - index) count 496 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 505 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 515 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 526 dev/sbus/vigra.c u_int index = rcm->index, count = rcm->count, i; count 529 dev/sbus/vigra.c if (index >= 256 || count > 256 - index) count 533 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 542 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 552 dev/sbus/vigra.c for (i = 0; i < count; i++) { count 115 dev/sdmmc/sdmmc_cis.c int start, i, ch, count; count 120 dev/sdmmc/sdmmc_cis.c for (count = 0, start = 0, i = 0; count 121 dev/sdmmc/sdmmc_cis.c (count < 4) && ((i + 4) < 256); i++) { count 127 dev/sdmmc/sdmmc_cis.c cis->cis1_info[count] = count 130 dev/sdmmc/sdmmc_cis.c count++; count 55 dev/sequencervar.h u_int count; /* filled slots in buf */ count 57 dev/sequencervar.h #define SEQ_QINIT(q) ((q)->in = (q)->out = (q)->count = 0) count 58 dev/sequencervar.h #define SEQ_QEMPTY(q) ((q)->count == 0) count 59 dev/sequencervar.h #define SEQ_QFULL(q) ((q)->count >= SEQ_MAXQ) count 60 dev/sequencervar.h #define SEQ_QPUT(q, e) ((q)->buf[(q)->in++] = (e), (q)->in %= SEQ_MAXQ, (q)->count++) count 61 dev/sequencervar.h #define SEQ_QGET(q, e) ((e) = (q)->buf[(q)->out++], (q)->out %= SEQ_MAXQ, (q)->count--) count 62 dev/sequencervar.h #define SEQ_QLEN(q) ((q)->count) count 147 dev/usb/hid.c c->loc.count = s->multimax; count 217 dev/usb/hid.c s->multimax = c->loc.count; count 219 dev/usb/hid.c c->loc.count = 1; count 236 dev/usb/hid.c c->loc.size * c->loc.count; count 298 dev/usb/hid.c c->loc.count = dval; count 391 dev/usb/hid.c h.loc.count)); count 401 dev/usb/hid.c hi = h.loc.pos + h.loc.size * h.loc.count; count 53 dev/usb/hid.h u_int32_t count; count 907 dev/usb/if_cdce.c u_int32_t count; count 919 dev/usb/if_cdce.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 1811 dev/usb/if_zyd.c letoh16(retry->count) & 0xff, letoh16(retry->count))); count 1827 dev/usb/if_zyd.c if (letoh16(retry->count) & 0x100) count 1064 dev/usb/if_zydreg.h uint16_t count; count 2699 dev/usb/uaudio.c u_int32_t count; count 2706 dev/usb/uaudio.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 2708 dev/usb/uaudio.c count, ch->transferred)); count 2710 dev/usb/uaudio.c if (count != cb->size) { count 2712 dev/usb/uaudio.c count, cb->size); count 2783 dev/usb/uaudio.c u_int32_t count; count 2790 dev/usb/uaudio.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 2792 dev/usb/uaudio.c count, ch->transferred)); count 2796 dev/usb/uaudio.c if (count > cb->size) { count 2798 dev/usb/uaudio.c count, cb->size); count 2821 dev/usb/uaudio.c ch->transferred += count; count 312 dev/usb/ubt.c uint8_t count, i; count 351 dev/usb/ubt.c count = 0; count 352 dev/usb/ubt.c (void)usbd_endpoint_count(sc->sc_iface0, &count); count 354 dev/usb/ubt.c for (i = 0 ; i < count ; i++) { count 516 dev/usb/ubt.c uint8_t count, i; count 541 dev/usb/ubt.c count = 0; count 542 dev/usb/ubt.c (void)usbd_endpoint_count(sc->sc_iface1, &count); count 544 dev/usb/ubt.c for (i = 0 ; i < count ; i++) { count 926 dev/usb/ubt.c uint32_t count; count 952 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 954 dev/usb/ubt.c unit->hci_stats.byte_tx += count; count 1204 dev/usb/ubt.c ubt_mbufload(uint8_t *buf, int count, uint8_t type) count 1214 dev/usb/ubt.c m_copyback(m, 1, count, buf); // (extends if necessary) count 1215 dev/usb/ubt.c if (m->m_pkthdr.len != MAX(MHLEN, count + 1)) { count 1220 dev/usb/ubt.c m->m_pkthdr.len = count + 1; count 1231 dev/usb/ubt.c uint32_t count; count 1240 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, &buf, &count, NULL); count 1242 dev/usb/ubt.c if (count < sizeof(hci_event_hdr_t) - 1) { count 1243 dev/usb/ubt.c DPRINTF("dumped undersized event (count = %d)\n", count); count 1249 dev/usb/ubt.c sc->sc_unit.hci_stats.byte_rx += count; count 1251 dev/usb/ubt.c m = ubt_mbufload(buf, count, HCI_EVENT_PKT); count 1304 dev/usb/ubt.c uint32_t count; count 1334 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, &buf, &count, NULL); count 1336 dev/usb/ubt.c if (count < sizeof(hci_acldata_hdr_t) - 1) { count 1337 dev/usb/ubt.c DPRINTF("dumped undersized packet (%d)\n", count); count 1341 dev/usb/ubt.c sc->sc_unit.hci_stats.byte_rx += count; count 1343 dev/usb/ubt.c m = ubt_mbufload(buf, count, HCI_ACL_DATA_PKT); count 1395 dev/usb/ubt.c uint32_t count; count 1430 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 1431 dev/usb/ubt.c if (count == 0) count 1435 dev/usb/ubt.c sc, isoc, count); count 1437 dev/usb/ubt.c sc->sc_unit.hci_stats.byte_rx += count; count 60 dev/usb/ucomvar.h void (*ucom_read)(void *sc, int portno, u_char **ptr, u_int32_t *count); count 62 dev/usb/ucomvar.h u_int32_t *count); count 330 dev/usb/ucycom.c ucycom_read(void *addr, int portno, u_char **ptr, u_int32_t *count) count 343 dev/usb/ucycom.c *count = sc->sc_icnt; count 917 dev/usb/ueagle.c uint32_t count; count 925 dev/usb/ueagle.c count = req->frlengths[i]; count 928 dev/usb/ueagle.c while (count >= ATM_CELL_SIZE) { count 931 dev/usb/ueagle.c count -= ATM_CELL_SIZE; count 934 dev/usb/ueagle.c if (count > 0) { count 936 dev/usb/ueagle.c sc->sc_dev.dv_xname, count); count 110 dev/usb/uftdi.c u_int32_t *count); count 112 dev/usb/uftdi.c u_int32_t *count); count 476 dev/usb/uftdi.c uftdi_read(void *vsc, int portno, u_char **ptr, u_int32_t *count) count 482 dev/usb/uftdi.c *count)); count 488 dev/usb/uftdi.c if (*count != 2) count 490 dev/usb/uftdi.c "0x%02x\n", sc, portno, *count, (*ptr)[2])); count 505 dev/usb/uftdi.c *count -= 2; count 509 dev/usb/uftdi.c uftdi_write(void *vsc, int portno, u_char *to, u_char *from, u_int32_t *count) count 514 dev/usb/uftdi.c vsc, portno, *count, from[0])); count 518 dev/usb/uftdi.c *to = FTDI_OUT_TAG(*count, portno); count 520 dev/usb/uftdi.c memcpy(to + sc->sc_hdrlen, from, *count); count 521 dev/usb/uftdi.c *count += sc->sc_hdrlen; count 815 dev/usb/ugen.c u_int32_t count; count 828 dev/usb/ugen.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 832 dev/usb/ugen.c xfer, status, count)); count 836 dev/usb/ugen.c (void)b_to_q(ibuf, count, &sce->q); count 852 dev/usb/ugen.c u_int32_t count, n; count 859 dev/usb/ugen.c usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); count 861 dev/usb/ugen.c count)); count 864 dev/usb/ugen.c if(sce->fill < sce->cur && sce->cur <= sce->fill + count) { count 865 dev/usb/ugen.c sce->cur += count; count 869 dev/usb/ugen.c count)); count 919 dev/usb/ukbd.c h.usage, h.flags, h.loc.pos, h.loc.size, h.loc.count)); count 935 dev/usb/ukbd.c if (h.loc.count > MAXKEYCODE) count 942 dev/usb/ukbd.c sc->sc_nkeycode = h.loc.count; count 467 dev/usb/uow.c int count; count 491 dev/usb/uow.c usbd_get_xfer_status(sc->sc_xfer, NULL, NULL, &count, &error); count 492 dev/usb/uow.c return (count); count 458 dev/usb/usbdi.c void **buffer, u_int32_t *count, usbd_status *status) count 464 dev/usb/usbdi.c if (count != NULL) count 465 dev/usb/usbdi.c *count = xfer->actlen; count 582 dev/usb/usbdi.c usbd_endpoint_count(usbd_interface_handle iface, u_int8_t *count) count 590 dev/usb/usbdi.c *count = iface->idesc->bNumEndpoints; count 595 dev/usb/usbdi.c usbd_interface_count(usbd_device_handle dev, u_int8_t *count) count 599 dev/usb/usbdi.c *count = dev->cdesc->bNumInterface; count 110 dev/usb/usbdi.h void **buffer, u_int32_t *count, usbd_status *status); count 117 dev/usb/usbdi.h usbd_status usbd_endpoint_count(usbd_interface_handle dev, u_int8_t *count); count 118 dev/usb/usbdi.h usbd_status usbd_interface_count(usbd_device_handle dev, u_int8_t *count); count 285 dev/vesa/vesafb.c cnt = cm->count; count 328 dev/vesa/vesafb.c cnt = cm->count; count 313 dev/wscons/wsconsio.h u_int count; /* number of elements */ count 374 dev/wscons/wsdisplay.c wsdisplay_addscreen_print(struct wsdisplay_softc *sc, int idx, int count) count 377 dev/wscons/wsdisplay.c if (count > 1) count 378 dev/wscons/wsdisplay.c printf("-%d", idx + (count-1)); count 1525 dev/wscons/wsdisplay.c wsdisplay_emulinput(void *v, const u_char *data, u_int count) count 1539 dev/wscons/wsdisplay.c while (count-- > 0) count 1552 dev/wscons/wsdisplay.c int count; count 1567 dev/wscons/wsdisplay.c count = (*scr->scr_dconf->wsemul->translate) count 1569 dev/wscons/wsdisplay.c while (count-- > 0) count 51 dev/wscons/wsemul_dumb.c void wsemul_dumb_output(void *cookie, const u_char *data, u_int count, count 136 dev/wscons/wsemul_dumb.c wsemul_dumb_output(cookie, data, count, kernel) count 139 dev/wscons/wsemul_dumb.c u_int count; count 147 dev/wscons/wsemul_dumb.c while (count-- > 0) { count 161 dev/wscons/wsemul_dumb.c while (count-- > 0) { count 564 dev/wscons/wsemul_sun.c wsemul_sun_output(cookie, data, count, kernel) count 567 dev/wscons/wsemul_sun.c u_int count; count 586 dev/wscons/wsemul_sun.c for (; count > 0; data++, count--) { count 597 dev/wscons/wsemul_sun.c for (eot = data, cnt = count; cnt != 0; eot++, cnt--) { count 50 dev/wscons/wsemul_vt100.c void wsemul_vt100_output(void *cookie, const u_char *data, u_int count, count 958 dev/wscons/wsemul_vt100.c wsemul_vt100_output(cookie, data, count, kernel) count 961 dev/wscons/wsemul_vt100.c u_int count; count 980 dev/wscons/wsemul_vt100.c for (; count > 0; data++, count--) { count 990 dev/wscons/wsemul_vt100.c for (eot = data, cnt = count; cnt != 0; eot++, cnt--) { count 50 dev/wscons/wsemulvar.h void (*output)(void *cookie, const u_char *data, u_int count, count 624 kern/kern_event.c int s, count, timeout, nkev = 0, error = 0; count 626 kern/kern_event.c count = maxevents; count 627 kern/kern_event.c if (count == 0) count 687 kern/kern_event.c while (count) { count 692 kern/kern_event.c if (count == maxevents) count 725 kern/kern_event.c count--; count 744 kern/kern_event.c *retval = maxevents - count; count 178 kern/kern_fork.c int count; count 204 kern/kern_fork.c count = chgproccnt(uid, 1); count 205 kern/kern_fork.c if (uid != 0 && count > p1->p_rlimit[RLIMIT_NPROC].rlim_cur) { count 185 kern/kern_ktrace.c int resid = len, count; count 213 kern/kern_ktrace.c count = min(iov->iov_len, buflen); count 214 kern/kern_ktrace.c if (count > resid) count 215 kern/kern_ktrace.c count = resid; count 216 kern/kern_ktrace.c if (copyin(iov->iov_base, cp, count)) count 219 kern/kern_ktrace.c kth.ktr_len = count + sizeof(struct ktr_genio); count 224 kern/kern_ktrace.c iov->iov_len -= count; count 225 kern/kern_ktrace.c iov->iov_base = (caddr_t)iov->iov_base + count; count 230 kern/kern_ktrace.c resid -= count; count 398 kern/kern_proc.c db_show_all_procs(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 499 kern/kern_tc.c static int count; count 501 kern/kern_tc.c if (++count < tc_tick) count 503 kern/kern_tc.c count = 0; count 287 kern/kern_timeout.c db_show_callout(db_expr_t addr, int haddr, db_expr_t count, char *modif) count 605 kern/subr_disk.c #define blockpersec(count, lp) ((count) * (((lp)->d_secsize) / DEV_BSIZE)) count 86 kern/subr_evcount.c u_int64_t count; count 116 kern/subr_evcount.c count = ec->ec_count; count 118 kern/subr_evcount.c error = sysctl_rdquad(oldp, oldlenp, NULL, count); count 1431 kern/subr_pool.c db_show_all_pools(db_expr_t expr, int haddr, db_expr_t count, char *modif) count 130 kern/tty_subr.c q_to_b(struct clist *clp, u_char *cp, int count) count 138 kern/tty_subr.c while (count > 0 && clp->c_cc > 0) { count 142 kern/tty_subr.c if (cc > count) count 143 kern/tty_subr.c cc = count; count 145 kern/tty_subr.c count -= cc; count 165 kern/tty_subr.c int count = 0; count 175 kern/tty_subr.c count = clp->c_cl - clp->c_cf; count 176 kern/tty_subr.c if (count <= 0) count 177 kern/tty_subr.c count = clp->c_ce - clp->c_cf; count 185 kern/tty_subr.c count++; count 191 kern/tty_subr.c count++; count 198 kern/tty_subr.c return count; count 205 kern/tty_subr.c ndflush(struct clist *clp, int count) count 211 kern/tty_subr.c if (count == clp->c_cc) { count 217 kern/tty_subr.c while (count > 0 && clp->c_cc > 0) { count 221 kern/tty_subr.c if (cc > count) count 222 kern/tty_subr.c cc = count; count 223 kern/tty_subr.c count -= cc; count 320 kern/tty_subr.c b_to_q(u_char *cp, int count, struct clist *clp) count 326 kern/tty_subr.c if (count <= 0) count 345 kern/tty_subr.c while (count > 0 && clp->c_cc < clp->c_cn) { count 349 kern/tty_subr.c if (cc > count) count 350 kern/tty_subr.c cc = count; count 356 kern/tty_subr.c count -= cc; count 364 kern/tty_subr.c return count; count 422 kern/uipc_mbuf.c unsigned count; count 439 kern/uipc_mbuf.c count = min(m->m_len - off, len); count 440 kern/uipc_mbuf.c bcopy(mtod(m, caddr_t) + off, cp, count); count 441 kern/uipc_mbuf.c len -= count; count 442 kern/uipc_mbuf.c cp += count; count 530 kern/uipc_mbuf.c int count; count 561 kern/uipc_mbuf.c count = 0; count 563 kern/uipc_mbuf.c count += m->m_len; count 574 kern/uipc_mbuf.c count -= len; count 575 kern/uipc_mbuf.c if (count < 0) count 576 kern/uipc_mbuf.c count = 0; count 584 kern/uipc_mbuf.c m->m_pkthdr.len = count; count 586 kern/uipc_mbuf.c if (m->m_len >= count) { count 587 kern/uipc_mbuf.c m->m_len = count; count 590 kern/uipc_mbuf.c count -= m->m_len; count 611 kern/uipc_mbuf.c int count; count 638 kern/uipc_mbuf.c count = min(min(max(len, max_protohdr), space), n->m_len); count 640 kern/uipc_mbuf.c (unsigned)count); count 641 kern/uipc_mbuf.c len -= count; count 642 kern/uipc_mbuf.c m->m_len += count; count 643 kern/uipc_mbuf.c n->m_len -= count; count 644 kern/uipc_mbuf.c space -= count; count 646 kern/uipc_mbuf.c n->m_data += count; count 675 kern/uipc_mbuf.c int count; count 707 kern/uipc_mbuf.c count = min(len, n->m_len); count 709 kern/uipc_mbuf.c (unsigned)count); count 710 kern/uipc_mbuf.c len -= count; count 711 kern/uipc_mbuf.c m->m_len += count; count 712 kern/uipc_mbuf.c n->m_len -= count; count 714 kern/uipc_mbuf.c n->m_data += count; count 987 kern/uipc_mbuf.c unsigned int count; count 1004 kern/uipc_mbuf.c count = min(m->m_len - off, len); count 1006 kern/uipc_mbuf.c rval = f(fstate, mtod(m, caddr_t) + off, count); count 1010 kern/uipc_mbuf.c len -= count; count 1222 kern/vfs_bio.c int s, i, j, count; count 1233 kern/vfs_bio.c count = 0; count 1239 kern/vfs_bio.c count++; count 1242 kern/vfs_bio.c totals[i] = count; count 1244 kern/vfs_bio.c printf("%s: total-%d(%d pages)", bname[i], count, pages); count 1150 kern/vfs_subr.c int count; count 1155 kern/vfs_subr.c for (count = 0, vq = *vp->v_hashchain; vq; vq = vnext) { count 1166 kern/vfs_subr.c count += vq->v_usecount; count 1168 kern/vfs_subr.c return (count); count 637 kern/vfs_syscalls.c size_t count, maxcount; count 642 kern/vfs_syscalls.c count = 0; count 650 kern/vfs_syscalls.c if (sfsp && count < maxcount) { count 676 kern/vfs_syscalls.c count++; count 681 kern/vfs_syscalls.c if (sfsp && count > maxcount) count 684 kern/vfs_syscalls.c *retval = count; count 1608 kern/vfs_syscalls.c aiov.iov_len = SCARG(uap, count); count 1615 kern/vfs_syscalls.c auio.uio_resid = SCARG(uap, count); count 1619 kern/vfs_syscalls.c *retval = SCARG(uap, count) - auio.uio_resid; count 2322 kern/vfs_syscalls.c if (SCARG(uap, count) < 0) count 2336 kern/vfs_syscalls.c aiov.iov_len = SCARG(uap, count); count 2342 kern/vfs_syscalls.c auio.uio_resid = SCARG(uap, count); count 2352 kern/vfs_syscalls.c *retval = SCARG(uap, count) - auio.uio_resid; count 287 kern/vfs_vnops.c size_t count; count 292 kern/vfs_vnops.c count = uio->uio_resid; count 296 kern/vfs_vnops.c *poff += count - uio->uio_resid; count 310 kern/vfs_vnops.c size_t count; count 321 kern/vfs_vnops.c count = uio->uio_resid; count 326 kern/vfs_vnops.c *poff += count - uio->uio_resid; count 116 lib/libkern/mcount.c top->count = 1; count 125 lib/libkern/mcount.c top->count++; count 148 lib/libkern/mcount.c top->count = 1; count 164 lib/libkern/mcount.c top->count++; count 50 lib/libkern/softfloat-macros.h INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr ) count 54 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 57 lib/libkern/softfloat-macros.h else if ( count < 32 ) { count 58 lib/libkern/softfloat-macros.h z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 ); count 77 lib/libkern/softfloat-macros.h INLINE void shift64RightJamming( bits64 a, int16 count, bits64 *zPtr ) count 81 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 84 lib/libkern/softfloat-macros.h else if ( count < 64 ) { count 85 lib/libkern/softfloat-macros.h z = ( a>>count ) | ( ( a<<( ( - count ) & 63 ) ) != 0 ); count 114 lib/libkern/softfloat-macros.h bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) count 117 lib/libkern/softfloat-macros.h int8 negCount = ( - count ) & 63; count 119 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 123 lib/libkern/softfloat-macros.h else if ( count < 64 ) { count 125 lib/libkern/softfloat-macros.h z0 = a0>>count; count 128 lib/libkern/softfloat-macros.h if ( count == 64 ) { count 152 lib/libkern/softfloat-macros.h bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) count 155 lib/libkern/softfloat-macros.h int8 negCount = ( - count ) & 63; count 157 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 161 lib/libkern/softfloat-macros.h else if ( count < 64 ) { count 162 lib/libkern/softfloat-macros.h z1 = ( a0<<negCount ) | ( a1>>count ); count 163 lib/libkern/softfloat-macros.h z0 = a0>>count; count 166 lib/libkern/softfloat-macros.h z1 = ( count < 64 ) ? ( a0>>( count & 63 ) ) : 0; count 188 lib/libkern/softfloat-macros.h bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) count 191 lib/libkern/softfloat-macros.h int8 negCount = ( - count ) & 63; count 193 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 197 lib/libkern/softfloat-macros.h else if ( count < 64 ) { count 198 lib/libkern/softfloat-macros.h z1 = ( a0<<negCount ) | ( a1>>count ) | ( ( a1<<negCount ) != 0 ); count 199 lib/libkern/softfloat-macros.h z0 = a0>>count; count 202 lib/libkern/softfloat-macros.h if ( count == 64 ) { count 205 lib/libkern/softfloat-macros.h else if ( count < 128 ) { count 206 lib/libkern/softfloat-macros.h z1 = ( a0>>( count & 63 ) ) | ( ( ( a0<<negCount ) | a1 ) != 0 ); count 243 lib/libkern/softfloat-macros.h int16 count, count 250 lib/libkern/softfloat-macros.h int8 negCount = ( - count ) & 63; count 252 lib/libkern/softfloat-macros.h if ( count == 0 ) { count 258 lib/libkern/softfloat-macros.h if ( count < 64 ) { count 260 lib/libkern/softfloat-macros.h z1 = ( a0<<negCount ) | ( a1>>count ); count 261 lib/libkern/softfloat-macros.h z0 = a0>>count; count 264 lib/libkern/softfloat-macros.h if ( count == 64 ) { count 270 lib/libkern/softfloat-macros.h if ( count < 128 ) { count 272 lib/libkern/softfloat-macros.h z1 = a0>>( count & 63 ); count 275 lib/libkern/softfloat-macros.h z2 = ( count == 128 ) ? a0 : ( a0 != 0 ); count 299 lib/libkern/softfloat-macros.h bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) count 302 lib/libkern/softfloat-macros.h *z1Ptr = a1<<count; count 304 lib/libkern/softfloat-macros.h ( count == 0 ) ? a0 : ( a0<<count ) | ( a1>>( ( - count ) & 63 ) ); count 322 lib/libkern/softfloat-macros.h int16 count, count 331 lib/libkern/softfloat-macros.h z2 = a2<<count; count 332 lib/libkern/softfloat-macros.h z1 = a1<<count; count 333 lib/libkern/softfloat-macros.h z0 = a0<<count; count 334 lib/libkern/softfloat-macros.h if ( 0 < count ) { count 335 lib/libkern/softfloat-macros.h negCount = ( ( - count ) & 63 ); count 81 lib/libsa/nfs.c n_long count; count 315 lib/libsa/nfs.c x = ntohl(repl->count); count 293 lib/libsa/tftp.c size_t count; count 337 lib/libsa/tftp.c count = (size < inbuffer ? size : inbuffer); count 339 lib/libsa/tftp.c addr, count); count 341 lib/libsa/tftp.c addr = (caddr_t)addr + count; count 342 lib/libsa/tftp.c tftpfile->off += count; count 343 lib/libsa/tftp.c size -= count; count 345 lib/libsa/tftp.c if ((tftpfile->islastblock) && (count == inbuffer)) count 59 lib/libz/inftrees.c unsigned short count[MAXBITS+1]; /* number of codes of each length */ count 109 lib/libz/inftrees.c count[len] = 0; count 111 lib/libz/inftrees.c count[lens[sym]]++; count 116 lib/libz/inftrees.c if (count[max] != 0) break; count 128 lib/libz/inftrees.c if (count[min] != 0) break; count 135 lib/libz/inftrees.c left -= count[len]; count 144 lib/libz/inftrees.c offs[len + 1] = offs[len] + count[len]; count 255 lib/libz/inftrees.c if (--(count[len]) == 0) { count 273 lib/libz/inftrees.c left -= count[curr + drop]; count 59 miscfs/procfs/procfs_cmdline.c int count, error, i; count 145 miscfs/procfs/procfs_cmdline.c count = pss.ps_nargvstr; count 147 miscfs/procfs/procfs_cmdline.c for (; count && len < upper_bound; len += xlen) { count 162 miscfs/procfs/procfs_cmdline.c for (i = 0; i < xlen && count != 0; i++) { count 164 miscfs/procfs/procfs_cmdline.c count--; /* one full string */ count 167 miscfs/procfs/procfs_cmdline.c if (count == 0) count 526 msdosfs/msdosfs_denode.c uint32_t count; count 547 msdosfs/msdosfs_denode.c count = de_clcount(pmp, length) - de_clcount(pmp, dep->de_FileSize); count 548 msdosfs/msdosfs_denode.c if (count > 0) { count 549 msdosfs/msdosfs_denode.c if (count > pmp->pm_freeclustercount) count 551 msdosfs/msdosfs_denode.c error = extendfile(dep, count, NULL, NULL, DE_CLEAR); count 612 msdosfs/msdosfs_fat.c fatchain(pmp, start, count, fillwith) count 615 msdosfs/msdosfs_fat.c uint32_t count; count 624 msdosfs/msdosfs_fat.c pmp, start, count, fillwith); count 629 msdosfs/msdosfs_fat.c if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) count 632 msdosfs/msdosfs_fat.c while (count > 0) { count 640 msdosfs/msdosfs_fat.c while (count > 0) { count 642 msdosfs/msdosfs_fat.c newc = --count > 0 ? start : fillwith; count 687 msdosfs/msdosfs_fat.c chainlength(pmp, start, count) count 690 msdosfs/msdosfs_fat.c uint32_t count; count 703 msdosfs/msdosfs_fat.c return (len > count ? count : len); count 706 msdosfs/msdosfs_fat.c if (len >= count) count 707 msdosfs/msdosfs_fat.c return (count); count 709 msdosfs/msdosfs_fat.c if (len >= count) count 717 msdosfs/msdosfs_fat.c return (len > count ? count : len); count 732 msdosfs/msdosfs_fat.c chainalloc(pmp, start, count, fillwith, retcluster, got) count 735 msdosfs/msdosfs_fat.c uint32_t count; count 743 msdosfs/msdosfs_fat.c for (cl = start, n = count; n-- > 0;) count 745 msdosfs/msdosfs_fat.c if ((error = fatchain(pmp, start, count, fillwith)) != 0) count 749 msdosfs/msdosfs_fat.c start, count); count 754 msdosfs/msdosfs_fat.c *got = count; count 770 msdosfs/msdosfs_fat.c clusteralloc(pmp, start, count, fillwith, retcluster, got) count 773 msdosfs/msdosfs_fat.c uint32_t count; count 784 msdosfs/msdosfs_fat.c printf("clusteralloc(): find %d clusters\n",count); count 787 msdosfs/msdosfs_fat.c if ((len = chainlength(pmp, start, count)) >= count) count 788 msdosfs/msdosfs_fat.c return (chainalloc(pmp, start, count, fillwith, retcluster, got)); count 813 msdosfs/msdosfs_fat.c if ((l = chainlength(pmp, cn, count)) >= count) count 814 msdosfs/msdosfs_fat.c return (chainalloc(pmp, cn, count, fillwith, retcluster, got)); count 830 msdosfs/msdosfs_fat.c if ((l = chainlength(pmp, cn, count)) >= count) count 831 msdosfs/msdosfs_fat.c return (chainalloc(pmp, cn, count, fillwith, retcluster, got)); count 988 msdosfs/msdosfs_fat.c extendfile(dep, count, bpp, ncp, flags) count 990 msdosfs/msdosfs_fat.c uint32_t count; count 1024 msdosfs/msdosfs_fat.c while (count > 0) { count 1038 msdosfs/msdosfs_fat.c error = clusteralloc(pmp, cn, count, CLUST_EOFE, &cn, &got); count 1042 msdosfs/msdosfs_fat.c count -= got; count 522 msdosfs/msdosfs_vnops.c uint32_t count, lastcn; count 595 msdosfs/msdosfs_vnops.c count = de_clcount(pmp, uio->uio_offset + resid) - count 597 msdosfs/msdosfs_vnops.c if ((error = extendfile(dep, count, NULL, NULL, 0)) && count 1382 msdosfs/msdosfs_vnops.c long count; count 1423 msdosfs/msdosfs_vnops.c count = uio->uio_resid & ~(sizeof(struct direntry) - 1); count 1425 msdosfs/msdosfs_vnops.c if (count < sizeof(struct direntry) || count 1428 msdosfs/msdosfs_vnops.c lost = uio->uio_resid - count; count 1429 msdosfs/msdosfs_vnops.c uio->uio_resid = count; count 1132 net/bpf.c u_int count; count 1140 net/bpf.c count = min(m->m_len, len); count 1141 net/bpf.c bcopy(mtod(m, caddr_t), (caddr_t)dst, count); count 1143 net/bpf.c dst += count; count 1144 net/bpf.c len -= count; count 777 net/if.c int count, error = 0; count 788 net/if.c count = (if_cloners_count < ifcr->ifcr_count) ? count 791 net/if.c for (ifc = LIST_FIRST(&if_cloners); ifc != NULL && count != 0; count 792 net/if.c ifc = LIST_NEXT(ifc, ifc_list), count--, dst += IFNAMSIZ) { count 80 net/if_gif.c gifattach(count) count 81 net/if_gif.c int count; count 160 net/if_media.c ifmedia_list_add(struct ifmedia *ifm, struct ifmedia_entry *lp, int count) count 164 net/if_media.c for (i = 0; i < count; i++) count 320 net/if_media.c size_t count; count 330 net/if_media.c for (count = 0; ep != NULL && count < minwords; count 331 net/if_media.c ep = TAILQ_NEXT(ep, ifm_list), count++) count 332 net/if_media.c kptr[count] = ep->ifm_media; count 343 net/if_pfsync.c int iplen, action, error, i, s, count, offp, sfail, stale = 0; count 387 net/if_pfsync.c count = ph->count; count 449 net/if_pfsync.c count * sizeof(*sp), &offp)) == NULL) { count 456 net/if_pfsync.c i < count; i++, sp++) { count 483 net/if_pfsync.c count * sizeof(*sp), &offp)) == NULL) { count 490 net/if_pfsync.c i < count; i++, sp++) { count 591 net/if_pfsync.c count * sizeof(*sp), &offp)) == NULL) { count 598 net/if_pfsync.c i < count; i++, sp++) { count 616 net/if_pfsync.c count * sizeof(*up), &offp)) == NULL) { count 623 net/if_pfsync.c i < count; i++, up++) { count 715 net/if_pfsync.c count * sizeof(*dp), &offp)) == NULL) { count 722 net/if_pfsync.c i < count; i++, dp++) { count 742 net/if_pfsync.c count * sizeof(*rup), &offp)) == NULL) { count 752 net/if_pfsync.c i < count; i++, rup++) { count 828 net/if_pfsync.c count * sizeof(*pt), &offp)) == NULL) { count 834 net/if_pfsync.c i < count; i++, pt++) count 1080 net/if_pfsync.c h->count = 0; count 1158 net/if_pfsync.c for (i = 0; i < h->count; i++) { count 1182 net/if_pfsync.c h->count++; count 1259 net/if_pfsync.c h_net->count++; count 1277 net/if_pfsync.c h_net->count++; count 1286 net/if_pfsync.c if (h->count == sc->sc_maxcount || count 1327 net/if_pfsync.c h->count++; count 1335 net/if_pfsync.c if (h->count == sc->sc_maxcount) count 1698 net/if_pfsync.c for (i = 0; !pt && i < h->count; i++) { count 1716 net/if_pfsync.c h->count++; count 1745 net/if_pfsync.c if (h->count == sc->sc_maxcount || count 153 net/if_pfsync.h u_int8_t count; count 212 net/if_pppoe.c pppoeattach(int count) count 1720 net/if_strip.c u_char code = Stuff_NoCode, count = 0; count 1726 net/if_strip.c count = (*code_ptr ^ Stuff_Magic) & Stuff_CountMask; count 1736 net/if_strip.c count = 0; /* Reset the count (zero means one instance) */ count 1756 net/if_strip.c count++; count 1759 net/if_strip.c StuffData_FinishBlock(Stuff_Zero + count); count 1768 net/if_strip.c count++; count 1774 net/if_strip.c if (count) { count 1775 net/if_strip.c StuffData_FinishBlock(Stuff_Same + count); count 1784 net/if_strip.c StuffData_FinishBlock(Stuff_DiffZero + count); count 1788 net/if_strip.c code += count-2; count 1794 net/if_strip.c count = 2; /* 2 means three bytes encoded */ count 1800 net/if_strip.c count++; count 1806 net/if_strip.c if (count == Stuff_MaxCount) count 1807 net/if_strip.c StuffData_FinishBlock(code + count); count 1813 net/if_strip.c StuffData_FinishBlock(code + count); count 1854 net/if_strip.c int count = (*src ^ Stuff_Magic) & Stuff_CountMask; count 1858 net/if_strip.c if (src+1+count >= end) count 1864 net/if_strip.c while(--count >= 0 && dst < dst_end); count 1865 net/if_strip.c if (count < 0) count 1868 net/if_strip.c if (count == 0) count 1871 net/if_strip.c *src = (Stuff_Diff + count) ^ Stuff_Magic; count 1874 net/if_strip.c if (src+1+count >= end) count 1880 net/if_strip.c while(--count >= 0 && dst < dst_end); count 1881 net/if_strip.c if (count < 0) count 1884 net/if_strip.c *src = (Stuff_DiffZero + count) ^ Stuff_Magic; count 1893 net/if_strip.c while(--count >= 0 && dst < dst_end); count 1894 net/if_strip.c if (count < 0) count 1897 net/if_strip.c *src = (Stuff_Same + count) ^ Stuff_Magic; count 1904 net/if_strip.c while(--count >= 0 && dst < dst_end); count 1905 net/if_strip.c if (count < 0) count 1908 net/if_strip.c *src = (Stuff_Zero + count) ^ Stuff_Magic; count 134 net/if_trunk.c trunkattach(int count) count 92 net/if_vlan.c void vlanattach (int count); count 106 net/if_vlan.c vlanattach(int count) count 597 net/pf.c threshold->count = 0; count 607 net/pf.c threshold->count = 0; count 609 net/pf.c threshold->count -= threshold->count * diff / count 611 net/pf.c threshold->count += PF_THRESHOLD_MULT; count 618 net/pf.c return (threshold->count > threshold->limit); count 2822 net/pf_ioctl.c pstore->conn_rate.count = 0; count 2824 net/pf_ioctl.c pstore->conn_rate.count -= count 2825 net/pf_ioctl.c n->conn_rate.count * diff / count 204 net/pfkeyv2.c u_int8_t satype, int count) count 628 net/pfvar.h u_int32_t count; count 2085 net/zlib.c int count = 0; /* repeat count of the current code */ count 2094 net/zlib.c if (++count < max_count && curlen == nextlen) { count 2096 net/zlib.c } else if (count < min_count) { count 2097 net/zlib.c s->bl_tree[curlen].Freq += count; count 2101 net/zlib.c } else if (count <= 10) { count 2106 net/zlib.c count = 0; prevlen = curlen; count 2130 net/zlib.c int count = 0; /* repeat count of the current code */ count 2139 net/zlib.c if (++count < max_count && curlen == nextlen) { count 2141 net/zlib.c } else if (count < min_count) { count 2142 net/zlib.c do { send_code(s, curlen, s->bl_tree); } while (--count != 0); count 2146 net/zlib.c send_code(s, curlen, s->bl_tree); count--; count 2148 net/zlib.c Assert(count >= 3 && count <= 6, " 3_6?"); count 2149 net/zlib.c send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2); count 2151 net/zlib.c } else if (count <= 10) { count 2152 net/zlib.c send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3); count 2155 net/zlib.c send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7); count 2157 net/zlib.c count = 0; prevlen = curlen; count 330 net80211/ieee80211.h u_int8_t count; count 336 net80211/ieee80211.h u_int8_t count; count 778 net80211/ieee80211_crypto.c u_int8_t count = 0; count 781 net80211/ieee80211_crypto.c vec[vcnt].base = &count; count 787 net80211/ieee80211_crypto.c count++; count 821 net80211/ieee80211_output.c u_int16_t count; count 848 net80211/ieee80211_output.c count = 0; count 853 net80211/ieee80211_output.c count++; count 858 net80211/ieee80211_output.c count++; count 863 net80211/ieee80211_output.c count++; count 866 net80211/ieee80211_output.c LE_WRITE_2(pcount, count); count 869 net80211/ieee80211_output.c count = 0; count 874 net80211/ieee80211_output.c count++; count 879 net80211/ieee80211_output.c count++; count 882 net80211/ieee80211_output.c LE_WRITE_2(pcount, count); count 363 netbt/l2cap_socket.c l2cap_complete(void *arg, int count) count 367 netbt/l2cap_socket.c while (count-- > 0) count 431 netbt/rfcomm_session.c rfcomm_session_complete(void *arg, int count) count 443 netbt/rfcomm_session.c while (count-- > 0) { count 531 netinet/if_ether.c u_int32_t count = 0, index = 0; count 565 netinet/if_ether.c &count, index)) count 588 netinet/if_ether.c &count, index)) count 963 netinet/if_ether.c int result, count = 20; count 970 netinet/if_ether.c while (count--) { count 308 netinet/in_pcb.c int count; count 335 netinet/in_pcb.c count = first - last; count 336 netinet/in_pcb.c if (count) count 337 netinet/in_pcb.c *lastport = first - (arc4random() % count); count 340 netinet/in_pcb.c if (count-- < 0) /* completely used? */ count 353 netinet/in_pcb.c count = last - first; count 354 netinet/in_pcb.c if (count) count 355 netinet/in_pcb.c *lastport = first + (arc4random() % count); count 358 netinet/in_pcb.c if (count-- < 0) /* completely used? */ count 200 netinet/ip_ah.c int off, count; count 327 netinet/ip_ah.c count = ptr[off + 1]; count 328 netinet/ip_ah.c bcopy(ipseczeroes, ptr, count); count 329 netinet/ip_ah.c off += count; count 417 netinet/ip_ah.c for (count = off + sizeof(struct ip6_ext); count 418 netinet/ip_ah.c count < off + ((ip6e->ip6e_len + 1) << 3);) { count 419 netinet/ip_ah.c if (ptr[count] == IP6OPT_PAD1) { count 420 netinet/ip_ah.c count++; count 425 netinet/ip_ah.c if (count > off + count 436 netinet/ip_ah.c ad = ptr[count + 1]; count 439 netinet/ip_ah.c if (ptr[count] & IP6OPT_MUTABLE) count 440 netinet/ip_ah.c bcopy(ipseczeroes, ptr + count, count 441 netinet/ip_ah.c ptr[count + 1]); count 443 netinet/ip_ah.c count += ad; count 446 netinet/ip_ah.c if (count > count 373 netinet/ip_carp.c int count = 0, error; count 390 netinet/ip_carp.c count = carp_addrcount( count 393 netinet/ip_carp.c if ((cmd == RTM_ADD && count != 1) || count 394 netinet/ip_carp.c (cmd == RTM_DELETE && count != 0)) count 1289 netinet/ip_carp.c int count = 0; count 1314 netinet/ip_carp.c count++; count 1319 netinet/ip_carp.c count++; count 1323 netinet/ip_carp.c return (count); count 1332 netinet/ip_carp.c int cur, last, count, found; count 1369 netinet/ip_carp.c count = 0; count 1399 netinet/ip_carp.c count < sizeof(sc0->sc_lsmask) * 8) count 1400 netinet/ip_carp.c sc0->sc_lsmask |= 1 << count; count 1401 netinet/ip_carp.c count++; count 1405 netinet/ip_carp.c sc0->sc_lscount = count; count 1406 netinet/ip_carp.c if (count == 0) count 1414 netinet/ip_carp.c u_int32_t *count, u_int32_t index) count 1436 netinet/ip_carp.c if (*count == 0) count 1437 netinet/ip_carp.c *count = carp_addrcount( count 1442 netinet/ip_carp.c if (*count == 0) count 1445 netinet/ip_carp.c if (carp_hash(sc, src) % *count == index - 1 && count 2361 netinet/ip_carp.c int count = 0; count 2364 netinet/ip_carp.c count += ifgl->ifgl_group->ifg_carp_demoted; count 2366 netinet/ip_carp.c return (count); count 2447 netinet/tcp_input.c int i, j = 0, count = 0, lastpos = -1; count 2454 netinet/tcp_input.c count++; /* count = number of blocks to be discarded */ count 2459 netinet/tcp_input.c count++; count 2465 netinet/tcp_input.c tp->rcv_numsacks -= count; count 640 netinet/tcp_output.c int count = 0; /* actual number of SACKs inserted */ count 645 netinet/tcp_output.c for (i = 0; (i < tp->rcv_numsacks && count < maxsack); i++) { count 651 netinet/tcp_output.c count++; count 653 netinet/tcp_output.c *olp = htonl(TCPOPT_SACK_HDR|(TCPOLEN_SACK*count+2)); count 654 netinet/tcp_output.c optlen += TCPOLEN_SACK*count + 4; /* including leading NOPs */ count 312 netinet6/in6_pcb.c int count; count 348 netinet6/in6_pcb.c count = first - last; count 349 netinet6/in6_pcb.c if (count) count 350 netinet6/in6_pcb.c *lastport = first - (arc4random() % count); count 353 netinet6/in6_pcb.c if (count-- < 0) /* completely used? */ count 366 netinet6/in6_pcb.c count = last - first; count 367 netinet6/in6_pcb.c if (count) count 368 netinet6/in6_pcb.c *lastport = first + (arc4random() % count); count 371 netinet6/in6_pcb.c if (count-- < 0) /* completely used? */ count 1456 nfs/nfs_subs.c int count, i; count 1466 nfs/nfs_subs.c count = 0; count 1469 nfs/nfs_subs.c count += m->m_len; count 1483 nfs/nfs_subs.c count -= len; count 1484 nfs/nfs_subs.c if (count < 0) count 1485 nfs/nfs_subs.c count = 0; count 1492 nfs/nfs_subs.c if (m->m_len >= count) { count 1493 nfs/nfs_subs.c m->m_len = count; count 1501 nfs/nfs_subs.c count -= m->m_len; count 602 scsi/ch.c avail = _2btol(st_hdr->count); count 633 scsi/ch.c ch_getelemstatus(sc, first, count, data, datalen, voltag) count 636 scsi/ch.c int count; count 649 scsi/ch.c _lto2b(count, cmd.count); count 1858 scsi/scsi_base.c u_int16_t count; count 1866 scsi/scsi_base.c count = _2btol(&sense->sense_key_spec_2); count 1884 scsi/scsi_base.c count); count 1894 scsi/scsi_base.c "Actual Retry Count: %d", count); count 1898 scsi/scsi_base.c "Progress Indicator: %d", count); count 143 scsi/scsi_changer.h u_int8_t count[2]; /* number of elements */ count 157 scsi/scsi_changer.h u_int8_t count[2]; /* number of elements */ count 172 scsi/scsi_changer.h u_int8_t count[2]; /* number of elements available */ count 102 sys/gmon.h long count; count 193 sys/mplock.h __mp_acquire_count(struct __mp_lock *lock, int count) { count 196 sys/mplock.h while (count--) count 275 sys/syscallargs.h syscallarg(size_t) count; count 693 sys/syscallargs.h syscallarg(int) count; count 849 sys/syscallargs.h syscallarg(int) count; count 228 ufs/ext2fs/ext2fs_inode.c long count, nblocks, vflags, blocksreleased = 0; count 371 ufs/ext2fs/ext2fs_inode.c fsbtodb(fs, bn), lastiblock[level], level, &count); count 374 ufs/ext2fs/ext2fs_inode.c blocksreleased += count; count 967 ufs/ext2fs/ext2fs_lookup.c size_t count; count 973 ufs/ext2fs/ext2fs_lookup.c UIO_SYSSPACE, IO_NODELOCKED, cred, &count, (struct proc *)0); count 978 ufs/ext2fs/ext2fs_lookup.c if (error || count != 0) count 171 ufs/ffs/ffs_inode.c long count, nblocks, vflags, blocksreleased = 0; count 371 ufs/ffs/ffs_inode.c fsbtodb(fs, bn), lastiblock[level], level, &count); count 374 ufs/ffs/ffs_inode.c blocksreleased += count; count 875 ufs/ffs/ffs_softdep.c int count, error = 0; count 894 ufs/ffs/ffs_softdep.c while ((count = softdep_process_worklist(oldmnt)) > 0) { count 895 ufs/ffs/ffs_softdep.c *countp += count; count 917 ufs/ffs/ffs_softdep.c int error, count, loopcnt; count 932 ufs/ffs/ffs_softdep.c if ((error = softdep_flushworklist(oldmnt, &count, p)) != 0 || count 933 ufs/ffs/ffs_softdep.c count == 0) count 1170 ufs/ffs/ffs_vfsops.c int error, allerror = 0, count; count 1204 ufs/ffs/ffs_vfsops.c if ((error = softdep_flushworklist(ump->um_mountp, &count, p))) count 1207 ufs/ffs/ffs_vfsops.c if (count) count 1072 ufs/ufs/ufs_lookup.c size_t count; count 1078 ufs/ufs/ufs_lookup.c UIO_SYSSPACE, IO_NODELOCKED, cred, &count, (struct proc *)0); count 1083 ufs/ufs/ufs_lookup.c if (error || count != 0) count 1382 ufs/ufs/ufs_vnops.c size_t count, lost, entries; count 1385 ufs/ufs/ufs_vnops.c count = uio->uio_resid; count 1386 ufs/ufs/ufs_vnops.c entries = (uio->uio_offset + count) & (DIRBLKSIZ - 1); count 1389 ufs/ufs/ufs_vnops.c if (count <= entries) count 1392 ufs/ufs/ufs_vnops.c count -= entries; count 1393 ufs/ufs/ufs_vnops.c lost = uio->uio_resid - count; count 1394 ufs/ufs/ufs_vnops.c uio->uio_resid = count; count 1395 ufs/ufs/ufs_vnops.c uio->uio_iov->iov_len = count; count 1411 ufs/ufs/ufs_vnops.c aiov.iov_len = count; count 1412 ufs/ufs/ufs_vnops.c MALLOC(dirbuf, caddr_t, count, M_TEMP, M_WAITOK); count 1416 ufs/ufs/ufs_vnops.c readcnt = count - auio.uio_resid; count 122 uvm/uvm_aobj.c int count; /* our number of active slots */ count 258 uvm/uvm_aobj.c elt->count = 0; count 363 uvm/uvm_aobj.c elt->count++; count 366 uvm/uvm_aobj.c elt->count--; count 368 uvm/uvm_aobj.c if (elt->count == 0) { count 631 uvm/uvm_swap.c int count, error, misc; count 670 uvm/uvm_swap.c count = 0; count 694 uvm/uvm_swap.c count++; count 706 uvm/uvm_swap.c *retval = count; count 900 uvm/uvm_swap.c static int count = 0; /* static */ count 1021 uvm/uvm_swap.c count++); count 121 uvm/uvm_swap_encrypt.c size_t count) count 133 uvm/uvm_swap_encrypt.c count /= sizeof(u_int32_t); count 139 uvm/uvm_swap_encrypt.c for (; count > 0; count -= 4) { count 166 uvm/uvm_swap_encrypt.c size_t count) count 178 uvm/uvm_swap_encrypt.c count /= sizeof(u_int32_t); count 184 uvm/uvm_swap_encrypt.c for (; count > 0; count -= 4) { count 315 xfs/xfs_syscalls-common.c size_t count; count 320 xfs/xfs_syscalls-common.c error = copyinstr((char *) pathptr, path, MAXPATHLEN, &count); count 201 xfs/xfs_vfsops-common.c size_t count; count 215 xfs/xfs_vfsops-common.c error = copyinstr(user_path, path, MAXPATHLEN, &count); count 219 xfs/xfs_vfsops-common.c error = copyinstr(user_data, data, MAXPATHLEN, &count);