tag | line | file | source code |
ptr | 549 | drivers/net/3c505.c | unsigned short * ptr; |
ptr | 615 | drivers/net/3c505.c | ptr = (unsigned short *)SKB_DATA; |
ptr | 633 | drivers/net/3c505.c | *ptr = inw(adapter->io_addr+PORT_DATA); |
ptr | 634 | drivers/net/3c505.c | ptr++; |
ptr | 971 | drivers/net/3c505.c | static int send_packet (elp_device * adapter, unsigned char * ptr, int len) |
ptr | 982 | drivers/net/3c505.c | CHECK_NULL(ptr); |
ptr | 1018 | drivers/net/3c505.c | outw(*(short *)ptr, adapter->io_addr+PORT_DATA); |
ptr | 1019 | drivers/net/3c505.c | ptr +=2; |
ptr | 373 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 380 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 385 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 389 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 397 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 403 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 405 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 406 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 410 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 743 | drivers/net/apricot.c | struct i596_cmd *ptr; |
ptr | 752 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 757 | drivers/net/apricot.c | switch ((ptr->command) & 0x7) |
ptr | 761 | drivers/net/apricot.c | struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; |
ptr | 766 | drivers/net/apricot.c | if ((ptr->status) & STAT_OK) |
ptr | 773 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
ptr | 774 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
ptr | 775 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
ptr | 776 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
ptr | 777 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
ptr | 781 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 787 | drivers/net/apricot.c | unsigned short count = *((unsigned short *) (ptr + 1)); |
ptr | 789 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 790 | drivers/net/apricot.c | kfree_s((unsigned char *)ptr, (sizeof (struct i596_cmd) + count + 2)); |
ptr | 795 | drivers/net/apricot.c | unsigned long status = *((unsigned long *) (ptr + 1)); |
ptr | 815 | drivers/net/apricot.c | ptr->next = (struct i596_cmd * ) -1; |
ptr | 821 | drivers/net/apricot.c | ptr = lp->cmd_head; |
ptr | 822 | drivers/net/apricot.c | while ((ptr != (struct i596_cmd *) -1) && (ptr != lp->cmd_tail)) |
ptr | 824 | drivers/net/apricot.c | ptr->command &= 0x1fff; |
ptr | 825 | drivers/net/apricot.c | ptr = ptr->next; |
ptr | 206 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr); |
ptr | 475 | drivers/net/ni52.c | void *ptr; |
ptr | 483 | drivers/net/ni52.c | ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); |
ptr | 485 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
ptr | 513 | drivers/net/ni52.c | ias_cmd = (struct iasetup_cmd_struct *)ptr; |
ptr | 538 | drivers/net/ni52.c | tdr_cmd = (struct tdr_cmd_struct *)ptr; |
ptr | 591 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 595 | drivers/net/ni52.c | ptr += sizeof(struct nop_cmd_struct); |
ptr | 597 | drivers/net/ni52.c | p->xmit_cmds[0] = (struct transmit_cmd_struct *)ptr; /* transmit cmd/buff 0 */ |
ptr | 598 | drivers/net/ni52.c | ptr += sizeof(struct transmit_cmd_struct); |
ptr | 602 | drivers/net/ni52.c | p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; |
ptr | 606 | drivers/net/ni52.c | ptr += sizeof(struct nop_cmd_struct); |
ptr | 607 | drivers/net/ni52.c | p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /* transmit cmd/buff 0 */ |
ptr | 608 | drivers/net/ni52.c | ptr += sizeof(struct transmit_cmd_struct); |
ptr | 612 | drivers/net/ni52.c | ptr = alloc_rfa(dev,(void *)ptr); /* init receive-frame-area */ |
ptr | 619 | drivers/net/ni52.c | p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ |
ptr | 620 | drivers/net/ni52.c | ptr += XMIT_BUFF_SIZE; |
ptr | 621 | drivers/net/ni52.c | p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ |
ptr | 622 | drivers/net/ni52.c | ptr += sizeof(struct tbd_struct); |
ptr | 623 | drivers/net/ni52.c | if((void *)ptr > (void *)p->iscp) |
ptr | 667 | drivers/net/ni52.c | static void *alloc_rfa(struct device *dev,void *ptr) |
ptr | 669 | drivers/net/ni52.c | volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; |
ptr | 681 | drivers/net/ni52.c | ptr = (char *) (rfd + NUM_RECV_FRAMES); |
ptr | 683 | drivers/net/ni52.c | rbd = (struct rbd_struct *) ptr; |
ptr | 684 | drivers/net/ni52.c | ptr += sizeof(struct rbd_struct)*NUM_RECV_BUFFS; |
ptr | 689 | drivers/net/ni52.c | p->min_cbuff32 = ptr; |
ptr | 694 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
ptr | 695 | drivers/net/ni52.c | ptr += RECV_BUFF_SIZE; |
ptr | 698 | drivers/net/ni52.c | p->max_cbuff32 = ptr; |
ptr | 709 | drivers/net/ni52.c | return ptr; |
ptr | 2057 | drivers/scsi/53c7,8xx.c | *ptr; /* Pointer to argument list */ |
ptr | 2088 | drivers/scsi/53c7,8xx.c | for (ptr = input_buf + len, j = 0; j < debugger_tokens[i].nargs && *ptr;) { |
ptr | 2089 | drivers/scsi/53c7,8xx.c | if (*ptr == ' ' || *ptr == '\t') { |
ptr | 2090 | drivers/scsi/53c7,8xx.c | ++ptr; |
ptr | 2091 | drivers/scsi/53c7,8xx.c | } else if (isdigit(*ptr)) { |
ptr | 2092 | drivers/scsi/53c7,8xx.c | args[j++] = simple_strtoul (ptr, &ptr, 0); |
ptr | 3759 | drivers/scsi/53c7,8xx.c | char *ptr; |
ptr | 3768 | drivers/scsi/53c7,8xx.c | ptr = (char *) dsa[hostdata->dsa_msgout / sizeof(long) + 1]; i > 0; |
ptr | 3769 | drivers/scsi/53c7,8xx.c | ptr += len, i -= len) { |
ptr | 3771 | 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 | 1965 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
ptr | 2001 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
ptr | 2020 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
ptr | 2125 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
ptr | 2544 | 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 | 309 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr); |
ptr | 398 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 400 | drivers/scsi/aha152x.c | ptr=*SC; |
ptr | 401 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 403 | drivers/scsi/aha152x.c | return ptr; |
ptr | 408 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 410 | drivers/scsi/aha152x.c | for( ptr=*SC, prev=NULL; |
ptr | 411 | drivers/scsi/aha152x.c | ptr && ((ptr->target!=target) || (ptr->lun!=lun)); |
ptr | 412 | drivers/scsi/aha152x.c | prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 415 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 417 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 419 | drivers/scsi/aha152x.c | *SC= (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 420 | drivers/scsi/aha152x.c | return ptr; |
ptr | 750 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
ptr | 756 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = (char *)SCpnt->request_buffer; |
ptr | 808 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev; |
ptr | 821 | drivers/scsi/aha152x.c | for( ptr=issue_SC, prev=NULL; |
ptr | 822 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 823 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 826 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 830 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 832 | drivers/scsi/aha152x.c | issue_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 835 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 836 | drivers/scsi/aha152x.c | ptr->result = DID_ABORT << 16; |
ptr | 837 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 861 | drivers/scsi/aha152x.c | for( ptr=disconnected_SC, prev=NULL; |
ptr | 862 | drivers/scsi/aha152x.c | ptr && ptr!=SCpnt; |
ptr | 863 | drivers/scsi/aha152x.c | prev=ptr, ptr=(Scsi_Cmnd *) ptr->host_scribble) |
ptr | 866 | drivers/scsi/aha152x.c | if(ptr) |
ptr | 871 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 873 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 877 | drivers/scsi/aha152x.c | current_SC = ptr; |
ptr | 878 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
ptr | 948 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr, *prev, *next; |
ptr | 974 | drivers/scsi/aha152x.c | prev=NULL; ptr=disconnected_SC; |
ptr | 975 | drivers/scsi/aha152x.c | while(ptr) |
ptr | 977 | drivers/scsi/aha152x.c | if(!ptr->device->soft_reset) |
ptr | 980 | drivers/scsi/aha152x.c | prev->host_scribble = ptr->host_scribble; |
ptr | 982 | drivers/scsi/aha152x.c | disconnected_SC = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 984 | drivers/scsi/aha152x.c | next = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 986 | drivers/scsi/aha152x.c | ptr->host_scribble = NULL; |
ptr | 987 | drivers/scsi/aha152x.c | ptr->result = DID_RESET << 16; |
ptr | 988 | drivers/scsi/aha152x.c | ptr->done(ptr); |
ptr | 990 | drivers/scsi/aha152x.c | ptr = next; |
ptr | 994 | drivers/scsi/aha152x.c | prev=ptr; |
ptr | 995 | drivers/scsi/aha152x.c | ptr = (Scsi_Cmnd *) ptr->host_scribble; |
ptr | 1798 | drivers/scsi/aha152x.c | *current_SC->SCp.ptr++ = GETPORT( DATAPORT ); |
ptr | 1805 | drivers/scsi/aha152x.c | insw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 1815 | drivers/scsi/aha152x.c | data = (unsigned char *) current_SC->SCp.ptr; |
ptr | 1821 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1832 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 1932 | drivers/scsi/aha152x.c | SETPORT(DATAPORT, *current_SC->SCp.ptr++); |
ptr | 1939 | drivers/scsi/aha152x.c | outsw( DATAPORT, current_SC->SCp.ptr, data_count ); |
ptr | 1940 | drivers/scsi/aha152x.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1961 | drivers/scsi/aha152x.c | current_SC->SCp.ptr = |
ptr | 1978 | drivers/scsi/aha152x.c | current_SC->SCp.ptr -= data_count; |
ptr | 2355 | drivers/scsi/aha152x.c | static void show_command(Scsi_Cmnd *ptr) |
ptr | 2360 | drivers/scsi/aha152x.c | (unsigned int) ptr, ptr->target, ptr->lun); |
ptr | 2362 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
ptr | 2363 | drivers/scsi/aha152x.c | printk("%02x ", ptr->cmnd[i]); |
ptr | 2366 | drivers/scsi/aha152x.c | ptr->SCp.this_residual, ptr->SCp.buffers_residual); |
ptr | 2368 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & not_issued ) printk("not issued|"); |
ptr | 2369 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_selection ) printk("in selection|"); |
ptr | 2370 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & disconnected ) printk("disconnected|"); |
ptr | 2371 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & aborted ) printk("aborted|"); |
ptr | 2372 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
ptr | 2373 | drivers/scsi/aha152x.c | if( ptr->SCp.phase & in_other ) |
ptr | 2376 | drivers/scsi/aha152x.c | switch( (ptr->SCp.phase >> 16) & P_MASK ) |
ptr | 2401 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
ptr | 2404 | drivers/scsi/aha152x.c | printk("; next=0x%08x\n", (unsigned int) ptr->host_scribble); |
ptr | 2412 | drivers/scsi/aha152x.c | Scsi_Cmnd *ptr; |
ptr | 2416 | drivers/scsi/aha152x.c | for(ptr=issue_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2417 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 2426 | drivers/scsi/aha152x.c | for(ptr=disconnected_SC; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble ) |
ptr | 2427 | drivers/scsi/aha152x.c | show_command(ptr); |
ptr | 566 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 577 | drivers/scsi/aha1542.c | unsigned char * ptr; |
ptr | 584 | drivers/scsi/aha1542.c | ptr = (unsigned char *) &cptr[i]; |
ptr | 585 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 597 | drivers/scsi/aha1542.c | ptr = (unsigned char *) cptr; |
ptr | 598 | drivers/scsi/aha1542.c | for(i=0;i<18;i++) printk("%02x ", ptr[i]); |
ptr | 315 | drivers/scsi/aha1740.c | unsigned char * ptr; |
ptr | 331 | drivers/scsi/aha1740.c | ptr = (unsigned char *) cptr; |
ptr | 332 | drivers/scsi/aha1740.c | for(i=0;i<24;i++) printk("%02x ", ptr[i]); |
ptr | 736 | drivers/scsi/buslogic.c | unsigned char *ptr; |
ptr | 739 | drivers/scsi/buslogic.c | ptr = (unsigned char *)cptr; |
ptr | 741 | drivers/scsi/buslogic.c | printk(" %02X", ptr[i]); |
ptr | 1169 | drivers/scsi/fdomain.c | outb( *current_SC->SCp.ptr++, Write_FIFO_port ); |
ptr | 1173 | drivers/scsi/fdomain.c | outsw( Write_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1174 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1182 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1202 | drivers/scsi/fdomain.c | *current_SC->SCp.ptr++ = inb( Read_FIFO_port ); |
ptr | 1206 | drivers/scsi/fdomain.c | insw( Read_FIFO_port, current_SC->SCp.ptr, data_count ); |
ptr | 1207 | drivers/scsi/fdomain.c | current_SC->SCp.ptr += 2 * data_count; |
ptr | 1215 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1299 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
ptr | 1303 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = (char *)current_SC->request_buffer; |
ptr | 272 | drivers/scsi/hosts.h | extern void scsi_init_free(char * ptr, unsigned int size); |
ptr | 1721 | drivers/scsi/scsi.c | void scsi_init_free(char * ptr, unsigned int size) |
ptr | 1724 | drivers/scsi/scsi.c | if((unsigned int) ptr < scsi_loadable_module_flag) { |
ptr | 1725 | drivers/scsi/scsi.c | kfree(ptr); |
ptr | 1727 | drivers/scsi/scsi.c | if(((unsigned int) ptr) + size == scsi_init_memory_start) |
ptr | 1728 | drivers/scsi/scsi.c | scsi_init_memory_start = (unsigned int) ptr; |
ptr | 407 | 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 | 933 | drivers/scsi/wd7000.c | any2scsi(sgb[i].ptr, (int) sg[i].address); |
ptr | 965 | 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 | 191 | fs/proc/array.c | static unsigned long get_phys_addr(struct task_struct ** p, unsigned long ptr) |
ptr | 195 | fs/proc/array.c | if (!p || !*p || ptr >= TASK_SIZE) |
ptr | 197 | fs/proc/array.c | page = *PAGE_DIR_OFFSET((*p)->tss.cr3,ptr); |
ptr | 201 | fs/proc/array.c | page += PAGE_PTR(ptr); |
ptr | 206 | fs/proc/array.c | page += ptr & ~PAGE_MASK; |
ptr | 33 | include/linux/ip.h | unsigned char ptr; |
ptr | 16 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr); |
ptr | 65 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr) |
ptr | 71 | ipc/util.c | return sys_semop (first, (struct sembuf *)ptr, second); |
ptr | 75 | ipc/util.c | return sys_semctl (first, second, third, ptr); |
ptr | 82 | ipc/util.c | return sys_msgsnd (first, (struct msgbuf *) ptr, |
ptr | 86 | ipc/util.c | if (!ptr) |
ptr | 88 | ipc/util.c | memcpy_fromfs (&tmp,(struct ipc_kludge *) ptr, |
ptr | 97 | ipc/util.c | (struct msqid_ds *) ptr); |
ptr | 104 | ipc/util.c | return sys_shmat (first, (char *) ptr, second, |
ptr | 107 | ipc/util.c | return sys_shmdt ((char *)ptr); |
ptr | 112 | ipc/util.c | (struct shmid_ds *) ptr); |
ptr | 121 | ipc/util.c | asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr) |
ptr | 15 | kernel/ldt.c | static int read_ldt(void * ptr, unsigned long bytecount) |
ptr | 21 | kernel/ldt.c | if (!ptr) |
ptr | 30 | kernel/ldt.c | error = verify_area(VERIFY_WRITE, ptr, size); |
ptr | 33 | kernel/ldt.c | memcpy_tofs(ptr, address, size); |
ptr | 37 | kernel/ldt.c | static int write_ldt(void * ptr, unsigned long bytecount) |
ptr | 46 | kernel/ldt.c | error = verify_area(VERIFY_READ, ptr, sizeof(ldt_info)); |
ptr | 50 | kernel/ldt.c | memcpy_fromfs(&ldt_info, ptr, sizeof(ldt_info)); |
ptr | 96 | kernel/ldt.c | asmlinkage int sys_modify_ldt(int func, void *ptr, unsigned long bytecount) |
ptr | 99 | kernel/ldt.c | return read_ldt(ptr, bytecount); |
ptr | 101 | kernel/ldt.c | return write_ldt(ptr, bytecount); |
ptr | 217 | kernel/vm86.c | #define pushb(base, ptr, val) \ |
ptr | 221 | kernel/vm86.c | : "=r" (ptr) \ |
ptr | 222 | kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 224 | kernel/vm86.c | #define pushw(base, ptr, val) \ |
ptr | 230 | kernel/vm86.c | : "=r" (ptr) \ |
ptr | 231 | kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 233 | kernel/vm86.c | #define pushl(base, ptr, val) \ |
ptr | 245 | kernel/vm86.c | : "=r" (ptr) \ |
ptr | 246 | kernel/vm86.c | : "r" (base), "q" (val), "0" (ptr)) |
ptr | 248 | kernel/vm86.c | #define popb(base, ptr) \ |
ptr | 253 | kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 254 | kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 257 | kernel/vm86.c | #define popw(base, ptr) \ |
ptr | 264 | kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 265 | kernel/vm86.c | : "0" (ptr), "1" (base), "2" (0)); \ |
ptr | 268 | kernel/vm86.c | #define popl(base, ptr) \ |
ptr | 281 | kernel/vm86.c | : "=r" (ptr), "=r" (base), "=q" (__res) \ |
ptr | 282 | kernel/vm86.c | : "0" (ptr), "1" (base)); \ |
ptr | 284 | mm/kmalloc.c | void kfree_s (void *ptr,int size) |
ptr | 288 | mm/kmalloc.c | register struct block_header *p=((struct block_header *)ptr) -1; |
ptr | 25 | net/inet/eth.h | extern char *eth_print(unsigned char *ptr); |
ptr | 148 | net/inet/ip.c | unsigned char *ptr; |
ptr | 150 | net/inet/ip.c | ptr = (unsigned char *)(iph+1); |
ptr | 151 | net/inet/ip.c | *ptr = 0; |
ptr | 323 | net/inet/ip.c | opt->tstamp.ptr = 0; |
ptr | 421 | 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 | 1216 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
ptr | 1232 | net/inet/ip.c | ptr += len; |
ptr | 1260 | net/inet/ip.c | unsigned char *ptr; /* Data pointer */ |
ptr | 1379 | net/inet/ip.c | ptr = skb2->data; |
ptr | 1382 | net/inet/ip.c | skb2->h.raw = ptr; |
ptr | 1387 | net/inet/ip.c | memcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len); |
ptr | 1639 | net/inet/ip.c | unsigned char *ptr; |
ptr | 1666 | net/inet/ip.c | ptr = skb->data; |
ptr | 1667 | net/inet/ip.c | ptr += dev->hard_header_len; |
ptr | 1668 | net/inet/ip.c | iph = (struct iphdr *)ptr; |
ptr | 46 | net/inet/ip.h | unsigned char *ptr; /* pointer into real fragment data */ |
ptr | 1874 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 1878 | net/inet/tcp.c | ptr = (unsigned char *)(th + 1); |
ptr | 1882 | net/inet/tcp.c | int opcode=*ptr++; |
ptr | 1883 | net/inet/tcp.c | int opsize=*ptr++; |
ptr | 1900 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ptr | 1906 | net/inet/tcp.c | ptr+=opsize-2; |
ptr | 1946 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 2177 | net/inet/tcp.c | ptr =(unsigned char *)(t1+1); |
ptr | 2178 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 2179 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 2180 | net/inet/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
ptr | 2181 | net/inet/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
ptr | 3353 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ptr | 3355 | net/inet/tcp.c | if (ptr) |
ptr | 3356 | net/inet/tcp.c | ptr--; |
ptr | 3357 | net/inet/tcp.c | ptr += th->seq; |
ptr | 3360 | net/inet/tcp.c | if (after(sk->copied_seq+1, ptr)) |
ptr | 3364 | net/inet/tcp.c | if (sk->urg_data && !after(ptr, sk->urg_seq)) |
ptr | 3376 | net/inet/tcp.c | sk->urg_seq = ptr; |
ptr | 3382 | net/inet/tcp.c | unsigned long ptr; |
ptr | 3393 | net/inet/tcp.c | ptr = sk->urg_seq - th->seq + th->doff*4; |
ptr | 3394 | net/inet/tcp.c | if (ptr >= len) |
ptr | 3398 | net/inet/tcp.c | sk->urg_data = URG_VALID | *(ptr + (unsigned char *) th); |
ptr | 3563 | net/inet/tcp.c | unsigned char *ptr; |
ptr | 3694 | net/inet/tcp.c | ptr = (unsigned char *)(t1+1); |
ptr | 3695 | net/inet/tcp.c | ptr[0] = 2; |
ptr | 3696 | net/inet/tcp.c | ptr[1] = 4; |
ptr | 3697 | net/inet/tcp.c | ptr[2] = (sk->mtu) >> 8; |
ptr | 3698 | net/inet/tcp.c | ptr[3] = (sk->mtu) & 0xff; |