tag | line | file | source code |
ptr | 467 | arch/alpha/kernel/apecs.c | unsigned long *ptr; |
ptr | 470 | arch/alpha/kernel/apecs.c | ptr = (unsigned long *)la_ptr; |
ptr | 472 | arch/alpha/kernel/apecs.c | printk(" +%lx %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]); |
ptr | 148 | arch/i386/boot/compressed/misc.c | static void gzip_mark(void **ptr) |
ptr | 150 | arch/i386/boot/compressed/misc.c | *ptr = (void *) free_mem_ptr; |
ptr | 153 | arch/i386/boot/compressed/misc.c | static void gzip_release(void **ptr) |
ptr | 155 | arch/i386/boot/compressed/misc.c | free_mem_ptr = (long) *ptr; |
ptr | 280 | arch/i386/boot/compressed/misc.c | static void gzip_mark(void **ptr) |
ptr | 284 | arch/i386/boot/compressed/misc.c | static void gzip_release(void **ptr) |
ptr | 15 | arch/i386/kernel/ldt.c | static int read_ldt(void * ptr, unsigned long bytecount) |
ptr | 21 | arch/i386/kernel/ldt.c | if (!ptr) |
ptr | 30 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
ptr | 33 | arch/i386/kernel/ldt.c | memcpy_tofs(ptr, address, size); |
ptr | 37 | arch/i386/kernel/ldt.c | static int write_ldt(void * ptr, unsigned long bytecount) |
ptr | 46 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_READ, ptr, sizeof(ldt_info)); |
ptr | 50 | arch/i386/kernel/ldt.c | memcpy_fromfs(&ldt_info, ptr, sizeof(ldt_info)); |
ptr | 97 | arch/i386/kernel/ldt.c | asmlinkage int sys_modify_ldt(int func, void *ptr, unsigned long bytecount) |
ptr | 100 | arch/i386/kernel/ldt.c | return read_ldt(ptr, bytecount); |
ptr | 102 | arch/i386/kernel/ldt.c | return write_ldt(ptr, bytecount); |
ptr | 92 | arch/i386/kernel/sys_i386.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 102 | arch/i386/kernel/sys_i386.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 108 | arch/i386/kernel/sys_i386.c | if (!ptr) |
ptr | 110 | arch/i386/kernel/sys_i386.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 112 | arch/i386/kernel/sys_i386.c | fourth.__pad = (void *) get_fs_long(ptr); |
ptr | 121 | arch/i386/kernel/sys_i386.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 128 | arch/i386/kernel/sys_i386.c | if (!ptr) |
ptr | 130 | arch/i386/kernel/sys_i386.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 132 | arch/i386/kernel/sys_i386.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 137 | arch/i386/kernel/sys_i386.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 142 | arch/i386/kernel/sys_i386.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 155 | arch/i386/kernel/sys_i386.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 164 | arch/i386/kernel/sys_i386.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 167 | arch/i386/kernel/sys_i386.c | return sys_shmdt ((char *)ptr); |
ptr | 171 | arch/i386/kernel/sys_i386.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 233 | arch/i386/kernel/vm86.c | #define pushb(base, ptr, val) \ |
ptr | 237 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 238 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 240 | arch/i386/kernel/vm86.c | #define pushw(base, ptr, val) \ |
ptr | 246 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 247 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 249 | arch/i386/kernel/vm86.c | #define pushl(base, ptr, val) \ |
ptr | 261 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 262 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 264 | arch/i386/kernel/vm86.c | #define popb(base, ptr) \ |
ptr | 269 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 270 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 273 | arch/i386/kernel/vm86.c | #define popw(base, ptr) \ |
ptr | 280 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 281 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 284 | arch/i386/kernel/vm86.c | #define popl(base, ptr) \ |
ptr | 297 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 298 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base)); \ |
ptr | 103 | arch/mips/kernel/gdb-stub.c | static int hexToInt(char **ptr, int *intValue); |
ptr | 387 | arch/mips/kernel/gdb-stub.c | static int hexToInt(char **ptr, int *intValue) |
ptr | 394 | arch/mips/kernel/gdb-stub.c | while (**ptr) |
ptr | 396 | arch/mips/kernel/gdb-stub.c | hexValue = hex(**ptr); |
ptr | 403 | arch/mips/kernel/gdb-stub.c | (*ptr)++; |
ptr | 420 | arch/mips/kernel/gdb-stub.c | char *ptr; |
ptr | 456 | arch/mips/kernel/gdb-stub.c | ptr = output_buffer; |
ptr | 461 | arch/mips/kernel/gdb-stub.c | *ptr++ = 'T'; |
ptr | 462 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[sigval >> 4]; |
ptr | 463 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[sigval & 0xf]; |
ptr | 468 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_EPC >> 4]; |
ptr | 469 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_EPC & 0xf]; |
ptr | 470 | arch/mips/kernel/gdb-stub.c | *ptr++ = ':'; |
ptr | 471 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_epc, ptr, 4, 0); |
ptr | 472 | arch/mips/kernel/gdb-stub.c | *ptr++ = ';'; |
ptr | 477 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_FP >> 4]; |
ptr | 478 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_FP & 0xf]; |
ptr | 479 | arch/mips/kernel/gdb-stub.c | *ptr++ = ':'; |
ptr | 480 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg30, ptr, 4, 0); |
ptr | 481 | arch/mips/kernel/gdb-stub.c | *ptr++ = ';'; |
ptr | 486 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_SP >> 4]; |
ptr | 487 | arch/mips/kernel/gdb-stub.c | *ptr++ = hexchars[REG_SP & 0xf]; |
ptr | 488 | arch/mips/kernel/gdb-stub.c | *ptr++ = ':'; |
ptr | 489 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg29, ptr, 4, 0); |
ptr | 490 | arch/mips/kernel/gdb-stub.c | *ptr++ = ';'; |
ptr | 492 | arch/mips/kernel/gdb-stub.c | *ptr++ = 0; |
ptr | 519 | arch/mips/kernel/gdb-stub.c | ptr = output_buffer; |
ptr | 520 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->reg0, ptr, 32*4, 0); /* r0...r31 */ |
ptr | 521 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_status, ptr, 6*4, 0); /* cp0 */ |
ptr | 522 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->fpr0, ptr, 32*4, 0); /* f0...31 */ |
ptr | 523 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp1_fsr, ptr, 2*4, 0); /* cp1 */ |
ptr | 524 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->frame_ptr, ptr, 2*4, 0); /* frp */ |
ptr | 525 | arch/mips/kernel/gdb-stub.c | ptr = mem2hex((char *)®s->cp0_index, ptr, 16*4, 0); /* cp0 */ |
ptr | 537 | arch/mips/kernel/gdb-stub.c | ptr = &input_buffer[1]; |
ptr | 538 | arch/mips/kernel/gdb-stub.c | hex2mem(ptr, (char *)registers, 16 * 4, 0); /* G & O regs */ |
ptr | 558 | arch/mips/kernel/gdb-stub.c | ptr = &input_buffer[1]; |
ptr | 560 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 561 | arch/mips/kernel/gdb-stub.c | && *ptr++ == ',' |
ptr | 562 | arch/mips/kernel/gdb-stub.c | && hexToInt(&ptr, &length)) { |
ptr | 574 | arch/mips/kernel/gdb-stub.c | ptr = &input_buffer[1]; |
ptr | 576 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 577 | arch/mips/kernel/gdb-stub.c | && *ptr++ == ',' |
ptr | 578 | arch/mips/kernel/gdb-stub.c | && hexToInt(&ptr, &length) |
ptr | 579 | arch/mips/kernel/gdb-stub.c | && *ptr++ == ':') { |
ptr | 580 | arch/mips/kernel/gdb-stub.c | if (hex2mem(ptr, (char *)addr, length, 1)) |
ptr | 595 | arch/mips/kernel/gdb-stub.c | ptr = &input_buffer[1]; |
ptr | 596 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr)) |
ptr | 646 | arch/mips/kernel/gdb-stub.c | ptr = &input_buffer[1]; |
ptr | 647 | arch/mips/kernel/gdb-stub.c | if (!hexToInt(&ptr, &baudrate)) |
ptr | 25 | arch/mips/kernel/ipc.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 36 | arch/mips/kernel/ipc.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 42 | arch/mips/kernel/ipc.c | if (!ptr) |
ptr | 44 | arch/mips/kernel/ipc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 46 | arch/mips/kernel/ipc.c | fourth.__pad = (void *) get_fs_long(ptr); |
ptr | 55 | arch/mips/kernel/ipc.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 62 | arch/mips/kernel/ipc.c | if (!ptr) |
ptr | 64 | arch/mips/kernel/ipc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 66 | arch/mips/kernel/ipc.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 71 | arch/mips/kernel/ipc.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 76 | arch/mips/kernel/ipc.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 89 | arch/mips/kernel/ipc.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 98 | arch/mips/kernel/ipc.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 101 | arch/mips/kernel/ipc.c | return sys_shmdt ((char *)ptr); |
ptr | 105 | arch/mips/kernel/ipc.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 57 | arch/ppc/kernel/pci.c | unsigned long *ptr; |
ptr | 68 | arch/ppc/kernel/pci.c | ptr = (unsigned long *)(0x80800000 | (1<<dev) | offset); |
ptr | 70 | arch/ppc/kernel/pci.c | _printk("[%x] ", ptr); |
ptr | 72 | arch/ppc/kernel/pci.c | _val = _LE_to_BE_long(*ptr); |
ptr | 86 | arch/ppc/kernel/pci.c | unsigned short *ptr; |
ptr | 97 | arch/ppc/kernel/pci.c | ptr = (unsigned short *)(0x80800000 | (1<<dev) | offset); |
ptr | 99 | arch/ppc/kernel/pci.c | _printk("[%x] ", ptr); |
ptr | 101 | arch/ppc/kernel/pci.c | _val = _LE_to_BE_short(*ptr); |
ptr | 115 | arch/ppc/kernel/pci.c | unsigned char *ptr; |
ptr | 126 | arch/ppc/kernel/pci.c | ptr = (unsigned char *)(0x80800000 | (1<<dev) | offset ^ 1); |
ptr | 128 | arch/ppc/kernel/pci.c | _printk("[%x] ", ptr); |
ptr | 130 | arch/ppc/kernel/pci.c | _val = *ptr; |
ptr | 144 | arch/ppc/kernel/pci.c | unsigned long *ptr; |
ptr | 155 | arch/ppc/kernel/pci.c | ptr = (unsigned long *)(0x80800000 | (1<<dev) | offset); |
ptr | 156 | arch/ppc/kernel/pci.c | *ptr = _val; |
ptr | 166 | arch/ppc/kernel/pci.c | unsigned short *ptr; |
ptr | 177 | arch/ppc/kernel/pci.c | ptr = (unsigned short *)(0x80800000 | (1<<dev) | offset); |
ptr | 178 | arch/ppc/kernel/pci.c | *ptr = _val; |
ptr | 188 | arch/ppc/kernel/pci.c | unsigned char *ptr; |
ptr | 199 | arch/ppc/kernel/pci.c | ptr = (unsigned char *)(0x80800000 | (1<<dev) | offset ^ 1); |
ptr | 200 | arch/ppc/kernel/pci.c | *ptr = _val; |
ptr | 27 | arch/ppc/kernel/port_io.c | void insl(int port, long *ptr, int len) |
ptr | 32 | arch/ppc/kernel/port_io.c | *ptr++ = _LE_to_BE_long(*io_ptr); |
ptr | 61 | arch/ppc/kernel/port_io.c | void outsl(int port, long *ptr, int len) |
ptr | 66 | arch/ppc/kernel/port_io.c | *io_ptr = _LE_to_BE_long(*ptr++); |
ptr | 411 | arch/sparc/kernel/sparc-stub.c | hexToInt(char **ptr, int *intValue) |
ptr | 418 | arch/sparc/kernel/sparc-stub.c | while (**ptr) { |
ptr | 419 | arch/sparc/kernel/sparc-stub.c | hexValue = hex(**ptr); |
ptr | 426 | arch/sparc/kernel/sparc-stub.c | (*ptr)++; |
ptr | 447 | arch/sparc/kernel/sparc-stub.c | char *ptr; |
ptr | 481 | arch/sparc/kernel/sparc-stub.c | ptr = remcomOutBuffer; |
ptr | 483 | arch/sparc/kernel/sparc-stub.c | *ptr++ = 'T'; |
ptr | 484 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[sigval >> 4]; |
ptr | 485 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[sigval & 0xf]; |
ptr | 487 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[PC >> 4]; |
ptr | 488 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[PC & 0xf]; |
ptr | 489 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 490 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[PC], ptr, 4); |
ptr | 491 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 493 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[FP >> 4]; |
ptr | 494 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[FP & 0xf]; |
ptr | 495 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 496 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *) (sp + 8 + 6), ptr, 4); /* FP */ |
ptr | 497 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 499 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[SP >> 4]; |
ptr | 500 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[SP & 0xf]; |
ptr | 501 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 502 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)&sp, ptr, 4); |
ptr | 503 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 505 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[NPC >> 4]; |
ptr | 506 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[NPC & 0xf]; |
ptr | 507 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 508 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[NPC], ptr, 4); |
ptr | 509 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 511 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[O7 >> 4]; |
ptr | 512 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[O7 & 0xf]; |
ptr | 513 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 514 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[O7], ptr, 4); |
ptr | 515 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 517 | arch/sparc/kernel/sparc-stub.c | *ptr++ = 0; |
ptr | 545 | arch/sparc/kernel/sparc-stub.c | ptr = remcomOutBuffer; |
ptr | 547 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)registers, ptr, 16 * 4); |
ptr | 549 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *) (sp + 0), ptr, 16 * 4); |
ptr | 551 | arch/sparc/kernel/sparc-stub.c | memset(ptr, '0', 32 * 8); |
ptr | 553 | arch/sparc/kernel/sparc-stub.c | mem2hex((char *)®isters[Y], (ptr + 32 * 4 * 2), (8 * 4)); |
ptr | 563 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 565 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr, (char *)registers, 16 * 4); |
ptr | 567 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr + 16 * 4 * 2, (char *) (sp + 0), 16 * 4); |
ptr | 569 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr + 64 * 4 * 2, (char *)®isters[Y], 8 * 4); |
ptr | 593 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 595 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 596 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ',' |
ptr | 597 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length)) { |
ptr | 610 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 612 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 613 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ',' |
ptr | 614 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length) |
ptr | 615 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ':') { |
ptr | 616 | arch/sparc/kernel/sparc-stub.c | if (hex2mem(ptr, (char *)addr, length)) { |
ptr | 629 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 630 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr)) { |
ptr | 51 | arch/sparc/kernel/sys_sparc.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 61 | arch/sparc/kernel/sys_sparc.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 67 | arch/sparc/kernel/sys_sparc.c | if (!ptr) |
ptr | 69 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 71 | arch/sparc/kernel/sys_sparc.c | fourth.__pad = (void *) get_fs_long(ptr); |
ptr | 80 | arch/sparc/kernel/sys_sparc.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 87 | arch/sparc/kernel/sys_sparc.c | if (!ptr) |
ptr | 89 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 91 | arch/sparc/kernel/sys_sparc.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 96 | arch/sparc/kernel/sys_sparc.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 101 | arch/sparc/kernel/sys_sparc.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 114 | arch/sparc/kernel/sys_sparc.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 123 | arch/sparc/kernel/sys_sparc.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 126 | arch/sparc/kernel/sys_sparc.c | return sys_shmdt ((char *)ptr); |
ptr | 130 | arch/sparc/kernel/sys_sparc.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 2840 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr) |
ptr | 2845 | drivers/block/floppy.c | while(ptr) { |
ptr | 2847 | drivers/block/floppy.c | old_raw_cmd.flags = ptr->flags; |
ptr | 2848 | drivers/block/floppy.c | old_raw_cmd.data = ptr->data; |
ptr | 2849 | drivers/block/floppy.c | old_raw_cmd.length = ptr->length; |
ptr | 2850 | drivers/block/floppy.c | old_raw_cmd.rate = ptr->rate; |
ptr | 2851 | drivers/block/floppy.c | old_raw_cmd.reply_count = ptr->reply_count; |
ptr | 2852 | drivers/block/floppy.c | memcpy(old_raw_cmd.reply, ptr->reply, 7); |
ptr | 2856 | drivers/block/floppy.c | COPYOUT(*ptr); |
ptr | 2860 | drivers/block/floppy.c | if ((ptr->flags & FD_RAW_READ) && ptr->buffer_length){ |
ptr | 2861 | drivers/block/floppy.c | if (ptr->length>=0 && ptr->length<=ptr->buffer_length) |
ptr | 2862 | drivers/block/floppy.c | ECALL(fd_copyout(ptr->data, |
ptr | 2863 | drivers/block/floppy.c | ptr->kernel_data, |
ptr | 2864 | drivers/block/floppy.c | ptr->buffer_length - |
ptr | 2865 | drivers/block/floppy.c | ptr->length)); |
ptr | 2867 | drivers/block/floppy.c | ptr = ptr->next; |
ptr | 2873 | drivers/block/floppy.c | static void raw_cmd_free(struct floppy_raw_cmd **ptr) |
ptr | 2877 | drivers/block/floppy.c | this = *ptr; |
ptr | 2878 | drivers/block/floppy.c | *ptr = 0; |
ptr | 2895 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr; |
ptr | 2902 | drivers/block/floppy.c | ptr = (struct floppy_raw_cmd *) |
ptr | 2904 | drivers/block/floppy.c | if (!ptr) |
ptr | 2906 | drivers/block/floppy.c | *rcmd = ptr; |
ptr | 2909 | drivers/block/floppy.c | ptr->flags = old_raw_cmd.flags; |
ptr | 2910 | drivers/block/floppy.c | ptr->data = old_raw_cmd.data; |
ptr | 2911 | drivers/block/floppy.c | ptr->length = old_raw_cmd.length; |
ptr | 2912 | drivers/block/floppy.c | ptr->rate = old_raw_cmd.rate; |
ptr | 2913 | drivers/block/floppy.c | ptr->cmd_count = old_raw_cmd.cmd_count; |
ptr | 2914 | drivers/block/floppy.c | ptr->track = old_raw_cmd.track; |
ptr | 2915 | drivers/block/floppy.c | ptr->phys_length = 0; |
ptr | 2916 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 2917 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 2918 | drivers/block/floppy.c | memcpy(ptr->cmd, old_raw_cmd.cmd, 9); |
ptr | 2920 | drivers/block/floppy.c | if (ptr->cmd_count > 9) |
ptr | 2923 | drivers/block/floppy.c | COPYIN(*ptr); |
ptr | 2924 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 2925 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 2927 | drivers/block/floppy.c | if (ptr->cmd_count > 16) |
ptr | 2932 | drivers/block/floppy.c | ptr->reply[i] = 0; |
ptr | 2933 | drivers/block/floppy.c | ptr->resultcode = 0; |
ptr | 2934 | drivers/block/floppy.c | ptr->kernel_data = 0; |
ptr | 2936 | drivers/block/floppy.c | if (ptr->flags & (FD_RAW_READ | FD_RAW_WRITE)) { |
ptr | 2937 | drivers/block/floppy.c | if (ptr->length <= 0) |
ptr | 2939 | drivers/block/floppy.c | ptr->kernel_data =(char*)dma_mem_alloc(ptr->length); |
ptr | 2940 | drivers/block/floppy.c | if (!ptr->kernel_data) |
ptr | 2942 | drivers/block/floppy.c | ptr->buffer_length = ptr->length; |
ptr | 2944 | drivers/block/floppy.c | if ( ptr->flags & FD_RAW_READ ) |
ptr | 2945 | drivers/block/floppy.c | ECALL( verify_area( VERIFY_WRITE, ptr->data, |
ptr | 2946 | drivers/block/floppy.c | ptr->length )); |
ptr | 2947 | drivers/block/floppy.c | if (ptr->flags & FD_RAW_WRITE) |
ptr | 2948 | drivers/block/floppy.c | ECALL(fd_copyin(ptr->data, ptr->kernel_data, |
ptr | 2949 | drivers/block/floppy.c | ptr->length)); |
ptr | 2950 | drivers/block/floppy.c | rcmd = & (ptr->next); |
ptr | 2951 | drivers/block/floppy.c | if (!(ptr->flags & FD_RAW_MORE)) |
ptr | 2953 | drivers/block/floppy.c | ptr->rate &= 0x43; |
ptr | 1022 | drivers/block/ide-tape.c | unsigned short *ptr; |
ptr | 1028 | drivers/block/ide-tape.c | ptr=(unsigned short *) &gcw; |
ptr | 1029 | drivers/block/ide-tape.c | *ptr=id->config; |
ptr | 2474 | drivers/block/ide-tape.c | unsigned long *ptr; |
ptr | 2490 | drivers/block/ide-tape.c | ptr=(unsigned long *) &(pc->c[3]); |
ptr | 2491 | drivers/block/ide-tape.c | *ptr=idetape_swap_long (block); |
ptr | 4363 | drivers/block/ide-tape.c | char *ptr; |
ptr | 4375 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 4385 | drivers/block/ide-tape.c | memcpy (ptr,bh->data,IDETAPE_ALLOCATION_BLOCK); |
ptr | 4387 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 4401 | drivers/block/ide-tape.c | char *ptr; |
ptr | 4413 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 4423 | drivers/block/ide-tape.c | memcpy (bh->data,ptr,IDETAPE_ALLOCATION_BLOCK); |
ptr | 4425 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 513 | drivers/block/rd.c | static void gzip_mark(void **ptr) |
ptr | 517 | drivers/block/rd.c | static void gzip_release(void **ptr) |
ptr | 508 | drivers/char/apm_bios.c | callback_list_t ** ptr; |
ptr | 511 | drivers/char/apm_bios.c | ptr = &callback_list; |
ptr | 512 | drivers/char/apm_bios.c | for (ptr = &callback_list; *ptr != NULL; ptr = &(*ptr)->next) |
ptr | 513 | drivers/char/apm_bios.c | if ((*ptr)->callback == callback) |
ptr | 515 | drivers/char/apm_bios.c | old = *ptr; |
ptr | 516 | drivers/char/apm_bios.c | *ptr = old->next; |
ptr | 2924 | drivers/char/istallion.c | void *ptr; |
ptr | 2933 | drivers/char/istallion.c | ptr = 0; |
ptr | 2936 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_ATPAGESIZE); |
ptr | 2940 | drivers/char/istallion.c | return(ptr); |
ptr | 3011 | drivers/char/istallion.c | void *ptr; |
ptr | 3020 | drivers/char/istallion.c | ptr = 0; |
ptr | 3023 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_EIPAGESIZE); |
ptr | 3030 | drivers/char/istallion.c | return(ptr); |
ptr | 3065 | drivers/char/istallion.c | void *ptr; |
ptr | 3070 | drivers/char/istallion.c | ptr = 0; |
ptr | 3073 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_MCPAGESIZE); |
ptr | 3077 | drivers/char/istallion.c | return(ptr); |
ptr | 3141 | drivers/char/istallion.c | void *ptr; |
ptr | 3149 | drivers/char/istallion.c | ptr = 0; |
ptr | 3151 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_ATPAGESIZE); |
ptr | 3153 | drivers/char/istallion.c | return(ptr); |
ptr | 3227 | drivers/char/istallion.c | void *ptr; |
ptr | 3236 | drivers/char/istallion.c | ptr = 0; |
ptr | 3239 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_EIPAGESIZE); |
ptr | 3246 | drivers/char/istallion.c | return(ptr); |
ptr | 3293 | drivers/char/istallion.c | void *ptr; |
ptr | 3302 | drivers/char/istallion.c | ptr = 0; |
ptr | 3305 | drivers/char/istallion.c | ptr = brdp->membase + (offset % BBY_PAGESIZE); |
ptr | 3309 | drivers/char/istallion.c | return(ptr); |
ptr | 3352 | drivers/char/istallion.c | void *ptr; |
ptr | 3360 | drivers/char/istallion.c | ptr = 0; |
ptr | 3362 | drivers/char/istallion.c | ptr = brdp->membase + (offset % STAL_PAGESIZE); |
ptr | 3364 | drivers/char/istallion.c | return(ptr); |
ptr | 32 | drivers/isdn/teles/buffers.c | struct Pages *ptr; |
ptr | 42 | drivers/isdn/teles/buffers.c | ptr = (struct Pages *) __get_free_pages(priority,bp->pageorder,~0); |
ptr | 43 | drivers/isdn/teles/buffers.c | if (!ptr) { |
ptr | 48 | drivers/isdn/teles/buffers.c | printk(KERN_DEBUG "Order %d pages allocated at %x\n", bp->pageorder, ptr); |
ptr | 51 | drivers/isdn/teles/buffers.c | ptr->next = bp->pageslist; |
ptr | 52 | drivers/isdn/teles/buffers.c | bp->pageslist = ptr; |
ptr | 55 | drivers/isdn/teles/buffers.c | bptr = (byte *) ptr + sizeof(struct Pages *); |
ptr | 297 | drivers/isdn/teles/buffers.c | Sfree(byte * ptr) |
ptr | 300 | drivers/isdn/teles/buffers.c | printk(KERN_DEBUG "Sfree %x\n", ptr); |
ptr | 302 | drivers/isdn/teles/buffers.c | kfree(ptr); |
ptr | 200 | drivers/isdn/teles/callc.c | char *ptr; |
ptr | 204 | drivers/isdn/teles/callc.c | ptr = strcpyupto(chanp->para.called, ic->num, ','); |
ptr | 206 | drivers/isdn/teles/callc.c | ptr = strcpyupto(chanp->para.calling, ptr + 1, ','); |
ptr | 211 | drivers/isdn/teles/callc.c | ptr = strcpyupto(sis, ptr + 1, ','); |
ptr | 215 | drivers/isdn/teles/callc.c | ptr = strcpyupto(sis, ptr + 1, '\0'); |
ptr | 1035 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1042 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1043 | drivers/isdn/teles/callc.c | ptr += chanp->ds.l2.ihsize; |
ptr | 1045 | drivers/isdn/teles/callc.c | iif.rcvcallb(drid, chanp->chan, ptr, size); |
ptr | 1060 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1065 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1066 | drivers/isdn/teles/callc.c | iif.rcvcallb(drid, chanp->chan, ptr, ibh->datasize); |
ptr | 1272 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1282 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1288 | drivers/isdn/teles/callc.c | ptr += i; |
ptr | 1291 | drivers/isdn/teles/callc.c | memcpy_fromfs(ptr, buf, count); |
ptr | 1293 | drivers/isdn/teles/callc.c | memcpy(ptr, buf, count); |
ptr | 308 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 321 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 322 | drivers/isdn/teles/card.c | ptr += hsp->rcvptr; |
ptr | 327 | drivers/isdn/teles/card.c | *ptr++ = readhscx_0(hsp->membase, hsp->hscx, 0x0); |
ptr | 330 | drivers/isdn/teles/card.c | readhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
ptr | 338 | drivers/isdn/teles/card.c | printk(" %2x", ptr[i]); |
ptr | 349 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 364 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 365 | drivers/isdn/teles/card.c | printk(KERN_DEBUG "snd bytes %2x %2x %2x %2x %2x\n", ptr[0], ptr[1], ptr[2], |
ptr | 366 | drivers/isdn/teles/card.c | ptr[3], ptr[4]); |
ptr | 375 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 376 | drivers/isdn/teles/card.c | ptr += hsp->sendptr; |
ptr | 384 | drivers/isdn/teles/card.c | printk(" %2x", ptr[i]); |
ptr | 391 | drivers/isdn/teles/card.c | writehscx_0(hsp->membase, hsp->hscx, 0x0, *ptr++); |
ptr | 395 | drivers/isdn/teles/card.c | writehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
ptr | 510 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 520 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 521 | drivers/isdn/teles/card.c | ptr += sp->rcvptr; |
ptr | 528 | drivers/isdn/teles/card.c | *ptr = readisac_0(sp->membase, 0x0); |
ptr | 529 | drivers/isdn/teles/card.c | printk("%2x ", *ptr); |
ptr | 530 | drivers/isdn/teles/card.c | ptr++; |
ptr | 535 | drivers/isdn/teles/card.c | *ptr++ = readisac_0(sp->membase, 0x0); |
ptr | 542 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 544 | drivers/isdn/teles/card.c | printk("%2x ", ptr[i]); |
ptr | 547 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 558 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 578 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 579 | drivers/isdn/teles/card.c | ptr += sp->sendptr; |
ptr | 586 | drivers/isdn/teles/card.c | writeisac_0(sp->membase, 0x0, *ptr); |
ptr | 587 | drivers/isdn/teles/card.c | printk("%2x ", *ptr); |
ptr | 588 | drivers/isdn/teles/card.c | ptr++; |
ptr | 593 | drivers/isdn/teles/card.c | writeisac_0(sp->membase, 0x0, *ptr++); |
ptr | 599 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 602 | drivers/isdn/teles/card.c | printk("%2x ", ptr[i]); |
ptr | 605 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 873 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 879 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 880 | drivers/isdn/teles/card.c | broadc = (ptr[1] >> 1) == 127; |
ptr | 882 | drivers/isdn/teles/card.c | if (broadc && sp->dlogflag && (!(ptr[0] >> 2))) |
ptr | 883 | drivers/isdn/teles/card.c | dlogframe(sp, ptr + 3, ibh->datasize - 3, |
ptr | 888 | drivers/isdn/teles/card.c | if ((ptr[0] >> 2) == stptr->l2.sap) |
ptr | 902 | drivers/isdn/teles/card.c | if (((ptr[0] >> 2) == stptr->l2.sap) && |
ptr | 903 | drivers/isdn/teles/card.c | ((ptr[1] >> 1) == stptr->l2.tei)) { |
ptr | 915 | drivers/isdn/teles/card.c | if ((!(ptr[0] >> 2)) && (!(ptr[2] & 0x01))) { |
ptr | 916 | drivers/isdn/teles/card.c | sprintf(tmp, "Q.931 frame network->user with tei %d (not for us)", ptr[1] >> 1); |
ptr | 917 | drivers/isdn/teles/card.c | dlogframe(sp, ptr + 4, ibh->datasize - 4, tmp); |
ptr | 223 | drivers/isdn/teles/isdnl2.c | byte *ptr = DATAPTR(ibh); |
ptr | 230 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->sap << 2) | (crbit ? 2 : 0); |
ptr | 231 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->tei << 1) | 1; |
ptr | 238 | drivers/isdn/teles/isdnl2.c | *ptr++ = 1; |
ptr | 240 | drivers/isdn/teles/isdnl2.c | *ptr++ = 3; |
ptr | 313 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 317 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 318 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 319 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3; |
ptr | 339 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 352 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 353 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 355 | drivers/isdn/teles/isdnl2.c | *ptr = 0x7f; |
ptr | 357 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3f; |
ptr | 374 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 397 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 398 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 399 | drivers/isdn/teles/isdnl2.c | *ptr = 0x53; |
ptr | 412 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 430 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 431 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 432 | drivers/isdn/teles/isdnl2.c | *ptr = 0x73; |
ptr | 444 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 447 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 448 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&(st->l2)); |
ptr | 449 | drivers/isdn/teles/isdnl2.c | p = (*ptr) & 0x10; |
ptr | 465 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 466 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 467 | drivers/isdn/teles/isdnl2.c | *ptr = 0x63 | (p ? 0x10 : 0x0); |
ptr | 535 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 539 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 542 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 546 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 551 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 554 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 555 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 557 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 558 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 568 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 569 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 572 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 573 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 576 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | (p ? 0x10 : 0x0); |
ptr | 614 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 619 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 624 | drivers/isdn/teles/isdnl2.c | dlogframe(sp, ptr + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
ptr | 638 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 645 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 646 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 648 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 649 | drivers/isdn/teles/isdnl2.c | seq = ptr[0] >> 1; |
ptr | 650 | drivers/isdn/teles/isdnl2.c | nr = (ptr[1] >> 1) & 0x7f; |
ptr | 652 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 653 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 1) & 0x7; |
ptr | 654 | drivers/isdn/teles/isdnl2.c | nr = (ptr[0] >> 5) & 0x7; |
ptr | 663 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 667 | drivers/isdn/teles/isdnl2.c | dlogframe(st->l1.hardware, ptr + l2->ihsize, |
ptr | 676 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 677 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 680 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 681 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 684 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | (p ? 0x10 : 0x0); |
ptr | 702 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 703 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 706 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x9; |
ptr | 707 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 710 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x9 | (p ? 0x10 : 0x0); |
ptr | 760 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 766 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 767 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 770 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 771 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | 0x1; |
ptr | 774 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | 0x10; |
ptr | 812 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 816 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 819 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 823 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 829 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 832 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 833 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 835 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 836 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 863 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 879 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 880 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 882 | drivers/isdn/teles/isdnl2.c | *ptr = 0x7f; |
ptr | 884 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3f; |
ptr | 897 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 917 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 918 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 919 | drivers/isdn/teles/isdnl2.c | *ptr = 0x53; |
ptr | 933 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 949 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 950 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 953 | drivers/isdn/teles/isdnl2.c | *ptr++ = l2->vs << 1; |
ptr | 954 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | 0x1; |
ptr | 957 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | (l2->vs << 1) | 0x10; |
ptr | 980 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 983 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 984 | drivers/isdn/teles/isdnl2.c | ptr += sethdraddr(&st->l2, ibh, 0); |
ptr | 987 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 988 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 1) | 1; |
ptr | 990 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 5) | 0x11; |
ptr | 992 | drivers/isdn/teles/isdnl2.c | ibh->datasize = ptr - DATAPTR(ibh); |
ptr | 1020 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1024 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1027 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 1031 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 1037 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 1040 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 1041 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 1043 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 1044 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 1099 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1102 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1103 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
ptr | 1106 | drivers/isdn/teles/isdnl2.c | p = ptr[1] & 0x1; |
ptr | 1108 | drivers/isdn/teles/isdnl2.c | p = ptr[0] & 0x10; |
ptr | 1115 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1116 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 1117 | drivers/isdn/teles/isdnl2.c | *ptr = 0x63 | p; |
ptr | 1150 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1153 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1154 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
ptr | 1155 | drivers/isdn/teles/isdnl2.c | ptr++; |
ptr | 1160 | drivers/isdn/teles/isdnl2.c | ptr[0], ptr[1], ptr[2], ptr[3], ptr[4]); |
ptr | 1163 | drivers/isdn/teles/isdnl2.c | ptr[0], ptr[1], ptr[2]); |
ptr | 411 | drivers/isdn/teles/isdnl3.c | byte *ptr; |
ptr | 415 | drivers/isdn/teles/isdnl3.c | ptr = DATAPTR(ibh); |
ptr | 416 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.ihsize; |
ptr | 421 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "l3up data %x\n", ptr[i]); |
ptr | 423 | drivers/isdn/teles/isdnl3.c | mt = ptr[3]; |
ptr | 424 | drivers/isdn/teles/isdnl3.c | switch (ptr[0]) { |
ptr | 454 | drivers/isdn/teles/isdnl3.c | ptr = DATAPTR(ibh); |
ptr | 455 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.uihsize; |
ptr | 460 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "l3up data %x\n", ptr[i]); |
ptr | 462 | drivers/isdn/teles/isdnl3.c | mt = ptr[3]; |
ptr | 463 | drivers/isdn/teles/isdnl3.c | switch (ptr[0]) { |
ptr | 10 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
ptr | 12 | drivers/isdn/teles/tei.c | while (ptr) |
ptr | 13 | drivers/isdn/teles/tei.c | if (ptr->l2.ces == ces) |
ptr | 14 | drivers/isdn/teles/tei.c | return (ptr); |
ptr | 16 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 23 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
ptr | 28 | drivers/isdn/teles/tei.c | while (ptr) |
ptr | 29 | drivers/isdn/teles/tei.c | if (ptr->l2.tei == tei) |
ptr | 30 | drivers/isdn/teles/tei.c | return (ptr); |
ptr | 32 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 42 | drivers/isdn/teles/tei.c | struct PStack *otsp, *ptr; |
ptr | 85 | drivers/isdn/teles/tei.c | ptr = *(st->l1.stlistp); |
ptr | 86 | drivers/isdn/teles/tei.c | while (ptr) { |
ptr | 87 | drivers/isdn/teles/tei.c | if ((ptr->l2.tei & 0x7f) != 0x7f) { |
ptr | 93 | drivers/isdn/teles/tei.c | bp[1] = ptr->l2.ces >> 8; |
ptr | 94 | drivers/isdn/teles/tei.c | bp[2] = ptr->l2.ces & 0xff; |
ptr | 96 | drivers/isdn/teles/tei.c | bp[4] = (ptr->l2.tei << 1) | 1; |
ptr | 100 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 150 | drivers/isdn/teles/teles.h | void Sfree(byte * ptr); |
ptr | 554 | drivers/net/3c505.c | unsigned short * ptr; |
ptr | 605 | drivers/net/3c505.c | ptr = (unsigned short *)skb_put(skb,len); |
ptr | 618 | drivers/net/3c505.c | *ptr = inw_data(dev->base_addr); |
ptr | 619 | drivers/net/3c505.c | ptr++; |
ptr | 942 | drivers/net/3c505.c | send_packet (struct device * dev, unsigned char * ptr, int len) |
ptr | 954 | drivers/net/3c505.c | CHECK_NULL(ptr); |
ptr | 989 | drivers/net/3c505.c | outw_data(*(short *)ptr, dev->base_addr); |
ptr | 990 | drivers/net/3c505.c | ptr +=2; |
ptr | 389 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 396 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 401 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 405 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 413 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 419 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 421 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 422 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 426 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 785 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 794 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 799 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 803 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 808 | drivers/net/apricot.c | if ((ptr->status) & STAT_OK) |
ptr | 815 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
ptr | 816 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
ptr | 817 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
ptr | 818 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
ptr | 819 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
ptr | 823 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 829 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 831 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 832 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 837 | drivers/net/apricot.c | unsigned long status = *((unsigned long *) (ptr + 1)); |
ptr | 857 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 863 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 864 | drivers/net/apricot.c | while ((ptr != (struct i596_cmd *) I596_NULL) && (ptr != lp->cmd_tail)) |
ptr | 866 | drivers/net/apricot.c | ptr->command &= 0x1fff; |
ptr | 867 | drivers/net/apricot.c | ptr = ptr->next; |
ptr | 763 | drivers/net/hp100.c | u_char *ptr; |
ptr | 766 | drivers/net/hp100.c | ptr = (u_char *)skb_put( skb, pkt_len ); |
ptr | 770 | drivers/net/hp100.c | memcpy( ptr, lp -> mem_ptr_virt, ( pkt_len + 3 ) & ~3 ); |
ptr | 772 | drivers/net/hp100.c | memcpy_fromio( ptr, lp -> mem_ptr_phys, ( pkt_len + 3 ) & ~3 ); |
ptr | 775 | drivers/net/hp100.c | insl( ioaddr + HP100_REG_DATA32, ptr, ( pkt_len + 3 ) >> 2 ); |
ptr | 781 | drivers/net/hp100.c | ptr[ 0 ], ptr[ 1 ], ptr[ 2 ], ptr[ 3 ], ptr[ 4 ], ptr[ 5 ], |
ptr | 782 | drivers/net/hp100.c | ptr[ 6 ], ptr[ 7 ], ptr[ 8 ], ptr[ 9 ], ptr[ 10 ], ptr[ 11 ] ); |
ptr | 206 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr); |
ptr | 536 | drivers/net/ni52.c | void *ptr; |
ptr | 546 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
ptr | 548 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
ptr | 563 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
ptr | 593 | drivers/net/ni52.c | ias_cmd = (struct iasetup_cmd_struct *)ptr; |
ptr | 616 | drivers/net/ni52.c | tdr_cmd = (struct tdr_cmd_struct *)ptr; |
ptr | 661 | drivers/net/ni52.c | mc_cmd = (struct mcsetup_cmd_struct *) ptr; |
ptr | 686 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 690 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 695 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 699 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 703 | drivers/net/ni52.c | ptr = alloc_rfa(dev,(void *)ptr); /* init receive-frame-area */ |
ptr | 710 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ |
ptr | 711 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 712 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
ptr | 713 | drivers/net/ni52.c | ptr = (char *) ptr + XMIT_BUFF_SIZE; |
ptr | 714 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
ptr | 715 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct tbd_struct); |
ptr | 716 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
ptr | 767 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr) |
ptr | 769 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
ptr | 783 | drivers/net/ni52.c | ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); |
ptr | 785 | drivers/net/ni52.c | rbd = (struct rbd_struct *) ptr; |
ptr | 786 | drivers/net/ni52.c | ptr = (void *) (rbd + p->num_recv_buffs); |
ptr | 795 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
ptr | 796 | drivers/net/ni52.c | ptr = (char *) ptr + RECV_BUFF_SIZE; |
ptr | 805 | drivers/net/ni52.c | return ptr; |
ptr | 1349 | drivers/net/ni52.c | void ni52_dump(struct device *dev,void *ptr) |
ptr | 1352 | drivers/net/ni52.c | struct dump_cmd_struct *dump_cmd = (struct dump_cmd_struct *) ptr; |
ptr | 223 | drivers/net/ni65.c | unsigned char *ptr; |
ptr | 287 | drivers/net/ni65.c | ptr = kmalloc(sizeof(struct priv)+8,GFP_KERNEL|GFP_DMA); |
ptr | 288 | drivers/net/ni65.c | if(!ptr) |
ptr | 290 | drivers/net/ni65.c | ptr = (unsigned char *) (((unsigned long) ptr + 7) & ~0x7); |
ptr | 291 | drivers/net/ni65.c | if( (unsigned long) ptr + sizeof(struct priv) > 0x1000000) { |
ptr | 295 | drivers/net/ni65.c | p = dev->priv = (struct priv *) ptr; |
ptr | 300 | drivers/net/ni65.c | if( (ptr = kmalloc(T_BUF_SIZE,GFP_KERNEL | GFP_DMA )) == NULL) { |
ptr | 304 | drivers/net/ni65.c | if( (unsigned long) (ptr+T_BUF_SIZE) > 0x1000000) { |
ptr | 308 | drivers/net/ni65.c | p->tmdbounce[i] = ptr; |
ptr | 1571 | drivers/net/pi2.c | struct sk_buff *ptr; |
ptr | 1577 | drivers/net/pi2.c | ptr = NULL; |
ptr | 1588 | drivers/net/pi2.c | while ((ptr = skb_dequeue(&lp->sndq)) != NULL) |
ptr | 1589 | drivers/net/pi2.c | free_p(ptr); |
ptr | 603 | drivers/net/ppp.c | ppp_free_buf (struct ppp_buffer *ptr) |
ptr | 605 | drivers/net/ppp.c | if (ptr != NULL) |
ptr | 606 | drivers/net/ppp.c | kfree (ptr); |
ptr | 2254 | drivers/net/ppp.c | u_char *ptr; |
ptr | 2263 | drivers/net/ppp.c | ptr = data.ptr; |
ptr | 2267 | drivers/net/ppp.c | error = verify_area (VERIFY_READ, ptr, nb); |
ptr | 2273 | drivers/net/ppp.c | memcpy_fromfs (ccp_option, ptr, nb); |
ptr | 181 | drivers/net/pt.c | char *ptr; |
ptr | 185 | drivers/net/pt.c | ptr = skb->data; |
ptr | 186 | drivers/net/pt.c | if (ptr[0] != 0 && skb->len >= 2) |
ptr | 188 | drivers/net/pt.c | printk("Rx KISS... Control = %d, value = %d.\n", ptr[0], (skb->len > 1? ptr[1] : -1)); |
ptr | 194 | drivers/net/pt.c | switch(ptr[0]) |
ptr | 199 | drivers/net/pt.c | lp->txdelay = ptr[1] * 10; |
ptr | 203 | drivers/net/pt.c | lp->persist = ptr[1]; |
ptr | 207 | drivers/net/pt.c | lp->slotime = ptr[1]; |
ptr | 999 | drivers/net/pt.c | struct sk_buff *ptr = NULL; |
ptr | 1016 | drivers/net/pt.c | while ((ptr = skb_dequeue(&lp->sndq)) != NULL) |
ptr | 1017 | drivers/net/pt.c | free_p(ptr); |
ptr | 859 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 868 | drivers/net/slip.c | *ptr++ = END; |
ptr | 878 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 879 | drivers/net/slip.c | *ptr++ = ESC_END; |
ptr | 882 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 883 | drivers/net/slip.c | *ptr++ = ESC_ESC; |
ptr | 886 | drivers/net/slip.c | *ptr++ = c; |
ptr | 890 | drivers/net/slip.c | *ptr++ = END; |
ptr | 891 | drivers/net/slip.c | return (ptr - d); |
ptr | 944 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 956 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 968 | drivers/net/slip.c | *ptr++ = c; |
ptr | 973 | drivers/net/slip.c | *ptr++ = c; |
ptr | 975 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 976 | drivers/net/slip.c | return ptr - d; |
ptr | 3198 | drivers/scsi/53c7,8xx.c | *ptr; /* Pointer to argument list */ |
ptr | 3229 | drivers/scsi/53c7,8xx.c | for (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) { |
ptr | 3230 | drivers/scsi/53c7,8xx.c | if (*ptr == ' ' || *ptr == '\t') { |
ptr | 3231 | drivers/scsi/53c7,8xx.c | ++ptr; |
ptr | 3232 | drivers/scsi/53c7,8xx.c | } else if (isdigit(*ptr)) { |
ptr | 3233 | drivers/scsi/53c7,8xx.c | args[j++] = simple_strtoul (ptr, &ptr, 0); |
ptr | 3863 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = NULL; |
ptr | 3911 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = (unsigned char *) hostdata->issue_queue; |
ptr | 3914 | drivers/scsi/53c7,8xx.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->SCp.ptr; |
ptr | 3915 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) tmp->SCp.ptr); |
ptr | 3916 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = (unsigned char *) cmd; |
ptr | 4086 | drivers/scsi/53c7,8xx.c | hostdata->issue_queue = (Scsi_Cmnd *) tmp->SCp.ptr; |
ptr | 4100 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr) |
ptr | 4104 | drivers/scsi/53c7,8xx.c | prev->SCp.ptr = tmp->SCp.ptr; |
ptr | 4107 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr; |
ptr | 4108 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = NULL; |
ptr | 5486 | drivers/scsi/53c7,8xx.c | me && me != cmd; last = (Scsi_Cmnd **)&(me->SCp.ptr), |
ptr | 5487 | drivers/scsi/53c7,8xx.c | me = (Scsi_Cmnd *)me->SCp.ptr); |
ptr | 5490 | drivers/scsi/53c7,8xx.c | *last = (Scsi_Cmnd *) me->SCp.ptr; |
ptr | 5680 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5695 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(insn[3]); |
ptr | 5700 | drivers/scsi/53c7,8xx.c | buffers && !((found = ((ptr >= segment->address) && |
ptr | 5701 | drivers/scsi/53c7,8xx.c | (ptr < (segment->address + segment->length))))); |
ptr | 5709 | drivers/scsi/53c7,8xx.c | offset += ptr - segment->address; |
ptr | 5712 | drivers/scsi/53c7,8xx.c | offset = ptr - (char *) (cmd->request_buffer); |
ptr | 5742 | drivers/scsi/53c7,8xx.c | u32 *ptr; |
ptr | 5750 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(ncmd->saved_data_pointer); |
ptr | 5753 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (NCR53c7x0_read32 (DSP_REG) - |
ptr | 5757 | drivers/scsi/53c7,8xx.c | offset = insn_to_offset (cmd, ptr); |
ptr | 5783 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5808 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); |
ptr | 5809 | drivers/scsi/53c7,8xx.c | i > 0 && !check_address ((unsigned long) ptr, 1); |
ptr | 5810 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
ptr | 5812 | drivers/scsi/53c7,8xx.c | len = print_msg (ptr); |
ptr | 5867 | drivers/scsi/53c7,8xx.c | next_cmd = (Scsi_Cmnd *) cmd->SCp.ptr; |
ptr | 250 | drivers/scsi/AM53C974.c | Scsi_Cmnd *ptr; |
ptr | 270 | drivers/scsi/AM53C974.c | for (ptr = (Scsi_Cmnd *)hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *)ptr->host_scribble) |
ptr | 271 | drivers/scsi/AM53C974.c | print_Scsi_Cmnd (ptr); } |
ptr | 278 | drivers/scsi/AM53C974.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *)ptr->host_scribble) |
ptr | 279 | drivers/scsi/AM53C974.c | print_Scsi_Cmnd (ptr); } |
ptr | 762 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (char *)cmd->SCp.buffer->address; |
ptr | 767 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (char *)cmd->request_buffer; |
ptr | 979 | drivers/scsi/AM53C974.c | hostdata->connected->SCp.ptr += hostdata->connected->SCp.this_residual - residual; |
ptr | 1417 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (unsigned char *)cmd->SCp.buffer->address; |
ptr | 1424 | drivers/scsi/AM53C974.c | cmd->SCp.ptr); } |
ptr | 1440 | drivers/scsi/AM53C974.c | cmd->SCp.ptr += cmd->SCp.this_residual - residual; |
ptr | 1513 | drivers/scsi/AM53C974.c | cmd->SCp.ptr += cmd->SCp.this_residual - residual; |
ptr | 1640 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (char *)cmd->sense_buffer; |
ptr | 2059 | drivers/scsi/AM53C974.c | hostdata->connected->SCp.ptr += hostdata->connected->SCp.this_residual - ctcreg; |
ptr | 320 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
ptr | 325 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
ptr | 729 | drivers/scsi/NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 750 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; |
ptr | 751 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 752 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 756 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 757 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 758 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 1191 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 2208 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2253 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2274 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
ptr | 2378 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 2800 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 308 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
ptr | 314 | drivers/scsi/NCR5380.h | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 318 | drivers/scsi/NCR5380.h | limit = 65536* 2 - (((unsigned) ptr) & 0x1FFFF); |
ptr | 323 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 328 | drivers/scsi/NCR5380.h | set_dma_addr(instance->dma_channel, (unsigned int) ptr); |
ptr | 293 | drivers/scsi/NCR53c406a.c | NCR53c406a_dma_setup (unsigned char *ptr, |
ptr | 303 | drivers/scsi/NCR53c406a.c | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 307 | drivers/scsi/NCR53c406a.c | limit = (65536<<1) - (((unsigned) ptr) & 0x1FFFF); |
ptr | 313 | drivers/scsi/NCR53c406a.c | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 320 | drivers/scsi/NCR53c406a.c | set_dma_addr(dma_chan, (long) ptr); |
ptr | 393 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr); |
ptr | 482 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 484 | drivers/scsi/aha152x.c | ptr=*SC; |
ptr | 485 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 487 | drivers/scsi/aha152x.c | return ptr; |
ptr | 492 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 494 | drivers/scsi/aha152x.c | for(ptr=*SC, prev=NULL; |
ptr | 495 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
ptr | 496 | drivers/scsi/aha152x.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 499 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 501 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 503 | drivers/scsi/aha152x.c | *SC= (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 504 | drivers/scsi/aha152x.c | return ptr; |
ptr | 907 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
ptr | 913 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = (char *)SCpnt->request_buffer; |
ptr | 969 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 983 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC, prev=NULL; |
ptr | 984 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 985 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 988 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 992 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 994 | drivers/scsi/aha152x.c | ISSUE_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 997 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 998 | drivers/scsi/aha152x.c | ptr->result = DID_ABORT << 16; |
ptr | 999 | drivers/scsi/aha152x.c | ptr->scsi_done(ptr); |
ptr | 1029 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC, prev=NULL; |
ptr | 1030 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 1031 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 1034 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 1039 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1041 | drivers/scsi/aha152x.c | DISCONNECTED_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1045 | drivers/scsi/aha152x.c | CURRENT_SC = ptr; |
ptr | 1046 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
ptr | 1126 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev, *next; |
ptr | 1143 | drivers/scsi/aha152x.c | ptr=CURRENT_SC; |
ptr | 1144 | drivers/scsi/aha152x.c | if(ptr && !ptr->device->soft_reset) |
ptr | 1146 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1147 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1148 | drivers/scsi/aha152x.c | ptr->scsi_done(CURRENT_SC); |
ptr | 1154 | drivers/scsi/aha152x.c | prev=NULL; ptr=DISCONNECTED_SC; |
ptr | 1155 | drivers/scsi/aha152x.c | while(ptr) |
ptr | 1157 | drivers/scsi/aha152x.c | if(!ptr->device->soft_reset) |
ptr | 1160 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1162 | drivers/scsi/aha152x.c | DISCONNECTED_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1164 | drivers/scsi/aha152x.c | next = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1166 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1167 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1168 | drivers/scsi/aha152x.c | ptr->scsi_done(ptr); |
ptr | 1170 | drivers/scsi/aha152x.c | ptr = next; |
ptr | 1174 | drivers/scsi/aha152x.c | prev=ptr; |
ptr | 1175 | drivers/scsi/aha152x.c | ptr = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 2079 | drivers/scsi/aha152x.c | *CURRENT_SC->SCp.ptr++ = GETPORT(DATAPORT); |
ptr | 2086 | drivers/scsi/aha152x.c | insw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
ptr | 2102 | drivers/scsi/aha152x.c | data = (unsigned char *) CURRENT_SC->SCp.ptr; |
ptr | 2109 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
ptr | 2120 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
ptr | 2230 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++); |
ptr | 2237 | drivers/scsi/aha152x.c | outsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
ptr | 2238 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
ptr | 2260 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
ptr | 2276 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr -= data_count; |
ptr | 2668 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr) |
ptr | 2671 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2673 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
ptr | 2676 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2678 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) printk("not issued|"); |
ptr | 2679 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) printk("in selection|"); |
ptr | 2680 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) printk("disconnected|"); |
ptr | 2681 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) printk("aborted|"); |
ptr | 2682 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
ptr | 2683 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
ptr | 2686 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
ptr | 2711 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2714 | drivers/scsi/aha152x.c | printk("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2723 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2728 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2729 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2738 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2739 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2754 | drivers/scsi/aha152x.c | static int get_command(char *pos, Scsi_Cmnd *ptr) |
ptr | 2760 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2762 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
ptr | 2763 | drivers/scsi/aha152x.c | SPRINTF("0x%02x", ptr->cmnd[i]); |
ptr | 2766 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2768 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) SPRINTF("not issued|"); |
ptr | 2769 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) SPRINTF("in selection|"); |
ptr | 2770 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) SPRINTF("disconnected|"); |
ptr | 2771 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) SPRINTF("aborted|"); |
ptr | 2772 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) SPRINTF("send_ident|"); |
ptr | 2773 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
ptr | 2776 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
ptr | 2801 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2804 | drivers/scsi/aha152x.c | SPRINTF("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2826 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2903 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2904 | drivers/scsi/aha152x.c | pos += get_command(pos, ptr); |
ptr | 2913 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2914 | drivers/scsi/aha152x.c | pos += get_command(pos, ptr); |
ptr | 608 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 619 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 626 | drivers/scsi/aha1542.c | ptr = (unsigned char *) &cptr[i]; |
ptr | 627 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 638 | drivers/scsi/aha1542.c | ptr = (unsigned char *) cptr; |
ptr | 639 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 330 | drivers/scsi/aha1740.c | unsigned char * ptr; |
ptr | 346 | drivers/scsi/aha1740.c | ptr = (unsigned char *) cptr; |
ptr | 347 | drivers/scsi/aha1740.c | for(i=0;i<24;i++) printk("%02x ", ptr[i]); |
ptr | 2521 | drivers/scsi/aic7xxx.c | long *ptr; |
ptr | 2531 | drivers/scsi/aic7xxx.c | ptr = sp->w_bins; |
ptr | 2537 | drivers/scsi/aic7xxx.c | ptr = sp->r_bins; |
ptr | 2543 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
ptr | 2549 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
ptr | 91 | drivers/scsi/aic7xxx_asm.c | Realloc(void *ptr, size_t size) |
ptr | 93 | drivers/scsi/aic7xxx_asm.c | void *p = realloc(ptr, size); |
ptr | 114 | drivers/scsi/eata_pio.c | SCp->ptr+=Increment; |
ptr | 121 | drivers/scsi/eata_pio.c | SCp->ptr=SCp->buffer->address; |
ptr | 168 | drivers/scsi/eata_pio.c | *(cmd->SCp.ptr)=zwickel>>8; |
ptr | 173 | drivers/scsi/eata_pio.c | insw(base+HA_RDATA,cmd->SCp.ptr,x); |
ptr | 179 | drivers/scsi/eata_pio.c | *(cmd->SCp.ptr)=zwickel&0xff; |
ptr | 196 | drivers/scsi/eata_pio.c | zwickel+=*(cmd->SCp.ptr)<<8; |
ptr | 203 | drivers/scsi/eata_pio.c | outsw(base+HA_RDATA,cmd->SCp.ptr,x); |
ptr | 208 | drivers/scsi/eata_pio.c | zwickel=*(cmd->SCp.ptr); |
ptr | 366 | drivers/scsi/eata_pio.c | cmd->SCp.ptr = cmd->request_buffer; |
ptr | 372 | drivers/scsi/eata_pio.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 1537 | drivers/scsi/fdomain.c | outb( *current_SC->SCp.ptr++, Write_FIFO_port ); |
ptr | 1541 | drivers/scsi/fdomain.c | outsw( Write_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1542 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1550 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1570 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
ptr | 1574 | drivers/scsi/fdomain.c | insw( Read_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1575 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1583 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1667 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1671 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = (char *)current_SC->request_buffer; |
ptr | 331 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
ptr | 2266 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 2279 | drivers/scsi/scsi.c | free_pages((unsigned long)ptr, order); |
ptr | 2281 | drivers/scsi/scsi.c | kfree(ptr); |
ptr | 3028 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 3032 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 3036 | drivers/scsi/scsi.c | return scsi_register_device_module((struct Scsi_Device_Template *) ptr); |
ptr | 3051 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 3055 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 3058 | drivers/scsi/scsi.c | scsi_unregister_device((struct Scsi_Device_Template *) ptr); |
ptr | 332 | drivers/scsi/scsi.h | char * ptr; /* data pointer */ |
ptr | 173 | drivers/scsi/scsi_proc.c | char *ptr; /* temp pointer */ |
ptr | 190 | drivers/scsi/scsi_proc.c | for (ptr = cmdList; *ptr; ptr++) { /* scan command string */ |
ptr | 191 | drivers/scsi/scsi_proc.c | if(*ptr == ' ') { /* and insert zeroes */ |
ptr | 192 | drivers/scsi/scsi_proc.c | *ptr++ = 0; |
ptr | 193 | drivers/scsi/scsi_proc.c | handle->cmdPos[++cmdNum] = ptr++; |
ptr | 333 | drivers/scsi/wd7000.c | unchar ptr[3]; /* Also SCSI-style - MSB first */ |
ptr | 389 | drivers/scsi/wd7000.c | unchar ptr[3]; /* command buffer address */ |
ptr | 431 | drivers/scsi/wd7000.c | unchar ptr[3]; /* buffer address */ |
ptr | 447 | drivers/scsi/wd7000.c | unchar ptr[3]; /* parms buffer address */ |
ptr | 937 | drivers/scsi/wd7000.c | any2scsi(sgb[i].ptr, (int) sg[i].address); |
ptr | 969 | drivers/scsi/wd7000.c | any2scsi(icb.ptr, (int) &buf); |
ptr | 364 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
ptr | 383 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 384 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
ptr | 389 | drivers/sound/dev_table.c | ptr = j; |
ptr | 391 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 395 | drivers/sound/dev_table.c | snd_installed_cards[ptr].enabled = 1; |
ptr | 396 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
ptr | 397 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
ptr | 398 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
ptr | 399 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma2 = -1; |
ptr | 400 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.name = NULL; |
ptr | 401 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.always_detect = 0; |
ptr | 402 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_1 = 0; |
ptr | 403 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_2 = 0; |
ptr | 404 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.card_subtype = 0; |
ptr | 405 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.osp = NULL; |
ptr | 415 | drivers/sound/dev_table.c | int j, ptr; |
ptr | 418 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 419 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1 && snd_installed_cards[j].card_type; j++) |
ptr | 421 | drivers/sound/dev_table.c | ptr = j; |
ptr | 423 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 426 | drivers/sound/dev_table.c | return &snd_installed_cards[ptr].config; |
ptr | 917 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
ptr | 919 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 937 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
ptr | 939 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 2556 | drivers/sound/gus_wave.c | int ptr = patch_table[i]; |
ptr | 2560 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample && ptr != NOT_SAMPLE) |
ptr | 2563 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2571 | drivers/sound/gus_wave.c | int ptr = patch_table[rec->parm1]; |
ptr | 2575 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample && ptr != NOT_SAMPLE) |
ptr | 2577 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
ptr | 2578 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2587 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2590 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2593 | drivers/sound/gus_wave.c | memcpy (rec->data.data8, (char *) &samples[ptr], |
ptr | 2599 | drivers/sound/gus_wave.c | rec->parm1 = sample_ptrs[ptr]; /* DRAM location */ |
ptr | 2607 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2610 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2615 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
ptr | 2618 | drivers/sound/gus_wave.c | pat->key = samples[ptr].key; /* Ensure the link is correct */ |
ptr | 2620 | drivers/sound/gus_wave.c | memcpy ((char *) &samples[ptr], rec->data.data8, |
ptr | 2722 | drivers/sound/gus_wave.c | p = alloc->ptr; |
ptr | 2731 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2750 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2759 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 155 | drivers/sound/sound_config.h | int ptr; /* For device specific use */ |
ptr | 332 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 338 | fs/proc/array.c | if (!p || !p->mm || ptr >= TASK_SIZE) |
ptr | 340 | fs/proc/array.c | page_dir = pgd_offset(p->mm,ptr); |
ptr | 348 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 356 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 359 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
ptr | 21 | include/asm-alpha/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 22 | include/asm-alpha/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 151 | include/asm-alpha/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 152 | include/asm-alpha/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 164 | include/asm-alpha/system.h | static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 168 | include/asm-alpha/system.h | return xchg_u32(ptr, x); |
ptr | 170 | include/asm-alpha/system.h | return xchg_u64(ptr, x); |
ptr | 17 | include/asm-i386/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 18 | include/asm-i386/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 195 | include/asm-i386/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 196 | include/asm-i386/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 201 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 206 | include/asm-i386/system.h | :"=q" (x), "=m" (*__xg(ptr)) |
ptr | 207 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 211 | include/asm-i386/system.h | :"=r" (x), "=m" (*__xg(ptr)) |
ptr | 212 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 216 | include/asm-i386/system.h | :"=r" (x), "=m" (*__xg(ptr)) |
ptr | 217 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 38 | include/asm-mips/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 39 | include/asm-mips/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 182 | include/asm-mips/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 183 | include/asm-mips/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 195 | include/asm-mips/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 199 | include/asm-mips/system.h | return xchg_u8(ptr, x); |
ptr | 201 | include/asm-mips/system.h | return xchg_u16(ptr, x); |
ptr | 203 | include/asm-mips/system.h | return xchg_u32(ptr, x); |
ptr | 205 | include/asm-mips/system.h | return xchg_u64(ptr, x); |
ptr | 72 | include/asm-ppc/io.h | void outsl(int port, long *ptr, int len); |
ptr | 6 | include/asm-ppc/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 7 | include/asm-ppc/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 27 | include/asm-ppc/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 37 | include/asm-ppc/system.h | extern void *xchg_u64(void *ptr, unsigned long val); |
ptr | 50 | include/asm-ppc/system.h | static inline unsigned long __xchg(unsigned long x, void * ptr, int size) |
ptr | 54 | include/asm-ppc/system.h | return (unsigned long )xchg_u32(ptr, x); |
ptr | 56 | include/asm-ppc/system.h | return (unsigned long )xchg_u64(ptr, x); |
ptr | 54 | include/asm-sparc/mostek.h | #define MSTK_REG_CREG(ptr) (ptr->creg) |
ptr | 55 | include/asm-sparc/mostek.h | #define MSTK_REG_SEC(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->sec & MSTK_SEC_MASK))) |
ptr | 56 | include/asm-sparc/mostek.h | #define MSTK_REG_MIN(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->min & MSTK_MIN_MASK))) |
ptr | 57 | include/asm-sparc/mostek.h | #define MSTK_REG_HOUR(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->hour & MSTK_HOUR_MASK))) |
ptr | 58 | include/asm-sparc/mostek.h | #define MSTK_REG_DOW(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->dow & MSTK_DOW_MASK))) |
ptr | 59 | include/asm-sparc/mostek.h | #define MSTK_REG_DOM(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->dom & MSTK_DOM_MASK))) |
ptr | 60 | include/asm-sparc/mostek.h | #define MSTK_REG_MNTH(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->mnth & MSTK_MNTH_MASK))) |
ptr | 61 | include/asm-sparc/mostek.h | #define MSTK_REG_YR(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->yr & MSTK_YR_MASK))) |
ptr | 19 | include/asm-sparc/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 20 | include/asm-sparc/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 114 | include/asm-sparc/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 115 | include/asm-sparc/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 119 | include/asm-sparc/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 123 | include/asm-sparc/system.h | return xchg_u32(ptr, x); |
ptr | 101 | include/linux/if_ppp.h | u_char *ptr; |
ptr | 35 | include/linux/ip.h | __u8 ptr; |
ptr | 219 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int size); |
ptr | 610 | include/linux/soundcard.h | int ptr; /* Current DMA pointer value */ |
ptr | 59 | include/net/ip.h | unsigned char *ptr; /* pointer into real fragment data */ |
ptr | 957 | lib/inflate.c | void *ptr; |
ptr | 969 | lib/inflate.c | gzip_mark(&ptr); |
ptr | 971 | lib/inflate.c | gzip_release(&ptr); |
ptr | 974 | lib/inflate.c | gzip_release(&ptr); |
ptr | 281 | mm/kmalloc.c | void kfree(void *ptr) |
ptr | 289 | mm/kmalloc.c | if (!ptr) |
ptr | 291 | mm/kmalloc.c | p = ((struct block_header *) ptr) - 1; |
ptr | 375 | net/appletalk/aarp.c | static int aarp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 382 | net/appletalk/aarp.c | aarp_expire_device(&resolved[ct],ptr); |
ptr | 383 | net/appletalk/aarp.c | aarp_expire_device(&unresolved[ct],ptr); |
ptr | 667 | net/appletalk/ddp.c | static int ddp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 672 | net/appletalk/ddp.c | atrtr_device_down((struct device *)ptr); |
ptr | 673 | net/appletalk/ddp.c | atif_drop_device((struct device *)ptr); |
ptr | 230 | net/ax25/af_ax25.c | static int ax25_device_event(struct notifier_block *this,unsigned long event, void *ptr) |
ptr | 232 | net/ax25/af_ax25.c | struct device *dev = (struct device *)ptr; |
ptr | 2259 | net/ax25/af_ax25.c | unsigned char *ptr; |
ptr | 2285 | net/ax25/af_ax25.c | ptr = skb_push(skb, 2); |
ptr | 2287 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
ptr | 2288 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
ptr | 2305 | net/ax25/af_ax25.c | ptr = skb_push(skb, 1); |
ptr | 2306 | net/ax25/af_ax25.c | *ptr++ = 0; /* KISS */ |
ptr | 219 | net/ax25/ax25_out.c | unsigned char *ptr; |
ptr | 239 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
ptr | 240 | net/ax25/ax25_out.c | build_ax25_addr(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); |
ptr | 982 | net/core/net_alias.c | int net_alias_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 984 | net/core/net_alias.c | struct device *dev = ptr; |
ptr | 583 | net/ipv4/arp.c | int arp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 585 | net/ipv4/arp.c | struct device *dev=ptr; |
ptr | 93 | net/ipv4/ip_forward.c | unsigned char *ptr; /* Data pointer */ |
ptr | 299 | net/ipv4/ip_forward.c | ptr = skb_put(skb2,skb->len); |
ptr | 301 | net/ipv4/ip_forward.c | skb2->h.raw = ptr; |
ptr | 306 | net/ipv4/ip_forward.c | memcpy(ptr, skb->h.raw, skb->len); |
ptr | 64 | net/ipv4/ip_fragment.c | extern __inline__ void frag_kfree_s(void *ptr, int len) |
ptr | 71 | net/ipv4/ip_fragment.c | kfree_s(ptr,len); |
ptr | 91 | net/ipv4/ip_fragment.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
ptr | 109 | net/ipv4/ip_fragment.c | fp->ptr = ptr; |
ptr | 346 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 368 | net/ipv4/ip_fragment.c | ptr = (unsigned char *) skb->h.raw; |
ptr | 369 | net/ipv4/ip_fragment.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
ptr | 370 | net/ipv4/ip_fragment.c | ptr += qp->ihlen; |
ptr | 386 | net/ipv4/ip_fragment.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
ptr | 415 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 493 | net/ipv4/ip_fragment.c | ptr = skb->data + ihl; |
ptr | 525 | net/ipv4/ip_fragment.c | ptr += i; /* ptr into fragment data */ |
ptr | 542 | net/ipv4/ip_fragment.c | tmp->ptr += i; |
ptr | 569 | net/ipv4/ip_fragment.c | tfp = ip_frag_create(offset, end, skb, ptr); |
ptr | 622 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 648 | net/ipv4/ip_fragment.c | ptr = (raw + hlen); /* Where to start from */ |
ptr | 752 | net/ipv4/ip_fragment.c | memcpy(skb2->h.raw + hlen, ptr, len); |
ptr | 779 | net/ipv4/ip_fragment.c | ptr += len; |
ptr | 1650 | net/ipv4/ip_fw.c | int ipfw_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 1652 | net/ipv4/ip_fw.c | struct device *dev=ptr; |
ptr | 369 | net/ipv4/ip_options.c | if (ts->ptr+3 > ts->len) |
ptr | 379 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr-1]; |
ptr | 381 | net/ipv4/ip_options.c | ts->ptr += 4; |
ptr | 384 | net/ipv4/ip_options.c | if (ts->ptr+7 > ts->len) |
ptr | 392 | net/ipv4/ip_options.c | memcpy(&optptr[ts->ptr-1], &skb->dev->pa_addr, 4); |
ptr | 393 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr+3]; |
ptr | 397 | net/ipv4/ip_options.c | ts->ptr += 8; |
ptr | 400 | net/ipv4/ip_options.c | if (ts->ptr+7 > ts->len) |
ptr | 408 | net/ipv4/ip_options.c | memcpy(&addr, &optptr[ts->ptr-1], 4); |
ptr | 412 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr+3]; |
ptr | 416 | net/ipv4/ip_options.c | ts->ptr += 8; |
ptr | 1067 | net/ipv4/ip_output.c | static int ip_rt_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 1069 | net/ipv4/ip_output.c | struct device *dev=ptr; |
ptr | 672 | net/ipv4/ipmr.c | static int ipmr_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 681 | net/ipv4/ipmr.c | if((vifc_map&(1<<ct)) && v->dev==ptr) |
ptr | 162 | net/ipv4/rarp.c | static int rarp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 166 | net/ipv4/rarp.c | rarp_destroy_dev((struct device *)ptr); |
ptr | 1948 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 2073 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
ptr | 2074 | net/ipv4/tcp.c | ptr[0] = 2; |
ptr | 2075 | net/ipv4/tcp.c | ptr[1] = 4; |
ptr | 2076 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 2077 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
ptr | 2078 | net/ipv4/tcp.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 256 | net/ipv4/tcp_input.c | unsigned char *ptr; |
ptr | 260 | net/ipv4/tcp_input.c | ptr = (unsigned char *)(th + 1); |
ptr | 264 | net/ipv4/tcp_input.c | int opcode=*ptr++; |
ptr | 265 | net/ipv4/tcp_input.c | int opsize=*ptr++; |
ptr | 272 | net/ipv4/tcp_input.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 283 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 289 | net/ipv4/tcp_input.c | ptr+=opsize-2; |
ptr | 1510 | net/ipv4/tcp_input.c | u32 ptr = ntohs(th->urg_ptr); |
ptr | 1512 | net/ipv4/tcp_input.c | if (ptr) |
ptr | 1513 | net/ipv4/tcp_input.c | ptr--; |
ptr | 1514 | net/ipv4/tcp_input.c | ptr += ntohl(th->seq); |
ptr | 1517 | net/ipv4/tcp_input.c | if (after(sk->copied_seq, ptr)) |
ptr | 1521 | net/ipv4/tcp_input.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 1533 | net/ipv4/tcp_input.c | sk->urg_seq = ptr; |
ptr | 1554 | net/ipv4/tcp_input.c | u32 ptr; |
ptr | 1559 | net/ipv4/tcp_input.c | ptr = sk->urg_seq - ntohl(th->seq) + th->doff*4; |
ptr | 1560 | net/ipv4/tcp_input.c | if (ptr < len) { |
ptr | 1561 | net/ipv4/tcp_input.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 664 | net/ipv4/tcp_output.c | unsigned char *ptr; |
ptr | 725 | net/ipv4/tcp_output.c | ptr = skb_put(buff,4); |
ptr | 726 | net/ipv4/tcp_output.c | ptr[0] = 2; |
ptr | 727 | net/ipv4/tcp_output.c | ptr[1] = 4; |
ptr | 728 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 729 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 730 | net/ipv4/tcp_output.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 330 | net/ipx/af_ipx.c | ipxitf_device_event(struct notifier_block *notifier, unsigned long event, void *ptr) |
ptr | 332 | net/ipx/af_ipx.c | struct device *dev = ptr; |
ptr | 121 | net/netrom/af_netrom.c | static int nr_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 123 | net/netrom/af_netrom.c | struct device *dev = (struct device *)ptr; |