tag | line | file | source code |
cp | 79 | drivers/block/ramdisk.c | char *cp; |
cp | 88 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 90 | drivers/block/ramdisk.c | *cp++ = '\0'; |
cp | 105 | drivers/block/ramdisk.c | char *cp; |
cp | 142 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 153 | drivers/block/ramdisk.c | (void) memcpy(cp, bh->b_data, BLOCK_SIZE); |
cp | 156 | drivers/block/ramdisk.c | cp += BLOCK_SIZE; |
cp | 373 | drivers/char/keyboard.c | static void puts_queue(char *cp) |
cp | 379 | drivers/char/keyboard.c | while (*cp) { |
cp | 380 | drivers/char/keyboard.c | tty_insert_flip_char(tty, *cp, 0); |
cp | 381 | drivers/char/keyboard.c | cp++; |
cp | 518 | drivers/char/n_tty.c | static void n_tty_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 531 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 534 | drivers/char/n_tty.c | cp += i; |
cp | 539 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 543 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
cp | 1485 | drivers/char/tty_io.c | unsigned char *cp; |
cp | 1490 | drivers/char/tty_io.c | cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
cp | 1498 | drivers/char/tty_io.c | cp = tty->flip.char_buf; |
cp | 1514 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
cp | 150 | drivers/net/ppp.c | static void ppp_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 911 | drivers/net/ppp.c | static void ppp_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 928 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", cp, count, KERNEL_DS); |
cp | 934 | drivers/net/ppp.c | c = *cp++; |
cp | 76 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
cp | 78 | drivers/net/slhc.c | static unsigned char * put16(unsigned char *cp, unsigned short x); |
cp | 171 | drivers/net/slhc.c | put16(unsigned char *cp, unsigned short x) |
cp | 173 | drivers/net/slhc.c | *cp++ = x >> 8; |
cp | 174 | drivers/net/slhc.c | *cp++ = x; |
cp | 176 | drivers/net/slhc.c | return cp; |
cp | 182 | drivers/net/slhc.c | encode(unsigned char *cp, unsigned short n) |
cp | 185 | drivers/net/slhc.c | *cp++ = 0; |
cp | 186 | drivers/net/slhc.c | cp = put16(cp,n); |
cp | 188 | drivers/net/slhc.c | *cp++ = n; |
cp | 190 | drivers/net/slhc.c | return cp; |
cp | 237 | drivers/net/slhc.c | register unsigned char *cp = new_seq; |
cp | 357 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 367 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 373 | drivers/net/slhc.c | cp = encode(cp,deltaA); |
cp | 379 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 407 | drivers/net/slhc.c | cp = new_seq; |
cp | 414 | drivers/net/slhc.c | cp = new_seq; |
cp | 420 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 437 | drivers/net/slhc.c | deltaS = cp - new_seq; |
cp | 439 | drivers/net/slhc.c | cp = ocp; |
cp | 441 | drivers/net/slhc.c | *cp++ = changes | NEW_C; |
cp | 442 | drivers/net/slhc.c | *cp++ = cs->cs_this; |
cp | 445 | drivers/net/slhc.c | cp = ocp; |
cp | 447 | drivers/net/slhc.c | *cp++ = changes; |
cp | 449 | drivers/net/slhc.c | cp = put16(cp,(short)deltaA); /* Write TCP checksum */ |
cp | 451 | drivers/net/slhc.c | memcpy(cp,new_seq,deltaS); /* Write list of deltas */ |
cp | 452 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
cp | 455 | drivers/net/slhc.c | return isize - hlen + deltaS + (cp - ocp); |
cp | 487 | drivers/net/slhc.c | unsigned char *cp = icp; |
cp | 495 | drivers/net/slhc.c | changes = *cp++; |
cp | 500 | drivers/net/slhc.c | x = *cp++; /* Read conn index */ |
cp | 519 | 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 | 558 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 564 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 570 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 578 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 591 | drivers/net/slhc.c | len = isize - (cp - icp); |
cp | 598 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
cp | 600 | drivers/net/slhc.c | cp = icp; |
cp | 601 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
cp | 602 | drivers/net/slhc.c | cp += 20; |
cp | 605 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
cp | 606 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
cp | 611 | drivers/net/slhc.c | memcpy(cp, thp, 20); |
cp | 612 | drivers/net/slhc.c | cp += 20; |
cp | 615 | drivers/net/slhc.c | memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); |
cp | 616 | drivers/net/slhc.c | cp += ((thp->doff) - 5) * 4; |
cp | 646 | drivers/net/slip.c | static void slip_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 665 | drivers/net/slip.c | cp++; |
cp | 669 | drivers/net/slip.c | slip_unesc6(sl,*cp++); |
cp | 671 | drivers/net/slip.c | slip_unesc(sl,*cp++); |
cp | 649 | fs/exec.c | char *cp, *interp, *i_name, *i_arg; |
cp | 653 | fs/exec.c | if ((cp = strchr(bprm.buf, '\n')) == NULL) |
cp | 654 | fs/exec.c | cp = bprm.buf+127; |
cp | 655 | fs/exec.c | *cp = '\0'; |
cp | 656 | fs/exec.c | while (cp > bprm.buf) { |
cp | 657 | fs/exec.c | cp--; |
cp | 658 | fs/exec.c | if ((*cp == ' ') || (*cp == '\t')) |
cp | 659 | fs/exec.c | *cp = '\0'; |
cp | 663 | fs/exec.c | for (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++); |
cp | 664 | fs/exec.c | if (!cp || *cp == '\0') { |
cp | 668 | fs/exec.c | interp = i_name = cp; |
cp | 670 | fs/exec.c | for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) { |
cp | 671 | fs/exec.c | if (*cp == '/') |
cp | 672 | fs/exec.c | i_name = cp+1; |
cp | 674 | fs/exec.c | while ((*cp == ' ') || (*cp == '\t')) |
cp | 675 | fs/exec.c | *cp++ = '\0'; |
cp | 676 | fs/exec.c | if (*cp) |
cp | 677 | fs/exec.c | i_arg = cp; |
cp | 422 | fs/proc/array.c | char str[7], *cp = str; |
cp | 430 | fs/proc/array.c | *cp++ = flags & VM_READ ? 'r' : '-'; |
cp | 431 | fs/proc/array.c | *cp++ = flags & VM_WRITE ? 'w' : '-'; |
cp | 432 | fs/proc/array.c | *cp++ = flags & VM_EXEC ? 'x' : '-'; |
cp | 433 | fs/proc/array.c | *cp++ = flags & VM_SHARED ? 's' : 'p'; |
cp | 434 | fs/proc/array.c | *cp++ = 0; |
cp | 195 | fs/xiafs/file.c | char * cp; |
cp | 234 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
cp | 241 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
cp | 36 | include/linux/tty_ldisc.h | void (*receive_buf)(struct tty_struct *, unsigned char *cp, |
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; |