Home
last modified time | relevance | path

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

/freebsd/stand/libsa/
H A Dread.c96 size_t ccount, cresid; in read() local
98 ccount = imin(f->f_ralen, resid); in read()
99 if (ccount > 0) { in read()
100 bcopy(f->f_rabuf + f->f_raoffset, dest, ccount); in read()
101 f->f_raoffset += ccount; in read()
102 f->f_ralen -= ccount; in read()
103 resid -= ccount; in read()
108 dest = (char *)dest + ccount; in read()
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c536 uint64_t *p, *src, ccount, i; in vdev_raidz_generate_parity_p() local
545 ccount = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_p()
548 ASSERT(ccount == pcount); in vdev_raidz_generate_parity_p()
549 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p()
553 ASSERT(ccount <= pcount); in vdev_raidz_generate_parity_p()
554 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p()
980 uint64_t ccount; in vdev_raidz_matrix_reconstruct() local
1014 ccount = rm->rm_col[c].rc_size; in vdev_raidz_matrix_reconstruct()
1025 ASSERT(ccount >= rm->rm_col[missing[0]].rc_size || i > 0); in vdev_raidz_matrix_reconstruct()
1027 for (x = 0; x < ccount; x++, src++) { in vdev_raidz_matrix_reconstruct()
/freebsd/usr.bin/tip/tip/
H A Dcmds.c298 int c, ccount, lcount; in transmit() local
321 ccount = 0; in transmit()
339 while ((++ccount % 8) != 0) in transmit()
/freebsd/sys/dev/hid/
H A Dhidbus.c538 int ccount, i; in hidbus_find_child() local
543 if (device_get_children(bus, &children, &ccount) != 0) in hidbus_find_child()
547 for (i = 0, child = NULL; i < ccount; i++) { in hidbus_find_child()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c1833 uint64_t ccount; in vdev_raidz_matrix_reconstruct() local
1862 ccount = rr->rr_col[c].rc_size; in vdev_raidz_matrix_reconstruct()
1863 ASSERT(ccount >= rr->rr_col[missing[0]].rc_size || i > 0); in vdev_raidz_matrix_reconstruct()
1864 if (ccount == 0) in vdev_raidz_matrix_reconstruct()
1878 for (x = 0; x < ccount; x++, src++) { in vdev_raidz_matrix_reconstruct()