taglinefilesource code
len32drivers/block/ramdisk.cint  len;
len38drivers/block/ramdisk.clen = CURRENT->current_nr_sectors << 9;
len41drivers/block/ramdisk.c(addr+len > rd_start+rd_length)) {
len48drivers/block/ramdisk.clen);
len52drivers/block/ramdisk.clen);
len272drivers/net/3c501.cif (skb->len <= 0)
len282drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len294drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);
len430drivers/net/3c501.cskb->len = pkt_len;
len545drivers/net/3c505.cint len)
len560drivers/net/3c505.cint sksize = sizeof(struct sk_buff) + len + 4;
len566drivers/net/3c505.cif (len <= 0 || ((len & ~1) != len))
len568drivers/net/3c505.cprintk("*** bad packet len %d at %s(%d)\n",len,filename,__LINE__);
len570drivers/net/3c505.crlen = (len+1) & ~1;
len601drivers/net/3c505.cskb->len = rlen;
len672drivers/net/3c505.cint len;
len785drivers/net/3c505.clen = adapter->irx_pcb.data.rcv_resp.pkt_len;
len791drivers/net/3c505.cprintk("%s: interrupt - packet received of length %i (%i)\n", dev->name, len, dlen);
len971drivers/net/3c505.cstatic int send_packet (elp_device * adapter, unsigned char * ptr, int len)
len979drivers/net/3c505.cunsigned int nlen = (((len < 60) ? 60 : len) + 1) & (~1);
len984drivers/net/3c505.cif (nlen < len)
len985drivers/net/3c505.cprintk("Warning, bad length nlen=%d len=%d %s(%d)\n",nlen,len,filename,__LINE__);
len1064drivers/net/3c505.cif (skb->len <= 0)
len1068drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
len1088drivers/net/3c505.cif (!send_packet(adapter, (unsigned char *)SKB_DATA, skb->len)) {
len1094drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
len471drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len825drivers/net/3c507.cskb->len = pkt_len;
len366drivers/net/3c509.cif (skb->len <= 0)
len371drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
len394drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
len397drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
len564drivers/net/3c509.cskb->len = pkt_len;
len168drivers/net/8390.clength = skb->len;
len169drivers/net/8390.cif (skb->len <= 0)
len448drivers/net/8390.cskb->len = pkt_len;
len335drivers/net/apricot.cskb->len = pkt_len;
len584drivers/net/apricot.cif (skb->len <= 0) return 0;
len594drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len384drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len510drivers/net/at1700.cskb->len = pkt_len;
len445drivers/net/atp.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len637drivers/net/atp.cskb->len = pkt_len;
len408drivers/net/de600.cint  len;
len442drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
len444drivers/net/de600.cif ((len = skb->len) < RUNT)
len445drivers/net/de600.clen = RUNT;
len449drivers/net/de600.ctx_fifo[tx_fifo_in] = transmit_from = tx_page_adr(tx_fifo_in) - len;
len465drivers/net/de600.cfor ( ; len > 0; --len, ++buffer)
len482drivers/net/de620.cint len;
len518drivers/net/de620.cif ((len = skb->len) < RUNT)
len519drivers/net/de620.clen = RUNT;
len520drivers/net/de620.cif (len & 1) /* send an even number of bytes */
len521drivers/net/de620.c++len;
len528drivers/net/de620.c(int)skb->len, using_txbuf));
len549drivers/net/de620.cde620_write_block(buffer, len);
len683drivers/net/de620.cskb->len = size; skb->dev = dev; skb->free = 1;
len814drivers/net/depca.cif (skb->len <= 0) {
len837drivers/net/depca.cint len;
len838drivers/net/depca.clong skbL = skb->len;
len852drivers/net/depca.clen = ((skbL > PKT_SZ) ? PKT_SZ : skbL); /* skb too long */
len853drivers/net/depca.cif (len < ETH_ZLEN) len = ETH_ZLEN;      /* len too short */
len854drivers/net/depca.cskbL -= len;
len855drivers/net/depca.clp->tx_ring[entry].length = -len;
len861drivers/net/depca.cmemcpy((unsigned char *)(buf), skb->data, len);
len873drivers/net/depca.cfor (p += len; skbL > 0; p += len) {
len889drivers/net/depca.clen = ((skbL > DAT_SZ) ? DAT_SZ : skbL); /* skbL too long */
len890drivers/net/depca.cif (len < ETH_ZLEN) len = ETH_ZLEN;      /* len too short */
len891drivers/net/depca.cskbL -= len;
len892drivers/net/depca.clp->tx_ring[entry].length = -len;
len898drivers/net/depca.cmemcpy((unsigned char *)(buf + PKT_HDR_LEN), (unsigned char *)p, len);
len1041drivers/net/depca.cskb->len = pkt_len;
len486drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len932drivers/net/eexpress.cskb->len = pkt_len;
len620drivers/net/lance.cif (skb->len <= 0)
len655drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
len657drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
len663drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
len667drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
len841drivers/net/lance.cskb->len = pkt_len;
len63drivers/net/loopback.cdone = dev_rint(skb->data, skb->len, 0, dev);
len871drivers/net/ni52.cskb->len = totlen;
len1001drivers/net/ni52.cint len;
len1030drivers/net/ni52.cif (skb->len <= 0)
len1037drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
len1038drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
len1042drivers/net/ni52.cp->xmit_buffs[0]->size = TBD_LAST | len;
len1050drivers/net/ni52.cfor(len=0;len<256;len++);
len1055drivers/net/ni52.cp->xmit_buffs[0]->size = TBD_LAST | len;
len1068drivers/net/ni52.cp->xmit_buffs[p->xmit_count]->size = TBD_LAST | len;
len501drivers/net/ni65.cint rmdstat,len;
len530drivers/net/ni65.clen = (rmdp->mlen & 0x0fff) - 4; /* -4: ignore FCS */
len535drivers/net/ni65.cmemcpy(skb->data,p->recv_skb[p->rmdnum]->data,len);
len545drivers/net/ni65.cskb1->len = len;
len589drivers/net/ni65.cif (skb->len <= 0)
len604drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len612drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
len615drivers/net/ni65.ctmdp->blen = -len;
len125drivers/net/plip.cvoid *source, unsigned len, struct sk_buff *skb);
len318drivers/net/plip.cif (skb->len > dev->mtu) {
len319drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
len324drivers/net/plip.csnd->length = skb->len;
len360drivers/net/plip.crcv->skb->len = dev->mtu;
len407drivers/net/plip.cvoid *saddr, unsigned len, struct sk_buff *skb)
len417drivers/net/plip.creturn eth_header(buff, dev, type, daddr, saddr, len, skb);
len483drivers/net/plip.crcv->skb->len = dev->mtu;
len592drivers/net/plip.cif (rcv->length > rcv->skb->len || rcv->length < 8) {
len597drivers/net/plip.crcv->skb->len = rcv->length;
len636drivers/net/plip.crcv->skb->len = dev->mtu;
len118drivers/net/ppp.cunsigned long saddr, unsigned len);
len1152drivers/net/ppp.cunsigned char *buf, int len)
len1157drivers/net/ppp.ctotlen = len+2;    /* including protocol */
len1170drivers/net/ppp.cwhile (len-- > 0) {
len1218drivers/net/ppp.cint len, i;
len1248drivers/net/ppp.cGETC (c); len = c << 8; GETC (c); len += c;
len1250drivers/net/ppp.cPRINTKN (4,(KERN_DEBUG "ppp_read: len = %d\n", len));
len1252drivers/net/ppp.cif (len + 2 > nr) {
len1256drivers/net/ppp.cnr, len+2));
len1257drivers/net/ppp.cppp->us_rbuff_head += len;
len1268drivers/net/ppp.ci = len;
len1276drivers/net/ppp.cPRINTKN (3,(KERN_DEBUG "ppp_read: passing %d bytes up\n", len + 2));
len1278drivers/net/ppp.creturn len + 2;
len1683drivers/net/ppp.cint len;
len1695drivers/net/ppp.clen   = skb->len;
len1716drivers/net/ppp.cif (len < sizeof(struct iphdr)) {
len1720drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
len1725drivers/net/ppp.cif (ppp_us_queue (ppp, proto, p, len))
len1743drivers/net/ppp.clen = slhc_compress(ppp->slcomp, p, len, ppp->cbuff, &p, 0);
len1763drivers/net/ppp.cdev->name, (int) proto, (int) len, (int) iph->saddr,
len1787drivers/net/ppp.cwhile (len-- > 0)
len1821drivers/net/ppp.cunsigned long daddr, unsigned long saddr, unsigned len)
len1841drivers/net/ppp.cvoid *daddr, void *saddr, unsigned len, struct sk_buff *skb)
len1251drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
len1260drivers/net/sk_g16.cskb->len);
len1262drivers/net/sk_g16.ctmdp->blen = -len;            /* set length to transmit */
len1572drivers/net/sk_g16.cint len = (rmdp->mlen & 0x0fff);  /* extract message length from receive buffer */
len1575drivers/net/sk_g16.cskb = alloc_skb(len, GFP_ATOMIC); /* allocate socket buffer */ 
len1595drivers/net/sk_g16.cskb->len = len;
len1606drivers/net/sk_g16.clen);
len289drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len374drivers/net/skeleton.cskb->len = pkt_len;
len486drivers/net/slhc.cint len, hdrlen;
len591drivers/net/slhc.clen = isize - (cp - icp);
len592drivers/net/slhc.cif (len < 0)
len594drivers/net/slhc.clen += hdrlen;
len595drivers/net/slhc.cip->tot_len = htons(len);
len598drivers/net/slhc.cmemmove(icp + hdrlen, cp, len - hdrlen);
len619drivers/net/slhc.creturn len;
len354drivers/net/slip.csl_encaps(struct slip *sl, unsigned char *icp, int len)
len363drivers/net/slip.cif(len>sl->mtu)    /* Sigh, shouldn't occur BUT ... */
len365drivers/net/slip.clen=sl->mtu;
len372drivers/net/slip.clen = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
len375drivers/net/slip.ccount=slip_esc6(p, (unsigned char *)sl->xbuff,len);
len377drivers/net/slip.ccount=slip_esc(p, (unsigned char *)sl->xbuff,len);
len474drivers/net/slip.csize=skb->len;
len498drivers/net/slip.cvoid *daddr, void *saddr, unsigned len, struct sk_buff *skb)
len504drivers/net/slip.creturn ax25_encapsulate(buff,dev,type,daddr,saddr,len,skb);
len769drivers/net/slip.cslip_esc(unsigned char *s, unsigned char *d, int len)
len786drivers/net/slip.cwhile(len-- > 0) {
len847drivers/net/slip.cslip_esc6(unsigned char *s, unsigned char *d, int len)
len866drivers/net/slip.cfor (i = 0; i < len; ++i) {
len87drivers/net/slip.hextern int  slip_esc(unsigned char *s, unsigned char *d, int len);
len88drivers/net/slip.hextern int  slip_esc6(unsigned char *s, unsigned char *d, int len);
len361drivers/net/znet.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
len387drivers/net/znet.cmemcpy(zn.tx_cur, buf, skb->len);
len563drivers/net/znet.cskb->len = pkt_len;
len1962drivers/scsi/53c7,8xx.csize_t len;
len1979drivers/scsi/53c7,8xx.clen = strlen(buf);
len1982drivers/scsi/53c7,8xx.csprintf(buf + len, "%08x\n", * (long *) bp->addr);
len1984drivers/scsi/53c7,8xx.csprintf(buf + len, "\n");
len1986drivers/scsi/53c7,8xx.clen = strlen(buf);
len1987drivers/scsi/53c7,8xx.cdebugger_kernel_write (host, buf, len);
len1999drivers/scsi/53c7,8xx.csize_t len;
len2059drivers/scsi/53c7,8xx.cint i, j, error, len;
len2080drivers/scsi/53c7,8xx.clen = strlen (debugger_tokens[i].name);
len2081drivers/scsi/53c7,8xx.cif (!strncmp(input_buf, debugger_tokens[i].name, len)) 
len2088drivers/scsi/53c7,8xx.cfor (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) {
len3613drivers/scsi/53c7,8xx.csize_t len = strlen(buf);
len3614drivers/scsi/53c7,8xx.cdebugger_kernel_write(host, buf, len);
len3758drivers/scsi/53c7,8xx.cint i, len;
len3769drivers/scsi/53c7,8xx.cptr += len, i -= len) {
len3771drivers/scsi/53c7,8xx.clen = print_msg (ptr);
len1171drivers/scsi/NCR5380.cint len;
len1411drivers/scsi/NCR5380.clen = 3;
len1415drivers/scsi/NCR5380.clen = 1;
len1422drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len1915drivers/scsi/NCR5380.cint len, transfersize;
len1999drivers/scsi/NCR5380.clen = transfersize;
len2001drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
len2015drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
len2023drivers/scsi/NCR5380.clen = 1;
len2025drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2227drivers/scsi/NCR5380.clen = 2;
len2230drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2238drivers/scsi/NCR5380.cif (!len && extended_msg[1] <= 
len2242drivers/scsi/NCR5380.clen = extended_msg[1] - 1;
len2246drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2250drivers/scsi/NCR5380.cinstance->host_no, len);
len2260drivers/scsi/NCR5380.c} else if (len) {
len2294drivers/scsi/NCR5380.clen = 1;
len2297drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2309drivers/scsi/NCR5380.clen = COMMAND_SIZE(cmd->cmnd[0]);
len2316drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
len2331drivers/scsi/NCR5380.clen = 1;
len2333drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2378drivers/scsi/NCR5380.cint len;
len2422drivers/scsi/NCR5380.clen = 1;
len2425drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2487drivers/scsi/NCR5380.clen = 1;
len2491drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
len2576drivers/scsi/NCR5380.cint len;
len2707drivers/scsi/NCR5380.clen = 1;
len2710drivers/scsi/NCR5380.cNCR5380_transfer_pio (instance, &phase, &len, &msgptr);
len119drivers/scsi/aha1542.cstatic int aha1542_out(unsigned int base, unchar *cmdp, int len)
len121drivers/scsi/aha1542.cif(len == 1) {
len132drivers/scsi/aha1542.cwhile (len--)
len142drivers/scsi/aha1542.cprintk("aha1542_out failed(%d): ", len+1); aha1542_stat();
len148drivers/scsi/aha1542.cstatic int aha1542_in(unsigned int base, unchar *cmdp, int len)
len151drivers/scsi/aha1542.cwhile (len--)
len160drivers/scsi/aha1542.cprintk("aha1542_in failed(%d): ", len+1); aha1542_stat();
len167drivers/scsi/aha1542.cstatic int aha1542_in1(unsigned int base, unchar *cmdp, int len)
len170drivers/scsi/aha1542.cwhile (len--)
len244drivers/scsi/aha1542.cint len;
len276drivers/scsi/aha1542.clen = 4;
len279drivers/scsi/aha1542.cwhile (len--)
len204drivers/scsi/buslogic.csize_t len)
len206drivers/scsi/buslogic.cif (len == 1) {
len219drivers/scsi/buslogic.cwhile (len--) {
len228drivers/scsi/buslogic.cbuslogic_printk("buslogic_out failed(%u): ", len + 1);
len235drivers/scsi/buslogic.cstatic int buslogic_in(unsigned int base, unsigned char *cmdp, size_t len)
len238drivers/scsi/buslogic.cwhile (len--) {
len246drivers/scsi/buslogic.cbuslogic_printk("buslogic_in failed(%u): ", len + 1);
len255drivers/scsi/buslogic.cstatic int buslogic_in_fast(unsigned int base, unsigned char *cmdp, size_t len)
len258drivers/scsi/buslogic.cwhile (len--) {
len349drivers/scsi/buslogic.cint len;
len387drivers/scsi/buslogic.clen = 4;
len389drivers/scsi/buslogic.cwhile (len--) {
len478drivers/scsi/constants.cint len = 0, i;
len480drivers/scsi/constants.clen = 3 + msg[1];
len499drivers/scsi/constants.cfor (i = 2; i < len; ++i) 
len503drivers/scsi/constants.cfor (i = 0; i < len; ++i)
len516drivers/scsi/constants.clen = 1;
len527drivers/scsi/constants.clen = 1;
len540drivers/scsi/constants.clen = 2;
len547drivers/scsi/constants.creturn len;
len477drivers/scsi/pas16.cint len) {
len481drivers/scsi/pas16.cregister i = len;
len510drivers/scsi/pas16.cint len) {
len513drivers/scsi/pas16.cregister i = len;
len1641drivers/scsi/scsi.cvoid *scsi_malloc(unsigned int len)
len1645drivers/scsi/scsi.cif((len & 0x1ff) || len > 8192)
len1649drivers/scsi/scsi.cnbits = len >> 9;
len1659drivers/scsi/scsi.cprintk("SMalloc: %d %x ",len, dma_malloc_buffer + (i << 13) + (j << 9));
len1668drivers/scsi/scsi.cint scsi_free(void *obj, unsigned int len)
len1674drivers/scsi/scsi.cprintk("Sfree %x %d\n",obj, len);
len1685drivers/scsi/scsi.cnbits = len >> 9;
len31drivers/scsi/scsi_ioctl.cunsigned int len,slen;
len35drivers/scsi/scsi_ioctl.clen = get_fs_long ((unsigned long *) buffer);
len38drivers/scsi/scsi_ioctl.cif (len > slen)
len39drivers/scsi/scsi_ioctl.clen = slen + 1;
len40drivers/scsi/scsi_ioctl.cverify_area(VERIFY_WRITE, buffer, len);
len41drivers/scsi/scsi_ioctl.cmemcpy_tofs (buffer, string, len);
len575drivers/scsi/seagate.cint len = 0;
len704drivers/scsi/seagate.clen=current_bufflen;    /* WDE add */
len902drivers/scsi/seagate.clen = buffer->length;
len909drivers/scsi/seagate.clen = SCint->request_bufflen;
len914drivers/scsi/seagate.cprintk("scsi%d : len = %d\n", hostno, len);
len1027drivers/scsi/seagate.cif (!len) {
len1037drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1045drivers/scsi/seagate.cSCint->transfersize, len, data);
len1067drivers/scsi/seagate.clen -= transfersize;
len1072drivers/scsi/seagate.chostno, len, data);
len1128drivers/scsi/seagate.c"=S" (data), "=c" (len) :
len1130drivers/scsi/seagate.c"0" (data), "1" (len) :
len1135drivers/scsi/seagate.cif (!len && nobuffs) {
len1138drivers/scsi/seagate.clen = buffer->length;
len1142drivers/scsi/seagate.chostno, len, data);
len1151drivers/scsi/seagate.ctransfered += len;
len1153drivers/scsi/seagate.cfor (; len && (STATUS & (REQ_MASK | STAT_REQ)) == (REQ_DATAIN |
len1154drivers/scsi/seagate.cSTAT_REQ); --len) {
len1159drivers/scsi/seagate.ctransfered -= len;
len1164drivers/scsi/seagate.cif (fast && transfersize && !(len % transfersize) && (len >= transfersize)
len1172drivers/scsi/seagate.cSCint->transfersize, len, data);
len1194drivers/scsi/seagate.clen -= transfersize;
len1204drivers/scsi/seagate.chostno, len, data);
len1212drivers/scsi/seagate.cprintk("scsi%d: transfered += %d\n", hostno, len);
len1213drivers/scsi/seagate.ctransfered += len;  /* Assume we'll transfer it all, then
len1268drivers/scsi/seagate.c"=D" (data), "=c" (len) :
len1270drivers/scsi/seagate.c"0" (data), "1" (len) :
len1275drivers/scsi/seagate.cprintk("scsi%d: transfered -= %d\n", hostno, len);
len1276drivers/scsi/seagate.ctransfered -= len;    /* Since we assumed all of Len got 
len1281drivers/scsi/seagate.cif (!len && nobuffs) {
len1284drivers/scsi/seagate.clen = buffer->length;
len1288drivers/scsi/seagate.chostno, len, data);
len1355drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1387drivers/scsi/seagate.ccurrent_bufflen = len;  /* WDE add */
len1398drivers/scsi/seagate.clen=current_bufflen;
len315drivers/scsi/t128.cint len) {
len318drivers/scsi/t128.cregister i = len;
len359drivers/scsi/t128.cint len) {
len362drivers/scsi/t128.cregister i = len;
len205drivers/scsi/wd7000.cunsigned len;           /* length of string */
len321drivers/scsi/wd7000.cunchar len[3];
len377drivers/scsi/wd7000.cunchar len[3];                /* command buffer length */
len419drivers/scsi/wd7000.cunchar len[3];                /* buffer length */
len435drivers/scsi/wd7000.cunchar len[3];                /* parms buffer length */
len567drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
len570drivers/scsi/wd7000.cwhile (len--)  {
len580drivers/scsi/wd7000.cprintk("wd7000 command_out: WAIT failed(%d)\n", len+1);
len934drivers/scsi/wd7000.cany2scsi(sgb[i].len, sg[i].length);
len964drivers/scsi/wd7000.cany2scsi(icb.len, sizeof(buf));
len1115drivers/scsi/wd7000.cif (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len))  {
len197drivers/sound/configure.cint             len;
len199drivers/sound/configure.cif ((len = read (0, &answ, sizeof (answ))) < 1)
len209drivers/sound/configure.cif (len < 2)      /*
len214drivers/sound/configure.cansw[len - 1] = 0;
len226drivers/sound/configure.cint             len, num;
len230drivers/sound/configure.cif ((len = read (0, &answ, sizeof (answ))) < 1)
len240drivers/sound/configure.cif (len < 2)      /*
len245drivers/sound/configure.cansw[len - 1] = 0;
len131drivers/sound/dev_table.hsnd_rw_buf *userbuf, int useroffs, int len);
len298drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len)
len363drivers/sound/dmabuf.c*len = dmap->fragment_size - dmap->counts[dmap->qhead];
len491drivers/sound/dmabuf.cint             len, max, tmp;
len503drivers/sound/dmabuf.clen = dmap->qlen;
len508drivers/sound/dmabuf.cif (tmp & len)
len512drivers/sound/dmabuf.clen += tmp;
len515drivers/sound/dmabuf.cif (len >= max)
len897drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len)
len461drivers/sound/gus_wave.cif (position < samples[sample_no].len)
len1290drivers/sound/gus_wave.c((sample_ptrs[sample] + samples[sample].len) >> 18))
len1317drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len -
len1350drivers/sound/gus_wave.cgus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len - 1,
len1518drivers/sound/gus_wave.cif (count < patch.len)
len1521drivers/sound/gus_wave.ccount, (int) patch.len);
len1522drivers/sound/gus_wave.cpatch.len = count;
len1525drivers/sound/gus_wave.cif (patch.len <= 0 || patch.len > gus_mem_size)
len1527drivers/sound/gus_wave.cprintk ("GUS: Invalid sample length %d\n", (int) patch.len);
len1533drivers/sound/gus_wave.cif (patch.loop_start < 0 || patch.loop_start >= patch.len)
len1539drivers/sound/gus_wave.cif (patch.loop_end < patch.loop_start || patch.loop_end > patch.len)
len1555drivers/sound/gus_wave.cif (patch.len >= GUS_BANK_SIZE)
len1557drivers/sound/gus_wave.cprintk ("GUS: Sample (16 bit) too long %d\n", (int) patch.len);
len1562drivers/sound/gus_wave.c((free_mem_ptr + patch.len) / GUS_BANK_SIZE))
len1567drivers/sound/gus_wave.cif ((tmp_mem + patch.len) > gus_mem_size)
len1574drivers/sound/gus_wave.cif ((free_mem_ptr + patch.len) > gus_mem_size)
len1599drivers/sound/gus_wave.cleft = patch.len;
len1712drivers/sound/gus_wave.cfree_mem_ptr += patch.len;
len2335drivers/sound/gus_wave.csnd_rw_buf * userbuf, int useroffs, int len)
len2339drivers/sound/gus_wave.cCOPY_FROM_USER (&localbuf[localoffs], userbuf, useroffs, len);
len2348drivers/sound/gus_wave.clen /= 2;
len2353drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2368drivers/sound/gus_wave.clen /= 4;
len2374drivers/sound/gus_wave.cfor (i = 0; i < len; i++)
len2501drivers/sound/gus_wave.cif (pat->len > samples[ptr].len)  /* Cannot expand sample */
len2524drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2527drivers/sound/gus_wave.cn = samples[sample].len - offs;  /* Num of bytes left */
len2565drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
len2570drivers/sound/gus_wave.cn = samples[sample].len - offs;  /*
len331drivers/sound/midi_synth.cif (count < sysex.len)
len334drivers/sound/midi_synth.ccount, (int) sysex.len);
len335drivers/sound/midi_synth.csysex.len = count;
len338drivers/sound/midi_synth.cleft = sysex.len;
len45drivers/sound/midibuf.cint             len, head, tail;
len67drivers/sound/midibuf.c#define DATA_AVAIL(q) (q->len)
len68drivers/sound/midibuf.c#define SPACE_AVAIL(q) (MAX_QUEUE_SIZE - q->len)
len76drivers/sound/midibuf.cq->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \
len86drivers/sound/midibuf.cq->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \
len151drivers/sound/midibuf.cmidi_out_buf[dev]->len--;
len212drivers/sound/midibuf.cmidi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0;
len225drivers/sound/midibuf.cmidi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0;
len147drivers/sound/mpu401.cint len; \
len150drivers/sound/mpu401.cseq_input_event(obuf, len); \
len154drivers/sound/mpu401.c#define _SEQ_ADVBUF(x) len=x
len149drivers/sound/sequencer.cseq_copy_to_input (unsigned char *event, int len)
len157drivers/sound/sequencer.cif (len != 4 && len != 8)
len159drivers/sound/sequencer.cif ((seq_mode == SEQ_1) != (len == 4))
len166drivers/sound/sequencer.cmemcpy (&iqueue[iqtail * IEV_SZ], event, len);
len204drivers/sound/sequencer.cseq_input_event (unsigned char *event, int len)
len227drivers/sound/sequencer.cseq_copy_to_input (event, len);
len8drivers/sound/sound_calls.hint DMAbuf_getrdbuffer(int dev, char **buf, int *len);
len48drivers/sound/sound_calls.hvoid seq_input_event(unsigned char *event, int len);
len49drivers/sound/sound_calls.hvoid seq_copy_to_input (unsigned char *event, int len);
len105fs/dcache.cstatic inline unsigned long namehash(const char * name, int len)
len107fs/dcache.creturn len * *(unsigned char *) name;
len133fs/dcache.cstatic struct dir_cache_entry * find_entry(struct inode * dir, const char * name, int len, struct hash_list * hash)
len144fs/dcache.cif (de->name_len != len)
len146fs/dcache.cif (memcmp(de->name, name, len))
len172fs/dcache.cint dcache_lookup(struct inode * dir, const char * name, int len, unsigned long * ino)
len177fs/dcache.cif (len > DCACHE_NAME_LEN)
len179fs/dcache.chash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len));
len180fs/dcache.cde = find_entry(dir, name, len, hash);
len188fs/dcache.cvoid dcache_add(struct inode * dir, const char * name, int len, unsigned long ino)
len193fs/dcache.cif (len > DCACHE_NAME_LEN)
len195fs/dcache.chash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len));
len196fs/dcache.cif ((de = find_entry(dir, name, len, hash)) != NULL) {
len208fs/dcache.cde->name_len = len;
len209fs/dcache.cmemcpy(de->name, name, len);
len34fs/devices.cint len;
len36fs/devices.clen = sprintf(page, "Character devices:\n");
len39fs/devices.clen += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name);
len42fs/devices.clen += sprintf(page+len, "\nBlock devices:\n");
len45fs/devices.clen += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name);
len48fs/devices.creturn len;
len393fs/exec.cint len, offset = 0;
len409fs/exec.clen=0;    /* remember zero-padding */
len411fs/exec.clen++;
len413fs/exec.cif (p < len) {  /* this shouldn't happen - 128kB */
len417fs/exec.cwhile (len) {
len418fs/exec.c--p; --tmp; --len;
len900fs/exec.cunsigned int len;
len940fs/exec.clen = PAGE_ALIGN(ex.a_text + ex.a_data);
len942fs/exec.cif (bss > len)
len943fs/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)
len60fs/ext/namei.cif (!de || !de->inode || len > EXT_NAME_LEN)
len63fs/ext/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len65fs/ext/namei.cif (len < EXT_NAME_LEN && len != de->name_len)
len72fs/ext/namei.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
len158fs/ext/namei.cint ext_lookup(struct inode * dir,const char * name, int len,
len172fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
len311fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
len329fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len345fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len353fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len388fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len404fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
len410fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len455fs/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);
len629fs/ext/namei.cint ext_symlink(struct inode * dir, const char * name, int len, const char * symname)
len659fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len668fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len684fs/ext/namei.cint ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len699fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
len706fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
len35fs/ext2/balloc.c#define in_range(b, first, len)    ((b) >= (first) && (b) <= (first) + (len) - 1)
len43fs/ext2/namei.cstatic int ext2_match (int len, const char * const name,
len46fs/ext2/namei.cif (!de || !de->inode || len > EXT2_NAME_LEN)
len51fs/ext2/namei.cif (!len && de->name_len == 1 && (de->name[0] == '.') &&
len54fs/ext2/namei.cif (len != de->name_len)
len56fs/ext2/namei.creturn !memcmp(name, de->name, len);
len162fs/ext2/namei.cint ext2_lookup (struct inode * dir, const char * name, int len,
len176fs/ext2/namei.cif (dcache_lookup(dir, name, len, &ino)) {
len189fs/ext2/namei.cif (!(bh = ext2_find_entry (dir, name, len, &de))) {
len191fs/ext2/namei.cdcache_add(dir, name, len, 0);
len196fs/ext2/namei.cdcache_add(dir, name, len, ino);
len363fs/ext2/namei.cint ext2_create (struct inode * dir,const char * name, int len, int mode,
len382fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len404fs/ext2/namei.cint ext2_mknod (struct inode * dir, const char * name, int len, int mode,
len414fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len446fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len468fs/ext2/namei.cint ext2_mkdir (struct inode * dir, const char * name, int len, int mode)
len477fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len520fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len598fs/ext2/namei.cint ext2_rmdir (struct inode * dir, const char * name, int len)
len609fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len679fs/ext2/namei.cint ext2_unlink (struct inode * dir, const char * name, int len)
len691fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len740fs/ext2/namei.cint ext2_symlink (struct inode * dir, const char * name, int len,
len789fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len798fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len821fs/ext2/namei.cconst char * name, int len)
len842fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
len849fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
len357fs/hpfs/hpfs.hunsigned char len, name[15];    /* true length, truncated name */
len235fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len);
len243fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len253fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len);
len255fs/hpfs/hpfs_fs.cunsigned len);
len529fs/hpfs/hpfs_fs.cstatic int zerop(void *addr, unsigned len)
len532fs/hpfs/hpfs_fs.creturn p[0] == 0 && memcmp(p, p + 1, len - 1) == 0;
len944fs/hpfs/hpfs_fs.cstatic unsigned choose_conv(unsigned char *p, unsigned len)
len951fs/hpfs/hpfs_fs.cwhile (len--) {
len954fs/hpfs/hpfs_fs.cif (c == '\r' && len && *p == '\n')
len976fs/hpfs/hpfs_fs.cunsigned len)
len980fs/hpfs/hpfs_fs.cwhile (len--) {
len982fs/hpfs/hpfs_fs.cif (c == '\r' && (len == 0 || *in == '\n'));
len1101fs/hpfs/hpfs_fs.cstatic int hpfs_lookup(struct inode *dir, const char *name, int len,
len1122fs/hpfs/hpfs_fs.cif (name[0] == '.' && len == 1)
len1124fs/hpfs/hpfs_fs.celse if (name[0] == '.' && name[1] == '.' && len == 2)
len1129fs/hpfs/hpfs_fs.cde = map_dirent(dir, dir->i_hpfs_dno, name, len, &qbh);
len1228fs/hpfs/hpfs_fs.cconst unsigned char *name, unsigned len,
len1257fs/hpfs/hpfs_fs.cl = len < de->namelen ? len : de->namelen;
len1264fs/hpfs/hpfs_fs.ct = len - de->namelen;
len1281fs/hpfs/hpfs_fs.cname, len, qbh);
len27fs/isofs/namei.cstatic int isofs_match(int len,const char * name, char * compare, int dlen)
len33fs/isofs/namei.cif (!len && (compare[0]==0) && (dlen==1))
len36fs/isofs/namei.cif (compare[0]==0 && dlen==1 && len == 1)
len38fs/isofs/namei.cif (compare[0]==1 && dlen==1 && len == 2) {
len43fs/isofs/namei.cif (len <= 2) printk("Match: %d %d %s %d %d \n",len,dlen,compare,de->name[0], dlen);
len46fs/isofs/namei.cif (dlen != len)
len53fs/isofs/namei.c:"0" (0),"S" ((long) name),"D" ((long) compare),"c" (len)
len213fs/isofs/namei.cint isofs_lookup(struct inode * dir,const char * name, int len,
len220fs/isofs/namei.cprintk("lookup: %x %d\n",dir->i_ino, len);
len233fs/isofs/namei.cif (dcache_lookup(dir, name, len, &ino)) ino_back = dir->i_ino;
len236fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
len241fs/isofs/namei.cdcache_add(dir, name, len, ino);
len83fs/isofs/rock.clen = cont_size; \
len99fs/isofs/rock.cint len;
len114fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len120fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len122fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len124fs/isofs/rock.cchr += rr->len; 
len125fs/isofs/rock.clen -= rr->len;
len172fs/isofs/rock.cint len;
len180fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len186fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len188fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len190fs/isofs/rock.cchr += rr->len; 
len191fs/isofs/rock.clen -= rr->len;
len220fs/isofs/rock.cif((strlen(retname) + rr->len - 5) >= 254) {
len224fs/isofs/rock.cstrncat(retname, rr->u.NM.name, rr->len - 5);
len225fs/isofs/rock.cretnamlen += rr->len - 5;
len254fs/isofs/rock.cint len;
len260fs/isofs/rock.cSETUP_ROCK_RIDGE(de, chr, len);
len268fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len270fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len272fs/isofs/rock.cchr += rr->len; 
len273fs/isofs/rock.clen -= rr->len;
len322fs/isofs/rock.cslen = rr->len - 5;
len329fs/isofs/rock.cinode->i_size += slp->len;
len344fs/isofs/rock.cslen -= slp->len + 2;
len345fs/isofs/rock.cslp = (struct SL_component *) (((char *) slp) + slp->len + 2);
len402fs/isofs/rock.cint len;
len444fs/isofs/rock.cSETUP_ROCK_RIDGE(raw_inode, chr, len);
len447fs/isofs/rock.cwhile (len > 1){ /* There may be one byte for padding somewhere */
len450fs/isofs/rock.cif (rr->len == 0) goto out; /* Something got screwed up here */
len452fs/isofs/rock.cchr += rr->len; 
len453fs/isofs/rock.clen -= rr->len;
len465fs/isofs/rock.cslen = rr->len - 5;
len475fs/isofs/rock.cstrncat(rpnt,slp->text, slp->len);
len490fs/isofs/rock.cslen -= slp->len + 2;
len491fs/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 || !buffer[len]) {
len30fs/minix/namei.c:"S" ((long) name),"D" ((long) buffer),"c" (len)
len44fs/minix/namei.cstatic int minix_match(int len, const char * name,
len52fs/minix/namei.cif (!de->inode || len > info->s_namelen)
len55fs/minix/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len57fs/minix/namei.creturn namecompare(len,info->s_namelen,name,de->name);
len111fs/minix/namei.cint minix_lookup(struct inode * dir,const char * name, int len,
len125fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
len213fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
len232fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
len248fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len257fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len289fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len305fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
len318fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len356fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len431fs/minix/namei.cint minix_rmdir(struct inode * dir, const char * name, int len)
len439fs/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);
len540fs/minix/namei.cint minix_symlink(struct inode * dir, const char * name, int len, const char * symname)
len570fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len579fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
len595fs/minix/namei.cint minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len611fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
len618fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
len33fs/msdos/namei.cstatic int msdos_format_name(char conv,const char *name,int len,char *res,
len41fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) {
len44fs/msdos/namei.cwhile (len--) *res++ = '.';
len49fs/msdos/namei.cfor (walk = res; len && walk-res < 8; walk++) {
len51fs/msdos/namei.clen--;
len61fs/msdos/namei.cif (conv == 's' && len && c != '.') {
len63fs/msdos/namei.clen--;
len66fs/msdos/namei.cwhile (c != '.' && len--) c = *name++;
len69fs/msdos/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
len71fs/msdos/namei.clen--;
len82fs/msdos/namei.cif (conv == 's' && len) return -EINVAL;
len93fs/msdos/namei.cstatic int msdos_find(struct inode *dir,const char *name,int len,
len99fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len105fs/msdos/namei.cint msdos_lookup(struct inode *dir,const char *name,int len,
len119fs/msdos/namei.cif (len == 1 && name[0] == '.') {
len123fs/msdos/namei.cif (len == 2 && name[0] == '.' && name[1] == '.') {
len130fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
len197fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
len206fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len245fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
len253fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
len295fs/msdos/namei.cif (msdos_rmdir(dir,name,len) < 0)
len327fs/msdos/namei.cint msdos_rmdir(struct inode *dir,const char *name,int len)
len337fs/msdos/namei.cif (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.')))
len339fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
len367fs/msdos/namei.cint len,
len377fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
len400fs/msdos/namei.cint msdos_unlink(struct inode *dir,const char *name,int len)
len402fs/msdos/namei.creturn msdos_unlinkx (dir,name,len,1);
len407fs/msdos/namei.cint msdos_unlink_umsdos(struct inode *dir,const char *name,int len)
len409fs/msdos/namei.creturn msdos_unlinkx (dir,name,len,0);
len125fs/namei.cint lookup(struct inode * dir,const char * name, int len,
len136fs/namei.cif (len==2 && name[0] == '.' && name[1] == '.') {
len157fs/namei.cif (!len) {
len161fs/namei.creturn dir->i_op->lookup(dir,name,len,result);
len192fs/namei.cint len,error;
len208fs/namei.cfor(len=0;(c = *(pathname++))&&(c != '/');len++)
len213fs/namei.cerror = lookup(base,thisname,len,&inode);
len227fs/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,
len287fs/nfs/dir.cstatic int nfs_lookup(struct inode *dir, const char *__name, int len,
len292fs/nfs/dir.cchar name[len > NFS_MAXNAMLEN? 1 : len+1];
len301fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len305fs/nfs/dir.cmemcpy(name,__name,len);
len306fs/nfs/dir.cname[len] = '\0';
len307fs/nfs/dir.cif (len == 1 && name[0] == '.') { /* cheat for "." */
len328fs/nfs/dir.cstatic int nfs_create(struct inode *dir, const char *name, int len, int mode,
len342fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len363fs/nfs/dir.cstatic int nfs_mknod(struct inode *dir, const char *name, int len,
len376fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len395fs/nfs/dir.cstatic int nfs_mkdir(struct inode *dir, const char *name, int len, int mode)
len407fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len422fs/nfs/dir.cstatic int nfs_rmdir(struct inode *dir, const char *name, int len)
len431fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len442fs/nfs/dir.cstatic int nfs_unlink(struct inode *dir, const char *name, int len)
len451fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len462fs/nfs/dir.cstatic int nfs_symlink(struct inode *dir, const char *name, int len,
len473fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len491fs/nfs/dir.cconst char *name, int len)
len507fs/nfs/dir.cif (len > NFS_MAXNAMLEN) {
len97fs/nfs/proc.cint len, quadlen;
len99fs/nfs/proc.clen = strlen(string);
len100fs/nfs/proc.cquadlen = (len + 3) >> 2;
len101fs/nfs/proc.c*p++ = htonl(len);
len102fs/nfs/proc.cmemcpy((char *) p, string, len);
len103fs/nfs/proc.cmemset(((char *) p) + len, '\0', (quadlen << 2) - len);
len110fs/nfs/proc.cunsigned int len;
len112fs/nfs/proc.clen = ntohl(*p++);
len113fs/nfs/proc.cif (len > maxlen)
len115fs/nfs/proc.cmemcpy(string, (char *) p, len);
len116fs/nfs/proc.cstring[len] = '\0';
len117fs/nfs/proc.cp += (len + 3) >> 2;
len121fs/nfs/proc.cstatic inline int *xdr_encode_data(int *p, char *data, int len)
len125fs/nfs/proc.cquadlen = (len + 3) >> 2;
len126fs/nfs/proc.c*p++ = htonl(len);
len127fs/nfs/proc.cmemcpy((char *) p, data, len);
len128fs/nfs/proc.cmemset(((char *) p) + len, '\0', (quadlen << 2) - len);
len135fs/nfs/proc.cunsigned int len;
len137fs/nfs/proc.clen = *lenp = ntohl(*p++);
len138fs/nfs/proc.cif (len > maxlen)
len140fs/nfs/proc.cmemcpy(data, (char *) p, len);
len141fs/nfs/proc.cp += (len + 3) >> 2;
len357fs/nfs/proc.cint len = 0; /* = 0 is for gcc */
len376fs/nfs/proc.cif (!(p = xdr_decode_data(p, data, &len, count))) {
len381fs/nfs/proc.cPRINTK("NFS reply read %d\n", len);
len391fs/nfs/proc.creturn (status == NFS_OK) ? len : -nfs_stat_to_errno(status);
len55fs/nfs/sock.cint len;
len72fs/nfs/sock.clen = ((char *) end) - ((char *) start);
len100fs/nfs/sock.cresult = sock->ops->send(sock, (void *) start, len, 0, 0);
len109fs/proc/array.cint i, len;
len114fs/proc/array.clen = sprintf(buffer,
len134fs/proc/array.clen += sprintf(buffer + len, " %u", kstat.interrupts[i]);
len135fs/proc/array.clen += sprintf(buffer + len,
len140fs/proc/array.creturn len;
len70fs/proc/base.cint proc_match(int len,const char * name,struct proc_dir_entry * de)
len77fs/proc/base.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len79fs/proc/base.cif (de->namelen != len)
len86fs/proc/base.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
len91fs/proc/base.cstatic int proc_lookupbase(struct inode * dir,const char * name, int len,
len107fs/proc/base.cwhile (i-- > 0 && !proc_match(len,name,base_dir+i))
len53fs/proc/fd.cstatic int proc_lookupfd(struct inode * dir,const char * name, int len,
len73fs/proc/fd.cif (!len || (name[0] == '.' && (len == 1 ||
len74fs/proc/fd.c(name[1] == '.' && len == 2)))) {
len75fs/proc/fd.cif (len < 2) {
len88fs/proc/fd.cwhile (len-- > 0) {
len137fs/proc/net.cstatic int proc_lookupnet(struct inode * dir,const char * name, int len,
len150fs/proc/net.cif (!proc_match(len, name, de))
len79fs/proc/root.cstatic int proc_lookuproot(struct inode * dir,const char * name, int len,
len93fs/proc/root.cwhile (i-- > 0 && !proc_match(len,name,root_dir+i))
len105fs/proc/root.cwhile (len-- > 0) {
len101fs/super.cint err, len;
len110fs/super.clen = strlen(tmp->name) + 1;
len111fs/super.cerr = verify_area(VERIFY_WRITE, buf, len);
len114fs/super.cmemcpy_tofs(buf, tmp->name, len);
len159fs/super.cint len = 0;
len163fs/super.cwhile (tmp && len < PAGE_SIZE - 80) {
len164fs/super.clen += sprintf(buf+len, "%s\t%s\n",
len169fs/super.creturn len;
len25fs/sysv/namei.cstatic inline int namecompare(int len, int maxlen,
len28fs/sysv/namei.cif (len >= maxlen || !buffer[len]) {
len32fs/sysv/namei.c:"S" ((long) name),"D" ((long) buffer),"c" (len)
len47fs/sysv/namei.cstatic int sysv_match(int len, const char * name, struct sysv_dir_entry * de)
len49fs/sysv/namei.cif (!de->inode || len > SYSV_NAMELEN)
len52fs/sysv/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
len54fs/sysv/namei.creturn namecompare(len,SYSV_NAMELEN,name,de->name);
len109fs/sysv/namei.cint sysv_lookup(struct inode * dir,const char * name, int len,
len123fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
len210fs/sysv/namei.cint sysv_create(struct inode * dir,const char * name, int len, int mode,
len232fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
len248fs/sysv/namei.cint sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
len257fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len292fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len308fs/sysv/namei.cint sysv_mkdir(struct inode * dir, const char * name, int len, int mode)
len320fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len358fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len435fs/sysv/namei.cint sysv_rmdir(struct inode * dir, const char * name, int len)
len443fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len491fs/sysv/namei.cint sysv_unlink(struct inode * dir, const char * name, int len)
len501fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len544fs/sysv/namei.cint sysv_symlink(struct inode * dir, const char * name, int len, const char * symname)
len578fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len587fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
len603fs/sysv/namei.cint sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
len619fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
len626fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
len154fs/umsdos/dir.c,info.fake.len,&inode);
len478fs/umsdos/dir.cint len)
len488fs/umsdos/dir.c&& len == 3
len498fs/umsdos/dir.cint len,
len505fs/umsdos/dir.cif (len == 1 && name[0] == '.'){
len509fs/umsdos/dir.c}else if (len == 2 && name[0] == '.' && name[1] == '.'){
len541fs/umsdos/dir.c}else if (umsdos_is_pseudodos(dir,name,len)){
len551fs/umsdos/dir.cret = umsdos_parse (name,len,&info);
len554fs/umsdos/dir.c,info.fake.len));
len566fs/umsdos/dir.cret = umsdos_real_lookup (dir,info.fake.fname,info.fake.len,result);
len607fs/umsdos/dir.cint len,
len610fs/umsdos/dir.creturn umsdos_lookup_x(dir,name,len,result,0);
len638fs/umsdos/dir.cint len;
len640fs/umsdos/dir.clen = (int)(pt - start);
len644fs/umsdos/dir.cret = msdos_lookup(dir,start,len,result);
len646fs/umsdos/dir.cret = umsdos_lookup_x(dir,start,len,result,1);
len67fs/umsdos/inode.cint len,
len72fs/umsdos/inode.cret = msdos_lookup (dir,name,len,result);
len113fs/umsdos/ioctl.c,info.fake.fname,info.fake.len+1);
len73fs/umsdos/mangle.cchar *pt = info->fake.fname + info->fake.len;
len98fs/umsdos/mangle.cinfo->fake.len += 4;
len107fs/umsdos/mangle.cint umsdos_evalrecsize (int len)
len110fs/umsdos/mangle.cint nbrec = 1+((len-1+(dirent.name-(char*)&dirent))
len119fs/umsdos/mangle.cint umsdos_evalrecsize_old (int len)
len122fs/umsdos/mangle.cint size = len + (dirent.name-(char*)&dirent);
len135fs/umsdos/mangle.cint len,
len144fs/umsdos/mangle.cif (len > UMSDOS_MAXNAME) len = UMSDOS_MAXNAME;
len152fs/umsdos/mangle.cint msdos_len = len;
len191fs/umsdos/mangle.cif (len<=(8+1+3)){
len193fs/umsdos/mangle.cconst char *endpt = fname + len;
len252fs/umsdos/mangle.c|| (firstpt == NULL && len > 8)
len253fs/umsdos/mangle.c|| (len == UMSDOS_EMD_NAMELEN
len299fs/umsdos/mangle.cbase_len = firstpt != NULL ? (int)(firstpt - fname) : len;
len366fs/umsdos/mangle.cinfo->fake.len = msdos_len;
len368fs/umsdos/mangle.cmemcpy (info->entry.name,fname,len);
len369fs/umsdos/mangle.cinfo->entry.name_len = len;
len375fs/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
len337fs/umsdos/namei.cPRINTK (("ret %d %d ",ret,new_info.fake.len));
len343fs/umsdos/namei.c,old_info.fake.fname,old_info.fake.len
len345fs/umsdos/namei.c,new_info.fake.fname,new_info.fake.len);
len402fs/umsdos/namei.cint len,
len421fs/umsdos/namei.cret = umsdos_create_any (dir,name,len,mode,0,flags,&inode);
len424fs/umsdos/namei.cint len = strlen(symname);
len428fs/umsdos/namei.cret = umsdos_file_write_kmem (inode,&filp,(char*)symname,len);
len431fs/umsdos/namei.cif (ret != len){
len440fs/umsdos/namei.cUMSDOS_unlink (dir,name,len);
len455fs/umsdos/namei.cint len,
len458fs/umsdos/namei.creturn umsdos_symlink_x (dir,name,len,symname,S_IFLNK|0777,0);
len467fs/umsdos/namei.cint len)
len540fs/umsdos/namei.c}else if ((ret = umsdos_nevercreat(dir,name,len,-EPERM))==0){
len590fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len
len607fs/umsdos/namei.cret = umsdos_symlink_x (dir,name,len,path
len638fs/umsdos/namei.cint len,        /* Length of the name */
len643fs/umsdos/namei.creturn umsdos_create_any (dir,name,len,mode,0,0,result);
len651fs/umsdos/namei.cint len,
len654fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EEXIST);
len657fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len674fs/umsdos/namei.cret = msdos_mkdir (dir,info.fake.fname,info.fake.len,mode);
len690fs/umsdos/namei.c,info.fake.len,&subdir);
len717fs/umsdos/namei.cint len,
len736fs/umsdos/namei.cint ret = umsdos_create_any (dir,name,len,mode,rdev,0,&inode);
len747fs/umsdos/namei.cint len)
len830fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len834fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&sdir);
len854fs/umsdos/namei.cumsdos_parse (name,len,&info);
len859fs/umsdos/namei.c,info.fake.len);
len884fs/umsdos/namei.cint len)
len887fs/umsdos/namei.cint ret = umsdos_nevercreat(dir,name,len,-EPERM);
len889fs/umsdos/namei.cret = umsdos_parse (name,len,&info);
len910fs/umsdos/namei.cret = UMSDOS_lookup (dir,name,len,&inode);
len937fs/umsdos/namei.c,info.fake.len);
len66fs/umsdos/rdir.cint len,
len71fs/umsdos/rdir.c&& len == 2
len84fs/umsdos/rdir.cret = umsdos_real_lookup (dir,name,len,result);
len109fs/umsdos/rdir.cint len)
len126fs/umsdos/rdir.cif (umsdos_is_pseudodos(dir,name,len)){
len139fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len143fs/umsdos/rdir.cret = UMSDOS_rlookup (dir,name,len,&sdir);
len162fs/umsdos/rdir.cret = msdos_rmdir (dir,name,len);
len31fs/xiafs/namei.cstatic int xiafs_match(int len, const char * name, struct xiafs_direct * dep)
len35fs/xiafs/namei.cif (!dep || !dep->d_ino || len > _XIAFS_NAME_LEN)
len38fs/xiafs/namei.cif (!len && (dep->d_name[0]=='.') && (dep->d_name[1]=='\0'))
len40fs/xiafs/namei.cif (len != dep->d_name_len)
len42fs/xiafs/namei.cfor (i=0; i < len; i++)
len115fs/xiafs/namei.cint xiafs_lookup(struct inode * dir, const char * name, int len,
len129fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
len244fs/xiafs/namei.cint xiafs_create(struct inode * dir, const char * name, int len, int mode,
len262fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len278fs/xiafs/namei.cint xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev)
len286fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len319fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len335fs/xiafs/namei.cint xiafs_mkdir(struct inode * dir, const char * name, int len, int mode)
len341fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
len384fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len484fs/xiafs/namei.cint xiafs_rmdir(struct inode * dir, const char * name, int len)
len492fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len536fs/xiafs/namei.cint xiafs_unlink(struct inode * dir, const char * name, int len)
len546fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
len584fs/xiafs/namei.cint len, const char * symname)
len592fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
len619fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len636fs/xiafs/namei.cconst char * name, int len)
len651fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
len658fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
len134ibcs/binfmt_elf.cunsigned int len;
len204ibcs/binfmt_elf.clen = (elf_bss + 0xfff) & 0xfffff000; /* What we have mapped so far */
len207ibcs/binfmt_elf.cif (last_bss > len)
len208ibcs/binfmt_elf.cdo_mmap(NULL, len, last_bss-len,
len571ibcs/binfmt_elf.cunsigned int len;
len578ibcs/binfmt_elf.clen = 0;
len646ibcs/binfmt_elf.clen = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000;
len648ibcs/binfmt_elf.cif (bss > len)
len649ibcs/binfmt_elf.cdo_mmap(NULL, len, bss-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);
len32include/linux/ip.hunsigned char  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,
len80include/linux/minix_fs.hextern int minix_lookup(struct inode * dir,const char * name, int len,
len82include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
len84include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
len85include/linux/minix_fs.hextern int minix_rmdir(struct inode * dir, const char * name, int len);
len86include/linux/minix_fs.hextern int minix_unlink(struct inode * dir, const char * name, int len);
len87include/linux/minix_fs.hextern int minix_symlink(struct inode * inode, const char * name, int len,
len89include/linux/minix_fs.hextern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
len90include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
len195include/linux/mm.hextern int do_mmap(struct file * file, unsigned long addr, unsigned long len,
len157include/linux/msdos_fs.hextern int msdos_lookup(struct inode *dir,const char *name,int len,
len159include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
len161include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
len162include/linux/msdos_fs.hextern int msdos_rmdir(struct inode *dir,const char *name,int len);
len163include/linux/msdos_fs.hextern int msdos_unlink(struct inode *dir,const char *name,int len);
len164include/linux/msdos_fs.hextern int msdos_unlink_umsdos(struct inode *dir,const char *name,int len);
len107include/linux/net.hint  (*listen)  (struct socket *sock, int len);
len108include/linux/net.hint  (*send)    (struct socket *sock, void *buff, int len, int nonblock,
len110include/linux/net.hint  (*recv)    (struct socket *sock, void *buff, int len, int nonblock,
len112include/linux/net.hint  (*sendto)  (struct socket *sock, void *buff, int len, int nonblock,
len114include/linux/net.hint  (*recvfrom)  (struct socket *sock, void *buff, int len, int nonblock,
len129include/linux/netdevice.hunsigned len,
len185include/linux/netdevice.hextern int    dev_rint(unsigned char *buff, long len, int flags,
len8include/linux/pipe_fs_i.hunsigned int len;
len19include/linux/pipe_fs_i.h#define PIPE_LEN(inode)    ((inode).u.pipe_i.len)
len60include/linux/skbuff.hunsigned long     len;
len156include/linux/soundcard.hlong len;  /* Size of the wave data in bytes */
len215include/linux/soundcard.hlong len;  /* Size of the sysex data in bytes */
len795include/linux/soundcard.h#define SEQ_DEFINEBUF(len)    unsigned char _seqbuf[len]; int _seqbuflen = len;int _seqbufptr = 0
len799include/linux/soundcard.h#define _SEQ_NEEDBUF(len)    if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump()
len800include/linux/soundcard.h#define _SEQ_ADVBUF(len)    _seqbufptr += len
len817include/linux/soundcard.h#define _SEQ_NEEDBUF(len)  /* empty */
len960include/linux/soundcard.h#define SEQ_WRPATCH(patchx, len)    {if (_seqbufptr) seqbuf_dump();\
len961include/linux/soundcard.hif (write(seqfd, (char*)(patchx), len)==-1) \
len963include/linux/soundcard.h#define SEQ_WRPATCH2(patchx, len)  (seqbuf_dump(), write(seqfd, (char*)(patchx), len))
len393include/linux/sysv_fs.hextern int sysv_lookup(struct inode * dir,const char * name, int len,
len395include/linux/sysv_fs.hextern int sysv_create(struct inode * dir,const char * name, int len, int mode,
len397include/linux/sysv_fs.hextern int sysv_mkdir(struct inode * dir, const char * name, int len, int mode);
len398include/linux/sysv_fs.hextern int sysv_rmdir(struct inode * dir, const char * name, int len);
len399include/linux/sysv_fs.hextern int sysv_unlink(struct inode * dir, const char * name, int len);
len400include/linux/sysv_fs.hextern int sysv_symlink(struct inode * inode, const char * name, int len,
len402include/linux/sysv_fs.hextern int sysv_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
len403include/linux/sysv_fs.hextern int sysv_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
len24include/linux/udp.hunsigned short  len;
len19include/linux/umsdos_fs.hint  len;
len65include/linux/xia_fs.hextern int xiafs_lookup(struct inode * dir,const char * name, int len, 
len67include/linux/xia_fs.hextern int xiafs_create(struct inode * dir,const char * name, int len, int mode,
len69include/linux/xia_fs.hextern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode);
len70include/linux/xia_fs.hextern int xiafs_rmdir(struct inode * dir, const char * name, int len);
len71include/linux/xia_fs.hextern int xiafs_unlink(struct inode * dir, const char * name, int len);
len72include/linux/xia_fs.hextern int xiafs_symlink(struct inode * inode, const char * name, int len,
len75include/linux/xia_fs.hconst char * name, int len);
len76include/linux/xia_fs.hextern int xiafs_mknod(struct inode * dir, const char * name, int len, 
len314init/main.cint len = strlen(devnames[n]);
len315init/main.cif (!strncmp(line,devnames[n],len)) {
len316init/main.cROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,16);
len368init/main.cint len = 0;
len376init/main.cif (COMMAND_LINE_SIZE <= ++len)
len396ipc/shm.cstatic int add_vm_area(unsigned long addr, unsigned long len, int readonly)
len403ipc/shm.cdo_munmap(addr, len);
len406ipc/shm.cvma->vm_end = addr + len;
len75kernel/dma.cint i, len = 0;
len79kernel/dma.clen += sprintf(buf+len, "%2d: %s\n",
len84kernel/dma.creturn len;
len195kernel/irq.cint i, len = 0;
len201kernel/irq.clen += sprintf(buf+len, "%2d: %8d %c %s\n",
len206kernel/irq.creturn len;
len54kernel/printk.casmlinkage int sys_syslog(int type, char * buf, int len)
len69kernel/printk.cif (!buf || len < 0)
len71kernel/printk.cif (!len)
len73kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len85kernel/printk.cwhile (log_size && i < len) {
len102kernel/printk.cif (!buf || len < 0)
len104kernel/printk.cif (!len)
len106kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
len109kernel/printk.ccount = len;
len132kernel/printk.cif (len < 0 || len > 8)
len134kernel/printk.cconsole_loglevel = len;
len645kernel/sys.casmlinkage int sys_sethostname(char *name, int len)
len651kernel/sys.cif (len > __NEW_UTS_LEN)
len653kernel/sys.cfor (i=0; i < len; i++) {
len665kernel/sys.casmlinkage int sys_setdomainname(char *name, int len)
len671kernel/sys.cif (len > __NEW_UTS_LEN)
len673kernel/sys.cfor (i=0; i < len; i++) {
len136kernel/vsprintf.cint len;
len218kernel/vsprintf.clen = strlen(s);
len220kernel/vsprintf.cprecision = len;
len221kernel/vsprintf.celse if (len > precision)
len222kernel/vsprintf.clen = precision;
len225kernel/vsprintf.cwhile (len < field_width--)
len227kernel/vsprintf.cfor (i = 0; i < len; ++i)
len229kernel/vsprintf.cwhile (len < field_width--)
len38mm/mmap.cint do_mmap(struct file * file, unsigned long addr, unsigned long len,
len44mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len47mm/mmap.cif (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len)
len51mm/mmap.cif (off + len < off)
len85mm/mmap.cif (len > TASK_SIZE || addr > TASK_SIZE - len)
len92mm/mmap.cwhile (addr+len < SHM_RANGE_END) {
len96mm/mmap.cif (addr + len <= vmm->vm_start)
len104mm/mmap.cif (addr+len >= SHM_RANGE_END)
len131mm/mmap.cvma->vm_end = addr + len;
len151mm/mmap.cdo_munmap(addr, len);  /* Clear old maps */
len211mm/mmap.cunsigned long addr, size_t len)
len214mm/mmap.cunsigned long end = addr + len;
len267mm/mmap.casmlinkage int sys_munmap(unsigned long addr, size_t len)
len269mm/mmap.creturn do_munmap(addr, len);
len278mm/mmap.cint do_munmap(unsigned long addr, size_t len)
len282mm/mmap.cif ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr)
len285mm/mmap.cif ((len = PAGE_ALIGN(len)) == 0)
len297mm/mmap.cunsigned long end = addr+len;
len327mm/mmap.cend = addr+len;
len338mm/mmap.cunmap_page_range(addr, len);
len171mm/mprotect.casmlinkage int sys_mprotect(unsigned long start, size_t len, unsigned long prot)
len178mm/mprotect.clen = (len + ~PAGE_MASK) & PAGE_MASK;
len179mm/mprotect.cend = start + len;
len461net/inet/af_inet.cstatic void def_callback2(struct sock *sk,int len)
len302net/inet/arp.cskb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4);
len311net/inet/arp.cdev->hard_header(skb->data,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len,skb);
len868net/inet/arp.cint len=0;
len879net/inet/arp.clen+=size;
len907net/inet/arp.csize = sprintf(buffer+len,
len914net/inet/arp.clen+=size;
len915net/inet/arp.cpos=begin+len;
len919net/inet/arp.clen=0;
len929net/inet/arp.clen-=(offset-begin);    /* Start slop */
len930net/inet/arp.cif(len>length)
len931net/inet/arp.clen=length;            /* Ending slop */
len932net/inet/arp.creturn len;
len529net/inet/dev.cint dev_rint(unsigned char *buff, long len, int flags, struct device *dev)
len537net/inet/dev.cif (dev == NULL || buff == NULL || len <= 0) 
len554net/inet/dev.cskb = alloc_skb(len, GFP_ATOMIC);
len569net/inet/dev.cleft = len;
len571net/inet/dev.clen2 = len;
len590net/inet/dev.cskb->len = len;
len703net/inet/dev.cskb->len -= skb->dev->hard_header_len;
len744net/inet/dev.cskb2 = alloc_skb(skb->len, GFP_ATOMIC);
len873net/inet/dev.cint len;
len884net/inet/dev.clen = ifc.ifc_len;
len892net/inet/dev.cerr=verify_area(VERIFY_WRITE,pos,len);
len915net/inet/dev.clen -= sizeof(struct ifreq);
len921net/inet/dev.cif (len < sizeof(struct ifreq)) 
len976net/inet/dev.cint len=0;
len988net/inet/dev.clen+=size;
len993net/inet/dev.csize = sprintf_stats(buffer+len, dev);
len994net/inet/dev.clen+=size;
len995net/inet/dev.cpos=begin+len;
len999net/inet/dev.clen=0;
len1007net/inet/dev.clen-=(offset-begin);    /* Start slop */
len1008net/inet/dev.cif(len>length)
len1009net/inet/dev.clen=length;    /* Ending slop */
len1010net/inet/dev.creturn len;
len83net/inet/eth.cvoid *daddr, void *saddr, unsigned len,
len96net/inet/eth.ceth->h_proto = htons(len);
len29net/inet/eth.hunsigned long saddr, unsigned len);
len98net/inet/icmp.cint len;
len163net/inet/icmp.clen = dev->hard_header_len + sizeof(struct iphdr) + sizeof(struct icmphdr) +
len166net/inet/icmp.cskb = (struct sk_buff *) alloc_skb(len, GFP_ATOMIC);
len179net/inet/icmp.c&ndev, IPPROTO_ICMP, NULL, len, skb_in->ip_hdr->tos,255);
len193net/inet/icmp.cskb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8;
len352net/inet/icmp.cunsigned long saddr, unsigned long daddr, int len,
len363net/inet/icmp.csize = dev->hard_header_len + 64 + len;
len376net/inet/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
len390net/inet/icmp.cskb2->len = offset + len;
len396net/inet/icmp.cmemcpy((char *) icmphr, (char *) icmph, len);
len400net/inet/icmp.cicmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len);
len419net/inet/icmp.cunsigned long saddr, unsigned long daddr, int len,
len428net/inet/icmp.csize = dev->hard_header_len + 64 + len;
len443net/inet/icmp.coffset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, 
len457net/inet/icmp.cskb2->len = offset + len;
len464net/inet/icmp.cmemcpy((char *) icmphr, (char *) icmph, len);
len476net/inet/icmp.cicmphr->checksum = ip_compute_csum((unsigned char *) icmphr, len);
len495net/inet/icmp.cunsigned long saddr, unsigned long daddr, int len,
len508net/inet/icmp.cunsigned long saddr, unsigned long daddr, int len,
len519net/inet/icmp.csize = dev->hard_header_len + 64 + len;
len534net/inet/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
len548net/inet/icmp.cskb2->len = offset + len;
len562net/inet/icmp.cicmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len);
len577net/inet/icmp.cunsigned long daddr, unsigned short len,
len602net/inet/icmp.cif (ip_compute_csum((unsigned char *) icmph, len)) 
len646net/inet/icmp.cicmp_echo(icmph, skb1, dev, saddr, daddr, len, opt);
len654net/inet/icmp.cicmp_timestamp(icmph, skb1, dev, saddr, daddr, len, opt);
len662net/inet/icmp.cicmp_info(icmph, skb1, dev, saddr, daddr, len, opt);
len670net/inet/icmp.cicmp_address(icmph, skb1, dev, saddr, daddr, len, opt);
len32net/inet/icmp.hunsigned short len, unsigned long saddr,
len161net/inet/ip.cstatic int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr)
len173net/inet/ip.cmac = dev->hard_header(skb->data, dev, ETH_P_IP, NULL, NULL, len, skb);
len193net/inet/ip.cstruct device **dev, int type, struct options *opt, int len, int tos, int ttl)
len268net/inet/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
len270net/inet/ip.clen -= tmp;
len317net/inet/ip.cint i, len = sizeof(struct iphdr);
len335net/inet/ip.cwhile (!done && len < iph->ihl*4) switch(*buff) {
len341net/inet/ip.clen++;
len355net/inet/ip.clen += 11;
len360net/inet/ip.clen += *buff;
len377net/inet/ip.clen += *buff;
len394net/inet/ip.clen += *buff;
len409net/inet/ip.clen += 4;
len416net/inet/ip.clen += *buff;
len418net/inet/ip.copt->tstamp.len = *buff / 4 - 1;
len425net/inet/ip.cfor (i = 0; i < opt->tstamp.len; i++) {
len493net/inet/ip.cunsigned short ip_compute_csum(unsigned char * buff, int len)
len498net/inet/ip.cif (len > 3)
len511net/inet/ip.c: "0" (sum), "c" (len >> 2) ,"1" (buff)
len514net/inet/ip.cif (len & 2)
len523net/inet/ip.cif (len & 1)
len585net/inet/ip.cfp->len = end - offset;
len759net/inet/ip.cqp->len = 0;
len793net/inet/ip.cif (qp->len == 0)
len827net/inet/ip.cint count, len;
len833net/inet/ip.clen = qp->maclen + qp->ihlen + qp->len;
len835net/inet/ip.cif ((skb = alloc_skb(len,GFP_ATOMIC)) == NULL)
len844net/inet/ip.cskb->len = (len - qp->maclen);
len862net/inet/ip.cif(count+fp->len>skb->len)
len870net/inet/ip.cmemcpy((ptr + fp->offset), fp->ptr, fp->len);
len871net/inet/ip.ccount += fp->len;
len967net/inet/ip.cqp->len = end;
len1007net/inet/ip.cnext->len -= i;        /* so reduce size of  */
len1015net/inet/ip.cif (next->len <= 0)
len1091net/inet/ip.cint left, mtu, hlen, len;
len1160net/inet/ip.clen = left;
len1162net/inet/ip.cif (len > mtu)
len1163net/inet/ip.clen = mtu;
len1166net/inet/ip.cif (len < left)
len1168net/inet/ip.clen/=8;
len1169net/inet/ip.clen*=8;
len1175net/inet/ip.cif ((skb2 = alloc_skb(len + hlen,GFP_ATOMIC)) == NULL)
len1190net/inet/ip.cskb2->len = len + hlen;
len1216net/inet/ip.cmemcpy(skb2->h.raw + hlen, ptr, len);
len1217net/inet/ip.cleft -= len;
len1232net/inet/ip.cptr += len;
len1233net/inet/ip.coffset += len;
len1369net/inet/ip.cskb2 = alloc_skb(dev2->hard_header_len + skb->len, GFP_ATOMIC);
len1381net/inet/ip.cskb2->len = skb->len + dev2->hard_header_len;
len1387net/inet/ip.cmemcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len);
len1390net/inet/ip.c(void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr);
len1400net/inet/ip.cif(skb2->len > dev2->mtu + dev2->hard_header_len)
len1459net/inet/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0)
len1471net/inet/ip.cskb->len=ntohs(iph->tot_len);
len1670net/inet/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
len1693net/inet/ip.cif(skb->len > dev->mtu + dev->hard_header_len)
len1835net/inet/ip.csize = skb->len - (((unsigned char *) th) - skb->data);
len44net/inet/ip.hint    len;    /* length of this fragment    */
len55net/inet/ip.hint    len;    /* total length of original datagram  */
len76net/inet/ip.hstruct options *opt, int len,
len78net/inet/ip.hextern unsigned short  ip_compute_csum(unsigned char * buff, int len);
len148net/inet/ipx.cint len=0;
len154net/inet/ipx.clen += sprintf (buffer,"Type local_address             rem_address              tx_queue rx_queue st uid\n");
len157net/inet/ipx.clen += sprintf (buffer+len,"%02X   ", s->ipx_type);
len158net/inet/ipx.clen += sprintf (buffer+len,"%08lX:%02X%02X%02X%02X%02X%02X:%02X ", htonl(s->ipx_source_addr.net),
len162net/inet/ipx.clen += sprintf (buffer+len,"%08lX:%02X%02X%02X%02X%02X%02X:%02X ", htonl(s->ipx_dest_addr.net),
len166net/inet/ipx.clen += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc);
len167net/inet/ipx.clen += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid);
len170net/inet/ipx.cpos=begin+len;
len174net/inet/ipx.clen=0;      /* Keep dumping into the buffer start */
len183net/inet/ipx.clen-=(offset-begin);    /* Remove unwanted header data from length */
len184net/inet/ipx.cif(len>length)
len185net/inet/ipx.clen=length;    /* Remove unwanted tail data from length */
len187net/inet/ipx.creturn len;
len434net/inet/ipx.cint len=0;
len438net/inet/ipx.clen += sprintf (buffer,"Net      Router                Flags Dev\n");
len441net/inet/ipx.clen += sprintf (buffer+len,"%08lX %08lX:%02X%02X%02X%02X%02X%02X %02X    %s\n", ntohl(rt->net),
len444net/inet/ipx.cpos=begin+len;
len447net/inet/ipx.clen=0;
len454net/inet/ipx.clen-=(offset-begin);
len455net/inet/ipx.cif(len>length)
len456net/inet/ipx.clen=length;
len457net/inet/ipx.creturn len;
len563net/inet/ipx.cstatic void def_callback2(struct sock *sk, int len)
len876net/inet/ipx.cincoming_size = skb->len - ntohs(ipx->ipx_pktsize);
len891net/inet/ipx.cskb2->len=ntohs(ipx->ipx_pktsize) + outgoing_size;
len951net/inet/ipx.csock->data_ready(sock,skb->len);
len955net/inet/ipx.cstatic int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock,
len1021net/inet/ipx.csize=sizeof(ipx_packet)+len;  /* For mac headers */
len1057net/inet/ipx.cskb->len=size;
len1084net/inet/ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
len1095net/inet/ipx.cmemcpy_fromfs((char *)(ipx+1),ubuf,len);
len1114net/inet/ipx.cskb2=alloc_skb(skb->len, GFP_ATOMIC);
len1118net/inet/ipx.cskb2->len=skb->len;
len1122net/inet/ipx.cmemcpy(skb2->data, skb->data, skb->len);
len1127net/inet/ipx.creturn len;
len1232net/inet/ipx.camount=skb->len;
len43net/inet/p8022.cunsigned long  len = skb->len;
len47net/inet/p8022.cdev->hard_header(skb->data, dev, len - hard_len,
len48net/inet/p8022.cdest_node, NULL, len - hard_len, skb);
len12net/inet/p8023.cunsigned long  len = skb->len;
len15net/inet/p8023.cdev->hard_header(skb->data, dev, len - hard_len,
len16net/inet/p8023.cdest_node, NULL, len - hard_len, skb);
len85net/inet/packet.cskb->len += dev->hard_header_len;
len123net/inet/packet.cstatic int packet_sendto(struct sock *sk, unsigned char *from, int len,
len166net/inet/packet.cif(len>dev->mtu+dev->hard_header_len)
len169net/inet/packet.cskb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL);
len187net/inet/packet.cmemcpy_fromfs(skb->data, from, len);
len188net/inet/packet.cskb->len = len;
len199net/inet/packet.creturn(len);
len208net/inet/packet.cint len, int noblock,  unsigned flags)
len210net/inet/packet.creturn(packet_sendto(sk, buff, len, noblock, flags, NULL, 0));
len266net/inet/packet.cint packet_recvfrom(struct sock *sk, unsigned char *to, int len,
len311net/inet/packet.ctruesize = skb->len;
len312net/inet/packet.ccopied = min(len, truesize);
len348net/inet/packet.cint len, int noblock, unsigned flags)
len350net/inet/packet.creturn(packet_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len12net/inet/pe2.cunsigned long  len = skb->len;
len16net/inet/pe2.cdest_node, NULL, len - hard_len, skb);
len65net/inet/proc.cint len=0;
len70net/inet/proc.clen+=sprintf(buffer, "sl  local_address rem_address   st tx_queue rx_queue tr tm->when uid\n");
len93net/inet/proc.clen+=sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d\n",
len107net/inet/proc.cpos=begin+len;
len110net/inet/proc.clen=0;
len122net/inet/proc.clen-=(offset-begin);
len123net/inet/proc.cif(len>length)
len124net/inet/proc.clen=length;
len125net/inet/proc.creturn len;
len155net/inet/proc.cint len;
len160net/inet/proc.clen = sprintf (buffer,
len174net/inet/proc.clen += sprintf (buffer + len,
len191net/inet/proc.clen += sprintf (buffer + len,
len201net/inet/proc.clen += sprintf (buffer + len,
len211net/inet/proc.cif (offset >= len)
len217net/inet/proc.clen -= offset;
len218net/inet/proc.cif (len > length)
len219net/inet/proc.clen = length;
len220net/inet/proc.creturn len;
len33net/inet/protocol.hunsigned short len, unsigned long saddr,
len37net/inet/protocol.hunsigned short len, unsigned long saddr,
len428net/inet/rarp.cint len=0;
len439net/inet/rarp.clen+=size;
len446net/inet/rarp.clen+=size;
len458net/inet/rarp.csize = sprintf(buffer+len,
len469net/inet/rarp.clen+=size;
len470net/inet/rarp.cpos=begin+len;
len474net/inet/rarp.clen=0;
len484net/inet/rarp.clen-=(offset-begin);    /* Start slop */
len485net/inet/rarp.cif(len>length)
len486net/inet/rarp.clen=length;            /* Ending slop */
len487net/inet/rarp.creturn len;
len95net/inet/raw.cunsigned long daddr, unsigned short len, unsigned long saddr,
len119net/inet/raw.cskb->len = len + skb->ip_hdr->ihl*sizeof(long);
len138net/inet/raw.csk->data_ready(sk,skb->len);
len148net/inet/raw.cint len, int noblock, unsigned flags, struct sockaddr_in *usin, int addr_len)
len204net/inet/raw.clen + sk->prot->max_header,
len240net/inet/raw.cmemcpy_fromfs(skb->data + tmp, from, len);
len259net/inet/raw.cskb->len = tmp + len;
len263net/inet/raw.creturn(len);
len267net/inet/raw.cstatic int raw_write(struct sock *sk, unsigned char *buff, int len, int noblock,
len270net/inet/raw.creturn(raw_sendto(sk, buff, len, noblock, flags, NULL, 0));
len314net/inet/raw.cint raw_recvfrom(struct sock *sk, unsigned char *to, int len,
len333net/inet/raw.ctruesize=skb->len;
len334net/inet/raw.ccopied = min(len, truesize);
len351net/inet/raw.cint raw_read (struct sock *sk, unsigned char *buff, int len, int noblock,unsigned flags)
len353net/inet/raw.creturn(raw_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len28net/inet/raw.hunsigned short len, unsigned long saddr,
len31net/inet/raw.hint len, int noblock, unsigned flags,
len34net/inet/raw.hint len, int noblock, unsigned flags);
len484net/inet/route.cint len=0;
len489net/inet/route.clen += sprintf(buffer,
len491net/inet/route.cpos=len;
len499net/inet/route.csize = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\n",
len503net/inet/route.clen+=size;
len507net/inet/route.clen=0;
len515net/inet/route.clen-=(offset-begin);
len516net/inet/route.cif(len>length)
len517net/inet/route.clen=length;
len518net/inet/route.creturn len;
len503net/inet/skbuff.cn->len=skb->len;
len426net/inet/sock.cskb->saddr, skb->len, skb->daddr, 1,
len192net/inet/sock.hint len, int nonblock, unsigned flags);
len194net/inet/sock.hint len, int nonblock, unsigned flags);
len196net/inet/sock.hunsigned char *from, int len, int noblock,
len200net/inet/sock.hunsigned char *from, int len, int noblock,
len207net/inet/sock.hstruct options *opt, int len, int tos, int ttl);
len219net/inet/sock.hunsigned short len, unsigned long saddr,
len397net/inet/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
len570net/inet/tcp.cunsigned short tcp_check(struct tcphdr *th, int len,
len588net/inet/tcp.c: "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256)
len642net/inet/tcp.c: "0"(sum), "c"(len), "S"(th)
len653net/inet/tcp.cunsigned long daddr, int len, struct sock *sk)
len656net/inet/tcp.cth->check = tcp_check(th, len, saddr, daddr);
len666net/inet/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
len669net/inet/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
len672net/inet/tcp.cskb, skb->data, th, skb->len);
len802net/inet/tcp.cbuff->len = sizeof(struct tcphdr);
len816net/inet/tcp.cbuff->len += tmp;
len894net/inet/tcp.cint len, int nonblock, unsigned flags)
len907net/inet/tcp.cwhile(len > 0) 
len1024net/inet/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), len);
len1032net/inet/tcp.cmemcpy_fromfs(skb->data + skb->len, from, copy);
len1033net/inet/tcp.cskb->len += copy;
len1036net/inet/tcp.clen -= copy;
len1039net/inet/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
len1062net/inet/tcp.cif (copy > len)
len1063net/inet/tcp.ccopy = len;
len1136net/inet/tcp.cskb->len = 0;
len1158net/inet/tcp.cskb->len += tmp;
len1162net/inet/tcp.ctmp = tcp_build_header((struct tcphdr *)buff, sk, len-copy);
len1177net/inet/tcp.cskb->len += tmp;
len1182net/inet/tcp.clen -= copy;
len1183net/inet/tcp.cskb->len += copy;
len1219net/inet/tcp.cint len, int nonblock, unsigned flags,
len1232net/inet/tcp.creturn(tcp_write(sk, from, len, nonblock, flags));
len1265net/inet/tcp.cbuff->len = sizeof(struct tcphdr);
len1282net/inet/tcp.cbuff->len += tmp;
len1401net/inet/tcp.cunsigned char *to, int len, unsigned flags)
len1405net/inet/tcp.cwhile (len > 0) 
len1463net/inet/tcp.cint len, int nonblock, unsigned flags)
len1477net/inet/tcp.creturn tcp_read_urg(sk, nonblock, to, len, flags);
len1486net/inet/tcp.cwhile (len > 0) 
len1509net/inet/tcp.cif (offset < skb->len)
len1564net/inet/tcp.cused = skb->len - offset;
len1565net/inet/tcp.cif (len < used)
len1566net/inet/tcp.cused = len;
len1590net/inet/tcp.clen -= used;
len1595net/inet/tcp.cif (!(flags & MSG_PEEK) && (used + offset >= skb->len))
len1669net/inet/tcp.cbuff->len = sizeof(*t1);
len1707net/inet/tcp.cbuff->len += tmp;
len1804net/inet/tcp.cbuff->len = sizeof(*t1);
len1825net/inet/tcp.cbuff->len += tmp;
len2124net/inet/tcp.cbuff->len = sizeof(struct tcphdr)+4;
len2154net/inet/tcp.cbuff->len += tmp;
len2240net/inet/tcp.cif(skb->len > 0 && after(skb->h.th->seq + skb->len , sk->copied_seq))
len2333net/inet/tcp.cbuff->len = sizeof(*t1);
len2366net/inet/tcp.cbuff->len += tmp;
len2471net/inet/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
len2528net/inet/tcp.cstatic int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
len2578net/inet/tcp.cif (len != th->doff*4) 
len3059net/inet/tcp.cunsigned long saddr, unsigned short len)
len3067net/inet/tcp.cskb->len = len -(th->doff*4);
len3072net/inet/tcp.csk->bytes_rcv += skb->len;
len3074net/inet/tcp.cif (skb->len == 0 && !th->fin && !th->urg && !th->psh) 
len3092net/inet/tcp.cnew_seq= th->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
len3155net/inet/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
len3190net/inet/tcp.cth->ack_seq = th->seq + skb->len;
len3380net/inet/tcp.cunsigned long saddr, unsigned long len)
len3394net/inet/tcp.cif (ptr >= len)
len3421net/inet/tcp.csk->fin_seq = th->seq + skb->len + th->syn + th->fin;
len3615net/inet/tcp.cbuff->len = 24;
len3642net/inet/tcp.cbuff->len += tmp;
len3723net/inet/tcp.ctcp_sequence(struct sock *sk, struct tcphdr *th, short len,
len3728net/inet/tcp.cnext_seq = len - 4*th->doff;
len3794net/inet/tcp.cunsigned long daddr, unsigned short len,
len3836net/inet/tcp.cif (tcp_check(th, len, saddr, daddr )) 
len3858net/inet/tcp.cskb->len = len;
len3927net/inet/tcp.cif(th->ack && !tcp_ack(sk, th, saddr, len))
len3936net/inet/tcp.cskb->len -= (th->doff *4);
len3937net/inet/tcp.csk->bytes_rcv += skb->len;
len3939net/inet/tcp.cif(skb->len)
len3942net/inet/tcp.cif(sk->window >= skb->len)
len3943net/inet/tcp.csk->window-=skb->len;      /* We know its effect on the window */
len3946net/inet/tcp.csk->acked_seq = th->seq+skb->len;  /* Easy */
len3968net/inet/tcp.cif(!tcp_sequence(sk, th, len, opt, saddr, dev))
len3974net/inet/tcp.cif(th->ack && !tcp_ack(sk, th, saddr, len))
len3980net/inet/tcp.cif(tcp_data(skb, sk, saddr, len))
len4021net/inet/tcp.cif (!tcp_sequence(sk, th, len, opt, saddr,dev)) 
len4068net/inet/tcp.cif (th->ack && !tcp_ack(sk, th, saddr, len)) {
len4074net/inet/tcp.cif (tcp_urg(sk, th, saddr, len)) {
len4081net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) {
len4152net/inet/tcp.cif (!tcp_sequence(sk, th, len, opt, saddr,dev)) 
len4189net/inet/tcp.cif (!tcp_ack(sk, th, saddr, len)) 
len4217net/inet/tcp.cif (!tcp_ack(sk, th, saddr, len)) 
len4264net/inet/tcp.cif (tcp_urg(sk, th, saddr, len)) 
len4271net/inet/tcp.cif (tcp_data(skb, sk, saddr, len))
len4282net/inet/tcp.cif (tcp_urg(sk, th, saddr, len)) 
len4289net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) 
len4341net/inet/tcp.cbuff->len = sizeof(struct tcphdr);
len4357net/inet/tcp.cbuff->len += tmp;
len121net/inet/tcp.hunsigned short len, unsigned long saddr, int redo,
len128net/inet/tcp.hunsigned long daddr, int len, struct sock *sk);
len65net/inet/timer.cvoid reset_timer (struct sock *t, int timeout, unsigned long len)
len71net/inet/timer.cif ((int) len < 0)  /* prevent close to infinite timers. THEY _DO_ */
len72net/inet/timer.clen = 3;  /* happen (negative values ?) - don't ask me why ! -FB */
len74net/inet/timer.ct->timer.expires = len;
len153net/inet/udp.cstatic unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr)
len161net/inet/udp.c: "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256)
len164net/inet/udp.cif (len > 3) 
len173net/inet/udp.c: "0"(sum), "c"(len/4) ,"1"(uh)
len193net/inet/udp.cif ((len & 2) != 0) 
len207net/inet/udp.cif ((len & 1) != 0) 
len232net/inet/udp.cunsigned long daddr, int len, struct sock *sk)
len237net/inet/udp.cuh->check = udp_check(uh, len, saddr, daddr);
len250net/inet/udp.cunsigned char *from, int len, int rt)
len263net/inet/udp.csize = sk->prot->max_header + len;
len297net/inet/udp.cskb->len = tmp + sizeof(struct udphdr) + len;  /* len + UDP + IP + MAC */
len305net/inet/udp.cuh->len = htons(len + sizeof(struct udphdr));
len314net/inet/udp.cmemcpy_fromfs(buff, from, len);
len320net/inet/udp.cudp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk);
len329net/inet/udp.creturn(len);
len333net/inet/udp.cstatic int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock,
len381net/inet/udp.ctmp = udp_send(sk, &sin, from, len, flags);
len392net/inet/udp.cstatic int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock,
len395net/inet/udp.creturn(udp_sendto(sk, buff, len, noblock, flags, NULL, 0));
len436net/inet/udp.camount = skb->len;
len458net/inet/udp.cint udp_recvfrom(struct sock *sk, unsigned char *to, int len,
len483net/inet/udp.ctruesize = skb->len;
len484net/inet/udp.ccopied = min(len, truesize);
len510net/inet/udp.cint udp_read(struct sock *sk, unsigned char *buff, int len, int noblock,
len513net/inet/udp.creturn(udp_recvfrom(sk, buff, len, noblock, flags, NULL, NULL));
len553net/inet/udp.cunsigned long daddr, unsigned short len,
len571net/inet/udp.culen = ntohs(uh->len);
len573net/inet/udp.cif (ulen > len || len < sizeof(*uh) || ulen < sizeof(*uh)) 
len575net/inet/udp.cprintk("UDP: short packet: %d/%d\n", ulen, len);
len580net/inet/udp.clen=ulen;
len599net/inet/udp.cif (uh->check && udp_check(uh, len, saddr, daddr)) 
len609net/inet/udp.cskb->len = len;
len640net/inet/udp.cskb->len = len - sizeof(*uh);  
len645net/inet/udp.csk->data_ready(sk,skb->len);
len37net/inet/udp.hint len, int noblock, unsigned flags,
len40net/inet/udp.hint len, int noblock, unsigned flags);
len45net/inet/udp.hunsigned short len, unsigned long saddr, int redo,
len123net/socket.cint len;
len128net/socket.clen=get_fs_long(ulen);
len129net/socket.cif(len>klen)
len130net/socket.clen=klen;
len131net/socket.cif(len<0 || len> MAX_SOCK_ADDR)
len133net/socket.cif(len)
len135net/socket.cif((err=verify_area(VERIFY_WRITE,uaddr,len))<0)
len137net/socket.cmemcpy_tofs(uaddr,kaddr,len);
len139net/socket.cput_fs_long(len,ulen);
len758net/socket.cint len;
len801net/socket.cnewsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1);
len802net/socket.cmove_addr_to_user(address,len, upeer_sockaddr, upeer_addrlen);
len869net/socket.cint len;
len877net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
len880net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len894net/socket.cint len;
len902net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
len905net/socket.cif((err=move_addr_to_user(address,len, usockaddr, usockaddr_len))<0)
len915net/socket.cstatic int sock_send(int fd, void * buff, int len, unsigned flags)
len926net/socket.cif(len<0)
len928net/socket.cerr=verify_area(VERIFY_READ, buff, len);
len931net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
len940net/socket.cstatic int sock_sendto(int fd, void * buff, int len, unsigned flags,
len953net/socket.cif(len<0)
len955net/socket.cerr=verify_area(VERIFY_READ,buff,len);
len962net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
len975net/socket.cstatic int sock_recv(int fd, void * buff, int len, unsigned flags)
len987net/socket.cif(len<0)
len989net/socket.cif(len==0)
len991net/socket.cerr=verify_area(VERIFY_WRITE, buff, len);
len995net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
len1004net/socket.cstatic int sock_recvfrom(int fd, void * buff, int len, unsigned flags,
len1016net/socket.cif(len<0)
len1018net/socket.cif(len==0)
len1021net/socket.cerr=verify_area(VERIFY_WRITE,buff,len);
len1025net/socket.clen=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
len1028net/socket.cif(len<0)
len1029net/socket.creturn len;
len1033net/socket.creturn len;
len43net/unix/proc.cint len=0;
len50net/unix/proc.clen += sprintf(buffer, "Num RefCount Protocol Flags    Type St Path\n");
len63net/unix/proc.clen += sprintf(buffer+len, "%2d: %08X %08X %08lX %04X %02X", i,
len74net/unix/proc.clen += sprintf(buffer+len, " %s\n",
len79net/unix/proc.cbuffer[len++]='\n';
len82net/unix/proc.cpos=begin+len;
len85net/unix/proc.clen=0;
len96net/unix/proc.clen-=(offset-begin);
len97net/unix/proc.cif(len>length)
len98net/unix/proc.clen=length;
len99net/unix/proc.creturn len;
len81net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len,
len83net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len,
len85net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len,
len88net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len,
len164net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, 
len170net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, 
len190net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock,
len195net/unix/sock.creturn(unix_proto_write(sock, (char *) buff, len, nonblock));
len203net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock,
len208net/unix/sock.creturn(unix_proto_read(sock, (char *) buff, len, nonblock));
len584net/unix/sock.cint len;
len597net/unix/sock.clen = upd->sockaddr_len;
len598net/unix/sock.cmemcpy(usockaddr, &upd->sockaddr_un, len);
len599net/unix/sock.c*usockaddr_len=len;
len264zBoot/gzip.hvoid     copy_block OF((char *buf, unsigned len, int header));
len219zBoot/misc.cint len, i;
len224zBoot/misc.clen = INBUFSIZ-insize;
len225zBoot/misc.cif (len > (input_len-input_ptr+1)) len=input_len-input_ptr+1;
len226zBoot/misc.cif (len == 0 || len == EOF) break;
len228zBoot/misc.cfor (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i];
len229zBoot/misc.cinsize += len;
len230zBoot/misc.cinput_ptr += len;
len397zBoot/misc.cunsigned len = (unsigned)get_byte();
len398zBoot/misc.clen |= ((unsigned)get_byte())<<8;
len399zBoot/misc.cwhile (len--) (void)get_byte();
len18zBoot/piggyback.cint c, n=0, len=0;
len35zBoot/piggyback.clen = 0;
len36zBoot/piggyback.cwhile ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0)
len37zBoot/piggyback.clen += n;
len45zBoot/piggyback.cif (len >= sizeof(tmp_buf))
len51zBoot/piggyback.cfprintf(stderr, "Compressed size %d.\n", len);
len56zBoot/piggyback.cobj.a_data = len + sizeof(long);
len63zBoot/piggyback.cwrite(1, tmp_buf, len);
len64zBoot/piggyback.cwrite(1, (char *)&len, sizeof(len));
len69zBoot/piggyback.cvar_names[1].n_value = len;
len75zBoot/piggyback.clen = sizeof(string_names) + sizeof(len);
len76zBoot/piggyback.cwrite(1, (char *)&len, sizeof(len));