tag | line | file | source code |
dp | 28 | arch/m68k/amiga/chipram.c | struct chip_desc *dp; |
dp | 39 | arch/m68k/amiga/chipram.c | dp = DP(chipaddr); |
dp | 40 | arch/m68k/amiga/chipram.c | dp->first = 1; |
dp | 44 | arch/m68k/amiga/chipram.c | dp->alloced = 0; |
dp | 45 | arch/m68k/amiga/chipram.c | dp->length = chipsize - 2*sizeof(*dp); |
dp | 48 | arch/m68k/amiga/chipram.c | dp = DP(chipaddr + chipsize) - 1; |
dp | 49 | arch/m68k/amiga/chipram.c | dp->last = 1; |
dp | 53 | arch/m68k/amiga/chipram.c | dp->alloced = 0; |
dp | 54 | arch/m68k/amiga/chipram.c | dp->length = chipsize - 2*sizeof(*dp); |
dp | 59 | arch/m68k/amiga/chipram.c | printk ("chipram end boundary is %p, length is %d\n", dp, |
dp | 60 | arch/m68k/amiga/chipram.c | dp->length); |
dp | 67 | arch/m68k/amiga/chipram.c | struct chip_desc *dp; |
dp | 81 | arch/m68k/amiga/chipram.c | dp = DP(chipaddr + chipsize) - 1; |
dp | 82 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)dp - dp->length) - 1; |
dp | 84 | arch/m68k/amiga/chipram.c | while ((dp->alloced || dp->length < size) |
dp | 85 | arch/m68k/amiga/chipram.c | && !dp->first) |
dp | 86 | arch/m68k/amiga/chipram.c | dp = DP ((unsigned long)dp - dp[-1].length) - 2; |
dp | 88 | arch/m68k/amiga/chipram.c | if (dp->alloced || dp->length < size) { |
dp | 93 | arch/m68k/amiga/chipram.c | if (dp->length < (size + 2*sizeof(*dp))) { |
dp | 95 | arch/m68k/amiga/chipram.c | dp->alloced = 1; |
dp | 96 | arch/m68k/amiga/chipram.c | ptr = (void *)(dp+1); |
dp | 97 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)ptr + dp->length); |
dp | 98 | arch/m68k/amiga/chipram.c | dp->alloced = 1; |
dp | 104 | arch/m68k/amiga/chipram.c | long newsize = dp->length - (2*sizeof(*dp) + size); |
dp | 107 | arch/m68k/amiga/chipram.c | printk ("chip_alloc: splitting %d to %ld\n", dp->length, |
dp | 110 | arch/m68k/amiga/chipram.c | dp->length = newsize; |
dp | 111 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)(dp+1) + newsize); |
dp | 112 | arch/m68k/amiga/chipram.c | dp->first = dp->last = 0; |
dp | 113 | arch/m68k/amiga/chipram.c | dp->alloced = 0; |
dp | 114 | arch/m68k/amiga/chipram.c | dp->length = newsize; |
dp | 115 | arch/m68k/amiga/chipram.c | dp++; |
dp | 116 | arch/m68k/amiga/chipram.c | dp->first = dp->last = 0; |
dp | 117 | arch/m68k/amiga/chipram.c | dp->alloced = 1; |
dp | 118 | arch/m68k/amiga/chipram.c | dp->length = size; |
dp | 119 | arch/m68k/amiga/chipram.c | ptr = (void *)(dp+1); |
dp | 120 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)ptr + size); |
dp | 121 | arch/m68k/amiga/chipram.c | dp->alloced = 1; |
dp | 122 | arch/m68k/amiga/chipram.c | dp->length = size; |
dp | 28 | arch/m68k/atari/stram.c | struct stram_desc *dp; |
dp | 33 | arch/m68k/atari/stram.c | dp = DP (stramaddr); |
dp | 34 | arch/m68k/atari/stram.c | dp->first = 1; |
dp | 35 | arch/m68k/atari/stram.c | dp->alloced = 0; |
dp | 36 | arch/m68k/atari/stram.c | dp->length = stramsize - 2 * sizeof (*dp); |
dp | 39 | arch/m68k/atari/stram.c | dp = DP (stramaddr + stramsize) - 1; |
dp | 40 | arch/m68k/atari/stram.c | dp->last = 1; |
dp | 41 | arch/m68k/atari/stram.c | dp->alloced = 0; |
dp | 42 | arch/m68k/atari/stram.c | dp->length = stramsize - 2 * sizeof (*dp); |
dp | 45 | arch/m68k/atari/stram.c | printk ("stram end boundary is %p, length is %d\n", dp, |
dp | 46 | arch/m68k/atari/stram.c | dp->length); |
dp | 54 | arch/m68k/atari/stram.c | struct stram_desc *dp; |
dp | 68 | arch/m68k/atari/stram.c | dp = DP (stramaddr + stramsize) - 1; |
dp | 69 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) dp - dp->length) - 1; |
dp | 71 | arch/m68k/atari/stram.c | while ((dp->alloced || dp->length < size) && !dp->first) |
dp | 72 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) dp - dp[-1].length) - 2; |
dp | 74 | arch/m68k/atari/stram.c | if (dp->alloced || dp->length < size) |
dp | 80 | arch/m68k/atari/stram.c | if (dp->length < size + 2 * sizeof (*dp)) |
dp | 83 | arch/m68k/atari/stram.c | dp->alloced = 1; |
dp | 84 | arch/m68k/atari/stram.c | ptr = (void *) (dp + 1); |
dp | 85 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) ptr + dp->length); |
dp | 86 | arch/m68k/atari/stram.c | dp->alloced = 1; |
dp | 94 | arch/m68k/atari/stram.c | long newsize = dp->length - (2 * sizeof (*dp) + size); |
dp | 97 | arch/m68k/atari/stram.c | printk ("stram_alloc: splitting %d to %ld\n", dp->length, |
dp | 100 | arch/m68k/atari/stram.c | dp->length = newsize; |
dp | 101 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) (dp + 1) + newsize); |
dp | 102 | arch/m68k/atari/stram.c | dp->first = dp->last = 0; |
dp | 103 | arch/m68k/atari/stram.c | dp->alloced = 0; |
dp | 104 | arch/m68k/atari/stram.c | dp->length = newsize; |
dp | 105 | arch/m68k/atari/stram.c | dp++; |
dp | 106 | arch/m68k/atari/stram.c | dp->first = dp->last = 0; |
dp | 107 | arch/m68k/atari/stram.c | dp->alloced = 1; |
dp | 108 | arch/m68k/atari/stram.c | dp->length = size; |
dp | 109 | arch/m68k/atari/stram.c | ptr = (void *) (dp + 1); |
dp | 110 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) ptr + size); |
dp | 111 | arch/m68k/atari/stram.c | dp->alloced = 1; |
dp | 112 | arch/m68k/atari/stram.c | dp->length = size; |
dp | 30 | arch/m68k/mm/memory.c | #define PD_NONEFREE(dp) ((dp)->alloced == 0xff) |
dp | 31 | arch/m68k/mm/memory.c | #define PD_ALLFREE(dp) ((dp)->alloced == 0) |
dp | 32 | arch/m68k/mm/memory.c | #define PD_TABLEFREE(dp,i) (!((dp)->alloced & (1<<(i)))) |
dp | 33 | arch/m68k/mm/memory.c | #define PD_MARKUSED(dp,i) ((dp)->alloced |= (1<<(i))) |
dp | 34 | arch/m68k/mm/memory.c | #define PD_MARKFREE(dp,i) ((dp)->alloced &= ~(1<<(i))) |
dp | 42 | arch/m68k/mm/memory.c | struct ptable_desc *dp = ptable_list.next; |
dp | 51 | arch/m68k/mm/memory.c | if (PD_NONEFREE (dp)) { |
dp | 53 | arch/m68k/mm/memory.c | if (!(dp = kmalloc (sizeof(struct ptable_desc),GFP_KERNEL))) { |
dp | 57 | arch/m68k/mm/memory.c | if (!(dp->page = __get_free_page (GFP_KERNEL))) { |
dp | 58 | arch/m68k/mm/memory.c | kfree (dp); |
dp | 62 | arch/m68k/mm/memory.c | nocache_page (dp->page); |
dp | 64 | arch/m68k/mm/memory.c | dp->alloced = 0; |
dp | 68 | arch/m68k/mm/memory.c | dp->next = ptable_list.next; |
dp | 69 | arch/m68k/mm/memory.c | dp->prev = ptable_list.next->prev; |
dp | 70 | arch/m68k/mm/memory.c | ptable_list.next->prev = dp; |
dp | 71 | arch/m68k/mm/memory.c | ptable_list.next = dp; |
dp | 76 | arch/m68k/mm/memory.c | if (PD_TABLEFREE (dp, i)) { |
dp | 77 | arch/m68k/mm/memory.c | PD_MARKUSED (dp, i); |
dp | 78 | arch/m68k/mm/memory.c | pmdp = (pmd_t *)(dp->page + PTABLE_SIZE*i); |
dp | 82 | arch/m68k/mm/memory.c | if (PD_NONEFREE (dp)) { |
dp | 86 | arch/m68k/mm/memory.c | dp->prev->next = dp->next; |
dp | 87 | arch/m68k/mm/memory.c | dp->next->prev = dp->prev; |
dp | 89 | arch/m68k/mm/memory.c | dp->next = ptable_list.next->prev; |
dp | 90 | arch/m68k/mm/memory.c | dp->prev = ptable_list.prev; |
dp | 91 | arch/m68k/mm/memory.c | ptable_list.prev->next = dp; |
dp | 92 | arch/m68k/mm/memory.c | ptable_list.prev = dp; |
dp | 103 | arch/m68k/mm/memory.c | struct ptable_desc *dp; |
dp | 108 | arch/m68k/mm/memory.c | for (dp = ptable_list.next; dp->page && dp->page != page; dp = dp->next) |
dp | 111 | arch/m68k/mm/memory.c | if (!dp->page) |
dp | 114 | arch/m68k/mm/memory.c | if (PD_TABLEFREE (dp, index)) |
dp | 117 | arch/m68k/mm/memory.c | PD_MARKFREE (dp, index); |
dp | 119 | arch/m68k/mm/memory.c | if (PD_ALLFREE (dp)) { |
dp | 123 | arch/m68k/mm/memory.c | dp->prev->next = dp->next; |
dp | 124 | arch/m68k/mm/memory.c | dp->next->prev = dp->prev; |
dp | 126 | arch/m68k/mm/memory.c | cache_page (dp->page); |
dp | 127 | arch/m68k/mm/memory.c | free_page (dp->page); |
dp | 128 | arch/m68k/mm/memory.c | kfree (dp); |
dp | 137 | arch/m68k/mm/memory.c | dp->prev->next = dp->next; |
dp | 138 | arch/m68k/mm/memory.c | dp->next->prev = dp->prev; |
dp | 140 | arch/m68k/mm/memory.c | dp->next = ptable_list.next; |
dp | 141 | arch/m68k/mm/memory.c | dp->prev = ptable_list.next->prev; |
dp | 142 | arch/m68k/mm/memory.c | ptable_list.next->prev = dp; |
dp | 143 | arch/m68k/mm/memory.c | ptable_list.next = dp; |
dp | 3281 | drivers/block/floppy.c | struct floppy_drive_params dp; |
dp | 3401 | drivers/block/floppy.c | IN(FDSETDRVPRM, UDP, dp); |
dp | 634 | drivers/char/ftape/ecc.c | unsigned char *dp, l, e; |
dp | 709 | drivers/char/ftape/ecc.c | dp = &data[l * SECTOR_SIZE]; |
dp | 710 | drivers/char/ftape/ecc.c | *dp = gfadd(*dp, e); |
dp | 182 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 187 | drivers/isdn/teles/q931.c | *dp++ = '1'; |
dp | 189 | drivers/isdn/teles/q931.c | *dp++ = '0'; |
dp | 192 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 427 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 432 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " coding "); |
dp | 433 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 7, 2); |
dp | 434 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " location "); |
dp | 435 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 4, 4); |
dp | 436 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 448 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "Unknown cause type %x!\n", cause); |
dp | 450 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " cause value %x : %s \n", cause, cvlist[i].edescr); |
dp | 454 | drivers/isdn/teles/q931.c | dp += sprintf(dp," cause value "); |
dp | 455 | drivers/isdn/teles/q931.c | dp += prbits(dp,*p++,7,7); |
dp | 456 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 461 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " diag attribute %d ", *p++ & 0x7f); |
dp | 462 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " rej %d ", *p & 0x7f); |
dp | 464 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 467 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " av %d\n", (*++p) & 0x7f); |
dp | 469 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 477 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 480 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3 "); |
dp | 481 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 8, 8); |
dp | 482 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 483 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 490 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 494 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3 "); |
dp | 495 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 496 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 497 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " number digits "); |
dp | 499 | drivers/isdn/teles/q931.c | *dp++ = *p++; |
dp | 500 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 501 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 508 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 512 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3 "); |
dp | 513 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 8, 8); |
dp | 514 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 516 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3a "); |
dp | 517 | drivers/isdn/teles/q931.c | dp += prbits(dp, *++p, 8, 8); |
dp | 518 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 524 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " number digits "); |
dp | 526 | drivers/isdn/teles/q931.c | *dp++ = *p++; |
dp | 527 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 528 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 535 | drivers/isdn/teles/q931.c | char *dp = dest, ch; |
dp | 538 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3 "); |
dp | 539 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 540 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 541 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 4 "); |
dp | 542 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 8, 8); |
dp | 543 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 545 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 4.1 "); |
dp | 546 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 547 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 553 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 5%c ", ch); |
dp | 554 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p, 8, 8); |
dp | 555 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 565 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 6 "); |
dp | 566 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 567 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 571 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 7 "); |
dp | 572 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 573 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 575 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 582 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 590 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet %d%c ", octet, ch); |
dp | 591 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 592 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 604 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 611 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 618 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " \""); |
dp | 620 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "%c", *p++); |
dp | 632 | drivers/isdn/teles/q931.c | *dp++ = '\"'; |
dp | 633 | drivers/isdn/teles/q931.c | *dp++ = '\n'; |
dp | 634 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 640 | drivers/isdn/teles/q931.c | char *dp = dest; |
dp | 645 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 3 "); |
dp | 646 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 647 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "\n"); |
dp | 651 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 4 "); |
dp | 652 | drivers/isdn/teles/q931.c | dp += prbits(dp, *p++, 8, 8); |
dp | 653 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "\n"); |
dp | 654 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " octet 5 %d\n", l2 = *p++ & 0x7f); |
dp | 656 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " contents "); |
dp | 658 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "%2x ", *p++); |
dp | 661 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "\n"); |
dp | 664 | drivers/isdn/teles/q931.c | return (dp - dest); |
dp | 799 | drivers/isdn/teles/q931.c | char *dp; |
dp | 803 | drivers/isdn/teles/q931.c | dp = sp->dlogspace; |
dp | 804 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "%s\n", comment); |
dp | 809 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "hex: "); |
dp | 811 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "%02x ", *p++); |
dp | 812 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "\n"); |
dp | 814 | drivers/isdn/teles/q931.c | dp = sp->dlogspace; |
dp | 823 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "Unknown message type %x!\n", buf[3]); |
dp | 825 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "call reference %d size %d message type %s\n", |
dp | 835 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " Shift %x\n", *buf & 0xf); |
dp | 838 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " Congestion level %x\n", *buf & 0xf); |
dp | 841 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " Repeat indicator %x\n", *buf & 0xf); |
dp | 845 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " More data\n"); |
dp | 849 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " Sending complete\n"); |
dp | 854 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " Reserved %x\n", *buf); |
dp | 867 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " %s\n", ielist[i].descr); |
dp | 868 | drivers/isdn/teles/q931.c | dp += ielist[i].f(dp, buf); |
dp | 870 | drivers/isdn/teles/q931.c | dp += sprintf(dp, " attribute %x attribute size %d\n", *buf, buf[1]); |
dp | 876 | drivers/isdn/teles/q931.c | dp += sprintf(dp, "\n"); |
dp | 148 | drivers/net/ppp.c | static void ppp_proto_ccp (struct ppp *ppp, __u8 *dp, int len, int rcvd); |
dp | 1368 | drivers/net/ppp.c | static void ppp_proto_ccp (struct ppp *ppp, __u8 *dp, int len, int rcvd) |
dp | 1370 | drivers/net/ppp.c | int slen = CCP_LENGTH(dp); |
dp | 1371 | drivers/net/ppp.c | __u8 *opt = dp + CCP_HDRLEN; |
dp | 1377 | drivers/net/ppp.c | switch (CCP_CODE(dp)) { |
dp | 1456 | drivers/net/ppp.c | rcv_proto_ccp (struct ppp *ppp, __u16 proto, __u8 *dp, int len) |
dp | 1458 | drivers/net/ppp.c | ppp_proto_ccp (ppp, dp, len, 1); |
dp | 1459 | drivers/net/ppp.c | return rcv_proto_unknown (ppp, proto, dp, len); |
dp | 1327 | drivers/net/tulip.c | struct device *dp; |
dp | 1335 | drivers/net/tulip.c | for (dp = tulip_head; dp != NULL; dp = dp->next) |
dp | 1336 | drivers/net/tulip.c | if (dp->base_addr == pci_ioaddr) break; |
dp | 1337 | drivers/net/tulip.c | if (dp) continue; |
dp | 3432 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, int dep, int ip[]) |
dp | 3434 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, kdev_t dep, int ip[]) |
dp | 3439 | drivers/scsi/advansys.c | if ((ASC_BOARD(dp->device->host)->board.dvc_cntl & ASC_CNTL_BIOS_GT_1GB) && |
dp | 3440 | drivers/scsi/advansys.c | dp->capacity > 0x200000) { |
dp | 3447 | drivers/scsi/advansys.c | ip[2] = dp->capacity / (ip[0] * ip[1]); |
dp | 96 | fs/affs/symlink.c | char dp,slash; |
dp | 99 | fs/affs/symlink.c | dp=1; |
dp | 109 | fs/affs/symlink.c | if (dp == 0) { |
dp | 114 | fs/affs/symlink.c | dp=0; |
dp | 138 | fs/affs/symlink.c | return unix_path+dp; |
dp | 1188 | fs/nfs/nfsroot.c | char *cp, *ip, *dp; |
dp | 1240 | fs/nfs/nfsroot.c | if ((dp = strchr(ip, '.'))) { |
dp | 1241 | fs/nfs/nfsroot.c | *dp++ = '\0'; |
dp | 1242 | fs/nfs/nfsroot.c | strncpy(system_utsname.domainname, dp, __NEW_UTS_LEN); |
dp | 1082 | fs/proc/array.c | struct proc_dir_entry *dp; |
dp | 1094 | fs/proc/array.c | dp = (struct proc_dir_entry *) inode->u.generic_ip; |
dp | 1095 | fs/proc/array.c | if (dp->get_info) |
dp | 1096 | fs/proc/array.c | length = dp->get_info((char *)page, &start, file->f_pos, |
dp | 45 | fs/proc/net.c | struct proc_dir_entry * dp; |
dp | 49 | fs/proc/net.c | dp = (struct proc_dir_entry *) inode->u.generic_ip; |
dp | 59 | fs/proc/net.c | length = dp->get_info(page, &start, |
dp | 151 | fs/proc/root.c | int proc_register(struct proc_dir_entry * dir, struct proc_dir_entry * dp) |
dp | 153 | fs/proc/root.c | dp->next = dir->subdir; |
dp | 154 | fs/proc/root.c | dp->parent = dir; |
dp | 155 | fs/proc/root.c | dir->subdir = dp; |
dp | 156 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
dp | 163 | fs/proc/root.c | struct proc_dir_entry **p = &dir->subdir, *dp; |
dp | 165 | fs/proc/root.c | while ((dp = *p) != NULL) { |
dp | 166 | fs/proc/root.c | if (dp->low_ino == ino) { |
dp | 167 | fs/proc/root.c | *p = dp->next; |
dp | 168 | fs/proc/root.c | dp->next = NULL; |
dp | 169 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
dp | 177 | fs/proc/root.c | p = &dp->next; |
dp | 192 | fs/proc/root.c | struct proc_dir_entry * dp) |
dp | 197 | fs/proc/root.c | dp->low_ino = i; |
dp | 198 | fs/proc/root.c | dp->next = dir->subdir; |
dp | 199 | fs/proc/root.c | dp->parent = dir; |
dp | 200 | fs/proc/root.c | dir->subdir = dp; |
dp | 201 | fs/proc/root.c | if (S_ISDIR(dp->mode)) |
dp | 146 | include/linux/ppp-comp.h | #define CCP_CODE(dp) ((dp)[0]) |
dp | 147 | include/linux/ppp-comp.h | #define CCP_ID(dp) ((dp)[1]) |
dp | 148 | include/linux/ppp-comp.h | #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) |
dp | 151 | include/linux/ppp-comp.h | #define CCP_OPT_CODE(dp) ((dp)[0]) |
dp | 152 | include/linux/ppp-comp.h | #define CCP_OPT_LENGTH(dp) ((dp)[1]) |
dp | 231 | include/linux/proc_fs.h | struct proc_dir_entry **p = &driver->subdir, *dp; |
dp | 234 | include/linux/proc_fs.h | while ((dp = *p) != NULL) { |
dp | 235 | include/linux/proc_fs.h | if (dp->low_ino == x) |
dp | 237 | include/linux/proc_fs.h | p = &dp->next; |
dp | 240 | include/linux/proc_fs.h | scsi_init_free((char *) dp, sizeof(struct proc_dir_entry) + 4); |
dp | 1586 | net/ax25/af_ax25.c | ax25_digi dp; |
dp | 1610 | net/ax25/af_ax25.c | if (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type, &dama) == NULL) { |
dp | 1619 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1625 | net/ax25/af_ax25.c | if (dp.lastrepeat + 1 < dp.ndigi) { /* Not yet digipeated completely */ |
dp | 1626 | net/ax25/af_ax25.c | if (ax25cmp(&dp.calls[dp.lastrepeat + 1], dev_addr) == 0) { |
dp | 1631 | net/ax25/af_ax25.c | dp.lastrepeat++; |
dp | 1632 | net/ax25/af_ax25.c | dp.repeated[(int)dp.lastrepeat] = 1; |
dp | 1635 | net/ax25/af_ax25.c | while (dp.lastrepeat + 1 < dp.ndigi) { |
dp | 1637 | net/ax25/af_ax25.c | if ((dev_scan = ax25rtr_get_dev(&dp.calls[dp.lastrepeat + 1])) == NULL) |
dp | 1639 | net/ax25/af_ax25.c | dp.lastrepeat++; |
dp | 1640 | net/ax25/af_ax25.c | dp.repeated[(int)dp.lastrepeat] = 1; |
dp | 1654 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1656 | net/ax25/af_ax25.c | build_ax25_addr(skb->data, &src, &dest, &dp, type, MODULUS); |
dp | 1676 | net/ax25/af_ax25.c | skb_pull(skb, size_ax25_addr(&dp)); |
dp | 1703 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1710 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1721 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1765 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1782 | net/ax25/af_ax25.c | ax25_return_dm(dev, &src, &dest, &dp); |
dp | 1791 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1794 | net/ax25/af_ax25.c | ax25_return_dm(dev, &src, &dest, &dp); |
dp | 1816 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1819 | net/ax25/af_ax25.c | ax25_return_dm(dev, &src, &dest, &dp); |
dp | 1828 | net/ax25/af_ax25.c | ax25_rt_rx_frame(&src, dev, &dp); |
dp | 1829 | net/ax25/af_ax25.c | ax25_return_dm(dev, &src, &dest, &dp); |
dp | 1843 | net/ax25/af_ax25.c | if (dp.ndigi != 0 && ax25->digipeat == NULL && (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
dp | 1849 | net/ax25/af_ax25.c | if (dp.ndigi == 0) { |
dp | 1856 | net/ax25/af_ax25.c | ax25_digi_invert(&dp, ax25->digipeat); |
dp | 1942 | net/ax25/af_ax25.c | ax25_digi *dp; |
dp | 1988 | net/ax25/af_ax25.c | dp = NULL; |
dp | 1990 | net/ax25/af_ax25.c | dp = &dtmp; |
dp | 1996 | net/ax25/af_ax25.c | dp = sk->ax25->digipeat; |
dp | 2007 | net/ax25/af_ax25.c | size = len + 3 + size_ax25_addr(dp) + AX25_BPQ_HEADER_LEN; |
dp | 2042 | net/ax25/af_ax25.c | asmptr = skb_push(skb, 1 + size_ax25_addr(dp)); |
dp | 2045 | net/ax25/af_ax25.c | printk("Building AX.25 Header (dp=%p).\n", dp); |
dp | 2046 | net/ax25/af_ax25.c | if (dp != 0) |
dp | 2047 | net/ax25/af_ax25.c | printk("Num digipeaters=%d\n", dp->ndigi); |
dp | 2051 | net/ax25/af_ax25.c | asmptr += (lv = build_ax25_addr(asmptr, &sk->ax25->source_addr, &sax.sax25_call, dp, C_COMMAND, MODULUS)); |
dp | 448 | net/ax25/ax25_subr.c | int size_ax25_addr(ax25_digi *dp) |
dp | 450 | net/ax25/ax25_subr.c | if (dp == NULL) |
dp | 453 | net/ax25/ax25_subr.c | return AX25_ADDR_LEN * (2 + dp->ndigi); |
dp | 1354 | net/core/dev.c | struct device *dev, **dp; |
dp | 1410 | net/core/dev.c | dp = &dev_base; |
dp | 1411 | net/core/dev.c | while ((dev = *dp) != NULL) |
dp | 1423 | net/core/dev.c | *dp = dev->next; |
dp | 1427 | net/core/dev.c | dp = &dev->next; |
dp | 606 | net/ipv4/icmp.c | unsigned char *dp; |
dp | 610 | net/ipv4/icmp.c | dp= ((unsigned char *)iph)+(iph->ihl<<2); |
dp | 729 | net/ipv4/icmp.c | ipprot->err_handler(icmph->type, icmph->code, dp, |