tag | line | file | source code |
cp | 78 | drivers/block/ramdisk.c | char *cp; |
cp | 87 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 89 | drivers/block/ramdisk.c | *cp++ = '\0'; |
cp | 109 | drivers/block/ramdisk.c | char *cp; |
cp | 154 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 165 | drivers/block/ramdisk.c | (void) memcpy(cp, bh->b_data, BLOCK_SIZE); |
cp | 168 | drivers/block/ramdisk.c | cp += BLOCK_SIZE; |
cp | 298 | drivers/char/keyboard.c | static void puts_queue(char *cp) |
cp | 309 | drivers/char/keyboard.c | while ((ch = *(cp++)) != 0) { |
cp | 70 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp,int n); |
cp | 72 | drivers/net/slhc.c | static unsigned char * put16(unsigned char *cp, unsigned short x); |
cp | 158 | drivers/net/slhc.c | put16(unsigned char *cp, unsigned short x) |
cp | 160 | drivers/net/slhc.c | *cp++ = x >> 8; |
cp | 161 | drivers/net/slhc.c | *cp++ = x; |
cp | 163 | drivers/net/slhc.c | return cp; |
cp | 169 | drivers/net/slhc.c | encode(unsigned char *cp, int n) |
cp | 172 | drivers/net/slhc.c | *cp++ = 0; |
cp | 173 | drivers/net/slhc.c | cp = put16(cp,n); |
cp | 175 | drivers/net/slhc.c | *cp++ = n; |
cp | 177 | drivers/net/slhc.c | return cp; |
cp | 224 | drivers/net/slhc.c | register unsigned char *cp = new_seq; |
cp | 350 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 361 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 367 | drivers/net/slhc.c | cp = encode(cp,deltaA); |
cp | 373 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 403 | drivers/net/slhc.c | cp = new_seq; |
cp | 410 | drivers/net/slhc.c | cp = new_seq; |
cp | 416 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 433 | drivers/net/slhc.c | deltaS = cp - new_seq; |
cp | 435 | drivers/net/slhc.c | cp = ocp; |
cp | 437 | drivers/net/slhc.c | *cp++ = changes | NEW_C; |
cp | 438 | drivers/net/slhc.c | *cp++ = cs->cs_this; |
cp | 441 | drivers/net/slhc.c | cp = ocp; |
cp | 443 | drivers/net/slhc.c | *cp++ = changes; |
cp | 445 | drivers/net/slhc.c | cp = put16(cp,(short)deltaA); /* Write TCP checksum */ |
cp | 447 | drivers/net/slhc.c | DPRINT(("comp: %x %x %x %d %d\n", icp, cp, new_seq, hlen, deltaS)); |
cp | 448 | drivers/net/slhc.c | memcpy(cp,new_seq,deltaS); /* Write list of deltas */ |
cp | 449 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
cp | 452 | drivers/net/slhc.c | return isize - hlen + deltaS + (cp - ocp); |
cp | 484 | drivers/net/slhc.c | unsigned char *cp = icp; |
cp | 493 | drivers/net/slhc.c | changes = *cp++; |
cp | 498 | drivers/net/slhc.c | x = *cp++; /* Read conn index */ |
cp | 518 | drivers/net/slhc.c | if((x = pull16(&cp)) == -1) { /* Read the TCP checksum */ |
cp | 551 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 559 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 566 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 573 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 582 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 596 | drivers/net/slhc.c | len = isize - (cp - icp); |
cp | 603 | drivers/net/slhc.c | DPRINT(("uncomp: %d %d %d %d\n", cp - icp, hdrlen, isize, len)); |
cp | 605 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
cp | 607 | drivers/net/slhc.c | cp = icp; |
cp | 608 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
cp | 609 | drivers/net/slhc.c | cp += 20; |
cp | 612 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
cp | 613 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
cp | 618 | drivers/net/slhc.c | memcpy(cp, thp, 20); |
cp | 619 | drivers/net/slhc.c | cp += 20; |
cp | 622 | drivers/net/slhc.c | memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); |
cp | 623 | drivers/net/slhc.c | cp += ((thp->doff) - 5) * 4; |
cp | 117 | drivers/net/slip.c | void clh_dump(unsigned char *cp, int len) |
cp | 123 | drivers/net/slip.c | printk(" %x", *cp++); |
cp | 604 | fs/exec.c | char *cp, *interp, *i_name, *i_arg; |
cp | 608 | fs/exec.c | if ((cp = strchr(bprm.buf, '\n')) == NULL) |
cp | 609 | fs/exec.c | cp = bprm.buf+127; |
cp | 610 | fs/exec.c | *cp = '\0'; |
cp | 611 | fs/exec.c | while (cp > bprm.buf) { |
cp | 612 | fs/exec.c | cp--; |
cp | 613 | fs/exec.c | if ((*cp == ' ') || (*cp == '\t')) |
cp | 614 | fs/exec.c | *cp = '\0'; |
cp | 618 | fs/exec.c | for (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++); |
cp | 619 | fs/exec.c | if (!cp || *cp == '\0') { |
cp | 623 | fs/exec.c | interp = i_name = cp; |
cp | 625 | fs/exec.c | for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) { |
cp | 626 | fs/exec.c | if (*cp == '/') |
cp | 627 | fs/exec.c | i_name = cp+1; |
cp | 629 | fs/exec.c | while ((*cp == ' ') || (*cp == '\t')) |
cp | 630 | fs/exec.c | *cp++ = '\0'; |
cp | 631 | fs/exec.c | if (*cp) |
cp | 632 | fs/exec.c | i_arg = cp; |
cp | 362 | fs/proc/array.c | char str[7], *cp = str; |
cp | 384 | fs/proc/array.c | *cp++ = perms & PROT_READ ? 'r' : '-'; |
cp | 385 | fs/proc/array.c | *cp++ = perms & PROT_WRITE ? 'w' : '-'; |
cp | 386 | fs/proc/array.c | *cp++ = perms & PROT_EXEC ? 'x' : '-'; |
cp | 387 | fs/proc/array.c | *cp++ = flags & MAP_SHARED ? 's' : '-'; |
cp | 388 | fs/proc/array.c | *cp++ = flags & MAP_PRIVATE ? 'p' : '-'; |
cp | 389 | fs/proc/array.c | *cp++ = 0; |
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 | 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; |