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 | 148 | arch/alpha/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 175 | arch/alpha/kernel/setup.c | return sprintf(buffer, |
buffer | 217 | arch/i386/kernel/setup.c | int get_cpuinfo(char * buffer) |
buffer | 223 | arch/i386/kernel/setup.c | return sprintf(buffer,"cpu\t\t: %c86\n" |
buffer | 259 | arch/i386/kernel/setup.c | char *bp=buffer; |
buffer | 341 | arch/i386/kernel/setup.c | return bp-buffer; |
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 | 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 | 265 | arch/sparc/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 267 | arch/sparc/kernel/setup.c | return sprintf(buffer, "Sparc RISC\n"); |
buffer | 225 | arch/sparc/kernel/sparc-stub.c | getpacket(char *buffer) |
buffer | 248 | arch/sparc/kernel/sparc-stub.c | buffer[count] = ch; |
buffer | 255 | arch/sparc/kernel/sparc-stub.c | buffer[count] = 0; |
buffer | 265 | arch/sparc/kernel/sparc-stub.c | if (buffer[2] == ':') { |
buffer | 266 | arch/sparc/kernel/sparc-stub.c | putDebugChar(buffer[0]); |
buffer | 267 | arch/sparc/kernel/sparc-stub.c | putDebugChar(buffer[1]); |
buffer | 269 | arch/sparc/kernel/sparc-stub.c | count = strlen(buffer); |
buffer | 271 | arch/sparc/kernel/sparc-stub.c | buffer[i-3] = buffer[i]; |
buffer | 281 | arch/sparc/kernel/sparc-stub.c | putpacket(unsigned char *buffer) |
buffer | 293 | arch/sparc/kernel/sparc-stub.c | while ((ch = buffer[count])) { |
buffer | 58 | arch/sparc/prom/tree.c | prom_getproperty(int node, char *prop, char *buffer, int bufsize) |
buffer | 66 | arch/sparc/prom/tree.c | return prom_nodeops->no_getprop(node, prop, buffer); |
buffer | 2106 | drivers/block/floppy.c | CURRENT->buffer += current_count_sectors <<9; |
buffer | 2192 | drivers/block/floppy.c | raw_cmd->kernel_data == CURRENT->buffer){ |
buffer | 2210 | drivers/block/floppy.c | base = CURRENT->buffer; |
buffer | 2245 | drivers/block/floppy.c | char *buffer, *dma_buffer; |
buffer | 2278 | drivers/block/floppy.c | buffer = CURRENT->buffer; |
buffer | 2298 | drivers/block/floppy.c | if (((unsigned long)buffer) % 512) |
buffer | 2299 | drivers/block/floppy.c | DPRINT1("%p buffer not aligned\n", buffer); |
buffer | 2303 | drivers/block/floppy.c | memcpy(buffer, dma_buffer, size); |
buffer | 2305 | drivers/block/floppy.c | memcpy(dma_buffer, buffer, size); |
buffer | 2321 | drivers/block/floppy.c | buffer = bh->b_data; |
buffer | 2441 | drivers/block/floppy.c | } else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS) { |
buffer | 2453 | drivers/block/floppy.c | dma_limit = (MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer)) >> 9; |
buffer | 2458 | drivers/block/floppy.c | if (CROSS_64KB(CURRENT->buffer, max_size << 9)) |
buffer | 2459 | drivers/block/floppy.c | max_size = (K_64 - ((long) CURRENT->buffer) % K_64)>>9; |
buffer | 2475 | drivers/block/floppy.c | raw_cmd->kernel_data = CURRENT->buffer; |
buffer | 2529 | drivers/block/floppy.c | (raw_cmd->kernel_data != CURRENT->buffer && |
buffer | 2537 | drivers/block/floppy.c | if (raw_cmd->kernel_data != CURRENT->buffer) |
buffer | 2554 | drivers/block/floppy.c | if (raw_cmd->kernel_data != CURRENT->buffer){ |
buffer | 4027 | drivers/block/floppy.c | char buffer[100]; |
buffer | 4039 | drivers/block/floppy.c | buffer[j] = c; |
buffer | 4042 | drivers/block/floppy.c | buffer[j] = '\0'; |
buffer | 4043 | 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 | 243 | drivers/block/ide-cd.c | void cdrom_in_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 246 | drivers/block/ide-cd.c | ide_input_data (drive, buffer, bytecount / 4); |
buffer | 249 | drivers/block/ide-cd.c | insw (IDE_DATA_REG, ((byte *)buffer) + (bytecount & ~0x03), 1); |
buffer | 255 | drivers/block/ide-cd.c | void cdrom_out_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 258 | drivers/block/ide-cd.c | ide_output_data (drive, buffer, bytecount / 4); |
buffer | 261 | drivers/block/ide-cd.c | outsw (IDE_DATA_REG, ((byte *)buffer) + (bytecount & ~0x03), 1); |
buffer | 530 | drivers/block/ide-cd.c | if (rq->buffer != rq->bh->b_data) |
buffer | 532 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
buffer | 533 | drivers/block/ide-cd.c | rq->buffer = rq->bh->b_data; |
buffer | 569 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
buffer | 578 | drivers/block/ide-cd.c | rq->buffer = (char *)pc; |
buffer | 599 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 601 | drivers/block/ide-cd.c | (struct atapi_request_sense *)(pc->buffer - pc->c[4]), |
buffer | 649 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 660 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1037 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, rq->buffer, SECTOR_SIZE); |
buffer | 1038 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1075 | drivers/block/ide-cd.c | memcpy (rq->buffer, |
buffer | 1079 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1231 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1248 | drivers/block/ide-cd.c | *pc->buffer++ = 0; |
buffer | 1283 | drivers/block/ide-cd.c | cdrom_out_bytes (drive, pc->buffer, thislen); |
buffer | 1295 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1312 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, pc->buffer, thislen); |
buffer | 1324 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1343 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1354 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1393 | drivers/block/ide-cd.c | req.buffer = (char *)pc; |
buffer | 1458 | drivers/block/ide-cd.c | byte *args = rq->buffer; |
buffer | 1683 | drivers/block/ide-cd.c | pc.buffer = (char *)&capbuf; |
buffer | 1706 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1858 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1880 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1899 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2086 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2336 | drivers/block/ide-cd.c | char buffer[24], mask[24]; |
buffer | 2343 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer),NULL); |
buffer | 2345 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 1, mask , sizeof (buffer),NULL); |
buffer | 2348 | drivers/block/ide-cd.c | buffer[1] = buffer[2] = 0; |
buffer | 2350 | drivers/block/ide-cd.c | buffer[17] = volctrl.channel0 & mask[17]; |
buffer | 2351 | drivers/block/ide-cd.c | buffer[19] = volctrl.channel1 & mask[19]; |
buffer | 2352 | drivers/block/ide-cd.c | buffer[21] = volctrl.channel2 & mask[21]; |
buffer | 2353 | drivers/block/ide-cd.c | buffer[23] = volctrl.channel3 & mask[23]; |
buffer | 2355 | drivers/block/ide-cd.c | return cdrom_mode_select (drive, 0x0e, buffer, sizeof (buffer), NULL); |
buffer | 2361 | drivers/block/ide-cd.c | char buffer[24]; |
buffer | 2367 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer), NULL); |
buffer | 2370 | drivers/block/ide-cd.c | volctrl.channel0 = buffer[17]; |
buffer | 2371 | drivers/block/ide-cd.c | volctrl.channel1 = buffer[19]; |
buffer | 2372 | drivers/block/ide-cd.c | volctrl.channel2 = buffer[21]; |
buffer | 2373 | drivers/block/ide-cd.c | volctrl.channel3 = buffer[23]; |
buffer | 2559 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 810 | drivers/block/ide-tape.c | void idetape_input_data (ide_drive_t *drive,void *buffer, unsigned long bcount); |
buffer | 811 | drivers/block/ide-tape.c | void idetape_output_data (ide_drive_t *drive,void *buffer, unsigned long bcount); |
buffer | 867 | drivers/block/ide-tape.c | void idetape_display_inquiry_result (byte *buffer); |
buffer | 905 | drivers/block/ide-tape.c | int idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer); |
buffer | 912 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer); |
buffer | 920 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer); |
buffer | 954 | drivers/block/ide-tape.c | void idetape_copy_buffer_from_stage (idetape_pipeline_stage_t *stage,char *buffer); |
buffer | 955 | drivers/block/ide-tape.c | void idetape_copy_buffer_to_stage (idetape_pipeline_stage_t *stage,char *buffer); |
buffer | 1352 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 1357 | drivers/block/ide-tape.c | header=(idetape_mode_parameter_header_t *) pc.buffer; |
buffer | 1358 | drivers/block/ide-tape.c | capabilities=(idetape_capabilities_page_t *) (pc.buffer+sizeof (idetape_mode_parameter_header_t)); |
buffer | 1509 | drivers/block/ide-tape.c | pc->current_position=pc->buffer; |
buffer | 1686 | drivers/block/ide-tape.c | if (bcount.all && !pc->buffer) { |
buffer | 2104 | drivers/block/ide-tape.c | pc->buffer=pc->temp_buffer; |
buffer | 2197 | drivers/block/ide-tape.c | idetape_display_inquiry_result (tape->pc->buffer); |
buffer | 2209 | drivers/block/ide-tape.c | void idetape_input_data (ide_drive_t *drive,void *buffer, unsigned long bcount) |
buffer | 2218 | drivers/block/ide-tape.c | ide_input_data (drive,buffer,wcount); |
buffer | 2221 | drivers/block/ide-tape.c | ((byte *)buffer) += 4*wcount; |
buffer | 2222 | drivers/block/ide-tape.c | insb (IDETAPE_DATA_REG,buffer,bcount); |
buffer | 2230 | drivers/block/ide-tape.c | void idetape_output_data (ide_drive_t *drive,void *buffer, unsigned long bcount) |
buffer | 2239 | drivers/block/ide-tape.c | ide_output_data (drive,buffer,wcount); |
buffer | 2242 | drivers/block/ide-tape.c | ((byte *)buffer) += 4*wcount; |
buffer | 2243 | drivers/block/ide-tape.c | outsb (IDETAPE_DATA_REG,buffer,bcount); |
buffer | 2284 | drivers/block/ide-tape.c | void idetape_display_inquiry_result (byte *buffer) |
buffer | 2289 | drivers/block/ide-tape.c | result=(idetape_inquiry_result_t *) buffer; |
buffer | 2392 | drivers/block/ide-tape.c | idetape_analyze_error (drive,(idetape_request_sense_result_t *) tape->pc->buffer); |
buffer | 2462 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2480 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2502 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2559 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2579 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2600 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2669 | drivers/block/ide-tape.c | pc->buffer=NULL; |
buffer | 2756 | drivers/block/ide-tape.c | result=(idetape_read_position_result_t *) tape->pc->buffer; |
buffer | 2798 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 3006 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
buffer | 3008 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
buffer | 3028 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
buffer | 3030 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
buffer | 3054 | drivers/block/ide-tape.c | pc=(idetape_packet_command_t *) rq->buffer; |
buffer | 3091 | drivers/block/ide-tape.c | rq.buffer = (char *) pc; |
buffer | 3125 | drivers/block/ide-tape.c | rq->buffer = (char *) pc; |
buffer | 3159 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer) |
buffer | 3176 | drivers/block/ide-tape.c | rq.buffer = buffer; |
buffer | 3190 | drivers/block/ide-tape.c | int idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer) |
buffer | 3228 | drivers/block/ide-tape.c | return (idetape_queue_rw_tail (drive,IDETAPE_READ_REQUEST,blocks,buffer)); |
buffer | 3239 | drivers/block/ide-tape.c | idetape_copy_buffer_from_stage (tape->first_stage,buffer); |
buffer | 3263 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer) |
buffer | 3299 | drivers/block/ide-tape.c | return (idetape_queue_rw_tail (drive,IDETAPE_WRITE_REQUEST,blocks,buffer)); |
buffer | 3311 | drivers/block/ide-tape.c | idetape_copy_buffer_to_stage (new_stage,buffer); |
buffer | 3827 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 3917 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4042 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4207 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4233 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
buffer | 4359 | drivers/block/ide-tape.c | void idetape_copy_buffer_from_stage (idetape_pipeline_stage_t *stage,char *buffer) |
buffer | 4369 | drivers/block/ide-tape.c | if (buffer == NULL) { |
buffer | 4375 | drivers/block/ide-tape.c | ptr=buffer; |
buffer | 4397 | drivers/block/ide-tape.c | void idetape_copy_buffer_to_stage (idetape_pipeline_stage_t *stage,char *buffer) |
buffer | 4407 | drivers/block/ide-tape.c | if (buffer == NULL) { |
buffer | 4413 | drivers/block/ide-tape.c | ptr=buffer; |
buffer | 4570 | drivers/block/ide-tape.c | rq->buffer=tape->data_buffer; |
buffer | 279 | drivers/block/ide-tape.h | byte *buffer; /* Data buffer */ |
buffer | 374 | drivers/block/ide.c | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 385 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 390 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 392 | drivers/block/ide.c | insw(data_reg, buffer, wcount<<1); |
buffer | 398 | drivers/block/ide.c | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 409 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 414 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 416 | drivers/block/ide.c | outsw(data_reg, buffer, wcount<<1); |
buffer | 746 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 844 | drivers/block/ide.c | unsigned long buffer[16]; |
buffer | 847 | drivers/block/ide.c | ide_input_data (drive, buffer, wcount); |
buffer | 929 | drivers/block/ide.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
buffer | 933 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 936 | drivers/block/ide.c | rq->buffer += nsect<<9; |
buffer | 961 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 966 | drivers/block/ide.c | rq->buffer += 512; |
buffer | 973 | drivers/block/ide.c | ide_output_data (drive, rq->buffer, SECTOR_WORDS); |
buffer | 997 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, nsect<<7); |
buffer | 1000 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 1008 | drivers/block/ide.c | rq->buffer = rq->bh->b_data; |
buffer | 1014 | drivers/block/ide.c | rq->buffer += nsect << 9; |
buffer | 1217 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1236 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1267 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, SECTOR_WORDS); |
buffer | 1272 | drivers/block/ide.c | byte *args = rq->buffer; |
buffer | 1369 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 1619 | drivers/block/ide.c | rq->buffer = NULL; |
buffer | 1730 | drivers/block/ide.c | rq.buffer = door_lock; |
buffer | 1769 | drivers/block/ide.c | rq.buffer = door_unlock; |
buffer | 1992 | drivers/block/ide.c | rq.buffer = (char *) &args; |
buffer | 165 | drivers/block/ide.h | char *buffer; |
buffer | 469 | drivers/block/ide.h | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 474 | drivers/block/ide.h | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 380 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 412 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 425 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, kdev_t dev, unsigned long page, char * buffer) |
buffer | 448 | drivers/block/ll_rw_blk.c | if (mem_map[MAP_NR(buffer)].locked) |
buffer | 450 | drivers/block/ll_rw_blk.c | mem_map[MAP_NR(buffer)].locked = 1; |
buffer | 451 | drivers/block/ll_rw_blk.c | brw_page(rw, (unsigned long) buffer, dev, &block, PAGE_SIZE, 0); |
buffer | 579 | drivers/block/ll_rw_blk.c | req[j]->buffer = buf; |
buffer | 127 | drivers/block/rd.c | memset(CURRENT->buffer, 0, len); |
buffer | 190 | 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 | 612 | drivers/cdrom/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
buffer | 615 | drivers/cdrom/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 232 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
buffer | 580 | drivers/cdrom/mcdx.c | CURRENT->buffer, |
buffer | 593 | drivers/cdrom/mcdx.c | CURRENT->buffer += (i * 512); |
buffer | 869 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
buffer | 882 | drivers/cdrom/mcdx.c | if ((disgard = (buffer == NULL))) buffer = &c; |
buffer | 910 | drivers/cdrom/mcdx.c | char* bp = buffer; |
buffer | 1042 | drivers/cdrom/optcd.c | memcpy(CURRENT -> buffer, buf + offs, nr_sectors * 512); |
buffer | 1045 | 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 | 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 | 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 securety 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 | 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 | 667 | drivers/net/ni52.c | p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); |
buffer | 723 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
buffer | 823 | drivers/net/ni52.c | memcpy(skb_put(skb,totlen),(char *) p->base+(unsigned long) rbd->buffer, totlen); |
buffer | 143 | drivers/net/ni52.h | char *buffer; /* receive buffer address pointer */ |
buffer | 277 | drivers/net/ni52.h | char *buffer; /* pointer to buffer */ |
buffer | 343 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
buffer | 352 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
buffer | 542 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb_put(skb1,len); |
buffer | 610 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) (skb->data); |
buffer | 613 | drivers/net/ni65.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len); |
buffer | 104 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 119 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 1047 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
buffer | 1063 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
buffer | 1257 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
buffer | 1602 | 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 | 3757 | drivers/scsi/53c7,8xx.c | virt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) : |
buffer | 3760 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
buffer | 3864 | drivers/scsi/53c7,8xx.c | cmd->SCp.buffer = NULL; |
buffer | 5616 | drivers/scsi/53c7,8xx.c | 0 /* issue */ ); tmp; tmp = (Scsi_Cmnd *) tmp->SCp.buffer) |
buffer | 5634 | drivers/scsi/53c7,8xx.c | cmd->SCp.buffer = (struct scatterlist *) nuke_list; |
buffer | 5646 | drivers/scsi/53c7,8xx.c | tmp = (Scsi_Cmnd *) nuke_list->SCp.buffer; |
buffer | 5699 | drivers/scsi/53c7,8xx.c | segment = (struct scatterlist *) cmd->buffer; |
buffer | 6097 | drivers/scsi/53c7,8xx.c | if (c->cmd->SCp.buffer) { |
buffer | 6105 | drivers/scsi/53c7,8xx.c | c->cmd->SCp.buffer = (struct scatterlist *) list; |
buffer | 6124 | drivers/scsi/53c7,8xx.c | if (tmp->SCp.buffer) { |
buffer | 6129 | drivers/scsi/53c7,8xx.c | tmp->SCp.buffer = (struct scatterlist *) list; |
buffer | 6169 | 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 | 318 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 320 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 321 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 323 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 2205 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
buffer | 2207 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 2208 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2376 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 2585 | drivers/scsi/advansys.c | advansys_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2625 | drivers/scsi/advansys.c | *start = buffer; |
buffer | 2627 | 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; |
buffer | 2962 | drivers/scsi/aha152x.c | return (pos-buffer < length ? pos-buffer : length); |
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 | 1011 | drivers/scsi/aic7xxx.c | static char buffer[128]; |
buffer | 1013 | drivers/scsi/aic7xxx.c | strcpy(buffer, "Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) "); |
buffer | 1014 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_C_VERSION)); |
buffer | 1015 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1016 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_H_VERSION)); |
buffer | 1017 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1018 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_SEQ_VER)); |
buffer | 1020 | drivers/scsi/aic7xxx.c | return buffer; |
buffer | 1040 | 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 | 119 | drivers/scsi/aic7xxx_proc.c | return (aic7xxx_set_info(buffer, length, HBAptr)); |
buffer | 243 | drivers/scsi/aic7xxx_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
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 | 1015 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 1064 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 1067 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain TMC-16x0 SCSI driver, version" ); |
buffer | 1069 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 1070 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 1072 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 1077 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION ); |
buffer | 1080 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1094 | drivers/scsi/fdomain.c | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
buffer | 1105 | drivers/scsi/fdomain.c | strcpy( buffer, info ); |
buffer | 1106 | drivers/scsi/fdomain.c | strcat( buffer, "\n" ); |
buffer | 1108 | drivers/scsi/fdomain.c | pos = len = strlen( buffer ); |
buffer | 1115 | drivers/scsi/fdomain.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 1549 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1550 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1551 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1582 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1583 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1584 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1665 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1667 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1668 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1673 | 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 | 288 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout) |
buffer | 297 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "SCSI host number %d : %s\n", scsi_ptr->host_no, scsi_ptr->hostt->name); |
buffer | 298 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "Generic NCR5380 driver version %d\n", GENERIC_NCR5380_PUBLIC_RELEASE); |
buffer | 299 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "NCR5380 driver core version %d\n", NCR5380_PUBLIC_RELEASE); |
buffer | 301 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "NCR53C400 driver extension version %d\n", NCR53C400_PUBLIC_RELEASE); |
buffer | 302 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "NCR53C400 card%s detected\n", (((struct NCR5380_hostdata *)scsi_ptr->hostdata)->flags & FLAG_NCR53C400)?"":" not"); |
buffer | 304 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "NCR53C400 pseudo DMA being used\n"); |
buffer | 307 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "NO NCR53C400 driver extensions\n"); |
buffer | 309 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "Using %s mapping at %s 0x%x, ", STRVAL(NCR5380_map_config), STRVAL(NCR5380_map_name), scsi_ptr->NCR5380_instance_name); |
buffer | 311 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "interrupts disabled\n"); |
buffer | 313 | drivers/scsi/g_NCR5380.c | len += sprintf(buffer+len, "on interrupt %d\n", scsi_ptr->irq); |
buffer | 315 | drivers/scsi/g_NCR5380.c | *start = buffer + offset; |
buffer | 54 | drivers/scsi/g_NCR5380.h | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout); |
buffer | 138 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, |
buffer | 140 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 923 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1072 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1143 | drivers/scsi/scsi.c | SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 1224 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 1237 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
buffer | 1289 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 1301 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1700 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 2435 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2450 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 2455 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
buffer | 2463 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 2480 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 2498 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
buffer | 2501 | drivers/scsi/scsi.c | if(!strncmp("singledevice", buffer + 5, 12)) { |
buffer | 2502 | drivers/scsi/scsi.c | p = buffer + 17; |
buffer | 334 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 367 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 434 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, |
buffer | 489 | 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 | 161 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 172 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 179 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, 2*sizeof(long) + 1); |
buffer | 191 | drivers/scsi/scsi_ioctl.c | inlen = get_user((unsigned int *) buffer); |
buffer | 192 | drivers/scsi/scsi_ioctl.c | outlen = get_user( ((unsigned int *) buffer) + 1); |
buffer | 202 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 289 | 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 = (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 | 1209 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1223 | drivers/scsi/sd.c | rscsi_disks[i].write_prot = ((buffer[2] & 0x80) != 0); |
buffer | 1232 | 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 | 160 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 164 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 165 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
buffer | 177 | drivers/scsi/sr.c | (char *)SCpnt->buffer + 1024, |
buffer | 182 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 187 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 196 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 226 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 232 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 234 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 235 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 643 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 656 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 760 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 808 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 839 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 843 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 848 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 849 | drivers/scsi/sr.c | if (((long) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD && |
buffer | 851 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 899 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 921 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 977 | drivers/scsi/sr.c | unsigned char *buffer; |
buffer | 981 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 992 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 999 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 1019 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 1020 | drivers/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 1021 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 1022 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1038 | drivers/scsi/sr.c | scsi_free(buffer, 512); |
buffer | 37 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 47 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 203 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 213 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 214 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 216 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
buffer | 218 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 219 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 221 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 234 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 249 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 250 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 252 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 255 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 256 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 257 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 258 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 261 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 263 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 315 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 332 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 333 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 335 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 337 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 350 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 356 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 362 | drivers/scsi/sr_ioctl.c | buffer[0] = 0; /* Clear reserved field */ |
buffer | 364 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 365 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 366 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 367 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 375 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 376 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 384 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 396 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 397 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 399 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 401 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 403 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 404 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 405 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 407 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 408 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 409 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 410 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 411 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 412 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 414 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 190 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 202 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 204 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 207 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 208 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 210 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 245 | drivers/scsi/st.c | scsi_do_cmd(SCpnt, (void *)cmd, (STp->buffer)->b_data, bytes, |
buffer | 250 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 262 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 308 | drivers/scsi/st.c | if ((STp->buffer)->last_result != 0) { |
buffer | 315 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 328 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 330 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 334 | drivers/scsi/st.c | TAPE_NR(STp->devt), (STp->buffer)->last_result); |
buffer | 336 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 348 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 355 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 369 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 375 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 386 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 405 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 423 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 424 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 425 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 427 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 428 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 478 | drivers/scsi/st.c | STp->buffer = new_tape_buffer(FALSE); |
buffer | 479 | drivers/scsi/st.c | if (STp->buffer == NULL) { |
buffer | 485 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 486 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 487 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 524 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 553 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 554 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 555 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 556 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 577 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 583 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = 0; /* Prevent error propagation */ |
buffer | 592 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 593 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 596 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 597 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 598 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 599 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 600 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 604 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 605 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 610 | drivers/scsi/st.c | if (STp->block_size > (STp->buffer)->buffer_size && |
buffer | 611 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, STp->block_size)) { |
buffer | 614 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 618 | drivers/scsi/st.c | STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; |
buffer | 623 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = st_buffer_size / STp->block_size; |
buffer | 625 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 626 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 631 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 632 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 642 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 643 | drivers/scsi/st.c | STp->buffer = 0; |
buffer | 696 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) |
buffer | 728 | drivers/scsi/st.c | if (STp->buffer != NULL) { |
buffer | 729 | drivers/scsi/st.c | normalize_buffer(STp->buffer); |
buffer | 730 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 777 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 778 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count)) |
buffer | 795 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 797 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 801 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 803 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 823 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 838 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
buffer | 844 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_blocks * STp->block_size - |
buffer | 845 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes; |
buffer | 849 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 850 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 855 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 867 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 918 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 934 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 939 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 940 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 942 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 946 | drivers/scsi/st.c | if (doing_write && (STp->buffer)->last_result_fatal != 0) { |
buffer | 948 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 952 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes >= STp->write_threshold || |
buffer | 961 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 963 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 965 | drivers/scsi/st.c | STp->dirty = !((STp->buffer)->writing == |
buffer | 966 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 969 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 971 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 984 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 985 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 1018 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 1019 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count)) |
buffer | 1042 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1044 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 1052 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 1062 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 1067 | drivers/scsi/st.c | if (bytes > (STp->buffer)->buffer_size) |
buffer | 1068 | drivers/scsi/st.c | bytes = (STp->buffer)->buffer_size; |
buffer | 1081 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1085 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 1113 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1124 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1126 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1131 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1137 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1139 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1145 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 1174 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 1180 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 1186 | drivers/scsi/st.c | STp->drv_block += (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1192 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 1196 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 1198 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 1199 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 1200 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 1201 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 1205 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 1206 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1580 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1592 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1594 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1596 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1598 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1600 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1602 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1607 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1608 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1609 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1615 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1616 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1617 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1620 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1623 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1635 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 1664 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 1665 | drivers/scsi/st.c | (STp->buffer)->buffer_size / STp->block_size; |
buffer | 1666 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 1868 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1870 | drivers/scsi/st.c | (STp->mt_status)->mt_blkno -= ((STp->buffer)->buffer_bytes + |
buffer | 1937 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1948 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 1949 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 1950 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 1952 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 1953 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 1954 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 1955 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 49 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 327 | fs/devices.c | static char buffer[32]; |
buffer | 328 | fs/devices.c | sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev)); |
buffer | 329 | 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 | 98 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 124 | 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 | 394 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 526 | 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 | 58 | fs/proc/array.c | int get_malloc(char * buffer); |
buffer | 179 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 186 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d %d/%d\n", |
buffer | 193 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 200 | fs/proc/array.c | len = sprintf(buffer, |
buffer | 230 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
buffer | 231 | 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 | 278 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers: cached:\n" |
buffer | 285 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 289 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 290 | fs/proc/array.c | return strlen(buffer); |
buffer | 293 | fs/proc/array.c | static int get_cmdline(char * buffer) |
buffer | 297 | fs/proc/array.c | return sprintf(buffer, "%s\n", saved_command_line); |
buffer | 342 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 359 | fs/proc/array.c | buffer[size++] = c; |
buffer | 370 | fs/proc/array.c | while (result>0 && buffer[result-1]==' ') |
buffer | 375 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 381 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
buffer | 384 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 390 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
buffer | 455 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 510 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 623 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 653 | 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 | 223 | fs/proc/root.c | static int proc_self_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 232 | 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 | 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 | 236 | include/asm-sparc/floppy.h | static inline void sun_fd_set_dma_addr(char *buffer) |
buffer | 238 | include/asm-sparc/floppy.h | pdma_vaddr = buffer; |
buffer | 373 | include/linux/blk.h | req->buffer = bh->b_data; |
buffer | 28 | include/linux/blkdev.h | char * buffer; |
buffer | 578 | include/linux/fs.h | extern void ll_rw_page(int rw, kdev_t dev, unsigned long nr, char * buffer); |
buffer | 579 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, kdev_t dev, unsigned int *b, int nb, char *buffer); |
buffer | 234 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
buffer | 173 | include/linux/proc_fs.h | extern int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
buffer | 616 | include/linux/soundcard.h | caddr_t buffer; |
buffer | 88 | 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 | 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 | 468 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 481 | kernel/sysctl.c | p = buffer; |
buffer | 487 | kernel/sysctl.c | memcpy_fromfs(table->data, buffer, len); |
buffer | 497 | kernel/sysctl.c | memcpy_tofs(buffer, table->data, len-1); |
buffer | 498 | kernel/sysctl.c | put_user(0, ((char *) buffer) + len - 1); |
buffer | 501 | kernel/sysctl.c | put_user('\n', ((char *) buffer) + len); |
buffer | 511 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 529 | kernel/sysctl.c | while (left && isspace(get_user((char *) buffer))) |
buffer | 530 | kernel/sysctl.c | left--, ((char *) buffer)++; |
buffer | 537 | kernel/sysctl.c | memcpy_fromfs(buf, buffer, len); |
buffer | 552 | kernel/sysctl.c | buffer += len; |
buffer | 563 | kernel/sysctl.c | memcpy_tofs(buffer, buf, len); |
buffer | 565 | kernel/sysctl.c | buffer += len; |
buffer | 570 | kernel/sysctl.c | put_user('\n', (char *) buffer); |
buffer | 571 | kernel/sysctl.c | left--, buffer++; |
buffer | 574 | kernel/sysctl.c | p = (char *) buffer; |
buffer | 588 | kernel/sysctl.c | void *buffer, size_t *lenp) |
buffer | 594 | kernel/sysctl.c | void *buffer, size_t *lenp) |
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 | 234 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 245 | net/appletalk/ddp.c | len += sprintf (buffer,"Type local_addr remote_addr tx_queue rx_queue st uid\n"); |
buffer | 248 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
buffer | 249 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 251 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 253 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc); |
buffer | 254 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
buffer | 269 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 841 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 848 | net/appletalk/ddp.c | len += sprintf (buffer,"Interface Address Networks Status\n"); |
buffer | 851 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%-16s %04X:%02X %04X-%04X %d\n", |
buffer | 865 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 874 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 881 | net/appletalk/ddp.c | len += sprintf (buffer,"Target Router Flags Dev\n"); |
buffer | 885 | net/appletalk/ddp.c | len += sprintf (buffer+len,"Default %5d:%-3d %-4d %s\n", |
buffer | 891 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X %5d:%-3d %-4d %s\n", |
buffer | 904 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 2107 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2118 | net/ax25/af_ax25.c | len += sprintf(buffer, "dest_addr src_addr dev st vs vr va t1 t2 t3 n2 rtt wnd Snd-Q Rcv-Q\n"); |
buffer | 2126 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 2128 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s %-4s %2d %3d %3d %3d %3d/%03d %2d/%02d %3d/%03d %2d/%02d %3d %3d", |
buffer | 2143 | net/ax25/af_ax25.c | len += sprintf(buffer + len, " %5ld %5ld\n", |
buffer | 2147 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "\n"); |
buffer | 2163 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
buffer | 271 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 282 | net/ax25/ax25_route.c | len += sprintf(buffer, "callsign dev count time mode digipeaters\n"); |
buffer | 289 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%-9s %-4s %5d %9d", |
buffer | 298 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " vc"); |
buffer | 302 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " dg"); |
buffer | 305 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " *"); |
buffer | 311 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i])); |
buffer | 313 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 328 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 336 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 345 | net/ax25/ax25_route.c | len += sprintf(buffer, "Policy: %d\n", ax25_uid_policy); |
buffer | 348 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%6d %s\n", pt->uid, ax2asc(&pt->call)); |
buffer | 363 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 649 | net/ax25/ax25_route.c | int ax25_bpq_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 658 | net/ax25/ax25_route.c | len += sprintf(buffer, "dev callsign\n"); |
buffer | 661 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%-4s %-9s\n", |
buffer | 678 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 834 | net/core/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
buffer | 840 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
buffer | 852 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 862 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 872 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
buffer | 881 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
buffer | 894 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 868 | net/core/net_alias.c | int net_alias_types_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 874 | net/core/net_alias.c | len=sprintf(buffer,"type name n_attach\n"); |
buffer | 878 | net/core/net_alias.c | len += sprintf(buffer+len, "%-7d %-15s %-7d\n", |
buffer | 889 | net/core/net_alias.c | *start=buffer+(offset-begin); |
buffer | 905 | net/core/net_alias.c | int net_alias_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 914 | net/core/net_alias.c | len=sprintf(buffer,"%-*s\n",NET_ALIASES_RECSIZ-1,"device family address"); |
buffer | 920 | net/core/net_alias.c | dlen=sprintf(buffer+len, "%-16s %-6d ", alias->name, alias->dev.family); |
buffer | 927 | net/core/net_alias.c | dlen += nat->alias_print_1(nat, alias, buffer+len+dlen, NET_ALIASES_RECSIZ - dlen); |
buffer | 929 | net/core/net_alias.c | dlen += sprintf(buffer+len+dlen, "-"); |
buffer | 935 | net/core/net_alias.c | if (dlen < NET_ALIASES_RECSIZ) memset(buffer+len+dlen, ' ', NET_ALIASES_RECSIZ - dlen); |
buffer | 941 | net/core/net_alias.c | buffer[len-1] = '\n'; |
buffer | 952 | net/core/net_alias.c | *start=buffer+(offset-begin); |
buffer | 1318 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1328 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask Device\n"); |
buffer | 1365 | net/ipv4/arp.c | size = sprintf(buffer+len, |
buffer | 1372 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
buffer | 1377 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
buffer | 1396 | net/ipv4/arp.c | *start = buffer+len-(pos-offset); /* Start of wanted data */ |
buffer | 1449 | net/ipv4/ip_fw.c | static int ip_chain_procinfo(int stage, char *buffer, char **start, |
buffer | 1463 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall input rules, default %d\n", |
buffer | 1468 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall output rules, default %d\n", |
buffer | 1473 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
buffer | 1480 | net/ipv4/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
buffer | 1495 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %.16s %08lX %X ", |
buffer | 1500 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%u %u %-9lu %-9lu", |
buffer | 1503 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
buffer | 1504 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " A%02X X%02X", i->fw_tosand, i->fw_tosxor); |
buffer | 1505 | net/ipv4/ip_fw.c | buffer[len++]='\n'; |
buffer | 1506 | net/ipv4/ip_fw.c | buffer[len]='\0'; |
buffer | 1524 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 1534 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1537 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_ACCT, buffer,start, offset,length, |
buffer | 1545 | net/ipv4/ip_fw.c | static int ip_fw_in_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1548 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_IN, buffer,start,offset,length, |
buffer | 1552 | net/ipv4/ip_fw.c | static int ip_fw_out_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1555 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_OUT, buffer,start,offset,length, |
buffer | 1559 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1562 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_FWD, buffer,start,offset,length, |
buffer | 1569 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1577 | net/ipv4/ip_fw.c | len=sprintf(buffer,"Prc FromIP FPrt ToIP TPrt Masq Init-seq Delta PDelta Expires\n"); |
buffer | 1587 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%s %08lX:%04X %08lX:%04X %04X %08X %6d %6d %lu\n", |
buffer | 1607 | net/ipv4/ip_fw.c | *start=buffer+(offset-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 rx_queue tr tm->when uid\n"); |
buffer | 111 | net/ipv4/proc.c | len += sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d %d\n", |
buffer | 142 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
buffer | 150 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 152 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
buffer | 156 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 158 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
buffer | 162 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 164 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
buffer | 171 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 177 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
buffer | 179 | net/ipv4/proc.c | len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); |
buffer | 180 | net/ipv4/proc.c | len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |
buffer | 182 | net/ipv4/proc.c | len += sprintf(buffer+len,"UDP: inuse %d highest %d\n", |
buffer | 184 | net/ipv4/proc.c | len += sprintf(buffer+len,"RAW: inuse %d highest %d\n", |
buffer | 186 | net/ipv4/proc.c | len += sprintf(buffer+len,"PAC: inuse %d highest %d\n", |
buffer | 188 | net/ipv4/proc.c | *start = buffer + offset; |
buffer | 200 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 209 | net/ipv4/proc.c | len = sprintf (buffer, |
buffer | 223 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 240 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 250 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 262 | net/ipv4/proc.c | *start = buffer; |
buffer | 265 | 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 | 802 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 815 | net/ipv4/route.c | sprintf(buffer,"%-127s\n","Iface\tDestination\tGateway \tFlags\tRefCnt\tUse\tMetric\tMask\t\tMTU\tWindow\tIRTT"); |
buffer | 871 | net/ipv4/route.c | sprintf(buffer+len,"%-127s\n",temp); |
buffer | 884 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
buffer | 891 | net/ipv4/route.c | int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 903 | net/ipv4/route.c | sprintf(buffer,"%-127s\n","Iface\tDestination\tGateway \tFlags\tRefCnt\tUse\tMetric\tSource\t\tMTU\tWindow\tIRTT\tHH\tARP\n"); |
buffer | 931 | net/ipv4/route.c | sprintf(buffer+len,"%-127s\n",temp); |
buffer | 942 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
buffer | 1320 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
buffer | 1330 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
buffer | 1333 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
buffer | 1334 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
buffer | 1337 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
buffer | 1339 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
buffer | 1340 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%s\n", |
buffer | 1355 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1363 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
buffer | 1375 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-28s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1377 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1384 | net/ipx/af_ipx.c | len += sprintf(buffer+len, |
buffer | 1392 | net/ipx/af_ipx.c | len += sprintf(buffer+len,"%08lX:%04X ", |
buffer | 1397 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
buffer | 1399 | net/ipx/af_ipx.c | len += sprintf (buffer+len, |
buffer | 1407 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %08lX ", |
buffer | 1409 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
buffer | 1426 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1434 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
buffer | 1442 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
buffer | 1446 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
buffer | 1448 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
buffer | 1454 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
buffer | 1466 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
buffer | 1264 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1275 | 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 Snd-Q Rcv-Q\n"); |
buffer | 1283 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1285 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1287 | 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 %5ld %5ld\n", |
buffer | 1315 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
buffer | 712 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
buffer | 723 | net/netrom/nr_route.c | len += sprintf(buffer, "callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n"); |
buffer | 726 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%-9s %-7s %d %d", |
buffer | 733 | net/netrom/nr_route.c | len += sprintf(buffer + len, " %3d %d %05d", |
buffer | 739 | net/netrom/nr_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 754 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 762 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
buffer | 772 | net/netrom/nr_route.c | len += sprintf(buffer, "addr callsign dev qual lock count\n"); |
buffer | 775 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%05d %-9s %-4s %3d %d %3d\n", |
buffer | 796 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 1388 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1390 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
buffer | 1393 | net/socket.c | *start = buffer; |
buffer | 1396 | net/socket.c | *start = buffer + offset; |
buffer | 1050 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1057 | net/unix/af_unix.c | len+= sprintf(buffer,"Num RefCount Protocol Flags Type St Path\n"); |
buffer | 1061 | net/unix/af_unix.c | len+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X", |
buffer | 1069 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
buffer | 1071 | net/unix/af_unix.c | buffer[len++]='\n'; |
buffer | 1083 | 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 | 308 | scripts/ksymoops.cc | } else if (strequ(buffer, "ode:") || strequ(buffer, "Code:")) { |
buffer | 545 | scripts/tkparse.c | char buffer[1024]; |
buffer | 562 | scripts/tkparse.c | strcpy (buffer, "../"); |
buffer | 563 | scripts/tkparse.c | strcat (buffer, filename); |
buffer | 564 | scripts/tkparse.c | infile = fopen(buffer,"r"); |
buffer | 580 | scripts/tkparse.c | fgets(&buffer[offset], sizeof(buffer) - offset, infile); |
buffer | 586 | scripts/tkparse.c | pnt = buffer + strlen(buffer) - 1; |
buffer | 591 | scripts/tkparse.c | offset = pnt - buffer; |
buffer | 595 | scripts/tkparse.c | parse(buffer); |
buffer | 609 | scripts/tkparse.c | char buffer[1024]; |