tag | line | file | source code |
cnt | 148 | arch/alpha/kernel/traps.c | static int cnt = 0; |
cnt | 151 | arch/alpha/kernel/traps.c | if (cnt >= 5 && jiffies - last_time > 5*HZ) { |
cnt | 152 | arch/alpha/kernel/traps.c | cnt = 0; |
cnt | 154 | arch/alpha/kernel/traps.c | if (++cnt < 5) { |
cnt | 206 | arch/alpha/kernel/traps.c | static int cnt = 0; |
cnt | 211 | arch/alpha/kernel/traps.c | if (cnt >= 5 && jiffies - last_time > 5*HZ) { |
cnt | 212 | arch/alpha/kernel/traps.c | cnt = 0; |
cnt | 214 | arch/alpha/kernel/traps.c | if (++cnt < 5) { |
cnt | 2934 | drivers/block/floppy.c | int i,drive,type,cnt; |
cnt | 2951 | drivers/block/floppy.c | for ( cnt=0; cnt<16; cnt++){ |
cnt | 2952 | drivers/block/floppy.c | put_user(name[cnt], ((char*)param)+cnt); |
cnt | 3033 | drivers/block/floppy.c | for ( cnt = 0; cnt < N_DRIVE; cnt++){ |
cnt | 3034 | drivers/block/floppy.c | if (XTYPE(drive_state[cnt].fd_device) == type && |
cnt | 3035 | drivers/block/floppy.c | drive_state[cnt].fd_ref) |
cnt | 3040 | drivers/block/floppy.c | for (cnt = type << 2 ; |
cnt | 3041 | drivers/block/floppy.c | cnt < (type << 2 ) + 4 ; |
cnt | 3042 | drivers/block/floppy.c | cnt++) |
cnt | 3043 | drivers/block/floppy.c | floppy_sizes[cnt]= |
cnt | 3044 | drivers/block/floppy.c | floppy_sizes[cnt+0x80]= |
cnt | 3047 | drivers/block/floppy.c | for ( cnt = 0; cnt < N_DRIVE; cnt++){ |
cnt | 3048 | drivers/block/floppy.c | if (XTYPE(drive_state[cnt].fd_device) == type && |
cnt | 3049 | drivers/block/floppy.c | drive_state[cnt].fd_ref) |
cnt | 3050 | drivers/block/floppy.c | check_disk_change(to_kdev_t(drive_state[cnt].fd_device)); |
cnt | 357 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
cnt | 400 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
cnt | 422 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
cnt | 656 | drivers/char/scc.c | while (bp && !bp->cnt) /* find next buffer */ |
cnt | 684 | drivers/char/scc.c | bp->cnt--; /* decrease byte count */ |
cnt | 701 | drivers/char/scc.c | bp->cnt = 0; /* Simply rewind it */ |
cnt | 716 | drivers/char/scc.c | if(scc->rbp->next != NULLBUF || scc->rbp->cnt > 0) |
cnt | 813 | drivers/char/scc.c | if ((bp = scc->rbp1) == NULLBUF || bp->cnt >= bp->size) |
cnt | 838 | drivers/char/scc.c | bp->data[bp->cnt++] = Inb(scc->data); |
cnt | 887 | drivers/char/scc.c | if (!(status & CRC_ERR) && (status & 0xe) == RES8 && scc->rbp->cnt) |
cnt | 892 | drivers/char/scc.c | bp->cnt--; /* last byte is first CRC byte */ |
cnt | 1409 | drivers/char/scc.c | if (scc->sndq1->cnt < 2) |
cnt | 1425 | drivers/char/scc.c | scc->sndq1->cnt--; |
cnt | 1432 | drivers/char/scc.c | if (scc->sndq1->cnt > 2) |
cnt | 1433 | drivers/char/scc.c | scc->sndq1->cnt -= 2; |
cnt | 1449 | drivers/char/scc.c | scc->sndq1->cnt=0; |
cnt | 1478 | drivers/char/scc.c | if(scc->sndq2->cnt == scc->sndq2->size) /* buffer full? */ |
cnt | 1488 | drivers/char/scc.c | scc->sndq2->data[scc->sndq2->cnt++] = ch; |
cnt | 1562 | drivers/char/scc.c | if (scc->rcvq->cnt) |
cnt | 1590 | drivers/char/scc.c | bp->cnt--; |
cnt | 1595 | drivers/char/scc.c | while (!scc->rcvq->cnt) |
cnt | 2148 | drivers/char/scc.c | int cnt, cnt2; |
cnt | 2163 | drivers/char/scc.c | cnt = cnt2 > BUFSIZE? BUFSIZE:cnt2; |
cnt | 2164 | drivers/char/scc.c | cnt2 -= cnt; |
cnt | 2167 | drivers/char/scc.c | memcpy_fromfs(tbuf, buf, cnt); |
cnt | 2169 | drivers/char/scc.c | memcpy(tbuf, buf, cnt); |
cnt | 2171 | drivers/char/scc.c | buf += cnt; |
cnt | 2175 | drivers/char/scc.c | while(cnt--) |
cnt | 2234 | drivers/char/scc.c | return scc->sndq2->cnt; |
cnt | 235 | drivers/net/de620.c | register short int cnt = 0; |
cnt | 237 | drivers/net/de620.c | while ((((value = inb(STATUS_PORT)) & READY) == 0) && (cnt <= 1000)) |
cnt | 238 | drivers/net/de620.c | ++cnt; |
cnt | 241 | drivers/net/de620.c | tot_cnt += cnt; |
cnt | 128 | drivers/net/pi2.c | int cnt; |
cnt | 545 | drivers/net/pi2.c | pkt_len = lp->rcvbuf->cnt = bytecount - 2 + 1; |
cnt | 606 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 611 | drivers/net/pi2.c | } else if (lp->rcvbuf->cnt >= lp->bufsiz) { |
cnt | 615 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 621 | drivers/net/pi2.c | lp->rcvbuf->cnt++; /* bump count */ |
cnt | 631 | drivers/net/pi2.c | if (lp->rcvbuf->cnt > 0) { |
cnt | 632 | drivers/net/pi2.c | if ((rse & CRC_ERR) || (lp->rstate > ACTIVE) || (lp->rcvbuf->cnt < 10)) { |
cnt | 633 | drivers/net/pi2.c | if ((lp->rcvbuf->cnt >= 10) && (rse & CRC_ERR)) { |
cnt | 637 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 640 | drivers/net/pi2.c | pkt_len = lp->rcvbuf->cnt -= 2; /* Toss 2 crc bytes */ |
cnt | 665 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 933 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; /* rewind on DCD transition */ |
cnt | 1070 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 1332 | drivers/net/pi2.c | lp->rcvbuf->cnt = 0; |
cnt | 1614 | drivers/scsi/NCR5380.c | int cnt, toPIO; |
cnt | 1778 | drivers/scsi/NCR5380.c | cnt = toPIO = 1; |
cnt | 1781 | drivers/scsi/NCR5380.c | cnt = toPIO = 2; |
cnt | 1784 | drivers/scsi/NCR5380.c | printk("Doing %d-byte PIO to 0x%X\n", cnt, *data); |
cnt | 1786 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, phase, &cnt, data); |
cnt | 1787 | drivers/scsi/NCR5380.c | *count -= toPIO - cnt; |
cnt | 817 | drivers/sound/ad1848.c | unsigned long flags, cnt; |
cnt | 820 | drivers/sound/ad1848.c | cnt = count; |
cnt | 826 | drivers/sound/ad1848.c | cnt /= 4; |
cnt | 831 | drivers/sound/ad1848.c | cnt >>= 1; |
cnt | 834 | drivers/sound/ad1848.c | cnt >>= 1; |
cnt | 835 | drivers/sound/ad1848.c | cnt--; |
cnt | 839 | drivers/sound/ad1848.c | cnt == devc->xfer_count) |
cnt | 857 | drivers/sound/ad1848.c | ad_write (devc, 15, (unsigned char) (cnt & 0xff)); |
cnt | 858 | drivers/sound/ad1848.c | ad_write (devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); |
cnt | 881 | drivers/sound/ad1848.c | devc->xfer_count = cnt; |
cnt | 893 | drivers/sound/ad1848.c | unsigned long flags, cnt; |
cnt | 898 | drivers/sound/ad1848.c | cnt = count; |
cnt | 901 | drivers/sound/ad1848.c | cnt /= 4; |
cnt | 906 | drivers/sound/ad1848.c | cnt >>= 1; |
cnt | 909 | drivers/sound/ad1848.c | cnt >>= 1; |
cnt | 910 | drivers/sound/ad1848.c | cnt--; |
cnt | 914 | drivers/sound/ad1848.c | cnt == devc->xfer_count) |
cnt | 934 | drivers/sound/ad1848.c | ad_write (devc, 15, (unsigned char) (cnt & 0xff)); |
cnt | 935 | drivers/sound/ad1848.c | ad_write (devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); |
cnt | 945 | drivers/sound/ad1848.c | ad_write (devc, 31, (unsigned char) (cnt & 0xff)); |
cnt | 946 | drivers/sound/ad1848.c | ad_write (devc, 30, (unsigned char) ((cnt >> 8) & 0xff)); |
cnt | 960 | drivers/sound/ad1848.c | devc->xfer_count = cnt; |
cnt | 272 | drivers/sound/pas2_pcm.c | unsigned long flags, cnt; |
cnt | 276 | drivers/sound/pas2_pcm.c | cnt = count; |
cnt | 278 | drivers/sound/pas2_pcm.c | cnt >>= 1; |
cnt | 282 | drivers/sound/pas2_pcm.c | cnt == pcm_count) |
cnt | 321 | drivers/sound/pas2_pcm.c | int cnt; |
cnt | 325 | drivers/sound/pas2_pcm.c | cnt = count; |
cnt | 327 | drivers/sound/pas2_pcm.c | cnt >>= 1; |
cnt | 331 | drivers/sound/pas2_pcm.c | cnt == pcm_count) |
cnt | 276 | drivers/sound/sb16_dsp.c | unsigned long flags, cnt; |
cnt | 278 | drivers/sound/sb16_dsp.c | cnt = count; |
cnt | 280 | drivers/sound/sb16_dsp.c | cnt >>= 1; |
cnt | 281 | drivers/sound/sb16_dsp.c | cnt--; |
cnt | 300 | drivers/sound/sb16_dsp.c | cnt == dsp_count) |
cnt | 321 | drivers/sound/sb16_dsp.c | sb_dsp_command01 ((unsigned char) (cnt & 0xff)); |
cnt | 322 | drivers/sound/sb16_dsp.c | sb_dsp_command ((unsigned char) (cnt >> 8)); |
cnt | 324 | drivers/sound/sb16_dsp.c | dsp_count = cnt; |
cnt | 333 | drivers/sound/sb16_dsp.c | unsigned long flags, cnt; |
cnt | 335 | drivers/sound/sb16_dsp.c | cnt = count; |
cnt | 337 | drivers/sound/sb16_dsp.c | cnt >>= 1; |
cnt | 338 | drivers/sound/sb16_dsp.c | cnt--; |
cnt | 357 | drivers/sound/sb16_dsp.c | cnt == dsp_count) |
cnt | 379 | drivers/sound/sb16_dsp.c | sb_dsp_command01 ((unsigned char) (cnt & 0xff)); |
cnt | 380 | drivers/sound/sb16_dsp.c | sb_dsp_command ((unsigned char) (cnt >> 8)); |
cnt | 382 | drivers/sound/sb16_dsp.c | dsp_count = cnt; |
cnt | 268 | fs/isofs/rock.c | int cnt, sig; |
cnt | 325 | fs/isofs/rock.c | cnt = 0; /* Rock ridge never appears on a High Sierra disk */ |
cnt | 327 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
cnt | 329 | fs/isofs/rock.c | inode->i_mtime = iso_date(rr->u.TF.times[cnt++].time, 0); |
cnt | 331 | fs/isofs/rock.c | inode->i_atime = iso_date(rr->u.TF.times[cnt++].time, 0); |
cnt | 333 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
cnt | 253 | include/asm-sparc/bitops.h | register unsigned long cnt; |
cnt | 255 | include/asm-sparc/bitops.h | cnt = 0; |
cnt | 262 | include/asm-sparc/bitops.h | cnt++; |
cnt | 264 | include/asm-sparc/bitops.h | return cnt; |
cnt | 267 | include/asm-sparc/bitops.h | while(cnt<32) { |
cnt | 268 | include/asm-sparc/bitops.h | if(!((word>>cnt)&1)) |
cnt | 269 | include/asm-sparc/bitops.h | return cnt; |
cnt | 271 | include/asm-sparc/bitops.h | cnt++; |
cnt | 273 | include/asm-sparc/bitops.h | return cnt; |
cnt | 32 | include/asm-sparc/dma.h | volatile unsigned long cnt; /* How many bytes to transfer */ |
cnt | 150 | include/linux/scc.h | int cnt; |