tag | line | file | source code |
buffer | 737 | fs/ext/namei.c | #define PARENT_INO(buffer) \ |
buffer | 738 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 739 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->inode |
buffer | 741 | fs/ext/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 742 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 743 | 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 | 766 | fs/ext2/namei.c | #define PARENT_INO(buffer) \ |
buffer | 767 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 768 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->inode |
buffer | 770 | fs/ext2/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 771 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 772 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->name |
buffer | 92 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 118 | fs/ext2/symlink.c | put_fs_byte (c, buffer++); |
buffer | 74 | fs/isofs/file.c | static inline void unixify_text_buffer(char * buffer, int chars, int mode) |
buffer | 77 | fs/isofs/file.c | if(*buffer == 0x1a) *buffer = 0x0a; |
buffer | 78 | fs/isofs/file.c | if(*buffer == 0x0d){ |
buffer | 79 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT_M) *buffer = 0x0a; |
buffer | 80 | fs/isofs/file.c | if(mode == ISOFS_FILE_TEXT) *buffer = ' '; |
buffer | 82 | fs/isofs/file.c | buffer++; |
buffer | 39 | fs/isofs/rock.c | char * buffer = 0 |
buffer | 53 | fs/isofs/rock.c | {if (buffer) kfree(buffer); \ |
buffer | 57 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
buffer | 64 | fs/isofs/rock.c | memcpy(buffer, bh->b_data, cont_size); \ |
buffer | 66 | fs/isofs/rock.c | chr = buffer; \ |
buffer | 149 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 215 | fs/isofs/rock.c | if (buffer) kfree(buffer); |
buffer | 231 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 354 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 467 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 79 | fs/isofs/symlink.c | static int isofs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 101 | 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 | 653 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 654 | 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 | 83 | fs/nfs/symlink.c | static int nfs_readlink(struct inode *inode, char *buffer, int buflen) |
buffer | 104 | fs/nfs/symlink.c | put_fs_byte(c,buffer++); |
buffer | 31 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 38 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d\n", |
buffer | 44 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 51 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d\n", |
buffer | 58 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 64 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers:\n" |
buffer | 71 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 75 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 76 | fs/proc/array.c | return strlen(buffer); |
buffer | 112 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 129 | fs/proc/array.c | buffer[size++] = c; |
buffer | 140 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 146 | fs/proc/array.c | return get_array(p, (*p)->env_start, (*p)->env_end, buffer); |
buffer | 149 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 155 | fs/proc/array.c | return get_array(p, (*p)->arg_start, (*p)->arg_end, buffer); |
buffer | 180 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 206 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %u %u \ |
buffer | 248 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 291 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 93 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 112 | fs/proc/link.c | put_fs_byte(buf[i++],buffer++); |
buffer | 196 | fs/select.c | int sys_select( unsigned long *buffer ) |
buffer | 207 | fs/select.c | i = verify_area(VERIFY_READ, buffer, 20); |
buffer | 210 | fs/select.c | n = get_fs_long(buffer++); |
buffer | 215 | fs/select.c | inp = (fd_set *) get_fs_long(buffer++); |
buffer | 216 | fs/select.c | outp = (fd_set *) get_fs_long(buffer++); |
buffer | 217 | fs/select.c | exp = (fd_set *) get_fs_long(buffer++); |
buffer | 218 | fs/select.c | tvp = (struct timeval *) get_fs_long(buffer); |
buffer | 694 | fs/xiafs/namei.c | #define PARENT_INO(buffer) \ |
buffer | 695 | 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 | 366 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
buffer | 367 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
buffer | 120 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,u_char *buffer,u_int block,u_int count); |
buffer | 124 | include/linux/xd.h | static u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count); |
buffer | 31 | kernel/blk_drv/blk.h | char * buffer; |
buffer | 237 | kernel/blk_drv/blk.h | req->buffer = bh->b_data; |
buffer | 368 | kernel/blk_drv/floppy.c | addr = (long) CURRENT->buffer; |
buffer | 379 | kernel/blk_drv/floppy.c | copy_buffer(CURRENT->buffer,tmp_floppy_area); |
buffer | 614 | kernel/blk_drv/floppy.c | copy_buffer(buffer_area,CURRENT->buffer); |
buffer | 616 | kernel/blk_drv/floppy.c | (unsigned long)(CURRENT->buffer) >= LAST_DMA_ADDR) |
buffer | 617 | kernel/blk_drv/floppy.c | copy_buffer(tmp_floppy_area,CURRENT->buffer); |
buffer | 1012 | kernel/blk_drv/floppy.c | copy_buffer(buffer_area,CURRENT->buffer); |
buffer | 1016 | kernel/blk_drv/floppy.c | copy_buffer(CURRENT->buffer,buffer_area); |
buffer | 326 | kernel/blk_drv/hd.c | port_read(HD_DATA,CURRENT->buffer,256); |
buffer | 328 | kernel/blk_drv/hd.c | CURRENT->buffer += 512; |
buffer | 335 | kernel/blk_drv/hd.c | buffer); |
buffer | 380 | kernel/blk_drv/hd.c | CURRENT->buffer += 512; |
buffer | 385 | kernel/blk_drv/hd.c | port_write(HD_DATA,CURRENT->buffer,256); |
buffer | 466 | kernel/blk_drv/hd.c | dev, cyl, head, sec, CURRENT->buffer); |
buffer | 495 | kernel/blk_drv/hd.c | port_write(HD_DATA,CURRENT->buffer,256); |
buffer | 212 | kernel/blk_drv/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 220 | kernel/blk_drv/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
buffer | 253 | kernel/blk_drv/ll_rw_blk.c | req->buffer = buffer; |
buffer | 367 | kernel/blk_drv/ll_rw_blk.c | req->buffer = buf; |
buffer | 38 | kernel/blk_drv/ramdisk.c | CURRENT->buffer, |
buffer | 41 | kernel/blk_drv/ramdisk.c | (void) memcpy(CURRENT->buffer, |
buffer | 233 | kernel/blk_drv/scsi/aha1542.c | static char buffer[] = "Adaptec 1542"; |
buffer | 234 | kernel/blk_drv/scsi/aha1542.c | return buffer; |
buffer | 729 | kernel/blk_drv/scsi/aha1542.c | static buffer[512]; |
buffer | 738 | kernel/blk_drv/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 166 | kernel/blk_drv/scsi/aha1740.c | static char buffer[] = "Adaptec 174x (EISA)"; |
buffer | 167 | kernel/blk_drv/scsi/aha1740.c | return buffer; |
buffer | 482 | kernel/blk_drv/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 569 | kernel/blk_drv/scsi/fdomain.c | static char buffer[] = |
buffer | 573 | kernel/blk_drv/scsi/fdomain.c | return buffer; |
buffer | 787 | kernel/blk_drv/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 788 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 789 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 822 | kernel/blk_drv/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 823 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 824 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 936 | kernel/blk_drv/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 937 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 938 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1004 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1006 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1007 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1012 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.buffer = NULL; |
buffer | 560 | kernel/blk_drv/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 620 | kernel/blk_drv/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 632 | kernel/blk_drv/scsi/scsi.c | "command : " , host, target, buffer, bufflen, done, timeout, retries); |
buffer | 683 | kernel/blk_drv/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 691 | kernel/blk_drv/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1032 | kernel/blk_drv/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 332 | kernel/blk_drv/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 358 | kernel/blk_drv/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 422 | kernel/blk_drv/scsi/scsi.h | void *buffer, unsigned bufflen, void (*done)(struct scsi_cmnd *), |
buffer | 479 | kernel/blk_drv/scsi/scsi.h | req->buffer = bh->b_data; |
buffer | 101 | kernel/blk_drv/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 108 | kernel/blk_drv/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 110 | kernel/blk_drv/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
buffer | 511 | kernel/blk_drv/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 512 | kernel/blk_drv/scsi/scsi_debug.c | return buffer; |
buffer | 28 | kernel/blk_drv/scsi/scsi_ioctl.c | static int ioctl_probe(int dev, void *buffer) |
buffer | 34 | kernel/blk_drv/scsi/scsi_ioctl.c | if ((temp = scsi_hosts[dev].present) && buffer) { |
buffer | 35 | kernel/blk_drv/scsi/scsi_ioctl.c | len = get_fs_long ((int *) buffer); |
buffer | 40 | kernel/blk_drv/scsi/scsi_ioctl.c | verify_area(VERIFY_WRITE, buffer, len); |
buffer | 41 | kernel/blk_drv/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
buffer | 144 | kernel/blk_drv/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 155 | kernel/blk_drv/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 158 | kernel/blk_drv/scsi/scsi_ioctl.c | inlen = get_fs_long((int *) buffer); |
buffer | 159 | kernel/blk_drv/scsi/scsi_ioctl.c | outlen = get_fs_long( ((int *) buffer) + 1); |
buffer | 161 | kernel/blk_drv/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 213 | kernel/blk_drv/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 162 | kernel/blk_drv/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 173 | kernel/blk_drv/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 175 | kernel/blk_drv/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 177 | kernel/blk_drv/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 181 | kernel/blk_drv/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 183 | kernel/blk_drv/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 219 | kernel/blk_drv/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 222 | kernel/blk_drv/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 229 | kernel/blk_drv/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 232 | kernel/blk_drv/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 235 | kernel/blk_drv/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 236 | kernel/blk_drv/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 454 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 474 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 503 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 536 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 558 | kernel/blk_drv/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 674 | kernel/blk_drv/scsi/sd.c | unsigned char buffer[513]; |
buffer | 694 | kernel/blk_drv/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 761 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
buffer | 762 | kernel/blk_drv/scsi/sd.c | (buffer[1] << 16) | |
buffer | 763 | kernel/blk_drv/scsi/sd.c | (buffer[2] << 8) | |
buffer | 764 | kernel/blk_drv/scsi/sd.c | buffer[3]; |
buffer | 766 | kernel/blk_drv/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 767 | kernel/blk_drv/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 251 | kernel/blk_drv/scsi/seagate.c | static char buffer[256]; |
buffer | 252 | kernel/blk_drv/scsi/seagate.c | sprintf(buffer, "scsi%d : %s at irq %d address %p options :" |
buffer | 266 | kernel/blk_drv/scsi/seagate.c | return buffer; |
buffer | 456 | kernel/blk_drv/scsi/seagate.c | struct scatterlist *buffer; |
buffer | 567 | kernel/blk_drv/scsi/seagate.c | buffer=current_buffer; |
buffer | 741 | kernel/blk_drv/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 745 | kernel/blk_drv/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 746 | kernel/blk_drv/scsi/seagate.c | len = buffer->length; |
buffer | 747 | kernel/blk_drv/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 752 | kernel/blk_drv/scsi/seagate.c | buffer = NULL; |
buffer | 983 | kernel/blk_drv/scsi/seagate.c | ++buffer; |
buffer | 984 | kernel/blk_drv/scsi/seagate.c | len = buffer->length; |
buffer | 985 | kernel/blk_drv/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1110 | kernel/blk_drv/scsi/seagate.c | ++buffer; |
buffer | 1111 | kernel/blk_drv/scsi/seagate.c | len = buffer->length; |
buffer | 1112 | kernel/blk_drv/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1176 | kernel/blk_drv/scsi/seagate.c | current_buffer = buffer; |
buffer | 1208 | kernel/blk_drv/scsi/seagate.c | current_buffer = buffer; |
buffer | 1217 | kernel/blk_drv/scsi/seagate.c | buffer=current_buffer; |
buffer | 120 | kernel/blk_drv/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 124 | kernel/blk_drv/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 125 | kernel/blk_drv/scsi/sr.c | SCpnt->buffer + offset, |
buffer | 137 | kernel/blk_drv/scsi/sr.c | SCpnt->buffer + 1024, |
buffer | 142 | kernel/blk_drv/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 147 | kernel/blk_drv/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 156 | kernel/blk_drv/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 189 | kernel/blk_drv/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 195 | kernel/blk_drv/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 197 | kernel/blk_drv/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 198 | kernel/blk_drv/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 338 | kernel/blk_drv/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 349 | kernel/blk_drv/scsi/sr.c | buffer = NULL; |
buffer | 455 | kernel/blk_drv/scsi/sr.c | buffer = (char *) sgpnt; |
buffer | 503 | kernel/blk_drv/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 534 | kernel/blk_drv/scsi/sr.c | buffer = scsi_malloc(2048); |
buffer | 538 | kernel/blk_drv/scsi/sr.c | buffer = scsi_malloc(2048); |
buffer | 543 | kernel/blk_drv/scsi/sr.c | buffer = SCpnt->request.buffer; |
buffer | 544 | kernel/blk_drv/scsi/sr.c | if (((int) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD & |
buffer | 546 | kernel/blk_drv/scsi/sr.c | buffer = scsi_malloc(this_count << 9); |
buffer | 592 | kernel/blk_drv/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 596 | kernel/blk_drv/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 632 | kernel/blk_drv/scsi/sr.c | unsigned char buffer[513]; |
buffer | 658 | kernel/blk_drv/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 683 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 684 | kernel/blk_drv/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 685 | kernel/blk_drv/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 686 | kernel/blk_drv/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 40 | kernel/blk_drv/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 47 | kernel/blk_drv/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 174 | kernel/blk_drv/scsi/sr_ioctl.c | char buffer[12]; |
buffer | 184 | kernel/blk_drv/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, sizeof (buffer)); |
buffer | 186 | kernel/blk_drv/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 187 | kernel/blk_drv/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 198 | kernel/blk_drv/scsi/sr_ioctl.c | char buffer[12]; |
buffer | 211 | kernel/blk_drv/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, sizeof (buffer)); |
buffer | 214 | kernel/blk_drv/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 215 | kernel/blk_drv/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 216 | kernel/blk_drv/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 217 | kernel/blk_drv/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 220 | kernel/blk_drv/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 262 | kernel/blk_drv/scsi/sr_ioctl.c | char buffer[28], mask[28]; |
buffer | 277 | kernel/blk_drv/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, sizeof (buffer)))) { |
buffer | 296 | kernel/blk_drv/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 297 | kernel/blk_drv/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 298 | kernel/blk_drv/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 299 | kernel/blk_drv/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 307 | kernel/blk_drv/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, sizeof (buffer)); |
buffer | 314 | kernel/blk_drv/scsi/sr_ioctl.c | char buffer[16]; |
buffer | 326 | kernel/blk_drv/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, sizeof (buffer)); |
buffer | 328 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 330 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 331 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 332 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 334 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 335 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 336 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 337 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 338 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 339 | kernel/blk_drv/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 97 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[st_nbr].buffer->writing && |
buffer | 100 | kernel/blk_drv/scsi/st.c | scsi_tapes[st_nbr].buffer->last_result = 0x7fffffff; |
buffer | 102 | kernel/blk_drv/scsi/st.c | scsi_tapes[st_nbr].buffer->last_result = SCpnt->result; |
buffer | 103 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[st_nbr].buffer->writing) |
buffer | 107 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[st_nbr].buffer->writing <= 0) |
buffer | 167 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->last_result < 0) { |
buffer | 168 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing = (- scsi_tapes[dev].buffer->writing); |
buffer | 170 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing = (- scsi_tapes[dev].buffer->writing); |
buffer | 174 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->writing < scsi_tapes[dev].buffer->buffer_bytes) |
buffer | 175 | kernel/blk_drv/scsi/st.c | memcpy(scsi_tapes[dev].buffer->b_data, |
buffer | 176 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data + scsi_tapes[dev].buffer->writing, |
buffer | 177 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes - |
buffer | 178 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing); |
buffer | 179 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes -= scsi_tapes[dev].buffer->writing; |
buffer | 180 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing = 0; |
buffer | 196 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->writing) { |
buffer | 198 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->last_result) { |
buffer | 201 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->last_result); |
buffer | 212 | kernel/blk_drv/scsi/st.c | offset = scsi_tapes[dev].buffer->buffer_bytes; |
buffer | 218 | kernel/blk_drv/scsi/st.c | memset(scsi_tapes[dev].buffer->b_data + offset, 0, transfer - offset); |
buffer | 230 | kernel/blk_drv/scsi/st.c | (void *) cmd, scsi_tapes[dev].buffer->b_data, transfer, |
buffer | 244 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = 0; |
buffer | 265 | kernel/blk_drv/scsi/st.c | backspace = (scsi_tapes[dev].buffer->buffer_bytes + |
buffer | 266 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer) / scsi_tapes[dev].block_size - |
buffer | 267 | kernel/blk_drv/scsi/st.c | (scsi_tapes[dev].buffer->read_pointer + scsi_tapes[dev].block_size - 1) / |
buffer | 269 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = 0; |
buffer | 270 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer = 0; |
buffer | 311 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer = st_buffers[i]; |
buffer | 333 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 348 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 363 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->in_use = 0; |
buffer | 374 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 380 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].max_block = (scsi_tapes[dev].buffer->b_data[1] << 16) | |
buffer | 381 | kernel/blk_drv/scsi/st.c | (scsi_tapes[dev].buffer->b_data[2] << 8) | scsi_tapes[dev].buffer->b_data[3]; |
buffer | 382 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].min_block = (scsi_tapes[dev].buffer->b_data[4] << 8) | |
buffer | 383 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[5]; |
buffer | 402 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 412 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[2] = |
buffer | 413 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[3] = 0; |
buffer | 419 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[0], scsi_tapes[dev].buffer->b_data[1], |
buffer | 420 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[2], scsi_tapes[dev].buffer->b_data[3]); |
buffer | 423 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->b_data[3] >= 8) { |
buffer | 424 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].block_size = scsi_tapes[dev].buffer->b_data[9] * 65536 + |
buffer | 425 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[10] * 256 + scsi_tapes[dev].buffer->b_data[11]; |
buffer | 428 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[4], scsi_tapes[dev].buffer->b_data[5] * |
buffer | 429 | kernel/blk_drv/scsi/st.c | 65536 + scsi_tapes[dev].buffer->b_data[6] * 256 + |
buffer | 430 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[7], scsi_tapes[dev].buffer->b_data[9] * |
buffer | 431 | kernel/blk_drv/scsi/st.c | 65536 + scsi_tapes[dev].buffer->b_data[10] * 256 + |
buffer | 432 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[11]); |
buffer | 437 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->in_use = 0; |
buffer | 446 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->in_use = 0; |
buffer | 456 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks = |
buffer | 458 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size = |
buffer | 459 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks * scsi_tapes[dev].block_size; |
buffer | 460 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = scsi_tapes[dev].buffer->read_pointer = 0; |
buffer | 464 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].block_size, scsi_tapes[dev].buffer->buffer_size, |
buffer | 465 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks); |
buffer | 468 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->b_data[2] & 0x80) { |
buffer | 509 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 538 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->in_use = 0; |
buffer | 573 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->writing) { |
buffer | 575 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->last_result) { |
buffer | 578 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->last_result); |
buffer | 600 | kernel/blk_drv/scsi/st.c | while((scsi_tapes[dev].buffer->buffer_bytes + count) >= |
buffer | 601 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size) { |
buffer | 602 | kernel/blk_drv/scsi/st.c | do_count = scsi_tapes[dev].buffer->buffer_size - |
buffer | 603 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes; |
buffer | 604 | kernel/blk_drv/scsi/st.c | memcpy_fromfs(scsi_tapes[dev].buffer->b_data + |
buffer | 605 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes,b_point,do_count); |
buffer | 607 | kernel/blk_drv/scsi/st.c | blks = scsi_tapes[dev].buffer->buffer_blocks; |
buffer | 614 | kernel/blk_drv/scsi/st.c | (void *) cmd, scsi_tapes[dev].buffer->b_data, |
buffer | 615 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size, |
buffer | 639 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = 0; |
buffer | 644 | kernel/blk_drv/scsi/st.c | memcpy_fromfs(scsi_tapes[dev].buffer->b_data + |
buffer | 645 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes,b_point,count); |
buffer | 647 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes += count; |
buffer | 658 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->buffer_bytes >= ST_WRITE_THRESHOLD) { |
buffer | 660 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing = (scsi_tapes[dev].buffer->buffer_bytes / |
buffer | 664 | kernel/blk_drv/scsi/st.c | blks = scsi_tapes[dev].buffer->writing / scsi_tapes[dev].block_size; |
buffer | 668 | kernel/blk_drv/scsi/st.c | SCpnt->result = scsi_tapes[dev].buffer->last_result = -1; |
buffer | 672 | kernel/blk_drv/scsi/st.c | (void *) cmd, scsi_tapes[dev].buffer->b_data, |
buffer | 673 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->writing, |
buffer | 711 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes); |
buffer | 713 | kernel/blk_drv/scsi/st.c | if ((scsi_tapes[dev].buffer->buffer_bytes == 0) && |
buffer | 723 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->buffer_bytes == 0 && |
buffer | 729 | kernel/blk_drv/scsi/st.c | blks = scsi_tapes[dev].buffer->buffer_blocks; |
buffer | 737 | kernel/blk_drv/scsi/st.c | (void *) cmd, scsi_tapes[dev].buffer->b_data, |
buffer | 738 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size, |
buffer | 743 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer = 0; |
buffer | 768 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = |
buffer | 769 | kernel/blk_drv/scsi/st.c | (scsi_tapes[dev].buffer->buffer_blocks - transfer) * |
buffer | 773 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks - transfer); |
buffer | 778 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = |
buffer | 779 | kernel/blk_drv/scsi/st.c | (scsi_tapes[dev].buffer->buffer_blocks - transfer) * |
buffer | 783 | kernel/blk_drv/scsi/st.c | dev, scsi_tapes[dev].buffer->buffer_blocks - transfer, total); |
buffer | 807 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = |
buffer | 808 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size; |
buffer | 812 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].buffer->buffer_bytes > 0) { |
buffer | 816 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes, count - total); |
buffer | 818 | kernel/blk_drv/scsi/st.c | transfer = scsi_tapes[dev].buffer->buffer_bytes < count - total ? |
buffer | 819 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes : count - total; |
buffer | 820 | kernel/blk_drv/scsi/st.c | memcpy_tofs(buf, scsi_tapes[dev].buffer->b_data + |
buffer | 821 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer,transfer); |
buffer | 825 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes -= transfer; |
buffer | 826 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer += transfer; |
buffer | 1005 | kernel/blk_drv/scsi/st.c | if (scsi_tapes[dev].dirty || scsi_tapes[dev].buffer->buffer_bytes != 0) |
buffer | 1016 | kernel/blk_drv/scsi/st.c | memset(scsi_tapes[dev].buffer->b_data, 0, 12); |
buffer | 1017 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[2] = 0x10; /* buffered mode */ |
buffer | 1018 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[3] = 8; /* block descriptor length */ |
buffer | 1022 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[4] = arg; |
buffer | 1025 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[9] = (ltmp >> 16); |
buffer | 1026 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[10] = (ltmp >> 8); |
buffer | 1027 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[11] = ltmp; |
buffer | 1032 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[9] * 65536 + |
buffer | 1033 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[10] * 256 + |
buffer | 1034 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[11]); |
buffer | 1037 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->b_data[4]); |
buffer | 1049 | kernel/blk_drv/scsi/st.c | (void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, ST_BLOCK_SIZE, |
buffer | 1065 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks = |
buffer | 1067 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_size = |
buffer | 1068 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_blocks * scsi_tapes[dev].block_size; |
buffer | 1069 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->buffer_bytes = |
buffer | 1070 | kernel/blk_drv/scsi/st.c | scsi_tapes[dev].buffer->read_pointer = 0; |
buffer | 1134 | kernel/blk_drv/scsi/st.c | memcpy_tofs((char *)arg, (char *)scsi_tapes[dev].buffer->mt_status, |
buffer | 1168 | kernel/blk_drv/scsi/st.c | (void *) scmd, (void *) scsi_tapes[dev].buffer->b_data, |
buffer | 1183 | kernel/blk_drv/scsi/st.c | mt_pos.mt_blkno = (scsi_tapes[dev].buffer->b_data[0] << 16) |
buffer | 1184 | kernel/blk_drv/scsi/st.c | + (scsi_tapes[dev].buffer->b_data[1] << 8) |
buffer | 1185 | kernel/blk_drv/scsi/st.c | + scsi_tapes[dev].buffer->b_data[2]; |
buffer | 1187 | kernel/blk_drv/scsi/st.c | mt_pos.mt_blkno = (scsi_tapes[dev].buffer->b_data[4] << 24) |
buffer | 1188 | kernel/blk_drv/scsi/st.c | + (scsi_tapes[dev].buffer->b_data[5] << 16) |
buffer | 1189 | kernel/blk_drv/scsi/st.c | + (scsi_tapes[dev].buffer->b_data[6] << 8) |
buffer | 1190 | kernel/blk_drv/scsi/st.c | + scsi_tapes[dev].buffer->b_data[7]; |
buffer | 34 | kernel/blk_drv/scsi/st.h | ST_buffer * buffer; |
buffer | 183 | kernel/blk_drv/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
buffer | 265 | kernel/blk_drv/xd.c | static int xd_readwrite (u_char operation,u_char drive,u_char *buffer,u_int block,u_int count) |
buffer | 272 | kernel/blk_drv/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 | 292 | kernel/blk_drv/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,buffer,temp * 0x200); |
buffer | 295 | kernel/blk_drv/xd.c | switch (xd_command(cmdblk,mode,buffer,buffer,sense,XD_TIMEOUT)) { |
buffer | 310 | kernel/blk_drv/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
buffer | 342 | kernel/blk_drv/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
buffer | 344 | kernel/blk_drv/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
buffer | 345 | kernel/blk_drv/xd.c | if (((u_int) buffer & 0xFFFF0000) != ((u_int) buffer + count) & 0xFFFF0000) { |
buffer | 354 | kernel/blk_drv/xd.c | set_dma_addr(xd_dma,(u_int) buffer); |
buffer | 108 | kernel/chr_drv/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 113 | kernel/chr_drv/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 121 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
buffer | 122 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
buffer | 123 | kernel/chr_drv/atixlmouse.c | put_fs_byte((char)-mouse.dy, buffer + 2); |
buffer | 89 | kernel/chr_drv/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 94 | kernel/chr_drv/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 103 | kernel/chr_drv/busmouse.c | put_fs_byte(mouse.buttons | 0x80, buffer); |
buffer | 108 | kernel/chr_drv/busmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
buffer | 113 | kernel/chr_drv/busmouse.c | put_fs_byte((char) -mouse.dy, buffer + 2); |
buffer | 115 | kernel/chr_drv/busmouse.c | put_fs_byte(0x00, buffer + i); |
buffer | 95 | kernel/chr_drv/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 100 | kernel/chr_drv/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 108 | kernel/chr_drv/msbusmouse.c | put_fs_byte(mouse.latch_buttons | 0x80, buffer); |
buffer | 113 | kernel/chr_drv/msbusmouse.c | put_fs_byte((char)mouse.dx, buffer + 1); |
buffer | 118 | kernel/chr_drv/msbusmouse.c | put_fs_byte((char) -mouse.dy, buffer + 2); |
buffer | 120 | kernel/chr_drv/msbusmouse.c | put_fs_byte(0x00, buffer + i); |
buffer | 201 | kernel/chr_drv/psaux.c | static int write_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 211 | kernel/chr_drv/psaux.c | outb_p(get_fs_byte(buffer++),AUX_OUTPUT_PORT); |
buffer | 222 | kernel/chr_drv/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 243 | kernel/chr_drv/psaux.c | put_fs_byte(c, buffer++); |
buffer | 37 | mm/mmap.c | int sys_mmap(unsigned long *buffer) |
buffer | 44 | mm/mmap.c | addr = (unsigned long) get_fs_long(buffer); /* user address space*/ |
buffer | 45 | mm/mmap.c | len = (size_t) get_fs_long(buffer+1); /* nbytes of mapping */ |
buffer | 46 | mm/mmap.c | prot = (int) get_fs_long(buffer+2); /* protection */ |
buffer | 47 | mm/mmap.c | flags = (int) get_fs_long(buffer+3); /* mapping type */ |
buffer | 48 | mm/mmap.c | fd = (int) get_fs_long(buffer+4); /* object to map */ |
buffer | 49 | mm/mmap.c | off = (unsigned long) get_fs_long(buffer+5); /* offset in object */ |