taglinefilesource code
count149arch/alpha/boot/main.cstatic inline long load(long dev, unsigned long addr, unsigned long count)
count161arch/alpha/boot/main.creturn dispatch(CCB_READ, dev, count, addr, BOOT_SIZE/512 + 1);
count157arch/alpha/boot/tools/build.cunsigned long count = (system_start + system_size) - start;
count159arch/alpha/boot/tools/build.cwhile (count > 0) {
count161arch/alpha/boot/tools/build.cif (i > count)
count162arch/alpha/boot/tools/build.ci = count;
count168arch/alpha/boot/tools/build.ccount -= i;
count67arch/alpha/kernel/osf_sys.cint count;
count78arch/alpha/kernel/osf_sys.cif (reclen > buf->count)
count92arch/alpha/kernel/osf_sys.cbuf->count -= reclen;
count97arch/alpha/kernel/osf_sys.cunsigned int count, long *basep)
count107arch/alpha/kernel/osf_sys.cerror = verify_area(VERIFY_WRITE, dirent, count);
count117arch/alpha/kernel/osf_sys.cbuf.count = count;
count122arch/alpha/kernel/osf_sys.cif (count == buf.count)
count124arch/alpha/kernel/osf_sys.creturn count - buf.count;
count143arch/alpha/kernel/setup.cunsigned long count, va, pc;
count184arch/alpha/kernel/setup.cunaligned[0].count, unaligned[0].pc, unaligned[0].va,
count185arch/alpha/kernel/setup.cunaligned[1].count, unaligned[1].pc, unaligned[1].va);
count105arch/alpha/kernel/traps.cunsigned long count, va, pc;
count124arch/alpha/kernel/traps.c++unaligned[0].count;
count185arch/alpha/kernel/traps.c++unaligned[1].count;
count49arch/alpha/lib/checksum.cint odd, count;
count60arch/alpha/lib/checksum.ccount = len >> 1;    /* nr of 16-bit words.. */
count61arch/alpha/lib/checksum.cif (count) {
count64arch/alpha/lib/checksum.ccount--;
count68arch/alpha/lib/checksum.ccount >>= 1;    /* nr of 32-bit words.. */
count69arch/alpha/lib/checksum.cif (count) {
count72arch/alpha/lib/checksum.ccount--;
count76arch/alpha/lib/checksum.ccount >>= 1;  /* nr of 64-bit words.. */
count77arch/alpha/lib/checksum.cif (count) {
count81arch/alpha/lib/checksum.ccount--;
count86arch/alpha/lib/checksum.c} while (count);
count107arch/alpha/lib/io.cvoid insb (unsigned long port, void *dst, unsigned long count)
count110arch/alpha/lib/io.cif (!count)
count112arch/alpha/lib/io.ccount--;
count117arch/alpha/lib/io.cwhile (count >= 4) {
count119arch/alpha/lib/io.ccount -= 4;
count128arch/alpha/lib/io.cwhile (count) {
count129arch/alpha/lib/io.c--count;
count144arch/alpha/lib/io.cvoid insw (unsigned long port, void *dst, unsigned long count)
count150arch/alpha/lib/io.cif (!count)
count152arch/alpha/lib/io.ccount--;
count157arch/alpha/lib/io.cwhile (count >= 2) {
count159arch/alpha/lib/io.ccount -= 2;
count166arch/alpha/lib/io.cif (count) {
count180arch/alpha/lib/io.cvoid insl (unsigned long port, void *dst, unsigned long count)
count186arch/alpha/lib/io.cwhile (count) {
count187arch/alpha/lib/io.c--count;
count200arch/alpha/lib/io.cvoid outsb(unsigned long port, void * src, unsigned long count)
count202arch/alpha/lib/io.cwhile (count) {
count203arch/alpha/lib/io.ccount--;
count216arch/alpha/lib/io.cvoid outsw (unsigned long port, void *src, unsigned long count)
count224arch/alpha/lib/io.c--count;
count227arch/alpha/lib/io.cwhile (count >= 2) {
count229arch/alpha/lib/io.ccount -= 2;
count236arch/alpha/lib/io.cif (count) {
count249arch/alpha/lib/io.cvoid outsl (unsigned long port, void *src, unsigned long count)
count255arch/alpha/lib/io.cwhile (count) {
count256arch/alpha/lib/io.c--count;
count268arch/alpha/lib/io.cvoid memcpy_fromio(void * to, unsigned long from, unsigned long count)
count270arch/alpha/lib/io.cwhile (count) {
count271arch/alpha/lib/io.ccount--;
count283arch/alpha/lib/io.cvoid memcpy_toio(unsigned long to, void * from, unsigned long count)
count285arch/alpha/lib/io.cwhile (count) {
count286arch/alpha/lib/io.ccount--;
count298arch/alpha/lib/io.cvoid memset_io(unsigned long dst, int c, unsigned long count)
count300arch/alpha/lib/io.cwhile (count) {
count301arch/alpha/lib/io.ccount--;
count13arch/alpha/lib/memset.cinline void * __constant_c_memset(void * s, unsigned long c, long count)
count21arch/alpha/lib/memset.cwhile (count > 0 && (xs & 7)) {
count23arch/alpha/lib/memset.ccount--; xs++;
count25arch/alpha/lib/memset.cwhile (count > 7) {
count27arch/alpha/lib/memset.ccount -=8; xs += 8;
count29arch/alpha/lib/memset.cwhile (count > 0) {
count31arch/alpha/lib/memset.ccount--; xs++;
count36arch/alpha/lib/memset.cvoid * __memset(void * s,char c,size_t count)
count38arch/alpha/lib/memset.c__constant_c_memset(s,0x0101010101010101UL * (unsigned char) c, count);
count1532drivers/block/aztcd.c{       long int count, max_count;
count1571drivers/block/aztcd.cfor (count=0;count<10000;count++);          /*delay a bit*/       
count1602drivers/block/aztcd.cfor (count=0;count<50;count++)
count1620drivers/block/aztcd.cfor (count = 0; count < AZT_TIMEOUT; count++); 
count1621drivers/block/aztcd.c{ count=count*2;          /* delay a bit */
count1622drivers/block/aztcd.ccount=count/2;
count1646drivers/block/aztcd.cfor (count=1;count<50;count++)   /*Reading version string*/
count1653drivers/block/aztcd.cresult[count]=inb(DATA_PORT);
count1655drivers/block/aztcd.cif (count>30) max_count=30;  /*print max.30 chars of the version string*/
count1656drivers/block/aztcd.celse          max_count=count;
count1658drivers/block/aztcd.cfor (count=1;count<max_count;count++) printk("%c",result[count]);
count1673drivers/block/aztcd.cfor (count=1;count<5;count++) printk("%c",result[count]);
count2006drivers/block/floppy.cint count,head_shift,track_shift;
count2038drivers/block/floppy.cfor (count = 0; count < F_SECT_PER_TRACK; ++count) {
count2039drivers/block/floppy.chere[count].track = format_req.track;
count2040drivers/block/floppy.chere[count].head = format_req.head;
count2041drivers/block/floppy.chere[count].sect = 0;
count2042drivers/block/floppy.chere[count].size = F_SIZECODE;
count2045drivers/block/floppy.cfor (count = 1; count <= F_SECT_PER_TRACK; ++count) {
count2046drivers/block/floppy.chere[n].sect = count;
count2831drivers/block/floppy.cint i, drive, count, ret;
count2854drivers/block/floppy.ccount = raw_cmd.length;
count2856drivers/block/floppy.cif(count > max_buffer_sectors * 1024 )
count2858drivers/block/floppy.cif(count == 0){
count2865drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
count2868drivers/block/floppy.cmemcpy_fromfs(floppy_track_buffer, raw_cmd.data, count);
count2899drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
count3143drivers/block/floppy.cchar * buf, int count)
count3150drivers/block/floppy.creturn block_read(inode, filp, buf, count);
count3154drivers/block/floppy.cconst char * buf, int count)
count3167drivers/block/floppy.cblock = (filp->f_pos + count) >> 9;
count3170drivers/block/floppy.cret= block_write(inode, filp, buf, count);
count712drivers/block/gscd.cstatic void cmd_info_in ( char *pb, int count )
count727drivers/block/gscd.cif ( count > 0 )
count731drivers/block/gscd.ccount--;
count746drivers/block/gscd.cstatic void cmd_read_b ( char *pb, int count, int size )
count780drivers/block/gscd.ccount--;
count781drivers/block/gscd.c} while ( count > 0 );
count823drivers/block/gscd.cstatic void cmd_read_w ( char *pb, int count, int size )
count853drivers/block/gscd.ccount--;
count854drivers/block/gscd.c} while ( count > 0 );
count283drivers/block/ll_rw_blk.cunsigned int sector, count;
count302drivers/block/ll_rw_blk.ccount = bh->b_size >> 9;
count303drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
count305drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
count358drivers/block/ll_rw_blk.creq->nr_sectors += count;
count367drivers/block/ll_rw_blk.creq->sector - count == sector &&
count370drivers/block/ll_rw_blk.creq->nr_sectors += count;
count373drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
count402drivers/block/ll_rw_blk.creq->nr_sectors = count;
count403drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
count954drivers/block/mcd.cint count= QUICK_LOOP_COUNT;
count955drivers/block/mcd.cwhile (count--) {
count960drivers/block/mcd.cprintk(" %d ",QUICK_LOOP_COUNT-count);
count1179drivers/block/mcd.cint count;
count1221drivers/block/mcd.cfor (count = 0; count < 2000000; count++)
count1225drivers/block/mcd.cfor (count = 0; count < 2000000; count++)
count1229drivers/block/mcd.cif (count >= 2000000) {
count1238drivers/block/mcd.ccount = inb(MCDPORT(0));    /* pick up the status */
count1241drivers/block/mcd.cfor(count=0;count<3;count++)
count1242drivers/block/mcd.cif(getValue(result+count)) {
count1447drivers/block/mcd.cint count;
count1450drivers/block/mcd.cfor (count = 0; count < 2000; count++)
count1454drivers/block/mcd.cif (count >= 2000)
count144drivers/block/optcd.cunsigned long count = 0;
count146drivers/block/optcd.cif (++count >= BUSY_TIMEOUT)
count152drivers/block/optcd.cprintk("optcd: STEN low after %ld\n", count);
count160drivers/block/optcd.cunsigned long count = 0;
count162drivers/block/optcd.cif (++count >= BUSY_TIMEOUT)
count168drivers/block/optcd.cprintk("optcd: DTEN low after %ld\n", count);
count344drivers/block/optcd.cunsigned long count = 0;
count350drivers/block/optcd.cwhile (++count < RESET_WAIT)
count352drivers/block/optcd.ccount = 0;
count354drivers/block/optcd.cif (++count >= BUSY_TIMEOUT)
count581drivers/block/optcd.cint st, count, px, limit;
count587drivers/block/optcd.cfor (count = 0; count < MAX_TRACKS; count++)
count588drivers/block/optcd.cToc[count].pointIndex = 0;
count592drivers/block/optcd.ccount = DiskInfo.last + 3;
count593drivers/block/optcd.cfor (limit = 300; (limit > 0) && (count > 0); limit--) {
count600drivers/block/optcd.ccount--;
count631drivers/block/optcd.creturn count ? -ERR_TOC_MISSINGENTRY : 0;
count1356drivers/block/optcd.cint count, i, ch;
count1360drivers/block/optcd.cif ((count = optGetData()) < 0)
count1362drivers/block/optcd.cfor (i = 0, ch = -1; count > 0; count--) {
count2578drivers/block/sbpcd.cfor (count=D_S[d].first_session;count<zwanzig;count++)
count2583drivers/block/sbpcd.cdrvcmd[3]=count;
count2588drivers/block/sbpcd.cD_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]));
count2914drivers/block/sbpcd.cstatic int cc_SubChanInfo(int frame, int count, u_char *buffer)
count2932drivers/block/sbpcd.cdrvcmd[5]=(count>>8)&0xFF;
count2933drivers/block/sbpcd.cdrvcmd[6]=count&0xFF;
count146drivers/block/triton.cunsigned int count = 0;
count175drivers/block/triton.cif (++count >= PRD_ENTRIES) {
count189drivers/block/triton.cif (count) {
count212drivers/block/xd.cu_int block,count,retry;
count221drivers/block/xd.ccount = CURRENT->nr_sectors;
count227drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
count324drivers/block/xd.cstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count)
count331drivers/block/xd.cprintk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count);
count335drivers/block/xd.cwhile (count) {
count336drivers/block/xd.ctemp = count < xd_maxsectors ? count : xd_maxsectors;
count368drivers/block/xd.ccount -= temp, buffer += temp * 0x200, block += temp;
count398drivers/block/xd.cstatic u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count)
count400drivers/block/xd.cif (buffer < ((u_char *) 0x1000000 - count)) {    /* transfer to address < 16M? */
count401drivers/block/xd.cif (((u_int) buffer & 0xFFFF0000) != (((u_int) buffer + count) & 0xFFFF0000)) {
count411drivers/block/xd.cset_dma_count(xd_dma,count);
count422drivers/block/xd.cstatic u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control)
count428drivers/block/xd.ccmdblk[4] = count;
count511drivers/block/xd.cu_char cmdblk[6],i,count = 0;
count516drivers/block/xd.cinit_drive(count);
count517drivers/block/xd.ccount++;
count520drivers/block/xd.creturn (count);
count139drivers/char/atixlmouse.cstatic int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count)
count144drivers/char/atixlmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count148drivers/char/atixlmouse.cif (count < 3)
count165drivers/char/atixlmouse.cfor(i = 3; i < count; i++)
count155drivers/char/busmouse.cstatic int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count)
count164drivers/char/busmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count171drivers/char/busmouse.cif (count < 3)
count173drivers/char/busmouse.cif ((r = verify_area(VERIFY_WRITE, buffer, count)))
count205drivers/char/busmouse.cfor (r = 3; r < count; r++)
count316drivers/char/console.cstatic void memsetw(void * s, unsigned short c, unsigned int count)
count320drivers/char/console.ccount /= 2;
count321drivers/char/console.cwhile (count) {
count322drivers/char/console.ccount--;
count328drivers/char/console.cunsigned int count)
count330drivers/char/console.ccount /= 2;
count331drivers/char/console.cwhile (count) {
count332drivers/char/console.ccount--;
count583drivers/char/console.cint count ;
count590drivers/char/console.ccount = (video_num_lines-1)*video_num_columns;
count591drivers/char/console.cwhile (count) {
count592drivers/char/console.ccount--;
count684drivers/char/console.cunsigned int count;
count686drivers/char/console.ccount = (video_num_lines-1)*video_num_columns;
count687drivers/char/console.cwhile (count) {
count688drivers/char/console.ccount--;
count691drivers/char/console.ccount = video_num_columns;
count692drivers/char/console.cwhile (count) {
count693drivers/char/console.ccount--;
count704drivers/char/console.cunsigned int count;
count707drivers/char/console.ccount = video_num_columns;
count708drivers/char/console.cwhile (count) {
count709drivers/char/console.ccount--;
count719drivers/char/console.cunsigned int count = (b-t-1) * video_num_columns;
count721drivers/char/console.cwhile (count) {
count722drivers/char/console.ccount--;
count725drivers/char/console.ccount = video_num_columns;
count726drivers/char/console.cwhile (count) {
count727drivers/char/console.ccount--;
count736drivers/char/console.cunsigned int count;
count742drivers/char/console.ccount = (b-t-1)*video_num_columns;
count743drivers/char/console.cwhile (count) {
count744drivers/char/console.ccount--;
count747drivers/char/console.ccount = video_num_columns;
count748drivers/char/console.cwhile (count) {
count749drivers/char/console.ccount--;
count805drivers/char/console.cunsigned long count;
count810drivers/char/console.ccount = (scr_end-pos)>>1;
count814drivers/char/console.ccount = ((pos-origin)>>1)+1;
count818drivers/char/console.ccount = video_num_columns * video_num_lines;
count824drivers/char/console.cwhile (count) {
count825drivers/char/console.ccount--;
count833drivers/char/console.cunsigned long count;
count838drivers/char/console.ccount = video_num_columns-x;
count843drivers/char/console.ccount = x+1;
count847drivers/char/console.ccount = video_num_columns;
count852drivers/char/console.cwhile (count) {
count853drivers/char/console.ccount--;
count861drivers/char/console.cunsigned long count;
count868drivers/char/console.ccount = (vpar > video_num_columns-x) ? (video_num_columns-x) : vpar;
count870drivers/char/console.cwhile (count) {
count871drivers/char/console.ccount--;
count1061drivers/char/console.cvoid invert_screen(int currcons, int offset, int count, int viewed)
count1065drivers/char/console.ccount /= 2;
count1068drivers/char/console.cwhile (count--) {
count1074drivers/char/console.cwhile (count--) {
count1411drivers/char/console.cconst unsigned char *buf, int count)
count1432drivers/char/console.cwhile (!tty->stopped &&  count) {
count1434drivers/char/console.cbuf++; n++; count--;
count697drivers/char/cyclades.cif (tty->flip.count < TTY_FLIPBUF_SIZE){
count698drivers/char/cyclades.ctty->flip.count++;
count726drivers/char/cyclades.cif(tty->flip.count < TTY_FLIPBUF_SIZE){
count727drivers/char/cyclades.ctty->flip.count++;
count761drivers/char/cyclades.cif (tty->flip.count >= TTY_FLIPBUF_SIZE){
count764drivers/char/cyclades.ctty->flip.count++;
count1588drivers/char/cyclades.cunsigned char *buf, int count)
count1608drivers/char/cyclades.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
count1628drivers/char/cyclades.ccount -= c;
count2300drivers/char/cyclades.cprintk("cy_close ttyC%d, count = %d\n", info->line, info->count);
count2303drivers/char/cyclades.cif ((tty->count == 1) && (info->count != 1)) {
count2312drivers/char/cyclades.c"info->count is %d\n", info->count);
count2313drivers/char/cyclades.cinfo->count = 1;
count2316drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count - 1);
count2318drivers/char/cyclades.cif (--info->count < 0) {
count2322drivers/char/cyclades.cinfo->count = 0;
count2324drivers/char/cyclades.cif (info->count)
count2389drivers/char/cyclades.cinfo->count = 0;
count2476drivers/char/cyclades.cinfo->line, info->count);/**/
count2478drivers/char/cyclades.cinfo->count--;
count2480drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count);
count2531drivers/char/cyclades.cinfo->line, info->count);/**/
count2538drivers/char/cyclades.cinfo->count++;
count2540drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
count2546drivers/char/cyclades.cinfo->line, info->count);/**/
count2580drivers/char/cyclades.cprintk("cy_open ttyC%d, count = %d\n", info->line, info->count);/**/
count2582drivers/char/cyclades.cinfo->count++;
count2584drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
count2596drivers/char/cyclades.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
count2856drivers/char/cyclades.cinfo->count = 0;
count3094drivers/char/cyclades.cinfo->close_delay, info->event, info->count);
count599drivers/char/istallion.cstatic int  stli_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count);
count618drivers/char/istallion.cstatic int  stli_memread(struct inode *ip, struct file *fp, char *buf, int count);
count619drivers/char/istallion.cstatic int  stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count);
count1423drivers/char/istallion.cstatic int stli_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count)
count1435drivers/char/istallion.cprintk("stli_write(tty=%x,from_user=%d,buf=%x,count=%d)\n", (int) tty, from_user, (int) buf, count);
count1471drivers/char/istallion.ccount = MIN(len, count);
count1475drivers/char/istallion.cmemcpy_fromfs(stli_tmpwritebuf, chbuf, count);
count1501drivers/char/istallion.clen = MIN(len, count);
count1502drivers/char/istallion.ccount = 0;
count1510drivers/char/istallion.ccount += stlen;
count1533drivers/char/istallion.creturn(count);
count1581drivers/char/istallion.cunsigned int    len, stlen, head, tail, size, count, cooksize;
count1630drivers/char/istallion.ccount = 0;
count1639drivers/char/istallion.ccount += stlen;
count2319drivers/char/istallion.clen = MIN(len, (TTY_FLIPBUF_SIZE - tty->flip.count));
count2328drivers/char/istallion.ctty->flip.count += stlen;
count2504drivers/char/istallion.cif (tty->flip.count < TTY_FLIPBUF_SIZE) {
count2505drivers/char/istallion.ctty->flip.count++;
count3876drivers/char/istallion.cstatic int stli_memread(struct inode *ip, struct file *fp, char *buf, int count)
count3884drivers/char/istallion.cprintk("stli_memread(ip=%x,fp=%x,buf=%x,count=%d)\n", (int) ip, (int) fp, (int) buf, count);
count3896drivers/char/istallion.csize = MIN(count, (brdp->memsize - fp->f_pos));
count3912drivers/char/istallion.creturn(count);
count3923drivers/char/istallion.cstatic int stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count)
count3932drivers/char/istallion.cprintk("stli_memwrite(ip=%x,fp=%x,buf=%x,count=%x)\n", (int) ip, (int) fp, (int) buf, count);
count3945drivers/char/istallion.csize = MIN(count, (brdp->memsize - fp->f_pos));
count3961drivers/char/istallion.creturn(count);
count75drivers/char/lp.cunsigned long count  = 0;
count80drivers/char/lp.ccount ++;
count83drivers/char/lp.c} while(!LP_READY(minor,status) && count < LP_CHAR(minor));
count85drivers/char/lp.cif (count == LP_CHAR(minor)) {
count101drivers/char/lp.cif (count > stats->maxwait) {
count103drivers/char/lp.cprintk(KERN_DEBUG "lp%d success after %d counts.\n",minor,count);
count105drivers/char/lp.cstats->maxwait = count;
count107drivers/char/lp.ccount *= 256;
count108drivers/char/lp.cwait = (count > stats->meanwait)? count - stats->meanwait :
count109drivers/char/lp.cstats->meanwait - count;
count110drivers/char/lp.cstats->meanwait = (255*stats->meanwait + count + 128) / 256;
count119drivers/char/lp.cunsigned long count = 0;
count140drivers/char/lp.cif (count) {
count141drivers/char/lp.cif (count > stats->maxwait)
count142drivers/char/lp.cstats->maxwait = count;
count143drivers/char/lp.ccount *= 256;
count144drivers/char/lp.cwait = (count > stats->meanwait)? count - stats->meanwait :
count145drivers/char/lp.cstats->meanwait - count;
count146drivers/char/lp.cstats->meanwait = (255*stats->meanwait + count + 128) / 256;
count151drivers/char/lp.c} while (count++ < LP_CHAR(minor));
count168drivers/char/lp.cstatic inline int lp_write_interrupt(unsigned int minor, const char * buf, int count)
count178drivers/char/lp.ccopy_size = (count <= LP_BUFFER_SIZE ? count : LP_BUFFER_SIZE);
count230drivers/char/lp.ccount -= bytes_written;
count232drivers/char/lp.c} while (count > 0);
count237drivers/char/lp.cstatic inline int lp_write_polled(unsigned int minor, const char * buf, int count)
count244drivers/char/lp.cwhile (count > 0) {
count249drivers/char/lp.ccount--; temp++;
count303drivers/char/lp.cstatic int lp_write(struct inode * inode, struct file * file, const char * buf, int count)
count312drivers/char/lp.creturn lp_write_interrupt(minor, buf, count);
count314drivers/char/lp.creturn lp_write_polled(minor, buf, count);
count541drivers/char/lp.cint count = 0;
count571drivers/char/lp.ccount++;
count574drivers/char/lp.cif (count == 0)
count28drivers/char/mem.cstatic int read_ram(struct inode * inode, struct file * file,char * buf, int count)
count33drivers/char/mem.cstatic int write_ram(struct inode * inode, struct file * file, const char * buf, int count)
count38drivers/char/mem.cstatic int read_mem(struct inode * inode, struct file * file,char * buf, int count)
count43drivers/char/mem.cif (count < 0)
count47drivers/char/mem.cif (count > high_memory - p)
count48drivers/char/mem.ccount = high_memory - p;
count50drivers/char/mem.cwhile (p < PAGE_SIZE && count > 0) {
count54drivers/char/mem.ccount--;
count57drivers/char/mem.cmemcpy_tofs(buf,(void *) p,count);
count58drivers/char/mem.cread += count;
count63drivers/char/mem.cstatic int write_mem(struct inode * inode, struct file * file,const char * buf, int count)
count68drivers/char/mem.cif (count < 0)
count72drivers/char/mem.cif (count > high_memory - p)
count73drivers/char/mem.ccount = high_memory - p;
count75drivers/char/mem.cwhile (p < PAGE_SIZE && count > 0) {
count79drivers/char/mem.ccount--;
count82drivers/char/mem.cmemcpy_fromfs((void *) p,buf,count);
count83drivers/char/mem.cwritten += count;
count85drivers/char/mem.creturn count;
count109drivers/char/mem.cstatic int read_kmem(struct inode *inode, struct file *file, char *buf, int count)
count113drivers/char/mem.cread1 = read_mem(inode, file, buf, count);
count116drivers/char/mem.cread2 = vread(buf + read1, (char *) ((unsigned long) file->f_pos), count - read1);
count123drivers/char/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
count128drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
count137drivers/char/mem.cstatic int write_port(struct inode * inode,struct file * file,const char * buf, int count)
count142drivers/char/mem.cwhile (count-- > 0 && i < 65536) {
count151drivers/char/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
count156drivers/char/mem.cstatic int write_null(struct inode * inode,struct file * file, const char * buf, int count)
count158drivers/char/mem.creturn count;
count161drivers/char/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
count165drivers/char/mem.cfor (left = count; left > 0; left--) {
count169drivers/char/mem.creturn count;
count181drivers/char/mem.cstatic int read_full(struct inode * node,struct file * file,char * buf,int count)
count183drivers/char/mem.creturn count;
count186drivers/char/mem.cstatic int write_full(struct inode * inode,struct file * file, const char * buf, int count)
count123drivers/char/msbusmouse.cstatic int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count)
count128drivers/char/msbusmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count132drivers/char/msbusmouse.cif (count < 3)
count141drivers/char/msbusmouse.cfor (i = 3; i < count; i++)
count529drivers/char/n_tty.cchar *fp, int count)
count539drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
count545drivers/char/n_tty.ccount -= i;
count547drivers/char/n_tty.ci = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt,
count553drivers/char/n_tty.cfor (i=count, p = cp, f = fp; i; i--, p++) {
count936drivers/char/n_tty.cif (tty_hung_up_p(file) || (tty->link && !tty->link->count)) {
count374drivers/char/psaux.cstatic int write_aux(struct inode * inode, struct file * file, const char * buffer, int count)
count376drivers/char/psaux.cint i = count;
count387drivers/char/psaux.creturn count;
count396drivers/char/psaux.cstatic int write_qp(struct inode * inode, struct file * file, const char * buffer, int count)
count398drivers/char/psaux.cint i = count;
count406drivers/char/psaux.creturn count;
count415drivers/char/psaux.cstatic int read_aux(struct inode * inode, struct file * file, char * buffer, int count)
count418drivers/char/psaux.cint i = count;
count440drivers/char/psaux.cif (count-i) {
count442drivers/char/psaux.creturn count-i;
count68drivers/char/pty.cif (tty->count > 1)
count69drivers/char/pty.cprintk("master pty_close: count = %d!!\n", tty->count);
count71drivers/char/pty.cif (tty->count > 2)
count113drivers/char/pty.cconst unsigned char *buf, int count)
count126drivers/char/pty.cwhile (count > 0) {
count127drivers/char/pty.cn = MIN(count, PTY_BUF_SIZE);
count135drivers/char/pty.ccount -= n;
count139drivers/char/pty.cc = MIN(count, to->ldisc.receive_room(to));
count207drivers/char/pty.cwhile (!tty->link->count && !(current->signal & ~current->blocked))
count209drivers/char/pty.cif (!tty->link->count)
count165drivers/char/scc.cint scc_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count);
count1560drivers/char/scc.cwhile(tty->flip.count < TTY_FLIPBUF_SIZE-3)
count2141drivers/char/scc.cint scc_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count)
count2147drivers/char/scc.cif (!tty) return count;
count2152drivers/char/scc.cif (scc->kiss.tx_inhibit) return count;
count2156drivers/char/scc.ccnt2 = count;
count2181drivers/char/scc.creturn count;
count23drivers/char/selection.hextern void invert_screen(int currcons, int offset, int count, int shift);
count385drivers/char/serial.cif (tty->flip.count >= TTY_FLIPBUF_SIZE)
count387drivers/char/serial.ctty->flip.count++;
count413drivers/char/serial.cint count;
count429drivers/char/serial.ccount = info->xmit_fifo_size;
count435drivers/char/serial.c} while (--count > 0);
count1295drivers/char/serial.cconst unsigned char *buf, int count)
count1310drivers/char/serial.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
count1328drivers/char/serial.ccount -= c;
count1509drivers/char/serial.cif ((change_port || change_irq) && (info->count > 1))
count1653drivers/char/serial.cif (info->count > 1)
count2013drivers/char/serial.cprintk("rs_close ttys%d, count = %d\n", info->line, info->count);
count2015drivers/char/serial.cif ((tty->count == 1) && (info->count != 1)) {
count2024drivers/char/serial.c"info->count is %d\n", info->count);
count2025drivers/char/serial.cinfo->count = 1;
count2027drivers/char/serial.cif (--info->count < 0) {
count2029drivers/char/serial.cinfo->line, info->count);
count2030drivers/char/serial.cinfo->count = 0;
count2032drivers/char/serial.cif (info->count) {
count2119drivers/char/serial.cinfo->count = 0;
count2203drivers/char/serial.cinfo->line, info->count);
count2205drivers/char/serial.cinfo->count--;
count2238drivers/char/serial.cinfo->line, info->count);
count2245drivers/char/serial.cinfo->count++;
count2249drivers/char/serial.cinfo->line, info->count);
count2277drivers/char/serial.cinfo->count);
count2279drivers/char/serial.cinfo->count++;
count2305drivers/char/serial.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
count2655drivers/char/serial.cinfo->count = 0;
count2720drivers/char/serial.c(rs_table[i].count == 0))
count2728drivers/char/serial.cif (rs_table[i].count) {
count475drivers/char/stallion.cstatic int  stl_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count);
count935drivers/char/stallion.cstatic int stl_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count)
count944drivers/char/stallion.cprintk("stl_write(tty=%x,from_user=%d,buf=%x,count=%d)\n", (int) tty, from_user, (int) buf, count);
count967drivers/char/stallion.ccount = MIN(len, count);
count972drivers/char/stallion.cmemcpy_fromfs(stl_tmpwritebuf, chbuf, count);
count988drivers/char/stallion.clen = MIN(len, count);
count989drivers/char/stallion.ccount = 0;
count995drivers/char/stallion.ccount += stlen;
count1007drivers/char/stallion.creturn(count);
count1692drivers/char/stallion.c((buflen = TTY_FLIPBUF_SIZE - tty->flip.count) == 0)) {
count1703drivers/char/stallion.ctty->flip.count += len;
count1732drivers/char/stallion.cif (tty->flip.count < TTY_FLIPBUF_SIZE) {
count1735drivers/char/stallion.ctty->flip.count++;
count1918drivers/char/tpqic02.cstatic int qic02_tape_read(struct inode * inode, struct file * filp, char * buf, int count)
count1934drivers/char/tpqic02.cMINOR(dev), buf, count, (unsigned long) filp->f_pos, flags);
count1936drivers/char/tpqic02.cif (count % TAPE_BLKSIZE) {  /* Only allow mod 512 bytes at a time. */
count1948drivers/char/tpqic02.cerror = verify_area(VERIFY_WRITE, buf, count);
count1955drivers/char/tpqic02.cwhile (count>=0) {
count1959drivers/char/tpqic02.cif (bytes_todo>count)
count1960drivers/char/tpqic02.cbytes_todo = count;
count2056drivers/char/tpqic02.ccount -= bytes_done;
count2093drivers/char/tpqic02.cstatic int qic02_tape_write(struct inode * inode, struct file * filp, const char * buf, int count)
count2108drivers/char/tpqic02.cMINOR(dev), buf, count, (unsigned long) filp->f_pos, flags);
count2110drivers/char/tpqic02.cif (count % TAPE_BLKSIZE) {  /* only allow mod 512 bytes at a time */
count2130drivers/char/tpqic02.cerror = verify_area(VERIFY_READ, buf, count);
count2137drivers/char/tpqic02.cwhile (count>=0) {
count2141drivers/char/tpqic02.cif (bytes_todo>count)
count2142drivers/char/tpqic02.cbytes_todo = count;
count2223drivers/char/tpqic02.ccount -= bytes_done;
count2228drivers/char/tpqic02.cprintk(TPQIC02_NAME ": status_bytes_wr %x, buf %p, total_bytes_done %lx, count %x\n", status_bytes_wr, buf, total_bytes_done, count);
count162drivers/char/tty_io.cint i, count = 0;
count168drivers/char/tty_io.ccount++;
count173drivers/char/tty_io.ctty->link && tty->link->count)
count174drivers/char/tty_io.ccount++;
count175drivers/char/tty_io.cif (tty->count != count) {
count177drivers/char/tty_io.cMAJOR(tty->device), MINOR(tty->device), tty->count,
count178drivers/char/tty_io.ccount, routine);
count179drivers/char/tty_io.creturn count;
count292drivers/char/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
count297drivers/char/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, const char * buf, int count)
count688drivers/char/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
count717drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
count725drivers/char/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, const char * buf, int count)
count753drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(const unsigned char *)buf,(unsigned int)count);
count794drivers/char/tty_io.c*tty_loc && (*tty_loc)->count)
count872drivers/char/tty_io.c(*tty_loc)->count++;
count876drivers/char/tty_io.c(*tty_loc)->count--;
count889drivers/char/tty_io.c(*tty_loc)->count++;
count908drivers/char/tty_io.c(*tty_loc)->count--;
count918drivers/char/tty_io.c(*o_tty_loc)->count++;
count988drivers/char/tty_io.ctty->count);
count1024drivers/char/tty_io.cif (--tty->link->count < 0) {
count1026drivers/char/tty_io.ctty->count, tty_name(tty));
count1027drivers/char/tty_io.ctty->link->count = 0;
count1030drivers/char/tty_io.cif (--tty->count < 0) {
count1032drivers/char/tty_io.ctty->count, tty_name(tty));
count1033drivers/char/tty_io.ctty->count = 0;
count1035drivers/char/tty_io.cif (tty->count)
count1042drivers/char/tty_io.cif (o_tty->count)
count1622drivers/char/tty_io.cint    count;
count1641drivers/char/tty_io.ccount = tty->flip.count;
count1642drivers/char/tty_io.ctty->flip.count = 0;
count1646drivers/char/tty_io.cif (count > tty->max_flip_cnt)
count1647drivers/char/tty_io.ctty->max_flip_cnt = count;
count1649drivers/char/tty_io.ctty->ldisc.receive_buf(tty, cp, fp, count);
count63drivers/char/vc_screen.cvcs_read(struct inode *inode, struct file *file, char *buf, int count)
count84drivers/char/vc_screen.cif (count < 0 || p > size)
count86drivers/char/vc_screen.cif (count > size - p)
count87drivers/char/vc_screen.ccount = size - p;
count92drivers/char/vc_screen.cwhile (count-- > 0)
count100drivers/char/vc_screen.cwhile (p < HEADER_SIZE && count-- > 0)
count105drivers/char/vc_screen.cif ((p & 1) && count-- > 0)
count107drivers/char/vc_screen.cwhile (count > 1) {
count110drivers/char/vc_screen.ccount -= 2;
count112drivers/char/vc_screen.cif (count > 0)
count121drivers/char/vc_screen.cvcs_write(struct inode *inode, struct file *file, const char *buf, int count)
count142drivers/char/vc_screen.cif (count < 0 || p > size)
count144drivers/char/vc_screen.cif (count > size - p)
count145drivers/char/vc_screen.ccount = size - p;
count150drivers/char/vc_screen.cwhile (count-- > 0) {
count159drivers/char/vc_screen.cwhile (p < HEADER_SIZE && count-- > 0)
count166drivers/char/vc_screen.cif ((p & 1) && count-- > 0) {
count171drivers/char/vc_screen.cwhile (count > 1) {
count174drivers/char/vc_screen.ccount -= 2;
count176drivers/char/vc_screen.cif (count > 0)
count33drivers/char/vt.c#define VT_IS_IN_USE(i)  (console_driver.table[i] && console_driver.table[i]->count)
count154drivers/char/vt.ckd_mksound(unsigned int count, unsigned int ticks)
count160drivers/char/vt.cif (count) {
count166drivers/char/vt.coutb_p(count & 0xff, 0x42);
count167drivers/char/vt.coutb((count >> 8) & 0xff, 0x42);
count23drivers/char/vt_kern.hvoid kd_mksound(unsigned int count, unsigned int ticks);
count72drivers/net/3c503.cstatic void el2_block_output(struct device *dev, int count,
count74drivers/net/3c503.cstatic int el2_block_input(struct device *dev, int count, char *buf,
count381drivers/net/3c503.cel2_block_output(struct device *dev, int count,
count393drivers/net/3c503.cmemcpy(dest_addr, buf, count);
count394drivers/net/3c503.cif (ei_debug > 2  &&  memcmp(dest_addr, buf, count))
count409drivers/net/3c503.cfor(i = 0; i < count; i++) {
count414drivers/net/3c503.cdev->name, i, count, boguscount);
count425drivers/net/3c503.cel2_block_input(struct device *dev, int count, char *buf, int ring_offset)
count434drivers/net/3c503.cif (dev->mem_start + ring_offset + count > end_of_ring) {
count438drivers/net/3c503.ccount -= semi_count;
count439drivers/net/3c503.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count440drivers/net/3c503.creturn dev->rmem_start + count;
count442drivers/net/3c503.cmemcpy(buf, (char *)dev->mem_start + ring_offset, count);
count443drivers/net/3c503.creturn ring_offset + count;
count453drivers/net/3c503.cfor(i = 0; i < count; i++) {
count458drivers/net/3c503.cdev->name, i, count, boguscount);
count437drivers/net/8390.cpkt_len = rx_frame.count - sizeof(rx_frame);
count457drivers/net/8390.cdev->name, rx_frame.count, rx_frame.status,
count485drivers/net/8390.crx_frame.count);
count162drivers/net/8390.hunsigned short count; /* header + packet length in bytes */
count75drivers/net/ac3200.cstatic int ac_block_input(struct device *dev, int count,
count77drivers/net/ac3200.cstatic void ac_block_output(struct device *dev, const int count,
count243drivers/net/ac3200.cstatic int ac_block_input(struct device *dev, int count, char *buf,
count248drivers/net/ac3200.cif (xfer_start + count > dev->rmem_end) {
count252drivers/net/ac3200.ccount -= semi_count;
count253drivers/net/ac3200.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count254drivers/net/ac3200.creturn dev->rmem_start + count;
count256drivers/net/ac3200.cmemcpy(buf, (char*)xfer_start, count);
count258drivers/net/ac3200.creturn ring_offset + count;
count261drivers/net/ac3200.cstatic void ac_block_output(struct device *dev, int count,
count266drivers/net/ac3200.cmemcpy((unsigned char *)shmem, buf, count);
count119drivers/net/apricot.cunsigned short count;
count217drivers/net/apricot.crfd->count = 0;
count344drivers/net/apricot.cint pkt_len = lp->scb.rfd->count & 0x3fff;
count381drivers/net/apricot.clp->rx_tail->count = 0;
count424drivers/net/apricot.cunsigned short count = *((unsigned short *) (ptr + 1));
count427drivers/net/apricot.ckfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2));
count838drivers/net/apricot.cunsigned short count = *((unsigned short *) (ptr + 1));
count841drivers/net/apricot.ckfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2));
count282drivers/net/de620.cde620_write_block(struct device *dev, byte *buffer, int count)
count289drivers/net/de620.cint bytes = count;
count298drivers/net/de620.cfor ( ; count > 0; --count, ++buffer) {
count307drivers/net/de620.cfor ( ; count > 0; count -=2) {
count318drivers/net/de620.cde620_read_block(struct device *dev, byte *data, int count)
count326drivers/net/de620.cint bytes = count;
count334drivers/net/de620.cwhile (count-- > 0) {
count343drivers/net/de620.cwhile (count-- > 0) {
count102drivers/net/e2100.cstatic int e21_block_input(struct device *dev, int count,
count104drivers/net/e2100.cstatic void e21_block_output(struct device *dev, int count,
count284drivers/net/e2100.ce21_block_input(struct device *dev, int count, char *buf, int ring_offset)
count293drivers/net/e2100.cif (count == 4)
count296drivers/net/e2100.cmemcpy(buf, shared_mem + (ring_offset & 0xff), count);
count305drivers/net/e2100.ce21_block_output(struct device *dev, int count, const unsigned char *buf,
count316drivers/net/e2100.cmemcpy((char*)shared_mem, buf, count);
count104drivers/net/hp-plus.cstatic int hpp_mem_block_input(struct device *dev, int count,
count106drivers/net/hp-plus.cstatic void hpp_mem_block_output(struct device *dev, int count,
count108drivers/net/hp-plus.cstatic int hpp_io_block_input(struct device *dev, int count,
count110drivers/net/hp-plus.cstatic void hpp_io_block_output(struct device *dev, int count,
count314drivers/net/hp-plus.chpp_io_block_input(struct device *dev, int count, char *buf, int ring_offset)
count319drivers/net/hp-plus.cinsw(ioaddr + HP_DATAPORT, buf, count>>1);
count320drivers/net/hp-plus.cif (count & 0x01)
count321drivers/net/hp-plus.cbuf[count-1] = inw(ioaddr + HP_DATAPORT);
count322drivers/net/hp-plus.creturn ring_offset + count;
count326drivers/net/hp-plus.chpp_mem_block_input(struct device *dev, int count, char *buf, int ring_offset)
count335drivers/net/hp-plus.cmemcpy(buf, (char*)dev->mem_start,  (count + 3) & ~3);
count338drivers/net/hp-plus.creturn ring_offset + count;
count344drivers/net/hp-plus.chpp_io_block_output(struct device *dev, int count,
count349drivers/net/hp-plus.coutsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2);
count354drivers/net/hp-plus.chpp_mem_block_output(struct device *dev, int count,
count362drivers/net/hp-plus.cmemcpy((char *)dev->mem_start, buf, (count + 3) & ~3);
count63drivers/net/hp.cstatic int hp_block_input(struct device *dev, int count,
count65drivers/net/hp.cstatic void hp_block_output(struct device *dev, int count,
count223drivers/net/hp.chp_block_input(struct device *dev, int count, char *buf, int ring_offset)
count227drivers/net/hp.cint xfer_count = count;
count231drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count232drivers/net/hp.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
count237drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
count238drivers/net/hp.cif (count & 0x01)
count239drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
count241drivers/net/hp.cinsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
count254drivers/net/hp.creturn ring_offset + count;
count258drivers/net/hp.chp_block_output(struct device *dev, int count,
count268drivers/net/hp.cif (ei_status.word16 && (count & 0x01))
count269drivers/net/hp.ccount++;
count287drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count288drivers/net/hp.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
count295drivers/net/hp.coutsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
count297drivers/net/hp.coutsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
count307drivers/net/hp.cif ((start_page << 8) + count != addr)
count309drivers/net/hp.cdev->name, (start_page << 8) + count, addr);
count95drivers/net/ne.cstatic int ne_block_input(struct device *dev, int count,
count97drivers/net/ne.cstatic void ne_block_output(struct device *dev, const int count,
count375drivers/net/ne.cne_block_input(struct device *dev, int count, char *buf, int ring_offset)
count379drivers/net/ne.cint xfer_count = count;
count393drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count394drivers/net/ne.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
count399drivers/net/ne.cinsw(NE_BASE + NE_DATAPORT,buf,count>>1);
count400drivers/net/ne.cif (count & 0x01) {
count401drivers/net/ne.cbuf[count-1] = inb(NE_BASE + NE_DATAPORT);
count407drivers/net/ne.cinsb(NE_BASE + NE_DATAPORT, buf, count);
count434drivers/net/ne.creturn ring_offset + count;
count438drivers/net/ne.cne_block_output(struct device *dev, int count,
count450drivers/net/ne.cif (ei_status.word16 && (count & 0x01))
count451drivers/net/ne.ccount++;
count489drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count490drivers/net/ne.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
count496drivers/net/ne.coutsw(NE_BASE + NE_DATAPORT, buf, count>>1);
count498drivers/net/ne.coutsb(NE_BASE + NE_DATAPORT, buf, count);
count512drivers/net/ne.cif ((start_page << 8) + count == addr)
count518drivers/net/ne.cdev->name, (start_page << 8) + count, addr);
count155drivers/net/ppp.cchar *fp, int count);
count680drivers/net/ppp.cregister int count = ppp->xhead - ppp->xbuff;
count683drivers/net/ppp.cppp->stats.sbytes += count;
count687drivers/net/ppp.ccount,
count705drivers/net/ppp.cregister int count, actual;
count707drivers/net/ppp.ccount = ppp->xhead - ppp->xbuff;
count709drivers/net/ppp.cactual = ppp->tty->driver.write(ppp->tty, 0, ppp->xbuff, count);
count711drivers/net/ppp.cif (actual == count) {
count721drivers/net/ppp.cregister int count, actual;
count742drivers/net/ppp.ccount = ppp->xhead - ppp->xtail;
count744drivers/net/ppp.cactual = tty->driver.write(tty, 0, ppp->xtail, count);
count746drivers/net/ppp.cif (actual == count) {
count797drivers/net/ppp.ci, count;
count804drivers/net/ppp.ccount = 0;
count807drivers/net/ppp.cbuffer [count] = tty->read_q.buf[i];
count808drivers/net/ppp.cif (++count == 8) {
count810drivers/net/ppp.ccount = 0;
count814drivers/net/ppp.cppp_print_buffer (NULL, buffer, count, KERNEL_DS);
count922drivers/net/ppp.cchar *fp, int count)
count938drivers/net/ppp.cppp_print_buffer ("receive buffer", cp, count, KERNEL_DS);
count941drivers/net/ppp.cppp->stats.rbytes += count;
count943drivers/net/ppp.cwhile (count-- > 0) {
count1000drivers/net/ppp.cint count = ppp->rcount;
count1012drivers/net/ppp.cif (count == 0)
count1016drivers/net/ppp.cppp_print_buffer ("receive frame", c, count, KERNEL_DS);
count1018drivers/net/ppp.cif (count < 4) {
count1019drivers/net/ppp.cPRINTKN (1,(KERN_WARNING "ppp: got runt ppp frame, %d chars\n", count));
count1033drivers/net/ppp.ccount -= 2;      /* ignore last two characters */
count1039drivers/net/ppp.ccount -= 2;
count1044drivers/net/ppp.ccount--;
count1047drivers/net/ppp.ccount -= 2;
count1051drivers/net/ppp.cif ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) {
count1062drivers/net/ppp.cif (ppp_us_queue (ppp, proto, c, count+2)) {
count1081drivers/net/ppp.cint count)
count1087drivers/net/ppp.c(int) proto, count, c[0]));
count1091drivers/net/ppp.c(int) proto, count));
count1119drivers/net/ppp.ccount = slhc_uncompress(ppp->slcomp, c, count);
count1120drivers/net/ppp.cif (count <= 0) {
count1131drivers/net/ppp.cif (slhc_remember(ppp->slcomp, c, count) <= 0) {
count1148drivers/net/ppp.ciph->saddr, iph->daddr, count))
count1153drivers/net/ppp.cskb=dev_alloc_skb(count);
count1157drivers/net/ppp.cmemcpy(skb_put(skb,count), c,count);
count2024drivers/net/ppp.cstatic inline void ppp_print_hex (register char *out, const char *in, int count)
count2028drivers/net/ppp.cwhile (count-- > 0) {
count2038drivers/net/ppp.cstatic inline void ppp_print_char (register char *out, const char *in, int count)
count2042drivers/net/ppp.cwhile (count-- > 0) {
count2057drivers/net/ppp.cstatic void ppp_print_buffer(const char *name, const char *buf, int count, int seg)
count2065drivers/net/ppp.cPRINTK ((KERN_DEBUG "ppp: %s, count = %d\n", name, count));
count2067drivers/net/ppp.cwhile (count > 8) {
count2072drivers/net/ppp.ccount -= 8;
count2076drivers/net/ppp.cif (count > 0) {
count2078drivers/net/ppp.cppp_print_hex  (line, buf, count);
count2079drivers/net/ppp.cppp_print_char (&line[8 * 3], buf, count);
count343drivers/net/slip.cint count;
count345drivers/net/slip.ccount = sl->rcount;
count356drivers/net/slip.cif (count + 80 > sl->buffsize) {
count360drivers/net/slip.ccount = slhc_uncompress(sl->slcomp, sl->rbuff, count);
count361drivers/net/slip.cif (count <= 0) {
count372drivers/net/slip.cif (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0) {
count379drivers/net/slip.cskb = dev_alloc_skb(count);
count386drivers/net/slip.cmemcpy(skb_put(skb,count), sl->rbuff, count);
count401drivers/net/slip.cint actual, count;
count428drivers/net/slip.ccount = slip_esc6(p, (unsigned char *) sl->xbuff, len);
count431drivers/net/slip.ccount = slip_esc(p, (unsigned char *) sl->xbuff, len);
count442drivers/net/slip.cactual = sl->tty->driver.write(sl->tty, 0, sl->xbuff, count);
count446drivers/net/slip.csl->xleft = count - actual;
count682drivers/net/slip.cslip_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count)
count702drivers/net/slip.cwhile (count--) {
count69drivers/net/smc-ultra.cstatic int ultra_block_input(struct device *dev, int count,
count71drivers/net/smc-ultra.cstatic void ultra_block_output(struct device *dev, int count,
count260drivers/net/smc-ultra.cultra_block_input(struct device *dev, int count, char *buf, int ring_offset)
count268drivers/net/smc-ultra.cif (xfer_start + count > (void*) dev->rmem_end) {
count272drivers/net/smc-ultra.ccount -= semi_count;
count273drivers/net/smc-ultra.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count275drivers/net/smc-ultra.creturn dev->rmem_start + count;
count277drivers/net/smc-ultra.cmemcpy(buf, xfer_start, count);
count280drivers/net/smc-ultra.creturn ring_offset + count;
count284drivers/net/smc-ultra.cultra_block_output(struct device *dev, int count, const unsigned char *buf,
count293drivers/net/smc-ultra.cmemcpy(shmem, buf, count);
count48drivers/net/wd.cstatic int wd_block_input(struct device *dev, int count,
count50drivers/net/wd.cstatic void wd_block_output(struct device *dev, int count,
count325drivers/net/wd.cwd_block_input(struct device *dev, int count, char *buf, int ring_offset)
count332drivers/net/wd.cif (count == 4) {
count339drivers/net/wd.cif (xfer_start + count > dev->rmem_end) {
count343drivers/net/wd.ccount -= semi_count;
count344drivers/net/wd.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count346drivers/net/wd.cmemcpy(buf, (char *)xfer_start, count);
count356drivers/net/wd.cwd_block_output(struct device *dev, int count, const unsigned char *buf,
count366drivers/net/wd.cmemcpy((char *)shmem, buf, count);
count369drivers/net/wd.cmemcpy((char *)shmem, buf, count);
count495drivers/net/znet.cint count, status;
count511drivers/net/znet.ccount = ((hi_cnt & 0xff) << 8) + (lo_cnt & 0xff);
count517drivers/net/znet.ccount, status);
count520drivers/net/znet.ccur_frame_end[-2] = count;
count522drivers/net/znet.ccur_frame_end_offset -= ((count + 1)>>1) + 3;
count987drivers/scsi/53c7,8xx.cint count;      /* Number of boards detected */
count992drivers/scsi/53c7,8xx.cfor (current_override = count = 0; current_override < OVERRIDE_LIMIT; 
count1010drivers/scsi/53c7,8xx.c++count;
count1022drivers/scsi/53c7,8xx.c++count, ++pci_index);
count1024drivers/scsi/53c7,8xx.creturn count;
count2150drivers/scsi/53c7,8xx.cchar *buf,int count) {
count2163drivers/scsi/53c7,8xx.cif (error = verify_area(VERIFY_READ,buf,count))
count2166drivers/scsi/53c7,8xx.cif (count > 80) 
count2169drivers/scsi/53c7,8xx.cmemcpy_from_fs(input_buf, buf, count);
count2171drivers/scsi/53c7,8xx.cif (input_buf[count - 1] != '\n')
count2174drivers/scsi/53c7,8xx.cinput_buf[count - 1]=0;
count2198drivers/scsi/53c7,8xx.creturn count;
count2202drivers/scsi/53c7,8xx.cchar *buf,int count) {
count2600drivers/scsi/53c7,8xx.cu32 count = cmd->use_sg ?
count2606drivers/scsi/53c7,8xx.c<< 24) | count;
count2620drivers/scsi/53c7,8xx.c| count;
count957drivers/scsi/53c7,8xx.hu32 count;
count1466drivers/scsi/NCR5380.cunsigned char *phase, int *count, unsigned char **data) {
count1469drivers/scsi/NCR5380.cregister int c = *count;
count1570drivers/scsi/NCR5380.c*count = c;
count1606drivers/scsi/NCR5380.cunsigned char *phase, int *count, unsigned char **data) {
count1608drivers/scsi/NCR5380.cregister int c = *count;
count1765drivers/scsi/NCR5380.c*count -= c;
count1777drivers/scsi/NCR5380.c*count -= 1;
count1787drivers/scsi/NCR5380.c*count -= toPIO - cnt;
count1793drivers/scsi/NCR5380.c*data, *count, *(*data+*count-1), *(*data+*count));
count1883drivers/scsi/NCR5380.c*count = 0;
count296drivers/scsi/NCR5380.hunsigned char *phase, int *count, unsigned char **data);
count299drivers/scsi/NCR5380.hunsigned char *phase, int *count, unsigned char **data);
count303drivers/scsi/NCR5380.hunsigned char *ptr, unsigned int count, unsigned char mode) {
count307drivers/scsi/NCR5380.hif (count > 65536)
count308drivers/scsi/NCR5380.hcount = 65536;
count311drivers/scsi/NCR5380.hif (count > 65536 * 2) 
count312drivers/scsi/NCR5380.hcount = 65536 * 2;
count316drivers/scsi/NCR5380.hif (count > limit) count = limit;
count318drivers/scsi/NCR5380.hif ((count & 1) || (((unsigned) ptr) & 1))
count324drivers/scsi/NCR5380.hset_dma_count(instance->dma_channel, count);
count328drivers/scsi/NCR5380.hreturn count;
count332drivers/scsi/NCR5380.hunsigned char *src, unsigned int count) {
count333drivers/scsi/NCR5380.hreturn NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_WRITE);
count337drivers/scsi/NCR5380.hunsigned char *src, unsigned int count) {
count338drivers/scsi/NCR5380.hreturn NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_READ);
count926drivers/scsi/aha1542.cint count = 0;
count1061drivers/scsi/aha1542.ccount++;
count1068drivers/scsi/aha1542.creturn count;
count1074drivers/scsi/aha1542.cint count = 0;
count1086drivers/scsi/aha1542.ccount++;
count1089drivers/scsi/aha1542.cprintk("Potential to restart %d stalled commands...\n", count);
count1092drivers/scsi/aha1542.cif (count) aha1542_out(shost->io_port, &ahacmd, 1);
count804drivers/scsi/buslogic.cunsigned char cmd, count;
count1118drivers/scsi/buslogic.cint count = 0;
count1313drivers/scsi/buslogic.ccount++;
count1318drivers/scsi/buslogic.creturn count;
count1324drivers/scsi/buslogic.cunsigned int count = 0;
count1336drivers/scsi/buslogic.ccount++;
count1339drivers/scsi/buslogic.cbuslogic_printk("potential to restart %d stalled commands...\n", count);
count1342drivers/scsi/buslogic.cif (count)
count121drivers/scsi/g_NCR5380.cint count;
count124drivers/scsi/g_NCR5380.cfor (count = 0; current_override < NO_OVERRIDES; ++current_override) {
count161drivers/scsi/g_NCR5380.c++count;
count163drivers/scsi/g_NCR5380.creturn count;
count183drivers/scsi/in2000.cunsigned count, infcnt, txcnt;
count189drivers/scsi/in2000.ccount = (infcnt << 3) - 32;  /* don't fill completely */
count190drivers/scsi/in2000.cif ( count > in2000_datalen )
count191drivers/scsi/in2000.ccount = in2000_datalen;  /* limit to actual data on hand */
count192drivers/scsi/in2000.ccount >>= 1;    /* Words, not bytes */
count194drivers/scsi/in2000.cif ( count ) {
count195drivers/scsi/in2000.cport_write(INFIFO, in2000_dataptr, count);
count196drivers/scsi/in2000.cin2000_datalen -= (count<<1);
count199drivers/scsi/in2000.cwhile ( count-- )
count216drivers/scsi/in2000.ccount = 32;  /* Always says to use this much flush */
count217drivers/scsi/in2000.cwhile ( count-- )
count225drivers/scsi/in2000.cunsigned fic, count, count2;
count227drivers/scsi/in2000.ccount = inb(INFCNT) & 0xe1;
count229drivers/scsi/in2000.ccount2 = count;
count230drivers/scsi/in2000.ccount = (fic = inb(INFCNT)) & 0xe1;
count231drivers/scsi/in2000.c} while ( count != count2 );
count237drivers/scsi/in2000.cif(fic > 128) count = 1024;
count238drivers/scsi/in2000.celse if(fic > 64) count = 512;
count239drivers/scsi/in2000.celse if (fic > 32) count = 256;
count241drivers/scsi/in2000.ccount = in2000_datalen - count2;  /* FIFO has the rest */
count242drivers/scsi/in2000.cif ( count > in2000_datalen )  /* count2 is lesser of FIFO & rqst */
count245drivers/scsi/in2000.ccount2 = count >> 1;
count246drivers/scsi/in2000.ccount >>= 1;    /* also to words */
count247drivers/scsi/in2000.ccount -= count2;  /* extra left over in FIFO */
count278drivers/scsi/in2000.cunsigned int count,auxstatus,scsistatus,cmdphase,scsibyte;
count284drivers/scsi/in2000.cif (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) ||
count294drivers/scsi/in2000.cDEB(printk("(int2000:%02x %02x %02x %02x %02x)\n",count,auxstatus,
count351drivers/scsi/pas16.cint  count;
count353drivers/scsi/pas16.cfor (count = 0; current_override < NO_OVERRIDES; ++current_override) {
count426drivers/scsi/pas16.c++count;
count428drivers/scsi/pas16.creturn count;
count640drivers/scsi/sd.cint count, this_count_max;
count646drivers/scsi/sd.ccount = 0;
count654drivers/scsi/sd.cif (count < SCpnt->host->sg_tablesize) count++;
count663drivers/scsi/sd.c((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--;
count665drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
count666drivers/scsi/sd.ccount = 512;/* scsi_malloc can only allocate in chunks of 512 bytes */
count667drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
count668drivers/scsi/sd.ccount = count << 1;
count669drivers/scsi/sd.cSCpnt->sglist_len = count;
count670drivers/scsi/sd.cmax_sg = count / sizeof(struct scatterlist);
count673drivers/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
count680drivers/scsi/sd.cmemset(sgpnt, 0, count);  /* Zero so it is easy to fill, but only
count685drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext;
count686drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
count687drivers/scsi/sd.ccount++, bh = bhp) {
count691drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
count692drivers/scsi/sd.csgpnt[count].length += bh->b_size;
count695drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length - 1 > 
count697drivers/scsi/sd.c!sgpnt[count].alt_address) {
count698drivers/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
count703drivers/scsi/sd.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 10) {
count704drivers/scsi/sd.csgpnt[count].address = NULL;
count706drivers/scsi/sd.csgpnt[count].address = 
count707drivers/scsi/sd.c(char *) scsi_malloc(sgpnt[count].length);
count714drivers/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
count718drivers/scsi/sd.cwhile(--count >= 0){
count719drivers/scsi/sd.cif(sgpnt[count].alt_address) 
count720drivers/scsi/sd.cscsi_free(sgpnt[count].address, 
count721drivers/scsi/sd.csgpnt[count].length);
count728drivers/scsi/sd.cSCpnt->use_sg = count;
count743drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length +
count746drivers/scsi/sd.c!sgpnt[count].alt_address) continue;
count748drivers/scsi/sd.cif(!sgpnt[count].alt_address) {count--; continue; }
count750drivers/scsi/sd.ctmp = (char *) scsi_malloc(sgpnt[count].length 
count757drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
count758drivers/scsi/sd.csgpnt[count].address = tmp;
count759drivers/scsi/sd.ccount--;
count774drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg 
count778drivers/scsi/sd.cSCpnt->use_sg, count, dma_free_sectors);
count786drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
count787drivers/scsi/sd.cprintk("{%d:%p %p %d}  ", count,
count788drivers/scsi/sd.csgpnt[count].address,
count789drivers/scsi/sd.csgpnt[count].alt_address,
count790drivers/scsi/sd.csgpnt[count].length);
count795drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
count796drivers/scsi/sd.cif(sgpnt[count].alt_address)
count797drivers/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
count798drivers/scsi/sd.csgpnt[count].length);
count248drivers/scsi/seagate.cregister int count = 0, start = jiffies + 1, stop = start + 25;
count251drivers/scsi/seagate.cfor (;jiffies < stop; ++count);
count258drivers/scsi/seagate.cborken_calibration =  (count * 4) / (SLOW_RATE*1024);
count269drivers/scsi/seagate.cregister int count;
count270drivers/scsi/seagate.cfor (count = borken_calibration; count && (STATUS & STAT_REQ); 
count271drivers/scsi/seagate.c--count);
count273drivers/scsi/seagate.cif (count)
count203drivers/scsi/sg.cstatic int sg_read(struct inode *inode,struct file *filp,char *buf,int count)
count208drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
count228drivers/scsi/sg.cif (count>=sizeof(struct sg_header))
count232drivers/scsi/sg.cif (count>device->header.pack_len)
count233drivers/scsi/sg.ccount=device->header.pack_len;
count234drivers/scsi/sg.cif (count > sizeof(struct sg_header)) {
count235drivers/scsi/sg.cmemcpy_tofs(buf,device->buff,count-sizeof(struct sg_header));
count239drivers/scsi/sg.ccount=0;
count249drivers/scsi/sg.creturn count;
count292drivers/scsi/sg.cstatic int sg_write(struct inode *inode,struct file *filp,const char *buf,int count)
count302drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
count308drivers/scsi/sg.cif (count<(sizeof(struct sg_header) + 6))
count338drivers/scsi/sg.cdevice->header.pack_len=count;
count415drivers/scsi/sg.cif( count < (sizeof(struct sg_header) + size) )
count459drivers/scsi/sg.creturn count;
count721drivers/scsi/sr.cint count, this_count_max;
count724drivers/scsi/sr.ccount = 0;
count729drivers/scsi/sr.cif(this_count) count++;
count730drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
count733drivers/scsi/sr.ccount++;
count739drivers/scsi/sr.cif (count < SCpnt->host->sg_tablesize) {
count740drivers/scsi/sr.ccount++;
count744drivers/scsi/sr.ccount--;
count748drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
count749drivers/scsi/sr.ccount = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/
count750drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
count751drivers/scsi/sr.ccount = count << 1;
count752drivers/scsi/sr.cSCpnt->sglist_len = count;
count753drivers/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
count759drivers/scsi/sr.ccount = 0;
count762drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
count763drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
count764drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
count765drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
count767drivers/scsi/sr.ccount++;
count769drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
count770drivers/scsi/sr.ccount++, bh = bh->b_reqnext) {
count772drivers/scsi/sr.csgpnt[count].address = bh->b_data;
count773drivers/scsi/sr.csgpnt[count].length = bh->b_size;
count774drivers/scsi/sr.csgpnt[count].alt_address = NULL;
count776drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(end_rec);
count777drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
count778drivers/scsi/sr.csgpnt[count].length = end_rec;
count779drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
count780drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
count783drivers/scsi/sr.cif (((long) sgpnt[count].address) + sgpnt[count].length > ISA_DMA_THRESHOLD &&
count785drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
count789drivers/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
count790drivers/scsi/sr.csgpnt[count].address = NULL;
count792drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
count798drivers/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
count801drivers/scsi/sr.cwhile(--count >= 0){
count802drivers/scsi/sr.cif(sgpnt[count].alt_address) 
count803drivers/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
count816drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
count817drivers/scsi/sr.cprintk("SGlist: %d %x %x %x\n", count,
count818drivers/scsi/sr.csgpnt[count].address, 
count819drivers/scsi/sr.csgpnt[count].alt_address, 
count820drivers/scsi/sr.csgpnt[count].length);
count761drivers/scsi/st.cst_write(struct inode * inode, struct file * filp, const char * buf, int count)
count795drivers/scsi/st.cif (STp->block_size == 0 && count > st_buffer_size)
count836drivers/scsi/st.cif (STp->block_size != 0 && (count % STp->block_size) != 0)
count847drivers/scsi/st.ctotal = count;
count856drivers/scsi/st.cwhile((STp->block_size == 0 && !STp->do_async_writes && count > 0) ||
count858drivers/scsi/st.c(STp->buffer)->buffer_bytes + count > write_threshold))
count862drivers/scsi/st.cdo_count = count;
count865drivers/scsi/st.cif (do_count > count)
count866drivers/scsi/st.cdo_count = count;
count912drivers/scsi/st.ccount -= do_count - transfer;
count945drivers/scsi/st.cif (count < total)
count946drivers/scsi/st.creturn total - count;
count952drivers/scsi/st.ccount -= do_count;
count962drivers/scsi/st.cif (count != 0) {
count965drivers/scsi/st.c(STp->buffer)->buffer_bytes,b_point,count);
count966drivers/scsi/st.cfilp->f_pos += count;
count967drivers/scsi/st.c(STp->buffer)->buffer_bytes += count;
count968drivers/scsi/st.ccount = 0;
count1012drivers/scsi/st.cst_read(struct inode * inode, struct file * filp, char * buf, int count)
count1033drivers/scsi/st.cif (STp->block_size == 0 && count > st_buffer_size)
count1037drivers/scsi/st.c(count % STp->block_size) != 0)
count1066drivers/scsi/st.cfor (total = 0; total < count; ) {
count1075drivers/scsi/st.cblks = bytes = count;
count1082drivers/scsi/st.cbytes = count;
count1217drivers/scsi/st.c(STp->buffer)->buffer_bytes, count - total);
count1219drivers/scsi/st.ctransfer = (STp->buffer)->buffer_bytes < count - total ?
count1220drivers/scsi/st.c(STp->buffer)->buffer_bytes : count - total;
count1246drivers/scsi/st.ccount = total;  /* Read only one variable length block */
count198drivers/scsi/t128.cint sig, count;
count200drivers/scsi/t128.cfor (count = 0; current_override < NO_OVERRIDES; ++current_override) {
count267drivers/scsi/t128.c++count;
count269drivers/scsi/t128.creturn count;
count112drivers/sound/ad1848.cstatic void     ad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count113drivers/sound/ad1848.cstatic void     ad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count815drivers/sound/ad1848.cad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count820drivers/sound/ad1848.ccnt = count;
count852drivers/sound/ad1848.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count891drivers/sound/ad1848.cad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count898drivers/sound/ad1848.ccnt = count;
count927drivers/sound/ad1848.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count183drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count191drivers/sound/audio.cc = count;
count202drivers/sound/audio.cif (!count)      /*
count281drivers/sound/audio.creturn count;
count285drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count293drivers/sound/audio.cc = count;
count347drivers/sound/audio.creturn count - c;
count502drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count508drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count1326drivers/sound/configure.cint             count;
count1338drivers/sound/configure.ccount = read (fd, &c, 1);
count1339drivers/sound/configure.cif (count == 0)
count135drivers/sound/dev_table.hint count, int intrflag, int dma_restart);
count137drivers/sound/dev_table.hint count, int intrflag, int dma_restart);
count174drivers/sound/dev_table.hint offs, int count, int pmgr_flag);
count452drivers/sound/dmabuf.cint             bytes, count;
count462drivers/sound/dmabuf.ccount = (fact >> 16) & 0xffff;
count464drivers/sound/dmabuf.cif (count == 0)
count465drivers/sound/dmabuf.ccount = MAX_SUB_BUFFERS;
count470drivers/sound/dmabuf.cif (count < 2)
count474drivers/sound/dmabuf.cdmap->max_fragments = count;
count484drivers/sound/dmabuf.creturn IOCTL_OUT (arg, bytes | (count << 16));
count684drivers/sound/dmabuf.cDMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
count760drivers/sound/dmabuf.cset_dma_count (chan, count);
count767drivers/sound/dmabuf.ccount,
count774drivers/sound/dmabuf.csnd_dma_prog (chan, physaddr, count, dma_mode, FALSE);
count778drivers/sound/dmabuf.cphysaddr, count);
count789drivers/sound/dmabuf.creturn count;
count1064drivers/sound/dmabuf.cDMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
count1508drivers/sound/gus_wave.cint offs, int count, int pmgr_flag)
count1524drivers/sound/gus_wave.cif (count < sizeof_patch)
count1530drivers/sound/gus_wave.ccount -= sizeof_patch;
count1553drivers/sound/gus_wave.cif (count < patch.len)
count1556drivers/sound/gus_wave.ccount, (int) patch.len);
count1557drivers/sound/gus_wave.cpatch.len = count;
count2224drivers/sound/gus_wave.cint             this_one, count;
count2231drivers/sound/gus_wave.ccount = total_count / gus_sampling_channels;
count2241drivers/sound/gus_wave.cpcm_datasize[this_one] = count;
count2247drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
count2281drivers/sound/gus_wave.cif (!pcm_active && (pcm_qlen > 0 || count < pcm_bsize))
count2310drivers/sound/gus_wave.cgus_sampling_start_input (int dev, unsigned long buf, int count,
count2318drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count461drivers/sound/midi_synth.cint offs, int count, int pmgr_flag)
count480drivers/sound/midi_synth.cif (count < hdr_size)
count486drivers/sound/midi_synth.ccount -= hdr_size;
count495drivers/sound/midi_synth.cif (count < sysex.len)
count498drivers/sound/midi_synth.ccount, (int) sysex.len);
count499drivers/sound/midi_synth.csysex.len = count;
count11drivers/sound/midi_synth.hint offs, int count, int pmgr_flag);
count279drivers/sound/midibuf.cMIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count287drivers/sound/midibuf.cif (!count)
count294drivers/sound/midibuf.cwhile (c < count)
count312drivers/sound/midibuf.cif (n > (count - c))
count313drivers/sound/midibuf.cn = count - c;
count330drivers/sound/midibuf.cMIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count357drivers/sound/midibuf.cif (n > count)
count358drivers/sound/midibuf.cn = count;
count917drivers/sound/opl3.cint offs, int count, int pmgr_flag)
count921drivers/sound/opl3.cif (count < sizeof (ins))
count269drivers/sound/pas2_pcm.cpas_pcm_output_block (int dev, unsigned long buf, int count,
count274drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static void pas_pcm_output_block(char *buf = %P, int count = %X)\n", buf, count));
count276drivers/sound/pas2_pcm.ccnt = count;
count293drivers/sound/pas2_pcm.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count296drivers/sound/pas2_pcm.ccount >>= 1;
count298drivers/sound/pas2_pcm.cif (count != pcm_count)
count302drivers/sound/pas2_pcm.cpas_write (count & 0xff, SAMPLE_BUFFER_COUNTER);
count303drivers/sound/pas2_pcm.cpas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER);
count306drivers/sound/pas2_pcm.cpcm_count = count;
count317drivers/sound/pas2_pcm.cpas_pcm_start_input (int dev, unsigned long buf, int count,
count323drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static void pas_pcm_start_input(char *buf = %P, int count = %X)\n", buf, count));
count325drivers/sound/pas2_pcm.ccnt = count;
count339drivers/sound/pas2_pcm.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count342drivers/sound/pas2_pcm.ccount >>= 1;
count344drivers/sound/pas2_pcm.cif (count != pcm_count)
count348drivers/sound/pas2_pcm.cpas_write (count & 0xff, SAMPLE_BUFFER_COUNTER);
count349drivers/sound/pas2_pcm.cpas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER);
count352drivers/sound/pas2_pcm.cpcm_count = count;
count86drivers/sound/patmgr.cpmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count91drivers/sound/patmgr.cif (count != sizeof (struct patmgr_info))
count109drivers/sound/patmgr.cCOPY_TO_USER (buf, 0, (char *) mbox[dev], count);
count120drivers/sound/patmgr.creturn count;
count124drivers/sound/patmgr.cpmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count128drivers/sound/patmgr.cif (count < 4)
count145drivers/sound/patmgr.cbuf, 4, count, 1);
count148drivers/sound/patmgr.cif (count != sizeof (struct patmgr_info))
count163drivers/sound/patmgr.cCOPY_FROM_USER (&((char *) mbox[dev])[4], buf, 4, count - 4);
count174drivers/sound/patmgr.creturn count;
count231drivers/sound/pss.cint             i, limit, val, count;
count249drivers/sound/pss.ccount = 1;
count264drivers/sound/pss.cif (count >= size && flags & CPF_LAST)
count269drivers/sound/pss.ccount, size);
count275drivers/sound/pss.ccount++;
count71drivers/sound/sb16_dsp.cstatic void     sb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count72drivers/sound/sb16_dsp.cstatic void     sb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count274drivers/sound/sb16_dsp.csb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count278drivers/sound/sb16_dsp.ccnt = count;
count284drivers/sound/sb16_dsp.cprintk ("output_block: %x %d %d\n", buf, count, intrflag);
count313drivers/sound/sb16_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count331drivers/sound/sb16_dsp.csb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count335drivers/sound/sb16_dsp.ccnt = count;
count341drivers/sound/sb16_dsp.cprintk ("start_input: %x %d %d\n", buf, count, intrflag);
count370drivers/sound/sb16_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count411drivers/sound/sb_dsp.csb_dsp_output_block (int dev, unsigned long buf, int count,
count420drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count423drivers/sound/sb_dsp.ccount >>= 1;
count424drivers/sound/sb_dsp.ccount--;
count433drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count434drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count450drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count451drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count461drivers/sound/sb_dsp.csb_dsp_start_input (int dev, unsigned long buf, int count, int intrflag,
count474drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count477drivers/sound/sb_dsp.ccount >>= 1;
count478drivers/sound/sb_dsp.ccount--;
count487drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count488drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count504drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count505drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count99drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count101drivers/sound/sequencer.cint             c = count, p = 0;
count112drivers/sound/sequencer.creturn pmgr_read (dev - 1, file, buf, count);
count144drivers/sound/sequencer.creturn count - c;
count238drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count247drivers/sound/sequencer.cDEB (printk ("sequencer_write(dev=%d, count=%d)\n", dev, count));
count255drivers/sound/sequencer.creturn pmgr_write (dev - 1, file, buf, count);
count257drivers/sound/sequencer.cc = count;
count296drivers/sound/sequencer.creturn count - c;
count343drivers/sound/sequencer.cint             processed = count - c;
count361drivers/sound/sequencer.creturn count;      /* This will "eat" chunks shorter than 4 bytes (if written
count1911drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count1917drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count13drivers/sound/sound_calls.hint DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode);
count27drivers/sound/sound_calls.hint audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count28drivers/sound/sound_calls.hint audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count44drivers/sound/sound_calls.hint sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count45drivers/sound/sound_calls.hint sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count66drivers/sound/sound_calls.hint MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count67drivers/sound/sound_calls.hint MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count73drivers/sound/sound_calls.hvoid MIDIbuf_bytes_received(int dev, unsigned char *buf, int count);
count87drivers/sound/sound_calls.hint   CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count88drivers/sound/sound_calls.hint   CMIDI_read  (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count99drivers/sound/sound_calls.hvoid request_sound_timer (int count);
count108drivers/sound/sound_calls.hint sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count109drivers/sound/sound_calls.hint sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count212drivers/sound/sound_calls.hint pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
count213drivers/sound/sound_calls.hint pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
count246drivers/sound/sound_calls.hint pss_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count247drivers/sound/sound_calls.hint pss_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count286drivers/sound/sound_switch.cread_status (snd_rw_buf * buf, int count)
count293drivers/sound/sound_switch.cl = count;
count308drivers/sound/sound_switch.csound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count310drivers/sound/sound_switch.cDEB (printk ("sound_read_sw(dev=%d, count=%d)\n", dev, count));
count315drivers/sound/sound_switch.creturn read_status (buf, count);
count321drivers/sound/sound_switch.creturn audio_read (dev, file, buf, count);
count326drivers/sound/sound_switch.creturn sequencer_read (dev, file, buf, count);
count331drivers/sound/sound_switch.creturn MIDIbuf_read (dev, file, buf, count);
count342drivers/sound/sound_switch.csound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count345drivers/sound/sound_switch.cDEB (printk ("sound_write_sw(dev=%d, count=%d)\n", dev, count));
count352drivers/sound/sound_switch.creturn sequencer_write (dev, file, buf, count);
count358drivers/sound/sound_switch.creturn audio_write (dev, file, buf, count);
count363drivers/sound/sound_switch.creturn MIDIbuf_write (dev, file, buf, count);
count370drivers/sound/sound_switch.creturn count;
count57drivers/sound/soundcard.csound_read (struct inode *inode, struct file *file, char *buf, int count)
count64drivers/sound/soundcard.creturn sound_read_sw (dev, &files[dev], buf, count);
count68drivers/sound/soundcard.csound_write (struct inode *inode, struct file *file, char *buf, int count)
count80drivers/sound/soundcard.creturn sound_write_sw (dev, &files[dev], buf, count);
count384drivers/sound/soundcard.crequest_sound_timer (int count)
count389drivers/sound/soundcard.cif (count < 0)
count390drivers/sound/soundcard.ccount = jiffies + (-count);
count392drivers/sound/soundcard.ccount += seq_time;
count394drivers/sound/soundcard.ctimer_table[SOUND_TIMER].expires = count;
count155drivers/sound/sscape.chost_write (struct sscape_info *devc, unsigned char *data, int count)
count166drivers/sound/sscape.cfor (i = 0; i < count; i++)
count763drivers/sound/sscape.csscape_audio_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count768drivers/sound/sscape.csscape_audio_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count74drivers/sound/uart6850.cint             count;
count76drivers/sound/uart6850.ccount = 10;
count78drivers/sound/uart6850.cwhile (count)      /*
count85drivers/sound/uart6850.ccount = 100;
count91drivers/sound/uart6850.cwhile (!input_avail () && count)
count92drivers/sound/uart6850.ccount--;
count23fs/block_dev.cint block_write(struct inode * inode, struct file * filp, const char * buf, int count)
count63fs/block_dev.cwhile (count>0) {
count67fs/block_dev.cif (chars > count)
count68fs/block_dev.cchars=count;
count122fs/block_dev.ccount -= chars;
count160fs/block_dev.cint block_read(struct inode * inode, struct file * filp, char * buf, int count)
count205fs/block_dev.cif (left > count)
count206fs/block_dev.cleft = count;
count485fs/exec.cchar * addr, unsigned long count, int to_kmem)
count512fs/exec.cresult = file.f_op->read(inode, &file, addr, count);
count515fs/exec.cresult = verify_area(VERIFY_WRITE, addr, count);
count518fs/exec.cresult = file.f_op->read(inode, &file, addr, count);
count534fs/exec.cif (current->mm->count > 1) {
count542fs/exec.cmm->count = 1;
count545fs/exec.ccurrent->mm->count--;
count624fs/exec.cif ((bprm.argc = count(argv)) < 0)
count626fs/exec.cif ((bprm.envc = count(envp)) < 0)
count23fs/ext/dir.cstatic int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count72fs/ext/file.cstatic int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count)
count96fs/ext/file.cif (left > count)
count97fs/ext/file.cleft = count;
count197fs/ext/file.cstatic int ext_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
count221fs/ext/file.cwhile (written<count) {
count229fs/ext/file.cif (c > count-written)
count230fs/ext/file.cc = count-written;
count61fs/ext/freelists.cif (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) {
count72fs/ext/freelists.cefb->count = 0;
count75fs/ext/freelists.cefb->free[efb->count++] = block;
count98fs/ext/freelists.cif (efb->count) {
count99fs/ext/freelists.cj = efb->free[--efb->count];
count145fs/ext/freelists.cunsigned long count, block;
count149fs/ext/freelists.ccount = 0;
count152fs/ext/freelists.ccount = efb->count + 1;
count160fs/ext/freelists.ccount += efb->count + 1;
count167fs/ext/freelists.csb->u.ext_sb.s_freeblockscount, count);
count169fs/ext/freelists.creturn count;
count215fs/ext/freelists.cif (!sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) {
count227fs/ext/freelists.cefi->count = 0;
count231fs/ext/freelists.cefi->free[efi->count++] = ino;
count257fs/ext/freelists.cif (efi->count) {
count258fs/ext/freelists.cj = efi->free[--efi->count];
count305fs/ext/freelists.cunsigned long count, block, ino;
count309fs/ext/freelists.ccount = 0;
count313fs/ext/freelists.ccount = efi->count + 1;
count328fs/ext/freelists.ccount += efi->count + 1;
count335fs/ext/freelists.csb->u.ext_sb.s_freeinodescount, count);
count337fs/ext/freelists.creturn count;
count169fs/ext2/balloc.cunsigned long count)
count187fs/ext2/balloc.c(block + count) > es->s_blocks_count) {
count190fs/ext2/balloc.c"block = %lu, count = %lu", block, count);
count200fs/ext2/balloc.cif (bit + count > EXT2_BLOCKS_PER_GROUP(sb))
count204fs/ext2/balloc.cblock, count);
count210fs/ext2/balloc.c(in_range (gdp->bg_block_bitmap, block, count) ||
count211fs/ext2/balloc.cin_range (gdp->bg_inode_bitmap, block, count) ||
count214fs/ext2/balloc.cin_range (block + count - 1, gdp->bg_inode_table,
count219fs/ext2/balloc.cblock, count);
count221fs/ext2/balloc.cfor (i = 0; i < count; i++) {
count27fs/ext2/dir.cchar * buf, int count)
count81fs/ext2/file.cchar * buf, int count)
count110fs/ext2/file.cif (left > count)
count111fs/ext2/file.cleft = count;
count232fs/ext2/file.cconst char * buf, int count)
count280fs/ext2/file.cwhile (count > 0) {
count292fs/ext2/file.ccount -= c;
count293fs/ext2/file.cif (count < 0)
count294fs/ext2/file.cc += count;
count193fs/hpfs/hpfs_fs.cchar *buf, int count);
count817fs/hpfs/hpfs_fs.cunsigned n, count, n_bands;
count834fs/hpfs/hpfs_fs.ccount = 0;
count843fs/hpfs/hpfs_fs.ccount += count_one_bitmap(s->s_dev, bitmaps[n]);
count846fs/hpfs/hpfs_fs.creturn count;
count857fs/hpfs/hpfs_fs.cunsigned i, count;
count863fs/hpfs/hpfs_fs.ccount = 0;
count866fs/hpfs/hpfs_fs.ccount += (test_bit(i, bits) != 0);
count869fs/hpfs/hpfs_fs.creturn count;
count879fs/hpfs/hpfs_fs.cchar *buf, int count)
count892fs/hpfs/hpfs_fs.cif (count > inode->i_size - (off_t) filp->f_pos)
count893fs/hpfs/hpfs_fs.ccount = inode->i_size - filp->f_pos;
count896fs/hpfs/hpfs_fs.cwhile (count > 0) {
count908fs/hpfs/hpfs_fs.cif (n > count)
count909fs/hpfs/hpfs_fs.cn = count;
count938fs/hpfs/hpfs_fs.cif (count > inode->i_size - (off_t) filp->f_pos - n + n0)
count939fs/hpfs/hpfs_fs.ccount = inode->i_size - filp->f_pos - n + n0;
count949fs/hpfs/hpfs_fs.ccount -= n0;
count1580fs/hpfs/hpfs_fs.cchar *buf, int count)
count464fs/inode.cinode->i_sem.count = 1;
count123fs/isofs/file.cstatic int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
count147fs/isofs/file.cif (left > count)
count148fs/isofs/file.cleft = count;
count21fs/minix/dir.cstatic int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count70fs/minix/file.cstatic int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count)
count94fs/minix/file.cif (left > count)
count95fs/minix/file.cleft = count;
count193fs/minix/file.cstatic int minix_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
count214fs/minix/file.cwhile (written < count) {
count222fs/minix/file.cif (c > count-written)
count223fs/minix/file.cc = count-written;
count26fs/msdos/dir.cstatic int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count)
count110fs/msdos/fat.cint count;
count114fs/msdos/fat.cfor (count = 0; count < FAT_CACHE; count++) {
count115fs/msdos/fat.ccache[count].device = 0;
count116fs/msdos/fat.ccache[count].next = count == FAT_CACHE-1 ? NULL :
count117fs/msdos/fat.c&cache[count+1];
count226fs/msdos/fat.cint nr,count;
count230fs/msdos/fat.ccount = 0;
count231fs/msdos/fat.cfor (cache_lookup(inode,cluster,&count,&nr); count < cluster;
count232fs/msdos/fat.ccount++) {
count157fs/msdos/file.cint count)
count161fs/msdos/file.cchar *end   = buf + count;
count176fs/msdos/file.cif (filp->f_pos >= inode->i_size || count <= 0) return 0;
count186fs/msdos/file.cPRINTK (("#### ino %ld pos %ld size %ld count %d\n",inode->i_ino,filp->f_pos,inode->i_size,count));
count192fs/msdos/file.cint count_max = (filp->f_pos & (SECTOR_SIZE-1)) + count;
count211fs/msdos/file.cPRINTK (("count %d ahead %d nblist %d\n",count,read_ahead[MAJOR(inode->i_dev)],pre.nblist));
count227fs/msdos/file.cPRINTK (("file_read pos %ld nblist %d %d %d\n",filp->f_pos,pre.nblist,pre.fetched,count));
count256fs/msdos/file.cPRINTK (("--- %d -> %d\n",count,(int)(buf-start)));
count271fs/msdos/file.cint count)
count295fs/msdos/file.cif (count <= 0) return 0;
count297fs/msdos/file.cfor (start = buf; count || carry; count -= size) {
count305fs/msdos/file.csize = MIN(SECTOR_SIZE-offset,MAX(carry,count));
count333fs/msdos/file.cfor (size = 0; size < count && left; size++) {
count121fs/msdos/misc.cint count,nr,limit,last,current,sector,last_sector,file_cluster;
count130fs/msdos/misc.cfor (count = 0; count < limit; count++) {
count131fs/msdos/misc.cnr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2;
count134fs/msdos/misc.cPRINTK (("cnt = %d --",count));
count138fs/msdos/misc.cMSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)->
count140fs/msdos/misc.cif (count >= limit) {
count412fs/msdos/misc.cint count,cluster;
count414fs/msdos/misc.cfor (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) {
count415fs/msdos/misc.cif ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count,
count431fs/msdos/misc.cint count,cluster;
count437fs/msdos/misc.cfor (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) {
count440fs/msdos/misc.ccount,name,number,ino,res_bh,res_de)) >= 0)
count516fs/msdos/misc.cint count;
count518fs/msdos/misc.ccount = 0;
count520fs/msdos/misc.c(void) raw_scan_root(dir->i_sb,NULL,&count,NULL,NULL,NULL);
count524fs/msdos/misc.cNULL,&count,NULL,NULL,NULL);
count526fs/msdos/misc.creturn count;
count26fs/nfs/dir.cint count);
count77fs/nfs/dir.cint count)
count99fs/nfs/file.cint count)
count116fs/nfs/file.cif (pos + count > inode->i_size)
count117fs/nfs/file.ccount = inode->i_size - pos;
count118fs/nfs/file.cif (count <= 0)
count125fs/nfs/file.c&& (cache[i].file_pos + cache[i].len >= pos + count)
count132fs/nfs/file.cmemcpy_tofs(buf, cache[i].buf + pos - cache[i].file_pos, count);
count134fs/nfs/file.cfile->f_pos += count;
count135fs/nfs/file.creturn count;
count139fs/nfs/file.cfor (i = 0; i < count - n; i += n) {
count164fs/nfs/file.chunk = count - i;
count194fs/nfs/file.cint count)
count208fs/nfs/file.cif (count <= 0)
count222fs/nfs/file.cfor (i = 0; i < count; i += n) {
count223fs/nfs/file.chunk = count - i;
count380fs/nfs/proc.cint offset, int count, char *data, struct nfs_fattr *fattr, int fs)
count387fs/nfs/proc.cPRINTK("NFS call  read %d @ %d\n", count, offset);
count394fs/nfs/proc.c*p++ = htonl(count);
count395fs/nfs/proc.c*p++ = htonl(count); /* traditional, could be any value */
count404fs/nfs/proc.cif (!(p = xdr_decode_data(p, data, &len, count, fs))) {
count426fs/nfs/proc.cint offset, int count, const char *data, struct nfs_fattr *fattr)
count432fs/nfs/proc.cPRINTK("NFS call  write %d @ %d\n", count, offset);
count440fs/nfs/proc.c*p++ = htonl(count); /* traditional, could be any value */
count441fs/nfs/proc.cp = xdr_encode_data(p, data, count);
count730fs/nfs/proc.cint cookie, int count, struct nfs_entry *entry)
count739fs/nfs/proc.cPRINTK("NFS call  readdir %d @ %d\n", count, cookie);
count755fs/nfs/proc.cfor (i = 0; i < count && *p++; i++) {
count764fs/nfs/proc.ceof = (i == count && !*p++ && *p++)
count765fs/nfs/proc.c|| (i < count && *p++);
count25fs/pipe.cstatic int pipe_read(struct inode * inode, struct file * filp, char * buf, int count)
count48fs/pipe.cwhile (count>0 && (size = PIPE_SIZE(*inode))) {
count50fs/pipe.cif (chars > count)
count51fs/pipe.cchars = count;
count59fs/pipe.ccount -= chars;
count72fs/pipe.cstatic int pipe_write(struct inode * inode, struct file * filp, const char * buf, int count)
count82fs/pipe.cif (count <= PIPE_BUF)
count83fs/pipe.cfree = count;
count86fs/pipe.cwhile (count>0) {
count99fs/pipe.cwhile (count>0 && (free = PIPE_FREE(*inode))) {
count101fs/pipe.cif (chars > count)
count102fs/pipe.cchars = count;
count108fs/pipe.ccount -= chars;
count124fs/pipe.cstatic int bad_pipe_r(struct inode * inode, struct file * filp, char * buf, int count)
count129fs/pipe.cstatic int bad_pipe_w(struct inode * inode, struct file * filp, const char * buf, int count)
count203fs/pipe.cstatic int connect_read(struct inode * inode, struct file * filp, char * buf, int count)
count216fs/pipe.creturn pipe_read(inode,filp,buf,count);
count57fs/proc/array.cstatic int read_core(struct inode * inode, struct file * file,char * buf, int count)
count69fs/proc/array.cif (count < 0)
count74fs/proc/array.cif (count > memsize - p)
count75fs/proc/array.ccount = memsize - p;
count78fs/proc/array.cif (p < sizeof(struct user) && count > 0) {
count79fs/proc/array.ccount1 = count;
count86fs/proc/array.ccount -= count1;
count90fs/proc/array.cwhile (p < 2*PAGE_SIZE && count > 0) {
count94fs/proc/array.ccount--;
count97fs/proc/array.cmemcpy_tofs(buf,(void *) (PAGE_OFFSET + p - PAGE_SIZE),count);
count98fs/proc/array.cread += count;
count122fs/proc/array.cstatic int read_profile(struct inode *inode, struct file *file, char *buf, int count)
count129fs/proc/array.cif (count < 0)
count133fs/proc/array.cif (count > (prof_len+1)*sizeof(unsigned long) - p)
count134fs/proc/array.ccount = (prof_len+1)*sizeof(unsigned long) - p;
count137fs/proc/array.cwhile (p < sizeof(unsigned long) && count > 0) {
count139fs/proc/array.cbuf++; p++; count--; read++;
count142fs/proc/array.cmemcpy_tofs(buf,(void *)pnt,count);
count143fs/proc/array.cread += count;
count149fs/proc/array.cstatic int write_profile(struct inode * inode, struct file * file, const char * buf, int count)
count155fs/proc/array.creturn count;
count371fs/proc/array.cint count = 0;
count387fs/proc/array.c} while (count++ < 16);
count614fs/proc/array.cstatic int read_maps (int pid, struct file * file, char * buf, int count)
count626fs/proc/array.cif (!(*p)->mm || count == 0)
count676fs/proc/array.cif (i > count)
count677fs/proc/array.ci = count;
count679fs/proc/array.cdestptr += i; count -= i;
count688fs/proc/array.cif (count == 0)
count793fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
count801fs/proc/array.cif (count < 0)
count803fs/proc/array.cif (count > PROC_BLOCK_SIZE)
count804fs/proc/array.ccount = PROC_BLOCK_SIZE;
count812fs/proc/array.c&start, file->f_pos, count);
count821fs/proc/array.ccount = length;
count828fs/proc/array.cif (count + file->f_pos > length)
count829fs/proc/array.ccount = length - file->f_pos;
count830fs/proc/array.cend = count + file->f_pos;
count831fs/proc/array.cmemcpy_tofs(buf, (char *) page + file->f_pos, count);
count835fs/proc/array.creturn count;
count869fs/proc/array.cstatic int arraylong_read (struct inode * inode, struct file * file, char * buf, int count)
count874fs/proc/array.cif (count < 0)
count879fs/proc/array.creturn read_maps(pid, file, buf, count);
count19fs/proc/kmsg.casmlinkage int sys_syslog(int type, char * bug, int count);
count31fs/proc/kmsg.cstatic int kmsg_read(struct inode * inode, struct file * file,char * buf, int count)
count33fs/proc/kmsg.creturn sys_syslog(2,buf,count);
count26fs/proc/mem.cstatic int check_range(struct task_struct * tsk, unsigned long addr, int count)
count38fs/proc/mem.cwhile ((retval = vma->vm_end - addr) < count) {
count48fs/proc/mem.cif (retval > count)
count49fs/proc/mem.cretval = count;
count53fs/proc/mem.cstatic int mem_read(struct inode * inode, struct file * file,char * buf, int count)
count64fs/proc/mem.cif (count < 0)
count77fs/proc/mem.ccount = check_range(tsk, addr, count);
count78fs/proc/mem.cif (count < 0)
count79fs/proc/mem.creturn count;
count81fs/proc/mem.cwhile (count > 0) {
count105fs/proc/mem.cif (i > count)
count106fs/proc/mem.ci = count;
count110fs/proc/mem.ccount -= i;
count118fs/proc/mem.cstatic int mem_write(struct inode * inode, struct file * file,char * buf, int count)
count129fs/proc/mem.cif (count < 0)
count143fs/proc/mem.cwhile (count > 0) {
count169fs/proc/mem.cif (i > count)
count170fs/proc/mem.ci = count;
count174fs/proc/mem.ccount -= i;
count42fs/proc/net.cchar * buf, int count)
count45fs/proc/net.cint bytes=count;
count50fs/proc/net.cif (count < 0)
count34fs/proc/scsi.cchar * buf, int count);
count36fs/proc/scsi.cconst char * buf, int count);
count194fs/proc/scsi.cchar * buf, int count)
count197fs/proc/scsi.cint bytes = count;
count203fs/proc/scsi.cif (count < -1)      /* Normally I wouldn't do this, */ 
count210fs/proc/scsi.cwhile(bytes > 0 || count == -1) {  
count212fs/proc/scsi.cif(bytes > PROC_BLOCK_SIZE || count == -1)
count236fs/proc/scsi.cif (count != -1)
count253fs/proc/scsi.cconst char * buf, int count)
count261fs/proc/scsi.cif(count > PROC_BLOCK_SIZE) {
count266fs/proc/scsi.cmemcpy_fromfs(page, buf, count);
count267fs/proc/scsi.cret = dispatch_scsi_info_ptr(inode->i_ino, page, 0, 0, count, 1);
count101fs/read_write.casmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count)
count113fs/read_write.cif (!count)
count115fs/read_write.cerror = verify_area(VERIFY_WRITE,buf,count);
count118fs/read_write.creturn file->f_op->read(inode,file,buf,count);
count121fs/read_write.casmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count)
count134fs/read_write.cif (!count)
count136fs/read_write.cerror = verify_area(VERIFY_READ,buf,count);
count139fs/read_write.cwritten = file->f_op->write(inode,file,buf,count);
count36fs/readdir.cint count;
count44fs/readdir.cif (buf->count)
count46fs/readdir.cbuf->count++;
count56fs/readdir.casmlinkage int old_readdir(unsigned int fd, void * dirent, unsigned int count)
count69fs/readdir.cbuf.count = 0;
count74fs/readdir.creturn buf.count;
count91fs/readdir.cint count;
count102fs/readdir.cif (reclen > buf->count)
count115fs/readdir.cbuf->count -= reclen;
count119fs/readdir.casmlinkage int sys_getdents(unsigned int fd, void * dirent, unsigned int count)
count130fs/readdir.cerror = verify_area(VERIFY_WRITE, dirent, count);
count135fs/readdir.cbuf.count = count;
count144fs/readdir.creturn count - buf.count;
count88fs/select.cint count;
count119fs/select.ccount = 0;
count128fs/select.ccount++;
count133fs/select.ccount++;
count138fs/select.ccount++;
count143fs/select.cif (!count && current->timeout && !(current->signal & ~current->blocked)) {
count150fs/select.creturn count;
count28fs/smbfs/dir.csmb_dir_read(struct inode *inode, struct file *filp, char *buf, int count);
count125fs/smbfs/dir.csmb_dir_read(struct inode *inode, struct file *filp, char *buf, int count)
count69fs/smbfs/file.csmb_file_read(struct inode *inode, struct file *file, char *buf, int count)
count93fs/smbfs/file.cif (pos + count > inode->i_size)
count94fs/smbfs/file.ccount = inode->i_size - pos;
count96fs/smbfs/file.cif (count <= 0)
count103fs/smbfs/file.cwhile (already_read < count) {
count109fs/smbfs/file.cto_read = min(65535, count - already_read);
count118fs/smbfs/file.cto_read = min(bufsize, count - already_read);
count146fs/smbfs/file.csmb_file_write(struct inode *inode, struct file *file, const char *buf, int count)
count165fs/smbfs/file.cif (count <= 0)
count184fs/smbfs/file.cwhile (already_written < count) {
count190fs/smbfs/file.cto_write = min(65535, count - already_written);
count199fs/smbfs/file.cto_write = min(bufsize, count - already_written);
count617fs/smbfs/proc.coff_t offset, long count, char *data, int fs)
count626fs/smbfs/proc.cWSET(buf, smb_vwv1, count);
count655fs/smbfs/proc.coff_t offset, long count, char *data)
count660fs/smbfs/proc.cif ((count <= 0) || (count > 65535)) {
count668fs/smbfs/proc.cWSET(buf, smb_vwv3, count);
count672fs/smbfs/proc.cresult = smb_request_read_raw(server, data, count);
count679fs/smbfs/proc.coff_t offset, int count, const char *data)
count685fs/smbfs/proc.cp = smb_setup_header_exclusive(server, SMBwrite, 5, count + 3);
count687fs/smbfs/proc.cWSET(buf, smb_vwv1, count);
count692fs/smbfs/proc.cWSET(p, 0, count);
count693fs/smbfs/proc.cmemcpy_fromfs(p+2, data, count);
count707fs/smbfs/proc.coff_t offset, long count, const char *data)
count712fs/smbfs/proc.cif ((count <= 0) || (count > 65535)) {
count719fs/smbfs/proc.cWSET(buf, smb_vwv1, count);
count737fs/smbfs/proc.cresult = smb_request_write_raw(server, data, count);
count953fs/smbfs/proc.cword count;
count1009fs/smbfs/proc.cp = smb_decode_word(p, &count); /* vwv[0] = count-returned */
count1014fs/smbfs/proc.cif (count <= 0) {
count1018fs/smbfs/proc.cif (bcc != count * SMB_DIRINFO_SIZE + 3) {
count1028fs/smbfs/proc.c(count - 1) * SMB_DIRINFO_SIZE, 
count1033fs/smbfs/proc.cfor (i = 0; i < count; i ++) {
count232fs/sysv/balloc.cint count, old_count;
count239fs/sysv/balloc.ccount = 0;
count248fs/sysv/balloc.ccount++;
count300fs/sysv/balloc.ccount++;
count314fs/sysv/balloc.cif (count != old_count) {
count315fs/sysv/balloc.cprintk("sysv_count_free_blocks: free block count was %d, correcting to %d\n",old_count,count);
count317fs/sysv/balloc.c*sb->sv_sb_total_free_blocks = (sb->sv_convert ? to_coh_ulong(count) : count);
count323fs/sysv/balloc.creturn count;
count325fs/sysv/balloc.cint count;
count327fs/sysv/balloc.ccount = *sb->sv_sb_total_free_blocks;
count329fs/sysv/balloc.ccount = from_coh_ulong(count);
count330fs/sysv/balloc.creturn count;
count28fs/sysv/dir.cstatic int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count76fs/sysv/file.cint sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count)
count102fs/sysv/file.cif (left > count)
count103fs/sysv/file.cleft = count;
count203fs/sysv/file.cstatic int sysv_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
count231fs/sysv/file.cwhile (written<count) {
count239fs/sysv/file.cif (c > count-written)
count240fs/sysv/file.cc = count-written;
count185fs/sysv/ialloc.cint j,block,count;
count188fs/sysv/ialloc.ccount = 0;
count205fs/sysv/ialloc.ccount++;
count208fs/sysv/ialloc.cif (count != *sb->sv_sb_total_free_inodes) {
count209fs/sysv/ialloc.cprintk("sysv_count_free_inodes: free inode count was %d, correcting to %d\n",(short)(*sb->sv_sb_total_free_inodes),count);
count211fs/sysv/ialloc.c*sb->sv_sb_total_free_inodes = count;
count217fs/sysv/ialloc.creturn count;
count35fs/umsdos/dir.cint count)
count43fs/umsdos/dir.cint count;
count60fs/umsdos/dir.cif (d->count == 0){
count69fs/umsdos/dir.cd->count = 1;
count158fs/umsdos/dir.cbufk.count = 0;
count272fs/umsdos/dir.cint count = 0;
count280fs/umsdos/dir.cbufk.count = 0;
count282fs/umsdos/dir.cif (bufk.count == 0) break;
count283fs/umsdos/dir.ccount += bufk.count;
count285fs/umsdos/dir.cPRINTK (("UMSDOS_readdir out %d count %d pos %Ld\n",ret,count
count287fs/umsdos/dir.creturn count == 0 ? -ENOENT : ret;
count32fs/umsdos/emd.cint count)
count37fs/umsdos/emd.cret = msdos_file_read(inode,filp,buf,count);
count48fs/umsdos/emd.cint count)
count53fs/umsdos/emd.cret = msdos_file_write(inode,filp,buf,count);
count69fs/umsdos/emd.cint count)
count73fs/umsdos/emd.cwritten = umsdos_file_write_kmem (emd_dir,filp,buf,count);
count74fs/umsdos/emd.creturn written != count ? -EIO : 0;
count85fs/umsdos/emd.cint count)
count90fs/umsdos/emd.csizeread = umsdos_file_read_kmem (emd_dir,filp,buf,count);
count91fs/umsdos/emd.cif (sizeread != count){
count93fs/umsdos/emd.c,filp->f_pos,sizeread,count);
count36fs/umsdos/file.cint count)
count39fs/umsdos/file.cint ret = msdos_file_read(inode,filp,buf,count);
count53fs/umsdos/file.cint count)
count55fs/umsdos/file.creturn msdos_file_write(inode,filp,buf,count);
count26fs/umsdos/ioctl.cint count;
count42fs/umsdos/ioctl.cif (d->count == 0){
count48fs/umsdos/ioctl.cd->count = 1;
count122fs/umsdos/ioctl.cbufk.count = 0;
count125fs/umsdos/ioctl.cret = bufk.count == 1 ? 1 : 0;
count64fs/xiafs/dir.cstruct file * filp, char * buf, int count)
count74fs/xiafs/file.cxiafs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
count93fs/xiafs/file.cif (left > count)
count94fs/xiafs/file.cleft = count;
count194fs/xiafs/file.cxiafs_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
count218fs/xiafs/file.cwhile (written < count) {
count226fs/xiafs/file.cif (c > count-written)
count227fs/xiafs/file.cc = count-written;
count260include/asm-alpha/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count262include/asm-alpha/dma.hcount--;
count264include/asm-alpha/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count265include/asm-alpha/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count267include/asm-alpha/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count268include/asm-alpha/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count287include/asm-alpha/dma.hunsigned short count;
count289include/asm-alpha/dma.hcount = 1 + dma_inb(io_port);
count290include/asm-alpha/dma.hcount += dma_inb(io_port) << 8;
count292include/asm-alpha/dma.hreturn (dmanr<=3)? count : (count<<1);
count87include/asm-alpha/hwrpb.hunsigned long count;
count107include/asm-alpha/io.hextern void insb (unsigned long port, void *src, unsigned long count);
count108include/asm-alpha/io.hextern void insw (unsigned long port, void *src, unsigned long count);
count109include/asm-alpha/io.hextern void insl (unsigned long port, void *src, unsigned long count);
count110include/asm-alpha/io.hextern void outsb (unsigned long port, void *dst, unsigned long count);
count111include/asm-alpha/io.hextern void outsw (unsigned long port, void *dst, unsigned long count);
count112include/asm-alpha/io.hextern void outsl (unsigned long port, void *dst, unsigned long count);
count9include/asm-alpha/string.h#define memset(s, c, count) \
count11include/asm-alpha/string.h__constant_c_memset((s),(0x0101010101010101UL*(unsigned char)c),(count)) : \
count12include/asm-alpha/string.h__memset((s),(c),(count)))
count230include/asm-i386/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count232include/asm-i386/dma.hcount--;
count234include/asm-i386/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count235include/asm-i386/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count237include/asm-i386/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count238include/asm-i386/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count257include/asm-i386/dma.hunsigned short count;
count259include/asm-i386/dma.hcount = 1 + dma_inb(io_port);
count260include/asm-i386/dma.hcount += dma_inb(io_port) << 8;
count262include/asm-i386/dma.hreturn (dmanr<=3)? count : (count<<1);
count109include/asm-i386/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
count111include/asm-i386/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
count114include/asm-i386/io.hextern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \
count116include/asm-i386/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
count31include/asm-i386/string.hextern inline char * strncpy(char * dest,const char *src,size_t count)
count45include/asm-i386/string.h:"S" (src),"D" (dest),"c" (count):"si","di","ax","cx","memory");
count67include/asm-i386/string.hextern inline char * strncat(char * dest,const char * src,size_t count)
count84include/asm-i386/string.h:"S" (src),"D" (dest),"a" (0),"c" (0xffffffff),"g" (count)
count110include/asm-i386/string.hextern inline int strncmp(const char * cs,const char * ct,size_t count)
count127include/asm-i386/string.h:"=a" (__res):"S" (cs),"D" (ct),"c" (count):"si","di","cx");
count444include/asm-i386/string.hextern inline void * memchr(const void * cs,int c,size_t count)
count447include/asm-i386/string.hif (!count)
count456include/asm-i386/string.h:"=D" (__res):"a" (c),"D" (cs),"c" (count)
count461include/asm-i386/string.hextern inline void * __memset_generic(void * s, char c,size_t count)
count468include/asm-i386/string.h:"a" (c),"D" (s),"c" (count)
count474include/asm-i386/string.h#define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count))
count481include/asm-i386/string.hextern inline void * __constant_c_memset(void * s, unsigned long c, size_t count)
count494include/asm-i386/string.h:"a" (c), "q" (count), "c" (count/4), "D" ((long) s)
count501include/asm-i386/string.hextern inline size_t strnlen(const char * s, size_t count)
count514include/asm-i386/string.h:"=a" (__res):"c" (s),"d" (count));
count523include/asm-i386/string.hextern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count)
count525include/asm-i386/string.hswitch (count) {
count547include/asm-i386/string.h: "a" (pattern),"c" (count/4),"D" ((long) s) \
count550include/asm-i386/string.hswitch (count % 4) {
count559include/asm-i386/string.h#define __constant_c_x_memset(s, c, count) \
count560include/asm-i386/string.h(__builtin_constant_p(count) ? \
count561include/asm-i386/string.h__constant_c_and_count_memset((s),(c),(count)) : \
count562include/asm-i386/string.h__constant_c_memset((s),(c),(count)))
count564include/asm-i386/string.h#define __memset(s, c, count) \
count565include/asm-i386/string.h(__builtin_constant_p(count) ? \
count566include/asm-i386/string.h__constant_count_memset((s),(c),(count)) : \
count567include/asm-i386/string.h__memset_generic((s),(c),(count)))
count570include/asm-i386/string.h#define memset(s, c, count) \
count572include/asm-i386/string.h__constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \
count573include/asm-i386/string.h__memset((s),(c),(count)))
count259include/asm-i386/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
count59include/asm-m68k/string.hextern inline int strncmp(const char * cs,const char * ct,size_t count)
count63include/asm-m68k/string.hif (!count)
count77include/asm-m68k/string.h: "=a" (cs), "=a" (ct), "=d" (count), "=d" (__res)
count78include/asm-m68k/string.h: "0" (cs), "1" (ct), "2" (count));
count92include/asm-m68k/string.hextern inline void * memset(void * s,char c,size_t count)
count96include/asm-m68k/string.hif (!count)
count102include/asm-m68k/string.h: "=a" (s), "=d" (count)
count103include/asm-m68k/string.h: "0" (s), "d" (c), "1" (count)
count233include/asm-mips/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count235include/asm-mips/dma.hcount--;
count237include/asm-mips/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count238include/asm-mips/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count240include/asm-mips/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count241include/asm-mips/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count260include/asm-mips/dma.hunsigned short count;
count262include/asm-mips/dma.hcount = 1 + dma_inb(io_port);
count263include/asm-mips/dma.hcount += dma_inb(io_port) << 8;
count265include/asm-mips/dma.hreturn (dmanr<=3)? count : (count<<1);
count80include/asm-mips/io.hextern inline void __ins##s(unsigned int port, void * addr, unsigned long count) {
count96include/asm-mips/io.h: "=r" (addr), "=r" (count) \
count97include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
count100include/asm-mips/io.h: "=r" (addr), "=r" (count) \
count101include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
count105include/asm-mips/io.hextern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) {
count121include/asm-mips/io.h: "=r" (addr), "=r" (count) \
count122include/asm-mips/io.h: "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \
count125include/asm-mips/io.h: "=r" (addr), "=r" (count) \
count126include/asm-mips/io.h: "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \
count211include/asm-mips/io.h#define outsb(port,addr,count) \
count213include/asm-mips/io.h__outsbc((port),(addr),(count)) : \
count214include/asm-mips/io.h__outsb ((port),(addr),(count)))
count216include/asm-mips/io.h#define insb(port,addr,count) \
count218include/asm-mips/io.h__insbc((port),(addr),(count)) : \
count219include/asm-mips/io.h__insb((port),(addr),(count)))
count221include/asm-mips/io.h#define outsw(port,addr,count) \
count223include/asm-mips/io.h__outswc((port),(addr),(count)) : \
count224include/asm-mips/io.h__outsw ((port),(addr),(count)))
count226include/asm-mips/io.h#define insw(port,addr,count) \
count228include/asm-mips/io.h__inswc((port),(addr),(count)) : \
count229include/asm-mips/io.h__insw((port),(addr),(count)))
count231include/asm-mips/io.h#define outsl(port,addr,count) \
count233include/asm-mips/io.h__outslc((port),(addr),(count)) : \
count234include/asm-mips/io.h__outsl ((port),(addr),(count)))
count236include/asm-mips/io.h#define insl(port,addr,count) \
count238include/asm-mips/io.h__inslc((port),(addr),(count)) : \
count239include/asm-mips/io.h__insl((port),(addr),(count)))
count91include/asm-mips/string.hextern __inline__ int strncmp(const char * cs, const char * ct, size_t count)
count110include/asm-mips/string.h: "=d" (cs), "=d" (ct), "=d" (count), "=d" (__res)
count111include/asm-mips/string.h: "0" (cs), "1" (ct), "2" (count)
count117include/asm-mips/string.hextern __inline__ void * memset(void * s, int c, size_t count)
count121include/asm-mips/string.hif (!count)
count129include/asm-mips/string.h: "=r" (s), "=r" (count)
count130include/asm-mips/string.h: "0" (s), "r" (c), "1" (s + count - 1)
count118include/asm-sparc/string.hsize_t count = 0;
count126include/asm-sparc/string.hreturn count;
count127include/asm-sparc/string.h++count;
count130include/asm-sparc/string.hreturn count;
count154include/asm-sparc/string.hextern __inline__ void *memset(void *src, int c, size_t count)
count158include/asm-sparc/string.hwhile (count--)
count164include/asm-sparc/string.hextern __inline__ void *memcpy(void *dest, const void *src, size_t count)
count168include/asm-sparc/string.hwhile (count--)
count174include/asm-sparc/string.hextern __inline__ void *memmove(void *dest, const void *src, size_t count)
count181include/asm-sparc/string.hwhile (count--)
count185include/asm-sparc/string.htmp = (char *) dest + count;
count186include/asm-sparc/string.hs = (char *) src + count;
count187include/asm-sparc/string.hwhile (count--)
count194include/asm-sparc/string.hextern __inline__ int memcmp(const void *cs, const void *ct, size_t count)
count199include/asm-sparc/string.hfor( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
count160include/asm-sparc/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
count44include/linux/binfmts.hchar * addr, unsigned long count, int to_kmem);
count67include/linux/cyclades.hint      count;  /* # of fd on device */
count26include/linux/ext_fs.hunsigned long count;
count32include/linux/ext_fs.hunsigned long count;
count118include/linux/mm.hunsigned short count;
count201include/linux/mm.hextern int vread(char *buf, char *addr, int count);
count63include/linux/nfs_fs.hint offset, int count, char *data,
count66include/linux/nfs_fs.hint offset, int count, const char *data,
count86include/linux/nfs_fs.hint cookie, int count, struct nfs_entry *entry);
count100include/linux/sched.hint count;
count112include/linux/sched.hint count;
count124include/linux/sched.hint count;
count144include/linux/sched.hint count;
count410include/linux/sched.hif (sem->count <= 0)
count412include/linux/sched.hsem->count--;
count417include/linux/sched.hsem->count++;
count134include/linux/serial.hint      count;      /* # of fd on device */
count132include/linux/smb_fs.hoff_t offset, long count, char *data, int fs);
count134include/linux/smb_fs.hoff_t offset, long count, char *data);
count136include/linux/smb_fs.hoff_t offset, int count, const char *data);
count138include/linux/smb_fs.hoff_t offset, long count, const char *data);
count91include/linux/tty.hint    count;
count208include/linux/tty.hint count;
count127include/linux/tty_driver.hconst unsigned char *buf, int count);
count13include/linux/tty_flip.hif (tty->flip.count++ >= TTY_FLIPBUF_SIZE)
count37include/linux/tty_ldisc.hchar *fp, int count);
count17include/linux/wait.hint count;
count117include/linux/xd.hstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count);
count121include/linux/xd.hstatic u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count);
count122include/linux/xd.hstatic u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control);
count74include/net/netrom.hunsigned char   count;
count85include/net/netrom.hunsigned short  count;
count289kernel/exit.cint err, retval = 0, count = 0;
count297kernel/exit.c++count;
count302kernel/exit.creturn(count ? retval : -ESRCH);
count366kernel/exit.cif (!--files->count) {
count386kernel/exit.cif (!--fs->count) {
count400kernel/exit.cif (!--sig->count) {
count412kernel/exit.cif (!--mm->count) {
count103kernel/fork.ccurrent->mm->count++;
count110kernel/fork.ctsk->mm->count = 1;
count125kernel/fork.ccurrent->fs->count++;
count131kernel/fork.ctsk->fs->count = 1;
count145kernel/fork.ccurrent->files->count++;
count151kernel/fork.ctsk->files->count = 1;
count166kernel/fork.ccurrent->sig->count++;
count172kernel/fork.ctsk->sig->count = 1;
count57kernel/printk.cunsigned long i, j, count;
count110kernel/printk.ccount = len;
count111kernel/printk.cif (count > LOG_BUF_LEN)
count112kernel/printk.ccount = LOG_BUF_LEN;
count113kernel/printk.cif (count > logged_chars)
count114kernel/printk.ccount = logged_chars;
count115kernel/printk.cj = log_start + log_size - count;
count116kernel/printk.cfor (i = 0; i < count; i++) {
count322kernel/sched.cwhile (sem->count <= 0) {
count458kernel/sched.cstatic int count = LOAD_FREQ;
count460kernel/sched.cif (count-- > 0)
count462kernel/sched.ccount = LOAD_FREQ;
count196kernel/time.cint count;
count201kernel/time.ccount = inb_p(0x40);  /* read the latched count */
count202kernel/time.ccount |= inb(0x40) << 8;
count204kernel/time.cif (count > (LATCH - LATCH/100)) {
count210kernel/time.ccount = ((LATCH-1) - count) * TICK_SIZE;
count211kernel/time.ccount = (count + LATCH/2) / LATCH;
count212kernel/time.creturn offset + count;
count31lib/string.cchar * strncpy(char * dest,const char *src,size_t count)
count35lib/string.cwhile (count-- && (*dest++ = *src++) != '\0')
count57lib/string.cchar * strncat(char *dest, const char *src, size_t count)
count61lib/string.cif (count) {
count65lib/string.cif (--count == 0) {
count91lib/string.cint strncmp(const char * cs,const char * ct,size_t count)
count95lib/string.cwhile (count) {
count98lib/string.ccount--;
count127lib/string.csize_t strnlen(const char * s, size_t count)
count131lib/string.cfor (sc = s; count-- && *sc != '\0'; ++sc)
count142lib/string.csize_t count = 0;
count150lib/string.creturn count;
count151lib/string.c++count;
count154lib/string.creturn count;
count196lib/string.cvoid * memset(void * s,char c,size_t count)
count200lib/string.cwhile (count--)
count208lib/string.cchar * bcopy(const char * src, char * dest, int count)
count212lib/string.cwhile (count--)
count220lib/string.cvoid * memcpy(void * dest,const void *src,size_t count)
count224lib/string.cwhile (count--)
count232lib/string.cvoid * memmove(void * dest,const void *src,size_t count)
count239lib/string.cwhile (count--)
count243lib/string.ctmp = (char *) dest + count;
count244lib/string.cs = (char *) src + count;
count245lib/string.cwhile (count--)
count254lib/string.cint memcmp(const void * cs,const void * ct,size_t count)
count259lib/string.cfor( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
count11lib/write.c_syscall3(int,write,int,fd,const char *,buf,off_t,count)
count201mm/kmalloc.cstatic int count = 0;
count202mm/kmalloc.cif (++count < 5) {
count331mm/mmap.cstatic void avl_rebalance (struct vm_area_struct *** nodeplaces_ptr, int count)
count333mm/mmap.cfor ( ; count > 0 ; count--) {
count786mm/swap.cstatic int count = 0;
count787mm/swap.cif (++count < 5) {
count321mm/vmalloc.cint vread(char *buf, char *addr, int count)
count330mm/vmalloc.cif (count == 0)
count332mm/vmalloc.cput_user('\0', buf++), addr++, count--;
count338mm/vmalloc.cif (count == 0)
count340mm/vmalloc.cput_user(*addr++, buf++), count--;
count79net/ax25/ax25_route.cint count;
count81net/ax25/ax25_route.ccount  = 0;
count85net/ax25/ax25_route.cif (count == 0 || (ax25_rt->stamp.tv_sec != 0 && ax25_rt->stamp.tv_sec < oldest->stamp.tv_sec))
count95net/ax25/ax25_route.ccount++;
count98net/ax25/ax25_route.cif (count > AX25_ROUTE_MAX) {
count501net/core/skbuff.cstatic int count = 0;
count502net/core/skbuff.cif (++count < 5) {
count618net/ipv4/ip.cint count, len;
count643net/ipv4/ip.ccount = 0;
count649net/ipv4/ip.cif(count+fp->len > skb->len)
count658net/ipv4/ip.ccount += fp->len;
count668net/ipv4/ip.ciph->tot_len = htons((iph->ihl * 4) + count);
count95net/netrom/nr_route.cnr_neigh->count   = 0;
count123net/netrom/nr_route.cnr_node->count = 1;
count137net/netrom/nr_route.cnr_neigh->count++;
count142net/netrom/nr_route.cfor (found = 0, i = 0; i < nr_node->count; i++) {
count153net/netrom/nr_route.cif (nr_node->count < 3) {
count161net/netrom/nr_route.cnr_node->count++;
count162net/netrom/nr_route.cnr_neigh->count++;
count170net/netrom/nr_route.cnr_neigh->count++;
count176net/netrom/nr_route.cswitch (nr_node->count) {
count213net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
count308net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
count310net/netrom/nr_route.cnr_neigh->count--;
count312net/netrom/nr_route.cif (nr_neigh->count == 0 && !nr_neigh->locked)
count315net/netrom/nr_route.cnr_node->count--;
count317net/netrom/nr_route.cif (nr_node->count == 0) {
count362net/netrom/nr_route.cnr_neigh->count   = 0;
count393net/netrom/nr_route.cif (nr_neigh->count == 0)
count416net/netrom/nr_route.cfor (i = 0; i < s->count; i++) {
count430net/netrom/nr_route.ct->count--;
count432net/netrom/nr_route.cif (t->count == 0 && !t->locked)
count439net/netrom/nr_route.cs->count--;
count458net/netrom/nr_route.cif (s->count <= 0)
count485net/netrom/nr_route.cfor (i = 0; i < t->count; i++) {
count487net/netrom/nr_route.ct->count--;
count500net/netrom/nr_route.cif (t->count <= 0)
count639net/netrom/nr_route.cif (nr_node->which >= nr_node->count && nr_node->routes[nr_node->which].neighbour == nr_neigh->number)
count675net/netrom/nr_route.cif (nr_node == NULL || nr_node->which >= nr_node->count)
count714net/netrom/nr_route.cnr_node->count);      
count716net/netrom/nr_route.cfor (i = 0; i < nr_node->count; i++) {
count765net/netrom/nr_route.cnr_neigh->count);