tag | line | file | source code |
len | 32 | drivers/block/ramdisk.c | int len; |
len | 38 | drivers/block/ramdisk.c | len = CURRENT->current_nr_sectors << 9; |
len | 41 | drivers/block/ramdisk.c | (addr+len > rd_start+rd_length)) { |
len | 48 | drivers/block/ramdisk.c | len); |
len | 52 | drivers/block/ramdisk.c | len); |
len | 87 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
len | 91 | drivers/char/mem.c | if (off & 0xfff || off + len < off) |
len | 93 | drivers/char/mem.c | if (remap_page_range(addr, off, len, prot)) |
len | 102 | drivers/char/mem.c | mpnt->vm_end = addr + len; |
len | 178 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
len | 184 | drivers/char/mem.c | if (zeromap_page_range(addr, len, prot)) |
len | 196 | drivers/char/mem.c | mpnt->vm_end = addr + len; |
len | 306 | drivers/net/3c501.c | if (skb->len <= 0) |
len | 310 | drivers/net/3c501.c | printk("%s: el_start_xmit(%d)...", dev->name, skb->len); |
len | 316 | drivers/net/3c501.c | int gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN); |
len | 327 | drivers/net/3c501.c | port_write_b(DATAPORT,buf,skb->len); |
len | 467 | drivers/net/3c501.c | skb->len = pkt_len; |
len | 499 | drivers/net/3c507.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 856 | drivers/net/3c507.c | skb->len = pkt_len; |
len | 387 | drivers/net/3c509.c | if (skb->len <= 0) |
len | 392 | drivers/net/3c509.c | dev->name, skb->len, inw(ioaddr + EL3_STATUS)); |
len | 415 | drivers/net/3c509.c | outw(skb->len, ioaddr + TX_FIFO); |
len | 418 | drivers/net/3c509.c | port_write_l(ioaddr + TX_FIFO, (void *)(skb+1), (skb->len + 3) >> 2); |
len | 587 | drivers/net/3c509.c | skb->len = pkt_len; |
len | 171 | drivers/net/8390.c | if (skb->len <= 0) |
len | 173 | drivers/net/8390.c | length = skb->len; |
len | 496 | drivers/net/8390.c | skb->len = pkt_len; |
len | 418 | drivers/net/at1700.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 423 | drivers/net/at1700.c | skb->len); |
len | 552 | drivers/net/at1700.c | skb->len = pkt_len; |
len | 387 | drivers/net/d_link.c | int len; |
len | 428 | drivers/net/d_link.c | PRINTK(("d_link_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages)); |
len | 430 | drivers/net/d_link.c | if ((len = skb->len) < RUNT) |
len | 431 | drivers/net/d_link.c | len = RUNT; |
len | 436 | drivers/net/d_link.c | tx_fifo[tx_fifo_in] = transmit_from = tx_page_adr(tx_fifo_in) - len; |
len | 440 | drivers/net/d_link.c | for ( ; len > 0; --len, ++buffer) |
len | 526 | drivers/net/eexpress.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 959 | drivers/net/eexpress.c | skb->len = pkt_len; |
len | 523 | drivers/net/lance.c | if (skb->len <= 0) |
len | 549 | drivers/net/lance.c | -(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN); |
len | 551 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
len | 557 | drivers/net/lance.c | if ((int)(skb+1) + skb->len > 0x01000000) { |
len | 561 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb+1, skb->len); |
len | 722 | drivers/net/lance.c | skb->len = pkt_len; |
len | 142 | drivers/net/plip.c | unsigned long h_source, unsigned len); |
len | 296 | drivers/net/plip.c | ret_val = plip_send_packet(dev, (unsigned char *)(skb+1), skb->len); |
len | 307 | drivers/net/plip.c | unsigned long h_source, unsigned len) |
len | 313 | drivers/net/plip.c | return eth_header(buff, dev, type, h_dest, h_source, len); |
len | 332 | drivers/net/skeleton.c | short length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; |
len | 421 | drivers/net/skeleton.c | skb->len = pkt_len; |
len | 483 | drivers/net/slhc.c | int len, hdrlen; |
len | 596 | drivers/net/slhc.c | len = isize - (cp - icp); |
len | 597 | drivers/net/slhc.c | if (len < 0) |
len | 599 | drivers/net/slhc.c | len += hdrlen; |
len | 600 | drivers/net/slhc.c | ip->tot_len = htons(len); |
len | 603 | drivers/net/slhc.c | DPRINT(("uncomp: %d %d %d %d\n", cp - icp, hdrlen, isize, len)); |
len | 605 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
len | 626 | drivers/net/slhc.c | if (inet_debug == DBG_SLIP) printk("\runcomp: change %x len %d\n", changes, len); |
len | 627 | drivers/net/slhc.c | return len; |
len | 78 | drivers/net/slip.c | ip_dump(unsigned char *ptr, int len) |
len | 95 | drivers/net/slip.c | printk("%p %d\n", ptr, len); |
len | 117 | drivers/net/slip.c | void clh_dump(unsigned char *cp, int len) |
len | 119 | drivers/net/slip.c | if (len > 60) |
len | 120 | drivers/net/slip.c | len = 60; |
len | 121 | drivers/net/slip.c | printk("%d:", len); |
len | 122 | drivers/net/slip.c | while (len > 0) { |
len | 124 | drivers/net/slip.c | len--; |
len | 413 | drivers/net/slip.c | sl_encaps(struct slip *sl, unsigned char *icp, int len) |
len | 418 | drivers/net/slip.c | DPRINTF((DBG_SLIP, "SLIP: sl_encaps(0x%X, %d) called\n", icp, len)); |
len | 421 | drivers/net/slip.c | ip_dump(icp, len); |
len | 426 | drivers/net/slip.c | if(len>sl->mtu) /* Sigh, shouldn't occur BUT ... */ |
len | 428 | drivers/net/slip.c | len=sl->mtu; |
len | 434 | drivers/net/slip.c | len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1); |
len | 450 | drivers/net/slip.c | while(len-- > 0) { |
len | 472 | drivers/net/slip.c | count=slip_esc6(p, (unsigned char *)sl->xbuff,len); |
len | 474 | drivers/net/slip.c | count=slip_esc(p, (unsigned char *)sl->xbuff,len); |
len | 528 | drivers/net/slip.c | sl_encaps(sl, (unsigned char *) (skb + 1), skb->len); |
len | 551 | drivers/net/slip.c | unsigned long daddr, unsigned long saddr, unsigned len) |
len | 882 | drivers/net/slip.c | slip_esc(unsigned char *s, unsigned char *d, int len) |
len | 899 | drivers/net/slip.c | while(len-- > 0) { |
len | 965 | drivers/net/slip.c | slip_esc6(unsigned char *s, unsigned char *d, int len) |
len | 984 | drivers/net/slip.c | for (i = 0; i < len; ++i) { |
len | 76 | drivers/net/slip.h | extern int slip_esc(unsigned char *s, unsigned char *d, int len); |
len | 77 | drivers/net/slip.h | extern int slip_esc6(unsigned char *s, unsigned char *d, int len); |
len | 1009 | drivers/scsi/NCR5380.c | int len; |
len | 1197 | drivers/scsi/NCR5380.c | len = 3; |
len | 1201 | drivers/scsi/NCR5380.c | len = 1; |
len | 1208 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1464 | drivers/scsi/NCR5380.c | int len; |
len | 1522 | drivers/scsi/NCR5380.c | len = cmd->transfersize; |
len | 1524 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
len | 1551 | drivers/scsi/NCR5380.c | len = 1; |
len | 1553 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1712 | drivers/scsi/NCR5380.c | len = 1; |
len | 1715 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1727 | drivers/scsi/NCR5380.c | len = COMMAND_SIZE(cmd->cmnd[0]); |
len | 1734 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, |
len | 1749 | drivers/scsi/NCR5380.c | len = 1; |
len | 1751 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1796 | drivers/scsi/NCR5380.c | int len; |
len | 1831 | drivers/scsi/NCR5380.c | len = 3; |
len | 1834 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1850 | drivers/scsi/NCR5380.c | if (!len) |
len | 1903 | drivers/scsi/NCR5380.c | len = 1; |
len | 1907 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
len | 1992 | drivers/scsi/NCR5380.c | int len; |
len | 2082 | drivers/scsi/NCR5380.c | len = 1; |
len | 2085 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (instance, &phase, &len, &msgptr); |
len | 92 | drivers/scsi/aha1542.c | static int aha1542_out(unsigned int base, unchar *cmdp, int len) |
len | 94 | drivers/scsi/aha1542.c | while (len--) |
len | 101 | drivers/scsi/aha1542.c | printk("aha1542_out failed(%d): ", len+1); aha1542_stat(); |
len | 105 | drivers/scsi/aha1542.c | static int aha1542_in(unsigned int base, unchar *cmdp, int len) |
len | 107 | drivers/scsi/aha1542.c | while (len--) |
len | 114 | drivers/scsi/aha1542.c | printk("aha1542_in failed(%d): ", len+1); aha1542_stat(); |
len | 474 | drivers/scsi/constants.c | int len = 0, i; |
len | 476 | drivers/scsi/constants.c | len = 3 + msg[1]; |
len | 497 | drivers/scsi/constants.c | len = 1; |
len | 508 | drivers/scsi/constants.c | len = 1; |
len | 521 | drivers/scsi/constants.c | len = 2; |
len | 528 | drivers/scsi/constants.c | return len; |
len | 418 | drivers/scsi/pas16.c | int len) { |
len | 422 | drivers/scsi/pas16.c | register i = len; |
len | 452 | drivers/scsi/pas16.c | int len) { |
len | 455 | drivers/scsi/pas16.c | register i = len; |
len | 1486 | drivers/scsi/scsi.c | void *scsi_malloc(unsigned int len) |
len | 1490 | drivers/scsi/scsi.c | if((len & 0x1ff) || len > 4096) |
len | 1494 | drivers/scsi/scsi.c | nbits = len >> 9; |
len | 1504 | drivers/scsi/scsi.c | printk("SMalloc: %d %x ",len, dma_malloc_buffer + (i << 13) + (j << 9)); |
len | 1513 | drivers/scsi/scsi.c | int scsi_free(void *obj, unsigned int len) |
len | 1519 | drivers/scsi/scsi.c | printk("Sfree %x %d\n",obj, len); |
len | 1530 | drivers/scsi/scsi.c | nbits = len >> 9; |
len | 31 | drivers/scsi/scsi_ioctl.c | unsigned int len,slen; |
len | 35 | drivers/scsi/scsi_ioctl.c | len = get_fs_long ((unsigned long *) buffer); |
len | 38 | drivers/scsi/scsi_ioctl.c | if (len > slen) |
len | 39 | drivers/scsi/scsi_ioctl.c | len = slen + 1; |
len | 40 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, buffer, len); |
len | 41 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
len | 583 | drivers/scsi/seagate.c | int len = 0; |
len | 710 | drivers/scsi/seagate.c | len=current_bufflen; /* WDE add */ |
len | 908 | drivers/scsi/seagate.c | len = buffer->length; |
len | 915 | drivers/scsi/seagate.c | len = SCint->request_bufflen; |
len | 920 | drivers/scsi/seagate.c | printk("scsi%d : len = %d\n", hostno, len); |
len | 1033 | drivers/scsi/seagate.c | if (!len) { |
len | 1043 | drivers/scsi/seagate.c | if (fast && transfersize && !(len % transfersize) && (len >= transfersize) |
len | 1051 | drivers/scsi/seagate.c | SCint->transfersize, len, data); |
len | 1073 | drivers/scsi/seagate.c | len -= transfersize; |
len | 1078 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1134 | drivers/scsi/seagate.c | "=S" (data), "=c" (len) : |
len | 1136 | drivers/scsi/seagate.c | "0" (data), "1" (len) : |
len | 1141 | drivers/scsi/seagate.c | if (!len && nobuffs) { |
len | 1144 | drivers/scsi/seagate.c | len = buffer->length; |
len | 1148 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1157 | drivers/scsi/seagate.c | transfered += len; |
len | 1159 | drivers/scsi/seagate.c | for (; len && (STATUS & (REQ_MASK | STAT_REQ)) == (REQ_DATAIN | |
len | 1160 | drivers/scsi/seagate.c | STAT_REQ); --len) { |
len | 1165 | drivers/scsi/seagate.c | transfered -= len; |
len | 1170 | drivers/scsi/seagate.c | if (fast && transfersize && !(len % transfersize) && (len >= transfersize) |
len | 1178 | drivers/scsi/seagate.c | SCint->transfersize, len, data); |
len | 1200 | drivers/scsi/seagate.c | len -= transfersize; |
len | 1210 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1218 | drivers/scsi/seagate.c | printk("scsi%d: transfered += %d\n", hostno, len); |
len | 1219 | drivers/scsi/seagate.c | transfered += len; /* Assume we'll transfer it all, then |
len | 1274 | drivers/scsi/seagate.c | "=D" (data), "=c" (len) : |
len | 1276 | drivers/scsi/seagate.c | "0" (data), "1" (len) : |
len | 1281 | drivers/scsi/seagate.c | printk("scsi%d: transfered -= %d\n", hostno, len); |
len | 1282 | drivers/scsi/seagate.c | transfered -= len; /* Since we assumed all of Len got |
len | 1287 | drivers/scsi/seagate.c | if (!len && nobuffs) { |
len | 1290 | drivers/scsi/seagate.c | len = buffer->length; |
len | 1294 | drivers/scsi/seagate.c | hostno, len, data); |
len | 1361 | drivers/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 1393 | drivers/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 1404 | drivers/scsi/seagate.c | len=current_bufflen; |
len | 317 | drivers/scsi/t128.c | int len) { |
len | 320 | drivers/scsi/t128.c | register i = len; |
len | 355 | drivers/scsi/t128.c | int len) { |
len | 358 | drivers/scsi/t128.c | register i = len; |
len | 121 | drivers/scsi/wd7000.c | static inline int command_out(unchar *cmdp, int len) |
len | 123 | drivers/scsi/wd7000.c | while (len--) { |
len | 130 | drivers/scsi/wd7000.c | printk("wd7000_out WAIT failed(%d): ", len+1); |
len | 404 | drivers/scsi/wd7000.c | any2scsi(sgb->len, sg[i].length); |
len | 149 | drivers/scsi/wd7000.h | unchar len[3]; |
len | 174 | drivers/sound/configure.c | int len; |
len | 176 | drivers/sound/configure.c | if ((len = read (0, &answ, sizeof (answ))) < 1) |
len | 186 | drivers/sound/configure.c | if (len < 2) /* There is an additional LF at the end */ |
len | 189 | drivers/sound/configure.c | answ[len - 1] = 0; |
len | 201 | drivers/sound/configure.c | int len, num; |
len | 205 | drivers/sound/configure.c | if ((len = read (0, &answ, sizeof (answ))) < 1) |
len | 215 | drivers/sound/configure.c | if (len < 2) /* There is an additional LF at the end */ |
len | 218 | drivers/sound/configure.c | answ[len - 1] = 0; |
len | 74 | drivers/sound/dev_table.h | snd_rw_buf *userbuf, int useroffs, int len); |
len | 314 | drivers/sound/dmabuf.c | DMAbuf_getrdbuffer (int dev, char **buf, int *len) |
len | 374 | drivers/sound/dmabuf.c | *len = dev_buffsize[dev] - dev_counts[dev][dev_qhead[dev]]; |
len | 820 | drivers/sound/dmabuf.c | DMAbuf_getrdbuffer (int dev, char **buf, int *len) |
len | 1164 | drivers/sound/gus_wave.c | ((sample_ptrs[sample] + samples[sample].len) >> 18)) |
len | 1185 | drivers/sound/gus_wave.c | gus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len, is16bits); /* Sample start=end */ |
len | 1213 | drivers/sound/gus_wave.c | gus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len, is16bits); /* Loop end location */ |
len | 1310 | drivers/sound/gus_wave.c | if (count < patch.len) |
len | 1313 | drivers/sound/gus_wave.c | count, patch.len); |
len | 1314 | drivers/sound/gus_wave.c | patch.len = count; |
len | 1317 | drivers/sound/gus_wave.c | if (patch.len <= 0 || patch.len > gus_mem_size) |
len | 1319 | drivers/sound/gus_wave.c | printk ("GUS: Invalid sample length %lu\n", patch.len); |
len | 1325 | drivers/sound/gus_wave.c | if (patch.loop_start < 0 || patch.loop_start >= patch.len) |
len | 1331 | drivers/sound/gus_wave.c | if (patch.loop_end < patch.loop_start || patch.loop_end > patch.len) |
len | 1347 | drivers/sound/gus_wave.c | if (patch.len >= GUS_BANK_SIZE) |
len | 1349 | drivers/sound/gus_wave.c | printk ("GUS: Sample (16 bit) too long %lu\n", patch.len); |
len | 1354 | drivers/sound/gus_wave.c | ((free_mem_ptr + patch.len) / GUS_BANK_SIZE)) |
len | 1359 | drivers/sound/gus_wave.c | if ((tmp_mem + patch.len) > gus_mem_size) |
len | 1366 | drivers/sound/gus_wave.c | if ((free_mem_ptr + patch.len) > gus_mem_size) |
len | 1389 | drivers/sound/gus_wave.c | left = patch.len; |
len | 1498 | drivers/sound/gus_wave.c | free_mem_ptr += patch.len; |
len | 2067 | drivers/sound/gus_wave.c | snd_rw_buf * userbuf, int useroffs, int len) |
len | 2071 | drivers/sound/gus_wave.c | COPY_FROM_USER (&localbuf[localoffs], userbuf, useroffs, len); |
len | 2080 | drivers/sound/gus_wave.c | len /= 2; |
len | 2085 | drivers/sound/gus_wave.c | for (i = 0; i < len; i++) |
len | 2100 | drivers/sound/gus_wave.c | len /= 4; |
len | 2106 | drivers/sound/gus_wave.c | for (i = 0; i < len; i++) |
len | 2213 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
len | 2236 | drivers/sound/gus_wave.c | if (offs < 0 || offs >= samples[sample].len) |
len | 2239 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Nr of bytes left */ |
len | 2269 | drivers/sound/gus_wave.c | if (offs < 0 || offs >= samples[sample].len) |
len | 2272 | drivers/sound/gus_wave.c | n = samples[sample].len - offs; /* Nr of bytes left */ |
len | 9 | drivers/sound/sound_calls.h | int DMAbuf_getrdbuffer(int dev, char **buf, int *len); |
len | 342 | fs/binfmt_elf.c | unsigned int len; |
len | 349 | fs/binfmt_elf.c | len = 0; |
len | 417 | fs/binfmt_elf.c | len = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000; |
len | 419 | fs/binfmt_elf.c | if (bss > len) |
len | 420 | fs/binfmt_elf.c | do_mmap(NULL, len, bss-len, |
len | 343 | fs/exec.c | int len, offset = 0; |
len | 359 | fs/exec.c | len=0; /* remember zero-padding */ |
len | 361 | fs/exec.c | len++; |
len | 363 | fs/exec.c | if (p < len) { /* this shouldn't happen - 128kB */ |
len | 367 | fs/exec.c | while (len) { |
len | 368 | fs/exec.c | --p; --tmp; --len; |
len | 846 | fs/exec.c | unsigned int len; |
len | 885 | fs/exec.c | len = PAGE_ALIGN(ex.a_text + ex.a_data); |
len | 887 | fs/exec.c | if (bss > len) |
len | 888 | fs/exec.c | do_mmap(NULL, start_addr + len, bss-len, |
len | 56 | fs/ext/namei.c | static int ext_match(int len,const char * name,struct ext_dir_entry * de) |
len | 60 | fs/ext/namei.c | if (!de || !de->inode || len > EXT_NAME_LEN) |
len | 63 | fs/ext/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 65 | fs/ext/namei.c | if (len < EXT_NAME_LEN && len != de->name_len) |
len | 71 | fs/ext/namei.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
len | 157 | fs/ext/namei.c | int ext_lookup(struct inode * dir,const char * name, int len, |
len | 171 | fs/ext/namei.c | if (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) { |
len | 310 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 328 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 344 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 352 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 387 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 403 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 409 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 454 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 531 | fs/ext/namei.c | int ext_rmdir(struct inode * dir, const char * name, int len) |
len | 539 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 584 | fs/ext/namei.c | int ext_unlink(struct inode * dir, const char * name, int len) |
len | 593 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 627 | fs/ext/namei.c | int ext_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 657 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 666 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 682 | fs/ext/namei.c | int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 697 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 704 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 29 | fs/ext2/dcache.c | int len; |
len | 85 | fs/ext2/dcache.c | const char * name, int len) |
len | 90 | fs/ext2/dcache.c | p->dir != dir || p->len != len || |
len | 91 | fs/ext2/dcache.c | strncmp (name, p->name, p->len) != 0); |
len | 203 | fs/ext2/dcache.c | const char * name, int len) |
len | 211 | fs/ext2/dcache.c | if (len > DCACHE_NAME_LEN) |
len | 213 | fs/ext2/dcache.c | memcpy (our_name, (char *) name, len); |
len | 214 | fs/ext2/dcache.c | our_name[len] = '\0'; |
len | 216 | fs/ext2/dcache.c | printk ("dcache_lookup (%04x, %lu, %s, %d)\n", dev, dir, our_name, len); |
len | 219 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, our_name, len))) { |
len | 253 | fs/ext2/dcache.c | int len, unsigned long ino) |
len | 262 | fs/ext2/dcache.c | dev, dir, name, len, ino); |
len | 264 | fs/ext2/dcache.c | if (len > DCACHE_NAME_LEN) |
len | 267 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, name, len))) { |
len | 296 | fs/ext2/dcache.c | strncpy (p->name, name, len); |
len | 297 | fs/ext2/dcache.c | p->len = len; |
len | 298 | fs/ext2/dcache.c | p->name[len] = '\0'; |
len | 313 | fs/ext2/dcache.c | const char * name, int len) |
len | 321 | fs/ext2/dcache.c | printk ("dcache_remove (%04x, %lu, %s, %d)\n", dev, dir, name, len); |
len | 323 | fs/ext2/dcache.c | if (len > DCACHE_NAME_LEN) |
len | 326 | fs/ext2/dcache.c | if ((p = find_name (queue, dev, dir, name, len))) { |
len | 34 | fs/ext2/namei.c | static int ext2_match (int len, const char * const name, |
len | 39 | fs/ext2/namei.c | if (!de || !de->inode || len > EXT2_NAME_LEN) |
len | 42 | fs/ext2/namei.c | if (!len && de->name_len == 1 && (de->name[0] == '.') && |
len | 45 | fs/ext2/namei.c | if (len != de->name_len) |
len | 51 | fs/ext2/namei.c | :"S" ((long) name), "D" ((long) de->name), "c" (len) |
len | 117 | fs/ext2/namei.c | int ext2_lookup (struct inode * dir, const char * name, int len, |
len | 132 | fs/ext2/namei.c | if (!(ino = ext2_dcache_lookup (dir->i_dev, dir->i_ino, name, len))) { |
len | 134 | fs/ext2/namei.c | if (!(bh = ext2_find_entry (dir, name, len, &de))) { |
len | 315 | fs/ext2/namei.c | int ext2_create (struct inode * dir,const char * name, int len, int mode, |
len | 334 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 358 | fs/ext2/namei.c | int ext2_mknod (struct inode * dir, const char * name, int len, int mode, |
len | 368 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 408 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 432 | fs/ext2/namei.c | int ext2_mkdir (struct inode * dir, const char * name, int len, int mode) |
len | 441 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 487 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 567 | fs/ext2/namei.c | int ext2_rmdir (struct inode * dir, const char * name, int len) |
len | 578 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 649 | fs/ext2/namei.c | int ext2_unlink (struct inode * dir, const char * name, int len) |
len | 661 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 710 | fs/ext2/namei.c | int ext2_symlink (struct inode * dir, const char * name, int len, |
len | 759 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 768 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 793 | fs/ext2/namei.c | const char * name, int len) |
len | 809 | fs/ext2/namei.c | bh = ext2_find_entry (dir, name, len, &de); |
len | 816 | fs/ext2/namei.c | bh = ext2_add_entry (dir, name, len, &de, &err); |
len | 357 | fs/hpfs/hpfs.h | unsigned char len, name[15]; /* true length, truncated name */ |
len | 234 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
len | 242 | fs/hpfs/hpfs_fs.c | const unsigned char *name, unsigned len, |
len | 252 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len); |
len | 254 | fs/hpfs/hpfs_fs.c | unsigned len); |
len | 528 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
len | 531 | fs/hpfs/hpfs_fs.c | return p[0] == 0 && memcmp(p, p + 1, len - 1) == 0; |
len | 943 | fs/hpfs/hpfs_fs.c | static unsigned choose_conv(unsigned char *p, unsigned len) |
len | 950 | fs/hpfs/hpfs_fs.c | while (len--) { |
len | 953 | fs/hpfs/hpfs_fs.c | if (c == '\r' && len && *p == '\n') |
len | 975 | fs/hpfs/hpfs_fs.c | unsigned len) |
len | 979 | fs/hpfs/hpfs_fs.c | while (len--) { |
len | 981 | fs/hpfs/hpfs_fs.c | if (c == '\r' && (len == 0 || *in == '\n')); |
len | 1100 | fs/hpfs/hpfs_fs.c | static int hpfs_lookup(struct inode *dir, const char *name, int len, |
len | 1121 | fs/hpfs/hpfs_fs.c | if (name[0] == '.' && len == 1) |
len | 1123 | fs/hpfs/hpfs_fs.c | else if (name[0] == '.' && name[1] == '.' && len == 2) |
len | 1128 | fs/hpfs/hpfs_fs.c | de = map_dirent(dir, dir->i_hpfs_dno, name, len, &qbh); |
len | 1227 | fs/hpfs/hpfs_fs.c | const unsigned char *name, unsigned len, |
len | 1256 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
len | 1263 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
len | 1280 | fs/hpfs/hpfs_fs.c | name, len, qbh); |
len | 27 | fs/isofs/namei.c | static int isofs_match(int len,const char * name, char * compare, int dlen) |
len | 33 | fs/isofs/namei.c | if (!len && (compare[0]==0) && (dlen==1)) |
len | 36 | fs/isofs/namei.c | if (compare[0]==0 && dlen==1 && len == 1) |
len | 38 | fs/isofs/namei.c | if (compare[0]==1 && dlen==1 && len == 2) { |
len | 43 | fs/isofs/namei.c | if (len <= 2) printk("Match: %d %d %s %d %d \n",len,dlen,compare,de->name[0], dlen); |
len | 46 | fs/isofs/namei.c | if (dlen != len) |
len | 52 | fs/isofs/namei.c | :"0" (0),"S" ((long) name),"D" ((long) compare),"c" (len) |
len | 210 | fs/isofs/namei.c | int isofs_lookup(struct inode * dir,const char * name, int len, |
len | 217 | fs/isofs/namei.c | printk("lookup: %x %d\n",dir->i_ino, len); |
len | 231 | fs/isofs/namei.c | len == cache.dlen && |
len | 232 | fs/isofs/namei.c | isofs_match(len, name, cache.filename, cache.dlen)) |
len | 244 | fs/isofs/namei.c | if (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) { |
len | 71 | fs/isofs/rock.c | len = cont_size; \ |
len | 86 | fs/isofs/rock.c | int len; |
len | 101 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 107 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 109 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 111 | fs/isofs/rock.c | chr += rr->len; |
len | 112 | fs/isofs/rock.c | len -= rr->len; |
len | 159 | fs/isofs/rock.c | int len; |
len | 167 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 173 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 175 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 177 | fs/isofs/rock.c | chr += rr->len; |
len | 178 | fs/isofs/rock.c | len -= rr->len; |
len | 207 | fs/isofs/rock.c | if((strlen(retname) + rr->len - 5) >= 254) { |
len | 211 | fs/isofs/rock.c | strncat(retname, rr->u.NM.name, rr->len - 5); |
len | 212 | fs/isofs/rock.c | retnamlen += rr->len - 5; |
len | 241 | fs/isofs/rock.c | int len; |
len | 247 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(de, chr, len); |
len | 255 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 257 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 259 | fs/isofs/rock.c | chr += rr->len; |
len | 260 | fs/isofs/rock.c | len -= rr->len; |
len | 302 | fs/isofs/rock.c | slen = rr->len - 5; |
len | 308 | fs/isofs/rock.c | inode->i_size += slp->len; |
len | 323 | fs/isofs/rock.c | slen -= slp->len + 2; |
len | 324 | fs/isofs/rock.c | slp = (struct SL_component *) (((char *) slp) + slp->len + 2); |
len | 381 | fs/isofs/rock.c | int len; |
len | 412 | fs/isofs/rock.c | SETUP_ROCK_RIDGE(raw_inode, chr, len); |
len | 415 | fs/isofs/rock.c | while (len > 1){ /* There may be one byte for padding somewhere */ |
len | 418 | fs/isofs/rock.c | if (rr->len == 0) goto out; /* Something got screwed up here */ |
len | 420 | fs/isofs/rock.c | chr += rr->len; |
len | 421 | fs/isofs/rock.c | len -= rr->len; |
len | 433 | fs/isofs/rock.c | slen = rr->len - 5; |
len | 443 | fs/isofs/rock.c | strncat(rpnt,slp->text, slp->len); |
len | 458 | fs/isofs/rock.c | slen -= slp->len + 2; |
len | 459 | fs/isofs/rock.c | slp = (struct SL_component *) (((char *) slp) + slp->len + 2); |
len | 44 | fs/isofs/rock.h | unsigned char len; |
len | 87 | fs/isofs/rock.h | unsigned char len; |
len | 23 | fs/minix/namei.c | static inline int namecompare(int len, int maxlen, |
len | 26 | fs/minix/namei.c | if (len >= maxlen || !buffer[len]) { |
len | 30 | fs/minix/namei.c | :"S" ((long) name),"D" ((long) buffer),"c" (len) |
len | 44 | fs/minix/namei.c | static int minix_match(int len, const char * name, |
len | 52 | fs/minix/namei.c | if (!de->inode || len > info->s_namelen) |
len | 55 | fs/minix/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 57 | fs/minix/namei.c | return namecompare(len,info->s_namelen,name,de->name); |
len | 111 | fs/minix/namei.c | int minix_lookup(struct inode * dir,const char * name, int len, |
len | 125 | fs/minix/namei.c | if (!(bh = minix_find_entry(dir,name,len,&de))) { |
len | 213 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 232 | fs/minix/namei.c | error = minix_add_entry(dir,name,len, &bh ,&de); |
len | 248 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 257 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 289 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 305 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 318 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 356 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 431 | fs/minix/namei.c | int minix_rmdir(struct inode * dir, const char * name, int len) |
len | 439 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 486 | fs/minix/namei.c | int minix_unlink(struct inode * dir, const char * name, int len) |
len | 496 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 539 | fs/minix/namei.c | int minix_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 569 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 578 | fs/minix/namei.c | i = minix_add_entry(dir, name, len, &bh, &de); |
len | 594 | fs/minix/namei.c | int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 610 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 617 | fs/minix/namei.c | error = minix_add_entry(dir, name, len, &bh, &de); |
len | 33 | fs/msdos/namei.c | static int msdos_format_name(char conv,const char *name,int len,char *res, |
len | 41 | fs/msdos/namei.c | if (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) { |
len | 44 | fs/msdos/namei.c | while (len--) *res++ = '.'; |
len | 49 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
len | 51 | fs/msdos/namei.c | len--; |
len | 61 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
len | 63 | fs/msdos/namei.c | len--; |
len | 66 | fs/msdos/namei.c | while (c != '.' && len--) c = *name++; |
len | 69 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
len | 71 | fs/msdos/namei.c | len--; |
len | 82 | fs/msdos/namei.c | if (conv == 's' && len) return -EINVAL; |
len | 93 | fs/msdos/namei.c | static int msdos_find(struct inode *dir,const char *name,int len, |
len | 99 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 105 | fs/msdos/namei.c | int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 119 | fs/msdos/namei.c | if (len == 1 && name[0] == '.') { |
len | 123 | fs/msdos/namei.c | if (len == 2 && name[0] == '.' && name[1] == '.') { |
len | 130 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
len | 196 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 205 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 244 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
len | 252 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 294 | fs/msdos/namei.c | if (msdos_rmdir(dir,name,len) < 0) |
len | 326 | fs/msdos/namei.c | int msdos_rmdir(struct inode *dir,const char *name,int len) |
len | 336 | fs/msdos/namei.c | if (name[0] == '.' && (len == 1 || (len == 2 && name[1] == '.'))) |
len | 338 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
len | 363 | fs/msdos/namei.c | int msdos_unlink(struct inode *dir,const char *name,int len) |
len | 372 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
len | 94 | fs/namei.c | int lookup(struct inode * dir,const char * name, int len, |
len | 105 | fs/namei.c | if (len==2 && name[0] == '.' && name[1] == '.') { |
len | 126 | fs/namei.c | if (!len) { |
len | 130 | fs/namei.c | return dir->i_op->lookup(dir,name,len,result); |
len | 161 | fs/namei.c | int len,error; |
len | 177 | fs/namei.c | for(len=0;(c = *(pathname++))&&(c != '/');len++) |
len | 182 | fs/namei.c | error = lookup(base,thisname,len,&inode); |
len | 196 | fs/namei.c | *namelen = len; |
len | 24 | fs/nfs/dir.c | static int nfs_lookup(struct inode *dir, const char *name, int len, |
len | 26 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
len | 28 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode); |
len | 29 | fs/nfs/dir.c | static int nfs_rmdir(struct inode *dir, const char *name, int len); |
len | 30 | fs/nfs/dir.c | static int nfs_unlink(struct inode *dir, const char *name, int len); |
len | 31 | fs/nfs/dir.c | static int nfs_symlink(struct inode *inode, const char *name, int len, |
len | 34 | fs/nfs/dir.c | const char *name, int len); |
len | 35 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, int mode, |
len | 287 | fs/nfs/dir.c | static int nfs_lookup(struct inode *dir, const char *__name, int len, |
len | 292 | fs/nfs/dir.c | char name[len > NFS_MAXNAMLEN? 1 : len+1]; |
len | 301 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 305 | fs/nfs/dir.c | memcpy(name,__name,len); |
len | 306 | fs/nfs/dir.c | name[len] = '\0'; |
len | 307 | fs/nfs/dir.c | if (len == 1 && name[0] == '.') { /* cheat for "." */ |
len | 328 | fs/nfs/dir.c | static int nfs_create(struct inode *dir, const char *name, int len, int mode, |
len | 342 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 363 | fs/nfs/dir.c | static int nfs_mknod(struct inode *dir, const char *name, int len, |
len | 376 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 395 | fs/nfs/dir.c | static int nfs_mkdir(struct inode *dir, const char *name, int len, int mode) |
len | 407 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 422 | fs/nfs/dir.c | static int nfs_rmdir(struct inode *dir, const char *name, int len) |
len | 431 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 442 | fs/nfs/dir.c | static int nfs_unlink(struct inode *dir, const char *name, int len) |
len | 451 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 462 | fs/nfs/dir.c | static int nfs_symlink(struct inode *dir, const char *name, int len, |
len | 473 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 491 | fs/nfs/dir.c | const char *name, int len) |
len | 507 | fs/nfs/dir.c | if (len > NFS_MAXNAMLEN) { |
len | 25 | fs/nfs/file.c | unsigned long addr, size_t len, int prot, unsigned long off); |
len | 52 | fs/nfs/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
len | 71 | fs/nfs/mmap.c | unmap_page_range(addr, len); |
len | 74 | fs/nfs/mmap.c | mpnt->vm_end = addr + len; |
len | 66 | fs/nfs/proc.c | int len, quadlen; |
len | 68 | fs/nfs/proc.c | len = strlen(string); |
len | 69 | fs/nfs/proc.c | quadlen = (len + 3) >> 2; |
len | 70 | fs/nfs/proc.c | *p++ = htonl(len); |
len | 71 | fs/nfs/proc.c | memcpy((char *) p, string, len); |
len | 72 | fs/nfs/proc.c | memset(((char *) p) + len, '\0', (quadlen << 2) - len); |
len | 79 | fs/nfs/proc.c | unsigned int len; |
len | 81 | fs/nfs/proc.c | len = ntohl(*p++); |
len | 82 | fs/nfs/proc.c | if (len > maxlen) |
len | 84 | fs/nfs/proc.c | memcpy(string, (char *) p, len); |
len | 85 | fs/nfs/proc.c | string[len] = '\0'; |
len | 86 | fs/nfs/proc.c | p += (len + 3) >> 2; |
len | 90 | fs/nfs/proc.c | static inline int *xdr_encode_data(int *p, char *data, int len) |
len | 94 | fs/nfs/proc.c | quadlen = (len + 3) >> 2; |
len | 95 | fs/nfs/proc.c | *p++ = htonl(len); |
len | 96 | fs/nfs/proc.c | memcpy((char *) p, data, len); |
len | 97 | fs/nfs/proc.c | memset(((char *) p) + len, '\0', (quadlen << 2) - len); |
len | 104 | fs/nfs/proc.c | unsigned int len; |
len | 106 | fs/nfs/proc.c | len = *lenp = ntohl(*p++); |
len | 107 | fs/nfs/proc.c | if (len > maxlen) |
len | 109 | fs/nfs/proc.c | memcpy(data, (char *) p, len); |
len | 110 | fs/nfs/proc.c | p += (len + 3) >> 2; |
len | 285 | fs/nfs/proc.c | int len = 0; /* = 0 is for gcc */ |
len | 301 | fs/nfs/proc.c | if (!(p = xdr_decode_data(p, data, &len, count))) { |
len | 306 | fs/nfs/proc.c | PRINTK("NFS reply read %d\n", len); |
len | 311 | fs/nfs/proc.c | return (status == NFS_OK) ? len : -nfs_stat_to_errno(status); |
len | 42 | fs/nfs/sock.c | int len; |
len | 56 | fs/nfs/sock.c | len = ((char *) end) - ((char *) start); |
len | 84 | fs/nfs/sock.c | result = sock->ops->send(sock, (void *) start, len, 0, 0); |
len | 71 | fs/proc/base.c | int proc_match(int len,const char * name,struct proc_dir_entry * de) |
len | 78 | fs/proc/base.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 80 | fs/proc/base.c | if (de->namelen != len) |
len | 86 | fs/proc/base.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
len | 91 | fs/proc/base.c | static int proc_lookupbase(struct inode * dir,const char * name, int len, |
len | 107 | fs/proc/base.c | while (i-- > 0 && !proc_match(len,name,base_dir+i)) |
len | 53 | fs/proc/fd.c | static int proc_lookupfd(struct inode * dir,const char * name, int len, |
len | 73 | fs/proc/fd.c | if (!len || (name[0] == '.' && (len == 1 || |
len | 74 | fs/proc/fd.c | (name[1] == '.' && len == 2)))) { |
len | 75 | fs/proc/fd.c | if (len < 2) { |
len | 88 | fs/proc/fd.c | while (len-- > 0) { |
len | 101 | fs/proc/net.c | static int proc_lookupnet(struct inode * dir,const char * name, int len, |
len | 115 | fs/proc/net.c | while (i-- > 0 && !proc_match(len,name,net_dir+i)) |
len | 73 | fs/proc/root.c | static int proc_lookuproot(struct inode * dir,const char * name, int len, |
len | 87 | fs/proc/root.c | while (i-- > 0 && !proc_match(len,name,root_dir+i)) |
len | 99 | fs/proc/root.c | while (len-- > 0) { |
len | 31 | fs/xiafs/namei.c | static int xiafs_match(int len, const char * name, struct xiafs_direct * dep) |
len | 35 | fs/xiafs/namei.c | if (!dep || !dep->d_ino || len > _XIAFS_NAME_LEN) |
len | 38 | fs/xiafs/namei.c | if (!len && (dep->d_name[0]=='.') && (dep->d_name[1]=='\0')) |
len | 40 | fs/xiafs/namei.c | if (len != dep->d_name_len) |
len | 42 | fs/xiafs/namei.c | for (i=0; i < len; i++) |
len | 115 | fs/xiafs/namei.c | int xiafs_lookup(struct inode * dir, const char * name, int len, |
len | 129 | fs/xiafs/namei.c | if (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) { |
len | 244 | fs/xiafs/namei.c | int xiafs_create(struct inode * dir, const char * name, int len, int mode, |
len | 262 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 278 | fs/xiafs/namei.c | int xiafs_mknod(struct inode *dir, const char *name, int len, int mode, int rdev) |
len | 286 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len,&de, NULL); |
len | 319 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 335 | fs/xiafs/namei.c | int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 341 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len,&de, NULL); |
len | 384 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 484 | fs/xiafs/namei.c | int xiafs_rmdir(struct inode * dir, const char * name, int len) |
len | 492 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, &de_pre); |
len | 535 | fs/xiafs/namei.c | int xiafs_unlink(struct inode * dir, const char * name, int len) |
len | 545 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, &de_pre); |
len | 583 | fs/xiafs/namei.c | int len, const char * symname) |
len | 591 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir,name,len, &de, NULL); |
len | 618 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 635 | fs/xiafs/namei.c | const char * name, int len) |
len | 650 | fs/xiafs/namei.c | bh = xiafs_find_entry(dir, name, len, &de, NULL); |
len | 657 | fs/xiafs/namei.c | bh = xiafs_add_entry(dir, name, len, &de, NULL); |
len | 64 | include/linux/ext_fs.h | extern int ext_lookup(struct inode * dir,const char * name, int len, |
len | 66 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 68 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 69 | include/linux/ext_fs.h | extern int ext_rmdir(struct inode * dir, const char * name, int len); |
len | 70 | include/linux/ext_fs.h | extern int ext_unlink(struct inode * dir, const char * name, int len); |
len | 71 | include/linux/ext_fs.h | extern int ext_symlink(struct inode * inode, const char * name, int len, |
len | 73 | include/linux/ext_fs.h | extern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 74 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 32 | include/linux/ip.h | unsigned char len; |
len | 131 | include/linux/iso_fs.h | extern int get_rock_ridge_filename(struct iso_directory_record *, char ** name, int * len, struct inode *); |
len | 169 | include/linux/iso_fs.h | extern int isofs_lookup(struct inode * dir,const char * name, int len, |
len | 75 | include/linux/minix_fs.h | extern int minix_lookup(struct inode * dir,const char * name, int len, |
len | 77 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 79 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 80 | include/linux/minix_fs.h | extern int minix_rmdir(struct inode * dir, const char * name, int len); |
len | 81 | include/linux/minix_fs.h | extern int minix_unlink(struct inode * dir, const char * name, int len); |
len | 82 | include/linux/minix_fs.h | extern int minix_symlink(struct inode * inode, const char * name, int len, |
len | 84 | include/linux/minix_fs.h | extern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 85 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 128 | include/linux/mm.h | extern int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
len | 157 | include/linux/msdos_fs.h | extern int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 159 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 161 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
len | 162 | include/linux/msdos_fs.h | extern int msdos_rmdir(struct inode *dir,const char *name,int len); |
len | 163 | include/linux/msdos_fs.h | extern int msdos_unlink(struct inode *dir,const char *name,int len); |
len | 107 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
len | 108 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
len | 110 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
len | 112 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
len | 114 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
len | 122 | include/linux/nfs_fs.h | unsigned long addr, size_t len, int prot, unsigned long off); |
len | 8 | include/linux/pipe_fs_i.h | unsigned int len; |
len | 19 | include/linux/pipe_fs_i.h | #define PIPE_LEN(inode) ((inode).u.pipe_i.len) |
len | 133 | include/linux/soundcard.h | long len; /* Size of the wave data in bytes */ |
len | 631 | include/linux/soundcard.h | #define SEQ_DEFINEBUF(len) unsigned char _seqbuf[len]; int _seqbuflen = len, _seqbufptr = 0 |
len | 633 | include/linux/soundcard.h | #define _SEQ_NEEDBUF(len) if ((_seqbufptr+(len)) > _seqbuflen) seqbuf_dump() |
len | 634 | include/linux/soundcard.h | #define _SEQ_ADVBUF(len) _seqbufptr += len |
len | 735 | include/linux/soundcard.h | #define SEQ_WRPATCH(patch, len) {if (_seqbufptr) seqbuf_dump();\ |
len | 736 | include/linux/soundcard.h | if (write(seqfd, (char*)(patch), len)==-1) \ |
len | 24 | include/linux/udp.h | unsigned short len; |
len | 65 | include/linux/xia_fs.h | extern int xiafs_lookup(struct inode * dir,const char * name, int len, |
len | 67 | include/linux/xia_fs.h | extern int xiafs_create(struct inode * dir,const char * name, int len, int mode, |
len | 69 | include/linux/xia_fs.h | extern int xiafs_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 70 | include/linux/xia_fs.h | extern int xiafs_rmdir(struct inode * dir, const char * name, int len); |
len | 71 | include/linux/xia_fs.h | extern int xiafs_unlink(struct inode * dir, const char * name, int len); |
len | 72 | include/linux/xia_fs.h | extern int xiafs_symlink(struct inode * inode, const char * name, int len, |
len | 75 | include/linux/xia_fs.h | const char * name, int len); |
len | 76 | include/linux/xia_fs.h | extern int xiafs_mknod(struct inode * dir, const char * name, int len, |
len | 286 | init/main.c | int len = strlen(devnames[n]); |
len | 287 | init/main.c | if (!strncmp(line,devnames[n],len)) { |
len | 288 | init/main.c | ROOT_DEV = devnums[n]+simple_strtoul(line+len,NULL,16); |
len | 25 | kernel/module.c | int len; |
len | 40 | kernel/module.c | len = strlen(name) + 1; |
len | 41 | kernel/module.c | if ((savename = (char*) kmalloc(len, GFP_KERNEL)) == NULL) |
len | 43 | kernel/module.c | memcpy(savename, name, len); |
len | 55 | kernel/printk.c | asmlinkage int sys_syslog(int type, char * buf, int len) |
len | 70 | kernel/printk.c | if (!buf || len < 0) |
len | 72 | kernel/printk.c | if (!len) |
len | 74 | kernel/printk.c | error = verify_area(VERIFY_WRITE,buf,len); |
len | 86 | kernel/printk.c | while (log_size && i < len) { |
len | 101 | kernel/printk.c | if (!buf || len < 0) |
len | 103 | kernel/printk.c | if (!len) |
len | 105 | kernel/printk.c | error = verify_area(VERIFY_WRITE,buf,len); |
len | 108 | kernel/printk.c | count = len; |
len | 131 | kernel/printk.c | if (len < 0 || len > 8) |
len | 133 | kernel/printk.c | console_loglevel = len; |
len | 620 | kernel/sys.c | asmlinkage int sys_sethostname(char *name, int len) |
len | 626 | kernel/sys.c | if (len > __NEW_UTS_LEN) |
len | 628 | kernel/sys.c | for (i=0; i < len; i++) { |
len | 640 | kernel/sys.c | asmlinkage int sys_setdomainname(char *name, int len) |
len | 646 | kernel/sys.c | if (len > __NEW_UTS_LEN) |
len | 648 | kernel/sys.c | for (i=0; i < len; i++) { |
len | 121 | kernel/vsprintf.c | int len; |
len | 200 | kernel/vsprintf.c | len = strlen(s); |
len | 202 | kernel/vsprintf.c | precision = len; |
len | 203 | kernel/vsprintf.c | else if (len > precision) |
len | 204 | kernel/vsprintf.c | len = precision; |
len | 207 | kernel/vsprintf.c | while (len < field_width--) |
len | 209 | kernel/vsprintf.c | for (i = 0; i < len; ++i) |
len | 211 | kernel/vsprintf.c | while (len < field_width--) |
len | 168 | lib/malloc.c | unsigned int len, int priority) |
len | 171 | lib/malloc.c | kmalloc(unsigned int len, int priority) |
len | 182 | lib/malloc.c | len += sizeof(struct hdr_start)+sizeof(struct hdr_end); |
len | 191 | lib/malloc.c | for (bdir = bucket_dir ; bdir->size < len ; bdir++) { |
len | 285 | lib/malloc.c | len -= sizeof(struct hdr_start)+sizeof(struct hdr_end); |
len | 292 | lib/malloc.c | if(len > hd->size || len > bdir->size-sizeof(struct hdr_start)-sizeof(struct hdr_end)) { |
len | 294 | lib/malloc.c | hd->size,bdir->size,len,hd->file,hd->line,deb_file,deb_line); |
len | 314 | lib/malloc.c | memset(retval, 0xf0, len); |
len | 315 | lib/malloc.c | he = (struct hdr_end *)(((char *)retval)+len); |
len | 318 | lib/malloc.c | hd->size = len; |
len | 327 | lib/malloc.c | printk("kmalloc called with impossibly large argument (%d)\n", len); |
len | 508 | lib/malloc.c | int len = 0; |
len | 524 | lib/malloc.c | if(len > PAGE_SIZE-80) { |
len | 526 | lib/malloc.c | len += sprintf(buffer+len,"...\n"); |
len | 527 | lib/malloc.c | return len; |
len | 529 | lib/malloc.c | len += sprintf(buffer+len,"%08x:%03x %s:%d %s:%d\n", |
len | 538 | lib/malloc.c | return len; |
len | 42 | mm/mmap.c | int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
len | 47 | mm/mmap.c | if ((len = PAGE_ALIGN(len)) == 0) |
len | 50 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
len | 81 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
len | 88 | mm/mmap.c | while (addr+len < SHM_RANGE_END) { |
len | 92 | mm/mmap.c | if (addr + len <= vmm->vm_start) |
len | 100 | mm/mmap.c | if (addr+len >= SHM_RANGE_END) |
len | 122 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
len | 125 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, addr, len, mask, off); |
len | 127 | mm/mmap.c | error = anon_map(NULL, NULL, addr, len, mask, off); |
len | 176 | mm/mmap.c | unsigned long addr, size_t len) |
len | 179 | mm/mmap.c | unsigned long end = addr + len; |
len | 227 | mm/mmap.c | asmlinkage int sys_mprotect(unsigned long addr, size_t len, unsigned long prot) |
len | 232 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
len | 234 | mm/mmap.c | return do_munmap(addr, len); |
len | 243 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
len | 247 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
len | 250 | mm/mmap.c | if ((len = PAGE_ALIGN(len)) == 0) |
len | 262 | mm/mmap.c | unsigned long end = addr+len; |
len | 292 | mm/mmap.c | end = addr+len; |
len | 303 | mm/mmap.c | unmap_page_range(addr, len); |
len | 309 | mm/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
len | 335 | mm/mmap.c | unmap_page_range(addr, len); |
len | 338 | mm/mmap.c | mpnt->vm_end = addr + len; |
len | 443 | mm/mmap.c | unsigned long addr, size_t len, int mask, |
len | 448 | mm/mmap.c | if (zeromap_page_range(addr, len, mask)) |
len | 457 | mm/mmap.c | mpnt->vm_end = addr + len; |
len | 97 | net/inet/arp.c | char *(*print)(unsigned char *ptr, int len); |
len | 128 | net/inet/arp.c | unk_print(unsigned char *ptr, int len) |
len | 134 | net/inet/arp.c | for (i = 0; i < len; i++) |
len | 142 | net/inet/arp.c | eth_aprint(unsigned char *ptr, int len) |
len | 144 | net/inet/arp.c | if (len != ETH_ALEN) return(""); |
len | 153 | net/inet/arp.c | int len, idx; |
len | 165 | net/inet/arp.c | len = htons(arp->ar_op); |
len | 166 | net/inet/arp.c | if (len < ARP_MAX_CMDS) idx = len; |
len | 169 | net/inet/arp.c | printk(arp_cmds[idx], len); |
len | 172 | net/inet/arp.c | len = htons(arp->ar_hrd); |
len | 173 | net/inet/arp.c | if (len < ARP_MAX_TYPE) idx = len; |
len | 175 | net/inet/arp.c | printk(" hrd = "); printk(arp_types[idx].name, len); |
len | 284 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + (2 * arp1->ar_hln) + |
len | 286 | net/inet/arp.c | skb->mem_len = sizeof(struct sk_buff) + skb->len; |
len | 288 | net/inet/arp.c | ETH_P_ARP, src, dst, skb->len); |
len | 591 | net/inet/arp.c | skb->len = sizeof(struct arphdr) + |
len | 593 | net/inet/arp.c | skb->mem_len = sizeof(struct sk_buff) + skb->len; |
len | 599 | net/inet/arp.c | ETH_P_ARP, 0, saddr, skb->len); |
len | 499 | net/inet/dev.c | dev_rint(unsigned char *buff, long len, int flags, struct device *dev) |
len | 507 | net/inet/dev.c | if (dev == NULL || buff == NULL || len <= 0) return(1); |
len | 518 | net/inet/dev.c | skb = alloc_skb(sizeof(*skb) + len, GFP_ATOMIC); |
len | 525 | net/inet/dev.c | skb->mem_len = sizeof(*skb) + len; |
len | 530 | net/inet/dev.c | left = len; |
len | 531 | net/inet/dev.c | len2 = len; |
len | 544 | net/inet/dev.c | skb->len = len; |
len | 607 | net/inet/dev.c | skb->len -= skb->dev->hard_header_len; |
len | 711 | net/inet/dev.c | int len; |
len | 716 | net/inet/dev.c | len = ifc.ifc_len; |
len | 731 | net/inet/dev.c | len -= sizeof(struct ifreq); |
len | 732 | net/inet/dev.c | if (len < sizeof(struct ifreq)) break; |
len | 126 | net/inet/dev.h | unsigned len); |
len | 180 | net/inet/dev.h | extern int dev_rint(unsigned char *buff, long len, int flags, |
len | 98 | net/inet/eth.c | unsigned long daddr, unsigned long saddr, unsigned len) |
len | 29 | net/inet/eth.h | unsigned long saddr, unsigned len); |
len | 86 | net/inet/icmp.c | int len; |
len | 92 | net/inet/icmp.c | len = sizeof(struct sk_buff) + dev->hard_header_len + |
len | 96 | net/inet/icmp.c | skb = (struct sk_buff *) alloc_skb(len, GFP_ATOMIC); |
len | 102 | net/inet/icmp.c | skb->mem_len = len; |
len | 103 | net/inet/icmp.c | len -= sizeof(struct sk_buff); |
len | 111 | net/inet/icmp.c | &dev, IPPROTO_ICMP, NULL, len); |
len | 119 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
len | 237 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 244 | net/inet/icmp.c | size = sizeof(struct sk_buff) + dev->hard_header_len + 64 + len; |
len | 258 | net/inet/icmp.c | IPPROTO_ICMP, opt, len); |
len | 268 | net/inet/icmp.c | skb2->len = offset + len; |
len | 272 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
len | 276 | net/inet/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |
len | 289 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 301 | net/inet/icmp.c | unsigned long saddr, unsigned long daddr, int len, |
len | 308 | net/inet/icmp.c | size = sizeof(struct sk_buff) + dev->hard_header_len + 64 + len; |
len | 322 | net/inet/icmp.c | IPPROTO_ICMP, opt, len); |
len | 332 | net/inet/icmp.c | skb2->len = offset + len; |
len | 343 | net/inet/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |
len | 356 | net/inet/icmp.c | unsigned long daddr, unsigned short len, |
len | 375 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) { |
len | 395 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 402 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 409 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
len | 30 | net/inet/icmp.h | unsigned short len, unsigned long saddr, |
len | 77 | net/inet/ip.c | int addr, len, i; |
len | 94 | net/inet/ip.c | len = ntohs(ip->tot_len) - (4 * ip->ihl); |
len | 95 | net/inet/ip.c | while (len > 0) { |
len | 98 | net/inet/ip.c | if (len > 0) { |
len | 107 | net/inet/ip.c | len--; |
len | 172 | net/inet/ip.c | ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, |
len | 182 | net/inet/ip.c | mac = dev->hard_header(ptr, dev, ETH_P_IP, daddr, saddr, len); |
len | 201 | net/inet/ip.c | struct device **dev, int type, struct options *opt, int len) |
len | 216 | net/inet/ip.c | skb, saddr, daddr, *dev, type, opt, len)); |
len | 242 | net/inet/ip.c | tmp = ip_send(skb, raddr, len, *dev, saddr); |
len | 244 | net/inet/ip.c | len -= tmp; |
len | 282 | net/inet/ip.c | int i, len = sizeof(struct iphdr); |
len | 300 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
len | 306 | net/inet/ip.c | len++; |
len | 320 | net/inet/ip.c | len += 11; |
len | 325 | net/inet/ip.c | len += *buff; |
len | 342 | net/inet/ip.c | len += *buff; |
len | 359 | net/inet/ip.c | len += *buff; |
len | 374 | net/inet/ip.c | len += 4; |
len | 381 | net/inet/ip.c | len += *buff; |
len | 383 | net/inet/ip.c | opt->tstamp.len = *buff / 4 - 1; |
len | 390 | net/inet/ip.c | for (i = 0; i < opt->tstamp.len; i++) { |
len | 454 | net/inet/ip.c | ip_compute_csum(unsigned char * buff, int len) |
len | 459 | net/inet/ip.c | if (len > 3) { |
len | 471 | net/inet/ip.c | : "0" (sum), "c" (len >> 2) ,"1" (buff) |
len | 474 | net/inet/ip.c | if (len & 2) { |
len | 482 | net/inet/ip.c | if (len & 1) { |
len | 529 | net/inet/ip.c | fp->len = end - offset; |
len | 688 | net/inet/ip.c | qp->len = 0; |
len | 720 | net/inet/ip.c | if (qp->len == 0) |
len | 746 | net/inet/ip.c | int count, len; |
len | 749 | net/inet/ip.c | len = sizeof(struct sk_buff)+qp->maclen + qp->ihlen + qp->len; |
len | 750 | net/inet/ip.c | if ((skb = alloc_skb(len,GFP_ATOMIC)) == NULL) |
len | 758 | net/inet/ip.c | skb->len = (len - qp->maclen); |
len | 780 | net/inet/ip.c | if(count+fp->len>skb->len) |
len | 787 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
len | 788 | net/inet/ip.c | count += fp->len; |
len | 857 | net/inet/ip.c | qp->len = end; |
len | 897 | net/inet/ip.c | next->len -= i; /* so reduce size of */ |
len | 902 | net/inet/ip.c | if (next->len <= 0) |
len | 905 | net/inet/ip.c | next, next->len)); |
len | 961 | net/inet/ip.c | int left, mtu, hlen, len; |
len | 1004 | net/inet/ip.c | len = left; |
len | 1005 | net/inet/ip.c | if (len+8 > mtu) |
len | 1006 | net/inet/ip.c | len = (dev->mtu - hlen - 8); |
len | 1007 | net/inet/ip.c | if ((left - len) >= 8) |
len | 1009 | net/inet/ip.c | len /= 8; |
len | 1010 | net/inet/ip.c | len *= 8; |
len | 1013 | net/inet/ip.c | len, len + hlen)); |
len | 1016 | net/inet/ip.c | if ((skb2 = alloc_skb(sizeof(struct sk_buff) + len + hlen,GFP_KERNEL)) == NULL) |
len | 1023 | net/inet/ip.c | skb2->len = len + hlen; |
len | 1033 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
len | 1034 | net/inet/ip.c | left -= len; |
len | 1044 | net/inet/ip.c | ptr += len; |
len | 1045 | net/inet/ip.c | offset += len; |
len | 1144 | net/inet/ip.c | in_ntoa(raddr), dev2->name, skb->len)); |
len | 1148 | net/inet/ip.c | dev2->hard_header_len + skb->len, GFP_ATOMIC); |
len | 1156 | net/inet/ip.c | skb2->len = skb->len + dev2->hard_header_len; |
len | 1158 | net/inet/ip.c | skb2->mem_len = sizeof(struct sk_buff) + skb2->len; |
len | 1163 | net/inet/ip.c | memcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len); |
len | 1166 | net/inet/ip.c | (void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr); |
len | 1168 | net/inet/ip.c | if(skb2->len > dev2->mtu) |
len | 1198 | net/inet/ip.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0) { |
len | 1358 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
len | 1360 | net/inet/ip.c | if(skb->len > dev->mtu) |
len | 40 | net/inet/ip.h | int len; /* length of this fragment */ |
len | 51 | net/inet/ip.h | int len; /* total length of original datagram */ |
len | 72 | net/inet/ip.h | struct options *opt, int len); |
len | 73 | net/inet/ip.h | extern unsigned short ip_compute_csum(unsigned char * buff, int len); |
len | 64 | net/inet/loopback.c | done = dev_rint((unsigned char *)(skb+1), skb->len, 0, dev); |
len | 64 | net/inet/packet.c | skb->len += dev->hard_header_len; |
len | 84 | net/inet/packet.c | packet_sendto(struct sock *sk, unsigned char *from, int len, |
len | 95 | net/inet/packet.c | if (len < 0) return(-EINVAL); |
len | 107 | net/inet/packet.c | err=verify_area(VERIFY_READ,from,len); |
len | 117 | net/inet/packet.c | if(len>dev->mtu) |
len | 121 | net/inet/packet.c | skb = (struct sk_buff *) sk->prot->wmalloc(sk, len+sizeof(*skb), 0, GFP_KERNEL); |
len | 130 | net/inet/packet.c | skb->mem_len = len + sizeof(*skb); |
len | 133 | net/inet/packet.c | memcpy_fromfs (skb+1, from, len); |
len | 134 | net/inet/packet.c | skb->len = len; |
len | 138 | net/inet/packet.c | return(len); |
len | 144 | net/inet/packet.c | int len, int noblock, unsigned flags) |
len | 146 | net/inet/packet.c | return(packet_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 187 | net/inet/packet.c | packet_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 197 | net/inet/packet.c | if (len == 0) return(0); |
len | 198 | net/inet/packet.c | if (len < 0) return(-EINVAL); |
len | 208 | net/inet/packet.c | err=verify_area(VERIFY_WRITE,to,len); |
len | 214 | net/inet/packet.c | copied = min(len, skb->len); |
len | 237 | net/inet/packet.c | int len, int noblock, unsigned flags) |
len | 239 | net/inet/packet.c | return(packet_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 33 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
len | 37 | net/inet/protocol.h | unsigned short len, unsigned long saddr, |
len | 91 | net/inet/raw.c | unsigned long daddr, unsigned short len, unsigned long saddr, |
len | 98 | net/inet/raw.c | skb, dev, opt, daddr, len, saddr, redo, protocol)); |
len | 113 | net/inet/raw.c | skb->len = len; |
len | 134 | net/inet/raw.c | raw_sendto(struct sock *sk, unsigned char *from, int len, |
len | 145 | net/inet/raw.c | " usin=%X, addr_len = %d)\n", sk, from, len, noblock, |
len | 150 | net/inet/raw.c | if (len < 0) return(-EINVAL); |
len | 152 | net/inet/raw.c | err=verify_area(VERIFY_READ,from,len); |
len | 186 | net/inet/raw.c | len+sizeof(*skb) + sk->prot->max_header, |
len | 209 | net/inet/raw.c | skb->mem_len = len + sizeof(*skb) +sk->prot->max_header; |
len | 226 | net/inet/raw.c | memcpy_fromfs ((unsigned char *)(skb+1)+tmp, from, len); |
len | 241 | net/inet/raw.c | skb->len = tmp + len; |
len | 243 | net/inet/raw.c | if(dev!=NULL && skb->len > 4095) |
len | 252 | net/inet/raw.c | return(len); |
len | 257 | net/inet/raw.c | raw_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 260 | net/inet/raw.c | return(raw_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 311 | net/inet/raw.c | raw_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 321 | net/inet/raw.c | sk, to, len, noblock, flags, sin, addr_len)); |
len | 323 | net/inet/raw.c | if (len == 0) return(0); |
len | 324 | net/inet/raw.c | if (len < 0) return(-EINVAL); |
len | 333 | net/inet/raw.c | err=verify_area(VERIFY_WRITE,to,len); |
len | 341 | net/inet/raw.c | copied = min(len, skb->len); |
len | 362 | net/inet/raw.c | raw_read (struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 365 | net/inet/raw.c | return(raw_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 28 | net/inet/raw.h | unsigned short len, unsigned long saddr, |
len | 31 | net/inet/raw.h | int len, int noblock, unsigned flags, |
len | 34 | net/inet/raw.h | int len, int noblock, unsigned flags); |
len | 318 | net/inet/skbuff.c | unsigned int len; |
len | 332 | net/inet/skbuff.c | len=orig->truesize; |
len | 335 | net/inet/skbuff.c | newsk=alloc_skb(len,GFP_KERNEL); /* May sleep */ |
len | 348 | net/inet/skbuff.c | newsk->mem_len=len; |
len | 355 | net/inet/skbuff.c | memcpy(newsk,orig,len); |
len | 64 | net/inet/skbuff.h | unsigned long len; |
len | 1180 | net/inet/sock.c | int len; |
len | 1188 | net/inet/sock.c | len=get_fs_long(uaddr_len); |
len | 1190 | net/inet/sock.c | err = verify_area(VERIFY_WRITE, uaddr, len); |
len | 1195 | net/inet/sock.c | if (len < sizeof(sin)) return(-EINVAL); |
len | 1212 | net/inet/sock.c | len = sizeof(sin); |
len | 1216 | net/inet/sock.c | put_fs_long(len, uaddr_len); |
len | 1684 | net/inet/sock.c | skb->saddr, skb->len, skb->daddr, 1, |
len | 165 | net/inet/sock.h | int len, int nonblock, unsigned flags); |
len | 167 | net/inet/sock.h | int len, int nonblock, unsigned flags); |
len | 169 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
len | 173 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
len | 180 | net/inet/sock.h | struct options *opt, int len); |
len | 192 | net/inet/sock.h | unsigned short len, unsigned long saddr, |
len | 294 | net/inet/tcp.c | sum = skb->len -(counted - skb->h.th->seq); /* Length - header but start from where we are up to (avoid overlaps) */ |
len | 482 | net/inet/tcp.c | tcp_check(struct tcphdr *th, int len, |
len | 493 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
len | 496 | net/inet/tcp.c | if (len > 3) { |
len | 504 | net/inet/tcp.c | : "0"(sum), "c"(len/4) ,"1"(th) |
len | 518 | net/inet/tcp.c | if ((len & 2) != 0) { |
len | 528 | net/inet/tcp.c | if ((len & 1) != 0) { |
len | 545 | net/inet/tcp.c | unsigned long daddr, int len, struct sock *sk) |
len | 548 | net/inet/tcp.c | th->check = tcp_check(th, len, saddr, daddr); |
len | 564 | net/inet/tcp.c | skb->len-(unsigned long)skb->h.th + |
len | 619 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 632 | net/inet/tcp.c | buff->len += tmp; |
len | 698 | net/inet/tcp.c | int len, int nonblock, unsigned flags) |
len | 709 | net/inet/tcp.c | sk, from, len, nonblock, flags)); |
len | 713 | net/inet/tcp.c | while(len > 0) { |
len | 790 | net/inet/tcp.c | copy = min(sk->mss - skb->len + 128 + |
len | 791 | net/inet/tcp.c | prot->max_header, len); |
len | 799 | net/inet/tcp.c | memcpy_fromfs((unsigned char *)(skb+1) + skb->len, from, copy); |
len | 800 | net/inet/tcp.c | skb->len += copy; |
len | 803 | net/inet/tcp.c | len -= copy; |
len | 807 | net/inet/tcp.c | if (skb->len -(unsigned long)skb->h.th + |
len | 824 | net/inet/tcp.c | copy = min(copy, len); |
len | 879 | net/inet/tcp.c | skb->len = 0; |
len | 898 | net/inet/tcp.c | skb->len += tmp; |
len | 902 | net/inet/tcp.c | tmp = tcp_build_header((struct tcphdr *)buff, sk, len-copy); |
len | 915 | net/inet/tcp.c | skb->len += tmp; |
len | 920 | net/inet/tcp.c | len -= copy; |
len | 921 | net/inet/tcp.c | skb->len += copy; |
len | 962 | net/inet/tcp.c | int len, int nonblock, unsigned flags, |
len | 972 | net/inet/tcp.c | return(tcp_write(sk, from, len, nonblock, flags)); |
len | 1006 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 1018 | net/inet/tcp.c | buff->len += tmp; |
len | 1120 | net/inet/tcp.c | unsigned char *to, int len, unsigned flags) |
len | 1126 | net/inet/tcp.c | sk, to, len, flags)); |
len | 1128 | net/inet/tcp.c | while(len > 0) |
len | 1187 | net/inet/tcp.c | skb->h.th->urg_ptr = ntohs(skb->len); |
len | 1189 | net/inet/tcp.c | amt = min(ntohs(skb->h.th->urg_ptr),len); |
len | 1217 | net/inet/tcp.c | int len, int nonblock, unsigned flags) |
len | 1225 | net/inet/tcp.c | if (len == 0) return(0); |
len | 1226 | net/inet/tcp.c | if (len < 0) { |
len | 1230 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE,to,len); |
len | 1239 | net/inet/tcp.c | return(tcp_read_urg(sk, nonblock, to, len, flags)); |
len | 1247 | net/inet/tcp.c | sk, to, len, nonblock, flags)); |
len | 1249 | net/inet/tcp.c | while(len > 0) { |
len | 1365 | net/inet/tcp.c | if (offset < skb->len) /* Some of the packet is useful */ |
len | 1377 | net/inet/tcp.c | if (offset >= skb->len) |
len | 1394 | net/inet/tcp.c | used = min(skb->len - offset, len); |
len | 1399 | net/inet/tcp.c | len -= used; |
len | 1413 | net/inet/tcp.c | (used + offset >= skb->len)) |
len | 1481 | net/inet/tcp.c | buff->len = sizeof(*t1); |
len | 1497 | net/inet/tcp.c | buff ->len += tmp; |
len | 1538 | net/inet/tcp.c | int len; |
len | 1548 | net/inet/tcp.c | len = get_fs_long(addr_len); |
len | 1549 | net/inet/tcp.c | if(len > sizeof(sin)) |
len | 1550 | net/inet/tcp.c | len = sizeof(sin); |
len | 1551 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, addr, len); |
len | 1563 | net/inet/tcp.c | memcpy_tofs(addr, &sin, len); |
len | 1564 | net/inet/tcp.c | put_fs_long(len, addr_len); |
len | 1589 | net/inet/tcp.c | buff->len = sizeof(*t1); |
len | 1604 | net/inet/tcp.c | buff->len += tmp; |
len | 1831 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr)+4; |
len | 1852 | net/inet/tcp.c | buff->len += tmp; |
len | 1927 | net/inet/tcp.c | if (skb->len > 0 && |
len | 1928 | net/inet/tcp.c | after(skb->h.th->seq + skb->len + 1, sk->copied_seq)) |
len | 1938 | net/inet/tcp.c | if(skb->len > 0 && after(skb->h.th->seq + skb->len + 1 , sk->copied_seq)) |
len | 1996 | net/inet/tcp.c | buff->len = sizeof(*t1); |
len | 2011 | net/inet/tcp.c | buff ->len += tmp; |
len | 2133 | net/inet/tcp.c | tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len) |
len | 2157 | net/inet/tcp.c | if (len != th->doff*4) flag |= 1; |
len | 2401 | net/inet/tcp.c | unsigned long saddr, unsigned short len) |
len | 2409 | net/inet/tcp.c | skb->len = len -(th->doff*4); |
len | 2411 | net/inet/tcp.c | DPRINTF((DBG_TCP, "tcp_data len = %d sk = %X:\n", skb->len, sk)); |
len | 2413 | net/inet/tcp.c | sk->bytes_rcv += skb->len; |
len | 2414 | net/inet/tcp.c | if (skb->len == 0 && !th->fin && !th->urg && !th->psh) { |
len | 2422 | net/inet/tcp.c | sk->acked_seq = th->seq + skb->len + th->syn + th->fin; |
len | 2484 | net/inet/tcp.c | if (th->seq==skb1->h.th->seq && skb->len>= skb1->len) |
len | 2508 | net/inet/tcp.c | th->ack_seq = th->seq + skb->len; |
len | 2808 | net/inet/tcp.c | buff->len = 24; |
len | 2822 | net/inet/tcp.c | buff->len += tmp; |
len | 2864 | net/inet/tcp.c | tcp_sequence(struct sock *sk, struct tcphdr *th, short len, |
len | 2874 | net/inet/tcp.c | sk, th, len, opt, saddr)); |
len | 2877 | net/inet/tcp.c | between(th->seq + len-(th->doff*4), sk->acked_seq + 1, |
len | 2880 | net/inet/tcp.c | after(th->seq + len -(th->doff*4), sk->acked_seq + sk->window))) { |
len | 2896 | net/inet/tcp.c | if (th->ack && len == (th->doff * 4) && |
len | 2913 | net/inet/tcp.c | unsigned long daddr, unsigned short len, |
len | 2942 | net/inet/tcp.c | DPRINTF((DBG_TCP, "len = %d, redo = %d, skb=%X\n", len, redo, skb)); |
len | 2954 | net/inet/tcp.c | if (tcp_check(th, len, saddr, daddr )) { |
len | 2979 | net/inet/tcp.c | skb->len = len; |
len | 3057 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr)) { |
len | 3108 | net/inet/tcp.c | if (!tcp_ack(sk, th, saddr, len)) { |
len | 3128 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) { |
len | 3192 | net/inet/tcp.c | if (!tcp_sequence(sk, th, len, opt, saddr)) { |
len | 3237 | net/inet/tcp.c | if (!tcp_ack(sk, th, saddr, len)) { |
len | 3262 | net/inet/tcp.c | if (!tcp_ack(sk, th, saddr, len)) { |
len | 3294 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) |
len | 3310 | net/inet/tcp.c | if (tcp_data(skb, sk, saddr, len)) { |
len | 3349 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
len | 3363 | net/inet/tcp.c | buff->len += tmp; |
len | 142 | net/inet/tcp.h | unsigned short len, unsigned long saddr, int redo, |
len | 67 | net/inet/timer.c | reset_timer (struct sock *t, int timeout, unsigned long len) |
len | 76 | net/inet/timer.c | if ((int) len < 0) /* prevent close to infinite timers. THEY _DO_ */ |
len | 77 | net/inet/timer.c | len = 3; /* happen (negative values ?) - don't ask me why ! -FB */ |
len | 79 | net/inet/timer.c | t->timer.expires = len; |
len | 80 | net/inet/udp.c | printk(" len = %d, check = %d\n", ntohs(uh->len), ntohs(uh->check)); |
len | 138 | net/inet/udp.c | udp_check(struct udphdr *uh, int len, |
len | 144 | net/inet/udp.c | uh, len, saddr, daddr)); |
len | 152 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
len | 155 | net/inet/udp.c | if (len > 3) { |
len | 163 | net/inet/udp.c | : "0"(sum), "c"(len/4) ,"1"(uh) |
len | 177 | net/inet/udp.c | if ((len & 2) != 0) { |
len | 187 | net/inet/udp.c | if ((len & 1) != 0) { |
len | 204 | net/inet/udp.c | unsigned long daddr, int len, struct sock *sk) |
len | 209 | net/inet/udp.c | uh->check = udp_check(uh, len, saddr, daddr); |
len | 216 | net/inet/udp.c | unsigned char *from, int len) |
len | 228 | net/inet/udp.c | from, len)); |
len | 230 | net/inet/udp.c | err=verify_area(VERIFY_READ, from, len); |
len | 235 | net/inet/udp.c | size = sizeof(struct sk_buff) + sk->prot->max_header + len; |
len | 263 | net/inet/udp.c | skb->len = tmp + sizeof(struct udphdr) + len; /* len + UDP + IP + MAC */ |
len | 271 | net/inet/udp.c | if (len > dev->mtu) { |
len | 273 | net/inet/udp.c | if (skb->len > 4095) |
len | 276 | net/inet/udp.c | printk("UDP: send: length %d > mtu %d (ignored)\n", len, dev->mtu); |
len | 283 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |
len | 289 | net/inet/udp.c | memcpy_fromfs(buff, from, len); |
len | 292 | net/inet/udp.c | udp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk); |
len | 297 | net/inet/udp.c | return(len); |
len | 302 | net/inet/udp.c | udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock, |
len | 309 | net/inet/udp.c | DPRINTF((DBG_UDP, "UDP: sendto(len=%d, flags=%X)\n", len, flags)); |
len | 314 | net/inet/udp.c | if (len < 0) |
len | 316 | net/inet/udp.c | if (len == 0) |
len | 342 | net/inet/udp.c | tmp = udp_send(sk, &sin, from, len); |
len | 351 | net/inet/udp.c | udp_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 354 | net/inet/udp.c | return(udp_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
len | 412 | net/inet/udp.c | amount = skb->len; |
len | 434 | net/inet/udp.c | udp_recvfrom(struct sock *sk, unsigned char *to, int len, |
len | 455 | net/inet/udp.c | if (len == 0) |
len | 457 | net/inet/udp.c | if (len < 0) |
len | 472 | net/inet/udp.c | er=verify_area(VERIFY_WRITE,to,len); |
len | 478 | net/inet/udp.c | copied = min(len, skb->len); |
len | 500 | net/inet/udp.c | udp_read(struct sock *sk, unsigned char *buff, int len, int noblock, |
len | 503 | net/inet/udp.c | return(udp_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
len | 547 | net/inet/udp.c | unsigned long daddr, unsigned short len, |
len | 571 | net/inet/udp.c | if (uh->check && udp_check(uh, len, saddr, daddr)) { |
len | 580 | net/inet/udp.c | skb->len = len; |
len | 605 | net/inet/udp.c | skb->len = len - sizeof(*uh); |
len | 37 | net/inet/udp.h | int len, int noblock, unsigned flags, |
len | 40 | net/inet/udp.h | int len, int noblock, unsigned flags); |
len | 45 | net/inet/udp.h | unsigned short len, unsigned long saddr, int redo, |
len | 701 | net/socket.c | sock_send(int fd, void * buff, int len, unsigned flags) |
len | 708 | net/socket.c | fd, buff, len, flags)); |
len | 714 | net/socket.c | return(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags)); |
len | 719 | net/socket.c | sock_sendto(int fd, void * buff, int len, unsigned flags, |
len | 727 | net/socket.c | " addr=%X, alen = %d\n", fd, buff, len, flags, addr, addr_len)); |
len | 733 | net/socket.c | return(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK), |
len | 739 | net/socket.c | sock_recv(int fd, void * buff, int len, unsigned flags) |
len | 746 | net/socket.c | fd, buff, len, flags)); |
len | 752 | net/socket.c | return(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags)); |
len | 757 | net/socket.c | sock_recvfrom(int fd, void * buff, int len, unsigned flags, |
len | 765 | net/socket.c | " addr=%X, alen=%X\n", fd, buff, len, flags, addr, addr_len)); |
len | 771 | net/socket.c | return(sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK), |
len | 77 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, |
len | 79 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, |
len | 81 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, |
len | 84 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, |
len | 168 | net/unix/sock.c | unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
len | 175 | net/unix/sock.c | unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
len | 191 | net/unix/sock.c | unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
len | 195 | net/unix/sock.c | return(unix_proto_write(sock, (char *) buff, len, nonblock)); |
len | 201 | net/unix/sock.c | unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
len | 205 | net/unix/sock.c | return(unix_proto_read(sock, (char *) buff, len, nonblock)); |
len | 544 | net/unix/sock.c | int len; |
len | 560 | net/unix/sock.c | if ((len = get_fs_long(usockaddr_len)) <= 0) return(-EINVAL); |
len | 561 | net/unix/sock.c | if (len > upd->sockaddr_len) len = upd->sockaddr_len; |
len | 562 | net/unix/sock.c | if (len) { |
len | 563 | net/unix/sock.c | er=verify_area(VERIFY_WRITE, usockaddr, len); |
len | 566 | net/unix/sock.c | memcpy_tofs(usockaddr, &upd->sockaddr_un, len); |
len | 568 | net/unix/sock.c | put_fs_long(len, usockaddr_len); |
len | 264 | zBoot/gzip.h | void copy_block OF((char *buf, unsigned len, int header)); |
len | 204 | zBoot/misc.c | int len, i; |
len | 209 | zBoot/misc.c | len = INBUFSIZ-insize; |
len | 210 | zBoot/misc.c | if (len > (input_len-input_ptr+1)) len=input_len-input_ptr+1; |
len | 211 | zBoot/misc.c | if (len == 0 || len == EOF) break; |
len | 213 | zBoot/misc.c | for (i=0;i<len;i++) inbuf[insize+i] = input_data[input_ptr+i]; |
len | 214 | zBoot/misc.c | insize += len; |
len | 215 | zBoot/misc.c | input_ptr += len; |
len | 395 | zBoot/misc.c | unsigned len = (unsigned)get_byte(); |
len | 396 | zBoot/misc.c | len |= ((unsigned)get_byte())<<8; |
len | 397 | zBoot/misc.c | while (len--) (void)get_byte(); |
len | 18 | zBoot/piggyback.c | int c, n=0, len=0; |
len | 35 | zBoot/piggyback.c | len = 0; |
len | 36 | zBoot/piggyback.c | while ((n = read(0, &tmp_buf[len], sizeof(tmp_buf)-len+1)) > 0) |
len | 37 | zBoot/piggyback.c | len += n; |
len | 45 | zBoot/piggyback.c | if (len >= sizeof(tmp_buf)) |
len | 51 | zBoot/piggyback.c | fprintf(stderr, "Compressed size %d.\n", len); |
len | 56 | zBoot/piggyback.c | obj.a_data = len + sizeof(long); |
len | 63 | zBoot/piggyback.c | write(1, tmp_buf, len); |
len | 64 | zBoot/piggyback.c | write(1, (char *)&len, sizeof(len)); |
len | 69 | zBoot/piggyback.c | var_names[1].n_value = len; |
len | 75 | zBoot/piggyback.c | len = sizeof(string_names) + sizeof(len); |
len | 76 | zBoot/piggyback.c | write(1, (char *)&len, sizeof(len)); |