tag | line | file | source code |
buffer | 34 | drivers/block/blk.h | char * buffer; |
buffer | 272 | drivers/block/blk.h | req->buffer = bh->b_data; |
buffer | 1096 | drivers/block/cdu31a.c | memcpy(CURRENT->buffer, sony_buffer+copyoff, 512); |
buffer | 1100 | drivers/block/cdu31a.c | CURRENT->buffer += 512; |
buffer | 449 | drivers/block/floppy.c | addr = (long) CURRENT->buffer; |
buffer | 460 | drivers/block/floppy.c | copy_buffer(CURRENT->buffer,tmp_floppy_area); |
buffer | 693 | drivers/block/floppy.c | copy_buffer(buffer_area,CURRENT->buffer); |
buffer | 695 | drivers/block/floppy.c | (unsigned long)(CURRENT->buffer) >= LAST_DMA_ADDR) |
buffer | 696 | drivers/block/floppy.c | copy_buffer(tmp_floppy_area,CURRENT->buffer); |
buffer | 1083 | drivers/block/floppy.c | copy_buffer(buffer_area,CURRENT->buffer); |
buffer | 1087 | drivers/block/floppy.c | copy_buffer(CURRENT->buffer,buffer_area); |
buffer | 336 | drivers/block/hd.c | insw(HD_DATA,CURRENT->buffer,256); |
buffer | 338 | drivers/block/hd.c | CURRENT->buffer += 512; |
buffer | 345 | drivers/block/hd.c | buffer); |
buffer | 390 | drivers/block/hd.c | CURRENT->buffer += 512; |
buffer | 395 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 476 | drivers/block/hd.c | dev, cyl, head, sec, CURRENT->buffer); |
buffer | 505 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 261 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 298 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 306 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
buffer | 330 | drivers/block/ll_rw_blk.c | req->buffer = buffer; |
buffer | 465 | drivers/block/ll_rw_blk.c | req->buffer = buf; |
buffer | 501 | drivers/block/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, 512); |
buffer | 504 | drivers/block/mcd.c | CURRENT -> buffer += 512; |
buffer | 47 | drivers/block/ramdisk.c | CURRENT->buffer, |
buffer | 50 | drivers/block/ramdisk.c | (void) memcpy(CURRENT->buffer, |
buffer | 2265 | drivers/block/sbpcd.c | memcpy(CURRENT->buffer, DS[d].sbp_buf + offs, 512); |
buffer | 2268 | drivers/block/sbpcd.c | CURRENT->buffer += 512; |
buffer | 192 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
buffer | 279 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
buffer | 286 | 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 | 302 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
buffer | 305 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
buffer | 319 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
buffer | 349 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
buffer | 351 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
buffer | 352 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != ((u_int) buffer + count) & 0xFFFF0000) { |
buffer | 361 | 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 | 126 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 135 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 144 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 173 | drivers/char/busmouse.c | put_fs_byte(buttons | 0x80, buffer); |
buffer | 174 | drivers/char/busmouse.c | put_fs_byte((char)dx, buffer + 1); |
buffer | 175 | drivers/char/busmouse.c | put_fs_byte((char)dy, buffer + 2); |
buffer | 177 | 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 | 145 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
buffer | 389 | drivers/net/d_link.c | unsigned char *buffer = skb->data; |
buffer | 440 | drivers/net/d_link.c | for ( ; len > 0; --len, ++buffer) |
buffer | 441 | drivers/net/d_link.c | d_link_put_byte(*buffer); |
buffer | 563 | drivers/net/d_link.c | register unsigned char *buffer; |
buffer | 594 | drivers/net/d_link.c | buffer = skb->data; |
buffer | 598 | drivers/net/d_link.c | for (i = size; i > 0; --i, ++buffer) |
buffer | 599 | drivers/net/d_link.c | *buffer = d_link_read_byte(READ_DATA, dev); |
buffer | 300 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 302 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 303 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 305 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 1774 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
buffer | 1776 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 1777 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 1927 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 734 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = (struct scatterlist *)SCpnt->request_buffer; |
buffer | 735 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
buffer | 736 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 743 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = NULL; |
buffer | 1781 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 1783 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 1785 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 1905 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 1907 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 1909 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 840 | drivers/scsi/aha1542.c | static buffer[512]; |
buffer | 849 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 167 | drivers/scsi/aha1740.c | static char buffer[] = "Adaptec 174x (EISA)"; |
buffer | 168 | drivers/scsi/aha1740.c | return buffer; |
buffer | 611 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 660 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 663 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain: TMC-16x0 SCSI driver, version" ); |
buffer | 665 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 666 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 668 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 674 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION "\n" ); |
buffer | 677 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1094 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1095 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1096 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1127 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1128 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1129 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1210 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1212 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1213 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1218 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = NULL; |
buffer | 579 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 675 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 731 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 793 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 805 | drivers/scsi/scsi.c | "command : " , host->host_no, target, buffer, bufflen, done, timeout, retries); |
buffer | 855 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 866 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1255 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 328 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 356 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 422 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, void (*done)(struct scsi_cmnd *), |
buffer | 483 | drivers/scsi/scsi.h | req->buffer = bh->b_data; |
buffer | 101 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 108 | drivers/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 110 | drivers/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
buffer | 511 | drivers/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 512 | drivers/scsi/scsi_debug.c | return buffer; |
buffer | 28 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
buffer | 34 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
buffer | 35 | drivers/scsi/scsi_ioctl.c | len = get_fs_long ((unsigned long *) buffer); |
buffer | 40 | drivers/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, buffer, len); |
buffer | 41 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
buffer | 142 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 153 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 156 | drivers/scsi/scsi_ioctl.c | inlen = get_fs_long((unsigned long *) buffer); |
buffer | 157 | drivers/scsi/scsi_ioctl.c | outlen = get_fs_long( ((unsigned long *) buffer) + 1); |
buffer | 159 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 220 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 162 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 173 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 175 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 177 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 181 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 183 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 218 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 221 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 228 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 231 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 234 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 235 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 448 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 468 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 497 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 530 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 552 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 668 | drivers/scsi/sd.c | unsigned char *buffer; |
buffer | 678 | drivers/scsi/sd.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 693 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 718 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 746 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
buffer | 752 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 817 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
buffer | 818 | drivers/scsi/sd.c | (buffer[1] << 16) | |
buffer | 819 | drivers/scsi/sd.c | (buffer[2] << 8) | |
buffer | 820 | drivers/scsi/sd.c | buffer[3]; |
buffer | 822 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 823 | drivers/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 839 | drivers/scsi/sd.c | scsi_free(buffer, 512); |
buffer | 851 | drivers/scsi/sd.c | scsi_free(buffer, 512); |
buffer | 374 | drivers/scsi/seagate.c | static char buffer[256]; |
buffer | 375 | drivers/scsi/seagate.c | sprintf(buffer, "scsi%d : %s at irq %d address %p options :" |
buffer | 395 | drivers/scsi/seagate.c | return buffer; |
buffer | 585 | drivers/scsi/seagate.c | struct scatterlist *buffer = NULL; |
buffer | 707 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 903 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 907 | drivers/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 908 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 909 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 914 | drivers/scsi/seagate.c | buffer = NULL; |
buffer | 1143 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1144 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1145 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1289 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1290 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1291 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1360 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1392 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1401 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 129 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 133 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 134 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
buffer | 146 | drivers/scsi/sr.c | (char *)SCpnt->buffer + 1024, |
buffer | 151 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 156 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 165 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 195 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 201 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 203 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 204 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 349 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 362 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 467 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 515 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 546 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 550 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 555 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 556 | drivers/scsi/sr.c | if (((int) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD & |
buffer | 558 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 606 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 615 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 649 | drivers/scsi/sr.c | unsigned char buffer[513]; |
buffer | 662 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 665 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 692 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 693 | drivers/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 694 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 695 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 41 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 48 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 175 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 185 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 186 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 188 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
buffer | 190 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 191 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 193 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 204 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 217 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 218 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 220 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 223 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 224 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 225 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 226 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 229 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 231 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 273 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 288 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 289 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 291 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 293 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 306 | 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 | buffer[0] = 0; /* Clear reserved field */ |
buffer | 320 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 321 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 322 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 323 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 331 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 332 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 340 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 352 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 353 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 355 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 357 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 359 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 360 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 361 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 364 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 366 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 368 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 370 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 168 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 180 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 182 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 185 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 186 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 187 | drivers/scsi/st.c | if ((STp->buffer)->writing) |
buffer | 191 | drivers/scsi/st.c | if ((STp->buffer)->writing <= 0) |
buffer | 210 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 243 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 245 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 248 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 250 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 261 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 267 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 279 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
buffer | 284 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 290 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 298 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 318 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 326 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 327 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 328 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 330 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 331 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 377 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 378 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 379 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 402 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 415 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 422 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 428 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 439 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 445 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 446 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 447 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 448 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 467 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 472 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 476 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 477 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 0; |
buffer | 483 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 484 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 487 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 488 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 489 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 490 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 491 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 495 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 496 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 502 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 512 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = ST_BUFFER_SIZE / STp->block_size; |
buffer | 513 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 514 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 517 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 518 | drivers/scsi/st.c | (STp->buffer)->buffer_size = ST_BUFFER_SIZE; |
buffer | 520 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 524 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 525 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 528 | drivers/scsi/st.c | if ((STp->buffer)->b_data[2] & 0x80) { |
buffer | 572 | 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 | 599 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 641 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 643 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 646 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 648 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 669 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_size; |
buffer | 686 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes + count) > |
buffer | 690 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes + count) >= |
buffer | 697 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_size - (STp->buffer)->buffer_bytes; |
buffer | 701 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 702 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 707 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 715 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 716 | drivers/scsi/st.c | (STp->buffer)->buffer_size, |
buffer | 721 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 760 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 770 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 775 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 776 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 778 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 782 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 784 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 788 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes >= ST_WRITE_THRESHOLD || |
buffer | 792 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 794 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 799 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 801 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 805 | drivers/scsi/st.c | SCpnt->result = (STp->buffer)->last_result = -1; |
buffer | 809 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 810 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 854 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 856 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 866 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 875 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 885 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 886 | drivers/scsi/st.c | (STp->buffer)->buffer_size, |
buffer | 891 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 894 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 920 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = count - transfer; |
buffer | 931 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = count - transfer; |
buffer | 933 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 934 | drivers/scsi/st.c | ((STp->buffer)->buffer_blocks - transfer) * |
buffer | 938 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 944 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 946 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 947 | drivers/scsi/st.c | ((STp->buffer)->buffer_blocks - transfer) * |
buffer | 952 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 968 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 974 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 979 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 983 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 985 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 986 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 987 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 988 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 992 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 993 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1179 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1191 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1193 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1195 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1197 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1199 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1201 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1206 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1207 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1208 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1213 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1214 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1215 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1218 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1221 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1233 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, ST_BLOCK_SIZE, |
buffer | 1238 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 1250 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 1252 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 1253 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 1256 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 1257 | drivers/scsi/st.c | (STp->buffer)->buffer_size = ST_BUFFER_SIZE; |
buffer | 1259 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1260 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1331 | drivers/scsi/st.c | memcpy_tofs((char *)arg, (char *)(STp->buffer)->mt_status, |
buffer | 1365 | drivers/scsi/st.c | (void *) scmd, (void *) (STp->buffer)->b_data, |
buffer | 1370 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1380 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 1381 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 1382 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 1384 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 1385 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 1386 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 1387 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 37 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 642 | fs/binfmt_coff.c | char *buffer = (char *) kmalloc (nbytes, GFP_KERNEL); |
buffer | 644 | fs/binfmt_coff.c | if (0 == buffer) { |
buffer | 658 | fs/binfmt_coff.c | buffer, /* Buffer for read */ |
buffer | 674 | fs/binfmt_coff.c | phdr = (COFF_SLIBHD *) buffer; |
buffer | 708 | fs/binfmt_coff.c | if (buffer != NULL) |
buffer | 709 | fs/binfmt_coff.c | kfree (buffer); |
buffer | 745 | fs/ext/namei.c | #define PARENT_INO(buffer) \ |
buffer | 746 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 747 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->inode |
buffer | 749 | fs/ext/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 750 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 751 | 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 | 921 | fs/ext2/namei.c | #define PARENT_INO(buffer) \ |
buffer | 922 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 923 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->inode |
buffer | 925 | fs/ext2/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 926 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 927 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->name |
buffer | 94 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 120 | fs/ext2/symlink.c | put_fs_byte (c, buffer++); |
buffer | 75 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
buffer | 78 | fs/isofs/file.c | if(*buffer == 0x1a) *buffer = 0x0a; |
buffer | 79 | fs/isofs/file.c | if(*buffer == 0x0d){ |
buffer | 80 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
buffer | 81 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
buffer | 83 | fs/isofs/file.c | buffer++; |
buffer | 40 | fs/isofs/rock.c | void * buffer = 0 |
buffer | 54 | fs/isofs/rock.c | {if (buffer) kfree(buffer); \ |
buffer | 58 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
buffer | 68 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
buffer | 76 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
buffer | 78 | fs/isofs/rock.c | chr = (unsigned char *) buffer; \ |
buffer | 160 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 226 | fs/isofs/rock.c | if (buffer) kfree(buffer); |
buffer | 242 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 376 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 501 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 80 | fs/isofs/symlink.c | static int isofs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 102 | fs/isofs/symlink.c | put_fs_byte(c,buffer++); |
buffer | 24 | fs/minix/namei.c | const char * name, const char * buffer) |
buffer | 26 | fs/minix/namei.c | if (len >= maxlen || !buffer[len]) { |
buffer | 30 | fs/minix/namei.c | :"S" ((long) name),"D" ((long) buffer),"c" (len) |
buffer | 658 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 659 | fs/minix/namei.c | (((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode) |
buffer | 79 | fs/minix/symlink.c | static int minix_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 98 | fs/minix/symlink.c | put_fs_byte(c,buffer++); |
buffer | 84 | fs/nfs/symlink.c | static int nfs_readlink(struct inode *inode, char *buffer, int buflen) |
buffer | 105 | fs/nfs/symlink.c | put_fs_byte(c,buffer++); |
buffer | 28 | fs/proc/array.c | int get_malloc(char * buffer); |
buffer | 76 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 83 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d\n", |
buffer | 89 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 91 | fs/proc/array.c | return sprintf(buffer, "cpu %u %u %u %lu\n" |
buffer | 116 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 123 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 130 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 136 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers:\n" |
buffer | 143 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 147 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 148 | fs/proc/array.c | return strlen(buffer); |
buffer | 182 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 199 | fs/proc/array.c | buffer[size++] = c; |
buffer | 210 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 216 | fs/proc/array.c | return get_array(p, (*p)->env_start, (*p)->env_end, buffer); |
buffer | 219 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 225 | fs/proc/array.c | return get_array(p, (*p)->arg_start, (*p)->arg_end, buffer); |
buffer | 255 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 291 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 333 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 376 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 108 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 131 | fs/proc/link.c | put_fs_byte(buf[i++],buffer++); |
buffer | 195 | fs/select.c | asmlinkage int sys_select( unsigned long *buffer ) |
buffer | 206 | fs/select.c | i = verify_area(VERIFY_READ, buffer, 20); |
buffer | 209 | fs/select.c | n = get_fs_long(buffer++); |
buffer | 214 | fs/select.c | inp = (fd_set *) get_fs_long(buffer++); |
buffer | 215 | fs/select.c | outp = (fd_set *) get_fs_long(buffer++); |
buffer | 216 | fs/select.c | exp = (fd_set *) get_fs_long(buffer++); |
buffer | 217 | fs/select.c | tvp = (struct timeval *) get_fs_long(buffer); |
buffer | 26 | fs/sysv/namei.c | const char * name, const char * buffer) |
buffer | 28 | fs/sysv/namei.c | if (len >= maxlen || !buffer[len]) { |
buffer | 32 | fs/sysv/namei.c | :"S" ((long) name),"D" ((long) buffer),"c" (len) |
buffer | 667 | fs/sysv/namei.c | #define PARENT_INO(buffer) \ |
buffer | 668 | fs/sysv/namei.c | (((struct sysv_dir_entry *) ((buffer) + 1*SYSV_DIRSIZE))->inode) |
buffer | 86 | fs/sysv/symlink.c | static int sysv_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 106 | fs/sysv/symlink.c | put_fs_byte(c,buffer++); |
buffer | 698 | fs/xiafs/namei.c | #define PARENT_INO(buffer) \ |
buffer | 699 | fs/xiafs/namei.c | (((struct xiafs_direct *) ((u_char *)(buffer) + 12))->d_ino) |
buffer | 47 | fs/xiafs/symlink.c | static int xiafs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 68 | fs/xiafs/symlink.c | put_fs_byte(c, buffer++); |
buffer | 70 | fs/xiafs/symlink.c | put_fs_byte((char)0, buffer); |
buffer | 387 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
buffer | 388 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
buffer | 28 | include/linux/ldt.h | extern int get_ldt(void *buffer); |
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 | 506 | lib/malloc.c | int get_malloc(char *buffer) |
buffer | 526 | lib/malloc.c | len += sprintf(buffer+len,"...\n"); |
buffer | 529 | lib/malloc.c | len += sprintf(buffer+len,"%08x:%03x %s:%d %s:%d\n", |
buffer | 137 | mm/mmap.c | asmlinkage int sys_mmap(unsigned long *buffer) |
buffer | 143 | mm/mmap.c | error = verify_area(VERIFY_READ, buffer, 6*4); |
buffer | 146 | mm/mmap.c | flags = get_fs_long(buffer+3); |
buffer | 148 | mm/mmap.c | unsigned long fd = get_fs_long(buffer+4); |
buffer | 152 | mm/mmap.c | return do_mmap(file, get_fs_long(buffer), get_fs_long(buffer+1), |
buffer | 153 | mm/mmap.c | get_fs_long(buffer+2), flags, get_fs_long(buffer+5)); |
buffer | 804 | net/inet/arp.c | arp_get_info(char *buffer) |
buffer | 812 | net/inet/arp.c | pos = buffer; |
buffer | 819 | net/inet/arp.c | if (pos < (buffer + 4000)) { |
buffer | 835 | net/inet/arp.c | return(pos - buffer); |
buffer | 60 | net/inet/arp.h | extern int arp_get_info(char *buffer); |
buffer | 773 | net/inet/dev.c | char *sprintf_stats(char *buffer, struct device *dev) |
buffer | 775 | net/inet/dev.c | char *pos = buffer; |
buffer | 798 | net/inet/dev.c | dev_get_info(char *buffer) |
buffer | 800 | net/inet/dev.c | char *pos = buffer; |
buffer | 810 | net/inet/dev.c | return pos - buffer; |
buffer | 186 | net/inet/dev.h | extern int dev_get_info(char *buffer); |
buffer | 57 | net/inet/proc.c | get__netinfo(struct proto *pro, char *buffer, int format) |
buffer | 61 | net/inet/proc.c | char *pos=buffer; |
buffer | 98 | net/inet/proc.c | if (pos > buffer+PAGE_SIZE-80) { |
buffer | 101 | net/inet/proc.c | return(strlen(buffer)); |
buffer | 114 | net/inet/proc.c | return(strlen(buffer)); |
buffer | 118 | net/inet/proc.c | int tcp_get_info(char *buffer) |
buffer | 120 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0); |
buffer | 124 | net/inet/proc.c | int udp_get_info(char *buffer) |
buffer | 126 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1); |
buffer | 130 | net/inet/proc.c | int raw_get_info(char *buffer) |
buffer | 132 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1); |
buffer | 329 | net/inet/route.c | rt_get_info(char *buffer) |
buffer | 334 | net/inet/route.c | pos = buffer; |
buffer | 346 | net/inet/route.c | return(pos - buffer); |
buffer | 44 | net/inet/route.h | extern int rt_get_info(char * buffer); |
buffer | 38 | net/unix/proc.c | int unix_get_info(char *buffer) |
buffer | 43 | net/unix/proc.c | pos = buffer; |
buffer | 71 | net/unix/proc.c | if (pos > buffer+PAGE_SIZE-80-PATH_MAX) { |
buffer | 73 | net/unix/proc.c | return(pos - buffer); |
buffer | 77 | net/unix/proc.c | return(pos - buffer); |