tag | line | file | source code |
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 | 411 | arch/i386/kernel/bios32.c | int i, length; |
length | 423 | arch/i386/kernel/bios32.c | length = check->fields.length * 16; |
length | 424 | arch/i386/kernel/bios32.c | if (!length) |
length | 427 | 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 | 249 | arch/i386/kernel/smp.c | void smp_scan_config(unsigned long base, unsigned long length) |
length | 259 | arch/i386/kernel/smp.c | while(length>0) |
length | 323 | arch/i386/kernel/smp.c | length-=16; |
length | 419 | arch/mips/kernel/gdb-stub.c | int length; |
length | 562 | arch/mips/kernel/gdb-stub.c | && hexToInt(&ptr, &length)) { |
length | 563 | arch/mips/kernel/gdb-stub.c | if (mem2hex((char *)addr, output_buffer, length, 1)) |
length | 578 | arch/mips/kernel/gdb-stub.c | && hexToInt(&ptr, &length) |
length | 580 | arch/mips/kernel/gdb-stub.c | if (hex2mem(ptr, (char *)addr, length, 1)) |
length | 108 | arch/ppc/kernel/raw_printf.c | int left_prec, right_prec, zero_fill, length, pad, pad_on_right; |
length | 163 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 10, "0123456789"); |
length | 166 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 16, "0123456789abcdef"); |
length | 169 | arch/ppc/kernel/raw_printf.c | length = _cvt(val, buf, 16, "0123456789ABCDEF"); |
length | 176 | arch/ppc/kernel/raw_printf.c | length = strlen(cp); |
length | 185 | arch/ppc/kernel/raw_printf.c | pad = left_prec - length; |
length | 213 | arch/ppc/kernel/raw_printf.c | while (length-- > 0) |
length | 243 | arch/ppc/kernel/raw_printf.c | int length = 0; |
length | 256 | arch/ppc/kernel/raw_printf.c | length++; |
length | 259 | arch/ppc/kernel/raw_printf.c | return (length); |
length | 446 | arch/sparc/kernel/sparc-stub.c | int length; |
length | 597 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length)) { |
length | 598 | arch/sparc/kernel/sparc-stub.c | if (mem2hex((char *)addr, remcomOutBuffer, length)) |
length | 614 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length) |
length | 616 | arch/sparc/kernel/sparc-stub.c | if (hex2mem(ptr, (char *)addr, length)) { |
length | 139 | drivers/block/floppy.c | long length; |
length | 976 | drivers/block/floppy.c | if (raw_cmd->length == 0){ |
length | 993 | drivers/block/floppy.c | if (CROSS_64KB(raw_cmd->kernel_data, raw_cmd->length)) { |
length | 996 | drivers/block/floppy.c | raw_cmd->kernel_data + raw_cmd->length); |
length | 1008 | drivers/block/floppy.c | fd_set_dma_count(raw_cmd->length); |
length | 1990 | drivers/block/floppy.c | raw_cmd->length = 4 * F_SECT_PER_TRACK; |
length | 2475 | drivers/block/floppy.c | raw_cmd->length = current_count_sectors << 9; |
length | 2476 | drivers/block/floppy.c | if (raw_cmd->length == 0){ |
length | 2523 | drivers/block/floppy.c | raw_cmd->length = sector_t+current_count_sectors-aligned_sector_t; |
length | 2524 | drivers/block/floppy.c | raw_cmd->length = ((raw_cmd->length -1)|(ssize-1))+1; |
length | 2525 | drivers/block/floppy.c | raw_cmd->length <<= 9; |
length | 2527 | drivers/block/floppy.c | if ((raw_cmd->length < current_count_sectors << 9) || |
length | 2530 | drivers/block/floppy.c | (aligned_sector_t + (raw_cmd->length >> 9) > buffer_max || |
length | 2532 | drivers/block/floppy.c | raw_cmd->length % (128 << SIZECODE) || |
length | 2533 | drivers/block/floppy.c | raw_cmd->length <= 0 || current_count_sectors <= 0){ |
length | 2535 | drivers/block/floppy.c | raw_cmd->length, current_count_sectors); |
length | 2556 | drivers/block/floppy.c | raw_cmd->length < 0 || |
length | 2557 | drivers/block/floppy.c | raw_cmd->kernel_data + raw_cmd->length > |
length | 2562 | drivers/block/floppy.c | raw_cmd->length >> 9); |
length | 2571 | drivers/block/floppy.c | } else if (raw_cmd->length > CURRENT->nr_sectors << 9 || |
length | 2575 | drivers/block/floppy.c | } else if (raw_cmd->length < current_count_sectors << 9){ |
length | 2577 | drivers/block/floppy.c | printk("bytes=%ld\n", raw_cmd->length >> 9); |
length | 2580 | drivers/block/floppy.c | if (raw_cmd->length == 0){ |
length | 2805 | drivers/block/floppy.c | raw_cmd->length = get_dma_residue(FLOPPY_DMA); |
length | 2848 | drivers/block/floppy.c | old_raw_cmd.length = ptr->length; |
length | 2860 | drivers/block/floppy.c | if (ptr->length>=0 && ptr->length<=ptr->buffer_length) |
length | 2864 | drivers/block/floppy.c | ptr->length)); |
length | 2910 | drivers/block/floppy.c | ptr->length = old_raw_cmd.length; |
length | 2936 | drivers/block/floppy.c | if (ptr->length <= 0) |
length | 2938 | drivers/block/floppy.c | ptr->kernel_data =(char*)dma_mem_alloc(ptr->length); |
length | 2941 | drivers/block/floppy.c | ptr->buffer_length = ptr->length; |
length | 2945 | drivers/block/floppy.c | ptr->length )); |
length | 2948 | drivers/block/floppy.c | ptr->length)); |
length | 4028 | drivers/block/floppy.c | int length = strlen(pattern)+1; |
length | 4055 | drivers/block/floppy.c | if (j==length){ |
length | 843 | drivers/block/ide-tape.c | void idetape_create_read_cmd (idetape_packet_command_t *pc,unsigned long length); |
length | 845 | drivers/block/ide-tape.c | void idetape_create_write_cmd (idetape_packet_command_t *pc,unsigned long length); |
length | 2527 | drivers/block/ide-tape.c | void idetape_create_read_cmd (idetape_packet_command_t *pc,unsigned long length) |
length | 2544 | drivers/block/ide-tape.c | original.all=length; |
length | 2597 | drivers/block/ide-tape.c | void idetape_create_write_cmd (idetape_packet_command_t *pc,unsigned long length) |
length | 2614 | drivers/block/ide-tape.c | original.all=length; |
length | 344 | drivers/net/3c505.c | outb_command(pcb->length, dev->base_addr); |
length | 349 | drivers/net/3c505.c | for (i = 0; cont && (i < pcb->length); i++) { |
length | 359 | drivers/net/3c505.c | outb_command(2+pcb->length, dev->base_addr); |
length | 431 | drivers/net/3c505.c | pcb->length = inb_command(dev->base_addr); |
length | 433 | drivers/net/3c505.c | if (pcb->length > MAX_PCB_DATA) { |
length | 434 | drivers/net/3c505.c | INVALID_PCB_MSG(pcb->length); |
length | 460 | drivers/net/3c505.c | if (total_length != (pcb->length + 2)) { |
length | 533 | drivers/net/3c505.c | tx_pcb->length = sizeof(struct Rcv_pkt); |
length | 889 | drivers/net/3c505.c | adapter->tx_pcb.length = sizeof(struct Memconf); |
length | 909 | drivers/net/3c505.c | adapter->tx_pcb.length = 2; |
length | 966 | drivers/net/3c505.c | adapter->tx_pcb.length = sizeof(struct Xmit_pkt); |
length | 1093 | drivers/net/3c505.c | adapter->tx_pcb.length = 0; |
length | 1190 | drivers/net/3c505.c | adapter->tx_pcb.length = 6*dev->mc_count; |
length | 1221 | drivers/net/3c505.c | adapter->tx_pcb.length = 2; |
length | 1417 | drivers/net/3c505.c | adapter.tx_pcb.length = 0; |
length | 1421 | drivers/net/3c505.c | (adapter.rx_pcb.length != 6)) { |
length | 219 | drivers/net/3c505.h | byte length; |
length | 288 | drivers/net/3c507.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 495 | drivers/net/3c507.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 500 | drivers/net/3c507.c | hardware_send_packet(dev, buf, length); |
length | 762 | drivers/net/3c507.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 776 | drivers/net/3c507.c | *write_ptr++ = length | 0x8000; /* Byte count parameter. */ |
length | 787 | drivers/net/3c507.c | memcpy(write_ptr, buf, length); |
length | 800 | drivers/net/3c507.c | dev->name, ioaddr, length, tx_block, lp->tx_head); |
length | 106 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 144 | drivers/net/8390.c | int length, send_length; |
length | 187 | drivers/net/8390.c | length = skb->len; |
length | 200 | drivers/net/8390.c | send_length = ETH_ZLEN < length ? length : ETH_ZLEN; |
length | 228 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, output_page); |
length | 242 | drivers/net/8390.c | ei_block_output(dev, length, skb->data, ei_local->tx_start_page); |
length | 687 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
length | 699 | drivers/net/8390.c | outb_p(length & 0xff, e8390_base + EN0_TCNTLO); |
length | 700 | drivers/net/8390.c | outb_p(length >> 8, e8390_base + EN0_TCNTHI); |
length | 623 | drivers/net/apricot.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 644 | drivers/net/apricot.c | tx_cmd->tbd->size = EOF | length; |
length | 439 | drivers/net/arcnet.c | short length, /* bytes total */ |
length | 501 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA); |
length | 509 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
length | 511 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
length | 513 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr); |
length | 1320 | drivers/net/arcnet.c | out->length = 1 < skb->len ? skb->len : 1; |
length | 1338 | drivers/net/arcnet.c | if (out->length-EXTRA_CLIENTDATA<=XMTU) |
length | 1341 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
length | 1351 | drivers/net/arcnet.c | out->length-sizeof(struct ClientData), |
length | 1371 | drivers/net/arcnet.c | out->dataleft=out->length-sizeof(struct ClientData); |
length | 1376 | drivers/net/arcnet.c | out->length,out->numsegs); |
length | 1428 | drivers/net/arcnet.c | short offset,length=skb->len+1; |
length | 1441 | drivers/net/arcnet.c | if (length>XMTU) |
length | 1444 | drivers/net/arcnet.c | length); |
length | 1468 | drivers/net/arcnet.c | offset=512-length; |
length | 1469 | drivers/net/arcnet.c | if (length>MTU) /* long/exception packet */ |
length | 1471 | drivers/net/arcnet.c | if (length<MinTU) offset-=3; |
length | 1481 | drivers/net/arcnet.c | length,offset,arcpacket->hardheader.offset1, |
length | 1496 | drivers/net/arcnet.c | daddr,length); |
length | 1504 | drivers/net/arcnet.c | for (county=0; county<16+(length>=240)*16; county++) |
length | 1546 | drivers/net/arcnet.c | int ioaddr=dev->base_addr,bad,length; |
length | 1560 | drivers/net/arcnet.c | length = 1 < skb->len ? skb->len : 1; |
length | 1574 | drivers/net/arcnet.c | if (length-S_EXTRA_CLIENTDATA<=XMTU) |
length | 1580 | drivers/net/arcnet.c | length-sizeof(struct S_ClientData), |
length | 1596 | drivers/net/arcnet.c | length); |
length | 1649 | drivers/net/arcnet.c | out->length,out->hdr->split_flag); |
length | 1666 | drivers/net/arcnet.c | char *data,int length,int daddr,int exceptA) |
length | 1676 | drivers/net/arcnet.c | length+=hdrlen; |
length | 1679 | drivers/net/arcnet.c | hdr,length,data); |
length | 1688 | drivers/net/arcnet.c | if (length<=MTU) /* Normal (256-byte) Packet */ |
length | 1690 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length; |
length | 1694 | drivers/net/arcnet.c | else if (length>=MinTU) /* Extended (512-byte) Packet */ |
length | 1697 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length; |
length | 1705 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4; |
length | 1736 | drivers/net/arcnet.c | data,length-hdrlen); |
length | 1739 | drivers/net/arcnet.c | daddr,length); |
length | 1747 | drivers/net/arcnet.c | for (county=0; county<16+(length>MTU)*16; county++) |
length | 2093 | drivers/net/arcnet.c | short length,offset; |
length | 2115 | drivers/net/arcnet.c | length=256-offset; |
length | 2122 | drivers/net/arcnet.c | length=512-offset; |
length | 2126 | drivers/net/arcnet.c | saddr,daddr,length); |
length | 2136 | drivers/net/arcnet.c | arcnetA_rx(lp->adev,arcsoft,length,saddr,daddr); |
length | 2139 | drivers/net/arcnet.c | arcnetE_rx(lp->edev,arcsoft,length,saddr,daddr); |
length | 2143 | drivers/net/arcnet.c | arcnetS_rx(lp->sdev,arcsoft,length,saddr,daddr); |
length | 2160 | drivers/net/arcnet.c | for (county=0; county<16+(length>240)*16; county++) |
length | 2188 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
length | 2195 | drivers/net/arcnet.c | length); |
length | 2201 | drivers/net/arcnet.c | length+=EXTRA_CLIENTDATA; |
length | 2210 | drivers/net/arcnet.c | length-=4; |
length | 2233 | drivers/net/arcnet.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 2241 | drivers/net/arcnet.c | skb->len = length; |
length | 2246 | drivers/net/arcnet.c | length-EXTRA_CLIENTDATA); |
length | 2437 | drivers/net/arcnet.c | length-sizeof(struct ClientData)); |
length | 2439 | drivers/net/arcnet.c | skb->len+=length-sizeof(struct ClientData); |
length | 2482 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
length | 2488 | drivers/net/arcnet.c | length); |
length | 2490 | drivers/net/arcnet.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 2497 | drivers/net/arcnet.c | skb->len = length; |
length | 2500 | drivers/net/arcnet.c | memcpy(skb->data,(u_char *)arcsoft+1,length-1); |
length | 2525 | drivers/net/arcnet.c | int length,u_char saddr, u_char daddr) |
length | 2532 | drivers/net/arcnet.c | length+=S_EXTRA_CLIENTDATA; |
length | 2535 | drivers/net/arcnet.c | length); |
length | 2541 | drivers/net/arcnet.c | skb = alloc_skb(length, GFP_ATOMIC); |
length | 2548 | drivers/net/arcnet.c | skb->len = length; |
length | 2553 | drivers/net/arcnet.c | length - sizeof(struct S_ClientData) |
length | 408 | drivers/net/at1700.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 414 | drivers/net/at1700.c | outw(length, ioaddr + DATAPORT); |
length | 415 | drivers/net/at1700.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 418 | 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 | 378 | drivers/net/atp.c | static void trigger_send(short ioaddr, int length) |
length | 380 | drivers/net/atp.c | write_reg_byte(ioaddr, TxCNT0, length & 0xff); |
length | 381 | drivers/net/atp.c | write_reg(ioaddr, TxCNT1, length >> 8); |
length | 385 | drivers/net/atp.c | static void write_packet(short ioaddr, int length, unsigned char *packet, int data_mode) |
length | 387 | drivers/net/atp.c | length = (length + 1) & ~1; /* Round up to word length. */ |
length | 394 | drivers/net/atp.c | } while (--length > 0) ; |
length | 407 | drivers/net/atp.c | while (--length > 0) |
length | 450 | drivers/net/atp.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 462 | drivers/net/atp.c | write_packet(ioaddr, length, buf, dev->if_port); |
length | 466 | drivers/net/atp.c | trigger_send(ioaddr, length); |
length | 471 | drivers/net/atp.c | lp->saved_tx_size = length; |
length | 703 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *p, int data_mode) |
length | 708 | drivers/net/atp.c | outb(length == 8 ? RdAddr | HNib | MAR : RdAddr | MAR, |
length | 711 | drivers/net/atp.c | do *p++ = read_byte_mode0(ioaddr); while (--length > 0); |
length | 713 | drivers/net/atp.c | do *p++ = read_byte_mode2(ioaddr); while (--length > 0); |
length | 715 | drivers/net/atp.c | do *p++ = read_byte_mode4(ioaddr); while (--length > 0); |
length | 717 | drivers/net/atp.c | do *p++ = read_byte_mode6(ioaddr); while (--length > 0); |
length | 317 | drivers/net/depca.c | s16 length; /* This length is negative 2's complement! */ |
length | 1555 | drivers/net/depca.c | writew(-TX_BUFF_SZ, &lp->tx_ring[i].length);/* packet length in buffer */ |
length | 1561 | drivers/net/depca.c | writew(-len, &lp->tx_ring[end].length); /* packet length in last buff */ |
length | 146 | drivers/net/eepro.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 642 | drivers/net/eepro.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 645 | drivers/net/eepro.c | hardware_send_packet(dev, buf, length); |
length | 934 | drivers/net/eepro.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 957 | drivers/net/eepro.c | if (((((length + 1) >> 1) << 1) + 2*XMT_HEADER) |
length | 962 | drivers/net/eepro.c | end = last + (((length + 1) >> 1) << 1) + XMT_HEADER; |
length | 969 | drivers/net/eepro.c | end = last + (((length + 1) >> 1) << 1) + XMT_HEADER; |
length | 978 | drivers/net/eepro.c | outw(length, ioaddr + IO_PORT); |
length | 979 | drivers/net/eepro.c | outsw(ioaddr + IO_PORT, buf, (length + 1) >> 1); |
length | 296 | drivers/net/eexpress.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
length | 494 | drivers/net/eexpress.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 499 | drivers/net/eexpress.c | hardware_send_packet(dev, buf, length); |
length | 843 | drivers/net/eexpress.c | hardware_send_packet(struct device *dev, void *buf, short length) |
length | 857 | drivers/net/eexpress.c | outw(length | 0x8000, ioaddr); /* Byte count parameter. */ |
length | 869 | drivers/net/eexpress.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 883 | drivers/net/eexpress.c | "reap %4x status %4.4x.\n", dev->name, ioaddr, length, |
length | 932 | drivers/net/eth16i.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 935 | drivers/net/eth16i.c | outw(length, ioaddr + DATAPORT); |
length | 938 | drivers/net/eth16i.c | outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); |
length | 940 | drivers/net/eth16i.c | unsigned char frag = length % 4; |
length | 942 | drivers/net/eth16i.c | outsl(ioaddr + DATAPORT, buf, length >> 2); |
length | 945 | drivers/net/eth16i.c | outsw(ioaddr + DATAPORT, (buf + (length & 0xFFFC)), 1); |
length | 947 | drivers/net/eth16i.c | outsw(ioaddr + DATAPORT, (buf + (length & 0xFFFC) + 2), 1); |
length | 952 | drivers/net/eth16i.c | lp->tx_queue_len += length + 2; |
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 | 734 | drivers/net/lance.c | lp->tx_ring[i].base, -lp->tx_ring[i].length, |
length | 786 | drivers/net/lance.c | lp->tx_ring[entry].length = |
length | 789 | 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 | 281 | drivers/net/pi2.c | static void setup_tx_dma(struct pi_local *lp, int length) |
length | 304 | drivers/net/pi2.c | set_dma_count(dmachan, length); |
length | 402 | drivers/net/pi2.c | int length; |
length | 443 | drivers/net/pi2.c | length = lp->sndbuf->len - 1; |
length | 444 | drivers/net/pi2.c | memcpy(lp->txdmabuf, &lp->sndbuf->data[1], length); |
length | 448 | drivers/net/pi2.c | setup_tx_dma(lp, length); |
length | 193 | drivers/net/plip.c | } length; |
length | 516 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
length | 528 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
length | 535 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
length | 537 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
length | 538 | drivers/net/plip.c | || rcv->length.h < 8) { |
length | 539 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
length | 543 | drivers/net/plip.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
length | 548 | drivers/net/plip.c | skb_put(rcv->skb,rcv->length.h); |
length | 560 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
length | 714 | drivers/net/plip.c | &snd->nibble, snd->length.b.lsb)) |
length | 720 | drivers/net/plip.c | &snd->nibble, snd->length.b.msb)) |
length | 731 | drivers/net/plip.c | while (++snd->byte < snd->length.h); |
length | 913 | drivers/net/plip.c | snd->length.h = skb->len; |
length | 2261 | drivers/net/ppp.c | nb = data.length; |
length | 290 | drivers/net/pt.c | static void setup_tx_dma(struct pt_local *lp, int length) |
length | 313 | drivers/net/pt.c | set_dma_count(dmachan, length); |
length | 1567 | drivers/net/pt.c | int length; |
length | 1637 | drivers/net/pt.c | length = lp->sndbuf->len - 1; |
length | 1638 | drivers/net/pt.c | memcpy(lp->txdmabuf, &lp->sndbuf->data[1], length); |
length | 1641 | drivers/net/pt.c | setup_tx_dma(lp, length); |
length | 92 | drivers/net/seeq8005.c | extern void hardware_send_packet(struct device *dev, char *buf, int length); |
length | 405 | drivers/net/seeq8005.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 408 | drivers/net/seeq8005.c | hardware_send_packet(dev, buf, length); |
length | 693 | drivers/net/seeq8005.c | void hardware_send_packet(struct device * dev, char *buf, int length) |
length | 701 | drivers/net/seeq8005.c | printk("%s: send 0x%04x\n",dev->name,length); |
length | 709 | drivers/net/seeq8005.c | outw( htons(length + 4), SEEQ_BUFFER); |
length | 713 | drivers/net/seeq8005.c | outsw( SEEQ_BUFFER, buf, (length +1) >> 1); |
length | 111 | drivers/net/skeleton.c | extern void hardware_send_packet(short ioaddr, char *buf, int length); |
length | 380 | drivers/net/skeleton.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
length | 383 | drivers/net/skeleton.c | hardware_send_packet(ioaddr, buf, length); |
length | 124 | drivers/net/sunlance.c | short length; /* This length is 2s complement (negative)! Buffer length */ |
length | 132 | drivers/net/sunlance.c | short length; /* Length is 2s complement (negative)! */ |
length | 241 | drivers/net/sunlance.c | ib->btx_ring [i].length = 0xf000; /* The ones required by tmd2 */ |
length | 255 | drivers/net/sunlance.c | ib->brx_ring [i].length = -RX_BUFF_SIZE | 0xf000; |
length | 659 | drivers/net/sunlance.c | ib->btx_ring [entry].length = (-len) | 0xf000; |
length | 128 | drivers/net/tulip.c | int length; |
length | 134 | drivers/net/tulip.c | int length; |
length | 311 | drivers/net/tulip.c | tp->tx_ring[0].length = 0x08000000 | 192; |
length | 360 | drivers/net/tulip.c | tp->rx_ring[i].length = PKT_BUF_SZ; |
length | 365 | drivers/net/tulip.c | tp->rx_ring[i-1].length = PKT_BUF_SZ | 0x02000000; |
length | 429 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
length | 1279 | drivers/net/wavelan.c | hardware_send_packet(device *dev, void *buf, short length) |
length | 1336 | drivers/net/wavelan.c | tbd.tbd_status = TBD_STATUS_EOF | (TBD_STATUS_ACNT & length); |
length | 1345 | drivers/net/wavelan.c | obram_write(ioaddr, buf_addr, buf, length); |
length | 1381 | drivers/net/wavelan.c | length, |
length | 1441 | drivers/net/wavelan.c | short length; |
length | 1444 | drivers/net/wavelan.c | length = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; |
length | 1447 | drivers/net/wavelan.c | hardware_send_packet(dev, buf, length); |
length | 2115 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 2152 | drivers/net/wavelan.c | if (pos > offset + length) |
length | 2162 | drivers/net/wavelan.c | if (len > length) |
length | 2163 | 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 | 3758 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
length | 5700 | drivers/scsi/53c7,8xx.c | (ptr < (segment->address + segment->length))))); |
length | 5701 | drivers/scsi/53c7,8xx.c | --buffers, offset += segment->length, ++segment) |
length | 2079 | drivers/scsi/BusLogic.c | ScatterList[Segment].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 | 864 | drivers/scsi/NCR53c406a.c | NCR53c406a_pio_write(sglist->address, sglist->length); |
length | 893 | drivers/scsi/NCR53c406a.c | NCR53c406a_pio_read(sglist->address, sglist->length); |
length | 905 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
length | 2118 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
length | 2258 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
length | 2741 | drivers/scsi/aha152x.c | int aha152x_set_info(char *buffer, int length, struct Scsi_Host *shpnt) |
length | 2805 | drivers/scsi/aha152x.c | #define SPRINTF(args...) do { if(pos < buffer + length) pos += sprintf(pos, ## args); } while(0) |
length | 2811 | drivers/scsi/aha152x.c | int length, |
length | 2831 | drivers/scsi/aha152x.c | return(aha152x_set_info(buffer, length, shpnt)); |
length | 2957 | drivers/scsi/aha152x.c | return (pos-buffer < length ? pos-buffer : length); |
length | 20 | drivers/scsi/aha152x.h | int aha152x_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout); |
length | 620 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
length | 621 | drivers/scsi/aha1542.c | (((int)sgpnt[i].address) & 1) || (sgpnt[i].length & 1)){ |
length | 626 | drivers/scsi/aha1542.c | sgpnt[i].length); |
length | 635 | drivers/scsi/aha1542.c | any2scsi(cptr[i].datalen, sgpnt[i].length); |
length | 340 | drivers/scsi/aha1740.c | cptr[i].datalen = sgpnt[i].length; |
length | 911 | drivers/scsi/aic7xxx.c | (char *) &(sg).length - (char *) &(sg) != 8 || \ |
length | 913 | drivers/scsi/aic7xxx.c | sizeof((sg).length) != 4 || \ |
length | 1524 | drivers/scsi/aic7xxx.c | unsigned length; |
length | 1532 | drivers/scsi/aic7xxx.c | for (i = length = 0; (i < cmd->use_sg) && (i < segments); i++) |
length | 1534 | drivers/scsi/aic7xxx.c | length += sg[i].length; |
length | 1539 | drivers/scsi/aic7xxx.c | length = cmd->request_bufflen; |
length | 1542 | drivers/scsi/aic7xxx.c | return (length); |
length | 2557 | drivers/scsi/aic7xxx.c | scb->sense_sg.length = sizeof(cmd->sense_buffer); |
length | 2571 | drivers/scsi/aic7xxx.c | scb->data_count[0] = scb->sense_sg.length & 0xFF; |
length | 2572 | drivers/scsi/aic7xxx.c | scb->data_count[1] = (scb->sense_sg.length >> 8) & 0xFF; |
length | 2573 | drivers/scsi/aic7xxx.c | scb->data_count[2] = (scb->sense_sg.length >> 16) & 0xFF; |
length | 4498 | drivers/scsi/aic7xxx.c | cmd->use_sg, length); |
length | 4505 | drivers/scsi/aic7xxx.c | scb->data_count[0] = sg[0].length & 0xFF; |
length | 4506 | drivers/scsi/aic7xxx.c | scb->data_count[1] = (sg[0].length >> 8) & 0xFF; |
length | 4507 | drivers/scsi/aic7xxx.c | scb->data_count[2] = (sg[0].length >> 16) & 0xFF; |
length | 4531 | drivers/scsi/aic7xxx.c | scb->sg.length = cmd->request_bufflen; |
length | 4534 | drivers/scsi/aic7xxx.c | scb->data_count[0] = scb->sg.length & 0xFF; |
length | 4535 | drivers/scsi/aic7xxx.c | scb->data_count[1] = (scb->sg.length >> 8) & 0xFF; |
length | 4536 | drivers/scsi/aic7xxx.c | scb->data_count[2] = (scb->sg.length >> 16) & 0xFF; |
length | 60 | drivers/scsi/aic7xxx_proc.c | aic7xxx_set_info(char *buffer, int length, struct Scsi_Host *HBAptr) |
length | 74 | drivers/scsi/aic7xxx_proc.c | aic7xxx_proc_info(char *buffer, char **start, off_t offset, int length, |
length | 119 | drivers/scsi/aic7xxx_proc.c | return (aic7xxx_set_info(buffer, length, HBAptr)); |
length | 245 | drivers/scsi/aic7xxx_proc.c | if (len > length) |
length | 247 | drivers/scsi/aic7xxx_proc.c | len = length; /* Ending slop */ |
length | 598 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
length | 484 | 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 | 103 | drivers/scsi/eata_dma_proc.c | return(eata_set_info(buffer, length, HBA_ptr)); |
length | 296 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 361 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 398 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 433 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 454 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
length | 465 | drivers/scsi/eata_dma_proc.c | if(len>length) |
length | 466 | 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 | 122 | drivers/scsi/eata_pio.c | SCp->this_residual=SCp->buffer->length; |
length | 373 | 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 | 1095 | drivers/scsi/fdomain.c | int length, int hostno, int inout ) |
length | 1117 | drivers/scsi/fdomain.c | if(len > length) len = length; |
length | 1551 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1584 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 1668 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
length | 36 | drivers/scsi/fdomain.h | int length, int hostno, int inout ); |
length | 216 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 273 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 506 | drivers/scsi/in2000.c | in2000_datalen = in2000_scatter->length; |
length | 396 | drivers/scsi/qlogic.c | if (ql_pdma(phase, sglist->address, sglist->length)) |
length | 136 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
length | 138 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
length | 2428 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
length | 2464 | drivers/scsi/scsi.c | if (pos > offset + length) |
length | 2475 | drivers/scsi/scsi.c | if(len>length) |
length | 2476 | drivers/scsi/scsi.c | len = length; /* Ending slop */ |
length | 2491 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
length | 2519 | drivers/scsi/scsi.c | return(length); |
length | 226 | drivers/scsi/scsi.h | unsigned int length; |
length | 143 | drivers/scsi/scsi_debug.c | printk(":%x %x %d\n",sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 293 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 364 | drivers/scsi/scsi_debug.c | bufflen = sgpnt[sgcount].length; |
length | 634 | drivers/scsi/scsi_debug.c | int length, int inode, int inout) |
length | 642 | drivers/scsi/scsi_debug.c | if (length >= 10 && strncmp(buffer, "scsi_debug", 10) == 0) { |
length | 644 | drivers/scsi/scsi_debug.c | length -= 11; |
length | 650 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "lockup", length) == 0 ) |
length | 653 | drivers/scsi/scsi_debug.c | return length; |
length | 656 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "unlock", length) == 0 ) |
length | 659 | drivers/scsi/scsi_debug.c | return length; |
length | 683 | drivers/scsi/scsi_debug.c | if(len > length) |
length | 684 | drivers/scsi/scsi_debug.c | len = length; |
length | 51 | drivers/scsi/scsi_proc.c | int length, int inode, int inout) |
length | 68 | drivers/scsi/scsi_proc.c | if(len > length) |
length | 69 | drivers/scsi/scsi_proc.c | len = length; |
length | 78 | drivers/scsi/scsi_proc.c | off_t offset, int length, int func) |
length | 87 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
length | 93 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
length | 97 | drivers/scsi/scsi_proc.c | length, hpnt->host_no, func)); |
length | 246 | drivers/scsi/sd.c | sgpnt[i].length); |
length | 251 | drivers/scsi/sd.c | sgpnt[i].length); |
length | 252 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 309 | drivers/scsi/sd.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 706 | drivers/scsi/sd.c | sgpnt[count].length += bh->b_size; |
length | 709 | drivers/scsi/sd.c | if (((long) sgpnt[count].address) + sgpnt[count].length - 1 > |
length | 717 | drivers/scsi/sd.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 10) { |
length | 721 | drivers/scsi/sd.c | (char *) scsi_malloc(sgpnt[count].length); |
length | 735 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 757 | drivers/scsi/sd.c | if (((long) sgpnt[count].address) + sgpnt[count].length + |
length | 764 | drivers/scsi/sd.c | tmp = (char *) scsi_malloc(sgpnt[count].length |
length | 771 | drivers/scsi/sd.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 804 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 812 | drivers/scsi/sd.c | sgpnt[count].length); |
length | 162 | drivers/scsi/seagate.c | unsigned length; |
length | 337 | drivers/scsi/seagate.c | signatures[j].length)) { |
length | 410 | drivers/scsi/seagate.c | int length, int hostno, int inout) |
length | 432 | drivers/scsi/seagate.c | if ( len > length ) len = length; |
length | 943 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
length | 948 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1184 | drivers/scsi/seagate.c | len = buffer->length; |
length | 1330 | drivers/scsi/seagate.c | len = buffer->length; |
length | 191 | drivers/scsi/sr.c | memcpy(sgpnt[i].alt_address, sgpnt[i].address, sgpnt[i].length); |
length | 193 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 229 | drivers/scsi/sr.c | scsi_free(sgpnt[i].address, sgpnt[i].length); |
length | 764 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
length | 765 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 775 | drivers/scsi/sr.c | sgpnt[count].length = bh->b_size; |
length | 780 | drivers/scsi/sr.c | sgpnt[count].length = end_rec; |
length | 785 | drivers/scsi/sr.c | if (((long) sgpnt[count].address) + sgpnt[count].length > ISA_DMA_THRESHOLD && |
length | 791 | drivers/scsi/sr.c | if(dma_free_sectors < (sgpnt[count].length >> 9) + 5) { |
length | 794 | drivers/scsi/sr.c | sgpnt[count].address = (char *) scsi_malloc(sgpnt[count].length); |
length | 805 | drivers/scsi/sr.c | scsi_free(sgpnt[count].address, sgpnt[count].length); |
length | 822 | drivers/scsi/sr.c | sgpnt[count].length); |
length | 557 | drivers/scsi/u14-34f.c | cpp->sglist[k].num_bytes = sgpnt[k].length; |
length | 558 | drivers/scsi/u14-34f.c | data_len += sgpnt[k].length; |
length | 666 | drivers/scsi/ultrastor.c | mscp->sglist[i].num_bytes = sl[i].length; |
length | 667 | drivers/scsi/ultrastor.c | transfer_length += sl[i].length; |
length | 938 | 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 | 807 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 1064 | fs/hpfs/hpfs_fs.c | if (t < n[i].length) { |
length | 1067 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_n_secs = n[i].length; |
length | 1307 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 1574 | fs/hpfs/hpfs_fs.c | if (de->last || de->length == 0) |
length | 64 | fs/open.c | int do_truncate(struct inode *inode, unsigned long length) |
length | 70 | fs/open.c | newattrs.ia_size = length; |
length | 75 | fs/open.c | vmtruncate(inode, length); |
length | 83 | fs/open.c | asmlinkage int sys_truncate(const char * path, unsigned long length) |
length | 112 | fs/open.c | error = do_truncate(inode, length); |
length | 118 | fs/open.c | asmlinkage int sys_ftruncate(unsigned int fd, unsigned long length) |
length | 131 | fs/open.c | return do_truncate(inode, length); |
length | 786 | fs/proc/array.c | static int get_root_array(char * page, int type, char **start, off_t offset, int length) |
length | 819 | fs/proc/array.c | return get_ksyms_list(page, start, offset, length); |
length | 865 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
length | 869 | fs/proc/array.c | return get_root_array(page, type, start, offset, length); |
length | 878 | fs/proc/array.c | int length; |
length | 892 | fs/proc/array.c | length = fill_array((char *) page, pid, type, |
length | 894 | fs/proc/array.c | if (length < 0) { |
length | 896 | fs/proc/array.c | return length; |
length | 900 | fs/proc/array.c | memcpy_tofs(buf, start, length); |
length | 901 | fs/proc/array.c | file->f_pos += length; |
length | 902 | fs/proc/array.c | count = length; |
length | 905 | fs/proc/array.c | if (file->f_pos >= length) { |
length | 909 | fs/proc/array.c | if (count + file->f_pos > length) |
length | 910 | fs/proc/array.c | count = length - file->f_pos; |
length | 57 | fs/proc/net.c | int length, thistime=bytes; |
length | 61 | fs/proc/net.c | length = dp->get_info(page, &start, |
length | 72 | fs/proc/net.c | if (length <= 0) |
length | 77 | fs/proc/net.c | memcpy_tofs(buf+copied, start, length); |
length | 78 | fs/proc/net.c | file->f_pos += length; /* Move down the file */ |
length | 79 | fs/proc/net.c | bytes -= length; |
length | 80 | fs/proc/net.c | copied += length; |
length | 81 | fs/proc/net.c | if (length<thistime) |
length | 42 | fs/proc/scsi.c | off_t offset, int length, int inout) = 0; |
length | 80 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
length | 94 | fs/proc/scsi.c | if(len > length) |
length | 95 | fs/proc/scsi.c | len = length; |
length | 107 | fs/proc/scsi.c | int length; |
length | 127 | fs/proc/scsi.c | length = dispatch_scsi_info_ptr(inode->i_ino, page, &start, |
length | 130 | fs/proc/scsi.c | length = get_not_present_info(page, &start, file->f_pos, thistime); |
length | 131 | fs/proc/scsi.c | if(length < 0) { |
length | 133 | fs/proc/scsi.c | return(length); |
length | 141 | fs/proc/scsi.c | if (length <= 0) |
length | 148 | fs/proc/scsi.c | memcpy_tofs(buf + copied, start, length); |
length | 149 | fs/proc/scsi.c | file->f_pos += length; /* Move down the file */ |
length | 150 | fs/proc/scsi.c | bytes -= length; |
length | 151 | fs/proc/scsi.c | copied += length; |
length | 153 | fs/proc/scsi.c | if(length < thistime) |
length | 897 | fs/smbfs/proc.c | smb_proc_trunc(struct smb_server *server, word fid, dword length) |
length | 909 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, length); |
length | 699 | fs/smbfs/sock.c | unsigned const char *source, int length) |
length | 729 | fs/smbfs/sock.c | smb_encode_smb_length(nb_header, length); |
length | 735 | fs/smbfs/sock.c | result = _send(sock, (void *)source, length, 0, 0); |
length | 743 | fs/smbfs/sock.c | if (result == length) { |
length | 764 | fs/smbfs/sock.c | result = length; |
length | 241 | include/asm-sparc/floppy.h | static inline void sun_fd_set_dma_count(int length) |
length | 243 | include/asm-sparc/floppy.h | pdma_size = length; |
length | 41 | include/linux/etherdevice.h | unsigned char *src, int length, int base); |
length | 344 | include/linux/fd.h | long length; /* in: length of dma transfer. out: remaining bytes */ |
length | 102 | include/linux/if_ppp.h | u_int length; |
length | 107 | include/linux/iso_fs.h | char length [ISODCL (1, 1)]; /* 711 */ |
length | 237 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
length | 159 | include/linux/smb_fs.h | int smb_proc_trunc(struct smb_server *server, word fid, dword length); |
length | 168 | include/linux/smb_fs.h | unsigned const char *source, int length); |
length | 114 | include/net/ip.h | unsigned short int length, |
length | 9 | include/net/rarp.h | int length, |
length | 143 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
length | 144 | include/net/route.h | extern int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
length | 615 | kernel/module.c | int get_ksyms_list(char *buf, char **start, off_t offset, int length) |
length | 649 | kernel/module.c | if (pos > offset+length) |
length | 657 | kernel/module.c | if (len > length) |
length | 658 | 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 | 233 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 263 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
length | 270 | net/appletalk/ddp.c | if(len>length) |
length | 271 | net/appletalk/ddp.c | len=length; /* Remove unwanted tail data from length */ |
length | 840 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 861 | net/appletalk/ddp.c | if(pos>offset+length) |
length | 866 | net/appletalk/ddp.c | if(len>length) |
length | 867 | net/appletalk/ddp.c | len=length; |
length | 873 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 900 | net/appletalk/ddp.c | if(pos>offset+length) |
length | 905 | net/appletalk/ddp.c | if(len>length) |
length | 906 | net/appletalk/ddp.c | len=length; |
length | 1833 | net/ax25/af_ax25.c | int copied, length; |
length | 1856 | net/ax25/af_ax25.c | length = skb->len + (skb->data - skb->h.raw); |
length | 1860 | net/ax25/af_ax25.c | length = skb->len; |
length | 1864 | net/ax25/af_ax25.c | copied = (size < length) ? size : length; |
length | 2016 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 2066 | net/ax25/af_ax25.c | if (pos > offset + length) |
length | 2075 | 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 | 603 | net/ax25/ax25_route.c | int ax25_bpq_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 626 | net/ax25/ax25_route.c | if (pos > offset + length) |
length | 635 | net/ax25/ax25_route.c | if (len > length) len = length; |
length | 940 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 968 | net/core/dev.c | if(pos>offset+length) |
length | 974 | net/core/dev.c | if(len>length) |
length | 975 | net/core/dev.c | len=length; /* Ending slop */ |
length | 868 | net/core/net_alias.c | int net_alias_types_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 886 | net/core/net_alias.c | if(pos>offset+length) |
length | 891 | net/core/net_alias.c | if(len>length) |
length | 892 | net/core/net_alias.c | len=length; |
length | 905 | net/core/net_alias.c | int net_alias_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 949 | net/core/net_alias.c | if(pos>offset+length) |
length | 954 | net/core/net_alias.c | if(len>length) |
length | 955 | net/core/net_alias.c | len=length; |
length | 735 | net/core/skbuff.c | struct sk_buff *dev_alloc_skb(unsigned int length) |
length | 739 | net/core/skbuff.c | skb = alloc_skb(length+16, GFP_ATOMIC); |
length | 265 | net/ethernet/eth.c | void eth_copy_and_sum(struct sk_buff *dest, unsigned char *src, int length, int base) |
length | 275 | net/ethernet/eth.c | memcpy(dest->data,src,length); |
length | 285 | net/ethernet/eth.c | length -= sizeof(struct iphdr) + ETH_HLEN; |
length | 290 | net/ethernet/eth.c | if ((ip_length <= length) && (ip_length > 7)) |
length | 291 | net/ethernet/eth.c | length=ip_length; |
length | 293 | net/ethernet/eth.c | dest->csum=csum_partial_copy(src+sizeof(struct iphdr)+ETH_HLEN,dest->data+sizeof(struct iphdr)+ETH_HLEN,length,base); |
length | 1318 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 1390 | net/ipv4/arp.c | if (pos >= offset+length) |
length | 1398 | net/ipv4/arp.c | if (len>length) |
length | 1399 | net/ipv4/arp.c | len = length; /* Ending slop */ |
length | 1538 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
length | 1601 | net/ipv4/ip_fw.c | if(pos>offset+length) |
length | 1608 | net/ipv4/ip_fw.c | if(len>length) |
length | 1609 | net/ipv4/ip_fw.c | len=length; |
length | 1617 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1619 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
length | 1628 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1630 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
length | 1635 | net/ipv4/ip_fw.c | int length, int reset) |
length | 1637 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
length | 1645 | net/ipv4/ip_fw.c | int length, int unused) |
length | 1677 | net/ipv4/ip_fw.c | if(pos>offset+length) |
length | 1684 | net/ipv4/ip_fw.c | if(len>length) |
length | 1685 | net/ipv4/ip_fw.c | len=length; |
length | 568 | net/ipv4/ip_output.c | unsigned short int length, |
length | 642 | net/ipv4/ip_output.c | length += sizeof(struct iphdr); |
length | 644 | net/ipv4/ip_output.c | length += opt->optlen; |
length | 646 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
length | 649 | net/ipv4/ip_output.c | struct sk_buff *skb=sock_alloc_send_skb(sk, length+15+dev->hard_header_len,0, noblock, &error); |
length | 683 | net/ipv4/ip_output.c | skb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length); |
length | 690 | net/ipv4/ip_output.c | iph->tot_len = htons(length); |
length | 705 | net/ipv4/ip_output.c | getfrag(frag,saddr,((char *)iph)+iph->ihl*4,0, length-iph->ihl*4); |
length | 708 | net/ipv4/ip_output.c | getfrag(frag,saddr,(void *)iph,0,length-20); |
length | 729 | net/ipv4/ip_output.c | length -= sizeof(struct iphdr); |
length | 732 | net/ipv4/ip_output.c | length -= opt->optlen; |
length | 754 | net/ipv4/ip_output.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
length | 760 | net/ipv4/ip_output.c | fraglen = length - offset + fragheaderlen; |
length | 762 | net/ipv4/ip_output.c | if(length-offset==0) |
length | 43 | net/ipv4/ip_sockglue.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 73 | net/ipv4/ip_sockglue.c | if(pos>offset+length) |
length | 81 | net/ipv4/ip_sockglue.c | if(len>length) |
length | 82 | net/ipv4/ip_sockglue.c | len=length; |
length | 787 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 817 | net/ipv4/ipmr.c | if(pos>offset+length) |
length | 823 | net/ipv4/ipmr.c | if(len>length) |
length | 824 | net/ipv4/ipmr.c | len=length; |
length | 828 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 879 | net/ipv4/ipmr.c | if(pos>offset+length) |
length | 891 | net/ipv4/ipmr.c | if(len>length) |
length | 892 | net/ipv4/ipmr.c | len=length; |
length | 59 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
length | 133 | net/ipv4/proc.c | if(pos>offset+length) |
length | 140 | net/ipv4/proc.c | if(pos>offset+length) |
length | 145 | net/ipv4/proc.c | if(len>length) |
length | 146 | net/ipv4/proc.c | len=length; |
length | 151 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 153 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
length | 157 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 159 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
length | 163 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 165 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
length | 172 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 178 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
length | 191 | net/ipv4/proc.c | if (len > length) |
length | 192 | net/ipv4/proc.c | len = length; |
length | 201 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 268 | net/ipv4/proc.c | if (len > length) |
length | 269 | net/ipv4/proc.c | len = length; |
length | 480 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 531 | net/ipv4/rarp.c | if(pos>offset+length) |
length | 539 | net/ipv4/rarp.c | if (len>length) |
length | 540 | net/ipv4/rarp.c | len = length; /* Ending slop */ |
length | 802 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 874 | net/ipv4/route.c | if (pos >= offset+length) |
length | 886 | net/ipv4/route.c | if (len>length) |
length | 887 | net/ipv4/route.c | len = length; |
length | 891 | net/ipv4/route.c | int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 933 | net/ipv4/route.c | if (pos >= offset+length) |
length | 944 | net/ipv4/route.c | if (len>length) |
length | 945 | net/ipv4/route.c | len = length; |
length | 2857 | net/ipv4/tcp.c | int length=(th->doff*4)-sizeof(struct tcphdr); |
length | 2862 | net/ipv4/tcp.c | while(length>0) |
length | 2871 | net/ipv4/tcp.c | length--; |
length | 2890 | net/ipv4/tcp.c | length-=opsize; |
length | 1216 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1245 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
length | 1252 | net/ipx/af_ipx.c | if(len>length) |
length | 1253 | net/ipx/af_ipx.c | len=length; /* Remove unwanted tail data from length */ |
length | 1259 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1301 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
length | 1309 | net/ipx/af_ipx.c | if(len>length) |
length | 1310 | net/ipx/af_ipx.c | len=length; /* Remove unwanted tail data from length */ |
length | 1316 | net/ipx/af_ipx.c | int length, int dummy) |
length | 1344 | net/ipx/af_ipx.c | if(pos>offset+length) |
length | 1349 | net/ipx/af_ipx.c | if(len>length) |
length | 1350 | net/ipx/af_ipx.c | len=length; |
length | 1281 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 1326 | net/netrom/af_netrom.c | if (pos > offset + length) |
length | 1335 | net/netrom/af_netrom.c | if (len > length) len = length; |
length | 713 | net/netrom/nr_route.c | int length, int dummy) |
length | 748 | net/netrom/nr_route.c | if (pos > offset + length) |
length | 757 | net/netrom/nr_route.c | if (len > length) len = length; |
length | 763 | net/netrom/nr_route.c | int length, int dummy) |
length | 790 | net/netrom/nr_route.c | if (pos > offset + length) |
length | 799 | net/netrom/nr_route.c | if (len > length) len = length; |
length | 1382 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
length | 1392 | net/socket.c | if (len > length) |
length | 1393 | net/socket.c | len = length; |
length | 974 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
length | 1003 | net/unix/af_unix.c | if(pos>offset+length) |
length | 1009 | net/unix/af_unix.c | if(len>length) |
length | 1010 | net/unix/af_unix.c | len=length; |