Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 5 of 5) sorted by relevance

/freebsd-13-stable/stand/libsa/
HDread.c98 size_t ccount, cresid; in read() local
100 ccount = imin(f->f_ralen, resid); in read()
101 if (ccount > 0) { in read()
102 bcopy(f->f_rabuf + f->f_raoffset, dest, ccount); in read()
103 f->f_raoffset += ccount; in read()
104 f->f_ralen -= ccount; in read()
105 resid -= ccount; in read()
110 dest = (char *)dest + ccount; in read()
/freebsd-13-stable/sys/cddl/boot/zfs/
HDzfssubr.c528 uint64_t *p, *src, pcount, ccount, i; in vdev_raidz_generate_parity_p() local
536 ccount = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_p()
539 ASSERT(ccount == pcount); in vdev_raidz_generate_parity_p()
540 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p()
544 ASSERT(ccount <= pcount); in vdev_raidz_generate_parity_p()
545 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p()
971 uint64_t ccount; in vdev_raidz_matrix_reconstruct() local
1005 ccount = rm->rm_col[c].rc_size; in vdev_raidz_matrix_reconstruct()
1016 ASSERT(ccount >= rm->rm_col[missing[0]].rc_size || i > 0); in vdev_raidz_matrix_reconstruct()
1018 for (x = 0; x < ccount; x++, src++) { in vdev_raidz_matrix_reconstruct()
/freebsd-13-stable/usr.bin/tip/tip/
HDcmds.c306 int c, ccount, lcount; in transmit() local
329 ccount = 0; in transmit()
347 while ((++ccount % 8) != 0) in transmit()
/freebsd-13-stable/sys/dev/hid/
HDhidbus.c544 int ccount, i; in hidbus_find_child() local
549 if (device_get_children(bus, &children, &ccount) != 0) in hidbus_find_child()
553 for (i = 0, child = NULL; i < ccount; i++) { in hidbus_find_child()
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
HDvdev_raidz.c1110 uint64_t ccount; in vdev_raidz_matrix_reconstruct() local
1139 ccount = rr->rr_col[c].rc_size; in vdev_raidz_matrix_reconstruct()
1140 ASSERT(ccount >= rr->rr_col[missing[0]].rc_size || i > 0); in vdev_raidz_matrix_reconstruct()
1141 if (ccount == 0) in vdev_raidz_matrix_reconstruct()
1155 for (x = 0; x < ccount; x++, src++) { in vdev_raidz_matrix_reconstruct()