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 | 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 | 175 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr); |
ptr | 453 | drivers/net/ni52.c | void *ptr; |
ptr | 464 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
ptr | 466 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
ptr | 505 | drivers/net/ni52.c | ias_cmd = (struct iasetup_cmd_struct *)ptr; |
ptr | 530 | drivers/net/ni52.c | tdr_cmd = (struct tdr_cmd_struct *)ptr; |
ptr | 583 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 587 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 589 | drivers/net/ni52.c | p->xmit_cmds[0] = (struct transmit_cmd_struct *)ptr; /* transmit cmd/buff 0 */ |
ptr | 590 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 594 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 598 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 599 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ |
ptr | 600 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 604 | drivers/net/ni52.c | ptr = alloc_rfa(dev,(void *)ptr); /* init receive-frame-area */ |
ptr | 612 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
ptr | 625 | drivers/net/ni52.c | mc_cmd = (struct mcsetup_cmd_struct *) ptr; |
ptr | 652 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
ptr | 653 | drivers/net/ni52.c | ptr = (char *) ptr + XMIT_BUFF_SIZE; |
ptr | 654 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
ptr | 655 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct tbd_struct); |
ptr | 656 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
ptr | 697 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr) |
ptr | 699 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
ptr | 711 | drivers/net/ni52.c | ptr = (void *) (rfd + p->num_recv_buffs); |
ptr | 713 | drivers/net/ni52.c | rbd = (struct rbd_struct *) ptr; |
ptr | 714 | drivers/net/ni52.c | ptr = (void *) (rbd + p->num_recv_buffs); |
ptr | 723 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
ptr | 724 | drivers/net/ni52.c | ptr = (char *) ptr + RECV_BUFF_SIZE; |
ptr | 733 | drivers/net/ni52.c | return 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 | 853 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 862 | drivers/net/slip.c | *ptr++ = END; |
ptr | 872 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 873 | drivers/net/slip.c | *ptr++ = ESC_END; |
ptr | 876 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 877 | drivers/net/slip.c | *ptr++ = ESC_ESC; |
ptr | 880 | drivers/net/slip.c | *ptr++ = c; |
ptr | 884 | drivers/net/slip.c | *ptr++ = END; |
ptr | 885 | drivers/net/slip.c | return (ptr - d); |
ptr | 938 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 950 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 962 | drivers/net/slip.c | *ptr++ = c; |
ptr | 967 | drivers/net/slip.c | *ptr++ = c; |
ptr | 969 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 970 | 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 | 2264 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 2277 | drivers/scsi/scsi.c | free_pages((unsigned long)ptr, order); |
ptr | 2279 | drivers/scsi/scsi.c | kfree(ptr); |
ptr | 3026 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 3030 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 3034 | drivers/scsi/scsi.c | return scsi_register_device_module((struct Scsi_Device_Template *) ptr); |
ptr | 3049 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 3053 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 3056 | 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 | 893 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
ptr | 895 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 913 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
ptr | 915 | 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 | 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 | 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 | 312 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 318 | fs/proc/array.c | if (!p || !p->mm || ptr >= TASK_SIZE) |
ptr | 320 | fs/proc/array.c | page_dir = pgd_offset(p->mm,ptr); |
ptr | 328 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 336 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 339 | 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 | 217 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int size); |
ptr | 609 | 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 | 276 | mm/kmalloc.c | void kfree(void *ptr) |
ptr | 284 | mm/kmalloc.c | if (!ptr) |
ptr | 286 | 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 | 2273 | net/ax25/af_ax25.c | unsigned char *ptr; |
ptr | 2301 | net/ax25/af_ax25.c | ptr = skb_push(skb, 2); |
ptr | 2303 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
ptr | 2304 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
ptr | 2321 | net/ax25/af_ax25.c | ptr = skb_push(skb, 1); |
ptr | 2322 | net/ax25/af_ax25.c | *ptr++ = 0; /* KISS */ |
ptr | 220 | net/ax25/ax25_out.c | unsigned char *ptr; |
ptr | 240 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
ptr | 241 | net/ax25/ax25_out.c | build_ax25_addr(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); |
ptr | 964 | net/core/net_alias.c | int net_alias_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 966 | net/core/net_alias.c | struct device *dev = ptr; |
ptr | 581 | net/ipv4/arp.c | int arp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 583 | 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 | 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 | 1917 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 2042 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
ptr | 2043 | net/ipv4/tcp.c | ptr[0] = 2; |
ptr | 2044 | net/ipv4/tcp.c | ptr[1] = 4; |
ptr | 2045 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 2046 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
ptr | 2047 | net/ipv4/tcp.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 253 | net/ipv4/tcp_input.c | unsigned char *ptr; |
ptr | 257 | net/ipv4/tcp_input.c | ptr = (unsigned char *)(th + 1); |
ptr | 261 | net/ipv4/tcp_input.c | int opcode=*ptr++; |
ptr | 262 | net/ipv4/tcp_input.c | int opsize=*ptr++; |
ptr | 269 | net/ipv4/tcp_input.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 280 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 286 | net/ipv4/tcp_input.c | ptr+=opsize-2; |
ptr | 1509 | net/ipv4/tcp_input.c | u32 ptr = ntohs(th->urg_ptr); |
ptr | 1511 | net/ipv4/tcp_input.c | if (ptr) |
ptr | 1512 | net/ipv4/tcp_input.c | ptr--; |
ptr | 1513 | net/ipv4/tcp_input.c | ptr += ntohl(th->seq); |
ptr | 1516 | net/ipv4/tcp_input.c | if (after(sk->copied_seq, ptr)) |
ptr | 1520 | net/ipv4/tcp_input.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 1532 | net/ipv4/tcp_input.c | sk->urg_seq = ptr; |
ptr | 1553 | net/ipv4/tcp_input.c | u32 ptr; |
ptr | 1558 | net/ipv4/tcp_input.c | ptr = sk->urg_seq - ntohl(th->seq) + th->doff*4; |
ptr | 1559 | net/ipv4/tcp_input.c | if (ptr < len) { |
ptr | 1560 | 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 | 728 | net/ipv4/tcp_output.c | ptr = skb_put(buff,4); |
ptr | 729 | net/ipv4/tcp_output.c | ptr[0] = 2; |
ptr | 730 | net/ipv4/tcp_output.c | ptr[1] = 4; |
ptr | 731 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 732 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 733 | net/ipv4/tcp_output.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 328 | net/ipx/af_ipx.c | ipxitf_device_event(struct notifier_block *notifier, unsigned long event, void *ptr) |
ptr | 330 | 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; |