tag | line | file | source code |
ptr | 460 | arch/alpha/kernel/alcor.c | unsigned long *ptr; |
ptr | 463 | arch/alpha/kernel/alcor.c | ptr = (unsigned long *)la_ptr; |
ptr | 465 | arch/alpha/kernel/alcor.c | printk(" +%lx %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]); |
ptr | 508 | arch/alpha/kernel/apecs.c | unsigned long *ptr; |
ptr | 511 | arch/alpha/kernel/apecs.c | ptr = (unsigned long *)la_ptr; |
ptr | 513 | arch/alpha/kernel/apecs.c | printk(" +%lx %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]); |
ptr | 159 | arch/i386/boot/compressed/misc.c | static void gzip_mark(void **ptr) |
ptr | 161 | arch/i386/boot/compressed/misc.c | *ptr = (void *) free_mem_ptr; |
ptr | 164 | arch/i386/boot/compressed/misc.c | static void gzip_release(void **ptr) |
ptr | 166 | arch/i386/boot/compressed/misc.c | free_mem_ptr = (long) *ptr; |
ptr | 313 | arch/i386/boot/compressed/misc.c | static void gzip_mark(void **ptr) |
ptr | 317 | 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 | 62 | arch/i386/kernel/ldt.c | static int write_ldt(void * ptr, unsigned long bytecount) |
ptr | 70 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_READ, ptr, sizeof(ldt_info)); |
ptr | 74 | arch/i386/kernel/ldt.c | memcpy_fromfs(&ldt_info, ptr, sizeof(ldt_info)); |
ptr | 115 | arch/i386/kernel/ldt.c | asmlinkage int sys_modify_ldt(int func, void *ptr, unsigned long bytecount) |
ptr | 118 | arch/i386/kernel/ldt.c | return read_ldt(ptr, bytecount); |
ptr | 120 | 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 | 545 | arch/m68k/amiga/amifb.c | #define assignchunk(name, type, ptr, size) \ |
ptr | 547 | arch/m68k/amiga/amifb.c | (name) = (type)(ptr); \ |
ptr | 548 | arch/m68k/amiga/amifb.c | ptr += size; \ |
ptr | 4121 | arch/m68k/amiga/amifb.c | u_long ptr; |
ptr | 4124 | arch/m68k/amiga/amifb.c | if (!(ptr = (u_long)amiga_chip_alloc(size))) |
ptr | 4126 | arch/m68k/amiga/amifb.c | memset((void *)ptr, 0, size); |
ptr | 4127 | arch/m68k/amiga/amifb.c | ptr = PAGE_ALIGN(ptr); |
ptr | 4129 | arch/m68k/amiga/amifb.c | return(ptr); |
ptr | 20 | arch/m68k/amiga/amipart.c | static ulong checksum (ulong *ptr, int len) |
ptr | 26 | arch/m68k/amiga/amipart.c | sum += ptr[cnt]; |
ptr | 22 | arch/m68k/amiga/chipram.c | #define DP(ptr) ((struct chip_desc *)(ptr)) |
ptr | 68 | arch/m68k/amiga/chipram.c | void *ptr; |
ptr | 96 | arch/m68k/amiga/chipram.c | ptr = (void *)(dp+1); |
ptr | 97 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)ptr + dp->length); |
ptr | 119 | arch/m68k/amiga/chipram.c | ptr = (void *)(dp+1); |
ptr | 120 | arch/m68k/amiga/chipram.c | dp = DP((unsigned long)ptr + size); |
ptr | 126 | arch/m68k/amiga/chipram.c | printk ("chip_alloc: returning %p\n", ptr); |
ptr | 129 | arch/m68k/amiga/chipram.c | if ((unsigned long)ptr & 7) |
ptr | 132 | arch/m68k/amiga/chipram.c | return ptr; |
ptr | 135 | arch/m68k/amiga/chipram.c | void amiga_chip_free (void *ptr) |
ptr | 137 | arch/m68k/amiga/chipram.c | struct chip_desc *sdp = DP(ptr) - 1, *dp2; |
ptr | 138 | arch/m68k/amiga/chipram.c | struct chip_desc *edp = DP((unsigned long)ptr + sdp->length); |
ptr | 20 | arch/m68k/atari/stram.c | #define DP(ptr) ((struct stram_desc *) (ptr)) |
ptr | 55 | arch/m68k/atari/stram.c | void *ptr; |
ptr | 84 | arch/m68k/atari/stram.c | ptr = (void *) (dp + 1); |
ptr | 85 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) ptr + dp->length); |
ptr | 109 | arch/m68k/atari/stram.c | ptr = (void *) (dp + 1); |
ptr | 110 | arch/m68k/atari/stram.c | dp = DP ((unsigned long) ptr + size); |
ptr | 116 | arch/m68k/atari/stram.c | printk ("stram_alloc: returning %p\n", ptr); |
ptr | 118 | arch/m68k/atari/stram.c | return ptr; |
ptr | 122 | arch/m68k/atari/stram.c | atari_stram_free (void *ptr) |
ptr | 124 | arch/m68k/atari/stram.c | struct stram_desc *sdp = DP (ptr) - 1, *dp2; |
ptr | 125 | arch/m68k/atari/stram.c | struct stram_desc *edp = DP ((unsigned long) ptr + sdp->length); |
ptr | 235 | arch/m68k/atari/stram.c | void atari_stram_free( void *ptr ) |
ptr | 96 | arch/m68k/kernel/sys_m68k.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 106 | arch/m68k/kernel/sys_m68k.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 112 | arch/m68k/kernel/sys_m68k.c | if (!ptr) |
ptr | 114 | arch/m68k/kernel/sys_m68k.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 116 | arch/m68k/kernel/sys_m68k.c | fourth.__pad = get_user((void **)ptr); |
ptr | 125 | arch/m68k/kernel/sys_m68k.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 132 | arch/m68k/kernel/sys_m68k.c | if (!ptr) |
ptr | 134 | arch/m68k/kernel/sys_m68k.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 136 | arch/m68k/kernel/sys_m68k.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 141 | arch/m68k/kernel/sys_m68k.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 146 | arch/m68k/kernel/sys_m68k.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 159 | arch/m68k/kernel/sys_m68k.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 168 | arch/m68k/kernel/sys_m68k.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 171 | arch/m68k/kernel/sys_m68k.c | return sys_shmdt ((char *)ptr); |
ptr | 175 | arch/m68k/kernel/sys_m68k.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
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 | 109 | arch/sparc/kernel/smp.c | static inline unsigned long swap(volatile unsigned long *ptr, unsigned long val) |
ptr | 112 | arch/sparc/kernel/smp.c | "=&r" (val), "=&r" (ptr) : |
ptr | 113 | arch/sparc/kernel/smp.c | "0" (val), "1" (ptr)); |
ptr | 420 | arch/sparc/kernel/sparc-stub.c | hexToInt(char **ptr, int *intValue) |
ptr | 427 | arch/sparc/kernel/sparc-stub.c | while (**ptr) { |
ptr | 428 | arch/sparc/kernel/sparc-stub.c | hexValue = hex(**ptr); |
ptr | 435 | arch/sparc/kernel/sparc-stub.c | (*ptr)++; |
ptr | 456 | arch/sparc/kernel/sparc-stub.c | char *ptr; |
ptr | 490 | arch/sparc/kernel/sparc-stub.c | ptr = remcomOutBuffer; |
ptr | 492 | arch/sparc/kernel/sparc-stub.c | *ptr++ = 'T'; |
ptr | 493 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[sigval >> 4]; |
ptr | 494 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[sigval & 0xf]; |
ptr | 496 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[PC >> 4]; |
ptr | 497 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[PC & 0xf]; |
ptr | 498 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 499 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[PC], ptr, 4); |
ptr | 500 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 502 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[FP >> 4]; |
ptr | 503 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[FP & 0xf]; |
ptr | 504 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 505 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *) (sp + 8 + 6), ptr, 4); /* FP */ |
ptr | 506 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 508 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[SP >> 4]; |
ptr | 509 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[SP & 0xf]; |
ptr | 510 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 511 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)&sp, ptr, 4); |
ptr | 512 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 514 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[NPC >> 4]; |
ptr | 515 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[NPC & 0xf]; |
ptr | 516 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 517 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[NPC], ptr, 4); |
ptr | 518 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 520 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[O7 >> 4]; |
ptr | 521 | arch/sparc/kernel/sparc-stub.c | *ptr++ = hexchars[O7 & 0xf]; |
ptr | 522 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ':'; |
ptr | 523 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)®isters[O7], ptr, 4); |
ptr | 524 | arch/sparc/kernel/sparc-stub.c | *ptr++ = ';'; |
ptr | 526 | arch/sparc/kernel/sparc-stub.c | *ptr++ = 0; |
ptr | 554 | arch/sparc/kernel/sparc-stub.c | ptr = remcomOutBuffer; |
ptr | 556 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *)registers, ptr, 16 * 4); |
ptr | 558 | arch/sparc/kernel/sparc-stub.c | ptr = mem2hex((char *) (sp + 0), ptr, 16 * 4); |
ptr | 560 | arch/sparc/kernel/sparc-stub.c | memset(ptr, '0', 32 * 8); |
ptr | 562 | arch/sparc/kernel/sparc-stub.c | mem2hex((char *)®isters[Y], (ptr + 32 * 4 * 2), (8 * 4)); |
ptr | 572 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 574 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr, (char *)registers, 16 * 4); |
ptr | 576 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr + 16 * 4 * 2, (char *) (sp + 0), 16 * 4); |
ptr | 578 | arch/sparc/kernel/sparc-stub.c | hex2mem(ptr + 64 * 4 * 2, (char *)®isters[Y], 8 * 4); |
ptr | 602 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 604 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 605 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ',' |
ptr | 606 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length)) { |
ptr | 619 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 621 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
ptr | 622 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ',' |
ptr | 623 | arch/sparc/kernel/sparc-stub.c | && hexToInt(&ptr, &length) |
ptr | 624 | arch/sparc/kernel/sparc-stub.c | && *ptr++ == ':') { |
ptr | 625 | arch/sparc/kernel/sparc-stub.c | if (hex2mem(ptr, (char *)addr, length)) { |
ptr | 638 | arch/sparc/kernel/sparc-stub.c | ptr = &remcomInBuffer[1]; |
ptr | 639 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr)) { |
ptr | 83 | arch/sparc/kernel/sys_sparc.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 93 | arch/sparc/kernel/sys_sparc.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 99 | arch/sparc/kernel/sys_sparc.c | if (!ptr) |
ptr | 101 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 103 | arch/sparc/kernel/sys_sparc.c | fourth.__pad = (void *) get_fs_long(ptr); |
ptr | 112 | arch/sparc/kernel/sys_sparc.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 119 | arch/sparc/kernel/sys_sparc.c | if (!ptr) |
ptr | 121 | arch/sparc/kernel/sys_sparc.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 123 | arch/sparc/kernel/sys_sparc.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 128 | arch/sparc/kernel/sys_sparc.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 133 | arch/sparc/kernel/sys_sparc.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 146 | arch/sparc/kernel/sys_sparc.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 155 | arch/sparc/kernel/sys_sparc.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 158 | arch/sparc/kernel/sys_sparc.c | return sys_shmdt ((char *)ptr); |
ptr | 162 | arch/sparc/kernel/sys_sparc.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 128 | arch/sparc/mm/srmmu.c | #define srmmu_set_entry(ptr, newentry) \ |
ptr | 129 | arch/sparc/mm/srmmu.c | srmmu_swap((unsigned long *) (ptr), (newentry)) |
ptr | 547 | drivers/block/amiflop.c | unsigned long *ptr = (unsigned long *)raw; |
ptr | 552 | drivers/block/amiflop.c | *ptr++ = 0xaaaaaaaa; |
ptr | 556 | drivers/block/amiflop.c | ptr = putsec (disk, ptr, track, cnt, data + cnt*512); |
ptr | 557 | drivers/block/amiflop.c | *(ushort *)ptr = (ptr[-1]&1) ? 0x2AA8 : 0xAAA8; |
ptr | 558 | drivers/block/amiflop.c | raw = (unsigned long)ptr + 2; |
ptr | 593 | drivers/block/amiflop.c | ushort *ptr = (ushort *)raw, *endp = (ushort *)end; |
ptr | 595 | drivers/block/amiflop.c | while (ptr < endp && *ptr++ != 0x4489) |
ptr | 597 | drivers/block/amiflop.c | if (ptr < endp) { |
ptr | 598 | drivers/block/amiflop.c | while (*ptr == 0x4489 && ptr < endp) |
ptr | 599 | drivers/block/amiflop.c | ptr++; |
ptr | 600 | drivers/block/amiflop.c | return (ulong)ptr; |
ptr | 831 | drivers/block/amiflop.c | static void dbg(unsigned long ptr) |
ptr | 833 | drivers/block/amiflop.c | printk("raw data @%08lx: %08lx, %08lx ,%08lx, %08lx\n",ptr, |
ptr | 834 | drivers/block/amiflop.c | ((ulong *)ptr)[0],((ulong *)ptr)[1],((ulong *)ptr)[2],((ulong *)ptr)[3]); |
ptr | 1013 | drivers/block/amiflop.c | unsigned long *ptr=(unsigned long *)raw; |
ptr | 1018 | drivers/block/amiflop.c | *ptr++=0x92549254; |
ptr | 1023 | drivers/block/amiflop.c | *ptr++=0x92549254; |
ptr | 1027 | drivers/block/amiflop.c | *ptr++=0x92549254; |
ptr | 1029 | drivers/block/amiflop.c | *ptr++=0xaaaaaaaa; |
ptr | 1030 | drivers/block/amiflop.c | *ptr++=0x52245224; |
ptr | 1031 | drivers/block/amiflop.c | *ptr++=0x52245552; |
ptr | 1033 | drivers/block/amiflop.c | *ptr++=0x92549254; |
ptr | 1037 | drivers/block/amiflop.c | ptr=ms_putsec(disk,ptr,track,cnt,data+cnt*512); |
ptr | 1039 | drivers/block/amiflop.c | *(ushort *)ptr = 0xaaa8; /* MFM word before is always 0x9254 */ |
ptr | 2932 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr) |
ptr | 2937 | drivers/block/floppy.c | while(ptr) { |
ptr | 2939 | drivers/block/floppy.c | old_raw_cmd.flags = ptr->flags; |
ptr | 2940 | drivers/block/floppy.c | old_raw_cmd.data = ptr->data; |
ptr | 2941 | drivers/block/floppy.c | old_raw_cmd.length = ptr->length; |
ptr | 2942 | drivers/block/floppy.c | old_raw_cmd.rate = ptr->rate; |
ptr | 2943 | drivers/block/floppy.c | old_raw_cmd.reply_count = ptr->reply_count; |
ptr | 2944 | drivers/block/floppy.c | memcpy(old_raw_cmd.reply, ptr->reply, 7); |
ptr | 2948 | drivers/block/floppy.c | COPYOUT(*ptr); |
ptr | 2952 | drivers/block/floppy.c | if ((ptr->flags & FD_RAW_READ) && ptr->buffer_length){ |
ptr | 2953 | drivers/block/floppy.c | if (ptr->length>=0 && ptr->length<=ptr->buffer_length) |
ptr | 2954 | drivers/block/floppy.c | ECALL(fd_copyout(ptr->data, |
ptr | 2955 | drivers/block/floppy.c | ptr->kernel_data, |
ptr | 2956 | drivers/block/floppy.c | ptr->buffer_length - |
ptr | 2957 | drivers/block/floppy.c | ptr->length)); |
ptr | 2959 | drivers/block/floppy.c | ptr = ptr->next; |
ptr | 2965 | drivers/block/floppy.c | static void raw_cmd_free(struct floppy_raw_cmd **ptr) |
ptr | 2969 | drivers/block/floppy.c | this = *ptr; |
ptr | 2970 | drivers/block/floppy.c | *ptr = 0; |
ptr | 2987 | drivers/block/floppy.c | struct floppy_raw_cmd *ptr; |
ptr | 2994 | drivers/block/floppy.c | ptr = (struct floppy_raw_cmd *) |
ptr | 2996 | drivers/block/floppy.c | if (!ptr) |
ptr | 2998 | drivers/block/floppy.c | *rcmd = ptr; |
ptr | 3001 | drivers/block/floppy.c | ptr->flags = old_raw_cmd.flags; |
ptr | 3002 | drivers/block/floppy.c | ptr->data = old_raw_cmd.data; |
ptr | 3003 | drivers/block/floppy.c | ptr->length = old_raw_cmd.length; |
ptr | 3004 | drivers/block/floppy.c | ptr->rate = old_raw_cmd.rate; |
ptr | 3005 | drivers/block/floppy.c | ptr->cmd_count = old_raw_cmd.cmd_count; |
ptr | 3006 | drivers/block/floppy.c | ptr->track = old_raw_cmd.track; |
ptr | 3007 | drivers/block/floppy.c | ptr->phys_length = 0; |
ptr | 3008 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 3009 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 3010 | drivers/block/floppy.c | memcpy(ptr->cmd, old_raw_cmd.cmd, 9); |
ptr | 3012 | drivers/block/floppy.c | if (ptr->cmd_count > 9) |
ptr | 3015 | drivers/block/floppy.c | COPYIN(*ptr); |
ptr | 3016 | drivers/block/floppy.c | ptr->next = 0; |
ptr | 3017 | drivers/block/floppy.c | ptr->buffer_length = 0; |
ptr | 3019 | drivers/block/floppy.c | if (ptr->cmd_count > 33) |
ptr | 3032 | drivers/block/floppy.c | ptr->reply[i] = 0; |
ptr | 3033 | drivers/block/floppy.c | ptr->resultcode = 0; |
ptr | 3034 | drivers/block/floppy.c | ptr->kernel_data = 0; |
ptr | 3036 | drivers/block/floppy.c | if (ptr->flags & (FD_RAW_READ | FD_RAW_WRITE)) { |
ptr | 3037 | drivers/block/floppy.c | if (ptr->length <= 0) |
ptr | 3039 | drivers/block/floppy.c | ptr->kernel_data =(char*)dma_mem_alloc(ptr->length); |
ptr | 3040 | drivers/block/floppy.c | if (!ptr->kernel_data) |
ptr | 3042 | drivers/block/floppy.c | ptr->buffer_length = ptr->length; |
ptr | 3044 | drivers/block/floppy.c | if ( ptr->flags & FD_RAW_READ ) |
ptr | 3045 | drivers/block/floppy.c | ECALL( verify_area( VERIFY_WRITE, ptr->data, |
ptr | 3046 | drivers/block/floppy.c | ptr->length )); |
ptr | 3047 | drivers/block/floppy.c | if (ptr->flags & FD_RAW_WRITE) |
ptr | 3048 | drivers/block/floppy.c | ECALL(fd_copyin(ptr->data, ptr->kernel_data, |
ptr | 3049 | drivers/block/floppy.c | ptr->length)); |
ptr | 3050 | drivers/block/floppy.c | rcmd = & (ptr->next); |
ptr | 3051 | drivers/block/floppy.c | if (!(ptr->flags & FD_RAW_MORE)) |
ptr | 3053 | drivers/block/floppy.c | ptr->rate &= 0x43; |
ptr | 4158 | drivers/block/floppy.c | char *ptr; |
ptr | 4162 | drivers/block/floppy.c | for(ptr = cfg;*cfg && *cfg != ' ' && *cfg != '\t'; cfg++); |
ptr | 4167 | drivers/block/floppy.c | if(*ptr) |
ptr | 4168 | drivers/block/floppy.c | floppy_setup(get_options(ptr,ints),ints); |
ptr | 1026 | drivers/block/ide-tape.c | unsigned short *ptr; |
ptr | 1032 | drivers/block/ide-tape.c | ptr=(unsigned short *) &gcw; |
ptr | 1033 | drivers/block/ide-tape.c | *ptr=id->config; |
ptr | 2485 | drivers/block/ide-tape.c | unsigned long *ptr; |
ptr | 2501 | drivers/block/ide-tape.c | ptr=(unsigned long *) &(pc->c[3]); |
ptr | 2502 | drivers/block/ide-tape.c | *ptr=idetape_swap_long (block); |
ptr | 4376 | drivers/block/ide-tape.c | char *ptr; |
ptr | 4388 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 4398 | drivers/block/ide-tape.c | memcpy (ptr,bh->data,IDETAPE_ALLOCATION_BLOCK); |
ptr | 4400 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 4414 | drivers/block/ide-tape.c | char *ptr; |
ptr | 4426 | drivers/block/ide-tape.c | ptr=buffer; |
ptr | 4436 | drivers/block/ide-tape.c | memcpy (bh->data,ptr,IDETAPE_ALLOCATION_BLOCK); |
ptr | 4438 | drivers/block/ide-tape.c | ptr=ptr+IDETAPE_ALLOCATION_BLOCK; |
ptr | 592 | drivers/block/rd.c | static void gzip_mark(void **ptr) |
ptr | 596 | drivers/block/rd.c | static void gzip_release(void **ptr) |
ptr | 547 | drivers/char/apm_bios.c | callback_list_t ** ptr; |
ptr | 550 | drivers/char/apm_bios.c | ptr = &callback_list; |
ptr | 551 | drivers/char/apm_bios.c | for (ptr = &callback_list; *ptr != NULL; ptr = &(*ptr)->next) |
ptr | 552 | drivers/char/apm_bios.c | if ((*ptr)->callback == callback) |
ptr | 554 | drivers/char/apm_bios.c | old = *ptr; |
ptr | 555 | drivers/char/apm_bios.c | *ptr = old->next; |
ptr | 811 | drivers/char/ftape/fdc-io.c | TRACEx2(5, "xfer %d sectors to 0x%p", buff->sector_count, buff->ptr); |
ptr | 840 | drivers/char/ftape/fdc-io.c | TRACEx2(5, "xfer %d sectors from 0x%p", buff->sector_count, buff->ptr); |
ptr | 853 | drivers/char/ftape/fdc-io.c | set_dma_addr(fdc.dma, (unsigned) buff->ptr); |
ptr | 201 | drivers/char/ftape/fdc-isr.c | buff->ptr += SECTOR_SIZE; |
ptr | 273 | drivers/char/ftape/fdc-isr.c | buff->ptr += buff->sector_count * SECTOR_SIZE; |
ptr | 402 | drivers/char/ftape/fdc-isr.c | buff->bytes = buff->ptr - buff->address; |
ptr | 415 | drivers/char/ftape/fdc-isr.c | buff->bytes = buff->ptr - buff->address; |
ptr | 90 | drivers/char/ftape/ftape-bsm.c | find_end_of_bsm_list(byte * ptr, byte * limit) |
ptr | 92 | drivers/char/ftape/ftape-bsm.c | while (ptr + 2 < limit) { |
ptr | 93 | drivers/char/ftape/ftape-bsm.c | if (ptr[0] || ptr[1] || ptr[2]) { |
ptr | 94 | drivers/char/ftape/ftape-bsm.c | ptr += 3; |
ptr | 96 | drivers/char/ftape/ftape-bsm.c | return ptr; |
ptr | 121 | drivers/char/ftape/ftape-bsm.c | void put_sector(byte ** ptr, unsigned long sector) |
ptr | 123 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
ptr | 125 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
ptr | 127 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
ptr | 130 | drivers/char/ftape/ftape-bsm.c | unsigned long get_sector(byte ** ptr, mode_type mode) |
ptr | 135 | drivers/char/ftape/ftape-bsm.c | sector = *(*ptr)++; |
ptr | 136 | drivers/char/ftape/ftape-bsm.c | sector += *(*ptr)++ << 8; |
ptr | 137 | drivers/char/ftape/ftape-bsm.c | sector += *(*ptr)++ << 16; |
ptr | 139 | drivers/char/ftape/ftape-bsm.c | sector = *--(*ptr) << 16; |
ptr | 140 | drivers/char/ftape/ftape-bsm.c | sector += *--(*ptr) << 8; |
ptr | 141 | drivers/char/ftape/ftape-bsm.c | sector += *--(*ptr); |
ptr | 206 | drivers/char/ftape/ftape-bsm.c | byte *ptr = bad_sector_map; |
ptr | 210 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(&ptr, forward); |
ptr | 224 | drivers/char/ftape/ftape-bsm.c | sector = *((unsigned short *) ptr)++; |
ptr | 227 | drivers/char/ftape/ftape-bsm.c | *((unsigned short *) ptr)++); |
ptr | 267 | drivers/char/ftape/ftape-bsm.c | int forward_seek_entry(int segment_id, byte ** ptr, unsigned long *map) |
ptr | 275 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, forward); |
ptr | 278 | drivers/char/ftape/ftape-bsm.c | tmp_ptr = *ptr - 3; /* point to first sector >= segment_id */ |
ptr | 289 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, forward); |
ptr | 294 | drivers/char/ftape/ftape-bsm.c | *ptr = tmp_ptr; |
ptr | 298 | drivers/char/ftape/ftape-bsm.c | int backwards_seek_entry(int segment_id, byte ** ptr, unsigned long *map) |
ptr | 305 | drivers/char/ftape/ftape-bsm.c | if (*ptr > bad_sector_map) { |
ptr | 307 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, backward); |
ptr | 309 | drivers/char/ftape/ftape-bsm.c | } while (*ptr > bad_sector_map && segment > segment_id); |
ptr | 315 | drivers/char/ftape/ftape-bsm.c | *ptr += 3; |
ptr | 325 | drivers/char/ftape/ftape-bsm.c | if (*ptr <= bad_sector_map) { |
ptr | 328 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, backward); |
ptr | 332 | drivers/char/ftape/ftape-bsm.c | *ptr += 3; |
ptr | 344 | drivers/char/ftape/ftape-bsm.c | byte *ptr = bad_sector_map; |
ptr | 350 | drivers/char/ftape/ftape-bsm.c | count = forward_seek_entry(segment_id, &ptr, &map); |
ptr | 361 | drivers/char/ftape/ftape-bsm.c | byte *hi_ptr = ptr; |
ptr | 365 | drivers/char/ftape/ftape-bsm.c | memmove(ptr + new_count, ptr + count, hi_ptr - (ptr + count)); |
ptr | 368 | drivers/char/ftape/ftape-bsm.c | put_sector(&ptr, 0x800001 + segment_id * SECTORS_PER_SEGMENT); |
ptr | 374 | drivers/char/ftape/ftape-bsm.c | put_sector(&ptr, 1 + segment_id * SECTORS_PER_SEGMENT + i); |
ptr | 406 | drivers/char/ftape/ftape-bsm.c | static byte *ptr = bad_sector_map; |
ptr | 411 | drivers/char/ftape/ftape-bsm.c | forward_seek_entry(segment_id, &ptr, &map); |
ptr | 415 | drivers/char/ftape/ftape-bsm.c | backwards_seek_entry(segment_id, &ptr, &map); |
ptr | 59 | drivers/char/ftape/ftape-bsm.h | extern byte *find_end_of_bsm_list(byte * ptr, byte * limit); |
ptr | 136 | drivers/char/ftape/ftape-eof.c | find_end_of_eof_list(byte * ptr, byte * limit) |
ptr | 138 | drivers/char/ftape/ftape-eof.c | while (ptr + 3 < limit) { |
ptr | 139 | drivers/char/ftape/ftape-eof.c | if (*(unsigned long *) ptr) { |
ptr | 140 | drivers/char/ftape/ftape-eof.c | ++(unsigned long *) ptr; |
ptr | 142 | drivers/char/ftape/ftape-eof.c | return ptr; |
ptr | 214 | drivers/char/ftape/ftape-eof.c | eof_mark_union *ptr; |
ptr | 219 | drivers/char/ftape/ftape-eof.c | for (index = 0, ptr = &eof_map[0]; |
ptr | 220 | drivers/char/ftape/ftape-eof.c | index < nr_of_eof_marks && ptr->mark.segment < segment; |
ptr | 221 | drivers/char/ftape/ftape-eof.c | ++index, ++ptr) { |
ptr | 224 | drivers/char/ftape/ftape-eof.c | if (ptr->mark.segment == segment) { |
ptr | 226 | drivers/char/ftape/ftape-eof.c | if (ptr->mark.sector == sector) { |
ptr | 231 | drivers/char/ftape/ftape-eof.c | ptr->mark.segment, ptr->mark.sector, index, |
ptr | 233 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
ptr | 240 | drivers/char/ftape/ftape-eof.c | ptr->mark.segment, ptr->mark.sector); |
ptr | 241 | drivers/char/ftape/ftape-eof.c | memmove(ptr + 1, ptr, (nr_of_eof_marks - index) * sizeof(*eof_map)); |
ptr | 242 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
ptr | 250 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
ptr | 128 | drivers/char/ftape/ftape-rw.c | buff->ptr = buff->address + buff->data_offset * SECTOR_SIZE; |
ptr | 56 | drivers/char/ftape/ftape-rw.h | volatile byte *ptr; |
ptr | 2854 | drivers/char/istallion.c | void *ptr; |
ptr | 2863 | drivers/char/istallion.c | ptr = 0; |
ptr | 2866 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_ATPAGESIZE); |
ptr | 2870 | drivers/char/istallion.c | return(ptr); |
ptr | 2941 | drivers/char/istallion.c | void *ptr; |
ptr | 2950 | drivers/char/istallion.c | ptr = 0; |
ptr | 2953 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_EIPAGESIZE); |
ptr | 2960 | drivers/char/istallion.c | return(ptr); |
ptr | 2995 | drivers/char/istallion.c | void *ptr; |
ptr | 3000 | drivers/char/istallion.c | ptr = 0; |
ptr | 3003 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_MCPAGESIZE); |
ptr | 3007 | drivers/char/istallion.c | return(ptr); |
ptr | 3071 | drivers/char/istallion.c | void *ptr; |
ptr | 3079 | drivers/char/istallion.c | ptr = 0; |
ptr | 3081 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_ATPAGESIZE); |
ptr | 3083 | drivers/char/istallion.c | return(ptr); |
ptr | 3157 | drivers/char/istallion.c | void *ptr; |
ptr | 3166 | drivers/char/istallion.c | ptr = 0; |
ptr | 3169 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_EIPAGESIZE); |
ptr | 3176 | drivers/char/istallion.c | return(ptr); |
ptr | 3223 | drivers/char/istallion.c | void *ptr; |
ptr | 3232 | drivers/char/istallion.c | ptr = 0; |
ptr | 3235 | drivers/char/istallion.c | ptr = brdp->membase + (offset % BBY_PAGESIZE); |
ptr | 3239 | drivers/char/istallion.c | return(ptr); |
ptr | 3282 | drivers/char/istallion.c | void *ptr; |
ptr | 3290 | drivers/char/istallion.c | ptr = 0; |
ptr | 3292 | drivers/char/istallion.c | ptr = brdp->membase + (offset % STAL_PAGESIZE); |
ptr | 3294 | drivers/char/istallion.c | return(ptr); |
ptr | 398 | drivers/isdn/pcbit/drv.c | u_char * ptr = NULL; |
ptr | 442 | drivers/isdn/pcbit/drv.c | if ((ptr = kmalloc(len, GFP_KERNEL))==NULL) |
ptr | 444 | drivers/isdn/pcbit/drv.c | memcpy_fromfs(ptr, buf, len); |
ptr | 445 | drivers/isdn/pcbit/drv.c | loadbuf = ptr; |
ptr | 456 | drivers/isdn/pcbit/drv.c | __volatile__ unsigned char * ptr; |
ptr | 458 | drivers/isdn/pcbit/drv.c | ptr = dev->sh_mem + dev->loadptr; |
ptr | 459 | drivers/isdn/pcbit/drv.c | if (*ptr == 0) |
ptr | 479 | drivers/isdn/pcbit/drv.c | kfree(ptr); |
ptr | 849 | drivers/isdn/pcbit/drv.c | static void set_running_timeout(unsigned long ptr) |
ptr | 856 | drivers/isdn/pcbit/drv.c | dev = (struct pcbit_dev *) ptr; |
ptr | 1043 | drivers/isdn/pcbit/drv.c | struct msn_entry *ptr, *back; |
ptr | 1045 | drivers/isdn/pcbit/drv.c | for (ptr=dev->msn_list; ptr; ) |
ptr | 1047 | drivers/isdn/pcbit/drv.c | back = ptr->next; |
ptr | 1048 | drivers/isdn/pcbit/drv.c | kfree(ptr); |
ptr | 1049 | drivers/isdn/pcbit/drv.c | ptr = back; |
ptr | 1057 | drivers/isdn/pcbit/drv.c | struct msn_entry *ptr, *back; |
ptr | 1062 | drivers/isdn/pcbit/drv.c | ptr = kmalloc(sizeof(struct msn_entry), GFP_ATOMIC); |
ptr | 1063 | drivers/isdn/pcbit/drv.c | if (!ptr) { |
ptr | 1068 | drivers/isdn/pcbit/drv.c | ptr->msn = NULL; |
ptr | 1070 | drivers/isdn/pcbit/drv.c | ptr->next = dev->msn_list; |
ptr | 1071 | drivers/isdn/pcbit/drv.c | dev->msn_list = ptr; |
ptr | 1087 | drivers/isdn/pcbit/drv.c | ptr = kmalloc(sizeof(struct msn_entry), GFP_ATOMIC); |
ptr | 1089 | drivers/isdn/pcbit/drv.c | if (!ptr) { |
ptr | 1093 | drivers/isdn/pcbit/drv.c | ptr->next = NULL; |
ptr | 1095 | drivers/isdn/pcbit/drv.c | ptr->msn = kmalloc(len, GFP_ATOMIC); |
ptr | 1096 | drivers/isdn/pcbit/drv.c | if (!ptr->msn) { |
ptr | 1101 | drivers/isdn/pcbit/drv.c | memcpy(ptr->msn, sp, len - 1); |
ptr | 1102 | drivers/isdn/pcbit/drv.c | ptr->msn[len] = 0; |
ptr | 1105 | drivers/isdn/pcbit/drv.c | printk(KERN_DEBUG "msn: %s\n", ptr->msn); |
ptr | 1108 | drivers/isdn/pcbit/drv.c | dev->msn_list = ptr; |
ptr | 1110 | drivers/isdn/pcbit/drv.c | back->next = ptr; |
ptr | 1111 | drivers/isdn/pcbit/drv.c | back = ptr; |
ptr | 1121 | drivers/isdn/pcbit/drv.c | struct msn_entry *ptr; |
ptr | 1123 | drivers/isdn/pcbit/drv.c | for (ptr=dev->msn_list; ptr; ptr=ptr->next) { |
ptr | 1125 | drivers/isdn/pcbit/drv.c | if (ptr->msn == NULL) |
ptr | 1128 | drivers/isdn/pcbit/drv.c | if (strcmp(ptr->msn, msn) == 0) |
ptr | 114 | drivers/isdn/pcbit/layer2.c | struct frame_buf * frame, * ptr; |
ptr | 155 | drivers/isdn/pcbit/layer2.c | for(ptr=dev->write_queue; ptr->next; ptr=ptr->next); |
ptr | 156 | drivers/isdn/pcbit/layer2.c | ptr->next = frame; |
ptr | 514 | drivers/isdn/pcbit/layer2.c | struct frame_buf *ptr; |
ptr | 515 | drivers/isdn/pcbit/layer2.c | for(ptr=dev->read_queue;ptr->next;ptr=ptr->next); |
ptr | 516 | drivers/isdn/pcbit/layer2.c | ptr->next = frame; |
ptr | 40 | drivers/isdn/teles/buffers.c | struct Pages *ptr; |
ptr | 50 | drivers/isdn/teles/buffers.c | ptr = (struct Pages *) __get_free_pages(priority,bp->pageorder,0); |
ptr | 51 | drivers/isdn/teles/buffers.c | if (!ptr) { |
ptr | 56 | drivers/isdn/teles/buffers.c | printk(KERN_DEBUG "Order %d pages allocated at %x\n", bp->pageorder, ptr); |
ptr | 59 | drivers/isdn/teles/buffers.c | ptr->next = bp->pageslist; |
ptr | 60 | drivers/isdn/teles/buffers.c | bp->pageslist = ptr; |
ptr | 63 | drivers/isdn/teles/buffers.c | bptr = (byte *) ptr + sizeof(struct Pages *); |
ptr | 305 | drivers/isdn/teles/buffers.c | Sfree(byte * ptr) |
ptr | 308 | drivers/isdn/teles/buffers.c | printk(KERN_DEBUG "Sfree %x\n", ptr); |
ptr | 310 | drivers/isdn/teles/buffers.c | kfree(ptr); |
ptr | 213 | drivers/isdn/teles/callc.c | char *ptr; |
ptr | 217 | drivers/isdn/teles/callc.c | ptr = strcpyupto(chanp->para.called, ic->num, ','); |
ptr | 219 | drivers/isdn/teles/callc.c | ptr = strcpyupto(chanp->para.calling, ptr + 1, ','); |
ptr | 224 | drivers/isdn/teles/callc.c | ptr = strcpyupto(sis, ptr + 1, ','); |
ptr | 228 | drivers/isdn/teles/callc.c | ptr = strcpyupto(sis, ptr + 1, '\0'); |
ptr | 1148 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1155 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1156 | drivers/isdn/teles/callc.c | ptr += chanp->ds.l2.ihsize; |
ptr | 1158 | drivers/isdn/teles/callc.c | iif.rcvcallb(drid, chanp->chan, ptr, size); |
ptr | 1173 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1178 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1179 | drivers/isdn/teles/callc.c | iif.rcvcallb(drid, chanp->chan, ptr, ibh->datasize); |
ptr | 1385 | drivers/isdn/teles/callc.c | byte *ptr; |
ptr | 1391 | drivers/isdn/teles/callc.c | ptr = DATAPTR(ibh); |
ptr | 1402 | drivers/isdn/teles/callc.c | ptr += i; |
ptr | 1405 | drivers/isdn/teles/callc.c | memcpy_fromfs(ptr, buf, count); |
ptr | 1407 | drivers/isdn/teles/callc.c | memcpy(ptr, buf, count); |
ptr | 310 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 323 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 324 | drivers/isdn/teles/card.c | ptr += hsp->rcvptr; |
ptr | 329 | drivers/isdn/teles/card.c | *ptr++ = readhscx_0(hsp->membase, hsp->hscx, 0x0); |
ptr | 332 | drivers/isdn/teles/card.c | readhscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
ptr | 340 | drivers/isdn/teles/card.c | printk(" %2x", ptr[i]); |
ptr | 351 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 366 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 367 | drivers/isdn/teles/card.c | printk(KERN_DEBUG "snd bytes %2x %2x %2x %2x %2x\n", ptr[0], ptr[1], ptr[2], |
ptr | 368 | drivers/isdn/teles/card.c | ptr[3], ptr[4]); |
ptr | 377 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 378 | drivers/isdn/teles/card.c | ptr += hsp->sendptr; |
ptr | 386 | drivers/isdn/teles/card.c | printk(" %2x", ptr[i]); |
ptr | 393 | drivers/isdn/teles/card.c | writehscx_0(hsp->membase, hsp->hscx, 0x0, *ptr++); |
ptr | 397 | drivers/isdn/teles/card.c | writehscx_s(hsp->iobase, hsp->hscx, 0x3e, ptr, count); |
ptr | 512 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 522 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 523 | drivers/isdn/teles/card.c | ptr += sp->rcvptr; |
ptr | 530 | drivers/isdn/teles/card.c | *ptr = readisac_0(sp->membase, 0x0); |
ptr | 531 | drivers/isdn/teles/card.c | printk("%2x ", *ptr); |
ptr | 532 | drivers/isdn/teles/card.c | ptr++; |
ptr | 537 | drivers/isdn/teles/card.c | *ptr++ = readisac_0(sp->membase, 0x0); |
ptr | 544 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 546 | drivers/isdn/teles/card.c | printk("%2x ", ptr[i]); |
ptr | 549 | drivers/isdn/teles/card.c | readisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 560 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 580 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 581 | drivers/isdn/teles/card.c | ptr += sp->sendptr; |
ptr | 588 | drivers/isdn/teles/card.c | writeisac_0(sp->membase, 0x0, *ptr); |
ptr | 589 | drivers/isdn/teles/card.c | printk("%2x ", *ptr); |
ptr | 590 | drivers/isdn/teles/card.c | ptr++; |
ptr | 595 | drivers/isdn/teles/card.c | writeisac_0(sp->membase, 0x0, *ptr++); |
ptr | 601 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 604 | drivers/isdn/teles/card.c | printk("%2x ", ptr[i]); |
ptr | 607 | drivers/isdn/teles/card.c | writeisac_s(sp->iobase, 0x3e, ptr, count); |
ptr | 875 | drivers/isdn/teles/card.c | byte *ptr; |
ptr | 881 | drivers/isdn/teles/card.c | ptr = DATAPTR(ibh); |
ptr | 882 | drivers/isdn/teles/card.c | broadc = (ptr[1] >> 1) == 127; |
ptr | 884 | drivers/isdn/teles/card.c | if (broadc && sp->dlogflag && (!(ptr[0] >> 2))) |
ptr | 885 | drivers/isdn/teles/card.c | dlogframe(sp, ptr + 3, ibh->datasize - 3, |
ptr | 890 | drivers/isdn/teles/card.c | if ((ptr[0] >> 2) == stptr->l2.sap) |
ptr | 904 | drivers/isdn/teles/card.c | if (((ptr[0] >> 2) == stptr->l2.sap) && |
ptr | 905 | drivers/isdn/teles/card.c | ((ptr[1] >> 1) == stptr->l2.tei)) { |
ptr | 917 | drivers/isdn/teles/card.c | if ((!(ptr[0] >> 2)) && (!(ptr[2] & 0x01))) { |
ptr | 918 | drivers/isdn/teles/card.c | sprintf(tmp, "Q.931 frame network->user with tei %d (not for us)", ptr[1] >> 1); |
ptr | 919 | drivers/isdn/teles/card.c | dlogframe(sp, ptr + 4, ibh->datasize - 4, tmp); |
ptr | 231 | drivers/isdn/teles/isdnl2.c | byte *ptr = DATAPTR(ibh); |
ptr | 238 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->sap << 2) | (crbit ? 2 : 0); |
ptr | 239 | drivers/isdn/teles/isdnl2.c | *ptr++ = (tsp->tei << 1) | 1; |
ptr | 246 | drivers/isdn/teles/isdnl2.c | *ptr++ = 1; |
ptr | 248 | drivers/isdn/teles/isdnl2.c | *ptr++ = 3; |
ptr | 321 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 325 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 326 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 327 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3; |
ptr | 347 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 360 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 361 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 363 | drivers/isdn/teles/isdnl2.c | *ptr = 0x7f; |
ptr | 365 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3f; |
ptr | 382 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 405 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 406 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 407 | drivers/isdn/teles/isdnl2.c | *ptr = 0x53; |
ptr | 420 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 438 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 439 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 440 | drivers/isdn/teles/isdnl2.c | *ptr = 0x73; |
ptr | 452 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 455 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 456 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&(st->l2)); |
ptr | 457 | drivers/isdn/teles/isdnl2.c | p = (*ptr) & 0x10; |
ptr | 473 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 474 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 475 | drivers/isdn/teles/isdnl2.c | *ptr = 0x63 | (p ? 0x10 : 0x0); |
ptr | 543 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 547 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 550 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 554 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 559 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 562 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 563 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 565 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 566 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 576 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 577 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 580 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 581 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 584 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | (p ? 0x10 : 0x0); |
ptr | 622 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 627 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 632 | drivers/isdn/teles/isdnl2.c | dlogframe(sp, ptr + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
ptr | 646 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 653 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 654 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 656 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 657 | drivers/isdn/teles/isdnl2.c | seq = ptr[0] >> 1; |
ptr | 658 | drivers/isdn/teles/isdnl2.c | nr = (ptr[1] >> 1) & 0x7f; |
ptr | 660 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 661 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 1) & 0x7; |
ptr | 662 | drivers/isdn/teles/isdnl2.c | nr = (ptr[0] >> 5) & 0x7; |
ptr | 671 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 675 | drivers/isdn/teles/isdnl2.c | dlogframe(st->l1.hardware, ptr + l2->ihsize, |
ptr | 684 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 685 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 688 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 689 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 692 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | (p ? 0x10 : 0x0); |
ptr | 710 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 711 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 714 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x9; |
ptr | 715 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | (p ? 1 : 0); |
ptr | 718 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x9 | (p ? 0x10 : 0x0); |
ptr | 768 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 774 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh2); |
ptr | 775 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 778 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 779 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | 0x1; |
ptr | 782 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | 0x1 | 0x10; |
ptr | 820 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 824 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 827 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 831 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 837 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 840 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 841 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 843 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 844 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 871 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 887 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 888 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 890 | drivers/isdn/teles/isdnl2.c | *ptr = 0x7f; |
ptr | 892 | drivers/isdn/teles/isdnl2.c | *ptr = 0x3f; |
ptr | 905 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 925 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 926 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 927 | drivers/isdn/teles/isdnl2.c | *ptr = 0x53; |
ptr | 941 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 957 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 958 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 961 | drivers/isdn/teles/isdnl2.c | *ptr++ = l2->vs << 1; |
ptr | 962 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 1) | 0x1; |
ptr | 965 | drivers/isdn/teles/isdnl2.c | *ptr++ = (l2->vr << 5) | (l2->vs << 1) | 0x10; |
ptr | 988 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 991 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 992 | drivers/isdn/teles/isdnl2.c | ptr += sethdraddr(&st->l2, ibh, 0); |
ptr | 995 | drivers/isdn/teles/isdnl2.c | *ptr++ = 0x1; |
ptr | 996 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 1) | 1; |
ptr | 998 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 5) | 0x11; |
ptr | 1000 | drivers/isdn/teles/isdnl2.c | ibh->datasize = ptr - DATAPTR(ibh); |
ptr | 1028 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1032 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1035 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] & 0x2; |
ptr | 1039 | drivers/isdn/teles/isdnl2.c | rsp = ptr[0] == 0x3; |
ptr | 1045 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(l2); |
ptr | 1048 | drivers/isdn/teles/isdnl2.c | p = (ptr[1] & 0x1) == 0x1; |
ptr | 1049 | drivers/isdn/teles/isdnl2.c | seq = ptr[1] >> 1; |
ptr | 1051 | drivers/isdn/teles/isdnl2.c | p = (ptr[0] & 0x10); |
ptr | 1052 | drivers/isdn/teles/isdnl2.c | seq = (ptr[0] >> 5) & 0x7; |
ptr | 1107 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1110 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1111 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
ptr | 1114 | drivers/isdn/teles/isdnl2.c | p = ptr[1] & 0x1; |
ptr | 1116 | drivers/isdn/teles/isdnl2.c | p = ptr[0] & 0x10; |
ptr | 1123 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1124 | drivers/isdn/teles/isdnl2.c | ptr += i; |
ptr | 1125 | drivers/isdn/teles/isdnl2.c | *ptr = 0x63 | p; |
ptr | 1158 | drivers/isdn/teles/isdnl2.c | byte *ptr; |
ptr | 1161 | drivers/isdn/teles/isdnl2.c | ptr = DATAPTR(ibh); |
ptr | 1162 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
ptr | 1163 | drivers/isdn/teles/isdnl2.c | ptr++; |
ptr | 1168 | drivers/isdn/teles/isdnl2.c | ptr[0], ptr[1], ptr[2], ptr[3], ptr[4]); |
ptr | 1171 | drivers/isdn/teles/isdnl2.c | ptr[0], ptr[1], ptr[2]); |
ptr | 471 | drivers/isdn/teles/isdnl3.c | byte *ptr; |
ptr | 475 | drivers/isdn/teles/isdnl3.c | ptr = DATAPTR(ibh); |
ptr | 476 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.ihsize; |
ptr | 481 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "l3up data %x\n", ptr[i]); |
ptr | 483 | drivers/isdn/teles/isdnl3.c | mt = ptr[3]; |
ptr | 484 | drivers/isdn/teles/isdnl3.c | switch (ptr[0]) { |
ptr | 514 | drivers/isdn/teles/isdnl3.c | ptr = DATAPTR(ibh); |
ptr | 515 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.uihsize; |
ptr | 520 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "l3up data %x\n", ptr[i]); |
ptr | 522 | drivers/isdn/teles/isdnl3.c | mt = ptr[3]; |
ptr | 523 | drivers/isdn/teles/isdnl3.c | switch (ptr[0]) { |
ptr | 18 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
ptr | 20 | drivers/isdn/teles/tei.c | while (ptr) |
ptr | 21 | drivers/isdn/teles/tei.c | if (ptr->l2.ces == ces) |
ptr | 22 | drivers/isdn/teles/tei.c | return (ptr); |
ptr | 24 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 31 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
ptr | 36 | drivers/isdn/teles/tei.c | while (ptr) |
ptr | 37 | drivers/isdn/teles/tei.c | if (ptr->l2.tei == tei) |
ptr | 38 | drivers/isdn/teles/tei.c | return (ptr); |
ptr | 40 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 50 | drivers/isdn/teles/tei.c | struct PStack *otsp, *ptr; |
ptr | 93 | drivers/isdn/teles/tei.c | ptr = *(st->l1.stlistp); |
ptr | 94 | drivers/isdn/teles/tei.c | while (ptr) { |
ptr | 95 | drivers/isdn/teles/tei.c | if ((ptr->l2.tei & 0x7f) != 0x7f) { |
ptr | 101 | drivers/isdn/teles/tei.c | bp[1] = ptr->l2.ces >> 8; |
ptr | 102 | drivers/isdn/teles/tei.c | bp[2] = ptr->l2.ces & 0xff; |
ptr | 104 | drivers/isdn/teles/tei.c | bp[4] = (ptr->l2.tei << 1) | 1; |
ptr | 108 | drivers/isdn/teles/tei.c | ptr = ptr->next; |
ptr | 158 | drivers/isdn/teles/teles.h | void Sfree(byte * ptr); |
ptr | 579 | drivers/net/a2065.c | u_char *ptr = &((u_char *)skb->data)[6]; |
ptr | 581 | drivers/net/a2065.c | printk("%02x", ptr[i]); |
ptr | 586 | drivers/net/a2065.c | u_char *ptr = (u_char *)skb->data; |
ptr | 588 | drivers/net/a2065.c | printk("%02x", ptr[i]); |
ptr | 717 | drivers/net/a2065.c | u_char *ptr = &((u_char *)skb->data)[6]; |
ptr | 719 | drivers/net/a2065.c | printk("%02x", ptr[i]); |
ptr | 724 | drivers/net/a2065.c | u_char *ptr = (u_char *)skb->data; |
ptr | 726 | drivers/net/a2065.c | printk("%02x", ptr[i]); |
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 | 618 | drivers/net/ariadne.c | u_char *ptr = &((u_char *)skb->data)[6]; |
ptr | 620 | drivers/net/ariadne.c | printk("%02x", ptr[i]); |
ptr | 625 | drivers/net/ariadne.c | u_char *ptr = (u_char *)skb->data; |
ptr | 627 | drivers/net/ariadne.c | printk("%02x", ptr[i]); |
ptr | 751 | drivers/net/ariadne.c | u_char *ptr = &((u_char *)skb->data)[6]; |
ptr | 753 | drivers/net/ariadne.c | printk("%02x", ptr[i]); |
ptr | 758 | drivers/net/ariadne.c | u_char *ptr = (u_char *)skb->data; |
ptr | 760 | drivers/net/ariadne.c | printk("%02x", ptr[i]); |
ptr | 763 | drivers/net/hp100.c | u_char *ptr; |
ptr | 766 | drivers/net/hp100.c | ptr = (u_char *)skb_put( skb, pkt_len ); |
ptr | 770 | drivers/net/hp100.c | memcpy( ptr, lp -> mem_ptr_virt, ( pkt_len + 3 ) & ~3 ); |
ptr | 772 | drivers/net/hp100.c | memcpy_fromio( ptr, lp -> mem_ptr_phys, ( pkt_len + 3 ) & ~3 ); |
ptr | 775 | drivers/net/hp100.c | insl( ioaddr + HP100_REG_DATA32, ptr, ( pkt_len + 3 ) >> 2 ); |
ptr | 781 | drivers/net/hp100.c | ptr[ 0 ], ptr[ 1 ], ptr[ 2 ], ptr[ 3 ], ptr[ 4 ], ptr[ 5 ], |
ptr | 782 | drivers/net/hp100.c | ptr[ 6 ], ptr[ 7 ], ptr[ 8 ], ptr[ 9 ], ptr[ 10 ], ptr[ 11 ] ); |
ptr | 206 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr); |
ptr | 536 | drivers/net/ni52.c | void *ptr; |
ptr | 546 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
ptr | 548 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
ptr | 563 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
ptr | 593 | drivers/net/ni52.c | ias_cmd = (struct iasetup_cmd_struct *)ptr; |
ptr | 616 | drivers/net/ni52.c | tdr_cmd = (struct tdr_cmd_struct *)ptr; |
ptr | 661 | drivers/net/ni52.c | mc_cmd = (struct mcsetup_cmd_struct *) ptr; |
ptr | 686 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 690 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 695 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 699 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 703 | drivers/net/ni52.c | ptr = alloc_rfa(dev,(void *)ptr); /* init receive-frame-area */ |
ptr | 710 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ |
ptr | 711 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 712 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
ptr | 713 | drivers/net/ni52.c | ptr = (char *) ptr + XMIT_BUFF_SIZE; |
ptr | 714 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
ptr | 715 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct tbd_struct); |
ptr | 716 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
ptr | 767 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr) |
ptr | 769 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
ptr | 783 | drivers/net/ni52.c | ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); |
ptr | 785 | drivers/net/ni52.c | rbd = (struct rbd_struct *) ptr; |
ptr | 786 | drivers/net/ni52.c | ptr = (void *) (rbd + p->num_recv_buffs); |
ptr | 795 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
ptr | 796 | drivers/net/ni52.c | ptr = (char *) ptr + RECV_BUFF_SIZE; |
ptr | 805 | drivers/net/ni52.c | return ptr; |
ptr | 1349 | drivers/net/ni52.c | void ni52_dump(struct device *dev,void *ptr) |
ptr | 1352 | drivers/net/ni52.c | struct dump_cmd_struct *dump_cmd = (struct dump_cmd_struct *) ptr; |
ptr | 223 | drivers/net/ni65.c | unsigned char *ptr; |
ptr | 287 | drivers/net/ni65.c | ptr = kmalloc(sizeof(struct priv)+8,GFP_KERNEL|GFP_DMA); |
ptr | 288 | drivers/net/ni65.c | if(!ptr) |
ptr | 290 | drivers/net/ni65.c | ptr = (unsigned char *) (((unsigned long) ptr + 7) & ~0x7); |
ptr | 291 | drivers/net/ni65.c | if( (unsigned long) ptr + sizeof(struct priv) > 0x1000000) { |
ptr | 295 | drivers/net/ni65.c | p = dev->priv = (struct priv *) ptr; |
ptr | 300 | drivers/net/ni65.c | if( (ptr = kmalloc(T_BUF_SIZE,GFP_KERNEL | GFP_DMA )) == NULL) { |
ptr | 304 | drivers/net/ni65.c | if( (unsigned long) (ptr+T_BUF_SIZE) > 0x1000000) { |
ptr | 308 | drivers/net/ni65.c | p->tmdbounce[i] = ptr; |
ptr | 1571 | drivers/net/pi2.c | struct sk_buff *ptr; |
ptr | 1577 | drivers/net/pi2.c | ptr = NULL; |
ptr | 1588 | drivers/net/pi2.c | while ((ptr = skb_dequeue(&lp->sndq)) != NULL) |
ptr | 1589 | drivers/net/pi2.c | free_p(ptr); |
ptr | 519 | drivers/net/ppp.c | ppp_free_buf (struct ppp_buffer *ptr) |
ptr | 521 | drivers/net/ppp.c | if (ptr != NULL) |
ptr | 522 | drivers/net/ppp.c | kfree (ptr); |
ptr | 2151 | drivers/net/ppp.c | __u8 *ptr; |
ptr | 2160 | drivers/net/ppp.c | ptr = data.ptr; |
ptr | 2164 | drivers/net/ppp.c | error = verify_area (VERIFY_READ, ptr, nb); |
ptr | 2170 | drivers/net/ppp.c | memcpy_fromfs (ccp_option, ptr, nb); |
ptr | 181 | drivers/net/pt.c | char *ptr; |
ptr | 185 | drivers/net/pt.c | ptr = skb->data; |
ptr | 186 | drivers/net/pt.c | if (ptr[0] != 0 && skb->len >= 2) |
ptr | 188 | drivers/net/pt.c | printk("Rx KISS... Control = %d, value = %d.\n", ptr[0], (skb->len > 1? ptr[1] : -1)); |
ptr | 194 | drivers/net/pt.c | switch(ptr[0]) |
ptr | 199 | drivers/net/pt.c | lp->txdelay = ptr[1] * 10; |
ptr | 203 | drivers/net/pt.c | lp->persist = ptr[1]; |
ptr | 207 | drivers/net/pt.c | lp->slotime = ptr[1]; |
ptr | 999 | drivers/net/pt.c | struct sk_buff *ptr = NULL; |
ptr | 1016 | drivers/net/pt.c | while ((ptr = skb_dequeue(&lp->sndq)) != NULL) |
ptr | 1017 | drivers/net/pt.c | free_p(ptr); |
ptr | 859 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 868 | drivers/net/slip.c | *ptr++ = END; |
ptr | 878 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 879 | drivers/net/slip.c | *ptr++ = ESC_END; |
ptr | 882 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 883 | drivers/net/slip.c | *ptr++ = ESC_ESC; |
ptr | 886 | drivers/net/slip.c | *ptr++ = c; |
ptr | 890 | drivers/net/slip.c | *ptr++ = END; |
ptr | 891 | drivers/net/slip.c | return (ptr - d); |
ptr | 944 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 956 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 968 | drivers/net/slip.c | *ptr++ = c; |
ptr | 973 | drivers/net/slip.c | *ptr++ = c; |
ptr | 975 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 976 | drivers/net/slip.c | return ptr - d; |
ptr | 602 | drivers/net/strip.c | static unsigned char *strip_stuff(unsigned char *ptr, struct strip *strip_info, struct sk_buff *skb) |
ptr | 630 | drivers/net/strip.c | *ptr++ = '*'; |
ptr | 631 | drivers/net/strip.c | ptr[3] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
ptr | 632 | drivers/net/strip.c | ptr[2] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
ptr | 633 | drivers/net/strip.c | ptr[1] = '0' + haddr.s[0] % 10; haddr.s[0] /= 10; |
ptr | 634 | drivers/net/strip.c | ptr[0] = '0' + haddr.s[0] % 10; |
ptr | 635 | drivers/net/strip.c | ptr+=4; |
ptr | 636 | drivers/net/strip.c | *ptr++ = '-'; |
ptr | 637 | drivers/net/strip.c | ptr[3] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
ptr | 638 | drivers/net/strip.c | ptr[2] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
ptr | 639 | drivers/net/strip.c | ptr[1] = '0' + haddr.s[1] % 10; haddr.s[1] /= 10; |
ptr | 640 | drivers/net/strip.c | ptr[0] = '0' + haddr.s[1] % 10; |
ptr | 641 | drivers/net/strip.c | ptr+=4; |
ptr | 642 | drivers/net/strip.c | *ptr++ = '*'; |
ptr | 643 | drivers/net/strip.c | *ptr++ = ProtocolKey.c[0]; /* Protocol key */ |
ptr | 644 | drivers/net/strip.c | *ptr++ = ProtocolKey.c[1]; |
ptr | 645 | drivers/net/strip.c | *ptr++ = ProtocolKey.c[2]; |
ptr | 646 | drivers/net/strip.c | *ptr++ = ProtocolKey.c[3]; |
ptr | 648 | drivers/net/strip.c | start = ptr; |
ptr | 649 | drivers/net/strip.c | ptr = StuffData(icp, len, ptr, &stuffstate); /* Make payload */ |
ptr | 651 | drivers/net/strip.c | *ptr++ = 0x0D; /* Put on final delimiter */ |
ptr | 652 | drivers/net/strip.c | return(ptr); |
ptr | 658 | drivers/net/strip.c | unsigned char *ptr; |
ptr | 664 | drivers/net/strip.c | ptr = strip_info->tx_buff; |
ptr | 668 | drivers/net/strip.c | ptr = strip_stuff(ptr, strip_info, skb); |
ptr | 670 | drivers/net/strip.c | if (!ptr) { strip_unlock(strip_info); return; } |
ptr | 676 | drivers/net/strip.c | strip_info->tx_left = ptr - strip_info->tx_buff; |
ptr | 693 | drivers/net/strip.c | *ptr++ = '*'; /* Tickle to make radio protest */ |
ptr | 694 | drivers/net/strip.c | *ptr++ = '*'; |
ptr | 761 | drivers/net/strip.c | __u8 *ptr = strip_info->sx_buff; |
ptr | 765 | drivers/net/strip.c | while (ptr<end && p < &pkt_text[MAX_RecvErr-4]) |
ptr | 767 | drivers/net/strip.c | if (*ptr == '\\') |
ptr | 774 | drivers/net/strip.c | if (*ptr >= 32 && *ptr <= 126) |
ptr | 775 | drivers/net/strip.c | *p++ = *ptr; |
ptr | 778 | drivers/net/strip.c | sprintf(p, "\\%02X", *ptr); |
ptr | 782 | drivers/net/strip.c | ptr++; |
ptr | 784 | drivers/net/strip.c | if (ptr == end) |
ptr | 833 | drivers/net/strip.c | __u8 *ptr = strip_info->sx_buff; |
ptr | 842 | drivers/net/strip.c | if (strip_info->sx_count == 2 && ptr[0] == 'O' && ptr[1] == 'K') { |
ptr | 850 | drivers/net/strip.c | if (*ptr != '*') { |
ptr | 852 | drivers/net/strip.c | if (ptr[0] == 'E' && ptr[1] == 'R' && ptr[2] == 'R' && ptr[3] == '_') |
ptr | 857 | drivers/net/strip.c | ptr++; |
ptr | 860 | drivers/net/strip.c | name = ptr; |
ptr | 861 | drivers/net/strip.c | while (ptr < end && *ptr != '*') ptr++; |
ptr | 864 | drivers/net/strip.c | if (ptr == end) { |
ptr | 868 | drivers/net/strip.c | name_end = ptr++; |
ptr | 871 | drivers/net/strip.c | if (ptr[0] != ProtocolKey.c[0] || |
ptr | 872 | drivers/net/strip.c | ptr[1] != ProtocolKey.c[1] || |
ptr | 873 | drivers/net/strip.c | ptr[2] != ProtocolKey.c[2] || |
ptr | 874 | drivers/net/strip.c | ptr[3] != ProtocolKey.c[3]) { |
ptr | 875 | drivers/net/strip.c | if (ptr[0] == 'E' && ptr[1] == 'R' && ptr[2] == 'R' && ptr[3] == '_') { *name_end = 0; RecvErr_Message(strip_info, name, ptr); } |
ptr | 879 | drivers/net/strip.c | ptr += 4; |
ptr | 882 | drivers/net/strip.c | ptr = UnStuffData(ptr, end, strip_info->rx_buff, 4); |
ptr | 883 | drivers/net/strip.c | if (!ptr) { |
ptr | 895 | drivers/net/strip.c | ptr = UnStuffData(ptr, end, strip_info->rx_buff+4, packetlen-4); |
ptr | 896 | drivers/net/strip.c | if (!ptr) { |
ptr | 3218 | drivers/scsi/53c7,8xx.c | *ptr; /* Pointer to argument list */ |
ptr | 3249 | drivers/scsi/53c7,8xx.c | for (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) { |
ptr | 3250 | drivers/scsi/53c7,8xx.c | if (*ptr == ' ' || *ptr == '\t') { |
ptr | 3251 | drivers/scsi/53c7,8xx.c | ++ptr; |
ptr | 3252 | drivers/scsi/53c7,8xx.c | } else if (isdigit(*ptr)) { |
ptr | 3253 | drivers/scsi/53c7,8xx.c | args[j++] = simple_strtoul (ptr, &ptr, 0); |
ptr | 3883 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = NULL; |
ptr | 3931 | drivers/scsi/53c7,8xx.c | cmd->SCp.ptr = (unsigned char *) hostdata->issue_queue; |
ptr | 3934 | drivers/scsi/53c7,8xx.c | for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->SCp.ptr; |
ptr | 3935 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) tmp->SCp.ptr); |
ptr | 3936 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = (unsigned char *) cmd; |
ptr | 4106 | drivers/scsi/53c7,8xx.c | hostdata->issue_queue = (Scsi_Cmnd *) tmp->SCp.ptr; |
ptr | 4120 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr) |
ptr | 4124 | drivers/scsi/53c7,8xx.c | prev->SCp.ptr = tmp->SCp.ptr; |
ptr | 4127 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr; |
ptr | 4128 | drivers/scsi/53c7,8xx.c | tmp->SCp.ptr = NULL; |
ptr | 5506 | drivers/scsi/53c7,8xx.c | me && me != cmd; last = (Scsi_Cmnd **)&(me->SCp.ptr), |
ptr | 5507 | drivers/scsi/53c7,8xx.c | me = (Scsi_Cmnd *)me->SCp.ptr); |
ptr | 5510 | drivers/scsi/53c7,8xx.c | *last = (Scsi_Cmnd *) me->SCp.ptr; |
ptr | 5700 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5715 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(insn[3]); |
ptr | 5720 | drivers/scsi/53c7,8xx.c | buffers && !((found = ((ptr >= segment->address) && |
ptr | 5721 | drivers/scsi/53c7,8xx.c | (ptr < (segment->address + segment->length))))); |
ptr | 5729 | drivers/scsi/53c7,8xx.c | offset += ptr - segment->address; |
ptr | 5732 | drivers/scsi/53c7,8xx.c | offset = ptr - (char *) (cmd->request_buffer); |
ptr | 5762 | drivers/scsi/53c7,8xx.c | u32 *ptr; |
ptr | 5770 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt(ncmd->saved_data_pointer); |
ptr | 5773 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (NCR53c7x0_read32 (DSP_REG) - |
ptr | 5777 | drivers/scsi/53c7,8xx.c | offset = insn_to_offset (cmd, ptr); |
ptr | 5803 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 5828 | drivers/scsi/53c7,8xx.c | ptr = bus_to_virt (dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); |
ptr | 5829 | drivers/scsi/53c7,8xx.c | i > 0 && !check_address ((unsigned long) ptr, 1); |
ptr | 5830 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
ptr | 5832 | drivers/scsi/53c7,8xx.c | len = print_msg (ptr); |
ptr | 5887 | 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 | 330 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
ptr | 335 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
ptr | 788 | drivers/scsi/NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 845 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; |
ptr | 846 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 847 | drivers/scsi/NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
ptr | 850 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 851 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 852 | drivers/scsi/NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
ptr | 1357 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 2412 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2461 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2482 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
ptr | 2589 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 3018 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 319 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
ptr | 325 | drivers/scsi/NCR5380.h | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 329 | drivers/scsi/NCR5380.h | limit = 65536* 2 - (((unsigned) ptr) & 0x1FFFF); |
ptr | 334 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 339 | 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 | 25 | drivers/scsi/a2091.c | #define DMA(ptr) ((a2091_scsiregs *)((ptr)->base)) |
ptr | 26 | drivers/scsi/a2091.c | #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) |
ptr | 57 | drivers/scsi/a2091.c | unsigned long addr = VTOP(cmd->SCp.ptr); |
ptr | 96 | drivers/scsi/a2091.c | cmd->SCp.ptr, cmd->SCp.this_residual); |
ptr | 166 | drivers/scsi/a2091.c | memcpy (SCpnt->SCp.ptr, |
ptr | 24 | drivers/scsi/a3000.c | #define DMA(ptr) ((a3000_scsiregs *)((ptr)->base)) |
ptr | 25 | drivers/scsi/a3000.c | #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) |
ptr | 51 | drivers/scsi/a3000.c | unsigned long addr = VTOP(cmd->SCp.ptr); |
ptr | 77 | drivers/scsi/a3000.c | cmd->SCp.ptr, cmd->SCp.this_residual); |
ptr | 160 | drivers/scsi/a3000.c | memcpy (SCpnt->SCp.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 | 2565 | drivers/scsi/aic7xxx.c | long *ptr; |
ptr | 2575 | drivers/scsi/aic7xxx.c | ptr = sp->w_bins; |
ptr | 2581 | drivers/scsi/aic7xxx.c | ptr = sp->r_bins; |
ptr | 2587 | drivers/scsi/aic7xxx.c | ptr[x - 9]++; |
ptr | 2593 | 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 | 536 | drivers/scsi/atari_NCR5380.c | for( endadr = VTOP(cmd->SCp.ptr + cmd->SCp.this_residual - 1); |
ptr | 553 | drivers/scsi/atari_NCR5380.c | cnt, (long)(cmd->SCp.ptr), cmd->SCp.this_residual ); |
ptr | 576 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
ptr | 585 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
ptr | 835 | drivers/scsi/atari_NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 858 | drivers/scsi/atari_NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = NEXT(ptr)) |
ptr | 859 | drivers/scsi/atari_NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
ptr | 862 | drivers/scsi/atari_NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 863 | drivers/scsi/atari_NCR5380.c | ptr = NEXT(ptr)) |
ptr | 864 | drivers/scsi/atari_NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
ptr | 1311 | drivers/scsi/atari_NCR5380.c | data = (unsigned char **) &(hostdata->connected->SCp.ptr); |
ptr | 2189 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2222 | drivers/scsi/atari_NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2253 | drivers/scsi/atari_NCR5380.c | &cmd->SCp.ptr); |
ptr | 2390 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 1109 | drivers/scsi/atari_scsi.c | limit = (atari_dma_buffer && !STRAM_ADDR( VTOP(cmd->SCp.ptr) )) ? |
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 | 212 | drivers/scsi/esp.c | Scsi_Cmnd *ptr; |
ptr | 216 | drivers/scsi/esp.c | ptr = *SC; |
ptr | 217 | drivers/scsi/esp.c | if(ptr) |
ptr | 220 | drivers/scsi/esp.c | return ptr; |
ptr | 225 | drivers/scsi/esp.c | Scsi_Cmnd *ptr, *prev; |
ptr | 229 | drivers/scsi/esp.c | for(ptr = *SC, prev = NULL; |
ptr | 230 | drivers/scsi/esp.c | ptr && ((ptr->target != target) || (ptr->lun != lun)); |
ptr | 231 | drivers/scsi/esp.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 233 | drivers/scsi/esp.c | if(ptr) { |
ptr | 235 | drivers/scsi/esp.c | prev->host_scribble=ptr->host_scribble; |
ptr | 237 | drivers/scsi/esp.c | *SC=(Scsi_Cmnd *)ptr->host_scribble; |
ptr | 240 | drivers/scsi/esp.c | return ptr; |
ptr | 650 | drivers/scsi/esp.c | SCpnt->SCp.ptr = mmu_get_scsi_one((char *)SCpnt->SCp.buffer, |
ptr | 664 | drivers/scsi/esp.c | SCpnt->SCp.ptr = (char *) SCpnt->SCp.buffer->alt_address; |
ptr | 716 | drivers/scsi/esp.c | mmu_release_scsi_one(done_SC->SCp.ptr, |
ptr | 924 | drivers/scsi/esp.c | SCptr->SCp.ptr, |
ptr | 936 | drivers/scsi/esp.c | dregs->st_addr = SCptr->SCp.ptr; |
ptr | 951 | drivers/scsi/esp.c | SCptr->SCp.ptr, |
ptr | 963 | drivers/scsi/esp.c | dregs->st_addr = SCptr->SCp.ptr; |
ptr | 1023 | drivers/scsi/esp.c | SCptr->SCp.ptr = SCptr->SCp.buffer->alt_address; |
ptr | 1026 | drivers/scsi/esp.c | printk("<%p,%d> ", SCptr->SCp.ptr, |
ptr | 1036 | drivers/scsi/esp.c | dregs->st_addr = SCptr->SCp.ptr; |
ptr | 1599 | drivers/scsi/fdomain.c | outb( *current_SC->SCp.ptr++, Write_FIFO_port ); |
ptr | 1603 | drivers/scsi/fdomain.c | outsw( Write_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1604 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1612 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1632 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
ptr | 1636 | drivers/scsi/fdomain.c | insw( Read_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1637 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1645 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1729 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1733 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = (char *)current_SC->request_buffer; |
ptr | 626 | drivers/scsi/g_NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 715 | drivers/scsi/g_NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; |
ptr | 716 | drivers/scsi/g_NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 717 | drivers/scsi/g_NCR5380.c | len += sprint_Scsi_Cmnd (buffer, len, ptr); |
ptr | 721 | drivers/scsi/g_NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 722 | drivers/scsi/g_NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 723 | drivers/scsi/g_NCR5380.c | len += sprint_Scsi_Cmnd (buffer, len, ptr); |
ptr | 25 | drivers/scsi/gvp11.c | #define DMA(ptr) ((gvp11_scsiregs *)((ptr)->base)) |
ptr | 26 | drivers/scsi/gvp11.c | #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) |
ptr | 69 | drivers/scsi/gvp11.c | unsigned long addr = VTOP(cmd->SCp.ptr); |
ptr | 105 | drivers/scsi/gvp11.c | cmd->SCp.ptr, cmd->SCp.this_residual); |
ptr | 153 | drivers/scsi/gvp11.c | memcpy (SCpnt->SCp.ptr, |
ptr | 327 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
ptr | 2395 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 2408 | drivers/scsi/scsi.c | free_pages((unsigned long)ptr, order); |
ptr | 2410 | drivers/scsi/scsi.c | kfree(ptr); |
ptr | 3246 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 3250 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 3258 | drivers/scsi/scsi.c | return scsi_register_device_module((struct Scsi_Device_Template *) ptr); |
ptr | 3273 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 3277 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 3280 | drivers/scsi/scsi.c | scsi_unregister_device((struct Scsi_Device_Template *) ptr); |
ptr | 348 | 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 | 238 | drivers/scsi/wd33c93.c | cmd->SCp.ptr = (char *)cmd->SCp.buffer->address; |
ptr | 244 | drivers/scsi/wd33c93.c | cmd->SCp.ptr = (char *)cmd->request_buffer; |
ptr | 496 | drivers/scsi/wd33c93.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 504 | drivers/scsi/wd33c93.c | transfer_pio(regp, (uchar **)&cmd->SCp.ptr, &cmd->SCp.this_residual, |
ptr | 519 | drivers/scsi/wd33c93.c | DB(DB_TRANSFER_DATA,printk("[%p/%d]",cmd->SCp.ptr,cmd->SCp.this_residual)) |
ptr | 575 | drivers/scsi/wd33c93.c | DB(DB_TRANSFER_DATA,printk("[%p/%d:",cmd->SCp.ptr,cmd->SCp.this_residual)) |
ptr | 580 | drivers/scsi/wd33c93.c | cmd->SCp.ptr += (length - cmd->SCp.this_residual); |
ptr | 581 | drivers/scsi/wd33c93.c | DB(DB_TRANSFER_DATA,printk("%p/%d]",cmd->SCp.ptr,cmd->SCp.this_residual)) |
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 | 935 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
ptr | 937 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 955 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
ptr | 957 | drivers/sound/dmabuf.c | info.bytes += info.ptr; |
ptr | 625 | drivers/sound/dmasound.c | int len, ptr; |
ptr | 2808 | drivers/sound/dmasound.c | state.ptr = 0; |
ptr | 2906 | drivers/sound/dmasound.c | int n = state.len-state.ptr; |
ptr | 2911 | drivers/sound/dmasound.c | memcpy_tofs(dest, &state.buf[state.ptr], n); |
ptr | 2912 | drivers/sound/dmasound.c | state.ptr += n; |
ptr | 2557 | drivers/sound/gus_wave.c | int ptr = patch_table[i]; |
ptr | 2561 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample && ptr != NOT_SAMPLE) |
ptr | 2564 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2572 | drivers/sound/gus_wave.c | int ptr = patch_table[rec->parm1]; |
ptr | 2576 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample && ptr != NOT_SAMPLE) |
ptr | 2578 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
ptr | 2579 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2588 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2591 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2594 | drivers/sound/gus_wave.c | memcpy (rec->data.data8, (char *) &samples[ptr], |
ptr | 2600 | drivers/sound/gus_wave.c | rec->parm1 = sample_ptrs[ptr]; /* DRAM location */ |
ptr | 2608 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2611 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2616 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
ptr | 2619 | drivers/sound/gus_wave.c | pat->key = samples[ptr].key; /* Ensure the link is correct */ |
ptr | 2621 | drivers/sound/gus_wave.c | memcpy ((char *) &samples[ptr], rec->data.data8, |
ptr | 2723 | drivers/sound/gus_wave.c | p = alloc->ptr; |
ptr | 2732 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2751 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2760 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 155 | drivers/sound/sound_config.h | int ptr; /* For device specific use */ |
ptr | 286 | fs/nfs/rpcsock.c | rpc_send_check(char *where, u32 *ptr) |
ptr | 288 | fs/nfs/rpcsock.c | if (ptr[1] != htonl(RPC_CALL) || ptr[2] != htonl(RPC_VERSION)) { |
ptr | 292 | fs/nfs/rpcsock.c | ptr[0], ptr[1], ptr[2], ptr[3], |
ptr | 293 | fs/nfs/rpcsock.c | ptr[4], ptr[5], ptr[6], ptr[7]); |
ptr | 332 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 338 | fs/proc/array.c | if (!p || !p->mm || ptr >= TASK_SIZE) |
ptr | 340 | fs/proc/array.c | page_dir = pgd_offset(p->mm,ptr); |
ptr | 348 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 356 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 359 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
ptr | 21 | include/asm-alpha/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 22 | include/asm-alpha/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 147 | include/asm-alpha/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 148 | include/asm-alpha/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 160 | include/asm-alpha/system.h | static __inline__ unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 164 | include/asm-alpha/system.h | return xchg_u32(ptr, x); |
ptr | 166 | 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 | 191 | include/asm-i386/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 192 | include/asm-i386/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 197 | include/asm-i386/system.h | static inline unsigned long __xchg(unsigned long x, void * ptr, int size) |
ptr | 202 | include/asm-i386/system.h | :"=&q" (x), "=m" (*__xg(ptr)) |
ptr | 203 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 207 | include/asm-i386/system.h | :"=&r" (x), "=m" (*__xg(ptr)) |
ptr | 208 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 212 | include/asm-i386/system.h | :"=&r" (x), "=m" (*__xg(ptr)) |
ptr | 213 | include/asm-i386/system.h | :"0" (x), "m" (*__xg(ptr))); |
ptr | 25 | include/asm-m68k/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 26 | include/asm-m68k/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 53 | include/asm-m68k/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 54 | include/asm-m68k/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 77 | include/asm-m68k/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 89 | include/asm-m68k/system.h | : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
ptr | 95 | include/asm-m68k/system.h | : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
ptr | 101 | include/asm-m68k/system.h | : "=&d" (tmp) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
ptr | 108 | include/asm-m68k/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 117 | include/asm-m68k/system.h | : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
ptr | 125 | include/asm-m68k/system.h | : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
ptr | 133 | include/asm-m68k/system.h | : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); |
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 | 16 | include/asm-sparc/segment.h | #define put_user(x,ptr) __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))) |
ptr | 17 | include/asm-sparc/segment.h | #define get_user(ptr) ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))) |
ptr | 150 | include/asm-sparc/system.h | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
ptr | 151 | include/asm-sparc/system.h | #define tas(ptr) (xchg((ptr),1)) |
ptr | 155 | include/asm-sparc/system.h | static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) |
ptr | 159 | include/asm-sparc/system.h | return xchg_u32(ptr, x); |
ptr | 101 | include/linux/if_ppp.h | __u8 *ptr; |
ptr | 35 | include/linux/ip.h | __u8 ptr; |
ptr | 222 | include/linux/proc_fs.h | extern void scsi_init_free(char *ptr, unsigned int size); |
ptr | 611 | 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 | 323 | mm/kmalloc.c | void kfree(void *ptr) |
ptr | 331 | mm/kmalloc.c | if (!ptr) |
ptr | 333 | mm/kmalloc.c | p = ((struct block_header *) ptr) - 1; |
ptr | 373 | net/appletalk/aarp.c | static int aarp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 380 | net/appletalk/aarp.c | aarp_expire_device(&resolved[ct],ptr); |
ptr | 381 | net/appletalk/aarp.c | aarp_expire_device(&unresolved[ct],ptr); |
ptr | 711 | net/appletalk/ddp.c | static int ddp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 716 | net/appletalk/ddp.c | atrtr_device_down((struct device *)ptr); |
ptr | 717 | net/appletalk/ddp.c | atif_drop_device((struct device *)ptr); |
ptr | 239 | net/ax25/af_ax25.c | static int ax25_device_event(struct notifier_block *this,unsigned long event, void *ptr) |
ptr | 241 | net/ax25/af_ax25.c | struct device *dev = (struct device *)ptr; |
ptr | 2442 | net/ax25/af_ax25.c | unsigned char *ptr; |
ptr | 2466 | net/ax25/af_ax25.c | ptr = skb_push(skb, 2); |
ptr | 2468 | net/ax25/af_ax25.c | *ptr++ = (size + 5) % 256; |
ptr | 2469 | net/ax25/af_ax25.c | *ptr++ = (size + 5) / 256; |
ptr | 2477 | net/ax25/af_ax25.c | ptr = skb_push(skb, 1); |
ptr | 2478 | net/ax25/af_ax25.c | *ptr++ = 0; /* KISS */ |
ptr | 267 | net/ax25/ax25_out.c | unsigned char *ptr; |
ptr | 287 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
ptr | 288 | net/ax25/ax25_out.c | build_ax25_addr(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); |
ptr | 43 | net/bridge/br.c | static int br_device_event(struct notifier_block *dnot, unsigned long event, void *ptr); |
ptr | 986 | net/bridge/br.c | static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr) |
ptr | 988 | net/bridge/br.c | struct device *dev = ptr; |
ptr | 982 | net/core/net_alias.c | int net_alias_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 984 | net/core/net_alias.c | struct device *dev = ptr; |
ptr | 770 | net/ipv4/arp.c | int arp_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 772 | net/ipv4/arp.c | struct device *dev=ptr; |
ptr | 96 | net/ipv4/ip_forward.c | unsigned char *ptr; /* Data pointer */ |
ptr | 308 | net/ipv4/ip_forward.c | ptr = skb_put(skb2,skb->len); |
ptr | 310 | net/ipv4/ip_forward.c | skb2->h.raw = ptr; |
ptr | 315 | net/ipv4/ip_forward.c | memcpy(ptr, skb->h.raw, skb->len); |
ptr | 60 | net/ipv4/ip_fragment.c | extern __inline__ void frag_kfree_s(void *ptr, int len) |
ptr | 63 | net/ipv4/ip_fragment.c | kfree_s(ptr,len); |
ptr | 79 | net/ipv4/ip_fragment.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
ptr | 97 | net/ipv4/ip_fragment.c | fp->ptr = ptr; |
ptr | 334 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 356 | net/ipv4/ip_fragment.c | ptr = (unsigned char *) skb->h.raw; |
ptr | 357 | net/ipv4/ip_fragment.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
ptr | 358 | net/ipv4/ip_fragment.c | ptr += qp->ihlen; |
ptr | 374 | net/ipv4/ip_fragment.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
ptr | 403 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 481 | net/ipv4/ip_fragment.c | ptr = skb->data + ihl; |
ptr | 513 | net/ipv4/ip_fragment.c | ptr += i; /* ptr into fragment data */ |
ptr | 530 | net/ipv4/ip_fragment.c | tmp->ptr += i; |
ptr | 557 | net/ipv4/ip_fragment.c | tfp = ip_frag_create(offset, end, skb, ptr); |
ptr | 610 | net/ipv4/ip_fragment.c | unsigned char *ptr; |
ptr | 635 | net/ipv4/ip_fragment.c | ptr = (raw + hlen); /* Where to start from */ |
ptr | 736 | net/ipv4/ip_fragment.c | memcpy(skb2->h.raw + hlen, ptr, len); |
ptr | 763 | net/ipv4/ip_fragment.c | ptr += len; |
ptr | 1136 | net/ipv4/ip_fw.c | int ipfw_device_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 1138 | net/ipv4/ip_fw.c | struct device *dev=ptr; |
ptr | 369 | net/ipv4/ip_options.c | if (ts->ptr+3 > ts->len) |
ptr | 379 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr-1]; |
ptr | 381 | net/ipv4/ip_options.c | ts->ptr += 4; |
ptr | 384 | net/ipv4/ip_options.c | if (ts->ptr+7 > ts->len) |
ptr | 392 | net/ipv4/ip_options.c | memcpy(&optptr[ts->ptr-1], &skb->dev->pa_addr, 4); |
ptr | 393 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr+3]; |
ptr | 397 | net/ipv4/ip_options.c | ts->ptr += 8; |
ptr | 400 | net/ipv4/ip_options.c | if (ts->ptr+7 > ts->len) |
ptr | 408 | net/ipv4/ip_options.c | memcpy(&addr, &optptr[ts->ptr-1], 4); |
ptr | 412 | net/ipv4/ip_options.c | timeptr = (__u32*)&optptr[ts->ptr+3]; |
ptr | 416 | net/ipv4/ip_options.c | ts->ptr += 8; |
ptr | 1071 | net/ipv4/ip_output.c | static int ip_rt_event(struct notifier_block *this, unsigned long event, void *ptr) |
ptr | 1073 | 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 | 1866 | net/ipv4/tcp.c | unsigned char *ptr; |
ptr | 1992 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
ptr | 1993 | net/ipv4/tcp.c | ptr[0] = 2; |
ptr | 1994 | net/ipv4/tcp.c | ptr[1] = 4; |
ptr | 1995 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 1996 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
ptr | 1997 | net/ipv4/tcp.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 259 | net/ipv4/tcp_input.c | unsigned char *ptr; |
ptr | 263 | net/ipv4/tcp_input.c | ptr = (unsigned char *)(th + 1); |
ptr | 267 | net/ipv4/tcp_input.c | int opcode=*ptr++; |
ptr | 268 | net/ipv4/tcp_input.c | int opsize=*ptr++; |
ptr | 275 | net/ipv4/tcp_input.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 286 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 292 | net/ipv4/tcp_input.c | ptr+=opsize-2; |
ptr | 1474 | net/ipv4/tcp_input.c | u32 ptr = ntohs(th->urg_ptr); |
ptr | 1476 | net/ipv4/tcp_input.c | if (ptr) |
ptr | 1477 | net/ipv4/tcp_input.c | ptr--; |
ptr | 1478 | net/ipv4/tcp_input.c | ptr += ntohl(th->seq); |
ptr | 1481 | net/ipv4/tcp_input.c | if (after(sk->copied_seq, ptr)) |
ptr | 1485 | net/ipv4/tcp_input.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 1497 | net/ipv4/tcp_input.c | sk->urg_seq = ptr; |
ptr | 1518 | net/ipv4/tcp_input.c | u32 ptr; |
ptr | 1523 | net/ipv4/tcp_input.c | ptr = sk->urg_seq - ntohl(th->seq) + th->doff*4; |
ptr | 1524 | net/ipv4/tcp_input.c | if (ptr < len) { |
ptr | 1525 | net/ipv4/tcp_input.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 671 | net/ipv4/tcp_output.c | unsigned char *ptr; |
ptr | 732 | net/ipv4/tcp_output.c | ptr = skb_put(buff,4); |
ptr | 733 | net/ipv4/tcp_output.c | ptr[0] = 2; |
ptr | 734 | net/ipv4/tcp_output.c | ptr[1] = 4; |
ptr | 735 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 736 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 737 | net/ipv4/tcp_output.c | buff->csum = csum_partial(ptr, 4, 0); |
ptr | 343 | net/ipx/af_ipx.c | ipxitf_device_event(struct notifier_block *notifier, unsigned long event, void *ptr) |
ptr | 345 | 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; |