tag | line | file | source code |
buffer | 21 | arch/alpha/boot/tools/build.c | char buffer[MAXBUF]; |
buffer | 123 | arch/alpha/boot/tools/build.c | memset(buffer, 0, MAXBUF); |
buffer | 138 | arch/alpha/boot/tools/build.c | if (read(fd, buffer, num) != num) |
buffer | 140 | arch/alpha/boot/tools/build.c | if (write(1, buffer, num) != num) |
buffer | 158 | arch/alpha/boot/tools/build.c | memset(buffer, 0, MAXBUF); |
buffer | 163 | arch/alpha/boot/tools/build.c | i = write(1, buffer, i); |
buffer | 642 | arch/i386/ibcs/binfmt_coff.c | char *buffer = (char *) kmalloc (nbytes, GFP_KERNEL); |
buffer | 644 | arch/i386/ibcs/binfmt_coff.c | if (0 == buffer) { |
buffer | 658 | arch/i386/ibcs/binfmt_coff.c | buffer, /* Buffer for read */ |
buffer | 674 | arch/i386/ibcs/binfmt_coff.c | phdr = (COFF_SLIBHD *) buffer; |
buffer | 708 | arch/i386/ibcs/binfmt_coff.c | if (buffer != NULL) |
buffer | 709 | arch/i386/ibcs/binfmt_coff.c | kfree (buffer); |
buffer | 797 | drivers/block/aztcd.c | memcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512); |
buffer | 800 | drivers/block/aztcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 314 | drivers/block/blk.h | req->buffer = bh->b_data; |
buffer | 1084 | drivers/block/cdu31a.c | input_data(char *buffer, |
buffer | 1108 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer, 2048); |
buffer | 1121 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
buffer | 1146 | drivers/block/cdu31a.c | read_data_block(char *buffer, |
buffer | 1185 | drivers/block/cdu31a.c | memcpy(buffer, |
buffer | 1196 | drivers/block/cdu31a.c | memcpy(buffer, |
buffer | 1264 | drivers/block/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
buffer | 1515 | drivers/block/cdu31a.c | read_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size); |
buffer | 1849 | drivers/block/cdu31a.c | read_audio_data(char *buffer, |
buffer | 1915 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer + CD_XA_HEAD, CD_FRAMESIZE_XA); |
buffer | 1920 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer, CD_FRAMESIZE_RAW); |
buffer | 859 | drivers/block/floppy.c | CURRENT->buffer != current_addr || |
buffer | 868 | drivers/block/floppy.c | CURRENT->buffer, CURRENT->nr_sectors, |
buffer | 1961 | drivers/block/floppy.c | CURRENT->buffer += current_count_sectors <<9; |
buffer | 2050 | drivers/block/floppy.c | if ( CT(COMMAND) != FD_READ || current_addr == CURRENT->buffer ){ |
buffer | 2069 | drivers/block/floppy.c | base = CURRENT->buffer; |
buffer | 2105 | drivers/block/floppy.c | char *buffer, *dma_buffer; |
buffer | 2141 | drivers/block/floppy.c | buffer = CURRENT->buffer; |
buffer | 2162 | drivers/block/floppy.c | if ( ((unsigned long)buffer) % 512 ) |
buffer | 2163 | drivers/block/floppy.c | DPRINT1("%p buffer not aligned\n", buffer); |
buffer | 2166 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
buffer | 2168 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
buffer | 2182 | drivers/block/floppy.c | buffer = bh->b_data; |
buffer | 2299 | drivers/block/floppy.c | } else if ((long)CURRENT->buffer <= LAST_DMA_ADDR ) { |
buffer | 2306 | drivers/block/floppy.c | if ( max_size > ( LAST_DMA_ADDR - ((long) CURRENT->buffer))>>9) |
buffer | 2307 | drivers/block/floppy.c | max_size=(LAST_DMA_ADDR - ((long)CURRENT->buffer))>>9; |
buffer | 2309 | drivers/block/floppy.c | if ( ((max_size << 9) + ((long) CURRENT->buffer)) / K_64 != |
buffer | 2310 | drivers/block/floppy.c | ((long) CURRENT->buffer ) / K_64 ) |
buffer | 2311 | drivers/block/floppy.c | max_size = ( K_64 - ((long) CURRENT->buffer) % K_64)>>9; |
buffer | 2327 | drivers/block/floppy.c | current_addr = CURRENT->buffer; |
buffer | 2380 | drivers/block/floppy.c | (current_addr != CURRENT->buffer && |
buffer | 2388 | drivers/block/floppy.c | if ( current_addr != CURRENT->buffer ) |
buffer | 2404 | drivers/block/floppy.c | if (current_addr != CURRENT->buffer ){ |
buffer | 501 | drivers/block/hd.c | insw(HD_DATA,CURRENT->buffer,nsect<<8); |
buffer | 503 | drivers/block/hd.c | CURRENT->buffer += nsect<<9; |
buffer | 510 | drivers/block/hd.c | CURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9)); |
buffer | 534 | drivers/block/hd.c | outsw(HD_DATA,WCURRENT.buffer,256); |
buffer | 537 | drivers/block/hd.c | WCURRENT.buffer += 512; |
buffer | 543 | drivers/block/hd.c | WCURRENT.buffer = WCURRENT.bh->b_data; |
buffer | 606 | drivers/block/hd.c | CURRENT->buffer += 512; |
buffer | 611 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 740 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
buffer | 766 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 56 | drivers/block/ide-cd.c | char *buffer; |
buffer | 218 | drivers/block/ide-cd.c | pc = (struct packet_command *)rq->buffer; |
buffer | 245 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 514 | drivers/block/ide-cd.c | IN_WORDS (rq->buffer, SECTOR_SIZE / 2); |
buffer | 515 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 552 | drivers/block/ide-cd.c | memcpy (rq->buffer, |
buffer | 556 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 683 | drivers/block/ide-cd.c | if (rq->buffer != rq->bh->b_data) |
buffer | 685 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
buffer | 686 | drivers/block/ide-cd.c | rq->buffer = rq->bh->b_data; |
buffer | 724 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 768 | drivers/block/ide-cd.c | OUT_WORDS (pc->buffer, thislen / 2); |
buffer | 780 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 797 | drivers/block/ide-cd.c | IN_WORDS (pc->buffer, thislen / 2); |
buffer | 809 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 828 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 844 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 880 | drivers/block/ide-cd.c | req.buffer = (char *)pc; |
buffer | 1009 | drivers/block/ide-cd.c | pc.buffer = (char *)reqbuf; |
buffer | 1082 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1155 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1175 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1192 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1440 | drivers/block/ide-cd.c | char buffer[16]; |
buffer | 1451 | drivers/block/ide-cd.c | stat = cdrom_read_subchannel (dev, buffer, sizeof (buffer)); |
buffer | 1454 | drivers/block/ide-cd.c | abs_lba = *(int *)&buffer[8]; |
buffer | 1455 | drivers/block/ide-cd.c | rel_lba = *(int *)&buffer[12]; |
buffer | 1476 | drivers/block/ide-cd.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 1477 | drivers/block/ide-cd.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 1478 | drivers/block/ide-cd.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 1479 | drivers/block/ide-cd.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 1489 | drivers/block/ide-cd.c | char buffer[24], mask[24]; |
buffer | 1496 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (dev, 0x0e, 0, buffer, sizeof (buffer)); |
buffer | 1498 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (dev, 0x0e, 1, mask , sizeof (buffer)); |
buffer | 1501 | drivers/block/ide-cd.c | buffer[1] = buffer[2] = 0; |
buffer | 1503 | drivers/block/ide-cd.c | buffer[17] = volctrl.channel0 & mask[17]; |
buffer | 1504 | drivers/block/ide-cd.c | buffer[19] = volctrl.channel1 & mask[19]; |
buffer | 1505 | drivers/block/ide-cd.c | buffer[21] = volctrl.channel2 & mask[21]; |
buffer | 1506 | drivers/block/ide-cd.c | buffer[23] = volctrl.channel3 & mask[23]; |
buffer | 1508 | drivers/block/ide-cd.c | return cdrom_mode_select (dev, buffer, sizeof (buffer)); |
buffer | 513 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 670 | drivers/block/ide.c | IN_SECTORS(rq->buffer,nsect); |
buffer | 674 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 677 | drivers/block/ide.c | rq->buffer += nsect<<9; |
buffer | 701 | drivers/block/ide.c | dev->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 706 | drivers/block/ide.c | rq->buffer += 512; |
buffer | 714 | drivers/block/ide.c | OUT_SECTORS(rq->buffer,1); |
buffer | 737 | drivers/block/ide.c | OUT_SECTORS(rq->buffer,nsect); |
buffer | 740 | drivers/block/ide.c | dev->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 748 | drivers/block/ide.c | rq->buffer = rq->bh->b_data; |
buffer | 754 | drivers/block/ide.c | rq->buffer += nsect << 9; |
buffer | 956 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 975 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 994 | drivers/block/ide.c | OUT_SECTORS(rq->buffer,1); |
buffer | 1001 | drivers/block/ide.c | byte *args = rq->buffer; |
buffer | 1361 | drivers/block/ide.c | rq.buffer = args; |
buffer | 351 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 389 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 397 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
buffer | 422 | drivers/block/ll_rw_blk.c | req->buffer = buffer; |
buffer | 544 | drivers/block/ll_rw_blk.c | req->buffer = buf; |
buffer | 568 | drivers/block/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
buffer | 571 | drivers/block/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 50 | drivers/block/ramdisk.c | CURRENT->buffer, |
buffer | 53 | drivers/block/ramdisk.c | (void) memcpy(CURRENT->buffer, |
buffer | 2295 | drivers/block/sbpcd.c | static int yy_SubChanInfo(int frame, int count, u_char *buffer) |
buffer | 3595 | drivers/block/sbpcd.c | memcpy(CURRENT->buffer, DriveStruct[d].sbp_buf + offs, 512); |
buffer | 3598 | drivers/block/sbpcd.c | CURRENT->buffer += 512; |
buffer | 911 | drivers/block/sonycd535.c | memcpy(CURRENT->buffer, sony_buffer + copyoff, 512); |
buffer | 914 | drivers/block/sonycd535.c | memcpy(CURRENT->buffer, |
buffer | 920 | drivers/block/sonycd535.c | CURRENT->buffer += 512; |
buffer | 227 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
buffer | 324 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
buffer | 331 | drivers/block/xd.c | printk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count); |
buffer | 347 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
buffer | 350 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
buffer | 368 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
buffer | 398 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
buffer | 400 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
buffer | 401 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != ((u_int) buffer + count) & 0xFFFF0000) { |
buffer | 410 | drivers/block/xd.c | set_dma_addr(xd_dma,(u_int) buffer); |
buffer | 116 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 121 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 131 | drivers/char/atixlmouse.c | put_fs_byte((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
buffer | 136 | drivers/char/atixlmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
buffer | 141 | drivers/char/atixlmouse.c | put_fs_byte((char)-mouse.dy, buffer + 2); |
buffer | 143 | drivers/char/atixlmouse.c | put_fs_byte(0x00, buffer + i); |
buffer | 127 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 136 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 145 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 174 | drivers/char/busmouse.c | put_fs_byte(buttons | 0x80, buffer); |
buffer | 175 | drivers/char/busmouse.c | put_fs_byte((char)dx, buffer + 1); |
buffer | 176 | drivers/char/busmouse.c | put_fs_byte((char)dy, buffer + 2); |
buffer | 178 | drivers/char/busmouse.c | put_fs_byte(0x00, buffer + r); |
buffer | 99 | drivers/char/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 104 | drivers/char/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 112 | drivers/char/msbusmouse.c | put_fs_byte(mouse.buttons | 0x80, buffer); |
buffer | 115 | drivers/char/msbusmouse.c | put_fs_byte((char)dx, buffer + 1); |
buffer | 116 | drivers/char/msbusmouse.c | put_fs_byte((char)dy, buffer + 2); |
buffer | 118 | drivers/char/msbusmouse.c | put_fs_byte(0x00, buffer + i); |
buffer | 335 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 345 | drivers/char/psaux.c | outb_p(get_fs_byte(buffer++),AUX_OUTPUT_PORT); |
buffer | 357 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 364 | drivers/char/psaux.c | outb_p(get_fs_byte(buffer++), qp_data); |
buffer | 376 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 397 | drivers/char/psaux.c | put_fs_byte(c, buffer++); |
buffer | 140 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
buffer | 409 | drivers/net/de600.c | byte *buffer = skb->data; |
buffer | 464 | drivers/net/de600.c | for ( ; len > 0; --len, ++buffer) |
buffer | 465 | drivers/net/de600.c | de600_put_byte(*buffer); |
buffer | 591 | drivers/net/de600.c | register unsigned char *buffer; |
buffer | 623 | drivers/net/de600.c | buffer = skb->data; |
buffer | 627 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
buffer | 628 | drivers/net/de600.c | *buffer = de600_read_byte(READ_DATA, dev); |
buffer | 282 | drivers/net/de620.c | de620_write_block(byte *buffer, int count) |
buffer | 298 | drivers/net/de620.c | for ( ; count > 0; --count, ++buffer) { |
buffer | 299 | drivers/net/de620.c | de620_put_byte(*buffer); |
buffer | 308 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 310 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 490 | drivers/net/de620.c | byte *buffer = skb->data; |
buffer | 555 | drivers/net/de620.c | de620_write_block(buffer, len); |
buffer | 628 | drivers/net/de620.c | byte *buffer; |
buffer | 690 | drivers/net/de620.c | buffer = skb->data; |
buffer | 692 | drivers/net/de620.c | de620_read_block(buffer, size); |
buffer | 655 | drivers/net/ni52.c | p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); |
buffer | 711 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
buffer | 811 | drivers/net/ni52.c | memcpy( (char *) skb->data,(char *) p->base+(unsigned long) rbd->buffer, totlen); |
buffer | 143 | drivers/net/ni52.h | char *buffer; /* receive buffer address pointer */ |
buffer | 277 | drivers/net/ni52.h | char *buffer; /* pointer to buffer */ |
buffer | 340 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
buffer | 349 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
buffer | 539 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) (skb->data); |
buffer | 607 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) (skb->data); |
buffer | 610 | drivers/net/ni65.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len); |
buffer | 104 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 119 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 800 | drivers/net/ppp.c | char buffer[8]; |
buffer | 809 | drivers/net/ppp.c | buffer [count] = tty->read_q.buf[i]; |
buffer | 811 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, 8, KERNEL_DS); |
buffer | 816 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, count, KERNEL_DS); |
buffer | 1048 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
buffer | 1064 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
buffer | 1258 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
buffer | 1603 | drivers/net/sk_g16.c | memcpy(skb->data, (unsigned char *) (rmdp->u.buffer & 0x00ffffff), |
buffer | 136 | drivers/net/sk_g16.h | unsigned long buffer; /* Address of buffer */ |
buffer | 154 | drivers/net/sk_g16.h | unsigned long buffer; /* Address of buffer */ |
buffer | 1899 | drivers/net/wavelan.c | sprintf_stats(char *buffer, device *dev) |
buffer | 1908 | drivers/net/wavelan.c | return sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 1930 | drivers/net/wavelan.c | buffer, |
buffer | 1945 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1957 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
buffer | 1971 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
buffer | 1990 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 2506 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].address : |
buffer | 2509 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
buffer | 306 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 308 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 309 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 311 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 1965 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
buffer | 1967 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 1968 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2126 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 812 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = (struct scatterlist *)SCpnt->request_buffer; |
buffer | 813 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
buffer | 814 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 821 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = NULL; |
buffer | 1999 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2001 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2003 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 2135 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2137 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2139 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 1044 | drivers/scsi/aha1542.c | static buffer[512]; |
buffer | 1053 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 367 | drivers/scsi/aha274x.c | sg = (struct scatterlist *)cmd->buffer; |
buffer | 386 | drivers/scsi/aha274x.c | struct scatterlist *sg = (struct scatterlist *)cmd->buffer; |
buffer | 1326 | drivers/scsi/buslogic.c | static buffer[512]; |
buffer | 1335 | drivers/scsi/buslogic.c | buslogic_command(0, cmd, buffer, sizeof buffer); |
buffer | 743 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 792 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 795 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain TMC-16x0 SCSI driver, version" ); |
buffer | 797 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 798 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 800 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 805 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION ); |
buffer | 808 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1238 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1239 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1240 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1271 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1272 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1273 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1354 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1356 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1357 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1362 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = NULL; |
buffer | 735 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 839 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 901 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 980 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 993 | drivers/scsi/scsi.c | "command : " , host->host_no, target, buffer, bufflen, done, timeout, retries); |
buffer | 1044 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 1055 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1469 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 422 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 455 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 521 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, void (*done)(struct scsi_cmnd *), |
buffer | 565 | drivers/scsi/scsi.h | req->buffer = bh->b_data; |
buffer | 119 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 126 | drivers/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 128 | drivers/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
buffer | 584 | drivers/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 585 | drivers/scsi/scsi_debug.c | return buffer; |
buffer | 29 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
buffer | 35 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
buffer | 36 | drivers/scsi/scsi_ioctl.c | len = get_fs_long ((unsigned long *) buffer); |
buffer | 45 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, buffer, len); |
buffer | 46 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
buffer | 146 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 157 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 160 | drivers/scsi/scsi_ioctl.c | inlen = get_fs_long((unsigned long *) buffer); |
buffer | 161 | drivers/scsi/scsi_ioctl.c | outlen = get_fs_long( ((unsigned long *) buffer) + 1); |
buffer | 163 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 231 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 205 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 216 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 218 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 220 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 224 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 226 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 261 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 264 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 271 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 274 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 277 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 278 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 551 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 571 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 616 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 655 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 741 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 855 | drivers/scsi/sd.c | unsigned char *buffer; |
buffer | 865 | drivers/scsi/sd.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 881 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 907 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 935 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
buffer | 942 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1009 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
buffer | 1010 | drivers/scsi/sd.c | (buffer[1] << 16) | |
buffer | 1011 | drivers/scsi/sd.c | (buffer[2] << 8) | |
buffer | 1012 | drivers/scsi/sd.c | buffer[3]; |
buffer | 1014 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 1015 | drivers/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1055 | drivers/scsi/sd.c | scsi_free(buffer, 512); |
buffer | 391 | drivers/scsi/seagate.c | static char buffer[64]; |
buffer | 392 | drivers/scsi/seagate.c | sprintf(buffer, "%s at irq %d, address 0x%05X", |
buffer | 395 | drivers/scsi/seagate.c | return buffer; |
buffer | 585 | drivers/scsi/seagate.c | struct scatterlist *buffer = NULL; |
buffer | 709 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 905 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 909 | drivers/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 910 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 911 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 916 | drivers/scsi/seagate.c | buffer = NULL; |
buffer | 1145 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1146 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1147 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1291 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1292 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1293 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1362 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1394 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1403 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 151 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 155 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 156 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
buffer | 168 | drivers/scsi/sr.c | (char *)SCpnt->buffer + 1024, |
buffer | 173 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 178 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 187 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 217 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 223 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 225 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 226 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 571 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 584 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 689 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 737 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 768 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 772 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 777 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 778 | drivers/scsi/sr.c | if (((int) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD & |
buffer | 780 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 828 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 850 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 906 | drivers/scsi/sr.c | unsigned char *buffer; |
buffer | 910 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 921 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 924 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 953 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 954 | drivers/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 955 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 956 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 970 | drivers/scsi/sr.c | scsi_free(buffer, 512); |
buffer | 39 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 46 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 177 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 187 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 188 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 190 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
buffer | 192 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 193 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 195 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 208 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 221 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 222 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 224 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 227 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 228 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 229 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 230 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 233 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 235 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 279 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 294 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 295 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 297 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 299 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 312 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 318 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 324 | drivers/scsi/sr_ioctl.c | buffer[0] = 0; /* Clear reserved field */ |
buffer | 326 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 327 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 328 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 329 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 337 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 338 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 346 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 358 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 359 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 361 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 366 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 369 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 370 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 371 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 372 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 373 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 374 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 376 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 176 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 188 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 190 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 193 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 194 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 195 | drivers/scsi/st.c | if ((STp->buffer)->writing) |
buffer | 199 | drivers/scsi/st.c | if ((STp->buffer)->writing <= 0) |
buffer | 218 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 265 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, 0, |
buffer | 275 | drivers/scsi/st.c | if ((STp->buffer)->last_result != 0) { |
buffer | 282 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 297 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 299 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 303 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 305 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 315 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 322 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 334 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
buffer | 343 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 349 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 360 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 380 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 391 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 392 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 393 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 395 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 396 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 443 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 444 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 445 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 470 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 489 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 504 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 515 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 516 | drivers/scsi/st.c | STp->buffer = NULL; |
buffer | 532 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 543 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 544 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 545 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 546 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 567 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 577 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 582 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 583 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 0; |
buffer | 590 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 591 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 594 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 595 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 596 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 597 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 598 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 602 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 603 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 609 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 619 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = st_buffer_size / STp->block_size; |
buffer | 620 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 621 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 624 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 625 | drivers/scsi/st.c | (STp->buffer)->buffer_size = st_buffer_size; |
buffer | 627 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 632 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 633 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 636 | drivers/scsi/st.c | STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; |
buffer | 687 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 698 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 730 | drivers/scsi/st.c | if (STp->buffer != NULL) |
buffer | 731 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 782 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 784 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 788 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 790 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 811 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_size; |
buffer | 828 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
buffer | 834 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_size - (STp->buffer)->buffer_bytes; |
buffer | 838 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 839 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 844 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 854 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
buffer | 864 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 915 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 931 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 936 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 937 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 939 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 943 | drivers/scsi/st.c | if (doing_write && (STp->buffer)->last_result_fatal != 0) { |
buffer | 945 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 949 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes >= STp->write_threshold || |
buffer | 953 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 955 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 957 | drivers/scsi/st.c | STp->dirty = !((STp->buffer)->writing == |
buffer | 958 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 961 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 963 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 967 | drivers/scsi/st.c | SCpnt->result = (STp->buffer)->last_result = -1; |
buffer | 971 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 972 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 1025 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1027 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 1037 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 1047 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 1065 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 1066 | drivers/scsi/st.c | (STp->buffer)->buffer_size, |
buffer | 1076 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1080 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 1107 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1118 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1120 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1125 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1131 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1133 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1139 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 1167 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 1173 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 1179 | drivers/scsi/st.c | STp->drv_block += (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1185 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 1189 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 1191 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 1192 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 1193 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 1194 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 1198 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 1199 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1548 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1560 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1562 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1564 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1566 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1568 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1570 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1575 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1576 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1577 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1583 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1584 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1585 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1588 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1591 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1604 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, datalen, |
buffer | 1615 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 1640 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 1642 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 1643 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 1646 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 1647 | drivers/scsi/st.c | (STp->buffer)->buffer_size = st_buffer_size; |
buffer | 1649 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1650 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1792 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1794 | drivers/scsi/st.c | (STp->mt_status)->mt_blkno -= ((STp->buffer)->buffer_bytes + |
buffer | 1863 | drivers/scsi/st.c | (void *) scmd, (void *) (STp->buffer)->b_data, |
buffer | 1874 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1885 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 1886 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 1887 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 1889 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 1890 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 1891 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 1892 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 43 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 739 | fs/ext/namei.c | #define PARENT_INO(buffer) \ |
buffer | 740 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 741 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->inode |
buffer | 743 | fs/ext/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 744 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 745 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->name |
buffer | 85 | fs/ext/symlink.c | static int ext_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 104 | fs/ext/symlink.c | put_fs_byte(c,buffer++); |
buffer | 898 | fs/ext2/namei.c | #define PARENT_INO(buffer) \ |
buffer | 899 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 900 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->inode |
buffer | 902 | fs/ext2/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 903 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 904 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->name |
buffer | 96 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 122 | fs/ext2/symlink.c | put_fs_byte (c, buffer++); |
buffer | 79 | fs/isofs/file.c | static inline void unixify_to_fs(char * outbuf, char * buffer, int chars, |
buffer | 85 | fs/isofs/file.c | outchar = *buffer; |
buffer | 92 | fs/isofs/file.c | buffer++; |
buffer | 43 | fs/isofs/rock.c | void * buffer = 0 |
buffer | 57 | fs/isofs/rock.c | {if (buffer) kfree(buffer); \ |
buffer | 61 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
buffer | 62 | fs/isofs/rock.c | if (!buffer) goto out; \ |
buffer | 73 | fs/isofs/rock.c | kfree(buffer); \ |
buffer | 74 | fs/isofs/rock.c | buffer = NULL; } else { \ |
buffer | 75 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
buffer | 81 | fs/isofs/rock.c | if(buffer) { \ |
buffer | 84 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
buffer | 86 | fs/isofs/rock.c | chr = (unsigned char *) buffer; \ |
buffer | 169 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 236 | fs/isofs/rock.c | if (buffer) kfree(buffer); |
buffer | 252 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 397 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 529 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 84 | fs/isofs/symlink.c | static int isofs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 106 | fs/isofs/symlink.c | put_fs_byte(c,buffer++); |
buffer | 28 | fs/minix/namei.c | const char * name, const char * buffer) |
buffer | 32 | fs/minix/namei.c | if (len < maxlen && buffer[len]) |
buffer | 34 | fs/minix/namei.c | return !memcmp(name, buffer, len); |
buffer | 663 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 664 | fs/minix/namei.c | (((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode) |
buffer | 83 | fs/minix/symlink.c | static int minix_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 102 | fs/minix/symlink.c | put_fs_byte(c,buffer++); |
buffer | 98 | fs/nfs/symlink.c | static int nfs_readlink(struct inode *inode, char *buffer, int buflen) |
buffer | 114 | fs/nfs/symlink.c | memcpy_tofs(buffer, res, len); |
buffer | 115 | fs/nfs/symlink.c | put_fs_byte('\0', buffer + len); |
buffer | 55 | fs/proc/array.c | int get_malloc(char * buffer); |
buffer | 173 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 180 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d %d/%d\n", |
buffer | 187 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 194 | fs/proc/array.c | len = sprintf(buffer, |
buffer | 214 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
buffer | 215 | fs/proc/array.c | len += sprintf(buffer + len, |
buffer | 224 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 242 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 248 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 256 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 262 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers:\n" |
buffer | 269 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 273 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 274 | fs/proc/array.c | return strlen(buffer); |
buffer | 277 | fs/proc/array.c | static int get_cpuinfo(char * buffer) |
buffer | 287 | fs/proc/array.c | return sprintf(buffer,"cpu\t\t: %c86\n" |
buffer | 369 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 386 | fs/proc/array.c | buffer[size++] = c; |
buffer | 397 | fs/proc/array.c | while (result>0 && buffer[result-1]==' ') |
buffer | 402 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 408 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
buffer | 411 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 417 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
buffer | 449 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 484 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 599 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 629 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 171 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 194 | fs/proc/link.c | put_fs_byte(buf[i++],buffer++); |
buffer | 202 | fs/select.c | asmlinkage int sys_select( unsigned long *buffer ) |
buffer | 213 | fs/select.c | i = verify_area(VERIFY_READ, buffer, 20); |
buffer | 216 | fs/select.c | n = get_fs_long(buffer++); |
buffer | 221 | fs/select.c | inp = (fd_set *) get_fs_long(buffer++); |
buffer | 222 | fs/select.c | outp = (fd_set *) get_fs_long(buffer++); |
buffer | 223 | fs/select.c | exp = (fd_set *) get_fs_long(buffer++); |
buffer | 224 | fs/select.c | tvp = (struct timeval *) get_fs_long(buffer); |
buffer | 30 | fs/sysv/namei.c | const char * name, const char * buffer) |
buffer | 34 | fs/sysv/namei.c | if (len < maxlen && buffer[len]) |
buffer | 36 | fs/sysv/namei.c | return !memcmp(name, buffer, len); |
buffer | 659 | fs/sysv/namei.c | #define PARENT_INO(buffer) \ |
buffer | 660 | fs/sysv/namei.c | (((struct sysv_dir_entry *) ((buffer) + 1*SYSV_DIRSIZE))->inode) |
buffer | 89 | fs/sysv/symlink.c | static int sysv_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 110 | fs/sysv/symlink.c | put_fs_byte(c,buffer++); |
buffer | 220 | fs/umsdos/emd.c | char buffer[CHUNK_SIZE]; |
buffer | 241 | fs/umsdos/emd.c | memcpy (buf->buffer,buf->buffer+buf->pos,mustmove); |
buffer | 248 | fs/umsdos/emd.c | ret = umsdos_emd_dir_read (inode,&buf->filp,buf->buffer+mustmove |
buffer | 313 | fs/umsdos/emd.c | (buf.buffer + buf.pos); |
buffer | 33 | fs/umsdos/symlink.c | char *buffer, |
buffer | 42 | fs/umsdos/symlink.c | if ((*msdos_read) (inode, &filp, buffer,ret) != ret){ |
buffer | 104 | fs/umsdos/symlink.c | static int UMSDOS_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 108 | fs/umsdos/symlink.c | ret = umsdos_readlink_x (inode,buffer,msdos_file_read,buflen); |
buffer | 704 | fs/xiafs/namei.c | #define PARENT_INO(buffer) \ |
buffer | 705 | fs/xiafs/namei.c | (((struct xiafs_direct *) ((u_char *)(buffer) + 12))->d_ino) |
buffer | 51 | fs/xiafs/symlink.c | static int xiafs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 72 | fs/xiafs/symlink.c | put_fs_byte(c, buffer++); |
buffer | 74 | fs/xiafs/symlink.c | put_fs_byte((char)0, buffer); |
buffer | 21 | include/linux/blkdev.h | char * buffer; |
buffer | 487 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
buffer | 488 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
buffer | 29 | include/linux/ldt.h | extern int get_ldt(void *buffer); |
buffer | 212 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length); |
buffer | 118 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count); |
buffer | 122 | include/linux/xd.h | static u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count); |
buffer | 187 | mm/mmap.c | asmlinkage int sys_mmap(unsigned long *buffer) |
buffer | 193 | mm/mmap.c | error = verify_area(VERIFY_READ, buffer, 6*sizeof(long)); |
buffer | 196 | mm/mmap.c | flags = get_fs_long(buffer+3); |
buffer | 198 | mm/mmap.c | unsigned long fd = get_fs_long(buffer+4); |
buffer | 202 | mm/mmap.c | return do_mmap(file, get_fs_long(buffer), get_fs_long(buffer+1), |
buffer | 203 | mm/mmap.c | get_fs_long(buffer+2), flags, get_fs_long(buffer+5)); |
buffer | 944 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 955 | net/inet/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
buffer | 986 | net/inet/arp.c | size = sprintf(buffer+len, |
buffer | 992 | net/inet/arp.c | size += sprintf(buffer+len+size, |
buffer | 1011 | net/inet/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 12 | net/inet/arp.h | extern int arp_get_info(char *buffer, char **start, off_t origin, int length); |
buffer | 897 | net/inet/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
buffer | 903 | net/inet/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
buffer | 915 | net/inet/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 925 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 935 | net/inet/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
buffer | 944 | net/inet/dev.c | size = sprintf_stats(buffer+len, dev); |
buffer | 957 | net/inet/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1999 | net/inet/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length) |
buffer | 2007 | net/inet/ip.c | len=sprintf(buffer,"Device : Count\tGroup Users Timer\n"); |
buffer | 2015 | net/inet/ip.c | len+=sprintf(buffer+len,"%-10s: %5d\n", |
buffer | 2019 | net/inet/ip.c | len+=sprintf(buffer+len, |
buffer | 2035 | net/inet/ip.c | *start=buffer+(offset-begin); |
buffer | 919 | net/inet/ip_fw.c | static int ip_chain_procinfo(int stage, char *buffer, char **start, |
buffer | 933 | net/inet/ip_fw.c | len=sprintf(buffer, "IP firewall block rules, default %d\n", |
buffer | 938 | net/inet/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
buffer | 945 | net/inet/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
buffer | 960 | net/inet/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ", |
buffer | 964 | net/inet/ip_fw.c | len+=sprintf(buffer+len,"%u %u %lu %lu", |
buffer | 967 | net/inet/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
buffer | 968 | net/inet/ip_fw.c | buffer[len++]='\n'; |
buffer | 969 | net/inet/ip_fw.c | buffer[len]='\0'; |
buffer | 987 | net/inet/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 997 | net/inet/ip_fw.c | int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
buffer | 999 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,reset); |
buffer | 1006 | net/inet/ip_fw.c | int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
buffer | 1008 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,reset); |
buffer | 1011 | net/inet/ip_fw.c | int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
buffer | 1013 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,reset); |
buffer | 1116 | net/inet/ipx.c | ipx_get_interface_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1125 | net/inet/ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
buffer | 1128 | net/inet/ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
buffer | 1129 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
buffer | 1132 | net/inet/ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
buffer | 1134 | net/inet/ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
buffer | 1135 | net/inet/ipx.c | len += sprintf (buffer+len, "%s\n", |
buffer | 1150 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1159 | net/inet/ipx.c | ipx_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1169 | net/inet/ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1174 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX:%04X ", |
buffer | 1178 | net/inet/ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
buffer | 1180 | net/inet/ipx.c | len += sprintf (buffer+len, |
buffer | 1188 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX %08lX ", |
buffer | 1190 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
buffer | 1207 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1215 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1222 | net/inet/ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
buffer | 1226 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
buffer | 1228 | net/inet/ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
buffer | 1234 | net/inet/ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
buffer | 1246 | net/inet/ipx.c | *start=buffer+(offset-begin); |
buffer | 57 | net/inet/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
buffer | 70 | net/inet/proc.c | len+=sprintf(buffer, "sl local_address rem_address st tx_queue rx_queue tr tm->when uid\n"); |
buffer | 93 | net/inet/proc.c | len+=sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d %d\n", |
buffer | 122 | net/inet/proc.c | *start=buffer+(offset-begin); |
buffer | 130 | net/inet/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 132 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
buffer | 136 | net/inet/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 138 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
buffer | 142 | net/inet/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 144 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
buffer | 151 | net/inet/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 157 | net/inet/proc.c | int len = socket_get_info(buffer,start,offset,length); |
buffer | 159 | net/inet/proc.c | len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); |
buffer | 160 | net/inet/proc.c | len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |
buffer | 162 | net/inet/proc.c | len += sprintf(buffer+len,"UDP: inuse %d highest %d\n", |
buffer | 164 | net/inet/proc.c | len += sprintf(buffer+len,"RAW: inuse %d highest %d\n", |
buffer | 166 | net/inet/proc.c | len += sprintf(buffer+len,"PAC: inuse %d highest %d\n", |
buffer | 168 | net/inet/proc.c | *start = buffer + offset; |
buffer | 180 | net/inet/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 189 | net/inet/proc.c | len = sprintf (buffer, |
buffer | 203 | net/inet/proc.c | len += sprintf (buffer + len, |
buffer | 220 | net/inet/proc.c | len += sprintf (buffer + len, |
buffer | 230 | net/inet/proc.c | len += sprintf (buffer + len, |
buffer | 242 | net/inet/proc.c | *start = buffer; |
buffer | 245 | net/inet/proc.c | *start = buffer + offset; |
buffer | 427 | net/inet/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 438 | net/inet/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
buffer | 444 | net/inet/rarp.c | size = sprintf(buffer, |
buffer | 459 | net/inet/rarp.c | size = sprintf(buffer+len, |
buffer | 484 | net/inet/rarp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 9 | net/inet/rarp.h | extern int rarp_get_info(char *buffer, |
buffer | 496 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 504 | net/inet/route.c | len += sprintf(buffer, |
buffer | 514 | net/inet/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\n", |
buffer | 529 | net/inet/route.c | *start=buffer+(offset-begin); |
buffer | 50 | net/inet/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length); |
buffer | 1380 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1382 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
buffer | 1385 | net/socket.c | *start = buffer; |
buffer | 1388 | net/socket.c | *start = buffer + offset; |
buffer | 39 | net/unix/proc.c | int unix_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 50 | net/unix/proc.c | len += sprintf(buffer, "Num RefCount Protocol Flags Type St Path\n"); |
buffer | 63 | net/unix/proc.c | len += sprintf(buffer+len, "%2d: %08X %08X %08lX %04X %02X", i, |
buffer | 74 | net/unix/proc.c | len += sprintf(buffer+len, " %s\n", |
buffer | 79 | net/unix/proc.c | buffer[len++]='\n'; |
buffer | 95 | net/unix/proc.c | *start=buffer+(offset-begin); |