tag | line | file | source code |
len | 93 | arch/alpha/kernel/irq.c | int i, len = 0; |
len | 99 | arch/alpha/kernel/irq.c | len += sprintf(buf+len, "%2d: %8d %c %s\n", |
len | 104 | arch/alpha/kernel/irq.c | return len; |
len | 264 | arch/i386/boot/compressed/gzip.h | void copy_block OF((char *buf, unsigned len, int header)); |
len | 219 | arch/i386/boot/compressed/misc.c | int len, i; |
len | 224 | arch/i386/boot/compressed/misc.c | len = INBUFSIZ-insize; |
len | 225 | arch/i386/boot/compressed/misc.c | if (len > (input_len-input_ptr+1)) len=input_len-input_ptr+1; |
len | 226 | arch/i386/boot/compressed/misc.c | if (len == 0 || len == EOF) break; |
len | 228 | arch/i386/boot/compressed/misc.c | for (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i]; |
len | 229 | arch/i386/boot/compressed/misc.c | insize += len; |
len | 230 | arch/i386/boot/compressed/misc.c | input_ptr += len; |
len | 397 | arch/i386/boot/compressed/misc.c | unsigned len = (unsigned)get_byte(); |
len | 398 | arch/i386/boot/compressed/misc.c | len |= ((unsigned)get_byte())<<8; |
len | 399 | arch/i386/boot/compressed/misc.c | while (len--) (void)get_byte(); |
len | 18 | arch/i386/boot/compressed/piggyback.c | int c, n=0, len=0; |
len | 35 | arch/i386/boot/compressed/piggyback.c | len = 0; |
len | 36 | arch/i386/boot/compressed/piggyback.c | while ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0) |
len | 37 | arch/i386/boot/compressed/piggyback.c | len += n; |
len | 45 | arch/i386/boot/compressed/piggyback.c | if (len >= sizeof(tmp_buf)) |
len | 51 | arch/i386/boot/compressed/piggyback.c | fprintf(stderr, "Compressed size %d.\n", len); |
len | 56 | arch/i386/boot/compressed/piggyback.c | obj.a_data = len + sizeof(long); |
len | 63 | arch/i386/boot/compressed/piggyback.c | write(1, tmp_buf, len); |
len | 64 | arch/i386/boot/compressed/piggyback.c | write(1, (char *)&len, sizeof(len)); |
len | 69 | arch/i386/boot/compressed/piggyback.c | var_names[1].n_value = len; |
len | 75 | arch/i386/boot/compressed/piggyback.c | len = sizeof(string_names) + sizeof(len); |
len | 76 | arch/i386/boot/compressed/piggyback.c | write(1, (char *)&len, sizeof(len)); |
len | 133 | arch/i386/ibcs/binfmt_elf.c | unsigned int len; |
len | 203 | arch/i386/ibcs/binfmt_elf.c | len = (elf_bss + 0xfff) & 0xfffff000; /* What we have mapped so far */ |
len | 206 | arch/i386/ibcs/binfmt_elf.c | if (last_bss > len) |
len | 207 | arch/i386/ibcs/binfmt_elf.c | do_mmap(NULL, len, last_bss-len, |
len | 570 | arch/i386/ibcs/binfmt_elf.c | unsigned int len; |
len | 577 | arch/i386/ibcs/binfmt_elf.c | len = 0; |
len | 645 | arch/i386/ibcs/binfmt_elf.c | len = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000; |
len | 647 | arch/i386/ibcs/binfmt_elf.c | if (bss > len) |
len | 648 | arch/i386/ibcs/binfmt_elf.c | do_mmap(NULL, len, bss-len, |
len | 165 | arch/i386/kernel/irq.c | int i, len = 0; |
len | 171 | arch/i386/kernel/irq.c | len += sprintf(buf+len, "%2d: %8d %c %s\n", |
len | 176 | arch/i386/kernel/irq.c | return len; |
len | 83 | arch/i386/kernel/setup.c | int len = 0; |
len | 118 | arch/i386/kernel/setup.c | if (COMMAND_LINE_SIZE <= ++len) |
len | 114 | arch/mips/kernel/irq.c | int i, len = 0; |
len | 120 | arch/mips/kernel/irq.c | len += sprintf(buf+len, "%2d: %8d %c %s\n", |
len | 125 | arch/mips/kernel/irq.c | return len; |
len | 75 | arch/mips/kernel/setup.c | int len = 0; |
len | 106 | arch/mips/kernel/setup.c | if (CL_SIZE <= ++len) |
len | 114 | arch/sparc/kernel/idprom.c | register int len, node_root; |
len | 119 | arch/sparc/kernel/idprom.c | len = (*(romvec->pv_nodeops->no_proplen))(node_root, "vac_hwflush"); |
len | 122 | arch/sparc/kernel/idprom.c | printf("DEBUG: find_vac_hwflushes: proplen vac_hwflush=0x%x\n", len); |
len | 128 | arch/sparc/kernel/idprom.c | len |= (*(romvec->pv_nodeops->no_proplen))(node_root, "vac-hwflush"); |
len | 131 | arch/sparc/kernel/idprom.c | printf("DEBUG: find_vac_hwflushes: proplen vac-hwflush=0x%x\n", len); |
len | 134 | arch/sparc/kernel/idprom.c | len = (*(romvec->pv_nodeops->no_getprop))(node_root,"vac_hwflush", |
len | 136 | arch/sparc/kernel/idprom.c | if(len != 4) tmp1=0; |
len | 138 | arch/sparc/kernel/idprom.c | len = (*(romvec->pv_nodeops->no_getprop))(node_root, "vac-hwflush", |
len | 140 | arch/sparc/kernel/idprom.c | if(len != 4) tmp2=0; |
len | 149 | arch/sparc/kernel/idprom.c | register int root_node, len; |
len | 153 | arch/sparc/kernel/idprom.c | len = (*(romvec->pv_nodeops->no_getprop))(root_node, "mmu-npmg", |
len | 157 | arch/sparc/kernel/idprom.c | printf("find_mmu_num_segmaps: property length = %d\n", len); |
len | 160 | arch/sparc/kernel/idprom.c | if(len != 4) num_segmaps = 128; |
len | 168 | arch/sparc/kernel/idprom.c | register int root_node, len; |
len | 172 | arch/sparc/kernel/idprom.c | len = (*(romvec->pv_nodeops->no_getprop))(root_node, "mmu-nctx", |
len | 176 | arch/sparc/kernel/idprom.c | printf("find_mmu_num_contexts: property length = %d\n", len); |
len | 179 | arch/sparc/kernel/idprom.c | if(len != 4) num_contexts = 8; |
len | 156 | arch/sparc/kernel/irq.c | int i, len = 0; |
len | 162 | arch/sparc/kernel/irq.c | len += sprintf(buf+len, "%2d: %8d %c %s\n", |
len | 167 | arch/sparc/kernel/irq.c | return len; |
len | 382 | drivers/block/ide-cd.c | int cdrom_read_check_ireason (ide_dev_t *dev, int len, int ireason) |
len | 396 | drivers/block/ide-cd.c | while (len > 0) |
len | 400 | drivers/block/ide-cd.c | len -= 2; |
len | 423 | drivers/block/ide-cd.c | int ireason, len, sectors_to_transfer, nskip; |
len | 432 | drivers/block/ide-cd.c | len = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif); |
len | 453 | drivers/block/ide-cd.c | if (cdrom_read_check_ireason (dev, len, ireason)) return; |
len | 457 | drivers/block/ide-cd.c | if ((len % SECTOR_SIZE) != 0) |
len | 460 | drivers/block/ide-cd.c | dev->name, len); |
len | 468 | drivers/block/ide-cd.c | sectors_to_transfer = len / SECTOR_SIZE; |
len | 722 | drivers/block/ide-cd.c | int ireason, len, stat, thislen; |
len | 731 | drivers/block/ide-cd.c | len = IN_BYTE (HD_LCYL, dev->hwif) + 256 * IN_BYTE (HD_HCYL, dev->hwif); |
len | 753 | drivers/block/ide-cd.c | if (thislen > len) thislen = len; |
len | 772 | drivers/block/ide-cd.c | while (len > thislen) |
len | 776 | drivers/block/ide-cd.c | len -= 2; |
len | 801 | drivers/block/ide-cd.c | while (len > thislen) |
len | 805 | drivers/block/ide-cd.c | len -= 2; |
len | 842 | drivers/block/ide-cd.c | int len; |
len | 846 | drivers/block/ide-cd.c | len = pc->buflen; |
len | 847 | drivers/block/ide-cd.c | if (len < 0) len = -len; |
len | 851 | drivers/block/ide-cd.c | if (cdrom_start_packet_command (dev, len)) |
len | 35 | drivers/block/ramdisk.c | int len; |
len | 41 | drivers/block/ramdisk.c | len = CURRENT->current_nr_sectors << 9; |
len | 44 | drivers/block/ramdisk.c | (addr+len > rd_start+rd_length)) { |
len | 51 | drivers/block/ramdisk.c | len); |
len | 55 | drivers/block/ramdisk.c | len); |
len | 1139 | drivers/block/sbpcd.c | static int cmd_out(int len) |
len | 1146 | drivers/block/sbpcd.c | for (i=0;i<len;i++) DPRINTF((DBG_CMD," %02X",drvcmd[i])); |
len | 1150 | drivers/block/sbpcd.c | for (i=0;i<len;i++) OUT(CDo_command,drvcmd[i]); |
len | 367 | drivers/net/3c501.c | int gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN); |
len | 387 | drivers/net/3c501.c | outsb(DATAPORT,buf,skb->len); /* load buffer (usual thing each byte increments the pointer) */ |
len | 566 | drivers/net/3c501.c | skb->len = pkt_len; |
len | 544 | drivers/net/3c505.c | int len) |
len | 559 | drivers/net/3c505.c | int sksize = sizeof(struct sk_buff) + len + 4; |
len | 565 | drivers/net/3c505.c | if (len <= 0 || ((len & ~1) != len)) |
len | 567 | drivers/net/3c505.c | printk("*** bad packet len %d at %s(%d)\n",len,filename,__LINE__); |
len | 569 | drivers/net/3c505.c | rlen = (len+1) & ~1; |
len | 600 | drivers/net/3c505.c | skb->len = rlen; |
len | 671 | drivers/net/3c505.c | int len; |
len | 783 | drivers/net/3c505.c | len = adapter->irx_pcb.data.rcv_resp.pkt_len; |
len | 789 | drivers/net/3c505.c | printk("%s: interrupt - packet received of length %i (%i)\n", dev->name, len, dlen); |
len | 969 | drivers/net/3c505.c | static int send_packet (elp_device * adapter, unsigned char * ptr, int len) |
len | 977 | drivers/net/3c505.c | unsigned int nlen = (((len < 60) ? 60 : len) + 1) & (~1); |
len | 982 | drivers/net/3c505.c | if (nlen < len) |
len | 983 | drivers/net/3c505.c | printk("Warning, bad length nlen=%d len=%d %s(%d)\n",nlen,len,filename,__LINE__); |
len | 1062 | drivers/net/3c505.c | if (skb->len <= 0) |
len | 1066 | drivers/net/3c505.c | printk("%s: request to send packet of length %d\n", dev->name, (int)skb->len); |
len | 1086 | drivers/net/3c505.c | if (!send_packet(adapter, (unsigned char *)SKB_DATA, skb->len)) { |
len | 1092 | drivers/net/3c505.c | printk("%s: packet of length %d sent\n", dev->name, (int)skb->len); |
len | 491 | drivers/net/3c507.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 844 | drivers/net/3c507.c | skb->len = pkt_len; |
len | 402 | drivers/net/3c509.c | if (skb->len <= 0) |
len | 407 | drivers/net/3c509.c | dev->name, skb->len, inw(ioaddr + EL3_STATUS)); |
len | 431 | drivers/net/3c509.c | outw(skb->len, ioaddr + TX_FIFO); |
len | 434 | drivers/net/3c509.c | outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); |
len | 599 | drivers/net/3c509.c | skb->len = pkt_len; |
len | 169 | drivers/net/8390.c | length = skb->len; |
len | 170 | drivers/net/8390.c | if (skb->len <= 0) |
len | 457 | drivers/net/8390.c | skb->len = pkt_len; |
len | 356 | drivers/net/apricot.c | skb->len = pkt_len; |
len | 620 | drivers/net/apricot.c | if (skb->len <= 0) return 0; |
len | 630 | drivers/net/apricot.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 380 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len,struct sk_buff *skb); |
len | 1008 | drivers/net/arcnet.c | out->length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 1013 | drivers/net/arcnet.c | for( i=0; i< skb->len; i++) |
len | 1603 | drivers/net/arcnet.c | skb->len = length; |
len | 1668 | drivers/net/arcnet.c | for( i=0; i< skb->len; i++) |
len | 1753 | drivers/net/arcnet.c | skb->len=sizeof(struct ClientData); |
len | 1801 | drivers/net/arcnet.c | memcpy(skb->data+skb->len, |
len | 1805 | drivers/net/arcnet.c | skb->len+=length-sizeof(struct ClientData); |
len | 1840 | drivers/net/arcnet.c | for( i=0; i< skb->len; i++) |
len | 1989 | drivers/net/arcnet.c | void *daddr,void *saddr,unsigned len,struct sk_buff *skb) |
len | 407 | drivers/net/at1700.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 540 | drivers/net/at1700.c | skb->len = pkt_len; |
len | 448 | drivers/net/atp.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 679 | drivers/net/atp.c | skb->len = pkt_len; |
len | 339 | drivers/net/de4x5.c | static void create_packet(struct device *dev, char *frame, int len); |
len | 851 | drivers/net/de4x5.c | } else if (skb->len > 0) { |
len | 865 | drivers/net/de4x5.c | load_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb); |
len | 963 | drivers/net/de4x5.c | skb->len = pkt_len; |
len | 967 | drivers/net/de4x5.c | short len = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ; |
len | 968 | drivers/net/de4x5.c | memcpy(skb->data, lp->rx_ring[lp->rx_old].buf, len); |
len | 969 | drivers/net/de4x5.c | memcpy(skb->data + len, lp->rx_ring[0].buf, pkt_len - len); |
len | 1579 | drivers/net/de4x5.c | static void create_packet(struct device *dev, char *frame, int len) |
len | 1591 | drivers/net/de4x5.c | *buf++ = (char) ((len >> 8*j) & 0xff); |
len | 1595 | drivers/net/de4x5.c | for (i=len-4; i<len; i++) { /* CRC */ |
len | 1809 | drivers/net/de4x5.c | ioc->len = ETH_ALEN; |
len | 1810 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
len | 1873 | drivers/net/de4x5.c | ioc->len = (HASH_TABLE_LEN >> 3); |
len | 1879 | drivers/net/de4x5.c | if (ioc->len != HASH_TABLE_LEN) { /* MCA changes */ |
len | 1880 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
len | 1882 | drivers/net/de4x5.c | set_multicast_list(dev, ioc->len, tmp.addr); |
len | 1910 | drivers/net/de4x5.c | ioc->len = DE4X5_PKT_STAT_SZ; |
len | 2008 | drivers/net/de4x5.c | ioc->len = j; |
len | 2009 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
len | 465 | drivers/net/de4x5.h | unsigned short len; /* Length of the data buffer */ |
len | 407 | drivers/net/de600.c | int len; |
len | 441 | drivers/net/de600.c | PRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages)); |
len | 443 | drivers/net/de600.c | if ((len = skb->len) < RUNT) |
len | 444 | drivers/net/de600.c | len = RUNT; |
len | 448 | drivers/net/de600.c | tx_fifo[tx_fifo_in] = transmit_from = tx_page_adr(tx_fifo_in) - len; |
len | 464 | drivers/net/de600.c | for ( ; len > 0; --len, ++buffer) |
len | 488 | drivers/net/de620.c | int len; |
len | 524 | drivers/net/de620.c | if ((len = skb->len) < RUNT) |
len | 525 | drivers/net/de620.c | len = RUNT; |
len | 526 | drivers/net/de620.c | if (len & 1) /* send an even number of bytes */ |
len | 527 | drivers/net/de620.c | ++len; |
len | 534 | drivers/net/de620.c | (int)skb->len, using_txbuf)); |
len | 555 | drivers/net/de620.c | de620_write_block(buffer, len); |
len | 688 | drivers/net/de620.c | skb->len = size; skb->dev = dev; skb->free = 1; |
len | 839 | drivers/net/depca.c | if (skb->len <= 0) { |
len | 862 | drivers/net/depca.c | int len; |
len | 863 | drivers/net/depca.c | long skbL = skb->len; |
len | 877 | drivers/net/depca.c | len = ((skbL > PKT_SZ) ? PKT_SZ : skbL); /* skb too long */ |
len | 878 | drivers/net/depca.c | if (len < ETH_ZLEN) len = ETH_ZLEN; /* len too short */ |
len | 879 | drivers/net/depca.c | skbL -= len; |
len | 880 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
len | 886 | drivers/net/depca.c | memcpy((unsigned char *)(buf), skb->data, len); |
len | 898 | drivers/net/depca.c | for (p += len; skbL > 0; p += len) { |
len | 914 | drivers/net/depca.c | len = ((skbL > DAT_SZ) ? DAT_SZ : skbL); /* skbL too long */ |
len | 915 | drivers/net/depca.c | if (len < ETH_ZLEN) len = ETH_ZLEN; /* len too short */ |
len | 916 | drivers/net/depca.c | skbL -= len; |
len | 917 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
len | 923 | drivers/net/depca.c | memcpy((unsigned char *)(buf + PKT_HDR_LEN), (unsigned char *)p, len); |
len | 1065 | drivers/net/depca.c | skb->len = pkt_len; |
len | 496 | drivers/net/eexpress.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 950 | drivers/net/eexpress.c | skb->len = pkt_len; |
len | 798 | drivers/net/ewrk3.c | } else if (skb->len > 0) { |
len | 851 | drivers/net/ewrk3.c | outb((char)(skb->len & 0xff), EWRK3_DATA); |
len | 852 | drivers/net/ewrk3.c | outb((char)((skb->len >> 8) & 0xff), EWRK3_DATA); |
len | 854 | drivers/net/ewrk3.c | for (i=0; i<skb->len; i++) { |
len | 860 | drivers/net/ewrk3.c | *buf++ = (char)(skb->len & 0xff); /* length (16 bit xfer)*/ |
len | 862 | drivers/net/ewrk3.c | *buf++ = (char)(((skb->len >> 8) & 0xff) | XCT); |
len | 864 | drivers/net/ewrk3.c | *(buf + skb->len) = 0x00; /* Write the XCT flag */ |
len | 867 | drivers/net/ewrk3.c | memcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD); |
len | 868 | drivers/net/ewrk3.c | *(buf + skb->len) = 0xff; /* Write the XCT flag */ |
len | 870 | drivers/net/ewrk3.c | *buf++ = (char)((skb->len >> 8) & 0xff); |
len | 872 | drivers/net/ewrk3.c | memcpy(buf, skb->data, skb->len); /* Write data bytes */ |
len | 1039 | drivers/net/ewrk3.c | skb->len = pkt_len; |
len | 1046 | drivers/net/ewrk3.c | for (i=0; i<skb->len; i++) { |
len | 1625 | drivers/net/ewrk3.c | ioc->len = ETH_ALEN; |
len | 1626 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
len | 1685 | drivers/net/ewrk3.c | ioc->len = (HASH_TABLE_LEN >> 3); |
len | 1686 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
len | 1692 | drivers/net/ewrk3.c | if (ioc->len != HASH_TABLE_LEN) { /* MCA changes */ |
len | 1693 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
len | 1695 | drivers/net/ewrk3.c | set_multicast_list(dev, ioc->len, tmp.addr); |
len | 1723 | drivers/net/ewrk3.c | ioc->len = EWRK3_PKT_STAT_SZ; |
len | 1761 | drivers/net/ewrk3.c | ioc->len = EEPROM_MAX + 1 + ETH_ALEN; |
len | 1762 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
len | 295 | drivers/net/ewrk3.h | unsigned short len; /* Length of the data buffer */ |
len | 698 | drivers/net/lance.c | if (skb->len <= 0) |
len | 733 | drivers/net/lance.c | -(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN); |
len | 735 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
len | 741 | drivers/net/lance.c | if ((int)(skb->data) + skb->len > 0x01000000) { |
len | 745 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
len | 933 | drivers/net/lance.c | skb->len = pkt_len; |
len | 64 | drivers/net/loopback.c | done = dev_rint(skb->data, skb->len, 0, dev); |
len | 604 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
len | 605 | drivers/net/ni52.c | if(len <= 0) |
len | 611 | drivers/net/ni52.c | if(len < num_addrs) |
len | 613 | drivers/net/ni52.c | num_addrs = len; |
len | 809 | drivers/net/ni52.c | skb->len = totlen; |
len | 929 | drivers/net/ni52.c | int len,i; |
len | 977 | drivers/net/ni52.c | if (skb->len <= 0) |
len | 979 | drivers/net/ni52.c | if(skb->len > XMIT_BUFF_SIZE) |
len | 981 | drivers/net/ni52.c | printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %ld bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len); |
len | 989 | drivers/net/ni52.c | memcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len); |
len | 990 | drivers/net/ni52.c | len = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; |
len | 994 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
len | 1015 | drivers/net/ni52.c | p->xmit_buffs[0]->size = TBD_LAST | len; |
len | 1027 | drivers/net/ni52.c | p->xmit_buffs[p->xmit_count]->size = TBD_LAST | len; |
len | 499 | drivers/net/ni65.c | int rmdstat,len; |
len | 528 | drivers/net/ni65.c | len = (rmdp->mlen & 0x0fff) - 4; /* -4: ignore FCS */ |
len | 533 | drivers/net/ni65.c | memcpy(skb->data,p->recv_skb[p->rmdnum]->data,len); |
len | 543 | drivers/net/ni65.c | skb1->len = len; |
len | 587 | drivers/net/ni65.c | if (skb->len <= 0) |
len | 602 | drivers/net/ni65.c | short len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 610 | drivers/net/ni65.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len); |
len | 613 | drivers/net/ni65.c | tmdp->blen = -len; |
len | 541 | drivers/net/plip.c | rcv->skb->len = rcv->length.h; |
len | 889 | drivers/net/plip.c | if (skb->len > dev->mtu) { |
len | 890 | drivers/net/plip.c | printk("%s: packet too big, %d.\n", dev->name, (int)skb->len); |
len | 901 | drivers/net/plip.c | snd->length.h = skb->len; |
len | 123 | drivers/net/ppp.c | unsigned long saddr, unsigned len); |
len | 1164 | drivers/net/ppp.c | unsigned char *buf, int len) |
len | 1169 | drivers/net/ppp.c | totlen = len+2; /* including protocol */ |
len | 1182 | drivers/net/ppp.c | while (len-- > 0) { |
len | 1230 | drivers/net/ppp.c | int len, i; |
len | 1260 | drivers/net/ppp.c | GETC (c); len = c << 8; GETC (c); len += c; |
len | 1262 | drivers/net/ppp.c | PRINTKN (4,(KERN_DEBUG "ppp_read: len = %d\n", len)); |
len | 1264 | drivers/net/ppp.c | if (len + 2 > nr) { |
len | 1268 | drivers/net/ppp.c | nr, len+2)); |
len | 1269 | drivers/net/ppp.c | ppp->us_rbuff_head += len; |
len | 1280 | drivers/net/ppp.c | i = len; |
len | 1288 | drivers/net/ppp.c | PRINTKN (3,(KERN_DEBUG "ppp_read: passing %d bytes up\n", len + 2)); |
len | 1290 | drivers/net/ppp.c | return len + 2; |
len | 1694 | drivers/net/ppp.c | int len; |
len | 1706 | drivers/net/ppp.c | len = skb->len; |
len | 1727 | drivers/net/ppp.c | if (len < sizeof(struct iphdr)) { |
len | 1731 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
len | 1736 | drivers/net/ppp.c | if (ppp_us_queue (ppp, proto, p, len)) |
len | 1754 | drivers/net/ppp.c | len = slhc_compress(ppp->slcomp, p, len, ppp->cbuff, &p, 0); |
len | 1774 | drivers/net/ppp.c | dev->name, (int) proto, (int) len, (int) iph->saddr, |
len | 1798 | drivers/net/ppp.c | while (len-- > 0) |
len | 1832 | drivers/net/ppp.c | unsigned long daddr, unsigned long saddr, unsigned len) |
len | 1852 | drivers/net/ppp.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
len | 1250 | drivers/net/sk_g16.c | short len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 1259 | drivers/net/sk_g16.c | skb->len); |
len | 1261 | drivers/net/sk_g16.c | tmdp->blen = -len; /* set length to transmit */ |
len | 1570 | drivers/net/sk_g16.c | int len = (rmdp->mlen & 0x0fff); /* extract message length from receive buffer */ |
len | 1573 | drivers/net/sk_g16.c | skb = alloc_skb(len, GFP_ATOMIC); /* allocate socket buffer */ |
len | 1593 | drivers/net/sk_g16.c | skb->len = len; |
len | 1604 | drivers/net/sk_g16.c | len); |
len | 340 | drivers/net/skeleton.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 425 | drivers/net/skeleton.c | skb->len = pkt_len; |
len | 498 | drivers/net/slhc.c | int len, hdrlen; |
len | 603 | drivers/net/slhc.c | len = isize - (cp - icp); |
len | 604 | drivers/net/slhc.c | if (len < 0) |
len | 606 | drivers/net/slhc.c | len += hdrlen; |
len | 607 | drivers/net/slhc.c | ip->tot_len = htons(len); |
len | 610 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
len | 631 | drivers/net/slhc.c | return len; |
len | 91 | drivers/net/slip.c | static int slip_esc(unsigned char *p, unsigned char *d, int len); |
len | 94 | drivers/net/slip.c | static int slip_esc6(unsigned char *p, unsigned char *d, int len); |
len | 162 | drivers/net/slip.c | int len; |
len | 165 | drivers/net/slip.c | len = dev->mtu * 2; |
len | 171 | drivers/net/slip.c | if (len < 576 * 2) { |
len | 172 | drivers/net/slip.c | len = 576 * 2; |
len | 175 | drivers/net/slip.c | xbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
len | 176 | drivers/net/slip.c | rbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
len | 178 | drivers/net/slip.c | cbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC); |
len | 214 | drivers/net/slip.c | if (sl->xleft <= len) { |
len | 224 | drivers/net/slip.c | if (sl->rcount <= len) { |
len | 237 | drivers/net/slip.c | sl->buffsize = len; |
len | 321 | drivers/net/slip.c | skb->len = count; |
len | 330 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
len | 344 | drivers/net/slip.c | if (len > sl->mtu) { /* Sigh, shouldn't occur BUT ... */ |
len | 345 | drivers/net/slip.c | len = sl->mtu; |
len | 355 | drivers/net/slip.c | len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1); |
len | 360 | drivers/net/slip.c | count = slip_esc6(p, (unsigned char *) sl->xbuff, len); |
len | 363 | drivers/net/slip.c | count = slip_esc(p, (unsigned char *) sl->xbuff, len); |
len | 454 | drivers/net/slip.c | sl_encaps(sl, skb->data, skb->len); |
len | 479 | drivers/net/slip.c | void *daddr, void *saddr, unsigned len, struct sk_buff *skb) |
len | 486 | drivers/net/slip.c | return ax25_encapsulate(buff, dev, type, daddr, saddr, len, skb); |
len | 517 | drivers/net/slip.c | unsigned long len; |
len | 530 | drivers/net/slip.c | len = dev->mtu * 2; |
len | 536 | drivers/net/slip.c | if (len < 576 * 2) { |
len | 537 | drivers/net/slip.c | len = 576 * 2; |
len | 539 | drivers/net/slip.c | sl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
len | 543 | drivers/net/slip.c | sl->xbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
len | 548 | drivers/net/slip.c | sl->cbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL); |
len | 563 | drivers/net/slip.c | sl->buffsize = len; |
len | 784 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
len | 802 | drivers/net/slip.c | while (len-- > 0) { |
len | 865 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
len | 885 | drivers/net/slip.c | for (i = 0; i < len; ++i) { |
len | 406 | drivers/net/tulip.c | if (skb == NULL || skb->len <= 0) { |
len | 429 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
len | 619 | drivers/net/tulip.c | skb->len = pkt_len; |
len | 1282 | drivers/net/wavelan.c | length = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; |
len | 1485 | drivers/net/wavelan.c | skb->len = pkt_len; |
len | 1947 | drivers/net/wavelan.c | int len; |
len | 1953 | drivers/net/wavelan.c | len = 0; |
len | 1960 | drivers/net/wavelan.c | len += size; |
len | 1971 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
len | 1973 | drivers/net/wavelan.c | len += size; |
len | 1974 | drivers/net/wavelan.c | pos = begin + len; |
len | 1978 | drivers/net/wavelan.c | len = 0; |
len | 1991 | drivers/net/wavelan.c | len -= (offset - begin); /* Start slop */ |
len | 1992 | drivers/net/wavelan.c | if (len > length) |
len | 1993 | drivers/net/wavelan.c | len = length; /* Ending slop */ |
len | 1995 | drivers/net/wavelan.c | return len; |
len | 360 | drivers/net/znet.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 386 | drivers/net/znet.c | memcpy(zn.tx_cur, buf, skb->len); |
len | 558 | drivers/net/znet.c | skb->len = pkt_len; |
len | 1983 | drivers/scsi/53c7,8xx.c | size_t len; |
len | 2000 | drivers/scsi/53c7,8xx.c | len = strlen(buf); |
len | 2003 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (long *) bp->addr); |
len | 2005 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "\n"); |
len | 2007 | drivers/scsi/53c7,8xx.c | len = strlen(buf); |
len | 2008 | drivers/scsi/53c7,8xx.c | debugger_kernel_write (host, buf, len); |
len | 2020 | drivers/scsi/53c7,8xx.c | size_t len; |
len | 2080 | drivers/scsi/53c7,8xx.c | int i, j, error, len; |
len | 2101 | drivers/scsi/53c7,8xx.c | len = strlen (debugger_tokens[i].name); |
len | 2102 | drivers/scsi/53c7,8xx.c | if (!strncmp(input_buf, debugger_tokens[i].name, len)) |
len | 2109 | drivers/scsi/53c7,8xx.c | for (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) { |
len | 3634 | drivers/scsi/53c7,8xx.c | size_t len = strlen(buf); |
len | 3635 | drivers/scsi/53c7,8xx.c | debugger_kernel_write(host, buf, len); |
len | 3775 | drivers/scsi/53c7,8xx.c | int i, len; |
len | 3786 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
len | 3788 | drivers/scsi/53c7,8xx.c | len = print_msg (ptr); |
len | 1171 | drivers/scsi/NCR5380.c | int len; |
len | 1411 | drivers/scsi/NCR5380.c | len = 3; |
len | 1415 | drivers/scsi/NCR5380.c | len = 1; |
len | 1422 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1915 | drivers/scsi/NCR5380.c | int len; |
len | 2002 | drivers/scsi/NCR5380.c | len = transfersize; |
len | 2004 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
len | 2018 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual -= transfersize - len; |
len | 2026 | drivers/scsi/NCR5380.c | len = 1; |
len | 2028 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2230 | drivers/scsi/NCR5380.c | len = 2; |
len | 2233 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2241 | drivers/scsi/NCR5380.c | if (!len && extended_msg[1] <= |
len | 2245 | drivers/scsi/NCR5380.c | len = extended_msg[1] - 1; |
len | 2249 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2253 | drivers/scsi/NCR5380.c | instance->host_no, len); |
len | 2263 | drivers/scsi/NCR5380.c | } else if (len) { |
len | 2297 | drivers/scsi/NCR5380.c | len = 1; |
len | 2300 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2312 | drivers/scsi/NCR5380.c | len = cmd->cmd_len; |
len | 2319 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, |
len | 2334 | drivers/scsi/NCR5380.c | len = 1; |
len | 2336 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2381 | drivers/scsi/NCR5380.c | int len; |
len | 2425 | drivers/scsi/NCR5380.c | len = 1; |
len | 2428 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2490 | drivers/scsi/NCR5380.c | len = 1; |
len | 2494 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 2579 | drivers/scsi/NCR5380.c | int len; |
len | 2710 | drivers/scsi/NCR5380.c | len = 1; |
len | 2713 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (instance, &phase, &len, &msgptr); |
len | 154 | drivers/scsi/aha1542.c | static int aha1542_out(unsigned int base, unchar *cmdp, int len) |
len | 158 | drivers/scsi/aha1542.c | if(len == 1) { |
len | 171 | drivers/scsi/aha1542.c | while (len--) |
len | 181 | drivers/scsi/aha1542.c | printk("aha1542_out failed(%d): ", len+1); aha1542_stat(); |
len | 187 | drivers/scsi/aha1542.c | static int aha1542_in(unsigned int base, unchar *cmdp, int len) |
len | 193 | drivers/scsi/aha1542.c | while (len--) |
len | 202 | drivers/scsi/aha1542.c | printk("aha1542_in failed(%d): ", len+1); aha1542_stat(); |
len | 209 | drivers/scsi/aha1542.c | static int aha1542_in1(unsigned int base, unchar *cmdp, int len) |
len | 215 | drivers/scsi/aha1542.c | while (len--) |
len | 289 | drivers/scsi/aha1542.c | int len; |
len | 322 | drivers/scsi/aha1542.c | len = 4; |
len | 325 | drivers/scsi/aha1542.c | while (len--) |
len | 246 | drivers/scsi/buslogic.c | size_t len) |
len | 250 | drivers/scsi/buslogic.c | if (len == 1) { |
len | 265 | drivers/scsi/buslogic.c | while (len--) { |
len | 274 | drivers/scsi/buslogic.c | buslogic_printk("failed(%u): ", len + 1); |
len | 282 | drivers/scsi/buslogic.c | static int buslogic_in(unsigned int base, unsigned char *cmdp, size_t len) |
len | 288 | drivers/scsi/buslogic.c | while (len--) { |
len | 297 | drivers/scsi/buslogic.c | buslogic_printk("failed(%u): ", len + 1); |
len | 478 | drivers/scsi/constants.c | int len = 0, i; |
len | 480 | drivers/scsi/constants.c | len = 3 + msg[1]; |
len | 499 | drivers/scsi/constants.c | for (i = 2; i < len; ++i) |
len | 503 | drivers/scsi/constants.c | for (i = 0; i < len; ++i) |
len | 516 | drivers/scsi/constants.c | len = 1; |
len | 527 | drivers/scsi/constants.c | len = 1; |
len | 540 | drivers/scsi/constants.c | len = 2; |
len | 547 | drivers/scsi/constants.c | return len; |
len | 235 | drivers/scsi/eata.c | ushort len; /* Number of bytes following this field */ |
len | 459 | drivers/scsi/eata.c | config.len = (ushort) htons((ushort)510); |
len | 363 | drivers/scsi/eata_dma.c | cp->sg_list[i].len = htonl((ulong) sl->length); |
len | 681 | drivers/scsi/eata_dma.c | (uint) ntohl(gc->len), gc->version, |
len | 714 | drivers/scsi/eata_dma.c | if(gc->HAA_valid == FALSE || ntohl(gc->len) <= 0x1e) |
len | 788 | drivers/scsi/eata_dma.c | switch (ntohl(gc->len)) { |
len | 243 | drivers/scsi/eata_dma.h | ulong len; |
len | 247 | drivers/scsi/eata_dma.h | ulong len; /* Should return 0x22 */ |
len | 477 | drivers/scsi/pas16.c | int len) { |
len | 481 | drivers/scsi/pas16.c | register i = len; |
len | 510 | drivers/scsi/pas16.c | int len) { |
len | 513 | drivers/scsi/pas16.c | register i = len; |
len | 1843 | drivers/scsi/scsi.c | void *scsi_malloc(unsigned int len) |
len | 1848 | drivers/scsi/scsi.c | if((len & 0x1ff) || len > (1<<MALLOC_PAGEBITS)) |
len | 1853 | drivers/scsi/scsi.c | nbits = len >> 9; |
len | 1863 | drivers/scsi/scsi.c | printk("SMalloc: %d %x ",len, dma_malloc_pages[i] + (j << 9)); |
len | 1872 | drivers/scsi/scsi.c | int scsi_free(void *obj, unsigned int len) |
len | 1879 | drivers/scsi/scsi.c | printk("Sfree %x %d\n",obj, len); |
len | 1896 | drivers/scsi/scsi.c | nbits = len >> 9; |
len | 32 | drivers/scsi/scsi_ioctl.c | unsigned int len,slen; |
len | 36 | drivers/scsi/scsi_ioctl.c | len = get_fs_long ((unsigned long *) buffer); |
len | 43 | drivers/scsi/scsi_ioctl.c | if (len > slen) |
len | 44 | drivers/scsi/scsi_ioctl.c | len = slen + 1; |
len | 45 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, buffer, len); |
len | 46 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
len | 583 | drivers/scsi/seagate.c | int len = 0; |
len | 712 | drivers/scsi/seagate.c | len=current_bufflen; /* WDE add */ |
len | 910 | drivers/scsi/seagate.c | len = buffer->length; |
len | 917 | drivers/scsi/seagate.c | len = SCint->request_bufflen; |
len | 922 | drivers/scsi/seagate.c | printk("scsi%d : len = %d\n", hostno, len); |
len | 1035 | drivers/scsi/seagate.c | if (!len) { |
len | 1045 | drivers/scsi/seagate.c | if (fast && transfersize && !(len % transfersize) && (len >= transfersize) |
len | 1053 | drivers/scsi/seagate.c | SCint->transfersize, len, data); |
len | 1075 | drivers/scsi/seagate.c | len -= transfersize; |
len | 1080 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1136 | drivers/scsi/seagate.c | "=S" (data), "=c" (len) : |
len | 1138 | drivers/scsi/seagate.c | "0" (data), "1" (len) : |
len | 1143 | drivers/scsi/seagate.c | if (!len && nobuffs) { |
len | 1146 | drivers/scsi/seagate.c | len = buffer->length; |
len | 1150 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1159 | drivers/scsi/seagate.c | transfered += len; |
len | 1161 | drivers/scsi/seagate.c | for (; len && (STATUS & (REQ_MASK | STAT_REQ)) == (REQ_DATAIN | |
len | 1162 | drivers/scsi/seagate.c | STAT_REQ); --len) { |
len | 1167 | drivers/scsi/seagate.c | transfered -= len; |
len | 1172 | drivers/scsi/seagate.c | if (fast && transfersize && !(len % transfersize) && (len >= transfersize) |
len | 1180 | drivers/scsi/seagate.c | SCint->transfersize, len, data); |
len | 1202 | drivers/scsi/seagate.c | len -= transfersize; |
len | 1212 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1220 | drivers/scsi/seagate.c | printk("scsi%d: transfered += %d\n", hostno, len); |
len | 1221 | drivers/scsi/seagate.c | transfered += len; /* Assume we'll transfer it all, then |
len | 1276 | drivers/scsi/seagate.c | "=D" (data), "=c" (len) : |
len | 1278 | drivers/scsi/seagate.c | "0" (data), "1" (len) : |
len | 1283 | drivers/scsi/seagate.c | printk("scsi%d: transfered -= %d\n", hostno, len); |
len | 1284 | drivers/scsi/seagate.c | transfered -= len; /* Since we assumed all of Len got |
len | 1289 | drivers/scsi/seagate.c | if (!len && nobuffs) { |
len | 1292 | drivers/scsi/seagate.c | len = buffer->length; |
len | 1296 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1363 | drivers/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 1395 | drivers/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 1406 | drivers/scsi/seagate.c | len=current_bufflen; |
len | 315 | drivers/scsi/t128.c | int len) { |
len | 318 | drivers/scsi/t128.c | register i = len; |
len | 359 | drivers/scsi/t128.c | int len) { |
len | 362 | drivers/scsi/t128.c | register i = len; |
len | 205 | drivers/scsi/wd7000.c | unsigned len; /* length of string */ |
len | 321 | drivers/scsi/wd7000.c | unchar len[3]; |
len | 377 | drivers/scsi/wd7000.c | unchar len[3]; /* command buffer length */ |
len | 419 | drivers/scsi/wd7000.c | unchar len[3]; /* buffer length */ |
len | 435 | drivers/scsi/wd7000.c | unchar len[3]; /* parms buffer length */ |
len | 567 | drivers/scsi/wd7000.c | static inline int command_out(Adapter *host, unchar *cmd, int len) |
len | 570 | drivers/scsi/wd7000.c | while (len--) { |
len | 580 | drivers/scsi/wd7000.c | printk("wd7000 command_out: WAIT failed(%d)\n", len+1); |
len | 927 | drivers/scsi/wd7000.c | any2scsi(sgb[i].len, sg[i].length); |
len | 957 | drivers/scsi/wd7000.c | any2scsi(icb.len, sizeof(buf)); |
len | 1108 | drivers/scsi/wd7000.c | if (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len)) { |
len | 197 | drivers/sound/configure.c | int len; |
len | 199 | drivers/sound/configure.c | if ((len = read (0, &answ, sizeof (answ))) < 1) |
len | 209 | drivers/sound/configure.c | if (len < 2) /* |
len | 214 | drivers/sound/configure.c | answ[len - 1] = 0; |
len | 226 | drivers/sound/configure.c | int len, num; |
len | 230 | drivers/sound/configure.c | if ((len = read (0, &answ, sizeof (answ))) < 1) |
len | 240 | drivers/sound/configure.c | if (len < 2) /* |
len | 245 | drivers/sound/configure.c | answ[len - 1] = 0; |
len | 131 | drivers/sound/dev_table.h | snd_rw_buf *userbuf, int useroffs, int len); |
len | 298 | drivers/sound/dmabuf.c | DMAbuf_getrdbuffer (int dev, char **buf, int *len) |
len | 363 | drivers/sound/dmabuf.c | *len = dmap->fragment_size - dmap->counts[dmap->qhead]; |
len | 491 | drivers/sound/dmabuf.c | int len, max, tmp; |
len | 503 | drivers/sound/dmabuf.c | len = dmap->qlen; |
len | 508 | drivers/sound/dmabuf.c | if (tmp & len) |
len | 512 | drivers/sound/dmabuf.c | len += tmp; |
len | 515 | drivers/sound/dmabuf.c | if (len >= max) |
len | 897 | drivers/sound/dmabuf.c | DMAbuf_getrdbuffer (int dev, char **buf, int *len) |
len | 461 | drivers/sound/gus_wave.c | if (position < samples[sample_no].len) |
len | 1290 | drivers/sound/gus_wave.c | ((sample_ptrs[sample] + samples[sample].len) >> 18)) |
len | 1317 | drivers/sound/gus_wave.c | gus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len - |
len | 1350 | drivers/sound/gus_wave.c | gus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len - 1, |
len | 1518 | drivers/sound/gus_wave.c | if (count < patch.len) |
len | 1521 | drivers/sound/gus_wave.c | count, (int) patch.len); |
len | 1522 | drivers/sound/gus_wave.c | patch.len = count; |
len | 1525 | drivers/sound/gus_wave.c | if (patch.len <= 0 || patch.len > gus_mem_size) |
len | 1527 | drivers/sound/gus_wave.c | printk ("GUS: Invalid sample length %d\n", (int) patch.len); |
len | 1533 | drivers/sound/gus_wave.c | if (patch.loop_start < 0 || patch.loop_start >= patch.len) |
len | 1539 | drivers/sound/gus_wave.c | if (patch.loop_end < patch.loop_start || patch.loop_end > patch.len) |
len | 1555 | drivers/sound/gus_wave.c | if (patch.len >= GUS_BANK_SIZE) |
len | 1557 | drivers/sound/gus_wave.c | printk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len); |
len | 1562 | drivers/sound/gus_wave.c | ((free_mem_ptr + patch.len) / GUS_BANK_SIZE)) |
len | 1567 | drivers/sound/gus_wave.c | if ((tmp_mem + patch.len) > gus_mem_size) |
len | 1574 | drivers/sound/gus_wave.c | if ((free_mem_ptr + patch.len) > gus_mem_size) |
len | 1599 | drivers/sound/gus_wave.c | left = patch.len; |
len | 1712 | drivers/sound/gus_wave.c | free_mem_ptr += patch.len; |
len | 2335 | drivers/sound/gus_wave.c | snd_rw_buf * userbuf, int useroffs, int len) |
len | 2339 | drivers/sound/gus_wave.c | COPY_FROM_USER (&localbuf[localoffs], userbuf, useroffs, len); |
len | 2348 | drivers/sound/gus_wave.c | len /= 2; |
len | 2353 | drivers/sound/gus_wave.c | for (i = 0; i < len; i++) |
len | 2368 | drivers/sound/gus_wave.c | len /= 4; |
len | 2374 | drivers/sound/gus_wave.c | for (i = 0; i < len; i++) |
len | 2501 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
len | 2524 | drivers/sound/gus_wave.c | if (offs < 0 || offs >= samples[sample].len) |
len | 2527 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Num of bytes left */ |
len | 2565 | drivers/sound/gus_wave.c | if (offs < 0 || offs >= samples[sample].len) |
len | 2570 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* |
len | 331 | drivers/sound/midi_synth.c | if (count < sysex.len) |
len | 334 | drivers/sound/midi_synth.c | count, (int) sysex.len); |
len | 335 | drivers/sound/midi_synth.c | sysex.len = count; |
len | 338 | drivers/sound/midi_synth.c | left = sysex.len; |
len | 45 | drivers/sound/midibuf.c | int len, head, tail; |
len | 67 | drivers/sound/midibuf.c | #define DATA_AVAIL(q) (q->len) |
len | 68 | drivers/sound/midibuf.c | #define SPACE_AVAIL(q) (MAX_QUEUE_SIZE - q->len) |
len | 76 | drivers/sound/midibuf.c | q->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \ |
len | 86 | drivers/sound/midibuf.c | q->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \ |
len | 151 | drivers/sound/midibuf.c | midi_out_buf[dev]->len--; |
len | 212 | drivers/sound/midibuf.c | midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; |
len | 225 | drivers/sound/midibuf.c | midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; |
len | 147 | drivers/sound/mpu401.c | int len; \ |
len | 150 | drivers/sound/mpu401.c | seq_input_event(obuf, len); \ |
len | 154 | drivers/sound/mpu401.c | #define _SEQ_ADVBUF(x) len=x |
len | 149 | drivers/sound/sequencer.c | seq_copy_to_input (unsigned char *event, int len) |
len | 157 | drivers/sound/sequencer.c | if (len != 4 && len != 8) |
len | 159 | drivers/sound/sequencer.c | if ((seq_mode == SEQ_1) != (len == 4)) |
len | 166 | drivers/sound/sequencer.c | memcpy (&iqueue[iqtail * IEV_SZ], event, len); |
len | 204 | drivers/sound/sequencer.c | seq_input_event (unsigned char *event, int len) |
len | 227 | drivers/sound/sequencer.c | seq_copy_to_input (event, len); |
len | 8 | drivers/sound/sound_calls.h | int DMAbuf_getrdbuffer(int dev, char **buf, int *len); |
len | 48 | drivers/sound/sound_calls.h | void seq_input_event(unsigned char *event, int len); |
len | 49 | drivers/sound/sound_calls.h | void seq_copy_to_input (unsigned char *event, int len); |
len | 167 | fs/binfmt_elf.c | unsigned int len; |
len | 237 | fs/binfmt_elf.c | len = (elf_bss + 0xfff) & 0xfffff000; /* What we have mapped so far */ |
len | 240 | fs/binfmt_elf.c | if (last_bss > len) |
len | 241 | fs/binfmt_elf.c | do_mmap(NULL, len, last_bss-len, |
len | 641 | fs/binfmt_elf.c | unsigned int len; |
len | 649 | fs/binfmt_elf.c | len = 0; |
len | 724 | fs/binfmt_elf.c | len = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000; |
len | 726 | fs/binfmt_elf.c | if (bss > len) |
len | 727 | fs/binfmt_elf.c | do_mmap(NULL, len, bss-len, |
len | 105 | fs/dcache.c | static inline unsigned long namehash(const char * name, int len) |
len | 107 | fs/dcache.c | return len * *(unsigned char *) name; |
len | 133 | fs/dcache.c | static struct dir_cache_entry * find_entry(struct inode * dir, const char * name, int len, struct hash_list * hash) |
len | 144 | fs/dcache.c | if (de->name_len != len) |
len | 146 | fs/dcache.c | if (memcmp(de->name, name, len)) |
len | 172 | fs/dcache.c | int dcache_lookup(struct inode * dir, const char * name, int len, unsigned long * ino) |
len | 177 | fs/dcache.c | if (len > DCACHE_NAME_LEN) |
len | 179 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
len | 180 | fs/dcache.c | de = find_entry(dir, name, len, hash); |
len | 188 | fs/dcache.c | void dcache_add(struct inode * dir, const char * name, int len, unsigned long ino) |
len | 193 | fs/dcache.c | if (len > DCACHE_NAME_LEN) |
len | 195 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
len | 196 | fs/dcache.c | if ((de = find_entry(dir, name, len, hash)) != NULL) { |
len | 208 | fs/dcache.c | de->name_len = len; |
len | 209 | fs/dcache.c | memcpy(de->name, name, len); |
len | 34 | fs/devices.c | int len; |
len | 36 | fs/devices.c | len = sprintf(page, "Character devices:\n"); |
len | 39 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name); |
len | 42 | fs/devices.c | len += sprintf(page+len, "\nBlock devices:\n"); |
len | 45 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name); |
len | 48 | fs/devices.c | return len; |
len | 391 | fs/exec.c | int len, offset = 0; |
len | 407 | fs/exec.c | len=0; /* remember zero-padding */ |
len | 409 | fs/exec.c | len++; |
len | 411 | fs/exec.c | if (p < len) { /* this shouldn't happen - 128kB */ |
len | 415 | fs/exec.c | while (len) { |
len | 416 | fs/exec.c | --p; --tmp; --len; |
len | 855 | fs/exec.c | unsigned int len; |
len | 895 | fs/exec.c | len = PAGE_ALIGN(ex.a_text + ex.a_data); |
len | 897 | fs/exec.c | if (bss > len) |
len | 898 | fs/exec.c | do_mmap(NULL, start_addr + len, bss-len, |
len | 56 | fs/ext/namei.c | static int ext_match(int len,const char * name,struct ext_dir_entry * de) |
len | 58 | fs/ext/namei.c | if (!de || !de->inode || len > EXT_NAME_LEN) |
len | 61 | fs/ext/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 63 | fs/ext/namei.c | if (len != de->name_len) |
len | 65 | fs/ext/namei.c | return !memcmp(name, de->name, len); |
len | 149 | fs/ext/namei.c | int ext_lookup(struct inode * dir,const char * name, int len, |
len | 163 | fs/ext/namei.c | if (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) { |
len | 303 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 321 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 337 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 345 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 380 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 396 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 402 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 447 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 524 | fs/ext/namei.c | int ext_rmdir(struct inode * dir, const char * name, int len) |
len | 532 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 578 | fs/ext/namei.c | int ext_unlink(struct inode * dir, const char * name, int len) |
len | 587 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 621 | fs/ext/namei.c | int ext_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 651 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 660 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 676 | fs/ext/namei.c | int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 691 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 698 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 36 | fs/ext2/balloc.c | #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) |
len | 44 | fs/ext2/namei.c | static int ext2_match (int len, const char * const name, |
len | 47 | fs/ext2/namei.c | if (!de || !de->inode || len > EXT2_NAME_LEN) |
len | 52 | fs/ext2/namei.c | if (!len && de->name_len == 1 && (de->name[0] == '.') && |
len | 55 | fs/ext2/namei.c | if (len != de->name_len) |
len | 57 | fs/ext2/namei.c | return !memcmp(name, de->name, len); |
len | 163 | fs/ext2/namei.c | int ext2_lookup (struct inode * dir, const char * name, int len, |
len | 177 | fs/ext2/namei.c | if (dcache_lookup(dir, name, len, &ino)) { |
len | 190 | fs/ext2/namei.c | if (!(bh = ext2_find_entry (dir, name, len, &de))) { |
len | 192 | fs/ext2/namei.c | dcache_add(dir, name, len, 0); |
len | 197 | fs/ext2/namei.c | dcache_add(dir, name, len, ino); |
len | 365 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
len | 384 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 406 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
len | 416 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 448 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 470 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
len | 479 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 522 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 600 | fs/ext2/namei.c | int ext2_rmdir (struct inode * dir, const char * name, int len) |
len | 611 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 681 | fs/ext2/namei.c | int ext2_unlink (struct inode * dir, const char * name, int len) |
len | 693 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 742 | fs/ext2/namei.c | int ext2_symlink (struct inode * dir, const char * name, int len, |
len | 791 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 800 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 823 | fs/ext2/namei.c | const char * name, int len) |
len | 844 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 851 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 363 | fs/hpfs/hpfs.h | unsigned char len, name[15]; /* true length, truncated name */ |
len | 239 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
len | 247 | fs/hpfs/hpfs_fs.c | const unsigned char *name, unsigned len, |
len | 257 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len); |
len | 259 | fs/hpfs/hpfs_fs.c | unsigned len); |
len | 533 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
len | 536 | fs/hpfs/hpfs_fs.c | return p[0] == 0 && memcmp(p, p + 1, len - 1) == 0; |
len | 948 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len) |
len | 955 | fs/hpfs/hpfs_fs.c | while (len--) { |
len | 958 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
len | 980 | fs/hpfs/hpfs_fs.c | unsigned len) |
len | 984 | fs/hpfs/hpfs_fs.c | while (len--) { |
len | 986 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
len | 1105 | fs/hpfs/hpfs_fs.c | static int hpfs_lookup(struct inode *dir, const char *name, int len, |
len | 1126 | fs/hpfs/hpfs_fs.c | if (name[0] == '.' && len == 1) |
len | 1128 | fs/hpfs/hpfs_fs.c | else if (name[0] == '.' && name[1] == '.' && len == 2) |
len | 1133 | fs/hpfs/hpfs_fs.c | de = map_dirent(dir, dir->i_hpfs_dno, name, len, &qbh); |
len | 1228 | fs/hpfs/hpfs_fs.c | const unsigned char *name, unsigned len, |
len | 1257 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
len | 1264 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
len | 1281 | fs/hpfs/hpfs_fs.c | name, len, qbh); |
len | 31 | fs/isofs/namei.c | static int isofs_match(int len,const char * name, char * compare, int dlen) |
len | 40 | fs/isofs/namei.c | if (!len) |
len | 49 | fs/isofs/namei.c | if (len <= 2) printk("Match: %d %d %s %d %d \n",len,dlen,compare,de->name[0], dlen); |
len | 52 | fs/isofs/namei.c | if (dlen != len) |
len | 54 | fs/isofs/namei.c | return !memcmp(name, compare, len); |
len | 212 | fs/isofs/namei.c | int isofs_lookup(struct inode * dir,const char * name, int len, |
len | 219 | fs/isofs/namei.c | printk("lookup: %x %d\n",dir->i_ino, len); |
len | 232 | fs/isofs/namei.c | if (dcache_lookup(dir, name, len, &ino)) ino_back = dir->i_ino; |
len | 235 | fs/isofs/namei.c | if (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) { |
len | 240 | fs/isofs/namei.c | dcache_add(dir, name, len, ino); |
len | 87 | fs/isofs/rock.c | len = cont_size; \ |
len | 103 | fs/isofs/rock.c | int len; |
len | 118 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 124 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 126 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 128 | fs/isofs/rock.c | chr += rr->len; |
len | 129 | fs/isofs/rock.c | len -= rr->len; |
len | 176 | fs/isofs/rock.c | int len; |
len | 184 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 190 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 192 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 194 | fs/isofs/rock.c | chr += rr->len; |
len | 195 | fs/isofs/rock.c | len -= rr->len; |
len | 225 | fs/isofs/rock.c | if((strlen(retname) + rr->len - 5) >= 254) { |
len | 229 | fs/isofs/rock.c | strncat(retname, rr->u.NM.name, rr->len - 5); |
len | 230 | fs/isofs/rock.c | retnamlen += rr->len - 5; |
len | 259 | fs/isofs/rock.c | int len; |
len | 265 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 273 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 275 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 277 | fs/isofs/rock.c | chr += rr->len; |
len | 278 | fs/isofs/rock.c | len -= rr->len; |
len | 338 | fs/isofs/rock.c | slen = rr->len - 5; |
len | 345 | fs/isofs/rock.c | inode->i_size += slp->len; |
len | 360 | fs/isofs/rock.c | slen -= slp->len + 2; |
len | 361 | fs/isofs/rock.c | slp = (struct SL_component *) (((char *) slp) + slp->len + 2); |
len | 418 | fs/isofs/rock.c | int len; |
len | 460 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(raw_inode, chr, len); |
len | 463 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 466 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 468 | fs/isofs/rock.c | chr += rr->len; |
len | 469 | fs/isofs/rock.c | len -= rr->len; |
len | 481 | fs/isofs/rock.c | slen = rr->len - 5; |
len | 492 | fs/isofs/rock.c | strncat(rpnt,slp->text, slp->len); |
len | 507 | fs/isofs/rock.c | slen -= slp->len + 2; |
len | 508 | fs/isofs/rock.c | slp = (struct SL_component *) (((char *) slp) + slp->len + 2); |
len | 44 | fs/isofs/rock.h | unsigned char len; |
len | 87 | fs/isofs/rock.h | unsigned char len; |
len | 27 | fs/minix/namei.c | static inline int namecompare(int len, int maxlen, |
len | 30 | fs/minix/namei.c | if (len > maxlen) |
len | 32 | fs/minix/namei.c | if (len < maxlen && buffer[len]) |
len | 34 | fs/minix/namei.c | return !memcmp(name, buffer, len); |
len | 44 | fs/minix/namei.c | static int minix_match(int len, const char * name, |
len | 52 | fs/minix/namei.c | if (!de->inode || len > info->s_namelen) |
len | 55 | fs/minix/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 57 | fs/minix/namei.c | return namecompare(len,info->s_namelen,name,de->name); |
len | 111 | fs/minix/namei.c | int minix_lookup(struct inode * dir,const char * name, int len, |
len | 125 | fs/minix/namei.c | if (!(bh = minix_find_entry(dir,name,len,&de))) { |
len | 215 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 234 | fs/minix/namei.c | error = minix_add_entry(dir,name,len, &bh ,&de); |
len | 250 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 259 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 291 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 307 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 320 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 358 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 433 | fs/minix/namei.c | int minix_rmdir(struct inode * dir, const char * name, int len) |
len | 441 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 490 | fs/minix/namei.c | int minix_unlink(struct inode * dir, const char * name, int len) |
len | 500 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 544 | fs/minix/namei.c | int minix_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 574 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 583 | fs/minix/namei.c | i = minix_add_entry(dir, name, len, &bh, &de); |
len | 599 | fs/minix/namei.c | int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 615 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 622 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 41 | fs/msdos/namei.c | static int msdos_format_name(char conv,const char *name,int len,char *res, |
len | 49 | fs/msdos/namei.c | if (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) { |
len | 52 | fs/msdos/namei.c | while (len--) *res++ = '.'; |
len | 57 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
len | 59 | fs/msdos/namei.c | len--; |
len | 69 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
len | 71 | fs/msdos/namei.c | len--; |
len | 74 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
len | 77 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
len | 79 | fs/msdos/namei.c | len--; |
len | 90 | fs/msdos/namei.c | if (conv == 's' && len) return -EINVAL; |
len | 101 | fs/msdos/namei.c | static int msdos_find(struct inode *dir,const char *name,int len, |
len | 107 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 113 | fs/msdos/namei.c | int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 131 | fs/msdos/namei.c | if (len == 1 && name[0] == '.') { |
len | 135 | fs/msdos/namei.c | if (len == 2 && name[0] == '.' && name[1] == '.') { |
len | 143 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
len | 217 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 227 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 266 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
len | 275 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 317 | fs/msdos/namei.c | if (msdos_rmdir(dir,name,len) < 0) |
len | 350 | fs/msdos/namei.c | int msdos_rmdir(struct inode *dir,const char *name,int len) |
len | 361 | fs/msdos/namei.c | if (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) |
len | 363 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
len | 391 | fs/msdos/namei.c | int len, |
len | 402 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
len | 425 | fs/msdos/namei.c | int msdos_unlink(struct inode *dir,const char *name,int len) |
len | 427 | fs/msdos/namei.c | return msdos_unlinkx (dir,name,len,1); |
len | 432 | fs/msdos/namei.c | int msdos_unlink_umsdos(struct inode *dir,const char *name,int len) |
len | 434 | fs/msdos/namei.c | return msdos_unlinkx (dir,name,len,0); |
len | 153 | fs/namei.c | int lookup(struct inode * dir,const char * name, int len, |
len | 164 | fs/namei.c | if (len==2 && name[0] == '.' && name[1] == '.') { |
len | 185 | fs/namei.c | if (!len) { |
len | 189 | fs/namei.c | return dir->i_op->lookup(dir,name,len,result); |
len | 220 | fs/namei.c | int len,error; |
len | 236 | fs/namei.c | for(len=0;(c = *(pathname++))&&(c != '/');len++) |
len | 241 | fs/namei.c | error = lookup(base,thisname,len,&inode); |
len | 255 | fs/namei.c | *namelen = len; |
len | 31 | fs/nfs/dir.c | static int nfs_lookup(struct inode *dir, const char *name, int len, |
len | 33 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
len | 35 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
len | 36 | fs/nfs/dir.c | static int nfs_rmdir(struct inode *dir, const char *name, int len); |
len | 37 | fs/nfs/dir.c | static int nfs_unlink(struct inode *dir, const char *name, int len); |
len | 38 | fs/nfs/dir.c | static int nfs_symlink(struct inode *inode, const char *name, int len, |
len | 41 | fs/nfs/dir.c | const char *name, int len); |
len | 42 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
len | 294 | fs/nfs/dir.c | static int nfs_lookup(struct inode *dir, const char *__name, int len, |
len | 299 | fs/nfs/dir.c | char name[len > NFS_MAXNAMLEN? 1 : len+1]; |
len | 308 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 312 | fs/nfs/dir.c | memcpy(name,__name,len); |
len | 313 | fs/nfs/dir.c | name[len] = '\0'; |
len | 314 | fs/nfs/dir.c | if (len == 1 && name[0] == '.') { /* cheat for "." */ |
len | 335 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
len | 349 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 370 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, |
len | 383 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 402 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
len | 414 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 429 | fs/nfs/dir.c | static int nfs_rmdir(struct inode *dir, const char *name, int len) |
len | 438 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 449 | fs/nfs/dir.c | static int nfs_unlink(struct inode *dir, const char *name, int len) |
len | 458 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 469 | fs/nfs/dir.c | static int nfs_symlink(struct inode *dir, const char *name, int len, |
len | 480 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 498 | fs/nfs/dir.c | const char *name, int len) |
len | 514 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 72 | fs/nfs/file.c | int len; /* size of data */ |
len | 125 | fs/nfs/file.c | && (cache[i].file_pos + cache[i].len >= pos + count) |
len | 183 | fs/nfs/file.c | cache[tail].len = result; |
len | 101 | fs/nfs/proc.c | #define QUADLEN(len) (((len) + 3) >> 2) |
len | 117 | fs/nfs/proc.c | int len = strlen(string); |
len | 118 | fs/nfs/proc.c | int quadlen = QUADLEN(len); |
len | 121 | fs/nfs/proc.c | *p++ = htonl(len); |
len | 122 | fs/nfs/proc.c | memcpy(p, string, len); |
len | 128 | fs/nfs/proc.c | unsigned int len = ntohl(*p++); |
len | 129 | fs/nfs/proc.c | if (len > maxlen) |
len | 131 | fs/nfs/proc.c | memcpy(string, p, len); |
len | 132 | fs/nfs/proc.c | string[len] = '\0'; |
len | 133 | fs/nfs/proc.c | return p + QUADLEN(len); |
len | 136 | fs/nfs/proc.c | static inline int *xdr_decode_string2(int *p, char **string, unsigned int *len, |
len | 139 | fs/nfs/proc.c | *len = ntohl(*p++); |
len | 140 | fs/nfs/proc.c | if (*len > maxlen) |
len | 143 | fs/nfs/proc.c | return p + QUADLEN(*len); |
len | 147 | fs/nfs/proc.c | static inline int *xdr_encode_data(int *p, char *data, int len) |
len | 149 | fs/nfs/proc.c | int quadlen = QUADLEN(len); |
len | 152 | fs/nfs/proc.c | *p++ = htonl(len); |
len | 153 | fs/nfs/proc.c | memcpy_fromfs(p, data, len); |
len | 160 | fs/nfs/proc.c | unsigned len = *lenp = ntohl(*p++); |
len | 161 | fs/nfs/proc.c | if (len > maxlen) |
len | 164 | fs/nfs/proc.c | memcpy_tofs(data, p, len); |
len | 166 | fs/nfs/proc.c | memcpy(data, p, len); |
len | 167 | fs/nfs/proc.c | return p + QUADLEN(len); |
len | 345 | fs/nfs/proc.c | int **p0, char **string, unsigned int *len, unsigned int maxlen) |
len | 361 | fs/nfs/proc.c | if (!(p = xdr_decode_string2(p, string, len, maxlen))) { |
len | 385 | fs/nfs/proc.c | int len; |
len | 404 | fs/nfs/proc.c | if (!(p = xdr_decode_data(p, data, &len, count, fs))) { |
len | 409 | fs/nfs/proc.c | status = len; |
len | 410 | fs/nfs/proc.c | PRINTK("NFS reply read %d\n", len); |
len | 60 | fs/nfs/sock.c | int len; |
len | 77 | fs/nfs/sock.c | len = ((char *) end) - ((char *) start); |
len | 105 | fs/nfs/sock.c | result = sock->ops->send(sock, (void *) start, len, 0, 0); |
len | 54 | fs/nfs/symlink.c | unsigned int len; |
len | 77 | fs/nfs/symlink.c | &res, &len, NFS_MAXPATHLEN); |
len | 87 | fs/nfs/symlink.c | memcpy(res2, res, len); |
len | 88 | fs/nfs/symlink.c | res2[len] = '\0'; |
len | 101 | fs/nfs/symlink.c | unsigned int len; |
len | 111 | fs/nfs/symlink.c | &res, &len, buflen); |
len | 114 | fs/nfs/symlink.c | memcpy_tofs(buffer, res, len); |
len | 115 | fs/nfs/symlink.c | put_fs_byte('\0', buffer + len); |
len | 116 | fs/nfs/symlink.c | error = len; |
len | 189 | fs/proc/array.c | int i, len; |
len | 194 | fs/proc/array.c | len = sprintf(buffer, |
len | 214 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
len | 215 | fs/proc/array.c | len += sprintf(buffer + len, |
len | 220 | fs/proc/array.c | return len; |
len | 690 | fs/proc/array.c | int len; |
len | 708 | fs/proc/array.c | len = sprintf(line, MAPS_LINE_FORMAT, |
len | 712 | fs/proc/array.c | if (column >= len) { |
len | 719 | fs/proc/array.c | i = len-column; |
len | 725 | fs/proc/array.c | if (column >= len) { |
len | 70 | fs/proc/base.c | int proc_match(int len,const char * name,struct proc_dir_entry * de) |
len | 75 | fs/proc/base.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 77 | fs/proc/base.c | if (de->namelen != len) |
len | 79 | fs/proc/base.c | return !memcmp(name, de->name, len); |
len | 82 | fs/proc/base.c | static int proc_lookupbase(struct inode * dir,const char * name, int len, |
len | 98 | fs/proc/base.c | while (i-- > 0 && !proc_match(len,name,base_dir+i)) |
len | 53 | fs/proc/fd.c | static int proc_lookupfd(struct inode * dir,const char * name, int len, |
len | 72 | fs/proc/fd.c | if (!len || (name[0] == '.' && (len == 1 || |
len | 73 | fs/proc/fd.c | (name[1] == '.' && len == 2)))) { |
len | 74 | fs/proc/fd.c | if (len < 2) { |
len | 87 | fs/proc/fd.c | while (len-- > 0) { |
len | 184 | fs/proc/net.c | static int proc_lookupnet(struct inode * dir,const char * name, int len, |
len | 197 | fs/proc/net.c | if (!proc_match(len, name, de)) |
len | 87 | fs/proc/root.c | static int proc_lookuproot(struct inode * dir,const char * name, int len, |
len | 101 | fs/proc/root.c | while (i-- > 0 && !proc_match(len,name,root_dir+i)) |
len | 113 | fs/proc/root.c | while (len-- > 0) { |
len | 100 | fs/super.c | int err, len; |
len | 109 | fs/super.c | len = strlen(tmp->name) + 1; |
len | 110 | fs/super.c | err = verify_area(VERIFY_WRITE, buf, len); |
len | 113 | fs/super.c | memcpy_tofs(buf, tmp->name, len); |
len | 158 | fs/super.c | int len = 0; |
len | 162 | fs/super.c | while (tmp && len < PAGE_SIZE - 80) { |
len | 163 | fs/super.c | len += sprintf(buf+len, "%s\t%s\n", |
len | 168 | fs/super.c | return len; |
len | 29 | fs/sysv/namei.c | static inline int namecompare(int len, int maxlen, |
len | 32 | fs/sysv/namei.c | if (len > maxlen) |
len | 34 | fs/sysv/namei.c | if (len < maxlen && buffer[len]) |
len | 36 | fs/sysv/namei.c | return !memcmp(name, buffer, len); |
len | 46 | fs/sysv/namei.c | static int sysv_match(int len, const char * name, struct sysv_dir_entry * de) |
len | 48 | fs/sysv/namei.c | if (!de->inode || len > SYSV_NAMELEN) |
len | 51 | fs/sysv/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 53 | fs/sysv/namei.c | return namecompare(len,SYSV_NAMELEN,name,de->name); |
len | 107 | fs/sysv/namei.c | int sysv_lookup(struct inode * dir,const char * name, int len, |
len | 121 | fs/sysv/namei.c | if (!(bh = sysv_find_entry(dir,name,len,&de))) { |
len | 208 | fs/sysv/namei.c | int sysv_create(struct inode * dir,const char * name, int len, int mode, |
len | 227 | fs/sysv/namei.c | error = sysv_add_entry(dir,name,len, &bh ,&de); |
len | 243 | fs/sysv/namei.c | int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 252 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 284 | fs/sysv/namei.c | error = sysv_add_entry(dir, name, len, &bh, &de); |
len | 300 | fs/sysv/namei.c | int sysv_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 311 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 349 | fs/sysv/namei.c | error = sysv_add_entry(dir, name, len, &bh, &de); |
len | 425 | fs/sysv/namei.c | int sysv_rmdir(struct inode * dir, const char * name, int len) |
len | 433 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 481 | fs/sysv/namei.c | int sysv_unlink(struct inode * dir, const char * name, int len) |
len | 491 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 534 | fs/sysv/namei.c | int sysv_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 569 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 578 | fs/sysv/namei.c | i = sysv_add_entry(dir, name, len, &bh, &de); |
len | 594 | fs/sysv/namei.c | int sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 610 | fs/sysv/namei.c | bh = sysv_find_entry(dir,name,len,&de); |
len | 617 | fs/sysv/namei.c | error = sysv_add_entry(dir, name, len, &bh, &de); |
len | 162 | fs/umsdos/dir.c | ,info.fake.len,&inode); |
len | 488 | fs/umsdos/dir.c | int len) |
len | 498 | fs/umsdos/dir.c | && len == 3 |
len | 508 | fs/umsdos/dir.c | int len, |
len | 515 | fs/umsdos/dir.c | if (len == 1 && name[0] == '.'){ |
len | 519 | fs/umsdos/dir.c | }else if (len == 2 && name[0] == '.' && name[1] == '.'){ |
len | 551 | fs/umsdos/dir.c | }else if (umsdos_is_pseudodos(dir,name,len)){ |
len | 561 | fs/umsdos/dir.c | ret = umsdos_parse (name,len,&info); |
len | 564 | fs/umsdos/dir.c | ,info.fake.len)); |
len | 576 | fs/umsdos/dir.c | ret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result); |
len | 617 | fs/umsdos/dir.c | int len, |
len | 620 | fs/umsdos/dir.c | return umsdos_lookup_x(dir,name,len,result,0); |
len | 649 | fs/umsdos/dir.c | int len; |
len | 651 | fs/umsdos/dir.c | len = (int)(pt - start); |
len | 655 | fs/umsdos/dir.c | ret = umsdos_rlookup_x(dir,start,len,result,1); |
len | 657 | fs/umsdos/dir.c | ret = umsdos_lookup_x(dir,start,len,result,1); |
len | 77 | fs/umsdos/inode.c | int len, |
len | 82 | fs/umsdos/inode.c | ret = msdos_lookup (dir,name,len,result); |
len | 117 | fs/umsdos/ioctl.c | ,info.fake.fname,info.fake.len+1); |
len | 77 | fs/umsdos/mangle.c | char *pt = info->fake.fname + info->fake.len; |
len | 102 | fs/umsdos/mangle.c | info->fake.len += 4; |
len | 111 | fs/umsdos/mangle.c | int umsdos_evalrecsize (int len) |
len | 114 | fs/umsdos/mangle.c | int nbrec = 1+((len-1+(dirent.name-(char*)&dirent)) |
len | 123 | fs/umsdos/mangle.c | int umsdos_evalrecsize_old (int len) |
len | 126 | fs/umsdos/mangle.c | int size = len + (dirent.name-(char*)&dirent); |
len | 139 | fs/umsdos/mangle.c | int len, |
len | 148 | fs/umsdos/mangle.c | if (len > UMSDOS_MAXNAME) len = UMSDOS_MAXNAME; |
len | 156 | fs/umsdos/mangle.c | int msdos_len = len; |
len | 195 | fs/umsdos/mangle.c | if (len<=(8+1+3)){ |
len | 197 | fs/umsdos/mangle.c | const char *endpt = fname + len; |
len | 258 | fs/umsdos/mangle.c | || (firstpt == NULL && len > 8) |
len | 259 | fs/umsdos/mangle.c | || (len == UMSDOS_EMD_NAMELEN |
len | 305 | fs/umsdos/mangle.c | strncpy (info->fake.fname,fname,len); |
len | 307 | fs/umsdos/mangle.c | base_len = firstpt != NULL ? (int)(firstpt - fname) : len; |
len | 376 | fs/umsdos/mangle.c | info->fake.len = msdos_len; |
len | 378 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
len | 379 | fs/umsdos/mangle.c | info->entry.name_len = len; |
len | 385 | fs/umsdos/mangle.c | info->recsize = umsdos_evalrecsize (len); |
len | 165 | fs/umsdos/namei.c | int len, |
len | 169 | fs/umsdos/namei.c | if (umsdos_is_pseudodos(dir,name,len)){ |
len | 180 | fs/umsdos/namei.c | && (len == 1 || (len == 2 && name[1] == '.'))){ |
len | 206 | fs/umsdos/namei.c | int len, /* Length of the name */ |
len | 214 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EEXIST); |
len | 217 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
len | 233 | fs/umsdos/namei.c | ret = msdos_create (dir,info.fake.fname,info.fake.len |
len | 352 | fs/umsdos/namei.c | PRINTK (("ret %d %d ",ret,new_info.fake.len)); |
len | 358 | fs/umsdos/namei.c | ,old_info.fake.fname,old_info.fake.len |
len | 360 | fs/umsdos/namei.c | ,new_info.fake.fname,new_info.fake.len); |
len | 427 | fs/umsdos/namei.c | int len, |
len | 446 | fs/umsdos/namei.c | ret = umsdos_create_any (dir,name,len,mode,0,flags,&inode); |
len | 449 | fs/umsdos/namei.c | int len = strlen(symname); |
len | 453 | fs/umsdos/namei.c | ret = umsdos_file_write_kmem (inode,&filp,(char*)symname,len); |
len | 456 | fs/umsdos/namei.c | if (ret != len){ |
len | 465 | fs/umsdos/namei.c | UMSDOS_unlink (dir,name,len); |
len | 480 | fs/umsdos/namei.c | int len, |
len | 483 | fs/umsdos/namei.c | return umsdos_symlink_x (dir,name,len,symname,S_IFLNK|0777,0); |
len | 492 | fs/umsdos/namei.c | int len) |
len | 571 | fs/umsdos/namei.c | }else if ((ret = umsdos_nevercreat(dir,name,len,-EPERM))==0){ |
len | 621 | fs/umsdos/namei.c | ret = umsdos_symlink_x (dir,name,len |
len | 638 | fs/umsdos/namei.c | ret = umsdos_symlink_x (dir,name,len,path |
len | 671 | fs/umsdos/namei.c | int len, /* Length of the name */ |
len | 676 | fs/umsdos/namei.c | return umsdos_create_any (dir,name,len,mode,0,0,result); |
len | 684 | fs/umsdos/namei.c | int len, |
len | 687 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EEXIST); |
len | 690 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
len | 707 | fs/umsdos/namei.c | ret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode); |
len | 723 | fs/umsdos/namei.c | ,info.fake.len,&subdir); |
len | 750 | fs/umsdos/namei.c | int len, |
len | 769 | fs/umsdos/namei.c | int ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode); |
len | 780 | fs/umsdos/namei.c | int len) |
len | 869 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EPERM); |
len | 873 | fs/umsdos/namei.c | ret = UMSDOS_lookup (dir,name,len,&sdir); |
len | 899 | fs/umsdos/namei.c | umsdos_parse (name,len,&info); |
len | 904 | fs/umsdos/namei.c | ,info.fake.len); |
len | 934 | fs/umsdos/namei.c | int len) |
len | 936 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(dir,name,len,-EPERM); |
len | 939 | fs/umsdos/namei.c | ret = umsdos_parse (name,len,&info); |
len | 964 | fs/umsdos/namei.c | ret = UMSDOS_lookup (dir,name,len,&inode); |
len | 993 | fs/umsdos/namei.c | ,info.fake.len); |
len | 39 | fs/umsdos/rdir.c | int len = -1; |
len | 41 | fs/umsdos/rdir.c | if (ret > 0) len = get_fs_word(&dirent->d_reclen); |
len | 42 | fs/umsdos/rdir.c | if (len == 5 |
len | 54 | fs/umsdos/rdir.c | && len == 2 |
len | 77 | fs/umsdos/rdir.c | int len, |
len | 84 | fs/umsdos/rdir.c | && len == 2 |
len | 97 | fs/umsdos/rdir.c | ret = umsdos_real_lookup (dir,name,len,result); |
len | 121 | fs/umsdos/rdir.c | int len, |
len | 124 | fs/umsdos/rdir.c | return umsdos_rlookup_x(dir,name,len,result,0); |
len | 130 | fs/umsdos/rdir.c | int len) |
len | 147 | fs/umsdos/rdir.c | if (umsdos_is_pseudodos(dir,name,len)){ |
len | 160 | fs/umsdos/rdir.c | ret = msdos_rmdir (dir,name,len); |
len | 164 | fs/umsdos/rdir.c | ret = UMSDOS_rlookup (dir,name,len,&sdir); |
len | 183 | fs/umsdos/rdir.c | ret = msdos_rmdir (dir,name,len); |
len | 35 | fs/xiafs/namei.c | static int xiafs_match(int len, const char * name, struct xiafs_direct * dep) |
len | 39 | fs/xiafs/namei.c | if (!dep || !dep->d_ino || len > _XIAFS_NAME_LEN) |
len | 42 | fs/xiafs/namei.c | if (!len && (dep->d_name[0]=='.') && (dep->d_name[1]=='\0')) |
len | 44 | fs/xiafs/namei.c | if (len != dep->d_name_len) |
len | 46 | fs/xiafs/namei.c | for (i=0; i < len; i++) |
len | 119 | fs/xiafs/namei.c | int xiafs_lookup(struct inode * dir, const char * name, int len, |
len | 133 | fs/xiafs/namei.c | if (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) { |
len | 248 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
len | 266 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 282 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
len | 290 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len,&de, NULL); |
len | 323 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 339 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 345 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len,&de, NULL); |
len | 389 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 489 | fs/xiafs/namei.c | int xiafs_rmdir(struct inode * dir, const char * name, int len) |
len | 497 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, &de_pre); |
len | 541 | fs/xiafs/namei.c | int xiafs_unlink(struct inode * dir, const char * name, int len) |
len | 551 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, &de_pre); |
len | 589 | fs/xiafs/namei.c | int len, const char * symname) |
len | 597 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len, &de, NULL); |
len | 624 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 641 | fs/xiafs/namei.c | const char * name, int len) |
len | 656 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, NULL); |
len | 663 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 176 | include/asm-sparc/openprom.h | void (*pv_putstr)(char *str, int len); |
len | 191 | include/asm-sparc/openprom.h | void (*v0_eval)(int len, char *str); |
len | 300 | include/asm-sparc/openprom.h | int (*no_setprop)(int node, char* name, char* val, int len); |
len | 148 | include/asm-sparc/string.h | extern __inline__ char *strncat(char *dest, const char *src, size_t len) |
len | 165 | include/asm-sparc/string.h | "=r" (retval), "=r" (dest), "=r" (src), "=r" (len), "=r" (temp) : |
len | 166 | include/asm-sparc/string.h | "0" (retval), "1" (dest), "2" (src), "3" (len), "4" (temp)); |
len | 33 | include/linux/etherdevice.h | void *saddr, unsigned len, |
len | 65 | include/linux/ext_fs.h | extern int ext_lookup(struct inode * dir,const char * name, int len, |
len | 67 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 69 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 70 | include/linux/ext_fs.h | extern int ext_rmdir(struct inode * dir, const char * name, int len); |
len | 71 | include/linux/ext_fs.h | extern int ext_unlink(struct inode * dir, const char * name, int len); |
len | 72 | include/linux/ext_fs.h | extern int ext_symlink(struct inode * inode, const char * name, int len, |
len | 74 | include/linux/ext_fs.h | extern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 75 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 34 | include/linux/ip.h | __u8 len; |
len | 159 | include/linux/iso_fs.h | extern int get_rock_ridge_filename(struct iso_directory_record *, char ** name, int * len, struct inode *); |
len | 169 | include/linux/iso_fs.h | extern int isofs_lookup(struct inode * dir,const char * name, int len, |
len | 84 | include/linux/minix_fs.h | extern int minix_lookup(struct inode * dir,const char * name, int len, |
len | 86 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 88 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 89 | include/linux/minix_fs.h | extern int minix_rmdir(struct inode * dir, const char * name, int len); |
len | 90 | include/linux/minix_fs.h | extern int minix_unlink(struct inode * dir, const char * name, int len); |
len | 91 | include/linux/minix_fs.h | extern int minix_symlink(struct inode * inode, const char * name, int len, |
len | 93 | include/linux/minix_fs.h | extern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 94 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 208 | include/linux/mm.h | extern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
len | 145 | include/linux/msdos_fs.h | extern int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 147 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 149 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
len | 150 | include/linux/msdos_fs.h | extern int msdos_rmdir(struct inode *dir,const char *name,int len); |
len | 151 | include/linux/msdos_fs.h | extern int msdos_unlink(struct inode *dir,const char *name,int len); |
len | 152 | include/linux/msdos_fs.h | extern int msdos_unlink_umsdos(struct inode *dir,const char *name,int len); |
len | 111 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
len | 112 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
len | 114 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
len | 116 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
len | 118 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
len | 147 | include/linux/netdevice.h | unsigned len, |
len | 206 | include/linux/netdevice.h | extern int dev_rint(unsigned char *buff, long len, int flags, |
len | 60 | include/linux/nfs_fs.h | int **p0, char **string, unsigned int *len, |
len | 8 | include/linux/pipe_fs_i.h | unsigned int len; |
len | 19 | include/linux/pipe_fs_i.h | #define PIPE_LEN(inode) ((inode).u.pipe_i.len) |
len | 61 | include/linux/skbuff.h | unsigned long len; |
len | 156 | include/linux/soundcard.h | long len; /* Size of the wave data in bytes */ |
len | 215 | include/linux/soundcard.h | long len; /* Size of the sysex data in bytes */ |
len | 795 | include/linux/soundcard.h | #define SEQ_DEFINEBUF(len) unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0 |
len | 799 | include/linux/soundcard.h | #define _SEQ_NEEDBUF(len) if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump() |
len | 800 | include/linux/soundcard.h | #define _SEQ_ADVBUF(len) _seqbufptr += len |
len | 817 | include/linux/soundcard.h | #define _SEQ_NEEDBUF(len) /* empty */ |
len | 960 | include/linux/soundcard.h | #define SEQ_WRPATCH(patchx, len) {if (_seqbufptr) seqbuf_dump();\ |
len | 961 | include/linux/soundcard.h | if (write(seqfd, (char*)(patchx), len)==-1) \ |
len | 963 | include/linux/soundcard.h | #define SEQ_WRPATCH2(patchx, len) (seqbuf_dump(), write(seqfd, (char*)(patchx), len)) |
len | 364 | include/linux/sysv_fs.h | extern int sysv_lookup(struct inode * dir,const char * name, int len, |
len | 366 | include/linux/sysv_fs.h | extern int sysv_create(struct inode * dir,const char * name, int len, int mode, |
len | 368 | include/linux/sysv_fs.h | extern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 369 | include/linux/sysv_fs.h | extern int sysv_rmdir(struct inode * dir, const char * name, int len); |
len | 370 | include/linux/sysv_fs.h | extern int sysv_unlink(struct inode * dir, const char * name, int len); |
len | 371 | include/linux/sysv_fs.h | extern int sysv_symlink(struct inode * inode, const char * name, int len, |
len | 373 | include/linux/sysv_fs.h | extern int sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 374 | include/linux/sysv_fs.h | extern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 24 | include/linux/udp.h | unsigned short len; |
len | 22 | include/linux/umsdos_fs.h | int len; |
len | 67 | include/linux/xia_fs.h | extern int xiafs_lookup(struct inode * dir,const char * name, int len, |
len | 69 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
len | 71 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 72 | include/linux/xia_fs.h | extern int xiafs_rmdir(struct inode * dir, const char * name, int len); |
len | 73 | include/linux/xia_fs.h | extern int xiafs_unlink(struct inode * dir, const char * name, int len); |
len | 74 | include/linux/xia_fs.h | extern int xiafs_symlink(struct inode * inode, const char * name, int len, |
len | 77 | include/linux/xia_fs.h | const char * name, int len); |
len | 78 | include/linux/xia_fs.h | extern int xiafs_mknod(struct inode * dir, const char * name, int len, |
len | 299 | init/main.c | int len = strlen(devnames[n]); |
len | 300 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
len | 301 | init/main.c | ROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,0); |
len | 59 | kernel/dma.c | int i, len = 0; |
len | 63 | kernel/dma.c | len += sprintf(buf+len, "%2d: %s\n", |
len | 68 | kernel/dma.c | return len; |
len | 55 | kernel/printk.c | asmlinkage int sys_syslog(int type, char * buf, int len) |
len | 70 | kernel/printk.c | if (!buf || len < 0) |
len | 72 | kernel/printk.c | if (!len) |
len | 74 | kernel/printk.c | error = verify_area(VERIFY_WRITE,buf,len); |
len | 86 | kernel/printk.c | while (log_size && i < len) { |
len | 103 | kernel/printk.c | if (!buf || len < 0) |
len | 105 | kernel/printk.c | if (!len) |
len | 107 | kernel/printk.c | error = verify_area(VERIFY_WRITE,buf,len); |
len | 110 | kernel/printk.c | count = len; |
len | 133 | kernel/printk.c | if (len < 1 || len > 8) |
len | 135 | kernel/printk.c | console_loglevel = len; |
len | 34 | kernel/resource.c | int len = 0; |
len | 36 | kernel/resource.c | for (p = iolist.next; (p) && (len < 4000); p = p->next) |
len | 37 | kernel/resource.c | len += sprintf(buf+len, "%04lx-%04lx : %s\n", |
len | 40 | kernel/resource.c | len += sprintf(buf+len, "4K limit reached!\n"); |
len | 41 | kernel/resource.c | return len; |
len | 636 | kernel/sys.c | asmlinkage int sys_sethostname(char *name, int len) |
len | 642 | kernel/sys.c | if (len > __NEW_UTS_LEN) |
len | 644 | kernel/sys.c | for (i=0; i < len; i++) { |
len | 656 | kernel/sys.c | asmlinkage int sys_setdomainname(char *name, int len) |
len | 662 | kernel/sys.c | if (len > __NEW_UTS_LEN) |
len | 664 | kernel/sys.c | for (i=0; i < len; i++) { |
len | 136 | lib/vsprintf.c | int len; |
len | 221 | lib/vsprintf.c | len = strnlen(s, precision); |
len | 224 | lib/vsprintf.c | while (len < field_width--) |
len | 226 | lib/vsprintf.c | for (i = 0; i < len; ++i) |
len | 228 | lib/vsprintf.c | while (len < field_width--) |
len | 179 | mm/filemap.c | static void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len) |
len | 181 | mm/filemap.c | filemap_sync(vma, start, len, MS_ASYNC); |
len | 44 | mm/mmap.c | unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
len | 50 | mm/mmap.c | if ((len = PAGE_ALIGN(len)) == 0) |
len | 53 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
len | 57 | mm/mmap.c | if (off + len < off) |
len | 93 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
len | 96 | mm/mmap.c | addr = get_unmapped_area(len); |
len | 116 | mm/mmap.c | vma->vm_end = addr + len; |
len | 146 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
len | 167 | mm/mmap.c | unsigned long get_unmapped_area(unsigned long len) |
len | 179 | mm/mmap.c | if ((gap_start <= gap_end) && (gap_end - gap_start >= len)) |
len | 651 | mm/mmap.c | unsigned long addr, size_t len) |
len | 654 | mm/mmap.c | unsigned long end = addr + len; |
len | 714 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
len | 716 | mm/mmap.c | return do_munmap(addr, len); |
len | 725 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
len | 729 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
len | 732 | mm/mmap.c | if ((len = PAGE_ALIGN(len)) == 0) |
len | 750 | mm/mmap.c | for ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) { |
len | 775 | mm/mmap.c | end = addr+len; |
len | 785 | mm/mmap.c | unmap_page_range(addr, len); |
len | 202 | mm/mprotect.c | asmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot) |
len | 210 | mm/mprotect.c | len = (len + ~PAGE_MASK) & PAGE_MASK; |
len | 211 | mm/mprotect.c | end = start + len; |
len | 499 | net/inet/af_inet.c | static void def_callback2(struct sock *sk,int len) |
len | 327 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4); |
len | 336 | net/inet/arp.c | dev->hard_header(skb->data,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len,skb); |
len | 946 | net/inet/arp.c | int len=0; |
len | 958 | net/inet/arp.c | len+=size; |
len | 986 | net/inet/arp.c | size = sprintf(buffer+len, |
len | 992 | net/inet/arp.c | size += sprintf(buffer+len+size, |
len | 997 | net/inet/arp.c | len+=size; |
len | 998 | net/inet/arp.c | pos=begin+len; |
len | 1002 | net/inet/arp.c | len=0; |
len | 1012 | net/inet/arp.c | len-=(offset-begin); /* Start slop */ |
len | 1013 | net/inet/arp.c | if(len>length) |
len | 1014 | net/inet/arp.c | len=length; /* Ending slop */ |
len | 1015 | net/inet/arp.c | return len; |
len | 406 | net/inet/dev.c | skb2->len-=skb->dev->hard_header_len; |
len | 501 | net/inet/dev.c | int dev_rint(unsigned char *buff, long len, int flags, struct device *dev) |
len | 509 | net/inet/dev.c | if (dev == NULL || buff == NULL || len <= 0) |
len | 526 | net/inet/dev.c | skb = alloc_skb(len, GFP_ATOMIC); |
len | 541 | net/inet/dev.c | left = len; |
len | 543 | net/inet/dev.c | len2 = len; |
len | 562 | net/inet/dev.c | skb->len = len; |
len | 672 | net/inet/dev.c | skb->len -= skb->dev->hard_header_len; |
len | 824 | net/inet/dev.c | int len; |
len | 835 | net/inet/dev.c | len = ifc.ifc_len; |
len | 843 | net/inet/dev.c | err=verify_area(VERIFY_WRITE,pos,len); |
len | 866 | net/inet/dev.c | len -= sizeof(struct ifreq); |
len | 872 | net/inet/dev.c | if (len < sizeof(struct ifreq)) |
len | 927 | net/inet/dev.c | int len=0; |
len | 939 | net/inet/dev.c | len+=size; |
len | 944 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
len | 945 | net/inet/dev.c | len+=size; |
len | 946 | net/inet/dev.c | pos=begin+len; |
len | 950 | net/inet/dev.c | len=0; |
len | 958 | net/inet/dev.c | len-=(offset-begin); /* Start slop */ |
len | 959 | net/inet/dev.c | if(len>length) |
len | 960 | net/inet/dev.c | len=length; /* Ending slop */ |
len | 961 | net/inet/dev.c | return len; |
len | 85 | net/inet/eth.c | void *daddr, void *saddr, unsigned len, |
len | 98 | net/inet/eth.c | eth->h_proto = htons(len); |
len | 29 | net/inet/eth.h | unsigned long saddr, unsigned len); |
len | 105 | net/inet/icmp.c | int len; |
len | 212 | net/inet/icmp.c | len = dev->hard_header_len + sizeof(struct iphdr) + sizeof(struct icmphdr) + |
len | 215 | net/inet/icmp.c | skb = (struct sk_buff *) alloc_skb(len, GFP_ATOMIC); |
len | 231 | net/inet/icmp.c | &ndev, IPPROTO_ICMP, NULL, len, |
len | 245 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
len | 409 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 420 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
len | 433 | net/inet/icmp.c | IPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255); |
len | 447 | net/inet/icmp.c | skb2->len = offset + len; |
len | 453 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
len | 457 | net/inet/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |
len | 476 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 485 | net/inet/icmp.c | if (len != 20) |
len | 489 | net/inet/icmp.c | len); |
len | 493 | net/inet/icmp.c | if (len < 12) |
len | 513 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
len | 527 | net/inet/icmp.c | skb2->len = offset + 20; |
len | 565 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 578 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 589 | net/inet/icmp.c | size = dev->hard_header_len + 64 + len; |
len | 604 | net/inet/icmp.c | IPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255); |
len | 618 | net/inet/icmp.c | skb2->len = offset + len; |
len | 632 | net/inet/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |
len | 647 | net/inet/icmp.c | unsigned long daddr, unsigned short len, |
len | 672 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) |
len | 716 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 724 | net/inet/icmp.c | icmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 732 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 740 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 32 | net/inet/icmp.h | unsigned short len, unsigned long saddr, |
len | 92 | net/inet/igmp.c | skb->len=tmp+sizeof(*igh); |
len | 194 | net/inet/igmp.c | unsigned long daddr, unsigned short len, unsigned long saddr, int redo, |
len | 197 | net/inet/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
len | 209 | net/inet/ip.c | mac = dev->hard_header(skb->data, dev, ETH_P_IP, NULL, NULL, len, skb); |
len | 229 | net/inet/ip.c | struct device **dev, int type, struct options *opt, int len, int tos, int ttl) |
len | 307 | net/inet/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
len | 309 | net/inet/ip.c | len -= tmp; |
len | 357 | net/inet/ip.c | int i, len = sizeof(struct iphdr); |
len | 375 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
len | 381 | net/inet/ip.c | len++; |
len | 395 | net/inet/ip.c | len += 11; |
len | 400 | net/inet/ip.c | len += *buff; |
len | 417 | net/inet/ip.c | len += *buff; |
len | 434 | net/inet/ip.c | len += *buff; |
len | 449 | net/inet/ip.c | len += 4; |
len | 456 | net/inet/ip.c | len += *buff; |
len | 458 | net/inet/ip.c | opt->tstamp.len = *buff / 4 - 1; |
len | 465 | net/inet/ip.c | for (i = 0; i < opt->tstamp.len; i++) { |
len | 504 | net/inet/ip.c | unsigned short ip_compute_csum(unsigned char * buff, int len) |
len | 509 | net/inet/ip.c | if (len > 3) |
len | 522 | net/inet/ip.c | : "0" (sum), "c" (len >> 2) ,"1" (buff) |
len | 525 | net/inet/ip.c | if (len & 2) |
len | 534 | net/inet/ip.c | if (len & 1) |
len | 587 | net/inet/ip.c | fp->len = end - offset; |
len | 761 | net/inet/ip.c | qp->len = 0; |
len | 795 | net/inet/ip.c | if (qp->len == 0) |
len | 829 | net/inet/ip.c | int count, len; |
len | 835 | net/inet/ip.c | len = qp->maclen + qp->ihlen + qp->len; |
len | 837 | net/inet/ip.c | if ((skb = alloc_skb(len,GFP_ATOMIC)) == NULL) |
len | 846 | net/inet/ip.c | skb->len = (len - qp->maclen); |
len | 864 | net/inet/ip.c | if(count+fp->len > skb->len) |
len | 872 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
len | 873 | net/inet/ip.c | count += fp->len; |
len | 969 | net/inet/ip.c | qp->len = end; |
len | 1009 | net/inet/ip.c | next->len -= i; /* so reduce size of */ |
len | 1017 | net/inet/ip.c | if (next->len <= 0) |
len | 1093 | net/inet/ip.c | int left, mtu, hlen, len; |
len | 1165 | net/inet/ip.c | len = left; |
len | 1167 | net/inet/ip.c | if (len > mtu) |
len | 1168 | net/inet/ip.c | len = mtu; |
len | 1171 | net/inet/ip.c | if (len < left) |
len | 1173 | net/inet/ip.c | len/=8; |
len | 1174 | net/inet/ip.c | len*=8; |
len | 1180 | net/inet/ip.c | if ((skb2 = alloc_skb(len + hlen,GFP_ATOMIC)) == NULL) |
len | 1195 | net/inet/ip.c | skb2->len = len + hlen; |
len | 1221 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
len | 1222 | net/inet/ip.c | left -= len; |
len | 1237 | net/inet/ip.c | ptr += len; |
len | 1238 | net/inet/ip.c | offset += len; |
len | 1391 | net/inet/ip.c | skb2 = alloc_skb(dev2->hard_header_len + skb->len, GFP_ATOMIC); |
len | 1403 | net/inet/ip.c | skb2->len = skb->len + dev2->hard_header_len; |
len | 1409 | net/inet/ip.c | memcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len); |
len | 1412 | net/inet/ip.c | (void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr); |
len | 1422 | net/inet/ip.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
len | 1492 | net/inet/ip.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0) |
len | 1520 | net/inet/ip.c | skb->len=ntohs(iph->tot_len); |
len | 1747 | net/inet/ip.c | int len=skb->len-old_dev->hard_header_len; |
len | 1748 | net/inet/ip.c | struct sk_buff *newskb=alloc_skb(len+dev->hard_header_len, GFP_ATOMIC); |
len | 1763 | net/inet/ip.c | newskb->len=len+dev->hard_header_len; |
len | 1766 | net/inet/ip.c | newskb->ip_hdr=(struct iphdr *)(newskb->data+ip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr)); |
len | 1767 | net/inet/ip.c | memcpy(newskb->ip_hdr,skb->ip_hdr,len); |
len | 1820 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
len | 1849 | net/inet/ip.c | if(skb->len > dev->mtu + dev->hard_header_len) |
len | 2004 | net/inet/ip.c | int len=0; |
len | 2007 | net/inet/ip.c | len=sprintf(buffer,"Device : Count\tGroup Users Timer\n"); |
len | 2015 | net/inet/ip.c | len+=sprintf(buffer+len,"%-10s: %5d\n", |
len | 2019 | net/inet/ip.c | len+=sprintf(buffer+len, |
len | 2023 | net/inet/ip.c | pos=begin+len; |
len | 2026 | net/inet/ip.c | len=0; |
len | 2036 | net/inet/ip.c | len-=(offset-begin); |
len | 2037 | net/inet/ip.c | if(len>length) |
len | 2038 | net/inet/ip.c | len=length; |
len | 2039 | net/inet/ip.c | return len; |
len | 2333 | net/inet/ip.c | int len; |
len | 2358 | net/inet/ip.c | len=strlen(sk->ip_mc_name); |
len | 2359 | net/inet/ip.c | err=verify_area(VERIFY_WRITE, optval, len); |
len | 2362 | net/inet/ip.c | put_fs_long(len,(unsigned long *) optlen); |
len | 2363 | net/inet/ip.c | memcpy_tofs((void *)optval,sk->ip_mc_name, len); |
len | 52 | net/inet/ip.h | int len; /* length of this fragment */ |
len | 63 | net/inet/ip.h | int len; /* total length of original datagram */ |
len | 84 | net/inet/ip.h | struct options *opt, int len, |
len | 86 | net/inet/ip.h | extern unsigned short ip_compute_csum(unsigned char * buff, int len); |
len | 687 | net/inet/ip_fw.c | struct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len) |
len | 690 | net/inet/ip_fw.c | if ( len != sizeof(struct ip_fw) ) |
len | 749 | net/inet/ip_fw.c | int ip_acct_ctl(int stage, void *m, int len) |
len | 767 | net/inet/ip_fw.c | if (!(frwl=check_ipfw_struct(m,len))) |
len | 794 | net/inet/ip_fw.c | int ip_fw_ctl(int stage, void *m, int len) |
len | 839 | net/inet/ip_fw.c | if ( len < sizeof(struct ip_fwpkt) ) |
len | 843 | net/inet/ip_fw.c | len, sizeof(struct ip_fwpkt)); |
len | 885 | net/inet/ip_fw.c | frwl=check_ipfw_struct(m,len); |
len | 925 | net/inet/ip_fw.c | int len, p; |
len | 933 | net/inet/ip_fw.c | len=sprintf(buffer, "IP firewall block rules, default %d\n", |
len | 938 | net/inet/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
len | 945 | net/inet/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
len | 951 | net/inet/ip_fw.c | len=0; |
len | 960 | net/inet/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ", |
len | 964 | net/inet/ip_fw.c | len+=sprintf(buffer+len,"%u %u %lu %lu", |
len | 967 | net/inet/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
len | 968 | net/inet/ip_fw.c | buffer[len++]='\n'; |
len | 969 | net/inet/ip_fw.c | buffer[len]='\0'; |
len | 970 | net/inet/ip_fw.c | pos=begin+len; |
len | 973 | net/inet/ip_fw.c | len=0; |
len | 988 | net/inet/ip_fw.c | len-=(offset-begin); |
len | 989 | net/inet/ip_fw.c | if(len>length) |
len | 990 | net/inet/ip_fw.c | len=length; |
len | 991 | net/inet/ip_fw.c | return len; |
len | 430 | net/inet/ipx.c | int len; |
len | 434 | net/inet/ipx.c | skb->len += out_offset; |
len | 443 | net/inet/ipx.c | memmove(skb->h.raw, oldraw, skb->len); |
len | 444 | net/inet/ipx.c | skb->len += out_offset; |
len | 450 | net/inet/ipx.c | len = skb->len + out_offset; |
len | 451 | net/inet/ipx.c | skb2 = alloc_skb(len, GFP_ATOMIC); |
len | 454 | net/inet/ipx.c | skb2->len = len; |
len | 457 | net/inet/ipx.c | memcpy(skb2->h.raw, skb->h.raw, skb->len); |
len | 978 | net/inet/ipx.c | ipxrtr_route_packet(ipx_socket *sk, struct sockaddr_ipx *usipx, void *ubuf, int len) |
len | 1000 | net/inet/ipx.c | size=sizeof(ipx_packet)+len; |
len | 1009 | net/inet/ipx.c | skb->len=size; |
len | 1016 | net/inet/ipx.c | ipx->ipx_pktsize=htons(len+sizeof(ipx_packet)); |
len | 1028 | net/inet/ipx.c | memcpy_fromfs((char *)(ipx+1),ubuf,len); |
len | 1119 | net/inet/ipx.c | int len=0; |
len | 1125 | net/inet/ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
len | 1128 | net/inet/ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
len | 1129 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
len | 1132 | net/inet/ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
len | 1134 | net/inet/ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
len | 1135 | net/inet/ipx.c | len += sprintf (buffer+len, "%s\n", |
len | 1139 | net/inet/ipx.c | pos=begin+len; |
len | 1142 | net/inet/ipx.c | len=0; /* Keep dumping into the buffer start */ |
len | 1151 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
len | 1152 | net/inet/ipx.c | if(len>length) |
len | 1153 | net/inet/ipx.c | len=length; /* Remove unwanted tail data from length */ |
len | 1155 | net/inet/ipx.c | return len; |
len | 1163 | net/inet/ipx.c | int len=0; |
len | 1169 | net/inet/ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
len | 1174 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX:%04X ", |
len | 1178 | net/inet/ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
len | 1180 | net/inet/ipx.c | len += sprintf (buffer+len, |
len | 1188 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX %08lX ", |
len | 1190 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
len | 1194 | net/inet/ipx.c | pos=begin+len; |
len | 1198 | net/inet/ipx.c | len=0; /* Keep dumping into the buffer start */ |
len | 1208 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
len | 1209 | net/inet/ipx.c | if(len>length) |
len | 1210 | net/inet/ipx.c | len=length; /* Remove unwanted tail data from length */ |
len | 1212 | net/inet/ipx.c | return len; |
len | 1218 | net/inet/ipx.c | int len=0; |
len | 1222 | net/inet/ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
len | 1226 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
len | 1228 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
len | 1234 | net/inet/ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
len | 1237 | net/inet/ipx.c | pos=begin+len; |
len | 1240 | net/inet/ipx.c | len=0; |
len | 1247 | net/inet/ipx.c | len-=(offset-begin); |
len | 1248 | net/inet/ipx.c | if(len>length) |
len | 1249 | net/inet/ipx.c | len=length; |
len | 1250 | net/inet/ipx.c | return len; |
len | 1353 | net/inet/ipx.c | static void def_callback2(struct sock *sk, int len) |
len | 1666 | net/inet/ipx.c | static int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock, |
len | 1703 | net/inet/ipx.c | retval = ipxrtr_route_packet(sk, usipx, ubuf, len); |
len | 1706 | net/inet/ipx.c | return len; |
len | 1814 | net/inet/ipx.c | amount=skb->len; |
len | 30 | net/inet/p8022.c | skb->len -= 3; |
len | 44 | net/inet/p8022.c | unsigned long len = skb->len; |
len | 48 | net/inet/p8022.c | dev->hard_header(skb->data, dev, len - hard_len, |
len | 49 | net/inet/p8022.c | dest_node, NULL, len - hard_len, skb); |
len | 12 | net/inet/p8023.c | unsigned long len = skb->len; |
len | 15 | net/inet/p8023.c | dev->hard_header(skb->data, dev, len - hard_len, |
len | 16 | net/inet/p8023.c | dest_node, NULL, len - hard_len, skb); |
len | 90 | net/inet/packet.c | skb->len += dev->hard_header_len; |
len | 122 | net/inet/packet.c | sk->data_ready(sk,skb->len); |
len | 140 | net/inet/packet.c | static int packet_sendto(struct sock *sk, unsigned char *from, int len, |
len | 183 | net/inet/packet.c | if(len>dev->mtu+dev->hard_header_len) |
len | 186 | net/inet/packet.c | skb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL); |
len | 204 | net/inet/packet.c | memcpy_fromfs(skb->data, from, len); |
len | 205 | net/inet/packet.c | skb->len = len; |
len | 216 | net/inet/packet.c | return(len); |
len | 225 | net/inet/packet.c | int len, int noblock, unsigned flags) |
len | 227 | net/inet/packet.c | return(packet_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 284 | net/inet/packet.c | int packet_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 329 | net/inet/packet.c | truesize = skb->len; |
len | 330 | net/inet/packet.c | copied = min(len, truesize); |
len | 366 | net/inet/packet.c | int len, int noblock, unsigned flags) |
len | 368 | net/inet/packet.c | return(packet_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 12 | net/inet/pe2.c | unsigned long len = skb->len; |
len | 16 | net/inet/pe2.c | dest_node, NULL, len - hard_len, skb); |
len | 65 | net/inet/proc.c | int len=0; |
len | 70 | net/inet/proc.c | len+=sprintf(buffer, "sl local_address rem_address st tx_queue rx_queue tr tm->when uid\n"); |
len | 93 | net/inet/proc.c | len+=sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d %d\n", |
len | 108 | net/inet/proc.c | pos=begin+len; |
len | 111 | net/inet/proc.c | len=0; |
len | 123 | net/inet/proc.c | len-=(offset-begin); |
len | 124 | net/inet/proc.c | if(len>length) |
len | 125 | net/inet/proc.c | len=length; |
len | 126 | net/inet/proc.c | return len; |
len | 157 | net/inet/proc.c | int len = socket_get_info(buffer,start,offset,length); |
len | 159 | net/inet/proc.c | len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); |
len | 160 | net/inet/proc.c | len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |
len | 162 | net/inet/proc.c | len += sprintf(buffer+len,"UDP: inuse %d highest %d\n", |
len | 164 | net/inet/proc.c | len += sprintf(buffer+len,"RAW: inuse %d highest %d\n", |
len | 166 | net/inet/proc.c | len += sprintf(buffer+len,"PAC: inuse %d highest %d\n", |
len | 169 | net/inet/proc.c | len -= offset; |
len | 170 | net/inet/proc.c | if (len > length) |
len | 171 | net/inet/proc.c | len = length; |
len | 172 | net/inet/proc.c | return len; |
len | 184 | net/inet/proc.c | int len; |
len | 189 | net/inet/proc.c | len = sprintf (buffer, |
len | 203 | net/inet/proc.c | len += sprintf (buffer + len, |
len | 220 | net/inet/proc.c | len += sprintf (buffer + len, |
len | 230 | net/inet/proc.c | len += sprintf (buffer + len, |
len | 240 | net/inet/proc.c | if (offset >= len) |
len | 246 | net/inet/proc.c | len -= offset; |
len | 247 | net/inet/proc.c | if (len > length) |
len | 248 | net/inet/proc.c | len = length; |
len | 249 | net/inet/proc.c | return len; |
len | 33 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
len | 37 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
len | 61 | net/inet/psnap.c | skb->len -= 5; |
len | 429 | net/inet/rarp.c | int len=0; |
len | 440 | net/inet/rarp.c | len+=size; |
len | 447 | net/inet/rarp.c | len+=size; |
len | 459 | net/inet/rarp.c | size = sprintf(buffer+len, |
len | 470 | net/inet/rarp.c | len+=size; |
len | 471 | net/inet/rarp.c | pos=begin+len; |
len | 475 | net/inet/rarp.c | len=0; |
len | 485 | net/inet/rarp.c | len-=(offset-begin); /* Start slop */ |
len | 486 | net/inet/rarp.c | if(len>length) |
len | 487 | net/inet/rarp.c | len=length; /* Ending slop */ |
len | 488 | net/inet/rarp.c | return len; |
len | 101 | net/inet/raw.c | skb->len = ntohs(skb->ip_hdr->tot_len); |
len | 127 | net/inet/raw.c | int len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len) |
len | 173 | net/inet/raw.c | skb=sock_alloc_send_skb(sk, len+sk->prot->max_header, noblock, &err); |
len | 191 | net/inet/raw.c | memcpy_fromfs(skb->data + tmp, from, len); |
len | 210 | net/inet/raw.c | skb->len = tmp + len; |
len | 214 | net/inet/raw.c | return(len); |
len | 218 | net/inet/raw.c | static int raw_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 221 | net/inet/raw.c | return(raw_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 242 | net/inet/raw.c | int raw_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 264 | net/inet/raw.c | truesize=skb->len; |
len | 265 | net/inet/raw.c | copied = min(len, truesize); |
len | 282 | net/inet/raw.c | int raw_read (struct sock *sk, unsigned char *buff, int len, int noblock,unsigned flags) |
len | 284 | net/inet/raw.c | return(raw_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 27 | net/inet/raw.h | int len, int noblock, unsigned flags, |
len | 30 | net/inet/raw.h | int len, int noblock, unsigned flags); |
len | 499 | net/inet/route.c | int len=0; |
len | 504 | net/inet/route.c | len += sprintf(buffer, |
len | 506 | net/inet/route.c | pos=len; |
len | 514 | net/inet/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\n", |
len | 518 | net/inet/route.c | len+=size; |
len | 522 | net/inet/route.c | len=0; |
len | 530 | net/inet/route.c | len-=(offset-begin); |
len | 531 | net/inet/route.c | if(len>length) |
len | 532 | net/inet/route.c | len=length; |
len | 533 | net/inet/route.c | return len; |
len | 505 | net/inet/skbuff.c | n->len=skb->len; |
len | 521 | net/inet/sock.c | sk->data_ready(sk,skb->len); |
len | 558 | net/inet/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
len | 215 | net/inet/sock.h | int len, int nonblock, unsigned flags); |
len | 217 | net/inet/sock.h | int len, int nonblock, unsigned flags); |
len | 219 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
len | 223 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
len | 230 | net/inet/sock.h | struct options *opt, int len, int tos, int ttl); |
len | 242 | net/inet/sock.h | unsigned short len, unsigned long saddr, |
len | 435 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
len | 847 | net/inet/tcp.c | sum = skb->len -(counted - skb->h.th->seq); /* Length - header but start from where we are up to (avoid overlaps) */ |
len | 1019 | net/inet/tcp.c | unsigned short tcp_check(struct tcphdr *th, int len, |
len | 1037 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
len | 1091 | net/inet/tcp.c | : "0"(sum), "c"(len), "S"(th) |
len | 1102 | net/inet/tcp.c | unsigned long daddr, int len, struct sock *sk) |
len | 1105 | net/inet/tcp.c | th->check = tcp_check(th, len, saddr, daddr); |
len | 1123 | net/inet/tcp.c | size = skb->len - ((unsigned char *) th - skb->data); |
len | 1129 | net/inet/tcp.c | if (size < sizeof(struct tcphdr) || size > skb->len) |
len | 1132 | net/inet/tcp.c | skb, skb->data, th, skb->len); |
len | 1335 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 1352 | net/inet/tcp.c | buff->len += tmp; |
len | 1440 | net/inet/tcp.c | int len, int nonblock, unsigned flags) |
len | 1453 | net/inet/tcp.c | while(len > 0) |
len | 1569 | net/inet/tcp.c | copy = min(sk->mss - (skb->len - hdrlen), len); |
len | 1577 | net/inet/tcp.c | memcpy_fromfs(skb->data + skb->len, from, copy); |
len | 1578 | net/inet/tcp.c | skb->len += copy; |
len | 1581 | net/inet/tcp.c | len -= copy; |
len | 1584 | net/inet/tcp.c | if ((skb->len - hdrlen) >= sk->mss || |
len | 1607 | net/inet/tcp.c | if (copy > len) |
len | 1608 | net/inet/tcp.c | copy = len; |
len | 1683 | net/inet/tcp.c | skb->len = 0; |
len | 1705 | net/inet/tcp.c | skb->len += tmp; |
len | 1709 | net/inet/tcp.c | tmp = tcp_build_header((struct tcphdr *)buff, sk, len-copy); |
len | 1724 | net/inet/tcp.c | skb->len += tmp; |
len | 1729 | net/inet/tcp.c | len -= copy; |
len | 1730 | net/inet/tcp.c | skb->len += copy; |
len | 1769 | net/inet/tcp.c | int len, int nonblock, unsigned flags, |
len | 1784 | net/inet/tcp.c | return tcp_write(sk, from, len, nonblock, flags); |
len | 1822 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 1839 | net/inet/tcp.c | buff->len += tmp; |
len | 1959 | net/inet/tcp.c | unsigned char *to, int len, unsigned flags) |
len | 2016 | net/inet/tcp.c | int len, int nonblock, unsigned flags) |
len | 2036 | net/inet/tcp.c | return tcp_read_urg(sk, nonblock, to, len, flags); |
len | 2051 | net/inet/tcp.c | while (len > 0) |
len | 2079 | net/inet/tcp.c | if (offset < skb->len) |
len | 2150 | net/inet/tcp.c | used = skb->len - offset; |
len | 2151 | net/inet/tcp.c | if (len < used) |
len | 2152 | net/inet/tcp.c | used = len; |
len | 2192 | net/inet/tcp.c | len -= used; |
len | 2205 | net/inet/tcp.c | if (used + offset < skb->len) |
len | 2329 | net/inet/tcp.c | buff->len = sizeof(*t1); |
len | 2365 | net/inet/tcp.c | buff->len += tmp; |
len | 2517 | net/inet/tcp.c | buff->len = sizeof(*t1); |
len | 2538 | net/inet/tcp.c | buff->len += tmp; |
len | 2867 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr)+4; |
len | 2898 | net/inet/tcp.c | buff->len += tmp; |
len | 3078 | net/inet/tcp.c | size = skb->len - (((unsigned char *) th) - skb->data); |
len | 3107 | net/inet/tcp.c | extern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
len | 3183 | net/inet/tcp.c | if (len != th->doff*4) |
len | 3712 | net/inet/tcp.c | sk->fin_seq = th->seq + skb->len + th->syn + th->fin; |
len | 3798 | net/inet/tcp.c | unsigned long saddr, unsigned short len) |
len | 3807 | net/inet/tcp.c | skb->len = len -(th->doff*4); |
len | 3814 | net/inet/tcp.c | sk->bytes_rcv += skb->len; |
len | 3816 | net/inet/tcp.c | if (skb->len == 0 && !th->fin) |
len | 3843 | net/inet/tcp.c | if(skb->len) /* We don't care if it's just an ack or |
len | 3846 | net/inet/tcp.c | new_seq= th->seq + skb->len + th->syn; /* Right edge of _data_ part of frame */ |
len | 3922 | net/inet/tcp.c | if (th->seq==skb1->h.th->seq && skb->len>= skb1->len) |
len | 3957 | net/inet/tcp.c | th->ack_seq = th->seq + skb->len; |
len | 4157 | net/inet/tcp.c | unsigned long saddr, unsigned long len) |
len | 4180 | net/inet/tcp.c | if (ptr >= len) |
len | 4306 | net/inet/tcp.c | buff->len = 24; |
len | 4333 | net/inet/tcp.c | buff->len += tmp; |
len | 4418 | net/inet/tcp.c | extern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len, |
len | 4423 | net/inet/tcp.c | next_seq = len - 4*th->doff; |
len | 4507 | net/inet/tcp.c | unsigned long daddr, unsigned short len, |
len | 4556 | net/inet/tcp.c | if (tcp_check(th, len, saddr, daddr )) |
len | 4583 | net/inet/tcp.c | skb->len = len; |
len | 4705 | net/inet/tcp.c | if(!tcp_ack(sk,th,saddr,len)) |
len | 4824 | net/inet/tcp.c | if(!tcp_sequence(sk,th,len,opt,saddr,dev)) |
len | 4849 | net/inet/tcp.c | if(th->ack && !tcp_ack(sk,th,saddr,len)) |
len | 4870 | net/inet/tcp.c | if(tcp_urg(sk, th, saddr, len)) |
len | 4882 | net/inet/tcp.c | if(tcp_data(skb,sk, saddr, len)) |
len | 4932 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 4948 | net/inet/tcp.c | buff->len += tmp; |
len | 129 | net/inet/tcp.h | unsigned short len, unsigned long saddr, int redo, |
len | 136 | net/inet/tcp.h | unsigned long daddr, int len, struct sock *sk); |
len | 66 | net/inet/timer.c | void reset_timer (struct sock *t, int timeout, unsigned long len) |
len | 72 | net/inet/timer.c | if ((int) len < 0) /* prevent close to infinite timers. THEY _DO_ */ |
len | 73 | net/inet/timer.c | len = 3; /* happen (negative values ?) - don't ask me why ! -FB */ |
len | 75 | net/inet/timer.c | t->timer.expires = len; |
len | 83 | net/inet/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len); |
len | 155 | net/inet/udp.c | static unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr) |
len | 163 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
len | 166 | net/inet/udp.c | if (len > 3) |
len | 175 | net/inet/udp.c | : "0"(sum), "c"(len/4) ,"1"(uh) |
len | 195 | net/inet/udp.c | if ((len & 2) != 0) |
len | 209 | net/inet/udp.c | if ((len & 1) != 0) |
len | 234 | net/inet/udp.c | unsigned long daddr, int len, struct sock *sk) |
len | 239 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
len | 252 | net/inet/udp.c | unsigned char *from, int len, int rt) |
len | 266 | net/inet/udp.c | size = sk->prot->max_header + len; |
len | 306 | net/inet/udp.c | skb->len = tmp + sizeof(struct udphdr) + len; /* len + UDP + IP + MAC */ |
len | 314 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |
len | 323 | net/inet/udp.c | memcpy_fromfs(buff, from, len); |
len | 329 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
len | 338 | net/inet/udp.c | return(len); |
len | 342 | net/inet/udp.c | static int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock, |
len | 390 | net/inet/udp.c | tmp = udp_send(sk, &sin, from, len, flags); |
len | 401 | net/inet/udp.c | static int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 404 | net/inet/udp.c | return(udp_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 445 | net/inet/udp.c | amount = skb->len; |
len | 467 | net/inet/udp.c | int udp_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 492 | net/inet/udp.c | truesize = skb->len; |
len | 493 | net/inet/udp.c | copied = min(len, truesize); |
len | 519 | net/inet/udp.c | int udp_read(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 522 | net/inet/udp.c | return(udp_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 568 | net/inet/udp.c | unsigned long daddr, unsigned short len, |
len | 590 | net/inet/udp.c | ulen = ntohs(uh->len); |
len | 592 | net/inet/udp.c | if (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) |
len | 594 | net/inet/udp.c | printk("UDP: short packet: %d/%d\n", ulen, len); |
len | 600 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) |
len | 614 | net/inet/udp.c | len=ulen; |
len | 637 | net/inet/udp.c | udp_deliver(sk, uh, skb1, dev,saddr,daddr,len); |
len | 664 | net/inet/udp.c | return udp_deliver(sk,uh,skb,dev, saddr, daddr, len); |
len | 667 | net/inet/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len) |
len | 671 | net/inet/udp.c | skb->len = len; |
len | 685 | net/inet/udp.c | skb->len = len - sizeof(*uh); |
len | 37 | net/inet/udp.h | int len, int noblock, unsigned flags, |
len | 40 | net/inet/udp.h | int len, int noblock, unsigned flags); |
len | 45 | net/inet/udp.h | unsigned short len, unsigned long saddr, int redo, |
len | 135 | net/socket.c | int len; |
len | 140 | net/socket.c | len=get_fs_long(ulen); |
len | 141 | net/socket.c | if(len>klen) |
len | 142 | net/socket.c | len=klen; |
len | 143 | net/socket.c | if(len<0 || len> MAX_SOCK_ADDR) |
len | 145 | net/socket.c | if(len) |
len | 147 | net/socket.c | if((err=verify_area(VERIFY_WRITE,uaddr,len))<0) |
len | 149 | net/socket.c | memcpy_tofs(uaddr,kaddr,len); |
len | 151 | net/socket.c | put_fs_long(len,ulen); |
len | 794 | net/socket.c | int len; |
len | 838 | net/socket.c | newsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1); |
len | 839 | net/socket.c | move_addr_to_user(address,len, upeer_sockaddr, upeer_addrlen); |
len | 905 | net/socket.c | int len; |
len | 913 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0); |
len | 916 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
len | 930 | net/socket.c | int len; |
len | 938 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1); |
len | 941 | net/socket.c | if((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0) |
len | 951 | net/socket.c | static int sock_send(int fd, void * buff, int len, unsigned flags) |
len | 962 | net/socket.c | if(len<0) |
len | 964 | net/socket.c | err=verify_area(VERIFY_READ, buff, len); |
len | 967 | net/socket.c | return(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags)); |
len | 976 | net/socket.c | static int sock_sendto(int fd, void * buff, int len, unsigned flags, |
len | 989 | net/socket.c | if(len<0) |
len | 991 | net/socket.c | err=verify_area(VERIFY_READ,buff,len); |
len | 998 | net/socket.c | return(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK), |
len | 1011 | net/socket.c | static int sock_recv(int fd, void * buff, int len, unsigned flags) |
len | 1023 | net/socket.c | if(len<0) |
len | 1025 | net/socket.c | if(len==0) |
len | 1027 | net/socket.c | err=verify_area(VERIFY_WRITE, buff, len); |
len | 1031 | net/socket.c | return(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags)); |
len | 1040 | net/socket.c | static int sock_recvfrom(int fd, void * buff, int len, unsigned flags, |
len | 1052 | net/socket.c | if(len<0) |
len | 1054 | net/socket.c | if(len==0) |
len | 1057 | net/socket.c | err=verify_area(VERIFY_WRITE,buff,len); |
len | 1061 | net/socket.c | len=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK), |
len | 1064 | net/socket.c | if(len<0) |
len | 1065 | net/socket.c | return len; |
len | 1069 | net/socket.c | return len; |
len | 1382 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
len | 1383 | net/socket.c | if (offset >= len) |
len | 1389 | net/socket.c | len -= offset; |
len | 1390 | net/socket.c | if (len > length) |
len | 1391 | net/socket.c | len = length; |
len | 1392 | net/socket.c | return len; |
len | 43 | net/unix/proc.c | int len=0; |
len | 50 | net/unix/proc.c | len += sprintf(buffer, "Num RefCount Protocol Flags Type St Path\n"); |
len | 63 | net/unix/proc.c | len += sprintf(buffer+len, "%2d: %08X %08X %08lX %04X %02X", i, |
len | 74 | net/unix/proc.c | len += sprintf(buffer+len, " %s\n", |
len | 79 | net/unix/proc.c | buffer[len++]='\n'; |
len | 82 | net/unix/proc.c | pos=begin+len; |
len | 85 | net/unix/proc.c | len=0; |
len | 96 | net/unix/proc.c | len-=(offset-begin); |
len | 97 | net/unix/proc.c | if(len>length) |
len | 98 | net/unix/proc.c | len=length; |
len | 99 | net/unix/proc.c | return len; |
len | 80 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, |
len | 82 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, |
len | 84 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, |
len | 87 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, |
len | 163 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
len | 169 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
len | 189 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
len | 194 | net/unix/sock.c | return(unix_proto_write(sock, (char *) buff, len, nonblock)); |
len | 202 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
len | 207 | net/unix/sock.c | return(unix_proto_read(sock, (char *) buff, len, nonblock)); |
len | 585 | net/unix/sock.c | int len; |
len | 598 | net/unix/sock.c | len = upd->sockaddr_len; |
len | 599 | net/unix/sock.c | memcpy(usockaddr, &upd->sockaddr_un, len); |
len | 600 | net/unix/sock.c | *usockaddr_len=len; |