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;
count13arch/alpha/lib/memset.cvoid * __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)
count40arch/alpha/lib/memset.cwhile (count--)
count1324drivers/block/aztcd.c{       long int count, max_count;
count1358drivers/block/aztcd.cfor (count=0;count<50;count++)
count1375drivers/block/aztcd.cfor (count = 0; count < AZT_TIMEOUT; count++);  /* delay a bit */
count1397drivers/block/aztcd.cfor (count=1;count<50;count++)   /*Reading version string*/
count1404drivers/block/aztcd.cresult[count]=inb(DATA_PORT);
count1406drivers/block/aztcd.cif (count>30) max_count=30;  /*print max.30 chars of the version string*/
count1407drivers/block/aztcd.celse          max_count=count;
count1409drivers/block/aztcd.cfor (count=1;count<max_count;count++) printk("%c",result[count]);
count1424drivers/block/aztcd.cfor (count=1;count<5;count++) printk("%c",result[count]);
count1830drivers/block/floppy.cint count,head_shift,track_shift;
count1862drivers/block/floppy.cfor (count = 0; count < F_SECT_PER_TRACK; ++count) {
count1863drivers/block/floppy.chere[count].track = format_req.track;
count1864drivers/block/floppy.chere[count].head = format_req.head;
count1865drivers/block/floppy.chere[count].sect = 0;
count1866drivers/block/floppy.chere[count].size = F_SIZECODE;
count1869drivers/block/floppy.cfor (count = 1; count <= F_SECT_PER_TRACK; ++count) {
count1870drivers/block/floppy.chere[n].sect = count;
count2649drivers/block/floppy.cint i, drive, count, ret;
count2672drivers/block/floppy.ccount = raw_cmd.length;
count2674drivers/block/floppy.cif(count > max_buffer_sectors * 1024 )
count2676drivers/block/floppy.cif(count == 0){
count2683drivers/block/floppy.ci = verify_area(VERIFY_READ, raw_cmd.data, count );
count2686drivers/block/floppy.cmemcpy_fromfs(floppy_track_buffer, raw_cmd.data, count);
count2717drivers/block/floppy.ci=fd_copyout( raw_cmd.data, floppy_track_buffer, count);
count2961drivers/block/floppy.cchar * buf, int count)
count2968drivers/block/floppy.creturn block_read(inode, filp, buf, count);
count2972drivers/block/floppy.cchar * buf, int count)
count2985drivers/block/floppy.cblock = (filp->f_pos + count) >> 9;
count2988drivers/block/floppy.cret= block_write(inode, filp, buf, count);
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) {
count355drivers/block/ll_rw_blk.creq->nr_sectors += count;
count364drivers/block/ll_rw_blk.creq->sector - count == sector &&
count367drivers/block/ll_rw_blk.creq->nr_sectors += count;
count370drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
count399drivers/block/ll_rw_blk.creq->nr_sectors = count;
count400drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
count865drivers/block/mcd.cint count= QUICK_LOOP_COUNT;
count866drivers/block/mcd.cwhile (count--) {
count871drivers/block/mcd.cprintk(" %d ",QUICK_LOOP_COUNT-count);
count1086drivers/block/mcd.cint count;
count1115drivers/block/mcd.cfor (count = 0; count < 2000000; count++)
count1119drivers/block/mcd.cfor (count = 0; count < 2000000; count++)
count1123drivers/block/mcd.cif (count >= 2000000) {
count1128drivers/block/mcd.ccount = inb(MCDPORT(0));    /* pick up the status */
count1131drivers/block/mcd.cfor(count=0;count<3;count++)
count1132drivers/block/mcd.cif(getValue(result+count)) {
count1316drivers/block/mcd.cint count;
count1319drivers/block/mcd.cfor (count = 0; count < 2000; count++)
count1323drivers/block/mcd.cif (count >= 2000)
count2576drivers/block/sbpcd.cfor (count=D_S[d].first_session;count<zwanzig;count++)
count2581drivers/block/sbpcd.cdrvcmd[3]=count;
count2586drivers/block/sbpcd.cD_S[d].msf_multi_n[count]=make32(make16(0,infobuf[5]),make16(infobuf[6],infobuf[7]));
count2904drivers/block/sbpcd.cstatic int cc_SubChanInfo(int frame, int count, u_char *buffer)
count2922drivers/block/sbpcd.cdrvcmd[5]=(count>>8)&0xFF;
count2923drivers/block/sbpcd.cdrvcmd[6]=count&0xFF;
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);
count116drivers/char/atixlmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count121drivers/char/atixlmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count125drivers/char/atixlmouse.cif (count < 3)
count142drivers/char/atixlmouse.cfor(i = 3; i < count; i++)
count127drivers/char/busmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count136drivers/char/busmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count143drivers/char/busmouse.cif (count < 3)
count145drivers/char/busmouse.cif ((r = verify_area(VERIFY_WRITE, buffer, count)))
count177drivers/char/busmouse.cfor (r = 3; r < count; r++)
count293drivers/char/console.cstatic void memsetw(void * s, unsigned short c, unsigned int count)
count297drivers/char/console.ccount /= 2;
count298drivers/char/console.cwhile (count) {
count299drivers/char/console.ccount--;
count305drivers/char/console.cunsigned int count)
count307drivers/char/console.ccount /= 2;
count308drivers/char/console.cwhile (count) {
count309drivers/char/console.ccount--;
count618drivers/char/console.cunsigned int count;
count620drivers/char/console.ccount = (video_num_lines-1)*video_num_columns;
count621drivers/char/console.cwhile (count) {
count622drivers/char/console.ccount--;
count625drivers/char/console.ccount = video_num_columns;
count626drivers/char/console.cwhile (count) {
count627drivers/char/console.ccount--;
count636drivers/char/console.cunsigned int count;
count639drivers/char/console.ccount = video_num_columns;
count640drivers/char/console.cwhile (count) {
count641drivers/char/console.ccount--;
count649drivers/char/console.cunsigned int count = (b-t-1) * video_num_columns;
count651drivers/char/console.cwhile (count) {
count652drivers/char/console.ccount--;
count655drivers/char/console.ccount = video_num_columns;
count656drivers/char/console.cwhile (count) {
count657drivers/char/console.ccount--;
count666drivers/char/console.cunsigned int count;
count672drivers/char/console.ccount = (b-t-1)*video_num_columns;
count673drivers/char/console.cwhile (count) {
count674drivers/char/console.ccount--;
count677drivers/char/console.ccount = video_num_columns;
count678drivers/char/console.cwhile (count) {
count679drivers/char/console.ccount--;
count735drivers/char/console.cunsigned long count;
count740drivers/char/console.ccount = (scr_end-pos)>>1;
count744drivers/char/console.ccount = ((pos-origin)>>1)+1;
count748drivers/char/console.ccount = video_num_columns * video_num_lines;
count754drivers/char/console.cwhile (count) {
count755drivers/char/console.ccount--;
count763drivers/char/console.cunsigned long count;
count768drivers/char/console.ccount = video_num_columns-x;
count773drivers/char/console.ccount = x+1;
count777drivers/char/console.ccount = video_num_columns;
count782drivers/char/console.cwhile (count) {
count783drivers/char/console.ccount--;
count791drivers/char/console.cunsigned long count;
count798drivers/char/console.ccount = (vpar > video_num_columns-x) ? (video_num_columns-x) : vpar;
count800drivers/char/console.cwhile (count) {
count801drivers/char/console.ccount--;
count991drivers/char/console.cvoid invert_screen(int currcons, int offset, int count, int viewed)
count995drivers/char/console.ccount /= 2;
count998drivers/char/console.cwhile (count--) {
count1004drivers/char/console.cwhile (count--) {
count1340drivers/char/console.cunsigned char *buf, int count)
count1361drivers/char/console.cwhile (!tty->stopped &&  count) {
count1363drivers/char/console.cbuf++; n++; count--;
count659drivers/char/cyclades.cif (tty->flip.count < TTY_FLIPBUF_SIZE){
count660drivers/char/cyclades.ctty->flip.count++;
count688drivers/char/cyclades.cif(tty->flip.count < TTY_FLIPBUF_SIZE){
count689drivers/char/cyclades.ctty->flip.count++;
count723drivers/char/cyclades.cif (tty->flip.count >= TTY_FLIPBUF_SIZE){
count726drivers/char/cyclades.ctty->flip.count++;
count1564drivers/char/cyclades.cunsigned char *buf, int count)
count1584drivers/char/cyclades.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
count1604drivers/char/cyclades.ccount -= c;
count2267drivers/char/cyclades.cprintk("cy_close ttyC%d, count = %d\n", info->line, info->count);
count2270drivers/char/cyclades.cif ((tty->count == 1) && (info->count != 1)) {
count2279drivers/char/cyclades.c"info->count is %d\n", info->count);
count2280drivers/char/cyclades.cinfo->count = 1;
count2283drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count - 1);
count2285drivers/char/cyclades.cif (--info->count < 0) {
count2287drivers/char/cyclades.cinfo->line, info->count);
count2291drivers/char/cyclades.cinfo->count = 0;
count2293drivers/char/cyclades.cif (info->count)
count2358drivers/char/cyclades.cinfo->count = 0;
count2445drivers/char/cyclades.cinfo->line, info->count);/**/
count2447drivers/char/cyclades.cinfo->count--;
count2449drivers/char/cyclades.cprintk("cyc: %d: decrementing count to %d\n", __LINE__, info->count);
count2499drivers/char/cyclades.cinfo->line, info->count);/**/
count2506drivers/char/cyclades.cinfo->count++;
count2508drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
count2514drivers/char/cyclades.cinfo->line, info->count);/**/
count2548drivers/char/cyclades.cprintk("cy_open ttyC%d, count = %d\n", info->line, info->count);/**/
count2550drivers/char/cyclades.cinfo->count++;
count2552drivers/char/cyclades.cprintk("cyc: %d: incrementing count to %d\n", __LINE__, info->count);
count2564drivers/char/cyclades.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
count2821drivers/char/cyclades.cinfo->count = 0;
count2892drivers/char/cyclades.cinfo->close_delay, info->event, info->count);
count92drivers/char/lp.cunsigned long count  = 0; 
count96drivers/char/lp.ccount ++;
count99drivers/char/lp.c} while(!LP_READY(minor,status) && count < LP_CHAR(minor));
count101drivers/char/lp.cif (count == LP_CHAR(minor)) {
count106drivers/char/lp.cif (count > lp_max_count) {
count107drivers/char/lp.cprintk("lp success after %d counts.\n",count);
count108drivers/char/lp.clp_max_count=count;
count169drivers/char/lp.cstatic int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count)
count180drivers/char/lp.ccopy_size = (count <= LP_BUFFER_SIZE ? count : LP_BUFFER_SIZE);
count227drivers/char/lp.ccount -= bytes_written;
count229drivers/char/lp.c} while (count > 0);
count235drivers/char/lp.cchar * buf, int count)
count250drivers/char/lp.cwhile (count > 0) {
count254drivers/char/lp.cif (retval) { count--; temp++;
count308drivers/char/lp.cstatic int lp_write(struct inode * inode, struct file * file, char * buf, int count)
count311drivers/char/lp.creturn lp_write_interrupt(inode, file, buf, count);
count313drivers/char/lp.creturn lp_write_polled(inode, file, buf, count);
count536drivers/char/lp.cint count = 0;
count560drivers/char/lp.ccount++;
count563drivers/char/lp.cif (count == 0)
count576drivers/char/lp.cint count = 0;
count598drivers/char/lp.ccount++;
count601drivers/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,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,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,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,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,char * buf, int count)
count99drivers/char/msbusmouse.cstatic int write_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count104drivers/char/msbusmouse.cstatic int read_mouse(struct inode * inode, struct file * file, char * buffer, int count)
count108drivers/char/msbusmouse.cif (count < 3)
count117drivers/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)) {
count335drivers/char/psaux.cstatic int write_aux(struct inode * inode, struct file * file, char * buffer, int count)
count337drivers/char/psaux.cint i = count;
count348drivers/char/psaux.creturn count;
count357drivers/char/psaux.cstatic int write_qp(struct inode * inode, struct file * file, char * buffer, int count)
count359drivers/char/psaux.cint i = count;
count367drivers/char/psaux.creturn count;
count376drivers/char/psaux.cstatic int read_aux(struct inode * inode, struct file * file, char * buffer, int count)
count379drivers/char/psaux.cint i = count;
count401drivers/char/psaux.cif (count-i) {
count403drivers/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.cunsigned 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)
count23drivers/char/selection.hextern void invert_screen(int currcons, int offset, int count, int shift);
count386drivers/char/serial.cif (tty->flip.count >= TTY_FLIPBUF_SIZE)
count388drivers/char/serial.ctty->flip.count++;
count414drivers/char/serial.cint count;
count430drivers/char/serial.ccount = info->xmit_fifo_size;
count436drivers/char/serial.c} while (--count > 0);
count1288drivers/char/serial.cunsigned char *buf, int count)
count1303drivers/char/serial.cc = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
count1321drivers/char/serial.ccount -= c;
count1502drivers/char/serial.cif ((change_port || change_irq) && (info->count > 1))
count1646drivers/char/serial.cif (info->count > 1)
count1990drivers/char/serial.cprintk("rs_close ttys%d, count = %d\n", info->line, info->count);
count1992drivers/char/serial.cif ((tty->count == 1) && (info->count != 1)) {
count2001drivers/char/serial.c"info->count is %d\n", info->count);
count2002drivers/char/serial.cinfo->count = 1;
count2004drivers/char/serial.cif (--info->count < 0) {
count2006drivers/char/serial.cinfo->line, info->count);
count2007drivers/char/serial.cinfo->count = 0;
count2009drivers/char/serial.cif (info->count) {
count2096drivers/char/serial.cinfo->count = 0;
count2180drivers/char/serial.cinfo->line, info->count);
count2182drivers/char/serial.cinfo->count--;
count2215drivers/char/serial.cinfo->line, info->count);
count2222drivers/char/serial.cinfo->count++;
count2226drivers/char/serial.cinfo->line, info->count);
count2254drivers/char/serial.cinfo->count);
count2256drivers/char/serial.cinfo->count++;
count2282drivers/char/serial.cif ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) {
count2632drivers/char/serial.cinfo->count = 0;
count2697drivers/char/serial.c(rs_table[i].count == 0))
count2705drivers/char/serial.cif (rs_table[i].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, 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);
count2431drivers/char/tpqic02.cstatic int qic02_tape_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count)
count155drivers/char/tty_io.cint i, count = 0;
count161drivers/char/tty_io.ccount++;
count166drivers/char/tty_io.ctty->link && tty->link->count)
count167drivers/char/tty_io.ccount++;
count168drivers/char/tty_io.cif (tty->count != count) {
count170drivers/char/tty_io.cMAJOR(tty->device), MINOR(tty->device), tty->count,
count171drivers/char/tty_io.ccount, routine);
count172drivers/char/tty_io.creturn count;
count285drivers/char/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
count290drivers/char/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
count676drivers/char/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
count705drivers/char/tty_io.ci = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count);
count713drivers/char/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
count741drivers/char/tty_io.ci = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count);
count782drivers/char/tty_io.c*tty_loc && (*tty_loc)->count)
count860drivers/char/tty_io.c(*tty_loc)->count++;
count864drivers/char/tty_io.c(*tty_loc)->count--;
count877drivers/char/tty_io.c(*tty_loc)->count++;
count896drivers/char/tty_io.c(*tty_loc)->count--;
count906drivers/char/tty_io.c(*o_tty_loc)->count++;
count976drivers/char/tty_io.ctty->count);
count1012drivers/char/tty_io.cif (--tty->link->count < 0) {
count1014drivers/char/tty_io.ctty->count, tty_name(tty));
count1015drivers/char/tty_io.ctty->link->count = 0;
count1018drivers/char/tty_io.cif (--tty->count < 0) {
count1020drivers/char/tty_io.ctty->count, tty_name(tty));
count1021drivers/char/tty_io.ctty->count = 0;
count1023drivers/char/tty_io.cif (tty->count)
count1030drivers/char/tty_io.cif (o_tty->count)
count1587drivers/char/tty_io.cint    count;
count1606drivers/char/tty_io.ccount = tty->flip.count;
count1607drivers/char/tty_io.ctty->flip.count = 0;
count1611drivers/char/tty_io.cif (count > tty->max_flip_cnt)
count1612drivers/char/tty_io.ctty->max_flip_cnt = count;
count1614drivers/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, 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)
count32drivers/char/vt.c#define VT_IS_IN_USE(i)  (console_driver.table[i] && console_driver.table[i]->count)
count106drivers/char/vt.ckd_mksound(unsigned int count, unsigned int ticks)
count112drivers/char/vt.cif (count) {
count118drivers/char/vt.coutb_p(count & 0xff, 0x42);
count119drivers/char/vt.coutb((count >> 8) & 0xff, 0x42);
count23drivers/char/vt_kern.hvoid kd_mksound(unsigned int count, unsigned int ticks);
count67drivers/net/3c503.cstatic void el2_block_output(struct device *dev, int count,
count69drivers/net/3c503.cstatic int el2_block_input(struct device *dev, int count, char *buf,
count376drivers/net/3c503.cel2_block_output(struct device *dev, int count,
count388drivers/net/3c503.cmemcpy(dest_addr, buf, count);
count389drivers/net/3c503.cif (ei_debug > 2  &&  memcmp(dest_addr, buf, count))
count404drivers/net/3c503.cfor(i = 0; i < count; i++) {
count409drivers/net/3c503.cdev->name, i, count, boguscount);
count420drivers/net/3c503.cel2_block_input(struct device *dev, int count, char *buf, int ring_offset)
count429drivers/net/3c503.cif (dev->mem_start + ring_offset + count > end_of_ring) {
count433drivers/net/3c503.ccount -= semi_count;
count434drivers/net/3c503.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count435drivers/net/3c503.creturn dev->rmem_start + count;
count437drivers/net/3c503.cmemcpy(buf, (char *)dev->mem_start + ring_offset, count);
count438drivers/net/3c503.creturn ring_offset + count;
count448drivers/net/3c503.cfor(i = 0; i < count; i++) {
count453drivers/net/3c503.cdev->name, i, count, boguscount);
count441drivers/net/8390.cpkt_len = rx_frame.count - sizeof(rx_frame);
count461drivers/net/8390.cdev->name, rx_frame.count, rx_frame.status,
count488drivers/net/8390.crx_frame.count);
count162drivers/net/8390.hunsigned short count; /* header + packet length in bytes */
count62drivers/net/ac3200.cstatic int ac_block_input(struct device *dev, int count,
count64drivers/net/ac3200.cstatic void ac_block_output(struct device *dev, const int count,
count220drivers/net/ac3200.cstatic int ac_block_input(struct device *dev, int count, char *buf,
count225drivers/net/ac3200.cif (xfer_start + count > dev->rmem_end) {
count229drivers/net/ac3200.ccount -= semi_count;
count230drivers/net/ac3200.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count231drivers/net/ac3200.creturn dev->rmem_start + count;
count233drivers/net/ac3200.cmemcpy(buf, (char*)xfer_start, count);
count235drivers/net/ac3200.creturn ring_offset + count;
count238drivers/net/ac3200.cstatic void ac_block_output(struct device *dev, int count,
count243drivers/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(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(byte *data, int count)
count326drivers/net/de620.cint bytes = count;
count334drivers/net/de620.cwhile (count-- > 0) {
count343drivers/net/de620.cwhile (count-- > 0) {
count97drivers/net/e2100.cstatic int e21_block_input(struct device *dev, int count,
count99drivers/net/e2100.cstatic void e21_block_output(struct device *dev, int count,
count273drivers/net/e2100.ce21_block_input(struct device *dev, int count, char *buf, int ring_offset)
count282drivers/net/e2100.cif (count == 4)
count285drivers/net/e2100.cmemcpy(buf, shared_mem + (ring_offset & 0xff), count);
count294drivers/net/e2100.ce21_block_output(struct device *dev, int count, const unsigned char *buf,
count305drivers/net/e2100.cmemcpy((char*)shared_mem, buf, count);
count101drivers/net/hp-plus.cstatic int hpp_mem_block_input(struct device *dev, int count,
count103drivers/net/hp-plus.cstatic void hpp_mem_block_output(struct device *dev, int count,
count105drivers/net/hp-plus.cstatic int hpp_io_block_input(struct device *dev, int count,
count107drivers/net/hp-plus.cstatic void hpp_io_block_output(struct device *dev, int count,
count311drivers/net/hp-plus.chpp_io_block_input(struct device *dev, int count, char *buf, int ring_offset)
count316drivers/net/hp-plus.cinsw(ioaddr + HP_DATAPORT, buf, count>>1);
count317drivers/net/hp-plus.cif (count & 0x01)
count318drivers/net/hp-plus.cbuf[count-1] = inw(ioaddr + HP_DATAPORT);
count319drivers/net/hp-plus.creturn ring_offset + count;
count323drivers/net/hp-plus.chpp_mem_block_input(struct device *dev, int count, char *buf, int ring_offset)
count332drivers/net/hp-plus.cmemcpy(buf, (char*)dev->mem_start,  (count + 3) & ~3);
count335drivers/net/hp-plus.creturn ring_offset + count;
count341drivers/net/hp-plus.chpp_io_block_output(struct device *dev, int count,
count346drivers/net/hp-plus.coutsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2);
count351drivers/net/hp-plus.chpp_mem_block_output(struct device *dev, int count,
count359drivers/net/hp-plus.cmemcpy((char *)dev->mem_start, buf, (count + 3) & ~3);
count59drivers/net/hp.cstatic int hp_block_input(struct device *dev, int count,
count61drivers/net/hp.cstatic void hp_block_output(struct device *dev, int count,
count219drivers/net/hp.chp_block_input(struct device *dev, int count, char *buf, int ring_offset)
count223drivers/net/hp.cint xfer_count = count;
count227drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count228drivers/net/hp.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
count233drivers/net/hp.cinsw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
count234drivers/net/hp.cif (count & 0x01)
count235drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
count237drivers/net/hp.cinsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
count250drivers/net/hp.creturn ring_offset + count;
count254drivers/net/hp.chp_block_output(struct device *dev, int count,
count264drivers/net/hp.cif (ei_status.word16 && (count & 0x01))
count265drivers/net/hp.ccount++;
count282drivers/net/hp.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count283drivers/net/hp.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
count290drivers/net/hp.coutsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
count292drivers/net/hp.coutsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
count302drivers/net/hp.cif ((start_page << 8) + count != addr)
count304drivers/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,
count354drivers/net/ne.cne_block_input(struct device *dev, int count, char *buf, int ring_offset)
count357drivers/net/ne.cint xfer_count = count;
count372drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count373drivers/net/ne.coutb_p(count >> 8, nic_base + EN0_RCNTHI);
count378drivers/net/ne.cinsw(NE_BASE + NE_DATAPORT,buf,count>>1);
count379drivers/net/ne.cif (count & 0x01) {
count380drivers/net/ne.cbuf[count-1] = inb(NE_BASE + NE_DATAPORT);
count386drivers/net/ne.cinsb(NE_BASE + NE_DATAPORT, buf, count);
count413drivers/net/ne.creturn ring_offset + count;
count417drivers/net/ne.cne_block_output(struct device *dev, int count,
count429drivers/net/ne.cif (ei_status.word16 && (count & 0x01))
count430drivers/net/ne.ccount++;
count468drivers/net/ne.coutb_p(count & 0xff, nic_base + EN0_RCNTLO);
count469drivers/net/ne.coutb_p(count >> 8,   nic_base + EN0_RCNTHI);
count475drivers/net/ne.coutsw(NE_BASE + NE_DATAPORT, buf, count>>1);
count477drivers/net/ne.coutsb(NE_BASE + NE_DATAPORT, buf, count);
count491drivers/net/ne.cif ((start_page << 8) + count == addr)
count497drivers/net/ne.cdev->name, (start_page << 8) + count, addr);
count157drivers/net/ppp.cchar *fp, int count);
count683drivers/net/ppp.cregister int count = ppp->xhead - ppp->xbuff;
count686drivers/net/ppp.cppp->stats.sbytes += count;
count690drivers/net/ppp.ccount,
count708drivers/net/ppp.cregister int count, actual;
count710drivers/net/ppp.ccount = ppp->xhead - ppp->xbuff;
count712drivers/net/ppp.cactual = ppp->tty->driver.write(ppp->tty, 0, ppp->xbuff, count);
count714drivers/net/ppp.cif (actual == count) {
count724drivers/net/ppp.cregister int count, actual;
count745drivers/net/ppp.ccount = ppp->xhead - ppp->xtail;
count747drivers/net/ppp.cactual = tty->driver.write(tty, 0, ppp->xtail, count);
count749drivers/net/ppp.cif (actual == count) {
count800drivers/net/ppp.ci, count;
count807drivers/net/ppp.ccount = 0;
count810drivers/net/ppp.cbuffer [count] = tty->read_q.buf[i];
count811drivers/net/ppp.cif (++count == 8) {
count813drivers/net/ppp.ccount = 0;
count817drivers/net/ppp.cppp_print_buffer (NULL, buffer, count, KERNEL_DS);
count925drivers/net/ppp.cchar *fp, int count)
count941drivers/net/ppp.cppp_print_buffer ("receive buffer", cp, count, KERNEL_DS);
count944drivers/net/ppp.cppp->stats.rbytes += count;
count946drivers/net/ppp.cwhile (count-- > 0) {
count1003drivers/net/ppp.cint count = ppp->rcount;
count1015drivers/net/ppp.cif (count == 0)
count1019drivers/net/ppp.cppp_print_buffer ("receive frame", c, count, KERNEL_DS);
count1021drivers/net/ppp.cif (count < 4) {
count1022drivers/net/ppp.cPRINTKN (1,(KERN_WARNING "ppp: got runt ppp frame, %d chars\n", count));
count1036drivers/net/ppp.ccount -= 2;      /* ignore last two characters */
count1042drivers/net/ppp.ccount -= 2;
count1047drivers/net/ppp.ccount--;
count1050drivers/net/ppp.ccount -= 2;
count1054drivers/net/ppp.cif ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) {
count1065drivers/net/ppp.cif (ppp_us_queue (ppp, proto, c, count+2)) {
count1084drivers/net/ppp.cint count)
count1089drivers/net/ppp.c(int) proto, count, c[0]));
count1093drivers/net/ppp.c(int) proto, count));
count1121drivers/net/ppp.ccount = slhc_uncompress(ppp->slcomp, c, count);
count1122drivers/net/ppp.cif (count <= 0) {
count1133drivers/net/ppp.cif (slhc_remember(ppp->slcomp, c, count) <= 0) {
count1150drivers/net/ppp.ciph->saddr, iph->daddr, count))
count1154drivers/net/ppp.c(void) dev_rint (c, count, 0, ppp->dev);
count2000drivers/net/ppp.cstatic inline void ppp_print_hex (register char *out, char *in, int count)
count2004drivers/net/ppp.cwhile (count-- > 0) {
count2014drivers/net/ppp.cstatic inline void ppp_print_char (register char *out, char *in, int count)
count2018drivers/net/ppp.cwhile (count-- > 0) {
count2033drivers/net/ppp.cstatic void ppp_print_buffer(const char *name, char *buf, int count, int seg)
count2041drivers/net/ppp.cPRINTK ((KERN_DEBUG "ppp: %s, count = %d\n", name, count));
count2043drivers/net/ppp.cwhile (count > 8) {
count2048drivers/net/ppp.ccount -= 8;
count2052drivers/net/ppp.cif (count > 0) {
count2054drivers/net/ppp.cppp_print_hex  (line, buf, count);
count2055drivers/net/ppp.cppp_print_char (&line[8 * 3], buf, count);
count279drivers/net/slip.cint count;
count281drivers/net/slip.ccount = sl->rcount;
count292drivers/net/slip.cif (count + 80 > sl->buffsize) {
count296drivers/net/slip.ccount = slhc_uncompress(sl->slcomp, sl->rbuff, count);
count297drivers/net/slip.cif (count <= 0) {
count308drivers/net/slip.cif (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0) {
count315drivers/net/slip.cskb = alloc_skb(count, GFP_ATOMIC);
count321drivers/net/slip.cskb->len = count;
count323drivers/net/slip.cmemcpy(skb->data, sl->rbuff, count);
count333drivers/net/slip.cint actual, count;
count360drivers/net/slip.ccount = slip_esc6(p, (unsigned char *) sl->xbuff, len);
count363drivers/net/slip.ccount = slip_esc(p, (unsigned char *) sl->xbuff, len);
count374drivers/net/slip.cactual = sl->tty->driver.write(sl->tty, 0, sl->xbuff, count);
count378drivers/net/slip.csl->xleft = count - actual;
count627drivers/net/slip.cslip_receive_buf(struct tty_struct *tty, unsigned char *cp, char *fp, int count)
count647drivers/net/slip.cwhile (count--) {
count64drivers/net/smc-ultra.cstatic int ultra_block_input(struct device *dev, int count,
count66drivers/net/smc-ultra.cstatic void ultra_block_output(struct device *dev, int count,
count247drivers/net/smc-ultra.cultra_block_input(struct device *dev, int count, char *buf, int ring_offset)
count255drivers/net/smc-ultra.cif (xfer_start + count > (void*) dev->rmem_end) {
count259drivers/net/smc-ultra.ccount -= semi_count;
count260drivers/net/smc-ultra.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count262drivers/net/smc-ultra.creturn dev->rmem_start + count;
count264drivers/net/smc-ultra.cmemcpy(buf, xfer_start, count);
count267drivers/net/smc-ultra.creturn ring_offset + count;
count271drivers/net/smc-ultra.cultra_block_output(struct device *dev, int count, const unsigned char *buf,
count280drivers/net/smc-ultra.cmemcpy(shmem, buf, count);
count44drivers/net/wd.cstatic int wd_block_input(struct device *dev, int count,
count46drivers/net/wd.cstatic void wd_block_output(struct device *dev, int count,
count315drivers/net/wd.cwd_block_input(struct device *dev, int count, char *buf, int ring_offset)
count322drivers/net/wd.cif (count == 4) {
count329drivers/net/wd.cif (xfer_start + count > dev->rmem_end) {
count333drivers/net/wd.ccount -= semi_count;
count334drivers/net/wd.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
count336drivers/net/wd.cmemcpy(buf, (char *)xfer_start, count);
count346drivers/net/wd.cwd_block_output(struct device *dev, int count, const unsigned char *buf,
count356drivers/net/wd.cmemcpy((char *)shmem, buf, count);
count359drivers/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;
count983drivers/scsi/53c7,8xx.cint count;      /* Number of boards detected */
count988drivers/scsi/53c7,8xx.cfor (current_override = count = 0; current_override < OVERRIDE_LIMIT; 
count1006drivers/scsi/53c7,8xx.c++count;
count1018drivers/scsi/53c7,8xx.c++count, ++pci_index);
count1020drivers/scsi/53c7,8xx.creturn count;
count2132drivers/scsi/53c7,8xx.cchar *buf,int count) {
count2145drivers/scsi/53c7,8xx.cif (error = verify_area(VERIFY_READ,buf,count))
count2148drivers/scsi/53c7,8xx.cif (count > 80) 
count2151drivers/scsi/53c7,8xx.cmemcpy_from_fs(input_buf, buf, count);
count2153drivers/scsi/53c7,8xx.cif (input_buf[count - 1] != '\n')
count2156drivers/scsi/53c7,8xx.cinput_buf[count - 1]=0;
count2180drivers/scsi/53c7,8xx.creturn count;
count2184drivers/scsi/53c7,8xx.cchar *buf,int count) {
count2577drivers/scsi/53c7,8xx.cunsigned long count = (unsigned long) (cmd->use_sg ?
count2583drivers/scsi/53c7,8xx.c<< 24) | count;
count2597drivers/scsi/53c7,8xx.c| count;
count936drivers/scsi/53c7,8xx.hunsigned long 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);
count925drivers/scsi/aha1542.cint count = 0;
count1058drivers/scsi/aha1542.ccount++;
count1065drivers/scsi/aha1542.creturn count;
count1071drivers/scsi/aha1542.cint count = 0;
count1083drivers/scsi/aha1542.ccount++;
count1086drivers/scsi/aha1542.cprintk("Potential to restart %d stalled commands...\n", count);
count1089drivers/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;
count180drivers/scsi/in2000.cunsigned count, infcnt, txcnt;
count186drivers/scsi/in2000.ccount = (infcnt << 3) - 32;  /* don't fill completely */
count187drivers/scsi/in2000.cif ( count > in2000_datalen )
count188drivers/scsi/in2000.ccount = in2000_datalen;  /* limit to actual data on hand */
count189drivers/scsi/in2000.ccount >>= 1;    /* Words, not bytes */
count191drivers/scsi/in2000.cif ( count ) {
count192drivers/scsi/in2000.cport_write(INFIFO, in2000_dataptr, count);
count193drivers/scsi/in2000.cin2000_datalen -= (count<<1);
count196drivers/scsi/in2000.cwhile ( count-- )
count213drivers/scsi/in2000.ccount = 32;  /* Always says to use this much flush */
count214drivers/scsi/in2000.cwhile ( count-- )
count222drivers/scsi/in2000.cunsigned fic, count, count2;
count224drivers/scsi/in2000.ccount = inb(INFCNT) & 0xe1;
count226drivers/scsi/in2000.ccount2 = count;
count227drivers/scsi/in2000.ccount = (fic = inb(INFCNT)) & 0xe1;
count228drivers/scsi/in2000.c} while ( count != count2 );
count234drivers/scsi/in2000.cif(fic > 128) count = 1024;
count235drivers/scsi/in2000.celse if(fic > 64) count = 512;
count236drivers/scsi/in2000.celse if (fic > 32) count = 256;
count238drivers/scsi/in2000.ccount = in2000_datalen - count2;  /* FIFO has the rest */
count239drivers/scsi/in2000.cif ( count > in2000_datalen )  /* count2 is lesser of FIFO & rqst */
count242drivers/scsi/in2000.ccount2 = count >> 1;
count243drivers/scsi/in2000.ccount >>= 1;    /* also to words */
count244drivers/scsi/in2000.ccount -= count2;  /* extra left over in FIFO */
count275drivers/scsi/in2000.cunsigned int count,auxstatus,scsistatus,cmdphase,scsibyte;
count281drivers/scsi/in2000.cif (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) ||
count291drivers/scsi/in2000.cDEB(printk("(int2000:%02x %02x %02x %02x %02x)\n",count,auxstatus,
count346drivers/scsi/pas16.cint  count;
count348drivers/scsi/pas16.cfor (count = 0; current_override < NO_OVERRIDES; ++current_override) {
count421drivers/scsi/pas16.c++count;
count423drivers/scsi/pas16.creturn count;
count576drivers/scsi/sd.cint count, this_count_max;
count582drivers/scsi/sd.ccount = 0;
count590drivers/scsi/sd.cif (count < SCpnt->host->sg_tablesize) count++;
count599drivers/scsi/sd.c((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--;
count601drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
count602drivers/scsi/sd.ccount = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/
count603drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
count604drivers/scsi/sd.ccount = count << 1;
count605drivers/scsi/sd.cSCpnt->sglist_len = count;
count606drivers/scsi/sd.cmax_sg = count / sizeof(struct scatterlist);
count608drivers/scsi/sd.csgpnt = (struct scatterlist * ) scsi_malloc(count);
count609drivers/scsi/sd.cmemset(sgpnt, 0, count);  /* Zero so it is easy to fill */
count618drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext;
count619drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
count620drivers/scsi/sd.ccount++, bh = bhp) {
count624drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
count625drivers/scsi/sd.csgpnt[count].length += bh->b_size;
count628drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length - 1 > 
count630drivers/scsi/sd.c!sgpnt[count].alt_address) {
count631drivers/scsi/sd.csgpnt[count].alt_address = sgpnt[count].address;
count635drivers/scsi/sd.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 10) {
count636drivers/scsi/sd.csgpnt[count].address = NULL;
count638drivers/scsi/sd.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
count644drivers/scsi/sd.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
count648drivers/scsi/sd.cwhile(--count >= 0){
count649drivers/scsi/sd.cif(sgpnt[count].alt_address) 
count650drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
count657drivers/scsi/sd.cSCpnt->use_sg = count;
count671drivers/scsi/sd.cif (((long) sgpnt[count].address) + sgpnt[count].length +
count674drivers/scsi/sd.c!sgpnt[count].alt_address) continue;
count676drivers/scsi/sd.cif(!sgpnt[count].alt_address) {count--; continue; }
count678drivers/scsi/sd.ctmp = (char *) scsi_malloc(sgpnt[count].length + bhp->b_size);
count684drivers/scsi/sd.cscsi_free(sgpnt[count].address, sgpnt[count].length);
count685drivers/scsi/sd.csgpnt[count].address = tmp;
count686drivers/scsi/sd.ccount--;
count699drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){
count701drivers/scsi/sd.cprintk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors);
count708drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
count709drivers/scsi/sd.cprintk("{%d:%p %p %d}  ", count,
count710drivers/scsi/sd.csgpnt[count].address,
count711drivers/scsi/sd.csgpnt[count].alt_address,
count712drivers/scsi/sd.csgpnt[count].length);
count717drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
count718drivers/scsi/sd.cif(sgpnt[count].alt_address)
count719drivers/scsi/sd.cmemcpy(sgpnt[count].address, sgpnt[count].alt_address, 
count720drivers/scsi/sd.csgpnt[count].length);
count244drivers/scsi/seagate.cregister int count = 0, start = jiffies + 1, stop = start + 25;
count247drivers/scsi/seagate.cfor (;jiffies < stop; ++count);
count254drivers/scsi/seagate.cborken_calibration =  (count * 4) / (SLOW_RATE*1024);
count265drivers/scsi/seagate.cregister int count;
count266drivers/scsi/seagate.cfor (count = borken_calibration; count && (STATUS & STAT_REQ); 
count267drivers/scsi/seagate.c--count);
count269drivers/scsi/seagate.cif (count)
count170drivers/scsi/sg.cstatic int sg_read(struct inode *inode,struct file *filp,char *buf,int count)
count175drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
count187drivers/scsi/sg.cif (count>=sizeof(struct sg_header))
count191drivers/scsi/sg.cif (count>device->header.pack_len)
count192drivers/scsi/sg.ccount=device->header.pack_len;
count193drivers/scsi/sg.cif (count > sizeof(struct sg_header)) {
count194drivers/scsi/sg.cmemcpy_tofs(buf,device->buff,count-sizeof(struct sg_header));
count198drivers/scsi/sg.ccount=0;
count203drivers/scsi/sg.creturn count;
count228drivers/scsi/sg.cstatic int sg_write(struct inode *inode,struct file *filp,char *buf,int count)
count237drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
count243drivers/scsi/sg.cif (count<(sizeof(struct sg_header) + 6))
count261drivers/scsi/sg.cdevice->header.pack_len=count;
count299drivers/scsi/sg.cif (count<(sizeof(struct sg_header) + size))
count321drivers/scsi/sg.creturn count;
count652drivers/scsi/sr.cint count, this_count_max;
count655drivers/scsi/sr.ccount = 0;
count660drivers/scsi/sr.cif(this_count) count++;
count661drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
count664drivers/scsi/sr.ccount++;
count670drivers/scsi/sr.cif (count < SCpnt->host->sg_tablesize) {
count671drivers/scsi/sr.ccount++;
count675drivers/scsi/sr.ccount--;
count679drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
count680drivers/scsi/sr.ccount = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/
count681drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
count682drivers/scsi/sr.ccount = count << 1;
count683drivers/scsi/sr.cSCpnt->sglist_len = count;
count684drivers/scsi/sr.csgpnt = (struct scatterlist * ) scsi_malloc(count);
count690drivers/scsi/sr.ccount = 0;
count693drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
count694drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
count695drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
count696drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete
count698drivers/scsi/sr.ccount++;
count700drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
count701drivers/scsi/sr.ccount++, bh = bh->b_reqnext) {
count703drivers/scsi/sr.csgpnt[count].address = bh->b_data;
count704drivers/scsi/sr.csgpnt[count].length = bh->b_size;
count705drivers/scsi/sr.csgpnt[count].alt_address = NULL;
count707drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(end_rec);
count708drivers/scsi/sr.cif(!sgpnt[count].address) panic("SCSI DMA pool exhausted.");
count709drivers/scsi/sr.csgpnt[count].length = end_rec;
count710drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
count711drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
count714drivers/scsi/sr.cif (((int) sgpnt[count].address) + sgpnt[count].length > 
count716drivers/scsi/sr.csgpnt[count].alt_address = sgpnt[count].address;
count720drivers/scsi/sr.cif(dma_free_sectors < (sgpnt[count].length >> 9) + 5) {
count721drivers/scsi/sr.csgpnt[count].address = NULL;
count723drivers/scsi/sr.csgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length);
count729drivers/scsi/sr.cif(sgpnt[count].address == NULL){ /* Out of dma memory */
count732drivers/scsi/sr.cwhile(--count >= 0){
count733drivers/scsi/sr.cif(sgpnt[count].alt_address) 
count734drivers/scsi/sr.cscsi_free(sgpnt[count].address, sgpnt[count].length);
count747drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
count748drivers/scsi/sr.cprintk("SGlist: %d %x %x %x\n", count,
count749drivers/scsi/sr.csgpnt[count].address, 
count750drivers/scsi/sr.csgpnt[count].alt_address, 
count751drivers/scsi/sr.csgpnt[count].length);
count749drivers/scsi/st.cst_write(struct inode * inode, struct file * filp, char * buf, int count)
count775drivers/scsi/st.cif (STp->block_size == 0 && count > st_buffer_size)
count812drivers/scsi/st.cif (STp->block_size != 0 && (count % STp->block_size) != 0)
count823drivers/scsi/st.ctotal = count;
count832drivers/scsi/st.cwhile((STp->block_size == 0 && !STp->do_async_writes && count > 0) ||
count834drivers/scsi/st.c(STp->buffer)->buffer_bytes + count > write_threshold))
count838drivers/scsi/st.cdo_count = count;
count841drivers/scsi/st.cif (do_count > count)
count842drivers/scsi/st.cdo_count = count;
count890drivers/scsi/st.ccount -= do_count - transfer;
count923drivers/scsi/st.cif (count < total)
count924drivers/scsi/st.creturn total - count;
count930drivers/scsi/st.ccount -= do_count;
count940drivers/scsi/st.cif (count != 0) {
count943drivers/scsi/st.c(STp->buffer)->buffer_bytes,b_point,count);
count944drivers/scsi/st.cfilp->f_pos += count;
count945drivers/scsi/st.c(STp->buffer)->buffer_bytes += count;
count946drivers/scsi/st.ccount = 0;
count991drivers/scsi/st.cst_read(struct inode * inode, struct file * filp, char * buf, int count)
count1012drivers/scsi/st.cif (STp->block_size == 0 && count > st_buffer_size)
count1016drivers/scsi/st.c(count % STp->block_size) != 0)
count1041drivers/scsi/st.cfor (total = 0; total < count; ) {
count1050drivers/scsi/st.cblks = bytes = count;
count1057drivers/scsi/st.cbytes = count;
count1194drivers/scsi/st.c(STp->buffer)->buffer_bytes, count - total);
count1196drivers/scsi/st.ctransfer = (STp->buffer)->buffer_bytes < count - total ?
count1197drivers/scsi/st.c(STp->buffer)->buffer_bytes : count - total;
count1223drivers/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;
count91drivers/sound/ad1848.cstatic void     ad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count92drivers/sound/ad1848.cstatic void     ad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart);
count456drivers/sound/ad1848.cad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count461drivers/sound/ad1848.ccnt = count;
count491drivers/sound/ad1848.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count518drivers/sound/ad1848.cad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart)
count525drivers/sound/ad1848.ccnt = count;
count554drivers/sound/ad1848.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count166drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count174drivers/sound/audio.cc = count;
count185drivers/sound/audio.cif (!count)      /*
count259drivers/sound/audio.creturn count;
count263drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count271drivers/sound/audio.cc = count;
count317drivers/sound/audio.creturn count - c;
count382drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count388drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count356drivers/sound/configure.cint             count;
count368drivers/sound/configure.ccount = read (fd, &c, 1);
count369drivers/sound/configure.cif (count == 0)
count121drivers/sound/dev_table.hint count, int intrflag, int dma_restart);
count123drivers/sound/dev_table.hint count, int intrflag, int dma_restart);
count157drivers/sound/dev_table.hint offs, int count, int pmgr_flag);
count445drivers/sound/dmabuf.cint             bytes, count;
count455drivers/sound/dmabuf.ccount = (fact >> 16) & 0xffff;
count457drivers/sound/dmabuf.cif (count == 0)
count458drivers/sound/dmabuf.ccount = MAX_SUB_BUFFERS;
count463drivers/sound/dmabuf.cif (count < 2)
count467drivers/sound/dmabuf.cdmap->max_fragments = count;
count477drivers/sound/dmabuf.creturn IOCTL_OUT (arg, bytes | (count << 16));
count629drivers/sound/dmabuf.cDMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
count694drivers/sound/dmabuf.cset_dma_count (chan, count);
count701drivers/sound/dmabuf.ccount,
count707drivers/sound/dmabuf.cphysaddr, count);
count717drivers/sound/dmabuf.creturn count;
count927drivers/sound/dmabuf.cDMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode)
count1473drivers/sound/gus_wave.cint offs, int count, int pmgr_flag)
count1489drivers/sound/gus_wave.cif (count < sizeof_patch)
count1495drivers/sound/gus_wave.ccount -= sizeof_patch;
count1518drivers/sound/gus_wave.cif (count < patch.len)
count1521drivers/sound/gus_wave.ccount, (int) patch.len);
count1522drivers/sound/gus_wave.cpatch.len = count;
count2169drivers/sound/gus_wave.cint             this_one, count;
count2176drivers/sound/gus_wave.ccount = total_count / gus_sampling_channels;
count2186drivers/sound/gus_wave.cpcm_datasize[this_one] = count;
count2192drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
count2226drivers/sound/gus_wave.cif (!pcm_active && (pcm_qlen > 0 || count < pcm_bsize))
count2255drivers/sound/gus_wave.cgus_sampling_start_input (int dev, unsigned long buf, int count,
count2263drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count298drivers/sound/midi_synth.cint offs, int count, int pmgr_flag)
count316drivers/sound/midi_synth.cif (count < sizeof (struct sysex_info))
count322drivers/sound/midi_synth.ccount -= sizeof (struct sysex_info);
count331drivers/sound/midi_synth.cif (count < sysex.len)
count334drivers/sound/midi_synth.ccount, (int) sysex.len);
count335drivers/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;
count893drivers/sound/opl3.cint offs, int count, int pmgr_flag)
count897drivers/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;
count645drivers/sound/pss.cint             i, limit, val, count;
count663drivers/sound/pss.ccount = 1;
count678drivers/sound/pss.cif (count >= size)
count683drivers/sound/pss.ccount, size);
count689drivers/sound/pss.ccount++;
count810drivers/sound/pss.cpss_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count820drivers/sound/pss.cc = count;
count822drivers/sound/pss.creturn count - c;
count826drivers/sound/pss.cpss_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count833drivers/sound/pss.cif (count)      /* Flush output */
count835drivers/sound/pss.cCOPY_FROM_USER (&code_buffer[code_length], buf, 0, count);
count836drivers/sound/pss.ccode_length += count;
count838drivers/sound/pss.creturn count;
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);
count394drivers/sound/sb_dsp.csb_dsp_output_block (int dev, unsigned long buf, int count,
count403drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
count406drivers/sound/sb_dsp.ccount >>= 1;
count407drivers/sound/sb_dsp.ccount--;
count416drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count417drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count433drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count434drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count444drivers/sound/sb_dsp.csb_dsp_start_input (int dev, unsigned long buf, int count, int intrflag,
count457drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
count460drivers/sound/sb_dsp.ccount >>= 1;
count461drivers/sound/sb_dsp.ccount--;
count470drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count471drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count487drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) (count & 0xff));
count488drivers/sound/sb_dsp.csb_dsp_command ((unsigned char) ((count >> 8) & 0xff));
count98drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count100drivers/sound/sequencer.cint             c = count, p = 0;
count111drivers/sound/sequencer.creturn pmgr_read (dev - 1, file, buf, count);
count137drivers/sound/sequencer.creturn count - c;
count231drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count240drivers/sound/sequencer.cDEB (printk ("sequencer_write(dev=%d, count=%d)\n", dev, count));
count248drivers/sound/sequencer.creturn pmgr_write (dev - 1, file, buf, count);
count250drivers/sound/sequencer.cc = count;
count289drivers/sound/sequencer.creturn count - c;
count339drivers/sound/sequencer.creturn count - c;
count349drivers/sound/sequencer.creturn count;
count1815drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count1821drivers/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);
count24drivers/sound/sound_calls.hint audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count25drivers/sound/sound_calls.hint audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count37drivers/sound/sound_calls.hint sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count38drivers/sound/sound_calls.hint sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count59drivers/sound/sound_calls.hint MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count60drivers/sound/sound_calls.hint MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count66drivers/sound/sound_calls.hvoid MIDIbuf_bytes_received(int dev, unsigned char *buf, int count);
count80drivers/sound/sound_calls.hint   CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count81drivers/sound/sound_calls.hint   CMIDI_read  (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count100drivers/sound/sound_calls.hvoid request_sound_timer (int count);
count109drivers/sound/sound_calls.hint sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count110drivers/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);
count236drivers/sound/sound_calls.hint pss_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count237drivers/sound/sound_calls.hint pss_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
count256drivers/sound/sound_switch.cread_status (snd_rw_buf * buf, int count)
count263drivers/sound/sound_switch.cl = count;
count278drivers/sound/sound_switch.csound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count280drivers/sound/sound_switch.cDEB (printk ("sound_read_sw(dev=%d, count=%d)\n", dev, count));
count285drivers/sound/sound_switch.creturn read_status (buf, count);
count291drivers/sound/sound_switch.creturn audio_read (dev, file, buf, count);
count296drivers/sound/sound_switch.creturn sequencer_read (dev, file, buf, count);
count301drivers/sound/sound_switch.creturn MIDIbuf_read (dev, file, buf, count);
count306drivers/sound/sound_switch.creturn pss_read (dev, file, buf, count);
count317drivers/sound/sound_switch.csound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
count320drivers/sound/sound_switch.cDEB (printk ("sound_write_sw(dev=%d, count=%d)\n", dev, count));
count327drivers/sound/sound_switch.creturn sequencer_write (dev, file, buf, count);
count333drivers/sound/sound_switch.creturn audio_write (dev, file, buf, count);
count338drivers/sound/sound_switch.creturn MIDIbuf_write (dev, file, buf, count);
count343drivers/sound/sound_switch.creturn pss_write (dev, file, buf, count);
count350drivers/sound/sound_switch.creturn count;
count61drivers/sound/soundcard.csound_read (struct inode *inode, struct file *file, char *buf, int count)
count68drivers/sound/soundcard.creturn sound_read_sw (dev, &files[dev], buf, count);
count72drivers/sound/soundcard.csound_write (struct inode *inode, struct file *file, char *buf, int count)
count79drivers/sound/soundcard.creturn sound_write_sw (dev, &files[dev], buf, count);
count253drivers/sound/soundcard.crequest_sound_timer (int count)
count258drivers/sound/soundcard.cif (count < 0)
count259drivers/sound/soundcard.ccount = jiffies + (-count);
count261drivers/sound/soundcard.ccount += seq_time;
count263drivers/sound/soundcard.ctimer_table[SOUND_TIMER].expires = count;
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, 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)
count202fs/block_dev.cif (left > count)
count203fs/block_dev.cleft = count;
count463fs/exec.cchar * addr, unsigned long count)
count488fs/exec.cresult = verify_area(VERIFY_WRITE, addr, count);
count492fs/exec.cresult = file.f_op->read(inode, &file, addr, count);
count567fs/exec.cif ((bprm.argc = count(argv)) < 0)
count569fs/exec.cif ((bprm.envc = count(envp)) < 0)
count26fs/ext/dir.cstatic int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count68fs/ext/dir.cstruct dirent * dirent, 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, 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++) {
count30fs/ext2/dir.cchar * buf, int count)
count102fs/ext2/dir.cstruct dirent * dirent, int count)
count119fs/ext2/dir.cwhile (count > 0 && !stored && filp->f_pos < inode->i_size) {
count171fs/ext2/dir.cwhile (count > 0 && filp->f_pos < inode->i_size 
count188fs/ext2/dir.cif (count == 1 && !stored)
count189fs/ext2/dir.ccount = dlen;
count190fs/ext2/dir.cif (count < dlen) {
count191fs/ext2/dir.ccount = 0;
count214fs/ext2/dir.ccount -= dlen;
count81fs/ext2/file.cchar * buf, int count)
count110fs/ext2/file.cif (left > count)
count111fs/ext2/file.cleft = count;
count232fs/ext2/file.cchar * buf, int count)
count276fs/ext2/file.cwhile (written < count) {
count289fs/ext2/file.cif (c > count-written)
count290fs/ext2/file.cc = count - written;
count188fs/hpfs/hpfs_fs.cchar *buf, int count);
count190fs/hpfs/hpfs_fs.cstruct dirent *dirent, int count);
count806fs/hpfs/hpfs_fs.cunsigned n, count, n_bands;
count823fs/hpfs/hpfs_fs.ccount = 0;
count832fs/hpfs/hpfs_fs.ccount += count_one_bitmap(s->s_dev, bitmaps[n]);
count835fs/hpfs/hpfs_fs.creturn count;
count846fs/hpfs/hpfs_fs.cunsigned i, count;
count852fs/hpfs/hpfs_fs.ccount = 0;
count855fs/hpfs/hpfs_fs.ccount += (test_bit(i, bits) != 0);
count858fs/hpfs/hpfs_fs.creturn count;
count868fs/hpfs/hpfs_fs.cchar *buf, int count)
count881fs/hpfs/hpfs_fs.cif (count > inode->i_size - (off_t) filp->f_pos)
count882fs/hpfs/hpfs_fs.ccount = inode->i_size - filp->f_pos;
count885fs/hpfs/hpfs_fs.cwhile (count > 0) {
count897fs/hpfs/hpfs_fs.cif (n > count)
count898fs/hpfs/hpfs_fs.cn = count;
count927fs/hpfs/hpfs_fs.cif (count > inode->i_size - (off_t) filp->f_pos - n + n0)
count928fs/hpfs/hpfs_fs.ccount = inode->i_size - filp->f_pos - n + n0;
count938fs/hpfs/hpfs_fs.ccount -= n0;
count1561fs/hpfs/hpfs_fs.cchar *buf, int count)
count463fs/inode.cinode->i_sem.count = 1;
count68fs/isofs/dir.cstruct dirent * dirent, int count)
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;
count23fs/minix/dir.cstatic int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count65fs/minix/dir.cstruct dirent * dirent, 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, char * buf, int count)
count214fs/minix/file.cwhile (written < count) {
count222fs/minix/file.cif (c > count-written)
count223fs/minix/file.cc = count-written;
count29fs/msdos/dir.cstatic int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count)
count69fs/msdos/dir.cint 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)
count294fs/msdos/file.cif (count <= 0) return 0;
count296fs/msdos/file.cfor (start = buf; count || carry; count -= size) {
count304fs/msdos/file.csize = MIN(SECTOR_SIZE-offset,MAX(carry,count));
count332fs/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;
count29fs/nfs/dir.cint count);
count80fs/nfs/dir.cint count)
count94fs/nfs/dir.cstruct dirent *dirent, int 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, 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, 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 pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count)
count129fs/pipe.cstatic int bad_pipe_rw(struct inode * inode, struct file * filp, 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);
count58fs/proc/array.cstatic int read_core(struct inode * inode, struct file * file,char * buf, int count)
count70fs/proc/array.cif (count < 0)
count74fs/proc/array.cif (count > high_memory + PAGE_SIZE - p)
count75fs/proc/array.ccount = high_memory + PAGE_SIZE - 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 *) (p - PAGE_SIZE),count);
count98fs/proc/array.cread += count;
count123fs/proc/array.cstatic int read_profile(struct inode *inode, struct file *file, char *buf, int count)
count130fs/proc/array.cif (count < 0)
count134fs/proc/array.cif (count > (prof_len+1)*sizeof(unsigned long) - p)
count135fs/proc/array.ccount = (prof_len+1)*sizeof(unsigned long) - p;
count138fs/proc/array.cwhile (p < sizeof(unsigned long) && count > 0) {
count140fs/proc/array.cbuf++; p++; count--; read++;
count143fs/proc/array.cmemcpy_tofs(buf,(void *)pnt,count);
count144fs/proc/array.cread += count;
count150fs/proc/array.cstatic int write_profile(struct inode * inode, struct file * file, char * buf, int count)
count156fs/proc/array.creturn count;
count424fs/proc/array.cint count = 0;
count440fs/proc/array.c} while (count++ < 16);
count657fs/proc/array.cstatic int read_maps (int pid, struct file * file, char * buf, int count)
count669fs/proc/array.cif (count == 0)
count719fs/proc/array.cif (i > count)
count720fs/proc/array.ci = count;
count722fs/proc/array.cdestptr += i; count -= i;
count731fs/proc/array.cif (count == 0)
count834fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
count841fs/proc/array.cif (count < 0)
count857fs/proc/array.cif (count + file->f_pos > length)
count858fs/proc/array.ccount = length - file->f_pos;
count859fs/proc/array.cend = count + file->f_pos;
count860fs/proc/array.cmemcpy_tofs(buf, (char *) page + file->f_pos, count);
count863fs/proc/array.creturn count;
count897fs/proc/array.cstatic int arraylong_read (struct inode * inode, struct file * file, char * buf, int count)
count902fs/proc/array.cif (count < 0)
count907fs/proc/array.creturn read_maps(pid, file, buf, count);
count124fs/proc/base.cstruct dirent * dirent, int count)
count118fs/proc/fd.cstruct dirent * dirent, int 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 mem_read(struct inode * inode, struct file * file,char * buf, int count)
count37fs/proc/mem.cif (count < 0)
count51fs/proc/mem.cwhile (count > 0) {
count75fs/proc/mem.cif (i > count)
count76fs/proc/mem.ci = count;
count80fs/proc/mem.ccount -= i;
count88fs/proc/mem.cstatic int mem_write(struct inode * inode, struct file * file,char * buf, int count)
count99fs/proc/mem.cif (count < 0)
count113fs/proc/mem.cwhile (count > 0) {
count139fs/proc/mem.cif (i > count)
count140fs/proc/mem.ci = count;
count144fs/proc/mem.ccount -= i;
count41fs/proc/net.cchar * buf, int count);
count210fs/proc/net.cstruct dirent * dirent, int count)
count239fs/proc/net.cchar * buf, int count)
count244fs/proc/net.cint bytes=count;
count249fs/proc/net.cif (count < 0)
count145fs/proc/root.cstruct dirent * dirent, int count)
count26fs/read_write.casmlinkage int sys_readdir(unsigned int fd, struct dirent * dirent, unsigned int count)
count37fs/read_write.cint size = count;
count38fs/read_write.cif (count == 1)
count42fs/read_write.cerror = file->f_op->readdir(inode,file,dirent,count);
count122fs/read_write.casmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count)
count134fs/read_write.cif (!count)
count136fs/read_write.cerror = verify_area(VERIFY_WRITE,buf,count);
count139fs/read_write.creturn file->f_op->read(inode,file,buf,count);
count142fs/read_write.casmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count)
count155fs/read_write.cif (!count)
count157fs/read_write.cerror = verify_area(VERIFY_READ,buf,count);
count160fs/read_write.cwritten = file->f_op->write(inode,file,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;
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;
count30fs/sysv/dir.cstatic int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
count128fs/sysv/dir.cstruct dirent * dirent, int count)
count133fs/sysv/dir.cif (count==1)
count137fs/sysv/dir.cwhile (count >= sizeof(struct dirent)) {
count145fs/sysv/dir.ccount -= retval;
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, 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)
count57fs/umsdos/dir.cint count,
count120fs/umsdos/dir.cret = msdos_readdir(dir,filp,dirent,count);
count236fs/umsdos/dir.cint count)
count242fs/umsdos/dir.cret = umsdos_readdir_x (dir,filp,dirent,1,count,&entry,1,&f_pos);
count29fs/umsdos/emd.cint count)
count34fs/umsdos/emd.cret = msdos_readdir(inode,filp,dirent,count);
count45fs/umsdos/emd.cint count)
count50fs/umsdos/emd.cret = msdos_file_read(inode,filp,buf,count);
count61fs/umsdos/emd.cint count)
count66fs/umsdos/emd.cret = msdos_file_write(inode,filp,buf,count);
count82fs/umsdos/emd.cint count)
count86fs/umsdos/emd.cwritten = umsdos_file_write_kmem (emd_dir,filp,buf,count);
count87fs/umsdos/emd.creturn written != count ? -EIO : 0;
count98fs/umsdos/emd.cint count)
count103fs/umsdos/emd.csizeread = umsdos_file_read_kmem (emd_dir,filp,buf,count);
count104fs/umsdos/emd.cif (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);
count35fs/umsdos/rdir.cint count)
count40fs/umsdos/rdir.cret = msdos_readdir(dir,filp,dirent,count);
count67fs/xiafs/dir.cstruct file * filp, char * buf, int count)
count73fs/xiafs/dir.cstruct file * filp, struct dirent * dirent, 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, char * buf, int count)
count218fs/xiafs/file.cwhile (written < count) {
count226fs/xiafs/file.cif (c > count-written)
count227fs/xiafs/file.cc = count-written;
count234include/asm-alpha/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
count236include/asm-alpha/dma.hcount--;
count238include/asm-alpha/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count239include/asm-alpha/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
count241include/asm-alpha/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count242include/asm-alpha/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
count261include/asm-alpha/dma.hunsigned short count;
count263include/asm-alpha/dma.hcount = 1 + dma_inb(io_port);
count264include/asm-alpha/dma.hcount += dma_inb(io_port) << 8;
count266include/asm-alpha/dma.hreturn (dmanr<=3)? count : (count<<1);
count52include/asm-alpha/hwrpb.hunsigned long count;
count7include/asm-alpha/string.h#define memset(s, c, count) \
count9include/asm-alpha/string.h__constant_c_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \
count10include/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);
count69include/asm-i386/io.hextern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
count71include/asm-i386/io.h: "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
count74include/asm-i386/io.hextern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \
count76include/asm-i386/io.h: "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); }
count29include/asm-i386/string.hextern inline char * strncpy(char * dest,const char *src,size_t count)
count43include/asm-i386/string.h:"S" (src),"D" (dest),"c" (count):"si","di","ax","cx","memory");
count63include/asm-i386/string.hextern inline char * strncat(char * dest,const char * src,size_t count)
count80include/asm-i386/string.h:"S" (src),"D" (dest),"a" (0),"c" (0xffffffff),"g" (count)
count104include/asm-i386/string.hextern inline int strncmp(const char * cs,const char * ct,size_t count)
count121include/asm-i386/string.h:"=a" (__res):"S" (cs),"D" (ct),"c" (count):"si","di","cx");
count429include/asm-i386/string.hextern inline int memcmp(const void * cs,const void * ct,size_t count)
count440include/asm-i386/string.h:"=a" (__res):"0" (0),"S" (cs),"D" (ct),"c" (count)
count445include/asm-i386/string.hextern inline void * memchr(const void * cs,int c,size_t count)
count448include/asm-i386/string.hif (!count)
count457include/asm-i386/string.h:"=D" (__res):"a" (c),"D" (cs),"c" (count)
count462include/asm-i386/string.hextern inline void * __memset_generic(void * s, char c,size_t count)
count469include/asm-i386/string.h:"a" (c),"D" (s),"c" (count)
count475include/asm-i386/string.h#define __constant_c_memset(s,c,count) __memset_generic((s),(unsigned char)(c),(count))
count476include/asm-i386/string.h#define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count))
count482include/asm-i386/string.hextern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count)
count484include/asm-i386/string.hswitch (count) {
count506include/asm-i386/string.h: "a" (pattern),"c" (count/4),"D" ((long) s) \
count509include/asm-i386/string.hswitch (count % 4) {
count518include/asm-i386/string.h#define __constant_c_x_memset(s, c, count) \
count519include/asm-i386/string.h(__builtin_constant_p(count) ? \
count520include/asm-i386/string.h__constant_c_and_count_memset((s),(c),(count)) : \
count521include/asm-i386/string.h__constant_c_memset((s),(c),(count)))
count523include/asm-i386/string.h#define __memset(s, c, count) \
count524include/asm-i386/string.h(__builtin_constant_p(count) ? \
count525include/asm-i386/string.h__constant_count_memset((s),(c),(count)) : \
count526include/asm-i386/string.h__memset_generic((s),(c),(count)))
count528include/asm-i386/string.h#define memset(s, c, count) \
count530include/asm-i386/string.h__constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \
count531include/asm-i386/string.h__memset((s),(c),(count)))
count108include/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)
count276include/asm-sparc/string.hextern __inline__ void *memset(void *src, int c, size_t count)
count286include/asm-sparc/string.h"=r" (retval), "=r" (src), "=r" (c), "=r" (count) :
count287include/asm-sparc/string.h"0" (retval), "1" (src), "2" (c), "3" (count));
count292include/asm-sparc/string.hextern __inline__ void *memcpy(void *dest, const void *src, size_t count)
count309include/asm-sparc/string.h"=r" (retval), "=r" (dest), "=r" (src), "=r" (count), "=r" (tmp) :
count310include/asm-sparc/string.h"0" (retval), "1" (dest), "2" (src), "3" (count), "4" (tmp));
count315include/asm-sparc/string.hextern __inline__ void *memmove(void *dest, const void *src, size_t count)
count332include/asm-sparc/string.h"=r" (retval), "=r" (dest), "=r" (src), "=r" (count), "=r" (tmp) :
count333include/asm-sparc/string.h"0" (retval), "1" (dest), "2" (src), "3" (count), "4" (tmp));
count338include/asm-sparc/string.hextern __inline__ int memcmp(const void *cs, const void *ct, size_t count)
count363include/asm-sparc/string.h"r" (cs), "r" (ct), "r" (count), "r" (tmp1=0), "r" (tmp2=0));
count148include/asm-sparc/unistd.hstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
count43include/linux/binfmts.hchar * addr, unsigned long count);
count45include/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;
count196include/linux/mm.hextern int vread(char *buf, char *addr, int count);
count172include/linux/msdos_fs.hstruct dirent *dirent, int count);
count63include/linux/nfs_fs.hint offset, int count, char *data,
count66include/linux/nfs_fs.hint offset, int count, char *data,
count86include/linux/nfs_fs.hint cookie, int count, struct nfs_entry *entry);
count91include/linux/sched.hint count;
count103include/linux/sched.hint count;
count115include/linux/sched.hint count;
count375include/linux/sched.hif (sem->count <= 0)
count377include/linux/sched.hsem->count--;
count382include/linux/sched.hsem->count++;
count134include/linux/serial.hint      count;      /* # of fd on device */
count86include/linux/tty.hint    count;
count203include/linux/tty.hint count;
count127include/linux/tty_driver.hunsigned 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;
count118include/linux/xd.hstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count);
count122include/linux/xd.hstatic u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count);
count123include/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);
count287kernel/exit.cint err, retval = 0, count = 0;
count295kernel/exit.c++count;
count300kernel/exit.creturn(count ? retval : -ESRCH);
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++) {
count272kernel/sched.cwhile (sem->count <= 0) {
count411kernel/sched.cstatic int count = LOAD_FREQ;
count413kernel/sched.cif (count-- > 0)
count415kernel/sched.ccount = LOAD_FREQ;
count189kernel/time.cint count;
count194kernel/time.ccount = inb_p(0x40);  /* read the latched count */
count195kernel/time.ccount |= inb(0x40) << 8;
count197kernel/time.cif (count > (LATCH - LATCH/100)) {
count203kernel/time.ccount = ((LATCH-1) - count) * TICK_SIZE;
count204kernel/time.ccount = (count + LATCH/2) / LATCH;
count205kernel/time.creturn offset + count;
count27lib/string.cchar * strncpy(char * dest,const char *src,size_t count)
count31lib/string.cwhile (count-- && (*dest++ = *src++) != '\0')
count49lib/string.cchar * strncat(char *dest, const char *src, size_t count)
count53lib/string.cif (count) {
count57lib/string.cif (--count == 0)
count77lib/string.cint strncmp(const char * cs,const char * ct,size_t count)
count81lib/string.cwhile (count) {
count84lib/string.ccount--;
count107lib/string.csize_t strnlen(const char * s, size_t count)
count111lib/string.cfor (sc = s; *sc != '\0' && count--; ++sc)
count120lib/string.csize_t count = 0;
count128lib/string.creturn count;
count129lib/string.c++count;
count132lib/string.creturn count;
count168lib/string.cvoid * memset(void * s,char c,size_t count)
count172lib/string.cwhile (count--)
count178lib/string.cchar * bcopy(const char * src, char * dest, int count)
count182lib/string.cwhile (count--)
count188lib/string.cvoid * memcpy(void * dest,const void *src,size_t count)
count192lib/string.cwhile (count--)
count198lib/string.cvoid * memmove(void * dest,const void *src,size_t count)
count205lib/string.cwhile (count--)
count209lib/string.ctmp = (char *) dest + count;
count210lib/string.cs = (char *) src + count;
count211lib/string.cwhile (count--)
count218lib/string.cint memcmp(const void * cs,const void * ct,size_t count)
count223lib/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)
count177mm/kmalloc.cstatic int count = 0;
count178mm/kmalloc.cif (++count < 5) {
count340mm/mmap.cstatic void avl_rebalance (struct vm_area_struct *** nodeplaces_ptr, int count)
count342mm/mmap.cfor ( ; count > 0 ; count--) {
count743mm/swap.cstatic int count = 0;
count744mm/swap.cif (++count < 5) {
count220mm/vmalloc.cint vread(char *buf, char *addr, int count)
count229mm/vmalloc.cif (count == 0)
count231mm/vmalloc.cput_fs_byte('\0', buf++), addr++, count--;
count237mm/vmalloc.cif (count == 0)
count239mm/vmalloc.cput_fs_byte(*addr++, buf++), count--;
count829net/inet/ip.cint count, len;
count858net/inet/ip.ccount = 0;
count864net/inet/ip.cif(count+fp->len > skb->len)
count873net/inet/ip.ccount += fp->len;
count883net/inet/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
count396net/inet/skbuff.cstatic int count = 0;
count397net/inet/skbuff.cif (++count < 5) {
count75net/socket.cstruct dirent *dirent, int count);
count374net/socket.cint count)