tag | line | file | source code |
count | 1780 | drivers/block/floppy.c | int count,head_shift,track_shift; |
count | 1812 | drivers/block/floppy.c | for (count = 0; count < F_SECT_PER_TRACK; ++count) { |
count | 1813 | drivers/block/floppy.c | here[count].track = format_req.track; |
count | 1814 | drivers/block/floppy.c | here[count].head = format_req.head; |
count | 1815 | drivers/block/floppy.c | here[count].sect = 0; |
count | 1816 | drivers/block/floppy.c | here[count].size = F_SIZECODE; |
count | 1819 | drivers/block/floppy.c | for (count = 1; count <= F_SECT_PER_TRACK; ++count) { |
count | 1820 | drivers/block/floppy.c | here[n].sect = count; |
count | 2588 | drivers/block/floppy.c | int i, drive, count, ret; |
count | 2611 | drivers/block/floppy.c | count = raw_cmd.length; |
count | 2613 | drivers/block/floppy.c | if(count > max_buffer_sectors * 1024 ) |
count | 2618 | drivers/block/floppy.c | i = verify_area(VERIFY_READ, raw_cmd.data, count ); |
count | 2621 | drivers/block/floppy.c | memcpy_fromfs(floppy_track_buffer, raw_cmd.data, count); |
count | 2652 | drivers/block/floppy.c | i=fd_copyout( raw_cmd.data, floppy_track_buffer, count); |
count | 2895 | drivers/block/floppy.c | char * buf, int count) |
count | 2902 | drivers/block/floppy.c | return block_read(inode, filp, buf, count); |
count | 2906 | drivers/block/floppy.c | char * buf, int count) |
count | 2919 | drivers/block/floppy.c | block = (filp->f_pos + count) >> 9; |
count | 2922 | drivers/block/floppy.c | ret= block_write(inode, filp, buf, count); |
count | 195 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
count | 214 | drivers/block/ll_rw_blk.c | count = bh->b_size >> 9; |
count | 215 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
count | 217 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
count | 260 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
count | 269 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
count | 272 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
count | 275 | drivers/block/ll_rw_blk.c | req->current_nr_sectors = count; |
count | 309 | drivers/block/ll_rw_blk.c | req->nr_sectors = count; |
count | 310 | drivers/block/ll_rw_blk.c | req->current_nr_sectors = count; |
count | 878 | drivers/block/mcd.c | int count= QUICK_LOOP_COUNT; |
count | 879 | drivers/block/mcd.c | while (count--) { |
count | 884 | drivers/block/mcd.c | printk(" %d ",QUICK_LOOP_COUNT-count); |
count | 1099 | drivers/block/mcd.c | int count; |
count | 1128 | drivers/block/mcd.c | for (count = 0; count < 2000000; count++) |
count | 1132 | drivers/block/mcd.c | for (count = 0; count < 2000000; count++) |
count | 1136 | drivers/block/mcd.c | if (count >= 2000000) { |
count | 1141 | drivers/block/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
count | 1144 | drivers/block/mcd.c | for(count=0;count<3;count++) |
count | 1145 | drivers/block/mcd.c | if(getValue(result+count)) { |
count | 1329 | drivers/block/mcd.c | int count; |
count | 1332 | drivers/block/mcd.c | for (count = 0; count < 2000; count++) |
count | 1336 | drivers/block/mcd.c | if (count >= 2000) |
count | 1901 | drivers/block/sbpcd.c | static int yy_SubChanInfo(int frame, int count, u_char *buffer) |
count | 1915 | drivers/block/sbpcd.c | drvcmd[5]=(count>>8)&0xFF; |
count | 1916 | drivers/block/sbpcd.c | drvcmd[6]=count&0xFF; |
count | 211 | drivers/block/xd.c | u_int block,count,retry; |
count | 220 | drivers/block/xd.c | count = CURRENT->nr_sectors; |
count | 226 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
count | 323 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
count | 330 | drivers/block/xd.c | printk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count); |
count | 334 | drivers/block/xd.c | while (count) { |
count | 335 | drivers/block/xd.c | temp = count < xd_maxsectors ? count : xd_maxsectors; |
count | 367 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
count | 397 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
count | 399 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
count | 400 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != ((u_int) buffer + count) & 0xFFFF0000) { |
count | 410 | drivers/block/xd.c | set_dma_count(xd_dma,count); |
count | 421 | drivers/block/xd.c | static 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) |
count | 427 | drivers/block/xd.c | cmdblk[4] = count; |
count | 510 | drivers/block/xd.c | u_char cmdblk[6],i,count = 0; |
count | 515 | drivers/block/xd.c | init_drive(count); |
count | 516 | drivers/block/xd.c | count++; |
count | 519 | drivers/block/xd.c | return (count); |
count | 116 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 121 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 125 | drivers/char/atixlmouse.c | if (count < 3) |
count | 142 | drivers/char/atixlmouse.c | for(i = 3; i < count; i++) |
count | 126 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 135 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 142 | drivers/char/busmouse.c | if (count < 3) |
count | 144 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
count | 176 | drivers/char/busmouse.c | for (r = 3; r < count; r++) |
count | 291 | drivers/char/console.c | static void * memsetw(void * s, unsigned short c, unsigned int count) |
count | 297 | drivers/char/console.c | :"a" (c),"D" (s),"c" (count/2) |
count | 793 | drivers/char/console.c | unsigned long count; |
count | 798 | drivers/char/console.c | count = (scr_end-pos)>>1; |
count | 802 | drivers/char/console.c | count = ((pos-origin)>>1)+1; |
count | 806 | drivers/char/console.c | count = video_num_columns * video_num_lines; |
count | 816 | drivers/char/console.c | :"c" (count), |
count | 824 | drivers/char/console.c | long count; |
count | 829 | drivers/char/console.c | count = video_num_columns-x; |
count | 834 | drivers/char/console.c | count = x+1; |
count | 838 | drivers/char/console.c | count = video_num_columns; |
count | 847 | drivers/char/console.c | :"c" (count), |
count | 855 | drivers/char/console.c | long count; |
count | 862 | drivers/char/console.c | count=(vpar > video_num_columns-x) ? (video_num_columns-x) : vpar; |
count | 868 | drivers/char/console.c | :"c" (count), |
count | 1338 | drivers/char/console.c | unsigned char *buf, int count) |
count | 1360 | drivers/char/console.c | while (!tty->stopped && count) { |
count | 1362 | drivers/char/console.c | buf++; n++; count--; |
count | 68 | drivers/char/lp.c | unsigned long count = 0; |
count | 72 | drivers/char/lp.c | count ++; |
count | 75 | drivers/char/lp.c | } while(!(status & LP_PBUSY) && count < LP_CHAR(minor)); |
count | 77 | drivers/char/lp.c | if (count == LP_CHAR(minor)) { |
count | 82 | drivers/char/lp.c | if (count > lp_max_count) { |
count | 83 | drivers/char/lp.c | printk("lp success after %d counts.\n",count); |
count | 84 | drivers/char/lp.c | lp_max_count=count; |
count | 143 | drivers/char/lp.c | static int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count) |
count | 154 | drivers/char/lp.c | copy_size = (count <= LP_BUFFER_SIZE ? count : LP_BUFFER_SIZE); |
count | 204 | drivers/char/lp.c | count -= bytes_written; |
count | 206 | drivers/char/lp.c | } while (count > 0); |
count | 212 | drivers/char/lp.c | char * buf, int count) |
count | 227 | drivers/char/lp.c | while (count > 0) { |
count | 231 | drivers/char/lp.c | if (retval) { count--; temp++; |
count | 285 | drivers/char/lp.c | static int lp_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 288 | drivers/char/lp.c | return lp_write_interrupt(inode, file, buf, count); |
count | 290 | drivers/char/lp.c | return lp_write_polled(inode, file, buf, count); |
count | 451 | drivers/char/lp.c | int count = 0; |
count | 475 | drivers/char/lp.c | count++; |
count | 478 | drivers/char/lp.c | if (count == 0) |
count | 491 | drivers/char/lp.c | int count = 0; |
count | 512 | drivers/char/lp.c | count++; |
count | 515 | drivers/char/lp.c | if (count == 0) |
count | 26 | drivers/char/mem.c | static int read_ram(struct inode * inode, struct file * file,char * buf, int count) |
count | 31 | drivers/char/mem.c | static int write_ram(struct inode * inode, struct file * file,char * buf, int count) |
count | 36 | drivers/char/mem.c | static int read_mem(struct inode * inode, struct file * file,char * buf, int count) |
count | 41 | drivers/char/mem.c | if (count < 0) |
count | 45 | drivers/char/mem.c | if (count > high_memory - p) |
count | 46 | drivers/char/mem.c | count = high_memory - p; |
count | 48 | drivers/char/mem.c | while (p < PAGE_SIZE && count > 0) { |
count | 52 | drivers/char/mem.c | count--; |
count | 55 | drivers/char/mem.c | memcpy_tofs(buf,(void *) p,count); |
count | 56 | drivers/char/mem.c | read += count; |
count | 61 | drivers/char/mem.c | static int write_mem(struct inode * inode, struct file * file,char * buf, int count) |
count | 66 | drivers/char/mem.c | if (count < 0) |
count | 70 | drivers/char/mem.c | if (count > high_memory - p) |
count | 71 | drivers/char/mem.c | count = high_memory - p; |
count | 73 | drivers/char/mem.c | while (p < PAGE_SIZE && count > 0) { |
count | 77 | drivers/char/mem.c | count--; |
count | 80 | drivers/char/mem.c | memcpy_fromfs((void *) p,buf,count); |
count | 81 | drivers/char/mem.c | written += count; |
count | 83 | drivers/char/mem.c | return count; |
count | 99 | drivers/char/mem.c | static int read_kmem(struct inode *inode, struct file *file, char *buf, int count) |
count | 103 | drivers/char/mem.c | read1 = read_mem(inode, file, buf, count); |
count | 106 | drivers/char/mem.c | read2 = vread(buf + read1, (char *) ((unsigned long) file->f_pos), count - read1); |
count | 113 | drivers/char/mem.c | static int read_port(struct inode * inode,struct file * file,char * buf, int count) |
count | 118 | drivers/char/mem.c | while (count-- > 0 && i < 65536) { |
count | 127 | drivers/char/mem.c | static int write_port(struct inode * inode,struct file * file,char * buf, int count) |
count | 132 | drivers/char/mem.c | while (count-- > 0 && i < 65536) { |
count | 141 | drivers/char/mem.c | static int read_null(struct inode * node,struct file * file,char * buf,int count) |
count | 146 | drivers/char/mem.c | static int write_null(struct inode * inode,struct file * file,char * buf, int count) |
count | 148 | drivers/char/mem.c | return count; |
count | 151 | drivers/char/mem.c | static int read_zero(struct inode * node,struct file * file,char * buf,int count) |
count | 155 | drivers/char/mem.c | for (left = count; left > 0; left--) { |
count | 159 | drivers/char/mem.c | return count; |
count | 171 | drivers/char/mem.c | static int read_full(struct inode * node,struct file * file,char * buf,int count) |
count | 173 | drivers/char/mem.c | return count; |
count | 176 | drivers/char/mem.c | static int write_full(struct inode * inode,struct file * file,char * buf, int count) |
count | 99 | drivers/char/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 104 | drivers/char/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
count | 108 | drivers/char/msbusmouse.c | if (count < 3) |
count | 117 | drivers/char/msbusmouse.c | for (i = 3; i < count; i++) |
count | 519 | drivers/char/n_tty.c | char *fp, int count) |
count | 529 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
count | 535 | drivers/char/n_tty.c | count -= i; |
count | 537 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
count | 543 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
count | 926 | drivers/char/n_tty.c | if (tty_hung_up_p(file) || (tty->link && !tty->link->count)) { |
count | 335 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, char * buffer, int count) |
count | 337 | drivers/char/psaux.c | int i = count; |
count | 348 | drivers/char/psaux.c | return count; |
count | 357 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, char * buffer, int count) |
count | 359 | drivers/char/psaux.c | int i = count; |
count | 367 | drivers/char/psaux.c | return count; |
count | 376 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
count | 379 | drivers/char/psaux.c | int i = count; |
count | 401 | drivers/char/psaux.c | if (count-i) { |
count | 403 | drivers/char/psaux.c | return count-i; |
count | 68 | drivers/char/pty.c | if (tty->count > 1) |
count | 69 | drivers/char/pty.c | printk("master pty_close: count = %d!!\n", tty->count); |
count | 71 | drivers/char/pty.c | if (tty->count > 2) |
count | 113 | drivers/char/pty.c | unsigned char *buf, int count) |
count | 126 | drivers/char/pty.c | while (count > 0) { |
count | 127 | drivers/char/pty.c | n = MIN(count, PTY_BUF_SIZE); |
count | 135 | drivers/char/pty.c | count -= n; |
count | 139 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
count | 207 | drivers/char/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
count | 209 | drivers/char/pty.c | if (!tty->link->count) |
count | 377 | drivers/char/serial.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE) |
count | 379 | drivers/char/serial.c | tty->flip.count++; |
count | 405 | drivers/char/serial.c | int count; |
count | 423 | drivers/char/serial.c | count = info->xmit_fifo_size; |
count | 429 | drivers/char/serial.c | } while (--count > 0); |
count | 1237 | drivers/char/serial.c | unsigned char *buf, int count) |
count | 1252 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
count | 1270 | drivers/char/serial.c | count -= c; |
count | 1450 | drivers/char/serial.c | if ((change_port || change_irq) && (info->count > 1)) |
count | 1584 | drivers/char/serial.c | if (info->count > 1) |
count | 1808 | drivers/char/serial.c | printk("rs_close ttys%d, count = %d\n", info->line, info->count); |
count | 1810 | drivers/char/serial.c | if ((tty->count == 1) && (info->count != 1)) { |
count | 1819 | drivers/char/serial.c | "info->count is %d\n", info->count); |
count | 1820 | drivers/char/serial.c | info->count = 1; |
count | 1822 | drivers/char/serial.c | if (--info->count < 0) { |
count | 1824 | drivers/char/serial.c | info->line, info->count); |
count | 1825 | drivers/char/serial.c | info->count = 0; |
count | 1827 | drivers/char/serial.c | if (info->count) { |
count | 1906 | drivers/char/serial.c | info->count = 0; |
count | 1984 | drivers/char/serial.c | info->line, info->count); |
count | 1986 | drivers/char/serial.c | info->count--; |
count | 2019 | drivers/char/serial.c | info->line, info->count); |
count | 2026 | drivers/char/serial.c | info->count++; |
count | 2030 | drivers/char/serial.c | info->line, info->count); |
count | 2058 | drivers/char/serial.c | info->count); |
count | 2060 | drivers/char/serial.c | info->count++; |
count | 2086 | drivers/char/serial.c | if ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) { |
count | 2413 | drivers/char/serial.c | info->count = 0; |
count | 2473 | drivers/char/serial.c | (rs_table[i].count == 0)) |
count | 2481 | drivers/char/serial.c | if (rs_table[i].count) { |
count | 1916 | drivers/char/tpqic02.c | static int qic02_tape_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 1932 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
count | 1934 | drivers/char/tpqic02.c | if (count % TAPE_BLKSIZE) { /* Only allow mod 512 bytes at a time. */ |
count | 1946 | drivers/char/tpqic02.c | error = verify_area(VERIFY_WRITE, buf, count); |
count | 1953 | drivers/char/tpqic02.c | while (count>=0) { |
count | 1957 | drivers/char/tpqic02.c | if (bytes_todo>count) |
count | 1958 | drivers/char/tpqic02.c | bytes_todo = count; |
count | 2054 | drivers/char/tpqic02.c | count -= bytes_done; |
count | 2091 | drivers/char/tpqic02.c | static int qic02_tape_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 2106 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
count | 2108 | drivers/char/tpqic02.c | if (count % TAPE_BLKSIZE) { /* only allow mod 512 bytes at a time */ |
count | 2128 | drivers/char/tpqic02.c | error = verify_area(VERIFY_READ, buf, count); |
count | 2135 | drivers/char/tpqic02.c | while (count>=0) { |
count | 2139 | drivers/char/tpqic02.c | if (bytes_todo>count) |
count | 2140 | drivers/char/tpqic02.c | bytes_todo = count; |
count | 2221 | drivers/char/tpqic02.c | count -= bytes_done; |
count | 2226 | drivers/char/tpqic02.c | printk(TPQIC02_NAME ": status_bytes_wr %x, buf %p, total_bytes_done %lx, count %x\n", status_bytes_wr, buf, total_bytes_done, count); |
count | 2429 | drivers/char/tpqic02.c | static int qic02_tape_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count) |
count | 256 | drivers/char/tty_io.c | static int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count) |
count | 261 | drivers/char/tty_io.c | static int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 637 | drivers/char/tty_io.c | static int tty_read(struct inode * inode, struct file * file, char * buf, int count) |
count | 666 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
count | 674 | drivers/char/tty_io.c | static int tty_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 702 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
count | 743 | drivers/char/tty_io.c | *tty_loc && (*tty_loc)->count) |
count | 821 | drivers/char/tty_io.c | (*tty_loc)->count++; |
count | 825 | drivers/char/tty_io.c | (*tty_loc)->count--; |
count | 832 | drivers/char/tty_io.c | (*tty_loc)->count++; |
count | 850 | drivers/char/tty_io.c | (*tty_loc)->count--; |
count | 860 | drivers/char/tty_io.c | (*o_tty_loc)->count++; |
count | 929 | drivers/char/tty_io.c | tty->count); |
count | 965 | drivers/char/tty_io.c | if (--tty->link->count < 0) { |
count | 967 | drivers/char/tty_io.c | tty->count, tty_name(tty)); |
count | 968 | drivers/char/tty_io.c | tty->link->count = 0; |
count | 971 | drivers/char/tty_io.c | if (--tty->count < 0) { |
count | 973 | drivers/char/tty_io.c | tty->count, tty_name(tty)); |
count | 974 | drivers/char/tty_io.c | tty->count = 0; |
count | 976 | drivers/char/tty_io.c | if (tty->count) |
count | 980 | drivers/char/tty_io.c | if (o_tty->count) |
count | 1517 | drivers/char/tty_io.c | int count; |
count | 1536 | drivers/char/tty_io.c | count = tty->flip.count; |
count | 1537 | drivers/char/tty_io.c | tty->flip.count = 0; |
count | 1541 | drivers/char/tty_io.c | if (count > tty->max_flip_cnt) |
count | 1542 | drivers/char/tty_io.c | tty->max_flip_cnt = count; |
count | 1544 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
count | 30 | drivers/char/vt.c | #define VT_IS_IN_USE(i) (console_driver.table[i] && console_driver.table[i]->count) |
count | 98 | drivers/char/vt.c | kd_mksound(unsigned int count, unsigned int ticks) |
count | 104 | drivers/char/vt.c | if (count) { |
count | 110 | drivers/char/vt.c | outb_p(count & 0xff, 0x42); |
count | 111 | drivers/char/vt.c | outb((count >> 8) & 0xff, 0x42); |
count | 619 | drivers/char/vt.c | console_driver.table[i]->count > 0) |
count | 23 | drivers/char/vt_kern.h | void kd_mksound(unsigned int count, unsigned int ticks); |
count | 67 | drivers/net/3c503.c | static void el2_block_output(struct device *dev, int count, |
count | 69 | drivers/net/3c503.c | static int el2_block_input(struct device *dev, int count, char *buf, |
count | 373 | drivers/net/3c503.c | el2_block_output(struct device *dev, int count, |
count | 385 | drivers/net/3c503.c | memcpy(dest_addr, buf, count); |
count | 386 | drivers/net/3c503.c | if (ei_debug > 2 && memcmp(dest_addr, buf, count)) |
count | 401 | drivers/net/3c503.c | for(i = 0; i < count; i++) { |
count | 406 | drivers/net/3c503.c | dev->name, i, count, boguscount); |
count | 417 | drivers/net/3c503.c | el2_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 426 | drivers/net/3c503.c | if (dev->mem_start + ring_offset + count > end_of_ring) { |
count | 430 | drivers/net/3c503.c | count -= semi_count; |
count | 431 | drivers/net/3c503.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 432 | drivers/net/3c503.c | return dev->rmem_start + count; |
count | 434 | drivers/net/3c503.c | memcpy(buf, (char *)dev->mem_start + ring_offset, count); |
count | 435 | drivers/net/3c503.c | return ring_offset + count; |
count | 445 | drivers/net/3c503.c | for(i = 0; i < count; i++) { |
count | 450 | drivers/net/3c503.c | dev->name, i, count, boguscount); |
count | 417 | drivers/net/8390.c | pkt_len = rx_frame.count - sizeof(rx_frame); |
count | 437 | drivers/net/8390.c | dev->name, rx_frame.count, rx_frame.status, |
count | 464 | drivers/net/8390.c | rx_frame.count); |
count | 157 | drivers/net/8390.h | unsigned short count; /* header + packet length in bytes */ |
count | 63 | drivers/net/ac3200.c | static int ac_block_input(struct device *dev, int count, |
count | 65 | drivers/net/ac3200.c | static void ac_block_output(struct device *dev, const int count, |
count | 221 | drivers/net/ac3200.c | static int ac_block_input(struct device *dev, int count, char *buf, |
count | 226 | drivers/net/ac3200.c | if (xfer_start + count > dev->rmem_end) { |
count | 230 | drivers/net/ac3200.c | count -= semi_count; |
count | 231 | drivers/net/ac3200.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 232 | drivers/net/ac3200.c | return dev->rmem_start + count; |
count | 234 | drivers/net/ac3200.c | memcpy(buf, (char*)xfer_start, count); |
count | 236 | drivers/net/ac3200.c | return ring_offset + count; |
count | 239 | drivers/net/ac3200.c | static void ac_block_output(struct device *dev, int count, |
count | 244 | drivers/net/ac3200.c | memcpy((unsigned char *)shmem, buf, count); |
count | 114 | drivers/net/apricot.c | unsigned short count; |
count | 226 | drivers/net/apricot.c | lp->rx[i].count = 0; |
count | 323 | drivers/net/apricot.c | int pkt_len = lp->scb.rfd->count & 0x3fff; |
count | 360 | drivers/net/apricot.c | lp->rx_tail->count=0; |
count | 403 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
count | 406 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
count | 797 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
count | 800 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
count | 276 | drivers/net/de620.c | de620_write_block(byte *buffer, int count) |
count | 283 | drivers/net/de620.c | int bytes = count; |
count | 292 | drivers/net/de620.c | for ( ; count > 0; --count, ++buffer) { |
count | 301 | drivers/net/de620.c | for ( ; count > 0; count -=2) { |
count | 312 | drivers/net/de620.c | de620_read_block(byte *data, int count) |
count | 320 | drivers/net/de620.c | int bytes = count; |
count | 328 | drivers/net/de620.c | while (count-- > 0) { |
count | 337 | drivers/net/de620.c | while (count-- > 0) { |
count | 98 | drivers/net/e2100.c | static int e21_block_input(struct device *dev, int count, |
count | 100 | drivers/net/e2100.c | static void e21_block_output(struct device *dev, int count, |
count | 274 | drivers/net/e2100.c | e21_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 283 | drivers/net/e2100.c | if (count == 4) |
count | 286 | drivers/net/e2100.c | memcpy(buf, shared_mem + (ring_offset & 0xff), count); |
count | 295 | drivers/net/e2100.c | e21_block_output(struct device *dev, int count, const unsigned char *buf, |
count | 306 | drivers/net/e2100.c | memcpy((char*)shared_mem, buf, count); |
count | 105 | drivers/net/hp-plus.c | static int hpp_mem_block_input(struct device *dev, int count, |
count | 107 | drivers/net/hp-plus.c | static void hpp_mem_block_output(struct device *dev, int count, |
count | 109 | drivers/net/hp-plus.c | static int hpp_io_block_input(struct device *dev, int count, |
count | 111 | drivers/net/hp-plus.c | static void hpp_io_block_output(struct device *dev, int count, |
count | 315 | drivers/net/hp-plus.c | hpp_io_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 320 | drivers/net/hp-plus.c | insw(ioaddr + HP_DATAPORT, buf, count>>1); |
count | 321 | drivers/net/hp-plus.c | if (count & 0x01) |
count | 322 | drivers/net/hp-plus.c | buf[count-1] = inw(ioaddr + HP_DATAPORT); |
count | 323 | drivers/net/hp-plus.c | return ring_offset + count; |
count | 327 | drivers/net/hp-plus.c | hpp_mem_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 336 | drivers/net/hp-plus.c | memcpy(buf, (char*)dev->mem_start, (count + 3) & ~3); |
count | 339 | drivers/net/hp-plus.c | return ring_offset + count; |
count | 345 | drivers/net/hp-plus.c | hpp_io_block_output(struct device *dev, int count, |
count | 350 | drivers/net/hp-plus.c | outsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2); |
count | 355 | drivers/net/hp-plus.c | hpp_mem_block_output(struct device *dev, int count, |
count | 363 | drivers/net/hp-plus.c | memcpy((char *)dev->mem_start, buf, (count + 3) & ~3); |
count | 60 | drivers/net/hp.c | static int hp_block_input(struct device *dev, int count, |
count | 62 | drivers/net/hp.c | static void hp_block_output(struct device *dev, int count, |
count | 220 | drivers/net/hp.c | hp_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 224 | drivers/net/hp.c | int xfer_count = count; |
count | 228 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 229 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 234 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1); |
count | 235 | drivers/net/hp.c | if (count & 0x01) |
count | 236 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
count | 238 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
count | 251 | drivers/net/hp.c | return ring_offset + count; |
count | 255 | drivers/net/hp.c | hp_block_output(struct device *dev, int count, |
count | 265 | drivers/net/hp.c | if (ei_status.word16 && (count & 0x01)) |
count | 266 | drivers/net/hp.c | count++; |
count | 283 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 284 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 291 | drivers/net/hp.c | outsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1); |
count | 293 | drivers/net/hp.c | outsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
count | 303 | drivers/net/hp.c | if ((start_page << 8) + count != addr) |
count | 305 | drivers/net/hp.c | dev->name, (start_page << 8) + count, addr); |
count | 67 | drivers/net/ne.c | static int ne_block_input(struct device *dev, int count, |
count | 69 | drivers/net/ne.c | static void ne_block_output(struct device *dev, const int count, |
count | 319 | drivers/net/ne.c | ne_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 321 | drivers/net/ne.c | int xfer_count = count; |
count | 334 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 335 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 340 | drivers/net/ne.c | insw(NE_BASE + NE_DATAPORT,buf,count>>1); |
count | 341 | drivers/net/ne.c | if (count & 0x01) |
count | 342 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT), xfer_count++; |
count | 344 | drivers/net/ne.c | insb(NE_BASE + NE_DATAPORT, buf, count); |
count | 368 | drivers/net/ne.c | return ring_offset + count; |
count | 372 | drivers/net/ne.c | ne_block_output(struct device *dev, int count, |
count | 381 | drivers/net/ne.c | if (ei_status.word16 && (count & 0x01)) |
count | 382 | drivers/net/ne.c | count++; |
count | 413 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 414 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 420 | drivers/net/ne.c | outsw(NE_BASE + NE_DATAPORT, buf, count>>1); |
count | 422 | drivers/net/ne.c | outsb(NE_BASE + NE_DATAPORT, buf, count); |
count | 435 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
count | 441 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
count | 151 | drivers/net/ppp.c | char *fp, int count); |
count | 670 | drivers/net/ppp.c | register int count = ppp->xhead - ppp->xbuff; |
count | 673 | drivers/net/ppp.c | ppp->stats.sbytes += count; |
count | 677 | drivers/net/ppp.c | count, |
count | 695 | drivers/net/ppp.c | register int count, actual; |
count | 697 | drivers/net/ppp.c | count = ppp->xhead - ppp->xbuff; |
count | 699 | drivers/net/ppp.c | actual = ppp->tty->driver.write(ppp->tty, 0, ppp->xbuff, count); |
count | 701 | drivers/net/ppp.c | if (actual == count) { |
count | 711 | drivers/net/ppp.c | register int count, actual; |
count | 732 | drivers/net/ppp.c | count = ppp->xhead - ppp->xtail; |
count | 734 | drivers/net/ppp.c | actual = tty->driver.write(tty, 0, ppp->xtail, count); |
count | 736 | drivers/net/ppp.c | if (actual == count) { |
count | 787 | drivers/net/ppp.c | i, count; |
count | 794 | drivers/net/ppp.c | count = 0; |
count | 797 | drivers/net/ppp.c | buffer [count] = tty->read_q.buf[i]; |
count | 798 | drivers/net/ppp.c | if (++count == 8) { |
count | 800 | drivers/net/ppp.c | count = 0; |
count | 804 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, count, KERNEL_DS); |
count | 912 | drivers/net/ppp.c | char *fp, int count) |
count | 928 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", cp, count, KERNEL_DS); |
count | 931 | drivers/net/ppp.c | ppp->stats.rbytes += count; |
count | 933 | drivers/net/ppp.c | while (count-- > 0) { |
count | 990 | drivers/net/ppp.c | int count = ppp->rcount; |
count | 1001 | drivers/net/ppp.c | if (count == 0) |
count | 1005 | drivers/net/ppp.c | ppp_print_buffer ("receive frame", c, count, KERNEL_DS); |
count | 1007 | drivers/net/ppp.c | if (count < 4) { |
count | 1008 | drivers/net/ppp.c | PRINTKN (1,(KERN_WARNING "ppp: got runt ppp frame, %d chars\n", count)); |
count | 1020 | drivers/net/ppp.c | count -= 2; /* ignore last two characters */ |
count | 1026 | drivers/net/ppp.c | count -= 2; |
count | 1031 | drivers/net/ppp.c | count--; |
count | 1034 | drivers/net/ppp.c | count -= 2; |
count | 1038 | drivers/net/ppp.c | if ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) { |
count | 1049 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, c, count+2)) { |
count | 1067 | drivers/net/ppp.c | int count) |
count | 1072 | drivers/net/ppp.c | (int) proto, count, c[0])); |
count | 1076 | drivers/net/ppp.c | (int) proto, count)); |
count | 1103 | drivers/net/ppp.c | count = slhc_uncompress(ppp->slcomp, c, count); |
count | 1104 | drivers/net/ppp.c | if (count <= 0) { |
count | 1114 | drivers/net/ppp.c | if (slhc_remember(ppp->slcomp, c, count) <= 0) { |
count | 1130 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
count | 1134 | drivers/net/ppp.c | (void) dev_rint (c, count, 0, ppp->dev); |
count | 1976 | drivers/net/ppp.c | static inline void ppp_print_hex (register char *out, char *in, int count) |
count | 1980 | drivers/net/ppp.c | while (count-- > 0) { |
count | 1990 | drivers/net/ppp.c | static inline void ppp_print_char (register char *out, char *in, int count) |
count | 1994 | drivers/net/ppp.c | while (count-- > 0) { |
count | 2009 | drivers/net/ppp.c | static void ppp_print_buffer(const char *name, char *buf, int count, int seg) |
count | 2017 | drivers/net/ppp.c | PRINTK ((KERN_DEBUG "ppp: %s, count = %d\n", name, count)); |
count | 2019 | drivers/net/ppp.c | while (count > 8) { |
count | 2024 | drivers/net/ppp.c | count -= 8; |
count | 2028 | drivers/net/ppp.c | if (count > 0) { |
count | 2030 | drivers/net/ppp.c | ppp_print_hex (line, buf, count); |
count | 2031 | drivers/net/ppp.c | ppp_print_char (&line[8 * 3], buf, count); |
count | 299 | drivers/net/slip.c | int count; |
count | 301 | drivers/net/slip.c | count = sl->rcount; |
count | 327 | drivers/net/slip.c | count = slhc_uncompress(sl->slcomp, sl->rbuff, count); |
count | 328 | drivers/net/slip.c | if (count <= 0) { |
count | 339 | drivers/net/slip.c | if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0) { |
count | 350 | drivers/net/slip.c | done = dev_rint(sl->rbuff, count, 0, sl->dev); |
count | 362 | drivers/net/slip.c | int actual, count; |
count | 384 | drivers/net/slip.c | count=slip_esc6(p, (unsigned char *)sl->xbuff,len); |
count | 386 | drivers/net/slip.c | count=slip_esc(p, (unsigned char *)sl->xbuff,len); |
count | 390 | drivers/net/slip.c | actual = sl->tty->driver.write(sl->tty, 0, sl->xbuff, count); |
count | 391 | drivers/net/slip.c | if (actual == count) { |
count | 395 | drivers/net/slip.c | sl->xhead = sl->xbuff + count; |
count | 407 | drivers/net/slip.c | register int count, answer; |
count | 426 | drivers/net/slip.c | count = sl->xhead - sl->xtail; |
count | 428 | drivers/net/slip.c | answer = tty->driver.write(tty, 0, sl->xtail, count); |
count | 429 | drivers/net/slip.c | if (answer == count) { |
count | 660 | drivers/net/slip.c | char *fp, int count) |
count | 679 | drivers/net/slip.c | while (count--) { |
count | 788 | drivers/net/slip.c | int count = 0; |
count | 796 | drivers/net/slip.c | d[count++] = END; |
count | 806 | drivers/net/slip.c | d[count++] = ESC; |
count | 807 | drivers/net/slip.c | d[count++] = ESC_END; |
count | 810 | drivers/net/slip.c | d[count++] = ESC; |
count | 811 | drivers/net/slip.c | d[count++] = ESC_ESC; |
count | 814 | drivers/net/slip.c | d[count++] = *s; |
count | 818 | drivers/net/slip.c | d[count++] = END; |
count | 819 | drivers/net/slip.c | return(count); |
count | 866 | drivers/net/slip.c | int count = 0; |
count | 877 | drivers/net/slip.c | d[count++] = 0x70; |
count | 891 | drivers/net/slip.c | d[count++] = c; |
count | 898 | drivers/net/slip.c | d[count++] = c; |
count | 900 | drivers/net/slip.c | d[count++] = 0x70; |
count | 901 | drivers/net/slip.c | return(count); |
count | 44 | drivers/net/smc-ultra.c | static int ultra_block_input(struct device *dev, int count, |
count | 46 | drivers/net/smc-ultra.c | static void ultra_block_output(struct device *dev, int count, |
count | 224 | drivers/net/smc-ultra.c | ultra_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 229 | drivers/net/smc-ultra.c | if (xfer_start + count > (void*) dev->rmem_end) { |
count | 233 | drivers/net/smc-ultra.c | count -= semi_count; |
count | 234 | drivers/net/smc-ultra.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 235 | drivers/net/smc-ultra.c | return dev->rmem_start + count; |
count | 237 | drivers/net/smc-ultra.c | memcpy(buf, xfer_start, count); |
count | 239 | drivers/net/smc-ultra.c | return ring_offset + count; |
count | 243 | drivers/net/smc-ultra.c | ultra_block_output(struct device *dev, int count, const unsigned char *buf, |
count | 249 | drivers/net/smc-ultra.c | memcpy(shmem, buf, count); |
count | 45 | drivers/net/wd.c | static int wd_block_input(struct device *dev, int count, |
count | 47 | drivers/net/wd.c | static void wd_block_output(struct device *dev, int count, |
count | 309 | drivers/net/wd.c | wd_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 316 | drivers/net/wd.c | if (count == 4) { |
count | 323 | drivers/net/wd.c | if (xfer_start + count > dev->rmem_end) { |
count | 327 | drivers/net/wd.c | count -= semi_count; |
count | 328 | drivers/net/wd.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 330 | drivers/net/wd.c | memcpy(buf, (char *)xfer_start, count); |
count | 340 | drivers/net/wd.c | wd_block_output(struct device *dev, int count, const unsigned char *buf, |
count | 350 | drivers/net/wd.c | memcpy((char *)shmem, buf, count); |
count | 353 | drivers/net/wd.c | memcpy((char *)shmem, buf, count); |
count | 497 | drivers/net/znet.c | int count, status; |
count | 513 | drivers/net/znet.c | count = ((hi_cnt & 0xff) << 8) + (lo_cnt & 0xff); |
count | 519 | drivers/net/znet.c | count, status); |
count | 522 | drivers/net/znet.c | cur_frame_end[-2] = count; |
count | 524 | drivers/net/znet.c | cur_frame_end_offset -= ((count + 1)>>1) + 3; |
count | 918 | drivers/scsi/53c7,8xx.c | int count; /* Number of boards detected */ |
count | 923 | drivers/scsi/53c7,8xx.c | for (current_override = count = 0; current_override < OVERRIDE_LIMIT; |
count | 941 | drivers/scsi/53c7,8xx.c | ++count; |
count | 953 | drivers/scsi/53c7,8xx.c | ++count, ++pci_index); |
count | 955 | drivers/scsi/53c7,8xx.c | return count; |
count | 2054 | drivers/scsi/53c7,8xx.c | char *buf,int count) { |
count | 2067 | drivers/scsi/53c7,8xx.c | if (error = verify_area(VERIFY_READ,buf,count)) |
count | 2070 | drivers/scsi/53c7,8xx.c | if (count > 80) |
count | 2073 | drivers/scsi/53c7,8xx.c | memcpy_from_fs(input_buf, buf, count); |
count | 2075 | drivers/scsi/53c7,8xx.c | if (input_buf[count - 1] != '\n') |
count | 2078 | drivers/scsi/53c7,8xx.c | input_buf[count - 1]=0; |
count | 2102 | drivers/scsi/53c7,8xx.c | return count; |
count | 2106 | drivers/scsi/53c7,8xx.c | char *buf,int count) { |
count | 2488 | drivers/scsi/53c7,8xx.c | unsigned long count = (unsigned long) (cmd->use_sg ? |
count | 2494 | drivers/scsi/53c7,8xx.c | << 24) | count; |
count | 2508 | drivers/scsi/53c7,8xx.c | | count; |
count | 929 | drivers/scsi/53c7,8xx.h | unsigned long count; |
count | 1465 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
count | 1468 | drivers/scsi/NCR5380.c | register int c = *count; |
count | 1569 | drivers/scsi/NCR5380.c | *count = c; |
count | 1605 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
count | 1607 | drivers/scsi/NCR5380.c | register int c = *count; |
count | 1764 | drivers/scsi/NCR5380.c | *count -= c; |
count | 1776 | drivers/scsi/NCR5380.c | *count -= 1; |
count | 1786 | drivers/scsi/NCR5380.c | *count -= toPIO - cnt; |
count | 1792 | drivers/scsi/NCR5380.c | *data, *count, *(*data+*count-1), *(*data+*count)); |
count | 1882 | drivers/scsi/NCR5380.c | *count = 0; |
count | 296 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
count | 299 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
count | 303 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
count | 307 | drivers/scsi/NCR5380.h | if (count > 65536) |
count | 308 | drivers/scsi/NCR5380.h | count = 65536; |
count | 311 | drivers/scsi/NCR5380.h | if (count > 65536 * 2) |
count | 312 | drivers/scsi/NCR5380.h | count = 65536 * 2; |
count | 316 | drivers/scsi/NCR5380.h | if (count > limit) count = limit; |
count | 318 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
count | 324 | drivers/scsi/NCR5380.h | set_dma_count(instance->dma_channel, count); |
count | 328 | drivers/scsi/NCR5380.h | return count; |
count | 332 | drivers/scsi/NCR5380.h | unsigned char *src, unsigned int count) { |
count | 333 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_WRITE); |
count | 337 | drivers/scsi/NCR5380.h | unsigned char *src, unsigned int count) { |
count | 338 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_READ); |
count | 909 | drivers/scsi/aha1542.c | int count = 0; |
count | 1041 | drivers/scsi/aha1542.c | count++; |
count | 1048 | drivers/scsi/aha1542.c | return count; |
count | 1054 | drivers/scsi/aha1542.c | int count = 0; |
count | 1066 | drivers/scsi/aha1542.c | count++; |
count | 1069 | drivers/scsi/aha1542.c | printk("Potential to restart %d stalled commands...\n", count); |
count | 1072 | drivers/scsi/aha1542.c | if (count) aha1542_out(shost->io_port, &ahacmd, 1); |
count | 787 | drivers/scsi/buslogic.c | unsigned char cmd, count; |
count | 1097 | drivers/scsi/buslogic.c | int count = 0; |
count | 1294 | drivers/scsi/buslogic.c | count++; |
count | 1299 | drivers/scsi/buslogic.c | return count; |
count | 1305 | drivers/scsi/buslogic.c | unsigned int count = 0; |
count | 1317 | drivers/scsi/buslogic.c | count++; |
count | 1320 | drivers/scsi/buslogic.c | buslogic_printk("Potential to restart %d stalled commands...\n", count); |
count | 1323 | drivers/scsi/buslogic.c | if (count) |
count | 121 | drivers/scsi/g_NCR5380.c | int count; |
count | 124 | drivers/scsi/g_NCR5380.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 161 | drivers/scsi/g_NCR5380.c | ++count; |
count | 163 | drivers/scsi/g_NCR5380.c | return count; |
count | 276 | drivers/scsi/hosts.c | int i, j, count, pcount; |
count | 278 | drivers/scsi/hosts.c | count = 0; |
count | 308 | drivers/scsi/hosts.c | count++, tpnt->name); |
count | 311 | drivers/scsi/hosts.c | printk ("scsi : %d hosts.\n", count); |
count | 327 | drivers/scsi/hosts.c | max_scsi_hosts = count; |
count | 174 | drivers/scsi/in2000.c | unsigned count, infcnt, txcnt; |
count | 180 | drivers/scsi/in2000.c | count = (infcnt << 3) - 32; /* don't fill completely */ |
count | 181 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) |
count | 182 | drivers/scsi/in2000.c | count = in2000_datalen; /* limit to actual data on hand */ |
count | 183 | drivers/scsi/in2000.c | count >>= 1; /* Words, not bytes */ |
count | 185 | drivers/scsi/in2000.c | if ( count ) { |
count | 186 | drivers/scsi/in2000.c | port_write(INFIFO, in2000_dataptr, count); |
count | 187 | drivers/scsi/in2000.c | in2000_datalen -= (count<<1); |
count | 190 | drivers/scsi/in2000.c | while ( count-- ) |
count | 208 | drivers/scsi/in2000.c | count = 32; /* Always says to use this much flush */ |
count | 209 | drivers/scsi/in2000.c | while ( count-- ) |
count | 217 | drivers/scsi/in2000.c | unsigned fic, count, count2; |
count | 219 | drivers/scsi/in2000.c | count = inb(INFCNT) & 0xe1; |
count | 221 | drivers/scsi/in2000.c | count2 = count; |
count | 222 | drivers/scsi/in2000.c | count = (fic = inb(INFCNT)) & 0xe1; |
count | 223 | drivers/scsi/in2000.c | } while ( count != count2 ); |
count | 229 | drivers/scsi/in2000.c | if(fic > 128) count = 1024; |
count | 230 | drivers/scsi/in2000.c | else if(fic > 64) count = 512; |
count | 231 | drivers/scsi/in2000.c | else if (fic > 32) count = 256; |
count | 233 | drivers/scsi/in2000.c | count = in2000_datalen - count2; /* FIFO has the rest */ |
count | 234 | drivers/scsi/in2000.c | if ( count > in2000_datalen ) /* count2 is lesser of FIFO & rqst */ |
count | 237 | drivers/scsi/in2000.c | count2 = count >> 1; |
count | 238 | drivers/scsi/in2000.c | count >>= 1; /* also to words */ |
count | 239 | drivers/scsi/in2000.c | count -= count2; /* extra left over in FIFO */ |
count | 271 | drivers/scsi/in2000.c | unsigned int count,auxstatus,scsistatus,cmdphase,scsibyte; |
count | 277 | drivers/scsi/in2000.c | if (( (ficmsk & (count = inb(INFCNT))) == 0xfe ) || |
count | 287 | drivers/scsi/in2000.c | DEB(printk("(int2000:%02x %02x %02x %02x %02x)\n",count,auxstatus, |
count | 346 | drivers/scsi/pas16.c | int count; |
count | 348 | drivers/scsi/pas16.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 421 | drivers/scsi/pas16.c | ++count; |
count | 423 | drivers/scsi/pas16.c | return count; |
count | 543 | drivers/scsi/sd.c | int count, this_count_max; |
count | 549 | drivers/scsi/sd.c | count = 0; |
count | 557 | drivers/scsi/sd.c | if (count < SCpnt->host->sg_tablesize) count++; |
count | 566 | drivers/scsi/sd.c | ((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--; |
count | 568 | drivers/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
count | 569 | drivers/scsi/sd.c | count = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/ |
count | 570 | drivers/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
count | 571 | drivers/scsi/sd.c | count = count << 1; |
count | 572 | drivers/scsi/sd.c | SCpnt->sglist_len = count; |
count | 573 | drivers/scsi/sd.c | max_sg = count / sizeof(struct scatterlist); |
count | 575 | drivers/scsi/sd.c | sgpnt = (struct scatterlist * ) scsi_malloc(count); |
count | 576 | drivers/scsi/sd.c | memset(sgpnt, 0, count); /* Zero so it is easy to fill */ |
count | 585 | drivers/scsi/sd.c | for(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext; |
count | 586 | drivers/scsi/sd.c | count < SCpnt->use_sg && bh; |
count | 587 | drivers/scsi/sd.c | count++, bh = bhp) { |
count | 591 | drivers/scsi/sd.c | if(!sgpnt[count].address) sgpnt[count].address = bh->b_data; |
count | 592 | drivers/scsi/sd.c | sgpnt[count].length += bh->b_size; |
count | 595 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length - 1 > |
count | 597 | drivers/scsi/sd.c | !sgpnt[count].alt_address) { |
count | 598 | drivers/scsi/sd.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 602 | drivers/scsi/sd.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 10) { |
count | 603 | drivers/scsi/sd.c | sgpnt[count].address = NULL; |
count | 605 | drivers/scsi/sd.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 611 | drivers/scsi/sd.c | if(sgpnt[count].address == NULL){ /* Out of dma memory */ |
count | 615 | drivers/scsi/sd.c | while(--count >= 0){ |
count | 616 | drivers/scsi/sd.c | if(sgpnt[count].alt_address) |
count | 617 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 624 | drivers/scsi/sd.c | SCpnt->use_sg = count; |
count | 638 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length + |
count | 641 | drivers/scsi/sd.c | !sgpnt[count].alt_address) continue; |
count | 643 | drivers/scsi/sd.c | if(!sgpnt[count].alt_address) {count--; continue; } |
count | 645 | drivers/scsi/sd.c | tmp = (char *) scsi_malloc(sgpnt[count].length + bhp->b_size); |
count | 651 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 652 | drivers/scsi/sd.c | sgpnt[count].address = tmp; |
count | 653 | drivers/scsi/sd.c | count--; |
count | 666 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){ |
count | 668 | drivers/scsi/sd.c | printk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors); |
count | 675 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 676 | drivers/scsi/sd.c | printk("{%d:%p %p %d} ", count, |
count | 677 | drivers/scsi/sd.c | sgpnt[count].address, |
count | 678 | drivers/scsi/sd.c | sgpnt[count].alt_address, |
count | 679 | drivers/scsi/sd.c | sgpnt[count].length); |
count | 684 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 685 | drivers/scsi/sd.c | if(sgpnt[count].alt_address) |
count | 686 | drivers/scsi/sd.c | memcpy(sgpnt[count].address, sgpnt[count].alt_address, |
count | 687 | drivers/scsi/sd.c | sgpnt[count].length); |
count | 239 | drivers/scsi/seagate.c | register int count = 0, start = jiffies + 1, stop = start + 25; |
count | 242 | drivers/scsi/seagate.c | for (;jiffies < stop; ++count); |
count | 249 | drivers/scsi/seagate.c | borken_calibration = (count * 4) / (SLOW_RATE*1024); |
count | 260 | drivers/scsi/seagate.c | register int count; |
count | 261 | drivers/scsi/seagate.c | for (count = borken_calibration; count && (STATUS & STAT_REQ); |
count | 262 | drivers/scsi/seagate.c | --count); |
count | 264 | drivers/scsi/seagate.c | if (count) |
count | 161 | drivers/scsi/sg.c | static int sg_read(struct inode *inode,struct file *filp,char *buf,int count) |
count | 166 | drivers/scsi/sg.c | if ((i=verify_area(VERIFY_WRITE,buf,count))) |
count | 178 | drivers/scsi/sg.c | if (count>=sizeof(struct sg_header)) |
count | 182 | drivers/scsi/sg.c | if (count>device->header.pack_len) |
count | 183 | drivers/scsi/sg.c | count=device->header.pack_len; |
count | 184 | drivers/scsi/sg.c | if (count > sizeof(struct sg_header)) { |
count | 185 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
count | 189 | drivers/scsi/sg.c | count=0; |
count | 193 | drivers/scsi/sg.c | return count; |
count | 218 | drivers/scsi/sg.c | static int sg_write(struct inode *inode,struct file *filp,char *buf,int count) |
count | 227 | drivers/scsi/sg.c | if ((i=verify_area(VERIFY_READ,buf,count))) |
count | 229 | drivers/scsi/sg.c | if (count<sizeof(struct sg_header)) |
count | 247 | drivers/scsi/sg.c | device->header.pack_len=count; |
count | 293 | drivers/scsi/sg.c | return count; |
count | 578 | drivers/scsi/sr.c | int count, this_count_max; |
count | 581 | drivers/scsi/sr.c | count = 0; |
count | 586 | drivers/scsi/sr.c | if(this_count) count++; |
count | 587 | drivers/scsi/sr.c | while(bh && count < SCpnt->host->sg_tablesize) { |
count | 590 | drivers/scsi/sr.c | count++; |
count | 596 | drivers/scsi/sr.c | if (count < SCpnt->host->sg_tablesize) { |
count | 597 | drivers/scsi/sr.c | count++; |
count | 601 | drivers/scsi/sr.c | count--; |
count | 605 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
count | 606 | drivers/scsi/sr.c | count = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/ |
count | 607 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
count | 608 | drivers/scsi/sr.c | count = count << 1; |
count | 609 | drivers/scsi/sr.c | SCpnt->sglist_len = count; |
count | 610 | drivers/scsi/sr.c | sgpnt = (struct scatterlist * ) scsi_malloc(count); |
count | 616 | drivers/scsi/sr.c | count = 0; |
count | 619 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
count | 620 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 621 | drivers/scsi/sr.c | if(!sgpnt[count].address) panic("SCSI DMA pool exhausted."); |
count | 622 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete |
count | 624 | drivers/scsi/sr.c | count++; |
count | 626 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
count | 627 | drivers/scsi/sr.c | count++, bh = bh->b_reqnext) { |
count | 629 | drivers/scsi/sr.c | sgpnt[count].address = bh->b_data; |
count | 630 | drivers/scsi/sr.c | sgpnt[count].length = bh->b_size; |
count | 631 | drivers/scsi/sr.c | sgpnt[count].alt_address = NULL; |
count | 633 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(end_rec); |
count | 634 | drivers/scsi/sr.c | if(!sgpnt[count].address) panic("SCSI DMA pool exhausted."); |
count | 635 | drivers/scsi/sr.c | sgpnt[count].length = end_rec; |
count | 636 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 637 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
count | 640 | drivers/scsi/sr.c | if (((int) sgpnt[count].address) + sgpnt[count].length > |
count | 642 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 646 | drivers/scsi/sr.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 5) { |
count | 647 | drivers/scsi/sr.c | sgpnt[count].address = NULL; |
count | 649 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 655 | drivers/scsi/sr.c | if(sgpnt[count].address == NULL){ /* Out of dma memory */ |
count | 658 | drivers/scsi/sr.c | while(--count >= 0){ |
count | 659 | drivers/scsi/sr.c | if(sgpnt[count].alt_address) |
count | 660 | drivers/scsi/sr.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 673 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 674 | drivers/scsi/sr.c | printk("SGlist: %d %x %x %x\n", count, |
count | 675 | drivers/scsi/sr.c | sgpnt[count].address, |
count | 676 | drivers/scsi/sr.c | sgpnt[count].alt_address, |
count | 677 | drivers/scsi/sr.c | sgpnt[count].length); |
count | 663 | drivers/scsi/st.c | st_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 685 | drivers/scsi/st.c | if (STp->block_size == 0 && count > st_buffer_size) |
count | 722 | drivers/scsi/st.c | if (STp->block_size != 0 && (count % STp->block_size) != 0) |
count | 733 | drivers/scsi/st.c | total = count; |
count | 742 | drivers/scsi/st.c | while((STp->block_size == 0 && !STp->do_async_writes && count > 0) || |
count | 744 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
count | 747 | drivers/scsi/st.c | do_count = count; |
count | 750 | drivers/scsi/st.c | if (do_count > count) |
count | 751 | drivers/scsi/st.c | do_count = count; |
count | 794 | drivers/scsi/st.c | count -= do_count - transfer; |
count | 827 | drivers/scsi/st.c | if (count < total) |
count | 828 | drivers/scsi/st.c | return total - count; |
count | 834 | drivers/scsi/st.c | count -= do_count; |
count | 844 | drivers/scsi/st.c | if (count != 0) { |
count | 847 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
count | 848 | drivers/scsi/st.c | filp->f_pos += count; |
count | 849 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
count | 850 | drivers/scsi/st.c | count = 0; |
count | 893 | drivers/scsi/st.c | st_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 911 | drivers/scsi/st.c | if (STp->block_size == 0 && count > st_buffer_size) |
count | 915 | drivers/scsi/st.c | (count % STp->block_size) != 0) |
count | 940 | drivers/scsi/st.c | for (total = 0; total < count; ) { |
count | 949 | drivers/scsi/st.c | blks = bytes = count; |
count | 956 | drivers/scsi/st.c | bytes = count; |
count | 1088 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
count | 1090 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
count | 1091 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
count | 1116 | drivers/scsi/st.c | count = total; /* Read only one variable length block */ |
count | 198 | drivers/scsi/t128.c | int sig, count; |
count | 200 | drivers/scsi/t128.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 267 | drivers/scsi/t128.c | ++count; |
count | 269 | drivers/scsi/t128.c | return count; |
count | 91 | drivers/sound/ad1848.c | static void ad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 92 | drivers/sound/ad1848.c | static void ad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 457 | drivers/sound/ad1848.c | ad1848_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 462 | drivers/sound/ad1848.c | cnt = count; |
count | 492 | drivers/sound/ad1848.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 519 | drivers/sound/ad1848.c | ad1848_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 526 | drivers/sound/ad1848.c | cnt = count; |
count | 555 | drivers/sound/ad1848.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 166 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 174 | drivers/sound/audio.c | c = count; |
count | 185 | drivers/sound/audio.c | if (!count) /* |
count | 259 | drivers/sound/audio.c | return count; |
count | 263 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 271 | drivers/sound/audio.c | c = count; |
count | 317 | drivers/sound/audio.c | return count - c; |
count | 382 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 388 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 356 | drivers/sound/configure.c | int count; |
count | 368 | drivers/sound/configure.c | count = read (fd, &c, 1); |
count | 369 | drivers/sound/configure.c | if (count == 0) |
count | 121 | drivers/sound/dev_table.h | int count, int intrflag, int dma_restart); |
count | 123 | drivers/sound/dev_table.h | int count, int intrflag, int dma_restart); |
count | 157 | drivers/sound/dev_table.h | int offs, int count, int pmgr_flag); |
count | 445 | drivers/sound/dmabuf.c | int bytes, count; |
count | 455 | drivers/sound/dmabuf.c | count = (fact >> 16) & 0xffff; |
count | 457 | drivers/sound/dmabuf.c | if (count == 0) |
count | 458 | drivers/sound/dmabuf.c | count = MAX_SUB_BUFFERS; |
count | 463 | drivers/sound/dmabuf.c | if (count < 2) |
count | 467 | drivers/sound/dmabuf.c | dmap->max_fragments = count; |
count | 477 | drivers/sound/dmabuf.c | return IOCTL_OUT (arg, bytes | (count << 16)); |
count | 629 | drivers/sound/dmabuf.c | DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode) |
count | 694 | drivers/sound/dmabuf.c | set_dma_count (chan, count); |
count | 701 | drivers/sound/dmabuf.c | count, |
count | 707 | drivers/sound/dmabuf.c | physaddr, count); |
count | 717 | drivers/sound/dmabuf.c | return count; |
count | 927 | drivers/sound/dmabuf.c | DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode) |
count | 1473 | drivers/sound/gus_wave.c | int offs, int count, int pmgr_flag) |
count | 1489 | drivers/sound/gus_wave.c | if (count < sizeof_patch) |
count | 1495 | drivers/sound/gus_wave.c | count -= sizeof_patch; |
count | 1518 | drivers/sound/gus_wave.c | if (count < patch.len) |
count | 1521 | drivers/sound/gus_wave.c | count, (int) patch.len); |
count | 1522 | drivers/sound/gus_wave.c | patch.len = count; |
count | 2169 | drivers/sound/gus_wave.c | int this_one, count; |
count | 2176 | drivers/sound/gus_wave.c | count = total_count / gus_sampling_channels; |
count | 2186 | drivers/sound/gus_wave.c | pcm_datasize[this_one] = count; |
count | 2192 | drivers/sound/gus_wave.c | DMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE); |
count | 2226 | drivers/sound/gus_wave.c | if (!pcm_active && (pcm_qlen > 0 || count < pcm_bsize)) |
count | 2255 | drivers/sound/gus_wave.c | gus_sampling_start_input (int dev, unsigned long buf, int count, |
count | 2263 | drivers/sound/gus_wave.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 298 | drivers/sound/midi_synth.c | int offs, int count, int pmgr_flag) |
count | 316 | drivers/sound/midi_synth.c | if (count < sizeof (struct sysex_info)) |
count | 322 | drivers/sound/midi_synth.c | count -= sizeof (struct sysex_info); |
count | 331 | drivers/sound/midi_synth.c | if (count < sysex.len) |
count | 334 | drivers/sound/midi_synth.c | count, (int) sysex.len); |
count | 335 | drivers/sound/midi_synth.c | sysex.len = count; |
count | 11 | drivers/sound/midi_synth.h | int offs, int count, int pmgr_flag); |
count | 279 | drivers/sound/midibuf.c | MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 287 | drivers/sound/midibuf.c | if (!count) |
count | 294 | drivers/sound/midibuf.c | while (c < count) |
count | 312 | drivers/sound/midibuf.c | if (n > (count - c)) |
count | 313 | drivers/sound/midibuf.c | n = count - c; |
count | 330 | drivers/sound/midibuf.c | MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 357 | drivers/sound/midibuf.c | if (n > count) |
count | 358 | drivers/sound/midibuf.c | n = count; |
count | 893 | drivers/sound/opl3.c | int offs, int count, int pmgr_flag) |
count | 897 | drivers/sound/opl3.c | if (count < sizeof (ins)) |
count | 269 | drivers/sound/pas2_pcm.c | pas_pcm_output_block (int dev, unsigned long buf, int count, |
count | 274 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static void pas_pcm_output_block(char *buf = %P, int count = %X)\n", buf, count)); |
count | 276 | drivers/sound/pas2_pcm.c | cnt = count; |
count | 293 | drivers/sound/pas2_pcm.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 296 | drivers/sound/pas2_pcm.c | count >>= 1; |
count | 298 | drivers/sound/pas2_pcm.c | if (count != pcm_count) |
count | 302 | drivers/sound/pas2_pcm.c | pas_write (count & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 303 | drivers/sound/pas2_pcm.c | pas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 306 | drivers/sound/pas2_pcm.c | pcm_count = count; |
count | 317 | drivers/sound/pas2_pcm.c | pas_pcm_start_input (int dev, unsigned long buf, int count, |
count | 323 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static void pas_pcm_start_input(char *buf = %P, int count = %X)\n", buf, count)); |
count | 325 | drivers/sound/pas2_pcm.c | cnt = count; |
count | 339 | drivers/sound/pas2_pcm.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 342 | drivers/sound/pas2_pcm.c | count >>= 1; |
count | 344 | drivers/sound/pas2_pcm.c | if (count != pcm_count) |
count | 348 | drivers/sound/pas2_pcm.c | pas_write (count & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 349 | drivers/sound/pas2_pcm.c | pas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 352 | drivers/sound/pas2_pcm.c | pcm_count = count; |
count | 86 | drivers/sound/patmgr.c | pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 91 | drivers/sound/patmgr.c | if (count != sizeof (struct patmgr_info)) |
count | 109 | drivers/sound/patmgr.c | COPY_TO_USER (buf, 0, (char *) mbox[dev], count); |
count | 120 | drivers/sound/patmgr.c | return count; |
count | 124 | drivers/sound/patmgr.c | pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 128 | drivers/sound/patmgr.c | if (count < 4) |
count | 145 | drivers/sound/patmgr.c | buf, 4, count, 1); |
count | 148 | drivers/sound/patmgr.c | if (count != sizeof (struct patmgr_info)) |
count | 163 | drivers/sound/patmgr.c | COPY_FROM_USER (&((char *) mbox[dev])[4], buf, 4, count - 4); |
count | 174 | drivers/sound/patmgr.c | return count; |
count | 645 | drivers/sound/pss.c | int i, limit, val, count; |
count | 663 | drivers/sound/pss.c | count = 1; |
count | 678 | drivers/sound/pss.c | if (count >= size) |
count | 683 | drivers/sound/pss.c | count, size); |
count | 689 | drivers/sound/pss.c | count++; |
count | 810 | drivers/sound/pss.c | pss_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 820 | drivers/sound/pss.c | c = count; |
count | 822 | drivers/sound/pss.c | return count - c; |
count | 826 | drivers/sound/pss.c | pss_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 833 | drivers/sound/pss.c | if (count) /* Flush output */ |
count | 835 | drivers/sound/pss.c | COPY_FROM_USER (&code_buffer[code_length], buf, 0, count); |
count | 836 | drivers/sound/pss.c | code_length += count; |
count | 838 | drivers/sound/pss.c | return count; |
count | 71 | drivers/sound/sb16_dsp.c | static void sb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 72 | drivers/sound/sb16_dsp.c | static void sb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 274 | drivers/sound/sb16_dsp.c | sb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 278 | drivers/sound/sb16_dsp.c | cnt = count; |
count | 284 | drivers/sound/sb16_dsp.c | printk ("output_block: %x %d %d\n", buf, count, intrflag); |
count | 313 | drivers/sound/sb16_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 331 | drivers/sound/sb16_dsp.c | sb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 335 | drivers/sound/sb16_dsp.c | cnt = count; |
count | 341 | drivers/sound/sb16_dsp.c | printk ("start_input: %x %d %d\n", buf, count, intrflag); |
count | 370 | drivers/sound/sb16_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 394 | drivers/sound/sb_dsp.c | sb_dsp_output_block (int dev, unsigned long buf, int count, |
count | 403 | drivers/sound/sb_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 406 | drivers/sound/sb_dsp.c | count >>= 1; |
count | 407 | drivers/sound/sb_dsp.c | count--; |
count | 416 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 417 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 433 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 434 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 444 | drivers/sound/sb_dsp.c | sb_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, |
count | 457 | drivers/sound/sb_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 460 | drivers/sound/sb_dsp.c | count >>= 1; |
count | 461 | drivers/sound/sb_dsp.c | count--; |
count | 470 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 471 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 487 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 488 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 98 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 100 | drivers/sound/sequencer.c | int c = count, p = 0; |
count | 111 | drivers/sound/sequencer.c | return pmgr_read (dev - 1, file, buf, count); |
count | 137 | drivers/sound/sequencer.c | return count - c; |
count | 231 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 240 | drivers/sound/sequencer.c | DEB (printk ("sequencer_write(dev=%d, count=%d)\n", dev, count)); |
count | 248 | drivers/sound/sequencer.c | return pmgr_write (dev - 1, file, buf, count); |
count | 250 | drivers/sound/sequencer.c | c = count; |
count | 289 | drivers/sound/sequencer.c | return count - c; |
count | 339 | drivers/sound/sequencer.c | return count - c; |
count | 349 | drivers/sound/sequencer.c | return count; |
count | 1815 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 1821 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 13 | drivers/sound/sound_calls.h | int DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode); |
count | 24 | drivers/sound/sound_calls.h | int audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 25 | drivers/sound/sound_calls.h | int audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 37 | drivers/sound/sound_calls.h | int sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 38 | drivers/sound/sound_calls.h | int sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 59 | drivers/sound/sound_calls.h | int MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 60 | drivers/sound/sound_calls.h | int MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 66 | drivers/sound/sound_calls.h | void MIDIbuf_bytes_received(int dev, unsigned char *buf, int count); |
count | 80 | drivers/sound/sound_calls.h | int CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 81 | drivers/sound/sound_calls.h | int CMIDI_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 100 | drivers/sound/sound_calls.h | void request_sound_timer (int count); |
count | 109 | drivers/sound/sound_calls.h | int sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 110 | drivers/sound/sound_calls.h | int sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 212 | drivers/sound/sound_calls.h | int pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
count | 213 | drivers/sound/sound_calls.h | int pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
count | 236 | drivers/sound/sound_calls.h | int pss_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 237 | drivers/sound/sound_calls.h | int pss_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 256 | drivers/sound/sound_switch.c | read_status (snd_rw_buf * buf, int count) |
count | 263 | drivers/sound/sound_switch.c | l = count; |
count | 278 | drivers/sound/sound_switch.c | sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 280 | drivers/sound/sound_switch.c | DEB (printk ("sound_read_sw(dev=%d, count=%d)\n", dev, count)); |
count | 285 | drivers/sound/sound_switch.c | return read_status (buf, count); |
count | 291 | drivers/sound/sound_switch.c | return audio_read (dev, file, buf, count); |
count | 296 | drivers/sound/sound_switch.c | return sequencer_read (dev, file, buf, count); |
count | 301 | drivers/sound/sound_switch.c | return MIDIbuf_read (dev, file, buf, count); |
count | 306 | drivers/sound/sound_switch.c | return pss_read (dev, file, buf, count); |
count | 317 | drivers/sound/sound_switch.c | sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 320 | drivers/sound/sound_switch.c | DEB (printk ("sound_write_sw(dev=%d, count=%d)\n", dev, count)); |
count | 327 | drivers/sound/sound_switch.c | return sequencer_write (dev, file, buf, count); |
count | 333 | drivers/sound/sound_switch.c | return audio_write (dev, file, buf, count); |
count | 338 | drivers/sound/sound_switch.c | return MIDIbuf_write (dev, file, buf, count); |
count | 343 | drivers/sound/sound_switch.c | return pss_write (dev, file, buf, count); |
count | 350 | drivers/sound/sound_switch.c | return count; |
count | 60 | drivers/sound/soundcard.c | sound_read (struct inode *inode, struct file *file, char *buf, int count) |
count | 67 | drivers/sound/soundcard.c | return sound_read_sw (dev, &files[dev], buf, count); |
count | 71 | drivers/sound/soundcard.c | sound_write (struct inode *inode, struct file *file, char *buf, int count) |
count | 78 | drivers/sound/soundcard.c | return sound_write_sw (dev, &files[dev], buf, count); |
count | 252 | drivers/sound/soundcard.c | request_sound_timer (int count) |
count | 257 | drivers/sound/soundcard.c | if (count < 0) |
count | 258 | drivers/sound/soundcard.c | count = jiffies + (-count); |
count | 260 | drivers/sound/soundcard.c | count += seq_time; |
count | 262 | drivers/sound/soundcard.c | timer_table[SOUND_TIMER].expires = count; |
count | 74 | drivers/sound/uart6850.c | int count; |
count | 76 | drivers/sound/uart6850.c | count = 10; |
count | 78 | drivers/sound/uart6850.c | while (count) /* |
count | 85 | drivers/sound/uart6850.c | count = 100; |
count | 91 | drivers/sound/uart6850.c | while (!input_avail () && count) |
count | 92 | drivers/sound/uart6850.c | count--; |
count | 20 | fs/block_dev.c | int block_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 60 | fs/block_dev.c | while (count>0) { |
count | 64 | fs/block_dev.c | if (chars > count) |
count | 65 | fs/block_dev.c | chars=count; |
count | 119 | fs/block_dev.c | count -= chars; |
count | 157 | fs/block_dev.c | int block_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 199 | fs/block_dev.c | if (left > count) |
count | 200 | fs/block_dev.c | left = count; |
count | 480 | fs/exec.c | char * addr, unsigned long count) |
count | 505 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
count | 509 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
count | 610 | fs/exec.c | if ((bprm.argc = count(argv)) < 0) |
count | 612 | fs/exec.c | if ((bprm.envc = count(envp)) < 0) |
count | 26 | fs/ext/dir.c | static int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 68 | fs/ext/dir.c | struct dirent * dirent, int count) |
count | 72 | fs/ext/file.c | static int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 96 | fs/ext/file.c | if (left > count) |
count | 97 | fs/ext/file.c | left = count; |
count | 197 | fs/ext/file.c | static int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 221 | fs/ext/file.c | while (written<count) { |
count | 229 | fs/ext/file.c | if (c > count-written) |
count | 230 | fs/ext/file.c | c = count-written; |
count | 61 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) { |
count | 72 | fs/ext/freelists.c | efb->count = 0; |
count | 75 | fs/ext/freelists.c | efb->free[efb->count++] = block; |
count | 98 | fs/ext/freelists.c | if (efb->count) { |
count | 99 | fs/ext/freelists.c | j = efb->free[--efb->count]; |
count | 145 | fs/ext/freelists.c | unsigned long count, block; |
count | 149 | fs/ext/freelists.c | count = 0; |
count | 152 | fs/ext/freelists.c | count = efb->count + 1; |
count | 160 | fs/ext/freelists.c | count += efb->count + 1; |
count | 167 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount, count); |
count | 169 | fs/ext/freelists.c | return count; |
count | 215 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) { |
count | 227 | fs/ext/freelists.c | efi->count = 0; |
count | 231 | fs/ext/freelists.c | efi->free[efi->count++] = ino; |
count | 257 | fs/ext/freelists.c | if (efi->count) { |
count | 258 | fs/ext/freelists.c | j = efi->free[--efi->count]; |
count | 305 | fs/ext/freelists.c | unsigned long count, block, ino; |
count | 309 | fs/ext/freelists.c | count = 0; |
count | 313 | fs/ext/freelists.c | count = efi->count + 1; |
count | 328 | fs/ext/freelists.c | count += efi->count + 1; |
count | 335 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount, count); |
count | 337 | fs/ext/freelists.c | return count; |
count | 168 | fs/ext2/balloc.c | unsigned long count) |
count | 186 | fs/ext2/balloc.c | (block + count) > es->s_blocks_count) { |
count | 189 | fs/ext2/balloc.c | "block = %lu, count = %lu", block, count); |
count | 199 | fs/ext2/balloc.c | if (bit + count > EXT2_BLOCKS_PER_GROUP(sb)) |
count | 203 | fs/ext2/balloc.c | block, count); |
count | 209 | fs/ext2/balloc.c | (in_range (gdp->bg_block_bitmap, block, count) || |
count | 210 | fs/ext2/balloc.c | in_range (gdp->bg_inode_bitmap, block, count) || |
count | 213 | fs/ext2/balloc.c | in_range (block + count - 1, gdp->bg_inode_table, |
count | 218 | fs/ext2/balloc.c | block, count); |
count | 220 | fs/ext2/balloc.c | for (i = 0; i < count; i++) { |
count | 29 | fs/ext2/dir.c | char * buf, int count) |
count | 101 | fs/ext2/dir.c | struct dirent * dirent, int count) |
count | 118 | fs/ext2/dir.c | while (count > 0 && !stored && filp->f_pos < inode->i_size) { |
count | 170 | fs/ext2/dir.c | while (count > 0 && filp->f_pos < inode->i_size |
count | 187 | fs/ext2/dir.c | if (count == 1 && !stored) |
count | 188 | fs/ext2/dir.c | count = dlen; |
count | 189 | fs/ext2/dir.c | if (count < dlen) { |
count | 190 | fs/ext2/dir.c | count = 0; |
count | 213 | fs/ext2/dir.c | count -= dlen; |
count | 80 | fs/ext2/file.c | char * buf, int count) |
count | 109 | fs/ext2/file.c | if (left > count) |
count | 110 | fs/ext2/file.c | left = count; |
count | 231 | fs/ext2/file.c | char * buf, int count) |
count | 275 | fs/ext2/file.c | while (written < count) { |
count | 288 | fs/ext2/file.c | if (c > count-written) |
count | 289 | fs/ext2/file.c | c = count - written; |
count | 187 | fs/hpfs/hpfs_fs.c | char *buf, int count); |
count | 189 | fs/hpfs/hpfs_fs.c | struct dirent *dirent, int count); |
count | 805 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
count | 822 | fs/hpfs/hpfs_fs.c | count = 0; |
count | 831 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
count | 834 | fs/hpfs/hpfs_fs.c | return count; |
count | 845 | fs/hpfs/hpfs_fs.c | unsigned i, count; |
count | 851 | fs/hpfs/hpfs_fs.c | count = 0; |
count | 854 | fs/hpfs/hpfs_fs.c | count += (test_bit(i, bits) != 0); |
count | 857 | fs/hpfs/hpfs_fs.c | return count; |
count | 867 | fs/hpfs/hpfs_fs.c | char *buf, int count) |
count | 880 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos) |
count | 881 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos; |
count | 884 | fs/hpfs/hpfs_fs.c | while (count > 0) { |
count | 896 | fs/hpfs/hpfs_fs.c | if (n > count) |
count | 897 | fs/hpfs/hpfs_fs.c | n = count; |
count | 926 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos - n + n0) |
count | 927 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
count | 937 | fs/hpfs/hpfs_fs.c | count -= n0; |
count | 1565 | fs/hpfs/hpfs_fs.c | char *buf, int count) |
count | 458 | fs/inode.c | inode->i_sem.count = 1; |
count | 64 | fs/isofs/dir.c | struct dirent * dirent, int count) |
count | 119 | fs/isofs/file.c | static int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 143 | fs/isofs/file.c | if (left > count) |
count | 144 | fs/isofs/file.c | left = count; |
count | 19 | fs/minix/dir.c | static int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 61 | fs/minix/dir.c | struct dirent * dirent, int count) |
count | 66 | fs/minix/file.c | static int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 90 | fs/minix/file.c | if (left > count) |
count | 91 | fs/minix/file.c | left = count; |
count | 189 | fs/minix/file.c | static int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 210 | fs/minix/file.c | while (written < count) { |
count | 218 | fs/minix/file.c | if (c > count-written) |
count | 219 | fs/minix/file.c | c = count-written; |
count | 23 | fs/msdos/dir.c | static int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count) |
count | 63 | fs/msdos/dir.c | int count) |
count | 105 | fs/msdos/fat.c | int count; |
count | 109 | fs/msdos/fat.c | for (count = 0; count < FAT_CACHE; count++) { |
count | 110 | fs/msdos/fat.c | cache[count].device = 0; |
count | 111 | fs/msdos/fat.c | cache[count].next = count == FAT_CACHE-1 ? NULL : |
count | 112 | fs/msdos/fat.c | &cache[count+1]; |
count | 221 | fs/msdos/fat.c | int nr,count; |
count | 225 | fs/msdos/fat.c | count = 0; |
count | 226 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
count | 227 | fs/msdos/fat.c | count++) { |
count | 104 | fs/msdos/file.c | int count) |
count | 107 | fs/msdos/file.c | char *end = buf + count; |
count | 122 | fs/msdos/file.c | if (filp->f_pos >= inode->i_size || count <= 0) return 0; |
count | 132 | fs/msdos/file.c | PRINTK (("#### ino %ld pos %ld size %ld count %d\n",inode->i_ino,filp->f_pos,inode->i_size,count)); |
count | 138 | fs/msdos/file.c | int count_max = (filp->f_pos & (SECTOR_SIZE-1)) + count; |
count | 157 | fs/msdos/file.c | PRINTK (("count %d ahead %d nblist %d\n",count,read_ahead[MAJOR(inode->i_dev)],pre.nblist)); |
count | 173 | fs/msdos/file.c | PRINTK (("file_read pos %ld nblist %d %d %d\n",filp->f_pos,pre.nblist,pre.fetched,count)); |
count | 202 | fs/msdos/file.c | PRINTK (("--- %d -> %d\n",count,(int)(buf-start))); |
count | 217 | fs/msdos/file.c | int count) |
count | 239 | fs/msdos/file.c | if (count <= 0) return 0; |
count | 241 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
count | 249 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
count | 277 | fs/msdos/file.c | for (size = 0; size < count && left; size++) { |
count | 114 | fs/msdos/misc.c | int count,nr,limit,last,current,sector,last_sector; |
count | 123 | fs/msdos/misc.c | for (count = 0; count < limit; count++) { |
count | 124 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
count | 130 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)-> |
count | 132 | fs/msdos/misc.c | if (count >= limit) { |
count | 381 | fs/msdos/misc.c | int count,cluster; |
count | 383 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) { |
count | 384 | fs/msdos/misc.c | if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count, |
count | 400 | fs/msdos/misc.c | int count,cluster; |
count | 406 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) { |
count | 409 | fs/msdos/misc.c | count,name,number,ino,res_bh,res_de)) >= 0) |
count | 485 | fs/msdos/misc.c | int count; |
count | 487 | fs/msdos/misc.c | count = 0; |
count | 489 | fs/msdos/misc.c | (void) raw_scan_root(dir->i_sb,NULL,&count,NULL,NULL,NULL); |
count | 493 | fs/msdos/misc.c | NULL,&count,NULL,NULL,NULL); |
count | 495 | fs/msdos/misc.c | return count; |
count | 25 | fs/nfs/dir.c | int count); |
count | 76 | fs/nfs/dir.c | int count) |
count | 90 | fs/nfs/dir.c | struct dirent *dirent, int count) |
count | 95 | fs/nfs/file.c | int count) |
count | 112 | fs/nfs/file.c | if (pos + count > inode->i_size) |
count | 113 | fs/nfs/file.c | count = inode->i_size - pos; |
count | 114 | fs/nfs/file.c | if (count <= 0) |
count | 121 | fs/nfs/file.c | && (cache[i].file_pos + cache[i].len >= pos + count) |
count | 128 | fs/nfs/file.c | memcpy_tofs(buf, cache[i].buf + pos - cache[i].file_pos, count); |
count | 130 | fs/nfs/file.c | file->f_pos += count; |
count | 131 | fs/nfs/file.c | return count; |
count | 135 | fs/nfs/file.c | for (i = 0; i < count - n; i += n) { |
count | 160 | fs/nfs/file.c | hunk = count - i; |
count | 190 | fs/nfs/file.c | int count) |
count | 204 | fs/nfs/file.c | if (count <= 0) |
count | 218 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
count | 219 | fs/nfs/file.c | hunk = count - i; |
count | 377 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr, int fs) |
count | 384 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
count | 391 | fs/nfs/proc.c | *p++ = htonl(count); |
count | 392 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
count | 401 | fs/nfs/proc.c | if (!(p = xdr_decode_data(p, data, &len, count, fs))) { |
count | 423 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
count | 429 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
count | 437 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
count | 438 | fs/nfs/proc.c | p = xdr_encode_data(p, data, count); |
count | 727 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
count | 736 | fs/nfs/proc.c | PRINTK("NFS call readdir %d @ %d\n", count, cookie); |
count | 752 | fs/nfs/proc.c | for (i = 0; i < count && *p++; i++) { |
count | 761 | fs/nfs/proc.c | eof = (i == count && !*p++ && *p++) |
count | 762 | fs/nfs/proc.c | || (i < count && *p++); |
count | 24 | fs/pipe.c | static int pipe_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 47 | fs/pipe.c | while (count>0 && (size = PIPE_SIZE(*inode))) { |
count | 49 | fs/pipe.c | if (chars > count) |
count | 50 | fs/pipe.c | chars = count; |
count | 58 | fs/pipe.c | count -= chars; |
count | 71 | fs/pipe.c | static int pipe_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 81 | fs/pipe.c | if (count <= PIPE_BUF) |
count | 82 | fs/pipe.c | free = count; |
count | 85 | fs/pipe.c | while (count>0) { |
count | 98 | fs/pipe.c | while (count>0 && (free = PIPE_FREE(*inode))) { |
count | 100 | fs/pipe.c | if (chars > count) |
count | 101 | fs/pipe.c | chars = count; |
count | 107 | fs/pipe.c | count -= chars; |
count | 123 | fs/pipe.c | static int pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count) |
count | 128 | fs/pipe.c | static int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count) |
count | 202 | fs/pipe.c | static int connect_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 215 | fs/pipe.c | return pipe_read(inode,filp,buf,count); |
count | 40 | fs/proc/array.c | static int read_core(struct inode * inode, struct file * file,char * buf, int count) |
count | 52 | fs/proc/array.c | if (count < 0) |
count | 56 | fs/proc/array.c | if (count > high_memory + PAGE_SIZE - p) |
count | 57 | fs/proc/array.c | count = high_memory + PAGE_SIZE - p; |
count | 60 | fs/proc/array.c | if (p < sizeof(struct user) && count > 0) { |
count | 61 | fs/proc/array.c | count1 = count; |
count | 68 | fs/proc/array.c | count -= count1; |
count | 72 | fs/proc/array.c | while (p < 2*PAGE_SIZE && count > 0) { |
count | 76 | fs/proc/array.c | count--; |
count | 79 | fs/proc/array.c | memcpy_tofs(buf,(void *) (p - PAGE_SIZE),count); |
count | 80 | fs/proc/array.c | read += count; |
count | 265 | fs/proc/array.c | int count = 0; |
count | 281 | fs/proc/array.c | } while (count++ < 16); |
count | 537 | fs/proc/array.c | static int array_read(struct inode * inode, struct file * file,char * buf, int count) |
count | 544 | fs/proc/array.c | if (count < 0) |
count | 560 | fs/proc/array.c | if (count + file->f_pos > length) |
count | 561 | fs/proc/array.c | count = length - file->f_pos; |
count | 562 | fs/proc/array.c | end = count + file->f_pos; |
count | 563 | fs/proc/array.c | memcpy_tofs(buf, (char *) page + file->f_pos, count); |
count | 566 | fs/proc/array.c | return count; |
count | 124 | fs/proc/base.c | struct dirent * dirent, int count) |
count | 119 | fs/proc/fd.c | struct dirent * dirent, int count) |
count | 19 | fs/proc/kmsg.c | asmlinkage int sys_syslog(int type, char * bug, int count); |
count | 31 | fs/proc/kmsg.c | static int kmsg_read(struct inode * inode, struct file * file,char * buf, int count) |
count | 33 | fs/proc/kmsg.c | return sys_syslog(2,buf,count); |
count | 25 | fs/proc/mem.c | static int mem_read(struct inode * inode, struct file * file,char * buf, int count) |
count | 32 | fs/proc/mem.c | if (count < 0) |
count | 46 | fs/proc/mem.c | while (count > 0) { |
count | 60 | fs/proc/mem.c | if (i > count) |
count | 61 | fs/proc/mem.c | i = count; |
count | 65 | fs/proc/mem.c | count -= i; |
count | 73 | fs/proc/mem.c | static int mem_write(struct inode * inode, struct file * file,char * buf, int count) |
count | 80 | fs/proc/mem.c | if (count < 0) |
count | 94 | fs/proc/mem.c | while (count > 0) { |
count | 112 | fs/proc/mem.c | if (i > count) |
count | 113 | fs/proc/mem.c | i = count; |
count | 117 | fs/proc/mem.c | count -= i; |
count | 36 | fs/proc/net.c | char * buf, int count); |
count | 162 | fs/proc/net.c | struct dirent * dirent, int count) |
count | 191 | fs/proc/net.c | char * buf, int count) |
count | 196 | fs/proc/net.c | int bytes=count; |
count | 201 | fs/proc/net.c | if (count < 0) |
count | 137 | fs/proc/root.c | struct dirent * dirent, int count) |
count | 25 | fs/read_write.c | asmlinkage int sys_readdir(unsigned int fd, struct dirent * dirent, unsigned int count) |
count | 36 | fs/read_write.c | int size = count; |
count | 37 | fs/read_write.c | if (count == 1) |
count | 41 | fs/read_write.c | error = file->f_op->readdir(inode,file,dirent,count); |
count | 121 | fs/read_write.c | asmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count) |
count | 133 | fs/read_write.c | if (!count) |
count | 135 | fs/read_write.c | error = verify_area(VERIFY_WRITE,buf,count); |
count | 138 | fs/read_write.c | return file->f_op->read(inode,file,buf,count); |
count | 141 | fs/read_write.c | asmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count) |
count | 154 | fs/read_write.c | if (!count) |
count | 156 | fs/read_write.c | error = verify_area(VERIFY_READ,buf,count); |
count | 159 | fs/read_write.c | written = file->f_op->write(inode,file,buf,count); |
count | 87 | fs/select.c | int count; |
count | 118 | fs/select.c | count = 0; |
count | 127 | fs/select.c | count++; |
count | 132 | fs/select.c | count++; |
count | 137 | fs/select.c | count++; |
count | 142 | fs/select.c | if (!count && current->timeout && !(current->signal & ~current->blocked)) { |
count | 149 | fs/select.c | return count; |
count | 228 | fs/sysv/balloc.c | int count, old_count; |
count | 235 | fs/sysv/balloc.c | count = 0; |
count | 244 | fs/sysv/balloc.c | count++; |
count | 296 | fs/sysv/balloc.c | count++; |
count | 310 | fs/sysv/balloc.c | if (count != old_count) { |
count | 311 | fs/sysv/balloc.c | printk("sysv_count_free_blocks: free block count was %d, correcting to %d\n",old_count,count); |
count | 313 | fs/sysv/balloc.c | *sb->sv_sb_total_free_blocks = (sb->sv_convert ? to_coh_ulong(count) : count); |
count | 319 | fs/sysv/balloc.c | return count; |
count | 321 | fs/sysv/balloc.c | int count; |
count | 323 | fs/sysv/balloc.c | count = *sb->sv_sb_total_free_blocks; |
count | 325 | fs/sysv/balloc.c | count = from_coh_ulong(count); |
count | 326 | fs/sysv/balloc.c | return count; |
count | 26 | fs/sysv/dir.c | static int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 124 | fs/sysv/dir.c | struct dirent * dirent, int count) |
count | 129 | fs/sysv/dir.c | if (count==1) |
count | 133 | fs/sysv/dir.c | while (count >= sizeof(struct dirent)) { |
count | 141 | fs/sysv/dir.c | count -= retval; |
count | 72 | fs/sysv/file.c | int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 98 | fs/sysv/file.c | if (left > count) |
count | 99 | fs/sysv/file.c | left = count; |
count | 197 | fs/sysv/file.c | static int sysv_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 225 | fs/sysv/file.c | while (written<count) { |
count | 233 | fs/sysv/file.c | if (c > count-written) |
count | 234 | fs/sysv/file.c | c = count-written; |
count | 181 | fs/sysv/ialloc.c | int j,block,count; |
count | 184 | fs/sysv/ialloc.c | count = 0; |
count | 201 | fs/sysv/ialloc.c | count++; |
count | 204 | fs/sysv/ialloc.c | if (count != *sb->sv_sb_total_free_inodes) { |
count | 205 | fs/sysv/ialloc.c | printk("sysv_count_free_inodes: free inode count was %d, correcting to %d\n",(short)(*sb->sv_sb_total_free_inodes),count); |
count | 207 | fs/sysv/ialloc.c | *sb->sv_sb_total_free_inodes = count; |
count | 213 | fs/sysv/ialloc.c | return count; |
count | 36 | fs/sysv/mmap.c | int remaining, count, old_fs; |
count | 48 | fs/sysv/mmap.c | count = sysv_file_read (area->vm_inode, &filp, (char *)page, remaining); |
count | 50 | fs/sysv/mmap.c | if (count < 0) |
count | 51 | fs/sysv/mmap.c | count = 0; /* do nothing on I/O error ?? */ |
count | 53 | fs/sysv/mmap.c | remaining -= count; |
count | 55 | fs/sysv/mmap.c | memset((char *)page + count, 0, remaining); |
count | 31 | fs/umsdos/dir.c | int count) |
count | 49 | fs/umsdos/dir.c | int count, |
count | 112 | fs/umsdos/dir.c | ret = msdos_readdir(dir,filp,dirent,count); |
count | 228 | fs/umsdos/dir.c | int count) |
count | 234 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,dirent,1,count,&entry,1,&f_pos); |
count | 25 | fs/umsdos/emd.c | int count) |
count | 30 | fs/umsdos/emd.c | ret = msdos_readdir(inode,filp,dirent,count); |
count | 41 | fs/umsdos/emd.c | int count) |
count | 46 | fs/umsdos/emd.c | ret = msdos_file_read(inode,filp,buf,count); |
count | 57 | fs/umsdos/emd.c | int count) |
count | 62 | fs/umsdos/emd.c | ret = msdos_file_write(inode,filp,buf,count); |
count | 78 | fs/umsdos/emd.c | int count) |
count | 82 | fs/umsdos/emd.c | written = umsdos_file_write_kmem (emd_dir,filp,buf,count); |
count | 83 | fs/umsdos/emd.c | return written != count ? -EIO : 0; |
count | 94 | fs/umsdos/emd.c | int count) |
count | 99 | fs/umsdos/emd.c | sizeread = umsdos_file_read_kmem (emd_dir,filp,buf,count); |
count | 100 | fs/umsdos/emd.c | if (sizeread != count){ |
count | 32 | fs/umsdos/file.c | int count) |
count | 35 | fs/umsdos/file.c | int ret = msdos_file_read(inode,filp,buf,count); |
count | 47 | fs/umsdos/file.c | int count) |
count | 49 | fs/umsdos/file.c | return msdos_file_write(inode,filp,buf,count); |
count | 31 | fs/umsdos/rdir.c | int count) |
count | 35 | fs/umsdos/rdir.c | ret = msdos_readdir(dir,filp,dirent,count); |
count | 63 | fs/xiafs/dir.c | struct file * filp, char * buf, int count) |
count | 69 | fs/xiafs/dir.c | struct file * filp, struct dirent * dirent, int count) |
count | 70 | fs/xiafs/file.c | xiafs_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 89 | fs/xiafs/file.c | if (left > count) |
count | 90 | fs/xiafs/file.c | left = count; |
count | 190 | fs/xiafs/file.c | xiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 214 | fs/xiafs/file.c | while (written < count) { |
count | 222 | fs/xiafs/file.c | if (c > count-written) |
count | 223 | fs/xiafs/file.c | c = count-written; |
count | 231 | include/asm-alpha/dma.h | static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count) |
count | 233 | include/asm-alpha/dma.h | count--; |
count | 235 | include/asm-alpha/dma.h | dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 236 | include/asm-alpha/dma.h | dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 238 | include/asm-alpha/dma.h | dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 239 | include/asm-alpha/dma.h | dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 258 | include/asm-alpha/dma.h | unsigned short count; |
count | 260 | include/asm-alpha/dma.h | count = 1 + dma_inb(io_port); |
count | 261 | include/asm-alpha/dma.h | count += dma_inb(io_port) << 8; |
count | 263 | include/asm-alpha/dma.h | return (dmanr<=3)? count : (count<<1); |
count | 29 | include/asm-generic/string.h | extern inline char * strncpy(char * dest,const char *src,size_t count) |
count | 33 | include/asm-generic/string.h | while((*dest++ = *src++) && --count); |
count | 54 | include/asm-generic/string.h | extern inline char * strncat(char *dest, const char *src, size_t count) |
count | 58 | include/asm-generic/string.h | if (count) { |
count | 62 | include/asm-generic/string.h | if (--count == 0) |
count | 86 | include/asm-generic/string.h | extern inline int strncmp(const char * cs,const char * ct,size_t count) |
count | 90 | include/asm-generic/string.h | while(count) { |
count | 93 | include/asm-generic/string.h | count--; |
count | 126 | include/asm-generic/string.h | size_t count = 0; |
count | 134 | include/asm-generic/string.h | return count; |
count | 136 | include/asm-generic/string.h | ++count; |
count | 139 | include/asm-generic/string.h | return count; |
count | 180 | include/asm-generic/string.h | extern inline void * memset(void * s,char c,size_t count) |
count | 200 | include/asm-generic/string.h | extern inline int memcmp(const void * cs,const void * ct,size_t count) |
count | 204 | include/asm-generic/string.h | for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--) |
count | 230 | include/asm-i386/dma.h | static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count) |
count | 232 | include/asm-i386/dma.h | count--; |
count | 234 | include/asm-i386/dma.h | dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 235 | include/asm-i386/dma.h | dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 237 | include/asm-i386/dma.h | dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 238 | include/asm-i386/dma.h | dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 257 | include/asm-i386/dma.h | unsigned short count; |
count | 259 | include/asm-i386/dma.h | count = 1 + dma_inb(io_port); |
count | 260 | include/asm-i386/dma.h | count += dma_inb(io_port) << 8; |
count | 262 | include/asm-i386/dma.h | return (dmanr<=3)? count : (count<<1); |
count | 69 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
count | 71 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
count | 74 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
count | 76 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
count | 29 | include/asm-i386/string.h | extern inline char * strncpy(char * dest,const char *src,size_t count) |
count | 43 | include/asm-i386/string.h | :"S" (src),"D" (dest),"c" (count):"si","di","ax","cx","memory"); |
count | 63 | include/asm-i386/string.h | extern inline char * strncat(char * dest,const char * src,size_t count) |
count | 80 | include/asm-i386/string.h | :"S" (src),"D" (dest),"a" (0),"c" (0xffffffff),"g" (count) |
count | 104 | include/asm-i386/string.h | extern inline int strncmp(const char * cs,const char * ct,size_t count) |
count | 121 | include/asm-i386/string.h | :"=a" (__res):"S" (cs),"D" (ct),"c" (count):"si","di","cx"); |
count | 384 | include/asm-i386/string.h | extern inline int memcmp(const void * cs,const void * ct,size_t count) |
count | 395 | include/asm-i386/string.h | :"=a" (__res):"0" (0),"S" (cs),"D" (ct),"c" (count) |
count | 400 | include/asm-i386/string.h | extern inline void * memchr(const void * cs,char c,size_t count) |
count | 403 | include/asm-i386/string.h | if (!count) |
count | 412 | include/asm-i386/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
count | 417 | include/asm-i386/string.h | extern inline void * __memset_generic(void * s,char c,size_t count) |
count | 424 | include/asm-i386/string.h | :"a" (c),"D" (s),"c" (count) |
count | 430 | include/asm-i386/string.h | #define __constant_c_memset(s,c,count) __memset_generic((s),(c),(count)) |
count | 431 | include/asm-i386/string.h | #define __constant_count_memset(s,c,count) __memset_generic((s),(c),(count)) |
count | 437 | include/asm-i386/string.h | extern inline void * __constant_c_and_count_memset(void * s, unsigned long pattern, size_t count) |
count | 439 | include/asm-i386/string.h | switch (count) { |
count | 461 | include/asm-i386/string.h | : "a" (pattern),"c" (count/4),"D" ((long) s) \ |
count | 464 | include/asm-i386/string.h | switch (count % 4) { |
count | 473 | include/asm-i386/string.h | #define __constant_c_x_memset(s, c, count) \ |
count | 474 | include/asm-i386/string.h | (__builtin_constant_p(count) ? \ |
count | 475 | include/asm-i386/string.h | __constant_c_and_count_memset((s),(c),(count)) : \ |
count | 476 | include/asm-i386/string.h | __constant_c_memset((s),(c),(count))) |
count | 478 | include/asm-i386/string.h | #define __memset(s, c, count) \ |
count | 479 | include/asm-i386/string.h | (__builtin_constant_p(count) ? \ |
count | 480 | include/asm-i386/string.h | __constant_count_memset((s),(c),(count)) : \ |
count | 481 | include/asm-i386/string.h | __memset_generic((s),(c),(count))) |
count | 483 | include/asm-i386/string.h | #define memset(s, c, count) \ |
count | 485 | include/asm-i386/string.h | __constant_c_x_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \ |
count | 486 | include/asm-i386/string.h | __memset((s),(c),(count))) |
count | 92 | include/asm-mips/string.h | extern inline int strncmp(const char * cs,const char * ct,size_t count) |
count | 111 | include/asm-mips/string.h | : "=d" (cs), "=d" (ct), "=d" (count), "=d" (__res) |
count | 112 | include/asm-mips/string.h | : "0" (cs), "1" (ct), "2" (count) |
count | 124 | include/asm-mips/string.h | extern inline void * memset(void * s,char c,size_t count) |
count | 128 | include/asm-mips/string.h | if (!count) |
count | 137 | include/asm-mips/string.h | : "=d" (s), "=d" (count) |
count | 138 | include/asm-mips/string.h | : "0" (s), "d" (c), "1" (count) |
count | 43 | include/linux/binfmts.h | char * addr, unsigned long count); |
count | 26 | include/linux/ext_fs.h | unsigned long count; |
count | 32 | include/linux/ext_fs.h | unsigned long count; |
count | 101 | include/linux/mm.h | unsigned short count; |
count | 185 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
count | 179 | include/linux/msdos_fs.h | struct dirent *dirent, int count); |
count | 63 | include/linux/nfs_fs.h | int offset, int count, char *data, |
count | 66 | include/linux/nfs_fs.h | int offset, int count, char *data, |
count | 86 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
count | 194 | include/linux/sched.h | int count; |
count | 206 | include/linux/sched.h | int count; |
count | 218 | include/linux/sched.h | int count; |
count | 543 | include/linux/sched.h | if (sem->count <= 0) |
count | 545 | include/linux/sched.h | sem->count--; |
count | 550 | include/linux/sched.h | sem->count++; |
count | 104 | include/linux/serial.h | int count; /* # of fd on device */ |
count | 86 | include/linux/tty.h | int count; |
count | 203 | include/linux/tty.h | int count; |
count | 127 | include/linux/tty_driver.h | unsigned char *buf, int count); |
count | 13 | include/linux/tty_flip.h | if (tty->flip.count++ >= TTY_FLIPBUF_SIZE) |
count | 37 | include/linux/tty_ldisc.h | char *fp, int count); |
count | 17 | include/linux/wait.h | int count; |
count | 118 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count); |
count | 122 | include/linux/xd.h | static u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count); |
count | 123 | include/linux/xd.h | static 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); |
count | 53 | init/main.c | static inline _syscall3(int,write,int,fd,const char *,buf,off_t,count) |
count | 286 | kernel/exit.c | int err, retval = 0, count = 0; |
count | 294 | kernel/exit.c | ++count; |
count | 299 | kernel/exit.c | return(count ? retval : -ESRCH); |
count | 56 | kernel/printk.c | unsigned long i, j, count; |
count | 109 | kernel/printk.c | count = len; |
count | 110 | kernel/printk.c | if (count > LOG_BUF_LEN) |
count | 111 | kernel/printk.c | count = LOG_BUF_LEN; |
count | 112 | kernel/printk.c | if (count > logged_chars) |
count | 113 | kernel/printk.c | count = logged_chars; |
count | 114 | kernel/printk.c | j = log_start + log_size - count; |
count | 115 | kernel/printk.c | for (i = 0; i < count; i++) { |
count | 333 | kernel/sched.c | while (sem->count <= 0) { |
count | 472 | kernel/sched.c | static int count = LOAD_FREQ; |
count | 474 | kernel/sched.c | if (count-- > 0) |
count | 476 | kernel/sched.c | count = LOAD_FREQ; |
count | 179 | kernel/time.c | int count; |
count | 184 | kernel/time.c | count = inb_p(0x40); /* read the latched count */ |
count | 185 | kernel/time.c | count |= inb(0x40) << 8; |
count | 187 | kernel/time.c | if (count > (LATCH - LATCH/100)) { |
count | 193 | kernel/time.c | count = ((LATCH-1) - count) * TICK_SIZE; |
count | 194 | kernel/time.c | count = (count + LATCH/2) / LATCH; |
count | 195 | kernel/time.c | return offset + count; |
count | 11 | lib/write.c | _syscall3(int,write,int,fd,const char *,buf,off_t,count) |
count | 172 | mm/kmalloc.c | static int count = 0; |
count | 173 | mm/kmalloc.c | if (++count < 5) { |
count | 621 | mm/swap.c | static int count = 0; |
count | 622 | mm/swap.c | if (++count < 5) { |
count | 178 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
count | 187 | mm/vmalloc.c | if (count == 0) |
count | 189 | mm/vmalloc.c | put_fs_byte('\0', buf++), addr++, count--; |
count | 195 | mm/vmalloc.c | if (count == 0) |
count | 197 | mm/vmalloc.c | put_fs_byte(*addr++, buf++), count--; |
count | 826 | net/inet/ip.c | int count, len; |
count | 855 | net/inet/ip.c | count = 0; |
count | 861 | net/inet/ip.c | if(count+fp->len>skb->len) |
count | 870 | net/inet/ip.c | count += fp->len; |
count | 880 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
count | 395 | net/inet/skbuff.c | static int count = 0; |
count | 396 | net/inet/skbuff.c | if (++count < 5) { |
count | 62 | net/socket.c | struct dirent *dirent, int count); |
count | 422 | net/socket.c | int count) |