tag | line | file | source code |
cp | 579 | fs/exec.c | char *cp, *interp, *i_name, *i_arg; |
cp | 583 | fs/exec.c | if ((cp = strchr(bprm.buf, '\n')) == NULL) |
cp | 584 | fs/exec.c | cp = bprm.buf+127; |
cp | 585 | fs/exec.c | *cp = '\0'; |
cp | 586 | fs/exec.c | while (cp > bprm.buf) { |
cp | 587 | fs/exec.c | cp--; |
cp | 588 | fs/exec.c | if ((*cp == ' ') || (*cp == '\t')) |
cp | 589 | fs/exec.c | *cp = '\0'; |
cp | 593 | fs/exec.c | for (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++); |
cp | 594 | fs/exec.c | if (!cp || *cp == '\0') { |
cp | 598 | fs/exec.c | interp = i_name = cp; |
cp | 600 | fs/exec.c | for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) { |
cp | 601 | fs/exec.c | if (*cp == '/') |
cp | 602 | fs/exec.c | i_name = cp+1; |
cp | 604 | fs/exec.c | while ((*cp == ' ') || (*cp == '\t')) |
cp | 605 | fs/exec.c | *cp++ = '\0'; |
cp | 606 | fs/exec.c | if (*cp) |
cp | 607 | fs/exec.c | i_arg = cp; |
cp | 194 | fs/xiafs/file.c | char * cp; |
cp | 233 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
cp | 240 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
cp | 80 | kernel/blk_drv/ramdisk.c | char *cp; |
cp | 89 | kernel/blk_drv/ramdisk.c | cp = rd_start; |
cp | 91 | kernel/blk_drv/ramdisk.c | *cp++ = '\0'; |
cp | 111 | kernel/blk_drv/ramdisk.c | char *cp; |
cp | 155 | kernel/blk_drv/ramdisk.c | cp = rd_start; |
cp | 166 | kernel/blk_drv/ramdisk.c | (void) memcpy(cp, bh->b_data, BLOCK_SIZE); |
cp | 169 | kernel/blk_drv/ramdisk.c | cp += BLOCK_SIZE; |
cp | 280 | kernel/chr_drv/keyboard.c | static void puts_queue(char *cp) |
cp | 291 | kernel/chr_drv/keyboard.c | while ((ch = *(cp++)) != 0) { |
cp | 17 | kernel/vsprintf.c | unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) |
cp | 23 | kernel/vsprintf.c | if (*cp == '0') { |
cp | 25 | kernel/vsprintf.c | cp++; |
cp | 26 | kernel/vsprintf.c | if ((*cp == 'x') && isxdigit(cp[1])) { |
cp | 27 | kernel/vsprintf.c | cp++; |
cp | 32 | kernel/vsprintf.c | while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) |
cp | 33 | kernel/vsprintf.c | ? toupper(*cp) : *cp)-'A'+10) < base) { |
cp | 35 | kernel/vsprintf.c | cp++; |
cp | 38 | kernel/vsprintf.c | *endp = (char *)cp; |
cp | 33 | net/drv/we8003/main.c | we_getconf(struct ddi_device *dev, struct ddconf *cp) |
cp | 35 | net/drv/we8003/main.c | cp->ioaddr = dev->config.ioaddr; /* I/O base address */ |
cp | 36 | net/drv/we8003/main.c | cp->ioaux = 0; /* not used */ |
cp | 37 | net/drv/we8003/main.c | cp->irq = dev->config.irq; /* IRQ channel */ |
cp | 38 | net/drv/we8003/main.c | cp->dma = 0; /* not used */ |
cp | 39 | net/drv/we8003/main.c | cp->memaddr = dev->config.memaddr; /* RAM base address */ |
cp | 40 | net/drv/we8003/main.c | cp->memsize = dev->config.memsize; /* RAM size */ |
cp | 46 | net/drv/we8003/main.c | we_setconf(struct ddi_device *dev, struct ddconf *cp) |
cp | 48 | net/drv/we8003/main.c | dev->config.ioaddr = cp->ioaddr; /* I/O base address */ |
cp | 49 | net/drv/we8003/main.c | dev->config.irq = cp->irq; /* IRQ channel */ |
cp | 50 | net/drv/we8003/main.c | dev->config.memaddr = cp->memaddr; /* RAM base address */ |
cp | 51 | net/drv/we8003/main.c | dev->config.memsize = cp->memsize; /* RAM size */ |
cp | 70 | net/inet/slhc.c | static unsigned char *encode(unsigned char *cp,int n); |
cp | 72 | net/inet/slhc.c | static unsigned char * put16(unsigned char *cp, unsigned short x); |
cp | 158 | net/inet/slhc.c | put16(unsigned char *cp, unsigned short x) |
cp | 160 | net/inet/slhc.c | *cp++ = x >> 8; |
cp | 161 | net/inet/slhc.c | *cp++ = x; |
cp | 163 | net/inet/slhc.c | return cp; |
cp | 169 | net/inet/slhc.c | encode(unsigned char *cp, int n) |
cp | 172 | net/inet/slhc.c | *cp++ = 0; |
cp | 173 | net/inet/slhc.c | cp = put16(cp,n); |
cp | 175 | net/inet/slhc.c | *cp++ = n; |
cp | 177 | net/inet/slhc.c | return cp; |
cp | 224 | net/inet/slhc.c | register unsigned char *cp = new_seq; |
cp | 350 | net/inet/slhc.c | cp = encode(cp,deltaS); |
cp | 361 | net/inet/slhc.c | cp = encode(cp,deltaS); |
cp | 367 | net/inet/slhc.c | cp = encode(cp,deltaA); |
cp | 373 | net/inet/slhc.c | cp = encode(cp,deltaS); |
cp | 403 | net/inet/slhc.c | cp = new_seq; |
cp | 410 | net/inet/slhc.c | cp = new_seq; |
cp | 416 | net/inet/slhc.c | cp = encode(cp,deltaS); |
cp | 433 | net/inet/slhc.c | deltaS = cp - new_seq; |
cp | 435 | net/inet/slhc.c | cp = ocp; |
cp | 437 | net/inet/slhc.c | *cp++ = changes | NEW_C; |
cp | 438 | net/inet/slhc.c | *cp++ = cs->cs_this; |
cp | 441 | net/inet/slhc.c | cp = ocp; |
cp | 443 | net/inet/slhc.c | *cp++ = changes; |
cp | 445 | net/inet/slhc.c | cp = put16(cp,(short)deltaA); /* Write TCP checksum */ |
cp | 447 | net/inet/slhc.c | DPRINT(("comp: %x %x %x %d %d\n", icp, cp, new_seq, hlen, deltaS)); |
cp | 448 | net/inet/slhc.c | memcpy(cp,new_seq,deltaS); /* Write list of deltas */ |
cp | 449 | net/inet/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
cp | 452 | net/inet/slhc.c | return isize - hlen + deltaS + (cp - ocp); |
cp | 484 | net/inet/slhc.c | unsigned char *cp = icp; |
cp | 493 | net/inet/slhc.c | changes = *cp++; |
cp | 498 | net/inet/slhc.c | x = *cp++; /* Read conn index */ |
cp | 518 | net/inet/slhc.c | if((x = pull16(&cp)) == -1) { /* Read the TCP checksum */ |
cp | 551 | net/inet/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 559 | net/inet/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 566 | net/inet/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 573 | net/inet/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 582 | net/inet/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 596 | net/inet/slhc.c | len = isize - (cp - icp) + hdrlen; |
cp | 600 | net/inet/slhc.c | DPRINT(("uncomp: %d %d %d %d\n", cp - icp, hdrlen, isize, len)); |
cp | 602 | net/inet/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
cp | 604 | net/inet/slhc.c | cp = icp; |
cp | 605 | net/inet/slhc.c | memcpy(cp, ip, 20); |
cp | 606 | net/inet/slhc.c | cp += 20; |
cp | 609 | net/inet/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
cp | 610 | net/inet/slhc.c | cp += ((ip->ihl) - 5) * 4; |
cp | 613 | net/inet/slhc.c | memcpy(cp, thp, 20); |
cp | 614 | net/inet/slhc.c | cp += 20; |
cp | 617 | net/inet/slhc.c | memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); |
cp | 618 | net/inet/slhc.c | cp += ((thp->doff) - 5) * 4; |
cp | 101 | net/inet/slip.c | void clh_dump(unsigned char *cp, int len) |
cp | 107 | net/inet/slip.c | printk(" %x", *cp++); |