Searched refs:rcnt (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.0-release/sys/mips/cavium/
H A Docteon_pci_console.c185 uint16_t rcnt[2]; local
197 rcnt[0] = cvmx_read64_uint16(console_rcnt[0]);
198 rcnt[1] = cvmx_read64_uint16(console_rcnt[1]);
199 if (rcnt[0] == rcnt[1])
203 if (rcnt[0] != 0)
204 roff = rcnt[0] - 1;
210 rcnt[1] = (rcnt[1] + 1) % OPCIC_RSYS_FIFO_SIZE;
211 cvmx_write64_uint16(console_rcnt[1], rcnt[
[all...]
/freebsd-10.0-release/sys/dev/sound/pcm/
H A Dfeeder_mixer.c286 uint32_t cnt, mcnt, rcnt, sz; local
310 rcnt = 0;
339 rcnt = SND_FXROUND(FEEDER_FEED(ch->feeder, ch,
352 rcnt = SND_FXROUND(FEEDER_FEED(ch->feeder, ch,
359 if (rcnt == 0) {
360 rcnt = SND_FXROUND(FEEDER_FEED(ch->feeder, ch,
362 mcnt = count - rcnt;
368 memset(b + rcnt,
374 if (cnt > rcnt)
375 rcnt
[all...]
/freebsd-10.0-release/sys/boot/common/
H A Ddisk.c51 int rcnt; member in struct:open_disk
119 entry->od->rcnt++;
144 entry->od, entry->od->rcnt);
276 od->rcnt = 0;
357 if (od->rcnt < 1) {
381 DEBUG("%s closed => %p [%d]", disk_fmtdev(dev), od, od->rcnt);
400 entry->od->rcnt--;
407 entry->od, entry->od->rcnt);
410 if (entry->od->rcnt < 1) {
/freebsd-10.0-release/sys/dev/rc/
H A Drc.c1109 int i = 0, rcnt, old_level; local
1168 for (rcnt = 10000; rcnt-- > 0; rcnt--) {
1228 if (!rcnt)
1290 int rcnt; local
1292 for (rcnt = 50; rcnt && rcin(sc, CD180_CCR); rcnt--)
1294 if (rcnt
[all...]
/freebsd-10.0-release/contrib/ofed/libibverbs/examples/
H A Drc_pingpong.c524 int rcnt, scnt; local
719 rcnt = scnt = 0;
720 while (rcnt < iters || scnt < iters) {
780 ++rcnt;
H A Duc_pingpong.c509 int rcnt, scnt; local
702 rcnt = scnt = 0;
703 while (rcnt < iters || scnt < iters) {
762 ++rcnt;
H A Dud_pingpong.c516 int rcnt, scnt; local
696 rcnt = scnt = 0;
697 while (rcnt < iters || scnt < iters) {
756 ++rcnt;
H A Dsrq_pingpong.c592 int rcnt, scnt; local
811 rcnt = scnt = 0;
812 while (rcnt < iters || scnt < iters) {
877 ++rcnt;
/freebsd-10.0-release/usr.bin/make/
H A Djob.c2677 ssize_t rcnt; local
2736 rcnt = read(fds[0], result, sizeof(result));
2737 if (rcnt != -1)
2738 Buf_AddBytes(buf, (size_t)rcnt, (Byte *)result);
2739 } while (rcnt > 0 || (rcnt == -1 && errno == EINTR));
2741 if (rcnt == -1)
/freebsd-10.0-release/sys/contrib/rdma/krping/
H A Dkrping.c1174 int ccnt, scnt, rcnt; local
1188 rcnt = 0;
1224 while (scnt < iters || ccnt < iters || rcnt < iters) {
1227 if (rcnt < iters && !(scnt < 1 && !cb->server)) {
1228 ++rcnt;
1229 while (*poll_buf != (char)rcnt) {
1283 "scnt=%d, rcnt=%d, ccnt=%d\n",
1284 scnt, rcnt, ccnt);
1318 int ccnt, scnt, rcnt; local
1330 rcnt
[all...]
/freebsd-10.0-release/sys/dev/iscsi_initiator/
H A Discsi_subr.c178 scsi->sense_resid = ntohl(pp->ipdu.scsi_rsp.rcnt);
182 debug(3, "sense_len=%d rcnt=%d sense_resid=%d dsl=%d error_code=%x flags=%x",
184 ntohl(pp->ipdu.scsi_rsp.rcnt), scsi->sense_resid,
H A Discsi.h156 int rcnt; // residual count member in struct:scsi_rsp
/freebsd-10.0-release/sys/dev/firewire/
H A Dfirewirereg.h68 int rcnt; member in struct:fw_device
H A Dfirewire.c1452 fwdev->rcnt = 0;
1821 fwdev->rcnt ++;
1824 "fwdev->rcnt(%d), hold_count(%d)\n",
1825 __func__, fwdev->rcnt, hold_count);
1826 if (fwdev->rcnt > hold_count) {
/freebsd-10.0-release/sys/dev/md/
H A Dmd.c276 off_t rcnt; local
280 rcnt = size;
282 while (rcnt > NINDIR) {
283 rcnt /= NINDIR;

Completed in 111 milliseconds