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 | 231 | arch/i386/kernel/vm86.c | #define pushb(base, ptr, val) \ |
ptr | 235 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 236 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 238 | arch/i386/kernel/vm86.c | #define pushw(base, ptr, val) \ |
ptr | 244 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 245 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 247 | arch/i386/kernel/vm86.c | #define pushl(base, ptr, val) \ |
ptr | 259 | arch/i386/kernel/vm86.c | : "=r" (ptr) \ |
ptr | 260 | arch/i386/kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 262 | arch/i386/kernel/vm86.c | #define popb(base, ptr) \ |
ptr | 267 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 268 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 271 | arch/i386/kernel/vm86.c | #define popw(base, ptr) \ |
ptr | 278 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 279 | arch/i386/kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 282 | arch/i386/kernel/vm86.c | #define popl(base, ptr) \ |
ptr | 295 | arch/i386/kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 296 | 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 | 343 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr); |
ptr | 434 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 436 | drivers/scsi/aha152x.c | ptr=*SC; |
ptr | 437 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 439 | drivers/scsi/aha152x.c | return ptr; |
ptr | 444 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 446 | drivers/scsi/aha152x.c | for( ptr=*SC, prev=NULL; |
ptr | 447 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
ptr | 448 | drivers/scsi/aha152x.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 451 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 453 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 455 | drivers/scsi/aha152x.c | *SC= (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 456 | drivers/scsi/aha152x.c | return ptr; |
ptr | 813 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
ptr | 819 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = (char *)SCpnt->request_buffer; |
ptr | 874 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 889 | drivers/scsi/aha152x.c | for( ptr=issue_SC, prev=NULL; |
ptr | 890 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 891 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 894 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 898 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 900 | drivers/scsi/aha152x.c | issue_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 903 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 904 | drivers/scsi/aha152x.c | ptr->result = DID_ABORT << 16; |
ptr | 905 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 935 | drivers/scsi/aha152x.c | for( ptr=disconnected_SC, prev=NULL; |
ptr | 936 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 937 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 940 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 945 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 947 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 951 | drivers/scsi/aha152x.c | current_SC = ptr; |
ptr | 952 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
ptr | 1029 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev, *next; |
ptr | 1056 | drivers/scsi/aha152x.c | prev=NULL; ptr=disconnected_SC; |
ptr | 1057 | drivers/scsi/aha152x.c | while(ptr) |
ptr | 1059 | drivers/scsi/aha152x.c | if(!ptr->device->soft_reset) |
ptr | 1062 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 1064 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1066 | drivers/scsi/aha152x.c | next = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1068 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 1069 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 1070 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 1072 | drivers/scsi/aha152x.c | ptr = next; |
ptr | 1076 | drivers/scsi/aha152x.c | prev=ptr; |
ptr | 1077 | drivers/scsi/aha152x.c | ptr = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1965 | drivers/scsi/aha152x.c | *current_SC->SCp.ptr++ = GETPORT( DATAPORT ); |
ptr | 1972 | drivers/scsi/aha152x.c | insw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 1983 | drivers/scsi/aha152x.c | data = (unsigned char *) current_SC->SCp.ptr; |
ptr | 1989 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 2000 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 2106 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *current_SC->SCp.ptr++); |
ptr | 2113 | drivers/scsi/aha152x.c | outsw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 2114 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 2136 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 2153 | drivers/scsi/aha152x.c | current_SC->SCp.ptr -= data_count; |
ptr | 2544 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr) |
ptr | 2547 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2549 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
ptr | 2552 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2554 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & not_issued ) printk("not issued|"); |
ptr | 2555 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_selection ) printk("in selection|"); |
ptr | 2556 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & disconnected ) printk("disconnected|"); |
ptr | 2557 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & aborted ) printk("aborted|"); |
ptr | 2558 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
ptr | 2559 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_other ) |
ptr | 2562 | drivers/scsi/aha152x.c | switch( (ptr->SCp.phase >> 16) & P_MASK ) |
ptr | 2587 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2590 | drivers/scsi/aha152x.c | printk("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2599 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2604 | drivers/scsi/aha152x.c | for(ptr=issue_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2605 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2614 | drivers/scsi/aha152x.c | for(ptr=disconnected_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2615 | 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 | 1955 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 1958 | drivers/scsi/scsi.c | if((unsigned long) ptr >= scsi_init_memory_start || |
ptr | 1959 | drivers/scsi/scsi.c | (unsigned long) ptr < scsi_memory_lower_value) kfree(ptr); |
ptr | 1963 | drivers/scsi/scsi.c | if(((unsigned long) ptr) + size == scsi_init_memory_start) |
ptr | 1964 | drivers/scsi/scsi.c | scsi_init_memory_start = (unsigned long) ptr; |
ptr | 2455 | drivers/scsi/scsi.c | int scsi_register_module(int module_type, void * ptr) |
ptr | 2459 | drivers/scsi/scsi.c | return scsi_register_host((Scsi_Host_Template *) ptr); |
ptr | 2476 | drivers/scsi/scsi.c | void scsi_unregister_module(int module_type, void * ptr) |
ptr | 2480 | drivers/scsi/scsi.c | scsi_unregister_host((Scsi_Host_Template *) ptr); |
ptr | 420 | 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 | 339 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct * p, unsigned long ptr) |
ptr | 345 | fs/proc/array.c | if (!p || ptr >= TASK_SIZE) |
ptr | 347 | fs/proc/array.c | page_dir = pgd_offset(p,ptr); |
ptr | 355 | fs/proc/array.c | page_middle = pmd_offset(page_dir,ptr); |
ptr | 363 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
ptr | 366 | 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 | 138 | ipc/util.c | return sys_shmat (first, (char *) ptr, second, (ulong *) third); |
ptr | 141 | ipc/util.c | return sys_shmdt ((char *)ptr); |
ptr | 145 | ipc/util.c | return sys_shmctl (first, second, (struct shmid_ds *) ptr); |
ptr | 154 | 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 | 260 | net/inet/arp.c | int arp_device_event(unsigned long event, void *ptr) |
ptr | 262 | net/inet/arp.c | struct device *dev=ptr; |
ptr | 25 | net/inet/eth.h | extern char *eth_print(unsigned char *ptr); |
ptr | 184 | net/inet/ip.c | unsigned char *ptr; |
ptr | 186 | net/inet/ip.c | ptr = (unsigned char *)(iph+1); |
ptr | 187 | net/inet/ip.c | *ptr = 0; |
ptr | 363 | net/inet/ip.c | opt->tstamp.ptr = 0; |
ptr | 461 | net/inet/ip.c | opt->tstamp.ptr = (*buff-1)/4; |
ptr | 572 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
ptr | 589 | net/inet/ip.c | fp->ptr = ptr; |
ptr | 828 | net/inet/ip.c | unsigned char *ptr; |
ptr | 851 | net/inet/ip.c | ptr = (unsigned char *) skb->h.raw; |
ptr | 852 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->mac), qp->maclen); |
ptr | 853 | net/inet/ip.c | ptr += qp->maclen; |
ptr | 854 | net/inet/ip.c | memcpy(ptr, ((unsigned char *) qp->iph), qp->ihlen); |
ptr | 855 | net/inet/ip.c | ptr += qp->ihlen; |
ptr | 872 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
ptr | 901 | net/inet/ip.c | unsigned char *ptr; |
ptr | 962 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ptr | 994 | net/inet/ip.c | ptr += i; /* ptr into fragment data */ |
ptr | 1011 | net/inet/ip.c | next->ptr += i; |
ptr | 1037 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
ptr | 1091 | net/inet/ip.c | unsigned char *ptr; |
ptr | 1114 | net/inet/ip.c | ptr = (raw + hlen); /* Where to start from */ |
ptr | 1221 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
ptr | 1237 | net/inet/ip.c | ptr += len; |
ptr | 1265 | net/inet/ip.c | unsigned char *ptr; /* Data pointer */ |
ptr | 1401 | net/inet/ip.c | ptr = skb2->data; |
ptr | 1404 | net/inet/ip.c | skb2->h.raw = ptr; |
ptr | 1409 | net/inet/ip.c | memcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len); |
ptr | 1789 | net/inet/ip.c | unsigned char *ptr; |
ptr | 1816 | net/inet/ip.c | ptr = skb->data; |
ptr | 1817 | net/inet/ip.c | ptr += dev->hard_header_len; |
ptr | 1818 | net/inet/ip.c | iph = (struct iphdr *)ptr; |
ptr | 2399 | net/inet/ip.c | static int ip_rt_event(unsigned long event, void *ptr) |
ptr | 2402 | 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 | 2590 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 2594 | net/inet/tcp.c | ptr = (unsigned char *)(th + 1); |
ptr | 2598 | net/inet/tcp.c | int opcode=*ptr++; |
ptr | 2599 | net/inet/tcp.c | int opsize=*ptr++; |
ptr | 2606 | net/inet/tcp.c | ptr--; /* the opsize=*ptr++ above was a mistake */ |
ptr | 2617 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 2623 | net/inet/tcp.c | ptr+=opsize-2; |
ptr | 2679 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 2921 | net/inet/tcp.c | ptr =(unsigned char *)(t1+1); |
ptr | 2922 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 2923 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 2924 | net/inet/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 2925 | net/inet/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 4126 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ptr | 4128 | net/inet/tcp.c | if (ptr) |
ptr | 4129 | net/inet/tcp.c | ptr--; |
ptr | 4130 | net/inet/tcp.c | ptr += th->seq; |
ptr | 4133 | net/inet/tcp.c | if (after(sk->copied_seq, ptr)) |
ptr | 4137 | net/inet/tcp.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 4149 | net/inet/tcp.c | sk->urg_seq = ptr; |
ptr | 4159 | net/inet/tcp.c | unsigned long ptr; |
ptr | 4179 | net/inet/tcp.c | ptr = sk->urg_seq - th->seq + th->doff*4; |
ptr | 4180 | net/inet/tcp.c | if (ptr >= len) |
ptr | 4187 | net/inet/tcp.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 4260 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 4385 | net/inet/tcp.c | ptr = (unsigned char *)(t1+1); |
ptr | 4386 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 4387 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 4388 | net/inet/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 4389 | net/inet/tcp.c | ptr[3] = (sk->mtu) & 0xff; |