tag | line | file | source code |
ptr | 465 | arch/alpha/kernel/apecs.c | unsigned long *ptr; |
ptr | 468 | arch/alpha/kernel/apecs.c | ptr = (unsigned long *)la_ptr; |
ptr | 470 | 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 | 2839 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr) |
ptr | 2844 | drivers/block/floppy.c | while(ptr) { |
ptr | 2846 | drivers/block/floppy.c | old_raw_cmd.flags = ptr->flags; |
ptr | 2847 | drivers/block/floppy.c | old_raw_cmd.data = ptr->data; |
ptr | 2848 | drivers/block/floppy.c | old_raw_cmd.length = ptr->length; |
ptr | 2849 | drivers/block/floppy.c | old_raw_cmd.rate = ptr->rate; |
ptr | 2850 | drivers/block/floppy.c | old_raw_cmd.reply_count = ptr->reply_count; |
ptr | 2851 | drivers/block/floppy.c | memcpy(old_raw_cmd.reply, ptr->reply, 7); |
ptr | 2855 | drivers/block/floppy.c | COPYOUT(*ptr); |
ptr | 2859 | drivers/block/floppy.c | if ((ptr->flags & FD_RAW_READ) && ptr->buffer_length){ |
ptr | 2860 | drivers/block/floppy.c | if (ptr->length>=0 && ptr->length<=ptr->buffer_length) |
ptr | 2861 | drivers/block/floppy.c | ECALL(fd_copyout(ptr->data, |
ptr | 2862 | drivers/block/floppy.c | ptr->kernel_data, |
ptr | 2863 | drivers/block/floppy.c | ptr->buffer_length - |
ptr | 2864 | drivers/block/floppy.c | ptr->length)); |
ptr | 2866 | drivers/block/floppy.c | ptr = ptr->next; |
ptr | 2872 | drivers/block/floppy.c | static void raw_cmd_free(struct floppy_raw_cmd **ptr) |
ptr | 2876 | drivers/block/floppy.c | this = *ptr; |
ptr | 2877 | drivers/block/floppy.c | *ptr = 0; |
ptr | 2894 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr; |
ptr | 2901 | drivers/block/floppy.c | ptr = (struct floppy_raw_cmd *) |
ptr | 2903 | drivers/block/floppy.c | if (!ptr) |
ptr | 2905 | drivers/block/floppy.c | *rcmd = ptr; |
ptr | 2908 | drivers/block/floppy.c | ptr->flags = old_raw_cmd.flags; |
ptr | 2909 | drivers/block/floppy.c | ptr->data = old_raw_cmd.data; |
ptr | 2910 | drivers/block/floppy.c | ptr->length = old_raw_cmd.length; |
ptr | 2911 | drivers/block/floppy.c | ptr->rate = old_raw_cmd.rate; |
ptr | 2912 | drivers/block/floppy.c | ptr->cmd_count = old_raw_cmd.cmd_count; |
ptr | 2913 | drivers/block/floppy.c | ptr->track = old_raw_cmd.track; |
ptr | 2914 | drivers/block/floppy.c | ptr->phys_length = 0; |
ptr | 2915 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 2916 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 2917 | drivers/block/floppy.c | memcpy(ptr->cmd, old_raw_cmd.cmd, 9); |
ptr | 2919 | drivers/block/floppy.c | if (ptr->cmd_count > 9) |
ptr | 2922 | drivers/block/floppy.c | COPYIN(*ptr); |
ptr | 2923 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 2924 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 2926 | drivers/block/floppy.c | if (ptr->cmd_count > 16) |
ptr | 2931 | drivers/block/floppy.c | ptr->reply[i] = 0; |
ptr | 2932 | drivers/block/floppy.c | ptr->resultcode = 0; |
ptr | 2933 | drivers/block/floppy.c | ptr->kernel_data = 0; |
ptr | 2935 | drivers/block/floppy.c | if (ptr->flags & (FD_RAW_READ | FD_RAW_WRITE)) { |
ptr | 2936 | drivers/block/floppy.c | if (ptr->length <= 0) |
ptr | 2938 | drivers/block/floppy.c | ptr->kernel_data =(char*)dma_mem_alloc(ptr->length); |
ptr | 2939 | drivers/block/floppy.c | if (!ptr->kernel_data) |
ptr | 2941 | drivers/block/floppy.c | ptr->buffer_length = ptr->length; |
ptr | 2943 | drivers/block/floppy.c | if ( ptr->flags & FD_RAW_READ ) |
ptr | 2944 | drivers/block/floppy.c | ECALL( verify_area( VERIFY_WRITE, ptr->data, |
ptr | 2945 | drivers/block/floppy.c | ptr->length )); |
ptr | 2946 | drivers/block/floppy.c | if (ptr->flags & FD_RAW_WRITE) |
ptr | 2947 | drivers/block/floppy.c | ECALL(fd_copyin(ptr->data, ptr->kernel_data, |
ptr | 2948 | drivers/block/floppy.c | ptr->length)); |
ptr | 2949 | drivers/block/floppy.c | rcmd = & (ptr->next); |
ptr | 2950 | drivers/block/floppy.c | if (!(ptr->flags & FD_RAW_MORE)) |
ptr | 2952 | drivers/block/floppy.c | ptr->rate &= 0x43; |
ptr | 902 | drivers/block/ide-tape.c | unsigned short *ptr; |
ptr | 908 | drivers/block/ide-tape.c | ptr=(unsigned short *) &gcw; |
ptr | 909 | drivers/block/ide-tape.c | *ptr=id->config; |
ptr | 2133 | drivers/block/ide-tape.c | unsigned long *ptr; |
ptr | 2149 | drivers/block/ide-tape.c | ptr=(unsigned long *) &(pc->c[3]); |
ptr | 2150 | drivers/block/ide-tape.c | *ptr=idetape_swap_long (block); |
ptr | 3289 | drivers/block/ide-tape.c | char *ptr; |
ptr | 3312 | drivers/block/ide-tape.c | ptr=tape->temp_data_buffer+(blocks-1)*tape->tape_block_size; |
ptr | 3313 | drivers/block/ide-tape.c | memset (ptr,0,remainder); |
ptr | 3761 | drivers/block/ide-tape.c | char *ptr; |
ptr | 3767 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 3771 | drivers/block/ide-tape.c | memcpy (ptr,bh->data,IDETAPE_ALLOCATION_BLOCK); |
ptr | 3773 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 3787 | drivers/block/ide-tape.c | char *ptr; |
ptr | 3793 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 3797 | drivers/block/ide-tape.c | memcpy (bh->data,ptr,IDETAPE_ALLOCATION_BLOCK); |
ptr | 3799 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 447 | drivers/block/rd.c | static void gzip_mark(void **ptr) |
ptr | 451 | drivers/block/rd.c | static void gzip_release(void **ptr) |
ptr | 489 | drivers/char/apm_bios.c | callback_list_t ** ptr; |
ptr | 492 | drivers/char/apm_bios.c | ptr = &callback_list; |
ptr | 493 | drivers/char/apm_bios.c | for (ptr = &callback_list; *ptr != NULL; ptr = &(*ptr)->next) |
ptr | 494 | drivers/char/apm_bios.c | if ((*ptr)->callback == callback) |
ptr | 496 | drivers/char/apm_bios.c | old = *ptr; |
ptr | 497 | drivers/char/apm_bios.c | *ptr = old->next; |
ptr | 2837 | drivers/char/istallion.c | void *ptr; |
ptr | 2846 | drivers/char/istallion.c | ptr = 0; |
ptr | 2849 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_ATPAGESIZE); |
ptr | 2853 | drivers/char/istallion.c | return(ptr); |
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_EIPAGESIZE); |
ptr | 2943 | drivers/char/istallion.c | return(ptr); |
ptr | 2978 | drivers/char/istallion.c | void *ptr; |
ptr | 2983 | drivers/char/istallion.c | ptr = 0; |
ptr | 2986 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_MCPAGESIZE); |
ptr | 2990 | drivers/char/istallion.c | return(ptr); |
ptr | 3054 | drivers/char/istallion.c | void *ptr; |
ptr | 3062 | drivers/char/istallion.c | ptr = 0; |
ptr | 3064 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_ATPAGESIZE); |
ptr | 3066 | drivers/char/istallion.c | return(ptr); |
ptr | 3140 | drivers/char/istallion.c | void *ptr; |
ptr | 3149 | drivers/char/istallion.c | ptr = 0; |
ptr | 3152 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_EIPAGESIZE); |
ptr | 3159 | drivers/char/istallion.c | return(ptr); |
ptr | 3206 | drivers/char/istallion.c | void *ptr; |
ptr | 3215 | drivers/char/istallion.c | ptr = 0; |
ptr | 3218 | drivers/char/istallion.c | ptr = brdp->membase + (offset % BBY_PAGESIZE); |
ptr | 3222 | drivers/char/istallion.c | return(ptr); |
ptr | 3265 | drivers/char/istallion.c | void *ptr; |
ptr | 3273 | drivers/char/istallion.c | ptr = 0; |
ptr | 3275 | drivers/char/istallion.c | ptr = brdp->membase + (offset % STAL_PAGESIZE); |
ptr | 3277 | 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 | 602 | drivers/net/ppp.c | ppp_free_buf (struct ppp_buffer *ptr) |
ptr | 604 | drivers/net/ppp.c | if (ptr != NULL) |
ptr | 605 | drivers/net/ppp.c | kfree (ptr); |
ptr | 2253 | drivers/net/ppp.c | u_char *ptr; |
ptr | 2262 | drivers/net/ppp.c | ptr = data.ptr; |
ptr | 2266 | drivers/net/ppp.c | error = verify_area (VERIFY_READ, ptr, nb); |
ptr | 2272 | 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 | 835 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 844 | drivers/net/slip.c | *ptr++ = END; |
ptr | 854 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 855 | drivers/net/slip.c | *ptr++ = ESC_END; |
ptr | 858 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 859 | drivers/net/slip.c | *ptr++ = ESC_ESC; |
ptr | 862 | drivers/net/slip.c | *ptr++ = c; |
ptr | 866 | drivers/net/slip.c | *ptr++ = END; |
ptr | 867 | drivers/net/slip.c | return (ptr - d); |
ptr | 916 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 928 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 940 | drivers/net/slip.c | *ptr++ = c; |
ptr | 945 | drivers/net/slip.c | *ptr++ = c; |
ptr | 947 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 948 | 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 | 3854 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = NULL; |
ptr | 3902 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = (unsigned char *) hostdata->issue_queue; |
ptr | 3905 | drivers/scsi/53c7,8xx.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->SCp.ptr; |
ptr | 3906 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) tmp->SCp.ptr); |
ptr | 3907 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = (unsigned char *) cmd; |
ptr | 4077 | drivers/scsi/53c7,8xx.c | hostdata->issue_queue = (Scsi_Cmnd *) tmp->SCp.ptr; |
ptr | 4091 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr) |
ptr | 4095 | drivers/scsi/53c7,8xx.c | prev->SCp.ptr = tmp->SCp.ptr; |
ptr | 4098 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr; |
ptr | 4099 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = NULL; |
ptr | 5498 | drivers/scsi/53c7,8xx.c | me && me != cmd; last = (Scsi_Cmnd **)&(me->SCp.ptr), |
ptr | 5499 | drivers/scsi/53c7,8xx.c | me = (Scsi_Cmnd *)me->SCp.ptr); |
ptr | 5502 | drivers/scsi/53c7,8xx.c | *last = (Scsi_Cmnd *) me->SCp.ptr; |
ptr | 5692 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5707 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(insn[3]); |
ptr | 5712 | drivers/scsi/53c7,8xx.c | buffers && !((found = ((ptr >= segment->address) && |
ptr | 5713 | drivers/scsi/53c7,8xx.c | (ptr < (segment->address + segment->length))))); |
ptr | 5721 | drivers/scsi/53c7,8xx.c | offset += ptr - segment->address; |
ptr | 5724 | drivers/scsi/53c7,8xx.c | offset = ptr - (char *) (cmd->request_buffer); |
ptr | 5754 | drivers/scsi/53c7,8xx.c | u32 *ptr; |
ptr | 5762 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(ncmd->saved_data_pointer); |
ptr | 5765 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (NCR53c7x0_read32 (DSP_REG) - |
ptr | 5769 | drivers/scsi/53c7,8xx.c | offset = insn_to_offset (cmd, ptr); |
ptr | 5795 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5812 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); |
ptr | 5813 | drivers/scsi/53c7,8xx.c | i > 0 && !check_address ((unsigned long) ptr, 1); |
ptr | 5814 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
ptr | 5816 | drivers/scsi/53c7,8xx.c | len = print_msg (ptr); |
ptr | 5871 | drivers/scsi/53c7,8xx.c | next_cmd = (Scsi_Cmnd *) cmd->SCp.ptr; |
ptr | 308 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
ptr | 313 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
ptr | 715 | drivers/scsi/NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 736 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; |
ptr | 737 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 738 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 742 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 743 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 744 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 1099 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 1969 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2005 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2024 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
ptr | 2129 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 2548 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 303 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
ptr | 309 | drivers/scsi/NCR5380.h | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 313 | drivers/scsi/NCR5380.h | limit = 65536* 2 - (((unsigned) ptr) & 0x1FFFF); |
ptr | 318 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 323 | drivers/scsi/NCR5380.h | set_dma_addr(instance->dma_channel, (unsigned int) ptr); |
ptr | 287 | drivers/scsi/NCR53c406a.c | NCR53c406a_dma_setup (unsigned char *ptr, |
ptr | 297 | drivers/scsi/NCR53c406a.c | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 301 | drivers/scsi/NCR53c406a.c | limit = (65536<<1) - (((unsigned) ptr) & 0x1FFFF); |
ptr | 307 | drivers/scsi/NCR53c406a.c | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 314 | drivers/scsi/NCR53c406a.c | set_dma_addr(dma_chan, (long) ptr); |
ptr | 383 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr); |
ptr | 472 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 474 | drivers/scsi/aha152x.c | ptr=*SC; |
ptr | 475 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 477 | drivers/scsi/aha152x.c | return ptr; |
ptr | 482 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 484 | drivers/scsi/aha152x.c | for(ptr=*SC, prev=NULL; |
ptr | 485 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
ptr | 486 | drivers/scsi/aha152x.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 489 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 491 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 493 | drivers/scsi/aha152x.c | *SC= (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 494 | drivers/scsi/aha152x.c | return ptr; |
ptr | 892 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
ptr | 898 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = (char *)SCpnt->request_buffer; |
ptr | 954 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 968 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC, prev=NULL; |
ptr | 969 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 970 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 973 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 977 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 979 | drivers/scsi/aha152x.c | ISSUE_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 982 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 983 | drivers/scsi/aha152x.c | ptr->result = DID_ABORT << 16; |
ptr | 984 | drivers/scsi/aha152x.c | ptr->scsi_done(ptr); |
ptr | 1014 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC, prev=NULL; |
ptr | 1015 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 1016 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 1019 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 1024 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1026 | drivers/scsi/aha152x.c | DISCONNECTED_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1030 | drivers/scsi/aha152x.c | CURRENT_SC = ptr; |
ptr | 1031 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
ptr | 1111 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev, *next; |
ptr | 1128 | drivers/scsi/aha152x.c | ptr=CURRENT_SC; |
ptr | 1129 | drivers/scsi/aha152x.c | if(ptr && !ptr->device->soft_reset) |
ptr | 1131 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1132 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1133 | drivers/scsi/aha152x.c | ptr->scsi_done(CURRENT_SC); |
ptr | 1139 | drivers/scsi/aha152x.c | prev=NULL; ptr=DISCONNECTED_SC; |
ptr | 1140 | drivers/scsi/aha152x.c | while(ptr) |
ptr | 1142 | drivers/scsi/aha152x.c | if(!ptr->device->soft_reset) |
ptr | 1145 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1147 | drivers/scsi/aha152x.c | DISCONNECTED_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1149 | drivers/scsi/aha152x.c | next = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1151 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1152 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1153 | drivers/scsi/aha152x.c | ptr->scsi_done(ptr); |
ptr | 1155 | drivers/scsi/aha152x.c | ptr = next; |
ptr | 1159 | drivers/scsi/aha152x.c | prev=ptr; |
ptr | 1160 | drivers/scsi/aha152x.c | ptr = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 2062 | drivers/scsi/aha152x.c | *CURRENT_SC->SCp.ptr++ = GETPORT(DATAPORT); |
ptr | 2069 | drivers/scsi/aha152x.c | insw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
ptr | 2085 | drivers/scsi/aha152x.c | data = (unsigned char *) CURRENT_SC->SCp.ptr; |
ptr | 2092 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
ptr | 2103 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
ptr | 2213 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++); |
ptr | 2220 | drivers/scsi/aha152x.c | outsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); |
ptr | 2221 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr += 2 * data_count; |
ptr | 2243 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr = |
ptr | 2259 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.ptr -= data_count; |
ptr | 2651 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr) |
ptr | 2654 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2656 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
ptr | 2659 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2661 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) printk("not issued|"); |
ptr | 2662 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) printk("in selection|"); |
ptr | 2663 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) printk("disconnected|"); |
ptr | 2664 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) printk("aborted|"); |
ptr | 2665 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
ptr | 2666 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
ptr | 2669 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
ptr | 2694 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2697 | drivers/scsi/aha152x.c | printk("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2706 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2711 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2712 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2721 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2722 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2737 | drivers/scsi/aha152x.c | static int get_command(char *pos, Scsi_Cmnd *ptr) |
ptr | 2743 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2745 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
ptr | 2746 | drivers/scsi/aha152x.c | SPRINTF("0x%02x", ptr->cmnd[i]); |
ptr | 2749 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2751 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) SPRINTF("not issued|"); |
ptr | 2752 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) SPRINTF("in selection|"); |
ptr | 2753 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) SPRINTF("disconnected|"); |
ptr | 2754 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) SPRINTF("aborted|"); |
ptr | 2755 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) SPRINTF("send_ident|"); |
ptr | 2756 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
ptr | 2759 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
ptr | 2784 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2787 | drivers/scsi/aha152x.c | SPRINTF("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2809 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2886 | drivers/scsi/aha152x.c | for(ptr=ISSUE_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2887 | drivers/scsi/aha152x.c | pos += get_command(pos, ptr); |
ptr | 2896 | drivers/scsi/aha152x.c | for(ptr=DISCONNECTED_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 2897 | drivers/scsi/aha152x.c | pos += get_command(pos, ptr); |
ptr | 611 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 622 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 629 | drivers/scsi/aha1542.c | ptr = (unsigned char *) &cptr[i]; |
ptr | 630 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 641 | drivers/scsi/aha1542.c | ptr = (unsigned char *) cptr; |
ptr | 642 | 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 | 2980 | drivers/scsi/aic7xxx.c | long *ptr; |
ptr | 2990 | drivers/scsi/aic7xxx.c | ptr = sp->w_bins; |
ptr | 2996 | drivers/scsi/aic7xxx.c | ptr = sp->r_bins; |
ptr | 3002 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
ptr | 3008 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
ptr | 74 | drivers/scsi/aic7xxx_asm.c | Realloc(void *ptr, size_t size) |
ptr | 76 | 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 | 339 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
ptr | 2252 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 2265 | drivers/scsi/scsi.c | free_pages((unsigned long)ptr, order); |
ptr | 2267 | drivers/scsi/scsi.c | kfree(ptr); |
ptr | 3010 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 3014 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 3018 | drivers/scsi/scsi.c | return scsi_register_device_module((struct Scsi_Device_Template *) ptr); |
ptr | 3033 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 3037 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 3040 | 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 | 352 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
ptr | 371 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 372 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
ptr | 377 | drivers/sound/dev_table.c | ptr = j; |
ptr | 379 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 383 | drivers/sound/dev_table.c | snd_installed_cards[ptr].enabled = 1; |
ptr | 384 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
ptr | 385 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
ptr | 386 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
ptr | 387 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma2 = -1; |
ptr | 388 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.name = NULL; |
ptr | 389 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.always_detect = 0; |
ptr | 390 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_1 = 0; |
ptr | 391 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.driver_use_2 = 0; |
ptr | 392 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.card_subtype = 0; |
ptr | 393 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.osp = NULL; |
ptr | 403 | drivers/sound/dev_table.c | int j, ptr; |
ptr | 406 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 407 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1 && snd_installed_cards[j].card_type; j++) |
ptr | 409 | drivers/sound/dev_table.c | ptr = j; |
ptr | 411 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 414 | drivers/sound/dev_table.c | return &snd_installed_cards[ptr].config; |
ptr | 830 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
ptr | 832 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 848 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
ptr | 850 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 2553 | drivers/sound/gus_wave.c | int ptr = patch_table[i]; |
ptr | 2557 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample) |
ptr | 2560 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2568 | drivers/sound/gus_wave.c | int ptr = patch_table[rec->parm1]; |
ptr | 2572 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample) |
ptr | 2574 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
ptr | 2575 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2584 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2587 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2590 | drivers/sound/gus_wave.c | memcpy (rec->data.data8, (char *) &samples[ptr], |
ptr | 2596 | drivers/sound/gus_wave.c | rec->parm1 = sample_ptrs[ptr]; /* DRAM location */ |
ptr | 2604 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2607 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2612 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
ptr | 2615 | drivers/sound/gus_wave.c | pat->key = samples[ptr].key; /* Ensure the link is correct */ |
ptr | 2617 | drivers/sound/gus_wave.c | memcpy ((char *) &samples[ptr], rec->data.data8, |
ptr | 2719 | drivers/sound/gus_wave.c | p = alloc->ptr; |
ptr | 2728 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2747 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2756 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 163 | drivers/sound/sound_config.h | int ptr; /* For device specific use */ |
ptr | 313 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 319 | fs/proc/array.c | if (!p || !p->mm || ptr >= TASK_SIZE) |
ptr | 321 | fs/proc/array.c | page_dir = pgd_offset(p->mm,ptr); |
ptr | 329 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 337 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 340 | 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 | 138 | include/asm-alpha/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 139 | include/asm-alpha/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 151 | include/asm-alpha/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 155 | include/asm-alpha/system.h | return xchg_u32(ptr, x); |
ptr | 157 | 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 | 196 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int size); |
ptr | 619 | include/linux/soundcard.h | int ptr; /* Current DMA pointer value */ |
ptr | 58 | 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 | 666 | net/appletalk/ddp.c | static int ddp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 671 | net/appletalk/ddp.c | atrtr_device_down((struct device *)ptr); |
ptr | 672 | net/appletalk/ddp.c | atif_drop_device((struct device *)ptr); |
ptr | 227 | net/ax25/af_ax25.c | static int ax25_device_event(struct notifier_block *this,unsigned long event, void *ptr) |
ptr | 229 | net/ax25/af_ax25.c | struct device *dev = (struct device *)ptr; |
ptr | 2180 | net/ax25/af_ax25.c | unsigned char *ptr; |
ptr | 2207 | net/ax25/af_ax25.c | ptr = skb_push(skb, 2); |
ptr | 2209 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
ptr | 2210 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
ptr | 2220 | net/ax25/af_ax25.c | ptr = skb_push(skb, 1); |
ptr | 2221 | net/ax25/af_ax25.c | *ptr++ = 0; /* KISS */ |
ptr | 214 | net/ax25/ax25_out.c | unsigned char *ptr; |
ptr | 234 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
ptr | 235 | 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 | 90 | net/ipv4/ip_forward.c | unsigned char *ptr; /* Data pointer */ |
ptr | 293 | net/ipv4/ip_forward.c | ptr = skb_put(skb2,skb->len); |
ptr | 295 | net/ipv4/ip_forward.c | skb2->h.raw = ptr; |
ptr | 300 | 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 | 1064 | net/ipv4/ip_output.c | static int ip_rt_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 1066 | net/ipv4/ip_output.c | struct device *dev=ptr; |
ptr | 671 | net/ipv4/ipmr.c | static int ipmr_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 680 | net/ipv4/ipmr.c | if((vifc_map&(1<<ct)) && v->dev==ptr) |
ptr | 161 | net/ipv4/rarp.c | static int rarp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 165 | net/ipv4/rarp.c | rarp_destroy_dev((struct device *)ptr); |
ptr | 2845 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 2849 | net/ipv4/tcp.c | ptr = (unsigned char *)(th + 1); |
ptr | 2853 | net/ipv4/tcp.c | int opcode=*ptr++; |
ptr | 2854 | net/ipv4/tcp.c | int opsize=*ptr++; |
ptr | 2861 | net/ipv4/tcp.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 2872 | net/ipv4/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 2878 | net/ipv4/tcp.c | ptr+=opsize-2; |
ptr | 2934 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 3200 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
ptr | 3201 | net/ipv4/tcp.c | ptr[0] = 2; |
ptr | 3202 | net/ipv4/tcp.c | ptr[1] = 4; |
ptr | 3203 | net/ipv4/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 3204 | net/ipv4/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 4414 | net/ipv4/tcp.c | u32 ptr = ntohs(th->urg_ptr); |
ptr | 4416 | net/ipv4/tcp.c | if (ptr) |
ptr | 4417 | net/ipv4/tcp.c | ptr--; |
ptr | 4418 | net/ipv4/tcp.c | ptr += ntohl(th->seq); |
ptr | 4421 | net/ipv4/tcp.c | if (after(sk->copied_seq, ptr)) |
ptr | 4425 | net/ipv4/tcp.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 4437 | net/ipv4/tcp.c | sk->urg_seq = ptr; |
ptr | 4447 | net/ipv4/tcp.c | u32 ptr; |
ptr | 4467 | net/ipv4/tcp.c | ptr = sk->urg_seq - ntohl(th->seq) + th->doff*4; |
ptr | 4468 | net/ipv4/tcp.c | if (ptr >= len) |
ptr | 4475 | net/ipv4/tcp.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 4548 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 4679 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
ptr | 4680 | net/ipv4/tcp.c | ptr[0] = 2; |
ptr | 4681 | net/ipv4/tcp.c | ptr[1] = 4; |
ptr | 4682 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 4683 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
ptr | 307 | net/ipx/af_ipx.c | ipxitf_device_event(struct notifier_block *notifier, unsigned long event, void *ptr) |
ptr | 309 | net/ipx/af_ipx.c | struct device *dev = ptr; |
ptr | 127 | net/netrom/af_netrom.c | static int nr_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 129 | net/netrom/af_netrom.c | struct device *dev = (struct device *)ptr; |