tag | line | file | source code |
length | 261 | arch/i386/boot/compressed/gzip.h | void send_bits OF((int value, int length)); |
length | 262 | arch/i386/boot/compressed/gzip.h | unsigned bi_reverse OF((unsigned value, int length)); |
length | 97 | arch/i386/kernel/bios32.c | unsigned char length; /* Length in paragraphs should be 01 */ |
length | 126 | arch/i386/kernel/bios32.c | unsigned long length; /* %ecx */ |
length | 132 | arch/i386/kernel/bios32.c | "=c" (length), |
length | 405 | arch/i386/kernel/bios32.c | int i, length; |
length | 417 | arch/i386/kernel/bios32.c | length = check->fields.length * 16; |
length | 418 | arch/i386/kernel/bios32.c | if (!length) |
length | 421 | arch/i386/kernel/bios32.c | for (i = 0; i < length ; ++i) |
length | 20 | arch/i386/kernel/ioport.c | int length = low_index + extent; |
length | 24 | arch/i386/kernel/ioport.c | if (length < 32) |
length | 25 | arch/i386/kernel/ioport.c | mask &= ~(~0 << length); |
length | 30 | arch/i386/kernel/ioport.c | length -= 32; |
length | 34 | arch/i386/kernel/ioport.c | while (length >= 32) { |
length | 36 | arch/i386/kernel/ioport.c | length -= 32; |
length | 39 | arch/i386/kernel/ioport.c | if (length > 0) { |
length | 40 | arch/i386/kernel/ioport.c | mask = ~(~0 << length); |
length | 24 | arch/mips/kernel/ioport.c | int length = low_index + extent; |
length | 28 | arch/mips/kernel/ioport.c | if (length < 32) |
length | 29 | arch/mips/kernel/ioport.c | mask &= ~(~0 << length); |
length | 34 | arch/mips/kernel/ioport.c | length -= 32; |
length | 38 | arch/mips/kernel/ioport.c | while (length >= 32) { |
length | 40 | arch/mips/kernel/ioport.c | length -= 32; |
length | 43 | arch/mips/kernel/ioport.c | if (length > 0) { |
length | 44 | arch/mips/kernel/ioport.c | mask = ~(~0 << length); |
length | 80 | drivers/block/blk.h | extern long rd_init(long mem_start, int length); |
length | 975 | drivers/block/floppy.c | if (raw_cmd.length == 0){ |
length | 988 | drivers/block/floppy.c | raw_cmd.length > 512 * CURRENT->nr_sectors) && |
length | 990 | drivers/block/floppy.c | current_addr + raw_cmd.length > |
length | 993 | drivers/block/floppy.c | current_addr, raw_cmd.length, floppy_track_buffer); |
length | 1009 | drivers/block/floppy.c | if (CROSS_64KB(current_addr, raw_cmd.length)) { |
length | 1011 | drivers/block/floppy.c | current_addr, current_addr + raw_cmd.length); |
length | 1024 | drivers/block/floppy.c | set_dma_count(FLOPPY_DMA, raw_cmd.length); |
length | 2020 | drivers/block/floppy.c | raw_cmd.length = 4 * F_SECT_PER_TRACK; |
length | 2505 | drivers/block/floppy.c | raw_cmd.length = current_count_sectors << 9; |
length | 2506 | drivers/block/floppy.c | if (raw_cmd.length == 0){ |
length | 2552 | drivers/block/floppy.c | raw_cmd.length = sector_t+current_count_sectors-aligned_sector_t; |
length | 2553 | drivers/block/floppy.c | raw_cmd.length = ((raw_cmd.length -1)|(ssize-1))+1; |
length | 2554 | drivers/block/floppy.c | raw_cmd.length <<= 9; |
length | 2556 | drivers/block/floppy.c | if ((raw_cmd.length < current_count_sectors << 9) || |
length | 2559 | drivers/block/floppy.c | (aligned_sector_t + (raw_cmd.length >> 9) > buffer_max || |
length | 2561 | drivers/block/floppy.c | raw_cmd.length % ( 128 << SIZECODE ) || |
length | 2562 | drivers/block/floppy.c | raw_cmd.length <= 0 || current_count_sectors <= 0){ |
length | 2564 | drivers/block/floppy.c | raw_cmd.length, current_count_sectors); |
length | 2584 | drivers/block/floppy.c | raw_cmd.length < 0 || |
length | 2585 | drivers/block/floppy.c | current_addr + raw_cmd.length > |
length | 2590 | drivers/block/floppy.c | raw_cmd.length >> 9 ); |
length | 2599 | drivers/block/floppy.c | } else if (raw_cmd.length > CURRENT->nr_sectors << 9 || |
length | 2603 | drivers/block/floppy.c | } else if ( raw_cmd.length < current_count_sectors << 9 ){ |
length | 2605 | drivers/block/floppy.c | printk("bytes=%ld\n", raw_cmd.length >> 9 ); |
length | 2608 | drivers/block/floppy.c | if (raw_cmd.length == 0){ |
length | 2854 | drivers/block/floppy.c | count = raw_cmd.length; |
length | 2891 | drivers/block/floppy.c | raw_cmd.length = get_dma_residue(FLOPPY_DMA); |
length | 3775 | drivers/block/floppy.c | int length = strlen(pattern)+1; |
length | 3805 | drivers/block/floppy.c | if(j==length){ |
length | 78 | drivers/block/ramdisk.c | long rd_init(long mem_start, int length) |
length | 89 | drivers/block/ramdisk.c | rd_length = length; |
length | 91 | drivers/block/ramdisk.c | for (i=0; i < length; i++) |
length | 97 | drivers/block/ramdisk.c | return(length); |
length | 347 | drivers/net/3c505.c | outb_command(pcb->length, dev->base_addr); |
length | 352 | drivers/net/3c505.c | for (i = 0; cont && (i < pcb->length); i++) { |
length | 362 | drivers/net/3c505.c | outb_command(2+pcb->length, dev->base_addr); |
length | 432 | drivers/net/3c505.c | pcb->length = inb_command(dev->base_addr); |
length | 434 | drivers/net/3c505.c | if (pcb->length > MAX_PCB_DATA) { |
length | 435 | drivers/net/3c505.c | INVALID_PCB_MSG(pcb->length); |
length | 461 | drivers/net/3c505.c | if (total_length != (pcb->length + 2)) { |
length | 529 | drivers/net/3c505.c | tx_pcb->length = sizeof(struct Rcv_pkt); |
length | 885 | drivers/net/3c505.c | adapter->tx_pcb.length = sizeof(struct Memconf); |
length | 905 | drivers/net/3c505.c | adapter->tx_pcb.length = 2; |
length | 964 | drivers/net/3c505.c | adapter->tx_pcb.length = sizeof(struct Xmit_pkt); |
length | 1091 | drivers/net/3c505.c | adapter->tx_pcb.length = 0; |
length | 1188 | drivers/net/3c505.c | adapter->tx_pcb.length = 6*num_addrs; |
length | 1215 | drivers/net/3c505.c | adapter->tx_pcb.length = 2; |
length | 1398 | drivers/net/3c505.c | adapter.tx_pcb.length = 0; |
length | 1402 | drivers/net/3c505.c | (adapter.rx_pcb.length != 6)) { |
length | 219 | drivers/net/3c505.h | byte length; |
length | 293 | drivers/net/3c507.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 499 | drivers/net/3c507.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 504 | drivers/net/3c507.c | hardware_send_packet(dev, buf, length); |
length | 768 | drivers/net/3c507.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 782 | drivers/net/3c507.c | *write_ptr++ = length | 0x8000; /* Byte count parameter. */ |
length | 793 | drivers/net/3c507.c | memcpy(write_ptr, buf, length); |
length | 806 | drivers/net/3c507.c | dev->name, ioaddr, length, tx_block, lp->tx_head); |
length | 105 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 136 | drivers/net/8390.c | int length, send_length; |
length | 180 | drivers/net/8390.c | length = skb->len; |
length | 193 | drivers/net/8390.c | send_length = ETH_ZLEN < length ? length : ETH_ZLEN; |
length | 221 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, output_page); |
length | 235 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, ei_local->tx_start_page); |
length | 683 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 695 | drivers/net/8390.c | outb_p(length & 0xff, e8390_base + EN0_TCNTLO); |
length | 696 | drivers/net/8390.c | outb_p(length >> 8, e8390_base + EN0_TCNTHI); |
length | 630 | drivers/net/apricot.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 651 | drivers/net/apricot.c | tx_cmd->tbd->size = EOF | length; |
length | 408 | drivers/net/arcnet.c | short length, /* bytes total */ |
length | 458 | drivers/net/arcnet.c | short length,char *data); |
length | 468 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
length | 470 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
length | 1166 | drivers/net/arcnet.c | out->length = 1 < skb->len ? skb->len : 1; |
length | 1187 | drivers/net/arcnet.c | if (out->length-EXTRA_CLIENTDATA<=XMTU) |
length | 1191 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
length | 1198 | drivers/net/arcnet.c | out->length-sizeof(struct ClientData), |
length | 1220 | drivers/net/arcnet.c | out->dataleft=out->length-sizeof(struct ClientData); |
length | 1226 | drivers/net/arcnet.c | out->length,out->numsegs); |
length | 1300 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
length | 1314 | drivers/net/arcnet.c | arcnetA_prepare_tx(struct device *dev,struct ClientData *hdr,short length, |
length | 1327 | drivers/net/arcnet.c | length+=4; |
length | 1331 | drivers/net/arcnet.c | hdr,length,data); |
length | 1340 | drivers/net/arcnet.c | if (length<=MTU) /* Normal (256-byte) Packet */ |
length | 1344 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length; |
length | 1348 | drivers/net/arcnet.c | else if (length>=MinTU) /* Extended (512-byte) Packet */ |
length | 1353 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length; |
length | 1362 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4; |
length | 1383 | drivers/net/arcnet.c | data,length-4); |
length | 1386 | drivers/net/arcnet.c | daddr,length,pkttype); |
length | 1484 | drivers/net/arcnet.c | short offset,length=skb->len+1; |
length | 1488 | drivers/net/arcnet.c | if (length>XMTU) |
length | 1515 | drivers/net/arcnet.c | offset=512-length; |
length | 1516 | drivers/net/arcnet.c | if (length>MTU) /* long/exception packet */ |
length | 1518 | drivers/net/arcnet.c | if (length<MinTU) offset-=3; |
length | 1529 | drivers/net/arcnet.c | length,offset,arcpacket->hardheader.offset1, |
length | 1545 | drivers/net/arcnet.c | daddr,length); |
length | 1553 | drivers/net/arcnet.c | for (county=0; county<16+(length>=240)*16; county++) |
length | 1815 | drivers/net/arcnet.c | short length,offset; |
length | 1835 | drivers/net/arcnet.c | length=256-offset; |
length | 1842 | drivers/net/arcnet.c | length=512-offset; |
length | 1847 | drivers/net/arcnet.c | saddr,daddr,length); |
length | 1857 | drivers/net/arcnet.c | length,saddr,daddr); |
length | 1860 | drivers/net/arcnet.c | arcnetE_rx(dev,arcsoft,length,saddr,daddr); |
length | 1874 | drivers/net/arcnet.c | for (county=0; county<16+(length>240)*16; county++) |
length | 1902 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
length | 1910 | drivers/net/arcnet.c | length); |
length | 1913 | drivers/net/arcnet.c | length+=EXTRA_CLIENTDATA; |
length | 1923 | drivers/net/arcnet.c | length-=4; |
length | 1946 | drivers/net/arcnet.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 1954 | drivers/net/arcnet.c | skb->len = length; |
length | 1959 | drivers/net/arcnet.c | length-EXTRA_CLIENTDATA); |
length | 2149 | drivers/net/arcnet.c | length-sizeof(struct ClientData)); |
length | 2151 | drivers/net/arcnet.c | skb->len+=length-sizeof(struct ClientData); |
length | 2192 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
length | 2199 | drivers/net/arcnet.c | length); |
length | 2201 | drivers/net/arcnet.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 2208 | drivers/net/arcnet.c | skb->len = length; |
length | 2211 | drivers/net/arcnet.c | memcpy(skb->data,(u_char *)arcsoft+1,length-1); |
length | 414 | drivers/net/at1700.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 420 | drivers/net/at1700.c | outw(length, ioaddr + DATAPORT); |
length | 421 | drivers/net/at1700.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 424 | drivers/net/at1700.c | lp->tx_queue_len += length + 2; |
length | 135 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int mode); |
length | 136 | drivers/net/atp.c | static void trigger_send(short ioaddr, int length); |
length | 140 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
length | 376 | drivers/net/atp.c | static void trigger_send(short ioaddr, int length) |
length | 378 | drivers/net/atp.c | write_reg_byte(ioaddr, TxCNT0, length & 0xff); |
length | 379 | drivers/net/atp.c | write_reg(ioaddr, TxCNT1, length >> 8); |
length | 383 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode) |
length | 385 | drivers/net/atp.c | length = (length + 1) & ~1; /* Round up to word length. */ |
length | 392 | drivers/net/atp.c | } while (--length > 0) ; |
length | 405 | drivers/net/atp.c | while (--length > 0) |
length | 448 | drivers/net/atp.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 460 | drivers/net/atp.c | write_packet(ioaddr, length, buf, dev->if_port); |
length | 464 | drivers/net/atp.c | trigger_send(ioaddr, length); |
length | 469 | drivers/net/atp.c | lp->saved_tx_size = length; |
length | 701 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *p, int data_mode) |
length | 706 | drivers/net/atp.c | outb(length == 8 ? RdAddr | HNib | MAR : RdAddr | MAR, |
length | 709 | drivers/net/atp.c | do *p++ = read_byte_mode0(ioaddr); while (--length > 0); |
length | 711 | drivers/net/atp.c | do *p++ = read_byte_mode2(ioaddr); while (--length > 0); |
length | 713 | drivers/net/atp.c | do *p++ = read_byte_mode4(ioaddr); while (--length > 0); |
length | 715 | drivers/net/atp.c | do *p++ = read_byte_mode6(ioaddr); while (--length > 0); |
length | 302 | drivers/net/depca.c | s16 length; /* This length is negative 2's complement! */ |
length | 1591 | drivers/net/depca.c | writew(-TX_BUFF_SZ, &lp->tx_ring[i].length);/* packet length in buffer */ |
length | 1597 | drivers/net/depca.c | writew(-len, &lp->tx_ring[end].length); /* packet length in last buff */ |
length | 153 | drivers/net/eepro.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 650 | drivers/net/eepro.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 653 | drivers/net/eepro.c | hardware_send_packet(dev, buf, length); |
length | 930 | drivers/net/eepro.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 953 | drivers/net/eepro.c | if (((((length + 1) >> 1) << 1) + 2*XMT_HEADER) |
length | 958 | drivers/net/eepro.c | end = last + (((length + 1) >> 1) << 1) + XMT_HEADER; |
length | 965 | drivers/net/eepro.c | end = last + (((length + 1) >> 1) << 1) + XMT_HEADER; |
length | 974 | drivers/net/eepro.c | outw(length, ioaddr + IO_PORT); |
length | 975 | drivers/net/eepro.c | outsw(ioaddr + IO_PORT, buf, (length + 1) >> 1); |
length | 301 | drivers/net/eexpress.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 497 | drivers/net/eexpress.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 502 | drivers/net/eexpress.c | hardware_send_packet(dev, buf, length); |
length | 852 | drivers/net/eexpress.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 866 | drivers/net/eexpress.c | outw(length | 0x8000, ioaddr); /* Byte count parameter. */ |
length | 878 | drivers/net/eexpress.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 892 | drivers/net/eexpress.c | "reap %4x status %4.4x.\n", dev->name, ioaddr, length, |
length | 275 | drivers/net/i82586.h | and length/type field already prepended to the data, |
length | 174 | drivers/net/lance.c | short length; /* Length is 2s complement (negative)! */ |
length | 738 | drivers/net/lance.c | lp->tx_ring[i].base, -lp->tx_ring[i].length, |
length | 790 | drivers/net/lance.c | lp->tx_ring[entry].length = |
length | 793 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
length | 126 | drivers/net/ni52.h | unsigned short length; /* 802.3 frame-length */ |
length | 243 | drivers/net/ni52.h | unsigned short length; /* user defined: 802.3 length / Ether type */ |
length | 283 | drivers/net/pi2.c | static void setup_tx_dma(struct pi_local *lp, int length) |
length | 306 | drivers/net/pi2.c | set_dma_count(dmachan, length); |
length | 404 | drivers/net/pi2.c | int length; |
length | 445 | drivers/net/pi2.c | length = lp->sndbuf->len - 1; |
length | 446 | drivers/net/pi2.c | memcpy(lp->txdmabuf, &lp->sndbuf->data[1], length); |
length | 450 | drivers/net/pi2.c | setup_tx_dma(lp, length); |
length | 180 | drivers/net/plip.c | } length; |
length | 501 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
length | 513 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
length | 520 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
length | 522 | drivers/net/plip.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
length | 523 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
length | 527 | drivers/net/plip.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
length | 532 | drivers/net/plip.c | skb_put(rcv->skb,rcv->length.h); |
length | 544 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
length | 695 | drivers/net/plip.c | &snd->nibble, snd->length.b.lsb)) |
length | 701 | drivers/net/plip.c | &snd->nibble, snd->length.b.msb)) |
length | 712 | drivers/net/plip.c | while (++snd->byte < snd->length.h); |
length | 894 | drivers/net/plip.c | snd->length.h = skb->len; |
length | 98 | drivers/net/seeq8005.c | extern void hardware_send_packet(struct device *dev, char *buf, int length); |
length | 408 | drivers/net/seeq8005.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 411 | drivers/net/seeq8005.c | hardware_send_packet(dev, buf, length); |
length | 695 | drivers/net/seeq8005.c | void hardware_send_packet(struct device * dev, char *buf, int length) |
length | 703 | drivers/net/seeq8005.c | printk("%s: send 0x%04x\n",dev->name,length); |
length | 711 | drivers/net/seeq8005.c | outw( htons(length + 4), SEEQ_BUFFER); |
length | 715 | drivers/net/seeq8005.c | outsw( SEEQ_BUFFER, buf, (length +1) >> 1); |
length | 119 | drivers/net/skeleton.c | extern void hardware_send_packet(short ioaddr, char *buf, int length); |
length | 367 | drivers/net/skeleton.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 370 | drivers/net/skeleton.c | hardware_send_packet(ioaddr, buf, length); |
length | 132 | drivers/net/tulip.c | int length; |
length | 138 | drivers/net/tulip.c | int length; |
length | 322 | drivers/net/tulip.c | tp->tx_ring[0].length = 0x08000000 | 192; |
length | 373 | drivers/net/tulip.c | tp->rx_ring[i].length = PKT_BUF_SZ; |
length | 378 | drivers/net/tulip.c | tp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000; |
length | 442 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
length | 1282 | drivers/net/wavelan.c | hardware_send_packet(device *dev, void *buf, short length) |
length | 1339 | drivers/net/wavelan.c | tbd.tbd_status = TBD_STATUS_EOF | (TBD_STATUS_ACNT & length); |
length | 1348 | drivers/net/wavelan.c | obram_write(ioaddr, buf_addr, buf, length); |
length | 1384 | drivers/net/wavelan.c | length, |
length | 1444 | drivers/net/wavelan.c | short length; |
length | 1447 | drivers/net/wavelan.c | length = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; |
length | 1450 | drivers/net/wavelan.c | hardware_send_packet(dev, buf, length); |
length | 2122 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 2159 | drivers/net/wavelan.c | if (pos > offset + length) |
length | 2169 | drivers/net/wavelan.c | if (len > length) |
length | 2170 | drivers/net/wavelan.c | len = length; /* Ending slop */ |
length | 360 | drivers/net/znet.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 363 | drivers/net/znet.c | ushort rnd_len = (length + 1)>>1; |
length | 378 | drivers/net/znet.c | *zn.tx_cur++ = length; |
length | 383 | drivers/net/znet.c | memcpy(zn.tx_start, buf + semi_cnt, length - semi_cnt); |
length | 398 | drivers/net/znet.c | printk(KERN_DEBUG "%s: Transmitter queued, length %d.\n", dev->name, length); |
length | 2600 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
length | 309 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
length | 1968 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
length | 817 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
length | 2006 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
length | 2142 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
length | 613 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
length | 614 | drivers/scsi/aha1542.c | (((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){ |
length | 619 | drivers/scsi/aha1542.c | sgpnt[i].length); |
length | 628 | drivers/scsi/aha1542.c | any2scsi(cptr[i].datalen, sgpnt[i].length); |
length | 334 | drivers/scsi/aha1740.c | cptr[i].datalen = sgpnt[i].length; |
length | 732 | drivers/scsi/aic7xxx.c | (char *)&(sg).length - (char *)&(sg) != 8 || \ |
length | 734 | drivers/scsi/aic7xxx.c | sizeof((sg).length) != 4 || \ |
length | 1363 | drivers/scsi/aic7xxx.c | unsigned length; |
length | 1371 | drivers/scsi/aic7xxx.c | for (i = length = 0; i < cmd->use_sg && i < segments; i++) |
length | 1373 | drivers/scsi/aic7xxx.c | length += sg[i].length; |
length | 1378 | drivers/scsi/aic7xxx.c | length = cmd->request_bufflen; |
length | 1381 | drivers/scsi/aic7xxx.c | return (length); |
length | 1841 | drivers/scsi/aic7xxx.c | scb->sense_sg.length = sizeof(cmd->sense_buffer); |
length | 3409 | drivers/scsi/aic7xxx.c | unsigned length; |
length | 3469 | drivers/scsi/aic7xxx.c | length = aic7xxx_length(cmd, 0); |
length | 3471 | drivers/scsi/aic7xxx.c | if (length > 0xFFFFFF) |
length | 3488 | drivers/scsi/aic7xxx.c | cmd->use_sg, length); |
length | 3503 | drivers/scsi/aic7xxx.c | scb->sg.length = cmd->request_bufflen; |
length | 707 | drivers/scsi/buslogic.c | cptr[i].datalen = sgpnt[i].length; |
length | 590 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
length | 458 | drivers/scsi/eata_dma.c | cp->sg_list[i].len = htonl((u32) sl->length); |
length | 32 | drivers/scsi/eata_dma_proc.c | int eata_set_info(char *buffer, int length, struct Scsi_Host *HBA_ptr) |
length | 34 | drivers/scsi/eata_dma_proc.c | int orig_length = length; |
length | 36 | drivers/scsi/eata_dma_proc.c | if (length >= 8 && strncmp(buffer, "eata_dma", 8) == 0) { |
length | 38 | drivers/scsi/eata_dma_proc.c | length -= 9; |
length | 39 | drivers/scsi/eata_dma_proc.c | if(length >= 8 && strncmp(buffer, "latency", 7) == 0) { |
length | 44 | drivers/scsi/eata_dma_proc.c | if(length >=10 && strncmp(buffer, "nolatency", 9) == 0) { |
length | 49 | drivers/scsi/eata_dma_proc.c | printk("Unknown command:%s length: %d\n", buffer, length); |
length | 67 | drivers/scsi/eata_dma_proc.c | int eata_proc_info(char *buffer, char **start, off_t offset, int length, |
length | 102 | drivers/scsi/eata_dma_proc.c | return(eata_set_info(buffer, length, HBA_ptr)); |
length | 305 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 381 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 418 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 453 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 473 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 483 | drivers/scsi/eata_dma_proc.c | if(len>length) |
length | 484 | drivers/scsi/eata_dma_proc.c | len = length; /* Ending slop */ |
length | 29 | drivers/scsi/eata_dma_proc.h | __u16 length; |
length | 38 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x24 */ |
length | 53 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x28 */ |
length | 69 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x30 */ |
length | 76 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x34 */ |
length | 83 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x10 */ |
length | 95 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 109 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 118 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 125 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 134 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 147 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 157 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 169 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 190 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 197 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 210 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 220 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x02 */ |
length | 235 | drivers/scsi/eata_dma_proc.h | __u8 length; /* 0x04 */ |
length | 117 | drivers/scsi/eata_pio.c | SCp->this_residual=SCp->buffer->length; |
length | 368 | drivers/scsi/eata_pio.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
length | 23 | drivers/scsi/eata_pio_proc.c | int eata_pio_set_info(char *buffer, int length, struct Scsi_Host *HBA_ptr) |
length | 40 | drivers/scsi/eata_pio_proc.c | int eata_pio_proc_info(char *buffer, char **start, off_t offset, int length, |
length | 60 | drivers/scsi/eata_pio_proc.c | return(eata_pio_set_info(buffer, length, HBA_ptr)); |
length | 97 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
length | 116 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
length | 126 | drivers/scsi/eata_pio_proc.c | if(len>length) |
length | 127 | drivers/scsi/eata_pio_proc.c | len = length; /* Ending slop */ |
length | 1447 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1480 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1564 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 210 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 267 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 500 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 393 | drivers/scsi/qlogic.c | if (ql_pdma(phase, sglist->address, sglist->length)) |
length | 110 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
length | 112 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
length | 2432 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
length | 2467 | drivers/scsi/scsi.c | if (pos > offset + length) |
length | 2478 | drivers/scsi/scsi.c | if(len>length) |
length | 2479 | drivers/scsi/scsi.c | len = length; /* Ending slop */ |
length | 2483 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
length | 354 | drivers/scsi/scsi.h | unsigned int length; |
length | 142 | drivers/scsi/scsi_debug.c | printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 283 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 354 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 620 | drivers/scsi/scsi_debug.c | int length, int inode, int inout) |
length | 627 | drivers/scsi/scsi_debug.c | if (length >= 10 && strncmp(buffer, "scsi_debug", 10) == 0) { |
length | 629 | drivers/scsi/scsi_debug.c | length -= 11; |
length | 635 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "lockup", length) == 0 ) |
length | 638 | drivers/scsi/scsi_debug.c | return length; |
length | 641 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "unlock", length) == 0 ) |
length | 644 | drivers/scsi/scsi_debug.c | return length; |
length | 668 | drivers/scsi/scsi_debug.c | if(len > length) |
length | 669 | drivers/scsi/scsi_debug.c | len = length; |
length | 79 | drivers/scsi/scsi_proc.c | int length, int inode, int inout) |
length | 96 | drivers/scsi/scsi_proc.c | if(len > length) |
length | 97 | drivers/scsi/scsi_proc.c | len = length; |
length | 106 | drivers/scsi/scsi_proc.c | off_t offset, int length, int func) |
length | 116 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
length | 122 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
length | 126 | drivers/scsi/scsi_proc.c | length, hpnt->host_no, func)); |
length | 233 | drivers/scsi/sd.c | sgpnt[i].length); |
length | 238 | drivers/scsi/sd.c | sgpnt[i].length); |
length | 239 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 296 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 660 | drivers/scsi/sd.c | sgpnt[count].length += bh->b_size; |
length | 663 | drivers/scsi/sd.c | if (((long) sgpnt[count].address) + sgpnt[count].length - 1 > |
length | 671 | drivers/scsi/sd.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 10) { |
length | 675 | drivers/scsi/sd.c | (char *) scsi_malloc(sgpnt[count].length); |
length | 689 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 711 | drivers/scsi/sd.c | if (((long) sgpnt[count].address) + sgpnt[count].length + |
length | 718 | drivers/scsi/sd.c | tmp = (char *) scsi_malloc(sgpnt[count].length |
length | 725 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 758 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 766 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 158 | drivers/scsi/seagate.c | unsigned length; |
length | 332 | drivers/scsi/seagate.c | signatures[j].length)) { |
length | 909 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
length | 914 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1150 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1296 | drivers/scsi/seagate.c | len = buffer->length; |
length | 195 | drivers/scsi/sr.c | memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 197 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 233 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 738 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
length | 739 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 749 | drivers/scsi/sr.c | sgpnt[count].length = bh->b_size; |
length | 754 | drivers/scsi/sr.c | sgpnt[count].length = end_rec; |
length | 759 | drivers/scsi/sr.c | if (((long) sgpnt[count].address) + sgpnt[count].length > ISA_DMA_THRESHOLD && |
length | 765 | drivers/scsi/sr.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 5) { |
length | 768 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 779 | drivers/scsi/sr.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 796 | drivers/scsi/sr.c | sgpnt[count].length); |
length | 549 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
length | 550 | drivers/scsi/u14-34f.c | data_len += sgpnt[k].length; |
length | 659 | drivers/scsi/ultrastor.c | mscp->sglist[i].num_bytes = sl[i].length; |
length | 660 | drivers/scsi/ultrastor.c | transfer_length += sl[i].length; |
length | 931 | drivers/scsi/wd7000.c | any2scsi(sgb[i].len, sg[i].length); |
length | 234 | fs/hpfs/hpfs.h | unsigned short length; /* offset to next dirent */ |
length | 272 | fs/hpfs/hpfs.h | return *(dnode_secno *) ((void *) de + de->length - 4); |
length | 293 | fs/hpfs/hpfs.h | return (void *) de + de->length; |
length | 311 | 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 | 1289 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 1556 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 64 | fs/open.c | asmlinkage int sys_truncate(const char * path, unsigned int length) |
length | 94 | fs/open.c | inode->i_size = newattrs.ia_size = length; |
length | 106 | fs/open.c | asmlinkage int sys_ftruncate(unsigned int fd, unsigned int length) |
length | 120 | fs/open.c | inode->i_size = newattrs.ia_size = length; |
length | 705 | fs/proc/array.c | static int get_root_array(char * page, int type, char **start, off_t offset, int length) |
length | 749 | fs/proc/array.c | return get_ksyms_list(page, start, offset, length); |
length | 776 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
length | 780 | fs/proc/array.c | return get_root_array(page, type, start, offset, length); |
length | 789 | fs/proc/array.c | int length; |
length | 803 | fs/proc/array.c | length = fill_array((char *) page, pid, type, |
length | 805 | fs/proc/array.c | if (length < 0) { |
length | 807 | fs/proc/array.c | return length; |
length | 811 | fs/proc/array.c | memcpy_tofs(buf, start, length); |
length | 812 | fs/proc/array.c | file->f_pos += length; |
length | 813 | fs/proc/array.c | count = length; |
length | 816 | fs/proc/array.c | if (file->f_pos >= length) { |
length | 820 | fs/proc/array.c | if (count + file->f_pos > length) |
length | 821 | fs/proc/array.c | count = length - file->f_pos; |
length | 58 | fs/proc/net.c | int length, thistime=bytes; |
length | 62 | fs/proc/net.c | length = dp->get_info(page, &start, |
length | 73 | fs/proc/net.c | if (length <= 0) |
length | 78 | fs/proc/net.c | memcpy_tofs(buf+copied, start, length); |
length | 79 | fs/proc/net.c | file->f_pos += length; /* Move down the file */ |
length | 80 | fs/proc/net.c | bytes -= length; |
length | 81 | fs/proc/net.c | copied += length; |
length | 82 | fs/proc/net.c | if (length<thistime) |
length | 169 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
length | 183 | fs/proc/scsi.c | if(len > length) |
length | 184 | fs/proc/scsi.c | len = length; |
length | 196 | fs/proc/scsi.c | int length; |
length | 216 | fs/proc/scsi.c | length = dispatch_scsi_info_ptr(inode->i_ino, page, &start, |
length | 219 | fs/proc/scsi.c | length = get_not_present_info(page, &start, file->f_pos, thistime); |
length | 220 | fs/proc/scsi.c | if(length < 0) { |
length | 222 | fs/proc/scsi.c | return(length); |
length | 230 | fs/proc/scsi.c | if (length <= 0) |
length | 237 | fs/proc/scsi.c | memcpy_tofs(buf + copied, start, length); |
length | 238 | fs/proc/scsi.c | file->f_pos += length; /* Move down the file */ |
length | 239 | fs/proc/scsi.c | bytes -= length; |
length | 240 | fs/proc/scsi.c | copied += length; |
length | 242 | fs/proc/scsi.c | if(length < thistime) |
length | 899 | fs/smbfs/proc.c | smb_proc_trunc(struct smb_server *server, word fid, dword length) |
length | 911 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, length); |
length | 670 | fs/smbfs/sock.c | unsigned const char *source, int length) |
length | 700 | fs/smbfs/sock.c | smb_encode_smb_length(nb_header, length); |
length | 706 | fs/smbfs/sock.c | result = sock->ops->send(sock, (void *)source, length, 0, 0); |
length | 714 | fs/smbfs/sock.c | if (result == length) { |
length | 735 | fs/smbfs/sock.c | result = length; |
length | 39 | include/linux/etherdevice.h | unsigned char *src, int length, int base); |
length | 230 | include/linux/fd.h | long length; |
length | 107 | include/linux/iso_fs.h | char length [ISODCL (1, 1)]; /* 711 */ |
length | 213 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
length | 163 | include/linux/smb_fs.h | int smb_proc_trunc(struct smb_server *server, word fid, dword length); |
length | 172 | include/linux/smb_fs.h | unsigned const char *source, int length); |
length | 13 | include/net/arp.h | extern int arp_get_info(char *buffer, char **start, off_t origin, int length, int dummy); |
length | 107 | include/net/ip.h | unsigned short int length, |
length | 9 | include/net/rarp.h | int length, |
length | 51 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
length | 49 | init/main.c | extern long rd_init(long mem_start, int length); |
length | 86 | kernel/ksyms.c | off_t offset, int length, |
length | 578 | kernel/module.c | int get_ksyms_list(char *buf, char **start, off_t offset, int length) |
length | 612 | kernel/module.c | if (pos > offset+length) |
length | 620 | kernel/module.c | if (len > length) |
length | 621 | kernel/module.c | len = length; |
length | 244 | net/802/tr.c | int rif_get_info(char *buffer,char **start, off_t offset, int length) { |
length | 271 | net/802/tr.c | if(pos>offset+length) |
length | 274 | net/802/tr.c | if(pos>offset+length) |
length | 280 | net/802/tr.c | if(len>length) |
length | 281 | net/802/tr.c | len=length; /* Ending slop */ |
length | 218 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 250 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
length | 257 | net/appletalk/ddp.c | if(len>length) |
length | 258 | net/appletalk/ddp.c | len=length; /* Remove unwanted tail data from length */ |
length | 820 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 841 | net/appletalk/ddp.c | if(pos>offset+length) |
length | 846 | net/appletalk/ddp.c | if(len>length) |
length | 847 | net/appletalk/ddp.c | len=length; |
length | 853 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 880 | net/appletalk/ddp.c | if(pos>offset+length) |
length | 885 | net/appletalk/ddp.c | if(len>length) |
length | 886 | net/appletalk/ddp.c | len=length; |
length | 1816 | net/ax25/af_ax25.c | int copied, length; |
length | 1843 | net/ax25/af_ax25.c | length = skb->len + (skb->data - skb->h.raw); |
length | 1847 | net/ax25/af_ax25.c | length = skb->len; |
length | 1851 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
length | 2027 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 2077 | net/ax25/af_ax25.c | if (pos > offset + length) |
length | 2086 | net/ax25/af_ax25.c | if (len > length) len = length; |
length | 266 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 312 | net/ax25/ax25_route.c | if (pos > offset + length) |
length | 321 | net/ax25/ax25_route.c | if (len > length) len = length; |
length | 326 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 347 | net/ax25/ax25_route.c | if (pos > offset + length) |
length | 356 | net/ax25/ax25_route.c | if (len > length) len = length; |
length | 905 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 933 | net/core/dev.c | if(pos>offset+length) |
length | 939 | net/core/dev.c | if(len>length) |
length | 940 | net/core/dev.c | len=length; /* Ending slop */ |
length | 676 | net/core/skbuff.c | struct sk_buff *dev_alloc_skb(unsigned int length) |
length | 680 | net/core/skbuff.c | skb = alloc_skb(length+16, GFP_ATOMIC); |
length | 238 | net/ethernet/eth.c | void eth_copy_and_sum(struct sk_buff *dest, unsigned char *src, int length, int base) |
length | 248 | net/ethernet/eth.c | memcpy(dest->data,src,length); |
length | 258 | net/ethernet/eth.c | length -= 34; |
length | 261 | net/ethernet/eth.c | if (ip_length <= length) |
length | 262 | net/ethernet/eth.c | length=ip_length; |
length | 264 | net/ethernet/eth.c | dest->csum=csum_partial_copy(src+34,dest->data+34,length,base); |
length | 1047 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 1113 | net/ipv4/arp.c | if(pos>offset+length) |
length | 1121 | net/ipv4/arp.c | if(len>length) |
length | 1122 | net/ipv4/arp.c | len=length; /* Ending slop */ |
length | 1996 | net/ipv4/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 2026 | net/ipv4/ip.c | if(pos>offset+length) |
length | 2034 | net/ipv4/ip.c | if(len>length) |
length | 2035 | net/ipv4/ip.c | len=length; |
length | 2397 | net/ipv4/ip.c | unsigned short int length, |
length | 2500 | net/ipv4/ip.c | if(length+20 <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
length | 2503 | net/ipv4/ip.c | struct sk_buff *skb=sock_alloc_send_skb(sk, length+20+15+dev->hard_header_len,0,&error); |
length | 2515 | net/ipv4/ip.c | length+=20; /* We do this twice so the subtract once is quicker */ |
length | 2528 | net/ipv4/ip.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
length | 2534 | net/ipv4/ip.c | iph->tot_len = htons(length); |
length | 2543 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)(iph+1),0, length-20); |
length | 2546 | net/ipv4/ip.c | getfrag(frag,saddr,(void *)iph,0,length); |
length | 2576 | net/ipv4/ip.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
length | 2582 | net/ipv4/ip.c | fraglen = length - offset + fragheaderlen; |
length | 1399 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
length | 1461 | net/ipv4/ip_fw.c | if(pos>offset+length) |
length | 1468 | net/ipv4/ip_fw.c | if(len>length) |
length | 1469 | net/ipv4/ip_fw.c | len=length; |
length | 1477 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1479 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
length | 1488 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1490 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
length | 1495 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1497 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
length | 1505 | net/ipv4/ip_fw.c | int length, int unused) |
length | 1537 | net/ipv4/ip_fw.c | if(pos>offset+length) |
length | 1544 | net/ipv4/ip_fw.c | if(len>length) |
length | 1545 | net/ipv4/ip_fw.c | len=length; |
length | 58 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
length | 132 | net/ipv4/proc.c | if(pos>offset+length) |
length | 139 | net/ipv4/proc.c | if(pos>offset+length) |
length | 144 | net/ipv4/proc.c | if(len>length) |
length | 145 | net/ipv4/proc.c | len=length; |
length | 150 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 152 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
length | 156 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 158 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
length | 162 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 164 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
length | 171 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 177 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
length | 190 | net/ipv4/proc.c | if (len > length) |
length | 191 | net/ipv4/proc.c | len = length; |
length | 200 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 267 | net/ipv4/proc.c | if (len > length) |
length | 268 | net/ipv4/proc.c | len = length; |
length | 482 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 533 | net/ipv4/rarp.c | if(pos>offset+length) |
length | 541 | net/ipv4/rarp.c | if (len>length) |
length | 542 | net/ipv4/rarp.c | len = length; /* Ending slop */ |
length | 554 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 583 | net/ipv4/route.c | if(pos>offset+length) |
length | 589 | net/ipv4/route.c | if(len>length) |
length | 590 | net/ipv4/route.c | len=length; |
length | 2601 | net/ipv4/tcp.c | int length=(th->doff*4)-sizeof(struct tcphdr); |
length | 2606 | net/ipv4/tcp.c | while(length>0) |
length | 2615 | net/ipv4/tcp.c | length--; |
length | 2634 | net/ipv4/tcp.c | length-=opsize; |
length | 1130 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1159 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
length | 1166 | net/ipx/af_ipx.c | if(len>length) |
length | 1167 | net/ipx/af_ipx.c | len=length; /* Remove unwanted tail data from length */ |
length | 1173 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1215 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
length | 1223 | net/ipx/af_ipx.c | if(len>length) |
length | 1224 | net/ipx/af_ipx.c | len=length; /* Remove unwanted tail data from length */ |
length | 1230 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1258 | net/ipx/af_ipx.c | if(pos>offset+length) |
length | 1263 | net/ipx/af_ipx.c | if(len>length) |
length | 1264 | net/ipx/af_ipx.c | len=length; |
length | 1307 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 1352 | net/netrom/af_netrom.c | if (pos > offset + length) |
length | 1361 | net/netrom/af_netrom.c | if (len > length) len = length; |
length | 697 | net/netrom/nr_route.c | int length, int dummy) |
length | 732 | net/netrom/nr_route.c | if (pos > offset + length) |
length | 741 | net/netrom/nr_route.c | if (len > length) len = length; |
length | 747 | net/netrom/nr_route.c | int length, int dummy) |
length | 774 | net/netrom/nr_route.c | if (pos > offset + length) |
length | 783 | net/netrom/nr_route.c | if (len > length) len = length; |
length | 1394 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
length | 1404 | net/socket.c | if (len > length) |
length | 1405 | net/socket.c | len = length; |
length | 926 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 955 | net/unix/af_unix.c | if(pos>offset+length) |
length | 961 | net/unix/af_unix.c | if(len>length) |
length | 962 | net/unix/af_unix.c | len=length; |