taglinefilesource code
len130arch/alpha/kernel/irq.cint i, len = 0;
len136arch/alpha/kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len141arch/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));
len177arch/i386/kernel/irq.cint i, len = 0;
len183arch/i386/kernel/irq.clen += sprintf(buf+len, "%3d: %8d %c %s\n",
len192arch/i386/kernel/irq.clen+=sprintf(buf+len, "IPI: %8lu received\n",
len194arch/i386/kernel/irq.clen+=sprintf(buf+len, "LCK: %8lu spins\n",
len197arch/i386/kernel/irq.creturn len;
len86arch/i386/kernel/setup.cint len = 0;
len138arch/i386/kernel/setup.cif (COMMAND_LINE_SIZE <= ++len)
len71arch/i386/kernel/smp.cstatic int mpf_checksum(unsigned char *mp, int len)
len74arch/i386/kernel/smp.cwhile(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;
len505drivers/block/ide-cd.cint len;
len539drivers/block/ide-cd.clen = sizeof (*reqbuf) / 4;
len540drivers/block/ide-cd.clen *= 4;
len543drivers/block/ide-cd.cpc->c[4] = len;
len545drivers/block/ide-cd.cpc->buflen = len;
len898drivers/block/ide-cd.cint cdrom_read_check_ireason (ide_drive_t *drive, int len, int ireason)
len912drivers/block/ide-cd.cwhile (len > 0)
len916drivers/block/ide-cd.clen -= sizeof (dum);
len939drivers/block/ide-cd.cint ireason, len, sectors_to_transfer, nskip;
len948drivers/block/ide-cd.clen = IN_BYTE (IDE_LCYL_REG) + 256 * IN_BYTE (IDE_HCYL_REG);
len969drivers/block/ide-cd.cif (cdrom_read_check_ireason (drive, len, ireason)) return;
len973drivers/block/ide-cd.cif ((len % SECTOR_SIZE) != 0)
len976drivers/block/ide-cd.cdrive->name, len);
len984drivers/block/ide-cd.csectors_to_transfer = len / SECTOR_SIZE;
len1222drivers/block/ide-cd.cint ireason, len, stat, thislen;
len1231drivers/block/ide-cd.clen = IN_BYTE (IDE_LCYL_REG) + 256 * IN_BYTE (IDE_HCYL_REG);
len1262drivers/block/ide-cd.cif (thislen > len) thislen = len;
len1281drivers/block/ide-cd.cwhile (len > thislen)
len1285drivers/block/ide-cd.clen -= sizeof (dum);
len1310drivers/block/ide-cd.cwhile (len > thislen)
len1314drivers/block/ide-cd.clen -= sizeof (dum);
len1346drivers/block/ide-cd.cint len;
len1350drivers/block/ide-cd.clen = pc->buflen;
len1351drivers/block/ide-cd.cif (len < 0) len = -len;
len1356drivers/block/ide-cd.ccdrom_start_packet_command (drive, len, cdrom_do_pc_continuation);
len2450drivers/block/ide-cd.cint len, lena;
len2459drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (len));
len2461drivers/block/ide-cd.cmemcpy_fromfs (&len, (void *) arg , sizeof (len));
len2462drivers/block/ide-cd.carg += sizeof (len);
len2464drivers/block/ide-cd.cif (len > 0) {
len2465drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, len);
len2469drivers/block/ide-cd.clena = len;
len2474drivers/block/ide-cd.cif (len > 0) {
len2475drivers/block/ide-cd.cpc.buflen = len;
len2481drivers/block/ide-cd.cif (len > 0)
len2482drivers/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);
len319drivers/cdrom/sjcd.cstatic int sjcd_load_response( void *buf, int len ){
len322drivers/cdrom/sjcd.cfor( ; len; --len ){ 
len328drivers/cdrom/sjcd.creturn( len );
len579drivers/char/istallion.cstatic void  *stli_memalloc(int len);
len613drivers/char/istallion.cstatic void  stli_delay(int len);
len807drivers/char/istallion.cstatic void *stli_memalloc(int len)
len809drivers/char/istallion.creturn (void *) kmalloc(len, GFP_KERNEL);
len1301drivers/char/istallion.cstatic void stli_delay(int len)
len1304drivers/char/istallion.cprintk("stl_delay(len=%d)\n", len);
len1306drivers/char/istallion.cif (len > 0) {
len1308drivers/char/istallion.ccurrent->timeout = jiffies + len;
len1387drivers/char/istallion.cunsigned int    len, stlen, head, tail, size;
len1426drivers/char/istallion.clen = (head >= tail) ? (portp->txsize - (head - tail) - 1) : (tail - head - 1);
len1427drivers/char/istallion.ccount = MIN(len, count);
len1450drivers/char/istallion.clen = size - (head - tail) - 1;
len1453drivers/char/istallion.clen = tail - head - 1;
len1454drivers/char/istallion.cstlen = len;
len1457drivers/char/istallion.clen = MIN(len, count);
len1461drivers/char/istallion.cwhile (len > 0) {
len1462drivers/char/istallion.cstlen = MIN(len, stlen);
len1465drivers/char/istallion.clen -= stlen;
len1537drivers/char/istallion.cunsigned int    len, stlen, head, tail, size, count, cooksize;
len1578drivers/char/istallion.clen = size - (head - tail) - 1;
len1581drivers/char/istallion.clen = tail - head - 1;
len1582drivers/char/istallion.cstlen = len;
len1585drivers/char/istallion.clen = MIN(len, cooksize);
len1590drivers/char/istallion.cwhile (len > 0) {
len1591drivers/char/istallion.cstlen = MIN(len, stlen);
len1594drivers/char/istallion.clen -= stlen;
len1627drivers/char/istallion.cunsigned int    head, tail, len;
len1638drivers/char/istallion.clen = stli_txcookrealsize - stli_txcooksize;
len1639drivers/char/istallion.creturn(len);
len1658drivers/char/istallion.clen = (head >= tail) ? (portp->txsize - (head - tail)) : (tail - head);
len1659drivers/char/istallion.clen--;
len1664drivers/char/istallion.cstli_txcookrealsize = len;
len1665drivers/char/istallion.clen -= stli_txcooksize;
len1667drivers/char/istallion.creturn(len);
len1685drivers/char/istallion.cunsigned int    head, tail, len;
len1711drivers/char/istallion.clen = (head >= tail) ? (head - tail) : (portp->txsize - (tail - head));
len1712drivers/char/istallion.cif ((len == 0) && test_bit(ST_TXBUSY, &portp->state))
len1713drivers/char/istallion.clen = 1;
len1717drivers/char/istallion.creturn(len);
len2249drivers/char/istallion.cunsigned int    len, stlen;
len2268drivers/char/istallion.clen = head - tail;
len2269drivers/char/istallion.cstlen = len;
len2271drivers/char/istallion.clen = size - (tail - head);
len2275drivers/char/istallion.clen = MIN(len, (TTY_FLIPBUF_SIZE - tty->flip.count));
len2278drivers/char/istallion.cwhile (len > 0) {
len2279drivers/char/istallion.cstlen = MIN(len, stlen);
len2286drivers/char/istallion.clen -= stlen;
len455drivers/char/stallion.cstatic void  *stl_memalloc(int len);
len492drivers/char/stallion.cstatic void  stl_sendbreak(stlport_t *portp, long len);
len494drivers/char/stallion.cstatic void  stl_delay(int len);
len614drivers/char/stallion.cstatic void *stl_memalloc(int len)
len616drivers/char/stallion.creturn (void *) kmalloc(len, GFP_KERNEL);
len875drivers/char/stallion.cstatic void stl_delay(int len)
len878drivers/char/stallion.cprintk("stl_delay(len=%d)\n", len);
len880drivers/char/stallion.cif (len > 0) {
len882drivers/char/stallion.ccurrent->timeout = jiffies + len;
len897drivers/char/stallion.cunsigned int  len, stlen;
len924drivers/char/stallion.clen = (head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) :
len926drivers/char/stallion.ccount = MIN(len, count);
len940drivers/char/stallion.clen = STL_TXBUFSIZE - (head - tail) - 1;
len943drivers/char/stallion.clen = tail - head - 1;
len944drivers/char/stallion.cstlen = len;
len947drivers/char/stallion.clen = MIN(len, count);
len949drivers/char/stallion.cwhile (len > 0) {
len950drivers/char/stallion.cstlen = MIN(len, stlen);
len952drivers/char/stallion.clen -= stlen;
len974drivers/char/stallion.cunsigned int  len;
len992drivers/char/stallion.clen = (head >= tail) ? (STL_TXBUFSIZE - (head - tail)) : (tail - head);
len993drivers/char/stallion.clen--;
len995drivers/char/stallion.cif (len > 0) {
len1536drivers/char/stallion.cint    len, stlen;
len1577drivers/char/stallion.clen = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head));
len1578drivers/char/stallion.cif ((len == 0) || ((len < STL_TXBUFLOW) && (test_bit(ASYI_TXLOW, &portp->istate) == 0))) {
len1583drivers/char/stallion.cif (len == 0) {
len1594drivers/char/stallion.clen = MIN(len, CD1400_TXFIFOSIZE);
len1595drivers/char/stallion.cstlen = MIN(len, ((portp->tx.buf + STL_TXBUFSIZE) - tail));
len1598drivers/char/stallion.clen -= stlen;
len1602drivers/char/stallion.cif (len > 0) {
len1603drivers/char/stallion.coutsb((ioaddr + EREG_DATA), tail, len);
len1604drivers/char/stallion.ctail += len;
len1630drivers/char/stallion.cunsigned int    ioack, len, buflen;
len1649drivers/char/stallion.clen = inb(ioaddr + EREG_DATA);
len1653drivers/char/stallion.cinsb((ioaddr + EREG_DATA), &unwanted[0], len);
len1655drivers/char/stallion.clen = MIN(len, buflen);
len1656drivers/char/stallion.cif (len > 0) {
len1658drivers/char/stallion.cinsb((ioaddr + EREG_DATA), tty->flip.char_buf_ptr, len);
len1659drivers/char/stallion.cmemset(tty->flip.flag_buf_ptr, 0, len);
len1660drivers/char/stallion.ctty->flip.flag_buf_ptr += len;
len1661drivers/char/stallion.ctty->flip.char_buf_ptr += len;
len1662drivers/char/stallion.ctty->flip.count += len;
len2329drivers/char/stallion.cstatic void stl_sendbreak(stlport_t *portp, long len)
len2334drivers/char/stallion.cprintk("stl_sendbreak(portp=%x,len=%d)\n", (int) portp, (int) len);
len2344drivers/char/stallion.clen = len / 5;
len2345drivers/char/stallion.cportp->brklen = (len > 255) ? 255 : len;
len369drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len393drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);  /* load buffer (usual thing each byte increments the pointer) */
len74drivers/net/3c505.c#define INVALID_PCB_MSG(len) \
len75drivers/net/3c505.cprintk(invalid_pcb_msg, (len),filename,__FUNCTION__,__LINE__)
len551drivers/net/3c505.creceive_packet (struct device * dev, int len)
len563drivers/net/3c505.cif (len <= 0 || ((len & ~1) != len))
len566drivers/net/3c505.cprintk("*** bad packet len %d at %s(%d)\n",len,filename,__LINE__);
len570drivers/net/3c505.crlen = (len+1) & ~1;
len605drivers/net/3c505.cptr = (unsigned short *)skb_put(skb,len);
len640drivers/net/3c505.cint len;
len693drivers/net/3c505.clen = adapter->irx_pcb.data.rcv_resp.pkt_len;
len701drivers/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);
len495drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len410drivers/net/3c509.cif (skb->len <= 0)
len415drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
len439drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
len442drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
len189drivers/net/8390.clength = skb->len;
len190drivers/net/8390.cif (skb->len <= 0)
len615drivers/net/apricot.cif (skb->len <= 0) return 0;
len625drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len583drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len586drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len590drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len);
len592drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len);
len1388drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
len1395drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
len1494drivers/net/arcnet.cshort offset,length=skb->len+1;
len1560drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
len1625drivers/net/arcnet.clength = 1 < skb->len ? skb->len : 1;
len1630drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
len2320drivers/net/arcnet.cskb->len = length;
len2369drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
len2463drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
len2517drivers/net/arcnet.cmemcpy(skb->data+skb->len,
len2521drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
len2542drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
len2581drivers/net/arcnet.cskb->len = length;
len2590drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
len2634drivers/net/arcnet.cskb->len = length;
len2649drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
len2713drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len2717drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len)
len2731drivers/net/arcnet.ctype,type,len);
len2797drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len,
len2801drivers/net/arcnet.cunsigned short type,void *daddr,void *saddr,unsigned len)
len408drivers/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;
len415drivers/net/de4x5.cstatic void    create_packet(struct device *dev, char *frame, int len);
len980drivers/net/de4x5.cif (lp->skb[i]->len != FAKE_FRAME_LEN) {
len992drivers/net/de4x5.cif (skb->len != FAKE_FRAME_LEN) {
len1027drivers/net/de4x5.c} else if (skb->len == FAKE_FRAME_LEN) {     /* Don't TX a fake frame! */
len1029drivers/net/de4x5.c} else if (skb->len > 0) {
len1037drivers/net/de4x5.cload_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb);
len1156drivers/net/de4x5.cshort len = (lp->rxRingSize - lp->rx_old) * RX_BUFF_SZ;
len1157drivers/net/de4x5.cmemcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len);
len1158drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len);
len2130drivers/net/de4x5.cstatic void create_packet(struct device *dev, char *frame, int len)
len2486drivers/net/de4x5.cskb->len= FAKE_FRAME_LEN;
len2514drivers/net/de4x5.cioc->len = ETH_ALEN;
len2515drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len2521drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len2576drivers/net/de4x5.cioc->len = (HASH_TABLE_LEN >> 3);
len2577drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, ioc->data, ioc->len);
len2580drivers/net/de4x5.cmemcpy_tofs(ioc->data, lp->setup_frame, ioc->len); 
len2585drivers/net/de4x5.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len2586drivers/net/de4x5.cif (!(status = verify_area(VERIFY_READ, (void *)ioc->data, ETH_ALEN * ioc->len))) {
len2587drivers/net/de4x5.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len2588drivers/net/de4x5.cset_multicast_list(dev, ioc->len, tmp.addr);
len2591drivers/net/de4x5.cset_multicast_list(dev, ioc->len, NULL);
len2617drivers/net/de4x5.cioc->len = sizeof(lp->pktStats);
len2618drivers/net/de4x5.cstatus = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len2623drivers/net/de4x5.cmemcpy_tofs(ioc->data, &lp->pktStats, ioc->len); 
len2665drivers/net/de4x5.cioc->len = j;
len2666drivers/net/de4x5.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len2667drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len2728drivers/net/de4x5.cioc->len = j;
len2729drivers/net/de4x5.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len2730drivers/net/de4x5.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len625drivers/net/de4x5.hunsigned short len;                /* Length of the data buffer */
len400drivers/net/de600.cint  len;
len434drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
len436drivers/net/de600.cif ((len = skb->len) < RUNT)
len437drivers/net/de600.clen = RUNT;
len441drivers/net/de600.ctx_fifo[tx_fifo_in] = transmit_from = tx_page_adr(tx_fifo_in) - len;
len457drivers/net/de600.cfor ( ; len > 0; --len, ++buffer)
len517drivers/net/de620.cint len;
len553drivers/net/de620.cif ((len = skb->len) < RUNT)
len554drivers/net/de620.clen = RUNT;
len555drivers/net/de620.cif (len & 1) /* send an even number of bytes */
len556drivers/net/de620.c++len;
len563drivers/net/de620.c(int)skb->len, using_txbuf));
len584drivers/net/de620.cde620_write_block(dev, buffer, len);
len833drivers/net/depca.c} else if (skb->len > 0) {
len938drivers/net/depca.cshort len, pkt_len = readw(&lp->rx_ring[entry].msg_length);
len948drivers/net/depca.clen = (lp->rxRingMask - lp->rx_old + 1) * RX_BUFF_SZ;
len949drivers/net/depca.cmemcpy_fromio(buf, lp->rx_memcpy[lp->rx_old], len);
len950drivers/net/depca.cmemcpy_fromio(buf + len, lp->rx_memcpy[0], pkt_len-len);
len1563drivers/net/depca.cint i, entry, end, len, status = 0;
len1566drivers/net/depca.cend = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
len1573drivers/net/depca.clen = (lp->txRingMask - entry + 1) * TX_BUFF_SZ;
len1574drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, len);
len1575drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[0], skb->data + len, skb->len - len);
len1577drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len);
len1581drivers/net/depca.clen = (skb->len < ETH_ZLEN) ? ETH_ZLEN : skb->len;
len1587drivers/net/depca.clen -= TX_BUFF_SZ;
len1592drivers/net/depca.cwritew(-len, &lp->tx_ring[end].length);       /* packet length in last buff */
len1669drivers/net/depca.cioc->len = ETH_ALEN;
len1670drivers/net/depca.cif (!(status = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len))) {
len1671drivers/net/depca.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len1738drivers/net/depca.cioc->len = (HASH_TABLE_LEN >> 3);
len1739drivers/net/depca.cif (!(status = verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1740drivers/net/depca.cmemcpy_tofs(ioc->data, lp->init_block.mcast_table, ioc->len); 
len1746drivers/net/depca.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len1747drivers/net/depca.cif (!(status=verify_area(VERIFY_READ, ioc->data, ETH_ALEN*ioc->len))) {
len1748drivers/net/depca.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len1749drivers/net/depca.cset_multicast_list(dev, ioc->len, tmp.addr);
len1752drivers/net/depca.cset_multicast_list(dev, ioc->len, NULL);
len1777drivers/net/depca.cioc->len = sizeof(lp->pktStats);
len1778drivers/net/depca.cif (!(status=verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1779drivers/net/depca.cmemcpy_tofs(ioc->data, &lp->pktStats, ioc->len); 
len1800drivers/net/depca.cioc->len = i+sizeof(struct depca_init);
len1801drivers/net/depca.cif (!(status=verify_area(VERIFY_WRITE, ioc->data, ioc->len))) {
len1802drivers/net/depca.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len164drivers/net/depca.hunsigned short len;                /* Length of the data buffer */
len642drivers/net/eepro.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len494drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len150drivers/net/eql.cunsigned len); /*  */
len377drivers/net/eql.cdev->name, eql_number_slaves (eql->queue), skb->len,
len383drivers/net/eql.cslave->bytes_queued += skb->len; 
len411drivers/net/eql.cunsigned len)
len928drivers/net/eth16i.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len794drivers/net/ewrk3.c} else if (skb->len > 0) {
len847drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
len848drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
len850drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
len856drivers/net/ewrk3.c*buf++ = (char)(skb->len & 0xff);         /* length (16 bit xfer)*/
len858drivers/net/ewrk3.c*buf++ = (char)(((skb->len >> 8) & 0xff) | XCT);
len860drivers/net/ewrk3.c*(buf + skb->len) = 0x00;               /* Write the XCT flag */
len863drivers/net/ewrk3.cmemcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
len864drivers/net/ewrk3.c*(buf + skb->len) = 0xff;               /* Write the XCT flag */
len866drivers/net/ewrk3.c*buf++ = (char)((skb->len >> 8) & 0xff);
len868drivers/net/ewrk3.cmemcpy(buf, skb->data, skb->len);       /* Write data bytes */
len1622drivers/net/ewrk3.cioc->len = ETH_ALEN;
len1626drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len1690drivers/net/ewrk3.cioc->len = (HASH_TABLE_LEN >> 3);
len1691drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len); 
len1697drivers/net/ewrk3.cerr = verify_area(VERIFY_READ, (void *)ioc->data, ETH_ALEN * ioc->len);
len1700drivers/net/ewrk3.cif (ioc->len != HASH_TABLE_LEN) {         /* MCA changes */
len1701drivers/net/ewrk3.cmemcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len);
len1703drivers/net/ewrk3.cset_multicast_list(dev, ioc->len, tmp.addr);
len1734drivers/net/ewrk3.cioc->len = EWRK3_PKT_STAT_SZ;
len1770drivers/net/ewrk3.cerr = verify_area(VERIFY_WRITE, (void *)ioc->data, ioc->len);
len1781drivers/net/ewrk3.cioc->len = EEPROM_MAX + 1 + ETH_ALEN;
len1782drivers/net/ewrk3.cmemcpy_tofs(ioc->data, tmp.addr, ioc->len);
len295drivers/net/ewrk3.hunsigned short len;                /* Length of the data buffer */
len599drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
len649drivers/net/hp100.cif ( skb -> len <= 0 ) return 0;
len662drivers/net/hp100.cprintk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len );
len664drivers/net/hp100.cok_flag = skb -> len >= HP100_MIN_PACKET_SIZE;
len665drivers/net/hp100.ci = ok_flag ? skb -> len : HP100_MIN_PACKET_SIZE;
len672drivers/net/hp100.cmemcpy( lp -> mem_ptr_virt, skb -> data, skb -> len );
len674drivers/net/hp100.cmemset( lp -> mem_ptr_virt, 0, HP100_MIN_PACKET_SIZE - skb -> len );
len678drivers/net/hp100.cmemcpy_toio( lp -> mem_ptr_phys, skb -> data, skb -> len );
len680drivers/net/hp100.cmemset_io( lp -> mem_ptr_phys, 0, HP100_MIN_PACKET_SIZE - skb -> len );
len685drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
len687drivers/net/hp100.cfor ( i = ( skb -> len + 3 ) & ~3; i < HP100_MIN_PACKET_SIZE; i += 4 )
len1094drivers/net/ibmtr.cti->current_skb->len-18));
len1104drivers/net/ibmtr.cti->current_skb->len-18+hdr_len);
len1114drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
len1119drivers/net/ibmtr.cti->current_skb->len-sizeof(struct trh_hdr));
len754drivers/net/lance.cif (skb->len <= 0)
len789drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len791drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
len797drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
len801drivers/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;
len500drivers/net/ni65.cint rmdstat,len;
len529drivers/net/ni65.clen = (rmdp->mlen & 0x0fff) - 4; /* -4: ignore FCS */
len534drivers/net/ni65.cmemcpy(skb_put(skb,len),p->recv_skb[p->rmdnum]->data,len);
len540drivers/net/ni65.crmdp->u.buffer = (unsigned long) skb_put(skb1,len);
len588drivers/net/ni65.cif (skb->len <= 0)
len603drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len611drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
len614drivers/net/ni65.ctmdp->blen = -len;
len443drivers/net/pi2.clength = lp->sndbuf->len - 1;
len703drivers/net/pi2.clp->txcnt = (int) lp->sndbuf->len - 1;
len817drivers/net/pi2.clp->txcnt = (int) lp->sndbuf->len - 1;
len1078drivers/net/pi2.cvoid *daddr, void *saddr, unsigned len)
len1080drivers/net/pi2.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
len901drivers/net/plip.cif (skb->len > dev->mtu + dev->hard_header_len) {
len902drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
len913drivers/net/plip.csnd->length.h = skb->len;
len157drivers/net/ppp.cstatic void ppp_proto_ccp (struct ppp *ppp, u_char *dp, int len, int rcvd);
len204drivers/net/ppp.cunsigned len, struct sk_buff *skb);
len1269drivers/net/ppp.cskb->len = count;
len1359drivers/net/ppp.cu_char *data, int len)
len1385drivers/net/ppp.ctotlen = len + 2;
len1411drivers/net/ppp.clen + 2, ppp->flags);
len1441drivers/net/ppp.cstatic void ppp_proto_ccp (struct ppp *ppp, u_char *dp, int len, int rcvd)
len1447drivers/net/ppp.cif (slen > len)
len1529drivers/net/ppp.crcv_proto_ccp (struct ppp *ppp, unsigned short proto, u_char *dp, int len)
len1531drivers/net/ppp.cppp_proto_ccp (ppp, dp, len, 1);
len1532drivers/net/ppp.creturn rcv_proto_unknown (ppp, proto, dp, len);
len1544drivers/net/ppp.crcv_proto_lqr (struct ppp *ppp, unsigned short proto, u_char * data, int len)
len1548drivers/net/ppp.cif (len > 8) {
len1549drivers/net/ppp.cif (len < 48)
len1550drivers/net/ppp.cmemset (&data [len], '\0', 48 - len);
len1559drivers/net/ppp.cp = store_long (p, ppp->stats.ppp_ioctects + len);
len1561drivers/net/ppp.clen = 68;
len1567drivers/net/ppp.creturn rcv_proto_unknown (ppp, proto, data, len);
len1777drivers/net/ppp.cint len, indx;
len1832drivers/net/ppp.clen = 0;
len1835drivers/net/ppp.clen = c << 8;
len1837drivers/net/ppp.clen += c;
len1842drivers/net/ppp.cif (len == 0) {
len1867drivers/net/ppp.cprintk (KERN_DEBUG "ppp_tty_read: len = %d\n", len);
len1872drivers/net/ppp.cif (len + 2 > nr) {
len1878drivers/net/ppp.c"frame\n", nr, len + 2);
len1879drivers/net/ppp.cppp->ubuf->tail += len;
len1889drivers/net/ppp.cindx = verify_area (VERIFY_WRITE, buf, len + 2);
len1891drivers/net/ppp.cppp->ubuf->tail += len;
len1903drivers/net/ppp.cindx = len;
len1916drivers/net/ppp.clen += 2; /* Account for ADDRESS and CONTROL bytes */
len1919drivers/net/ppp.c"ppp_tty_read: passing %d bytes up\n", len);
len1920drivers/net/ppp.creturn len;
len2122drivers/net/ppp.csend_revise_frame (register struct ppp *ppp, u_char *data, int len)
len2132drivers/net/ppp.clen = 48;      /* total size of this frame */
len2135drivers/net/ppp.cp   = store_long (p, ppp->stats.ppp_ooctects + len);
len2143drivers/net/ppp.clen  - PPP_HARD_HDR_LEN,
len2153drivers/net/ppp.creturn len;
len2752drivers/net/ppp.cint len;
len2758drivers/net/ppp.clen    = strlen (szVersion) + 1;
len2759drivers/net/ppp.cerror  = verify_area (VERIFY_WRITE, result, len);
len2764drivers/net/ppp.cmemcpy_tofs (result, szVersion, len);
len2892drivers/net/ppp.cint   len;
len2898drivers/net/ppp.clen = ((struct iphdr *)data) -> tot_len;
len2899drivers/net/ppp.clen = ntohs (len);
len2941drivers/net/ppp.cppp_print_buffer ("ppp outpkt", data, len);
len2948drivers/net/ppp.clen = slhc_compress (ppp->slcomp, data, len,
len2965drivers/net/ppp.clen  += PPP_HARD_HDR_LEN;
len2973drivers/net/ppp.creturn ppp_dev_xmit_frame (ppp, ppp->wbuf, (u_char *) hdr, len);
len2989drivers/net/ppp.cint     len;
len2992drivers/net/ppp.clen = ((struct iphdr *)data) -> tot_len;
len2993drivers/net/ppp.clen = ntohs (len);
len2995drivers/net/ppp.chdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr),
len3001drivers/net/ppp.cmemcpy (&hdr[1], data, len);
len3019drivers/net/ppp.cu_char *data, int len, int proto)
len3064drivers/net/ppp.cppp_print_buffer ("ppp outpkt", data, len);
len3068drivers/net/ppp.clen  += PPP_HARD_HDR_LEN;
len3076drivers/net/ppp.creturn ppp_dev_xmit_frame (ppp, ppp->wbuf, (u_char *) hdr, len);
len3090drivers/net/ppp.cu_char *data, int len, int proto)
len3095drivers/net/ppp.chdr = (struct ppp_hdr *) kmalloc (len + sizeof (struct ppp_hdr),
len3100drivers/net/ppp.cmemcpy (&hdr[1], data, len);
len3102drivers/net/ppp.clen, proto);
len3117drivers/net/ppp.cint answer, len;
len3157drivers/net/ppp.clen   = skb->len;
len3167drivers/net/ppp.canswer = ppp_dev_xmit_ipx (dev, ppp, data, len, PPP_IPX);
len3284drivers/net/ppp.cunsigned len, struct sk_buff *skb)
len3288drivers/net/ppp.cvoid *saddr, unsigned len)
len405drivers/net/seeq8005.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len1254drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
len1263drivers/net/sk_g16.cskb->len);
len1265drivers/net/sk_g16.ctmdp->blen = -len;            /* set length to transmit */
len1574drivers/net/sk_g16.cint len = (rmdp->mlen & 0x0fff);  /* extract message length from receive buffer */
len1577drivers/net/sk_g16.cskb = dev_alloc_skb(len+2); /* allocate socket buffer */ 
len1607drivers/net/sk_g16.cmemcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff),
len1608drivers/net/sk_g16.clen);
len357drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len498drivers/net/slhc.cint len, hdrlen;
len603drivers/net/slhc.clen = isize - (cp - icp);
len604drivers/net/slhc.cif (len < 0)
len606drivers/net/slhc.clen += hdrlen;
len607drivers/net/slhc.cip->tot_len = htons(len);
len610drivers/net/slhc.cmemmove(icp + hdrlen, cp, len - hdrlen);
len635drivers/net/slhc.creturn len;
len100drivers/net/slip.cstatic int slip_esc(unsigned char *p, unsigned char *d, int len);
len103drivers/net/slip.cstatic int slip_esc6(unsigned char *p, unsigned char *d, int len);
len223drivers/net/slip.cint len;
len226drivers/net/slip.clen = dev->mtu * 2;
len232drivers/net/slip.cif (len < 576 * 2)  {
len233drivers/net/slip.clen = 576 * 2;
len236drivers/net/slip.cxbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len237drivers/net/slip.crbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len239drivers/net/slip.ccbuff = (unsigned char *) kmalloc (len + 4, GFP_ATOMIC);
len275drivers/net/slip.cif (sl->xleft <= len)  {
len285drivers/net/slip.cif (sl->rcount <= len) {
len298drivers/net/slip.csl->buffsize = len;
len395drivers/net/slip.csl_encaps(struct slip *sl, unsigned char *icp, int len)
len409drivers/net/slip.cif (len > sl->mtu) {    /* Sigh, shouldn't occur BUT ... */
len410drivers/net/slip.clen = sl->mtu;
len420drivers/net/slip.clen = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
len425drivers/net/slip.ccount = slip_esc6(p, (unsigned char *) sl->xbuff, len);
len428drivers/net/slip.ccount = slip_esc(p, (unsigned char *) sl->xbuff, len);
len519drivers/net/slip.csl_encaps(sl, skb->data, skb->len);
len531drivers/net/slip.cvoid *daddr, void *saddr, unsigned len)
len538drivers/net/slip.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
len569drivers/net/slip.cunsigned long len;
len582drivers/net/slip.clen = dev->mtu * 2;
len588drivers/net/slip.cif (len < 576 * 2)  {
len589drivers/net/slip.clen = 576 * 2;
len591drivers/net/slip.csl->rbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len595drivers/net/slip.csl->xbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len600drivers/net/slip.csl->cbuff = (unsigned char *) kmalloc(len + 4, GFP_KERNEL);
len615drivers/net/slip.csl->buffsize = len;
len833drivers/net/slip.cslip_esc(unsigned char *s, unsigned char *d, int len)
len851drivers/net/slip.cwhile (len-- > 0) {
len914drivers/net/slip.cslip_esc6(unsigned char *s, unsigned char *d, int len)
len934drivers/net/slip.cfor (i = 0; i < len; ++i) {
len410drivers/net/tulip.cif (skb == NULL || skb->len <= 0) {
len433drivers/net/tulip.ctp->tx_ring[entry].length = skb->len |
len208drivers/net/tunnel.cnewlen = (skb->len + ip_header_len);
len224drivers/net/tunnel.cmemcpy(skb2->data + ip_header_len, skb->data, skb->len);
len234drivers/net/tunnel.ciph->tot_len = htons(skb2->len);
len1442drivers/net/wavelan.clength = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
len2117drivers/net/wavelan.cint    len;
len2123drivers/net/wavelan.clen = 0;
len2130drivers/net/wavelan.clen += size;
len2141drivers/net/wavelan.csize = sprintf_stats(buffer + len, lp->dev);
len2143drivers/net/wavelan.clen += size;
len2144drivers/net/wavelan.cpos = begin + len;
len2148drivers/net/wavelan.clen = 0;
len2161drivers/net/wavelan.clen -= (offset - begin);    /* Start slop */
len2162drivers/net/wavelan.cif (len > length)
len2163drivers/net/wavelan.clen = length;      /* Ending slop */
len2165drivers/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);
len499drivers/pci/pci.cint reg, len = 0;
len513drivers/pci/pci.cif (len + 80 > size) {
len516drivers/pci/pci.clen += sprintf(buf + len, "  Bus %2d, device %3d, function %2d:\n",
len519drivers/pci/pci.cif (len + 80 > size) {
len522drivers/pci/pci.clen += sprintf(buf + len, "    %s: %s %s (rev %d).\n      ",
len527drivers/pci/pci.clen += sprintf(buf + len,
len538drivers/pci/pci.cif (len + strlen(str) > size) {
len541drivers/pci/pci.clen += sprintf(buf + len, str);
len545drivers/pci/pci.cif (len + strlen(fast_b2b_capable) > size) {
len548drivers/pci/pci.clen += sprintf(buf + len, fast_b2b_capable);
len554drivers/pci/pci.cif (len + strlen(BIST_capable) > size) {
len557drivers/pci/pci.clen += sprintf(buf + len, BIST_capable);
len562drivers/pci/pci.cif (len + 40 > size) {
len565drivers/pci/pci.clen += sprintf(buf + len, "IRQ %d.  ", dev->irq);
len569drivers/pci/pci.cif (len + 80 > size) {
len572drivers/pci/pci.clen += sprintf(buf + len, "Master Capable.  ");
len574drivers/pci/pci.clen += sprintf(buf + len, "Latency=%d.  ", latency);
len576drivers/pci/pci.clen += sprintf(buf + len, "No bursts.  ");
len578drivers/pci/pci.clen += sprintf(buf + len, "Min Gnt=%d.", min_gnt);
len580drivers/pci/pci.clen += sprintf(buf + len, "Max Lat=%d.", max_lat);
len584drivers/pci/pci.cif (len + 40 > size) {
len594drivers/pci/pci.clen += sprintf(buf + len,
len618drivers/pci/pci.clen += sprintf(buf + len,
len625drivers/pci/pci.clen += sprintf(buf + len, "\n");
len626drivers/pci/pci.creturn len;
len636drivers/pci/pci.cint nprinted, len, size;
len642drivers/pci/pci.clen   = sprintf(buf, "PCI devices found:\n");
len645drivers/pci/pci.cnprinted = sprint_dev_config(dev, buf + len, size - len);
len647drivers/pci/pci.creturn len + sprintf(buf + len, MSG);
len649drivers/pci/pci.clen += nprinted;
len651drivers/pci/pci.creturn len;
len849drivers/pci/pci.cint len = get_pci_list((char*)mem_start);
len850drivers/pci/pci.cif (len) {
len851drivers/pci/pci.c((char *) mem_start)[len] = '\0';
len2061drivers/scsi/53c7,8xx.csize_t len;
len2079drivers/scsi/53c7,8xx.clen = strlen(buf);
len2082drivers/scsi/53c7,8xx.csprintf(buf + len, "%08x\n", * (u32 *) bp->addr);
len2084drivers/scsi/53c7,8xx.csprintf(buf + len, "\n");
len2086drivers/scsi/53c7,8xx.clen = strlen(buf);
len2087drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, len);
len2099drivers/scsi/53c7,8xx.csize_t len;
len2161drivers/scsi/53c7,8xx.cint i, j, error, len;
len2182drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
len2183drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
len2190drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
len3743drivers/scsi/53c7,8xx.csize_t len = strlen(buf);
len3744drivers/scsi/53c7,8xx.cdebugger_kernel_write(host, buf, len);
len3902drivers/scsi/53c7,8xx.cint i, len;
len3913drivers/scsi/53c7,8xx.cptr += len, i -= len) {
len3915drivers/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);
len352drivers/scsi/NCR53c406a.cint  len;  /* current scsi fifo size */
len365drivers/scsi/NCR53c406a.clen=0; break;
len367drivers/scsi/NCR53c406a.clen=1; break;
len369drivers/scsi/NCR53c406a.clen=42; break;
len371drivers/scsi/NCR53c406a.clen=84; break;
len373drivers/scsi/NCR53c406a.clen=128; break;
len376drivers/scsi/NCR53c406a.cif ((i & 0x40) && len == 0) { /* fifo empty and interrupt occured */
len380drivers/scsi/NCR53c406a.cif (len) {
len381drivers/scsi/NCR53c406a.cif( len > reqlen ) 
len382drivers/scsi/NCR53c406a.clen = reqlen;
len386drivers/scsi/NCR53c406a.cif( fast_pio && len > 3 ) { 
len387drivers/scsi/NCR53c406a.cinsl(PIO_FIFO,request,len>>2); 
len388drivers/scsi/NCR53c406a.crequest += len & 0xfc; 
len389drivers/scsi/NCR53c406a.creqlen -= len & 0xfc; 
len392drivers/scsi/NCR53c406a.cwhile(len--) {
len407drivers/scsi/NCR53c406a.cint  len;  /* current scsi fifo size */
len419drivers/scsi/NCR53c406a.clen=128; break;
len421drivers/scsi/NCR53c406a.clen=84; break;
len423drivers/scsi/NCR53c406a.clen=42; break;
len425drivers/scsi/NCR53c406a.clen=1; break;
len428drivers/scsi/NCR53c406a.clen=0; break;
len431drivers/scsi/NCR53c406a.cif (len) {
len432drivers/scsi/NCR53c406a.cif( len > reqlen ) 
len433drivers/scsi/NCR53c406a.clen = reqlen;
len437drivers/scsi/NCR53c406a.cif( fast_pio && len > 3 ) { 
len438drivers/scsi/NCR53c406a.coutsl(PIO_FIFO,request,len>>2); 
len439drivers/scsi/NCR53c406a.crequest += len & 0xfc; 
len440drivers/scsi/NCR53c406a.creqlen -= len & 0xfc; 
len443drivers/scsi/NCR53c406a.cwhile(len--) {
len162drivers/scsi/aha1542.cstatic int aha1542_out(unsigned int base, unchar *cmdp, int len)
len167drivers/scsi/aha1542.cif(len == 1) {
len178drivers/scsi/aha1542.cwhile (len--)
len188drivers/scsi/aha1542.cprintk("aha1542_out failed(%d): ", len+1); aha1542_stat();
len194drivers/scsi/aha1542.cstatic int aha1542_in(unsigned int base, unchar *cmdp, int len)
len200drivers/scsi/aha1542.cwhile (len--)
len209drivers/scsi/aha1542.cprintk("aha1542_in failed(%d): ", len+1); aha1542_stat();
len216drivers/scsi/aha1542.cstatic int aha1542_in1(unsigned int base, unchar *cmdp, int len)
len222drivers/scsi/aha1542.cwhile (len--)
len296drivers/scsi/aha1542.cint len;
len329drivers/scsi/aha1542.clen = 4;
len332drivers/scsi/aha1542.cwhile (len--)
len1546drivers/scsi/aic7xxx.cregister int len = ep - bp;
len1548drivers/scsi/aic7xxx.cstrncpy(buf, bp, len);
len1549drivers/scsi/aic7xxx.cbuf[len] = '\0';
len3152drivers/scsi/aic7xxx.cunsigned char len;
len3182drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i++)
len3326drivers/scsi/aic7xxx.cunsigned char len;
len3374drivers/scsi/aic7xxx.cfor (i = 0; i < seeprom_read.len; i++)
len30drivers/scsi/aic7xxx_proc.c#define BLS buffer + len + size
len82drivers/scsi/aic7xxx_proc.cint   len = 0;
len114drivers/scsi/aic7xxx_proc.clen += size; pos = begin + len; size = 0;
len134drivers/scsi/aic7xxx_proc.clen += size; pos = begin + len; size = 0;
len166drivers/scsi/aic7xxx_proc.clen += size; pos = begin + len; size = 0;
len193drivers/scsi/aic7xxx_proc.clen += size; pos = begin + len; size = 0;
len241drivers/scsi/aic7xxx_proc.clen += size; pos = begin + len; size = 0;
len246drivers/scsi/aic7xxx_proc.cproc_debug("2pos: %ld offset: %ld len: %d\n", pos, offset, len);
len248drivers/scsi/aic7xxx_proc.clen -= (offset - begin);      /* Start slop */
len249drivers/scsi/aic7xxx_proc.cif (len > length)
len251drivers/scsi/aic7xxx_proc.clen = length;               /* Ending slop */
len253drivers/scsi/aic7xxx_proc.cproc_debug("3pos: %ld offset: %ld len: %d\n", pos, offset, len);
len255drivers/scsi/aic7xxx_proc.creturn (len);     
len490drivers/scsi/constants.cint len = 0, i;
len492drivers/scsi/constants.clen = 3 + msg[1];
len511drivers/scsi/constants.cfor (i = 2; i < len; ++i) 
len515drivers/scsi/constants.cfor (i = 0; i < len; ++i)
len528drivers/scsi/constants.clen = 1;
len539drivers/scsi/constants.clen = 1;
len552drivers/scsi/constants.clen = 2;
len559drivers/scsi/constants.creturn len;
len245drivers/scsi/eata.cushort len;          /* Number of bytes following this field */
len469drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
len485drivers/scsi/eata_dma.ccp->sg_list[i].len = htonl((u32) sl->length);
len833drivers/scsi/eata_dma.c(u32) ntohl(gc->len), gc->version,
len867drivers/scsi/eata_dma.cif(gc->HAA_valid == FALSE || ntohl(gc->len) < 0x22) 
len991drivers/scsi/eata_dma.cswitch (ntohl(gc->len)) {
len1007drivers/scsi/eata_dma.cif(ntohl(gc->len) >= 0x22) {
len1024drivers/scsi/eata_dma.cif(ntohl(gc->len) >= 0x22) {
len90drivers/scsi/eata_dma_proc.cint    size, len = 0;
len120drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len, "EATA (Extended Attachment) driver version: "
len122drivers/scsi/eata_dma_proc.clen += size; pos = begin + len;
len123drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "queued commands:     %10ld\n"
len125drivers/scsi/eata_dma_proc.clen += size; pos = begin + len;
len127drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n",
len129drivers/scsi/eata_dma_proc.clen += size; 
len130drivers/scsi/eata_dma_proc.cpos = begin + len;
len131drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Firmware revision: v%s\n", 
len133drivers/scsi/eata_dma_proc.clen += size;
len134drivers/scsi/eata_dma_proc.cpos = begin + len;
len135drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Hardware Configuration:\n");
len136drivers/scsi/eata_dma_proc.clen += size; 
len137drivers/scsi/eata_dma_proc.cpos = begin + len;
len141drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: BUSMASTER\n");
len143drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel);
len144drivers/scsi/eata_dma_proc.clen += size; 
len145drivers/scsi/eata_dma_proc.cpos = begin + len;
len147drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
len148drivers/scsi/eata_dma_proc.clen += size; 
len149drivers/scsi/eata_dma_proc.cpos = begin + len;
len151drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Bus: EISA\n"); 
len152drivers/scsi/eata_dma_proc.clen += size; 
len153drivers/scsi/eata_dma_proc.cpos = begin + len;
len196drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt,
len198drivers/scsi/eata_dma_proc.clen += size; 
len199drivers/scsi/eata_dma_proc.cpos = begin + len;
len201drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: BUSMASTER\n");
len203drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel);
len204drivers/scsi/eata_dma_proc.clen += size; 
len205drivers/scsi/eata_dma_proc.cpos = begin + len;
len206drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type,
len208drivers/scsi/eata_dma_proc.clen += size; 
len209drivers/scsi/eata_dma_proc.cpos = begin + len;
len210drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
len211drivers/scsi/eata_dma_proc.clen += size; 
len212drivers/scsi/eata_dma_proc.cpos = begin + len;
len213drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Bus: %s\n", 
len217drivers/scsi/eata_dma_proc.clen += size; 
len218drivers/scsi/eata_dma_proc.cpos = begin + len;
len219drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n",
len224drivers/scsi/eata_dma_proc.clen += size; 
len225drivers/scsi/eata_dma_proc.cpos = begin + len;
len226drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n",
len229drivers/scsi/eata_dma_proc.clen += size; 
len230drivers/scsi/eata_dma_proc.cpos = begin + len;
len231drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SmartRAID hardware: %spresent.\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, "    Type: %s\n",
len241drivers/scsi/eata_dma_proc.clen += size; 
len242drivers/scsi/eata_dma_proc.cpos = begin + len;
len244drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max array groups:              %d\n",
len246drivers/scsi/eata_dma_proc.clen += size; 
len247drivers/scsi/eata_dma_proc.cpos = begin + len;
len248drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max drives per RAID 0 array:   %d\n",
len250drivers/scsi/eata_dma_proc.clen += size; 
len251drivers/scsi/eata_dma_proc.cpos = begin + len;
len252drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Max drives per RAID 3/5 array: %d\n",
len254drivers/scsi/eata_dma_proc.clen += size; 
len255drivers/scsi/eata_dma_proc.cpos = begin + len;
len256drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Cache Module: %spresent.\n",
len258drivers/scsi/eata_dma_proc.clen += size; 
len259drivers/scsi/eata_dma_proc.cpos = begin + len;
len260drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Type: %s\n",
len266drivers/scsi/eata_dma_proc.clen += size; 
len267drivers/scsi/eata_dma_proc.cpos = begin + len;
len269drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "    Bank%d: %dMB with%s ECC\n",x,
len272drivers/scsi/eata_dma_proc.clen += size; 
len273drivers/scsi/eata_dma_proc.cpos = begin + len;      
len275drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Timer Mod.: %spresent\n",
len277drivers/scsi/eata_dma_proc.clen += size; 
len278drivers/scsi/eata_dma_proc.cpos = begin + len;
len279drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "NVRAM     : %spresent\n",
len281drivers/scsi/eata_dma_proc.clen += size; 
len282drivers/scsi/eata_dma_proc.cpos = begin + len;
len283drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "SmartROM  : %sabled\n",
len285drivers/scsi/eata_dma_proc.clen += size; 
len286drivers/scsi/eata_dma_proc.cpos = begin + len;
len287drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Alarm     : %s\n",
len289drivers/scsi/eata_dma_proc.clen += size; 
len290drivers/scsi/eata_dma_proc.cpos = begin + len;
len293drivers/scsi/eata_dma_proc.clen = 0;
len334drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host<->Disk command statistics:\n"
len336drivers/scsi/eata_dma_proc.clen += size; 
len337drivers/scsi/eata_dma_proc.cpos = begin + len;
len339drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x,
len342drivers/scsi/eata_dma_proc.clen += size; 
len343drivers/scsi/eata_dma_proc.cpos = begin + len;
len345drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u\n",
len348drivers/scsi/eata_dma_proc.clen += size; 
len349drivers/scsi/eata_dma_proc.cpos = begin + len;
len350drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"Sum   :%12u %12u\n",
len353drivers/scsi/eata_dma_proc.clen += size; 
len354drivers/scsi/eata_dma_proc.cpos = begin + len;
len358drivers/scsi/eata_dma_proc.clen = 0;
len365drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Host Latency Command Statistics:\n"
len368drivers/scsi/eata_dma_proc.clen += size; 
len369drivers/scsi/eata_dma_proc.cpos = begin + len;
len371drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", 
len380drivers/scsi/eata_dma_proc.clen += size; 
len381drivers/scsi/eata_dma_proc.cpos = begin + len;
len383drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n",
len391drivers/scsi/eata_dma_proc.clen += size; 
len392drivers/scsi/eata_dma_proc.cpos = begin + len;
len395drivers/scsi/eata_dma_proc.clen = 0;
len401drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len,
len403drivers/scsi/eata_dma_proc.clen += size; 
len404drivers/scsi/eata_dma_proc.cpos = begin + len;
len406drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", 
len415drivers/scsi/eata_dma_proc.clen += size; 
len416drivers/scsi/eata_dma_proc.cpos = begin + len;
len418drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n",
len426drivers/scsi/eata_dma_proc.clen += size; 
len427drivers/scsi/eata_dma_proc.cpos = begin + len;
len430drivers/scsi/eata_dma_proc.clen = 0;
len440drivers/scsi/eata_dma_proc.csize = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none");
len441drivers/scsi/eata_dma_proc.clen += size; 
len442drivers/scsi/eata_dma_proc.cpos = begin + len;
len446drivers/scsi/eata_dma_proc.cproc_print_scsidevice(scd, buffer, &size, len);
len447drivers/scsi/eata_dma_proc.clen += size; 
len448drivers/scsi/eata_dma_proc.cpos = begin + len;
len451drivers/scsi/eata_dma_proc.clen = 0;
len462drivers/scsi/eata_dma_proc.cDBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len));
len464drivers/scsi/eata_dma_proc.clen-=(offset-begin);      /* Start slop */
len465drivers/scsi/eata_dma_proc.cif(len>length)
len466drivers/scsi/eata_dma_proc.clen = length;        /* Ending slop */
len467drivers/scsi/eata_dma_proc.cDBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len));
len469drivers/scsi/eata_dma_proc.creturn (len);     
len215drivers/scsi/eata_generic.h__u32  len;          /* Should return 0x22, 0x24, etc    */
len266drivers/scsi/eata_generic.h__u32 len;
len638drivers/scsi/eata_pio.c(uint) ntohl(gc->len), gc->version,
len748drivers/scsi/eata_pio.cswitch (ntohl(gc->len)) {
len764drivers/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);     
len1098drivers/scsi/fdomain.cint        len;
len1108drivers/scsi/fdomain.cpos = len = strlen( buffer );
len1111drivers/scsi/fdomain.clen = 0;
len1116drivers/scsi/fdomain.clen -= (offset - begin);
len1117drivers/scsi/fdomain.cif(len > length) len = length;
len1119drivers/scsi/fdomain.creturn(len);
len490drivers/scsi/pas16.cint len) {
len494drivers/scsi/pas16.cregister i = len;
len523drivers/scsi/pas16.cint len) {
len526drivers/scsi/pas16.cregister i = len;
len2146drivers/scsi/scsi.cvoid *scsi_malloc(unsigned int len)
len2151drivers/scsi/scsi.cif((len & 0x1ff) || len > (1<<MALLOC_PAGEBITS))
len2156drivers/scsi/scsi.cnbits = len >> 9;
len2166drivers/scsi/scsi.cprintk("SMalloc: %d %p\n",len, dma_malloc_pages[i] + (j << 9));
len2175drivers/scsi/scsi.cint scsi_free(void *obj, unsigned int len)
len2182drivers/scsi/scsi.cprintk("Sfree %p %d\n",obj, len);
len2200drivers/scsi/scsi.cnbits = len >> 9;
len2418drivers/scsi/scsi.cint    size, len = 0;
len2426drivers/scsi/scsi.csize = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none");
len2427drivers/scsi/scsi.clen += size; 
len2428drivers/scsi/scsi.cpos = begin + len;
len2431drivers/scsi/scsi.csize += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, 
len2433drivers/scsi/scsi.clen += size; 
len2434drivers/scsi/scsi.cpos = begin + len;
len2439drivers/scsi/scsi.cproc_print_scsidevice(scd, buffer, &size, len);
len2440drivers/scsi/scsi.clen += size; 
len2441drivers/scsi/scsi.cpos = begin + len;
len2444drivers/scsi/scsi.clen = 0;
len2457drivers/scsi/scsi.clen-=(offset-begin);          /* Start slop */
len2458drivers/scsi/scsi.cif(len>length)
len2459drivers/scsi/scsi.clen = length;    /* Ending slop */
len2460drivers/scsi/scsi.creturn (len);     
len636drivers/scsi/scsi_debug.cint len, pos, begin;
len671drivers/scsi/scsi_debug.cpos = len = sprintf(buffer, 
len677drivers/scsi/scsi_debug.clen = 0;
len682drivers/scsi/scsi_debug.clen -= (offset - begin);
len683drivers/scsi/scsi_debug.cif(len > length)
len684drivers/scsi/scsi_debug.clen = length;
len686drivers/scsi/scsi_debug.creturn(len);
len40drivers/scsi/scsi_ioctl.cunsigned int len,slen;
len47drivers/scsi/scsi_ioctl.clen = get_user ((unsigned int *) buffer);
len54drivers/scsi/scsi_ioctl.cif (len > slen)
len55drivers/scsi/scsi_ioctl.clen = slen + 1;
len56drivers/scsi/scsi_ioctl.cresult = verify_area(VERIFY_WRITE, buffer, len);
len59drivers/scsi/scsi_ioctl.cmemcpy_tofs (buffer, string, len);
len53drivers/scsi/scsi_proc.cint len, pos, begin;
len59drivers/scsi/scsi_proc.cpos = len = sprintf(buffer, 
len62drivers/scsi/scsi_proc.clen = 0;
len67drivers/scsi/scsi_proc.clen -= (offset - begin);
len68drivers/scsi/scsi_proc.cif(len > length)
len69drivers/scsi/scsi_proc.clen = length;
len71drivers/scsi/scsi_proc.creturn(len);
len257drivers/scsi/scsi_proc.cvoid proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len)
len261drivers/scsi/scsi_proc.cy = sprintf(buffer + len, 
len266drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "%c", scd->vendor[x]);
len268drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y," ");
len270drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " Model: ");
len273drivers/scsi/scsi_proc.cy +=  sprintf(buffer + len + y, "%c", scd->model[x]);
len275drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " ");
len277drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " Rev: ");
len280drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "%c", scd->rev[x]);
len282drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " ");
len284drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "\n");
len286drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "  Type:   %s ",
len289drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "               ANSI"
len292drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, " CCS\n");
len294drivers/scsi/scsi_proc.cy += sprintf(buffer + len + y, "\n");
len413drivers/scsi/seagate.cint len;
len423drivers/scsi/seagate.cpos = len = strlen(buffer);
len426drivers/scsi/seagate.clen = 0;
len431drivers/scsi/seagate.clen -= (offset - begin);
len432drivers/scsi/seagate.cif ( len > length ) len = length;
len433drivers/scsi/seagate.creturn(len);
len621drivers/scsi/seagate.cint len = 0;
len750drivers/scsi/seagate.clen=current_bufflen;    /* WDE add */
len948drivers/scsi/seagate.clen = buffer->length;
len955drivers/scsi/seagate.clen = SCint->request_bufflen;
len960drivers/scsi/seagate.cprintk("scsi%d : len = %d\n", hostno, len);
len1073drivers/scsi/seagate.cif (!len) {
len1083drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1091drivers/scsi/seagate.cSCint->transfersize, len, data);
len1113drivers/scsi/seagate.clen -= transfersize;
len1118drivers/scsi/seagate.chostno, len, data);
len1174drivers/scsi/seagate.c"=S" (data), "=c" (len) :
len1176drivers/scsi/seagate.c"0" (data), "1" (len) :
len1181drivers/scsi/seagate.cif (!len && nobuffs) {
len1184drivers/scsi/seagate.clen = buffer->length;
len1188drivers/scsi/seagate.chostno, len, data);
len1197drivers/scsi/seagate.ctransfered += len;
len1199drivers/scsi/seagate.cfor (; len && (STATUS & (REQ_MASK | STAT_REQ)) == (REQ_DATAIN |
len1200drivers/scsi/seagate.cSTAT_REQ); --len) {
len1205drivers/scsi/seagate.ctransfered -= len;
len1210drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1218drivers/scsi/seagate.cSCint->transfersize, len, data);
len1240drivers/scsi/seagate.clen -= transfersize;
len1250drivers/scsi/seagate.chostno, len, data);
len1258drivers/scsi/seagate.cprintk("scsi%d: transfered += %d\n", hostno, len);
len1259drivers/scsi/seagate.ctransfered += len;  /* Assume we'll transfer it all, then
len1314drivers/scsi/seagate.c"=D" (data), "=c" (len) :
len1316drivers/scsi/seagate.c"0" (data), "1" (len) :
len1321drivers/scsi/seagate.cprintk("scsi%d: transfered -= %d\n", hostno, len);
len1322drivers/scsi/seagate.ctransfered -= len;    /* Since we assumed all of Len got 
len1327drivers/scsi/seagate.cif (!len && nobuffs) {
len1330drivers/scsi/seagate.clen = buffer->length;
len1334drivers/scsi/seagate.chostno, len, data);
len1401drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1433drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1444drivers/scsi/seagate.clen=current_bufflen;
len167drivers/scsi/sr_ioctl.csr_cmd[7] = blk.len >> 8;
len168drivers/scsi/sr_ioctl.csr_cmd[8] = blk.len;
len322drivers/scsi/t128.cint len) {
len325drivers/scsi/t128.cregister i = len;
len366drivers/scsi/t128.cint len) {
len369drivers/scsi/t128.cregister i = len;
len216drivers/scsi/wd7000.cunsigned    len;           /* length of string */
len332drivers/scsi/wd7000.cunchar len[3];
len388drivers/scsi/wd7000.cunchar len[3];                /* command buffer length */
len430drivers/scsi/wd7000.cunchar len[3];                /* buffer length */
len446drivers/scsi/wd7000.cunchar len[3];                /* parms buffer length */
len578drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
len581drivers/scsi/wd7000.cwhile (len--)  {
len591drivers/scsi/wd7000.cprintk("wd7000 command_out: WAIT failed(%d)\n", len+1);
len938drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
len968drivers/scsi/wd7000.cany2scsi(icb.len, sizeof(buf));
len1123drivers/scsi/wd7000.cif (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len))  {
len509drivers/sound/aedsp16.cint             len = 0;
len521drivers/sound/aedsp16.cver[len++] = ret;
len523drivers/sound/aedsp16.cwhile (len < CARDVERLEN);
len531drivers/sound/aedsp16.cint             len = 0;
len541drivers/sound/aedsp16.creturn (len ? 0 : -1);
len543drivers/sound/aedsp16.cAudioExcelName[len++] = ret;
len546drivers/sound/aedsp16.cwhile (len < CARDNAMELEN);
len238drivers/sound/configure.cint             len;
len240drivers/sound/configure.cif ((len = read (0, answ, sizeof (answ))) < 1)
len250drivers/sound/configure.cif (len < 2)      /*
len255drivers/sound/configure.cansw[len - 1] = 0;
len267drivers/sound/configure.cint             len, num;
len271drivers/sound/configure.cif ((len = read (0, answ, sizeof (answ))) < 1)
len281drivers/sound/configure.cif (len < 2)      /*
len286drivers/sound/configure.cansw[len - 1] = 0;
len161drivers/sound/dev_table.hconst snd_rw_buf *userbuf, int useroffs, int len);
len204drivers/sound/dev_table.hint (*send_sysex)(int dev, unsigned char *bytes, int len);
len480drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len, int dontblock)
len550drivers/sound/dmabuf.c*len = dmap->fragment_size - dmap->counts[dmap->qhead];
len888drivers/sound/dmabuf.cint             len, max, tmp;
len900drivers/sound/dmabuf.clen = dmap->qlen;
len905drivers/sound/dmabuf.cif (tmp & len)
len909drivers/sound/dmabuf.clen += tmp;
len912drivers/sound/dmabuf.cif (len >= max)
len1452drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len, int dontblock)
len482drivers/sound/gus_wave.cif (position < samples[sample_no].len)
len1311drivers/sound/gus_wave.c((sample_ptrs[sample] + samples[sample].len) >> 18))
len1342drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len -
len1375drivers/sound/gus_wave.cgus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len - 1,
len1554drivers/sound/gus_wave.cif (count < patch.len)
len1557drivers/sound/gus_wave.ccount, (int) patch.len);
len1558drivers/sound/gus_wave.cpatch.len = count;
len1561drivers/sound/gus_wave.cif (patch.len <= 0 || patch.len > gus_mem_size)
len1563drivers/sound/gus_wave.cprintk ("GUS: Invalid sample length %d\n", (int) patch.len);
len1569drivers/sound/gus_wave.cif (patch.loop_start < 0 || patch.loop_start >= patch.len)
len1575drivers/sound/gus_wave.cif (patch.loop_end < patch.loop_start || patch.loop_end > patch.len)
len1591drivers/sound/gus_wave.cif (patch.len >= GUS_BANK_SIZE)
len1593drivers/sound/gus_wave.cprintk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len);
len1598drivers/sound/gus_wave.c((free_mem_ptr + patch.len) / GUS_BANK_SIZE))
len1603drivers/sound/gus_wave.cif ((tmp_mem + patch.len) > gus_mem_size)
len1610drivers/sound/gus_wave.cif ((free_mem_ptr + patch.len) > gus_mem_size)
len1635drivers/sound/gus_wave.cleft = patch.len;
len1765drivers/sound/gus_wave.cfree_mem_ptr += patch.len;
len2428drivers/sound/gus_wave.cconst snd_rw_buf * userbuf, int useroffs, int len)
len2432drivers/sound/gus_wave.cmemcpy_fromfs (&localbuf[localoffs], &((userbuf)[useroffs]), len);
len2441drivers/sound/gus_wave.clen /= 2;
len2446drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2461drivers/sound/gus_wave.clen /= 4;
len2467drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2612drivers/sound/gus_wave.cif (pat->len > samples[ptr].len)  /* Cannot expand sample */
len2635drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2638drivers/sound/gus_wave.cn = samples[sample].len - offs;    /* Num of bytes left */
len2676drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2681drivers/sound/gus_wave.cn = samples[sample].len - offs;    /*
len133drivers/sound/maui.cif (count < header.len)
len136drivers/sound/maui.ccount, (int) header.len);
len137drivers/sound/maui.cheader.len = count;
len140drivers/sound/maui.cleft = header.len;
len55drivers/sound/midi_synth.cint len; \
len58drivers/sound/midi_synth.cseq_input_event(obuf, len); \
len64drivers/sound/midi_synth.c#define _SEQ_ADVBUF(x) len=x
len536drivers/sound/midi_synth.cif (count < sysex.len)
len539drivers/sound/midi_synth.ccount, (int) sysex.len);
len540drivers/sound/midi_synth.csysex.len = count;
len543drivers/sound/midi_synth.cleft = sysex.len;
len708drivers/sound/midi_synth.cmidi_synth_send_sysex (int dev, unsigned char *bytes, int len)
len713drivers/sound/midi_synth.cfor (i = 0; i < len; i++)
len19drivers/sound/midi_synth.hint midi_synth_send_sysex(int dev, unsigned char *bytes,int len);
len53drivers/sound/midibuf.cint             len, head, tail;
len77drivers/sound/midibuf.c#define DATA_AVAIL(q) (q->len)
len78drivers/sound/midibuf.c#define SPACE_AVAIL(q) (MAX_QUEUE_SIZE - q->len)
len86drivers/sound/midibuf.cq->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \
len96drivers/sound/midibuf.cq->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \
len181drivers/sound/midibuf.cmidi_out_buf[dev]->len--;
len250drivers/sound/midibuf.cmidi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0;
len263drivers/sound/midibuf.cmidi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0;
len161drivers/sound/mpu401.cint len; \
len164drivers/sound/mpu401.cseq_input_event(obuf, len); \
len170drivers/sound/mpu401.c#define _SEQ_ADVBUF(x) len=x
len483drivers/sound/pss.cif (buf->len <= 0 || buf->len > sizeof (buf->data))
len486drivers/sound/pss.cif (!pss_download_boot (devc, buf->data, buf->len, buf->flags))
len179drivers/sound/sequencer.cseq_copy_to_input (unsigned char *event, int len)
len187drivers/sound/sequencer.cif (len != 4 && len != 8)
len189drivers/sound/sequencer.cif ((seq_mode == SEQ_1) != (len == 4))
len197drivers/sound/sequencer.cmemcpy (&iqueue[iqtail * IEV_SZ], event, len);
len238drivers/sound/sequencer.cseq_input_event (unsigned char *event, int len)
len261drivers/sound/sequencer.cseq_copy_to_input (event, len);
len8drivers/sound/sound_calls.hint DMAbuf_getrdbuffer(int dev, char **buf, int *len, int dontblock);
len52drivers/sound/sound_calls.hvoid seq_input_event(unsigned char *event, int len);
len53drivers/sound/sound_calls.hvoid seq_copy_to_input (unsigned char *event, int len);
len178drivers/sound/soundcard.cint             len;
len180drivers/sound/soundcard.clen = (cmd & IOCSIZE_MASK) >> IOCSIZE_SHIFT;
len184drivers/sound/soundcard.cif ((err = verify_area (VERIFY_READ, (void *) arg, len)) < 0)
len190drivers/sound/soundcard.cif ((err = verify_area (VERIFY_WRITE, (void *) arg, len)) < 0)
len656drivers/sound/sscape.cif (buf->len <= 0 || buf->len > sizeof (buf->data))
len659drivers/sound/sscape.cif (!sscape_download_boot (devc, buf->data, buf->len, buf->flags))
len178fs/binfmt_elf.cunsigned int len;
len287fs/binfmt_elf.clen = (elf_bss + 0xfff) & 0xfffff000; /* What we have mapped so far */
len290fs/binfmt_elf.cif (last_bss > len)
len291fs/binfmt_elf.cdo_mmap(NULL, len, last_bss-len,
len722fs/binfmt_elf.cunsigned int len;
len729fs/binfmt_elf.clen = 0;
len803fs/binfmt_elf.clen = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000;
len805fs/binfmt_elf.cif (bss > len)
len806fs/binfmt_elf.cdo_mmap(NULL, len, bss-len,
len1099fs/binfmt_elf.cint i, len;
len1103fs/binfmt_elf.clen = current->mm->arg_end - current->mm->arg_start;
len1104fs/binfmt_elf.clen = len >= ELF_PRARGSZ ? ELF_PRARGSZ : len;
len1106fs/binfmt_elf.c(const char *)current->mm->arg_start, len);
len1107fs/binfmt_elf.cfor(i = 0; i < len; i++)
len1110fs/binfmt_elf.cpsinfo.pr_psargs[len] = 0;
len1198fs/binfmt_elf.cunsigned long len = vma->vm_end - vma->vm_start;
len1204fs/binfmt_elf.cprintk("elf_core_dump: writing %08lx %lx\n", addr, len);
len1206fs/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 inline 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;
len419fs/exec.cint len, offset = 0;
len435fs/exec.clen=0;    /* remember zero-padding */
len437fs/exec.clen++;
len439fs/exec.cif (p < len) {  /* this shouldn't happen - 128kB */
len443fs/exec.cwhile (len) {
len444fs/exec.c--p; --tmp; --len;
len948fs/exec.cunsigned int len;
len998fs/exec.clen = PAGE_ALIGN(ex.a_text + ex.a_data);
len1000fs/exec.cif (bss > len)
len1001fs/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);
len151fs/ext/namei.cint ext_lookup(struct inode * dir,const char * name, int len,
len165fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
len307fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
len325fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len341fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len349fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len384fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len400fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
len406fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len451fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len532fs/ext/namei.cint ext_rmdir(struct inode * dir, const char * name, int len)
len540fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
len586fs/ext/namei.cint ext_unlink(struct inode * dir, const char * name, int len)
len595fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
len630fs/ext/namei.cint ext_symlink(struct inode * dir, const char * name, int len, const char * symname)
len660fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len669fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len685fs/ext/namei.cint ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len700fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len707fs/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 */
len238fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len);
len246fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len254fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len);
len256fs/hpfs/hpfs_fs.cunsigned len);
len536fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len)
len539fs/hpfs/hpfs_fs.creturn p[0] == 0 && memcmp(p, p + 1, len - 1) == 0;
len953fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len)
len960fs/hpfs/hpfs_fs.cwhile (len--) {
len963fs/hpfs/hpfs_fs.cif (c == '\r' && len && *p == '\n')
len985fs/hpfs/hpfs_fs.cunsigned len)
len989fs/hpfs/hpfs_fs.cwhile (len--) {
len991fs/hpfs/hpfs_fs.cif (c == '\r' && (len == 0 || *in == '\n'));
len1110fs/hpfs/hpfs_fs.cstatic int hpfs_lookup(struct inode *dir, const char *name, int len,
len1131fs/hpfs/hpfs_fs.cif (name[0] == '.' && len == 1)
len1133fs/hpfs/hpfs_fs.celse if (name[0] == '.' && name[1] == '.' && len == 2)
len1138fs/hpfs/hpfs_fs.cde = map_dirent(dir, dir->i_hpfs_dno, name, len, &qbh);
len1233fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len1262fs/hpfs/hpfs_fs.cl = len < de->namelen ? len : de->namelen;
len1269fs/hpfs/hpfs_fs.ct = len - de->namelen;
len1286fs/hpfs/hpfs_fs.cname, len, qbh);
len1343fs/hpfs/hpfs_fs.cstatic void translate_hpfs_name(const unsigned char * from, int len, char * to, int lowercase)
len1345fs/hpfs/hpfs_fs.cwhile (len > 0) {
len1347fs/hpfs/hpfs_fs.clen--;
len75fs/isofs/dir.cstatic int isofs_name_translate(char * old, int len, char * new)
len79fs/isofs/dir.cfor (i = 0; i < len; i++) {
len87fs/isofs/dir.cif (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1')
len91fs/isofs/dir.cif (c == ';' && i == len - 2 && old[i + 1] == '1')
len115fs/isofs/dir.cint len, rrflag;
len222fs/isofs/dir.clen = de->name_len[0];
len224fs/isofs/dir.crrflag = get_rock_ridge_filename(de, &name, &len, inode);
len228fs/isofs/dir.crrflag = filldir(dirent, name, len, filp->f_pos, inode_number);
len229fs/isofs/dir.cdcache_add(inode, name, len, inode_number);
len239fs/isofs/dir.clen = isofs_name_translate(name, len, tmpname);
len240fs/isofs/dir.cif (filldir(dirent, tmpname, len, filp->f_pos, inode_number) < 0)
len242fs/isofs/dir.cdcache_add(inode, tmpname, len, inode_number);
len247fs/isofs/dir.cif (filldir(dirent, name, len, filp->f_pos, inode_number) < 0)
len250fs/isofs/dir.cdcache_add(inode, name, len, inode_number);
len27fs/isofs/namei.cstatic int isofs_match(int len,const char * name, const char * compare, int dlen)
len36fs/isofs/namei.cif (!len)
len45fs/isofs/namei.cif (len <= 2) printk("Match: %d %d %s %d %d \n",len,dlen,compare,de->name[0], dlen);
len48fs/isofs/namei.cif (dlen != len)
len50fs/isofs/namei.creturn !memcmp(name, compare, len);
len218fs/isofs/namei.cint isofs_lookup(struct inode * dir,const char * name, int len,
len225fs/isofs/namei.cprintk("lookup: %x %d\n",dir->i_ino, len);
len238fs/isofs/namei.cif (dcache_lookup(dir, name, len, &ino)) ino_back = dir->i_ino;
len241fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
len246fs/isofs/namei.cdcache_add(dir, name, len, ino);
len84fs/isofs/rock.clen = cont_size; \
len100fs/isofs/rock.cint len;
len115fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len121fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len123fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len125fs/isofs/rock.cchr += rr->len; 
len126fs/isofs/rock.clen -= rr->len;
len173fs/isofs/rock.cint len;
len181fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len187fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len189fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len191fs/isofs/rock.cchr += rr->len; 
len192fs/isofs/rock.clen -= rr->len;
len222fs/isofs/rock.cif((strlen(retname) + rr->len - 5) >= 254) {
len226fs/isofs/rock.cstrncat(retname, rr->u.NM.name, rr->len - 5);
len227fs/isofs/rock.cretnamlen += rr->len - 5;
len256fs/isofs/rock.cint len;
len262fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len270fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len272fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len274fs/isofs/rock.cchr += rr->len; 
len275fs/isofs/rock.clen -= rr->len;
len335fs/isofs/rock.cslen = rr->len - 5;
len342fs/isofs/rock.cinode->i_size += slp->len;
len357fs/isofs/rock.cslen -= slp->len + 2;
len358fs/isofs/rock.cslp = (struct SL_component *) (((char *) slp) + slp->len + 2);
len415fs/isofs/rock.cint len;
len457fs/isofs/rock.cSETUP_ROCK_RIDGE(raw_inode, chr, len);
len460fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len463fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len465fs/isofs/rock.cchr += rr->len; 
len466fs/isofs/rock.clen -= rr->len;
len478fs/isofs/rock.cslen = rr->len - 5;
len489fs/isofs/rock.cstrncat(rpnt,slp->text, slp->len);
len504fs/isofs/rock.cslen -= slp->len + 2;
len505fs/isofs/rock.cslp = (struct SL_component *) (((char *) slp) + slp->len + 2);
len44fs/isofs/rock.hunsigned char len;
len87fs/isofs/rock.hunsigned char len;
len23fs/minix/namei.cstatic inline int namecompare(int len, int maxlen,
len26fs/minix/namei.cif (len > maxlen)
len28fs/minix/namei.cif (len < maxlen && buffer[len])
len30fs/minix/namei.creturn !memcmp(name, buffer, len);
len40fs/minix/namei.cstatic int minix_match(int len, const char * name,
len48fs/minix/namei.cif (!de->inode || len > info->s_namelen)
len51fs/minix/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len53fs/minix/namei.creturn namecompare(len,info->s_namelen,name,de->name);
len107fs/minix/namei.cint minix_lookup(struct inode * dir,const char * name, int len,
len121fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
len211fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
len230fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
len246fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len255fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len287fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len303fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
len316fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len354fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len430fs/minix/namei.cint minix_rmdir(struct inode * dir, const char * name, int len)
len438fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len487fs/minix/namei.cint minix_unlink(struct inode * dir, const char * name, int len)
len497fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len542fs/minix/namei.cint minix_symlink(struct inode * dir, const char * name, int len, const char * symname)
len572fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len581fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
len597fs/minix/namei.cint minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len613fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len620fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len37fs/msdos/namei.cstatic int msdos_format_name(char conv,const char *name,int len,
len49fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) {
len52fs/msdos/namei.cwhile (len--) *res++ = '.';
len58fs/msdos/namei.cname++; len--;
len62fs/msdos/namei.cfor (walk = res; len && walk-res < 8; walk++) {
len64fs/msdos/namei.clen--;
len79fs/msdos/namei.cif (conv == 's' && len && c != '.') {
len81fs/msdos/namei.clen--;
len84fs/msdos/namei.cwhile (c != '.' && len--) c = *name++;
len87fs/msdos/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
len89fs/msdos/namei.clen--;
len100fs/msdos/namei.cif (conv == 's' && len) return -EINVAL;
len110fs/msdos/namei.cstatic int msdos_find(struct inode *dir,const char *name,int len,
len120fs/msdos/namei.cname,len, msdos_name,1,dotsOK);
len124fs/msdos/namei.cswitch(len){
len137fs/msdos/namei.cint msdos_lookup(struct inode *dir,const char *name,int len,
len155fs/msdos/namei.cif (len == 1 && name[0] == '.') {
len159fs/msdos/namei.cif (len == 2 && name[0] == '.' && name[1] == '.') {
len167fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
len241fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
len251fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len301fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
len310fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len353fs/msdos/namei.cif (msdos_rmdir(dir,name,len) < 0)
len386fs/msdos/namei.cint msdos_rmdir(struct inode *dir,const char *name,int len)
len397fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.')))
len399fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
len428fs/msdos/namei.cint len,
len439fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
len467fs/msdos/namei.cint msdos_unlink(struct inode *dir,const char *name,int len)
len469fs/msdos/namei.creturn msdos_unlinkx (dir,name,len,1);
len473fs/msdos/namei.cint msdos_unlink_umsdos(struct inode *dir,const char *name,int len)
len475fs/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;
len24fs/nfs/dir.cstatic int nfs_lookup(struct inode *dir, const char *name, int len,
len26fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
len28fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode);
len29fs/nfs/dir.cstatic int nfs_rmdir(struct inode *dir, const char *name, int len);
len30fs/nfs/dir.cstatic int nfs_unlink(struct inode *dir, const char *name, int len);
len31fs/nfs/dir.cstatic int nfs_symlink(struct inode *inode, const char *name, int len,
len34fs/nfs/dir.cconst char *name, int len);
len35fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len, int mode,
len327fs/nfs/dir.cstatic int nfs_lookup(struct inode *dir, const char *__name, int len,
len332fs/nfs/dir.cchar name[len > NFS_MAXNAMLEN? 1 : len+1];
len341fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len345fs/nfs/dir.cmemcpy(name,__name,len);
len346fs/nfs/dir.cname[len] = '\0';
len347fs/nfs/dir.cif (len == 1 && name[0] == '.') { /* cheat for "." */
len368fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
len382fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len403fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len,
len416fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len435fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
len447fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len462fs/nfs/dir.cstatic int nfs_rmdir(struct inode *dir, const char *name, int len)
len471fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len482fs/nfs/dir.cstatic int nfs_unlink(struct inode *dir, const char *name, int len)
len491fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len502fs/nfs/dir.cstatic int nfs_symlink(struct inode *dir, const char *name, int len,
len513fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len531fs/nfs/dir.cconst char *name, int len)
len547fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len68fs/nfs/file.cint    len;    /* size of data */
len121fs/nfs/file.c&& (cache[i].file_pos + cache[i].len >= pos + count)
len179fs/nfs/file.ccache[tail].len = result;
len768fs/nfs/nfsroot.cint len, status, *p;
len778fs/nfs/nfsroot.clen = strlen(nfs_path);
len779fs/nfs/nfsroot.c*p++ = htonl(len);
len780fs/nfs/nfsroot.cmemcpy(p, nfs_path, len);
len781fs/nfs/nfsroot.clen = (len + 3) >> 2;
len782fs/nfs/nfsroot.cp[len] = 0;
len783fs/nfs/nfsroot.cp += len;
len97fs/nfs/proc.c#define QUADLEN(len) (((len) + 3) >> 2)
len113fs/nfs/proc.cint len = strlen(string);
len114fs/nfs/proc.cint quadlen = QUADLEN(len);
len117fs/nfs/proc.c*p++ = htonl(len);
len118fs/nfs/proc.cmemcpy(p, string, len);
len124fs/nfs/proc.cunsigned int len = ntohl(*p++);
len125fs/nfs/proc.cif (len > maxlen)
len127fs/nfs/proc.cmemcpy(string, p, len);
len128fs/nfs/proc.cstring[len] = '\0';
len129fs/nfs/proc.creturn p + QUADLEN(len);
len132fs/nfs/proc.cstatic inline int *xdr_decode_string2(int *p, char **string, unsigned int *len,
len135fs/nfs/proc.c*len = ntohl(*p++);
len136fs/nfs/proc.cif (*len > maxlen)
len139fs/nfs/proc.creturn p + QUADLEN(*len);
len143fs/nfs/proc.cstatic inline int *xdr_encode_data(int *p, const char *data, int len)
len145fs/nfs/proc.cint quadlen = QUADLEN(len);
len148fs/nfs/proc.c*p++ = htonl(len);
len149fs/nfs/proc.cmemcpy_fromfs(p, data, len);
len156fs/nfs/proc.cunsigned len = *lenp = ntohl(*p++);
len157fs/nfs/proc.cif (len > maxlen)
len160fs/nfs/proc.cmemcpy_tofs(data, p, len);
len162fs/nfs/proc.cmemcpy(data, p, len);
len163fs/nfs/proc.creturn p + QUADLEN(len);
len341fs/nfs/proc.cint **p0, char **string, unsigned int *len, unsigned int maxlen)
len357fs/nfs/proc.cif (!(p = xdr_decode_string2(p, string, len, maxlen))) {
len381fs/nfs/proc.cint len;
len400fs/nfs/proc.cif (!(p = xdr_decode_data(p, data, &len, count, fs))) {
len405fs/nfs/proc.cstatus = len;
len406fs/nfs/proc.cPRINTK("NFS reply read %d\n", len);
len80fs/nfs/rpcsock.crpc_sendmsg(struct rpc_sock *rsock, struct msghdr *msg, int len)
len86fs/nfs/rpcsock.cdprintk("RPC: sending %d bytes (buf %p)\n", len, msg->msg_iov[0].iov_base);
len89fs/nfs/rpcsock.cresult = sock->ops->sendmsg(sock, msg, len, 0, 0);
len128fs/nfs/rpcsock.crpc_recvmsg(struct rpc_sock *rsock, struct msghdr *msg, int len,int flags)
len136fs/nfs/rpcsock.cdprintk("RPC: receiving %d bytes max (buf %p)\n", len, msg->msg_iov[0].iov_base);
len139fs/nfs/rpcsock.cresult = sock->ops->recvmsg(sock, msg, len, 1, flags, &alen);
len248fs/nfs/rpcsock.ciov.iov_len=rovr->len;
len250fs/nfs/rpcsock.cresult = rpc_recvmsg(rsock, &msg, rovr->len, 0);
len308fs/nfs/rpcsock.cslot->len = rlen;
len50fs/nfs/symlink.cunsigned int len;
len73fs/nfs/symlink.c&res, &len, NFS_MAXPATHLEN);
len83fs/nfs/symlink.cmemcpy(res2, res, len);
len84fs/nfs/symlink.cres2[len] = '\0';
len97fs/nfs/symlink.cunsigned int len;
len107fs/nfs/symlink.c&res, &len, buflen);
len110fs/nfs/symlink.cmemcpy_tofs(buffer, res, len);
len111fs/nfs/symlink.cput_user('\0', buffer + len);
len112fs/nfs/symlink.cerror = len;
len193fs/proc/array.cint i, len;
len198fs/proc/array.clen = sprintf(buffer,
len218fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
len219fs/proc/array.clen += sprintf(buffer + len,
len224fs/proc/array.creturn len;
len695fs/proc/array.cint len;
len713fs/proc/array.clen = sprintf(line, MAPS_LINE_FORMAT,
len717fs/proc/array.cif (column >= len) {
len724fs/proc/array.ci = len-column;
len730fs/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) {
len178fs/proc/root.cint len;
len182fs/proc/root.clen = 1 + sprintf(tmp, "%d", current->pid);
len183fs/proc/root.cif (buflen < len)
len184fs/proc/root.clen = buflen;
len185fs/proc/root.cmemcpy_tofs(buffer, tmp, len);
len186fs/proc/root.creturn len;
len306fs/proc/root.cint proc_match(int len,const char * name,struct proc_dir_entry * de)
len311fs/proc/root.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len313fs/proc/root.cif (de->namelen != len)
len315fs/proc/root.creturn !memcmp(name, de->name, len);
len318fs/proc/root.cint proc_lookup(struct inode * dir,const char * name, int len,
len338fs/proc/root.cif (!len)
len341fs/proc/root.cif (len == 1)
len343fs/proc/root.cif (name[1] == '.' && len == 2) {
len356fs/proc/root.cif (proc_match(len, name, de))
len374fs/proc/root.cstatic int proc_root_lookup(struct inode * dir,const char * name, int len,
len381fs/proc/root.cretval = proc_lookup(dir, name, len, result);
len388fs/proc/root.cwhile (len-- > 0) {
len80fs/proc/scsi.cint len, pos, begin;
len83fs/proc/scsi.cpos = len = sprintf(buffer, 
len86fs/proc/scsi.clen = 0;
len91fs/proc/scsi.clen -= (offset - begin);
len92fs/proc/scsi.cif(len > length)
len93fs/proc/scsi.clen = length;
len95fs/proc/scsi.creturn(len);
len230fs/read_write.cint len, nr;
len233fs/read_write.clen = vector->iov_len;
len236fs/read_write.cnr = fn(inode, file, base, len);
len244fs/read_write.cif (nr != len)
len29fs/smbfs/dir.cget_pname(struct inode *dir, const char *name, int len,
len33fs/smbfs/dir.cget_pname_static(struct inode *dir, const char *name, int len,
len47fs/smbfs/dir.cint len, struct inode **result);
len50fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode, 
len54fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode);
len57fs/smbfs/dir.csmb_rmdir(struct inode *dir, const char *name, int len);
len60fs/smbfs/dir.csmb_unlink(struct inode *dir, const char *name, int len);
len259fs/smbfs/dir.cint len;
len263fs/smbfs/dir.clen = strlen(entry->path);
len264fs/smbfs/dir.cif ((result = get_pname_static(inode, entry->path, len,
len281fs/smbfs/dir.cif (filldir(dirent, entry->path, len,
len341fs/smbfs/dir.cget_pname_static(struct inode *dir, const char *name, int len,
len345fs/smbfs/dir.cint   parentlen  = SMB_INOP(dir)->finfo.len;
len358fs/smbfs/dir.cif (len > SMB_MAXNAMELEN) {
len363fs/smbfs/dir.cif (len == 0 || (len == 1 && name[0] == '.')) {
len371fs/smbfs/dir.cif (len == 2 && name[0] == '.' && name[1] == '.') {
len393fs/smbfs/dir.clen = pos - parentname;
len395fs/smbfs/dir.cmemcpy(path, parentname, len);
len396fs/smbfs/dir.cpath[len] = '\0';
len400fs/smbfs/dir.cif (len + parentlen + 2 > SMB_MAXPATHLEN) 
len405fs/smbfs/dir.cmemcpy(path + parentlen + 1, name, len);
len406fs/smbfs/dir.cpath[parentlen + 1 + len] = '\0';
len407fs/smbfs/dir.clen = parentlen + len + 1;
len422fs/smbfs/dir.c*res_len = len;
len430fs/smbfs/dir.cget_pname(struct inode *dir, const char *name, int len,
len437fs/smbfs/dir.cif ((res = get_pname_static(dir,name,len,result,&result_len) != 0)) {
len466fs/smbfs/dir.cint error, len;
len480fs/smbfs/dir.clen = strlen(path);
len484fs/smbfs/dir.cpath, len, &newent);
len509fs/smbfs/dir.cnew_inode_info->finfo.len    = len;
len547fs/smbfs/dir.csmb_kfree_s(i->finfo.path, i->finfo.len+1);
len563fs/smbfs/dir.croot->finfo.len  = strlen(root->finfo.path);
len579fs/smbfs/dir.cif (root->finfo.len == 0) {
len585fs/smbfs/dir.croot->finfo.path, root->finfo.len,
len656fs/smbfs/dir.csmb_lookup(struct inode *dir, const char *__name, int len,
len676fs/smbfs/dir.cif (len == 0 || (len == 1 && __name[0] == '.')) {
len682fs/smbfs/dir.cif ((error = get_pname(dir, __name, len, &name, &len)) < 0) {
len740fs/smbfs/dir.cerror = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo);
len760fs/smbfs/dir.csmb_create(struct inode *dir, const char *name, int len, int mode,
len776fs/smbfs/dir.cif ((error = get_pname(dir, name, len, &path, &len)) < 0) {
len787fs/smbfs/dir.cerror = smb_proc_create(SMB_SERVER(dir), path, len, &entry);
len806fs/smbfs/dir.csmb_mkdir(struct inode *dir, const char *name, int len, int mode)
len818fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len823fs/smbfs/dir.cif ((error = smb_proc_mkdir(SMB_SERVER(dir), path, len)) == 0) {
len832fs/smbfs/dir.csmb_rmdir(struct inode *dir, const char *name, int len)
len842fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len849fs/smbfs/dir.cif ((error = smb_proc_rmdir(SMB_SERVER(dir), path, len)) == 0)
len857fs/smbfs/dir.csmb_unlink(struct inode *dir, const char *name, int len)
len867fs/smbfs/dir.cif ((error = get_pname_static(dir, name, len, path, &len)) < 0) {
len874fs/smbfs/dir.cif ((error = smb_proc_unlink(SMB_SERVER(dir), path, len)) == 0)
len44fs/smbfs/file.cdirent->path, dirent->len,
len66fs/smbfs/proc.csmb_encode_smb_length(byte *p, dword len)
len69fs/smbfs/proc.cp[2] = (len & 0xFF00) >> 8;
len70fs/smbfs/proc.cp[3] = (len & 0xFF);
len71fs/smbfs/proc.cif (len > 0xFFFF)
len77fs/smbfs/proc.csmb_encode_dialect(byte *p, const byte *name, int len)
len81fs/smbfs/proc.creturn p + len + 1;
len85fs/smbfs/proc.csmb_encode_ascii(byte *p, const byte *name, int len)
len89fs/smbfs/proc.creturn p + len + 1;
len93fs/smbfs/proc.csmb_encode_vblock(byte *p, const byte *data, word len, int fs)
len96fs/smbfs/proc.cp = smb_encode_word(p, len);
len98fs/smbfs/proc.cmemcpy_fromfs(p, data, len);
len100fs/smbfs/proc.cmemcpy(p, data, len);
len101fs/smbfs/proc.creturn p + len;
len107fs/smbfs/proc.cword len;
len114fs/smbfs/proc.clen = WVAL(p, 1);
len118fs/smbfs/proc.cmemcpy_tofs(data, p, len);
len120fs/smbfs/proc.cmemcpy(data, p, len);
len122fs/smbfs/proc.c*data_len = len;
len124fs/smbfs/proc.creturn p + len;
len130fs/smbfs/proc.cint len, pad = 0;
len132fs/smbfs/proc.clen = strlen(name);
len134fs/smbfs/proc.cif (len < 16)
len135fs/smbfs/proc.cpad = 16 - len;
len137fs/smbfs/proc.c*p ++ = 2 * (len + pad);
len346fs/smbfs/proc.cint i, j, len;
len353fs/smbfs/proc.clen = smb_len(packet), smb_valid_packet(packet));
len363fs/smbfs/proc.cif (len > 100)
len364fs/smbfs/proc.clen = 100;
len366fs/smbfs/proc.cfor (i = 0; i < len; i += 10) {
len369fs/smbfs/proc.cif (j < len)
len375fs/smbfs/proc.cif (j < len)
len529fs/smbfs/proc.csmb_proc_open(struct smb_server *server, const char *pathname, int len,
len542fs/smbfs/proc.cp = smb_setup_header(server, SMBopen, 2, 2 + len);
len545fs/smbfs/proc.csmb_encode_ascii(p, pathname, len);
len558fs/smbfs/proc.cp = smb_setup_header(server, SMBopen, 2, 2 + len);
len561fs/smbfs/proc.csmb_encode_ascii(p, pathname, len);
len755fs/smbfs/proc.csmb_proc_do_create(struct smb_server *server, const char *path, int len, 
len764fs/smbfs/proc.cp = smb_setup_header(server, command, 3, len + 2);
len767fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len787fs/smbfs/proc.csmb_proc_create(struct smb_server *server, const char *path, int len,
len790fs/smbfs/proc.creturn smb_proc_do_create(server, path, len, entry, SMBcreate);
len794fs/smbfs/proc.csmb_proc_mknew(struct smb_server *server, const char *path, int len,
len797fs/smbfs/proc.creturn smb_proc_do_create(server, path, len, entry, SMBmknew);
len827fs/smbfs/proc.csmb_proc_mkdir(struct smb_server *server, const char *path, const int len)
len835fs/smbfs/proc.cp = smb_setup_header(server, SMBmkdir, 0, 2 + len);
len836fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len848fs/smbfs/proc.csmb_proc_rmdir(struct smb_server *server, const char *path, const int len)
len856fs/smbfs/proc.cp = smb_setup_header(server, SMBrmdir, 0, 2 + len);
len857fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len869fs/smbfs/proc.csmb_proc_unlink(struct smb_server *server, const char *path, const int len)
len878fs/smbfs/proc.cp = smb_setup_header(server, SMBunlink, 1, 2 + len);
len880fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len1076fs/smbfs/proc.cfinfo->len  = strlen(finfo->path);
len1091fs/smbfs/proc.cfinfo->len  = strlen(finfo->path);
len1127fs/smbfs/proc.cfinfo->len = namelen;
len1378fs/smbfs/proc.csmb_proc_getattr_core(struct smb_server *server, const char *path, int len, 
len1390fs/smbfs/proc.cp = smb_setup_header(server, SMBgetatr, 0, 2 + len);
len1391fs/smbfs/proc.csmb_encode_ascii(p, path, len);
len1437fs/smbfs/proc.csmb_proc_getattr(struct smb_server *server, const char *path, int len, 
len1445fs/smbfs/proc.cif ((result=smb_proc_open(server,path,len,
len1449fs/smbfs/proc.creturn smb_proc_getattr_core(server,path,len,entry);
len1464fs/smbfs/proc.creturn smb_proc_getattr_core(server, path, len, entry);
len1473fs/smbfs/proc.cconst char *path, int len,
len1483fs/smbfs/proc.cp = smb_setup_header(server, SMBsetatr, 8, 4 + len);
len1486fs/smbfs/proc.cp = smb_encode_ascii(p, path, len);
len1540fs/smbfs/proc.creturn smb_proc_setattr_core(server, finfo->path, finfo->len,
len47fs/smbfs/sock.cstatic int _send(struct socket *sock, const void *buff, int len, int nonblock, unsigned flags) {
len52fs/smbfs/sock.ciov.iov_len  = len;
len60fs/smbfs/sock.creturn sock->ops->sendmsg(sock, &msg, len, nonblock, flags);
len64fs/smbfs/sock.csmb_data_callback(struct sock *sk,int len)
len216fs/smbfs/sock.cint len, result;
len257fs/smbfs/sock.clen = smb_len(peek_buf); 
len258fs/smbfs/sock.cif (len > max_raw_length) { 
len260fs/smbfs/sock.clen, max_raw_length);
len271fs/smbfs/sock.cwhile (already_read < len) {
len275fs/smbfs/sock.clen - already_read, 0, 0,
len496fs/smbfs/sock.cint len, result, result2;
len515fs/smbfs/sock.clen = smb_len(buffer) + 4;
len517fs/smbfs/sock.cDDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]);
len524fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
len564fs/smbfs/sock.cint len, result, result2;
len583fs/smbfs/sock.clen = smb_len(buffer) + 4;
len590fs/smbfs/sock.cDDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]);
len592fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
len628fs/smbfs/sock.cint len, result, result2;
len649fs/smbfs/sock.clen = smb_len(buffer) + 4;
len657fs/smbfs/sock.clen, buffer[8]);
len663fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
len106fs/super.cint err, len;
len115fs/super.clen = strlen(tmp->name) + 1;
len116fs/super.cerr = verify_area(VERIFY_WRITE, buf, len);
len119fs/super.cmemcpy_tofs(buf, tmp->name, len);
len164fs/super.cint len = 0;
len168fs/super.cwhile (tmp && len < PAGE_SIZE - 80) {
len169fs/super.clen += sprintf(buf+len, "%s\t%s\n",
len174fs/super.creturn len;
len25fs/sysv/namei.cstatic inline int namecompare(int len, int maxlen,
len28fs/sysv/namei.cif (len > maxlen)
len30fs/sysv/namei.cif (len < maxlen && buffer[len])
len32fs/sysv/namei.creturn !memcmp(name, buffer, len);
len42fs/sysv/namei.cstatic int sysv_match(int len, const char * name, struct sysv_dir_entry * de)
len44fs/sysv/namei.cif (!de->inode || len > SYSV_NAMELEN)
len47fs/sysv/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len49fs/sysv/namei.creturn namecompare(len,SYSV_NAMELEN,name,de->name);
len103fs/sysv/namei.cint sysv_lookup(struct inode * dir,const char * name, int len,
len117fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
len204fs/sysv/namei.cint sysv_create(struct inode * dir,const char * name, int len, int mode,
len223fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
len239fs/sysv/namei.cint sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len248fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len280fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len296fs/sysv/namei.cint sysv_mkdir(struct inode * dir, const char * name, int len, int mode)
len307fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len345fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len422fs/sysv/namei.cint sysv_rmdir(struct inode * dir, const char * name, int len)
len430fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len478fs/sysv/namei.cint sysv_unlink(struct inode * dir, const char * name, int len)
len488fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len532fs/sysv/namei.cint sysv_symlink(struct inode * dir, const char * name, int len, const char * symname)
len567fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len576fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
len592fs/sysv/namei.cint sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len608fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len615fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len197fs/umsdos/dir.c,info.fake.len,&inode);
len602fs/umsdos/dir.cint len)
len612fs/umsdos/dir.c&& len == 3
len622fs/umsdos/dir.cint len,
len629fs/umsdos/dir.cif (len == 1 && name[0] == '.'){
len633fs/umsdos/dir.c}else if (len == 2 && name[0] == '.' && name[1] == '.'){
len665fs/umsdos/dir.c}else if (umsdos_is_pseudodos(dir,name,len)){
len675fs/umsdos/dir.cret = umsdos_parse (name,len,&info);
len678fs/umsdos/dir.c,info.fake.len));
len690fs/umsdos/dir.cret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result);
len731fs/umsdos/dir.cint len,
len734fs/umsdos/dir.creturn umsdos_lookup_x(dir,name,len,result,0);
len763fs/umsdos/dir.cint len;
len765fs/umsdos/dir.clen = (int)(pt - start);
len769fs/umsdos/dir.cret = umsdos_rlookup_x(dir,start,len,result,1);
len771fs/umsdos/dir.cret = umsdos_lookup_x(dir,start,len,result,1);
len71fs/umsdos/inode.cint len,
len76fs/umsdos/inode.cret = msdos_lookup (dir,name,len,result);
len156fs/umsdos/ioctl.c,info.fake.fname,info.fake.len+1);
len74fs/umsdos/mangle.cchar *pt = info->fake.fname + info->fake.len;
len99fs/umsdos/mangle.cinfo->fake.len += 4;
len108fs/umsdos/mangle.cint umsdos_evalrecsize (int len)
len111fs/umsdos/mangle.cint nbrec = 1+((len-1+(dirent.name-(char*)&dirent))
len120fs/umsdos/mangle.cint umsdos_evalrecsize_old (int len)
len123fs/umsdos/mangle.cint size = len + (dirent.name-(char*)&dirent);
len136fs/umsdos/mangle.cint len,
len145fs/umsdos/mangle.cif (len > UMSDOS_MAXNAME) len = UMSDOS_MAXNAME;
len153fs/umsdos/mangle.cint msdos_len = len;
len192fs/umsdos/mangle.cif (len<=(8+1+3)){
len194fs/umsdos/mangle.cconst char *endpt = fname + len;
len255fs/umsdos/mangle.c|| (firstpt == NULL && len > 8)
len256fs/umsdos/mangle.c|| (len == UMSDOS_EMD_NAMELEN
len302fs/umsdos/mangle.cstrncpy (info->fake.fname,fname,len);
len304fs/umsdos/mangle.cbase_len = firstpt != NULL ? (int)(firstpt - fname) : len;
len373fs/umsdos/mangle.cinfo->fake.len = msdos_len;
len375fs/umsdos/mangle.cmemcpy (info->entry.name,fname,len);
len376fs/umsdos/mangle.cinfo->entry.name_len = len;
len382fs/umsdos/mangle.cinfo->recsize = umsdos_evalrecsize (len);
len161fs/umsdos/namei.cint len,
len165fs/umsdos/namei.cif (umsdos_is_pseudodos(dir,name,len)){
len176fs/umsdos/namei.c&& (len == 1 || (len == 2 && name[1] == '.'))){
len202fs/umsdos/namei.cint len,        /* Length of the name */
len210fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EEXIST);
len213fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len229fs/umsdos/namei.cret = msdos_create (dir,info.fake.fname,info.fake.len
len348fs/umsdos/namei.cPRINTK (("ret %d %d ",ret,new_info.fake.len));
len354fs/umsdos/namei.c,old_info.fake.fname,old_info.fake.len
len356fs/umsdos/namei.c,new_info.fake.fname,new_info.fake.len);
len423fs/umsdos/namei.cint len,
len442fs/umsdos/namei.cret = umsdos_create_any (dir,name,len,mode,0,flags,&inode);
len445fs/umsdos/namei.cint len = strlen(symname);
len449fs/umsdos/namei.cret = umsdos_file_write_kmem (inode,&filp,symname,len);
len452fs/umsdos/namei.cif (ret != len){
len461fs/umsdos/namei.cUMSDOS_unlink (dir,name,len);
len476fs/umsdos/namei.cint len,
len479fs/umsdos/namei.creturn umsdos_symlink_x (dir,name,len,symname,S_IFLNK|0777,0);
len488fs/umsdos/namei.cint len)
len567fs/umsdos/namei.c}else if ((ret = umsdos_nevercreat(dir,name,len,-EPERM))==0){
len617fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len
len634fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len,path
len667fs/umsdos/namei.cint len,        /* Length of the name */
len672fs/umsdos/namei.creturn umsdos_create_any (dir,name,len,mode,0,0,result);
len680fs/umsdos/namei.cint len,
len683fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EEXIST);
len686fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len703fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
len719fs/umsdos/namei.c,info.fake.len,&subdir);
len746fs/umsdos/namei.cint len,
len765fs/umsdos/namei.cint ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode);
len776fs/umsdos/namei.cint len)
len865fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len869fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&sdir);
len895fs/umsdos/namei.cumsdos_parse (name,len,&info);
len900fs/umsdos/namei.c,info.fake.len);
len930fs/umsdos/namei.cint len)
len932fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len935fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len960fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&inode);
len989fs/umsdos/namei.c,info.fake.len);
len86fs/umsdos/rdir.cint len,
len93fs/umsdos/rdir.c&& len == 2
len106fs/umsdos/rdir.cret = umsdos_real_lookup (dir,name,len,result);
len130fs/umsdos/rdir.cint len,
len133fs/umsdos/rdir.creturn umsdos_rlookup_x(dir,name,len,result,0);
len139fs/umsdos/rdir.cint len)
len156fs/umsdos/rdir.cif (umsdos_is_pseudodos(dir,name,len)){
len169fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len173fs/umsdos/rdir.cret = UMSDOS_rlookup (dir,name,len,&sdir);
len192fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len32fs/xiafs/namei.cstatic int xiafs_match(int len, const char * name, struct xiafs_direct * dep)
len36fs/xiafs/namei.cif (!dep || !dep->d_ino || len > _XIAFS_NAME_LEN)
len39fs/xiafs/namei.cif (!len && (dep->d_name[0]=='.') && (dep->d_name[1]=='\0'))
len41fs/xiafs/namei.cif (len != dep->d_name_len)
len43fs/xiafs/namei.cfor (i=0; i < len; i++)
len116fs/xiafs/namei.cint xiafs_lookup(struct inode * dir, const char * name, int len,
len130fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
len245fs/xiafs/namei.cint xiafs_create(struct inode * dir, const char * name, int len, int mode,
len263fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len279fs/xiafs/namei.cint xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev)
len287fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len320fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len336fs/xiafs/namei.cint xiafs_mkdir(struct inode * dir, const char * name, int len, int mode)
len342fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len386fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len486fs/xiafs/namei.cint xiafs_rmdir(struct inode * dir, const char * name, int len)
len494fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len538fs/xiafs/namei.cint xiafs_unlink(struct inode * dir, const char * name, int len)
len548fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len586fs/xiafs/namei.cint len, const char * symname)
len594fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
len621fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len638fs/xiafs/namei.cconst char * name, int len)
len653fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
len660fs/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);
len163include/asm-alpha/io.h#define memcpy_fromio(to,from,len)  _memcpy_fromio((to),(unsigned long)(from),(len))
len164include/asm-alpha/io.h#define memcpy_toio(to,from,len)  _memcpy_toio((unsigned long)(to),(from),(len))
len165include/asm-alpha/io.h#define memset_io(addr,c,len)    _memset_io((unsigned long)(addr),(c),(len))
len183include/asm-alpha/io.h#define eth_io_copy_and_sum(skb,src,len,unused)  memcpy_fromio((skb)->data,(src),(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));
len123include/asm-i386/checksum.hstatic inline unsigned short ip_compute_csum(unsigned char * buff, int len) {
len135include/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)
len71include/linux/cdrom.hunsigned short len;
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);
len216include/linux/mm.hextern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len,
len150include/linux/msdos_fs.hextern int msdos_lookup(struct inode *dir,const char *name,int len,
len152include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
len154include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
len155include/linux/msdos_fs.hextern int msdos_rmdir(struct inode *dir,const char *name,int len);
len156include/linux/msdos_fs.hextern int msdos_unlink(struct inode *dir,const char *name,int len);
len157include/linux/msdos_fs.hextern int msdos_unlink_umsdos(struct inode *dir,const char *name,int len);
len109include/linux/net.hint  (*listen)  (struct socket *sock, int len);
len170include/linux/netdevice.hunsigned len);
len230include/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)
len32include/linux/rpcsock.hint      len;
len66include/linux/skbuff.hunsigned long     len;      /* Length of actual data      */
len136include/linux/skbuff.hextern unsigned char *    skb_put(struct sk_buff *skb, int len);
len137include/linux/skbuff.hextern unsigned char *    skb_push(struct sk_buff *skb, int len);
len138include/linux/skbuff.hextern unsigned char *    skb_pull(struct sk_buff *skb, int len);
len141include/linux/skbuff.hextern void      skb_reserve(struct sk_buff *skb, int len);
len142include/linux/skbuff.hextern void       skb_trim(struct sk_buff *skb, int len);
len310include/linux/skbuff.hextern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
len313include/linux/skbuff.hskb->tail+=len;
len314include/linux/skbuff.hskb->len+=len;
len316include/linux/skbuff.hpanic("skput:over: %p:%d", __builtin_return_address(0),len);
len320include/linux/skbuff.hextern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
len322include/linux/skbuff.hskb->data-=len;
len323include/linux/skbuff.hskb->len+=len;
len325include/linux/skbuff.hpanic("skpush:under: %p:%d", __builtin_return_address(0),len);
len329include/linux/skbuff.hextern __inline__ unsigned char * skb_pull(struct sk_buff *skb, int len)
len331include/linux/skbuff.hif(len > skb->len)
len333include/linux/skbuff.hskb->data+=len;
len334include/linux/skbuff.hskb->len-=len;
len348include/linux/skbuff.hextern __inline__ void skb_reserve(struct sk_buff *skb, int len)
len350include/linux/skbuff.hskb->data+=len;
len351include/linux/skbuff.hskb->tail+=len;
len354include/linux/skbuff.hextern __inline__ void skb_trim(struct sk_buff *skb, int len)
len356include/linux/skbuff.hif(skb->len>len)
len358include/linux/skbuff.hskb->len=len;
len359include/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,
len120include/linux/socket.hextern void memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len);
len122include/linux/socket.hextern void memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len);
len183include/linux/soundcard.hlong len;  /* Size of the wave data in bytes */
len242include/linux/soundcard.hlong len;  /* Size of the sysex data in bytes */
len669include/linux/soundcard.hint len;
len680include/linux/soundcard.hint len;  /* Length of data in bytes */
len684include/linux/soundcard.hint len;
len936include/linux/soundcard.h#define SEQ_DEFINEBUF(len)    unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0
len940include/linux/soundcard.h#define _SEQ_NEEDBUF(len)    if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump()
len941include/linux/soundcard.h#define _SEQ_ADVBUF(len)    _seqbufptr += len
len958include/linux/soundcard.h#define _SEQ_NEEDBUF(len)  /* empty */
len1035include/linux/soundcard.h#define SEQ_SYSEX(dev, buf, len) \
len1036include/linux/soundcard.h{int i, l=(len); if (l>6)l=6;\
len1124include/linux/soundcard.h#define SEQ_WRPATCH(patchx, len)    {if (_seqbufptr) seqbuf_dump();\
len1125include/linux/soundcard.hif (write(seqfd, (char*)(patchx), len)==-1) \
len1127include/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,
len56include/net/ip.hint    len;    /* length of this fragment    */
len71include/net/ip.hint    len;    /* total length of original datagram  */
len88include/net/ip.hextern int     ip_send(struct rtable *rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr);
len93include/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);
len276include/net/sock.hstruct options *opt, int len,
len289include/net/sock.hunsigned short len, __u32 saddr,
len301include/net/sock.hint      (*sendmsg)(struct sock *sk, struct msghdr *msg, int len,
len303include/net/sock.hint      (*recvmsg)(struct sock *sk, struct msghdr *msg, int len,
len398include/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,
len389init/main.cint len = strlen(devnames[n]);
len390init/main.cif (!strncmp(line,devnames[n],len)) {
len392init/main.csimple_strtoul(line+len,NULL,0));
len59kernel/dma.cint i, len = 0;
len63kernel/dma.clen += sprintf(buf+len, "%2d: %s\n",
len68kernel/dma.creturn len;
len43kernel/ksyms.cextern void bcopy (const char *src, char *dst, int len);
len586kernel/module.cint len     = 0;  /* code from  net/ipv4/proc.c */
len598kernel/module.cp = buf + len;
len600kernel/module.clen += sprintf(p, "%08lx %s\t[%s]\n",
len604kernel/module.clen += sprintf(p, "%08lx %s\n",
len608kernel/module.cpos = begin + len;
len610kernel/module.clen   = 0;
len613kernel/module.cpos = begin + len;
len621kernel/module.clen -= (offset - begin);
len622kernel/module.cif (len > length)
len623kernel/module.clen = length;
len624kernel/module.creturn len;
len59kernel/printk.casmlinkage int sys_syslog(int type, char * buf, int len)
len74kernel/printk.cif (!buf || len < 0)
len76kernel/printk.cif (!len)
len78kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len90kernel/printk.cwhile (log_size && i < len) {
len107kernel/printk.cif (!buf || len < 0)
len109kernel/printk.cif (!len)
len111kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len114kernel/printk.ccount = len;
len137kernel/printk.cif (len < 1 || len > 8)
len139kernel/printk.cif (len < MINIMUM_CONSOLE_LOGLEVEL)
len140kernel/printk.clen = MINIMUM_CONSOLE_LOGLEVEL;
len141kernel/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;
len673kernel/sys.casmlinkage int sys_sethostname(char *name, int len)
len679kernel/sys.cif (len < 0 || len > __NEW_UTS_LEN)
len681kernel/sys.cerror = verify_area(VERIFY_READ, name, len);
len684kernel/sys.cmemcpy_fromfs(system_utsname.nodename, name, len);
len685kernel/sys.csystem_utsname.nodename[len] = 0;
len689kernel/sys.casmlinkage int sys_gethostname(char *name, int len)
len693kernel/sys.cif (len < 0)
len695kernel/sys.ci = verify_area(VERIFY_WRITE, name, len);
len699kernel/sys.cif (i > len)
len700kernel/sys.ci = len;
len709kernel/sys.casmlinkage int sys_setdomainname(char *name, int len)
len715kernel/sys.cif (len < 0 || len > __NEW_UTS_LEN)
len717kernel/sys.cerror = verify_area(VERIFY_READ, name, len);
len720kernel/sys.cmemcpy_fromfs(system_utsname.domainname, name, len);
len721kernel/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--)
len284mm/filemap.cstatic void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len)
len286mm/filemap.cfilemap_sync(vma, start, len, MS_ASYNC);
len378mm/filemap.casmlinkage int sys_msync(unsigned long start, size_t len, int flags)
len386mm/filemap.clen = (len + ~PAGE_MASK) & PAGE_MASK;
len387mm/filemap.cend = start + len;
len984mm/memory.cunsigned long len = mpnt->vm_end - start;
len989mm/memory.czap_page_range(mpnt->vm_mm, start, len);
len994mm/memory.cif (diff >= len)
len998mm/memory.clen = (len - diff) & PAGE_MASK;
len1005mm/memory.czap_page_range(mpnt->vm_mm, start, len);
len53mm/mmap.cunsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len,
len59mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len62mm/mmap.cif (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len)
len66mm/mmap.cif (off + len < off)
len104mm/mmap.cif (len > TASK_SIZE || addr > TASK_SIZE - len)
len107mm/mmap.caddr = get_unmapped_area(addr, len);
len127mm/mmap.cvma->vm_end = addr + len;
len157mm/mmap.cdo_munmap(addr, len);  /* Clear old maps */
len178mm/mmap.cunsigned long get_unmapped_area(unsigned long addr, unsigned long len)
len182mm/mmap.cif (len > TASK_SIZE)
len189mm/mmap.cif (TASK_SIZE - len < addr)
len195mm/mmap.cif (addr + len > vmm->vm_start) {
len594mm/mmap.cunsigned long addr, size_t len)
len597mm/mmap.cunsigned long end = addr + len;
len657mm/mmap.casmlinkage int sys_munmap(unsigned long addr, size_t len)
len659mm/mmap.creturn do_munmap(addr, len);
len668mm/mmap.cint do_munmap(unsigned long addr, size_t len)
len672mm/mmap.cif ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr)
len675mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len693mm/mmap.cfor ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) {
len718mm/mmap.cend = addr+len;
len728mm/mmap.czap_page_range(current->mm, 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);
len166net/appletalk/aarp.cint len=dev->hard_header_len+sizeof(struct elapaarp)+aarp_dl->header_length;
len167net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
len228net/appletalk/aarp.cint len=dev->hard_header_len+sizeof(struct elapaarp)+aarp_dl->header_length;
len229net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
len236net/appletalk/ddp.cint len=0;
len244net/appletalk/ddp.clen += sprintf (buffer,"Type local_addr  remote_addr tx_queue rx_queue st uid\n");
len247net/appletalk/ddp.clen += sprintf (buffer+len,"%02X   ", s->type);
len248net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X:%02X  ",
len250net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X:%02X  ",
len252net/appletalk/ddp.clen += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc);
len253net/appletalk/ddp.clen += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid);
len256net/appletalk/ddp.cpos=begin+len;
len260net/appletalk/ddp.clen=0;      /* Keep dumping into the buffer start */
len269net/appletalk/ddp.clen-=(offset-begin);    /* Remove unwanted header data from length */
len270net/appletalk/ddp.cif(len>length)
len271net/appletalk/ddp.clen=length;    /* Remove unwanted tail data from length */
len273net/appletalk/ddp.creturn len;
len843net/appletalk/ddp.cint len=0;
len847net/appletalk/ddp.clen += sprintf (buffer,"Interface    Address   Networks   Status\n");
len850net/appletalk/ddp.clen += sprintf (buffer+len,"%-16s %04X:%02X  %04X-%04X  %d\n",
len855net/appletalk/ddp.cpos=begin+len;
len858net/appletalk/ddp.clen=0;
len865net/appletalk/ddp.clen-=(offset-begin);
len866net/appletalk/ddp.cif(len>length)
len867net/appletalk/ddp.clen=length;
len868net/appletalk/ddp.creturn len;
len876net/appletalk/ddp.cint len=0;
len880net/appletalk/ddp.clen += sprintf (buffer,"Target        Router  Flags Dev\n");
len884net/appletalk/ddp.clen += sprintf (buffer+len,"Default     %5d:%-3d  %-4d  %s\n",
len890net/appletalk/ddp.clen += sprintf (buffer+len,"%04X:%02X     %5d:%-3d  %-4d  %s\n",
len894net/appletalk/ddp.cpos=begin+len;
len897net/appletalk/ddp.clen=0;
len904net/appletalk/ddp.clen-=(offset-begin);
len905net/appletalk/ddp.cif(len>length)
len906net/appletalk/ddp.clen=length;
len907net/appletalk/ddp.creturn len;
len921net/appletalk/ddp.cunsigned short atalk_checksum(struct ddpehdr *ddp, int len)
len926net/appletalk/ddp.clen-=4;    /* skip header 4 bytes */
len930net/appletalk/ddp.cwhile(len--)
len1058net/appletalk/ddp.cstatic void def_callback2(struct sock *sk, int len)
len1369net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
len1388net/appletalk/ddp.coriglen = skb->len;
len1390net/appletalk/ddp.cskb_trim(skb,min(skb->len,ddp->deh_len));
len1398net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
len1512net/appletalk/ddp.cstatic int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
len1528net/appletalk/ddp.cif(len>587)
len1565net/appletalk/ddp.csize=sizeof(struct ddpehdr)+len+ddp_dl->header_length;  /* For headers */
len1608net/appletalk/ddp.cddp->deh_len=len+sizeof(*ddp);
len1624net/appletalk/ddp.cprintk("SK %p: Copy user data (%d bytes).\n", sk, len);
len1626net/appletalk/ddp.cmemcpy_fromiovec(skb_put(skb,len),msg->msg_iov,len);
len1631net/appletalk/ddp.cddp->deh_sum=atalk_checksum(ddp, len+sizeof(*ddp));
len1694net/appletalk/ddp.cprintk("SK %p: Done write (%d).\n", sk, len);
len1695net/appletalk/ddp.creturn len;
len1782net/appletalk/ddp.camount=skb->len-sizeof(struct ddpehdr);
len374net/ax25/af_ax25.csk->data_ready(sk, skb->len);
len851net/ax25/af_ax25.cstatic void def_callback2(struct sock *sk, int len)
len1391net/ax25/af_ax25.cif (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type) == NULL) {
len1503net/ax25/af_ax25.csk->data_ready(sk, skb->len);
len1637net/ax25/af_ax25.csk->data_ready(sk, skb->len );
len1668net/ax25/af_ax25.cint len;
len1677net/ax25/af_ax25.clen = skb->data[0] + skb->data[1] * 256 - 5;
len1680net/ax25/af_ax25.cskb_trim(skb, len);  /* Set the length of the data */
len1685net/ax25/af_ax25.cstatic int ax25_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
len1759net/ax25/af_ax25.csize = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN;
len1768net/ax25/af_ax25.cskb_reserve(skb, size - len);
len1774net/ax25/af_ax25.cmemcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len);
len1792net/ax25/af_ax25.creturn len;
len1818net/ax25/af_ax25.creturn len;
len1850net/ax25/af_ax25.clength = skb->len + (skb->data - skb->h.raw);
len1854net/ax25/af_ax25.clength     = skb->len;
len1870net/ax25/af_ax25.cax25_parse_addr(skb->data, skb->len, NULL, &dest, &digi, NULL);
len1933net/ax25/af_ax25.camount = skb->len;
len2008net/ax25/af_ax25.cint len = 0;
len2014net/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");
len2022net/ax25/af_ax25.clen += sprintf(buffer + len, "%-9s ",
len2024net/ax25/af_ax25.clen += sprintf(buffer + len, "%-9s %-4s %2d %3d %3d %3d %3d/%03d %2d/%02d %3d/%03d %2d/%02d %3d %3d",
len2039net/ax25/af_ax25.clen += sprintf(buffer + len, " %5ld %5ld\n",
len2043net/ax25/af_ax25.clen += sprintf(buffer + len, "\n");
len2046net/ax25/af_ax25.cpos = begin + len;
len2049net/ax25/af_ax25.clen   = 0;
len2060net/ax25/af_ax25.clen   -= (offset - begin);
len2062net/ax25/af_ax25.cif (len > length) len = length;
len2064net/ax25/af_ax25.creturn(len);
len2176net/ax25/af_ax25.csize = skb->len;
len2208net/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 - 1) > 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;
len327net/ax25/ax25_subr.cunsigned char *ax25_parse_addr(unsigned char *buf, int len, ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags)
len331net/ax25/ax25_subr.cif (len < 14) return NULL;
len348net/ax25/ax25_subr.clen -= 2 * AX25_ADDR_LEN;
len355net/ax25/ax25_subr.cif (len < 7) return NULL;  /* Short packet */
len369net/ax25/ax25_subr.clen -= AX25_ADDR_LEN;
len381net/ax25/ax25_subr.cint len = 0;
len391net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len414net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len426net/ax25/ax25_subr.clen += AX25_ADDR_LEN;
len432net/ax25/ax25_subr.creturn len;
len484net/core/dev.cint dev_rint(unsigned char *buff, long len, int flags, struct device *dev)
len492net/core/dev.cif (dev == NULL || buff == NULL || len <= 0) 
len509net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
len523net/core/dev.cto = skb_put(skb,len);
len524net/core/dev.cleft = len;
len526net/core/dev.clen2 = len;
len805net/core/dev.cint len;
len816net/core/dev.clen = ifc.ifc_len;
len824net/core/dev.cerr=verify_area(VERIFY_WRITE,pos,len);
len845net/core/dev.cif (len < sizeof(struct ifreq)) 
len854net/core/dev.clen -= sizeof(struct ifreq);    
len908net/core/dev.cint len=0;
len920net/core/dev.clen+=size;
len925net/core/dev.csize = sprintf_stats(buffer+len, dev);
len926net/core/dev.clen+=size;
len927net/core/dev.cpos=begin+len;
len931net/core/dev.clen=0;
len939net/core/dev.clen-=(offset-begin);    /* Start slop */
len940net/core/dev.cif(len>length)
len941net/core/dev.clen=length;    /* Ending slop */
len942net/core/dev.creturn len;
len31net/core/iovec.cint len=0;
len59net/core/iovec.clen+=iov[ct].iov_len;
len62net/core/iovec.creturn len;
len69net/core/iovec.cvoid memcpy_toiovec(struct iovec *iov, unsigned char *kdata, int len)
len71net/core/iovec.cwhile(len>0)
len75net/core/iovec.cint copy = min(iov->iov_len,len);
len78net/core/iovec.clen-=copy;
len90net/core/iovec.cvoid memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len)
len92net/core/iovec.cwhile(len>0)
len96net/core/iovec.cint copy=min(len,iov->iov_len);
len98net/core/iovec.clen-=copy;
len167net/core/skbuff.cif(skb->tail-skb->data!=skb->len)
len171net/core/skbuff.cskb,skb->data,skb->end,skb->len);
len365net/core/skbuff.cunsigned char *skb_put(struct sk_buff *skb, int len)
len369net/core/skbuff.cskb->tail+=len;
len370net/core/skbuff.cskb->len+=len;
len373net/core/skbuff.cpanic("skput:over: %p:%d", __builtin_return_address(0),len);
len377net/core/skbuff.cunsigned char *skb_push(struct sk_buff *skb, int len)
len380net/core/skbuff.cskb->data-=len;
len381net/core/skbuff.cskb->len+=len;
len384net/core/skbuff.cpanic("skpush:under: %p:%d", __builtin_return_address(0),len);
len388net/core/skbuff.cunsigned char * skb_pull(struct sk_buff *skb, int len)
len391net/core/skbuff.cif(len>skb->len)
len393net/core/skbuff.cskb->data+=len;
len394net/core/skbuff.cskb->len-=len;
len410net/core/skbuff.cvoid skb_reserve(struct sk_buff *skb, int len)
len413net/core/skbuff.cskb->data+=len;
len414net/core/skbuff.cskb->tail+=len;
len422net/core/skbuff.cvoid skb_trim(struct sk_buff *skb, int len)
len425net/core/skbuff.cif(skb->len>len)
len427net/core/skbuff.cskb->len=len;
len428net/core/skbuff.cskb->tail=skb->data+len;
len504net/core/skbuff.cint len=size;
len569net/core/skbuff.cskb->end=bptr+len;
len570net/core/skbuff.cskb->len=0;
len618net/core/skbuff.cskb_put(n,skb->len);
len557net/core/sock.cskb->saddr, skb->len, skb->daddr, 1,
len90net/ethernet/eth.cvoid *daddr, void *saddr, unsigned len)
len102net/ethernet/eth.ceth->h_proto = htons(len);
len13net/ethernet/pe2.cdev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
len549net/ipv4/af_inet.cstatic void def_callback2(struct sock *sk,int len)
len649net/ipv4/arp.cdev->hard_header(skb,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len);
len1274net/ipv4/arp.cint len=0;
len1285net/ipv4/arp.clen+=size;
len1319net/ipv4/arp.csize = sprintf(buffer+len,
len1326net/ipv4/arp.csize += sprintf(buffer+len+size,
len1331net/ipv4/arp.csize += sprintf(buffer+len+size,
len1339net/ipv4/arp.clen += size;
len1343net/ipv4/arp.clen=0;
len1350net/ipv4/arp.c*start = buffer+len-(pos-offset);  /* Start of wanted data */
len1351net/ipv4/arp.clen = pos-offset;      /* Start slop */
len1352net/ipv4/arp.cif (len>length)
len1353net/ipv4/arp.clen = length;      /* Ending slop */
len1354net/ipv4/arp.creturn len;
len151net/ipv4/icmp.cvoid (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len);
len339net/ipv4/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len470net/ipv4/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 source, __u32 daddr, int len)
len540net/ipv4/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len546net/ipv4/icmp.cicmp_param.data_len=len;
len560net/ipv4/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len569net/ipv4/icmp.cif(len<12)
len610net/ipv4/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len627net/ipv4/icmp.cstatic void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
len637net/ipv4/icmp.c__u32 daddr, unsigned short len,
len647net/ipv4/icmp.cif (ip_compute_csum((unsigned char *) icmph, len)) 
len694net/ipv4/icmp.clen-=sizeof(struct icmphdr);
len696net/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)))
len42net/ipv4/ip_forward.cstatic void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr)
len50net/ipv4/ip_forward.cif(len>65515)
len51net/ipv4/ip_forward.clen=65515;
len60net/ipv4/ip_forward.ciph->tot_len  =  htons(skb->len);
len70net/ipv4/ip_forward.cif (out->hard_header && out->hard_header(skb, out, ETH_P_IP, NULL, NULL, len)<0)
len245net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) {
len255net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + encap + 15, GFP_ATOMIC);
len259net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
len281net/ipv4/ip_forward.cip_encap(skb2,skb->len, dev2, raddr);
len285net/ipv4/ip_forward.cip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr);
len292net/ipv4/ip_forward.cptr = skb_put(skb2,skb->len);
len299net/ipv4/ip_forward.cmemcpy(ptr, skb->h.raw, skb->len);
len313net/ipv4/ip_forward.cip_encap(skb,skb->len, dev2, raddr);
len332net/ipv4/ip_forward.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
len399net/ipv4/ip_forward.cif(skb2->len > dev2->mtu + dev2->hard_header_len)
len64net/ipv4/ip_fragment.cextern __inline__ void frag_kfree_s(void *ptr, int len)
len69net/ipv4/ip_fragment.cip_frag_mem-=len;
len71net/ipv4/ip_fragment.ckfree_s(ptr,len);
len107net/ipv4/ip_fragment.cfp->len = end - offset;
len281net/ipv4/ip_fragment.cqp->len = 0;
len314net/ipv4/ip_fragment.cif (qp->len == 0)
len347net/ipv4/ip_fragment.cint count, len;
len352net/ipv4/ip_fragment.clen = qp->ihlen + qp->len;
len354net/ipv4/ip_fragment.cif ((skb = dev_alloc_skb(len)) == NULL)
len363net/ipv4/ip_fragment.cskb_put(skb,len);
len378net/ipv4/ip_fragment.cif(count+fp->len > skb->len)
len386net/ipv4/ip_fragment.cmemcpy((ptr + fp->offset), fp->ptr, fp->len);
len387net/ipv4/ip_fragment.ccount += fp->len;
len500net/ipv4/ip_fragment.cqp->len = end;
len540net/ipv4/ip_fragment.ctmp->len -= i;        /* so reduce size of  */
len547net/ipv4/ip_fragment.cif (tmp->len <= 0)
len624net/ipv4/ip_fragment.cint left, mtu, hlen, len;
len696net/ipv4/ip_fragment.clen = left;
len698net/ipv4/ip_fragment.cif (len > mtu)
len699net/ipv4/ip_fragment.clen = mtu;
len702net/ipv4/ip_fragment.cif (len < left)
len704net/ipv4/ip_fragment.clen/=8;
len705net/ipv4/ip_fragment.clen*=8;
len711net/ipv4/ip_fragment.cif ((skb2 = alloc_skb(len + hlen+15,GFP_ATOMIC)) == NULL)
len726net/ipv4/ip_fragment.cskb_put(skb2,len + hlen);
len752net/ipv4/ip_fragment.cmemcpy(skb2->h.raw + hlen, ptr, len);
len753net/ipv4/ip_fragment.cleft -= len;
len779net/ipv4/ip_fragment.cptr += len;
len780net/ipv4/ip_fragment.coffset += len;
len635net/ipv4/ip_fw.cwhile (skb->len - ((unsigned char *)data - skb->h.raw) > 18)
len735net/ipv4/ip_fw.cprintk("MASQUERADE: resizing needed for %d bytes (%ld)\n",diff, skb->len);
len737net/ipv4/ip_fw.cskb2 = alloc_skb(MAX_HEADER + skb->len+diff, GFP_ATOMIC);
len744net/ipv4/ip_fw.cskb_put(skb2,skb->len + diff);
len761net/ipv4/ip_fw.cskb->len - (data-(char *)skb->data));
len767net/ipv4/ip_fw.ciph->tot_len = htons(skb->len + diff);
len781net/ipv4/ip_fw.cunsigned long daddr, int len)
len784net/ipv4/ip_fw.cuh->check=csum_tcpudp_magic(saddr,daddr,len,
len785net/ipv4/ip_fw.cIPPROTO_UDP, csum_partial((char *)uh,len,0));
len853net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr - skb->h.raw);
len875net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr-skb->h.raw);
len948net/ipv4/ip_fw.cint size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw);
len1040net/ipv4/ip_fw.cstatic int add_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl,int len)
len1064net/ipv4/ip_fw.cmemcpy(ftmp, frwl, len);
len1065net/ipv4/ip_fw.cif (len == sizeof (struct ip_fw_old))
len1304net/ipv4/ip_fw.cstruct ip_fw *check_ipfw_struct(struct ip_fw *frwl, int len)
len1307net/ipv4/ip_fw.cif ( len != sizeof(struct ip_fw) && len != sizeof(struct ip_fw_old))
len1310net/ipv4/ip_fw.cprintk("ip_fw_ctl: len=%d, want %d\n",len, sizeof(struct ip_fw));
len1367net/ipv4/ip_fw.cint ip_acct_ctl(int stage, void *m, int len)
len1385net/ipv4/ip_fw.cif (!(frwl=check_ipfw_struct(m,len)))
len1391net/ipv4/ip_fw.creturn( add_to_chain(&ip_acct_chain,frwl,len));
len1412net/ipv4/ip_fw.cint ip_fw_ctl(int stage, void *m, int len)
len1457net/ipv4/ip_fw.cif ( len < sizeof(struct ip_fwpkt) )
len1461net/ipv4/ip_fw.clen, sizeof(struct ip_fwpkt));
len1503net/ipv4/ip_fw.cfrwl=check_ipfw_struct(m,len);
len1510net/ipv4/ip_fw.creturn(add_to_chain(&ip_fw_blk_chain,frwl,len));
len1512net/ipv4/ip_fw.creturn(add_to_chain(&ip_fw_fwd_chain,frwl,len));
len1543net/ipv4/ip_fw.cint len, p;
len1551net/ipv4/ip_fw.clen=sprintf(buffer, "IP firewall block rules, default %d\n",
len1556net/ipv4/ip_fw.clen=sprintf(buffer, "IP firewall forward rules, default %d\n",
len1563net/ipv4/ip_fw.clen=sprintf(buffer,"IP accounting rules\n");
len1569net/ipv4/ip_fw.clen=0;
len1578net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ",
len1582net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%u %u %-9lu %-9lu",
len1585net/ipv4/ip_fw.clen+=sprintf(buffer+len, " %u", i->fw_pts[p]);
len1586net/ipv4/ip_fw.clen+=sprintf(buffer+len, " M%04X", i->fw_priority);
len1587net/ipv4/ip_fw.cbuffer[len++]='\n';
len1588net/ipv4/ip_fw.cbuffer[len]='\0';
len1589net/ipv4/ip_fw.cpos=begin+len;
len1592net/ipv4/ip_fw.clen=0;
len1607net/ipv4/ip_fw.clen-=(offset-begin);
len1608net/ipv4/ip_fw.cif(len>length)
len1609net/ipv4/ip_fw.clen=length;  
len1610net/ipv4/ip_fw.creturn len;
len1650net/ipv4/ip_fw.cint len=0;
len1652net/ipv4/ip_fw.clen=sprintf(buffer,"Prc FromIP   FPrt ToIP     TPrt Masq Init-seq Delta PDelta Expires\n"); 
len1662net/ipv4/ip_fw.clen+=sprintf(buffer+len,"%s %08lX:%04X %08lX:%04X %04X %08X %5d %5d %lu\n",
len1671net/ipv4/ip_fw.cpos=begin+len;
len1674net/ipv4/ip_fw.clen=0;
len1683net/ipv4/ip_fw.clen-=(offset-begin);
len1684net/ipv4/ip_fw.cif(len>length)
len1685net/ipv4/ip_fw.clen=length;
len1686net/ipv4/ip_fw.creturn len;
len241net/ipv4/ip_input.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
len242net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
len369net/ipv4/ip_options.cif (ts->ptr+3 > ts->len) 
len384net/ipv4/ip_options.cif (ts->ptr+7 > ts->len) 
len400net/ipv4/ip_options.cif (ts->ptr+7 > ts->len) 
len69net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
len70net/ipv4/ip_output.cstruct sk_buff *newskb=dev_alloc_skb(len+dev->hard_header_len+15);
len89net/ipv4/ip_output.cip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
len93net/ipv4/ip_output.cnewskb->ip_hdr=(struct iphdr *)skb_put(newskb, len);
len99net/ipv4/ip_output.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
len113net/ipv4/ip_output.cint ip_send(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
len138net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
len149net/ipv4/ip_output.cstatic int ip_send_room(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
len170net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
len191net/ipv4/ip_output.cint len, int tos, int ttl, struct rtable ** rp)
len260net/ipv4/ip_output.ctmp = ip_send_room(rt, skb, raddr, len, *dev, saddr);
len262net/ipv4/ip_output.ctmp = ip_send(rt, skb, raddr, len, *dev, saddr);
len363net/ipv4/ip_output.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
len48net/ipv4/ip_sockglue.cint len=0;
len51net/ipv4/ip_sockglue.clen=sprintf(buffer,"Device    : Count\tGroup    Users Timer\n");  
len59net/ipv4/ip_sockglue.clen+=sprintf(buffer+len,"%-10s: %5d\n",
len63net/ipv4/ip_sockglue.clen+=sprintf(buffer+len,
len67net/ipv4/ip_sockglue.cpos=begin+len;
len70net/ipv4/ip_sockglue.clen=0;
len80net/ipv4/ip_sockglue.clen-=(offset-begin);
len81net/ipv4/ip_sockglue.cif(len>length)
len82net/ipv4/ip_sockglue.clen=length;  
len83net/ipv4/ip_sockglue.creturn len;
len424net/ipv4/ip_sockglue.cint len;
len512net/ipv4/ip_sockglue.clen=strlen(sk->ip_mc_name);
len513net/ipv4/ip_sockglue.cerr=verify_area(VERIFY_WRITE, optval, len);
len516net/ipv4/ip_sockglue.cput_user(len,(int *) optlen);
len517net/ipv4/ip_sockglue.cmemcpy_tofs((void *)optval,sk->ip_mc_name, len);
len53net/ipv4/ipip.c__u32 daddr, unsigned short len, __u32 saddr,
len278net/ipv4/ipmr.cskb->ip_hdr->tot_len=htons(skb->len);      /* Fix the length */
len710net/ipv4/ipmr.cvif->bytes_out+=skb->len;
len734net/ipv4/ipmr.cvif_table[vif].bytes_in+=skb->len;
len789net/ipv4/ipmr.cint len=0;
len795net/ipv4/ipmr.clen += sprintf(buffer,
len797net/ipv4/ipmr.cpos=len;
len806net/ipv4/ipmr.csize = sprintf(buffer+len, "%-10s %8ld  %7ld  %8ld   %7ld   %05X %08lX %08lX\n",
len809net/ipv4/ipmr.clen+=size;
len813net/ipv4/ipmr.clen=0;
len821net/ipv4/ipmr.clen-=(offset-begin);
len822net/ipv4/ipmr.cif(len>length)
len823net/ipv4/ipmr.clen=length;
len824net/ipv4/ipmr.creturn len;
len830net/ipv4/ipmr.cint len=0;
len836net/ipv4/ipmr.clen += sprintf(buffer,
len838net/ipv4/ipmr.cpos=len;
len866net/ipv4/ipmr.csize = sprintf(buffer+len, "%08lX %08lX %-8s %s\n",
len871net/ipv4/ipmr.clen+=size;
len875net/ipv4/ipmr.clen=0;
len889net/ipv4/ipmr.clen-=(offset-begin);
len890net/ipv4/ipmr.cif(len>length)
len891net/ipv4/ipmr.clen=length;
len892net/ipv4/ipmr.creturn len;
len123net/ipv4/packet.cstatic int packet_sendmsg(struct sock *sk, struct msghdr *msg, int len,
len165net/ipv4/packet.cif(len>dev->mtu+dev->hard_header_len)
len168net/ipv4/packet.cskb = sock_wmalloc(sk, len, 0, GFP_KERNEL);
len187net/ipv4/packet.cmemcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len);
len198net/ipv4/packet.creturn(len);
len379net/ipv4/packet.cint packet_recvmsg(struct sock *sk, struct msghdr *msg, int len,
len427net/ipv4/packet.ccopied = min(len, skb->len);
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;
len482net/ipv4/rarp.cint len=0;
len493net/ipv4/rarp.clen+=size;
len500net/ipv4/rarp.clen+=size;
len512net/ipv4/rarp.csize = sprintf(buffer+len,
len523net/ipv4/rarp.clen+=size;
len524net/ipv4/rarp.cpos=begin+len;
len528net/ipv4/rarp.clen=0;
len538net/ipv4/rarp.clen   -= (offset-begin);  /* Start slop */
len539net/ipv4/rarp.cif (len>length)
len540net/ipv4/rarp.clen = length;    /* Ending slop */
len541net/ipv4/rarp.creturn len;
len181net/ipv4/raw.cint len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len)
len226net/ipv4/raw.cif(len>65535)
len228net/ipv4/raw.cerr=ip_build_xmit(sk, raw_getrawfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock);
len232net/ipv4/raw.cif(len>65535-sizeof(struct iphdr))
len234net/ipv4/raw.cerr=ip_build_xmit(sk, raw_getfrag, from, len, sin.sin_addr.s_addr, 0, sk->opt, flags, sin.sin_port, noblock);
len236net/ipv4/raw.creturn err<0?err:len;
len243net/ipv4/raw.cstatic int raw_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, 
len247net/ipv4/raw.creturn raw_sendto(sk,msg->msg_iov[0].iov_base,len, noblock, flags, msg->msg_name, msg->msg_namelen);
len259net/ipv4/raw.cif(len>65515)
len261net/ipv4/raw.cbuf=kmalloc(len, GFP_KERNEL);
len264net/ipv4/raw.cmemcpy_fromiovec(buf, msg->msg_iov, len);
len267net/ipv4/raw.cerr=raw_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen);
len269net/ipv4/raw.ckfree_s(buf,len);
len298net/ipv4/raw.cint raw_recvmsg(struct sock *sk, struct msghdr *msg, int len,
len319net/ipv4/raw.ccopied = min(len, skb->len);
len799net/ipv4/route.cint len=0;
len809net/ipv4/route.clen = 128;
len827net/ipv4/route.clen = 0;
len855net/ipv4/route.clen=0;
len864net/ipv4/route.csprintf(buffer+len,"%-127s\n",temp);
len866net/ipv4/route.clen += 128;
len877net/ipv4/route.c*start = buffer+len-(pos-offset);
len878net/ipv4/route.clen = pos - offset;
len879net/ipv4/route.cif (len>length)
len880net/ipv4/route.clen = length;
len881net/ipv4/route.creturn len;
len886net/ipv4/route.cint len=0;
len897net/ipv4/route.clen = 128;
len916net/ipv4/route.clen = 0;
len924net/ipv4/route.csprintf(buffer+len,"%-127s\n",temp);
len925net/ipv4/route.clen += 128;
len935net/ipv4/route.c*start = buffer+len-(pos-offset);
len936net/ipv4/route.clen = pos-offset;
len937net/ipv4/route.cif (len>length)
len938net/ipv4/route.clen = length;
len939net/ipv4/route.creturn len;
len722net/ipv4/tcp.cif(dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, skb->len)<0)
len1168net/ipv4/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
len1342net/ipv4/tcp.cunsigned short tcp_check(struct tcphdr *th, int len,
len1345net/ipv4/tcp.creturn csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base);
len1351net/ipv4/tcp.cunsigned long daddr, int len, struct sock *sk)
len1354net/ipv4/tcp.cth->check = tcp_check(th, len, saddr, daddr,
len1355net/ipv4/tcp.ccsum_partial((char *)th,len,0));
len1373net/ipv4/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
len1379net/ipv4/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
len1382net/ipv4/tcp.cskb, skb->data, th, skb->len);
len1687net/ipv4/tcp.cint len, int nonblock, int flags)
len1857net/ipv4/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), seglen);
len1866net/ipv4/tcp.clen -= copy;
len1870net/ipv4/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
len2013net/ipv4/tcp.clen -= copy;
len2225net/ipv4/tcp.cstruct msghdr *msg, int len, int flags, int *addr_len)
len2288net/ipv4/tcp.cint len, int nonblock, int flags, int *addr_len)
len2308net/ipv4/tcp.creturn tcp_recv_urg(sk, nonblock, msg, len, flags, addr_len);
len2323net/ipv4/tcp.cwhile (len > 0) 
len2351net/ipv4/tcp.cif (offset < skb->len)
len2421net/ipv4/tcp.cused = skb->len - offset;
len2422net/ipv4/tcp.cif (len < used)
len2423net/ipv4/tcp.cused = len;
len2463net/ipv4/tcp.clen -= used;
len2475net/ipv4/tcp.cif (used + offset < skb->len)
len3347net/ipv4/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
len3383net/ipv4/tcp.cextern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
len3459net/ipv4/tcp.cif (len != th->doff*4) 
len3988net/ipv4/tcp.csk->fin_seq = th->seq + skb->len + th->syn + th->fin;
len4074net/ipv4/tcp.cunsigned long saddr, unsigned short len)
len4083net/ipv4/tcp.cskb_trim(skb,len-(th->doff*4));
len4090net/ipv4/tcp.csk->bytes_rcv += skb->len;
len4092net/ipv4/tcp.cif (skb->len == 0 && !th->fin) 
len4119net/ipv4/tcp.cif(skb->len)  /* We don't care if it's just an ack or
len4122net/ipv4/tcp.cnew_seq= th->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
len4198net/ipv4/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
len4233net/ipv4/tcp.cth->ack_seq = th->seq + skb->len;
len4433net/ipv4/tcp.cunsigned long saddr, unsigned long len)
len4456net/ipv4/tcp.cif (ptr >= len)
len4704net/ipv4/tcp.cextern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len,
len4709net/ipv4/tcp.cnext_seq = len - 4*th->doff;
len4794net/ipv4/tcp.c__u32 daddr, unsigned short len,
len4855net/ipv4/tcp.c(skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))||
len4856net/ipv4/tcp.c(!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0)))
len4998net/ipv4/tcp.cif(!tcp_ack(sk,th,saddr,len))
len5117net/ipv4/tcp.cif(!tcp_sequence(sk,th,len,opt,saddr,dev))
len5142net/ipv4/tcp.cif(th->ack && !tcp_ack(sk,th,saddr,len))
len5177net/ipv4/tcp.cif(tcp_urg(sk, th, saddr, len))
len5188net/ipv4/tcp.cif(tcp_data(skb,sk, saddr, len))
len5342net/ipv4/tcp.cow_size = skb->len - win_size - 
len5346net/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;
len138net/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);
len205net/ipv4/udp.cstatic unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base)
len207net/ipv4/udp.creturn(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base));
len230net/ipv4/udp.cunsigned int len;
len234net/ipv4/udp.clen = fraglen;
len240net/ipv4/udp.clen = fraglen-sizeof(struct udphdr);
len244net/ipv4/udp.cufh->wcheck = csum_partial_copy_fromuser(src, dst, len, ufh->wcheck);
len250net/ipv4/udp.cntohs(ufh->uh.len),
len270net/ipv4/udp.cunsigned int len;
len274net/ipv4/udp.clen = fraglen;
len280net/ipv4/udp.clen = fraglen-sizeof(struct udphdr);
len284net/ipv4/udp.cmemcpy_fromfs(dst,src,len);
len295net/ipv4/udp.cconst unsigned char *from, int len, int rt,
len298net/ipv4/udp.cint ulen = len + sizeof(struct udphdr);
len307net/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,
len392net/ipv4/udp.ctmp = udp_send(sk, usin, from, len, flags, saddr, noblock);
len403net/ipv4/udp.cstatic int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, 
len407net/ipv4/udp.creturn udp_sendto(sk,msg->msg_iov[0].iov_base,len, noblock, flags, msg->msg_name, msg->msg_namelen);
len419net/ipv4/udp.cif(len>65515)
len421net/ipv4/udp.cbuf=kmalloc(len, GFP_KERNEL);
len424net/ipv4/udp.cmemcpy_fromiovec(buf, msg->msg_iov, len);
len427net/ipv4/udp.cerr=udp_sendto(sk,buf,len, noblock, flags, msg->msg_name, msg->msg_namelen);
len429net/ipv4/udp.ckfree_s(buf,len);
len471net/ipv4/udp.camount = skb->len;
len493net/ipv4/udp.cint udp_recvmsg(struct sock *sk, struct msghdr *msg, int len,
len518net/ipv4/udp.ctruesize = skb->len - sizeof(struct udphdr);
len519net/ipv4/udp.ccopied = min(len, truesize);
len589net/ipv4/udp.c__u32 daddr, unsigned short len,
len612net/ipv4/udp.culen = ntohs(uh->len);
len614net/ipv4/udp.cif (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) 
len616net/ipv4/udp.cNETDEBUG(printk("UDP: short packet: %d/%d\n", ulen, len));
len630net/ipv4/udp.c( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) ||
len631net/ipv4/udp.c( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0)))
len651net/ipv4/udp.clen=ulen;
len674net/ipv4/udp.cudp_deliver(sk, uh, skb1, dev,saddr,daddr,len);
len711net/ipv4/udp.creturn udp_deliver(sk,uh,skb,dev, saddr, daddr, len);
len714net/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)
len718net/ipv4/udp.cskb_trim(skb,len);
len437net/ipx/af_ipx.cint  len;
len451net/ipx/af_ipx.cmemmove(skb->h.raw, oldraw, skb->len);
len452net/ipx/af_ipx.cskb->len += out_offset;
len459net/ipx/af_ipx.clen = skb->len + out_offset;
len460net/ipx/af_ipx.cskb2 = alloc_skb(len, GFP_ATOMIC);
len463net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
len466net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
len1024net/ipx/af_ipx.cstatic int ipxrtr_route_packet(ipx_socket *sk, struct sockaddr_ipx *usipx, struct iovec *iov, int len)
len1050net/ipx/af_ipx.csize=sizeof(ipx_packet)+len;
len1064net/ipx/af_ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
len1076net/ipx/af_ipx.cmemcpy_fromiovec(skb_put(skb,len),iov,len);
len1176net/ipx/af_ipx.cint len=0;
len1182net/ipx/af_ipx.clen += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", 
len1185net/ipx/af_ipx.clen += sprintf(buffer+len, "%08lX   ", ntohl(i->if_netnum));
len1186net/ipx/af_ipx.clen += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X   ", 
len1189net/ipx/af_ipx.clen += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ?
len1191net/ipx/af_ipx.clen += sprintf (buffer+len, "%-11s", ipx_device_name(i));
len1192net/ipx/af_ipx.clen += sprintf (buffer+len, "%s\n", 
len1196net/ipx/af_ipx.cpos=begin+len;
len1199net/ipx/af_ipx.clen=0;      /* Keep dumping into the buffer start */
len1208net/ipx/af_ipx.clen-=(offset-begin);    /* Remove unwanted header data from length */
len1209net/ipx/af_ipx.cif(len>length)
len1210net/ipx/af_ipx.clen=length;    /* Remove unwanted tail data from length */
len1212net/ipx/af_ipx.creturn len;
len1220net/ipx/af_ipx.cint len=0;
len1226net/ipx/af_ipx.clen += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", 
len1231net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX:%04X  ", 
len1235net/ipx/af_ipx.clen += sprintf(buffer+len, "%-28s", "Not_Connected");
len1237net/ipx/af_ipx.clen += sprintf (buffer+len,
len1245net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX  %08lX  ", 
len1247net/ipx/af_ipx.clen += sprintf (buffer+len,"%02X     %03d\n", 
len1251net/ipx/af_ipx.cpos=begin+len;
len1255net/ipx/af_ipx.clen=0;      /* Keep dumping into the buffer start */
len1265net/ipx/af_ipx.clen-=(offset-begin);    /* Remove unwanted header data from length */
len1266net/ipx/af_ipx.cif(len>length)
len1267net/ipx/af_ipx.clen=length;    /* Remove unwanted tail data from length */
len1269net/ipx/af_ipx.creturn len;
len1276net/ipx/af_ipx.cint len=0;
len1280net/ipx/af_ipx.clen += sprintf (buffer,"%-11s%-13s%s\n", 
len1284net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX   ", ntohl(rt->ir_net));
len1286net/ipx/af_ipx.clen += sprintf (buffer+len,"%08lX     %02X%02X%02X%02X%02X%02X\n", 
len1292net/ipx/af_ipx.clen += sprintf (buffer+len, "%-13s%s\n",
len1295net/ipx/af_ipx.cpos=begin+len;
len1298net/ipx/af_ipx.clen=0;
len1305net/ipx/af_ipx.clen-=(offset-begin);
len1306net/ipx/af_ipx.cif(len>length)
len1307net/ipx/af_ipx.clen=length;
len1308net/ipx/af_ipx.creturn len;
len1411net/ipx/af_ipx.cstatic void def_callback2(struct sock *sk, int len)
len1644net/ipx/af_ipx.cvoid dump_data(char *str,unsigned char *d, int len) {
len1648net/ipx/af_ipx.cfor (l=0;len > 0 && l<16;l++) {
len1650net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len) {
len1651net/ipx/af_ipx.cif (len > 0) {
len1663net/ipx/af_ipx.clen += 8;
len1664net/ipx/af_ipx.cfor (i=0; i < 8 ; i++, --len)
len1665net/ipx/af_ipx.cif (len > 0)
len1690net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
len1692net/ipx/af_ipx.cif (len > 30)
len1693net/ipx/af_ipx.cdump_data(str,(unsigned char *)p + 30, len - 30);
len1737net/ipx/af_ipx.cstatic int ipx_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock,
len1774net/ipx/af_ipx.cretval = ipxrtr_route_packet(sk, usipx, msg->msg_iov, len);
len1777net/ipx/af_ipx.creturn len;
len1857net/ipx/af_ipx.camount=skb->len;
len102net/netlink.crdq_size[minor]-=skb->len;
len104net/netlink.cif(skb->len<count)
len105net/netlink.ccount=skb->len;
len201net/netlink.cif(rdq_size[unit]+skb->len>MAX_QBYTES)
len206net/netlink.crdq_size[unit]+=skb->len;
len415net/netrom/af_netrom.cstatic void def_callback2(struct sock *sk, int len)
len953net/netrom/af_netrom.cif ((frametype & 0x0F) == NR_CONNACK && skb->len == 22)
len996net/netrom/af_netrom.cif (skb->len == 37) {
len1023net/netrom/af_netrom.csk->data_ready(sk, skb->len);
len1028net/netrom/af_netrom.cstatic int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
len1072net/netrom/af_netrom.csize = len + AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN + NR_TRANSPORT_LEN;
len1081net/netrom/af_netrom.cskb_reserve(skb, size - len);
len1107net/netrom/af_netrom.cskb->h.raw = skb_put(skb, len);
len1115net/netrom/af_netrom.cmemcpy_fromiovec(asmptr, msg->msg_iov, len);
len1127net/netrom/af_netrom.creturn len;
len1162net/netrom/af_netrom.ccopied = (size < skb->len) ? size : skb->len;
len1214net/netrom/af_netrom.camount = skb->len - 20;
len1286net/netrom/af_netrom.cint len = 0;
len1292net/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");
len1300net/netrom/af_netrom.clen += sprintf(buffer + len, "%-9s ",
len1302net/netrom/af_netrom.clen += sprintf(buffer + len, "%-9s ",
len1304net/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",
len1319net/netrom/af_netrom.cpos = begin + len;
len1322net/netrom/af_netrom.clen   = 0;
len1333net/netrom/af_netrom.clen   -= (offset - begin);
len1335net/netrom/af_netrom.cif (len > length) len = length;
len1337net/netrom/af_netrom.creturn(len);
len76net/netrom/nr_dev.cvoid *daddr, void *saddr, unsigned len)
len58net/netrom/nr_in.csk->nr->fraglen += skb->len;
len64net/netrom/nr_in.csk->nr->fraglen += skb->len;
len77net/netrom/nr_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len82net/netrom/nr_in.cmemcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
len53net/netrom/nr_out.cint err, frontlen, len, mtu;
len57net/netrom/nr_out.cif (skb->len - NR_TRANSPORT_LEN > mtu) {
len64net/netrom/nr_out.cwhile (skb->len > 0) {
len74net/netrom/nr_out.clen = (mtu > skb->len) ? skb->len : mtu;
len77net/netrom/nr_out.cmemcpy(skb_put(skbn, len), skb->data, len);
len78net/netrom/nr_out.cskb_pull(skb, len);
len84net/netrom/nr_out.cif (skb->len > 0)
len715net/netrom/nr_route.cint len     = 0;
len722net/netrom/nr_route.clen += sprintf(buffer, "callsign  mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n");
len725net/netrom/nr_route.clen += sprintf(buffer + len, "%-9s %-7s  %d %d",
len732net/netrom/nr_route.clen += sprintf(buffer + len, "  %3d   %d %05d",
len738net/netrom/nr_route.clen += sprintf(buffer + len, "\n");
len740net/netrom/nr_route.cpos = begin + len;
len743net/netrom/nr_route.clen   = 0;
len754net/netrom/nr_route.clen   -= (offset - begin);
len756net/netrom/nr_route.cif (len > length) len = length;
len758net/netrom/nr_route.creturn(len);
len765net/netrom/nr_route.cint len     = 0;
len771net/netrom/nr_route.clen += sprintf(buffer, "addr  callsign  dev  qual lock count\n");
len774net/netrom/nr_route.clen += sprintf(buffer + len, "%05d %-9s %-4s  %3d    %d   %3d\n",
len782net/netrom/nr_route.cpos = begin + len;
len785net/netrom/nr_route.clen   = 0;
len796net/netrom/nr_route.clen   -= (offset - begin);
len798net/netrom/nr_route.cif (len > length) len = length;
len800net/netrom/nr_route.creturn(len);
len155net/netrom/nr_subr.cint len, timeout;
len157net/netrom/nr_subr.clen = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN + NR_TRANSPORT_LEN;
len161net/netrom/nr_subr.clen += 17;
len164net/netrom/nr_subr.clen += (sk->nr->bpqext) ? 2 : 1;
len175net/netrom/nr_subr.cif ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
len250net/netrom/nr_subr.cint len;
len252net/netrom/nr_subr.clen = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN + NR_TRANSPORT_LEN + 1;
len254net/netrom/nr_subr.cif ((skbn = alloc_skb(len, GFP_ATOMIC)) == NULL)
len138net/socket.cint len;
len143net/socket.clen=get_user(ulen);
len144net/socket.cif(len>klen)
len145net/socket.clen=klen;
len146net/socket.cif(len<0 || len> MAX_SOCK_ADDR)
len148net/socket.cif(len)
len150net/socket.cif((err=verify_area(VERIFY_WRITE,uaddr,len))<0)
len152net/socket.cmemcpy_tofs(uaddr,kaddr,len);
len154net/socket.cput_user(len,ulen);
len705net/socket.cint len;
len749net/socket.cnewsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1);
len750net/socket.cmove_addr_to_user(address,len, upeer_sockaddr, upeer_addrlen);
len816net/socket.cint len;
len824net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
len827net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len841net/socket.cint len;
len849net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
len852net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len862net/socket.casmlinkage int sys_send(int fd, void * buff, int len, unsigned flags)
len875net/socket.cif(len<0)
len877net/socket.cerr=verify_area(VERIFY_READ, buff, len);
len882net/socket.ciov.iov_len=len;
len887net/socket.creturn(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), flags));
len896net/socket.casmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags,
len911net/socket.cif(len<0)
len913net/socket.cerr=verify_area(VERIFY_READ,buff,len);
len921net/socket.ciov.iov_len=len;
len927net/socket.creturn(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK),
len1120net/socket.cint len;
len1140net/socket.clen=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len);
len1141net/socket.cif(len<0)
len1142net/socket.creturn len;
len1148net/socket.creturn len;
len1382net/socket.cint len = sprintf(buffer, "sockets: used %d\n", sockets_in_use);
len1383net/socket.cif (offset >= len)
len1389net/socket.clen -= offset;
len1390net/socket.cif (len > length)
len1391net/socket.clen = length;
len1392net/socket.creturn len;
len73net/unix/af_unix.cstatic inline void unix_mkname(struct sockaddr_un * sunaddr, unsigned long len)
len75net/unix/af_unix.cif (len >= sizeof(*sunaddr))
len76net/unix/af_unix.clen = sizeof(*sunaddr)-1;
len77net/unix/af_unix.c((char *)sunaddr)[len]=0;
len252net/unix/af_unix.cstatic void def_callback2(struct sock *sk, int len)
len678net/unix/af_unix.cstatic int unix_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
len714net/unix/af_unix.cwhile(sent < len)
len721net/unix/af_unix.csize=len-sent;
len821net/unix/af_unix.cint len;
len840net/unix/af_unix.clen=iov->iov_len;
len843net/unix/af_unix.cwhile(done<len)
len878net/unix/af_unix.cnum=min(skb->len,size-copied);
len886net/unix/af_unix.cif (skb->len) {
len959net/unix/af_unix.camount=skb->len;
len976net/unix/af_unix.cint len=0;
len979net/unix/af_unix.clen+= sprintf(buffer,"Num       RefCount Protocol Flags    Type St Path\n");
len983net/unix/af_unix.clen+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X",
len991net/unix/af_unix.clen+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name);
len993net/unix/af_unix.cbuffer[len++]='\n';
len995net/unix/af_unix.cpos=begin+len;
len998net/unix/af_unix.clen=0;
len1006net/unix/af_unix.clen-=(offset-begin);
len1007net/unix/af_unix.cif(len>length)
len1008net/unix/af_unix.clen=length;
len1009net/unix/af_unix.creturn len;