tag | line | file | source code |
bp | 201 | arch/i386/kernel/setup.c | char *bp=buffer; |
bp | 203 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"cpu\t\t: "); |
bp | 206 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%c86 ",cpu_data[i].x86+'0'); |
bp | 207 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nmodel\t\t: "); |
bp | 210 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s",cpu_data[i].x86_model? |
bp | 212 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nmask\t\t: "); |
bp | 218 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].x86_mask ? mask : "Unknown"); |
bp | 220 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nvid\t\t: "); |
bp | 223 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].x86_vendor_id); |
bp | 224 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nfdiv_bug\t: "); |
bp | 227 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].fdiv_bug?"yes":"no"); |
bp | 228 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nmath\t\t: "); |
bp | 231 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].hard_math?"yes":"no"); |
bp | 232 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nhlt\t\t: "); |
bp | 235 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].hlt_works_ok?"yes":"no"); |
bp | 236 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nwp\t\t: "); |
bp | 239 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].wp_works_ok?"yes":"no"); |
bp | 240 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nIntegrated NPU\t: "); |
bp | 243 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].x86_capability&1?"yes":"no"); |
bp | 244 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nEnhanced VM86\t: "); |
bp | 247 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", cpu_data[i].x86_capability&2?"yes":"no"); |
bp | 248 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nIO Breakpoints\t: "); |
bp | 251 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability&4)?"yes":"no"); |
bp | 252 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\n4MB Pages\t: "); |
bp | 255 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability)&8?"yes":"no"); |
bp | 256 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nTS Counters\t: "); |
bp | 259 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability&16)?"yes":"no"); |
bp | 260 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nPentium MSR\t: "); |
bp | 263 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability&32)?"yes":"no"); |
bp | 264 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nMach. Ch. Exep.\t: "); |
bp | 267 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability&128)?"yes":"no"); |
bp | 268 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nCMPXCHG8B\t: "); |
bp | 271 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s", (cpu_data[i].x86_capability&256)?"yes":"no"); |
bp | 272 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"\nBogoMips\t: "); |
bp | 280 | arch/i386/kernel/setup.c | bp+=sprintf(bp,"%-16s",tmp); |
bp | 283 | arch/i386/kernel/setup.c | *bp++='\n'; |
bp | 284 | arch/i386/kernel/setup.c | return bp-buffer; |
bp | 246 | arch/i386/kernel/smp.c | unsigned long *bp=(unsigned long *)base; |
bp | 257 | arch/i386/kernel/smp.c | if(*bp==SMP_MAGIC_IDENT) |
bp | 259 | arch/i386/kernel/smp.c | mpf=(struct intel_mp_floating *)bp; |
bp | 261 | arch/i386/kernel/smp.c | !mpf_checksum((unsigned char *)bp,16) && |
bp | 318 | arch/i386/kernel/smp.c | bp+=4; |
bp | 888 | drivers/cdrom/mcdx.c | char* bp = buffer; |
bp | 894 | drivers/cdrom/mcdx.c | if (-1 == mcdx_getval(stuffp, timeout, 0, bp)) { |
bp | 899 | drivers/cdrom/mcdx.c | st = *bp++; |
bp | 924 | drivers/cdrom/mcdx.c | if (-1 == mcdx_getval(stuffp, timeout, -1, bp++)) { |
bp | 929 | drivers/cdrom/mcdx.c | TRACE((TALK, "talk() got 0x%02x\n", *(bp - 1))); |
bp | 280 | drivers/char/scc.c | struct mbuf *bp; |
bp | 285 | drivers/char/scc.c | bp = (struct mbuf *)kmalloc(sizeof(struct mbuf), GFP_ATOMIC); |
bp | 287 | drivers/char/scc.c | if ( !(sccb && bp) ) |
bp | 300 | drivers/char/scc.c | sccfreelist[i]->bp = bp; |
bp | 301 | drivers/char/scc.c | memset(sccfreelist[i]->bp ,0,sizeof(struct mbuf)); |
bp | 303 | drivers/char/scc.c | sccfreelist[i]->bp->type = 0; |
bp | 304 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
bp | 305 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
bp | 321 | drivers/char/scc.c | switch (sccfreelist[i]->bp->type) |
bp | 351 | drivers/char/scc.c | sccfreelist[i]->bp->type = type; |
bp | 352 | drivers/char/scc.c | sccfreelist[i]->bp->next = NULLBUF; |
bp | 353 | drivers/char/scc.c | sccfreelist[i]->bp->anext = NULLBUF; |
bp | 354 | drivers/char/scc.c | sccfreelist[i]->bp->dup = NULLBUF; |
bp | 355 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
bp | 356 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 1; |
bp | 357 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
bp | 358 | drivers/char/scc.c | sccfreelist[i]->bp->in_use = 0; |
bp | 361 | drivers/char/scc.c | return sccfreelist[i]->bp; |
bp | 376 | drivers/char/scc.c | scc_return_buffer(register struct mbuf *bp, char type) |
bp | 382 | drivers/char/scc.c | if(!bp) |
bp | 386 | drivers/char/scc.c | bpnext = bp->next; |
bp | 388 | drivers/char/scc.c | if (bp->dup) |
bp | 392 | drivers/char/scc.c | if(sccfreelist[i]->bp == bp->dup) |
bp | 394 | drivers/char/scc.c | if (sccfreelist[i]->bp->type != type) |
bp | 397 | drivers/char/scc.c | type,sccfreelist[i]->bp->type); |
bp | 400 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
bp | 401 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
bp | 402 | drivers/char/scc.c | sccfreelist[i]->bp->in_use = 0; |
bp | 404 | drivers/char/scc.c | bp->dup = NULLBUF; |
bp | 410 | drivers/char/scc.c | if(--bp->refcnt <= 0) |
bp | 414 | drivers/char/scc.c | if(sccfreelist[i]->bp == bp) |
bp | 416 | drivers/char/scc.c | if (sccfreelist[i]->bp->type != type) |
bp | 419 | drivers/char/scc.c | type,sccfreelist[i]->bp->type); |
bp | 422 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
bp | 423 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
bp | 431 | drivers/char/scc.c | printk("\nscc_return_buffer(): bogus pointer %p\n",bp); |
bp | 441 | drivers/char/scc.c | scc_free_chain(register struct mbuf *bp, char type) |
bp | 446 | drivers/char/scc.c | if(!bp) |
bp | 451 | drivers/char/scc.c | abp = bp->anext; |
bp | 452 | drivers/char/scc.c | while (bp) bp = scc_return_buffer(bp, type); |
bp | 461 | drivers/char/scc.c | scc_append_to_chain(struct mbuf **bph,struct mbuf *bp) |
bp | 466 | drivers/char/scc.c | if(bph == NULLBUFP || bp == NULLBUF) |
bp | 474 | drivers/char/scc.c | *bph = bp; |
bp | 478 | drivers/char/scc.c | p->next = bp; |
bp | 487 | drivers/char/scc.c | scc_enqueue(struct mbuf **queue,struct mbuf *bp) |
bp | 492 | drivers/char/scc.c | if(queue == NULLBUFP || bp == NULLBUF) |
bp | 500 | drivers/char/scc.c | *queue = bp; |
bp | 504 | drivers/char/scc.c | p->anext = bp; |
bp | 650 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 654 | drivers/char/scc.c | bp = scc->tbp; |
bp | 656 | drivers/char/scc.c | while (bp && !bp->cnt) /* find next buffer */ |
bp | 657 | drivers/char/scc.c | bp = scc_return_buffer(bp, BT_TRANSMIT); |
bp | 659 | drivers/char/scc.c | if (bp == NULLBUF) /* no more buffers in this frame */ |
bp | 674 | drivers/char/scc.c | Outb(scc->data,bp->data[bp->in_use++]); |
bp | 681 | drivers/char/scc.c | Outb(scc->data,bp->data[bp->in_use++]); |
bp | 684 | drivers/char/scc.c | bp->cnt--; /* decrease byte count */ |
bp | 685 | drivers/char/scc.c | scc->tbp=bp; /* store buffer address */ |
bp | 694 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 696 | drivers/char/scc.c | if((bp = scc->rbp) != NULLBUF) |
bp | 698 | drivers/char/scc.c | scc_free_chain(bp->next, BT_RECEIVE); |
bp | 699 | drivers/char/scc.c | bp->next = NULLBUF; |
bp | 700 | drivers/char/scc.c | scc->rbp1 = bp; /* Don't throw this one away */ |
bp | 701 | drivers/char/scc.c | bp->cnt = 0; /* Simply rewind it */ |
bp | 702 | drivers/char/scc.c | bp->in_use = 0; |
bp | 802 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 813 | drivers/char/scc.c | if ((bp = scc->rbp1) == NULLBUF || bp->cnt >= bp->size) |
bp | 817 | drivers/char/scc.c | if ((bp = scc_get_buffer(BT_RECEIVE)) != NULLBUF) |
bp | 818 | drivers/char/scc.c | scc->rbp = scc->rbp1 = bp; |
bp | 821 | drivers/char/scc.c | else if ((bp = scc_get_buffer(BT_RECEIVE))) |
bp | 823 | drivers/char/scc.c | scc_append_to_chain(&scc->rbp, bp); |
bp | 824 | drivers/char/scc.c | scc->rbp1 = bp; |
bp | 827 | drivers/char/scc.c | if (bp == NULLBUF) /* no buffer available? */ |
bp | 838 | drivers/char/scc.c | bp->data[bp->cnt++] = Inb(scc->data); |
bp | 868 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 891 | drivers/char/scc.c | for (bp = scc->rbp; bp->next != NULLBUF; bp = bp->next) ; |
bp | 892 | drivers/char/scc.c | bp->cnt--; /* last byte is first CRC byte */ |
bp | 1210 | drivers/char/scc.c | register struct mbuf *bp; /* not tested */ |
bp | 1212 | drivers/char/scc.c | bp = scc->sndq; |
bp | 1214 | drivers/char/scc.c | while (bp) bp = scc_free_chain(bp, BT_TRANSMIT); |
bp | 1238 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 1252 | drivers/char/scc.c | bp = scc->rcvq->anext; /* don't use the one we currently use */ |
bp | 1254 | drivers/char/scc.c | while (bp && (scc->stat.rx_queued > QUEUE_HYST)) |
bp | 1256 | drivers/char/scc.c | bp = scc_free_chain(bp, BT_RECEIVE); |
bp | 1261 | drivers/char/scc.c | scc->rcvq->anext = bp; |
bp | 1547 | drivers/char/scc.c | struct mbuf *bp,*bp2; |
bp | 1564 | drivers/char/scc.c | bp = scc->rcvq; |
bp | 1576 | drivers/char/scc.c | switch(ch = bp->data[bp->in_use++]) |
bp | 1590 | drivers/char/scc.c | bp->cnt--; |
bp | 1597 | drivers/char/scc.c | bp = scc->rcvq->next; /* next buffer */ |
bp | 1603 | drivers/char/scc.c | if (!bp) /* end of frame ? */ |
bp | 1620 | drivers/char/scc.c | } else scc->rcvq = bp; /* next buffer */ |
bp | 2112 | drivers/char/scc.c | register struct mbuf *bp; |
bp | 2126 | drivers/char/scc.c | bp = scc->sndq1->anext; /* don't use the one we currently use */ |
bp | 2128 | drivers/char/scc.c | while (bp && (scc->stat.tx_queued > QUEUE_HYST)) |
bp | 2130 | drivers/char/scc.c | bp = scc_free_chain(bp, BT_TRANSMIT); |
bp | 2135 | drivers/char/scc.c | scc->sndq1->anext = bp; |
bp | 117 | drivers/char/selection.c | char *bp, *obp; |
bp | 249 | drivers/char/selection.c | obp = bp = sel_buffer; |
bp | 251 | drivers/char/selection.c | *bp = sel_pos(i); |
bp | 252 | drivers/char/selection.c | if (!isspace(*bp++)) |
bp | 253 | drivers/char/selection.c | obp = bp; |
bp | 257 | drivers/char/selection.c | if (obp != bp) { |
bp | 258 | drivers/char/selection.c | bp = obp; |
bp | 259 | drivers/char/selection.c | *bp++ = '\r'; |
bp | 261 | drivers/char/selection.c | obp = bp; |
bp | 264 | drivers/char/selection.c | sel_buffer_lth = bp - sel_buffer; |
bp | 273 | drivers/char/selection.c | char *bp = sel_buffer; |
bp | 278 | drivers/char/selection.c | if (!bp || !c) |
bp | 289 | drivers/char/selection.c | tty->ldisc.receive_buf(tty, bp, 0, l); |
bp | 291 | drivers/char/selection.c | bp += l; |
bp | 1499 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_break *bp; |
bp | 1518 | drivers/scsi/53c7,8xx.c | for (bp = hostdata->breakpoints; bp && bp->address != dsp; |
bp | 1519 | drivers/scsi/53c7,8xx.c | bp = bp->next); |
bp | 1520 | drivers/scsi/53c7,8xx.c | if (!bp) |
bp | 2029 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_break *bp, **prev; |
bp | 2033 | drivers/scsi/53c7,8xx.c | for (bp = (struct NCR53c7x0_break *) instance->breakpoints, |
bp | 2035 | drivers/scsi/53c7,8xx.c | bp; prev = (struct NCR53c7x0_break **) &(bp->next), |
bp | 2036 | drivers/scsi/53c7,8xx.c | bp = (struct NCR53c7x0_break *) bp->next); |
bp | 2038 | drivers/scsi/53c7,8xx.c | if (!bp) { |
bp | 2048 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->addr, (void *) bp->old, sizeof(bp->old)); |
bp | 2050 | drivers/scsi/53c7,8xx.c | *prev = bp->next; |
bp | 2061 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_break *bp; |
bp | 2077 | drivers/scsi/53c7,8xx.c | for (bp = (struct NCR53c7x0_break *) host->breakpoints; |
bp | 2078 | drivers/scsi/53c7,8xx.c | bp; bp = (struct NCR53c7x0_break *) bp->next); { |
bp | 2080 | drivers/scsi/53c7,8xx.c | bp->addr, bp->old[0], bp->old[1]); |
bp | 2082 | drivers/scsi/53c7,8xx.c | if ((bp->old[0] & (DCMD_TYPE_MASK << 24)) == |
bp | 2084 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (u32 *) bp->addr); |
bp | 2099 | drivers/scsi/53c7,8xx.c | struct NCR53c7x0_break *bp; |
bp | 2114 | drivers/scsi/53c7,8xx.c | if (!(bp = kmalloc (sizeof (struct NCR53c7x0_break)))) { |
bp | 2121 | drivers/scsi/53c7,8xx.c | bp->address = (u32 *) args[0]; |
bp | 2122 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->old_instruction, (void *) bp->address, 8); |
bp | 2123 | drivers/scsi/53c7,8xx.c | bp->old_size = (((bp->old_instruction[0] >> 24) & DCMD_TYPE_MASK) == |
bp | 2125 | drivers/scsi/53c7,8xx.c | bp->next = hostdata->breakpoints; |
bp | 2126 | drivers/scsi/53c7,8xx.c | hostdata->breakpoints = bp->next; |
bp | 2127 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->address, (void *) hostdata->E_debug_break, 8); |
bp | 1429 | drivers/scsi/aic7xxx.c | char *bp, *ep; |
bp | 1431 | drivers/scsi/aic7xxx.c | bp = NULL; |
bp | 1435 | drivers/scsi/aic7xxx.c | if ((bp = strchr(version_info, ' ')) != NULL) |
bp | 1437 | drivers/scsi/aic7xxx.c | bp++; |
bp | 1438 | drivers/scsi/aic7xxx.c | if ((bp = strchr(bp, ' ')) != NULL) |
bp | 1440 | drivers/scsi/aic7xxx.c | bp++; |
bp | 1448 | drivers/scsi/aic7xxx.c | if ((bp = strchr(version_info, ' ')) != NULL) |
bp | 1450 | drivers/scsi/aic7xxx.c | bp++; |
bp | 1455 | drivers/scsi/aic7xxx.c | if (bp != NULL) |
bp | 1457 | drivers/scsi/aic7xxx.c | if ((ep = strchr(bp, ' ')) != NULL) |
bp | 1459 | drivers/scsi/aic7xxx.c | register int len = ep - bp; |
bp | 1461 | drivers/scsi/aic7xxx.c | strncpy(buf, bp, len); |
bp | 7 | drivers/scsi/eata_dma_proc.c | u8 *bp; |
bp | 17 | drivers/scsi/eata_dma_proc.c | bp = (u8 *) lp; |
bp | 18 | drivers/scsi/eata_dma_proc.c | y = *(bp + 3); |
bp | 20 | drivers/scsi/eata_dma_proc.c | for (h_lp = (u32)lp; (u32)lp < h_lp + ((u32)*(bp + 3)); lp++) |
bp | 156 | include/linux/scc.h | struct mbuf *bp; |
bp | 2329 | net/ax25/af_ax25.c | int ax25_rebuild_header(unsigned char *bp, struct device *dev, unsigned long dest, struct sk_buff *skb) |
bp | 2333 | net/ax25/af_ax25.c | if (arp_find(bp + 1, dest, dev, dev->pa_addr, skb)) |
bp | 2336 | net/ax25/af_ax25.c | if (bp[16] == AX25_P_IP) |
bp | 2338 | net/ax25/af_ax25.c | mode = ax25_ip_mode_get((ax25_address *)(bp + 1), dev); |
bp | 2343 | net/ax25/af_ax25.c | ax25_send_frame(skb, (ax25_address *)(bp + 8), (ax25_address *)(bp + 1), NULL, dev); |
bp | 2348 | net/ax25/af_ax25.c | bp[7] &= ~LAPB_C; |
bp | 2349 | net/ax25/af_ax25.c | bp[7] &= ~LAPB_E; |
bp | 2350 | net/ax25/af_ax25.c | bp[7] |= SSSID_SPARE; |
bp | 2352 | net/ax25/af_ax25.c | bp[14] &= ~LAPB_C; |
bp | 2353 | net/ax25/af_ax25.c | bp[14] |= LAPB_E; |
bp | 2354 | net/ax25/af_ax25.c | bp[14] |= SSSID_SPARE; |
bp | 111 | net/netrom/nr_dev.c | unsigned char *bp = (unsigned char *)buff; |
bp | 115 | net/netrom/nr_dev.c | if (!arp_query(bp + 7, raddr, ARPHRD_NETROM)) { |
bp | 121 | net/netrom/nr_dev.c | bp[6] &= ~LAPB_C; |
bp | 122 | net/netrom/nr_dev.c | bp[6] &= ~LAPB_E; |
bp | 123 | net/netrom/nr_dev.c | bp[6] |= SSSID_SPARE; |
bp | 124 | net/netrom/nr_dev.c | bp += AX25_ADDR_LEN; |
bp | 126 | net/netrom/nr_dev.c | bp[6] &= ~LAPB_C; |
bp | 127 | net/netrom/nr_dev.c | bp[6] |= LAPB_E; |
bp | 128 | net/netrom/nr_dev.c | bp[6] |= SSSID_SPARE; |
bp | 203 | scripts/ksymoops.cc | char* bp = bp_0; |
bp | 204 | scripts/ksymoops.cc | while (!isspace(*bp)) |
bp | 205 | scripts/ksymoops.cc | bp++; |
bp | 206 | scripts/ksymoops.cc | while (isspace(*bp)) |
bp | 207 | scripts/ksymoops.cc | bp++; |
bp | 208 | scripts/ksymoops.cc | if (*bp != '0') { |
bp | 211 | scripts/ksymoops.cc | long rel_addr = strtol(bp, 0, 16); |
bp | 214 | scripts/ksymoops.cc | *bp++ = '\0'; |