tag | line | file | source code |
ptr | 15 | arch/i386/kernel/ldt.c | static int read_ldt(void * ptr, unsigned long bytecount) |
ptr | 21 | arch/i386/kernel/ldt.c | if (!ptr) |
ptr | 30 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
ptr | 33 | arch/i386/kernel/ldt.c | memcpy_tofs(ptr, address, size); |
ptr | 37 | arch/i386/kernel/ldt.c | static int write_ldt(void * ptr, unsigned long bytecount) |
ptr | 46 | arch/i386/kernel/ldt.c | error = verify_area(VERIFY_READ, ptr, sizeof(ldt_info)); |
ptr | 50 | arch/i386/kernel/ldt.c | memcpy_fromfs(&ldt_info, ptr, sizeof(ldt_info)); |
ptr | 97 | arch/i386/kernel/ldt.c | asmlinkage int sys_modify_ldt(int func, void *ptr, unsigned long bytecount) |
ptr | 100 | arch/i386/kernel/ldt.c | return read_ldt(ptr, bytecount); |
ptr | 102 | arch/i386/kernel/ldt.c | return write_ldt(ptr, bytecount); |
ptr | 223 | arch/i386/kernel/vm86.c | #define pushb(base, ptr, val) \ |
ptr | 227 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 228 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 230 | arch/i386/kernel/vm86.c | #define pushw(base, ptr, val) \ |
ptr | 236 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 237 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 239 | arch/i386/kernel/vm86.c | #define pushl(base, ptr, val) \ |
ptr | 251 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 252 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 254 | arch/i386/kernel/vm86.c | #define popb(base, ptr) \ |
ptr | 259 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 260 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 263 | arch/i386/kernel/vm86.c | #define popw(base, ptr) \ |
ptr | 270 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 271 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 274 | arch/i386/kernel/vm86.c | #define popl(base, ptr) \ |
ptr | 287 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 288 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base)); \ |
ptr | 548 | drivers/net/3c505.c | unsigned short * ptr; |
ptr | 614 | drivers/net/3c505.c | ptr = (unsigned short *)SKB_DATA; |
ptr | 632 | drivers/net/3c505.c | *ptr = inw(adapter->io_addr+PORT_DATA); |
ptr | 633 | drivers/net/3c505.c | ptr++; |
ptr | 969 | drivers/net/3c505.c | static int send_packet (elp_device * adapter, unsigned char * ptr, int len) |
ptr | 980 | drivers/net/3c505.c | CHECK_NULL(ptr); |
ptr | 1016 | drivers/net/3c505.c | outw(*(short *)ptr, adapter->io_addr+PORT_DATA); |
ptr | 1017 | drivers/net/3c505.c | ptr +=2; |
ptr | 394 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 401 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 406 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 410 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 418 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 424 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 426 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 427 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 431 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 794 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 803 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 808 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 812 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 817 | drivers/net/apricot.c | if ((ptr->status) & STAT_OK) |
ptr | 824 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
ptr | 825 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
ptr | 826 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
ptr | 827 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
ptr | 828 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
ptr | 832 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 838 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 840 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 841 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 846 | drivers/net/apricot.c | unsigned long status = *((unsigned long *) (ptr + 1)); |
ptr | 866 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) I596_NULL; |
ptr | 872 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 873 | drivers/net/apricot.c | while ((ptr != (struct i596_cmd *) I596_NULL) && (ptr != lp->cmd_tail)) |
ptr | 875 | drivers/net/apricot.c | ptr->command &= 0x1fff; |
ptr | 876 | drivers/net/apricot.c | ptr = ptr->next; |
ptr | 176 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr); |
ptr | 452 | drivers/net/ni52.c | void *ptr; |
ptr | 461 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
ptr | 463 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
ptr | 497 | drivers/net/ni52.c | ias_cmd = (struct iasetup_cmd_struct *)ptr; |
ptr | 522 | drivers/net/ni52.c | tdr_cmd = (struct tdr_cmd_struct *)ptr; |
ptr | 575 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 579 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 581 | drivers/net/ni52.c | p->xmit_cmds[0] = (struct transmit_cmd_struct *)ptr; /* transmit cmd/buff 0 */ |
ptr | 582 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 586 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 590 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct nop_cmd_struct); |
ptr | 591 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ |
ptr | 592 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); |
ptr | 596 | drivers/net/ni52.c | ptr = alloc_rfa(dev,(void *)ptr); /* init receive-frame-area */ |
ptr | 604 | drivers/net/ni52.c | int len = ((char *) p->iscp - (char *) ptr - 8) / 6; |
ptr | 616 | drivers/net/ni52.c | mc_cmd = (struct mcsetup_cmd_struct *) ptr; |
ptr | 640 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
ptr | 641 | drivers/net/ni52.c | ptr = (char *) ptr + XMIT_BUFF_SIZE; |
ptr | 642 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
ptr | 643 | drivers/net/ni52.c | ptr = (char *) ptr + sizeof(struct tbd_struct); |
ptr | 644 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
ptr | 685 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr) |
ptr | 687 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
ptr | 699 | drivers/net/ni52.c | ptr = (void *) (rfd + p->num_recv_buffs); |
ptr | 701 | drivers/net/ni52.c | rbd = (struct rbd_struct *) ptr; |
ptr | 702 | drivers/net/ni52.c | ptr = (void *) (rbd + p->num_recv_buffs); |
ptr | 711 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
ptr | 712 | drivers/net/ni52.c | ptr = (char *) ptr + RECV_BUFF_SIZE; |
ptr | 721 | drivers/net/ni52.c | return ptr; |
ptr | 786 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 795 | drivers/net/slip.c | *ptr++ = END; |
ptr | 805 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 806 | drivers/net/slip.c | *ptr++ = ESC_END; |
ptr | 809 | drivers/net/slip.c | *ptr++ = ESC; |
ptr | 810 | drivers/net/slip.c | *ptr++ = ESC_ESC; |
ptr | 813 | drivers/net/slip.c | *ptr++ = c; |
ptr | 817 | drivers/net/slip.c | *ptr++ = END; |
ptr | 818 | drivers/net/slip.c | return (ptr - d); |
ptr | 867 | drivers/net/slip.c | unsigned char *ptr = d; |
ptr | 879 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 891 | drivers/net/slip.c | *ptr++ = c; |
ptr | 896 | drivers/net/slip.c | *ptr++ = c; |
ptr | 898 | drivers/net/slip.c | *ptr++ = 0x70; |
ptr | 899 | drivers/net/slip.c | return ptr - d; |
ptr | 2078 | drivers/scsi/53c7,8xx.c | *ptr; /* Pointer to argument list */ |
ptr | 2109 | drivers/scsi/53c7,8xx.c | for (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) { |
ptr | 2110 | drivers/scsi/53c7,8xx.c | if (*ptr == ' ' || *ptr == '\t') { |
ptr | 2111 | drivers/scsi/53c7,8xx.c | ++ptr; |
ptr | 2112 | drivers/scsi/53c7,8xx.c | } else if (isdigit(*ptr)) { |
ptr | 2113 | drivers/scsi/53c7,8xx.c | args[j++] = simple_strtoul (ptr, &ptr, 0); |
ptr | 3776 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 3785 | drivers/scsi/53c7,8xx.c | ptr = (char *) dsa[hostdata->dsa_msgout / sizeof(long) + 1]; i > 0; |
ptr | 3786 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
ptr | 3788 | drivers/scsi/53c7,8xx.c | len = print_msg (ptr); |
ptr | 308 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
ptr | 313 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
ptr | 714 | drivers/scsi/NCR5380.c | Scsi_Cmnd *ptr; |
ptr | 735 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; |
ptr | 736 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 737 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 741 | drivers/scsi/NCR5380.c | for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; |
ptr | 742 | drivers/scsi/NCR5380.c | ptr = (Scsi_Cmnd *) ptr->host_scribble) |
ptr | 743 | drivers/scsi/NCR5380.c | print_Scsi_Cmnd (ptr); |
ptr | 1098 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 1968 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2004 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2023 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
ptr | 2128 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 2547 | drivers/scsi/NCR5380.c | hostdata->connected->SCp.ptr += transferred; |
ptr | 303 | drivers/scsi/NCR5380.h | unsigned char *ptr, unsigned int count, unsigned char mode) { |
ptr | 309 | drivers/scsi/NCR5380.h | limit = 65536 - (((unsigned) ptr) & 0xFFFF); |
ptr | 313 | drivers/scsi/NCR5380.h | limit = 65536* 2 - (((unsigned) ptr) & 0x1FFFF); |
ptr | 318 | drivers/scsi/NCR5380.h | if ((count & 1) || (((unsigned) ptr) & 1)) |
ptr | 323 | drivers/scsi/NCR5380.h | set_dma_addr(instance->dma_channel, (unsigned int) ptr); |
ptr | 331 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr); |
ptr | 422 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 424 | drivers/scsi/aha152x.c | ptr=*SC; |
ptr | 425 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 427 | drivers/scsi/aha152x.c | return ptr; |
ptr | 432 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 434 | drivers/scsi/aha152x.c | for( ptr=*SC, prev=NULL; |
ptr | 435 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
ptr | 436 | drivers/scsi/aha152x.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 439 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 441 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 443 | drivers/scsi/aha152x.c | *SC= (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 444 | drivers/scsi/aha152x.c | return ptr; |
ptr | 787 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
ptr | 793 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = (char *)SCpnt->request_buffer; |
ptr | 848 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 863 | drivers/scsi/aha152x.c | for( ptr=issue_SC, prev=NULL; |
ptr | 864 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 865 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 868 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 872 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 874 | drivers/scsi/aha152x.c | issue_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 877 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 878 | drivers/scsi/aha152x.c | ptr->result = DID_ABORT << 16; |
ptr | 879 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 909 | drivers/scsi/aha152x.c | for( ptr=disconnected_SC, prev=NULL; |
ptr | 910 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 911 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 914 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 919 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 921 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 925 | drivers/scsi/aha152x.c | current_SC = ptr; |
ptr | 926 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
ptr | 1003 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev, *next; |
ptr | 1030 | drivers/scsi/aha152x.c | prev=NULL; ptr=disconnected_SC; |
ptr | 1031 | drivers/scsi/aha152x.c | while(ptr) |
ptr | 1033 | drivers/scsi/aha152x.c | if(!ptr->device->soft_reset) |
ptr | 1036 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1038 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1040 | drivers/scsi/aha152x.c | next = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1042 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1043 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1044 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 1046 | drivers/scsi/aha152x.c | ptr = next; |
ptr | 1050 | drivers/scsi/aha152x.c | prev=ptr; |
ptr | 1051 | drivers/scsi/aha152x.c | ptr = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1939 | drivers/scsi/aha152x.c | *current_SC->SCp.ptr++ = GETPORT( DATAPORT ); |
ptr | 1946 | drivers/scsi/aha152x.c | insw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 1957 | drivers/scsi/aha152x.c | data = (unsigned char *) current_SC->SCp.ptr; |
ptr | 1963 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1974 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 2080 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *current_SC->SCp.ptr++); |
ptr | 2087 | drivers/scsi/aha152x.c | outsw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 2088 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 2110 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 2127 | drivers/scsi/aha152x.c | current_SC->SCp.ptr -= data_count; |
ptr | 2518 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr) |
ptr | 2521 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2523 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
ptr | 2526 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2528 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & not_issued ) printk("not issued|"); |
ptr | 2529 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_selection ) printk("in selection|"); |
ptr | 2530 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & disconnected ) printk("disconnected|"); |
ptr | 2531 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & aborted ) printk("aborted|"); |
ptr | 2532 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
ptr | 2533 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_other ) |
ptr | 2536 | drivers/scsi/aha152x.c | switch( (ptr->SCp.phase >> 16) & P_MASK ) |
ptr | 2561 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2564 | drivers/scsi/aha152x.c | printk("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2573 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2578 | drivers/scsi/aha152x.c | for(ptr=issue_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2579 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2588 | drivers/scsi/aha152x.c | for(ptr=disconnected_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2589 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 604 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 615 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 622 | drivers/scsi/aha1542.c | ptr = (unsigned char *) &cptr[i]; |
ptr | 623 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 634 | drivers/scsi/aha1542.c | ptr = (unsigned char *) cptr; |
ptr | 635 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 323 | drivers/scsi/aha1740.c | unsigned char * ptr; |
ptr | 339 | drivers/scsi/aha1740.c | ptr = (unsigned char *) cptr; |
ptr | 340 | drivers/scsi/aha1740.c | for(i=0;i<24;i++) printk("%02x ", ptr[i]); |
ptr | 77 | drivers/scsi/aic7770.c | void *Realloc(void *ptr, size_t size) |
ptr | 79 | drivers/scsi/aic7770.c | void *p = realloc(ptr, size); |
ptr | 742 | drivers/scsi/buslogic.c | unsigned char *ptr; |
ptr | 745 | drivers/scsi/buslogic.c | ptr = (unsigned char *)cptr; |
ptr | 747 | drivers/scsi/buslogic.c | printk(" %02X", ptr[i]); |
ptr | 1226 | drivers/scsi/fdomain.c | outb( *current_SC->SCp.ptr++, Write_FIFO_port ); |
ptr | 1230 | drivers/scsi/fdomain.c | outsw( Write_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1231 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1239 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1259 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
ptr | 1263 | drivers/scsi/fdomain.c | insw( Read_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1264 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1272 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1356 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1360 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = (char *)current_SC->request_buffer; |
ptr | 297 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
ptr | 1950 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 1953 | drivers/scsi/scsi.c | if((unsigned long) ptr >= scsi_init_memory_start || |
ptr | 1954 | drivers/scsi/scsi.c | (unsigned long) ptr < scsi_memory_lower_value) kfree(ptr); |
ptr | 1958 | drivers/scsi/scsi.c | if(((unsigned long) ptr) + size == scsi_init_memory_start) |
ptr | 1959 | drivers/scsi/scsi.c | scsi_init_memory_start = (unsigned long) ptr; |
ptr | 2450 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 2454 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 2471 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 2475 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 419 | drivers/scsi/scsi.h | char * ptr; /* data pointer */ |
ptr | 322 | drivers/scsi/wd7000.c | unchar ptr[3]; /* Also SCSI-style - MSB first */ |
ptr | 378 | drivers/scsi/wd7000.c | unchar ptr[3]; /* command buffer address */ |
ptr | 420 | drivers/scsi/wd7000.c | unchar ptr[3]; /* buffer address */ |
ptr | 436 | drivers/scsi/wd7000.c | unchar ptr[3]; /* parms buffer address */ |
ptr | 926 | drivers/scsi/wd7000.c | any2scsi(sgb[i].ptr, (int) sg[i].address); |
ptr | 958 | drivers/scsi/wd7000.c | any2scsi(icb.ptr, (int) &buf); |
ptr | 176 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
ptr | 195 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 196 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
ptr | 201 | drivers/sound/dev_table.c | ptr = j; |
ptr | 203 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 207 | drivers/sound/dev_table.c | snd_installed_cards[ptr].enabled = 1; |
ptr | 208 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
ptr | 209 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
ptr | 210 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
ptr | 221 | drivers/sound/dev_table.c | int ptr, j; |
ptr | 223 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 224 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
ptr | 229 | drivers/sound/dev_table.c | ptr = j; |
ptr | 231 | drivers/sound/dev_table.c | if (ptr != -1) |
ptr | 233 | drivers/sound/dev_table.c | snd_installed_cards[ptr].enabled = 1; |
ptr | 235 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.io_base = ioaddr; |
ptr | 237 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.irq = irq; |
ptr | 239 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
ptr | 248 | drivers/sound/dev_table.c | int j, ptr; |
ptr | 251 | drivers/sound/dev_table.c | ptr = -1; |
ptr | 252 | drivers/sound/dev_table.c | for (j = 0; j < n && ptr == -1; j++) |
ptr | 254 | drivers/sound/dev_table.c | ptr = j; |
ptr | 256 | drivers/sound/dev_table.c | if (ptr == -1) |
ptr | 259 | drivers/sound/dev_table.c | return &snd_installed_cards[ptr].config; |
ptr | 2442 | drivers/sound/gus_wave.c | int ptr = patch_table[i]; |
ptr | 2446 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample) |
ptr | 2449 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2457 | drivers/sound/gus_wave.c | int ptr = patch_table[rec->parm1]; |
ptr | 2461 | drivers/sound/gus_wave.c | while (ptr >= 0 && ptr < free_sample) |
ptr | 2463 | drivers/sound/gus_wave.c | rec->data.data32[n++] = ptr; |
ptr | 2464 | drivers/sound/gus_wave.c | ptr = samples[ptr].key; /* Follow link */ |
ptr | 2473 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2476 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2479 | drivers/sound/gus_wave.c | memcpy (rec->data.data8, (char *) &samples[ptr], |
ptr | 2485 | drivers/sound/gus_wave.c | rec->parm1 = sample_ptrs[ptr]; /* DRAM location */ |
ptr | 2493 | drivers/sound/gus_wave.c | int ptr = rec->parm1; |
ptr | 2496 | drivers/sound/gus_wave.c | if (ptr < 0 || ptr >= free_sample) |
ptr | 2501 | drivers/sound/gus_wave.c | if (pat->len > samples[ptr].len) /* Cannot expand sample */ |
ptr | 2504 | drivers/sound/gus_wave.c | pat->key = samples[ptr].key; /* Ensure the link is correct */ |
ptr | 2506 | drivers/sound/gus_wave.c | memcpy ((char *) &samples[ptr], rec->data.data8, |
ptr | 2608 | drivers/sound/gus_wave.c | p = alloc->ptr; |
ptr | 2617 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2631 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 2638 | drivers/sound/gus_wave.c | alloc->ptr = p; |
ptr | 223 | drivers/sound/sound_config.h | int ptr; /* For device specific use */ |
ptr | 338 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 344 | fs/proc/array.c | if (!p || ptr >= TASK_SIZE) |
ptr | 346 | fs/proc/array.c | page_dir = pgd_offset(p,ptr); |
ptr | 354 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 362 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 365 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
ptr | 35 | include/linux/ip.h | __u8 ptr; |
ptr | 17 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth); |
ptr | 66 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 76 | ipc/util.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 82 | ipc/util.c | if (!ptr) |
ptr | 84 | ipc/util.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(long)))) |
ptr | 86 | ipc/util.c | fourth.__pad = (void *) get_fs_long(ptr); |
ptr | 95 | ipc/util.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 102 | ipc/util.c | if (!ptr) |
ptr | 104 | ipc/util.c | if ((err = verify_area (VERIFY_READ, ptr, sizeof(tmp)))) |
ptr | 106 | ipc/util.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 111 | ipc/util.c | return sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); |
ptr | 116 | ipc/util.c | return sys_msgctl (first, second, (struct msqid_ds *) ptr); |
ptr | 129 | ipc/util.c | err = sys_shmat (first, (char *) ptr, second, &raddr); |
ptr | 136 | ipc/util.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 139 | ipc/util.c | return sys_shmdt ((char *)ptr); |
ptr | 143 | ipc/util.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 152 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) |
ptr | 300 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
ptr | 304 | mm/kmalloc.c | register struct block_header *p=((struct block_header *)ptr) -1; |
ptr | 254 | net/inet/arp.c | int arp_device_event(unsigned long event, void *ptr) |
ptr | 256 | net/inet/arp.c | struct device *dev=ptr; |
ptr | 25 | net/inet/eth.h | extern char *eth_print(unsigned char *ptr); |
ptr | 182 | net/inet/ip.c | unsigned char *ptr; |
ptr | 184 | net/inet/ip.c | ptr = (unsigned char *)(iph+1); |
ptr | 185 | net/inet/ip.c | *ptr = 0; |
ptr | 361 | net/inet/ip.c | opt->tstamp.ptr = 0; |
ptr | 459 | net/inet/ip.c | opt->tstamp.ptr = (*buff-1)/4; |
ptr | 570 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
ptr | 587 | net/inet/ip.c | fp->ptr = ptr; |
ptr | 826 | net/inet/ip.c | unsigned char *ptr; |
ptr | 849 | net/inet/ip.c | ptr = (unsigned char *) skb->h.raw; |
ptr | 850 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->mac), qp->maclen); |
ptr | 851 | net/inet/ip.c | ptr += qp->maclen; |
ptr | 852 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
ptr | 853 | net/inet/ip.c | ptr += qp->ihlen; |
ptr | 870 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
ptr | 899 | net/inet/ip.c | unsigned char *ptr; |
ptr | 960 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ptr | 992 | net/inet/ip.c | ptr += i; /* ptr into fragment data */ |
ptr | 1009 | net/inet/ip.c | next->ptr += i; |
ptr | 1035 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
ptr | 1089 | net/inet/ip.c | unsigned char *ptr; |
ptr | 1112 | net/inet/ip.c | ptr = (raw + hlen); /* Where to start from */ |
ptr | 1219 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
ptr | 1235 | net/inet/ip.c | ptr += len; |
ptr | 1263 | net/inet/ip.c | unsigned char *ptr; /* Data pointer */ |
ptr | 1399 | net/inet/ip.c | ptr = skb2->data; |
ptr | 1402 | net/inet/ip.c | skb2->h.raw = ptr; |
ptr | 1407 | net/inet/ip.c | memcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len); |
ptr | 1787 | net/inet/ip.c | unsigned char *ptr; |
ptr | 1814 | net/inet/ip.c | ptr = skb->data; |
ptr | 1815 | net/inet/ip.c | ptr += dev->hard_header_len; |
ptr | 1816 | net/inet/ip.c | iph = (struct iphdr *)ptr; |
ptr | 2391 | net/inet/ip.c | static int ip_rt_event(unsigned long event, void *ptr) |
ptr | 2394 | net/inet/ip.c | ip_rt_flush(ptr); |
ptr | 54 | net/inet/ip.h | unsigned char *ptr; /* pointer into real fragment data */ |
ptr | 297 | net/inet/ipx.c | ipxitf_device_event(unsigned long event, void *ptr) |
ptr | 299 | net/inet/ipx.c | struct device *dev = ptr; |
ptr | 2587 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 2591 | net/inet/tcp.c | ptr = (unsigned char *)(th + 1); |
ptr | 2595 | net/inet/tcp.c | int opcode=*ptr++; |
ptr | 2596 | net/inet/tcp.c | int opsize=*ptr++; |
ptr | 2603 | net/inet/tcp.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 2614 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 2620 | net/inet/tcp.c | ptr+=opsize-2; |
ptr | 2676 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 2918 | net/inet/tcp.c | ptr =(unsigned char *)(t1+1); |
ptr | 2919 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 2920 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 2921 | net/inet/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 2922 | net/inet/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 4123 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ptr | 4125 | net/inet/tcp.c | if (ptr) |
ptr | 4126 | net/inet/tcp.c | ptr--; |
ptr | 4127 | net/inet/tcp.c | ptr += th->seq; |
ptr | 4130 | net/inet/tcp.c | if (after(sk->copied_seq, ptr)) |
ptr | 4134 | net/inet/tcp.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 4146 | net/inet/tcp.c | sk->urg_seq = ptr; |
ptr | 4156 | net/inet/tcp.c | unsigned long ptr; |
ptr | 4176 | net/inet/tcp.c | ptr = sk->urg_seq - th->seq + th->doff*4; |
ptr | 4177 | net/inet/tcp.c | if (ptr >= len) |
ptr | 4184 | net/inet/tcp.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 4257 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 4382 | net/inet/tcp.c | ptr = (unsigned char *)(t1+1); |
ptr | 4383 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 4384 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 4385 | net/inet/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 4386 | net/inet/tcp.c | ptr[3] = (sk->mtu) & 0xff; |