taglinefilesource code
len131arch/alpha/kernel/irq.cint i, len = 0;
len137arch/alpha/kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len142arch/alpha/kernel/irq.creturn len;
len156arch/alpha/kernel/osf_sys.casmlinkage unsigned long osf_mmap(unsigned long addr, unsigned long len,
len168arch/alpha/kernel/osf_sys.creturn do_mmap(file, addr, len, prot, flags, off);
len467arch/alpha/kernel/osf_sys.cunsigned len;
len474arch/alpha/kernel/osf_sys.clen = namelen;
len476arch/alpha/kernel/osf_sys.clen = 32;
len478arch/alpha/kernel/osf_sys.cfor (i = 0; i < len; ++i) {
len31arch/alpha/lib/checksum.cunsigned short len,
len36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
len47arch/alpha/lib/checksum.cstatic inline unsigned long do_csum(unsigned char * buff, int len)
len52arch/alpha/lib/checksum.cif (len <= 0)
len57arch/alpha/lib/checksum.clen--;
len60arch/alpha/lib/checksum.ccount = len >> 1;    /* nr of 16-bit words.. */
len65arch/alpha/lib/checksum.clen -= 2;
len73arch/alpha/lib/checksum.clen -= 4;
len90arch/alpha/lib/checksum.cif (len & 4) {
len95arch/alpha/lib/checksum.cif (len & 2) {
len100arch/alpha/lib/checksum.cif (len & 1)
len130arch/alpha/lib/checksum.cunsigned int csum_partial(unsigned char * buff, int len, unsigned int sum)
len132arch/alpha/lib/checksum.cunsigned long result = do_csum(buff, len);
len149arch/alpha/lib/checksum.cunsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
len158arch/alpha/lib/checksum.csum = csum_partial(src, len, sum);
len159arch/alpha/lib/checksum.cmemcpy(dst, src, len);
len167arch/alpha/lib/checksum.cunsigned short ip_compute_csum(unsigned char * buff, int len)
len169arch/alpha/lib/checksum.creturn ~from64to16(do_csum(buff,len));
len264arch/i386/boot/compressed/gzip.hvoid     copy_block OF((char *buf, unsigned len, int header));
len220arch/i386/boot/compressed/misc.cint len, i;
len225arch/i386/boot/compressed/misc.clen = INBUFSIZ-insize;
len226arch/i386/boot/compressed/misc.cif (len > (input_len-input_ptr+1)) len=input_len-input_ptr+1;
len227arch/i386/boot/compressed/misc.cif (len == 0 || len == EOF) break;
len229arch/i386/boot/compressed/misc.cfor (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i];
len230arch/i386/boot/compressed/misc.cinsize += len;
len231arch/i386/boot/compressed/misc.cinput_ptr += len;
len398arch/i386/boot/compressed/misc.cunsigned len = (unsigned)get_byte();
len399arch/i386/boot/compressed/misc.clen |= ((unsigned)get_byte())<<8;
len400arch/i386/boot/compressed/misc.cwhile (len--) (void)get_byte();
len18arch/i386/boot/compressed/piggyback.cint c, n=0, len=0;
len35arch/i386/boot/compressed/piggyback.clen = 0;
len36arch/i386/boot/compressed/piggyback.cwhile ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0)
len37arch/i386/boot/compressed/piggyback.clen += n;
len45arch/i386/boot/compressed/piggyback.cif (len >= sizeof(tmp_buf))
len51arch/i386/boot/compressed/piggyback.cfprintf(stderr, "Compressed size %d.\n", len);
len56arch/i386/boot/compressed/piggyback.cobj.a_data = len + sizeof(long);
len63arch/i386/boot/compressed/piggyback.cwrite(1, tmp_buf, len);
len64arch/i386/boot/compressed/piggyback.cwrite(1, (char *)&len, sizeof(len));
len69arch/i386/boot/compressed/piggyback.cvar_names[1].n_value = len;
len75arch/i386/boot/compressed/piggyback.clen = sizeof(string_names) + sizeof(len);
len76arch/i386/boot/compressed/piggyback.cwrite(1, (char *)&len, sizeof(len));
len165arch/i386/kernel/irq.cint i, len = 0;
len171arch/i386/kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len176arch/i386/kernel/irq.creturn len;
len84arch/i386/kernel/setup.cint len = 0;
len129arch/i386/kernel/setup.cif (COMMAND_LINE_SIZE <= ++len)
len26arch/i386/lib/checksum.cunsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum) {
len93arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(buff)
len105arch/i386/lib/checksum.cint len, int sum) {
len191arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(src), "D" (dst)
len200arch/i386/lib/checksum.cint len, int sum) {
len286arch/i386/lib/checksum.c: "0"(sum), "c"(len), "S"(src), "D" (dst)
len114arch/mips/kernel/irq.cint i, len = 0;
len120arch/mips/kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len125arch/mips/kernel/irq.creturn len;
len75arch/mips/kernel/setup.cint len = 0;
len106arch/mips/kernel/setup.cif (CL_SIZE <= ++len)
len153arch/sparc/kernel/idprom.cregister int len;
len159arch/sparc/kernel/idprom.clen = prom_getproperty(prom_root_node, "vac_hwflush",
len161arch/sparc/kernel/idprom.cif(len != 4) tmp1=0;
len163arch/sparc/kernel/idprom.clen = prom_getproperty(prom_root_node, "vac-hwflush",
len165arch/sparc/kernel/idprom.cif(len != 4) tmp2=0;
len46arch/sparc/kernel/ioport.cvoid *sparc_alloc_io (void *address, void *virtual, int len, char *name,
len59arch/sparc/kernel/ioport.cif (((unsigned long) virtual + len) > (IOBASE_VADDR + IOBASE_LEN)){
len63arch/sparc/kernel/ioport.cif (check_region (vaddr, len)){
len69arch/sparc/kernel/ioport.crequest_region (vaddr, len, name);
len73arch/sparc/kernel/ioport.cfor (; len > 0; len -= PAGE_SIZE){
len84arch/sparc/kernel/ioport.cvoid *sparc_dvma_malloc (int len, char *name)
len89arch/sparc/kernel/ioport.cif (check_region (vaddr, len)){
len93arch/sparc/kernel/ioport.cif (vaddr + len > (DVMA_VADDR + DVMA_LEN)){
len99arch/sparc/kernel/ioport.crequest_region (vaddr, len, name);
len104arch/sparc/kernel/ioport.cfor (; len > 0; len -= PAGE_SIZE){
len105arch/sparc/kernel/ioport.cprintk ("Len=%d\n", len);
len168arch/sparc/kernel/irq.cint i, len = 0;
len174arch/sparc/kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len179arch/sparc/kernel/irq.creturn len;
len70arch/sparc/prom/misc.cint len;
len72arch/sparc/prom/misc.clen = prom_getproplen(prom_root_node, "idprom");
len73arch/sparc/prom/misc.cif((len>num_bytes) || (len==-1)) return 0xff;
len115arch/sparc/prom/tree.cint len;
len117arch/sparc/prom/tree.clen = prom_getproperty(node, prop, user_buf, ubuf_size);
len118arch/sparc/prom/tree.cif(len != -1) return;
len478drivers/block/ide-cd.cint len;
len512drivers/block/ide-cd.clen = sizeof (*reqbuf) / 4;
len513drivers/block/ide-cd.clen *= 4;
len516drivers/block/ide-cd.cpc->c[4] = len;
len518drivers/block/ide-cd.cpc->buflen = len;
len864drivers/block/ide-cd.cint cdrom_read_check_ireason (ide_drive_t *drive, int len, int ireason)
len878drivers/block/ide-cd.cwhile (len > 0)
len882drivers/block/ide-cd.clen -= sizeof (dum);
len905drivers/block/ide-cd.cint ireason, len, sectors_to_transfer, nskip;
len914drivers/block/ide-cd.clen = IN_BYTE (IDE_LCYL_REG) + 256 * IN_BYTE (IDE_HCYL_REG);
len935drivers/block/ide-cd.cif (cdrom_read_check_ireason (drive, len, ireason)) return;
len939drivers/block/ide-cd.cif ((len % SECTOR_SIZE) != 0)
len942drivers/block/ide-cd.cdrive->name, len);
len950drivers/block/ide-cd.csectors_to_transfer = len / SECTOR_SIZE;
len1190drivers/block/ide-cd.cint ireason, len, stat, thislen;
len1199drivers/block/ide-cd.clen = IN_BYTE (IDE_LCYL_REG) + 256 * IN_BYTE (IDE_HCYL_REG);
len1230drivers/block/ide-cd.cif (thislen > len) thislen = len;
len1249drivers/block/ide-cd.cwhile (len > thislen)
len1253drivers/block/ide-cd.clen -= sizeof (dum);
len1278drivers/block/ide-cd.cwhile (len > thislen)
len1282drivers/block/ide-cd.clen -= sizeof (dum);
len1317drivers/block/ide-cd.cint len;
len1321drivers/block/ide-cd.clen = pc->buflen;
len1322drivers/block/ide-cd.cif (len < 0) len = -len;
len1327drivers/block/ide-cd.ccdrom_start_packet_command (drive, len, cdrom_do_pc_continuation);
len2419drivers/block/ide-cd.cint len, lena;
len2428drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (len));
len2430drivers/block/ide-cd.cmemcpy_fromfs (&len, (void *) arg , sizeof (len));
len2431drivers/block/ide-cd.carg += sizeof (len);
len2433drivers/block/ide-cd.cif (len > 0) {
len2434drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, len);
len2438drivers/block/ide-cd.clena = len;
len2443drivers/block/ide-cd.cif (len > 0) {
len2444drivers/block/ide-cd.cpc.buflen = len;
len2450drivers/block/ide-cd.cif (len > 0)
len2451drivers/block/ide-cd.cmemcpy_tofs ((void *)arg, buf, len);
len35drivers/block/ramdisk.cint  len;
len41drivers/block/ramdisk.clen = CURRENT->current_nr_sectors << 9;
len44drivers/block/ramdisk.c(addr+len > rd_start+rd_length)) {
len51drivers/block/ramdisk.clen);
len55drivers/block/ramdisk.clen);
len310drivers/block/sjcd.cstatic int sjcd_load_response( void *buf, int len ){
len313drivers/block/sjcd.cfor( ; len; --len ){ 
len319drivers/block/sjcd.creturn( len );
len594drivers/char/istallion.cstatic void  *stli_memalloc(int len);
len628drivers/char/istallion.cstatic void  stli_delay(int len);
len843drivers/char/istallion.cstatic void *stli_memalloc(int len)
len849drivers/char/istallion.cstli_memend += len;
len851drivers/char/istallion.cmem = (void *) kmalloc(len, GFP_KERNEL);
len1345drivers/char/istallion.cstatic void stli_delay(int len)
len1348drivers/char/istallion.cprintk("stl_delay(len=%d)\n", len);
len1350drivers/char/istallion.cif (len > 0) {
len1352drivers/char/istallion.ccurrent->timeout = jiffies + len;
len1431drivers/char/istallion.cunsigned int    len, stlen, head, tail, size;
len1470drivers/char/istallion.clen = (head >= tail) ? (portp->txsize - (head - tail) - 1) : (tail - head - 1);
len1471drivers/char/istallion.ccount = MIN(len, count);
len1494drivers/char/istallion.clen = size - (head - tail) - 1;
len1497drivers/char/istallion.clen = tail - head - 1;
len1498drivers/char/istallion.cstlen = len;
len1501drivers/char/istallion.clen = MIN(len, count);
len1505drivers/char/istallion.cwhile (len > 0) {
len1506drivers/char/istallion.cstlen = MIN(len, stlen);
len1509drivers/char/istallion.clen -= stlen;
len1581drivers/char/istallion.cunsigned int    len, stlen, head, tail, size, count, cooksize;
len1622drivers/char/istallion.clen = size - (head - tail) - 1;
len1625drivers/char/istallion.clen = tail - head - 1;
len1626drivers/char/istallion.cstlen = len;
len1629drivers/char/istallion.clen = MIN(len, cooksize);
len1634drivers/char/istallion.cwhile (len > 0) {
len1635drivers/char/istallion.cstlen = MIN(len, stlen);
len1638drivers/char/istallion.clen -= stlen;
len1671drivers/char/istallion.cunsigned int    head, tail, len;
len1682drivers/char/istallion.clen = stli_txcookrealsize - stli_txcooksize;
len1683drivers/char/istallion.creturn(len);
len1702drivers/char/istallion.clen = (head >= tail) ? (portp->txsize - (head - tail)) : (tail - head);
len1703drivers/char/istallion.clen--;
len1708drivers/char/istallion.cstli_txcookrealsize = len;
len1709drivers/char/istallion.clen -= stli_txcooksize;
len1711drivers/char/istallion.creturn(len);
len1729drivers/char/istallion.cunsigned int    head, tail, len;
len1755drivers/char/istallion.clen = (head >= tail) ? (head - tail) : (portp->txsize - (tail - head));
len1756drivers/char/istallion.cif ((len == 0) && test_bit(ST_TXBUSY, &portp->state))
len1757drivers/char/istallion.clen = 1;
len1761drivers/char/istallion.creturn(len);
len2293drivers/char/istallion.cunsigned int    len, stlen;
len2312drivers/char/istallion.clen = head - tail;
len2313drivers/char/istallion.cstlen = len;
len2315drivers/char/istallion.clen = size - (tail - head);
len2319drivers/char/istallion.clen = MIN(len, (TTY_FLIPBUF_SIZE - tty->flip.count));
len2322drivers/char/istallion.cwhile (len > 0) {
len2323drivers/char/istallion.cstlen = MIN(len, stlen);
len2330drivers/char/istallion.clen -= stlen;
len470drivers/char/stallion.cstatic void  *stl_memalloc(int len);
len507drivers/char/stallion.cstatic void  stl_sendbreak(stlport_t *portp, long len);
len509drivers/char/stallion.cstatic void  stl_delay(int len);
len647drivers/char/stallion.cstatic void *stl_memalloc(int len)
len653drivers/char/stallion.cstl_memend += len;
len655drivers/char/stallion.cmem = (void *) kmalloc(len, GFP_KERNEL);
len916drivers/char/stallion.cstatic void stl_delay(int len)
len919drivers/char/stallion.cprintk("stl_delay(len=%d)\n", len);
len921drivers/char/stallion.cif (len > 0) {
len923drivers/char/stallion.ccurrent->timeout = jiffies + len;
len938drivers/char/stallion.cunsigned int  len, stlen;
len965drivers/char/stallion.clen = (head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) :
len967drivers/char/stallion.ccount = MIN(len, count);
len981drivers/char/stallion.clen = STL_TXBUFSIZE - (head - tail) - 1;
len984drivers/char/stallion.clen = tail - head - 1;
len985drivers/char/stallion.cstlen = len;
len988drivers/char/stallion.clen = MIN(len, count);
len990drivers/char/stallion.cwhile (len > 0) {
len991drivers/char/stallion.cstlen = MIN(len, stlen);
len993drivers/char/stallion.clen -= stlen;
len1015drivers/char/stallion.cunsigned int  len;
len1033drivers/char/stallion.clen = (head >= tail) ? (STL_TXBUFSIZE - (head - tail)) : (tail - head);
len1034drivers/char/stallion.clen--;
len1036drivers/char/stallion.cif (len > 0) {
len1577drivers/char/stallion.cint    len, stlen;
len1618drivers/char/stallion.clen = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
len1619drivers/char/stallion.cif ((len == 0) || ((len < STL_TXBUFLOW) && (test_bit(ASYI_TXLOW, &portp->istate) == 0))) {
len1624drivers/char/stallion.cif (len == 0) {
len1635drivers/char/stallion.clen = MIN(len, CD1400_TXFIFOSIZE);
len1636drivers/char/stallion.cstlen = MIN(len, ((portp->tx.buf + STL_TXBUFSIZE) - tail));
len1639drivers/char/stallion.clen -= stlen;
len1643drivers/char/stallion.cif (len > 0) {
len1644drivers/char/stallion.coutsb((ioaddr + EREG_DATA), tail, len);
len1645drivers/char/stallion.ctail += len;
len1671drivers/char/stallion.cunsigned int    ioack, len, buflen;
len1690drivers/char/stallion.clen = inb(ioaddr + EREG_DATA);
len1694drivers/char/stallion.cinsb((ioaddr + EREG_DATA), &unwanted[0], len);
len1696drivers/char/stallion.clen = MIN(len, buflen);
len1697drivers/char/stallion.cif (len > 0) {
len1699drivers/char/stallion.cinsb((ioaddr + EREG_DATA), tty->flip.char_buf_ptr, len);
len1700drivers/char/stallion.cmemset(tty->flip.flag_buf_ptr, 0, len);
len1701drivers/char/stallion.ctty->flip.flag_buf_ptr += len;
len1702drivers/char/stallion.ctty->flip.char_buf_ptr += len;
len1703drivers/char/stallion.ctty->flip.count += len;
len2370drivers/char/stallion.cstatic void stl_sendbreak(stlport_t *portp, long len)
len2375drivers/char/stallion.cprintk("stl_sendbreak(portp=%x,len=%d)\n", (int) portp, (int) len);
len2385drivers/char/stallion.clen = len / 5;
len2386drivers/char/stallion.cportp->brklen = (len > 255) ? 255 : len;
len375drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len399drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);  /* load buffer (usual thing each byte increments the pointer) */
len77drivers/net/3c505.c#define INVALID_PCB_MSG(len) \
len78drivers/net/3c505.cprintk(invalid_pcb_msg, (len),filename,__FUNCTION__,__LINE__)
len549drivers/net/3c505.creceive_packet (struct device * dev, int len)
len561drivers/net/3c505.cif (len <= 0 || ((len & ~1) != len))
len564drivers/net/3c505.cprintk("*** bad packet len %d at %s(%d)\n",len,filename,__LINE__);
len568drivers/net/3c505.crlen = (len+1) & ~1;
len603drivers/net/3c505.cptr = (unsigned short *)skb_put(skb,len);
len638drivers/net/3c505.cint len;
len691drivers/net/3c505.clen = adapter->irx_pcb.data.rcv_resp.pkt_len;
len699drivers/net/3c505.cprintk("%s: interrupt - packet received of length %i (%i)\n", dev->name, len, dlen);
len942drivers/net/3c505.csend_packet (struct device * dev, unsigned char * ptr, int len)
len951drivers/net/3c505.cunsigned int nlen = (((len < 60) ? 60 : len) + 1) & (~1);
len958drivers/net/3c505.cif (nlen < len)
len959drivers/net/3c505.cprintk("Warning, bad length nlen=%d len=%d %s(%d)\n",nlen,len,filename,__LINE__);
len1020drivers/net/3c505.cif (skb->len <= 0)
len1024drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
len1045drivers/net/3c505.cif (!send_packet(dev, skb->data, skb->len)) {
len1051drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
len500drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len414drivers/net/3c509.cif (skb->len <= 0)
len419drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
len443drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
len446drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
len180drivers/net/8390.clength = skb->len;
len181drivers/net/8390.cif (skb->len <= 0)
len620drivers/net/apricot.cif (skb->len <= 0) return 0;
len630drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len446drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len450drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len);
len1157drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
len1164drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
len1475drivers/net/arcnet.cshort offset,length=skb->len+1;
len1532drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
len1945drivers/net/arcnet.cskb->len = length;
len1993drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
len2087drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
len2138drivers/net/arcnet.cmemcpy(skb->data+skb->len,
len2142drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
len2159drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
len2199drivers/net/arcnet.cskb->len = length;
len2208drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
len2273drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len2277drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len)
len415drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len450drivers/net/atp.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len422drivers/net/de4x5.cstatic void    create_packet(struct device *dev, char *frame, int len);
len987drivers/net/de4x5.cif (lp->skb[i]->len != FAKE_FRAME_LEN) {
len999drivers/net/de4x5.cif (skb->len != FAKE_FRAME_LEN) {
len1034drivers/net/de4x5.c} else if (skb->len == FAKE_FRAME_LEN) {     /* Don't TX a fake frame! */
len1036drivers/net/de4x5.c} else if (skb->len > 0) {
len1044drivers/net/de4x5.cload_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb);
len1163drivers/net/de4x5.cshort len = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ;
len1164drivers/net/de4x5.cmemcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len);
len1165drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len);
len2127drivers/net/de4x5.cstatic void create_packet(struct device *dev, char *frame, int len)
len2483drivers/net/de4x5.cskb->len= FAKE_FRAME_LEN;
len2511drivers/net/de4x5.cioc->len = ETH_ALEN;
len2512drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len2518drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len2573drivers/net/de4x5.cioc->len = (HASH_TABLE_LEN >> 3);
len2574drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, ioc->data, ioc->len);
len2577drivers/net/de4x5.cmemcpy_tofs(ioc->data, lp->setup_frame, ioc->len); 
len2582drivers/net/de4x5.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len2583drivers/net/de4x5.cif (!(status = verify_area(VERIFY_READ, (void *)ioc->data, ETH_ALEN * ioc->len))) {
len2584drivers/net/de4x5.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len2585drivers/net/de4x5.cset_multicast_list(dev, ioc->len, tmp.addr);
len2588drivers/net/de4x5.cset_multicast_list(dev, ioc->len, NULL);
len2614drivers/net/de4x5.cioc->len = sizeof(lp->pktStats);
len2615drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len2620drivers/net/de4x5.cmemcpy_tofs(ioc->data, &lp->pktStats, ioc->len); 
len2662drivers/net/de4x5.cioc->len = j;
len2663drivers/net/de4x5.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len2664drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len2725drivers/net/de4x5.cioc->len = j;
len2726drivers/net/de4x5.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len2727drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len624drivers/net/de4x5.hunsigned short len;                /* Length of the data buffer */
len407drivers/net/de600.cint  len;
len441drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
len443drivers/net/de600.cif ((len = skb->len) < RUNT)
len444drivers/net/de600.clen = RUNT;
len448drivers/net/de600.ctx_fifo[tx_fifo_in] = transmit_from = tx_page_adr(tx_fifo_in) - len;
len464drivers/net/de600.cfor ( ; len > 0; --len, ++buffer)
len488drivers/net/de620.cint len;
len524drivers/net/de620.cif ((len = skb->len) < RUNT)
len525drivers/net/de620.clen = RUNT;
len526drivers/net/de620.cif (len & 1) /* send an even number of bytes */
len527drivers/net/de620.c++len;
len534drivers/net/de620.c(int)skb->len, using_txbuf));
len555drivers/net/de620.cde620_write_block(dev, buffer, len);
len840drivers/net/depca.c} else if (skb->len > 0) {
len945drivers/net/depca.cshort len, pkt_len = readw(&lp->rx_ring[entry].msg_length);
len955drivers/net/depca.clen = (lp->rxRingMask - lp->rx_old + 1) * RX_BUFF_SZ;
len956drivers/net/depca.cmemcpy_fromio(buf, lp->rx_memcpy[lp->rx_old], len);
len957drivers/net/depca.cmemcpy_fromio(buf + len, lp->rx_memcpy[0], pkt_len-len);
len1570drivers/net/depca.cint i, entry, end, len, status = 0;
len1573drivers/net/depca.cend = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
len1580drivers/net/depca.clen = (lp->txRingMask - entry + 1) * TX_BUFF_SZ;
len1581drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, len);
len1582drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[0], skb->data + len, skb->len - len);
len1584drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len);
len1588drivers/net/depca.clen = (skb->len < ETH_ZLEN) ? ETH_ZLEN : skb->len;
len1594drivers/net/depca.clen -= TX_BUFF_SZ;
len1599drivers/net/depca.cwritew(-len, &lp->tx_ring[end].length);       /* packet length in last buff */
len1676drivers/net/depca.cioc->len = ETH_ALEN;
len1677drivers/net/depca.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len1678drivers/net/depca.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len1745drivers/net/depca.cioc->len = (HASH_TABLE_LEN >> 3);
len1746drivers/net/depca.cif (!(status = verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1747drivers/net/depca.cmemcpy_tofs(ioc->data, lp->init_block.mcast_table, ioc->len); 
len1753drivers/net/depca.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len1754drivers/net/depca.cif (!(status=verify_area(VERIFY_READ, ioc->data, ETH_ALEN*ioc->len))) {
len1755drivers/net/depca.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len1756drivers/net/depca.cset_multicast_list(dev, ioc->len, tmp.addr);
len1759drivers/net/depca.cset_multicast_list(dev, ioc->len, NULL);
len1784drivers/net/depca.cioc->len = sizeof(lp->pktStats);
len1785drivers/net/depca.cif (!(status=verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1786drivers/net/depca.cmemcpy_tofs(ioc->data, &lp->pktStats, ioc->len); 
len1807drivers/net/depca.cioc->len = i+sizeof(struct depca_init);
len1808drivers/net/depca.cif (!(status=verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1809drivers/net/depca.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len164drivers/net/depca.hunsigned short len;                /* Length of the data buffer */
len651drivers/net/eepro.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len499drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len154drivers/net/eql.cunsigned len); /*  */
len385drivers/net/eql.cdev->name, eql_number_slaves (eql->queue), skb->len,
len391drivers/net/eql.cslave->bytes_queued += skb->len; 
len419drivers/net/eql.cunsigned len)
len800drivers/net/ewrk3.c} else if (skb->len > 0) {
len853drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
len854drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
len856drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
len862drivers/net/ewrk3.c*buf++ = (char)(skb->len & 0xff);         /* length (16 bit xfer)*/
len864drivers/net/ewrk3.c*buf++ = (char)(((skb->len >> 8) & 0xff) | XCT);
len866drivers/net/ewrk3.c*(buf + skb->len) = 0x00;               /* Write the XCT flag */
len869drivers/net/ewrk3.cmemcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
len870drivers/net/ewrk3.c*(buf + skb->len) = 0xff;               /* Write the XCT flag */
len872drivers/net/ewrk3.c*buf++ = (char)((skb->len >> 8) & 0xff);
len874drivers/net/ewrk3.cmemcpy(buf, skb->data, skb->len);       /* Write data bytes */
len1630drivers/net/ewrk3.cioc->len = ETH_ALEN;
len1634drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len1698drivers/net/ewrk3.cioc->len = (HASH_TABLE_LEN >> 3);
len1699drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len); 
len1705drivers/net/ewrk3.cerr = verify_area(VERIFY_READ, (void *)ioc->data, ETH_ALEN * ioc->len);
len1708drivers/net/ewrk3.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len1709drivers/net/ewrk3.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len1711drivers/net/ewrk3.cset_multicast_list(dev, ioc->len, tmp.addr);
len1742drivers/net/ewrk3.cioc->len = EWRK3_PKT_STAT_SZ;
len1778drivers/net/ewrk3.cerr = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len1789drivers/net/ewrk3.cioc->len = EEPROM_MAX + 1 + ETH_ALEN;
len1790drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len295drivers/net/ewrk3.hunsigned short len;                /* Length of the data buffer */
len605drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
len655drivers/net/hp100.cif ( skb -> len <= 0 ) return 0;
len668drivers/net/hp100.cprintk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len );
len670drivers/net/hp100.cok_flag = skb -> len >= HP100_MIN_PACKET_SIZE;
len671drivers/net/hp100.ci = ok_flag ? skb -> len : HP100_MIN_PACKET_SIZE;
len678drivers/net/hp100.cmemcpy( lp -> mem_ptr_virt, skb -> data, skb -> len );
len680drivers/net/hp100.cmemset( lp -> mem_ptr_virt, 0, HP100_MIN_PACKET_SIZE - skb -> len );
len684drivers/net/hp100.cmemcpy_toio( lp -> mem_ptr_phys, skb -> data, skb -> len );
len686drivers/net/hp100.cmemset_io( lp -> mem_ptr_phys, 0, HP100_MIN_PACKET_SIZE - skb -> len );
len691drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
len693drivers/net/hp100.cfor ( i = ( skb -> len + 3 ) & ~3; i < HP100_MIN_PACKET_SIZE; i += 4 )
len1104drivers/net/ibmtr.cti->current_skb->len-18));
len1114drivers/net/ibmtr.cti->current_skb->len-18+hdr_len);
len1124drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
len1129drivers/net/ibmtr.cti->current_skb->len-sizeof(struct trh_hdr));
len760drivers/net/lance.cif (skb->len <= 0)
len795drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len797drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
len803drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
len807drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
len603drivers/net/ni52.cint len = ((char *) p->iscp - (char *) ptr - 8) / 6;
len604drivers/net/ni52.cif(len <= 0)
len610drivers/net/ni52.cif(len < num_addrs)
len612drivers/net/ni52.cnum_addrs = len;
len929drivers/net/ni52.cint len,i;
len977drivers/net/ni52.cif (skb->len <= 0)
len979drivers/net/ni52.cif(skb->len > XMIT_BUFF_SIZE)
len981drivers/net/ni52.cprintk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %ld bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
len989drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
len990drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
len994drivers/net/ni52.cp->xmit_buffs[0]->size = TBD_LAST | len;
len1015drivers/net/ni52.cp->xmit_buffs[0]->size = TBD_LAST | len;
len1027drivers/net/ni52.cp->xmit_buffs[p->xmit_count]->size = TBD_LAST | len;
len499drivers/net/ni65.cint rmdstat,len;
len528drivers/net/ni65.clen = (rmdp->mlen & 0x0fff) - 4; /* -4: ignore FCS */
len533drivers/net/ni65.cmemcpy(skb_put(skb,len),p->recv_skb[p->rmdnum]->data,len);
len539drivers/net/ni65.crmdp->u.buffer = (unsigned long) skb_put(skb1,len);
len587drivers/net/ni65.cif (skb->len <= 0)
len602drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len610drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
len613drivers/net/ni65.ctmdp->blen = -len;
len445drivers/net/pi2.clength = lp->sndbuf->len - 1;
len704drivers/net/pi2.clp->txcnt = (int) lp->sndbuf->len - 1;
len818drivers/net/pi2.clp->txcnt = (int) lp->sndbuf->len - 1;
len1079drivers/net/pi2.cvoid *daddr, void *saddr, unsigned len)
len1081drivers/net/pi2.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
len882drivers/net/plip.cif (skb->len > dev->mtu) {
len883drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
len894drivers/net/plip.csnd->length.h = skb->len;
len122drivers/net/ppp.cunsigned long saddr, unsigned len);
len1179drivers/net/ppp.cunsigned char *buf, int len)
len1184drivers/net/ppp.ctotlen = len+2;    /* including protocol */
len1197drivers/net/ppp.cwhile (len-- > 0) {
len1245drivers/net/ppp.cint len, i;
len1280drivers/net/ppp.cGETC (c); len = c << 8; GETC (c); len += c;
len1282drivers/net/ppp.cPRINTKN (4,(KERN_DEBUG "ppp_read: len = %d\n", len));
len1284drivers/net/ppp.cif (len + 2 > nr) {
len1288drivers/net/ppp.cnr, len+2));
len1289drivers/net/ppp.cppp->us_rbuff_head += len;
len1300drivers/net/ppp.ci = len;
len1308drivers/net/ppp.cPRINTKN (3,(KERN_DEBUG "ppp_read: passing %d bytes up\n", len + 2));
len1310drivers/net/ppp.creturn len + 2;
len1730drivers/net/ppp.cint len;
len1742drivers/net/ppp.clen   = skb->len;
len1769drivers/net/ppp.cif (len < sizeof(struct iphdr)) {
len1773drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
len1779drivers/net/ppp.cif (ppp_us_queue (ppp, proto, p, len))
len1796drivers/net/ppp.clen = slhc_compress(ppp->slcomp, p, len, ppp->cbuff, &p, 
len1817drivers/net/ppp.cdev->name, (int) proto, (int) len, (int) iph->saddr,
len1841drivers/net/ppp.cwhile (len-- > 0)
len1869drivers/net/ppp.cunsigned long daddr, unsigned long saddr, unsigned len)
len1889drivers/net/ppp.cvoid *daddr, void *saddr, unsigned len)
len409drivers/net/seeq8005.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len1252drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
len1261drivers/net/sk_g16.cskb->len);
len1263drivers/net/sk_g16.ctmdp->blen = -len;            /* set length to transmit */
len1572drivers/net/sk_g16.cint len = (rmdp->mlen & 0x0fff);  /* extract message length from receive buffer */
len1575drivers/net/sk_g16.cskb = dev_alloc_skb(len+2); /* allocate socket buffer */ 
len1605drivers/net/sk_g16.cmemcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff),
len1606drivers/net/sk_g16.clen);
len367drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len501drivers/net/slhc.cint len, hdrlen;
len606drivers/net/slhc.clen = isize - (cp - icp);
len607drivers/net/slhc.cif (len < 0)
len609drivers/net/slhc.clen += hdrlen;
len610drivers/net/slhc.cip->tot_len = htons(len);
len613drivers/net/slhc.cmemmove(icp + hdrlen, cp, len - hdrlen);
len634drivers/net/slhc.creturn len;
len103drivers/net/slip.cstatic int slip_esc(unsigned char *p, unsigned char *d, int len);
len106drivers/net/slip.cstatic int slip_esc6(unsigned char *p, unsigned char *d, int len);
len226drivers/net/slip.cint len;
len229drivers/net/slip.clen = dev->mtu * 2;
len235drivers/net/slip.cif (len < 576 * 2)  {
len236drivers/net/slip.clen = 576 * 2;
len239drivers/net/slip.cxbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len240drivers/net/slip.crbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len242drivers/net/slip.ccbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len278drivers/net/slip.cif (sl->xleft <= len)  {
len288drivers/net/slip.cif (sl->rcount <= len) {
len301drivers/net/slip.csl->buffsize = len;
len398drivers/net/slip.csl_encaps(struct slip *sl, unsigned char *icp, int len)
len412drivers/net/slip.cif (len > sl->mtu) {    /* Sigh, shouldn't occur BUT ... */
len413drivers/net/slip.clen = sl->mtu;
len423drivers/net/slip.clen = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
len428drivers/net/slip.ccount = slip_esc6(p, (unsigned char *) sl->xbuff, len);
len431drivers/net/slip.ccount = slip_esc(p, (unsigned char *) sl->xbuff, len);
len522drivers/net/slip.csl_encaps(sl, skb->data, skb->len);
len534drivers/net/slip.cvoid *daddr, void *saddr, unsigned len)
len541drivers/net/slip.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
len572drivers/net/slip.cunsigned long len;
len585drivers/net/slip.clen = dev->mtu * 2;
len591drivers/net/slip.cif (len < 576 * 2)  {
len592drivers/net/slip.clen = 576 * 2;
len594drivers/net/slip.csl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len598drivers/net/slip.csl->xbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len603drivers/net/slip.csl->cbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len618drivers/net/slip.csl->buffsize = len;
len840drivers/net/slip.cslip_esc(unsigned char *s, unsigned char *d, int len)
len858drivers/net/slip.cwhile (len-- > 0) {
len921drivers/net/slip.cslip_esc6(unsigned char *s, unsigned char *d, int len)
len941drivers/net/slip.cfor (i = 0; i < len; ++i) {
len419drivers/net/tulip.cif (skb == NULL || skb->len <= 0) {
len442drivers/net/tulip.ctp->tx_ring[entry].length = skb->len |
len213drivers/net/tunnel.cnewlen = (skb->len + ip_header_len);
len229drivers/net/tunnel.cmemcpy(skb2->data + ip_header_len, skb->data, skb->len);
len239drivers/net/tunnel.ciph->tot_len = htons(skb2->len);
len1449drivers/net/wavelan.clength = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
len2126drivers/net/wavelan.cint    len;
len2132drivers/net/wavelan.clen = 0;
len2139drivers/net/wavelan.clen += size;
len2150drivers/net/wavelan.csize = sprintf_stats(buffer + len, lp->dev);
len2152drivers/net/wavelan.clen += size;
len2153drivers/net/wavelan.cpos = begin + len;
len2157drivers/net/wavelan.clen = 0;
len2170drivers/net/wavelan.clen -= (offset - begin);    /* Start slop */
len2171drivers/net/wavelan.cif (len > length)
len2172drivers/net/wavelan.clen = length;      /* Ending slop */
len2174drivers/net/wavelan.creturn len;
len360drivers/net/znet.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len386drivers/net/znet.cmemcpy(zn.tx_cur, buf, skb->len);
len498drivers/pci/pci.cint reg, len = 0;
len512drivers/pci/pci.cif (len + 80 > size) {
len515drivers/pci/pci.clen += sprintf(buf + len, "  Bus %2d, device %3d, function %2d:\n",
len518drivers/pci/pci.cif (len + 80 > size) {
len521drivers/pci/pci.clen += sprintf(buf + len, "    %s: %s %s (rev %d).\n      ",
len526drivers/pci/pci.clen += sprintf(buf + len,
len537drivers/pci/pci.cif (len + strlen(str) > size) {
len540drivers/pci/pci.clen += sprintf(buf + len, str);
len544drivers/pci/pci.cif (len + strlen(fast_b2b_capable) > size) {
len547drivers/pci/pci.clen += sprintf(buf + len, fast_b2b_capable);
len553drivers/pci/pci.cif (len + strlen(BIST_capable) > size) {
len556drivers/pci/pci.clen += sprintf(buf + len, BIST_capable);
len561drivers/pci/pci.cif (len + 40 > size) {
len564drivers/pci/pci.clen += sprintf(buf + len, "IRQ %d.  ", dev->irq);
len568drivers/pci/pci.cif (len + 80 > size) {
len571drivers/pci/pci.clen += sprintf(buf + len, "Master Capable.  ");
len573drivers/pci/pci.clen += sprintf(buf + len, "Latency=%d.  ", latency);
len575drivers/pci/pci.clen += sprintf(buf + len, "No bursts.  ");
len577drivers/pci/pci.clen += sprintf(buf + len, "Min Gnt=%d.", min_gnt);
len579drivers/pci/pci.clen += sprintf(buf + len, "Max Lat=%d.", max_lat);
len583drivers/pci/pci.cif (len + 40 > size) {
len593drivers/pci/pci.clen += sprintf(buf + len,
len617drivers/pci/pci.clen += sprintf(buf + len,
len624drivers/pci/pci.clen += sprintf(buf + len, "\n");
len625drivers/pci/pci.creturn len;
len635drivers/pci/pci.cint nprinted, len, size;
len641drivers/pci/pci.clen   = sprintf(buf, "PCI devices found:\n");
len644drivers/pci/pci.cnprinted = sprint_dev_config(dev, buf + len, size - len);
len646drivers/pci/pci.creturn len + sprintf(buf + len, MSG);
len648drivers/pci/pci.clen += nprinted;
len650drivers/pci/pci.creturn len;
len848drivers/pci/pci.cint len = get_pci_list((char*)mem_start);
len849drivers/pci/pci.cif (len) {
len850drivers/pci/pci.c((char *) mem_start)[len] = '\0';
len2056drivers/scsi/53c7,8xx.csize_t len;
len2074drivers/scsi/53c7,8xx.clen = strlen(buf);
len2077drivers/scsi/53c7,8xx.csprintf(buf + len, "%08x\n", * (u32 *) bp->addr);
len2079drivers/scsi/53c7,8xx.csprintf(buf + len, "\n");
len2081drivers/scsi/53c7,8xx.clen = strlen(buf);
len2082drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, len);
len2094drivers/scsi/53c7,8xx.csize_t len;
len2156drivers/scsi/53c7,8xx.cint i, j, error, len;
len2177drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
len2178drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
len2185drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
len3738drivers/scsi/53c7,8xx.csize_t len = strlen(buf);
len3739drivers/scsi/53c7,8xx.cdebugger_kernel_write(host, buf, len);
len3897drivers/scsi/53c7,8xx.cint i, len;
len3908drivers/scsi/53c7,8xx.cptr += len, i -= len) {
len3910drivers/scsi/53c7,8xx.clen = print_msg (ptr);
len1172drivers/scsi/NCR5380.cint len;
len1412drivers/scsi/NCR5380.clen = 3;
len1416drivers/scsi/NCR5380.clen = 1;
len1423drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len1916drivers/scsi/NCR5380.cint len;
len2003drivers/scsi/NCR5380.clen = transfersize;
len2005drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
len2019drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
len2027drivers/scsi/NCR5380.clen = 1;
len2029drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2231drivers/scsi/NCR5380.clen = 2;
len2234drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2242drivers/scsi/NCR5380.cif (!len && extended_msg[1] <= 
len2246drivers/scsi/NCR5380.clen = extended_msg[1] - 1;
len2250drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2254drivers/scsi/NCR5380.cinstance->host_no, len);
len2264drivers/scsi/NCR5380.c} else if (len) {
len2298drivers/scsi/NCR5380.clen = 1;
len2301drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2313drivers/scsi/NCR5380.clen = cmd->cmd_len;
len2320drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
len2335drivers/scsi/NCR5380.clen = 1;
len2337drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2382drivers/scsi/NCR5380.cint len;
len2426drivers/scsi/NCR5380.clen = 1;
len2429drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2491drivers/scsi/NCR5380.clen = 1;
len2495drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2580drivers/scsi/NCR5380.cint len;
len2711drivers/scsi/NCR5380.clen = 1;
len2714drivers/scsi/NCR5380.cNCR5380_transfer_pio (instance, &phase, &len, &msgptr);
len154drivers/scsi/aha1542.cstatic int aha1542_out(unsigned int base, unchar *cmdp, int len)
len159drivers/scsi/aha1542.cif(len == 1) {
len170drivers/scsi/aha1542.cwhile (len--)
len180drivers/scsi/aha1542.cprintk("aha1542_out failed(%d): ", len+1); aha1542_stat();
len186drivers/scsi/aha1542.cstatic int aha1542_in(unsigned int base, unchar *cmdp, int len)
len192drivers/scsi/aha1542.cwhile (len--)
len201drivers/scsi/aha1542.cprintk("aha1542_in failed(%d): ", len+1); aha1542_stat();
len208drivers/scsi/aha1542.cstatic int aha1542_in1(unsigned int base, unchar *cmdp, int len)
len214drivers/scsi/aha1542.cwhile (len--)
len288drivers/scsi/aha1542.cint len;
len321drivers/scsi/aha1542.clen = 4;
len324drivers/scsi/aha1542.cwhile (len--)
len1228drivers/scsi/aic7xxx.cregister int len = ep - bp;
len1230drivers/scsi/aic7xxx.cstrncpy(buf, bp, len);
len1231drivers/scsi/aic7xxx.cbuf[len] = '\0';
len2424drivers/scsi/aic7xxx.cunsigned char len;
len2470drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i++)
len250drivers/scsi/buslogic.csize_t len)
len254drivers/scsi/buslogic.cif (len == 1) {
len269drivers/scsi/buslogic.cwhile (len--) {
len278drivers/scsi/buslogic.cbuslogic_printk("failed(%u): ", len + 1);
len286drivers/scsi/buslogic.cstatic int buslogic_in(unsigned int base, unsigned char *cmdp, size_t len)
len292drivers/scsi/buslogic.cwhile (len--) {
len301drivers/scsi/buslogic.cbuslogic_printk("failed(%u): ", len + 1);
len493drivers/scsi/constants.cint len = 0, i;
len495drivers/scsi/constants.clen = 3 + msg[1];
len514drivers/scsi/constants.cfor (i = 2; i < len; ++i) 
len518drivers/scsi/constants.cfor (i = 0; i < len; ++i)
len531drivers/scsi/constants.clen = 1;
len542drivers/scsi/constants.clen = 1;
len555drivers/scsi/constants.clen = 2;
len562drivers/scsi/constants.creturn len;
len239drivers/scsi/eata.cushort len;          /* Number of bytes following this field */
len463drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
len458drivers/scsi/eata_dma.ccp->sg_list[i].len = htonl((u32) sl->length);
len804drivers/scsi/eata_dma.c(u32) ntohl(gc->len), gc->version,
len839drivers/scsi/eata_dma.cif(gc->HAA_valid == FALSE || ntohl(gc->len) < 0x22) 
len963drivers/scsi/eata_dma.cswitch (ntohl(gc->len)) {
len979drivers/scsi/eata_dma.cif(ntohl(gc->len) >= 0x22) {
len996drivers/scsi/eata_dma.cif(ntohl(gc->len) >= 0x22) {
len90drivers/scsi/eata_dma_proc.cint    size, len = 0;
len119drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len, "EATA (Extended Attachment) driver version: "
len121drivers/scsi/eata_dma_proc.clen += size; pos = begin + len;
len122drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "queued commands:     %10ld\n"
len124drivers/scsi/eata_dma_proc.clen += size; pos = begin + len;
len126drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n",
len128drivers/scsi/eata_dma_proc.clen += size; 
len129drivers/scsi/eata_dma_proc.cpos = begin + len;
len130drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Firmware revision: v%s\n", 
len132drivers/scsi/eata_dma_proc.clen += size;
len133drivers/scsi/eata_dma_proc.cpos = begin + len;
len134drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Hardware Configuration:\n");
len135drivers/scsi/eata_dma_proc.clen += size; 
len136drivers/scsi/eata_dma_proc.cpos = begin + len;
len140drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: BUSMASTER\n");
len142drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel);
len143drivers/scsi/eata_dma_proc.clen += size; 
len144drivers/scsi/eata_dma_proc.cpos = begin + len;
len146drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
len147drivers/scsi/eata_dma_proc.clen += size; 
len148drivers/scsi/eata_dma_proc.cpos = begin + len;
len149drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Bus: EISA\n"); 
len150drivers/scsi/eata_dma_proc.clen += size; 
len151drivers/scsi/eata_dma_proc.cpos = begin + len;
len205drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt,
len207drivers/scsi/eata_dma_proc.clen += size; 
len208drivers/scsi/eata_dma_proc.cpos = begin + len;
len210drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: BUSMASTER\n");
len212drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel);
len213drivers/scsi/eata_dma_proc.clen += size; 
len214drivers/scsi/eata_dma_proc.cpos = begin + len;
len215drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type,
len217drivers/scsi/eata_dma_proc.clen += size; 
len218drivers/scsi/eata_dma_proc.cpos = begin + len;
len219drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
len220drivers/scsi/eata_dma_proc.clen += size; 
len221drivers/scsi/eata_dma_proc.cpos = begin + len;
len222drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Bus: %s\n", 
len226drivers/scsi/eata_dma_proc.clen += size; 
len227drivers/scsi/eata_dma_proc.cpos = begin + len;
len228drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n",
len233drivers/scsi/eata_dma_proc.clen += size; 
len234drivers/scsi/eata_dma_proc.cpos = begin + len;
len235drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n",
len238drivers/scsi/eata_dma_proc.clen += size; 
len239drivers/scsi/eata_dma_proc.cpos = begin + len;
len240drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n",
len242drivers/scsi/eata_dma_proc.clen += size; 
len243drivers/scsi/eata_dma_proc.cpos = begin + len;
len244drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Type: %s\n",
len250drivers/scsi/eata_dma_proc.clen += size; 
len251drivers/scsi/eata_dma_proc.cpos = begin + len;
len253drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max array groups:              %d\n",
len255drivers/scsi/eata_dma_proc.clen += size; 
len256drivers/scsi/eata_dma_proc.cpos = begin + len;
len257drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max drives per RAID 0 array:   %d\n",
len259drivers/scsi/eata_dma_proc.clen += size; 
len260drivers/scsi/eata_dma_proc.cpos = begin + len;
len261drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max drives per RAID 3/5 array: %d\n",
len263drivers/scsi/eata_dma_proc.clen += size; 
len264drivers/scsi/eata_dma_proc.cpos = begin + len;
len265drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Cache Module: %spresent.\n",
len267drivers/scsi/eata_dma_proc.clen += size; 
len268drivers/scsi/eata_dma_proc.cpos = begin + len;
len269drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Type: %s\n",
len275drivers/scsi/eata_dma_proc.clen += size; 
len276drivers/scsi/eata_dma_proc.cpos = begin + len;
len278drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Bank%d: %dMB with%s ECC\n",x,
len281drivers/scsi/eata_dma_proc.clen += size; 
len282drivers/scsi/eata_dma_proc.cpos = begin + len;      
len284drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Timer Mod.: %spresent\n",
len286drivers/scsi/eata_dma_proc.clen += size; 
len287drivers/scsi/eata_dma_proc.cpos = begin + len;
len288drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "NVRAM     : %spresent\n",
len290drivers/scsi/eata_dma_proc.clen += size; 
len291drivers/scsi/eata_dma_proc.cpos = begin + len;
len292drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SmartROM  : %sabled\n",
len294drivers/scsi/eata_dma_proc.clen += size; 
len295drivers/scsi/eata_dma_proc.cpos = begin + len;
len296drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Alarm     : %s\n",
len298drivers/scsi/eata_dma_proc.clen += size; 
len299drivers/scsi/eata_dma_proc.cpos = begin + len;
len302drivers/scsi/eata_dma_proc.clen = 0;
len354drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host<->Disk command statistics:\n"
len356drivers/scsi/eata_dma_proc.clen += size; 
len357drivers/scsi/eata_dma_proc.cpos = begin + len;
len359drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x,
len362drivers/scsi/eata_dma_proc.clen += size; 
len363drivers/scsi/eata_dma_proc.cpos = begin + len;
len365drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u\n",
len368drivers/scsi/eata_dma_proc.clen += size; 
len369drivers/scsi/eata_dma_proc.cpos = begin + len;
len370drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"Sum   : %12u %12u\n",
len373drivers/scsi/eata_dma_proc.clen += size; 
len374drivers/scsi/eata_dma_proc.cpos = begin + len;
len378drivers/scsi/eata_dma_proc.clen = 0;
len385drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Latency Command Statistics:\n"
len388drivers/scsi/eata_dma_proc.clen += size; 
len389drivers/scsi/eata_dma_proc.cpos = begin + len;
len391drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", 
len400drivers/scsi/eata_dma_proc.clen += size; 
len401drivers/scsi/eata_dma_proc.cpos = begin + len;
len403drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n",
len411drivers/scsi/eata_dma_proc.clen += size; 
len412drivers/scsi/eata_dma_proc.cpos = begin + len;
len415drivers/scsi/eata_dma_proc.clen = 0;
len421drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len,
len423drivers/scsi/eata_dma_proc.clen += size; 
len424drivers/scsi/eata_dma_proc.cpos = begin + len;
len426drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", 
len435drivers/scsi/eata_dma_proc.clen += size; 
len436drivers/scsi/eata_dma_proc.cpos = begin + len;
len438drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n",
len446drivers/scsi/eata_dma_proc.clen += size; 
len447drivers/scsi/eata_dma_proc.cpos = begin + len;
len450drivers/scsi/eata_dma_proc.clen = 0;
len459drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none");
len460drivers/scsi/eata_dma_proc.clen += size; 
len461drivers/scsi/eata_dma_proc.cpos = begin + len;
len465drivers/scsi/eata_dma_proc.cproc_print_scsidevice(scd, buffer, &size, len);
len466drivers/scsi/eata_dma_proc.clen += size; 
len467drivers/scsi/eata_dma_proc.cpos = begin + len;
len470drivers/scsi/eata_dma_proc.clen = 0;
len480drivers/scsi/eata_dma_proc.cDBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len));
len482drivers/scsi/eata_dma_proc.clen-=(offset-begin);      /* Start slop */
len483drivers/scsi/eata_dma_proc.cif(len>length)
len484drivers/scsi/eata_dma_proc.clen = length;        /* Ending slop */
len485drivers/scsi/eata_dma_proc.cDBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len));
len487drivers/scsi/eata_dma_proc.creturn (len);     
len200drivers/scsi/eata_generic.h__u32  len;          /* Should return 0x22, 0x24, etc    */
len251drivers/scsi/eata_generic.h__u32 len;
len632drivers/scsi/eata_pio.c(uint) ntohl(gc->len), gc->version,
len742drivers/scsi/eata_pio.cswitch (ntohl(gc->len)) {
len758drivers/scsi/eata_pio.cif(ntohl(gc->len) >= 0x22) {
len48drivers/scsi/eata_pio_proc.cint   size, len = 0;
len65drivers/scsi/eata_pio_proc.csize = sprintf(buffer+len, "EATA (Extended Attachment) PIO driver version: "
len67drivers/scsi/eata_pio_proc.clen += size; pos = begin + len;
len68drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "queued commands:     %10ld\n"
len70drivers/scsi/eata_pio_proc.clen += size; pos = begin + len;
len72drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n",
len74drivers/scsi/eata_pio_proc.clen += size; 
len75drivers/scsi/eata_pio_proc.cpos = begin + len;
len76drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "Firmware revision: v%s\n", 
len78drivers/scsi/eata_pio_proc.clen += size;
len79drivers/scsi/eata_pio_proc.cpos = begin + len;
len80drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "IO: PIO\n");
len81drivers/scsi/eata_pio_proc.clen += size; 
len82drivers/scsi/eata_pio_proc.cpos = begin + len;
len83drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
len84drivers/scsi/eata_pio_proc.clen += size; 
len85drivers/scsi/eata_pio_proc.cpos = begin + len;
len86drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "Host Bus: %s\n", 
len90drivers/scsi/eata_pio_proc.clen += size; 
len91drivers/scsi/eata_pio_proc.cpos = begin + len;
len94drivers/scsi/eata_pio_proc.clen = 0;
len102drivers/scsi/eata_pio_proc.csize = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none");
len103drivers/scsi/eata_pio_proc.clen += size; 
len104drivers/scsi/eata_pio_proc.cpos = begin + len;
len108drivers/scsi/eata_pio_proc.cproc_print_scsidevice(scd, buffer, &size, len);
len109drivers/scsi/eata_pio_proc.clen += size; 
len110drivers/scsi/eata_pio_proc.cpos = begin + len;
len113drivers/scsi/eata_pio_proc.clen = 0;
len123drivers/scsi/eata_pio_proc.cDBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len));
len125drivers/scsi/eata_pio_proc.clen-=(offset-begin);            /* Start slop */
len126drivers/scsi/eata_pio_proc.cif(len>length)
len127drivers/scsi/eata_pio_proc.clen = length;               /* Ending slop */
len128drivers/scsi/eata_pio_proc.cDBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len));
len130drivers/scsi/eata_pio_proc.creturn (len);     
len482drivers/scsi/pas16.cint len) {
len486drivers/scsi/pas16.cregister i = len;
len515drivers/scsi/pas16.cint len) {
len518drivers/scsi/pas16.cregister i = len;
len2160drivers/scsi/scsi.cvoid *scsi_malloc(unsigned int len)
len2165drivers/scsi/scsi.cif((len & 0x1ff) || len > (1<<MALLOC_PAGEBITS))
len2170drivers/scsi/scsi.cnbits = len >> 9;
len2180drivers/scsi/scsi.cprintk("SMalloc: %d %p ",len, dma_malloc_pages[i] + (j << 9));
len2189drivers/scsi/scsi.cint scsi_free(void *obj, unsigned int len)
len2196drivers/scsi/scsi.cprintk("Sfree %p %d\n",obj, len);
len2214drivers/scsi/scsi.cnbits = len >> 9;
len2515drivers/scsi/scsi.cint    size, len = 0;
len2523drivers/scsi/scsi.csize = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none");
len2524drivers/scsi/scsi.clen += size; 
len2525drivers/scsi/scsi.cpos = begin + len;
len2528drivers/scsi/scsi.csize += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, HBA_ptr->hostt->procname);
len2529drivers/scsi/scsi.clen += size; 
len2530drivers/scsi/scsi.cpos = begin + len;
len2535drivers/scsi/scsi.cproc_print_scsidevice(scd, buffer, &size, len);
len2536drivers/scsi/scsi.clen += size; 
len2537drivers/scsi/scsi.cpos = begin + len;
len2540drivers/scsi/scsi.clen = 0;
len2553drivers/scsi/scsi.clen-=(offset-begin);      /* Start slop */
len2554drivers/scsi/scsi.cif(len>length)
len2555drivers/scsi/scsi.clen = length;        /* Ending slop */
len2556drivers/scsi/scsi.creturn (len);     
len635drivers/scsi/scsi_debug.cint len, pos, begin;
len670drivers/scsi/scsi_debug.cpos = len = sprintf(buffer, 
len676drivers/scsi/scsi_debug.clen = 0;
len681drivers/scsi/scsi_debug.clen -= (offset - begin);
len682drivers/scsi/scsi_debug.cif(len > length)
len683drivers/scsi/scsi_debug.clen = length;
len685drivers/scsi/scsi_debug.creturn(len);
len46drivers/scsi/scsi_ioctl.cunsigned int len,slen;
len53drivers/scsi/scsi_ioctl.clen = get_user ((unsigned int *) buffer);
len60drivers/scsi/scsi_ioctl.cif (len > slen)
len61drivers/scsi/scsi_ioctl.clen = slen + 1;
len62drivers/scsi/scsi_ioctl.cresult = verify_area(VERIFY_WRITE, buffer, len);
len65drivers/scsi/scsi_ioctl.cmemcpy_tofs (buffer, string, len);
len81drivers/scsi/scsi_proc.cint len, pos, begin;
len87drivers/scsi/scsi_proc.cpos = len = sprintf(buffer, 
len90drivers/scsi/scsi_proc.clen = 0;
len95drivers/scsi/scsi_proc.clen -= (offset - begin);
len96drivers/scsi/scsi_proc.cif(len > length)
len97drivers/scsi/scsi_proc.clen = length;
len99drivers/scsi/scsi_proc.creturn(len);
len348drivers/scsi/scsi_proc.cvoid proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len)
len352drivers/scsi/scsi_proc.cy = sprintf(buffer + len, 
len357drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "%c", scd->vendor[x]);
len359drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y," ");
len361drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " Model: ");
len364drivers/scsi/scsi_proc.cy +=  sprintf(buffer + len + y, "%c", scd->model[x]);
len366drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " ");
len368drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " Rev: ");
len371drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "%c", scd->rev[x]);
len373drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " ");
len375drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "\n");
len377drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "  Type:   %s ",
len380drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "               ANSI"
len383drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " CCS\n");
len385drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "\n");
len587drivers/scsi/seagate.cint len = 0;
len716drivers/scsi/seagate.clen=current_bufflen;    /* WDE add */
len914drivers/scsi/seagate.clen = buffer->length;
len921drivers/scsi/seagate.clen = SCint->request_bufflen;
len926drivers/scsi/seagate.cprintk("scsi%d : len = %d\n", hostno, len);
len1039drivers/scsi/seagate.cif (!len) {
len1049drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1057drivers/scsi/seagate.cSCint->transfersize, len, data);
len1079drivers/scsi/seagate.clen -= transfersize;
len1084drivers/scsi/seagate.chostno, len, data);
len1140drivers/scsi/seagate.c"=S" (data), "=c" (len) :
len1142drivers/scsi/seagate.c"0" (data), "1" (len) :
len1147drivers/scsi/seagate.cif (!len && nobuffs) {
len1150drivers/scsi/seagate.clen = buffer->length;
len1154drivers/scsi/seagate.chostno, len, data);
len1163drivers/scsi/seagate.ctransfered += len;
len1165drivers/scsi/seagate.cfor (; len && (STATUS & (REQ_MASK | STAT_REQ)) == (REQ_DATAIN |
len1166drivers/scsi/seagate.cSTAT_REQ); --len) {
len1171drivers/scsi/seagate.ctransfered -= len;
len1176drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1184drivers/scsi/seagate.cSCint->transfersize, len, data);
len1206drivers/scsi/seagate.clen -= transfersize;
len1216drivers/scsi/seagate.chostno, len, data);
len1224drivers/scsi/seagate.cprintk("scsi%d: transfered += %d\n", hostno, len);
len1225drivers/scsi/seagate.ctransfered += len;  /* Assume we'll transfer it all, then
len1280drivers/scsi/seagate.c"=D" (data), "=c" (len) :
len1282drivers/scsi/seagate.c"0" (data), "1" (len) :
len1287drivers/scsi/seagate.cprintk("scsi%d: transfered -= %d\n", hostno, len);
len1288drivers/scsi/seagate.ctransfered -= len;    /* Since we assumed all of Len got 
len1293drivers/scsi/seagate.cif (!len && nobuffs) {
len1296drivers/scsi/seagate.clen = buffer->length;
len1300drivers/scsi/seagate.chostno, len, data);
len1367drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1399drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1410drivers/scsi/seagate.clen=current_bufflen;
len315drivers/scsi/t128.cint len) {
len318drivers/scsi/t128.cregister i = len;
len359drivers/scsi/t128.cint len) {
len362drivers/scsi/t128.cregister i = len;
len209drivers/scsi/wd7000.cunsigned    len;           /* length of string */
len325drivers/scsi/wd7000.cunchar len[3];
len381drivers/scsi/wd7000.cunchar len[3];                /* command buffer length */
len423drivers/scsi/wd7000.cunchar len[3];                /* buffer length */
len439drivers/scsi/wd7000.cunchar len[3];                /* parms buffer length */
len571drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
len574drivers/scsi/wd7000.cwhile (len--)  {
len584drivers/scsi/wd7000.cprintk("wd7000 command_out: WAIT failed(%d)\n", len+1);
len931drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
len961drivers/scsi/wd7000.cany2scsi(icb.len, sizeof(buf));
len1114drivers/scsi/wd7000.cif (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len))  {
len510drivers/sound/aedsp16.cint             len = 0;
len522drivers/sound/aedsp16.cver[len++] = ret;
len524drivers/sound/aedsp16.cwhile (len < CARDVERLEN);
len532drivers/sound/aedsp16.cint             len = 0;
len542drivers/sound/aedsp16.creturn (len ? 0 : -1);
len544drivers/sound/aedsp16.cAudioExcelName[len++] = ret;
len547drivers/sound/aedsp16.cwhile (len < CARDNAMELEN);
len221drivers/sound/configure.cint             len;
len223drivers/sound/configure.cif ((len = read (0, &answ, sizeof (answ))) < 1)
len233drivers/sound/configure.cif (len < 2)      /*
len238drivers/sound/configure.cansw[len - 1] = 0;
len250drivers/sound/configure.cint             len, num;
len254drivers/sound/configure.cif ((len = read (0, &answ, sizeof (answ))) < 1)
len264drivers/sound/configure.cif (len < 2)      /*
len269drivers/sound/configure.cansw[len - 1] = 0;
len145drivers/sound/dev_table.hsnd_rw_buf *userbuf, int useroffs, int len);
len299drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len, int dontblock)
len370drivers/sound/dmabuf.c*len = dmap->fragment_size - dmap->counts[dmap->qhead];
len543drivers/sound/dmabuf.cint             len, max, tmp;
len555drivers/sound/dmabuf.clen = dmap->qlen;
len560drivers/sound/dmabuf.cif (tmp & len)
len564drivers/sound/dmabuf.clen += tmp;
len567drivers/sound/dmabuf.cif (len >= max)
len1034drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len, int dontblock)
len465drivers/sound/gus_wave.cif (position < samples[sample_no].len)
len1321drivers/sound/gus_wave.c((sample_ptrs[sample] + samples[sample].len) >> 18))
len1348drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len -
len1381drivers/sound/gus_wave.cgus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len - 1,
len1553drivers/sound/gus_wave.cif (count < patch.len)
len1556drivers/sound/gus_wave.ccount, (int) patch.len);
len1557drivers/sound/gus_wave.cpatch.len = count;
len1560drivers/sound/gus_wave.cif (patch.len <= 0 || patch.len > gus_mem_size)
len1562drivers/sound/gus_wave.cprintk ("GUS: Invalid sample length %d\n", (int) patch.len);
len1568drivers/sound/gus_wave.cif (patch.loop_start < 0 || patch.loop_start >= patch.len)
len1574drivers/sound/gus_wave.cif (patch.loop_end < patch.loop_start || patch.loop_end > patch.len)
len1590drivers/sound/gus_wave.cif (patch.len >= GUS_BANK_SIZE)
len1592drivers/sound/gus_wave.cprintk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len);
len1597drivers/sound/gus_wave.c((free_mem_ptr + patch.len) / GUS_BANK_SIZE))
len1602drivers/sound/gus_wave.cif ((tmp_mem + patch.len) > gus_mem_size)
len1609drivers/sound/gus_wave.cif ((free_mem_ptr + patch.len) > gus_mem_size)
len1634drivers/sound/gus_wave.cleft = patch.len;
len1747drivers/sound/gus_wave.cfree_mem_ptr += patch.len;
len2390drivers/sound/gus_wave.csnd_rw_buf * userbuf, int useroffs, int len)
len2394drivers/sound/gus_wave.cCOPY_FROM_USER (&localbuf[localoffs], userbuf, useroffs, len);
len2403drivers/sound/gus_wave.clen /= 2;
len2408drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2423drivers/sound/gus_wave.clen /= 4;
len2429drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2573drivers/sound/gus_wave.cif (pat->len > samples[ptr].len)  /* Cannot expand sample */
len2596drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2599drivers/sound/gus_wave.cn = samples[sample].len - offs;    /* Num of bytes left */
len2637drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2642drivers/sound/gus_wave.cn = samples[sample].len - offs;    /*
len48drivers/sound/midi_synth.cint len; \
len51drivers/sound/midi_synth.cseq_input_event(obuf, len); \
len55drivers/sound/midi_synth.c#define _SEQ_ADVBUF(x) len=x
len495drivers/sound/midi_synth.cif (count < sysex.len)
len498drivers/sound/midi_synth.ccount, (int) sysex.len);
len499drivers/sound/midi_synth.csysex.len = count;
len502drivers/sound/midi_synth.cleft = sysex.len;
len45drivers/sound/midibuf.cint             len, head, tail;
len67drivers/sound/midibuf.c#define DATA_AVAIL(q) (q->len)
len68drivers/sound/midibuf.c#define SPACE_AVAIL(q) (MAX_QUEUE_SIZE - q->len)
len76drivers/sound/midibuf.cq->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \
len86drivers/sound/midibuf.cq->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \
len151drivers/sound/midibuf.cmidi_out_buf[dev]->len--;
len212drivers/sound/midibuf.cmidi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0;
len225drivers/sound/midibuf.cmidi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0;
len152drivers/sound/mpu401.cint len; \
len155drivers/sound/mpu401.cseq_input_event(obuf, len); \
len159drivers/sound/mpu401.c#define _SEQ_ADVBUF(x) len=x
len452drivers/sound/pss.cif (buf->len <= 0 || buf->len > sizeof (buf->data))
len455drivers/sound/pss.cif (!pss_download_boot (devc, buf->data, buf->len, buf->flags))
len156drivers/sound/sequencer.cseq_copy_to_input (unsigned char *event, int len)
len164drivers/sound/sequencer.cif (len != 4 && len != 8)
len166drivers/sound/sequencer.cif ((seq_mode == SEQ_1) != (len == 4))
len173drivers/sound/sequencer.cmemcpy (&iqueue[iqtail * IEV_SZ], event, len);
len211drivers/sound/sequencer.cseq_input_event (unsigned char *event, int len)
len234drivers/sound/sequencer.cseq_copy_to_input (event, len);
len8drivers/sound/sound_calls.hint DMAbuf_getrdbuffer(int dev, char **buf, int *len, int dontblock);
len55drivers/sound/sound_calls.hvoid seq_input_event(unsigned char *event, int len);
len56drivers/sound/sound_calls.hvoid seq_copy_to_input (unsigned char *event, int len);
len153drivers/sound/soundcard.cint             len, err;
len155drivers/sound/soundcard.clen = (cmd & IOCSIZE_MASK) >> IOCSIZE_SHIFT;
len159drivers/sound/soundcard.cif ((err = verify_area (VERIFY_READ, (void *) arg, len)) < 0)
len165drivers/sound/soundcard.cif ((err = verify_area (VERIFY_WRITE, (void *) arg, len)) < 0)
len579drivers/sound/sscape.cif (buf->len <= 0 || buf->len > sizeof (buf->data))
len582drivers/sound/sscape.cif (!sscape_download_boot (devc, buf->data, buf->len, buf->flags))
len184fs/binfmt_elf.cunsigned int len;
len278fs/binfmt_elf.clen = (elf_bss + 0xfff) & 0xfffff000; /* What we have mapped so far */
len281fs/binfmt_elf.cif (last_bss > len)
len282fs/binfmt_elf.cdo_mmap(NULL, len, last_bss-len,
len706fs/binfmt_elf.cunsigned int len;
len714fs/binfmt_elf.clen = 0;
len790fs/binfmt_elf.clen = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000;
len792fs/binfmt_elf.cif (bss > len)
len793fs/binfmt_elf.cdo_mmap(NULL, len, bss-len,
len1077fs/binfmt_elf.cint i, len;
len1081fs/binfmt_elf.clen = current->mm->arg_end - current->mm->arg_start;
len1082fs/binfmt_elf.clen = len >= ELF_PRARGSZ ? ELF_PRARGSZ : len;
len1084fs/binfmt_elf.c(const char *)current->mm->arg_start, len);
len1085fs/binfmt_elf.cfor(i = 0; i < len; i++)
len1088fs/binfmt_elf.cpsinfo.pr_psargs[len] = 0;
len1176fs/binfmt_elf.cunsigned long len = vma->vm_end - vma->vm_start;
len1182fs/binfmt_elf.cprintk("elf_core_dump: writing %08lx %lx\n", addr, len);
len1184fs/binfmt_elf.cDUMP_WRITE((void *)addr, len);
len105fs/dcache.cstatic inline unsigned long namehash(const char * name, int len)
len107fs/dcache.creturn len * *(const unsigned char *) name;
len133fs/dcache.cstatic struct dir_cache_entry * find_entry(struct inode * dir, const char * name, int len, struct hash_list * hash)
len144fs/dcache.cif (de->name_len != len)
len146fs/dcache.cif (memcmp(de->name, name, len))
len172fs/dcache.cint dcache_lookup(struct inode * dir, const char * name, int len, unsigned long * ino)
len177fs/dcache.cif (len > DCACHE_NAME_LEN)
len179fs/dcache.chash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len));
len180fs/dcache.cde = find_entry(dir, name, len, hash);
len188fs/dcache.cvoid dcache_add(struct inode * dir, const char * name, int len, unsigned long ino)
len193fs/dcache.cif (len > DCACHE_NAME_LEN)
len195fs/dcache.chash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len));
len196fs/dcache.cif ((de = find_entry(dir, name, len, hash)) != NULL) {
len208fs/dcache.cde->name_len = len;
len209fs/dcache.cmemcpy(de->name, name, len);
len34fs/devices.cint len;
len36fs/devices.clen = sprintf(page, "Character devices:\n");
len39fs/devices.clen += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name);
len42fs/devices.clen += sprintf(page+len, "\nBlock devices:\n");
len45fs/devices.clen += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name);
len48fs/devices.creturn len;
len413fs/exec.cint len, offset = 0;
len429fs/exec.clen=0;    /* remember zero-padding */
len431fs/exec.clen++;
len433fs/exec.cif (p < len) {  /* this shouldn't happen - 128kB */
len437fs/exec.cwhile (len) {
len438fs/exec.c--p; --tmp; --len;
len937fs/exec.cunsigned int len;
len977fs/exec.clen = PAGE_ALIGN(ex.a_text + ex.a_data);
len979fs/exec.cif (bss > len)
len980fs/exec.cdo_mmap(NULL, start_addr + len, bss-len,
len56fs/ext/namei.cstatic int ext_match(int len,const char * name,struct ext_dir_entry * de)
len58fs/ext/namei.cif (!de || !de->inode || len > EXT_NAME_LEN)
len61fs/ext/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len63fs/ext/namei.cif (len != de->name_len)
len65fs/ext/namei.creturn !memcmp(name, de->name, len);
len149fs/ext/namei.cint ext_lookup(struct inode * dir,const char * name, int len,
len163fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
len303fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
len321fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len337fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len345fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len380fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len396fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
len402fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len447fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len524fs/ext/namei.cint ext_rmdir(struct inode * dir, const char * name, int len)
len532fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
len578fs/ext/namei.cint ext_unlink(struct inode * dir, const char * name, int len)
len587fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
len621fs/ext/namei.cint ext_symlink(struct inode * dir, const char * name, int len, const char * symname)
len651fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len660fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len676fs/ext/namei.cint ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len691fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len698fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len36fs/ext2/balloc.c#define in_range(b, first, len)    ((b) >= (first) && (b) <= (first) + (len) - 1)
len44fs/ext2/namei.cstatic int ext2_match (int len, const char * const name,
len47fs/ext2/namei.cif (!de || !de->inode || len > EXT2_NAME_LEN)
len52fs/ext2/namei.cif (!len && de->name_len == 1 && (de->name[0] == '.') &&
len55fs/ext2/namei.cif (len != de->name_len)
len57fs/ext2/namei.creturn !memcmp(name, de->name, len);
len165fs/ext2/namei.cint ext2_lookup (struct inode * dir, const char * name, int len,
len179fs/ext2/namei.cif (dcache_lookup(dir, name, len, &ino)) {
len192fs/ext2/namei.cif (!(bh = ext2_find_entry (dir, name, len, &de))) {
len194fs/ext2/namei.cdcache_add(dir, name, len, 0);
len199fs/ext2/namei.cdcache_add(dir, name, len, ino);
len367fs/ext2/namei.cint ext2_create (struct inode * dir,const char * name, int len, int mode,
len386fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len408fs/ext2/namei.cint ext2_mknod (struct inode * dir, const char * name, int len, int mode,
len418fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len450fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len472fs/ext2/namei.cint ext2_mkdir (struct inode * dir, const char * name, int len, int mode)
len481fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len524fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len607fs/ext2/namei.cint ext2_rmdir (struct inode * dir, const char * name, int len)
len618fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len688fs/ext2/namei.cint ext2_unlink (struct inode * dir, const char * name, int len)
len700fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len749fs/ext2/namei.cint ext2_symlink (struct inode * dir, const char * name, int len,
len798fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len807fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len830fs/ext2/namei.cconst char * name, int len)
len851fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len858fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len363fs/hpfs/hpfs.hunsigned char len, name[15];    /* true length, truncated name */
len244fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len);
len252fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len260fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len);
len262fs/hpfs/hpfs_fs.cunsigned len);
len542fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len)
len545fs/hpfs/hpfs_fs.creturn p[0] == 0 && memcmp(p, p + 1, len - 1) == 0;
len959fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len)
len966fs/hpfs/hpfs_fs.cwhile (len--) {
len969fs/hpfs/hpfs_fs.cif (c == '\r' && len && *p == '\n')
len991fs/hpfs/hpfs_fs.cunsigned len)
len995fs/hpfs/hpfs_fs.cwhile (len--) {
len997fs/hpfs/hpfs_fs.cif (c == '\r' && (len == 0 || *in == '\n'));
len1116fs/hpfs/hpfs_fs.cstatic int hpfs_lookup(struct inode *dir, const char *name, int len,
len1137fs/hpfs/hpfs_fs.cif (name[0] == '.' && len == 1)
len1139fs/hpfs/hpfs_fs.celse if (name[0] == '.' && name[1] == '.' && len == 2)
len1144fs/hpfs/hpfs_fs.cde = map_dirent(dir, dir->i_hpfs_dno, name, len, &qbh);
len1239fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len1268fs/hpfs/hpfs_fs.cl = len < de->namelen ? len : de->namelen;
len1275fs/hpfs/hpfs_fs.ct = len - de->namelen;
len1292fs/hpfs/hpfs_fs.cname, len, qbh);
len1349fs/hpfs/hpfs_fs.cstatic void translate_hpfs_name(const unsigned char * from, int len, char * to, int lowercase)
len1351fs/hpfs/hpfs_fs.cwhile (len > 0) {
len1353fs/hpfs/hpfs_fs.clen--;
len80fs/isofs/dir.cstatic int isofs_name_translate(char * old, int len, char * new)
len84fs/isofs/dir.cfor (i = 0; i < len; i++) {
len92fs/isofs/dir.cif (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1')
len96fs/isofs/dir.cif (c == ';' && i == len - 2 && old[i + 1] == '1')
len120fs/isofs/dir.cint len, rrflag;
len227fs/isofs/dir.clen = de->name_len[0];
len229fs/isofs/dir.crrflag = get_rock_ridge_filename(de, &name, &len, inode);
len233fs/isofs/dir.crrflag = filldir(dirent, name, len, filp->f_pos, inode_number);
len234fs/isofs/dir.cdcache_add(inode, name, len, inode_number);
len244fs/isofs/dir.clen = isofs_name_translate(name, len, tmpname);
len245fs/isofs/dir.cif (filldir(dirent, tmpname, len, filp->f_pos, inode_number) < 0)
len247fs/isofs/dir.cdcache_add(inode, tmpname, len, inode_number);
len252fs/isofs/dir.cif (filldir(dirent, name, len, filp->f_pos, inode_number) < 0)
len255fs/isofs/dir.cdcache_add(inode, name, len, inode_number);
len31fs/isofs/namei.cstatic int isofs_match(int len,const char * name, const char * compare, int dlen)
len40fs/isofs/namei.cif (!len)
len49fs/isofs/namei.cif (len <= 2) printk("Match: %d %d %s %d %d \n",len,dlen,compare,de->name[0], dlen);
len52fs/isofs/namei.cif (dlen != len)
len54fs/isofs/namei.creturn !memcmp(name, compare, len);
len222fs/isofs/namei.cint isofs_lookup(struct inode * dir,const char * name, int len,
len229fs/isofs/namei.cprintk("lookup: %x %d\n",dir->i_ino, len);
len242fs/isofs/namei.cif (dcache_lookup(dir, name, len, &ino)) ino_back = dir->i_ino;
len245fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
len250fs/isofs/namei.cdcache_add(dir, name, len, ino);
len87fs/isofs/rock.clen = cont_size; \
len103fs/isofs/rock.cint len;
len118fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len124fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len126fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len128fs/isofs/rock.cchr += rr->len; 
len129fs/isofs/rock.clen -= rr->len;
len176fs/isofs/rock.cint len;
len184fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len190fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len192fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len194fs/isofs/rock.cchr += rr->len; 
len195fs/isofs/rock.clen -= rr->len;
len225fs/isofs/rock.cif((strlen(retname) + rr->len - 5) >= 254) {
len229fs/isofs/rock.cstrncat(retname, rr->u.NM.name, rr->len - 5);
len230fs/isofs/rock.cretnamlen += rr->len - 5;
len259fs/isofs/rock.cint len;
len265fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len273fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len275fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len277fs/isofs/rock.cchr += rr->len; 
len278fs/isofs/rock.clen -= rr->len;
len338fs/isofs/rock.cslen = rr->len - 5;
len345fs/isofs/rock.cinode->i_size += slp->len;
len360fs/isofs/rock.cslen -= slp->len + 2;
len361fs/isofs/rock.cslp = (struct SL_component *) (((char *) slp) + slp->len + 2);
len418fs/isofs/rock.cint len;
len460fs/isofs/rock.cSETUP_ROCK_RIDGE(raw_inode, chr, len);
len463fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len466fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len468fs/isofs/rock.cchr += rr->len; 
len469fs/isofs/rock.clen -= rr->len;
len481fs/isofs/rock.cslen = rr->len - 5;
len492fs/isofs/rock.cstrncat(rpnt,slp->text, slp->len);
len507fs/isofs/rock.cslen -= slp->len + 2;
len508fs/isofs/rock.cslp = (struct SL_component *) (((char *) slp) + slp->len + 2);
len44fs/isofs/rock.hunsigned char len;
len87fs/isofs/rock.hunsigned char len;
len27fs/minix/namei.cstatic inline int namecompare(int len, int maxlen,
len30fs/minix/namei.cif (len > maxlen)
len32fs/minix/namei.cif (len < maxlen && buffer[len])
len34fs/minix/namei.creturn !memcmp(name, buffer, len);
len44fs/minix/namei.cstatic int minix_match(int len, const char * name,
len52fs/minix/namei.cif (!de->inode || len > info->s_namelen)
len55fs/minix/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len57fs/minix/namei.creturn namecompare(len,info->s_namelen,name,de->name);
len111fs/minix/namei.cint minix_lookup(struct inode * dir,const char * name, int len,
len125fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
len215fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
len234fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
len250fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len259fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len291fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len307fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
len320fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len358fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len433fs/minix/namei.cint minix_rmdir(struct inode * dir, const char * name, int len)
len441fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len490fs/minix/namei.cint minix_unlink(struct inode * dir, const char * name, int len)
len500fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len544fs/minix/namei.cint minix_symlink(struct inode * dir, const char * name, int len, const char * symname)
len574fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len583fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
len599fs/minix/namei.cint minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len615fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len622fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len41fs/msdos/namei.cstatic int msdos_format_name(char conv,const char *name,int len,char *res,
len50fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) {
len53fs/msdos/namei.cwhile (len--) *res++ = '.';
len58fs/msdos/namei.cfor (walk = res; len && walk-res < 8; walk++) {
len60fs/msdos/namei.clen--;
len70fs/msdos/namei.cif (conv == 's' && len && c != '.') {
len72fs/msdos/namei.clen--;
len75fs/msdos/namei.cwhile (c != '.' && len--) c = *name++;
len78fs/msdos/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
len80fs/msdos/namei.clen--;
len91fs/msdos/namei.cif (conv == 's' && len) return -EINVAL;
len102fs/msdos/namei.cstatic int msdos_find(struct inode *dir,const char *name,int len,
len108fs/msdos/namei.cres = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, msdos_name,1);
len115fs/msdos/namei.cint msdos_lookup(struct inode *dir,const char *name,int len,
len133fs/msdos/namei.cif (len == 1 && name[0] == '.') {
len137fs/msdos/namei.cif (len == 2 && name[0] == '.' && name[1] == '.') {
len145fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
len219fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
len229fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len268fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
len277fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len319fs/msdos/namei.cif (msdos_rmdir(dir,name,len) < 0)
len352fs/msdos/namei.cint msdos_rmdir(struct inode *dir,const char *name,int len)
len363fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.')))
len365fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
len393fs/msdos/namei.cint len,
len404fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
len427fs/msdos/namei.cint msdos_unlink(struct inode *dir,const char *name,int len)
len429fs/msdos/namei.creturn msdos_unlinkx (dir,name,len,1);
len434fs/msdos/namei.cint msdos_unlink_umsdos(struct inode *dir,const char *name,int len)
len436fs/msdos/namei.creturn msdos_unlinkx (dir,name,len,0);
len153fs/namei.cint lookup(struct inode * dir,const char * name, int len,
len164fs/namei.cif (len==2 && name[0] == '.' && name[1] == '.') {
len184fs/namei.cif (!len) {
len188fs/namei.creturn dir->i_op->lookup(dir,name,len,result);
len219fs/namei.cint len,error;
len235fs/namei.cfor(len=0;(c = *(pathname++))&&(c != '/');len++)
len240fs/namei.cerror = lookup(base,thisname,len,&inode);
len254fs/namei.c*namelen = len;
len28fs/nfs/dir.cstatic int nfs_lookup(struct inode *dir, const char *name, int len,
len30fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
len32fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode);
len33fs/nfs/dir.cstatic int nfs_rmdir(struct inode *dir, const char *name, int len);
len34fs/nfs/dir.cstatic int nfs_unlink(struct inode *dir, const char *name, int len);
len35fs/nfs/dir.cstatic int nfs_symlink(struct inode *inode, const char *name, int len,
len38fs/nfs/dir.cconst char *name, int len);
len39fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len, int mode,
len330fs/nfs/dir.cstatic int nfs_lookup(struct inode *dir, const char *__name, int len,
len335fs/nfs/dir.cchar name[len > NFS_MAXNAMLEN? 1 : len+1];
len344fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len348fs/nfs/dir.cmemcpy(name,__name,len);
len349fs/nfs/dir.cname[len] = '\0';
len350fs/nfs/dir.cif (len == 1 && name[0] == '.') { /* cheat for "." */
len371fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
len385fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len406fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len,
len419fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len438fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
len450fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len465fs/nfs/dir.cstatic int nfs_rmdir(struct inode *dir, const char *name, int len)
len474fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len485fs/nfs/dir.cstatic int nfs_unlink(struct inode *dir, const char *name, int len)
len494fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len505fs/nfs/dir.cstatic int nfs_symlink(struct inode *dir, const char *name, int len,
len516fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len534fs/nfs/dir.cconst char *name, int len)
len550fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len72fs/nfs/file.cint    len;    /* size of data */
len125fs/nfs/file.c&& (cache[i].file_pos + cache[i].len >= pos + count)
len183fs/nfs/file.ccache[tail].len = result;
len101fs/nfs/proc.c#define QUADLEN(len) (((len) + 3) >> 2)
len117fs/nfs/proc.cint len = strlen(string);
len118fs/nfs/proc.cint quadlen = QUADLEN(len);
len121fs/nfs/proc.c*p++ = htonl(len);
len122fs/nfs/proc.cmemcpy(p, string, len);
len128fs/nfs/proc.cunsigned int len = ntohl(*p++);
len129fs/nfs/proc.cif (len > maxlen)
len131fs/nfs/proc.cmemcpy(string, p, len);
len132fs/nfs/proc.cstring[len] = '\0';
len133fs/nfs/proc.creturn p + QUADLEN(len);
len136fs/nfs/proc.cstatic inline int *xdr_decode_string2(int *p, char **string, unsigned int *len,
len139fs/nfs/proc.c*len = ntohl(*p++);
len140fs/nfs/proc.cif (*len > maxlen)
len143fs/nfs/proc.creturn p + QUADLEN(*len);
len147fs/nfs/proc.cstatic inline int *xdr_encode_data(int *p, const char *data, int len)
len149fs/nfs/proc.cint quadlen = QUADLEN(len);
len152fs/nfs/proc.c*p++ = htonl(len);
len153fs/nfs/proc.cmemcpy_fromfs(p, data, len);
len160fs/nfs/proc.cunsigned len = *lenp = ntohl(*p++);
len161fs/nfs/proc.cif (len > maxlen)
len164fs/nfs/proc.cmemcpy_tofs(data, p, len);
len166fs/nfs/proc.cmemcpy(data, p, len);
len167fs/nfs/proc.creturn p + QUADLEN(len);
len345fs/nfs/proc.cint **p0, char **string, unsigned int *len, unsigned int maxlen)
len361fs/nfs/proc.cif (!(p = xdr_decode_string2(p, string, len, maxlen))) {
len385fs/nfs/proc.cint len;
len404fs/nfs/proc.cif (!(p = xdr_decode_data(p, data, &len, count, fs))) {
len409fs/nfs/proc.cstatus = len;
len410fs/nfs/proc.cPRINTK("NFS reply read %d\n", len);
len60fs/nfs/sock.cint len;
len77fs/nfs/sock.clen = ((char *) end) - ((char *) start);
len107fs/nfs/sock.cresult = sock->ops->sendto(sock, (void *) start, len, 0, 0,
len54fs/nfs/symlink.cunsigned int len;
len77fs/nfs/symlink.c&res, &len, NFS_MAXPATHLEN);
len87fs/nfs/symlink.cmemcpy(res2, res, len);
len88fs/nfs/symlink.cres2[len] = '\0';
len101fs/nfs/symlink.cunsigned int len;
len111fs/nfs/symlink.c&res, &len, buflen);
len114fs/nfs/symlink.cmemcpy_tofs(buffer, res, len);
len115fs/nfs/symlink.cput_user('\0', buffer + len);
len116fs/nfs/symlink.cerror = len;
len185fs/proc/array.cint i, len;
len190fs/proc/array.clen = sprintf(buffer,
len210fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
len211fs/proc/array.clen += sprintf(buffer + len,
len216fs/proc/array.creturn len;
len646fs/proc/array.cint len;
len664fs/proc/array.clen = sprintf(line, MAPS_LINE_FORMAT,
len668fs/proc/array.cif (column >= len) {
len675fs/proc/array.ci = len-column;
len681fs/proc/array.cif (column >= len) {
len53fs/proc/fd.cstatic int proc_lookupfd(struct inode * dir,const char * name, int len,
len72fs/proc/fd.cif (!len || (name[0] == '.' && (len == 1 ||
len73fs/proc/fd.c(name[1] == '.' && len == 2)))) {
len74fs/proc/fd.cif (len < 2) {
len87fs/proc/fd.cwhile (len-- > 0) {
len179fs/proc/root.cint len;
len183fs/proc/root.clen = 1 + sprintf(tmp, "%d", current->pid);
len184fs/proc/root.cif (buflen < len)
len185fs/proc/root.clen = buflen;
len186fs/proc/root.cmemcpy_tofs(buffer, tmp, len);
len187fs/proc/root.creturn len;
len305fs/proc/root.cint proc_match(int len,const char * name,struct proc_dir_entry * de)
len310fs/proc/root.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len312fs/proc/root.cif (de->namelen != len)
len314fs/proc/root.creturn !memcmp(name, de->name, len);
len317fs/proc/root.cint proc_lookup(struct inode * dir,const char * name, int len,
len335fs/proc/root.cif (!len)
len338fs/proc/root.cif (len == 1)
len340fs/proc/root.cif (name[1] == '.' && len == 2) {
len353fs/proc/root.cif (proc_match(len, name, de))
len369fs/proc/root.cstatic int proc_root_lookup(struct inode * dir,const char * name, int len,
len375fs/proc/root.cint retval = proc_lookup(dir, name, len, result);
len380fs/proc/root.cwhile (len-- > 0) {
len134fs/proc/scsi.cstatic int proc_lookupscsi(struct inode * dir, const char * name, int len,
len157fs/proc/scsi.cif (!proc_match(len, name, de))
len171fs/proc/scsi.cint len, pos, begin;
len174fs/proc/scsi.cpos = len = sprintf(buffer, 
len177fs/proc/scsi.clen = 0;
len182fs/proc/scsi.clen -= (offset - begin);
len183fs/proc/scsi.cif(len > length)
len184fs/proc/scsi.clen = length;
len186fs/proc/scsi.creturn(len);
len35fs/smbfs/dir.cget_pname(struct inode *dir, const char *name, int len,
len39fs/smbfs/dir.cget_pname_static(struct inode *dir, const char *name, int len,
len53fs/smbfs/dir.cint len, struct inode **result);
len56fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode, 
len60fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode);
len63fs/smbfs/dir.csmb_rmdir(struct inode *dir, const char *name, int len);
len66fs/smbfs/dir.csmb_unlink(struct inode *dir, const char *name, int len);
len265fs/smbfs/dir.cint len;
len269fs/smbfs/dir.clen = strlen(entry->path);
len270fs/smbfs/dir.cif ((result = get_pname_static(inode, entry->path, len,
len287fs/smbfs/dir.cif (filldir(dirent, entry->path, len,
len347fs/smbfs/dir.cget_pname_static(struct inode *dir, const char *name, int len,
len351fs/smbfs/dir.cint   parentlen  = SMB_INOP(dir)->finfo.len;
len364fs/smbfs/dir.cif (len > SMB_MAXNAMELEN) {
len369fs/smbfs/dir.cif (len == 0 || (len == 1 && name[0] == '.')) {
len377fs/smbfs/dir.cif (len == 2 && name[0] == '.' && name[1] == '.') {
len399fs/smbfs/dir.clen = pos - parentname;
len401fs/smbfs/dir.cmemcpy(path, parentname, len);
len402fs/smbfs/dir.cpath[len] = '\0';
len406fs/smbfs/dir.cif (len + parentlen + 2 > SMB_MAXPATHLEN) 
len411fs/smbfs/dir.cmemcpy(path + parentlen + 1, name, len);
len412fs/smbfs/dir.cpath[parentlen + 1 + len] = '\0';
len413fs/smbfs/dir.clen = parentlen + len + 1;
len428fs/smbfs/dir.c*res_len = len;
len436fs/smbfs/dir.cget_pname(struct inode *dir, const char *name, int len,
len443fs/smbfs/dir.cif ((res = get_pname_static(dir,name,len,result,&result_len) != 0)) {
len472fs/smbfs/dir.cint error, len;
len486fs/smbfs/dir.clen = strlen(path);
len490fs/smbfs/dir.cpath, len, &newent);
len515fs/smbfs/dir.cnew_inode_info->finfo.len    = len;
len553fs/smbfs/dir.csmb_kfree_s(i->finfo.path, i->finfo.len+1);
len569fs/smbfs/dir.croot->finfo.len  = strlen(root->finfo.path);
len585fs/smbfs/dir.cif (root->finfo.len == 0) {
len591fs/smbfs/dir.croot->finfo.path, root->finfo.len,
len662fs/smbfs/dir.csmb_lookup(struct inode *dir, const char *__name, int len,
len682fs/smbfs/dir.cif (len == 0 || (len == 1 && __name[0] == '.')) {
len688fs/smbfs/dir.cif ((error = get_pname(dir, __name, len, &name, &len)) < 0) {
len746fs/smbfs/dir.cerror = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo);
len766fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode,
len782fs/smbfs/dir.cif ((error = get_pname(dir, name, len, &path, &len)) < 0) {
len793fs/smbfs/dir.cerror = smb_proc_create(SMB_SERVER(dir), path, len, &entry);
len812fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode)
len824fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len829fs/smbfs/dir.cif ((error = smb_proc_mkdir(SMB_SERVER(dir), path, len)) == 0) {
len838fs/smbfs/dir.csmb_rmdir(struct inode *dir, const char *name, int len)
len848fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len855fs/smbfs/dir.cif ((error = smb_proc_rmdir(SMB_SERVER(dir), path, len)) == 0)
len863fs/smbfs/dir.csmb_unlink(struct inode *dir, const char *name, int len)
len873fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len880fs/smbfs/dir.cif ((error = smb_proc_unlink(SMB_SERVER(dir), path, len)) == 0)
len50fs/smbfs/file.cdirent->path, dirent->len,
len73fs/smbfs/proc.csmb_encode_smb_length(byte *p, dword len)
len76fs/smbfs/proc.cp[2] = (len & 0xFF00) >> 8;
len77fs/smbfs/proc.cp[3] = (len & 0xFF);
len78fs/smbfs/proc.cif (len > 0xFFFF)
len84fs/smbfs/proc.csmb_encode_dialect(byte *p, const byte *name, int len)
len88fs/smbfs/proc.creturn p + len + 1;
len92fs/smbfs/proc.csmb_encode_ascii(byte *p, const byte *name, int len)
len96fs/smbfs/proc.creturn p + len + 1;
len100fs/smbfs/proc.csmb_encode_vblock(byte *p, const byte *data, word len, int fs)
len103fs/smbfs/proc.cp = smb_encode_word(p, len);
len105fs/smbfs/proc.cmemcpy_fromfs(p, data, len);
len107fs/smbfs/proc.cmemcpy(p, data, len);
len108fs/smbfs/proc.creturn p + len;
len114fs/smbfs/proc.cword len;
len121fs/smbfs/proc.clen = WVAL(p, 1);
len125fs/smbfs/proc.cmemcpy_tofs(data, p, len);
len127fs/smbfs/proc.cmemcpy(data, p, len);
len129fs/smbfs/proc.c*data_len = len;
len131fs/smbfs/proc.creturn p + len;
len137fs/smbfs/proc.cint len, pad = 0;
len139fs/smbfs/proc.clen = strlen(name);
len141fs/smbfs/proc.cif (len < 16)
len142fs/smbfs/proc.cpad = 16 - len;
len144fs/smbfs/proc.c*p ++ = 2 * (len + pad);
len353fs/smbfs/proc.cint i, j, len;
len360fs/smbfs/proc.clen = smb_len(packet), smb_valid_packet(packet));
len370fs/smbfs/proc.cif (len > 100)
len371fs/smbfs/proc.clen = 100;
len373fs/smbfs/proc.cfor (i = 0; i < len; i += 10) {
len376fs/smbfs/proc.cif (j < len)
len382fs/smbfs/proc.cif (j < len)
len536fs/smbfs/proc.csmb_proc_open(struct smb_server *server, const char *pathname, int len,
len549fs/smbfs/proc.cp = smb_setup_header(server, SMBopen, 2, 2 + len);
len552fs/smbfs/proc.csmb_encode_ascii(p, pathname, len);
len565fs/smbfs/proc.cp = smb_setup_header(server, SMBopen, 2, 2 + len);
len568fs/smbfs/proc.csmb_encode_ascii(p, pathname, len);
len762fs/smbfs/proc.csmb_proc_do_create(struct smb_server *server, const char *path, int len, 
len771fs/smbfs/proc.cp = smb_setup_header(server, command, 3, len + 2);
len774fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len794fs/smbfs/proc.csmb_proc_create(struct smb_server *server, const char *path, int len,
len797fs/smbfs/proc.creturn smb_proc_do_create(server, path, len, entry, SMBcreate);
len801fs/smbfs/proc.csmb_proc_mknew(struct smb_server *server, const char *path, int len,
len804fs/smbfs/proc.creturn smb_proc_do_create(server, path, len, entry, SMBmknew);
len834fs/smbfs/proc.csmb_proc_mkdir(struct smb_server *server, const char *path, const int len)
len842fs/smbfs/proc.cp = smb_setup_header(server, SMBmkdir, 0, 2 + len);
len843fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len855fs/smbfs/proc.csmb_proc_rmdir(struct smb_server *server, const char *path, const int len)
len863fs/smbfs/proc.cp = smb_setup_header(server, SMBrmdir, 0, 2 + len);
len864fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len876fs/smbfs/proc.csmb_proc_unlink(struct smb_server *server, const char *path, const int len)
len885fs/smbfs/proc.cp = smb_setup_header(server, SMBunlink, 1, 2 + len);
len887fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len1083fs/smbfs/proc.cfinfo->len  = strlen(finfo->path);
len1098fs/smbfs/proc.cfinfo->len  = strlen(finfo->path);
len1134fs/smbfs/proc.cfinfo->len = namelen;
len1385fs/smbfs/proc.csmb_proc_getattr_core(struct smb_server *server, const char *path, int len, 
len1397fs/smbfs/proc.cp = smb_setup_header(server, SMBgetatr, 0, 2 + len);
len1398fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len1444fs/smbfs/proc.csmb_proc_getattr(struct smb_server *server, const char *path, int len, 
len1452fs/smbfs/proc.cif ((result=smb_proc_open(server,path,len,
len1456fs/smbfs/proc.creturn smb_proc_getattr_core(server,path,len,entry);
len1471fs/smbfs/proc.creturn smb_proc_getattr_core(server, path, len, entry);
len1480fs/smbfs/proc.cconst char *path, int len,
len1490fs/smbfs/proc.cp = smb_setup_header(server, SMBsetatr, 8, 4 + len);
len1493fs/smbfs/proc.cp = smb_encode_ascii(p, path, len);
len1547fs/smbfs/proc.creturn smb_proc_setattr_core(server, finfo->path, finfo->len,
len34fs/smbfs/sock.csmb_data_callback(struct sock *sk,int len)
len186fs/smbfs/sock.cint len, result;
len227fs/smbfs/sock.clen = smb_len(peek_buf); 
len228fs/smbfs/sock.cif (len > max_raw_length) { 
len230fs/smbfs/sock.clen, max_raw_length);
len241fs/smbfs/sock.cwhile (already_read < len) {
len246fs/smbfs/sock.clen - already_read, 0, 0,
len467fs/smbfs/sock.cint len, result, result2;
len486fs/smbfs/sock.clen = smb_len(buffer) + 4;
len488fs/smbfs/sock.cDDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]);
len495fs/smbfs/sock.cresult = sock->ops->send(sock, (void *)buffer, len, 0, 0);
len535fs/smbfs/sock.cint len, result, result2;
len554fs/smbfs/sock.clen = smb_len(buffer) + 4;
len561fs/smbfs/sock.cDDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]);
len563fs/smbfs/sock.cresult = sock->ops->send(sock, (void *)buffer, len, 0, 0);
len599fs/smbfs/sock.cint len, result, result2;
len620fs/smbfs/sock.clen = smb_len(buffer) + 4;
len628fs/smbfs/sock.clen, buffer[8]);
len634fs/smbfs/sock.cresult = sock->ops->send(sock, (void *)buffer, len, 0, 0);
len100fs/super.cint err, len;
len109fs/super.clen = strlen(tmp->name) + 1;
len110fs/super.cerr = verify_area(VERIFY_WRITE, buf, len);
len113fs/super.cmemcpy_tofs(buf, tmp->name, len);
len158fs/super.cint len = 0;
len162fs/super.cwhile (tmp && len < PAGE_SIZE - 80) {
len163fs/super.clen += sprintf(buf+len, "%s\t%s\n",
len168fs/super.creturn len;
len29fs/sysv/namei.cstatic inline int namecompare(int len, int maxlen,
len32fs/sysv/namei.cif (len > maxlen)
len34fs/sysv/namei.cif (len < maxlen && buffer[len])
len36fs/sysv/namei.creturn !memcmp(name, buffer, len);
len46fs/sysv/namei.cstatic int sysv_match(int len, const char * name, struct sysv_dir_entry * de)
len48fs/sysv/namei.cif (!de->inode || len > SYSV_NAMELEN)
len51fs/sysv/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len53fs/sysv/namei.creturn namecompare(len,SYSV_NAMELEN,name,de->name);
len107fs/sysv/namei.cint sysv_lookup(struct inode * dir,const char * name, int len,
len121fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
len208fs/sysv/namei.cint sysv_create(struct inode * dir,const char * name, int len, int mode,
len227fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
len243fs/sysv/namei.cint sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len252fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len284fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len300fs/sysv/namei.cint sysv_mkdir(struct inode * dir, const char * name, int len, int mode)
len311fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len349fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len425fs/sysv/namei.cint sysv_rmdir(struct inode * dir, const char * name, int len)
len433fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len481fs/sysv/namei.cint sysv_unlink(struct inode * dir, const char * name, int len)
len491fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len534fs/sysv/namei.cint sysv_symlink(struct inode * dir, const char * name, int len, const char * symname)
len569fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len578fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
len594fs/sysv/namei.cint sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len610fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len617fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len201fs/umsdos/dir.c,info.fake.len,&inode);
len606fs/umsdos/dir.cint len)
len616fs/umsdos/dir.c&& len == 3
len626fs/umsdos/dir.cint len,
len633fs/umsdos/dir.cif (len == 1 && name[0] == '.'){
len637fs/umsdos/dir.c}else if (len == 2 && name[0] == '.' && name[1] == '.'){
len669fs/umsdos/dir.c}else if (umsdos_is_pseudodos(dir,name,len)){
len679fs/umsdos/dir.cret = umsdos_parse (name,len,&info);
len682fs/umsdos/dir.c,info.fake.len));
len694fs/umsdos/dir.cret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result);
len735fs/umsdos/dir.cint len,
len738fs/umsdos/dir.creturn umsdos_lookup_x(dir,name,len,result,0);
len767fs/umsdos/dir.cint len;
len769fs/umsdos/dir.clen = (int)(pt - start);
len773fs/umsdos/dir.cret = umsdos_rlookup_x(dir,start,len,result,1);
len775fs/umsdos/dir.cret = umsdos_lookup_x(dir,start,len,result,1);
len77fs/umsdos/inode.cint len,
len82fs/umsdos/inode.cret = msdos_lookup (dir,name,len,result);
len159fs/umsdos/ioctl.c,info.fake.fname,info.fake.len+1);
len77fs/umsdos/mangle.cchar *pt = info->fake.fname + info->fake.len;
len102fs/umsdos/mangle.cinfo->fake.len += 4;
len111fs/umsdos/mangle.cint umsdos_evalrecsize (int len)
len114fs/umsdos/mangle.cint nbrec = 1+((len-1+(dirent.name-(char*)&dirent))
len123fs/umsdos/mangle.cint umsdos_evalrecsize_old (int len)
len126fs/umsdos/mangle.cint size = len + (dirent.name-(char*)&dirent);
len139fs/umsdos/mangle.cint len,
len148fs/umsdos/mangle.cif (len > UMSDOS_MAXNAME) len = UMSDOS_MAXNAME;
len156fs/umsdos/mangle.cint msdos_len = len;
len195fs/umsdos/mangle.cif (len<=(8+1+3)){
len197fs/umsdos/mangle.cconst char *endpt = fname + len;
len258fs/umsdos/mangle.c|| (firstpt == NULL && len > 8)
len259fs/umsdos/mangle.c|| (len == UMSDOS_EMD_NAMELEN
len305fs/umsdos/mangle.cstrncpy (info->fake.fname,fname,len);
len307fs/umsdos/mangle.cbase_len = firstpt != NULL ? (int)(firstpt - fname) : len;
len376fs/umsdos/mangle.cinfo->fake.len = msdos_len;
len378fs/umsdos/mangle.cmemcpy (info->entry.name,fname,len);
len379fs/umsdos/mangle.cinfo->entry.name_len = len;
len385fs/umsdos/mangle.cinfo->recsize = umsdos_evalrecsize (len);
len164fs/umsdos/namei.cint len,
len168fs/umsdos/namei.cif (umsdos_is_pseudodos(dir,name,len)){
len179fs/umsdos/namei.c&& (len == 1 || (len == 2 && name[1] == '.'))){
len205fs/umsdos/namei.cint len,        /* Length of the name */
len213fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EEXIST);
len216fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len232fs/umsdos/namei.cret = msdos_create (dir,info.fake.fname,info.fake.len
len351fs/umsdos/namei.cPRINTK (("ret %d %d ",ret,new_info.fake.len));
len357fs/umsdos/namei.c,old_info.fake.fname,old_info.fake.len
len359fs/umsdos/namei.c,new_info.fake.fname,new_info.fake.len);
len426fs/umsdos/namei.cint len,
len445fs/umsdos/namei.cret = umsdos_create_any (dir,name,len,mode,0,flags,&inode);
len448fs/umsdos/namei.cint len = strlen(symname);
len452fs/umsdos/namei.cret = umsdos_file_write_kmem (inode,&filp,symname,len);
len455fs/umsdos/namei.cif (ret != len){
len464fs/umsdos/namei.cUMSDOS_unlink (dir,name,len);
len479fs/umsdos/namei.cint len,
len482fs/umsdos/namei.creturn umsdos_symlink_x (dir,name,len,symname,S_IFLNK|0777,0);
len491fs/umsdos/namei.cint len)
len570fs/umsdos/namei.c}else if ((ret = umsdos_nevercreat(dir,name,len,-EPERM))==0){
len620fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len
len637fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len,path
len670fs/umsdos/namei.cint len,        /* Length of the name */
len675fs/umsdos/namei.creturn umsdos_create_any (dir,name,len,mode,0,0,result);
len683fs/umsdos/namei.cint len,
len686fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EEXIST);
len689fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len706fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
len722fs/umsdos/namei.c,info.fake.len,&subdir);
len749fs/umsdos/namei.cint len,
len768fs/umsdos/namei.cint ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode);
len779fs/umsdos/namei.cint len)
len868fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len872fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&sdir);
len898fs/umsdos/namei.cumsdos_parse (name,len,&info);
len903fs/umsdos/namei.c,info.fake.len);
len933fs/umsdos/namei.cint len)
len935fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len938fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len963fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&inode);
len992fs/umsdos/namei.c,info.fake.len);
len90fs/umsdos/rdir.cint len,
len97fs/umsdos/rdir.c&& len == 2
len110fs/umsdos/rdir.cret = umsdos_real_lookup (dir,name,len,result);
len134fs/umsdos/rdir.cint len,
len137fs/umsdos/rdir.creturn umsdos_rlookup_x(dir,name,len,result,0);
len143fs/umsdos/rdir.cint len)
len160fs/umsdos/rdir.cif (umsdos_is_pseudodos(dir,name,len)){
len173fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len177fs/umsdos/rdir.cret = UMSDOS_rlookup (dir,name,len,&sdir);
len196fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len35fs/xiafs/namei.cstatic int xiafs_match(int len, const char * name, struct xiafs_direct * dep)
len39fs/xiafs/namei.cif (!dep || !dep->d_ino || len > _XIAFS_NAME_LEN)
len42fs/xiafs/namei.cif (!len && (dep->d_name[0]=='.') && (dep->d_name[1]=='\0'))
len44fs/xiafs/namei.cif (len != dep->d_name_len)
len46fs/xiafs/namei.cfor (i=0; i < len; i++)
len119fs/xiafs/namei.cint xiafs_lookup(struct inode * dir, const char * name, int len,
len133fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
len248fs/xiafs/namei.cint xiafs_create(struct inode * dir, const char * name, int len, int mode,
len266fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len282fs/xiafs/namei.cint xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev)
len290fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len323fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len339fs/xiafs/namei.cint xiafs_mkdir(struct inode * dir, const char * name, int len, int mode)
len345fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len389fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len489fs/xiafs/namei.cint xiafs_rmdir(struct inode * dir, const char * name, int len)
len497fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len541fs/xiafs/namei.cint xiafs_unlink(struct inode * dir, const char * name, int len)
len551fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len589fs/xiafs/namei.cint len, const char * symname)
len597fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
len624fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len641fs/xiafs/namei.cconst char * name, int len)
len656fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
len663fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len17include/asm-alpha/checksum.hunsigned short len,
len33include/asm-alpha/checksum.hextern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
len42include/asm-alpha/checksum.hunsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
len56include/asm-alpha/checksum.hextern unsigned short ip_compute_csum(unsigned char * buff, int len);
len126include/asm-alpha/io.h#define memset_io(addr,c,len)    (memset_io)((unsigned long)(addr),(c),(len))
len127include/asm-alpha/io.h#define memcpy_fromio(to,from,len)  (memcpy_fromio)((to),(unsigned long)(from),(len))
len128include/asm-alpha/io.h#define memcpy_toio(to,from,len)  (memcpy_toio)((unsigned long)(to),(from),(len))
len7include/asm-alpha/ipsum.hextern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr)
len16include/asm-alpha/ipsum.hextern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr)
len28include/asm-alpha/ipsum.hextern inline unsigned short ip_compute_csum(unsigned char * buff, int len)
len16include/asm-i386/checksum.hunsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
len26include/asm-i386/checksum.hunsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
len36include/asm-i386/checksum.hunsigned int csum_partial_copy_fromuser(const char *src, char *dst, int len, int sum);
len83include/asm-i386/checksum.hunsigned short len,
len98include/asm-i386/checksum.h: "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum));
len126include/asm-i386/checksum.hstatic inline unsigned short ip_compute_csum(unsigned char * buff, int len) {
len138include/asm-i386/checksum.h: "0" (csum_partial(buff, len, 0)));
len11include/asm-sparc/ipsum.hextern inline unsigned short udp_check(struct udphdr *uh, int len, u32 saddr, u32 daddr)
len20include/asm-sparc/ipsum.hextern inline unsigned short tcp_check(struct tcphdr *th, int len, u32 saddr, u32 daddr)
len32include/asm-sparc/ipsum.hextern inline unsigned short ip_compute_csum(unsigned char * buff, int len)
len182include/asm-sparc/openprom.hvoid  (*pv_putstr)(char *str, int len);
len197include/asm-sparc/openprom.hvoid  (*v0_eval)(int len, char *str);
len299include/asm-sparc/openprom.hint  (*no_setprop)(int node, char*  name, char*  val, int len);
len76include/asm-sparc/string.hextern __inline__ char *strncat(char *dest, const char *src, size_t len)
len80include/asm-sparc/string.hif (len) {
len84include/asm-sparc/string.hif (--len == 0)
len33include/linux/etherdevice.hvoid *saddr, unsigned len);
len65include/linux/ext_fs.hextern int ext_lookup(struct inode * dir,const char * name, int len,
len67include/linux/ext_fs.hextern int ext_create(struct inode * dir,const char * name, int len, int mode,
len69include/linux/ext_fs.hextern int ext_mkdir(struct inode * dir, const char * name, int len, int mode);
len70include/linux/ext_fs.hextern int ext_rmdir(struct inode * dir, const char * name, int len);
len71include/linux/ext_fs.hextern int ext_unlink(struct inode * dir, const char * name, int len);
len72include/linux/ext_fs.hextern int ext_symlink(struct inode * inode, const char * name, int len,
len74include/linux/ext_fs.hextern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
len75include/linux/ext_fs.hextern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
len34include/linux/ip.h__u8  len;
len159include/linux/iso_fs.hextern int get_rock_ridge_filename(struct iso_directory_record *, char ** name, int * len, struct inode *);
len169include/linux/iso_fs.hextern int isofs_lookup(struct inode * dir,const char * name, int len,
len84include/linux/minix_fs.hextern int minix_lookup(struct inode * dir,const char * name, int len,
len86include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
len88include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
len89include/linux/minix_fs.hextern int minix_rmdir(struct inode * dir, const char * name, int len);
len90include/linux/minix_fs.hextern int minix_unlink(struct inode * dir, const char * name, int len);
len91include/linux/minix_fs.hextern int minix_symlink(struct inode * inode, const char * name, int len,
len93include/linux/minix_fs.hextern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
len94include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
len213include/linux/mm.hextern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len,
len145include/linux/msdos_fs.hextern int msdos_lookup(struct inode *dir,const char *name,int len,
len147include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
len149include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
len150include/linux/msdos_fs.hextern int msdos_rmdir(struct inode *dir,const char *name,int len);
len151include/linux/msdos_fs.hextern int msdos_unlink(struct inode *dir,const char *name,int len);
len152include/linux/msdos_fs.hextern int msdos_unlink_umsdos(struct inode *dir,const char *name,int len);
len113include/linux/net.hint  (*listen)  (struct socket *sock, int len);
len114include/linux/net.hint  (*send)    (struct socket *sock, const void *buff, int len, int nonblock,
len116include/linux/net.hint  (*recv)    (struct socket *sock, void *buff, int len, int nonblock,
len118include/linux/net.hint  (*sendto)  (struct socket *sock, const void *buff, int len, int nonblock,
len120include/linux/net.hint  (*recvfrom)  (struct socket *sock, void *buff, int len, int nonblock,
len156include/linux/netdevice.hunsigned len);
len213include/linux/netdevice.hextern int    dev_rint(unsigned char *buff, long len, int flags,
len60include/linux/nfs_fs.hint **p0, char **string, unsigned int *len,
len8include/linux/pipe_fs_i.hunsigned int len;
len19include/linux/pipe_fs_i.h#define PIPE_LEN(inode)    ((inode).u.pipe_i.len)
len66include/linux/skbuff.hunsigned long     len;      /* Length of actual data      */
len134include/linux/skbuff.hextern unsigned char *    skb_put(struct sk_buff *skb, int len);
len135include/linux/skbuff.hextern unsigned char *    skb_push(struct sk_buff *skb, int len);
len136include/linux/skbuff.hextern unsigned char *    skb_pull(struct sk_buff *skb, int len);
len139include/linux/skbuff.hextern void      skb_reserve(struct sk_buff *skb, int len);
len140include/linux/skbuff.hextern void       skb_trim(struct sk_buff *skb, int len);
len308include/linux/skbuff.hextern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
len311include/linux/skbuff.hskb->tail+=len;
len312include/linux/skbuff.hskb->len+=len;
len314include/linux/skbuff.hpanic("skput:over: %p:%d", __builtin_return_address(0),len);
len318include/linux/skbuff.hextern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
len320include/linux/skbuff.hskb->data-=len;
len321include/linux/skbuff.hskb->len+=len;
len323include/linux/skbuff.hpanic("skpush:under: %p:%d", __builtin_return_address(0),len);
len327include/linux/skbuff.hextern __inline__ unsigned char * skb_pull(struct sk_buff *skb, int len)
len329include/linux/skbuff.hif(len > skb->len)
len331include/linux/skbuff.hskb->data+=len;
len332include/linux/skbuff.hskb->len-=len;
len346include/linux/skbuff.hextern __inline__ void skb_reserve(struct sk_buff *skb, int len)
len348include/linux/skbuff.hskb->data+=len;
len349include/linux/skbuff.hskb->tail+=len;
len352include/linux/skbuff.hextern __inline__ void skb_trim(struct sk_buff *skb, int len)
len354include/linux/skbuff.hif(skb->len>len)
len356include/linux/skbuff.hskb->len=len;
len357include/linux/skbuff.hskb->tail=skb->data+len;
len101include/linux/smb.hint             len;  /* Namelength. */
len127include/linux/smb_fs.hbyte *smb_encode_smb_length(byte *p, dword len);
len129include/linux/smb_fs.hint len, struct smb_dirent *entry);
len140include/linux/smb_fs.hint len, struct smb_dirent *entry);
len141include/linux/smb_fs.hint smb_proc_mknew(struct smb_server *server, const char *path, int len,
len145include/linux/smb_fs.hint smb_proc_mkdir(struct smb_server *server, const char *path, const int len);
len146include/linux/smb_fs.hint smb_proc_rmdir(struct smb_server *server, const char *path, const int len);
len148include/linux/smb_fs.hconst int len);
len153include/linux/smb_fs.hint len, struct smb_dirent *entry);
len157include/linux/smb_fs.hint smb_proc_chkpath(struct smb_server *server, char *path, int len,
len122include/linux/socket.hextern void memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len);
len124include/linux/socket.hextern void memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len);
len179include/linux/soundcard.hlong len;  /* Size of the wave data in bytes */
len239include/linux/soundcard.hlong len;  /* Size of the sysex data in bytes */
len625include/linux/soundcard.hint len;
len636include/linux/soundcard.hint len;  /* Length of data in bytes */
len640include/linux/soundcard.hint len;
len886include/linux/soundcard.h#define SEQ_DEFINEBUF(len)    unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0
len890include/linux/soundcard.h#define _SEQ_NEEDBUF(len)    if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump()
len891include/linux/soundcard.h#define _SEQ_ADVBUF(len)    _seqbufptr += len
len908include/linux/soundcard.h#define _SEQ_NEEDBUF(len)  /* empty */
len1051include/linux/soundcard.h#define SEQ_WRPATCH(patchx, len)    {if (_seqbufptr) seqbuf_dump();\
len1052include/linux/soundcard.hif (write(seqfd, (char*)(patchx), len)==-1) \
len1054include/linux/soundcard.h#define SEQ_WRPATCH2(patchx, len)  (seqbuf_dump(), write(seqfd, (char*)(patchx), len))
len364include/linux/sysv_fs.hextern int sysv_lookup(struct inode * dir,const char * name, int len,
len366include/linux/sysv_fs.hextern int sysv_create(struct inode * dir,const char * name, int len, int mode,
len368include/linux/sysv_fs.hextern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode);
len369include/linux/sysv_fs.hextern int sysv_rmdir(struct inode * dir, const char * name, int len);
len370include/linux/sysv_fs.hextern int sysv_unlink(struct inode * dir, const char * name, int len);
len371include/linux/sysv_fs.hextern int sysv_symlink(struct inode * inode, const char * name, int len,
len373include/linux/sysv_fs.hextern int sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
len374include/linux/sysv_fs.hextern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
len33include/linux/trdevice.hvoid *saddr, unsigned len);
len24include/linux/udp.hunsigned short  len;
len22include/linux/umsdos_fs.hint  len;
len67include/linux/xia_fs.hextern int xiafs_lookup(struct inode * dir,const char * name, int len, 
len69include/linux/xia_fs.hextern int xiafs_create(struct inode * dir,const char * name, int len, int mode,
len71include/linux/xia_fs.hextern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode);
len72include/linux/xia_fs.hextern int xiafs_rmdir(struct inode * dir, const char * name, int len);
len73include/linux/xia_fs.hextern int xiafs_unlink(struct inode * dir, const char * name, int len);
len74include/linux/xia_fs.hextern int xiafs_symlink(struct inode * inode, const char * name, int len,
len77include/linux/xia_fs.hconst char * name, int len);
len78include/linux/xia_fs.hextern int xiafs_mknod(struct inode * dir, const char * name, int len, 
len30include/net/icmp.hunsigned short len, __u32 saddr,
len54include/net/ip.hint    len;    /* length of this fragment    */
len65include/net/ip.hint    len;    /* total length of original datagram  */
len84include/net/ip.hstruct options *opt, int len,
len2include/net/ipip.h__u32 daddr, unsigned short len, __u32 saddr,
len34include/net/protocol.hunsigned short len, __u32 saddr,
len27include/net/raw.hint len, int noblock, unsigned flags,
len30include/net/raw.hint len, int noblock, unsigned flags);
len252include/net/sock.hint len, int nonblock, unsigned flags);
len254include/net/sock.hint len, int nonblock, unsigned flags);
len256include/net/sock.hconst unsigned char *from, int len, 
len260include/net/sock.hunsigned char *from, int len, int noblock,
len267include/net/sock.hstruct options *opt, int len,
len280include/net/sock.hunsigned short len, __u32 saddr,
len379include/net/sock.hsk->data_ready(sk,skb->len);
len131include/net/tcp.hunsigned short len, __u32 saddr, int redo,
len138include/net/tcp.hunsigned long daddr, int len, struct sock *sk);
len37include/net/udp.h__u32 daddr, int len, struct sock *sk);
len39include/net/udp.hint len, int noblock, unsigned flags,
len42include/net/udp.hint len, int noblock, unsigned flags);
len47include/net/udp.hunsigned short len, __u32 saddr, int redo,
len367init/main.cint len = strlen(devnames[n]);
len368init/main.cif (!strncmp(line,devnames[n],len)) {
len369init/main.cROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,0);
len59kernel/dma.cint i, len = 0;
len63kernel/dma.clen += sprintf(buf+len, "%2d: %s\n",
len68kernel/dma.creturn len;
len584kernel/module.cint len     = 0;  /* code from  net/ipv4/proc.c */
len596kernel/module.cp = buf + len;
len598kernel/module.clen += sprintf(p, "%08lx %s\t[%s]\n",
len602kernel/module.clen += sprintf(p, "%08lx %s\n",
len606kernel/module.cpos = begin + len;
len608kernel/module.clen   = 0;
len611kernel/module.cpos = begin + len;
len619kernel/module.clen -= (offset - begin);
len620kernel/module.cif (len > length)
len621kernel/module.clen = length;
len622kernel/module.creturn len;
len55kernel/printk.casmlinkage int sys_syslog(int type, char * buf, int len)
len70kernel/printk.cif (!buf || len < 0)
len72kernel/printk.cif (!len)
len74kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len86kernel/printk.cwhile (log_size && i < len) {
len103kernel/printk.cif (!buf || len < 0)
len105kernel/printk.cif (!len)
len107kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len110kernel/printk.ccount = len;
len133kernel/printk.cif (len < 1 || len > 8)
len135kernel/printk.cconsole_loglevel = len;
len34kernel/resource.cint len = 0;
len36kernel/resource.cfor (p = iolist.next; (p) && (len < 4000); p = p->next)
len37kernel/resource.clen += sprintf(buf+len, "%04lx-%04lx : %s\n",
len40kernel/resource.clen += sprintf(buf+len, "4K limit reached!\n");
len41kernel/resource.creturn len;
len655kernel/sys.casmlinkage int sys_sethostname(char *name, int len)
len661kernel/sys.cif (len < 0 || len > __NEW_UTS_LEN)
len663kernel/sys.cerror = verify_area(VERIFY_READ, name, len);
len666kernel/sys.cmemcpy_fromfs(system_utsname.nodename, name, len);
len667kernel/sys.csystem_utsname.nodename[len] = 0;
len671kernel/sys.casmlinkage int sys_gethostname(char *name, int len)
len675kernel/sys.cif (len < 0)
len677kernel/sys.ci = verify_area(VERIFY_WRITE, name, len);
len681kernel/sys.cif (i > len)
len682kernel/sys.ci = len;
len691kernel/sys.casmlinkage int sys_setdomainname(char *name, int len)
len697kernel/sys.cif (len > __NEW_UTS_LEN)
len699kernel/sys.cerror = verify_area(VERIFY_READ, name, len);
len702kernel/sys.cmemcpy_fromfs(system_utsname.domainname, name, len);
len703kernel/sys.csystem_utsname.domainname[len] = 0;
len136lib/vsprintf.cint len;
len221lib/vsprintf.clen = strnlen(s, precision);
len224lib/vsprintf.cwhile (len < field_width--)
len226lib/vsprintf.cfor (i = 0; i < len; ++i)
len228lib/vsprintf.cwhile (len < field_width--)
len277mm/filemap.cstatic void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len)
len279mm/filemap.cfilemap_sync(vma, start, len, MS_ASYNC);
len379mm/filemap.casmlinkage int sys_msync(unsigned long start, size_t len, int flags)
len387mm/filemap.clen = (len + ~PAGE_MASK) & PAGE_MASK;
len388mm/filemap.cend = start + len;
len44mm/mmap.cunsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len,
len50mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len53mm/mmap.cif (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len)
len57mm/mmap.cif (off + len < off)
len95mm/mmap.cif (len > TASK_SIZE || addr > TASK_SIZE - len)
len98mm/mmap.caddr = get_unmapped_area(addr, len);
len118mm/mmap.cvma->vm_end = addr + len;
len148mm/mmap.cdo_munmap(addr, len);  /* Clear old maps */
len169mm/mmap.cunsigned long get_unmapped_area(unsigned long addr, unsigned long len)
len173mm/mmap.cif (len > TASK_SIZE)
len180mm/mmap.cif (TASK_SIZE - len < addr)
len186mm/mmap.cif (addr + len > vmm->vm_start) {
len642mm/mmap.cunsigned long addr, size_t len)
len645mm/mmap.cunsigned long end = addr + len;
len705mm/mmap.casmlinkage int sys_munmap(unsigned long addr, size_t len)
len707mm/mmap.creturn do_munmap(addr, len);
len716mm/mmap.cint do_munmap(unsigned long addr, size_t len)
len720mm/mmap.cif ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr)
len723mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len741mm/mmap.cfor ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) {
len766mm/mmap.cend = addr+len;
len776mm/mmap.cunmap_page_range(addr, len);
len201mm/mprotect.casmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot)
len209mm/mprotect.clen = (len + ~PAGE_MASK) & PAGE_MASK;
len210mm/mprotect.cend = start + len;
len57net/802/p8022.cdev->hard_header(skb, dev, ETH_P_802_3, dest_node, NULL, skb->len);
len13net/802/p8023.cdev->hard_header(skb, dev, ETH_P_802_3, dest_node, NULL, skb->len);
len42net/802/tr.cvoid *daddr, void *saddr, unsigned len) 
len246net/802/tr.cint len=0;
len256net/802/tr.clen+=size;
len260net/802/tr.csize=sprintf(buffer+len,"%02X:%02X:%02X:%02X:%02X:%02X %04X %04X %04X %04X %04X %04X %04X %04X %04X %lu\n",
len264net/802/tr.clen+=size;
len265net/802/tr.cpos=begin+len;
len268net/802/tr.clen=0;
len279net/802/tr.clen-=(offset-begin);    /* Start slop */
len280net/802/tr.cif(len>length)
len281net/802/tr.clen=length;    /* Ending slop */
len282net/802/tr.creturn len;
len105net/appletalk/aarp.cint len=dev->hard_header_len+sizeof(struct elapaarp)+aarp_dl->header_length;
len106net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
len167net/appletalk/aarp.cint len=dev->hard_header_len+sizeof(struct elapaarp)+aarp_dl->header_length;
len168net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
len229net/appletalk/aarp.cint len=dev->hard_header_len+sizeof(struct elapaarp)+aarp_dl->header_length;
len230net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
len221net/appletalk/ddp.cint len=0;
len231net/appletalk/ddp.clen += sprintf (buffer,"Type local_addr  remote_addr tx_queue rx_queue st uid\n");
len234net/appletalk/ddp.clen += sprintf (buffer+len,"%02X   ", s->type);
len235net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X:%02X  ",
len237net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X:%02X  ",
len239net/appletalk/ddp.clen += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc);
len240net/appletalk/ddp.clen += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid);
len243net/appletalk/ddp.cpos=begin+len;
len247net/appletalk/ddp.clen=0;      /* Keep dumping into the buffer start */
len256net/appletalk/ddp.clen-=(offset-begin);    /* Remove unwanted header data from length */
len257net/appletalk/ddp.cif(len>length)
len258net/appletalk/ddp.clen=length;    /* Remove unwanted tail data from length */
len260net/appletalk/ddp.creturn len;
len823net/appletalk/ddp.cint len=0;
len827net/appletalk/ddp.clen += sprintf (buffer,"Interface    Address   Networks   Status\n");
len830net/appletalk/ddp.clen += sprintf (buffer+len,"%-16s %04X:%02X  %04X-%04X  %d\n",
len835net/appletalk/ddp.cpos=begin+len;
len838net/appletalk/ddp.clen=0;
len845net/appletalk/ddp.clen-=(offset-begin);
len846net/appletalk/ddp.cif(len>length)
len847net/appletalk/ddp.clen=length;
len848net/appletalk/ddp.creturn len;
len856net/appletalk/ddp.cint len=0;
len860net/appletalk/ddp.clen += sprintf (buffer,"Target        Router  Flags Dev\n");
len864net/appletalk/ddp.clen += sprintf (buffer+len,"Default     %5d:%-3d  %-4d  %s\n",
len870net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X     %5d:%-3d  %-4d  %s\n",
len874net/appletalk/ddp.cpos=begin+len;
len877net/appletalk/ddp.clen=0;
len884net/appletalk/ddp.clen-=(offset-begin);
len885net/appletalk/ddp.cif(len>length)
len886net/appletalk/ddp.clen=length;
len887net/appletalk/ddp.creturn len;
len901net/appletalk/ddp.cunsigned short atalk_checksum(struct ddpehdr *ddp, int len)
len906net/appletalk/ddp.clen-=4;    /* skip header 4 bytes */
len910net/appletalk/ddp.cwhile(len--)
len1038net/appletalk/ddp.cstatic void def_callback2(struct sock *sk, int len)
len1349net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
len1368net/appletalk/ddp.coriglen = skb->len;
len1370net/appletalk/ddp.cskb_trim(skb,min(skb->len,ddp->deh_len));
len1378net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
len1471net/appletalk/ddp.cstatic int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
len1487net/appletalk/ddp.cif(len>587)
len1524net/appletalk/ddp.csize=sizeof(struct ddpehdr)+len+ddp_dl->header_length;  /* For headers */
len1567net/appletalk/ddp.cddp->deh_len=len+sizeof(*ddp);
len1583net/appletalk/ddp.cprintk("SK %p: Copy user data (%d bytes).\n", sk, len);
len1585net/appletalk/ddp.cmemcpy_fromiovec(skb_put(skb,len),msg->msg_iov,len);
len1590net/appletalk/ddp.cddp->deh_sum=atalk_checksum(ddp, len+sizeof(*ddp));
len1643net/appletalk/ddp.cprintk("SK %p: Done write (%d).\n", sk, len);
len1644net/appletalk/ddp.creturn len;
len1794net/appletalk/ddp.camount=skb->len-sizeof(struct ddpehdr);
len368net/ax25/af_ax25.csk->data_ready(sk, skb->len);
len845net/ax25/af_ax25.cstatic void def_callback2(struct sock *sk, int len)
len1357net/ax25/af_ax25.cif (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type) == NULL) {
len1454net/ax25/af_ax25.csk->data_ready(sk, skb->len);
len1588net/ax25/af_ax25.csk->data_ready(sk, skb->len );
len1619net/ax25/af_ax25.cint len;
len1628net/ax25/af_ax25.clen = skb->data[0] + skb->data[1] * 256 - 5;
len1631net/ax25/af_ax25.cskb_trim(skb, len);  /* Set the length of the data */
len1636net/ax25/af_ax25.cstatic int ax25_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
len1724net/ax25/af_ax25.csize = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN;
len1733net/ax25/af_ax25.cskb_reserve(skb, size - len);
len1739net/ax25/af_ax25.cmemcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len);
len1757net/ax25/af_ax25.creturn len;
len1783net/ax25/af_ax25.creturn len;
len1846net/ax25/af_ax25.clength = skb->len + (skb->data - skb->h.raw);
len1850net/ax25/af_ax25.clength     = skb->len;
len1864net/ax25/af_ax25.cax25_parse_addr(dp, skb->len, NULL, &dest, &digi, NULL);
len1951net/ax25/af_ax25.camount = skb->len;
len2035net/ax25/af_ax25.cint len = 0;
len2041net/ax25/af_ax25.clen += sprintf(buffer, "dest_addr src_addr  dev  st  vs  vr  va    t1     t2     t3     n2  rtt wnd Snd-Q Rcv-Q\n");
len2049net/ax25/af_ax25.clen += sprintf(buffer + len, "%-9s ",
len2051net/ax25/af_ax25.clen += sprintf(buffer + len, "%-9s %-4s %2d %3d %3d %3d %3d/%03d %2d/%02d %3d/%03d %2d/%02d %3d %3d",
len2066net/ax25/af_ax25.clen += sprintf(buffer + len, " %5ld %5ld\n",
len2070net/ax25/af_ax25.clen += sprintf(buffer + len, "\n");
len2073net/ax25/af_ax25.cpos = begin + len;
len2076net/ax25/af_ax25.clen   = 0;
len2087net/ax25/af_ax25.clen   -= (offset - begin);
len2089net/ax25/af_ax25.cif (len > length) len = length;
len2091net/ax25/af_ax25.creturn(len);
len2196net/ax25/af_ax25.csize = skb->len;
len2227net/ax25/af_ax25.cvoid *saddr, unsigned len)
len74net/ax25/ax25_in.cax25->fraglen += skb->len;
len95net/ax25/ax25_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len100net/ax25/ax25_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len117net/ax25/ax25_in.cax25->fraglen = skb->len;
len60net/ax25/ax25_out.cint err, frontlen, mtu, len, fragno, first = 1;
len64net/ax25/ax25_out.cif (skb->len > mtu) {
len67net/ax25/ax25_out.cfragno = skb->len / mtu;
len68net/ax25/ax25_out.cif (skb->len % mtu == 0) fragno--;
len72net/ax25/ax25_out.cwhile (skb->len > 0) {
len87net/ax25/ax25_out.clen = (mtu > skb->len) ? skb->len : mtu;
len89net/ax25/ax25_out.cmemcpy(skb_put(skbn, len), skb->data, len);
len90net/ax25/ax25_out.cskb_pull(skb, len);
len269net/ax25/ax25_route.cint len     = 0;
len276net/ax25/ax25_route.clen += sprintf(buffer, "callsign  dev  count time      mode digipeaters\n");
len279net/ax25/ax25_route.clen += sprintf(buffer + len, "%-9s %-4s %5d %9d",
len288net/ax25/ax25_route.clen += sprintf(buffer + len, "   vc");
len292net/ax25/ax25_route.clen += sprintf(buffer + len, "   dg");
len295net/ax25/ax25_route.clen += sprintf(buffer + len, "     ");
len301net/ax25/ax25_route.clen += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i]));
len303net/ax25/ax25_route.clen += sprintf(buffer + len, "\n");
len305net/ax25/ax25_route.cpos = begin + len;
len308net/ax25/ax25_route.clen   = 0;
len319net/ax25/ax25_route.clen   -= (offset - begin);
len321net/ax25/ax25_route.cif (len > length) len = length;
len323net/ax25/ax25_route.creturn len;
len329net/ax25/ax25_route.cint len     = 0;
len335net/ax25/ax25_route.clen += sprintf(buffer, "Policy: %d\n", ax25_uid_policy);
len338net/ax25/ax25_route.clen += sprintf(buffer + len, "%6d %s\n", pt->uid, ax2asc(&pt->call));
len340net/ax25/ax25_route.cpos = begin + len;
len343net/ax25/ax25_route.clen = 0;
len354net/ax25/ax25_route.clen   -= offset - begin;
len356net/ax25/ax25_route.cif (len > length) len = length;
len358net/ax25/ax25_route.creturn len;
len312net/ax25/ax25_subr.cunsigned char *ax25_parse_addr(unsigned char *buf, int len, ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags)
len316net/ax25/ax25_subr.cif (len < 14) return NULL;
len333net/ax25/ax25_subr.clen -= 2 * AX25_ADDR_LEN;
len340net/ax25/ax25_subr.cif (len < 7) return NULL;  /* Short packet */
len354net/ax25/ax25_subr.clen -= AX25_ADDR_LEN;
len366net/ax25/ax25_subr.cint len = 0;
len376net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len399net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len411net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len417net/ax25/ax25_subr.creturn len;
len493net/core/dev.cint dev_rint(unsigned char *buff, long len, int flags, struct device *dev)
len501net/core/dev.cif (dev == NULL || buff == NULL || len <= 0) 
len518net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
len532net/core/dev.cto = skb_put(skb,len);
len533net/core/dev.cleft = len;
len535net/core/dev.clen2 = len;
len814net/core/dev.cint len;
len825net/core/dev.clen = ifc.ifc_len;
len833net/core/dev.cerr=verify_area(VERIFY_WRITE,pos,len);
len854net/core/dev.cif (len < sizeof(struct ifreq)) 
len863net/core/dev.clen -= sizeof(struct ifreq);    
len917net/core/dev.cint len=0;
len929net/core/dev.clen+=size;
len934net/core/dev.csize = sprintf_stats(buffer+len, dev);
len935net/core/dev.clen+=size;
len936net/core/dev.cpos=begin+len;
len940net/core/dev.clen=0;
len948net/core/dev.clen-=(offset-begin);    /* Start slop */
len949net/core/dev.cif(len>length)
len950net/core/dev.clen=length;    /* Ending slop */
len951net/core/dev.creturn len;
len32net/core/iovec.cint len=0;
len60net/core/iovec.clen+=iov[ct].iov_len;
len63net/core/iovec.creturn len;
len70net/core/iovec.cvoid memcpy_toiovec(struct iovec *iov, unsigned char *kdata, int len)
len72net/core/iovec.cwhile(len>0)
len76net/core/iovec.cint copy = min(iov->iov_len,len);
len79net/core/iovec.clen-=copy;
len91net/core/iovec.cvoid memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len)
len93net/core/iovec.cwhile(len>0)
len97net/core/iovec.cint copy=min(len,iov->iov_len);
len99net/core/iovec.clen-=copy;
len161net/core/skbuff.cif(skb->tail-skb->data!=skb->len)
len165net/core/skbuff.cskb,skb->data,skb->end,skb->len);
len359net/core/skbuff.cunsigned char *skb_put(struct sk_buff *skb, int len)
len363net/core/skbuff.cskb->tail+=len;
len364net/core/skbuff.cskb->len+=len;
len367net/core/skbuff.cpanic("skput:over: %p:%d", __builtin_return_address(0),len);
len371net/core/skbuff.cunsigned char *skb_push(struct sk_buff *skb, int len)
len374net/core/skbuff.cskb->data-=len;
len375net/core/skbuff.cskb->len+=len;
len378net/core/skbuff.cpanic("skpush:under: %p:%d", __builtin_return_address(0),len);
len382net/core/skbuff.cunsigned char * skb_pull(struct sk_buff *skb, int len)
len385net/core/skbuff.cif(len>skb->len)
len387net/core/skbuff.cskb->data+=len;
len388net/core/skbuff.cskb->len-=len;
len404net/core/skbuff.cvoid skb_reserve(struct sk_buff *skb, int len)
len407net/core/skbuff.cskb->data+=len;
len408net/core/skbuff.cskb->tail+=len;
len416net/core/skbuff.cvoid skb_trim(struct sk_buff *skb, int len)
len419net/core/skbuff.cif(skb->len>len)
len421net/core/skbuff.cskb->len=len;
len422net/core/skbuff.cskb->tail=skb->data+len;
len496net/core/skbuff.cint len=size;
len560net/core/skbuff.cskb->end=bptr+len;
len561net/core/skbuff.cskb->len=0;
len608net/core/skbuff.cskb_put(n,skb->len);
len543net/core/sock.cskb->saddr, skb->len, skb->daddr, 1,
len88net/ethernet/eth.cvoid *daddr, void *saddr, unsigned len)
len100net/ethernet/eth.ceth->h_proto = htons(len);
len13net/ethernet/pe2.cdev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
len522net/ipv4/af_inet.cstatic void def_callback2(struct sock *sk,int len)
len374net/ipv4/arp.cdev->hard_header(skb,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len);
len1057net/ipv4/arp.cint len=0;
len1069net/ipv4/arp.clen+=size;
len1102net/ipv4/arp.csize = sprintf(buffer+len,
len1108net/ipv4/arp.csize += sprintf(buffer+len+size,
len1113net/ipv4/arp.clen+=size;
len1114net/ipv4/arp.cpos=begin+len;
len1118net/ipv4/arp.clen=0;
len1128net/ipv4/arp.clen-=(offset-begin);    /* Start slop */
len1129net/ipv4/arp.cif(len>length)
len1130net/ipv4/arp.clen=length;      /* Ending slop */
len1131net/ipv4/arp.creturn len;
len148net/ipv4/icmp.cvoid (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len);
len336net/ipv4/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len425net/ipv4/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 source, __u32 daddr, int len)
len502net/ipv4/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len508net/ipv4/icmp.cicmp_param.data_len=len;
len521net/ipv4/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len530net/ipv4/icmp.cif(len<12)
len566net/ipv4/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len582net/ipv4/icmp.cstatic void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len592net/ipv4/icmp.c__u32 daddr, unsigned short len,
len602net/ipv4/icmp.cif (ip_compute_csum((unsigned char *) icmph, len)) 
len644net/ipv4/icmp.clen-=sizeof(struct icmphdr);
len646net/ipv4/icmp.c(icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len);
len214net/ipv4/igmp.c__u32 daddr, unsigned short len, __u32 saddr, int redo,
len234net/ipv4/igmp.cif(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl>1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr)))
len190net/ipv4/ip.cstatic int ip_send(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
len203net/ipv4/ip.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
len214net/ipv4/ip.cstatic int ip_send_room(struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
len223net/ipv4/ip.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
len243net/ipv4/ip.cstruct device **dev, int type, struct options *opt, int len, int tos, int ttl)
len317net/ipv4/ip.ctmp = ip_send_room(skb, raddr, len, *dev, saddr);
len319net/ipv4/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
len401net/ipv4/ip.cfp->len = end - offset;
len552net/ipv4/ip.cqp->len = 0;
len585net/ipv4/ip.cif (qp->len == 0)
len618net/ipv4/ip.cint count, len;
len623net/ipv4/ip.clen = qp->ihlen + qp->len;
len625net/ipv4/ip.cif ((skb = dev_alloc_skb(len)) == NULL)
len634net/ipv4/ip.cskb_put(skb,len);
len649net/ipv4/ip.cif(count+fp->len > skb->len)
len657net/ipv4/ip.cmemcpy((ptr + fp->offset), fp->ptr, fp->len);
len658net/ipv4/ip.ccount += fp->len;
len754net/ipv4/ip.cqp->len = end;
len794net/ipv4/ip.ctmp->len -= i;        /* so reduce size of  */
len801net/ipv4/ip.cif (tmp->len <= 0)
len880net/ipv4/ip.cint left, mtu, hlen, len;
len955net/ipv4/ip.clen = left;
len957net/ipv4/ip.cif (len > mtu)
len958net/ipv4/ip.clen = mtu;
len961net/ipv4/ip.cif (len < left)
len963net/ipv4/ip.clen/=8;
len964net/ipv4/ip.clen*=8;
len970net/ipv4/ip.cif ((skb2 = alloc_skb(len + hlen+15,GFP_ATOMIC)) == NULL)
len985net/ipv4/ip.cskb_put(skb2,len + hlen);
len1011net/ipv4/ip.cmemcpy(skb2->h.raw + hlen, ptr, len);
len1012net/ipv4/ip.cleft -= len;
len1028net/ipv4/ip.cptr += len;
len1029net/ipv4/ip.coffset += len;
len1213net/ipv4/ip.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
len1231net/ipv4/ip.cip_send(skb2,raddr,skb->len,dev2,dev2->pa_addr);
len1238net/ipv4/ip.cptr = skb_put(skb2,skb->len);
len1245net/ipv4/ip.cmemcpy(ptr, skb->h.raw, skb->len);
len1259net/ipv4/ip.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
len1270net/ipv4/ip.cif(skb2->len > dev2->mtu + dev2->hard_header_len)
len1377net/ipv4/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
len1378net/ipv4/ip.c|| skb->len < ntohs(iph->tot_len))
len1752net/ipv4/ip.cint len=ntohs(skb->ip_hdr->tot_len);
len1753net/ipv4/ip.cstruct sk_buff *newskb=dev_alloc_skb(len+dev->hard_header_len+15);
len1772net/ipv4/ip.cip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
len1776net/ipv4/ip.cnewskb->ip_hdr=(struct iphdr *)skb_put(newskb, len);
len1780net/ipv4/ip.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
len1837net/ipv4/ip.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
len2025net/ipv4/ip.cint len=0;
len2028net/ipv4/ip.clen=sprintf(buffer,"Device    : Count\tGroup    Users Timer\n");  
len2036net/ipv4/ip.clen+=sprintf(buffer+len,"%-10s: %5d\n",
len2040net/ipv4/ip.clen+=sprintf(buffer+len,
len2044net/ipv4/ip.cpos=begin+len;
len2047net/ipv4/ip.clen=0;
len2057net/ipv4/ip.clen-=(offset-begin);
len2058net/ipv4/ip.cif(len>length)
len2059net/ipv4/ip.clen=length;  
len2060net/ipv4/ip.creturn len;
len2360net/ipv4/ip.cint len;
len2395net/ipv4/ip.clen=strlen(sk->ip_mc_name);
len2396net/ipv4/ip.cerr=verify_area(VERIFY_WRITE, optval, len);
len2399net/ipv4/ip.cput_user(len,(int *) optlen);
len2400net/ipv4/ip.cmemcpy_tofs((void *)optval,sk->ip_mc_name, len);
len599net/ipv4/ip_fw.cwhile (skb->len - ((unsigned char *)data - skb->h.raw) > 18)
len688net/ipv4/ip_fw.cprintk("MASQUERADE: resizing needed for %d bytes (%ld)\n",ftp->delta, skb->len);
len692net/ipv4/ip_fw.cskb2 = alloc_skb(MAX_HEADER + skb->len+ftp->delta, GFP_ATOMIC);
len699net/ipv4/ip_fw.cskb_put(skb2,skb->len + ftp->delta);
len711net/ipv4/ip_fw.cskb->len - (data-(char *)skb->data));
len725net/ipv4/ip_fw.cunsigned long daddr, int len)
len728net/ipv4/ip_fw.cuh->check=csum_tcpudp_magic(saddr,daddr,len,
len729net/ipv4/ip_fw.cIPPROTO_UDP, csum_partial((char *)uh,len,0));
len797net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr - skb->h.raw);
len819net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr-skb->h.raw);
len890net/ipv4/ip_fw.cint size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw);
len1217net/ipv4/ip_fw.cstruct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len)
len1220net/ipv4/ip_fw.cif ( len != sizeof(struct ip_fw) )
len1223net/ipv4/ip_fw.cprintk("ip_fw_ctl: len=%d, want %d\n",len, sizeof(struct ip_fw));
len1280net/ipv4/ip_fw.cint ip_acct_ctl(int stage, void *m, int len)
len1298net/ipv4/ip_fw.cif (!(frwl=check_ipfw_struct(m,len)))
len1325net/ipv4/ip_fw.cint ip_fw_ctl(int stage, void *m, int len)
len1370net/ipv4/ip_fw.cif ( len < sizeof(struct ip_fwpkt) )
len1374net/ipv4/ip_fw.clen, sizeof(struct ip_fwpkt));
len1416net/ipv4/ip_fw.cfrwl=check_ipfw_struct(m,len);
len1456net/ipv4/ip_fw.cint len, p;
len1464net/ipv4/ip_fw.clen=sprintf(buffer, "IP firewall block rules, default %d\n",
len1469net/ipv4/ip_fw.clen=sprintf(buffer, "IP firewall forward rules, default %d\n",
len1476net/ipv4/ip_fw.clen=sprintf(buffer,"IP accounting rules\n");
len1482net/ipv4/ip_fw.clen=0;
len1491net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ",
len1495net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%u %u %-9lu %-9lu",
len1498net/ipv4/ip_fw.clen+=sprintf(buffer+len, " %u", i->fw_pts[p]);
len1499net/ipv4/ip_fw.cbuffer[len++]='\n';
len1500net/ipv4/ip_fw.cbuffer[len]='\0';
len1501net/ipv4/ip_fw.cpos=begin+len;
len1504net/ipv4/ip_fw.clen=0;
len1519net/ipv4/ip_fw.clen-=(offset-begin);
len1520net/ipv4/ip_fw.cif(len>length)
len1521net/ipv4/ip_fw.clen=length;  
len1522net/ipv4/ip_fw.creturn len;
len1562net/ipv4/ip_fw.cint len=0;
len1564net/ipv4/ip_fw.clen=sprintf(buffer,"Prc FromIP   FPrt ToIP     TPrt Masq Init-seq Delta Expires\n"); 
len1574net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%s %08lX:%04X %08lX:%04X %04X %08X %5d %lu\n",
len1583net/ipv4/ip_fw.cpos=begin+len;
len1586net/ipv4/ip_fw.clen=0;
len1595net/ipv4/ip_fw.clen-=(offset-begin);
len1596net/ipv4/ip_fw.cif(len>length)
len1597net/ipv4/ip_fw.clen=length;
len1598net/ipv4/ip_fw.creturn len;
len64net/ipv4/ipip.c__u32 daddr, unsigned short len, __u32 saddr,
len127net/ipv4/packet.csk->data_ready(sk,skb->len);
len144net/ipv4/packet.cstatic int packet_sendto(struct sock *sk, const unsigned char *from, int len,
len187net/ipv4/packet.cif(len>dev->mtu+dev->hard_header_len)
len190net/ipv4/packet.cskb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL);
len208net/ipv4/packet.cmemcpy_fromfs(skb_put(skb,len), from, len);
len219net/ipv4/packet.creturn(len);
len228net/ipv4/packet.cint len, int noblock,  unsigned flags)
len230net/ipv4/packet.creturn(packet_sendto(sk, buff, len, noblock, flags, NULL, 0));
len287net/ipv4/packet.cint packet_recvfrom(struct sock *sk, unsigned char *to, int len,
len331net/ipv4/packet.ccopied = min(len, skb->len);
len368net/ipv4/packet.cint len, int noblock, unsigned flags)
len370net/ipv4/packet.creturn(packet_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len70net/ipv4/proc.cint len=0;
len75net/ipv4/proc.clen += sprintf(buffer, "sl  local_address rem_address   st tx_queue rx_queue tr tm->when uid\n");
len112net/ipv4/proc.clen += sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d %d\n",
len127net/ipv4/proc.cpos=begin+len;
len130net/ipv4/proc.clen=0;
len144net/ipv4/proc.clen-=(offset-begin);
len145net/ipv4/proc.cif(len>length)
len146net/ipv4/proc.clen=length;
len147net/ipv4/proc.creturn len;
len178net/ipv4/proc.cint len  = socket_get_info(buffer,start,offset,length);
len180net/ipv4/proc.clen += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE);
len181net/ipv4/proc.clen += sprintf(buffer+len,"TCP: inuse %d highest %d\n",
len183net/ipv4/proc.clen += sprintf(buffer+len,"UDP: inuse %d highest %d\n",
len185net/ipv4/proc.clen += sprintf(buffer+len,"RAW: inuse %d highest %d\n",
len187net/ipv4/proc.clen += sprintf(buffer+len,"PAC: inuse %d highest %d\n",
len190net/ipv4/proc.clen -= offset;
len191net/ipv4/proc.cif (len > length)
len192net/ipv4/proc.clen = length;
len193net/ipv4/proc.creturn len;
len205net/ipv4/proc.cint len;
len210net/ipv4/proc.clen = sprintf (buffer,
len224net/ipv4/proc.clen += sprintf (buffer + len,
len241net/ipv4/proc.clen += sprintf (buffer + len,
len251net/ipv4/proc.clen += sprintf (buffer + len,
len261net/ipv4/proc.cif (offset >= len)
len267net/ipv4/proc.clen -= offset;
len268net/ipv4/proc.cif (len > length)
len269net/ipv4/proc.clen = length;
len270net/ipv4/proc.creturn len;
len484net/ipv4/rarp.cint len=0;
len495net/ipv4/rarp.clen+=size;
len502net/ipv4/rarp.clen+=size;
len514net/ipv4/rarp.csize = sprintf(buffer+len,
len525net/ipv4/rarp.clen+=size;
len526net/ipv4/rarp.cpos=begin+len;
len530net/ipv4/rarp.clen=0;
len540net/ipv4/rarp.clen   -= (offset-begin);  /* Start slop */
len541net/ipv4/rarp.cif (len>length)
len542net/ipv4/rarp.clen = length;    /* Ending slop */
len543net/ipv4/rarp.creturn len;
len179net/ipv4/raw.cint len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len)
len223net/ipv4/raw.cerr=ip_build_xmit(sk, raw_getrawfrag, from, len, sin.sin_addr.s_addr, flags, sin.sin_port);
len225net/ipv4/raw.cerr=ip_build_xmit(sk, raw_getfrag, from, len, sin.sin_addr.s_addr, flags, sin.sin_port);
len226net/ipv4/raw.creturn err<0?err:len;
len230net/ipv4/raw.cstatic int raw_write(struct sock *sk, const unsigned char *buff, int len, int noblock,
len233net/ipv4/raw.creturn(raw_sendto(sk, buff, len, noblock, flags, NULL, 0));
len261net/ipv4/raw.cint raw_recvfrom(struct sock *sk, unsigned char *to, int len,
len282net/ipv4/raw.ccopied = min(len, skb->len);
len299net/ipv4/raw.cint raw_read (struct sock *sk, unsigned char *buff, int len, int noblock,unsigned flags)
len301net/ipv4/raw.creturn(raw_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len559net/ipv4/route.cint len=0;
len564net/ipv4/route.clen += sprintf(buffer,
len566net/ipv4/route.cpos=len;
len574net/ipv4/route.csize = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\t%u\n",
len578net/ipv4/route.clen+=size;
len582net/ipv4/route.clen=0;
len590net/ipv4/route.clen-=(offset-begin);
len591net/ipv4/route.cif(len>length)
len592net/ipv4/route.clen=length;
len593net/ipv4/route.creturn len;
len703net/ipv4/tcp.cif(dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, skb->len)<0)
len1127net/ipv4/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
len1301net/ipv4/tcp.cunsigned short tcp_check(struct tcphdr *th, int len,
len1304net/ipv4/tcp.creturn csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base);
len1310net/ipv4/tcp.cunsigned long daddr, int len, struct sock *sk)
len1313net/ipv4/tcp.cth->check = tcp_check(th, len, saddr, daddr,
len1314net/ipv4/tcp.ccsum_partial((char *)th,len,0));
len1332net/ipv4/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
len1338net/ipv4/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
len1341net/ipv4/tcp.cskb, skb->data, th, skb->len);
len1646net/ipv4/tcp.cint len, int nonblock, unsigned flags)
len1658net/ipv4/tcp.cwhile(len > 0) 
len1774net/ipv4/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), len);
len1785net/ipv4/tcp.clen -= copy;
len1788net/ipv4/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
len1811net/ipv4/tcp.cif (copy > len)
len1812net/ipv4/tcp.ccopy = len;
len1908net/ipv4/tcp.ctmp = tcp_build_header(skb->h.th, sk, len-copy);
len1928net/ipv4/tcp.clen -= copy;
len1967net/ipv4/tcp.cint len, int nonblock, unsigned flags,
len1982net/ipv4/tcp.creturn tcp_write(sk, from, len, nonblock, flags);
len2162net/ipv4/tcp.cunsigned char *to, int len, unsigned flags)
len2219net/ipv4/tcp.cint len, int nonblock, unsigned flags)
len2239net/ipv4/tcp.creturn tcp_read_urg(sk, nonblock, to, len, flags);
len2254net/ipv4/tcp.cwhile (len > 0) 
len2282net/ipv4/tcp.cif (offset < skb->len)
len2353net/ipv4/tcp.cused = skb->len - offset;
len2354net/ipv4/tcp.cif (len < used)
len2355net/ipv4/tcp.cused = len;
len2395net/ipv4/tcp.clen -= used;
len2408net/ipv4/tcp.cif (used + offset < skb->len)
len3273net/ipv4/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
len3302net/ipv4/tcp.cextern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
len3378net/ipv4/tcp.cif (len != th->doff*4) 
len3907net/ipv4/tcp.csk->fin_seq = th->seq + skb->len + th->syn + th->fin;
len3993net/ipv4/tcp.cunsigned long saddr, unsigned short len)
len4002net/ipv4/tcp.cskb_trim(skb,len-(th->doff*4));
len4009net/ipv4/tcp.csk->bytes_rcv += skb->len;
len4011net/ipv4/tcp.cif (skb->len == 0 && !th->fin) 
len4038net/ipv4/tcp.cif(skb->len)  /* We don't care if it's just an ack or
len4041net/ipv4/tcp.cnew_seq= th->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
len4117net/ipv4/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
len4152net/ipv4/tcp.cth->ack_seq = th->seq + skb->len;
len4352net/ipv4/tcp.cunsigned long saddr, unsigned long len)
len4375net/ipv4/tcp.cif (ptr >= len)
len4611net/ipv4/tcp.cextern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len,
len4616net/ipv4/tcp.cnext_seq = len - 4*th->doff;
len4701net/ipv4/tcp.c__u32 daddr, unsigned short len,
len4755net/ipv4/tcp.c(skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))||
len4756net/ipv4/tcp.c(!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0)))
len4906net/ipv4/tcp.cif(!tcp_ack(sk,th,saddr,len))
len5025net/ipv4/tcp.cif(!tcp_sequence(sk,th,len,opt,saddr,dev))
len5050net/ipv4/tcp.cif(th->ack && !tcp_ack(sk,th,saddr,len))
len5071net/ipv4/tcp.cif(tcp_urg(sk, th, saddr, len))
len5083net/ipv4/tcp.cif(tcp_data(skb,sk, saddr, len))
len5234net/ipv4/tcp.cow_size = skb->len - win_size - 
len5238net/ipv4/tcp.cskb_trim(skb,skb->len-win_size);
len66net/ipv4/timer.cvoid reset_timer (struct sock *t, int timeout, unsigned long len)
len72net/ipv4/timer.cif ((int) len < 0)  /* prevent close to infinite timers. THEY _DO_ */
len73net/ipv4/timer.clen = 3;  /* happen (negative values ?) - don't ask me why ! -FB */
len75net/ipv4/timer.ct->timer.expires = jiffies+len;
len137net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len);
len204net/ipv4/udp.cstatic unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base)
len206net/ipv4/udp.creturn(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base));
len229net/ipv4/udp.cunsigned int len;
len233net/ipv4/udp.clen = fraglen;
len239net/ipv4/udp.clen = fraglen-sizeof(struct udphdr);
len243net/ipv4/udp.cufh->wcheck = csum_partial_copy_fromuser(src, dst, len, ufh->wcheck);
len249net/ipv4/udp.cntohs(ufh->uh.len),
len269net/ipv4/udp.cunsigned int len;
len273net/ipv4/udp.clen = fraglen;
len279net/ipv4/udp.clen = fraglen-sizeof(struct udphdr);
len283net/ipv4/udp.cmemcpy_fromfs(dst,src,len);
len294net/ipv4/udp.cconst unsigned char *from, int len, int rt) 
len296net/ipv4/udp.cint ulen = len + sizeof(struct udphdr);
len302net/ipv4/udp.cufh.uh.len = htons(ulen);
len328net/ipv4/udp.creturn len;
len332net/ipv4/udp.cstatic int udp_sendto(struct sock *sk, const unsigned char *from, int len, int noblock,
len390net/ipv4/udp.ctmp = udp_send(sk, usin, from, len, flags);
len401net/ipv4/udp.cstatic int udp_write(struct sock *sk, const unsigned char *buff, int len, int noblock,
len404net/ipv4/udp.creturn(udp_sendto(sk, buff, len, noblock, flags, NULL, 0));
len445net/ipv4/udp.camount = skb->len;
len467net/ipv4/udp.cint udp_recvfrom(struct sock *sk, unsigned char *to, int len,
len492net/ipv4/udp.ctruesize = skb->len - sizeof(struct udphdr);
len493net/ipv4/udp.ccopied = min(len, truesize);
len519net/ipv4/udp.cint udp_read(struct sock *sk, unsigned char *buff, int len, int noblock,
len522net/ipv4/udp.creturn(udp_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len573net/ipv4/udp.c__u32 daddr, unsigned short len,
len596net/ipv4/udp.culen = ntohs(uh->len);
len598net/ipv4/udp.cif (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) 
len600net/ipv4/udp.cNETDEBUG(printk("UDP: short packet: %d/%d\n", ulen, len));
len614net/ipv4/udp.c( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) ||
len615net/ipv4/udp.c( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0)))
len635net/ipv4/udp.clen=ulen;
len658net/ipv4/udp.cudp_deliver(sk, uh, skb1, dev,saddr,daddr,len);
len695net/ipv4/udp.creturn udp_deliver(sk,uh,skb,dev, saddr, daddr, len);
len698net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len)
len702net/ipv4/udp.cskb_trim(skb,len);
len436net/ipx/af_ipx.cint  len;
len450net/ipx/af_ipx.cmemmove(skb->h.raw, oldraw, skb->len);
len451net/ipx/af_ipx.cskb->len += out_offset;
len458net/ipx/af_ipx.clen = skb->len + out_offset;
len459net/ipx/af_ipx.cskb2 = alloc_skb(len, GFP_ATOMIC);
len462net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
len465net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
len992net/ipx/af_ipx.cipxrtr_route_packet(ipx_socket *sk, struct sockaddr_ipx *usipx, const void *ubuf, int len)
len1014net/ipx/af_ipx.csize=sizeof(ipx_packet)+len;
len1030net/ipx/af_ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
len1042net/ipx/af_ipx.cmemcpy_fromfs(skb_put(skb,len),ubuf,len);
len1133net/ipx/af_ipx.cint len=0;
len1139net/ipx/af_ipx.clen += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", 
len1142net/ipx/af_ipx.clen += sprintf(buffer+len, "%08lX   ", ntohl(i->if_netnum));
len1143net/ipx/af_ipx.clen += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X   ", 
len1146net/ipx/af_ipx.clen += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ?
len1148net/ipx/af_ipx.clen += sprintf (buffer+len, "%-11s", ipx_device_name(i));
len1149net/ipx/af_ipx.clen += sprintf (buffer+len, "%s\n", 
len1153net/ipx/af_ipx.cpos=begin+len;
len1156net/ipx/af_ipx.clen=0;      /* Keep dumping into the buffer start */
len1165net/ipx/af_ipx.clen-=(offset-begin);    /* Remove unwanted header data from length */
len1166net/ipx/af_ipx.cif(len>length)
len1167net/ipx/af_ipx.clen=length;    /* Remove unwanted tail data from length */
len1169net/ipx/af_ipx.creturn len;
len1177net/ipx/af_ipx.cint len=0;
len1183net/ipx/af_ipx.clen += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", 
len1188net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX:%04X  ", 
len1192net/ipx/af_ipx.clen += sprintf(buffer+len, "%-28s", "Not_Connected");
len1194net/ipx/af_ipx.clen += sprintf (buffer+len,
len1202net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX  %08lX  ", 
len1204net/ipx/af_ipx.clen += sprintf (buffer+len,"%02X     %03d\n", 
len1208net/ipx/af_ipx.cpos=begin+len;
len1212net/ipx/af_ipx.clen=0;      /* Keep dumping into the buffer start */
len1222net/ipx/af_ipx.clen-=(offset-begin);    /* Remove unwanted header data from length */
len1223net/ipx/af_ipx.cif(len>length)
len1224net/ipx/af_ipx.clen=length;    /* Remove unwanted tail data from length */
len1226net/ipx/af_ipx.creturn len;
len1233net/ipx/af_ipx.cint len=0;
len1237net/ipx/af_ipx.clen += sprintf (buffer,"%-11s%-13s%s\n", 
len1241net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX   ", ntohl(rt->ir_net));
len1243net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX     %02X%02X%02X%02X%02X%02X\n", 
len1249net/ipx/af_ipx.clen += sprintf (buffer+len, "%-13s%s\n",
len1252net/ipx/af_ipx.cpos=begin+len;
len1255net/ipx/af_ipx.clen=0;
len1262net/ipx/af_ipx.clen-=(offset-begin);
len1263net/ipx/af_ipx.cif(len>length)
len1264net/ipx/af_ipx.clen=length;
len1265net/ipx/af_ipx.creturn len;
len1368net/ipx/af_ipx.cstatic void def_callback2(struct sock *sk, int len)
len1601net/ipx/af_ipx.cvoid dump_data(char *str,unsigned char *d, int len) {
len1605net/ipx/af_ipx.cfor (l=0;len > 0 && l<16;l++) {
len1607net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len) {
len1608net/ipx/af_ipx.cif (len > 0) {
len1620net/ipx/af_ipx.clen += 8;
len1621net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len)
len1622net/ipx/af_ipx.cif (len > 0)
len1647net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
len1649net/ipx/af_ipx.cif (len > 30)
len1650net/ipx/af_ipx.cdump_data(str,(unsigned char *)p + 30, len - 30);
len1694net/ipx/af_ipx.cstatic int ipx_sendto(struct socket *sock, const void *ubuf, int len, int noblock,
len1731net/ipx/af_ipx.cretval = ipxrtr_route_packet(sk, usipx, ubuf, len);
len1734net/ipx/af_ipx.creturn len;
len1842net/ipx/af_ipx.camount=skb->len;
len412net/netrom/af_netrom.cstatic void def_callback2(struct sock *sk, int len)
len949net/netrom/af_netrom.cif ((frametype & 0x0F) == NR_CONNACK && skb->len == 22)
len991net/netrom/af_netrom.cif (skb->len == 37) {
len1018net/netrom/af_netrom.csk->data_ready(sk, skb->len);
len1023net/netrom/af_netrom.cstatic int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
len1070net/netrom/af_netrom.csize = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 3 + NR_NETWORK_LEN + NR_TRANSPORT_LEN;
len1079net/netrom/af_netrom.cskb_reserve(skb, size - len);
len1105net/netrom/af_netrom.cskb->h.raw = skb_put(skb, len);
len1113net/netrom/af_netrom.cmemcpy_fromiovec(asmptr, msg->msg_iov, len);
len1125net/netrom/af_netrom.creturn len;
len1189net/netrom/af_netrom.ccopied = (size < skb->len) ? size : skb->len;
len1275net/netrom/af_netrom.camount = skb->len - 20;
len1347net/netrom/af_netrom.cint len = 0;
len1353net/netrom/af_netrom.clen += sprintf(buffer, "user_addr dest_node src_node  dev    my  your  st vs vr va    t1     t2    n2  rtt wnd Snd-Q Rcv-Q\n");
len1361net/netrom/af_netrom.clen += sprintf(buffer + len, "%-9s ",
len1363net/netrom/af_netrom.clen += sprintf(buffer + len, "%-9s ",
len1365net/netrom/af_netrom.clen += sprintf(buffer + len, "%-9s %-3s  %02X/%02X %02X/%02X %2d %2d %2d %2d %3d/%03d %2d/%02d %2d/%02d %3d %3d %5ld %5ld\n",
len1380net/netrom/af_netrom.cpos = begin + len;
len1383net/netrom/af_netrom.clen   = 0;
len1394net/netrom/af_netrom.clen   -= (offset - begin);
len1396net/netrom/af_netrom.cif (len > length) len = length;
len1398net/netrom/af_netrom.creturn(len);
len76net/netrom/nr_dev.cvoid *daddr, void *saddr, unsigned len)
len56net/netrom/nr_in.csk->nr->fraglen += skb->len;
len62net/netrom/nr_in.csk->nr->fraglen += skb->len;
len75net/netrom/nr_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len80net/netrom/nr_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len52net/netrom/nr_out.cint err, frontlen, len, mtu;
len56net/netrom/nr_out.cif (skb->len - NR_TRANSPORT_LEN > mtu) {
len63net/netrom/nr_out.cwhile (skb->len > 0) {
len73net/netrom/nr_out.clen = (mtu > skb->len) ? skb->len : mtu;
len76net/netrom/nr_out.cmemcpy(skb_put(skbn, len), skb->data, len);
len77net/netrom/nr_out.cskb_pull(skb, len);
len83net/netrom/nr_out.cif (skb->len > 0)
len700net/netrom/nr_route.cint len     = 0;
len707net/netrom/nr_route.clen += sprintf(buffer, "callsign  mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n");
len710net/netrom/nr_route.clen += sprintf(buffer + len, "%-9s %-7s  %d %d",
len717net/netrom/nr_route.clen += sprintf(buffer + len, "  %3d   %d %05d",
len723net/netrom/nr_route.clen += sprintf(buffer + len, "\n");
len725net/netrom/nr_route.cpos = begin + len;
len728net/netrom/nr_route.clen   = 0;
len739net/netrom/nr_route.clen   -= (offset - begin);
len741net/netrom/nr_route.cif (len > length) len = length;
len743net/netrom/nr_route.creturn(len);
len750net/netrom/nr_route.cint len     = 0;
len756net/netrom/nr_route.clen += sprintf(buffer, "addr  callsign  dev  qual lock count\n");
len759net/netrom/nr_route.clen += sprintf(buffer + len, "%05d %-9s %-4s  %3d    %d   %3d\n",
len767net/netrom/nr_route.cpos = begin + len;
len770net/netrom/nr_route.clen   = 0;
len781net/netrom/nr_route.clen   -= (offset - begin);
len783net/netrom/nr_route.cif (len > length) len = length;
len785net/netrom/nr_route.creturn(len);
len157net/netrom/nr_subr.cint len, timeout;
len159net/netrom/nr_subr.clen = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 3 + NR_NETWORK_LEN + NR_TRANSPORT_LEN;
len163net/netrom/nr_subr.clen += 17;
len166net/netrom/nr_subr.clen += (sk->nr->bpqext) ? 2 : 1;
len177net/netrom/nr_subr.cif ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
len252net/netrom/nr_subr.cint len;
len254net/netrom/nr_subr.clen = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 3 + NR_NETWORK_LEN + NR_TRANSPORT_LEN + 1;
len256net/netrom/nr_subr.cif ((skbn = alloc_skb(len, GFP_ATOMIC)) == NULL)
len135net/socket.cint len;
len140net/socket.clen=get_user(ulen);
len141net/socket.cif(len>klen)
len142net/socket.clen=klen;
len143net/socket.cif(len<0 || len> MAX_SOCK_ADDR)
len145net/socket.cif(len)
len147net/socket.cif((err=verify_area(VERIFY_WRITE,uaddr,len))<0)
len149net/socket.cmemcpy_tofs(uaddr,kaddr,len);
len151net/socket.cput_user(len,ulen);
len683net/socket.cint len;
len727net/socket.cnewsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1);
len728net/socket.cmove_addr_to_user(address,len, upeer_sockaddr, upeer_addrlen);
len794net/socket.cint len;
len802net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
len805net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len819net/socket.cint len;
len827net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
len830net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len840net/socket.casmlinkage int sys_send(int fd, void * buff, int len, unsigned flags)
len851net/socket.cif(len<0)
len853net/socket.cerr=verify_area(VERIFY_READ, buff, len);
len856net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
len865net/socket.casmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags,
len878net/socket.cif(len<0)
len880net/socket.cerr=verify_area(VERIFY_READ,buff,len);
len887net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
len900net/socket.casmlinkage int sys_recv(int fd, void * buff, int len, unsigned flags)
len912net/socket.cif(len<0)
len914net/socket.cif(len==0)
len916net/socket.cerr=verify_area(VERIFY_WRITE, buff, len);
len920net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
len929net/socket.casmlinkage int sys_recvfrom(int fd, void * buff, int len, unsigned flags,
len941net/socket.cif(len<0)
len943net/socket.cif(len==0)
len946net/socket.cerr=verify_area(VERIFY_WRITE,buff,len);
len950net/socket.clen=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
len953net/socket.cif(len<0)
len954net/socket.creturn len;
len958net/socket.creturn len;
len1066net/socket.cint len;
len1086net/socket.clen=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len);
len1087net/socket.cif(len<0)
len1088net/socket.creturn len;
len1094net/socket.creturn len;
len1320net/socket.cint len = sprintf(buffer, "sockets: used %d\n", sockets_in_use);
len1321net/socket.cif (offset >= len)
len1327net/socket.clen -= offset;
len1328net/socket.cif (len > length)
len1329net/socket.clen = length;
len1330net/socket.creturn len;
len56net/unix/af_unix.cstatic inline void unix_mkname(struct sockaddr_un * sun, unsigned long len)
len58net/unix/af_unix.cif (len >= sizeof(*sun))
len59net/unix/af_unix.clen = sizeof(*sun)-1;
len60net/unix/af_unix.c((char *)sun)[len]=0;
len238net/unix/af_unix.cstatic void def_callback2(struct sock *sk, int len)
len654net/unix/af_unix.cstatic int unix_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
len693net/unix/af_unix.cwhile(sent < len)
len700net/unix/af_unix.csize=len-sent;
len787net/unix/af_unix.cint len;
len812net/unix/af_unix.clen=iov->iov_len;
len815net/unix/af_unix.cwhile(done<len)
len869net/unix/af_unix.cnum=min(skb->len,size-copied);
len882net/unix/af_unix.cif(skb->len==0)
len956net/unix/af_unix.camount=skb->len;
len973net/unix/af_unix.cint len=0;
len976net/unix/af_unix.clen+= sprintf(buffer,"Num       RefCount Protocol Flags    Type St Path\n");
len980net/unix/af_unix.clen+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X",
len988net/unix/af_unix.clen+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name);
len990net/unix/af_unix.cbuffer[len++]='\n';
len992net/unix/af_unix.cpos=begin+len;
len995net/unix/af_unix.clen=0;
len1003net/unix/af_unix.clen-=(offset-begin);
len1004net/unix/af_unix.cif(len>length)
len1005net/unix/af_unix.clen=length;
len1006net/unix/af_unix.creturn len;