tag | line | file | source code |
cp | 81 | drivers/block/ramdisk.c | char *cp; |
cp | 90 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 92 | drivers/block/ramdisk.c | *cp++ = '\0'; |
cp | 117 | drivers/block/ramdisk.c | char *cp; |
cp | 174 | drivers/block/ramdisk.c | cp = rd_start; |
cp | 185 | drivers/block/ramdisk.c | (void) memcpy(cp, bh->b_data, BLOCK_SIZE); |
cp | 188 | drivers/block/ramdisk.c | cp += BLOCK_SIZE; |
cp | 580 | drivers/char/keyboard.c | static void puts_queue(char *cp) |
cp | 586 | drivers/char/keyboard.c | while (*cp) { |
cp | 587 | drivers/char/keyboard.c | tty_insert_flip_char(tty, *cp, 0); |
cp | 588 | drivers/char/keyboard.c | cp++; |
cp | 528 | drivers/char/n_tty.c | static void n_tty_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 541 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 544 | drivers/char/n_tty.c | cp += i; |
cp | 549 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 553 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
cp | 1574 | drivers/char/tty_io.c | unsigned char *cp; |
cp | 1579 | drivers/char/tty_io.c | cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
cp | 1587 | drivers/char/tty_io.c | cp = tty->flip.char_buf; |
cp | 1603 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
cp | 155 | drivers/net/ppp.c | static void ppp_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 923 | drivers/net/ppp.c | static void ppp_receive_buf(struct tty_struct *tty, unsigned char *cp, |
cp | 940 | drivers/net/ppp.c | ppp_print_buffer ("receive buffer", cp, count, KERNEL_DS); |
cp | 946 | drivers/net/ppp.c | c = *cp++; |
cp | 85 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
cp | 87 | drivers/net/slhc.c | static unsigned char * put16(unsigned char *cp, unsigned short x); |
cp | 183 | drivers/net/slhc.c | put16(unsigned char *cp, unsigned short x) |
cp | 185 | drivers/net/slhc.c | *cp++ = x >> 8; |
cp | 186 | drivers/net/slhc.c | *cp++ = x; |
cp | 188 | drivers/net/slhc.c | return cp; |
cp | 194 | drivers/net/slhc.c | encode(unsigned char *cp, unsigned short n) |
cp | 197 | drivers/net/slhc.c | *cp++ = 0; |
cp | 198 | drivers/net/slhc.c | cp = put16(cp,n); |
cp | 200 | drivers/net/slhc.c | *cp++ = n; |
cp | 202 | drivers/net/slhc.c | return cp; |
cp | 249 | drivers/net/slhc.c | register unsigned char *cp = new_seq; |
cp | 369 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 379 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 385 | drivers/net/slhc.c | cp = encode(cp,deltaA); |
cp | 391 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 419 | drivers/net/slhc.c | cp = new_seq; |
cp | 426 | drivers/net/slhc.c | cp = new_seq; |
cp | 432 | drivers/net/slhc.c | cp = encode(cp,deltaS); |
cp | 449 | drivers/net/slhc.c | deltaS = cp - new_seq; |
cp | 451 | drivers/net/slhc.c | cp = ocp; |
cp | 453 | drivers/net/slhc.c | *cp++ = changes | NEW_C; |
cp | 454 | drivers/net/slhc.c | *cp++ = cs->cs_this; |
cp | 457 | drivers/net/slhc.c | cp = ocp; |
cp | 459 | drivers/net/slhc.c | *cp++ = changes; |
cp | 461 | drivers/net/slhc.c | cp = put16(cp,(short)deltaA); /* Write TCP checksum */ |
cp | 463 | drivers/net/slhc.c | memcpy(cp,new_seq,deltaS); /* Write list of deltas */ |
cp | 464 | drivers/net/slhc.c | memcpy(cp+deltaS,icp+hlen,isize-hlen); |
cp | 467 | drivers/net/slhc.c | return isize - hlen + deltaS + (cp - ocp); |
cp | 499 | drivers/net/slhc.c | unsigned char *cp = icp; |
cp | 507 | drivers/net/slhc.c | changes = *cp++; |
cp | 512 | drivers/net/slhc.c | x = *cp++; /* Read conn index */ |
cp | 531 | drivers/net/slhc.c | if((x = pull16(&cp)) == -1) { /* Read the TCP checksum */ |
cp | 563 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 570 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 576 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 582 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 590 | drivers/net/slhc.c | if((x = decode(&cp)) == -1) { |
cp | 603 | drivers/net/slhc.c | len = isize - (cp - icp); |
cp | 610 | drivers/net/slhc.c | memmove(icp + hdrlen, cp, len - hdrlen); |
cp | 612 | drivers/net/slhc.c | cp = icp; |
cp | 613 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
cp | 614 | drivers/net/slhc.c | cp += 20; |
cp | 617 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
cp | 618 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
cp | 623 | drivers/net/slhc.c | memcpy(cp, thp, 20); |
cp | 624 | drivers/net/slhc.c | cp += 20; |
cp | 627 | drivers/net/slhc.c | memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); |
cp | 628 | drivers/net/slhc.c | cp += ((thp->doff) - 5) * 4; |
cp | 627 | drivers/net/slip.c | slip_receive_buf(struct tty_struct *tty, unsigned char *cp, char *fp, int count) |
cp | 652 | drivers/net/slip.c | cp++; |
cp | 657 | drivers/net/slip.c | slip_unesc6(sl, *cp++); |
cp | 660 | drivers/net/slip.c | slip_unesc(sl, *cp++); |
cp | 292 | drivers/scsi/eata.c | struct mscp cp[MAX_MAILBOXES]; /* Mailboxes for this board */ |
cp | 642 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cp | 739 | drivers/scsi/eata.c | if (SCarg != HD(j)->cp[i].SCpnt) |
cp | 741 | drivers/scsi/eata.c | BN(j), i, SCarg, HD(j)->cp[i].SCpnt); |
cp | 802 | drivers/scsi/eata.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 846 | drivers/scsi/eata.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 940 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cp | 147 | drivers/scsi/eata_dma.c | struct eata_ccb *cp; |
cp | 167 | drivers/scsi/eata_dma.c | cp = sp->ccb; |
cp | 168 | drivers/scsi/eata_dma.c | cmd = cp->cmd; |
cp | 179 | drivers/scsi/eata_dma.c | "%lx, irq%d\n", base, (long)cp, eata_stat, hba_stat, |
cp | 186 | drivers/scsi/eata_dma.c | if (cp->status == LOCKED) { |
cp | 187 | drivers/scsi/eata_dma.c | cp->status = FREE; |
cp | 260 | drivers/scsi/eata_dma.c | cp->status = FREE; /* now we can release the slot */ |
cp | 299 | drivers/scsi/eata_dma.c | struct eata_ccb *cp; |
cp | 338 | drivers/scsi/eata_dma.c | cp = &hd->ccb[y]; |
cp | 340 | drivers/scsi/eata_dma.c | memset(cp, 0, sizeof(struct eata_ccb)); |
cp | 342 | drivers/scsi/eata_dma.c | cp->status = USED; /* claim free slot */ |
cp | 362 | drivers/scsi/eata_dma.c | cp->DataOut = TRUE; /* Output mode */ |
cp | 366 | drivers/scsi/eata_dma.c | cp->DataIn = TRUE; /* Input mode */ |
cp | 370 | drivers/scsi/eata_dma.c | cp->Interpret = TRUE; /* Interpret command */ |
cp | 373 | drivers/scsi/eata_dma.c | cp->scatter = TRUE; /* SG mode */ |
cp | 374 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl((long)&cp->sg_list); |
cp | 375 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->use_sg*8); |
cp | 379 | drivers/scsi/eata_dma.c | cp->sg_list[i].data = htonl((ulong) sl->address); |
cp | 380 | drivers/scsi/eata_dma.c | cp->sg_list[i].len = htonl((ulong) sl->length); |
cp | 383 | drivers/scsi/eata_dma.c | cp->scatter = FALSE; |
cp | 384 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->request_bufflen); |
cp | 385 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl((ulong)cmd->request_buffer); |
cp | 388 | drivers/scsi/eata_dma.c | cp->Auto_Req_Sen = TRUE; |
cp | 389 | drivers/scsi/eata_dma.c | cp->cp_reqDMA = htonl((ulong) cmd->sense_buffer); |
cp | 390 | drivers/scsi/eata_dma.c | cp->reqlen = sizeof(cmd->sense_buffer); |
cp | 392 | drivers/scsi/eata_dma.c | cp->cp_id = cmd->target; |
cp | 393 | drivers/scsi/eata_dma.c | cp->cp_lun = cmd->lun; |
cp | 394 | drivers/scsi/eata_dma.c | cp->cp_dispri = TRUE; |
cp | 395 | drivers/scsi/eata_dma.c | cp->cp_identify = TRUE; |
cp | 396 | drivers/scsi/eata_dma.c | memcpy(cp->cp_cdb, cmd->cmnd, cmd->cmd_len); |
cp | 398 | drivers/scsi/eata_dma.c | cp->cp_statDMA = htonl((ulong) &(hd->sp)); |
cp | 400 | drivers/scsi/eata_dma.c | cp->cp_viraddr = cp; |
cp | 401 | drivers/scsi/eata_dma.c | cp->cmd = cmd; |
cp | 404 | drivers/scsi/eata_dma.c | if(eata_send_command((ulong) cp, (uint) sh->base, EATA_CMD_DMA_SEND_CP) == FALSE) { |
cp | 597 | drivers/scsi/eata_dma.c | struct eata_ccb cp; |
cp | 604 | drivers/scsi/eata_dma.c | memset(&cp, 0, sizeof(struct eata_ccb)); |
cp | 608 | drivers/scsi/eata_dma.c | cp.DataIn = TRUE; |
cp | 609 | drivers/scsi/eata_dma.c | cp.Interpret = TRUE; /* Interpret command */ |
cp | 611 | drivers/scsi/eata_dma.c | cp.cp_datalen = htonl(255); |
cp | 612 | drivers/scsi/eata_dma.c | cp.cp_dataDMA = htonl((s32)buff); |
cp | 613 | drivers/scsi/eata_dma.c | cp.cp_viraddr = &cp; |
cp | 615 | drivers/scsi/eata_dma.c | cp.cp_id = id; |
cp | 616 | drivers/scsi/eata_dma.c | cp.cp_lun = 0; |
cp | 618 | drivers/scsi/eata_dma.c | cp.cp_cdb[0] = INQUIRY; |
cp | 619 | drivers/scsi/eata_dma.c | cp.cp_cdb[1] = 0; |
cp | 620 | drivers/scsi/eata_dma.c | cp.cp_cdb[2] = 0; |
cp | 621 | drivers/scsi/eata_dma.c | cp.cp_cdb[3] = 0; |
cp | 622 | drivers/scsi/eata_dma.c | cp.cp_cdb[4] = 255; |
cp | 623 | drivers/scsi/eata_dma.c | cp.cp_cdb[5] = 0; |
cp | 625 | drivers/scsi/eata_dma.c | cp.cp_statDMA = htonl((ulong) &sp); |
cp | 630 | drivers/scsi/eata_dma.c | eata_send_command((u32) &cp, (u32) base, EATA_CMD_DMA_SEND_CP); |
cp | 249 | drivers/scsi/u14-34f.c | struct mscp cp[MAX_MAILBOXES]; /* Mailboxes for this board */ |
cp | 291 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[0]; |
cp | 586 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[i]; |
cp | 672 | drivers/scsi/u14-34f.c | if (SCarg != HD(j)->cp[i].SCpnt) |
cp | 674 | drivers/scsi/u14-34f.c | BN(j), i, SCarg, HD(j)->cp[i].SCpnt); |
cp | 735 | drivers/scsi/u14-34f.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 780 | drivers/scsi/u14-34f.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 855 | drivers/scsi/u14-34f.c | i = spp - HD(j)->cp; |
cp | 623 | fs/exec.c | char *cp, *interp, *i_name, *i_arg; |
cp | 627 | fs/exec.c | if ((cp = strchr(bprm.buf, '\n')) == NULL) |
cp | 628 | fs/exec.c | cp = bprm.buf+127; |
cp | 629 | fs/exec.c | *cp = '\0'; |
cp | 630 | fs/exec.c | while (cp > bprm.buf) { |
cp | 631 | fs/exec.c | cp--; |
cp | 632 | fs/exec.c | if ((*cp == ' ') || (*cp == '\t')) |
cp | 633 | fs/exec.c | *cp = '\0'; |
cp | 637 | fs/exec.c | for (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++); |
cp | 638 | fs/exec.c | if (!cp || *cp == '\0') { |
cp | 642 | fs/exec.c | interp = i_name = cp; |
cp | 644 | fs/exec.c | for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) { |
cp | 645 | fs/exec.c | if (*cp == '/') |
cp | 646 | fs/exec.c | i_name = cp+1; |
cp | 648 | fs/exec.c | while ((*cp == ' ') || (*cp == '\t')) |
cp | 649 | fs/exec.c | *cp++ = '\0'; |
cp | 650 | fs/exec.c | if (*cp) |
cp | 651 | fs/exec.c | i_arg = cp; |
cp | 686 | fs/proc/array.c | char str[5], *cp = str; |
cp | 694 | fs/proc/array.c | *cp++ = flags & VM_READ ? 'r' : '-'; |
cp | 695 | fs/proc/array.c | *cp++ = flags & VM_WRITE ? 'w' : '-'; |
cp | 696 | fs/proc/array.c | *cp++ = flags & VM_EXEC ? 'x' : '-'; |
cp | 697 | fs/proc/array.c | *cp++ = flags & VM_MAYSHARE ? 's' : 'p'; |
cp | 698 | fs/proc/array.c | *cp++ = 0; |
cp | 199 | fs/xiafs/file.c | char * cp; |
cp | 238 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
cp | 245 | 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 | lib/vsprintf.c | unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base) |
cp | 23 | lib/vsprintf.c | if (*cp == '0') { |
cp | 25 | lib/vsprintf.c | cp++; |
cp | 26 | lib/vsprintf.c | if ((*cp == 'x') && isxdigit(cp[1])) { |
cp | 27 | lib/vsprintf.c | cp++; |
cp | 32 | lib/vsprintf.c | while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) |
cp | 33 | lib/vsprintf.c | ? toupper(*cp) : *cp)-'A'+10) < base) { |
cp | 35 | lib/vsprintf.c | cp++; |
cp | 38 | lib/vsprintf.c | *endp = (char *)cp; |