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 | 171 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_statfs(char * path, struct statfs * buffer, unsigned long bufsiz) |
buffer | 178 | arch/alpha/kernel/osf_sys.c | retval = verify_area(VERIFY_WRITE, buffer, bufsiz); |
buffer | 188 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
buffer | 193 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_fstatfs(unsigned long fd, struct statfs * buffer, unsigned long bufsiz) |
buffer | 199 | arch/alpha/kernel/osf_sys.c | retval = verify_area(VERIFY_WRITE, buffer, bufsiz); |
buffer | 210 | arch/alpha/kernel/osf_sys.c | inode->i_sb->s_op->statfs(inode->i_sb, buffer, bufsiz); |
buffer | 124 | arch/alpha/kernel/setup.c | int get_cpuinfo(char *buffer) |
buffer | 151 | arch/alpha/kernel/setup.c | return sprintf(buffer, |
buffer | 146 | arch/i386/kernel/setup.c | int get_cpuinfo(char * buffer) |
buffer | 155 | arch/i386/kernel/setup.c | return sprintf(buffer,"cpu\t\t: %c86\n" |
buffer | 47 | arch/i386/kernel/sys_i386.c | asmlinkage int old_mmap(unsigned long *buffer) |
buffer | 53 | arch/i386/kernel/sys_i386.c | error = verify_area(VERIFY_READ, buffer, 6*sizeof(long)); |
buffer | 56 | arch/i386/kernel/sys_i386.c | flags = get_user(buffer+3); |
buffer | 58 | arch/i386/kernel/sys_i386.c | unsigned long fd = get_user(buffer+4); |
buffer | 63 | arch/i386/kernel/sys_i386.c | return do_mmap(file, get_user(buffer), get_user(buffer+1), |
buffer | 64 | arch/i386/kernel/sys_i386.c | get_user(buffer+2), flags, get_user(buffer+5)); |
buffer | 69 | arch/i386/kernel/sys_i386.c | asmlinkage int old_select(unsigned long *buffer) |
buffer | 77 | arch/i386/kernel/sys_i386.c | n = verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)); |
buffer | 80 | arch/i386/kernel/sys_i386.c | n = get_user(buffer); |
buffer | 81 | arch/i386/kernel/sys_i386.c | inp = (fd_set *) get_user(buffer+1); |
buffer | 82 | arch/i386/kernel/sys_i386.c | outp = (fd_set *) get_user(buffer+2); |
buffer | 83 | arch/i386/kernel/sys_i386.c | exp = (fd_set *) get_user(buffer+3); |
buffer | 84 | arch/i386/kernel/sys_i386.c | tvp = (struct timeval *) get_user(buffer+4); |
buffer | 57 | arch/sparc/prom/tree.c | prom_getproperty(int node, char *prop, char *buffer, int bufsize) |
buffer | 65 | arch/sparc/prom/tree.c | return prom_nodeops->no_getprop(node, prop, buffer); |
buffer | 987 | drivers/block/aztcd.c | memcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512); |
buffer | 990 | drivers/block/aztcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 374 | drivers/block/blk.h | req->buffer = bh->b_data; |
buffer | 1196 | drivers/block/cdu31a.c | input_data(char *buffer, |
buffer | 1220 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer, 2048); |
buffer | 1233 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
buffer | 1258 | drivers/block/cdu31a.c | read_data_block(char *buffer, |
buffer | 1297 | drivers/block/cdu31a.c | memcpy(buffer, |
buffer | 1308 | drivers/block/cdu31a.c | memcpy(buffer, |
buffer | 1376 | drivers/block/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
buffer | 1643 | drivers/block/cdu31a.c | read_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size); |
buffer | 1983 | drivers/block/cdu31a.c | read_audio_data(char *buffer, |
buffer | 2049 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer + CD_XA_HEAD, CD_FRAMESIZE_XA); |
buffer | 2054 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, buffer, CD_FRAMESIZE_RAW); |
buffer | 661 | drivers/block/cm206.c | dest = CURRENT->buffer + i*512; |
buffer | 987 | drivers/block/floppy.c | CURRENT->buffer != current_addr || |
buffer | 996 | drivers/block/floppy.c | CURRENT->buffer, CURRENT->nr_sectors, |
buffer | 2137 | drivers/block/floppy.c | CURRENT->buffer += current_count_sectors <<9; |
buffer | 2226 | drivers/block/floppy.c | if ( CT(COMMAND) != FD_READ || current_addr == CURRENT->buffer ){ |
buffer | 2245 | drivers/block/floppy.c | base = CURRENT->buffer; |
buffer | 2281 | drivers/block/floppy.c | char *buffer, *dma_buffer; |
buffer | 2317 | drivers/block/floppy.c | buffer = CURRENT->buffer; |
buffer | 2338 | drivers/block/floppy.c | if ( ((unsigned long)buffer) % 512 ) |
buffer | 2339 | drivers/block/floppy.c | DPRINT1("%p buffer not aligned\n", buffer); |
buffer | 2342 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
buffer | 2344 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
buffer | 2358 | drivers/block/floppy.c | buffer = bh->b_data; |
buffer | 2477 | drivers/block/floppy.c | } else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS ) { |
buffer | 2484 | drivers/block/floppy.c | if ( max_size > ( MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer))>>9) |
buffer | 2485 | drivers/block/floppy.c | max_size=(MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer))>>9; |
buffer | 2487 | drivers/block/floppy.c | if (CROSS_64KB(CURRENT->buffer, max_size << 9)) |
buffer | 2488 | drivers/block/floppy.c | max_size = ( K_64 - ((long) CURRENT->buffer) % K_64)>>9; |
buffer | 2504 | drivers/block/floppy.c | current_addr = CURRENT->buffer; |
buffer | 2557 | drivers/block/floppy.c | (current_addr != CURRENT->buffer && |
buffer | 2565 | drivers/block/floppy.c | if ( current_addr != CURRENT->buffer ) |
buffer | 2581 | drivers/block/floppy.c | if (current_addr != CURRENT->buffer ){ |
buffer | 3773 | drivers/block/floppy.c | char buffer[100]; |
buffer | 3787 | drivers/block/floppy.c | buffer[j] = c; |
buffer | 3790 | drivers/block/floppy.c | buffer[j] = '\0'; |
buffer | 3791 | drivers/block/floppy.c | setup(get_options(buffer,ints),ints); |
buffer | 255 | drivers/block/gscd.c | memcpy(CURRENT -> buffer, gscd_buf + offs, 512); |
buffer | 258 | drivers/block/gscd.c | CURRENT -> buffer += 512; |
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 | 738 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
buffer | 764 | drivers/block/hd.c | outsw(HD_DATA,CURRENT->buffer,256); |
buffer | 193 | drivers/block/ide-cd.c | void cdrom_in_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 195 | drivers/block/ide-cd.c | ide_input_data (drive, buffer, bytecount / 4); |
buffer | 198 | drivers/block/ide-cd.c | insw (IDE_DATA_REG, buffer + (bytecount & ~0x03), 1); |
buffer | 204 | drivers/block/ide-cd.c | void cdrom_out_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 206 | drivers/block/ide-cd.c | ide_output_data (drive, buffer, bytecount / 4); |
buffer | 209 | drivers/block/ide-cd.c | outsw (IDE_DATA_REG, buffer + (bytecount & ~0x03), 1); |
buffer | 460 | drivers/block/ide-cd.c | if (rq->buffer != rq->bh->b_data) |
buffer | 462 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
buffer | 463 | drivers/block/ide-cd.c | rq->buffer = rq->bh->b_data; |
buffer | 517 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
buffer | 530 | drivers/block/ide-cd.c | rq->buffer = (char *)pc; |
buffer | 562 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 610 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 621 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 996 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, rq->buffer, SECTOR_SIZE); |
buffer | 997 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1034 | drivers/block/ide-cd.c | memcpy (rq->buffer, |
buffer | 1038 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1192 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1209 | drivers/block/ide-cd.c | *pc->buffer++ = 0; |
buffer | 1245 | drivers/block/ide-cd.c | cdrom_out_bytes (drive, pc->buffer, thislen); |
buffer | 1257 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1274 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, pc->buffer, thislen); |
buffer | 1286 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1305 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1319 | 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 | 1660 | drivers/block/ide-cd.c | pc.buffer = (char *)&capbuf; |
buffer | 1684 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1803 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1825 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1844 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1992 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2172 | drivers/block/ide-cd.c | char buffer[16]; |
buffer | 2183 | drivers/block/ide-cd.c | stat = cdrom_read_subchannel (drive, buffer, sizeof (buffer), NULL); |
buffer | 2186 | drivers/block/ide-cd.c | abs_lba = *(int *)&buffer[8]; |
buffer | 2187 | drivers/block/ide-cd.c | rel_lba = *(int *)&buffer[12]; |
buffer | 2208 | drivers/block/ide-cd.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 2209 | drivers/block/ide-cd.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 2210 | drivers/block/ide-cd.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 2211 | drivers/block/ide-cd.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 2221 | drivers/block/ide-cd.c | char buffer[24], mask[24]; |
buffer | 2228 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer),NULL); |
buffer | 2230 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 1, mask , sizeof (buffer),NULL); |
buffer | 2233 | drivers/block/ide-cd.c | buffer[1] = buffer[2] = 0; |
buffer | 2235 | drivers/block/ide-cd.c | buffer[17] = volctrl.channel0 & mask[17]; |
buffer | 2236 | drivers/block/ide-cd.c | buffer[19] = volctrl.channel1 & mask[19]; |
buffer | 2237 | drivers/block/ide-cd.c | buffer[21] = volctrl.channel2 & mask[21]; |
buffer | 2238 | drivers/block/ide-cd.c | buffer[23] = volctrl.channel3 & mask[23]; |
buffer | 2240 | drivers/block/ide-cd.c | return cdrom_mode_select (drive, 0x0e, buffer, sizeof (buffer), NULL); |
buffer | 2246 | drivers/block/ide-cd.c | char buffer[24]; |
buffer | 2252 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer), NULL); |
buffer | 2255 | drivers/block/ide-cd.c | volctrl.channel0 = buffer[17]; |
buffer | 2256 | drivers/block/ide-cd.c | volctrl.channel1 = buffer[19]; |
buffer | 2257 | drivers/block/ide-cd.c | volctrl.channel2 = buffer[21]; |
buffer | 2258 | drivers/block/ide-cd.c | volctrl.channel3 = buffer[23]; |
buffer | 2445 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 304 | drivers/block/ide.c | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 314 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 319 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 321 | drivers/block/ide.c | insw(data_reg, buffer, wcount<<1); |
buffer | 327 | drivers/block/ide.c | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 337 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 342 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 344 | drivers/block/ide.c | outsw(data_reg, buffer, wcount<<1); |
buffer | 753 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 848 | drivers/block/ide.c | unsigned long buffer[16]; |
buffer | 851 | drivers/block/ide.c | ide_input_data (drive, buffer, wcount); |
buffer | 936 | drivers/block/ide.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
buffer | 940 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 943 | drivers/block/ide.c | rq->buffer += nsect<<9; |
buffer | 969 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 974 | drivers/block/ide.c | rq->buffer += 512; |
buffer | 981 | drivers/block/ide.c | ide_output_data (drive, rq->buffer, SECTOR_WORDS); |
buffer | 1009 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, nsect<<7); |
buffer | 1012 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 1020 | drivers/block/ide.c | rq->buffer = rq->bh->b_data; |
buffer | 1026 | drivers/block/ide.c | rq->buffer += nsect << 9; |
buffer | 1230 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1249 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1280 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, SECTOR_WORDS); |
buffer | 1285 | drivers/block/ide.c | byte *args = rq->buffer; |
buffer | 1617 | drivers/block/ide.c | rq.buffer = args; |
buffer | 164 | drivers/block/ide.h | char *buffer; |
buffer | 369 | drivers/block/ide.h | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 374 | drivers/block/ide.h | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 372 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 404 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 412 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, unsigned long page, char * buffer) |
buffer | 436 | drivers/block/ll_rw_blk.c | req->buffer = buffer; |
buffer | 566 | drivers/block/ll_rw_blk.c | req[j]->buffer = buf; |
buffer | 621 | drivers/block/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
buffer | 624 | drivers/block/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 245 | drivers/block/mcdx.c | const unsigned char* cmd, size_t, void *buffer, |
buffer | 585 | drivers/block/mcdx.c | CURRENT->buffer, |
buffer | 598 | drivers/block/mcdx.c | CURRENT->buffer += (i * 512); |
buffer | 855 | drivers/block/mcdx.c | void *buffer, size_t size, |
buffer | 864 | drivers/block/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
buffer | 892 | drivers/block/mcdx.c | char* bp = buffer; |
buffer | 707 | drivers/block/optcd.c | memcpy(CURRENT -> buffer, opt_buf + offs, nr_sectors * 512); |
buffer | 710 | drivers/block/optcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 50 | drivers/block/ramdisk.c | CURRENT->buffer, |
buffer | 53 | drivers/block/ramdisk.c | (void) memcpy(CURRENT->buffer, |
buffer | 2914 | drivers/block/sbpcd.c | static int cc_SubChanInfo(int frame, int count, u_char *buffer) |
buffer | 4366 | drivers/block/sbpcd.c | memcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512); |
buffer | 4369 | drivers/block/sbpcd.c | CURRENT->buffer += 512; |
buffer | 937 | drivers/block/sjcd.c | memcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 ); |
buffer | 940 | drivers/block/sjcd.c | CURRENT->buffer += nr_sectors * 512; |
buffer | 943 | drivers/block/sonycd535.c | memcpy(CURRENT->buffer, sony_buffer + copyoff, 512); |
buffer | 946 | drivers/block/sonycd535.c | memcpy(CURRENT->buffer, |
buffer | 952 | drivers/block/sonycd535.c | CURRENT->buffer += 512; |
buffer | 157 | drivers/block/triton.c | addr = virt_to_bus (rq->buffer); |
buffer | 227 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
buffer | 324 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
buffer | 331 | drivers/block/xd.c | printk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count); |
buffer | 347 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
buffer | 350 | drivers/block/xd.c | switch (xd_command(cmdblk,mode,(u_char *) buffer,(u_char *) buffer,sense,XD_TIMEOUT)) { |
buffer | 368 | drivers/block/xd.c | count -= temp, buffer += temp * 0x200, block += temp; |
buffer | 398 | drivers/block/xd.c | static u_char xd_setup_dma (u_char mode,u_char *buffer,u_int count) |
buffer | 400 | drivers/block/xd.c | if (buffer < ((u_char *) 0x1000000 - count)) { /* transfer to address < 16M? */ |
buffer | 401 | drivers/block/xd.c | if (((u_int) buffer & 0xFFFF0000) != (((u_int) buffer + count) & 0xFFFF0000)) { |
buffer | 410 | drivers/block/xd.c | set_dma_addr(xd_dma,(u_int) buffer); |
buffer | 139 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 144 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 154 | drivers/char/atixlmouse.c | put_user((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
buffer | 159 | drivers/char/atixlmouse.c | put_user((char)mouse.dx, buffer + 1); |
buffer | 164 | drivers/char/atixlmouse.c | put_user((char)-mouse.dy, buffer + 2); |
buffer | 166 | drivers/char/atixlmouse.c | put_user(0x00, buffer + i); |
buffer | 155 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 164 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 173 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
buffer | 202 | drivers/char/busmouse.c | put_user(buttons | 0x80, buffer); |
buffer | 203 | drivers/char/busmouse.c | put_user((char)dx, buffer + 1); |
buffer | 204 | drivers/char/busmouse.c | put_user((char)dy, buffer + 2); |
buffer | 206 | drivers/char/busmouse.c | put_user(0x00, buffer + r); |
buffer | 92 | drivers/char/conmakehash.c | char buffer[65536]; |
buffer | 182 | drivers/char/conmakehash.c | while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) |
buffer | 184 | drivers/char/conmakehash.c | if ( (p = strchr(buffer, '\n')) != NULL ) |
buffer | 189 | drivers/char/conmakehash.c | p = buffer; |
buffer | 210 | drivers/char/conmakehash.c | fprintf(stderr, "Bad input line: %s\n", buffer); |
buffer | 223 | 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 | 374 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 384 | drivers/char/psaux.c | outb_p(get_user(buffer++),AUX_OUTPUT_PORT); |
buffer | 396 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 403 | drivers/char/psaux.c | outb_p(get_user(buffer++), qp_data); |
buffer | 415 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 436 | drivers/char/psaux.c | put_user(c, buffer++); |
buffer | 140 | drivers/net/atp.c | static void read_block(short ioaddr, int length, unsigned char *buffer, int data_mode); |
buffer | 409 | drivers/net/de600.c | byte *buffer = skb->data; |
buffer | 464 | drivers/net/de600.c | for ( ; len > 0; --len, ++buffer) |
buffer | 465 | drivers/net/de600.c | de600_put_byte(*buffer); |
buffer | 591 | drivers/net/de600.c | register unsigned char *buffer; |
buffer | 625 | drivers/net/de600.c | buffer = skb_put(skb,size); |
buffer | 629 | drivers/net/de600.c | for (i = size; i > 0; --i, ++buffer) |
buffer | 630 | drivers/net/de600.c | *buffer = de600_read_byte(READ_DATA, dev); |
buffer | 282 | drivers/net/de620.c | de620_write_block(struct device *dev, byte *buffer, int count) |
buffer | 298 | drivers/net/de620.c | for ( ; count > 0; --count, ++buffer) { |
buffer | 299 | drivers/net/de620.c | de620_put_byte(dev,*buffer); |
buffer | 308 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 310 | drivers/net/de620.c | outb(*buffer++, DATA_PORT); |
buffer | 490 | drivers/net/de620.c | byte *buffer = skb->data; |
buffer | 555 | drivers/net/de620.c | de620_write_block(dev, buffer, len); |
buffer | 628 | drivers/net/de620.c | byte *buffer; |
buffer | 692 | drivers/net/de620.c | buffer = skb_put(skb,size); |
buffer | 694 | drivers/net/de620.c | de620_read_block(dev, buffer, size); |
buffer | 654 | drivers/net/ni52.c | p->xmit_buffs[i]->buffer = make24((p->xmit_cbuffs[i])); |
buffer | 710 | drivers/net/ni52.c | rbd[i].buffer = make24(ptr); |
buffer | 810 | 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 | 340 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
buffer | 349 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
buffer | 539 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb_put(skb1,len); |
buffer | 607 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) (skb->data); |
buffer | 610 | drivers/net/ni65.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len); |
buffer | 104 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 119 | drivers/net/ni65.h | volatile unsigned long buffer; |
buffer | 798 | drivers/net/ppp.c | char buffer[8]; |
buffer | 807 | drivers/net/ppp.c | buffer [count] = tty->read_q.buf[i]; |
buffer | 809 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, 8, KERNEL_DS); |
buffer | 814 | drivers/net/ppp.c | ppp_print_buffer (NULL, buffer, count, KERNEL_DS); |
buffer | 1050 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
buffer | 1066 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
buffer | 1260 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
buffer | 1605 | 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 | 2078 | drivers/net/wavelan.c | sprintf_stats(char *buffer, device *dev) |
buffer | 2087 | drivers/net/wavelan.c | return sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 2109 | drivers/net/wavelan.c | buffer, |
buffer | 2124 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2136 | drivers/net/wavelan.c | size = sprintf(buffer, "%s", "Iface | dce +nwid -nwid lvl slnc qual ntxq nrst\n"); |
buffer | 2150 | drivers/net/wavelan.c | size = sprintf_stats(buffer + len, lp->dev); |
buffer | 2169 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 2598 | drivers/scsi/53c7,8xx.c | virt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) : |
buffer | 2601 | drivers/scsi/53c7,8xx.c | ((struct scatterlist *)cmd->buffer)[i].length : |
buffer | 306 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
buffer | 308 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
buffer | 309 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 311 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 1966 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
buffer | 1968 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 1969 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 2127 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
buffer | 815 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = (struct scatterlist *)SCpnt->request_buffer; |
buffer | 816 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
buffer | 817 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 824 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = NULL; |
buffer | 2002 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2004 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2006 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 2138 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2140 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2142 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 1048 | drivers/scsi/aha1542.c | static buffer[512]; |
buffer | 1057 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 1248 | drivers/scsi/aic7xxx.c | static char buffer[128]; |
buffer | 1250 | drivers/scsi/aic7xxx.c | strcpy(buffer, "Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) "); |
buffer | 1251 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_C_VERSION)); |
buffer | 1252 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1253 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_H_VERSION)); |
buffer | 1254 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1255 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_SEQ_VER)); |
buffer | 1257 | drivers/scsi/aic7xxx.c | return buffer; |
buffer | 1367 | drivers/scsi/aic7xxx.c | sg = (struct scatterlist *) cmd->buffer; |
buffer | 1297 | drivers/scsi/buslogic.c | static buffer[512]; |
buffer | 1306 | drivers/scsi/buslogic.c | buslogic_command(0, cmd, buffer, sizeof buffer); |
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 | 102 | drivers/scsi/eata_dma_proc.c | return(eata_set_info(buffer, length, HBA_ptr)); |
buffer | 119 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len, "EATA (Extended Attachment) driver version: " |
buffer | 122 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "queued commands: %10ld\n" |
buffer | 126 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "\nscsi%-2d: HBA %.10s\n", |
buffer | 130 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Firmware revision: v%s\n", |
buffer | 134 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Hardware Configuration:\n"); |
buffer | 140 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
buffer | 142 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
buffer | 146 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
buffer | 149 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: EISA\n"); |
buffer | 205 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "IRQ: %2d, %s triggered\n", cc->interrupt, |
buffer | 210 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: BUSMASTER\n"); |
buffer | 212 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "DMA: %d\n", HBA_ptr->dma_channel); |
buffer | 215 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "CPU: MC680%02d %dMHz\n", bt->cpu_type, |
buffer | 219 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base); |
buffer | 222 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Bus: %s\n", |
buffer | 228 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI Bus:%s%s Speed: %sMB/sec. %s\n", |
buffer | 235 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SCSI channel expansion Module: %s present\n", |
buffer | 240 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartRAID hardware: %spresent.\n", |
buffer | 244 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
buffer | 253 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max array groups: %d\n", |
buffer | 257 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 0 array: %d\n", |
buffer | 261 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Max drives per RAID 3/5 array: %d\n", |
buffer | 265 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Cache Module: %spresent.\n", |
buffer | 269 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Type: %s\n", |
buffer | 278 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, " Bank%d: %dMB with%s ECC\n",x, |
buffer | 284 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Timer Mod.: %spresent\n", |
buffer | 288 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "NVRAM : %spresent\n", |
buffer | 292 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "SmartROM : %sabled\n", |
buffer | 296 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Alarm : %s\n", |
buffer | 354 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host<->Disk command statistics:\n" |
buffer | 359 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u\n", 1 << x, |
buffer | 365 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u\n", |
buffer | 370 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Sum : %12u %12u\n", |
buffer | 385 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, "Host Latency Command Statistics:\n" |
buffer | 391 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
buffer | 403 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
buffer | 421 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer + len, |
buffer | 426 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"%5dk:%12u %12u %12u %12u\n", |
buffer | 438 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,">1024k:%12u %12u %12u %12u\n", |
buffer | 459 | drivers/scsi/eata_dma_proc.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 465 | drivers/scsi/eata_dma_proc.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 481 | drivers/scsi/eata_dma_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 115 | drivers/scsi/eata_pio.c | SCp->buffer++; |
buffer | 116 | drivers/scsi/eata_pio.c | SCp->ptr=SCp->buffer->address; |
buffer | 117 | drivers/scsi/eata_pio.c | SCp->this_residual=SCp->buffer->length; |
buffer | 363 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = NULL; |
buffer | 365 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = cmd->request_buffer; |
buffer | 367 | drivers/scsi/eata_pio.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 368 | drivers/scsi/eata_pio.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 645 | drivers/scsi/eata_pio.c | unchar buffer[512]; |
buffer | 658 | drivers/scsi/eata_pio.c | insw(base + HA_RDATA, &buffer, 256); |
buffer | 661 | drivers/scsi/eata_pio.c | for (z = 0; z < 511 && buffer[z]; z++) |
buffer | 662 | 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 | 950 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 999 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 1002 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain TMC-16x0 SCSI driver, version" ); |
buffer | 1004 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 1005 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 1007 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 1012 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION ); |
buffer | 1015 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1445 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1446 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1447 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1478 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1479 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1480 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1561 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1563 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1564 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1569 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = NULL; |
buffer | 109 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, |
buffer | 111 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 916 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1061 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1132 | drivers/scsi/scsi.c | SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 1213 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 1226 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
buffer | 1278 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 1290 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1703 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 2508 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2523 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 2528 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, HBA_ptr->hostt->procname); |
buffer | 2535 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 2552 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 2559 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
buffer | 2562 | drivers/scsi/scsi.c | if(!strncmp("singledevice", buffer + 5, 12)) { |
buffer | 2563 | drivers/scsi/scsi.c | p = buffer + 17; |
buffer | 331 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 364 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 431 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, |
buffer | 485 | drivers/scsi/scsi.h | req->buffer = bh->b_data; |
buffer | 140 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 147 | drivers/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 149 | drivers/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
buffer | 625 | drivers/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 626 | drivers/scsi/scsi_debug.c | return buffer; |
buffer | 632 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
buffer | 641 | drivers/scsi/scsi_debug.c | if (length >= 10 && strncmp(buffer, "scsi_debug", 10) == 0) { |
buffer | 642 | drivers/scsi/scsi_debug.c | buffer += 11; |
buffer | 649 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "lockup", length) == 0 ) |
buffer | 655 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "unlock", length) == 0 ) |
buffer | 661 | drivers/scsi/scsi_debug.c | printk("Unknown command:%s\n", buffer); |
buffer | 663 | drivers/scsi/scsi_debug.c | printk("Wrong Signature:%10s\n", (char *) ((ulong)buffer-11)); |
buffer | 670 | drivers/scsi/scsi_debug.c | pos = len = sprintf(buffer, |
buffer | 680 | drivers/scsi/scsi_debug.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 43 | drivers/scsi/scsi_ioctl.c | static int ioctl_probe(struct Scsi_Host * host, void *buffer) |
buffer | 49 | drivers/scsi/scsi_ioctl.c | if ((temp = host->hostt->present) && buffer) { |
buffer | 50 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, sizeof(long)); |
buffer | 53 | drivers/scsi/scsi_ioctl.c | len = get_user ((unsigned int *) buffer); |
buffer | 62 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, buffer, len); |
buffer | 65 | drivers/scsi/scsi_ioctl.c | memcpy_tofs (buffer, string, len); |
buffer | 170 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 181 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 188 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, 2*sizeof(long) + 1); |
buffer | 200 | drivers/scsi/scsi_ioctl.c | inlen = get_user((unsigned int *) buffer); |
buffer | 201 | drivers/scsi/scsi_ioctl.c | outlen = get_user( ((unsigned int *) buffer) + 1); |
buffer | 211 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 300 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 78 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
buffer | 87 | drivers/scsi/scsi_proc.c | pos = len = sprintf(buffer, |
buffer | 94 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 105 | drivers/scsi/scsi_proc.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 116 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
buffer | 122 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
buffer | 125 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
buffer | 348 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
buffer | 352 | drivers/scsi/scsi_proc.c | y = sprintf(buffer + len, |
buffer | 357 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->vendor[x]); |
buffer | 359 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y," "); |
buffer | 361 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Model: "); |
buffer | 364 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->model[x]); |
buffer | 366 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 368 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Rev: "); |
buffer | 371 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->rev[x]); |
buffer | 373 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 375 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 377 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Type: %s ", |
buffer | 380 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " ANSI" |
buffer | 383 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " CCS\n"); |
buffer | 385 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 229 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 244 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); |
buffer | 246 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 248 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 252 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 254 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 289 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 292 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 299 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 302 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 305 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 306 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 614 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 633 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 678 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 724 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 817 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 932 | drivers/scsi/sd.c | unsigned char *buffer; |
buffer | 943 | drivers/scsi/sd.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 962 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 994 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1023 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
buffer | 1030 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1102 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
buffer | 1103 | drivers/scsi/sd.c | (buffer[1] << 16) | |
buffer | 1104 | drivers/scsi/sd.c | (buffer[2] << 8) | |
buffer | 1105 | drivers/scsi/sd.c | buffer[3]; |
buffer | 1107 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 1108 | drivers/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1148 | drivers/scsi/sd.c | scsi_free(buffer, 512); |
buffer | 395 | drivers/scsi/seagate.c | static char buffer[64]; |
buffer | 396 | drivers/scsi/seagate.c | sprintf(buffer, "%s at irq %d, address 0x%05X", |
buffer | 399 | drivers/scsi/seagate.c | return buffer; |
buffer | 589 | drivers/scsi/seagate.c | struct scatterlist *buffer = NULL; |
buffer | 713 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 909 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 913 | drivers/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 914 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 915 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 920 | drivers/scsi/seagate.c | buffer = NULL; |
buffer | 1149 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1150 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1151 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1295 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1296 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1297 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1366 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1398 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1407 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 164 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 168 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
buffer | 169 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
buffer | 181 | drivers/scsi/sr.c | (char *)SCpnt->buffer + 1024, |
buffer | 186 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, 2048); |
buffer | 191 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 200 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 230 | drivers/scsi/sr.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 236 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 238 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 239 | drivers/scsi/sr.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 639 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 652 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 758 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 806 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 837 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 841 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 846 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 847 | drivers/scsi/sr.c | if (((long) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD && |
buffer | 849 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 897 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 919 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 975 | drivers/scsi/sr.c | unsigned char *buffer; |
buffer | 979 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 990 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 993 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 1023 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 1024 | drivers/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 1025 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 1026 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1040 | drivers/scsi/sr.c | scsi_free(buffer, 512); |
buffer | 43 | drivers/scsi/sr_ioctl.c | static int do_ioctl(int target, unsigned char * sr_cmd, void * buffer, unsigned buflength) |
buffer | 50 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 189 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 199 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 200 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 202 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
buffer | 204 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 205 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 207 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 220 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 235 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 236 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 238 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 241 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 242 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 243 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 244 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 247 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 249 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 301 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 318 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 319 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 321 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 323 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 336 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 342 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 348 | drivers/scsi/sr_ioctl.c | buffer[0] = 0; /* Clear reserved field */ |
buffer | 350 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 351 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 352 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 353 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 361 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 362 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 370 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 382 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 383 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 385 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 387 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 389 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 390 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 391 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 393 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 394 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 395 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 396 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 397 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 398 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 400 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 166 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 178 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 180 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 183 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 184 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 185 | drivers/scsi/st.c | if ((STp->buffer)->writing) |
buffer | 189 | drivers/scsi/st.c | if (!(STp->buffer)->writing || STp->write_pending) |
buffer | 209 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 261 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, 0, |
buffer | 271 | drivers/scsi/st.c | if ((STp->buffer)->last_result != 0) { |
buffer | 278 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 293 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 295 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 299 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 301 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 314 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 321 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 332 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
buffer | 341 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 347 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 358 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 378 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 397 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 398 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 399 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 401 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 402 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 449 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 450 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 451 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 480 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 498 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 512 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 540 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 550 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 551 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 552 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 553 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 574 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 583 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 589 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = 0; /* Prevent error propagation */ |
buffer | 596 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 597 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 600 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 601 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 602 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 603 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 604 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 608 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 609 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 617 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 625 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = st_buffer_size / STp->block_size; |
buffer | 626 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 627 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 630 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 631 | drivers/scsi/st.c | (STp->buffer)->buffer_size = st_buffer_size; |
buffer | 633 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 638 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 639 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 642 | drivers/scsi/st.c | STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; |
buffer | 650 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 651 | drivers/scsi/st.c | STp->buffer = 0; |
buffer | 703 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
buffer | 712 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 747 | drivers/scsi/st.c | if (STp->buffer != NULL) |
buffer | 748 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 812 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 814 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 818 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 820 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 841 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_size; |
buffer | 858 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
buffer | 864 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_size - (STp->buffer)->buffer_bytes; |
buffer | 868 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 869 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 874 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 883 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
buffer | 892 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 943 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 959 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 964 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 965 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 967 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 971 | drivers/scsi/st.c | if (doing_write && (STp->buffer)->last_result_fatal != 0) { |
buffer | 973 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 977 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes >= STp->write_threshold || |
buffer | 981 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 983 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 985 | drivers/scsi/st.c | STp->dirty = !((STp->buffer)->writing == |
buffer | 986 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 989 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 991 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 998 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 999 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 1056 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1058 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 1068 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 1078 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 1095 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 1104 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1108 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 1135 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1146 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1148 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1153 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1159 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1161 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1167 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 1195 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 1201 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 1207 | drivers/scsi/st.c | STp->drv_block += (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1213 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 1217 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 1219 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 1220 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 1221 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 1222 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 1226 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 1227 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1605 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1617 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1619 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1621 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1623 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1625 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1627 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1632 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1633 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1634 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1640 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1641 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1642 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1645 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1648 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1661 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, datalen, |
buffer | 1670 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 1699 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 1701 | drivers/scsi/st.c | (STp->buffer)->buffer_size = |
buffer | 1702 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 1705 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 1706 | drivers/scsi/st.c | (STp->buffer)->buffer_size = st_buffer_size; |
buffer | 1708 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1709 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1882 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1884 | drivers/scsi/st.c | (STp->mt_status)->mt_blkno -= ((STp->buffer)->buffer_bytes + |
buffer | 1952 | drivers/scsi/st.c | (void *) scmd, (void *) (STp->buffer)->b_data, |
buffer | 1961 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1972 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 1973 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 1974 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 1976 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 1977 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 1978 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 1979 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 46 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 739 | fs/ext/namei.c | #define PARENT_INO(buffer) \ |
buffer | 740 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 741 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->inode |
buffer | 743 | fs/ext/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 744 | fs/ext/namei.c | ((struct ext_dir_entry *) ((char *) buffer + \ |
buffer | 745 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->name |
buffer | 85 | fs/ext/symlink.c | static int ext_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 104 | fs/ext/symlink.c | put_user(c,buffer++); |
buffer | 905 | fs/ext2/namei.c | #define PARENT_INO(buffer) \ |
buffer | 906 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 907 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->inode |
buffer | 909 | fs/ext2/namei.c | #define PARENT_NAME(buffer) \ |
buffer | 910 | fs/ext2/namei.c | ((struct ext2_dir_entry *) ((char *) buffer + \ |
buffer | 911 | fs/ext2/namei.c | ((struct ext2_dir_entry *) buffer)->rec_len))->name |
buffer | 96 | fs/ext2/symlink.c | static int ext2_readlink (struct inode * inode, char * buffer, int buflen) |
buffer | 122 | fs/ext2/symlink.c | put_user (c, buffer++); |
buffer | 79 | fs/isofs/file.c | static inline void unixify_to_fs(char * outbuf, char * buffer, int chars, |
buffer | 85 | fs/isofs/file.c | outchar = *buffer; |
buffer | 92 | fs/isofs/file.c | buffer++; |
buffer | 43 | fs/isofs/rock.c | void * buffer = 0 |
buffer | 57 | fs/isofs/rock.c | {if (buffer) kfree(buffer); \ |
buffer | 61 | fs/isofs/rock.c | buffer = kmalloc(cont_size,GFP_KERNEL); \ |
buffer | 62 | fs/isofs/rock.c | if (!buffer) goto out; \ |
buffer | 73 | fs/isofs/rock.c | kfree(buffer); \ |
buffer | 74 | fs/isofs/rock.c | buffer = NULL; } else { \ |
buffer | 75 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
buffer | 81 | fs/isofs/rock.c | if(buffer) { \ |
buffer | 84 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
buffer | 86 | fs/isofs/rock.c | chr = (unsigned char *) buffer; \ |
buffer | 169 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 236 | fs/isofs/rock.c | if (buffer) kfree(buffer); |
buffer | 252 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 397 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 529 | fs/isofs/rock.c | if(buffer) kfree(buffer); |
buffer | 84 | fs/isofs/symlink.c | static int isofs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 106 | fs/isofs/symlink.c | put_user(c,buffer++); |
buffer | 28 | fs/minix/namei.c | const char * name, const char * buffer) |
buffer | 32 | fs/minix/namei.c | if (len < maxlen && buffer[len]) |
buffer | 34 | fs/minix/namei.c | return !memcmp(name, buffer, len); |
buffer | 663 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 664 | fs/minix/namei.c | (((struct minix_dir_entry *) ((buffer)+info->s_dirsize))->inode) |
buffer | 83 | fs/minix/symlink.c | static int minix_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 102 | fs/minix/symlink.c | put_user(c,buffer++); |
buffer | 98 | fs/nfs/symlink.c | static int nfs_readlink(struct inode *inode, char *buffer, int buflen) |
buffer | 114 | fs/nfs/symlink.c | memcpy_tofs(buffer, res, len); |
buffer | 115 | fs/nfs/symlink.c | put_user('\0', buffer + len); |
buffer | 53 | fs/proc/array.c | int get_malloc(char * buffer); |
buffer | 169 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 176 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d %d/%d\n", |
buffer | 183 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 190 | fs/proc/array.c | len = sprintf(buffer, |
buffer | 210 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
buffer | 211 | fs/proc/array.c | len += sprintf(buffer + len, |
buffer | 220 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 238 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 244 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 252 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 258 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers:\n" |
buffer | 265 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 269 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 270 | fs/proc/array.c | return strlen(buffer); |
buffer | 315 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 332 | fs/proc/array.c | buffer[size++] = c; |
buffer | 343 | fs/proc/array.c | while (result>0 && buffer[result-1]==' ') |
buffer | 348 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 354 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
buffer | 357 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 363 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
buffer | 395 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 440 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 555 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 585 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 171 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 194 | fs/proc/link.c | put_user(buf[i++],buffer++); |
buffer | 177 | fs/proc/root.c | static int proc_self_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 186 | fs/proc/root.c | memcpy_tofs(buffer, tmp, len); |
buffer | 169 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
buffer | 174 | fs/proc/scsi.c | pos = len = sprintf(buffer, |
buffer | 181 | fs/proc/scsi.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 470 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 472 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 486 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 488 | fs/smbfs/sock.c | DDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]); |
buffer | 495 | fs/smbfs/sock.c | result = sock->ops->send(sock, (void *)buffer, len, 0, 0); |
buffer | 538 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 540 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 554 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 561 | fs/smbfs/sock.c | DDPRINTK("smb_request: len = %d cmd = 0x%X\n", len, buffer[8]); |
buffer | 563 | fs/smbfs/sock.c | result = sock->ops->send(sock, (void *)buffer, len, 0, 0); |
buffer | 604 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 606 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 620 | fs/smbfs/sock.c | len = smb_len(buffer) + 4; |
buffer | 628 | fs/smbfs/sock.c | len, buffer[8]); |
buffer | 632 | fs/smbfs/sock.c | (unsigned int)buffer, (unsigned int)sock); |
buffer | 634 | fs/smbfs/sock.c | result = sock->ops->send(sock, (void *)buffer, len, 0, 0); |
buffer | 679 | fs/smbfs/sock.c | unsigned char *buffer = (server == NULL) ? NULL : server->packet; |
buffer | 681 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
buffer | 30 | fs/sysv/namei.c | const char * name, const char * buffer) |
buffer | 34 | fs/sysv/namei.c | if (len < maxlen && buffer[len]) |
buffer | 36 | fs/sysv/namei.c | return !memcmp(name, buffer, len); |
buffer | 659 | fs/sysv/namei.c | #define PARENT_INO(buffer) \ |
buffer | 660 | fs/sysv/namei.c | (((struct sysv_dir_entry *) ((buffer) + 1*SYSV_DIRSIZE))->inode) |
buffer | 89 | fs/sysv/symlink.c | static int sysv_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 110 | fs/sysv/symlink.c | put_user(c,buffer++); |
buffer | 208 | fs/umsdos/emd.c | char buffer[CHUNK_SIZE]; |
buffer | 229 | fs/umsdos/emd.c | memcpy (buf->buffer,buf->buffer+buf->pos,mustmove); |
buffer | 236 | fs/umsdos/emd.c | ret = umsdos_emd_dir_read (inode,&buf->filp,buf->buffer+mustmove |
buffer | 301 | fs/umsdos/emd.c | (buf.buffer + buf.pos); |
buffer | 33 | fs/umsdos/symlink.c | char *buffer, |
buffer | 42 | fs/umsdos/symlink.c | if ((*msdos_read) (inode, &filp, buffer,ret) != ret){ |
buffer | 104 | fs/umsdos/symlink.c | static int UMSDOS_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 108 | fs/umsdos/symlink.c | ret = umsdos_readlink_x (inode,buffer,msdos_file_read,buflen); |
buffer | 704 | fs/xiafs/namei.c | #define PARENT_INO(buffer) \ |
buffer | 705 | fs/xiafs/namei.c | (((struct xiafs_direct *) ((u_char *)(buffer) + 12))->d_ino) |
buffer | 51 | fs/xiafs/symlink.c | static int xiafs_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 72 | fs/xiafs/symlink.c | put_user(c, buffer++); |
buffer | 74 | fs/xiafs/symlink.c | put_user('\0', buffer); |
buffer | 21 | include/linux/blkdev.h | char * buffer; |
buffer | 489 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, unsigned long nr, char * buffer); |
buffer | 490 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
buffer | 29 | include/linux/ldt.h | extern int get_ldt(void *buffer); |
buffer | 219 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
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 | 13 | include/net/arp.h | extern int arp_get_info(char *buffer, char **start, off_t origin, int length, int dummy); |
buffer | 6 | include/net/rarp.h | extern int rarp_get_info(char *buffer, |
buffer | 51 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
buffer | 91 | kernel/ksyms.c | int (* dispatch_scsi_info_ptr) (int ino, char *buffer, char **start, |
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 | 218 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 231 | net/appletalk/ddp.c | len += sprintf (buffer,"Type local_addr remote_addr tx_queue rx_queue st uid\n"); |
buffer | 234 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
buffer | 235 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 237 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 239 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc); |
buffer | 240 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
buffer | 255 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 820 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 827 | net/appletalk/ddp.c | len += sprintf (buffer,"Interface Address Networks Status\n"); |
buffer | 830 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%-16s %04X:%02X %04X-%04X %d\n", |
buffer | 844 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 853 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 860 | net/appletalk/ddp.c | len += sprintf (buffer,"Target Router Flags Dev\n"); |
buffer | 864 | net/appletalk/ddp.c | len += sprintf (buffer+len,"Default %5d:%-3d %-4d %s\n", |
buffer | 870 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X %5d:%-3d %-4d %s\n", |
buffer | 883 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 2030 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2041 | 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 | 2049 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 2051 | 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 | 2066 | net/ax25/af_ax25.c | len += sprintf(buffer + len, " %5ld %5ld\n", |
buffer | 2070 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "\n"); |
buffer | 2086 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
buffer | 266 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 276 | net/ax25/ax25_route.c | len += sprintf(buffer, "callsign dev count time mode digipeaters\n"); |
buffer | 279 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%-9s %-4s %5d %9d", |
buffer | 288 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " vc"); |
buffer | 292 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " dg"); |
buffer | 295 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " "); |
buffer | 301 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i])); |
buffer | 303 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 318 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 326 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 335 | net/ax25/ax25_route.c | len += sprintf(buffer, "Policy: %d\n", ax25_uid_policy); |
buffer | 338 | net/ax25/ax25_route.c | len += sprintf(buffer + len, "%6d %s\n", pt->uid, ax2asc(&pt->call)); |
buffer | 353 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
buffer | 887 | net/core/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
buffer | 893 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
buffer | 905 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 915 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 925 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
buffer | 934 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
buffer | 947 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1055 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1066 | net/ipv4/arp.c | size = sprintf(buffer,"IP address HW type Flags HW address Mask\n"); |
buffer | 1102 | net/ipv4/arp.c | size = sprintf(buffer+len, |
buffer | 1108 | net/ipv4/arp.c | size += sprintf(buffer+len+size, |
buffer | 1127 | net/ipv4/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 2020 | net/ipv4/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2028 | net/ipv4/ip.c | len=sprintf(buffer,"Device : Count\tGroup Users Timer\n"); |
buffer | 2036 | net/ipv4/ip.c | len+=sprintf(buffer+len,"%-10s: %5d\n", |
buffer | 2040 | net/ipv4/ip.c | len+=sprintf(buffer+len, |
buffer | 2056 | net/ipv4/ip.c | *start=buffer+(offset-begin); |
buffer | 1450 | net/ipv4/ip_fw.c | static int ip_chain_procinfo(int stage, char *buffer, char **start, |
buffer | 1464 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall block rules, default %d\n", |
buffer | 1469 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
buffer | 1476 | net/ipv4/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
buffer | 1491 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ", |
buffer | 1495 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%u %u %-9lu %-9lu", |
buffer | 1498 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
buffer | 1499 | net/ipv4/ip_fw.c | buffer[len++]='\n'; |
buffer | 1500 | net/ipv4/ip_fw.c | buffer[len]='\0'; |
buffer | 1518 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 1528 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1531 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
buffer | 1539 | net/ipv4/ip_fw.c | static int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1542 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
buffer | 1546 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1549 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
buffer | 1556 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1564 | net/ipv4/ip_fw.c | len=sprintf(buffer,"Prc FromIP FPrt ToIP TPrt Masq Init-seq Delta Expires\n"); |
buffer | 1574 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%s %08lX:%04X %08lX:%04X %04X %08X %5d %lu\n", |
buffer | 1594 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 59 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
buffer | 75 | net/ipv4/proc.c | len += sprintf(buffer, "sl local_address rem_address st tx_queue rx_queue tr tm->when uid\n"); |
buffer | 112 | net/ipv4/proc.c | len += sprintf(buffer+len, "%2d: %08lX:%04X %08lX:%04X %02X %08lX:%08lX %02X:%08lX %08X %d %d\n", |
buffer | 143 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
buffer | 151 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 153 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
buffer | 157 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 159 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
buffer | 163 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 165 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
buffer | 172 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 178 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
buffer | 180 | net/ipv4/proc.c | len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); |
buffer | 181 | net/ipv4/proc.c | len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |
buffer | 183 | net/ipv4/proc.c | len += sprintf(buffer+len,"UDP: inuse %d highest %d\n", |
buffer | 185 | net/ipv4/proc.c | len += sprintf(buffer+len,"RAW: inuse %d highest %d\n", |
buffer | 187 | net/ipv4/proc.c | len += sprintf(buffer+len,"PAC: inuse %d highest %d\n", |
buffer | 189 | net/ipv4/proc.c | *start = buffer + offset; |
buffer | 201 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 210 | net/ipv4/proc.c | len = sprintf (buffer, |
buffer | 224 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 241 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 251 | net/ipv4/proc.c | len += sprintf (buffer + len, |
buffer | 263 | net/ipv4/proc.c | *start = buffer; |
buffer | 266 | net/ipv4/proc.c | *start = buffer + offset; |
buffer | 482 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 493 | net/ipv4/rarp.c | size = sprintf(buffer,"RARP disabled until entries added to cache.\n"); |
buffer | 499 | net/ipv4/rarp.c | size = sprintf(buffer, |
buffer | 514 | net/ipv4/rarp.c | size = sprintf(buffer+len, |
buffer | 539 | net/ipv4/rarp.c | *start = buffer+(offset-begin); /* Start of wanted data */ |
buffer | 556 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 564 | net/ipv4/route.c | len += sprintf(buffer, |
buffer | 574 | net/ipv4/route.c | size = sprintf(buffer+len, "%s\t%08lX\t%08lX\t%02X\t%d\t%lu\t%d\t%08lX\t%d\t%lu\t%u\n", |
buffer | 589 | net/ipv4/route.c | *start=buffer+(offset-begin); |
buffer | 1129 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
buffer | 1139 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
buffer | 1142 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
buffer | 1143 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
buffer | 1146 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
buffer | 1148 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
buffer | 1149 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%s\n", |
buffer | 1164 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1172 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
buffer | 1183 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1188 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX:%04X ", |
buffer | 1192 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
buffer | 1194 | net/ipx/af_ipx.c | len += sprintf (buffer+len, |
buffer | 1202 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %08lX ", |
buffer | 1204 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
buffer | 1221 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1229 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
buffer | 1237 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
buffer | 1241 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
buffer | 1243 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
buffer | 1249 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
buffer | 1261 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
buffer | 1342 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1353 | 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 | 1361 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1363 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1365 | 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 | 1393 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
buffer | 696 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
buffer | 707 | net/netrom/nr_route.c | len += sprintf(buffer, "callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n"); |
buffer | 710 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%-9s %-7s %d %d", |
buffer | 717 | net/netrom/nr_route.c | len += sprintf(buffer + len, " %3d %d %05d", |
buffer | 723 | net/netrom/nr_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 738 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 746 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
buffer | 756 | net/netrom/nr_route.c | len += sprintf(buffer, "addr callsign dev qual lock count\n"); |
buffer | 759 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%05d %-9s %-4s %3d %d %3d\n", |
buffer | 780 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 1318 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1320 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
buffer | 1323 | net/socket.c | *start = buffer; |
buffer | 1326 | net/socket.c | *start = buffer + offset; |
buffer | 969 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 976 | net/unix/af_unix.c | len+= sprintf(buffer,"Num RefCount Protocol Flags Type St Path\n"); |
buffer | 980 | net/unix/af_unix.c | len+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X", |
buffer | 988 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
buffer | 990 | net/unix/af_unix.c | buffer[len++]='\n'; |
buffer | 1002 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
buffer | 158 | scripts/ksymoops.cc | char buffer[1024]; |
buffer | 162 | scripts/ksymoops.cc | cin >> buffer; |
buffer | 163 | scripts/ksymoops.cc | if (strequ(buffer, "EIP:")) { |
buffer | 165 | scripts/ksymoops.cc | cin >> buffer[0]; |
buffer | 170 | scripts/ksymoops.cc | } else if (strequ(buffer, "Trace:")) { |