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 | 183 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_statfs(char * path, struct statfs * buffer, unsigned long bufsiz) |
buffer | 190 | arch/alpha/kernel/osf_sys.c | retval = verify_area(VERIFY_WRITE, buffer, bufsiz); |
buffer | 200 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
buffer | 205 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_fstatfs(unsigned long fd, struct statfs * buffer, unsigned long bufsiz) |
buffer | 211 | arch/alpha/kernel/osf_sys.c | retval = verify_area(VERIFY_WRITE, buffer, bufsiz); |
buffer | 222 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
buffer | 667 | arch/alpha/kernel/osf_sys.c | osf_getsysinfo (unsigned long op, void * buffer, unsigned long nbytes, |
buffer | 678 | arch/alpha/kernel/osf_sys.c | put_user(fpcw, (unsigned long *) buffer); |
buffer | 697 | arch/alpha/kernel/osf_sys.c | osf_setsysinfo (unsigned long op, void * buffer, unsigned long nbytes, |
buffer | 705 | arch/alpha/kernel/osf_sys.c | fpcw = get_user((unsigned long *) buffer); |
buffer | 164 | arch/alpha/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 192 | arch/alpha/kernel/setup.c | return sprintf(buffer, |
buffer | 259 | arch/i386/kernel/setup.c | int get_cpuinfo(char * buffer) |
buffer | 279 | arch/i386/kernel/setup.c | if (len) buffer[len++] = '\n'; |
buffer | 286 | arch/i386/kernel/setup.c | len += sprintf(buffer+len,"processor\t: %d\n" |
buffer | 298 | arch/i386/kernel/setup.c | len += sprintf(buffer+len, |
buffer | 302 | arch/i386/kernel/setup.c | len += sprintf(buffer+len, |
buffer | 305 | arch/i386/kernel/setup.c | len += sprintf(buffer+len, |
buffer | 323 | arch/i386/kernel/setup.c | len += sprintf(buffer+len, " %s", |
buffer | 327 | arch/i386/kernel/setup.c | len += sprintf(buffer+len, |
buffer | 46 | arch/i386/kernel/sys_i386.c | asmlinkage int old_mmap(unsigned long *buffer) |
buffer | 52 | arch/i386/kernel/sys_i386.c | error = verify_area(VERIFY_READ, buffer, 6*sizeof(long)); |
buffer | 55 | arch/i386/kernel/sys_i386.c | flags = get_user(buffer+3); |
buffer | 57 | arch/i386/kernel/sys_i386.c | unsigned long fd = get_user(buffer+4); |
buffer | 62 | arch/i386/kernel/sys_i386.c | return do_mmap(file, get_user(buffer), get_user(buffer+1), |
buffer | 63 | arch/i386/kernel/sys_i386.c | get_user(buffer+2), flags, get_user(buffer+5)); |
buffer | 68 | arch/i386/kernel/sys_i386.c | asmlinkage int old_select(unsigned long *buffer) |
buffer | 76 | arch/i386/kernel/sys_i386.c | n = verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)); |
buffer | 79 | arch/i386/kernel/sys_i386.c | n = get_user(buffer); |
buffer | 80 | arch/i386/kernel/sys_i386.c | inp = (fd_set *) get_user(buffer+1); |
buffer | 81 | arch/i386/kernel/sys_i386.c | outp = (fd_set *) get_user(buffer+2); |
buffer | 82 | arch/i386/kernel/sys_i386.c | exp = (fd_set *) get_user(buffer+3); |
buffer | 83 | arch/i386/kernel/sys_i386.c | tvp = (struct timeval *) get_user(buffer+4); |
buffer | 813 | arch/m68k/amiga/config.c | int amiga_get_hardware_list(char *buffer) |
buffer | 818 | arch/m68k/amiga/config.c | len += sprintf(buffer+len, "Chip RAM:\t%ldK\n", |
buffer | 820 | arch/m68k/amiga/config.c | len += sprintf(buffer+len, "PS Freq:\t%dHz\nEClock Freq:\t%ldHz\n", |
buffer | 838 | arch/m68k/amiga/config.c | len += sprintf(buffer+len, "Graphics:\t%s\n", type); |
buffer | 843 | arch/m68k/amiga/config.c | len += sprintf (buffer+len, "\t%s\n", str) |
buffer | 845 | arch/m68k/amiga/config.c | len += sprintf (buffer + len, "Detected hardware:\n"); |
buffer | 876 | arch/m68k/amiga/config.c | len += sprintf(buffer+len, "\tZorro AutoConfig: %d Expansion Device%s\n", |
buffer | 582 | arch/m68k/amiga/zorro.c | int zorro_get_list(char *buffer) |
buffer | 588 | arch/m68k/amiga/zorro.c | len = sprintf(buffer, "AutoConfig expansion devices:\n"); |
buffer | 592 | arch/m68k/amiga/zorro.c | len += sprintf(buffer+len, "4K limit reached!\n"); |
buffer | 595 | arch/m68k/amiga/zorro.c | strcpy(buffer+len, tmp); |
buffer | 1110 | arch/m68k/atari/config.c | int atari_get_hardware_list(char *buffer) |
buffer | 1115 | arch/m68k/atari/config.c | len += sprintf (buffer+len, "\t%3ld MB at 0x%08lx (%s)\n", |
buffer | 1123 | arch/m68k/atari/config.c | len += sprintf (buffer + len, "\t%s\n", str) |
buffer | 1125 | arch/m68k/atari/config.c | len += sprintf (buffer + len, "Detected hardware:\n"); |
buffer | 83 | arch/m68k/atari/joystick.c | const char *buffer, int count) |
buffer | 89 | arch/m68k/atari/joystick.c | char *buffer, int count) |
buffer | 98 | arch/m68k/atari/joystick.c | put_user(joystick[minor].fire, buffer++); |
buffer | 99 | arch/m68k/atari/joystick.c | put_user(joystick[minor].dir, buffer++); |
buffer | 101 | arch/m68k/atari/joystick.c | put_user(0, buffer++); |
buffer | 91 | arch/m68k/kernel/setup.c | extern int amiga_get_hardware_list(char *buffer); |
buffer | 92 | arch/m68k/kernel/setup.c | extern int atari_get_hardware_list(char *buffer); |
buffer | 93 | arch/m68k/kernel/setup.c | extern int mac_get_hardware_list(char *buffer); |
buffer | 198 | arch/m68k/kernel/setup.c | int get_cpuinfo(char * buffer) |
buffer | 239 | arch/m68k/kernel/setup.c | return(sprintf(buffer, "CPU:\t\t%s\n" |
buffer | 249 | arch/m68k/kernel/setup.c | int get_hardware_list(char *buffer) |
buffer | 276 | arch/m68k/kernel/setup.c | len += sprintf(buffer+len, "Model:\t\t%s\n", model); |
buffer | 277 | arch/m68k/kernel/setup.c | len += get_cpuinfo(buffer+len); |
buffer | 280 | arch/m68k/kernel/setup.c | len += sprintf(buffer+len, "System Memory:\t%ldK\n", mem>>10); |
buffer | 285 | arch/m68k/kernel/setup.c | len += amiga_get_hardware_list(buffer+len); |
buffer | 290 | arch/m68k/kernel/setup.c | len += atari_get_hardware_list(buffer+len); |
buffer | 300 | arch/m68k/kernel/setup.c | len += get_serial_list (buffer + len); |
buffer | 48 | arch/m68k/kernel/sys_m68k.c | asmlinkage int old_mmap(unsigned long *buffer) |
buffer | 54 | arch/m68k/kernel/sys_m68k.c | error = verify_area(VERIFY_READ, buffer, 6*sizeof(long)); |
buffer | 57 | arch/m68k/kernel/sys_m68k.c | flags = get_user(buffer+3); |
buffer | 59 | arch/m68k/kernel/sys_m68k.c | unsigned long fd = get_user(buffer+4); |
buffer | 64 | arch/m68k/kernel/sys_m68k.c | return do_mmap(file, get_user(buffer), get_user(buffer+1), |
buffer | 65 | arch/m68k/kernel/sys_m68k.c | get_user(buffer+2), flags, get_user(buffer+5)); |
buffer | 71 | arch/m68k/kernel/sys_m68k.c | asmlinkage int old_select(unsigned long *buffer) |
buffer | 79 | arch/m68k/kernel/sys_m68k.c | n = verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)); |
buffer | 83 | arch/m68k/kernel/sys_m68k.c | n = get_user(buffer); |
buffer | 84 | arch/m68k/kernel/sys_m68k.c | inp = (fd_set *) get_user(buffer+1); |
buffer | 85 | arch/m68k/kernel/sys_m68k.c | outp = (fd_set *) get_user(buffer+2); |
buffer | 86 | arch/m68k/kernel/sys_m68k.c | exp = (fd_set *) get_user(buffer+3); |
buffer | 87 | arch/m68k/kernel/sys_m68k.c | tvp = (struct timeval *) get_user(buffer+4); |
buffer | 98 | arch/mips/kernel/gdb-stub.c | static void getpacket(char *buffer); |
buffer | 99 | arch/mips/kernel/gdb-stub.c | static void putpacket(char *buffer); |
buffer | 137 | arch/mips/kernel/gdb-stub.c | static void getpacket(char *buffer) |
buffer | 164 | arch/mips/kernel/gdb-stub.c | buffer[count] = ch; |
buffer | 171 | arch/mips/kernel/gdb-stub.c | buffer[count] = 0; |
buffer | 186 | arch/mips/kernel/gdb-stub.c | if (buffer[2] == ':') { |
buffer | 187 | arch/mips/kernel/gdb-stub.c | putDebugChar(buffer[0]); |
buffer | 188 | arch/mips/kernel/gdb-stub.c | putDebugChar(buffer[1]); |
buffer | 193 | arch/mips/kernel/gdb-stub.c | count = strlen(buffer); |
buffer | 195 | arch/mips/kernel/gdb-stub.c | buffer[i-3] = buffer[i]; |
buffer | 206 | arch/mips/kernel/gdb-stub.c | static void putpacket(char *buffer) |
buffer | 221 | arch/mips/kernel/gdb-stub.c | while ((ch = buffer[count]) != 0) { |
buffer | 335 | arch/mips/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 340 | arch/mips/kernel/setup.c | return sprintf(buffer, |
buffer | 32 | arch/ppc/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 357 | arch/sparc/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 361 | arch/sparc/kernel/setup.c | return sprintf(buffer, "cpu\t\t: %s\n" |
buffer | 229 | arch/sparc/kernel/sparc-stub.c | getpacket(char *buffer) |
buffer | 252 | arch/sparc/kernel/sparc-stub.c | buffer[count] = ch; |
buffer | 259 | arch/sparc/kernel/sparc-stub.c | buffer[count] = 0; |
buffer | 269 | arch/sparc/kernel/sparc-stub.c | if (buffer[2] == ':') { |
buffer | 270 | arch/sparc/kernel/sparc-stub.c | putDebugChar(buffer[0]); |
buffer | 271 | arch/sparc/kernel/sparc-stub.c | putDebugChar(buffer[1]); |
buffer | 273 | arch/sparc/kernel/sparc-stub.c | count = strlen(buffer); |
buffer | 275 | arch/sparc/kernel/sparc-stub.c | buffer[i-3] = buffer[i]; |
buffer | 285 | arch/sparc/kernel/sparc-stub.c | putpacket(unsigned char *buffer) |
buffer | 297 | arch/sparc/kernel/sparc-stub.c | while ((ch = buffer[count])) { |
buffer | 71 | arch/sparc/prom/tree.c | prom_getproperty(int node, char *prop, char *buffer, int bufsize) |
buffer | 83 | arch/sparc/prom/tree.c | return prom_nodeops->no_getprop(node, prop, buffer); |
buffer | 1311 | drivers/block/amiflop.c | data = CURRENT->buffer + 512 * cnt; |
buffer | 1490 | drivers/block/ataflop.c | ReqBuffer = CURRENT->buffer; |
buffer | 2192 | drivers/block/floppy.c | CURRENT->buffer += current_count_sectors <<9; |
buffer | 2283 | drivers/block/floppy.c | raw_cmd->kernel_data == CURRENT->buffer){ |
buffer | 2301 | drivers/block/floppy.c | base = CURRENT->buffer; |
buffer | 2336 | drivers/block/floppy.c | char *buffer, *dma_buffer; |
buffer | 2369 | drivers/block/floppy.c | buffer = CURRENT->buffer; |
buffer | 2389 | drivers/block/floppy.c | if (((unsigned long)buffer) % 512) |
buffer | 2390 | drivers/block/floppy.c | DPRINT1("%p buffer not aligned\n", buffer); |
buffer | 2394 | drivers/block/floppy.c | memcpy(buffer, dma_buffer, size); |
buffer | 2396 | drivers/block/floppy.c | memcpy(dma_buffer, buffer, size); |
buffer | 2412 | drivers/block/floppy.c | buffer = bh->b_data; |
buffer | 2532 | drivers/block/floppy.c | } else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS) { |
buffer | 2544 | drivers/block/floppy.c | dma_limit = (MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer)) >> 9; |
buffer | 2549 | drivers/block/floppy.c | if (CROSS_64KB(CURRENT->buffer, max_size << 9)) |
buffer | 2550 | drivers/block/floppy.c | max_size = (K_64 - ((long) CURRENT->buffer) % K_64)>>9; |
buffer | 2566 | drivers/block/floppy.c | raw_cmd->kernel_data = CURRENT->buffer; |
buffer | 2620 | drivers/block/floppy.c | (raw_cmd->kernel_data != CURRENT->buffer && |
buffer | 2628 | drivers/block/floppy.c | if (raw_cmd->kernel_data != CURRENT->buffer) |
buffer | 2645 | drivers/block/floppy.c | if (raw_cmd->kernel_data != CURRENT->buffer){ |
buffer | 4178 | drivers/block/floppy.c | char buffer[100]; |
buffer | 4190 | drivers/block/floppy.c | buffer[j] = c; |
buffer | 4193 | drivers/block/floppy.c | buffer[j] = '\0'; |
buffer | 4194 | drivers/block/floppy.c | setup(get_options(buffer,ints),ints); |
buffer | 499 | drivers/block/hd.c | insw(HD_DATA,CURRENT->buffer,nsect<<8); |
buffer | 501 | drivers/block/hd.c | CURRENT->buffer += nsect<<9; |
buffer | 508 | drivers/block/hd.c | CURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9)); |
buffer | 532 | drivers/block/hd.c | outsw(HD_DATA,WCURRENT.buffer,256); |
buffer | 535 | drivers/block/hd.c | WCURRENT.buffer += 512; |
buffer | 541 | drivers/block/hd.c | WCURRENT.buffer = WCURRENT.bh->b_data; |
buffer | 604 | drivers/block/hd.c | CURRENT->buffer += 512; |
buffer | 609 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 739 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
buffer | 765 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 247 | drivers/block/ide-cd.c | void cdrom_in_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 250 | drivers/block/ide-cd.c | ide_input_data (drive, buffer, bytecount / 4); |
buffer | 252 | drivers/block/ide-cd.c | insw (IDE_DATA_REG, ((byte *)buffer) + (bytecount & ~0x03), 1); |
buffer | 258 | drivers/block/ide-cd.c | void cdrom_out_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 261 | drivers/block/ide-cd.c | ide_output_data (drive, buffer, bytecount / 4); |
buffer | 264 | drivers/block/ide-cd.c | ((byte *)buffer) + (bytecount & ~0x03), 1); |
buffer | 535 | drivers/block/ide-cd.c | if (rq->buffer != rq->bh->b_data) { |
buffer | 536 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
buffer | 537 | drivers/block/ide-cd.c | rq->buffer = rq->bh->b_data; |
buffer | 573 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
buffer | 582 | drivers/block/ide-cd.c | rq->buffer = (char *)pc; |
buffer | 602 | drivers/block/ide-cd.c | rq->buffer; |
buffer | 605 | drivers/block/ide-cd.c | (pc->buffer - pc->c[4]), |
buffer | 655 | drivers/block/ide-cd.c | rq->buffer; |
buffer | 665 | drivers/block/ide-cd.c | rq->buffer; |
buffer | 1011 | drivers/block/ide-cd.c | , rq->buffer, SECTOR_SIZE); |
buffer | 1012 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1048 | drivers/block/ide-cd.c | memcpy (rq->buffer, |
buffer | 1052 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1204 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1222 | drivers/block/ide-cd.c | *pc->buffer++ = 0; |
buffer | 1255 | drivers/block/ide-cd.c | cdrom_out_bytes (drive, pc->buffer, thislen); |
buffer | 1266 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1282 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, pc->buffer, thislen); |
buffer | 1293 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1310 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1322 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1361 | drivers/block/ide-cd.c | req.buffer = (char *)pc; |
buffer | 1607 | drivers/block/ide-cd.c | pc.buffer = (char *)&capbuf; |
buffer | 1628 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1760 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1783 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1802 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1918 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2177 | drivers/block/ide-cd.c | char buffer[24], mask[24]; |
buffer | 2185 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, |
buffer | 2186 | drivers/block/ide-cd.c | sizeof (buffer), NULL); |
buffer | 2189 | drivers/block/ide-cd.c | sizeof (buffer), NULL); |
buffer | 2192 | drivers/block/ide-cd.c | buffer[1] = buffer[2] = 0; |
buffer | 2194 | drivers/block/ide-cd.c | buffer[17] = volctrl.channel0 & mask[17]; |
buffer | 2195 | drivers/block/ide-cd.c | buffer[19] = volctrl.channel1 & mask[19]; |
buffer | 2196 | drivers/block/ide-cd.c | buffer[21] = volctrl.channel2 & mask[21]; |
buffer | 2197 | drivers/block/ide-cd.c | buffer[23] = volctrl.channel3 & mask[23]; |
buffer | 2199 | drivers/block/ide-cd.c | return cdrom_mode_select (drive, 0x0e, buffer, |
buffer | 2200 | drivers/block/ide-cd.c | sizeof (buffer), NULL); |
buffer | 2205 | drivers/block/ide-cd.c | char buffer[24]; |
buffer | 2212 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, |
buffer | 2213 | drivers/block/ide-cd.c | sizeof (buffer), NULL); |
buffer | 2216 | drivers/block/ide-cd.c | volctrl.channel0 = buffer[17]; |
buffer | 2217 | drivers/block/ide-cd.c | volctrl.channel1 = buffer[19]; |
buffer | 2218 | drivers/block/ide-cd.c | volctrl.channel2 = buffer[21]; |
buffer | 2219 | drivers/block/ide-cd.c | volctrl.channel3 = buffer[23]; |
buffer | 2422 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 814 | drivers/block/ide-tape.c | void idetape_input_data (ide_drive_t *drive,void *buffer, unsigned long bcount); |
buffer | 815 | drivers/block/ide-tape.c | void idetape_output_data (ide_drive_t *drive,void *buffer, unsigned long bcount); |
buffer | 871 | drivers/block/ide-tape.c | void idetape_display_inquiry_result (byte *buffer); |
buffer | 909 | drivers/block/ide-tape.c | int idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer); |
buffer | 916 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer); |
buffer | 924 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer); |
buffer | 958 | drivers/block/ide-tape.c | void idetape_copy_buffer_from_stage (idetape_pipeline_stage_t *stage,char *buffer); |
buffer | 959 | drivers/block/ide-tape.c | void idetape_copy_buffer_to_stage (idetape_pipeline_stage_t *stage,char *buffer); |
buffer | 1357 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 1362 | drivers/block/ide-tape.c | header=(idetape_mode_parameter_header_t *) pc.buffer; |
buffer | 1363 | drivers/block/ide-tape.c | capabilities=(idetape_capabilities_page_t *) (pc.buffer+sizeof (idetape_mode_parameter_header_t)); |
buffer | 1514 | drivers/block/ide-tape.c | pc->current_position=pc->buffer; |
buffer | 1691 | drivers/block/ide-tape.c | if (bcount.all && !pc->buffer) { |
buffer | 2115 | drivers/block/ide-tape.c | pc->buffer=pc->temp_buffer; |
buffer | 2208 | drivers/block/ide-tape.c | idetape_display_inquiry_result (tape->pc->buffer); |
buffer | 2220 | drivers/block/ide-tape.c | void idetape_input_data (ide_drive_t *drive,void *buffer, unsigned long bcount) |
buffer | 2229 | drivers/block/ide-tape.c | ide_input_data (drive,buffer,wcount); |
buffer | 2232 | drivers/block/ide-tape.c | ((byte *)buffer) += 4*wcount; |
buffer | 2233 | drivers/block/ide-tape.c | insb (IDETAPE_DATA_REG,buffer,bcount); |
buffer | 2241 | drivers/block/ide-tape.c | void idetape_output_data (ide_drive_t *drive,void *buffer, unsigned long bcount) |
buffer | 2250 | drivers/block/ide-tape.c | ide_output_data (drive,buffer,wcount); |
buffer | 2253 | drivers/block/ide-tape.c | ((byte *)buffer) += 4*wcount; |
buffer | 2254 | drivers/block/ide-tape.c | outsb (IDETAPE_DATA_REG,buffer,bcount); |
buffer | 2295 | drivers/block/ide-tape.c | void idetape_display_inquiry_result (byte *buffer) |
buffer | 2300 | drivers/block/ide-tape.c | result=(idetape_inquiry_result_t *) buffer; |
buffer | 2403 | drivers/block/ide-tape.c | idetape_analyze_error (drive,(idetape_request_sense_result_t *) tape->pc->buffer); |
buffer | 2473 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2491 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2513 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2570 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2590 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2611 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2680 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2767 | drivers/block/ide-tape.c | result=(idetape_read_position_result_t *) tape->pc->buffer; |
buffer | 2809 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 3017 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
buffer | 3019 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
buffer | 3039 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
buffer | 3041 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
buffer | 3065 | drivers/block/ide-tape.c | pc=(idetape_packet_command_t *) rq->buffer; |
buffer | 3102 | drivers/block/ide-tape.c | rq.buffer = (char *) pc; |
buffer | 3136 | drivers/block/ide-tape.c | rq->buffer = (char *) pc; |
buffer | 3170 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer) |
buffer | 3187 | drivers/block/ide-tape.c | rq.buffer = buffer; |
buffer | 3201 | drivers/block/ide-tape.c | int idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer) |
buffer | 3239 | drivers/block/ide-tape.c | return (idetape_queue_rw_tail (drive,IDETAPE_READ_REQUEST,blocks,buffer)); |
buffer | 3250 | drivers/block/ide-tape.c | idetape_copy_buffer_from_stage (tape->first_stage,buffer); |
buffer | 3274 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer) |
buffer | 3310 | drivers/block/ide-tape.c | return (idetape_queue_rw_tail (drive,IDETAPE_WRITE_REQUEST,blocks,buffer)); |
buffer | 3322 | drivers/block/ide-tape.c | idetape_copy_buffer_to_stage (new_stage,buffer); |
buffer | 3840 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 3930 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4055 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4220 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4246 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4372 | drivers/block/ide-tape.c | void idetape_copy_buffer_from_stage (idetape_pipeline_stage_t *stage,char *buffer) |
buffer | 4382 | drivers/block/ide-tape.c | if (buffer == NULL) { |
buffer | 4388 | drivers/block/ide-tape.c | ptr=buffer; |
buffer | 4410 | drivers/block/ide-tape.c | void idetape_copy_buffer_to_stage (idetape_pipeline_stage_t *stage,char *buffer) |
buffer | 4420 | drivers/block/ide-tape.c | if (buffer == NULL) { |
buffer | 4426 | drivers/block/ide-tape.c | ptr=buffer; |
buffer | 4583 | drivers/block/ide-tape.c | rq->buffer=tape->data_buffer; |
buffer | 279 | drivers/block/ide-tape.h | byte *buffer; /* Data buffer */ |
buffer | 407 | drivers/block/ide.c | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 418 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 423 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 425 | drivers/block/ide.c | insw(data_reg, buffer, wcount<<1); |
buffer | 431 | drivers/block/ide.c | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 442 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 447 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 449 | drivers/block/ide.c | outsw(data_reg, buffer, wcount<<1); |
buffer | 780 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 878 | drivers/block/ide.c | unsigned long buffer[16]; |
buffer | 881 | drivers/block/ide.c | ide_input_data (drive, buffer, wcount); |
buffer | 962 | drivers/block/ide.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
buffer | 966 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 969 | drivers/block/ide.c | rq->buffer += nsect<<9; |
buffer | 994 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 999 | drivers/block/ide.c | rq->buffer += 512; |
buffer | 1006 | drivers/block/ide.c | ide_output_data (drive, rq->buffer, SECTOR_WORDS); |
buffer | 1029 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, nsect<<7); |
buffer | 1032 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 1040 | drivers/block/ide.c | rq->buffer = rq->bh->b_data; |
buffer | 1046 | drivers/block/ide.c | rq->buffer += nsect << 9; |
buffer | 1141 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 1270 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1289 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1326 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, SECTOR_WORDS); |
buffer | 1340 | drivers/block/ide.c | byte *args = rq->buffer; |
buffer | 1684 | drivers/block/ide.c | rq->buffer = NULL; |
buffer | 1735 | drivers/block/ide.c | if (IS_PROMISE_DRIVE && rq->buffer != NULL) |
buffer | 1800 | drivers/block/ide.c | rq.buffer = door_lock; |
buffer | 1839 | drivers/block/ide.c | rq.buffer = door_unlock; |
buffer | 2072 | drivers/block/ide.c | rq.buffer = argbuf; |
buffer | 179 | drivers/block/ide.h | char *buffer; |
buffer | 482 | drivers/block/ide.h | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 487 | drivers/block/ide.h | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 389 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 421 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 569 | drivers/block/ll_rw_blk.c | req[j]->buffer = buf; |
buffer | 170 | drivers/block/loop.c | dest_addr = CURRENT->buffer; |
buffer | 220 | drivers/block/promise.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
buffer | 224 | drivers/block/promise.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 227 | drivers/block/promise.c | rq->buffer += nsect<<9; |
buffer | 138 | drivers/block/rd.c | memset(CURRENT->buffer, 0, len); |
buffer | 195 | drivers/block/triton.c | addr = virt_to_bus (rq->buffer); |
buffer | 229 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
buffer | 334 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
buffer | 341 | 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 | 357 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
buffer | 360 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
buffer | 378 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
buffer | 408 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
buffer | 410 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
buffer | 411 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != (((u_int) buffer + count) & 0xFFFF0000)) { |
buffer | 420 | drivers/block/xd.c | set_dma_addr(xd_dma,(u_int) buffer); |
buffer | 981 | drivers/cdrom/aztcd.c | memcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512); |
buffer | 984 | drivers/cdrom/aztcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 1205 | drivers/cdrom/cdu31a.c | input_data(char *buffer, |
buffer | 1229 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer, 2048); |
buffer | 1242 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
buffer | 1267 | drivers/cdrom/cdu31a.c | read_data_block(char *buffer, |
buffer | 1306 | drivers/cdrom/cdu31a.c | memcpy(buffer, |
buffer | 1317 | drivers/cdrom/cdu31a.c | memcpy(buffer, |
buffer | 1385 | drivers/cdrom/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
buffer | 1655 | drivers/cdrom/cdu31a.c | read_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size); |
buffer | 2037 | drivers/cdrom/cdu31a.c | read_audio_data(char *buffer, |
buffer | 2103 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer + CD_XA_HEAD, CD_FRAMESIZE_XA); |
buffer | 2108 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer, CD_FRAMESIZE_RAW); |
buffer | 653 | drivers/cdrom/cm206.c | dest = CURRENT->buffer + i*512; |
buffer | 247 | drivers/cdrom/gscd.c | memcpy(CURRENT -> buffer, gscd_buf + offs, 512); |
buffer | 250 | drivers/cdrom/gscd.c | CURRENT -> buffer += 512; |
buffer | 614 | drivers/cdrom/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
buffer | 617 | drivers/cdrom/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 242 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
buffer | 591 | drivers/cdrom/mcdx.c | CURRENT->buffer, |
buffer | 606 | drivers/cdrom/mcdx.c | CURRENT->buffer += (i * 512); |
buffer | 917 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
buffer | 930 | drivers/cdrom/mcdx.c | if ((discard = (buffer == NULL))) buffer = &c; |
buffer | 955 | drivers/cdrom/mcdx.c | char *bp = (char*) buffer; |
buffer | 1025 | drivers/cdrom/optcd.c | memcpy(CURRENT -> buffer, buf + offs, nr_sectors * 512); |
buffer | 1028 | drivers/cdrom/optcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 2916 | drivers/cdrom/sbpcd.c | static int cc_SubChanInfo(int frame, int count, u_char *buffer) |
buffer | 4400 | drivers/cdrom/sbpcd.c | memcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512); |
buffer | 4403 | drivers/cdrom/sbpcd.c | CURRENT->buffer += 512; |
buffer | 946 | drivers/cdrom/sjcd.c | memcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 ); |
buffer | 949 | drivers/cdrom/sjcd.c | CURRENT->buffer += nr_sectors * 512; |
buffer | 910 | drivers/cdrom/sonycd535.c | memcpy(CURRENT->buffer, |
buffer | 915 | drivers/cdrom/sonycd535.c | CURRENT->buffer += 512; |
buffer | 204 | drivers/char/amigamouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 213 | drivers/char/amigamouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 222 | drivers/char/amigamouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 253 | drivers/char/amigamouse.c | put_fs_byte(buttons | 0x80, buffer); |
buffer | 254 | drivers/char/amigamouse.c | put_fs_byte((char)dx, buffer + 1); |
buffer | 255 | drivers/char/amigamouse.c | put_fs_byte((char)dy, buffer + 2); |
buffer | 257 | drivers/char/amigamouse.c | put_fs_byte(0x00, buffer + r); |
buffer | 90 | drivers/char/atarimouse.c | static int write_mouse(struct inode *inode, struct file *file, const char *buffer, int count) |
buffer | 95 | drivers/char/atarimouse.c | static int read_mouse(struct inode *inode, struct file *file, char *buffer, int count) |
buffer | 102 | drivers/char/atarimouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 123 | drivers/char/atarimouse.c | put_user(buttons | 0x80, buffer); |
buffer | 124 | drivers/char/atarimouse.c | put_user((char) dx, buffer + 1); |
buffer | 125 | drivers/char/atarimouse.c | put_user((char) dy, buffer + 2); |
buffer | 127 | drivers/char/atarimouse.c | put_user (0, buffer + r); |
buffer | 137 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 142 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 152 | drivers/char/atixlmouse.c | put_user((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
buffer | 157 | drivers/char/atixlmouse.c | put_user((char)mouse.dx, buffer + 1); |
buffer | 162 | drivers/char/atixlmouse.c | put_user((char)-mouse.dy, buffer + 2); |
buffer | 164 | drivers/char/atixlmouse.c | put_user(0x00, buffer + i); |
buffer | 158 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 167 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 177 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 208 | drivers/char/busmouse.c | put_user(buttons | 0x80, buffer); |
buffer | 209 | drivers/char/busmouse.c | put_user((char)dx, buffer + 1); |
buffer | 210 | drivers/char/busmouse.c | put_user((char)dy, buffer + 2); |
buffer | 212 | drivers/char/busmouse.c | put_user(0x00, buffer + r); |
buffer | 84 | drivers/char/conmakehash.c | char buffer[65536]; |
buffer | 118 | drivers/char/conmakehash.c | while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) |
buffer | 120 | drivers/char/conmakehash.c | if ( (p = strchr(buffer, '\n')) != NULL ) |
buffer | 125 | drivers/char/conmakehash.c | p = buffer; |
buffer | 146 | drivers/char/conmakehash.c | fprintf(stderr, "Bad input line: %s\n", buffer); |
buffer | 159 | drivers/char/conmakehash.c | fprintf(stderr, "Bad input line: %s\n", buffer); |
buffer | 396 | drivers/char/ftape/fdc-isr.c | if (buff->remaining > 0 && calc_next_cluster(&buffer[head]) > 0) { |
buffer | 399 | drivers/char/ftape/fdc-isr.c | if (setup_fdc_and_dma(&buffer[head], fdc_op) < 0) { |
buffer | 432 | drivers/char/ftape/fdc-isr.c | setup_new_segment(&buffer[head], next, 0); |
buffer | 437 | drivers/char/ftape/fdc-isr.c | if (calc_next_cluster(&buffer[head]) == 0 || |
buffer | 438 | drivers/char/ftape/fdc-isr.c | setup_fdc_and_dma(&buffer[head], fdc_op) != 0) { |
buffer | 544 | drivers/char/ftape/fdc-isr.c | buffer_struct *buff = &buffer[head]; |
buffer | 574 | drivers/char/ftape/fdc-isr.c | i, buffer[i].status, buffer[i].segment_id); |
buffer | 54 | drivers/char/ftape/ftape-bsm.c | void fix_tape(byte * buffer) |
buffer | 83 | drivers/char/ftape/ftape-bsm.c | *(buffer + 4) = 4; /* put new format code */ |
buffer | 102 | drivers/char/ftape/ftape-bsm.c | void store_bad_sector_map(byte * buffer) |
buffer | 117 | drivers/char/ftape/ftape-bsm.c | memcpy(buffer + offset, bad_sector_map, count); |
buffer | 146 | drivers/char/ftape/ftape-bsm.c | void extract_bad_sector_map(byte * buffer) |
buffer | 156 | drivers/char/ftape/ftape-bsm.c | memcpy(bad_sector_map, buffer + 256, sizeof(bad_sector_map)); |
buffer | 161 | drivers/char/ftape/ftape-bsm.c | memcpy(bad_sector_map, buffer + 256 + FAILED_SECTOR_LOG_SIZE, |
buffer | 52 | drivers/char/ftape/ftape-bsm.h | extern void update_bad_sector_map(byte * buffer); |
buffer | 53 | drivers/char/ftape/ftape-bsm.h | extern void store_bad_sector_map(byte * buffer); |
buffer | 54 | drivers/char/ftape/ftape-bsm.h | extern void extract_bad_sector_map(byte * buffer); |
buffer | 168 | drivers/char/ftape/ftape-ctl.c | buffer[i].status = waiting; |
buffer | 317 | drivers/char/ftape/ftape-eof.c | byte *buffer = deblock_buffer; |
buffer | 322 | drivers/char/ftape/ftape-eof.c | result = read_header_segment(buffer); |
buffer | 326 | drivers/char/ftape/ftape-eof.c | TRACEx1(5, "old label: `%s'", (char *) (buffer + 30)); |
buffer | 327 | drivers/char/ftape/ftape-eof.c | if (!ftape_validate_label((char *) &buffer[30])) { |
buffer | 329 | drivers/char/ftape/ftape-eof.c | memset(buffer + 30, 0, 44); |
buffer | 330 | drivers/char/ftape/ftape-eof.c | memcpy(buffer + 30, linux_tape_label, strlen(linux_tape_label)); |
buffer | 331 | drivers/char/ftape/ftape-eof.c | buffer[30 + strlen(linux_tape_label)] = '2'; |
buffer | 332 | drivers/char/ftape/ftape-eof.c | TRACEx1(5, "new label: `%s'", (char *) (buffer + 30)); |
buffer | 333 | drivers/char/ftape/ftape-eof.c | PUT4(buffer, 74, now); |
buffer | 355 | drivers/char/ftape/ftape-eof.c | fix_tape(buffer); /* see ftape-bsm.c ! */ |
buffer | 357 | drivers/char/ftape/ftape-eof.c | result = ftape_update_header_segments(buffer, 1); |
buffer | 413 | drivers/char/ftape/ftape-eof.c | int update_failed_sector_log(byte * buffer) |
buffer | 422 | drivers/char/ftape/ftape-eof.c | buffer[30 + strlen(linux_tape_label)] = '2'; |
buffer | 424 | drivers/char/ftape/ftape-eof.c | TRACEx1(-1, "new tape label = \"%s\"", &buffer[30]); |
buffer | 427 | drivers/char/ftape/ftape-eof.c | byte *dest = find_end_of_bsm_list(buffer + 256, |
buffer | 428 | drivers/char/ftape/ftape-eof.c | buffer + 29 * SECTOR_SIZE) + 3; |
buffer | 432 | drivers/char/ftape/ftape-eof.c | dest - buffer - 256, nr_of_eof_marks * sizeof(unsigned long)); |
buffer | 437 | drivers/char/ftape/ftape-eof.c | memcpy(buffer + 256, eof_map, sizeof(eof_map)); |
buffer | 438 | drivers/char/ftape/ftape-eof.c | PUT2(buffer, 144, nr_of_eof_marks); |
buffer | 49 | drivers/char/ftape/ftape-eof.h | extern int update_failed_sector_log(byte * buffer); |
buffer | 62 | drivers/char/ftape/ftape-read.c | buffer[i].address = tape_buffer[i]; |
buffer | 63 | drivers/char/ftape/ftape-read.c | buffer[i].status = waiting; |
buffer | 64 | drivers/char/ftape/ftape-read.c | buffer[i].bytes = 0; |
buffer | 65 | drivers/char/ftape/ftape-read.c | buffer[i].skip = 0; |
buffer | 66 | drivers/char/ftape/ftape-read.c | buffer[i].retry = 0; |
buffer | 116 | drivers/char/ftape/ftape-read.c | mseg.read_bad = convert_sector_map(&buffer[tail]); |
buffer | 118 | drivers/char/ftape/ftape-read.c | mseg.blocks = buffer[tail].bytes / SECTOR_SIZE; |
buffer | 119 | drivers/char/ftape/ftape-read.c | mseg.data = buffer[tail].address; |
buffer | 137 | drivers/char/ftape/ftape-read.c | TRACEi(3, "ecc corrected segment:", buffer[tail].segment_id); |
buffer | 147 | drivers/char/ftape/ftape-read.c | TRACEi(1, "ecc failure on segment", buffer[tail].segment_id); |
buffer | 193 | drivers/char/ftape/ftape-read.c | while (!read_done && buffer[tail].status == done) { |
buffer | 194 | drivers/char/ftape/ftape-read.c | if (buffer[tail].segment_id == segment_id) { |
buffer | 202 | drivers/char/ftape/ftape-read.c | if (buffer[tail].deleted) { |
buffer | 249 | drivers/char/ftape/ftape-read.c | TRACEi(5, "zapping segment in cache :", buffer[tail].segment_id); |
buffer | 251 | drivers/char/ftape/ftape-read.c | buffer[tail].status = waiting; |
buffer | 254 | drivers/char/ftape/ftape-read.c | if (!read_done && buffer[tail].status == reading) { |
buffer | 255 | drivers/char/ftape/ftape-read.c | if (buffer[tail].segment_id == segment_id) { |
buffer | 293 | drivers/char/ftape/ftape-read.c | if (buffer[head].status == reading || buffer[head].status == error) { |
buffer | 294 | drivers/char/ftape/ftape-read.c | if (buffer[head].status == error) { |
buffer | 295 | drivers/char/ftape/ftape-read.c | history.defects += count_ones(buffer[head].hard_error_map); |
buffer | 297 | drivers/char/ftape/ftape-read.c | buffer[head].status = waiting; |
buffer | 333 | drivers/char/ftape/ftape-read.c | buffer[head].status, buffer[tail].status); |
buffer | 334 | drivers/char/ftape/ftape-read.c | if (buffer[tail].status == waiting) { |
buffer | 335 | drivers/char/ftape/ftape-read.c | setup_new_segment(&buffer[head], segment_id, -1); |
buffer | 337 | drivers/char/ftape/ftape-read.c | buffer[head].next_segment = 0; /* disable read-ahead */ |
buffer | 339 | drivers/char/ftape/ftape-read.c | calc_next_cluster(&buffer[head]); |
buffer | 342 | drivers/char/ftape/ftape-read.c | buffer[head].sector_offset); |
buffer | 350 | drivers/char/ftape/ftape-read.c | buffer[head].status = reading; |
buffer | 351 | drivers/char/ftape/ftape-read.c | setup_fdc_and_dma(&buffer[head], FDC_READ); |
buffer | 50 | drivers/char/ftape/ftape-rw.c | buffer_struct buffer[NR_BUFFERS]; |
buffer | 78 | drivers/char/ftape/ftape-rw.c | return &buffer[*x]; |
buffer | 422 | drivers/char/ftape/ftape-rw.c | while (buffer[tail].status == state) { |
buffer | 865 | drivers/char/ftape/ftape-rw.c | buffer[head].retry > 0 ? " retry" : ""); |
buffer | 866 | drivers/char/ftape/ftape-rw.c | if (buffer[head].retry > 0) { /* this is a retry */ |
buffer | 876 | drivers/char/ftape/ftape-rw.c | buffer[head].retry == 0)) { |
buffer | 142 | drivers/char/ftape/ftape-rw.h | extern buffer_struct buffer[]; |
buffer | 67 | drivers/char/ftape/ftape-write.c | buffer[i].status = done; |
buffer | 112 | drivers/char/ftape/ftape-write.c | buffer_struct *buff = &buffer[head]; |
buffer | 118 | drivers/char/ftape/ftape-write.c | buffer[head].next_segment = 0; /* stop tape instead of pause */ |
buffer | 147 | drivers/char/ftape/ftape-write.c | while (ftape_state == writing && buffer[head].status != done) { |
buffer | 151 | drivers/char/ftape/ftape-write.c | i, buffer[i].segment_id, buffer[i].status); |
buffer | 159 | drivers/char/ftape/ftape-write.c | if (buffer[head].status == error) { |
buffer | 168 | drivers/char/ftape/ftape-write.c | if (buffer[head].hard_error_map != 0) { |
buffer | 172 | drivers/char/ftape/ftape-write.c | buffer[head].status = waiting; /* retry this one */ |
buffer | 215 | drivers/char/ftape/ftape-write.c | if (buffer[tail].status == error) { |
buffer | 218 | drivers/char/ftape/ftape-write.c | buffer[tail].status = waiting; |
buffer | 220 | drivers/char/ftape/ftape-write.c | if (buffer[tail].hard_error_map != 0) { |
buffer | 222 | drivers/char/ftape/ftape-write.c | count_ones(buffer[tail].hard_error_map)); |
buffer | 223 | drivers/char/ftape/ftape-write.c | TRACEx1(4, "hard_error_map = 0x%08lx", buffer[tail].hard_error_map); |
buffer | 227 | drivers/char/ftape/ftape-write.c | } else if (buffer[tail].status == done) { |
buffer | 228 | drivers/char/ftape/ftape-write.c | history.defects += count_ones(buffer[tail].hard_error_map); |
buffer | 255 | drivers/char/ftape/ftape-write.c | if (buffer[head].status == writing) { |
buffer | 256 | drivers/char/ftape/ftape-write.c | buffer[head].status = done; /* ????? */ |
buffer | 266 | drivers/char/ftape/ftape-write.c | if (buffer[tail].status == done) { |
buffer | 272 | drivers/char/ftape/ftape-write.c | result = copy_and_gen_ecc(buffer[tail].address, address, |
buffer | 276 | drivers/char/ftape/ftape-write.c | buffer[tail].segment_id = segment_id; |
buffer | 277 | drivers/char/ftape/ftape-write.c | buffer[tail].status = waiting; |
buffer | 285 | drivers/char/ftape/ftape-write.c | ((head == tail && buffer[tail].status == waiting) || flushing)) { |
buffer | 300 | drivers/char/ftape/ftape-write.c | int _write_segment(unsigned int segment_id, byte * buffer, int flush) |
buffer | 312 | drivers/char/ftape/ftape-write.c | result = write_segment(segment_id, buffer, flush); |
buffer | 345 | drivers/char/ftape/ftape-write.c | int update_header_segment(unsigned segment, byte * buffer) |
buffer | 351 | drivers/char/ftape/ftape-write.c | if (buffer == NULL) { |
buffer | 353 | drivers/char/ftape/ftape-write.c | buffer = deblock_buffer; |
buffer | 354 | drivers/char/ftape/ftape-write.c | result = read_segment(used_header_segment, buffer, &status, 0); |
buffer | 356 | drivers/char/ftape/ftape-write.c | store_bad_sector_map(buffer); |
buffer | 359 | drivers/char/ftape/ftape-write.c | update_failed_sector_log(buffer); |
buffer | 362 | drivers/char/ftape/ftape-write.c | if (result >= 0 && GET4(buffer, 0) != 0xaa55aa55) { |
buffer | 367 | drivers/char/ftape/ftape-write.c | result = _write_segment(segment, buffer, 0); |
buffer | 385 | drivers/char/ftape/ftape-write.c | if (memcmp(buffer, scratch_buffer, sizeof(buffer)) == 0) { |
buffer | 400 | drivers/char/ftape/ftape-write.c | int ftape_write_header_segments(byte * buffer) |
buffer | 410 | drivers/char/ftape/ftape-write.c | result = update_header_segment(header_segment_1, buffer); |
buffer | 417 | drivers/char/ftape/ftape-write.c | result = update_header_segment(header_segment_2, buffer); |
buffer | 437 | drivers/char/ftape/ftape-write.c | int ftape_update_header_segments(byte * buffer, int update) |
buffer | 453 | drivers/char/ftape/ftape-write.c | if (buffer == NULL) { |
buffer | 456 | drivers/char/ftape/ftape-write.c | buffer = deblock_buffer; |
buffer | 457 | drivers/char/ftape/ftape-write.c | result = read_segment(used_header_segment, buffer, &dummy, 0); |
buffer | 467 | drivers/char/ftape/ftape-write.c | store_bad_sector_map(buffer); |
buffer | 471 | drivers/char/ftape/ftape-write.c | update_failed_sector_log(buffer); |
buffer | 477 | drivers/char/ftape/ftape-write.c | result = ftape_write_header_segments(buffer); |
buffer | 41 | drivers/char/ftape/ftape-write.h | extern int ftape_write_header_segments(byte * buffer); |
buffer | 42 | drivers/char/ftape/ftape-write.h | extern int ftape_update_header_segments(byte * buffer, int update); |
buffer | 123 | drivers/char/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 128 | drivers/char/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 136 | drivers/char/msbusmouse.c | put_user(mouse.buttons | 0x80, buffer); |
buffer | 139 | drivers/char/msbusmouse.c | put_user((char)dx, buffer + 1); |
buffer | 140 | drivers/char/msbusmouse.c | put_user((char)dy, buffer + 2); |
buffer | 142 | drivers/char/msbusmouse.c | put_user(0x00, buffer + i); |
buffer | 378 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 388 | drivers/char/psaux.c | outb_p(get_user(buffer++),AUX_OUTPUT_PORT); |
buffer | 400 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 407 | drivers/char/psaux.c | outb_p(get_user(buffer++), qp_data); |
buffer | 419 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 440 | drivers/char/psaux.c | put_user(c, buffer++); |
buffer | 241 | drivers/char/random.c | const char * buffer, int count); |
buffer | 709 | drivers/char/random.c | const char * buffer, int count) |
buffer | 714 | drivers/char/random.c | for (i = count, p = (__u32 *)buffer; |
buffer | 208 | drivers/char/scc.c | static struct mbuf * scc_enqueue_buffer(struct mbuf **queue, struct mbuf * buffer); |
buffer | 350 | drivers/char/scc.c | scc_enqueue_buffer(struct mbuf **queue, struct mbuf * buffer) |
buffer | 366 | drivers/char/scc.c | if (buffer == NULLBUF) |
buffer | 378 | drivers/char/scc.c | *queue = buffer; /* new anchor */ |
buffer | 379 | drivers/char/scc.c | buffer->next = buffer->prev = NULLBUF; |
buffer | 387 | drivers/char/scc.c | anchor->next = anchor->prev = buffer; |
buffer | 388 | drivers/char/scc.c | buffer->next = buffer->prev = anchor; |
buffer | 394 | drivers/char/scc.c | anchor->next = anchor->prev = buffer; |
buffer | 395 | drivers/char/scc.c | buffer->next = buffer->prev = anchor; |
buffer | 399 | drivers/char/scc.c | buffer->prev = anchor->prev; /* self explaining, isn't it? */ |
buffer | 400 | drivers/char/scc.c | buffer->next = anchor; |
buffer | 401 | drivers/char/scc.c | anchor->prev->next = buffer; |
buffer | 402 | drivers/char/scc.c | anchor->prev = buffer; |
buffer | 417 | drivers/char/scc.c | struct mbuf *buffer; |
buffer | 431 | drivers/char/scc.c | buffer = *queue; /* head of the chain */ |
buffer | 433 | drivers/char/scc.c | if (buffer != NULLBUF) /* not an empty list? */ |
buffer | 435 | drivers/char/scc.c | if (buffer->prev != NULLBUF) /* not last buffer? */ |
buffer | 438 | drivers/char/scc.c | if (buffer->next == NULLBUF) |
buffer | 443 | drivers/char/scc.c | if (buffer->prev->next == buffer->prev->prev) |
buffer | 445 | drivers/char/scc.c | buffer->next->prev = NULLBUF; |
buffer | 446 | drivers/char/scc.c | buffer->next->next = NULLBUF; |
buffer | 448 | drivers/char/scc.c | buffer->next->prev = buffer->prev; |
buffer | 449 | drivers/char/scc.c | buffer->prev->next = buffer->next; |
buffer | 453 | drivers/char/scc.c | else if (buffer->next != NULLBUF) |
buffer | 456 | drivers/char/scc.c | *queue = buffer->next; /* new head of chain */ |
buffer | 458 | drivers/char/scc.c | buffer->next = NULLBUF; /* for security only... */ |
buffer | 459 | drivers/char/scc.c | buffer->prev = NULLBUF; |
buffer | 460 | drivers/char/scc.c | buffer->rw_ptr = buffer->data; |
buffer | 464 | drivers/char/scc.c | return buffer; /* give it away... */ |
buffer | 292 | drivers/char/sunmouse.c | sun_mouse_write(struct inode *inode, struct file *file, const char *buffer, |
buffer | 299 | drivers/char/sunmouse.c | sun_mouse_read(struct inode *inode, struct file *file, char *buffer, |
buffer | 316 | drivers/char/sunmouse.c | char *p = buffer, *end = buffer+count; |
buffer | 324 | drivers/char/sunmouse.c | return p-buffer; |
buffer | 329 | drivers/char/sunmouse.c | *buffer++ = sunmouse.queue.stream [sunmouse.tail]; |
buffer | 131 | drivers/isdn/icn/icn.c | p->rptr = p->buffer; |
buffer | 132 | drivers/isdn/icn/icn.c | return p->buffer; |
buffer | 687 | drivers/isdn/icn/icn.c | static int icn_sendbuf(int channel, const u_char * buffer, int len, int user, icn_dev * dev) |
buffer | 705 | drivers/isdn/icn/icn.c | memcpy_fromfs(p, buffer, len); |
buffer | 707 | drivers/isdn/icn/icn.c | memcpy(p, buffer, len); |
buffer | 772 | drivers/isdn/icn/icn.c | static int icn_loadboot(u_char * buffer, icn_dev * dev) |
buffer | 778 | drivers/isdn/icn/icn.c | printk(KERN_DEBUG "icn_loadboot called, buffaddr=%08lx\n", (ulong) buffer); |
buffer | 780 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE1))) |
buffer | 822 | drivers/isdn/icn/icn.c | memcpy_fromfs(dev->shmem, buffer, ICN_CODE_STAGE1); /* Copy code */ |
buffer | 838 | drivers/isdn/icn/icn.c | memcpy_fromfs(dev->shmem, buffer, ICN_CODE_STAGE1); /* Copy code */ |
buffer | 862 | drivers/isdn/icn/icn.c | static int icn_loadproto(u_char * buffer, icn_dev * ldev) |
buffer | 864 | drivers/isdn/icn/icn.c | register u_char *p = buffer; |
buffer | 874 | drivers/isdn/icn/icn.c | if ((ret = verify_area(VERIFY_READ, (void *) buffer, ICN_CODE_STAGE2))) |
buffer | 1341 | drivers/isdn/icn/icn.c | static int if_sendbuf1(int id, int channel, const u_char * buffer, int len, |
buffer | 1344 | drivers/isdn/icn/icn.c | return (icn_sendbuf(channel, buffer, len, user, dev)); |
buffer | 1347 | drivers/isdn/icn/icn.c | static int if_sendbuf2(int id, int channel, const u_char * buffer, int len, |
buffer | 1350 | drivers/isdn/icn/icn.c | return (icn_sendbuf(channel, buffer, len, user, dev2)); |
buffer | 187 | drivers/isdn/icn/icn.h | u_char buffer[1]; |
buffer | 125 | drivers/isdn/isdn_common.c | p->rptr = p->buffer; |
buffer | 126 | drivers/isdn/isdn_common.c | return p->buffer; |
buffer | 599 | drivers/net/arcnet.c | static void arcnet_dump_packet(struct device *dev,u_char *buffer,int ext, |
buffer | 602 | drivers/net/arcnet.c | # define arcnet_dump_packet(dev,buffer,ext,desc) ; |
buffer | 698 | drivers/net/arcnet.c | void arcnet_dump_packet(struct device *dev,u_char *buffer,int ext,char *desc) |
buffer | 711 | drivers/net/arcnet.c | printk("%02X ",buffer[i]); |
buffer | 140 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
buffer | 402 | drivers/net/de600.c | byte *buffer = skb->data; |
buffer | 457 | drivers/net/de600.c | for ( ; len > 0; --len, ++buffer) |
buffer | 458 | drivers/net/de600.c | de600_put_byte(*buffer); |
buffer | 584 | drivers/net/de600.c | register unsigned char *buffer; |
buffer | 618 | drivers/net/de600.c | buffer = skb_put(skb,size); |
buffer | 622 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
buffer | 623 | drivers/net/de600.c | *buffer = de600_read_byte(READ_DATA, dev); |
buffer | 307 | drivers/net/de620.c | de620_write_block(struct device *dev, byte *buffer, int count) |
buffer | 323 | drivers/net/de620.c | for ( ; count > 0; --count, ++buffer) { |
buffer | 324 | drivers/net/de620.c | de620_put_byte(dev,*buffer); |
buffer | 333 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 335 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 516 | drivers/net/de620.c | byte *buffer = skb->data; |
buffer | 581 | drivers/net/de620.c | de620_write_block(dev, buffer, len); |
buffer | 654 | drivers/net/de620.c | byte *buffer; |
buffer | 718 | drivers/net/de620.c | buffer = skb_put(skb,size); |
buffer | 720 | drivers/net/de620.c | de620_read_block(dev, buffer, size); |
buffer | 728 | drivers/net/ni52.c | p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); |
buffer | 795 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
buffer | 918 | drivers/net/ni52.c | eth_copy_and_sum(skb,(char *) p->base+(unsigned long) rbd->buffer,totlen,0); |
buffer | 158 | drivers/net/ni52.h | char *buffer; /* receive buffer address pointer */ |
buffer | 303 | drivers/net/ni52.h | char *buffer; /* pointer to buffer */ |
buffer | 384 | drivers/net/ni65.c | tmdp->u.buffer = 0x0; |
buffer | 394 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
buffer | 396 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recvbounce[i]; |
buffer | 643 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb->data; |
buffer | 717 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long ) p->tmdbounce[p->tmdnum]; |
buffer | 718 | drivers/net/ni65.c | memcpy((char *) tmdp->u.buffer,(char *)skb->data, |
buffer | 724 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) skb->data; |
buffer | 104 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 119 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 778 | drivers/net/sdla.c | pbuf = (void *) (dev->mem_start + ((pbufi->rse_base + flp->buffer * sizeof(struct buf_entry)) & SDLA_ADDR_MASK)); |
buffer | 846 | drivers/net/sdla.c | flp->buffer = (flp->buffer + 1) % pbufi->rse_num; |
buffer | 1027 | drivers/net/sdla.c | flp->buffer = 0; |
buffer | 1046 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
buffer | 1062 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
buffer | 1256 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
buffer | 1601 | drivers/net/sk_g16.c | memcpy(skb_put(skb,len), (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 | 2069 | drivers/net/wavelan.c | sprintf_stats(char *buffer, device *dev) |
buffer | 2078 | drivers/net/wavelan.c | return sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 2100 | drivers/net/wavelan.c | buffer, |
buffer | 2115 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2127 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
buffer | 2141 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
buffer | 2160 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 3777 | drivers/scsi/53c7,8xx.c | virt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) : |
buffer | 3780 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
buffer | 3884 | drivers/scsi/53c7,8xx.c | cmd->SCp.buffer = NULL; |
buffer | 5636 | drivers/scsi/53c7,8xx.c | 0 /* issue */ ); tmp; tmp = (Scsi_Cmnd *) tmp->SCp.buffer) |
buffer | 5654 | drivers/scsi/53c7,8xx.c | cmd->SCp.buffer = (struct scatterlist *) nuke_list; |
buffer | 5666 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) nuke_list->SCp.buffer; |
buffer | 5719 | drivers/scsi/53c7,8xx.c | segment = (struct scatterlist *) cmd->buffer; |
buffer | 6117 | drivers/scsi/53c7,8xx.c | if (c->cmd->SCp.buffer) { |
buffer | 6125 | drivers/scsi/53c7,8xx.c | c->cmd->SCp.buffer = (struct scatterlist *) list; |
buffer | 6144 | drivers/scsi/53c7,8xx.c | if (tmp->SCp.buffer) { |
buffer | 6149 | drivers/scsi/53c7,8xx.c | tmp->SCp.buffer = (struct scatterlist *) list; |
buffer | 6189 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) nuke_list->SCp.buffer; |
buffer | 760 | drivers/scsi/AM53C974.c | cmd->SCp.buffer = (struct scatterlist *)cmd->buffer; |
buffer | 762 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (char *)cmd->SCp.buffer->address; |
buffer | 763 | drivers/scsi/AM53C974.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; } |
buffer | 765 | drivers/scsi/AM53C974.c | cmd->SCp.buffer = NULL; |
buffer | 1415 | drivers/scsi/AM53C974.c | cmd->SCp.buffer++; |
buffer | 1417 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (unsigned char *)cmd->SCp.buffer->address; |
buffer | 1418 | drivers/scsi/AM53C974.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; } |
buffer | 1638 | drivers/scsi/AM53C974.c | cmd->SCp.buffer = NULL; |
buffer | 328 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 330 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 331 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 333 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 770 | drivers/scsi/NCR5380.c | #define SPRINTF(args...) do { if(pos < buffer + length) pos += sprintf(pos, ## args); } while(0) |
buffer | 772 | drivers/scsi/NCR5380.c | char *lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length); |
buffer | 774 | drivers/scsi/NCR5380.c | char *lprint_command (unsigned char *cmd, char *pos, char *buffer, int len); |
buffer | 776 | drivers/scsi/NCR5380.c | char *lprint_opcode(int opcode, char *pos, char *buffer, int length); |
buffer | 782 | drivers/scsi/NCR5380.c | char *buffer, char **start,off_t offset, |
buffer | 785 | drivers/scsi/NCR5380.c | char *pos = buffer; |
buffer | 843 | drivers/scsi/NCR5380.c | pos, buffer, length); |
buffer | 847 | drivers/scsi/NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
buffer | 852 | drivers/scsi/NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
buffer | 855 | drivers/scsi/NCR5380.c | *start=buffer; |
buffer | 856 | drivers/scsi/NCR5380.c | if (pos - buffer < offset) |
buffer | 858 | drivers/scsi/NCR5380.c | else if (pos - buffer - offset < length) |
buffer | 859 | drivers/scsi/NCR5380.c | return pos - buffer - offset; |
buffer | 864 | drivers/scsi/NCR5380.c | char *lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length) { |
buffer | 868 | drivers/scsi/NCR5380.c | pos = lprint_command (cmd->cmnd, pos, buffer, length); |
buffer | 874 | drivers/scsi/NCR5380.c | char *pos, char *buffer, int length) { |
buffer | 876 | drivers/scsi/NCR5380.c | pos = lprint_opcode(command[0], pos, buffer, length); |
buffer | 884 | drivers/scsi/NCR5380.c | char *lprint_opcode(int opcode, char *pos, char *buffer, int length) { |
buffer | 2409 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
buffer | 2411 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 2412 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2587 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 2608 | drivers/scsi/advansys.c | advansys_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2648 | drivers/scsi/advansys.c | *start = buffer; |
buffer | 2650 | drivers/scsi/advansys.c | curbuf = buffer; |
buffer | 905 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = |
buffer | 907 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
buffer | 908 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 915 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = NULL; |
buffer | 1826 | drivers/scsi/aha152x.c | char buffer[16]; |
buffer | 1837 | drivers/scsi/aha152x.c | buffer[0]=EXTENDED_MESSAGE; |
buffer | 1838 | drivers/scsi/aha152x.c | buffer[1]=GETPORT(SCSIDAT); |
buffer | 1840 | drivers/scsi/aha152x.c | for(i=0; i<buffer[1] && |
buffer | 1842 | drivers/scsi/aha152x.c | buffer[2+i]=GETPORT(SCSIDAT); |
buffer | 1846 | drivers/scsi/aha152x.c | print_msg(buffer); |
buffer | 1849 | drivers/scsi/aha152x.c | switch(buffer [2]) |
buffer | 1855 | drivers/scsi/aha152x.c | if(buffer[1]!=3) |
buffer | 1861 | drivers/scsi/aha152x.c | printk("inbound SDTR: "); print_msg(buffer); |
buffer | 1863 | drivers/scsi/aha152x.c | ticks=(buffer[3]*4+49)/50; |
buffer | 1868 | drivers/scsi/aha152x.c | if(ticks>9 || buffer[4]<1 || buffer[4]>8) |
buffer | 1871 | drivers/scsi/aha152x.c | SYNCRATE |= ((ticks-2)<<4) + buffer[4]; |
buffer | 1873 | drivers/scsi/aha152x.c | else if(ticks<=9 && buffer[4]>=1) |
buffer | 1875 | drivers/scsi/aha152x.c | if(buffer[4]>8) |
buffer | 1876 | drivers/scsi/aha152x.c | buffer[4]=8; |
buffer | 1887 | drivers/scsi/aha152x.c | ADDMSG(buffer[3]); |
buffer | 1889 | drivers/scsi/aha152x.c | ADDMSG(buffer[4]); |
buffer | 1896 | drivers/scsi/aha152x.c | SYNCRATE |= ((ticks-2)<<4) + buffer[4]; |
buffer | 2119 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer++; |
buffer | 2121 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->address; |
buffer | 2123 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
buffer | 2259 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer++; |
buffer | 2261 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->address; |
buffer | 2263 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.buffer->length; |
buffer | 2746 | drivers/scsi/aha152x.c | int aha152x_set_info(char *buffer, int length, struct Scsi_Host *shpnt) |
buffer | 2810 | drivers/scsi/aha152x.c | #define SPRINTF(args...) do { if(pos < buffer + length) pos += sprintf(pos, ## args); } while(0) |
buffer | 2813 | drivers/scsi/aha152x.c | char *buffer, |
buffer | 2822 | drivers/scsi/aha152x.c | char *pos = buffer; |
buffer | 2836 | drivers/scsi/aha152x.c | return(aha152x_set_info(buffer, length, shpnt)); |
buffer | 2961 | drivers/scsi/aha152x.c | *start=buffer+offset; |
buffer | 2962 | drivers/scsi/aha152x.c | if (pos - buffer < offset) |
buffer | 2964 | drivers/scsi/aha152x.c | else if (pos - buffer - offset < length) |
buffer | 2965 | drivers/scsi/aha152x.c | return pos - buffer - offset; |
buffer | 20 | drivers/scsi/aha152x.h | int aha152x_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout); |
buffer | 1055 | drivers/scsi/aha1542.c | static buffer[512]; |
buffer | 1064 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 1017 | drivers/scsi/aic7xxx.c | static char buffer[128]; |
buffer | 1019 | drivers/scsi/aic7xxx.c | strcpy(buffer, "Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) "); |
buffer | 1020 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_C_VERSION)); |
buffer | 1021 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1022 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_H_VERSION)); |
buffer | 1023 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1024 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_SEQ_VER)); |
buffer | 1026 | drivers/scsi/aic7xxx.c | return buffer; |
buffer | 1046 | drivers/scsi/aic7xxx.c | sg = (struct scatterlist *) cmd->buffer; |
buffer | 30 | drivers/scsi/aic7xxx_proc.c | #define BLS buffer + len + size |
buffer | 60 | drivers/scsi/aic7xxx_proc.c | aic7xxx_set_info(char *buffer, int length, struct Scsi_Host *HBAptr) |
buffer | 62 | drivers/scsi/aic7xxx_proc.c | proc_debug("aic7xxx_set_info(): %s\n", buffer); |
buffer | 74 | drivers/scsi/aic7xxx_proc.c | aic7xxx_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 120 | drivers/scsi/aic7xxx_proc.c | return (aic7xxx_set_info(buffer, length, HBAptr)); |
buffer | 249 | drivers/scsi/aic7xxx_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 538 | drivers/scsi/atari_NCR5380.c | VTOP( (cmd->SCp.buffer+1)->address ) == endadr + 1; ) { |
buffer | 542 | drivers/scsi/atari_NCR5380.c | VTOP( (cmd->SCp.buffer+1)->address ), endadr ); |
buffer | 545 | drivers/scsi/atari_NCR5380.c | ++cmd->SCp.buffer; |
buffer | 547 | drivers/scsi/atari_NCR5380.c | cmd->SCp.this_residual += cmd->SCp.buffer->length; |
buffer | 548 | drivers/scsi/atari_NCR5380.c | endadr += cmd->SCp.buffer->length; |
buffer | 574 | drivers/scsi/atari_NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 576 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 577 | drivers/scsi/atari_NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 583 | drivers/scsi/atari_NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 818 | drivers/scsi/atari_NCR5380.c | #define SPRINTF(args...) do { if(pos < buffer + length) pos += sprintf(pos, ## args); } while(0) |
buffer | 820 | drivers/scsi/atari_NCR5380.c | char *lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length); |
buffer | 822 | drivers/scsi/atari_NCR5380.c | char *lprint_command (unsigned char *cmd, char *pos, char *buffer, int len); |
buffer | 824 | drivers/scsi/atari_NCR5380.c | char *lprint_opcode(int opcode, char *pos, char *buffer, int length); |
buffer | 829 | drivers/scsi/atari_NCR5380.c | int NCR5380_proc_info (char *buffer, char **start, off_t offset, |
buffer | 832 | drivers/scsi/atari_NCR5380.c | char *pos = buffer; |
buffer | 856 | drivers/scsi/atari_NCR5380.c | pos, buffer, length); |
buffer | 859 | drivers/scsi/atari_NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
buffer | 864 | drivers/scsi/atari_NCR5380.c | pos = lprint_Scsi_Cmnd (ptr, pos, buffer, length); |
buffer | 867 | drivers/scsi/atari_NCR5380.c | *start = buffer; |
buffer | 868 | drivers/scsi/atari_NCR5380.c | if (pos - buffer < offset) |
buffer | 870 | drivers/scsi/atari_NCR5380.c | else if (pos - buffer - offset < length) |
buffer | 871 | drivers/scsi/atari_NCR5380.c | return pos - buffer - offset; |
buffer | 876 | drivers/scsi/atari_NCR5380.c | lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length) |
buffer | 881 | drivers/scsi/atari_NCR5380.c | pos = lprint_command (cmd->cmnd, pos, buffer, length); |
buffer | 886 | drivers/scsi/atari_NCR5380.c | lprint_command (unsigned char *command, char *pos, char *buffer, int length) |
buffer | 889 | drivers/scsi/atari_NCR5380.c | pos = lprint_opcode(command[0], pos, buffer, length); |
buffer | 897 | drivers/scsi/atari_NCR5380.c | char *lprint_opcode(int opcode, char *pos, char *buffer, int length) |
buffer | 2186 | drivers/scsi/atari_NCR5380.c | ++cmd->SCp.buffer; |
buffer | 2188 | drivers/scsi/atari_NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 2189 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2388 | drivers/scsi/atari_NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 83 | drivers/scsi/dtc.h | int dtc_proc_info (char *buffer, char **start, off_t offset, |
buffer | 32 | drivers/scsi/eata_dma_proc.c | int eata_set_info(char *buffer, int length, struct Scsi_Host *HBA_ptr) |
buffer | 36 | drivers/scsi/eata_dma_proc.c | if (length >= 8 && strncmp(buffer, "eata_dma", 8) == 0) { |
buffer | 37 | drivers/scsi/eata_dma_proc.c | buffer += 9; |
buffer | 39 | drivers/scsi/eata_dma_proc.c | if(length >= 8 && strncmp(buffer, "latency", 7) == 0) { |
buffer | 44 | drivers/scsi/eata_dma_proc.c | if(length >=10 && strncmp(buffer, "nolatency", 9) == 0) { |
buffer | 49 | drivers/scsi/eata_dma_proc.c | printk("Unknown command:%s length: %d\n", buffer, length); |
buffer | 51 | drivers/scsi/eata_dma_proc.c | printk("Wrong Signature:%10s\n", buffer); |
buffer | 67 | drivers/scsi/eata_dma_proc.c | int eata_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 103 | drivers/scsi/eata_dma_proc.c | return(eata_set_info(buffer, length, HBA_ptr)); |
buffer | 120 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) driver version: " |
buffer | 123 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
buffer | 127 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
buffer | 131 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
buffer | 135 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Hardware Configuration:\n"); |
buffer | 141 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
buffer | 143 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
buffer | 147 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
buffer | 151 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: EISA\n"); |
buffer | 196 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt, |
buffer | 201 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
buffer | 203 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
buffer | 206 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type, |
buffer | 210 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
buffer | 213 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
buffer | 219 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n", |
buffer | 226 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n", |
buffer | 231 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n", |
buffer | 235 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
buffer | 244 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max array groups: %d\n", |
buffer | 248 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 0 array: %d\n", |
buffer | 252 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 3/5 array: %d\n", |
buffer | 256 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Cache Module: %spresent.\n", |
buffer | 260 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
buffer | 269 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
buffer | 275 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Timer Mod.: %spresent\n", |
buffer | 279 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "NVRAM : %spresent\n", |
buffer | 283 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartROM : %sabled\n", |
buffer | 287 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Alarm : %s\n", |
buffer | 334 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host<->Disk command statistics:\n" |
buffer | 339 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
buffer | 345 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u\n", |
buffer | 350 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Sum :%12u %12u\n", |
buffer | 365 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Latency Command Statistics:\n" |
buffer | 371 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
buffer | 383 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
buffer | 401 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
buffer | 406 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
buffer | 418 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
buffer | 440 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 446 | drivers/scsi/eata_dma_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 463 | drivers/scsi/eata_dma_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 120 | drivers/scsi/eata_pio.c | SCp->buffer++; |
buffer | 121 | drivers/scsi/eata_pio.c | SCp->ptr=SCp->buffer->address; |
buffer | 122 | drivers/scsi/eata_pio.c | SCp->this_residual=SCp->buffer->length; |
buffer | 368 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = NULL; |
buffer | 370 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = cmd->request_buffer; |
buffer | 372 | drivers/scsi/eata_pio.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 373 | drivers/scsi/eata_pio.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 651 | drivers/scsi/eata_pio.c | unchar buffer[512]; |
buffer | 664 | drivers/scsi/eata_pio.c | insw(base + HA_RDATA, &buffer, 256); |
buffer | 667 | drivers/scsi/eata_pio.c | for (z = 0; z < 511 && buffer[z]; z++) |
buffer | 668 | drivers/scsi/eata_pio.c | if (buffer[z] != 7) printk("%c", buffer[z]); |
buffer | 23 | drivers/scsi/eata_pio_proc.c | int eata_pio_set_info(char *buffer, int length, struct Scsi_Host *HBA_ptr) |
buffer | 25 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC_WRITE, printk("%s\n", buffer)); |
buffer | 40 | drivers/scsi/eata_pio_proc.c | int eata_pio_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 60 | drivers/scsi/eata_pio_proc.c | return(eata_pio_set_info(buffer, length, HBA_ptr)); |
buffer | 65 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) PIO driver version: " |
buffer | 68 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
buffer | 72 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
buffer | 76 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
buffer | 80 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "IO: PIO\n"); |
buffer | 83 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
buffer | 86 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
buffer | 102 | drivers/scsi/eata_pio_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 108 | drivers/scsi/eata_pio_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 124 | drivers/scsi/eata_pio_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 643 | drivers/scsi/esp.c | SCpnt->SCp.buffer = |
buffer | 650 | drivers/scsi/esp.c | SCpnt->SCp.ptr = mmu_get_scsi_one((char *)SCpnt->SCp.buffer, |
buffer | 656 | drivers/scsi/esp.c | SCpnt->buffer, SCpnt->use_sg); |
buffer | 658 | drivers/scsi/esp.c | SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->buffer; |
buffer | 660 | drivers/scsi/esp.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 661 | drivers/scsi/esp.c | mmu_get_scsi_sgl((struct mmu_sglist *) SCpnt->SCp.buffer, |
buffer | 664 | drivers/scsi/esp.c | SCpnt->SCp.ptr = (char *) SCpnt->SCp.buffer->alt_address; |
buffer | 720 | drivers/scsi/esp.c | struct scatterlist *scl = (struct scatterlist *)done_SC->buffer; |
buffer | 1020 | drivers/scsi/esp.c | ++SCptr->SCp.buffer; |
buffer | 1022 | drivers/scsi/esp.c | SCptr->SCp.this_residual = SCptr->SCp.buffer->length; |
buffer | 1023 | drivers/scsi/esp.c | SCptr->SCp.ptr = SCptr->SCp.buffer->alt_address; |
buffer | 1077 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 1126 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 1129 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain TMC-16x0 SCSI driver, version" ); |
buffer | 1131 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 1132 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 1134 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 1139 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION ); |
buffer | 1142 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1156 | drivers/scsi/fdomain.c | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
buffer | 1167 | drivers/scsi/fdomain.c | strcpy( buffer, info ); |
buffer | 1168 | drivers/scsi/fdomain.c | strcat( buffer, "\n" ); |
buffer | 1170 | drivers/scsi/fdomain.c | pos = len = strlen( buffer ); |
buffer | 1177 | drivers/scsi/fdomain.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 1611 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1612 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1613 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1644 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1645 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1646 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1727 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1729 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1730 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1735 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = NULL; |
buffer | 35 | drivers/scsi/fdomain.h | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
buffer | 574 | drivers/scsi/g_NCR5380.c | #define PRINTP(x) len += sprintf(buffer+len, x) |
buffer | 577 | drivers/scsi/g_NCR5380.c | static int sprint_opcode(char* buffer, int len, int opcode) { |
buffer | 583 | drivers/scsi/g_NCR5380.c | static int sprint_command (char* buffer, int len, unsigned char *command) { |
buffer | 585 | drivers/scsi/g_NCR5380.c | len += sprint_opcode(buffer, len, command[0]); |
buffer | 592 | drivers/scsi/g_NCR5380.c | static int sprint_Scsi_Cmnd (char* buffer, int len, Scsi_Cmnd *cmd) { |
buffer | 599 | drivers/scsi/g_NCR5380.c | len += sprint_command (buffer, len, cmd->cmnd); |
buffer | 618 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout) |
buffer | 674 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = dev->vendor[i]; |
buffer | 675 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = ' '; |
buffer | 678 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = dev->model[i]; |
buffer | 679 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = ' '; |
buffer | 682 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = dev->rev[i]; |
buffer | 683 | drivers/scsi/g_NCR5380.c | *(buffer+(len++)) = ' '; |
buffer | 710 | drivers/scsi/g_NCR5380.c | len += sprint_Scsi_Cmnd (buffer, len, (Scsi_Cmnd *) hostdata->connected); |
buffer | 717 | drivers/scsi/g_NCR5380.c | len += sprint_Scsi_Cmnd (buffer, len, ptr); |
buffer | 723 | drivers/scsi/g_NCR5380.c | len += sprint_Scsi_Cmnd (buffer, len, ptr); |
buffer | 725 | drivers/scsi/g_NCR5380.c | *start = buffer + offset; |
buffer | 50 | drivers/scsi/g_NCR5380.h | int notyet_generic_proc_info (char *buffer ,char **start, off_t offset, |
buffer | 57 | drivers/scsi/g_NCR5380.h | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout); |
buffer | 122 | drivers/scsi/pas16.h | int pas16_proc_info (char *buffer ,char **start, off_t offset, |
buffer | 253 | drivers/scsi/ppa.c | char *buffer; |
buffer | 262 | drivers/scsi/ppa.c | buffer = cmd->request_buffer; |
buffer | 277 | drivers/scsi/ppa.c | out_p(0,buffer[cnt++]); |
buffer | 286 | drivers/scsi/ppa.c | buffer[cnt++] = v; |
buffer | 291 | drivers/scsi/ppa.c | buffer[cnt++] = v; |
buffer | 318 | drivers/scsi/ppa.c | printk("%3x",buffer[k] & 0xff ); |
buffer | 152 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, |
buffer | 154 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 961 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1126 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1201 | drivers/scsi/scsi.c | SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 1282 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 1295 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
buffer | 1349 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 1361 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1765 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 2579 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2596 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 2601 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
buffer | 2609 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 2626 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 2633 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
buffer | 2647 | drivers/scsi/scsi.c | if(!strncmp("add-single-device", buffer + 5, 17)) { |
buffer | 2648 | drivers/scsi/scsi.c | p = buffer + 23; |
buffer | 2688 | drivers/scsi/scsi.c | else if(!strncmp("remove-single-device", buffer + 5, 20)) { |
buffer | 2689 | drivers/scsi/scsi.c | p = buffer + 26; |
buffer | 350 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 383 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 466 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, |
buffer | 522 | drivers/scsi/scsi.h | req->buffer = bh->b_data; |
buffer | 137 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 144 | drivers/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 146 | drivers/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
buffer | 623 | drivers/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 624 | drivers/scsi/scsi_debug.c | return buffer; |
buffer | 630 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
buffer | 639 | drivers/scsi/scsi_debug.c | if (length >= 10 && strncmp(buffer, "scsi_debug", 10) == 0) { |
buffer | 640 | drivers/scsi/scsi_debug.c | buffer += 11; |
buffer | 647 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "lockup", length) == 0 ) |
buffer | 653 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "unlock", length) == 0 ) |
buffer | 659 | drivers/scsi/scsi_debug.c | printk("Unknown command:%s\n", buffer); |
buffer | 661 | drivers/scsi/scsi_debug.c | printk("Wrong Signature:%10s\n", (char *) ((ulong)buffer-11)); |
buffer | 668 | drivers/scsi/scsi_debug.c | pos = len = sprintf(buffer, |
buffer | 678 | drivers/scsi/scsi_debug.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 37 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
buffer | 43 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
buffer | 44 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, sizeof(long)); |
buffer | 47 | drivers/scsi/scsi_ioctl.c | len = get_user ((unsigned int *) buffer); |
buffer | 56 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, buffer, len); |
buffer | 59 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
buffer | 165 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 176 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 183 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, 2*sizeof(long) + 1); |
buffer | 195 | drivers/scsi/scsi_ioctl.c | inlen = get_user((unsigned int *) buffer); |
buffer | 196 | drivers/scsi/scsi_ioctl.c | outlen = get_user( ((unsigned int *) buffer) + 1); |
buffer | 206 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 293 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 50 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
buffer | 59 | drivers/scsi/scsi_proc.c | pos = len = sprintf(buffer, |
buffer | 66 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 77 | drivers/scsi/scsi_proc.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 87 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
buffer | 93 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
buffer | 96 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
buffer | 257 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
buffer | 261 | drivers/scsi/scsi_proc.c | y = sprintf(buffer + len, |
buffer | 266 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->vendor[x]); |
buffer | 268 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y," "); |
buffer | 270 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Model: "); |
buffer | 273 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->model[x]); |
buffer | 275 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 277 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Rev: "); |
buffer | 280 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->rev[x]); |
buffer | 282 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 284 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 286 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Type: %s ", |
buffer | 289 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " ANSI" |
buffer | 292 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " CCS\n"); |
buffer | 294 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 242 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 257 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); |
buffer | 259 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 261 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 265 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 267 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 302 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 305 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 312 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 315 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 318 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 319 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 628 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 647 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 692 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 738 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 831 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 955 | drivers/scsi/sd.c | unsigned char *buffer; |
buffer | 966 | drivers/scsi/sd.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 989 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1024 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1052 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
buffer | 1063 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1129 | drivers/scsi/sd.c | rscsi_disks[i].capacity = 1 + ((buffer[0] << 24) | |
buffer | 1130 | drivers/scsi/sd.c | (buffer[1] << 16) | |
buffer | 1131 | drivers/scsi/sd.c | (buffer[2] << 8) | |
buffer | 1132 | drivers/scsi/sd.c | buffer[3]); |
buffer | 1134 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 1135 | drivers/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1217 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1231 | drivers/scsi/sd.c | rscsi_disks[i].write_prot = ((buffer[2] & 0x80) != 0); |
buffer | 1240 | drivers/scsi/sd.c | scsi_free(buffer, 512); |
buffer | 402 | drivers/scsi/seagate.c | static char buffer[64]; |
buffer | 403 | drivers/scsi/seagate.c | sprintf(buffer, "%s at irq %d, address 0x%05X", |
buffer | 406 | drivers/scsi/seagate.c | return buffer; |
buffer | 409 | drivers/scsi/seagate.c | int seagate_st0x_proc_info(char *buffer, char **start, off_t offset, |
buffer | 420 | drivers/scsi/seagate.c | strcpy(buffer,info); |
buffer | 421 | drivers/scsi/seagate.c | strcat(buffer,"\n"); |
buffer | 423 | drivers/scsi/seagate.c | pos = len = strlen(buffer); |
buffer | 430 | drivers/scsi/seagate.c | *start = buffer + (offset - begin); |
buffer | 623 | drivers/scsi/seagate.c | struct scatterlist *buffer = NULL; |
buffer | 747 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 943 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 947 | drivers/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 948 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 949 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 954 | drivers/scsi/seagate.c | buffer = NULL; |
buffer | 1183 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1184 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1185 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1329 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1330 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1331 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1400 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1432 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1441 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 161 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 165 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 166 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
buffer | 178 | drivers/scsi/sr.c | (char *)SCpnt->buffer + 1024, |
buffer | 183 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 188 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 197 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 227 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 233 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 235 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 236 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 647 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 660 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 764 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 812 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 843 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 847 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 852 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 853 | drivers/scsi/sr.c | if (((long) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD && |
buffer | 855 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 903 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 925 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 981 | drivers/scsi/sr.c | unsigned char *buffer; |
buffer | 985 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 996 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 1003 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 1023 | drivers/scsi/sr.c | scsi_CDs[i].capacity = 1 + ((buffer[0] << 24) | |
buffer | 1024 | drivers/scsi/sr.c | (buffer[1] << 16) | |
buffer | 1025 | drivers/scsi/sr.c | (buffer[2] << 8) | |
buffer | 1026 | drivers/scsi/sr.c | buffer[3]); |
buffer | 1027 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 1028 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1053 | drivers/scsi/sr.c | scsi_free(buffer, 512); |
buffer | 41 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 51 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 207 | 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 | 222 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 223 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 225 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 238 | drivers/scsi/sr_ioctl.c | unsigned char * buffer; |
buffer | 254 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 255 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 257 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 259 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 260 | drivers/scsi/sr_ioctl.c | tocentry.cdte_adr = buffer[5] >> 4; |
buffer | 263 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 264 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 265 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 268 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (((((buffer[8] << 8) + buffer[9]) << 8) |
buffer | 269 | drivers/scsi/sr_ioctl.c | + buffer[10]) << 8) + buffer[11]; |
buffer | 271 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 342 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 359 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 360 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 362 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 364 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 377 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 383 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 389 | drivers/scsi/sr_ioctl.c | buffer[0] = 0; /* Clear reserved field */ |
buffer | 391 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 392 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 393 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 394 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 402 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 403 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 410 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 425 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 426 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 428 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 430 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 434 | drivers/scsi/sr_ioctl.c | volctrl.channel0 = buffer[21]; |
buffer | 435 | drivers/scsi/sr_ioctl.c | volctrl.channel1 = buffer[23]; |
buffer | 436 | drivers/scsi/sr_ioctl.c | volctrl.channel2 = buffer[25]; |
buffer | 437 | drivers/scsi/sr_ioctl.c | volctrl.channel3 = buffer[27]; |
buffer | 441 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 449 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 461 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 462 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 464 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 466 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 468 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 469 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 470 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 472 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 473 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 474 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 475 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 476 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 477 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 479 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 491 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 503 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 504 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 506 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 24); |
buffer | 508 | drivers/scsi/sr_ioctl.c | memcpy (mcn.medium_catalog_number, buffer + 9, 13); |
buffer | 511 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 200 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 212 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 214 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 217 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 218 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 220 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 255 | drivers/scsi/st.c | scsi_do_cmd(SCpnt, (void *)cmd, (STp->buffer)->b_data, bytes, |
buffer | 260 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 272 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 318 | drivers/scsi/st.c | if ((STp->buffer)->last_result != 0) { |
buffer | 325 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 338 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 340 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 344 | drivers/scsi/st.c | TAPE_NR(STp->devt), (STp->buffer)->last_result); |
buffer | 346 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 358 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 365 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 379 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 385 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 396 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 415 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 433 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 434 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 435 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 437 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 438 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 506 | drivers/scsi/st.c | STp->buffer = new_tape_buffer(FALSE, need_dma_buffer); |
buffer | 507 | drivers/scsi/st.c | if (STp->buffer == NULL) { |
buffer | 513 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 514 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 515 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 553 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 585 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 586 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 587 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 588 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 610 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 616 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = 0; /* Prevent error propagation */ |
buffer | 625 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 626 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 629 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 630 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 631 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 632 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 633 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 637 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 638 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 643 | drivers/scsi/st.c | if (STp->block_size > (STp->buffer)->buffer_size && |
buffer | 644 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, STp->block_size, STp->restr_dma)) { |
buffer | 647 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 651 | drivers/scsi/st.c | STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; |
buffer | 656 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = st_buffer_size / STp->block_size; |
buffer | 658 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 659 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 664 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 665 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 675 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 676 | drivers/scsi/st.c | STp->buffer = 0; |
buffer | 708 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 709 | drivers/scsi/st.c | STp->buffer = 0; |
buffer | 769 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) |
buffer | 799 | drivers/scsi/st.c | if (STp->buffer != NULL) { |
buffer | 800 | drivers/scsi/st.c | normalize_buffer(STp->buffer); |
buffer | 801 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 853 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 854 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count, STp->restr_dma)) |
buffer | 908 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 910 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 914 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 916 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 936 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 951 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
buffer | 957 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_blocks * STp->block_size - |
buffer | 958 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes; |
buffer | 962 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 963 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 968 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 980 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1031 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1047 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1052 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 1053 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 1055 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 1059 | drivers/scsi/st.c | if (doing_write && (STp->buffer)->last_result_fatal != 0) { |
buffer | 1061 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 1065 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes >= STp->write_threshold || |
buffer | 1074 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 1076 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 1078 | drivers/scsi/st.c | STp->dirty = !((STp->buffer)->writing == |
buffer | 1079 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1082 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 1084 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 1097 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 1098 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 1135 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 1136 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count, STp->restr_dma)) |
buffer | 1159 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1161 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 1169 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 1179 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 1184 | drivers/scsi/st.c | if (bytes > (STp->buffer)->buffer_size) |
buffer | 1185 | drivers/scsi/st.c | bytes = (STp->buffer)->buffer_size; |
buffer | 1198 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1202 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 1230 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1242 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (blks - transfer) * STp->block_size; |
buffer | 1246 | drivers/scsi/st.c | dev, count - total, (STp->buffer)->buffer_bytes); |
buffer | 1248 | drivers/scsi/st.c | if (count - total > (STp->buffer)->buffer_bytes) |
buffer | 1249 | drivers/scsi/st.c | count = total + (STp->buffer)->buffer_bytes; |
buffer | 1260 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1262 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1267 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1273 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1275 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1281 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 1310 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 1316 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 1322 | drivers/scsi/st.c | STp->drv_block += (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1328 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 1332 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 1334 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 1335 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 1336 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 1337 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 1341 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 1342 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1554 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1565 | drivers/scsi/st.c | ((STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] & DCE_MASK ? 1 : 0)); |
buffer | 1569 | drivers/scsi/st.c | if (((STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] & DCC_MASK) == 0) { |
buffer | 1580 | drivers/scsi/st.c | (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] |= DCE_MASK; |
buffer | 1582 | drivers/scsi/st.c | (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] &= ~DCE_MASK; |
buffer | 1589 | drivers/scsi/st.c | (STp->buffer)->b_data[0] = 0; /* Reserved data length */ |
buffer | 1590 | drivers/scsi/st.c | (STp->buffer)->b_data[1] = 0; /* Reserved media type byte */ |
buffer | 1591 | drivers/scsi/st.c | (STp->buffer)->b_data[MODE_HEADER_LENGTH] &= 0x3f; |
buffer | 1594 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1916 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1929 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1931 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1933 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1935 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1937 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1941 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg >> 24; |
buffer | 1943 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1951 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1952 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1953 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1959 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1960 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1961 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1964 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1967 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1979 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 2008 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 2009 | drivers/scsi/st.c | (STp->buffer)->buffer_size / STp->block_size; |
buffer | 2010 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 2230 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 2232 | drivers/scsi/st.c | (STp->mt_status)->mt_blkno -= ((STp->buffer)->buffer_bytes + |
buffer | 2299 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 2310 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 2311 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 2312 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 2314 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 2315 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 2316 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 2317 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 54 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 99 | drivers/scsi/t128.h | int t128_proc_info (char *buffer, char **start, off_t offset, |
buffer | 236 | drivers/scsi/wd33c93.c | cmd->SCp.buffer = (struct scatterlist *)cmd->buffer; |
buffer | 238 | drivers/scsi/wd33c93.c | cmd->SCp.ptr = (char *)cmd->SCp.buffer->address; |
buffer | 239 | drivers/scsi/wd33c93.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 242 | drivers/scsi/wd33c93.c | cmd->SCp.buffer = NULL; |
buffer | 493 | drivers/scsi/wd33c93.c | ++cmd->SCp.buffer; |
buffer | 495 | drivers/scsi/wd33c93.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 496 | drivers/scsi/wd33c93.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2802 | drivers/sound/dmasound.c | char *buffer = state.buf, *mach = ""; |
buffer | 2824 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "%sDMA sound driver:\n", mach); |
buffer | 2826 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.format = 0x%x", sound.soft.format); |
buffer | 2829 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (mu-law)"); |
buffer | 2832 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (A-law)"); |
buffer | 2835 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (unsigned 8 bit)"); |
buffer | 2838 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (signed 8 bit)"); |
buffer | 2841 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (signed 16 bit big)"); |
buffer | 2844 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (unsigned 16 bit big)"); |
buffer | 2847 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (signed 16 bit little)"); |
buffer | 2850 | drivers/sound/dmasound.c | len += sprintf(buffer+len, " (unsigned 16 bit little)"); |
buffer | 2853 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\n"); |
buffer | 2854 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.speed = %dHz (phys. %dHz)\n", |
buffer | 2856 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.stereo = 0x%x (%s)\n", |
buffer | 2861 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_left = %ddB [-40...0]\n", |
buffer | 2863 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_right = %ddB [-40...0]\n", |
buffer | 2865 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.bass = %ddB [-12...+12]\n", |
buffer | 2867 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.treble = %ddB [-12...+12]\n", |
buffer | 2871 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_left = %ddB [-22.5...0]\n", |
buffer | 2873 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_right = %ddB [-22.5...0]\n", |
buffer | 2879 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_left = %d [0...64]\n", |
buffer | 2881 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsound.volume_right = %d [0...64]\n", |
buffer | 2886 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsq.block_size = %d sq.max_count = %d\n", |
buffer | 2888 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsq.count = %d sq.rear_size = %d\n", sq.count, |
buffer | 2890 | drivers/sound/dmasound.c | len += sprintf(buffer+len, "\tsq.playing = %d sq.syncing = %d\n", |
buffer | 23 | fs/affs/namei.c | const char * name, const char * buffer) |
buffer | 25 | fs/affs/namei.c | if (len >= maxlen || !buffer[len]) { |
buffer | 26 | fs/affs/namei.c | return strncmp (name, buffer, len) == 0; |
buffer | 142 | fs/affs/symlink.c | static int affs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 173 | fs/affs/symlink.c | put_fs_byte(c,buffer++); |
buffer | 344 | fs/devices.c | static char buffer[32]; |
buffer | 345 | fs/devices.c | sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev)); |
buffer | 346 | fs/devices.c | return buffer; |
buffer | 748 | fs/ext/namei.c | #define PARENT_INO(buffer) \ |
buffer | 749 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 750 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->inode |
buffer | 752 | fs/ext/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 753 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 754 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->name |
buffer | 87 | fs/ext/symlink.c | static int ext_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 106 | fs/ext/symlink.c | put_user(c,buffer++); |
buffer | 910 | fs/ext2/namei.c | #define PARENT_INO(buffer) \ |
buffer | 911 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 912 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->inode |
buffer | 914 | fs/ext2/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 915 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 916 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->name |
buffer | 102 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 128 | fs/ext2/symlink.c | put_user (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 | 59 | fs/isofs/rock.c | if (!buffer) goto out; \ |
buffer | 70 | fs/isofs/rock.c | kfree(buffer); \ |
buffer | 71 | fs/isofs/rock.c | buffer = NULL; } else { \ |
buffer | 72 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
buffer | 78 | fs/isofs/rock.c | if(buffer) { \ |
buffer | 81 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
buffer | 83 | fs/isofs/rock.c | chr = (unsigned char *) buffer; \ |
buffer | 166 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 233 | fs/isofs/rock.c | if (buffer) kfree(buffer); |
buffer | 249 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 396 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 530 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 82 | fs/isofs/symlink.c | static int isofs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 104 | fs/isofs/symlink.c | put_user(c,buffer++); |
buffer | 24 | fs/minix/namei.c | const char * name, const char * buffer) |
buffer | 28 | fs/minix/namei.c | if (len < maxlen && buffer[len]) |
buffer | 30 | fs/minix/namei.c | return !memcmp(name, buffer, len); |
buffer | 661 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 662 | fs/minix/namei.c | (((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode) |
buffer | 81 | fs/minix/symlink.c | static int minix_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 100 | fs/minix/symlink.c | put_user(c,buffer++); |
buffer | 96 | fs/nfs/symlink.c | static int nfs_readlink(struct inode *inode, char *buffer, int buflen) |
buffer | 112 | fs/nfs/symlink.c | memcpy_tofs(buffer, res, len); |
buffer | 113 | fs/nfs/symlink.c | put_user('\0', buffer + len); |
buffer | 55 | fs/proc/array.c | int get_malloc(char * buffer); |
buffer | 176 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 183 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d %d/%d %d\n", |
buffer | 190 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 198 | fs/proc/array.c | len = sprintf(buffer, |
buffer | 228 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
buffer | 229 | fs/proc/array.c | len += sprintf(buffer + len, |
buffer | 240 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 258 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 264 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 272 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 279 | fs/proc/array.c | len = sprintf(buffer, " total: used: free: shared: buffers: cached:\n" |
buffer | 288 | fs/proc/array.c | return len + sprintf(buffer+len, |
buffer | 305 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 309 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 310 | fs/proc/array.c | return strlen(buffer); |
buffer | 313 | fs/proc/array.c | static int get_cmdline(char * buffer) |
buffer | 317 | fs/proc/array.c | return sprintf(buffer, "%s\n", saved_command_line); |
buffer | 362 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 379 | fs/proc/array.c | buffer[size++] = c; |
buffer | 390 | fs/proc/array.c | while (result>0 && buffer[result-1]==' ') |
buffer | 395 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 401 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
buffer | 404 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 410 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
buffer | 476 | fs/proc/array.c | #define ADDBUF(buffer, string) \ |
buffer | 477 | fs/proc/array.c | do { memcpy(buffer, string, strlen(string)); \ |
buffer | 478 | fs/proc/array.c | buffer += strlen(string); } while (0) |
buffer | 512 | fs/proc/array.c | static inline char * task_state(struct task_struct *p, char *buffer) |
buffer | 529 | fs/proc/array.c | buffer += sprintf(buffer, |
buffer | 539 | fs/proc/array.c | return buffer; |
buffer | 542 | fs/proc/array.c | static inline char * task_mem(struct task_struct *p, char *buffer) |
buffer | 568 | fs/proc/array.c | buffer += sprintf(buffer, |
buffer | 582 | fs/proc/array.c | return buffer; |
buffer | 585 | fs/proc/array.c | static inline char * task_sig(struct task_struct *p, char *buffer) |
buffer | 587 | fs/proc/array.c | buffer += sprintf(buffer, |
buffer | 611 | fs/proc/array.c | buffer += sprintf(buffer, |
buffer | 616 | fs/proc/array.c | return buffer; |
buffer | 619 | fs/proc/array.c | static int get_status(int pid, char * buffer) |
buffer | 621 | fs/proc/array.c | char * orig = buffer; |
buffer | 626 | fs/proc/array.c | buffer = task_name(tsk, buffer); |
buffer | 627 | fs/proc/array.c | buffer = task_state(tsk, buffer); |
buffer | 628 | fs/proc/array.c | buffer = task_mem(tsk, buffer); |
buffer | 629 | fs/proc/array.c | buffer = task_sig(tsk, buffer); |
buffer | 630 | fs/proc/array.c | return buffer - orig; |
buffer | 633 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 688 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 803 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 833 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 138 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 161 | fs/proc/link.c | put_user(buf[i++],buffer++); |
buffer | 10 | fs/proc/procfs_syms.c | extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
buffer | 220 | fs/proc/root.c | static int proc_self_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 229 | fs/proc/root.c | memcpy_tofs(buffer, tmp, len); |
buffer | 41 | fs/proc/scsi.c | int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
buffer | 80 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
buffer | 85 | fs/proc/scsi.c | pos = len = sprintf(buffer, |
buffer | 92 | fs/proc/scsi.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 499 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 501 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 515 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 517 | fs/smbfs/sock.c | DDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]); |
buffer | 524 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
buffer | 567 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 569 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 583 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 590 | fs/smbfs/sock.c | DDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]); |
buffer | 592 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
buffer | 633 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 635 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 649 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 657 | fs/smbfs/sock.c | len, buffer[8]); |
buffer | 661 | fs/smbfs/sock.c | (unsigned int)buffer, (unsigned int)sock); |
buffer | 663 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
buffer | 708 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 710 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 26 | fs/sysv/namei.c | const char * name, const char * buffer) |
buffer | 30 | fs/sysv/namei.c | if (len < maxlen && buffer[len]) |
buffer | 32 | fs/sysv/namei.c | return !memcmp(name, buffer, len); |
buffer | 657 | fs/sysv/namei.c | #define PARENT_INO(buffer) \ |
buffer | 658 | fs/sysv/namei.c | (((struct sysv_dir_entry *) ((buffer) + 1*SYSV_DIRSIZE))->inode) |
buffer | 87 | fs/sysv/symlink.c | static int sysv_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 108 | fs/sysv/symlink.c | put_user(c,buffer++); |
buffer | 19 | fs/ufs/ufs_symlink.c | ufs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 61 | fs/ufs/ufs_symlink.c | put_user (c, buffer++); |
buffer | 206 | fs/umsdos/emd.c | char buffer[CHUNK_SIZE]; |
buffer | 227 | fs/umsdos/emd.c | memcpy (buf->buffer,buf->buffer+buf->pos,mustmove); |
buffer | 234 | fs/umsdos/emd.c | ret = umsdos_emd_dir_read (inode,&buf->filp,buf->buffer+mustmove |
buffer | 299 | fs/umsdos/emd.c | (buf.buffer + buf.pos); |
buffer | 31 | fs/umsdos/symlink.c | char *buffer, |
buffer | 40 | fs/umsdos/symlink.c | if ((*msdos_read) (inode, &filp, buffer,ret) != ret){ |
buffer | 102 | fs/umsdos/symlink.c | static int UMSDOS_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 106 | fs/umsdos/symlink.c | ret = umsdos_readlink_x (inode,buffer,fat_file_read,buflen); |
buffer | 701 | fs/xiafs/namei.c | #define PARENT_INO(buffer) \ |
buffer | 702 | fs/xiafs/namei.c | (((struct xiafs_direct *) ((u_char *)(buffer) + 12))->d_ino) |
buffer | 49 | fs/xiafs/symlink.c | static int xiafs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 70 | fs/xiafs/symlink.c | put_user(c, buffer++); |
buffer | 72 | fs/xiafs/symlink.c | put_user('\0', buffer); |
buffer | 67 | include/asm-m68k/ide.h | #define insl(data_reg, buffer, wcount) insw(data_reg, buffer, wcount<<1) |
buffer | 68 | include/asm-m68k/ide.h | #define outsl(data_reg, buffer, wcount) outsw(data_reg, buffer, wcount<<1) |
buffer | 341 | include/asm-m68k/zorro.h | extern int zorro_get_list(char *buffer); |
buffer | 244 | include/asm-sparc/floppy.h | static inline void sun_fd_set_dma_addr(char *buffer) |
buffer | 246 | include/asm-sparc/floppy.h | pdma_vaddr = buffer; |
buffer | 405 | include/linux/blk.h | req->buffer = bh->b_data; |
buffer | 29 | include/linux/blkdev.h | char * buffer; |
buffer | 626 | include/linux/fs.h | extern void ll_rw_page(int rw, kdev_t dev, unsigned long nr, char * buffer); |
buffer | 627 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, kdev_t dev, unsigned int *b, int nb, char *buffer); |
buffer | 187 | include/linux/if_frad.h | int buffer; /* current buffer for S508 firmware */ |
buffer | 521 | include/linux/isdn.h | u_char buffer[1]; /* The data (will be alloc'd) */ |
buffer | 239 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
buffer | 178 | include/linux/proc_fs.h | extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
buffer | 618 | include/linux/soundcard.h | unsigned *buffer; |
buffer | 120 | include/linux/sysctl.h | void *buffer, size_t *lenp); |
buffer | 117 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count); |
buffer | 121 | include/linux/xd.h | static u_char xd_setup_dma (u_char opcode,u_char *buffer,u_int count); |
buffer | 156 | include/net/ip_masq.h | extern int ip_masq_app_getinfo(char *buffer, char **start, off_t offset, int length, int dummy); |
buffer | 6 | include/net/rarp.h | extern int rarp_get_info(char *buffer, |
buffer | 191 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
buffer | 192 | include/net/route.h | extern int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
buffer | 497 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 510 | kernel/sysctl.c | p = buffer; |
buffer | 516 | kernel/sysctl.c | memcpy_fromfs(table->data, buffer, len); |
buffer | 526 | kernel/sysctl.c | memcpy_tofs(buffer, table->data, len-1); |
buffer | 527 | kernel/sysctl.c | put_user(0, ((char *) buffer) + len - 1); |
buffer | 530 | kernel/sysctl.c | put_user('\n', ((char *) buffer) + len); |
buffer | 540 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 558 | kernel/sysctl.c | while (left && isspace(get_user((char *) buffer))) |
buffer | 559 | kernel/sysctl.c | left--, ((char *) buffer)++; |
buffer | 566 | kernel/sysctl.c | memcpy_fromfs(buf, buffer, len); |
buffer | 581 | kernel/sysctl.c | buffer += len; |
buffer | 592 | kernel/sysctl.c | memcpy_tofs(buffer, buf, len); |
buffer | 594 | kernel/sysctl.c | buffer += len; |
buffer | 599 | kernel/sysctl.c | put_user('\n', (char *) buffer); |
buffer | 600 | kernel/sysctl.c | left--, buffer++; |
buffer | 603 | kernel/sysctl.c | p = (char *) buffer; |
buffer | 615 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 635 | kernel/sysctl.c | while (left && isspace(get_user((char *) buffer))) |
buffer | 636 | kernel/sysctl.c | left--, ((char *) buffer)++; |
buffer | 643 | kernel/sysctl.c | memcpy_fromfs(buf, buffer, len); |
buffer | 658 | kernel/sysctl.c | buffer += len; |
buffer | 674 | kernel/sysctl.c | memcpy_tofs(buffer, buf, len); |
buffer | 676 | kernel/sysctl.c | buffer += len; |
buffer | 681 | kernel/sysctl.c | put_user('\n', (char *) buffer); |
buffer | 682 | kernel/sysctl.c | left--, buffer++; |
buffer | 685 | kernel/sysctl.c | p = (char *) buffer; |
buffer | 699 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 705 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 711 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 165 | mm/page_io.c | void ll_rw_page(int rw, kdev_t dev, unsigned long page, char * buffer) |
buffer | 182 | mm/page_io.c | if (set_bit(PG_locked, &mem_map[MAP_NR(buffer)].flags)) |
buffer | 184 | mm/page_io.c | brw_page(rw, (unsigned long) buffer, dev, &block, PAGE_SIZE, 0); |
buffer | 244 | net/802/tr.c | int rif_get_info(char *buffer,char **start, off_t offset, int length) { |
buffer | 253 | net/802/tr.c | size=sprintf(buffer, |
buffer | 260 | net/802/tr.c | size=sprintf(buffer+len,"%02X:%02X:%02X:%02X:%02X:%02X %04X %04X %04X %04X %04X %04X %04X %04X %04X %lu\n", |
buffer | 278 | net/802/tr.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 243 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 254 | net/appletalk/ddp.c | len += sprintf (buffer,"Type local_addr remote_addr tx_queue rx_queue st uid\n"); |
buffer | 257 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
buffer | 258 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 262 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 266 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08X:%08X ", s->wmem_alloc, s->rmem_alloc); |
buffer | 267 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
buffer | 282 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 891 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 898 | net/appletalk/ddp.c | len += sprintf (buffer,"Interface Address Networks Status\n"); |
buffer | 901 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%-16s %04X:%02X %04X-%04X %d\n", |
buffer | 915 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 924 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 931 | net/appletalk/ddp.c | len += sprintf (buffer,"Target Router Flags Dev\n"); |
buffer | 935 | net/appletalk/ddp.c | len += sprintf (buffer+len,"Default %04X:%02X %-4d %s\n", |
buffer | 941 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X %04X:%02X %-4d %s\n", |
buffer | 954 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 2267 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2279 | net/ax25/af_ax25.c | len += sprintf(buffer, "dest_addr src_addr dev st vs vr va t1 t2 t3 idle n2 rtt wnd paclen dama Snd-Q Rcv-Q\n"); |
buffer | 2290 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 2292 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s %-4s %2d %3d %3d %3d %3d/%03d %2d/%02d %3d/%03d %3d/%03d %2d/%02d %3d %3d %5d", |
buffer | 2309 | net/ax25/af_ax25.c | len += sprintf(buffer + len, " %s", ax25->dama_slave? " slave" : " no"); |
buffer | 2312 | net/ax25/af_ax25.c | len += sprintf(buffer + len, " %5d %5d\n", |
buffer | 2316 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "\n"); |
buffer | 2332 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
buffer | 365 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 376 | net/ax25/ax25_route.c | len += sprintf(buffer, "callsign dev count time mode F digipeaters\n"); |
buffer | 383 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%-9s %-4s %5d %9d", |
buffer | 392 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " vc"); |
buffer | 396 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " dg"); |
buffer | 399 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " *"); |
buffer | 406 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " M"); |
buffer | 408 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " "); |
buffer | 411 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " P"); |
buffer | 414 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " ?"); |
buffer | 419 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i])); |
buffer | 421 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 436 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 444 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 453 | net/ax25/ax25_route.c | len += sprintf(buffer, "Policy: %d\n", ax25_uid_policy); |
buffer | 456 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%6d %s\n", pt->uid, ax2asc(&pt->call)); |
buffer | 471 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 830 | net/ax25/ax25_route.c | int ax25_bpq_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 839 | net/ax25/ax25_route.c | len += sprintf(buffer, "dev callsign\n"); |
buffer | 842 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%-4s %-9s\n", |
buffer | 859 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 853 | net/core/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
buffer | 859 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
buffer | 871 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 881 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 891 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
buffer | 900 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
buffer | 913 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 886 | net/core/net_alias.c | int net_alias_types_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 892 | net/core/net_alias.c | len=sprintf(buffer,"type name n_attach\n"); |
buffer | 896 | net/core/net_alias.c | len += sprintf(buffer+len, "%-7d %-15s %-7d\n", |
buffer | 907 | net/core/net_alias.c | *start=buffer+(offset-begin); |
buffer | 923 | net/core/net_alias.c | int net_alias_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 932 | net/core/net_alias.c | len=sprintf(buffer,"%-*s\n",NET_ALIASES_RECSIZ-1,"device family address"); |
buffer | 938 | net/core/net_alias.c | dlen=sprintf(buffer+len, "%-16s %-6d ", alias->name, alias->dev.family); |
buffer | 945 | net/core/net_alias.c | dlen += nat->alias_print_1(nat, alias, buffer+len+dlen, NET_ALIASES_RECSIZ - dlen); |
buffer | 947 | net/core/net_alias.c | dlen += sprintf(buffer+len+dlen, "-"); |
buffer | 953 | net/core/net_alias.c | if (dlen < NET_ALIASES_RECSIZ) memset(buffer+len+dlen, ' ', NET_ALIASES_RECSIZ - dlen); |
buffer | 959 | net/core/net_alias.c | buffer[len-1] = '\n'; |
buffer | 970 | net/core/net_alias.c | *start=buffer+(offset-begin); |
buffer | 1533 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1543 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask Device\n"); |
buffer | 1580 | net/ipv4/arp.c | size = sprintf(buffer+len, |
buffer | 1587 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
buffer | 1592 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
buffer | 1612 | net/ipv4/arp.c | *start = buffer+len-(pos-offset); /* Start of wanted data */ |
buffer | 983 | net/ipv4/ip_fw.c | static int ip_chain_procinfo(int stage, char *buffer, char **start, |
buffer | 997 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall input rules, default %d\n", |
buffer | 1002 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall output rules, default %d\n", |
buffer | 1007 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
buffer | 1014 | net/ipv4/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
buffer | 1029 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %.16s %08lX %X ", |
buffer | 1034 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%u %u %-9lu %-9lu", |
buffer | 1037 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
buffer | 1038 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " A%02X X%02X", i->fw_tosand, i->fw_tosxor); |
buffer | 1039 | net/ipv4/ip_fw.c | buffer[len++]='\n'; |
buffer | 1040 | net/ipv4/ip_fw.c | buffer[len]='\0'; |
buffer | 1058 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 1068 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1071 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_ACCT, buffer,start, offset,length, |
buffer | 1079 | net/ipv4/ip_fw.c | static int ip_fw_in_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1082 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_IN, buffer,start,offset,length, |
buffer | 1086 | net/ipv4/ip_fw.c | static int ip_fw_out_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1089 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_OUT, buffer,start,offset,length, |
buffer | 1093 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1096 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_FWD, buffer,start,offset,length, |
buffer | 678 | net/ipv4/ip_masq.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
buffer | 693 | net/ipv4/ip_masq.c | len = sprintf(buffer, "%-127s\n", temp); |
buffer | 721 | net/ipv4/ip_masq.c | len += sprintf(buffer+len, "%-127s\n", temp); |
buffer | 729 | net/ipv4/ip_masq.c | *start = buffer + begin; |
buffer | 434 | net/ipv4/ip_masq_app.c | int ip_masq_app_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 442 | net/ipv4/ip_masq_app.c | len=sprintf(buffer,"%-21s\n", "prot port n_attach"); |
buffer | 456 | net/ipv4/ip_masq_app.c | len += sprintf(buffer+len, "%-3s %-7u %-7d \n", |
buffer | 465 | net/ipv4/ip_masq_app.c | *start = buffer + begin; |
buffer | 43 | net/ipv4/ip_sockglue.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 51 | net/ipv4/ip_sockglue.c | len=sprintf(buffer,"Device : Count\tGroup Users Timer\n"); |
buffer | 59 | net/ipv4/ip_sockglue.c | len+=sprintf(buffer+len,"%-10s: %5d\n", |
buffer | 63 | net/ipv4/ip_sockglue.c | len+=sprintf(buffer+len, |
buffer | 79 | net/ipv4/ip_sockglue.c | *start=buffer+(offset-begin); |
buffer | 796 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 805 | net/ipv4/ipmr.c | len += sprintf(buffer, |
buffer | 816 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%-10s %8ld %7ld %8ld %7ld %05X %08lX %08lX\n", |
buffer | 830 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
buffer | 837 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 846 | net/ipv4/ipmr.c | len += sprintf(buffer, |
buffer | 876 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%08lX %08lX %-8s %s\n", |
buffer | 898 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
buffer | 58 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
buffer | 74 | net/ipv4/proc.c | len += sprintf(buffer, "sl local_address rem_address st tx_queue " |
buffer | 112 | net/ipv4/proc.c | len += sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X" |
buffer | 146 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
buffer | 154 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 156 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
buffer | 160 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 162 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
buffer | 166 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 168 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
buffer | 175 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 181 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
buffer | 183 | net/ipv4/proc.c | len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); |
buffer | 184 | net/ipv4/proc.c | len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |
buffer | 186 | net/ipv4/proc.c | len += sprintf(buffer+len,"UDP: inuse %d highest %d\n", |
buffer | 188 | net/ipv4/proc.c | len += sprintf(buffer+len,"RAW: inuse %d highest %d\n", |
buffer | 190 | net/ipv4/proc.c | len += sprintf(buffer+len,"PAC: inuse %d highest %d\n", |
buffer | 192 | net/ipv4/proc.c | *start = buffer + offset; |
buffer | 204 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 213 | net/ipv4/proc.c | len = sprintf (buffer, |
buffer | 227 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 244 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 254 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 266 | net/ipv4/proc.c | *start = buffer; |
buffer | 269 | net/ipv4/proc.c | *start = buffer + offset; |
buffer | 484 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 495 | net/ipv4/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
buffer | 501 | net/ipv4/rarp.c | size = sprintf(buffer, |
buffer | 516 | net/ipv4/rarp.c | size = sprintf(buffer+len, |
buffer | 541 | net/ipv4/rarp.c | *start = buffer+(offset-begin); /* Start of wanted data */ |
buffer | 806 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 819 | net/ipv4/route.c | sprintf(buffer,"%-127s\n","Iface\tDestination\tGateway \tFlags\tRefCnt\tUse\tMetric\tMask\t\tMTU\tWindow\tIRTT"); |
buffer | 875 | net/ipv4/route.c | sprintf(buffer+len,"%-127s\n",temp); |
buffer | 888 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
buffer | 895 | net/ipv4/route.c | int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 907 | net/ipv4/route.c | sprintf(buffer,"%-127s\n","Iface\tDestination\tGateway \tFlags\tRefCnt\tUse\tMetric\tSource\t\tMTU\tWindow\tIRTT\tHH\tARP"); |
buffer | 935 | net/ipv4/route.c | sprintf(buffer+len,"%-127s\n",temp); |
buffer | 946 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
buffer | 1415 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
buffer | 1425 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
buffer | 1428 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
buffer | 1429 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
buffer | 1432 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
buffer | 1434 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
buffer | 1435 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%s\n", |
buffer | 1450 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1458 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
buffer | 1470 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-28s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1472 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1479 | net/ipx/af_ipx.c | len += sprintf(buffer+len, |
buffer | 1490 | net/ipx/af_ipx.c | len += sprintf(buffer+len,"%08lX:%04X ", |
buffer | 1495 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
buffer | 1497 | net/ipx/af_ipx.c | len += sprintf (buffer+len, |
buffer | 1508 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08X %08X ", |
buffer | 1510 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
buffer | 1527 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1535 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
buffer | 1543 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
buffer | 1547 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
buffer | 1549 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
buffer | 1555 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
buffer | 1567 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
buffer | 1319 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1330 | net/netrom/af_netrom.c | len += sprintf(buffer, "user_addr dest_node src_node dev my your st vs vr va t1 t2 n2 rtt wnd paclen Snd-Q Rcv-Q\n"); |
buffer | 1338 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1340 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1342 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s %-3s %02X/%02X %02X/%02X %2d %2d %2d %2d %3d/%03d %2d/%02d %2d/%02d %3d %3d %6d %5d %5d\n", |
buffer | 1370 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
buffer | 710 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
buffer | 721 | net/netrom/nr_route.c | len += sprintf(buffer, "callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n"); |
buffer | 724 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%-9s %-7s %d %d", |
buffer | 731 | net/netrom/nr_route.c | len += sprintf(buffer + len, " %3d %d %05d", |
buffer | 737 | net/netrom/nr_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 752 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 760 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
buffer | 770 | net/netrom/nr_route.c | len += sprintf(buffer, "addr callsign dev qual lock count\n"); |
buffer | 773 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%05d %-9s %-4s %3d %d %3d\n", |
buffer | 794 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 1430 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1432 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
buffer | 1435 | net/socket.c | *start = buffer; |
buffer | 1438 | net/socket.c | *start = buffer + offset; |
buffer | 1237 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1244 | net/unix/af_unix.c | len+= sprintf(buffer,"Num RefCount Protocol Flags Type St " |
buffer | 1249 | net/unix/af_unix.c | len+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X %5ld", |
buffer | 1258 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
buffer | 1260 | net/unix/af_unix.c | buffer[len++]='\n'; |
buffer | 1272 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
buffer | 277 | scripts/ksymoops.cc | char buffer[1024]; |
buffer | 281 | scripts/ksymoops.cc | cin >> buffer; |
buffer | 282 | scripts/ksymoops.cc | if (strequ(buffer, "EIP:") && names.valid()) { |
buffer | 286 | scripts/ksymoops.cc | cin >> c >> c >> buffer; |
buffer | 287 | scripts/ksymoops.cc | if (!strequ(buffer, "EFLAGS:")) { |
buffer | 294 | scripts/ksymoops.cc | } else if (strequ(buffer, "Trace:") && names.valid()) { |
buffer | 296 | scripts/ksymoops.cc | while ((cin >> buffer) && |
buffer | 297 | scripts/ksymoops.cc | (sscanf(buffer, " [<%x>]", &address) == 1) && |
buffer | 309 | scripts/ksymoops.cc | if (strequ(buffer, "ode:") || strequ(buffer, "Code:")) { |
buffer | 579 | scripts/tkparse.c | char buffer[1024]; |
buffer | 596 | scripts/tkparse.c | strcpy (buffer, "../"); |
buffer | 597 | scripts/tkparse.c | strcat (buffer, filename); |
buffer | 598 | scripts/tkparse.c | infile = fopen(buffer,"r"); |
buffer | 614 | scripts/tkparse.c | fgets(&buffer[offset], sizeof(buffer) - offset, infile); |
buffer | 620 | scripts/tkparse.c | pnt = buffer + strlen(buffer) - 1; |
buffer | 625 | scripts/tkparse.c | offset = pnt - buffer; |
buffer | 629 | scripts/tkparse.c | parse(buffer); |
buffer | 644 | scripts/tkparse.c | char buffer[1024]; |