tag | line | file | source code |
count | 439 | drivers/block/floppy.c | unsigned long addr,count; |
count | 447 | drivers/block/floppy.c | count = floppy->sect*4; |
count | 450 | drivers/block/floppy.c | count = 1024; |
count | 455 | drivers/block/floppy.c | count = floppy->sect*floppy->head*512; |
count | 467 | drivers/block/floppy.c | set_dma_count(FLOPPY_DMA, count); |
count | 972 | drivers/block/floppy.c | int count,head_shift,track_shift,total_shift; |
count | 983 | drivers/block/floppy.c | for (count = 0; count < floppy->sect; count++) { |
count | 986 | drivers/block/floppy.c | *here++ = 1 + (( count + total_shift ) % floppy->sect); |
count | 180 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
count | 199 | drivers/block/ll_rw_blk.c | count = bh->b_size >> 9; |
count | 200 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
count | 202 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
count | 243 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
count | 252 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
count | 255 | drivers/block/ll_rw_blk.c | req->nr_sectors += count; |
count | 258 | drivers/block/ll_rw_blk.c | req->current_nr_sectors = count; |
count | 292 | drivers/block/ll_rw_blk.c | req->nr_sectors = count; |
count | 293 | drivers/block/ll_rw_blk.c | req->current_nr_sectors = count; |
count | 825 | drivers/block/mcd.c | int count; |
count | 847 | drivers/block/mcd.c | for (count = 0; count < 1000000; count++) |
count | 851 | drivers/block/mcd.c | for (count = 0; count < 1000000; count++) |
count | 855 | drivers/block/mcd.c | if (count >= 1000000) { |
count | 860 | drivers/block/mcd.c | count = inb(MCDPORT(0)); /* pick up the status */ |
count | 863 | drivers/block/mcd.c | for(count=0;count<3;count++) |
count | 864 | drivers/block/mcd.c | if(getValue(result+count)) { |
count | 1037 | drivers/block/mcd.c | int count; |
count | 1040 | drivers/block/mcd.c | for (count = 0; count < 2000; count++) |
count | 1044 | drivers/block/mcd.c | if (count >= 2000) |
count | 1632 | drivers/block/sbpcd.c | static int yy_SubChanInfo(int frame, int count, u_char *buffer) |
count | 1646 | drivers/block/sbpcd.c | drvcmd[5]=(count>>8)&0xFF; |
count | 1647 | drivers/block/sbpcd.c | drvcmd[6]=count&0xFF; |
count | 210 | drivers/block/xd.c | u_int block,count,retry; |
count | 219 | drivers/block/xd.c | count = CURRENT->nr_sectors; |
count | 225 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
count | 322 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
count | 329 | 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 | 333 | drivers/block/xd.c | while (count) { |
count | 334 | drivers/block/xd.c | temp = count < xd_maxsectors ? count : xd_maxsectors; |
count | 366 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
count | 396 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
count | 398 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
count | 399 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != ((u_int) buffer + count) & 0xFFFF0000) { |
count | 409 | drivers/block/xd.c | set_dma_count(xd_dma,count); |
count | 420 | 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 | 426 | drivers/block/xd.c | cmdblk[4] = count; |
count | 509 | drivers/block/xd.c | u_char cmdblk[6],i,count = 0; |
count | 514 | drivers/block/xd.c | init_drive(count); |
count | 515 | drivers/block/xd.c | count++; |
count | 518 | 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 | 562 | drivers/char/console.c | unsigned long count; |
count | 567 | drivers/char/console.c | count = (scr_end-pos)>>1; |
count | 571 | drivers/char/console.c | count = ((pos-origin)>>1)+1; |
count | 575 | drivers/char/console.c | count = video_num_columns * video_num_lines; |
count | 585 | drivers/char/console.c | :"c" (count), |
count | 593 | drivers/char/console.c | long count; |
count | 598 | drivers/char/console.c | count = video_num_columns-x; |
count | 603 | drivers/char/console.c | count = x+1; |
count | 607 | drivers/char/console.c | count = video_num_columns; |
count | 616 | drivers/char/console.c | :"c" (count), |
count | 1009 | drivers/char/console.c | unsigned char *buf, int count) |
count | 1026 | drivers/char/console.c | while (!tty->stopped && count) { |
count | 1028 | drivers/char/console.c | buf++; n++; count--; |
count | 1360 | drivers/char/console.c | void * memsetw(void * s,unsigned short c,int count) |
count | 1366 | drivers/char/console.c | :"a" (c),"D" (s),"c" (count) |
count | 49 | drivers/char/lp.c | unsigned long count = 0; |
count | 53 | drivers/char/lp.c | count ++; |
count | 56 | drivers/char/lp.c | } while(!(status & LP_PBUSY) && count < LP_CHAR(minor)); |
count | 58 | drivers/char/lp.c | if (count == LP_CHAR(minor)) { |
count | 63 | drivers/char/lp.c | if (count > lp_max_count) { |
count | 64 | drivers/char/lp.c | printk("lp success after %d counts.\n",count); |
count | 65 | drivers/char/lp.c | lp_max_count=count; |
count | 124 | drivers/char/lp.c | static int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count) |
count | 135 | drivers/char/lp.c | copy_size = (count <= LP_BUFFER_SIZE ? count : LP_BUFFER_SIZE); |
count | 185 | drivers/char/lp.c | count -= bytes_written; |
count | 187 | drivers/char/lp.c | } while (count > 0); |
count | 193 | drivers/char/lp.c | char * buf, int count) |
count | 208 | drivers/char/lp.c | while (count > 0) { |
count | 212 | drivers/char/lp.c | if (retval) { count--; temp++; |
count | 266 | drivers/char/lp.c | static int lp_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 269 | drivers/char/lp.c | return lp_write_interrupt(inode, file, buf, count); |
count | 271 | drivers/char/lp.c | return lp_write_polled(inode, file, buf, count); |
count | 435 | drivers/char/lp.c | int count = 0; |
count | 456 | drivers/char/lp.c | count++; |
count | 459 | 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 | 116 | drivers/char/mem.c | static int read_kmem(struct inode *inode, struct file *file, char *buf, int count) |
count | 120 | drivers/char/mem.c | read1 = read_mem(inode, file, buf, count); |
count | 123 | drivers/char/mem.c | read2 = vread(buf + read1, (char *) file->f_pos, count - read1); |
count | 130 | drivers/char/mem.c | static int read_port(struct inode * inode,struct file * file,char * buf, int count) |
count | 135 | drivers/char/mem.c | while (count-- > 0 && i < 65536) { |
count | 144 | drivers/char/mem.c | static int write_port(struct inode * inode,struct file * file,char * buf, int count) |
count | 149 | drivers/char/mem.c | while (count-- > 0 && i < 65536) { |
count | 158 | drivers/char/mem.c | static int read_null(struct inode * node,struct file * file,char * buf,int count) |
count | 163 | drivers/char/mem.c | static int write_null(struct inode * inode,struct file * file,char * buf, int count) |
count | 165 | drivers/char/mem.c | return count; |
count | 168 | drivers/char/mem.c | static int read_zero(struct inode * node,struct file * file,char * buf,int count) |
count | 172 | drivers/char/mem.c | for (left = count; left > 0; left--) { |
count | 176 | drivers/char/mem.c | return count; |
count | 209 | drivers/char/mem.c | static int read_full(struct inode * node,struct file * file,char * buf,int count) |
count | 211 | drivers/char/mem.c | return count; |
count | 214 | 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 | 516 | drivers/char/n_tty.c | char *fp, int count) |
count | 526 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
count | 532 | drivers/char/n_tty.c | count -= i; |
count | 534 | drivers/char/n_tty.c | i = MIN(count, MIN(N_TTY_BUF_SIZE - tty->read_cnt, |
count | 540 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
count | 923 | 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 | 57 | drivers/char/pty.c | if (tty->count > 1) |
count | 58 | drivers/char/pty.c | printk("master pty_close: count = %d!!\n", tty->count); |
count | 60 | drivers/char/pty.c | if (tty->count > 2) |
count | 78 | drivers/char/pty.c | unsigned char *buf, int count) |
count | 86 | drivers/char/pty.c | count = MIN(count, to->ldisc.receive_room(to)); |
count | 89 | drivers/char/pty.c | for (c = count; c > 0; c -= n) { |
count | 96 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, count); |
count | 98 | drivers/char/pty.c | return count; |
count | 155 | drivers/char/pty.c | while (!tty->link->count && !(current->signal & ~current->blocked)) |
count | 157 | drivers/char/pty.c | if (!tty->link->count) |
count | 371 | drivers/char/serial.c | if (tty->flip.count >= TTY_FLIPBUF_SIZE) |
count | 373 | drivers/char/serial.c | tty->flip.count++; |
count | 399 | drivers/char/serial.c | int count; |
count | 416 | drivers/char/serial.c | count = info->xmit_fifo_size; |
count | 422 | drivers/char/serial.c | } while (--count > 0); |
count | 1171 | drivers/char/serial.c | unsigned char *buf, int count) |
count | 1184 | drivers/char/serial.c | c = MIN(count, MIN(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, |
count | 1199 | drivers/char/serial.c | count -= c; |
count | 1373 | drivers/char/serial.c | if ((change_port || change_irq) && (info->count > 1)) |
count | 1482 | drivers/char/serial.c | if (info->count > 1) |
count | 1683 | drivers/char/serial.c | printk("rs_close ttys%d, count = %d\n", info->line, info->count); |
count | 1685 | drivers/char/serial.c | if ((tty->count == 1) && (info->count != 1)) { |
count | 1694 | drivers/char/serial.c | "info->count is %d\n", info->count); |
count | 1695 | drivers/char/serial.c | info->count = 1; |
count | 1697 | drivers/char/serial.c | if (--info->count < 0) { |
count | 1699 | drivers/char/serial.c | info->line, info->count); |
count | 1700 | drivers/char/serial.c | info->count = 0; |
count | 1702 | drivers/char/serial.c | if (info->count) |
count | 1737 | drivers/char/serial.c | tty->count++; /* avoid race condition */ |
count | 1741 | drivers/char/serial.c | tty->count--; |
count | 1762 | drivers/char/serial.c | info->count = 0; |
count | 1837 | drivers/char/serial.c | info->line, info->count); |
count | 1839 | drivers/char/serial.c | info->count--; |
count | 1872 | drivers/char/serial.c | info->line, info->count); |
count | 1879 | drivers/char/serial.c | info->count++; |
count | 1883 | drivers/char/serial.c | info->line, info->count); |
count | 1911 | drivers/char/serial.c | info->count); |
count | 1913 | drivers/char/serial.c | info->count++; |
count | 1917 | drivers/char/serial.c | if ((info->count == 1) && (info->flags & ASYNC_SPLIT_TERMIOS)) { |
count | 2252 | drivers/char/serial.c | info->count = 0; |
count | 1810 | drivers/char/tpqic02.c | static int tape_qic02_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 1820 | drivers/char/tpqic02.c | MINOR(dev), buf, count, filp->f_pos, flags); |
count | 1822 | drivers/char/tpqic02.c | if (count % TAPE_BLKSIZE) { /* Only allow mod 512 bytes at a time. */ |
count | 1834 | drivers/char/tpqic02.c | error = verify_area(VERIFY_WRITE, buf, count); |
count | 1836 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": read: verify_area(WRITE, %p, %x) failed\n", buf, count); |
count | 1843 | drivers/char/tpqic02.c | while (count>=0) { |
count | 1847 | drivers/char/tpqic02.c | if (bytes_todo>count) |
count | 1848 | drivers/char/tpqic02.c | bytes_todo = count; |
count | 1943 | drivers/char/tpqic02.c | count -= bytes_done; |
count | 1980 | drivers/char/tpqic02.c | static int tape_qic02_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 1989 | drivers/char/tpqic02.c | MINOR(dev), buf, count, filp->f_pos, flags); |
count | 1991 | drivers/char/tpqic02.c | if (count % TAPE_BLKSIZE) { /* only allow mod 512 bytes at a time */ |
count | 2011 | drivers/char/tpqic02.c | error = verify_area(VERIFY_READ, buf, count); |
count | 2013 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": write: verify_area(READ, %p, %x) failed\n", buf, count); |
count | 2020 | drivers/char/tpqic02.c | while (count>=0) { |
count | 2024 | drivers/char/tpqic02.c | if (bytes_todo>count) |
count | 2025 | drivers/char/tpqic02.c | bytes_todo = count; |
count | 2106 | drivers/char/tpqic02.c | count -= bytes_done; |
count | 2110 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": status_bytes_wr %x, buf %p, total_bytes_done %lx, count %x\n", status_bytes_wr, buf, total_bytes_done, count); |
count | 2284 | drivers/char/tpqic02.c | static int tape_qic02_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count) |
count | 251 | drivers/char/tty_io.c | static int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count) |
count | 256 | drivers/char/tty_io.c | static int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 632 | drivers/char/tty_io.c | static int tty_read(struct inode * inode, struct file * file, char * buf, int count) |
count | 661 | drivers/char/tty_io.c | i = (tty->ldisc.read)(tty,file,(unsigned char *)buf,(unsigned int)count); |
count | 669 | drivers/char/tty_io.c | static int tty_write(struct inode * inode, struct file * file, char * buf, int count) |
count | 697 | drivers/char/tty_io.c | i = (tty->ldisc.write)(tty,file,(unsigned char *)buf,(unsigned int)count); |
count | 737 | drivers/char/tty_io.c | *tty_loc && (*tty_loc)->count) |
count | 847 | drivers/char/tty_io.c | (*tty_loc)->count++; |
count | 851 | drivers/char/tty_io.c | (*o_tty_loc)->count++; |
count | 918 | drivers/char/tty_io.c | tty->count); |
count | 954 | drivers/char/tty_io.c | if (--tty->link->count < 0) { |
count | 956 | drivers/char/tty_io.c | tty->count, tty_name(tty)); |
count | 957 | drivers/char/tty_io.c | tty->link->count = 0; |
count | 960 | drivers/char/tty_io.c | if (--tty->count < 0) { |
count | 962 | drivers/char/tty_io.c | tty->count, tty_name(tty)); |
count | 963 | drivers/char/tty_io.c | tty->count = 0; |
count | 965 | drivers/char/tty_io.c | if (tty->count) |
count | 978 | drivers/char/tty_io.c | if (o_tty->count) |
count | 1460 | drivers/char/tty_io.c | int count; |
count | 1479 | drivers/char/tty_io.c | count = tty->flip.count; |
count | 1480 | drivers/char/tty_io.c | tty->flip.count = 0; |
count | 1484 | drivers/char/tty_io.c | if (count > tty->max_flip_cnt) |
count | 1485 | drivers/char/tty_io.c | tty->max_flip_cnt = count; |
count | 1487 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
count | 89 | drivers/char/vt.c | kd_mksound(unsigned int count, unsigned int ticks) |
count | 95 | drivers/char/vt.c | if (count) { |
count | 101 | drivers/char/vt.c | outb_p(count & 0xff, 0x42); |
count | 102 | drivers/char/vt.c | outb((count >> 8) & 0xff, 0x42); |
count | 489 | drivers/char/vt.c | console_driver.table[i]->count > 0) |
count | 504 | 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 | 42 | drivers/net/3c503.c | static void el2_block_output(struct device *dev, int count, |
count | 44 | drivers/net/3c503.c | static int el2_block_input(struct device *dev, int count, char *buf, |
count | 337 | drivers/net/3c503.c | el2_block_output(struct device *dev, int count, |
count | 349 | drivers/net/3c503.c | memcpy(dest_addr, buf, count); |
count | 350 | drivers/net/3c503.c | if (ei_debug > 2 && memcmp(dest_addr, buf, count)) |
count | 365 | drivers/net/3c503.c | for(i = 0; i < count; i++) { |
count | 370 | drivers/net/3c503.c | dev->name, i, count, boguscount); |
count | 381 | drivers/net/3c503.c | el2_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 390 | drivers/net/3c503.c | if (dev->mem_start + ring_offset + count > end_of_ring) { |
count | 394 | drivers/net/3c503.c | count -= semi_count; |
count | 395 | drivers/net/3c503.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 396 | drivers/net/3c503.c | return dev->rmem_start + count; |
count | 398 | drivers/net/3c503.c | memcpy(buf, (char *)dev->mem_start + ring_offset, count); |
count | 399 | drivers/net/3c503.c | return ring_offset + count; |
count | 409 | drivers/net/3c503.c | for(i = 0; i < count; i++) { |
count | 414 | drivers/net/3c503.c | dev->name, i, count, boguscount); |
count | 416 | drivers/net/8390.c | pkt_len = rx_frame.count - sizeof(rx_frame); |
count | 436 | drivers/net/8390.c | dev->name, rx_frame.count, rx_frame.status, |
count | 463 | drivers/net/8390.c | rx_frame.count); |
count | 157 | drivers/net/8390.h | unsigned short count; /* header + packet lenght in bytes */ |
count | 52 | drivers/net/hp.c | static int hp_block_input(struct device *dev, int count, |
count | 54 | drivers/net/hp.c | static void hp_block_output(struct device *dev, int count, |
count | 204 | drivers/net/hp.c | hp_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 208 | drivers/net/hp.c | int xfer_count = count; |
count | 212 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 213 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 218 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1); |
count | 219 | drivers/net/hp.c | if (count & 0x01) |
count | 220 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
count | 222 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
count | 235 | drivers/net/hp.c | return ring_offset + count; |
count | 239 | drivers/net/hp.c | hp_block_output(struct device *dev, int count, |
count | 249 | drivers/net/hp.c | if (ei_status.word16 && (count & 0x01)) |
count | 250 | drivers/net/hp.c | count++; |
count | 267 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 268 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 275 | drivers/net/hp.c | outsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1); |
count | 277 | drivers/net/hp.c | outsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
count | 287 | drivers/net/hp.c | if ((start_page << 8) + count != addr) |
count | 289 | drivers/net/hp.c | dev->name, (start_page << 8) + count, addr); |
count | 46 | drivers/net/ne.c | static int ne_block_input(struct device *dev, int count, |
count | 48 | drivers/net/ne.c | static void ne_block_output(struct device *dev, const int count, |
count | 285 | drivers/net/ne.c | ne_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 287 | drivers/net/ne.c | int xfer_count = count; |
count | 299 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 300 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 305 | drivers/net/ne.c | insw(NE_BASE + NE_DATAPORT,buf,count>>1); |
count | 306 | drivers/net/ne.c | if (count & 0x01) |
count | 307 | drivers/net/ne.c | buf[count-1] = inb(NE_BASE + NE_DATAPORT), xfer_count++; |
count | 309 | drivers/net/ne.c | insb(NE_BASE + NE_DATAPORT, buf, count); |
count | 333 | drivers/net/ne.c | return ring_offset + count; |
count | 337 | drivers/net/ne.c | ne_block_output(struct device *dev, int count, |
count | 346 | drivers/net/ne.c | if (ei_status.word16 && (count & 0x01)) |
count | 347 | drivers/net/ne.c | count++; |
count | 377 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
count | 378 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
count | 384 | drivers/net/ne.c | outsw(NE_BASE + NE_DATAPORT, buf, count>>1); |
count | 386 | drivers/net/ne.c | outsb(NE_BASE + NE_DATAPORT, buf, count); |
count | 399 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
count | 405 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
count | 150 | drivers/net/ppp.c | char *fp, int count); |
count | 661 | drivers/net/ppp.c | register int count = ppp->xhead - ppp->xbuff; |
count | 664 | drivers/net/ppp.c | ppp->stats.sbytes += count; |
count | 668 | drivers/net/ppp.c | count, |
count | 686 | drivers/net/ppp.c | register int count, actual; |
count | 688 | drivers/net/ppp.c | count = ppp->xhead - ppp->xbuff; |
count | 690 | drivers/net/ppp.c | actual = ppp->tty->driver.write(ppp->tty, 0, ppp->xbuff, count); |
count | 692 | drivers/net/ppp.c | if (actual == count) { |
count | 702 | drivers/net/ppp.c | register int count, actual; |
count | 721 | drivers/net/ppp.c | count = ppp->xhead - ppp->xtail; |
count | 723 | drivers/net/ppp.c | actual = tty->driver.write(tty, 0, ppp->xtail, count); |
count | 725 | drivers/net/ppp.c | if (actual == count) { |
count | 776 | drivers/net/ppp.c | i, count; |
count | 783 | drivers/net/ppp.c | count = 0; |
count | 786 | drivers/net/ppp.c | buffer [count] = tty->read_q.buf[i]; |
count | 787 | drivers/net/ppp.c | if (++count == 8) { |
count | 789 | drivers/net/ppp.c | count = 0; |
count | 793 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, count, KERNEL_DS); |
count | 895 | drivers/net/ppp.c | char *fp, int count) |
count | 911 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", cp, count, KERNEL_DS); |
count | 914 | drivers/net/ppp.c | ppp->stats.rbytes += count; |
count | 916 | drivers/net/ppp.c | while (count-- > 0) { |
count | 973 | drivers/net/ppp.c | int count = ppp->rcount; |
count | 984 | drivers/net/ppp.c | if (count == 0) |
count | 988 | drivers/net/ppp.c | ppp_print_buffer ("receive frame", c, count, KERNEL_DS); |
count | 990 | drivers/net/ppp.c | if (count < 4) { |
count | 991 | drivers/net/ppp.c | PRINTKN (1,(KERN_WARNING "ppp: got runt ppp frame, %d chars\n", count)); |
count | 1003 | drivers/net/ppp.c | count -= 2; /* ignore last two characters */ |
count | 1009 | drivers/net/ppp.c | count -= 2; |
count | 1014 | drivers/net/ppp.c | count--; |
count | 1017 | drivers/net/ppp.c | count -= 2; |
count | 1021 | drivers/net/ppp.c | if ((ppp->dev->flags & IFF_UP) && ppp_do_ip(ppp, proto, c, count)) { |
count | 1032 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, c, count+2)) { |
count | 1050 | drivers/net/ppp.c | int count) |
count | 1055 | drivers/net/ppp.c | (int) proto, count, c[0])); |
count | 1059 | drivers/net/ppp.c | (int) proto, count)); |
count | 1086 | drivers/net/ppp.c | count = slhc_uncompress(ppp->slcomp, c, count); |
count | 1087 | drivers/net/ppp.c | if (count <= 0) { |
count | 1097 | drivers/net/ppp.c | if (slhc_remember(ppp->slcomp, c, count) <= 0) { |
count | 1113 | drivers/net/ppp.c | iph->saddr, iph->daddr, count)) |
count | 1117 | drivers/net/ppp.c | while ((dev_rint(c, count, 0, ppp->dev) & ~1) != 0) |
count | 1962 | drivers/net/ppp.c | inline void ppp_print_hex (register char *out, char *in, int count); |
count | 1963 | drivers/net/ppp.c | inline void ppp_print_hex (register char *out, char *in, int count) |
count | 1967 | drivers/net/ppp.c | while (count-- > 0) { |
count | 1977 | drivers/net/ppp.c | inline void ppp_print_char (register char *out, char *in, int count); |
count | 1978 | drivers/net/ppp.c | inline void ppp_print_char (register char *out, char *in, int count) |
count | 1982 | drivers/net/ppp.c | while (count-- > 0) { |
count | 1997 | drivers/net/ppp.c | static void ppp_print_buffer(const char *name, char *buf, int count, int seg) |
count | 2005 | drivers/net/ppp.c | PRINTK ((KERN_DEBUG "ppp: %s, count = %d\n", name, count)); |
count | 2007 | drivers/net/ppp.c | while (count > 8) { |
count | 2012 | drivers/net/ppp.c | count -= 8; |
count | 2016 | drivers/net/ppp.c | if (count > 0) { |
count | 2018 | drivers/net/ppp.c | ppp_print_hex (line, buf, count); |
count | 2019 | drivers/net/ppp.c | ppp_print_char (&line[8 * 3], buf, count); |
count | 291 | drivers/net/slip.c | int count; |
count | 293 | drivers/net/slip.c | count = sl->rcount; |
count | 319 | drivers/net/slip.c | count = slhc_uncompress(sl->slcomp, sl->rbuff, count); |
count | 320 | drivers/net/slip.c | if (count <= 0) { |
count | 331 | drivers/net/slip.c | if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0) { |
count | 342 | drivers/net/slip.c | done = dev_rint(sl->rbuff, count, 0, sl->dev); |
count | 354 | drivers/net/slip.c | int actual, count; |
count | 372 | drivers/net/slip.c | count=slip_esc6(p, (unsigned char *)sl->xbuff,len); |
count | 374 | drivers/net/slip.c | count=slip_esc(p, (unsigned char *)sl->xbuff,len); |
count | 378 | drivers/net/slip.c | actual = sl->tty->driver.write(sl->tty, 0, sl->xbuff, count); |
count | 379 | drivers/net/slip.c | if (actual == count) { |
count | 383 | drivers/net/slip.c | sl->xhead = sl->xbuff + count; |
count | 395 | drivers/net/slip.c | register int count, answer; |
count | 412 | drivers/net/slip.c | count = sl->xhead - sl->xtail; |
count | 414 | drivers/net/slip.c | answer = tty->driver.write(tty, 0, sl->xtail, count); |
count | 415 | drivers/net/slip.c | if (answer == count) { |
count | 667 | drivers/net/slip.c | char *fp, int count) |
count | 682 | drivers/net/slip.c | while (count--) { |
count | 791 | drivers/net/slip.c | int count = 0; |
count | 799 | drivers/net/slip.c | d[count++] = END; |
count | 809 | drivers/net/slip.c | d[count++] = ESC; |
count | 810 | drivers/net/slip.c | d[count++] = ESC_END; |
count | 813 | drivers/net/slip.c | d[count++] = ESC; |
count | 814 | drivers/net/slip.c | d[count++] = ESC_ESC; |
count | 817 | drivers/net/slip.c | d[count++] = *s; |
count | 821 | drivers/net/slip.c | d[count++] = END; |
count | 822 | drivers/net/slip.c | return(count); |
count | 869 | drivers/net/slip.c | int count = 0; |
count | 880 | drivers/net/slip.c | d[count++] = 0x70; |
count | 894 | drivers/net/slip.c | d[count++] = c; |
count | 901 | drivers/net/slip.c | d[count++] = c; |
count | 903 | drivers/net/slip.c | d[count++] = 0x70; |
count | 904 | drivers/net/slip.c | return(count); |
count | 41 | drivers/net/smc-ultra.c | static int ultra_block_input(struct device *dev, int count, |
count | 43 | drivers/net/smc-ultra.c | static void ultra_block_output(struct device *dev, int count, |
count | 209 | drivers/net/smc-ultra.c | ultra_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 214 | drivers/net/smc-ultra.c | if (xfer_start + count > (void*) dev->rmem_end) { |
count | 218 | drivers/net/smc-ultra.c | count -= semi_count; |
count | 219 | drivers/net/smc-ultra.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 220 | drivers/net/smc-ultra.c | return dev->rmem_start + count; |
count | 222 | drivers/net/smc-ultra.c | memcpy(buf, xfer_start, count); |
count | 224 | drivers/net/smc-ultra.c | return ring_offset + count; |
count | 228 | drivers/net/smc-ultra.c | ultra_block_output(struct device *dev, int count, const unsigned char *buf, |
count | 234 | drivers/net/smc-ultra.c | memcpy(shmem, buf, count); |
count | 42 | drivers/net/wd.c | static int wd_block_input(struct device *dev, int count, |
count | 44 | drivers/net/wd.c | static void wd_block_output(struct device *dev, int count, |
count | 295 | drivers/net/wd.c | wd_block_input(struct device *dev, int count, char *buf, int ring_offset) |
count | 302 | drivers/net/wd.c | if (count == 4) { |
count | 309 | drivers/net/wd.c | if (xfer_start + count > dev->rmem_end) { |
count | 313 | drivers/net/wd.c | count -= semi_count; |
count | 314 | drivers/net/wd.c | memcpy(buf + semi_count, (char *)dev->rmem_start, count); |
count | 316 | drivers/net/wd.c | memcpy(buf, (char *)xfer_start, count); |
count | 326 | drivers/net/wd.c | wd_block_output(struct device *dev, int count, const unsigned char *buf, |
count | 336 | drivers/net/wd.c | memcpy((char *)shmem, buf, count); |
count | 339 | drivers/net/wd.c | memcpy((char *)shmem, buf, count); |
count | 1326 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
count | 1329 | drivers/scsi/NCR5380.c | register int c = *count; |
count | 1417 | drivers/scsi/NCR5380.c | *count = c; |
count | 1453 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
count | 1455 | drivers/scsi/NCR5380.c | register int c = *count; |
count | 1591 | drivers/scsi/NCR5380.c | *count -= c; |
count | 1603 | drivers/scsi/NCR5380.c | *count -= 1; |
count | 1613 | drivers/scsi/NCR5380.c | *count -= toPIO - cnt; |
count | 1619 | drivers/scsi/NCR5380.c | *data, *count, *(*data+*count-1), *(*data+*count)); |
count | 1709 | drivers/scsi/NCR5380.c | *count = 0; |
count | 267 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
count | 270 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
count | 274 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
count | 278 | drivers/scsi/NCR5380.h | if (count > 65536) |
count | 279 | drivers/scsi/NCR5380.h | count = 65536; |
count | 282 | drivers/scsi/NCR5380.h | if (count > 65536 * 2) |
count | 283 | drivers/scsi/NCR5380.h | count = 65536 * 2; |
count | 287 | drivers/scsi/NCR5380.h | if (count > limit) count = limit; |
count | 289 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
count | 295 | drivers/scsi/NCR5380.h | set_dma_count(instance->dma_channel, count); |
count | 299 | drivers/scsi/NCR5380.h | return count; |
count | 303 | drivers/scsi/NCR5380.h | unsigned char *src, unsigned int count) { |
count | 304 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_WRITE); |
count | 308 | drivers/scsi/NCR5380.h | unsigned char *src, unsigned int count) { |
count | 309 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_READ); |
count | 792 | drivers/scsi/aha1542.c | int count = 0; |
count | 902 | drivers/scsi/aha1542.c | count++; |
count | 909 | drivers/scsi/aha1542.c | return count; |
count | 915 | drivers/scsi/aha1542.c | int count = 0; |
count | 927 | drivers/scsi/aha1542.c | count++; |
count | 930 | drivers/scsi/aha1542.c | printk("Potential to restart %d stalled commands...\n", count); |
count | 933 | drivers/scsi/aha1542.c | if (count) aha1542_out(shost->io_port, &ahacmd, 1); |
count | 756 | drivers/scsi/buslogic.c | unsigned char cmd, count; |
count | 928 | drivers/scsi/buslogic.c | int count = 0; |
count | 1088 | drivers/scsi/buslogic.c | count++; |
count | 1093 | drivers/scsi/buslogic.c | return count; |
count | 127 | drivers/scsi/g_NCR5380.c | int count; |
count | 130 | drivers/scsi/g_NCR5380.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 167 | drivers/scsi/g_NCR5380.c | ++count; |
count | 169 | drivers/scsi/g_NCR5380.c | return count; |
count | 228 | drivers/scsi/hosts.c | int i, j, count, pcount; |
count | 230 | drivers/scsi/hosts.c | count = 0; |
count | 259 | drivers/scsi/hosts.c | count++, scsi_hosts[i].name); |
count | 262 | drivers/scsi/hosts.c | printk ("scsi : %d hosts.\n", count); |
count | 264 | drivers/scsi/hosts.c | max_scsi_hosts = count; |
count | 298 | drivers/scsi/pas16.c | int count; |
count | 300 | drivers/scsi/pas16.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 370 | drivers/scsi/pas16.c | ++count; |
count | 373 | drivers/scsi/pas16.c | return count; |
count | 508 | drivers/scsi/sd.c | int count, this_count_max; |
count | 514 | drivers/scsi/sd.c | count = 0; |
count | 522 | drivers/scsi/sd.c | if (count < SCpnt->host->sg_tablesize) count++; |
count | 531 | drivers/scsi/sd.c | ((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--; |
count | 533 | drivers/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
count | 534 | drivers/scsi/sd.c | count = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/ |
count | 535 | drivers/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
count | 536 | drivers/scsi/sd.c | count = count << 1; |
count | 537 | drivers/scsi/sd.c | SCpnt->sglist_len = count; |
count | 538 | drivers/scsi/sd.c | max_sg = count / sizeof(struct scatterlist); |
count | 540 | drivers/scsi/sd.c | sgpnt = (struct scatterlist * ) scsi_malloc(count); |
count | 541 | drivers/scsi/sd.c | memset(sgpnt, 0, count); /* Zero so it is easy to fill */ |
count | 550 | drivers/scsi/sd.c | for(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext; |
count | 551 | drivers/scsi/sd.c | count < SCpnt->use_sg && bh; |
count | 552 | drivers/scsi/sd.c | count++, bh = bhp) { |
count | 556 | drivers/scsi/sd.c | if(!sgpnt[count].address) sgpnt[count].address = bh->b_data; |
count | 557 | drivers/scsi/sd.c | sgpnt[count].length += bh->b_size; |
count | 560 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length - 1 > |
count | 562 | drivers/scsi/sd.c | !sgpnt[count].alt_address) { |
count | 563 | drivers/scsi/sd.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 567 | drivers/scsi/sd.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 10) { |
count | 568 | drivers/scsi/sd.c | sgpnt[count].address = NULL; |
count | 570 | drivers/scsi/sd.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 576 | drivers/scsi/sd.c | if(sgpnt[count].address == NULL){ /* Out of dma memory */ |
count | 580 | drivers/scsi/sd.c | while(--count >= 0){ |
count | 581 | drivers/scsi/sd.c | if(sgpnt[count].alt_address) |
count | 582 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 589 | drivers/scsi/sd.c | SCpnt->use_sg = count; |
count | 603 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length + |
count | 606 | drivers/scsi/sd.c | !sgpnt[count].alt_address) continue; |
count | 608 | drivers/scsi/sd.c | if(!sgpnt[count].alt_address) {count--; continue; } |
count | 610 | drivers/scsi/sd.c | tmp = (char *) scsi_malloc(sgpnt[count].length + bhp->b_size); |
count | 616 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 617 | drivers/scsi/sd.c | sgpnt[count].address = tmp; |
count | 618 | drivers/scsi/sd.c | count--; |
count | 631 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){ |
count | 633 | drivers/scsi/sd.c | printk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors); |
count | 640 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 641 | drivers/scsi/sd.c | printk("{%d:%p %p %d} ", count, |
count | 642 | drivers/scsi/sd.c | sgpnt[count].address, |
count | 643 | drivers/scsi/sd.c | sgpnt[count].alt_address, |
count | 644 | drivers/scsi/sd.c | sgpnt[count].length); |
count | 649 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 650 | drivers/scsi/sd.c | if(sgpnt[count].alt_address) |
count | 651 | drivers/scsi/sd.c | memcpy(sgpnt[count].address, sgpnt[count].alt_address, |
count | 652 | drivers/scsi/sd.c | sgpnt[count].length); |
count | 241 | drivers/scsi/seagate.c | register int count = 0, start = jiffies + 1, stop = start + 25; |
count | 244 | drivers/scsi/seagate.c | for (;jiffies < stop; ++count); |
count | 251 | drivers/scsi/seagate.c | borken_calibration = (count * 4) / (SLOW_RATE*1024); |
count | 262 | drivers/scsi/seagate.c | register int count; |
count | 263 | drivers/scsi/seagate.c | for (count = borken_calibration; count && (STATUS & STAT_REQ); |
count | 264 | drivers/scsi/seagate.c | --count); |
count | 265 | drivers/scsi/seagate.c | if (count) |
count | 153 | drivers/scsi/sg.c | static int sg_read(struct inode *inode,struct file *filp,char *buf,int count) |
count | 158 | drivers/scsi/sg.c | if ((i=verify_area(VERIFY_WRITE,buf,count))) |
count | 170 | drivers/scsi/sg.c | if (count>=sizeof(struct sg_header)) |
count | 174 | drivers/scsi/sg.c | if (count>device->header.pack_len) |
count | 175 | drivers/scsi/sg.c | count=device->header.pack_len; |
count | 176 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
count | 179 | drivers/scsi/sg.c | count=0; |
count | 183 | drivers/scsi/sg.c | return count; |
count | 207 | drivers/scsi/sg.c | static int sg_write(struct inode *inode,struct file *filp,char *buf,int count) |
count | 214 | drivers/scsi/sg.c | if ((i=verify_area(VERIFY_READ,buf,count))) |
count | 216 | drivers/scsi/sg.c | if (count<sizeof(struct sg_header)) |
count | 234 | drivers/scsi/sg.c | device->header.pack_len=count; |
count | 277 | drivers/scsi/sg.c | return count; |
count | 431 | drivers/scsi/sr.c | int count, this_count_max; |
count | 434 | drivers/scsi/sr.c | count = 0; |
count | 439 | drivers/scsi/sr.c | if(this_count) count++; |
count | 440 | drivers/scsi/sr.c | while(bh && count < SCpnt->host->sg_tablesize) { |
count | 443 | drivers/scsi/sr.c | count++; |
count | 449 | drivers/scsi/sr.c | if (count < SCpnt->host->sg_tablesize) { |
count | 450 | drivers/scsi/sr.c | count++; |
count | 454 | drivers/scsi/sr.c | count--; |
count | 458 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
count | 459 | drivers/scsi/sr.c | count = 512;/* scsi_malloc can only allocate in chunks of 512 bytes*/ |
count | 460 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
count | 461 | drivers/scsi/sr.c | count = count << 1; |
count | 462 | drivers/scsi/sr.c | SCpnt->sglist_len = count; |
count | 463 | drivers/scsi/sr.c | sgpnt = (struct scatterlist * ) scsi_malloc(count); |
count | 469 | drivers/scsi/sr.c | count = 0; |
count | 472 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
count | 473 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 474 | drivers/scsi/sr.c | if(!sgpnt[count].address) panic("SCSI DMA pool exhausted."); |
count | 475 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; /* Flag to delete |
count | 477 | drivers/scsi/sr.c | count++; |
count | 479 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
count | 480 | drivers/scsi/sr.c | count++, bh = bh->b_reqnext) { |
count | 482 | drivers/scsi/sr.c | sgpnt[count].address = bh->b_data; |
count | 483 | drivers/scsi/sr.c | sgpnt[count].length = bh->b_size; |
count | 484 | drivers/scsi/sr.c | sgpnt[count].alt_address = NULL; |
count | 486 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(end_rec); |
count | 487 | drivers/scsi/sr.c | if(!sgpnt[count].address) panic("SCSI DMA pool exhausted."); |
count | 488 | drivers/scsi/sr.c | sgpnt[count].length = end_rec; |
count | 489 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 490 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
count | 493 | drivers/scsi/sr.c | if (((int) sgpnt[count].address) + sgpnt[count].length > |
count | 495 | drivers/scsi/sr.c | sgpnt[count].alt_address = sgpnt[count].address; |
count | 499 | drivers/scsi/sr.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 5) { |
count | 500 | drivers/scsi/sr.c | sgpnt[count].address = NULL; |
count | 502 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
count | 508 | drivers/scsi/sr.c | if(sgpnt[count].address == NULL){ /* Out of dma memory */ |
count | 511 | drivers/scsi/sr.c | while(--count >= 0){ |
count | 512 | drivers/scsi/sr.c | if(sgpnt[count].alt_address) |
count | 513 | drivers/scsi/sr.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
count | 526 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
count | 527 | drivers/scsi/sr.c | printk("SGlist: %d %x %x %x\n", count, |
count | 528 | drivers/scsi/sr.c | sgpnt[count].address, |
count | 529 | drivers/scsi/sr.c | sgpnt[count].alt_address, |
count | 530 | drivers/scsi/sr.c | sgpnt[count].length); |
count | 641 | drivers/scsi/st.c | st_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 663 | drivers/scsi/st.c | if (STp->block_size == 0 && count > st_buffer_size) |
count | 697 | drivers/scsi/st.c | if (STp->block_size != 0 && (count % STp->block_size) != 0) |
count | 708 | drivers/scsi/st.c | total = count; |
count | 717 | drivers/scsi/st.c | while((STp->block_size == 0 && !STp->do_async_writes && count > 0) || |
count | 719 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
count | 722 | drivers/scsi/st.c | do_count = count; |
count | 725 | drivers/scsi/st.c | if (do_count > count) |
count | 726 | drivers/scsi/st.c | do_count = count; |
count | 769 | drivers/scsi/st.c | count -= do_count - transfer; |
count | 802 | drivers/scsi/st.c | if (count < total) |
count | 803 | drivers/scsi/st.c | return total - count; |
count | 809 | drivers/scsi/st.c | count -= do_count; |
count | 819 | drivers/scsi/st.c | if (count != 0) { |
count | 822 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
count | 823 | drivers/scsi/st.c | filp->f_pos += count; |
count | 824 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
count | 825 | drivers/scsi/st.c | count = 0; |
count | 868 | drivers/scsi/st.c | st_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 886 | drivers/scsi/st.c | if (STp->block_size == 0 && count > st_buffer_size) |
count | 890 | drivers/scsi/st.c | (count % STp->block_size) != 0) |
count | 913 | drivers/scsi/st.c | for (total = 0; total < count; ) { |
count | 922 | drivers/scsi/st.c | blks = bytes = count; |
count | 929 | drivers/scsi/st.c | bytes = count; |
count | 1051 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
count | 1053 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
count | 1054 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
count | 1077 | drivers/scsi/st.c | count = total; /* Read only one variable length block */ |
count | 200 | drivers/scsi/t128.c | int sig, count; |
count | 202 | drivers/scsi/t128.c | for (count = 0; current_override < NO_OVERRIDES; ++current_override) { |
count | 269 | drivers/scsi/t128.c | ++count; |
count | 272 | drivers/scsi/t128.c | return count; |
count | 127 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 136 | drivers/sound/audio.c | c = count; |
count | 145 | drivers/sound/audio.c | if (!count) /* Flush output */ |
count | 203 | drivers/sound/audio.c | return count; |
count | 207 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 216 | drivers/sound/audio.c | c = count; |
count | 258 | drivers/sound/audio.c | return count - c; |
count | 314 | drivers/sound/audio.c | audio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 320 | drivers/sound/audio.c | audio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 67 | drivers/sound/dev_table.h | int count, int intrflag, int dma_restart); |
count | 69 | drivers/sound/dev_table.h | int count, int intrflag, int dma_restart); |
count | 98 | drivers/sound/dev_table.h | int offs, int count, int pmgr_flag); |
count | 225 | drivers/sound/dma.h | static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count) |
count | 227 | drivers/sound/dma.h | count--; |
count | 229 | drivers/sound/dma.h | deb_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 230 | drivers/sound/dma.h | deb_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 232 | drivers/sound/dma.h | deb_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 233 | drivers/sound/dma.h | deb_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 252 | drivers/sound/dma.h | unsigned short count; |
count | 254 | drivers/sound/dma.h | count = 1 + inb(io_port); |
count | 255 | drivers/sound/dma.h | count += inb(io_port) << 8; |
count | 257 | drivers/sound/dma.h | return (dmanr<=3)? count : (count<<1); |
count | 406 | drivers/sound/dmabuf.c | DMAbuf_read (int dev, snd_rw_buf * user_buf, int count) |
count | 419 | drivers/sound/dmabuf.c | if (c > count) |
count | 420 | drivers/sound/dmabuf.c | c = count; |
count | 584 | drivers/sound/dmabuf.c | DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode) |
count | 629 | drivers/sound/dmabuf.c | snd_raw_buf_phys[dev][0], count); |
count | 646 | drivers/sound/dmabuf.c | set_dma_count (chan, count); |
count | 653 | drivers/sound/dmabuf.c | count, |
count | 659 | drivers/sound/dmabuf.c | physaddr, count); |
count | 669 | drivers/sound/dmabuf.c | return count; |
count | 823 | drivers/sound/dmabuf.c | DMAbuf_read (int dev, snd_rw_buf * user_buf, int count) |
count | 865 | drivers/sound/dmabuf.c | DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode) |
count | 1726 | drivers/sound/gus_wave.c | int offs, int count, int pmgr_flag) |
count | 1746 | drivers/sound/gus_wave.c | if (count < sizeof_patch) |
count | 1752 | drivers/sound/gus_wave.c | count -= sizeof_patch; |
count | 1775 | drivers/sound/gus_wave.c | if (count < patch.len) |
count | 1778 | drivers/sound/gus_wave.c | count, (int) patch.len); |
count | 1779 | drivers/sound/gus_wave.c | patch.len = count; |
count | 2523 | drivers/sound/gus_wave.c | int this_one, count; |
count | 2530 | drivers/sound/gus_wave.c | count = total_count / gus_sampling_channels; |
count | 2540 | drivers/sound/gus_wave.c | pcm_datasize[this_one] = count; |
count | 2548 | drivers/sound/gus_wave.c | DMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE); |
count | 2595 | drivers/sound/gus_wave.c | if (!pcm_active && (pcm_qlen > 2 || count < pcm_bsize)) |
count | 2620 | drivers/sound/gus_wave.c | gus_sampling_start_input (int dev, unsigned long buf, int count, |
count | 2628 | drivers/sound/gus_wave.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 81 | drivers/sound/midibuf.c | MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 86 | drivers/sound/midibuf.c | return count; |
count | 91 | drivers/sound/midibuf.c | MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 113 | drivers/sound/midibuf.c | MIDIbuf_bytes_received (int dev, unsigned char *buf, int count) |
count | 726 | drivers/sound/opl3.c | int offs, int count, int pmgr_flag) |
count | 730 | drivers/sound/opl3.c | if (count < sizeof (ins)) |
count | 237 | drivers/sound/pas2_pcm.c | pas_pcm_output_block (int dev, unsigned long buf, int count, |
count | 242 | 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 | 244 | drivers/sound/pas2_pcm.c | cnt = count; |
count | 259 | drivers/sound/pas2_pcm.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 262 | drivers/sound/pas2_pcm.c | count >>= 1; |
count | 264 | drivers/sound/pas2_pcm.c | if (count != pcm_count) |
count | 268 | drivers/sound/pas2_pcm.c | pas_write (count & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 269 | drivers/sound/pas2_pcm.c | pas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 272 | drivers/sound/pas2_pcm.c | pcm_count = count; |
count | 283 | drivers/sound/pas2_pcm.c | pas_pcm_start_input (int dev, unsigned long buf, int count, |
count | 289 | 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 | 291 | drivers/sound/pas2_pcm.c | cnt = count; |
count | 303 | drivers/sound/pas2_pcm.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 306 | drivers/sound/pas2_pcm.c | count >>= 1; |
count | 308 | drivers/sound/pas2_pcm.c | if (count != pcm_count) |
count | 312 | drivers/sound/pas2_pcm.c | pas_write (count & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 313 | drivers/sound/pas2_pcm.c | pas_write ((count >> 8) & 0xff, SAMPLE_BUFFER_COUNTER); |
count | 316 | drivers/sound/pas2_pcm.c | pcm_count = count; |
count | 84 | drivers/sound/patmgr.c | pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 89 | drivers/sound/patmgr.c | if (count != sizeof (struct patmgr_info)) |
count | 107 | drivers/sound/patmgr.c | COPY_TO_USER (buf, 0, (char *) mbox[dev], count); |
count | 118 | drivers/sound/patmgr.c | return count; |
count | 122 | drivers/sound/patmgr.c | pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 126 | drivers/sound/patmgr.c | if (count < 4) |
count | 143 | drivers/sound/patmgr.c | buf, 4, count, 1); |
count | 146 | drivers/sound/patmgr.c | if (count != sizeof (struct patmgr_info)) |
count | 161 | drivers/sound/patmgr.c | COPY_FROM_USER (&((char *) mbox[dev])[4], buf, 4, count - 4); |
count | 172 | drivers/sound/patmgr.c | return count; |
count | 62 | drivers/sound/sb16_dsp.c | static void sb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 63 | drivers/sound/sb16_dsp.c | static void sb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart); |
count | 334 | drivers/sound/sb16_dsp.c | sb16_dsp_output_block (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 338 | drivers/sound/sb16_dsp.c | cnt = count; |
count | 344 | drivers/sound/sb16_dsp.c | printk ("output_block: %x %d %d\n", buf, count, intrflag); |
count | 371 | drivers/sound/sb16_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 391 | drivers/sound/sb16_dsp.c | sb16_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, int dma_restart) |
count | 395 | drivers/sound/sb16_dsp.c | cnt = count; |
count | 401 | drivers/sound/sb16_dsp.c | printk ("start_input: %x %d %d\n", buf, count, intrflag); |
count | 428 | drivers/sound/sb16_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 346 | drivers/sound/sb_dsp.c | sb_dsp_output_block (int dev, unsigned long buf, int count, |
count | 355 | drivers/sound/sb_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE); |
count | 358 | drivers/sound/sb_dsp.c | count >>= 1; |
count | 359 | drivers/sound/sb_dsp.c | count--; |
count | 366 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 367 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 379 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 380 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 390 | drivers/sound/sb_dsp.c | sb_dsp_start_input (int dev, unsigned long buf, int count, int intrflag, |
count | 401 | drivers/sound/sb_dsp.c | DMAbuf_start_dma (dev, buf, count, DMA_MODE_READ); |
count | 404 | drivers/sound/sb_dsp.c | count >>= 1; |
count | 405 | drivers/sound/sb_dsp.c | count--; |
count | 412 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 413 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 425 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) (count & 0xff)); |
count | 426 | drivers/sound/sb_dsp.c | sb_dsp_command ((unsigned char) ((count >> 8) & 0xff)); |
count | 77 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 79 | drivers/sound/sequencer.c | int c = count, p = 0; |
count | 85 | drivers/sound/sequencer.c | return pmgr_read (dev - 1, file, buf, count); |
count | 92 | drivers/sound/sequencer.c | if (c != count) /* Some data has been received */ |
count | 95 | drivers/sound/sequencer.c | return count - c; /* Return what we have */ |
count | 103 | drivers/sound/sequencer.c | return count - c; |
count | 116 | drivers/sound/sequencer.c | return count - c; |
count | 168 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 177 | drivers/sound/sequencer.c | DEB (printk ("sequencer_write(dev=%d, count=%d)\n", dev, count)); |
count | 183 | drivers/sound/sequencer.c | return pmgr_write (dev - 1, file, buf, count); |
count | 185 | drivers/sound/sequencer.c | c = count; |
count | 219 | drivers/sound/sequencer.c | return count - c; |
count | 262 | drivers/sound/sequencer.c | return count - c; |
count | 272 | drivers/sound/sequencer.c | return count; |
count | 1128 | drivers/sound/sequencer.c | sequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 1134 | drivers/sound/sequencer.c | sequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 7 | drivers/sound/sound_calls.h | int DMAbuf_read (int dev, snd_rw_buf *user_buf, int count); |
count | 14 | drivers/sound/sound_calls.h | int DMAbuf_start_dma (int dev, unsigned long physaddr, int count, int dma_mode); |
count | 25 | drivers/sound/sound_calls.h | int audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 26 | drivers/sound/sound_calls.h | int audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 38 | drivers/sound/sound_calls.h | int sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 39 | drivers/sound/sound_calls.h | int sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 58 | drivers/sound/sound_calls.h | int MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 59 | drivers/sound/sound_calls.h | int MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 65 | drivers/sound/sound_calls.h | void MIDIbuf_bytes_received(int dev, unsigned char *buf, int count); |
count | 75 | drivers/sound/sound_calls.h | int CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 76 | drivers/sound/sound_calls.h | int CMIDI_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 95 | drivers/sound/sound_calls.h | void request_sound_timer (int count); |
count | 104 | drivers/sound/sound_calls.h | int sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 105 | drivers/sound/sound_calls.h | int sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf *buf, int count); |
count | 201 | drivers/sound/sound_calls.h | int pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
count | 202 | drivers/sound/sound_calls.h | int pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count); |
count | 220 | drivers/sound/sound_switch.c | read_status (snd_rw_buf * buf, int count) |
count | 227 | drivers/sound/sound_switch.c | l = count; |
count | 242 | drivers/sound/sound_switch.c | sound_read_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 244 | drivers/sound/sound_switch.c | DEB (printk ("sound_read_sw(dev=%d, count=%d)\n", dev, count)); |
count | 249 | drivers/sound/sound_switch.c | return read_status (buf, count); |
count | 255 | drivers/sound/sound_switch.c | return audio_read (dev, file, buf, count); |
count | 259 | drivers/sound/sound_switch.c | return sequencer_read (dev, file, buf, count); |
count | 264 | drivers/sound/sound_switch.c | return MIDIbuf_read (dev, file, buf, count); |
count | 275 | drivers/sound/sound_switch.c | sound_write_sw (int dev, struct fileinfo *file, snd_rw_buf * buf, int count) |
count | 278 | drivers/sound/sound_switch.c | DEB (printk ("sound_write_sw(dev=%d, count=%d)\n", dev, count)); |
count | 284 | drivers/sound/sound_switch.c | return sequencer_write (dev, file, buf, count); |
count | 290 | drivers/sound/sound_switch.c | return audio_write (dev, file, buf, count); |
count | 297 | drivers/sound/sound_switch.c | return count; |
count | 61 | drivers/sound/soundcard.c | sound_read (struct inode *inode, struct file *file, char *buf, int count) |
count | 68 | drivers/sound/soundcard.c | return sound_read_sw (dev, &files[dev], buf, count); |
count | 72 | drivers/sound/soundcard.c | sound_write (struct inode *inode, struct file *file, char *buf, int count) |
count | 79 | drivers/sound/soundcard.c | return sound_write_sw (dev, &files[dev], buf, count); |
count | 247 | drivers/sound/soundcard.c | request_sound_timer (int count) |
count | 250 | drivers/sound/soundcard.c | if (count < 0) |
count | 251 | drivers/sound/soundcard.c | count = jiffies + (-count); |
count | 253 | drivers/sound/soundcard.c | count += seq_time; |
count | 255 | drivers/sound/soundcard.c | timer_table[SOUND_TIMER].expires = count; |
count | 19 | fs/block_dev.c | int block_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 55 | fs/block_dev.c | while (count>0) { |
count | 59 | fs/block_dev.c | if (chars > count) |
count | 60 | fs/block_dev.c | chars=count; |
count | 112 | fs/block_dev.c | count -= chars; |
count | 124 | fs/block_dev.c | int block_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 165 | fs/block_dev.c | if (left > count) |
count | 166 | fs/block_dev.c | left = count; |
count | 462 | fs/exec.c | char * addr, unsigned long count) |
count | 487 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
count | 491 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
count | 600 | fs/exec.c | bprm.argc = count(argv); |
count | 601 | fs/exec.c | bprm.envc = count(envp); |
count | 23 | fs/ext/dir.c | static int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 65 | 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 | 68 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) { |
count | 79 | fs/ext/freelists.c | efb->count = 0; |
count | 82 | fs/ext/freelists.c | efb->free[efb->count++] = block; |
count | 105 | fs/ext/freelists.c | if (efb->count) { |
count | 106 | fs/ext/freelists.c | j = efb->free[--efb->count]; |
count | 152 | fs/ext/freelists.c | unsigned long count, block; |
count | 156 | fs/ext/freelists.c | count = 0; |
count | 159 | fs/ext/freelists.c | count = efb->count + 1; |
count | 167 | fs/ext/freelists.c | count += efb->count + 1; |
count | 174 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount, count); |
count | 176 | fs/ext/freelists.c | return count; |
count | 222 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) { |
count | 234 | fs/ext/freelists.c | efi->count = 0; |
count | 238 | fs/ext/freelists.c | efi->free[efi->count++] = ino; |
count | 264 | fs/ext/freelists.c | if (efi->count) { |
count | 265 | fs/ext/freelists.c | j = efi->free[--efi->count]; |
count | 312 | fs/ext/freelists.c | unsigned long count, block, ino; |
count | 316 | fs/ext/freelists.c | count = 0; |
count | 320 | fs/ext/freelists.c | count = efi->count + 1; |
count | 335 | fs/ext/freelists.c | count += efi->count + 1; |
count | 342 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount, count); |
count | 344 | fs/ext/freelists.c | return count; |
count | 250 | fs/ext2/balloc.c | unsigned long count) |
count | 268 | fs/ext2/balloc.c | (block + count) > es->s_blocks_count) { |
count | 271 | fs/ext2/balloc.c | "block = %lu, count = %lu", block, count); |
count | 281 | fs/ext2/balloc.c | if (bit + count > EXT2_BLOCKS_PER_GROUP(sb)) |
count | 285 | fs/ext2/balloc.c | block, count); |
count | 291 | fs/ext2/balloc.c | (in_range (gdp->bg_block_bitmap, block, count) || |
count | 292 | fs/ext2/balloc.c | in_range (gdp->bg_inode_bitmap, block, count) || |
count | 295 | fs/ext2/balloc.c | in_range (block + count - 1, gdp->bg_inode_table, |
count | 300 | fs/ext2/balloc.c | block, count); |
count | 302 | fs/ext2/balloc.c | for (i = 0; i < count; i++) { |
count | 26 | fs/ext2/dir.c | char * buf, int count) |
count | 92 | fs/ext2/dir.c | struct dirent * dirent, int count) |
count | 76 | fs/ext2/file.c | char * buf, int count) |
count | 105 | fs/ext2/file.c | if (left > count) |
count | 106 | fs/ext2/file.c | left = count; |
count | 227 | fs/ext2/file.c | char * buf, int count) |
count | 258 | fs/ext2/file.c | while (written < count) { |
count | 266 | fs/ext2/file.c | if (c > count-written) |
count | 267 | fs/ext2/file.c | c = count - written; |
count | 184 | fs/hpfs/hpfs_fs.c | char *buf, int count); |
count | 186 | fs/hpfs/hpfs_fs.c | struct dirent *dirent, int count); |
count | 802 | fs/hpfs/hpfs_fs.c | unsigned n, count, n_bands; |
count | 819 | fs/hpfs/hpfs_fs.c | count = 0; |
count | 828 | fs/hpfs/hpfs_fs.c | count += count_one_bitmap(s->s_dev, bitmaps[n]); |
count | 831 | fs/hpfs/hpfs_fs.c | return count; |
count | 842 | fs/hpfs/hpfs_fs.c | unsigned i, count; |
count | 848 | fs/hpfs/hpfs_fs.c | count = 0; |
count | 851 | fs/hpfs/hpfs_fs.c | count += (test_bit(i, bits) != 0); |
count | 854 | fs/hpfs/hpfs_fs.c | return count; |
count | 864 | fs/hpfs/hpfs_fs.c | char *buf, int count) |
count | 877 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - filp->f_pos) |
count | 878 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos; |
count | 881 | fs/hpfs/hpfs_fs.c | while (count > 0) { |
count | 893 | fs/hpfs/hpfs_fs.c | if (n > count) |
count | 894 | fs/hpfs/hpfs_fs.c | n = count; |
count | 923 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - filp->f_pos - n + n0) |
count | 924 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
count | 934 | fs/hpfs/hpfs_fs.c | count -= n0; |
count | 1562 | fs/hpfs/hpfs_fs.c | char *buf, int count) |
count | 387 | fs/inode.c | inode->i_sem.count = 1; |
count | 67 | fs/isofs/dir.c | struct dirent * dirent, int count) |
count | 114 | fs/isofs/file.c | static int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 138 | fs/isofs/file.c | if (left > count) |
count | 139 | fs/isofs/file.c | left = count; |
count | 16 | fs/minix/dir.c | static int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 58 | 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 | 17 | fs/msdos/dir.c | static int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count) |
count | 23 | fs/msdos/dir.c | struct dirent *dirent,int count); |
count | 58 | fs/msdos/dir.c | struct dirent *dirent,int count) |
count | 108 | fs/msdos/fat.c | int count; |
count | 112 | fs/msdos/fat.c | for (count = 0; count < FAT_CACHE; count++) { |
count | 113 | fs/msdos/fat.c | cache[count].device = 0; |
count | 114 | fs/msdos/fat.c | cache[count].next = count == FAT_CACHE-1 ? NULL : |
count | 115 | fs/msdos/fat.c | &cache[count+1]; |
count | 224 | fs/msdos/fat.c | int nr,count; |
count | 228 | fs/msdos/fat.c | count = 0; |
count | 229 | fs/msdos/fat.c | for (cache_lookup(inode,cluster,&count,&nr); count < cluster; |
count | 230 | fs/msdos/fat.c | count++) { |
count | 23 | fs/msdos/file.c | int count); |
count | 25 | fs/msdos/file.c | int count); |
count | 81 | fs/msdos/file.c | int count) |
count | 98 | fs/msdos/file.c | if (filp->f_pos >= inode->i_size || count <= 0) return 0; |
count | 100 | fs/msdos/file.c | while ((left = MIN(inode->i_size-filp->f_pos,count-(buf-start))) > 0){ |
count | 136 | fs/msdos/file.c | int count) |
count | 157 | fs/msdos/file.c | if (count <= 0) return 0; |
count | 159 | fs/msdos/file.c | for (start = buf; count || carry; count -= size) { |
count | 167 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
count | 185 | fs/msdos/file.c | for (size = 0; size < count && left; size++) { |
count | 111 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
count | 120 | fs/msdos/misc.c | for (count = 0; count < limit; count++) { |
count | 121 | fs/msdos/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
count | 127 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)-> |
count | 129 | fs/msdos/misc.c | if (count >= limit) { |
count | 389 | fs/msdos/misc.c | int count,cluster; |
count | 391 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) { |
count | 392 | fs/msdos/misc.c | if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count, |
count | 408 | fs/msdos/misc.c | int count,cluster; |
count | 414 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) { |
count | 417 | fs/msdos/misc.c | count,name,number,ino,res_bh,res_de)) >= 0) |
count | 493 | fs/msdos/misc.c | int count; |
count | 495 | fs/msdos/misc.c | count = 0; |
count | 497 | fs/msdos/misc.c | (void) raw_scan_root(dir->i_sb,NULL,&count,NULL,NULL,NULL); |
count | 501 | fs/msdos/misc.c | NULL,&count,NULL,NULL,NULL); |
count | 503 | fs/msdos/misc.c | return count; |
count | 22 | fs/nfs/dir.c | int count); |
count | 73 | fs/nfs/dir.c | int count) |
count | 87 | fs/nfs/dir.c | struct dirent *dirent, int count) |
count | 63 | fs/nfs/file.c | int count) |
count | 83 | fs/nfs/file.c | if (file->f_pos + count > inode->i_size) |
count | 84 | fs/nfs/file.c | count = inode->i_size - pos; |
count | 85 | fs/nfs/file.c | if (count <= 0) |
count | 89 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
count | 90 | fs/nfs/file.c | hunk = count - i; |
count | 114 | fs/nfs/file.c | int count) |
count | 133 | fs/nfs/file.c | if (count <= 0) |
count | 140 | fs/nfs/file.c | for (i = 0; i < count; i += n) { |
count | 141 | fs/nfs/file.c | hunk = count - i; |
count | 352 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
count | 359 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
count | 366 | fs/nfs/proc.c | *p++ = htonl(count); |
count | 367 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
count | 376 | fs/nfs/proc.c | if (!(p = xdr_decode_data(p, data, &len, count))) { |
count | 395 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
count | 401 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
count | 409 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
count | 410 | fs/nfs/proc.c | p = xdr_encode_data(p, data, count); |
count | 683 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
count | 692 | fs/nfs/proc.c | PRINTK("NFS call readdir %d @ %d\n", count, cookie); |
count | 708 | fs/nfs/proc.c | for (i = 0; i < count && *p++; i++) { |
count | 717 | fs/nfs/proc.c | eof = (i == count && !*p++ && *p++) |
count | 718 | 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 | 39 | fs/proc/array.c | static int read_core(struct inode * inode, struct file * file,char * buf, int count) |
count | 51 | fs/proc/array.c | if (count < 0) |
count | 55 | fs/proc/array.c | if (count > high_memory + PAGE_SIZE - p) |
count | 56 | fs/proc/array.c | count = high_memory + PAGE_SIZE - p; |
count | 59 | fs/proc/array.c | if (p < sizeof(struct user) && count > 0) { |
count | 60 | fs/proc/array.c | count1 = count; |
count | 67 | fs/proc/array.c | count -= count1; |
count | 71 | fs/proc/array.c | while (p < 2*PAGE_SIZE && count > 0) { |
count | 75 | fs/proc/array.c | count--; |
count | 78 | fs/proc/array.c | memcpy_tofs(buf,(void *) (p - PAGE_SIZE),count); |
count | 79 | fs/proc/array.c | read += count; |
count | 255 | fs/proc/array.c | int count = 0; |
count | 271 | fs/proc/array.c | } while (count++ < 16); |
count | 470 | fs/proc/array.c | static int array_read(struct inode * inode, struct file * file,char * buf, int count) |
count | 477 | fs/proc/array.c | if (count < 0) |
count | 516 | fs/proc/array.c | return read_core(inode, file, buf, count); |
count | 540 | fs/proc/array.c | if (count + file->f_pos > length) |
count | 541 | fs/proc/array.c | count = length - file->f_pos; |
count | 542 | fs/proc/array.c | end = count + file->f_pos; |
count | 543 | fs/proc/array.c | memcpy_tofs(buf, page + file->f_pos, count); |
count | 546 | fs/proc/array.c | return count; |
count | 133 | fs/proc/base.c | struct dirent * dirent, int count) |
count | 127 | 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 | 23 | fs/proc/mem.c | static int mem_read(struct inode * inode, struct file * file,char * buf, int count) |
count | 30 | fs/proc/mem.c | if (count < 0) |
count | 44 | fs/proc/mem.c | while (count > 0) { |
count | 58 | fs/proc/mem.c | if (i > count) |
count | 59 | fs/proc/mem.c | i = count; |
count | 63 | fs/proc/mem.c | count -= i; |
count | 71 | fs/proc/mem.c | static int mem_write(struct inode * inode, struct file * file,char * buf, int count) |
count | 78 | fs/proc/mem.c | if (count < 0) |
count | 92 | fs/proc/mem.c | while (count > 0) { |
count | 110 | fs/proc/mem.c | if (i > count) |
count | 111 | fs/proc/mem.c | i = count; |
count | 115 | fs/proc/mem.c | count -= i; |
count | 36 | fs/proc/net.c | char * buf, int count); |
count | 167 | fs/proc/net.c | struct dirent * dirent, int count) |
count | 196 | fs/proc/net.c | char * buf, int count) |
count | 201 | fs/proc/net.c | int bytes=count; |
count | 206 | fs/proc/net.c | if (count < 0) |
count | 134 | fs/proc/root.c | struct dirent * dirent, int count) |
count | 19 | fs/read_write.c | asmlinkage int sys_readdir(unsigned int fd, struct dirent * dirent, unsigned int count) |
count | 32 | fs/read_write.c | error = file->f_op->readdir(inode,file,dirent,count); |
count | 70 | fs/read_write.c | asmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count) |
count | 82 | fs/read_write.c | if (!count) |
count | 84 | fs/read_write.c | error = verify_area(VERIFY_WRITE,buf,count); |
count | 87 | fs/read_write.c | return file->f_op->read(inode,file,buf,count); |
count | 90 | fs/read_write.c | asmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count) |
count | 102 | fs/read_write.c | if (!count) |
count | 104 | fs/read_write.c | error = verify_area(VERIFY_READ,buf,count); |
count | 107 | fs/read_write.c | return 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 | 32 | fs/sysv/balloc.c | extern inline void memzero (void * s, size_t count) |
count | 38 | fs/sysv/balloc.c | :"a" (0),"D" (s),"c" (count/4) |
count | 249 | fs/sysv/balloc.c | int count, old_count; |
count | 256 | fs/sysv/balloc.c | count = 0; |
count | 265 | fs/sysv/balloc.c | count++; |
count | 316 | fs/sysv/balloc.c | count++; |
count | 330 | fs/sysv/balloc.c | if (count != old_count) { |
count | 331 | fs/sysv/balloc.c | printk("sysv_count_free_blocks: free block count was %d, correcting to %d\n",old_count,count); |
count | 333 | fs/sysv/balloc.c | *sb->sv_sb_total_free_blocks = (sb->sv_convert ? to_coh_ulong(count) : count); |
count | 339 | fs/sysv/balloc.c | return count; |
count | 341 | fs/sysv/balloc.c | int count; |
count | 343 | fs/sysv/balloc.c | count = *sb->sv_sb_total_free_blocks; |
count | 345 | fs/sysv/balloc.c | count = from_coh_ulong(count); |
count | 346 | fs/sysv/balloc.c | return count; |
count | 23 | fs/sysv/dir.c | static int sysv_dir_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 65 | fs/sysv/dir.c | struct dirent * dirent, int count) |
count | 109 | fs/sysv/file.c | static int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count) |
count | 135 | fs/sysv/file.c | if (left > count) |
count | 136 | fs/sysv/file.c | left = count; |
count | 242 | fs/sysv/file.c | static int sysv_file_write(struct inode * inode, struct file * filp, char * buf, int count) |
count | 273 | fs/sysv/file.c | while (written<count) { |
count | 281 | fs/sysv/file.c | if (c > count-written) |
count | 282 | fs/sysv/file.c | c = count-written; |
count | 167 | fs/sysv/ialloc.c | int j,block,count; |
count | 170 | fs/sysv/ialloc.c | count = 0; |
count | 187 | fs/sysv/ialloc.c | count++; |
count | 190 | fs/sysv/ialloc.c | if (count != *sb->sv_sb_total_free_inodes) { |
count | 191 | 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 | 193 | fs/sysv/ialloc.c | *sb->sv_sb_total_free_inodes = count; |
count | 199 | fs/sysv/ialloc.c | return count; |
count | 60 | fs/xiafs/dir.c | struct file * filp, char * buf, int count) |
count | 66 | 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 | 223 | include/asm/dma.h | static __inline__ void set_dma_count(unsigned int dmanr, unsigned int count) |
count | 225 | include/asm/dma.h | count--; |
count | 227 | include/asm/dma.h | outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 228 | include/asm/dma.h | outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); |
count | 230 | include/asm/dma.h | outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 231 | include/asm/dma.h | outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); |
count | 250 | include/asm/dma.h | unsigned short count; |
count | 252 | include/asm/dma.h | count = 1 + inb(io_port); |
count | 253 | include/asm/dma.h | count += inb(io_port) << 8; |
count | 255 | include/asm/dma.h | return (dmanr<=3)? count : (count<<1); |
count | 69 | include/asm/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
count | 71 | include/asm/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
count | 74 | include/asm/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
count | 76 | include/asm/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
count | 41 | 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 | 12 | include/linux/mm.h | int __verify_write(unsigned long addr, unsigned long count); |
count | 84 | include/linux/mm.h | unsigned short count; |
count | 165 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
count | 68 | include/linux/nfs_fs.h | int offset, int count, char *data, |
count | 71 | include/linux/nfs_fs.h | int offset, int count, char *data, |
count | 91 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
count | 192 | include/linux/sched.h | int count; |
count | 204 | include/linux/sched.h | int count; |
count | 216 | include/linux/sched.h | int count; |
count | 546 | include/linux/sched.h | if (sem->count <= 0) |
count | 548 | include/linux/sched.h | sem->count--; |
count | 553 | include/linux/sched.h | sem->count++; |
count | 103 | include/linux/serial.h | int count; /* # of fd on device */ |
count | 38 | include/linux/string.h | extern inline char * strncpy(char * dest,const char *src,size_t count) |
count | 51 | include/linux/string.h | :"S" (src),"D" (dest),"c" (count):"si","di","ax","cx","memory"); |
count | 70 | include/linux/string.h | extern inline char * strncat(char * dest,const char * src,size_t count) |
count | 86 | include/linux/string.h | :"S" (src),"D" (dest),"a" (0),"c" (0xffffffff),"g" (count) |
count | 109 | include/linux/string.h | extern inline int strncmp(const char * cs,const char * ct,size_t count) |
count | 125 | include/linux/string.h | :"=a" (__res):"S" (cs),"D" (ct),"c" (count):"si","di","cx"); |
count | 377 | include/linux/string.h | extern inline int memcmp(const void * cs,const void * ct,size_t count) |
count | 387 | include/linux/string.h | :"=a" (__res):"0" (0),"S" (cs),"D" (ct),"c" (count) |
count | 392 | include/linux/string.h | extern inline void * memchr(const void * cs,char c,size_t count) |
count | 395 | include/linux/string.h | if (!count) |
count | 403 | include/linux/string.h | :"=D" (__res):"a" (c),"D" (cs),"c" (count) |
count | 408 | include/linux/string.h | extern inline void * memset(void * s,char c,size_t count) |
count | 414 | include/linux/string.h | :"a" (c),"D" (s),"c" (count) |
count | 78 | include/linux/tty.h | int count; |
count | 195 | include/linux/tty.h | int count; |
count | 120 | 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 | 15 | 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 | 287 | kernel/exit.c | int err, retval = 0, count = 0; |
count | 295 | kernel/exit.c | ++count; |
count | 300 | kernel/exit.c | return(count ? retval : -ESRCH); |
count | 37 | kernel/ksyms.c | char * addr, unsigned long count); |
count | 57 | kernel/printk.c | unsigned long i, j, count; |
count | 110 | kernel/printk.c | count = len; |
count | 111 | kernel/printk.c | if (count > LOG_BUF_LEN) |
count | 112 | kernel/printk.c | count = LOG_BUF_LEN; |
count | 113 | kernel/printk.c | if (count > logged_chars) |
count | 114 | kernel/printk.c | count = logged_chars; |
count | 115 | kernel/printk.c | j = log_start + log_size - count; |
count | 116 | kernel/printk.c | for (i = 0; i < count; i++) { |
count | 328 | kernel/sched.c | while (sem->count <= 0) { |
count | 444 | kernel/sched.c | static int count = LOAD_FREQ; |
count | 446 | kernel/sched.c | if (count-- > 0) |
count | 448 | kernel/sched.c | count = LOAD_FREQ; |
count | 172 | kernel/time.c | int count; |
count | 177 | kernel/time.c | count = inb_p(0x40); /* read the latched count */ |
count | 178 | kernel/time.c | count |= inb(0x40) << 8; |
count | 180 | kernel/time.c | if (count > (LATCH - LATCH/100)) { |
count | 186 | kernel/time.c | count = ((LATCH-1) - count) * TICK_SIZE; |
count | 187 | kernel/time.c | count = (count + LATCH/2) / LATCH; |
count | 188 | 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 | 597 | mm/swap.c | static int count = 0; |
count | 598 | 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 | 824 | net/inet/ip.c | int count, len; |
count | 853 | net/inet/ip.c | count = 0; |
count | 859 | net/inet/ip.c | if(count+fp->len>skb->len) |
count | 868 | net/inet/ip.c | count += fp->len; |
count | 878 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
count | 452 | net/inet/skbuff.c | static int count = 0; |
count | 453 | net/inet/skbuff.c | if (++count < 5) { |
count | 55 | net/socket.c | struct dirent *dirent, int count); |
count | 276 | net/socket.c | int count) |