tag | line | file | source code |
length | 89 | drivers/block/blk.h | extern long rd_init(long mem_start, int length); |
length | 75 | drivers/block/ramdisk.c | long rd_init(long mem_start, int length) |
length | 86 | drivers/block/ramdisk.c | rd_length = length; |
length | 88 | drivers/block/ramdisk.c | for (i=0; i < length; i++) |
length | 94 | drivers/block/ramdisk.c | return(length); |
length | 278 | drivers/net/3c507.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 471 | drivers/net/3c507.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 476 | drivers/net/3c507.c | hardware_send_packet(dev, buf, length); |
length | 738 | drivers/net/3c507.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 752 | drivers/net/3c507.c | *write_ptr++ = length | 0x8000; /* Byte count parameter. */ |
length | 763 | drivers/net/3c507.c | memcpy(write_ptr, buf, length); |
length | 776 | drivers/net/3c507.c | dev->name, ioaddr, length, tx_block, lp->tx_head); |
length | 97 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 129 | drivers/net/8390.c | int length, send_length; |
length | 168 | drivers/net/8390.c | length = skb->len; |
length | 182 | drivers/net/8390.c | send_length = ETH_ZLEN < length ? length : ETH_ZLEN; |
length | 209 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, output_page); |
length | 223 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, ei_local->tx_start_page); |
length | 658 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 671 | drivers/net/8390.c | outb_p(length & 0xff, e8390_base + EN0_TCNTLO); |
length | 672 | drivers/net/8390.c | outb_p(length >> 8, e8390_base + EN0_TCNTHI); |
length | 384 | drivers/net/at1700.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 390 | drivers/net/at1700.c | outw(length, ioaddr + DATAPORT); |
length | 391 | drivers/net/at1700.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 394 | drivers/net/at1700.c | lp->tx_queue_len += length + 2; |
length | 138 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
length | 139 | drivers/net/atp.c | static void trigger_send(short ioaddr, int length); |
length | 143 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
length | 373 | drivers/net/atp.c | static void trigger_send(short ioaddr, int length) |
length | 375 | drivers/net/atp.c | write_reg_byte(ioaddr, TxCNT0, length & 0xff); |
length | 376 | drivers/net/atp.c | write_reg(ioaddr, TxCNT1, length >> 8); |
length | 380 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode) |
length | 382 | drivers/net/atp.c | length = (length + 1) & ~1; /* Round up to word length. */ |
length | 389 | drivers/net/atp.c | } while (--length > 0) ; |
length | 402 | drivers/net/atp.c | while (--length > 0) |
length | 445 | drivers/net/atp.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 457 | drivers/net/atp.c | write_packet(ioaddr, length, buf, dev->if_port); |
length | 461 | drivers/net/atp.c | trigger_send(ioaddr, length); |
length | 466 | drivers/net/atp.c | lp->saved_tx_size = length; |
length | 660 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *p, int data_mode) |
length | 665 | drivers/net/atp.c | outb(length == 8 ? RdAddr | HNib | MAR : RdAddr | MAR, |
length | 668 | drivers/net/atp.c | do *p++ = read_byte_mode0(ioaddr); while (--length > 0); |
length | 670 | drivers/net/atp.c | do *p++ = read_byte_mode2(ioaddr); while (--length > 0); |
length | 672 | drivers/net/atp.c | do *p++ = read_byte_mode4(ioaddr); while (--length > 0); |
length | 674 | drivers/net/atp.c | do *p++ = read_byte_mode6(ioaddr); while (--length > 0); |
length | 229 | drivers/net/depca.c | short length; /* This length is negative 2's complement! */ |
length | 850 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
length | 886 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
length | 905 | drivers/net/depca.c | lp->tx_ring[entry].base, -lp->tx_ring[entry].length); |
length | 293 | drivers/net/eexpress.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 486 | drivers/net/eexpress.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 491 | drivers/net/eexpress.c | hardware_send_packet(dev, buf, length); |
length | 837 | drivers/net/eexpress.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 851 | drivers/net/eexpress.c | outw(length | 0x8000, ioaddr); /* Byte count parameter. */ |
length | 863 | drivers/net/eexpress.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 877 | drivers/net/eexpress.c | "reap %4x status %4.4x.\n", dev->name, ioaddr, length, |
length | 171 | drivers/net/lance.c | short length; /* Length is 2's complement (negative)! */ |
length | 487 | drivers/net/lance.c | lp->tx_ring[i].base, -lp->tx_ring[i].length, |
length | 531 | drivers/net/lance.c | lp->tx_ring[entry].length = |
length | 534 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
length | 156 | drivers/net/plip.c | static int plip_send_packet(struct device *dev, unsigned char *buf, int length); |
length | 406 | drivers/net/plip.c | unsigned length; |
length | 419 | drivers/net/plip.c | length = get_byte(dev); |
length | 420 | drivers/net/plip.c | length |= get_byte(dev) << 8; |
length | 428 | drivers/net/plip.c | PRINTK2(("length = %d\n", length)); |
length | 429 | drivers/net/plip.c | if (length > dev->mtu || length < 8) { |
length | 430 | drivers/net/plip.c | PRINTK2(("%s: bogus packet size %d.\n", dev->name, length)); |
length | 438 | drivers/net/plip.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 441 | drivers/net/plip.c | dev->name,length)); |
length | 456 | drivers/net/plip.c | for ( i = 0; i < length - sizeof(eth); i++) { |
length | 466 | drivers/net/plip.c | } else if(dev_rint((unsigned char *)skb, length, IN_SKBUFF, dev)) { |
length | 476 | drivers/net/plip.c | timeout = jiffies + length * timeoutfactor / 16; |
length | 585 | drivers/net/plip.c | plip_send_packet(struct device *dev, unsigned char *buf, int length) |
length | 591 | drivers/net/plip.c | dev->name, length, buf[0], buf[1], buf[2], buf[3], buf[4])); |
length | 592 | drivers/net/plip.c | if (length > dev->mtu) { |
length | 593 | drivers/net/plip.c | printk("%s: packet too big, %d.\n", dev->name, length); |
length | 630 | drivers/net/plip.c | send_byte(dev, length); |
length | 631 | drivers/net/plip.c | send_byte(dev, length >> 8); |
length | 643 | drivers/net/plip.c | for (i = 0; i < length - sizeof(struct ethhdr); i++) { |
length | 658 | drivers/net/plip.c | timeout = jiffies + ((length * timeoutfactor) >> 4); |
length | 674 | drivers/net/plip.c | PRINTK2(("plip_send_packet(%d) done.\n", length)); |
length | 112 | drivers/net/skeleton.c | extern void hardware_send_packet(short ioaddr, char *buf, int length); |
length | 289 | drivers/net/skeleton.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 292 | drivers/net/skeleton.c | hardware_send_packet(ioaddr, buf, length); |
length | 303 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
length | 1776 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
length | 733 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
length | 1771 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
length | 1900 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
length | 517 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
length | 518 | drivers/scsi/aha1542.c | (((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){ |
length | 523 | drivers/scsi/aha1542.c | sgpnt[i].length); |
length | 532 | drivers/scsi/aha1542.c | any2scsi(cptr[i].datalen, sgpnt[i].length); |
length | 325 | drivers/scsi/aha1740.c | cptr[i].datalen = sgpnt[i].length; |
length | 1164 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1197 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1281 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 311 | drivers/scsi/scsi.h | unsigned int length; |
length | 121 | drivers/scsi/scsi_debug.c | printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 260 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 329 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 169 | drivers/scsi/sd.c | printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 173 | drivers/scsi/sd.c | memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 174 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 229 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 556 | drivers/scsi/sd.c | sgpnt[count].length += bh->b_size; |
length | 559 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length - 1 > |
length | 566 | drivers/scsi/sd.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 10) { |
length | 569 | drivers/scsi/sd.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 581 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 602 | drivers/scsi/sd.c | if (((int) sgpnt[count].address) + sgpnt[count].length + |
length | 609 | drivers/scsi/sd.c | tmp = (char *) scsi_malloc(sgpnt[count].length + bhp->b_size); |
length | 615 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 643 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 651 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 152 | drivers/scsi/seagate.c | unsigned length; |
length | 332 | drivers/scsi/seagate.c | signatures[j].length)) { |
length | 903 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
length | 908 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1144 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1290 | drivers/scsi/seagate.c | len = buffer->length; |
length | 160 | drivers/scsi/sr.c | memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 162 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 198 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 471 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
length | 472 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 482 | drivers/scsi/sr.c | sgpnt[count].length = bh->b_size; |
length | 487 | drivers/scsi/sr.c | sgpnt[count].length = end_rec; |
length | 492 | drivers/scsi/sr.c | if (((int) sgpnt[count].address) + sgpnt[count].length > |
length | 498 | drivers/scsi/sr.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 5) { |
length | 501 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 512 | drivers/scsi/sr.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 529 | drivers/scsi/sr.c | sgpnt[count].length); |
length | 636 | drivers/scsi/ultrastor.c | mscp->sglist[i].num_bytes = sl[i].length; |
length | 637 | drivers/scsi/ultrastor.c | transfer_length += sl[i].length; |
length | 935 | drivers/scsi/wd7000.c | any2scsi(sgb[i].len, sg[i].length); |
length | 229 | fs/hpfs/hpfs.h | unsigned short length; /* offset to next dirent */ |
length | 266 | fs/hpfs/hpfs.h | return *(dnode_secno *) ((void *) de + de->length - 4); |
length | 287 | fs/hpfs/hpfs.h | return (void *) de + de->length; |
length | 305 | fs/hpfs/hpfs.h | unsigned length; /* length, sectors */ |
length | 789 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 1046 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
length | 1049 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
length | 1293 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 1553 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 68 | fs/open.c | asmlinkage int sys_truncate(const char * path, unsigned int length) |
length | 84 | fs/open.c | inode->i_size = length; |
length | 94 | fs/open.c | asmlinkage int sys_ftruncate(unsigned int fd, unsigned int length) |
length | 105 | fs/open.c | inode->i_size = length; |
length | 474 | fs/proc/array.c | int length; |
length | 487 | fs/proc/array.c | length = get_loadavg(page); |
length | 490 | fs/proc/array.c | length = get_uptime(page); |
length | 493 | fs/proc/array.c | length = get_meminfo(page); |
length | 496 | fs/proc/array.c | length = get_version(page); |
length | 499 | fs/proc/array.c | length = get_env(pid, page); |
length | 502 | fs/proc/array.c | length = get_arg(pid, page); |
length | 505 | fs/proc/array.c | length = get_stat(pid, page); |
length | 508 | fs/proc/array.c | length = get_statm(pid, page); |
length | 512 | fs/proc/array.c | length = get_malloc(page); |
length | 519 | fs/proc/array.c | length = get_maps(pid, page); |
length | 522 | fs/proc/array.c | length = get_module_list(page); |
length | 525 | fs/proc/array.c | length = get_kstat(page); |
length | 528 | fs/proc/array.c | length = get_device_list(page); |
length | 531 | fs/proc/array.c | length = get_filesystem_list(page); |
length | 537 | fs/proc/array.c | if (file->f_pos >= length) { |
length | 541 | fs/proc/array.c | if (count + file->f_pos > length) |
length | 542 | fs/proc/array.c | count = length - file->f_pos; |
length | 176 | fs/proc/net.c | int length; |
length | 198 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
length | 202 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
length | 205 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
length | 208 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
length | 211 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
length | 214 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
length | 217 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
length | 220 | fs/proc/net.c | length = rarp_get_info(page,&start,file->f_pos,thistime); |
length | 225 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
length | 228 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
length | 245 | fs/proc/net.c | memcpy_tofs(buf+copied, start, length); |
length | 246 | fs/proc/net.c | file->f_pos+=length; /* Move down the file */ |
length | 247 | fs/proc/net.c | bytes-=length; |
length | 248 | fs/proc/net.c | copied+=length; |
length | 249 | fs/proc/net.c | if(length<thistime) |
length | 107 | include/linux/iso_fs.h | char length [ISODCL (1, 1)]; /* 711 */ |
length | 146 | include/linux/kd.h | long length; /* number of bytes */ |
length | 181 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length); |
length | 79 | init/main.c | extern long rd_init(long mem_start, int length); |
length | 53 | kernel/ioport.c | int length = low_index + extent; |
length | 57 | kernel/ioport.c | if (length < 32) |
length | 58 | kernel/ioport.c | mask &= ~(~0 << length); |
length | 63 | kernel/ioport.c | length -= 32; |
length | 67 | kernel/ioport.c | while (length >= 32) { |
length | 69 | kernel/ioport.c | length -= 32; |
length | 72 | kernel/ioport.c | if (length > 0) { |
length | 73 | kernel/ioport.c | mask = ~(~0 << length); |
length | 87 | kernel/ioport.c | int length = low_index + extent; |
length | 91 | kernel/ioport.c | if (length < 32) |
length | 92 | kernel/ioport.c | mask &= ~(~0 << length); |
length | 95 | kernel/ioport.c | length -= 32; |
length | 97 | kernel/ioport.c | while (length >= 32) { |
length | 100 | kernel/ioport.c | length -= 32; |
length | 103 | kernel/ioport.c | if (length > 0) { |
length | 104 | kernel/ioport.c | mask = ~(~0 << length); |
length | 827 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
length | 873 | net/inet/arp.c | if(pos>offset+length) |
length | 881 | net/inet/arp.c | if(len>length) |
length | 882 | net/inet/arp.c | len=length; /* Ending slop */ |
length | 11 | net/inet/arp.h | extern int arp_get_info(char *buffer, char **start, off_t origin, int length); |
length | 904 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
length | 932 | net/inet/dev.c | if(pos>offset+length) |
length | 938 | net/inet/dev.c | if(len>length) |
length | 939 | net/inet/dev.c | len=length; /* Ending slop */ |
length | 135 | net/inet/ipx.c | int ipx_get_info(char *buffer, char **start, off_t offset, int length) |
length | 167 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
length | 174 | net/inet/ipx.c | if(len>length) |
length | 175 | net/inet/ipx.c | len=length; /* Remove unwanted tail data from length */ |
length | 310 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
length | 329 | net/inet/ipx.c | if(pos>offset+length) |
length | 334 | net/inet/ipx.c | if(len>length) |
length | 335 | net/inet/ipx.c | len=length; |
length | 57 | net/inet/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
length | 112 | net/inet/proc.c | if(pos>offset+length) |
length | 117 | net/inet/proc.c | if(pos>offset+length) |
length | 122 | net/inet/proc.c | if(len>length) |
length | 123 | net/inet/proc.c | len=length; |
length | 128 | net/inet/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
length | 130 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
length | 134 | net/inet/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
length | 136 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
length | 140 | net/inet/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
length | 142 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
length | 448 | net/inet/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length) |
length | 499 | net/inet/rarp.c | if(pos>offset+length) |
length | 507 | net/inet/rarp.c | if(len>length) |
length | 508 | net/inet/rarp.c | len=length; /* Ending slop */ |
length | 12 | net/inet/rarp.h | int length); |
length | 493 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
length | 522 | net/inet/route.c | if(pos>offset+length) |
length | 528 | net/inet/route.c | if(len>length) |
length | 529 | net/inet/route.c | len=length; |
length | 48 | net/inet/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length); |
length | 1812 | net/inet/tcp.c | int length=(th->doff*4)-sizeof(struct tcphdr); |
length | 1817 | net/inet/tcp.c | while(length>0) |
length | 1826 | net/inet/tcp.c | length-=2; |
length | 1844 | net/inet/tcp.c | length-=opsize; |
length | 38 | net/unix/proc.c | int unix_get_info(char *buffer, char **start, off_t offset, int length) |
length | 77 | net/unix/proc.c | if(pos>offset+length) |
length | 84 | net/unix/proc.c | if(len>length) |
length | 85 | net/unix/proc.c | len=length; |
length | 261 | zBoot/gzip.h | void send_bits OF((int value, int length)); |
length | 262 | zBoot/gzip.h | unsigned bi_reverse OF((unsigned value, int length)); |