tag | line | file | source code |
cp | 107 | arch/ppc/kernel/raw_printf.c | char c, sign, *cp; |
cp | 172 | arch/ppc/kernel/raw_printf.c | cp = buf; |
cp | 175 | arch/ppc/kernel/raw_printf.c | cp = va_arg(ap, char *); |
cp | 176 | arch/ppc/kernel/raw_printf.c | length = strlen(cp); |
cp | 215 | arch/ppc/kernel/raw_printf.c | (*putc)(c = *cp++); |
cp | 242 | arch/ppc/kernel/raw_printf.c | char *cp = temp; |
cp | 246 | arch/ppc/kernel/raw_printf.c | *cp++ = '0'; |
cp | 250 | arch/ppc/kernel/raw_printf.c | *cp++ = digits[val % radix]; |
cp | 253 | arch/ppc/kernel/raw_printf.c | while (cp != temp) |
cp | 255 | arch/ppc/kernel/raw_printf.c | *buf++ = *--cp; |
cp | 500 | arch/ppc/kernel/raw_printf.c | int pos = screen.cp - Crtat; |
cp | 525 | arch/ppc/kernel/raw_printf.c | *(d->cp) = c; \ |
cp | 574 | arch/ppc/kernel/raw_printf.c | if (d->cp > base) { |
cp | 583 | arch/ppc/kernel/raw_printf.c | d->cp -= d->row; |
cp | 588 | arch/ppc/kernel/raw_printf.c | d->cp += COL; |
cp | 618 | arch/ppc/kernel/raw_printf.c | if (d->cp >= base + COL) |
cp | 619 | arch/ppc/kernel/raw_printf.c | d->cp -= COL; |
cp | 623 | arch/ppc/kernel/raw_printf.c | d->cp += COL; |
cp | 632 | arch/ppc/kernel/raw_printf.c | if (d->cp > base) { |
cp | 645 | arch/ppc/kernel/raw_printf.c | fillw(d->color|(' '<<8), d->cp, COL - (d->cp - base) % COL); |
cp | 654 | arch/ppc/kernel/raw_printf.c | d->cp = base; |
cp | 657 | arch/ppc/kernel/raw_printf.c | d->cp = base + (d->cx - 1) * COL + d->cy - 1; |
cp | 682 | arch/ppc/kernel/raw_printf.c | i = (d->cp - base) / COL; |
cp | 691 | arch/ppc/kernel/raw_printf.c | i = (d->cp - base) / COL; |
cp | 769 | arch/ppc/kernel/raw_printf.c | d->cp = base; |
cp | 785 | arch/ppc/kernel/raw_printf.c | if (d->cp >= base + (COL * ROW)) { /* scroll check */ |
cp | 788 | arch/ppc/kernel/raw_printf.c | d->cp -= COL; |
cp | 808 | arch/ppc/kernel/raw_printf.c | d->cp = Crtat = (u_short *)&ISA_mem[0x0B8000]; |
cp | 811 | arch/ppc/kernel/raw_printf.c | fillw(pccolor|(' '<<8), d->cp, COL * ROW); |
cp | 15 | arch/sparc/prom/bootstr.c | char *cp; |
cp | 19 | arch/sparc/prom/bootstr.c | cp = barg_buf; |
cp | 21 | arch/sparc/prom/bootstr.c | strcpy(cp, (*(romvec->pv_v0bootargs))->argv[iter]); |
cp | 22 | arch/sparc/prom/bootstr.c | cp += strlen(cp); *cp++=' '; |
cp | 24 | arch/sparc/prom/bootstr.c | *cp = 0; |
cp | 28 | arch/sparc/prom/bootstr.c | cp = barg_buf; |
cp | 29 | arch/sparc/prom/bootstr.c | strcpy(cp, *romvec->pv_v2bootargs.bootpath); |
cp | 30 | arch/sparc/prom/bootstr.c | cp += strlen(cp); |
cp | 31 | arch/sparc/prom/bootstr.c | *cp++ = ' '; |
cp | 32 | arch/sparc/prom/bootstr.c | strcpy(cp, *romvec->pv_v2bootargs.bootargs); |
cp | 33 | arch/sparc/prom/bootstr.c | cp += strlen(cp); |
cp | 34 | arch/sparc/prom/bootstr.c | *cp = 0; |
cp | 617 | drivers/char/istallion.c | static void stli_dodelaycmd(stliport_t *portp, volatile cdkctrl_t *cp); |
cp | 1078 | drivers/char/istallion.c | volatile cdkctrl_t *cp; |
cp | 1113 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
cp | 1114 | drivers/char/istallion.c | cp->openarg = arg; |
cp | 1115 | drivers/char/istallion.c | cp->open = 1; |
cp | 1158 | drivers/char/istallion.c | volatile cdkctrl_t *cp; |
cp | 1188 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
cp | 1189 | drivers/char/istallion.c | cp->closearg = arg; |
cp | 1190 | drivers/char/istallion.c | cp->close = 1; |
cp | 2198 | drivers/char/istallion.c | volatile cdkctrl_t *cp; |
cp | 2214 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
cp | 2216 | drivers/char/istallion.c | memcpy((void *) &(cp->args[0]), arg, size); |
cp | 2222 | drivers/char/istallion.c | cp->status = 0; |
cp | 2223 | drivers/char/istallion.c | cp->cmd = cmd; |
cp | 2310 | drivers/char/istallion.c | static inline void stli_dodelaycmd(stliport_t *portp, volatile cdkctrl_t *cp) |
cp | 2326 | drivers/char/istallion.c | memcpy((void *) &(cp->args[0]), (void *) &portp->asig, sizeof(asysigs_t)); |
cp | 2327 | drivers/char/istallion.c | cp->status = 0; |
cp | 2328 | drivers/char/istallion.c | cp->cmd = cmd; |
cp | 2335 | drivers/char/istallion.c | memcpy((void *) &(cp->args[0]), (void *) &cmd, sizeof(int)); |
cp | 2336 | drivers/char/istallion.c | cp->status = 0; |
cp | 2337 | drivers/char/istallion.c | cp->cmd = A_FLUSH; |
cp | 2355 | drivers/char/istallion.c | volatile cdkctrl_t *cp; |
cp | 2368 | drivers/char/istallion.c | cp = &ap->ctrl; |
cp | 2374 | drivers/char/istallion.c | rc = (int) cp->openarg; |
cp | 2375 | drivers/char/istallion.c | if ((cp->open == 0) && (rc != 0)) { |
cp | 2378 | drivers/char/istallion.c | cp->openarg = 0; |
cp | 2389 | drivers/char/istallion.c | rc = (int) cp->closearg; |
cp | 2390 | drivers/char/istallion.c | if ((cp->close == 0) && (rc != 0)) { |
cp | 2393 | drivers/char/istallion.c | cp->closearg = 0; |
cp | 2405 | drivers/char/istallion.c | rc = cp->status; |
cp | 2406 | drivers/char/istallion.c | if ((cp->cmd == 0) && (rc != 0)) { |
cp | 2410 | drivers/char/istallion.c | memcpy(portp->argp, (void *) &(cp->args[0]), portp->argsize); |
cp | 2413 | drivers/char/istallion.c | cp->status = 0; |
cp | 2416 | drivers/char/istallion.c | stli_dodelaycmd(portp, cp); |
cp | 596 | drivers/char/keyboard.c | static void puts_queue(char *cp) |
cp | 602 | drivers/char/keyboard.c | while (*cp) { |
cp | 603 | drivers/char/keyboard.c | tty_insert_flip_char(tty, *cp, 0); |
cp | 604 | drivers/char/keyboard.c | cp++; |
cp | 535 | drivers/char/n_tty.c | static void n_tty_receive_buf(struct tty_struct *tty, const unsigned char *cp, |
cp | 548 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 551 | drivers/char/n_tty.c | cp += i; |
cp | 556 | drivers/char/n_tty.c | memcpy(tty->read_buf + tty->read_head, cp, i); |
cp | 560 | drivers/char/n_tty.c | for (i=count, p = cp, f = fp; i; i--, p++) { |
cp | 1651 | drivers/char/tty_io.c | unsigned char *cp; |
cp | 1656 | drivers/char/tty_io.c | cp = tty->flip.char_buf + TTY_FLIPBUF_SIZE; |
cp | 1664 | drivers/char/tty_io.c | cp = tty->flip.char_buf; |
cp | 1680 | drivers/char/tty_io.c | tty->ldisc.receive_buf(tty, cp, fp, count); |
cp | 968 | drivers/net/apricot.c | char *cp; |
cp | 977 | drivers/net/apricot.c | cp=((char *)(cmd + 1))+2; |
cp | 980 | drivers/net/apricot.c | memcpy(cp, dmi,6); |
cp | 981 | drivers/net/apricot.c | cp+=6; |
cp | 215 | drivers/net/bsd_comp.c | extern int ppp_register_compressor (struct compressor *cp); |
cp | 216 | drivers/net/bsd_comp.c | extern void ppp_unregister_compressor (struct compressor *cp); |
cp | 129 | drivers/net/ppp.c | static int ppp_register_compressor (struct compressor *cp); |
cp | 130 | drivers/net/ppp.c | static void ppp_unregister_compressor (struct compressor *cp); |
cp | 242 | drivers/net/ppp.c | static void ppp_tty_receive (struct tty_struct *tty, const u_char * cp, |
cp | 2249 | drivers/net/ppp.c | struct compressor *cp; |
cp | 2277 | drivers/net/ppp.c | cp = find_compressor ((int) (unsigned) (unsigned char) ccp_option[0]); |
cp | 2278 | drivers/net/ppp.c | if (cp != (struct compressor *) 0) { |
cp | 2288 | drivers/net/ppp.c | ppp->sc_xcomp = cp; |
cp | 2289 | drivers/net/ppp.c | ppp->sc_xc_state = cp->comp_alloc(ccp_option, nb); |
cp | 2301 | drivers/net/ppp.c | ppp->sc_rcomp = cp; |
cp | 2302 | drivers/net/ppp.c | ppp->sc_rc_state = cp->decomp_alloc(ccp_option, nb); |
cp | 3468 | drivers/net/ppp.c | static int ppp_register_compressor (struct compressor *cp) |
cp | 3481 | drivers/net/ppp.c | if (find_compressor (cp->compress_proto)) { |
cp | 3488 | drivers/net/ppp.c | new->comp = cp; |
cp | 3495 | drivers/net/ppp.c | static void ppp_unregister_compressor (struct compressor *cp) |
cp | 3506 | drivers/net/ppp.c | if (lnk->comp == cp) { |
cp | 89 | drivers/net/slhc.c | static unsigned char *encode(unsigned char *cp, unsigned short n); |
cp | 91 | 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 | 627 | drivers/net/slhc.c | memcpy(cp, thp, 20); |
cp | 628 | drivers/net/slhc.c | cp += 20; |
cp | 631 | drivers/net/slhc.c | memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); |
cp | 632 | drivers/net/slhc.c | cp += ((thp->doff) - 5) * 4; |
cp | 679 | drivers/net/slip.c | slip_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) |
cp | 704 | drivers/net/slip.c | cp++; |
cp | 709 | drivers/net/slip.c | slip_unesc6(sl, *cp++); |
cp | 712 | drivers/net/slip.c | slip_unesc(sl, *cp++); |
cp | 302 | drivers/scsi/eata.c | struct mscp cp[MAX_MAILBOXES]; /* Mailboxes for this board */ |
cp | 654 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cp | 752 | drivers/scsi/eata.c | if (SCarg != HD(j)->cp[i].SCpnt) |
cp | 754 | drivers/scsi/eata.c | BN(j), i, SCarg, HD(j)->cp[i].SCpnt); |
cp | 815 | drivers/scsi/eata.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 859 | drivers/scsi/eata.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 953 | drivers/scsi/eata.c | cpp = &HD(j)->cp[i]; |
cp | 158 | drivers/scsi/eata_dma.c | struct eata_ccb *cp; |
cp | 177 | drivers/scsi/eata_dma.c | cp = sp->ccb; |
cp | 179 | drivers/scsi/eata_dma.c | if(cp == NULL) { |
cp | 186 | drivers/scsi/eata_dma.c | cmd = cp->cmd; |
cp | 196 | drivers/scsi/eata_dma.c | "spadrirq %lx, irq%d\n", base, (long)cp, eata_stat, |
cp | 203 | drivers/scsi/eata_dma.c | if (cp->status == LOCKED) { |
cp | 204 | drivers/scsi/eata_dma.c | cp->status = FREE; |
cp | 221 | drivers/scsi/eata_dma.c | && (HD(cmd)->t_state[cp->cp_channel][cp->cp_id] == RESET)) |
cp | 224 | drivers/scsi/eata_dma.c | HD(cmd)->t_state[cp->cp_channel][cp->cp_id] = OK; |
cp | 225 | drivers/scsi/eata_dma.c | if(HD(cmd)->do_latency == TRUE && cp->timestamp) { |
cp | 227 | drivers/scsi/eata_dma.c | time = jiffies - cp->timestamp; |
cp | 228 | drivers/scsi/eata_dma.c | if((cp->rw_latency) == TRUE) { /* was WRITE */ |
cp | 229 | drivers/scsi/eata_dma.c | if(HD(cmd)->writes_lat[cp->sizeindex][1] > time) |
cp | 230 | drivers/scsi/eata_dma.c | HD(cmd)->writes_lat[cp->sizeindex][1] = time; |
cp | 231 | drivers/scsi/eata_dma.c | if(HD(cmd)->writes_lat[cp->sizeindex][2] < time) |
cp | 232 | drivers/scsi/eata_dma.c | HD(cmd)->writes_lat[cp->sizeindex][2] = time; |
cp | 233 | drivers/scsi/eata_dma.c | HD(cmd)->writes_lat[cp->sizeindex][3] += time; |
cp | 234 | drivers/scsi/eata_dma.c | HD(cmd)->writes_lat[cp->sizeindex][0]++; |
cp | 236 | drivers/scsi/eata_dma.c | if(HD(cmd)->reads_lat[cp->sizeindex][1] > time) |
cp | 237 | drivers/scsi/eata_dma.c | HD(cmd)->reads_lat[cp->sizeindex][1] = time; |
cp | 238 | drivers/scsi/eata_dma.c | if(HD(cmd)->reads_lat[cp->sizeindex][2] < time) |
cp | 239 | drivers/scsi/eata_dma.c | HD(cmd)->reads_lat[cp->sizeindex][2] = time; |
cp | 240 | drivers/scsi/eata_dma.c | HD(cmd)->reads_lat[cp->sizeindex][3] += time; |
cp | 241 | drivers/scsi/eata_dma.c | HD(cmd)->reads_lat[cp->sizeindex][0]++; |
cp | 251 | drivers/scsi/eata_dma.c | HD(cmd)->t_timeout[cp->cp_channel][cp->cp_id] = OK; |
cp | 257 | drivers/scsi/eata_dma.c | if (HD(cmd)->t_timeout[cp->cp_channel][cp->cp_id] > 1) |
cp | 261 | drivers/scsi/eata_dma.c | HD(cmd)->t_timeout[cp->cp_channel][cp->cp_id]++; |
cp | 272 | drivers/scsi/eata_dma.c | HD(cmd)->t_state[cp->cp_channel][i] = RESET; |
cp | 300 | drivers/scsi/eata_dma.c | cp->status = FREE; /* now we can release the slot */ |
cp | 352 | drivers/scsi/eata_dma.c | struct eata_ccb *cp; |
cp | 397 | drivers/scsi/eata_dma.c | cp = &hd->ccb[y]; |
cp | 399 | drivers/scsi/eata_dma.c | memset(cp, 0, sizeof(struct eata_ccb) - sizeof(struct eata_sg_list *)); |
cp | 401 | drivers/scsi/eata_dma.c | cp->status = USED; /* claim free slot */ |
cp | 416 | drivers/scsi/eata_dma.c | cp->timestamp = jiffies; /* For latency measurements */ |
cp | 436 | drivers/scsi/eata_dma.c | cp->sizeindex = z; |
cp | 439 | drivers/scsi/eata_dma.c | cp->rw_latency = TRUE; |
cp | 457 | drivers/scsi/eata_dma.c | cp->DataOut = TRUE; /* Output mode */ |
cp | 461 | drivers/scsi/eata_dma.c | cp->DataIn = TRUE; /* Input mode */ |
cp | 468 | drivers/scsi/eata_dma.c | cp->Interpret = TRUE; /* Interpret command */ |
cp | 471 | drivers/scsi/eata_dma.c | cp->scatter = TRUE; /* SG mode */ |
cp | 472 | drivers/scsi/eata_dma.c | if (cp->sg_list == NULL) { |
cp | 473 | drivers/scsi/eata_dma.c | cp->sg_list = kmalloc(sh->sg_tablesize * sizeof(struct eata_sg_list), |
cp | 476 | drivers/scsi/eata_dma.c | if (cp->sg_list == NULL) |
cp | 478 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl(virt_to_bus(cp->sg_list)); |
cp | 480 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list)); |
cp | 483 | drivers/scsi/eata_dma.c | cp->sg_list[i].data = htonl(virt_to_bus(sl->address)); |
cp | 484 | drivers/scsi/eata_dma.c | cp->sg_list[i].len = htonl((u32) sl->length); |
cp | 487 | drivers/scsi/eata_dma.c | cp->scatter = FALSE; |
cp | 488 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->request_bufflen); |
cp | 489 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl(virt_to_bus(cmd->request_buffer)); |
cp | 492 | drivers/scsi/eata_dma.c | cp->Auto_Req_Sen = TRUE; |
cp | 493 | drivers/scsi/eata_dma.c | cp->cp_reqDMA = htonl(virt_to_bus(cmd->sense_buffer)); |
cp | 494 | drivers/scsi/eata_dma.c | cp->reqlen = sizeof(cmd->sense_buffer); |
cp | 496 | drivers/scsi/eata_dma.c | cp->cp_id = cmd->target; |
cp | 497 | drivers/scsi/eata_dma.c | cp->cp_channel = cmd->channel; |
cp | 498 | drivers/scsi/eata_dma.c | cp->cp_lun = cmd->lun; |
cp | 499 | drivers/scsi/eata_dma.c | cp->cp_dispri = TRUE; |
cp | 500 | drivers/scsi/eata_dma.c | cp->cp_identify = TRUE; |
cp | 501 | drivers/scsi/eata_dma.c | memcpy(cp->cp_cdb, cmd->cmnd, cmd->cmd_len); |
cp | 503 | drivers/scsi/eata_dma.c | cp->cp_statDMA = htonl(virt_to_bus(&(hd->sp))); |
cp | 505 | drivers/scsi/eata_dma.c | cp->cp_viraddr = cp; /* This will be passed thru, so we don't need to |
cp | 507 | drivers/scsi/eata_dma.c | cp->cmd = cmd; |
cp | 510 | drivers/scsi/eata_dma.c | if(eata_send_command((u32) cp, (u32) sh->base, EATA_CMD_DMA_SEND_CP) == FALSE) { |
cp | 516 | drivers/scsi/eata_dma.c | cp->status = FREE; |
cp | 693 | drivers/scsi/eata_dma.c | struct eata_ccb *cp; |
cp | 699 | drivers/scsi/eata_dma.c | cp = (struct eata_ccb *) scsi_init_malloc(sizeof(struct eata_ccb), |
cp | 706 | drivers/scsi/eata_dma.c | memset(cp, 0, sizeof(struct eata_ccb)); |
cp | 710 | drivers/scsi/eata_dma.c | cp->DataIn = TRUE; |
cp | 711 | drivers/scsi/eata_dma.c | cp->Interpret = TRUE; /* Interpret command */ |
cp | 712 | drivers/scsi/eata_dma.c | cp->cp_dispri = TRUE; |
cp | 713 | drivers/scsi/eata_dma.c | cp->cp_identify = TRUE; |
cp | 715 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(56); |
cp | 716 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl(virt_to_bus(buff)); |
cp | 717 | drivers/scsi/eata_dma.c | cp->cp_statDMA = htonl(virt_to_bus(sp)); |
cp | 718 | drivers/scsi/eata_dma.c | cp->cp_viraddr = cp; |
cp | 720 | drivers/scsi/eata_dma.c | cp->cp_id = id; |
cp | 721 | drivers/scsi/eata_dma.c | cp->cp_lun = 0; |
cp | 723 | drivers/scsi/eata_dma.c | cp->cp_cdb[0] = INQUIRY; |
cp | 724 | drivers/scsi/eata_dma.c | cp->cp_cdb[1] = 0; |
cp | 725 | drivers/scsi/eata_dma.c | cp->cp_cdb[2] = 0; |
cp | 726 | drivers/scsi/eata_dma.c | cp->cp_cdb[3] = 0; |
cp | 727 | drivers/scsi/eata_dma.c | cp->cp_cdb[4] = 56; |
cp | 728 | drivers/scsi/eata_dma.c | cp->cp_cdb[5] = 0; |
cp | 734 | drivers/scsi/eata_dma.c | eata_send_command((u32) cp, (u32) base, EATA_CMD_DMA_SEND_CP); |
cp | 745 | drivers/scsi/eata_dma.c | scsi_init_free((void *)cp, sizeof(struct eata_ccb)); |
cp | 132 | drivers/scsi/eata_pio.c | struct eata_ccb *cp; |
cp | 153 | drivers/scsi/eata_pio.c | cp = &hd->ccb[0]; |
cp | 154 | drivers/scsi/eata_pio.c | cmd = cp->cmd; |
cp | 161 | drivers/scsi/eata_pio.c | if (cp->DataIn) |
cp | 234 | drivers/scsi/eata_pio.c | hd->devflags|=(1<<cp->cp_id); |
cp | 236 | drivers/scsi/eata_pio.c | else if (hd->devflags&1<<cp->cp_id) |
cp | 240 | drivers/scsi/eata_pio.c | if (cp->status == LOCKED) { |
cp | 241 | drivers/scsi/eata_pio.c | cp->status = FREE; |
cp | 255 | drivers/scsi/eata_pio.c | cp->status = FREE; /* now we can release the slot */ |
cp | 287 | drivers/scsi/eata_pio.c | struct eata_ccb *cp; |
cp | 313 | drivers/scsi/eata_pio.c | cp = &hd->ccb[y]; |
cp | 315 | drivers/scsi/eata_pio.c | memset(cp, 0, sizeof(struct eata_ccb)); |
cp | 318 | drivers/scsi/eata_pio.c | cp->status = USED; /* claim free slot */ |
cp | 338 | drivers/scsi/eata_pio.c | cp->DataOut = TRUE; /* Output mode */ |
cp | 342 | drivers/scsi/eata_pio.c | cp->DataIn = TRUE; /* Input mode */ |
cp | 345 | drivers/scsi/eata_pio.c | cp->Interpret = (cmd->target == hd->hostid); |
cp | 346 | drivers/scsi/eata_pio.c | cp->cp_datalen = htonl((ulong)cmd->request_bufflen); |
cp | 347 | drivers/scsi/eata_pio.c | cp->Auto_Req_Sen = FALSE; |
cp | 348 | drivers/scsi/eata_pio.c | cp->cp_reqDMA = htonl(0); |
cp | 349 | drivers/scsi/eata_pio.c | cp->reqlen = 0; |
cp | 351 | drivers/scsi/eata_pio.c | cp->cp_id = cmd->target; |
cp | 352 | drivers/scsi/eata_pio.c | cp->cp_lun = cmd->lun; |
cp | 353 | drivers/scsi/eata_pio.c | cp->cp_dispri = FALSE; |
cp | 354 | drivers/scsi/eata_pio.c | cp->cp_identify = TRUE; |
cp | 355 | drivers/scsi/eata_pio.c | memcpy(cp->cp_cdb, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd)); |
cp | 357 | drivers/scsi/eata_pio.c | cp->cp_statDMA = htonl(0); |
cp | 359 | drivers/scsi/eata_pio.c | cp->cp_viraddr = cp; |
cp | 360 | drivers/scsi/eata_pio.c | cp->cmd = cmd; |
cp | 384 | drivers/scsi/eata_pio.c | cp->status = FREE; |
cp | 389 | drivers/scsi/eata_pio.c | outsw(base + HA_RDATA, cp, hd->cplen); |
cp | 538 | drivers/scsi/eata_pio.c | struct eata_ccb cp; |
cp | 542 | drivers/scsi/eata_pio.c | memset(&cp, 0, sizeof(struct eata_ccb)); |
cp | 545 | drivers/scsi/eata_pio.c | cp.DataIn = TRUE; |
cp | 546 | drivers/scsi/eata_pio.c | cp.Interpret = TRUE; /* Interpret command */ |
cp | 548 | drivers/scsi/eata_pio.c | cp.cp_datalen = htonl(254); |
cp | 549 | drivers/scsi/eata_pio.c | cp.cp_dataDMA = htonl(0); |
cp | 551 | drivers/scsi/eata_pio.c | cp.cp_id = id; |
cp | 552 | drivers/scsi/eata_pio.c | cp.cp_lun = 0; |
cp | 554 | drivers/scsi/eata_pio.c | cp.cp_cdb[0] = INQUIRY; |
cp | 555 | drivers/scsi/eata_pio.c | cp.cp_cdb[1] = 0; |
cp | 556 | drivers/scsi/eata_pio.c | cp.cp_cdb[2] = 0; |
cp | 557 | drivers/scsi/eata_pio.c | cp.cp_cdb[3] = 0; |
cp | 558 | drivers/scsi/eata_pio.c | cp.cp_cdb[4] = 254; |
cp | 559 | drivers/scsi/eata_pio.c | cp.cp_cdb[5] = 0; |
cp | 564 | drivers/scsi/eata_pio.c | outsw(base + HA_RDATA, &cp, cplen); |
cp | 264 | drivers/scsi/u14-34f.c | struct mscp cp[MAX_MAILBOXES]; /* Mailboxes for this board */ |
cp | 306 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[0]; |
cp | 608 | drivers/scsi/u14-34f.c | cpp = &HD(j)->cp[i]; |
cp | 695 | drivers/scsi/u14-34f.c | if (SCarg != HD(j)->cp[i].SCpnt) |
cp | 697 | drivers/scsi/u14-34f.c | BN(j), i, SCarg, HD(j)->cp[i].SCpnt); |
cp | 758 | drivers/scsi/u14-34f.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 803 | drivers/scsi/u14-34f.c | SCpnt = HD(j)->cp[i].SCpnt; |
cp | 878 | drivers/scsi/u14-34f.c | i = spp - HD(j)->cp; |
cp | 685 | fs/exec.c | char *cp, *interp, *i_name, *i_arg; |
cp | 689 | fs/exec.c | if ((cp = strchr(bprm.buf, '\n')) == NULL) |
cp | 690 | fs/exec.c | cp = bprm.buf+127; |
cp | 691 | fs/exec.c | *cp = '\0'; |
cp | 692 | fs/exec.c | while (cp > bprm.buf) { |
cp | 693 | fs/exec.c | cp--; |
cp | 694 | fs/exec.c | if ((*cp == ' ') || (*cp == '\t')) |
cp | 695 | fs/exec.c | *cp = '\0'; |
cp | 699 | fs/exec.c | for (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++); |
cp | 700 | fs/exec.c | if (!cp || *cp == '\0') { |
cp | 704 | fs/exec.c | interp = i_name = cp; |
cp | 706 | fs/exec.c | for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) { |
cp | 707 | fs/exec.c | if (*cp == '/') |
cp | 708 | fs/exec.c | i_name = cp+1; |
cp | 710 | fs/exec.c | while ((*cp == ' ') || (*cp == '\t')) |
cp | 711 | fs/exec.c | *cp++ = '\0'; |
cp | 712 | fs/exec.c | if (*cp) |
cp | 713 | fs/exec.c | i_arg = cp; |
cp | 411 | fs/nfs/nfsroot.c | char *cp, *options, *val; |
cp | 419 | fs/nfs/nfsroot.c | if (*name >= '0' && *name <= '9' && (cp = strchr(name, ':')) != NULL) { |
cp | 420 | fs/nfs/nfsroot.c | *cp++ = '\0'; |
cp | 422 | fs/nfs/nfsroot.c | name = cp; |
cp | 426 | fs/nfs/nfsroot.c | cp = in_ntoa(server.sin_addr.s_addr); |
cp | 427 | fs/nfs/nfsroot.c | strncpy(nfs_data.hostname, cp, 255); |
cp | 430 | fs/nfs/nfsroot.c | cp = in_ntoa(myaddr.sin_addr.s_addr); |
cp | 434 | fs/nfs/nfsroot.c | if (strlen(buf) + strlen(cp) > NFS_MAXPATHLEN) { |
cp | 438 | fs/nfs/nfsroot.c | sprintf(nfs_path, buf, cp); |
cp | 455 | fs/nfs/nfsroot.c | cp = strtok(options, ","); |
cp | 456 | fs/nfs/nfsroot.c | while (cp) { |
cp | 457 | fs/nfs/nfsroot.c | if ((val = strchr(cp, '='))) { |
cp | 460 | fs/nfs/nfsroot.c | while (opts->name && strcmp(opts->name, cp)) |
cp | 466 | fs/nfs/nfsroot.c | while (opts->name && strcmp(opts->name, cp)) |
cp | 473 | fs/nfs/nfsroot.c | cp = strtok(NULL, ","); |
cp | 504 | fs/nfs/nfsroot.c | char *cp, *ip, *dp; |
cp | 523 | fs/nfs/nfsroot.c | if ((cp = strchr(ip, ':'))) |
cp | 524 | fs/nfs/nfsroot.c | *cp++ = '\0'; |
cp | 555 | fs/nfs/nfsroot.c | ip = cp; |
cp | 712 | fs/proc/array.c | char str[5], *cp = str; |
cp | 720 | fs/proc/array.c | *cp++ = flags & VM_READ ? 'r' : '-'; |
cp | 721 | fs/proc/array.c | *cp++ = flags & VM_WRITE ? 'w' : '-'; |
cp | 722 | fs/proc/array.c | *cp++ = flags & VM_EXEC ? 'x' : '-'; |
cp | 723 | fs/proc/array.c | *cp++ = flags & VM_MAYSHARE ? 's' : 'p'; |
cp | 724 | fs/proc/array.c | *cp++ = 0; |
cp | 197 | fs/xiafs/file.c | char * cp; |
cp | 236 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
cp | 243 | fs/xiafs/file.c | memcpy_fromfs(cp,buf,c); |
cp | 36 | include/linux/tty_ldisc.h | void (*receive_buf)(struct tty_struct *, const 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; |
cp | 100 | net/ipv4/ipmr.c | struct mfc_cache **cp; |
cp | 108 | net/ipv4/ipmr.c | cp=&cache_resolve_queue; |
cp | 114 | net/ipv4/ipmr.c | cp=&(mfc_cache_array[line]); |
cp | 121 | net/ipv4/ipmr.c | while(*cp!=NULL) |
cp | 123 | net/ipv4/ipmr.c | if(*cp==cache) |
cp | 125 | net/ipv4/ipmr.c | *cp=cache->next; |
cp | 128 | net/ipv4/ipmr.c | cp=&((*cp)->next); |
cp | 308 | scripts/ksymoops.cc | unsigned char* cp = code; |
cp | 310 | scripts/ksymoops.cc | while (cp < end) { |
cp | 313 | scripts/ksymoops.cc | *cp++ = c; |