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 | 155 | arch/i386/kernel/setup.c | int get_cpuinfo(char * buffer) |
buffer | 165 | arch/i386/kernel/setup.c | return sprintf(buffer,"cpu\t\t: %c86\n" |
buffer | 201 | arch/i386/kernel/setup.c | char *bp=buffer; |
buffer | 284 | arch/i386/kernel/setup.c | return bp-buffer; |
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 | 1037 | drivers/block/floppy.c | CURRENT->buffer != raw_cmd->kernel_data || |
buffer | 1047 | drivers/block/floppy.c | CURRENT->buffer, CURRENT->nr_sectors, |
buffer | 2186 | drivers/block/floppy.c | CURRENT->buffer += current_count_sectors <<9; |
buffer | 2274 | drivers/block/floppy.c | raw_cmd->kernel_data == CURRENT->buffer ){ |
buffer | 2293 | drivers/block/floppy.c | base = CURRENT->buffer; |
buffer | 2329 | drivers/block/floppy.c | char *buffer, *dma_buffer; |
buffer | 2365 | drivers/block/floppy.c | buffer = CURRENT->buffer; |
buffer | 2386 | drivers/block/floppy.c | if ( ((unsigned long)buffer) % 512 ) |
buffer | 2387 | drivers/block/floppy.c | DPRINT1("%p buffer not aligned\n", buffer); |
buffer | 2391 | drivers/block/floppy.c | memcpy( buffer, dma_buffer, size); |
buffer | 2394 | drivers/block/floppy.c | memcpy( dma_buffer, buffer, size); |
buffer | 2410 | drivers/block/floppy.c | buffer = bh->b_data; |
buffer | 2530 | drivers/block/floppy.c | } else if ((unsigned long)CURRENT->buffer < MAX_DMA_ADDRESS ) { |
buffer | 2537 | drivers/block/floppy.c | if ( max_size > ( MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer))>>9) |
buffer | 2538 | drivers/block/floppy.c | max_size=(MAX_DMA_ADDRESS - ((unsigned long) CURRENT->buffer))>>9; |
buffer | 2540 | drivers/block/floppy.c | if (CROSS_64KB(CURRENT->buffer, max_size << 9)) |
buffer | 2541 | drivers/block/floppy.c | max_size = ( K_64 - ((long) CURRENT->buffer) % K_64)>>9; |
buffer | 2557 | drivers/block/floppy.c | raw_cmd->kernel_data = CURRENT->buffer; |
buffer | 2611 | drivers/block/floppy.c | (raw_cmd->kernel_data != CURRENT->buffer && |
buffer | 2619 | drivers/block/floppy.c | if ( raw_cmd->kernel_data != CURRENT->buffer ) |
buffer | 2636 | drivers/block/floppy.c | if (raw_cmd->kernel_data != CURRENT->buffer ){ |
buffer | 4011 | drivers/block/floppy.c | char buffer[100]; |
buffer | 4023 | drivers/block/floppy.c | buffer[j] = c; |
buffer | 4026 | drivers/block/floppy.c | buffer[j] = '\0'; |
buffer | 4027 | 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 | 200 | drivers/block/ide-cd.c | void cdrom_in_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 203 | drivers/block/ide-cd.c | ide_input_data (drive, buffer, bytecount / 4); |
buffer | 206 | drivers/block/ide-cd.c | insw (IDE_DATA_REG, buffer + (bytecount & ~0x03), 1); |
buffer | 212 | drivers/block/ide-cd.c | void cdrom_out_bytes (ide_drive_t *drive, void *buffer, uint bytecount) |
buffer | 215 | drivers/block/ide-cd.c | ide_output_data (drive, buffer, bytecount / 4); |
buffer | 218 | drivers/block/ide-cd.c | outsw (IDE_DATA_REG, buffer + (bytecount & ~0x03), 1); |
buffer | 487 | drivers/block/ide-cd.c | if (rq->buffer != rq->bh->b_data) |
buffer | 489 | drivers/block/ide-cd.c | int n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE; |
buffer | 490 | drivers/block/ide-cd.c | rq->buffer = rq->bh->b_data; |
buffer | 545 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
buffer | 557 | drivers/block/ide-cd.c | rq->buffer = (char *)pc; |
buffer | 589 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 591 | drivers/block/ide-cd.c | (struct atapi_request_sense *)(pc->buffer - pc->c[4]), |
buffer | 639 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 650 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1031 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, rq->buffer, SECTOR_SIZE); |
buffer | 1032 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1069 | drivers/block/ide-cd.c | memcpy (rq->buffer, |
buffer | 1073 | drivers/block/ide-cd.c | rq->buffer += SECTOR_SIZE; |
buffer | 1225 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1242 | drivers/block/ide-cd.c | *pc->buffer++ = 0; |
buffer | 1278 | drivers/block/ide-cd.c | cdrom_out_bytes (drive, pc->buffer, thislen); |
buffer | 1290 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1307 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, pc->buffer, thislen); |
buffer | 1319 | drivers/block/ide-cd.c | pc->buffer += thislen; |
buffer | 1338 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1349 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
buffer | 1424 | drivers/block/ide-cd.c | req.buffer = (char *)pc; |
buffer | 1691 | drivers/block/ide-cd.c | pc.buffer = (char *)&capbuf; |
buffer | 1715 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1835 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1857 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 1876 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2024 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 2204 | drivers/block/ide-cd.c | char buffer[16]; |
buffer | 2215 | drivers/block/ide-cd.c | stat = cdrom_read_subchannel (drive, buffer, sizeof (buffer), NULL); |
buffer | 2218 | drivers/block/ide-cd.c | abs_lba = *(int *)&buffer[8]; |
buffer | 2219 | drivers/block/ide-cd.c | rel_lba = *(int *)&buffer[12]; |
buffer | 2240 | drivers/block/ide-cd.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 2241 | drivers/block/ide-cd.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 2242 | drivers/block/ide-cd.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 2243 | drivers/block/ide-cd.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 2253 | drivers/block/ide-cd.c | char buffer[24], mask[24]; |
buffer | 2260 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer),NULL); |
buffer | 2262 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 1, mask , sizeof (buffer),NULL); |
buffer | 2265 | drivers/block/ide-cd.c | buffer[1] = buffer[2] = 0; |
buffer | 2267 | drivers/block/ide-cd.c | buffer[17] = volctrl.channel0 & mask[17]; |
buffer | 2268 | drivers/block/ide-cd.c | buffer[19] = volctrl.channel1 & mask[19]; |
buffer | 2269 | drivers/block/ide-cd.c | buffer[21] = volctrl.channel2 & mask[21]; |
buffer | 2270 | drivers/block/ide-cd.c | buffer[23] = volctrl.channel3 & mask[23]; |
buffer | 2272 | drivers/block/ide-cd.c | return cdrom_mode_select (drive, 0x0e, buffer, sizeof (buffer), NULL); |
buffer | 2278 | drivers/block/ide-cd.c | char buffer[24]; |
buffer | 2284 | drivers/block/ide-cd.c | stat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer), NULL); |
buffer | 2287 | drivers/block/ide-cd.c | volctrl.channel0 = buffer[17]; |
buffer | 2288 | drivers/block/ide-cd.c | volctrl.channel1 = buffer[19]; |
buffer | 2289 | drivers/block/ide-cd.c | volctrl.channel2 = buffer[21]; |
buffer | 2290 | drivers/block/ide-cd.c | volctrl.channel3 = buffer[23]; |
buffer | 2477 | drivers/block/ide-cd.c | pc.buffer = buf; |
buffer | 332 | drivers/block/ide.c | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 342 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 347 | drivers/block/ide.c | insl(data_reg, buffer, wcount); |
buffer | 349 | drivers/block/ide.c | insw(data_reg, buffer, wcount<<1); |
buffer | 355 | drivers/block/ide.c | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount) |
buffer | 365 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 370 | drivers/block/ide.c | outsl(data_reg, buffer, wcount); |
buffer | 372 | drivers/block/ide.c | outsw(data_reg, buffer, wcount<<1); |
buffer | 758 | drivers/block/ide.c | byte *args = (byte *) rq->buffer; |
buffer | 853 | drivers/block/ide.c | unsigned long buffer[16]; |
buffer | 856 | drivers/block/ide.c | ide_input_data (drive, buffer, wcount); |
buffer | 941 | drivers/block/ide.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
buffer | 945 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
buffer | 948 | drivers/block/ide.c | rq->buffer += nsect<<9; |
buffer | 974 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 979 | drivers/block/ide.c | rq->buffer += 512; |
buffer | 986 | drivers/block/ide.c | ide_output_data (drive, rq->buffer, SECTOR_WORDS); |
buffer | 1014 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, nsect<<7); |
buffer | 1017 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
buffer | 1025 | drivers/block/ide.c | rq->buffer = rq->bh->b_data; |
buffer | 1031 | drivers/block/ide.c | rq->buffer += nsect << 9; |
buffer | 1235 | drivers/block/ide.c | block, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1254 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
buffer | 1285 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, SECTOR_WORDS); |
buffer | 1290 | drivers/block/ide.c | byte *args = rq->buffer; |
buffer | 1629 | drivers/block/ide.c | rq.buffer = args; |
buffer | 170 | drivers/block/ide.h | char *buffer; |
buffer | 378 | drivers/block/ide.h | void ide_input_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 383 | drivers/block/ide.h | void ide_output_data (ide_drive_t *drive, void *buffer, unsigned int wcount); |
buffer | 377 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 409 | drivers/block/ll_rw_blk.c | req->buffer = bh->b_data; |
buffer | 417 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, kdev_t dev, unsigned long page, char * buffer) |
buffer | 443 | drivers/block/ll_rw_blk.c | req->buffer = buffer; |
buffer | 575 | drivers/block/ll_rw_blk.c | req[j]->buffer = buf; |
buffer | 50 | drivers/block/ramdisk.c | CURRENT->buffer, |
buffer | 53 | drivers/block/ramdisk.c | (void) memcpy(CURRENT->buffer, |
buffer | 170 | 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 | 994 | drivers/cdrom/aztcd.c | memcpy(CURRENT -> buffer, azt_buf + offs, nr_sectors * 512); |
buffer | 997 | drivers/cdrom/aztcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 1210 | drivers/cdrom/cdu31a.c | input_data(char *buffer, |
buffer | 1234 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer, 2048); |
buffer | 1247 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
buffer | 1272 | drivers/cdrom/cdu31a.c | read_data_block(char *buffer, |
buffer | 1311 | drivers/cdrom/cdu31a.c | memcpy(buffer, |
buffer | 1322 | drivers/cdrom/cdu31a.c | memcpy(buffer, |
buffer | 1390 | drivers/cdrom/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
buffer | 1660 | drivers/cdrom/cdu31a.c | read_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size); |
buffer | 2040 | drivers/cdrom/cdu31a.c | read_audio_data(char *buffer, |
buffer | 2106 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer + CD_XA_HEAD, CD_FRAMESIZE_XA); |
buffer | 2111 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, buffer, CD_FRAMESIZE_RAW); |
buffer | 662 | drivers/cdrom/cm206.c | dest = CURRENT->buffer + i*512; |
buffer | 255 | drivers/cdrom/gscd.c | memcpy(CURRENT -> buffer, gscd_buf + offs, 512); |
buffer | 258 | drivers/cdrom/gscd.c | CURRENT -> buffer += 512; |
buffer | 622 | drivers/cdrom/mcd.c | memcpy(CURRENT -> buffer, mcd_buf + offs, nr_sectors * 512); |
buffer | 625 | drivers/cdrom/mcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 245 | drivers/cdrom/mcdx.c | const unsigned char* cmd, size_t, void *buffer, |
buffer | 580 | drivers/cdrom/mcdx.c | CURRENT->buffer, |
buffer | 593 | drivers/cdrom/mcdx.c | CURRENT->buffer += (i * 512); |
buffer | 851 | drivers/cdrom/mcdx.c | void *buffer, size_t size, |
buffer | 860 | drivers/cdrom/mcdx.c | if (!buffer || size == 0) buffer = &c, size = 1; |
buffer | 888 | drivers/cdrom/mcdx.c | char* bp = buffer; |
buffer | 708 | drivers/cdrom/optcd.c | memcpy(CURRENT -> buffer, opt_buf + offs, nr_sectors * 512); |
buffer | 711 | drivers/cdrom/optcd.c | CURRENT -> buffer += nr_sectors * 512; |
buffer | 2914 | drivers/cdrom/sbpcd.c | static int cc_SubChanInfo(int frame, int count, u_char *buffer) |
buffer | 4366 | drivers/cdrom/sbpcd.c | memcpy(CURRENT->buffer, D_S[d].sbp_buf + offs, 512); |
buffer | 4369 | drivers/cdrom/sbpcd.c | CURRENT->buffer += 512; |
buffer | 1015 | drivers/cdrom/sjcd.c | memcpy( CURRENT->buffer, sjcd_buf + offs, nr_sectors * 512 ); |
buffer | 1018 | drivers/cdrom/sjcd.c | CURRENT->buffer += nr_sectors * 512; |
buffer | 926 | drivers/cdrom/sonycd535.c | memcpy(CURRENT->buffer, |
buffer | 931 | drivers/cdrom/sonycd535.c | CURRENT->buffer += 512; |
buffer | 146 | drivers/char/atixlmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 151 | drivers/char/atixlmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 161 | drivers/char/atixlmouse.c | put_user((char)(~mouse.latch_buttons&7) | 0x80 , buffer); |
buffer | 166 | drivers/char/atixlmouse.c | put_user((char)mouse.dx, buffer + 1); |
buffer | 171 | drivers/char/atixlmouse.c | put_user((char)-mouse.dy, buffer + 2); |
buffer | 173 | drivers/char/atixlmouse.c | put_user(0x00, buffer + i); |
buffer | 161 | drivers/char/busmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 170 | drivers/char/busmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 179 | 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 | 132 | drivers/char/msbusmouse.c | static int write_mouse(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 137 | drivers/char/msbusmouse.c | static int read_mouse(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 145 | drivers/char/msbusmouse.c | put_user(mouse.buttons | 0x80, buffer); |
buffer | 148 | drivers/char/msbusmouse.c | put_user((char)dx, buffer + 1); |
buffer | 149 | drivers/char/msbusmouse.c | put_user((char)dy, buffer + 2); |
buffer | 151 | drivers/char/msbusmouse.c | put_user(0x00, buffer + i); |
buffer | 384 | drivers/char/psaux.c | static int write_aux(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 394 | drivers/char/psaux.c | outb_p(get_user(buffer++),AUX_OUTPUT_PORT); |
buffer | 406 | drivers/char/psaux.c | static int write_qp(struct inode * inode, struct file * file, const char * buffer, int count) |
buffer | 413 | drivers/char/psaux.c | outb_p(get_user(buffer++), qp_data); |
buffer | 425 | drivers/char/psaux.c | static int read_aux(struct inode * inode, struct file * file, char * buffer, int count) |
buffer | 446 | drivers/char/psaux.c | put_user(c, buffer++); |
buffer | 628 | drivers/char/random.c | const char * buffer, int count) |
buffer | 633 | drivers/char/random.c | for (i = count, p = (__u32 *)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 | 498 | drivers/net/de620.c | byte *buffer = skb->data; |
buffer | 563 | drivers/net/de620.c | de620_write_block(dev, buffer, len); |
buffer | 636 | drivers/net/de620.c | byte *buffer; |
buffer | 700 | drivers/net/de620.c | buffer = skb_put(skb,size); |
buffer | 702 | 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 | 341 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
buffer | 350 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
buffer | 540 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb_put(skb1,len); |
buffer | 608 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) (skb->data); |
buffer | 611 | 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 | 1052 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
buffer | 1068 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
buffer | 1262 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
buffer | 1607 | 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 | 2605 | drivers/scsi/53c7,8xx.c | virt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) : |
buffer | 2608 | 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 | 831 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = (struct scatterlist *)SCpnt->request_buffer; |
buffer | 832 | drivers/scsi/aha152x.c | SCpnt->SCp.ptr = SCpnt->SCp.buffer->address; |
buffer | 833 | drivers/scsi/aha152x.c | SCpnt->SCp.this_residual = SCpnt->SCp.buffer->length; |
buffer | 840 | drivers/scsi/aha152x.c | SCpnt->SCp.buffer = NULL; |
buffer | 2019 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2021 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2023 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 2155 | drivers/scsi/aha152x.c | current_SC->SCp.buffer++; |
buffer | 2157 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->address; |
buffer | 2159 | drivers/scsi/aha152x.c | current_SC->SCp.buffer->length; |
buffer | 1058 | drivers/scsi/aha1542.c | static buffer[512]; |
buffer | 1067 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
buffer | 1479 | drivers/scsi/aic7xxx.c | static char buffer[128]; |
buffer | 1481 | drivers/scsi/aic7xxx.c | strcpy(buffer, "Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) "); |
buffer | 1482 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_C_VERSION)); |
buffer | 1483 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1484 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_H_VERSION)); |
buffer | 1485 | drivers/scsi/aic7xxx.c | strcat(buffer, "/"); |
buffer | 1486 | drivers/scsi/aic7xxx.c | strcat(buffer, rcs_version(AIC7XXX_SEQ_VER)); |
buffer | 1488 | drivers/scsi/aic7xxx.c | return buffer; |
buffer | 1508 | drivers/scsi/aic7xxx.c | sg = (struct scatterlist *) cmd->buffer; |
buffer | 30 | drivers/scsi/aic7xxx_proc.c | #define BLS buffer + len + size |
buffer | 60 | drivers/scsi/aic7xxx_proc.c | aic7xxx_set_info(char *buffer, int length, struct Scsi_Host *HBAptr) |
buffer | 62 | drivers/scsi/aic7xxx_proc.c | proc_debug("aic7xxx_set_info(): %s\n", buffer); |
buffer | 74 | drivers/scsi/aic7xxx_proc.c | aic7xxx_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 120 | drivers/scsi/aic7xxx_proc.c | return (aic7xxx_set_info(buffer, length, HBAptr)); |
buffer | 247 | drivers/scsi/aic7xxx_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 1305 | drivers/scsi/buslogic.c | static buffer[512]; |
buffer | 1314 | 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 | 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 | 121 | drivers/scsi/eata_pio.c | SCp->buffer++; |
buffer | 122 | drivers/scsi/eata_pio.c | SCp->ptr=SCp->buffer->address; |
buffer | 123 | drivers/scsi/eata_pio.c | SCp->this_residual=SCp->buffer->length; |
buffer | 369 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = NULL; |
buffer | 371 | drivers/scsi/eata_pio.c | cmd->SCp.buffer = cmd->request_buffer; |
buffer | 373 | drivers/scsi/eata_pio.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
buffer | 374 | drivers/scsi/eata_pio.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
buffer | 652 | drivers/scsi/eata_pio.c | unchar buffer[512]; |
buffer | 665 | drivers/scsi/eata_pio.c | insw(base + HA_RDATA, &buffer, 256); |
buffer | 668 | drivers/scsi/eata_pio.c | for (z = 0; z < 511 && buffer[z]; z++) |
buffer | 669 | 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 | 1013 | drivers/scsi/fdomain.c | SCinit.request_buffer = SCinit.buffer = buf; |
buffer | 1062 | drivers/scsi/fdomain.c | static char buffer[80]; |
buffer | 1065 | drivers/scsi/fdomain.c | strcpy( buffer, "Future Domain TMC-16x0 SCSI driver, version" ); |
buffer | 1067 | drivers/scsi/fdomain.c | strcat( buffer, strchr( VERSION, ':' ) + 1 ); |
buffer | 1068 | drivers/scsi/fdomain.c | pt = strrchr( buffer, '$') - 1; |
buffer | 1070 | drivers/scsi/fdomain.c | pt = buffer + strlen( buffer ) - 1; |
buffer | 1075 | drivers/scsi/fdomain.c | strcat( buffer, " " VERSION ); |
buffer | 1078 | drivers/scsi/fdomain.c | return buffer; |
buffer | 1092 | drivers/scsi/fdomain.c | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
buffer | 1103 | drivers/scsi/fdomain.c | strcpy( buffer, info ); |
buffer | 1104 | drivers/scsi/fdomain.c | strcat( buffer, "\n" ); |
buffer | 1106 | drivers/scsi/fdomain.c | pos = len = strlen( buffer ); |
buffer | 1113 | drivers/scsi/fdomain.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 1547 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1548 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1549 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1580 | drivers/scsi/fdomain.c | ++current_SC->SCp.buffer; |
buffer | 1581 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1582 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1663 | drivers/scsi/fdomain.c | current_SC->SCp.buffer = |
buffer | 1665 | drivers/scsi/fdomain.c | current_SC->SCp.ptr = current_SC->SCp.buffer->address; |
buffer | 1666 | drivers/scsi/fdomain.c | current_SC->SCp.this_residual = current_SC->SCp.buffer->length; |
buffer | 1671 | 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 | 120 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, |
buffer | 122 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 905 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1054 | drivers/scsi/scsi.c | req->buffer = bh->b_data; |
buffer | 1125 | drivers/scsi/scsi.c | SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
buffer | 1206 | drivers/scsi/scsi.c | void *buffer, unsigned bufflen, void (*done)(Scsi_Cmnd *), |
buffer | 1219 | drivers/scsi/scsi.c | "command : " , host->host_no, SCpnt->channel, target, buffer, |
buffer | 1271 | drivers/scsi/scsi.c | SCpnt->buffer = buffer; |
buffer | 1283 | drivers/scsi/scsi.c | SCpnt->request_buffer = buffer; |
buffer | 1675 | drivers/scsi/scsi.c | SCpnt->request_buffer = SCpnt->buffer; |
buffer | 2396 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
buffer | 2411 | drivers/scsi/scsi.c | size = sprintf(buffer+len,"Attached devices: %s\n", (scd)?"":"none"); |
buffer | 2416 | drivers/scsi/scsi.c | size += sprintf(buffer+len,"scsi%2d: %s\n", (int) HBA_ptr->host_no, |
buffer | 2424 | drivers/scsi/scsi.c | proc_print_scsidevice(scd, buffer, &size, len); |
buffer | 2441 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 2448 | drivers/scsi/scsi.c | if(!buffer || length < 25 || strncmp("scsi", buffer, 4)) |
buffer | 2451 | drivers/scsi/scsi.c | if(!strncmp("singledevice", buffer + 5, 12)) { |
buffer | 2452 | drivers/scsi/scsi.c | p = buffer + 17; |
buffer | 335 | drivers/scsi/scsi.h | struct scatterlist *buffer; /* which buffer */ |
buffer | 368 | drivers/scsi/scsi.h | void *buffer; /* Data buffer */ |
buffer | 435 | drivers/scsi/scsi.h | void *buffer, unsigned bufflen, |
buffer | 487 | 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 | 626 | drivers/scsi/scsi_debug.c | static char buffer[] = " "; /* looks nicer without anything here */ |
buffer | 627 | drivers/scsi/scsi_debug.c | return buffer; |
buffer | 633 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
buffer | 642 | drivers/scsi/scsi_debug.c | if (length >= 10 && strncmp(buffer, "scsi_debug", 10) == 0) { |
buffer | 643 | drivers/scsi/scsi_debug.c | buffer += 11; |
buffer | 650 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "lockup", length) == 0 ) |
buffer | 656 | drivers/scsi/scsi_debug.c | if( length == 6 && strncmp(buffer, "unlock", length) == 0 ) |
buffer | 662 | drivers/scsi/scsi_debug.c | printk("Unknown command:%s\n", buffer); |
buffer | 664 | drivers/scsi/scsi_debug.c | printk("Wrong Signature:%10s\n", (char *) ((ulong)buffer-11)); |
buffer | 671 | drivers/scsi/scsi_debug.c | pos = len = sprintf(buffer, |
buffer | 681 | 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 | 167 | drivers/scsi/scsi_ioctl.c | static int ioctl_command(Scsi_Device *dev, void *buffer) |
buffer | 178 | drivers/scsi/scsi_ioctl.c | if (!buffer) |
buffer | 185 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, buffer, 2*sizeof(long) + 1); |
buffer | 197 | drivers/scsi/scsi_ioctl.c | inlen = get_user((unsigned int *) buffer); |
buffer | 198 | drivers/scsi/scsi_ioctl.c | outlen = get_user( ((unsigned int *) buffer) + 1); |
buffer | 208 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
buffer | 295 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
buffer | 56 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
buffer | 65 | drivers/scsi/scsi_proc.c | pos = len = sprintf(buffer, |
buffer | 72 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
buffer | 83 | drivers/scsi/scsi_proc.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, |
buffer | 93 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
buffer | 99 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
buffer | 102 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
buffer | 263 | drivers/scsi/scsi_proc.c | void proc_print_scsidevice(Scsi_Device *scd, char *buffer, int *size, int len) |
buffer | 267 | drivers/scsi/scsi_proc.c | y = sprintf(buffer + len, |
buffer | 272 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->vendor[x]); |
buffer | 274 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y," "); |
buffer | 276 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Model: "); |
buffer | 279 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->model[x]); |
buffer | 281 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 283 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Rev: "); |
buffer | 286 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "%c", scd->rev[x]); |
buffer | 288 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " "); |
buffer | 290 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 292 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " Type: %s ", |
buffer | 295 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " ANSI" |
buffer | 298 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, " CCS\n"); |
buffer | 300 | drivers/scsi/scsi_proc.c | y += sprintf(buffer + len + y, "\n"); |
buffer | 244 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 259 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); |
buffer | 261 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
buffer | 263 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 267 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
buffer | 269 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 304 | drivers/scsi/sd.c | sgpnt = (struct scatterlist *) SCpnt->buffer; |
buffer | 307 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 314 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->sglist_len); /* Free list of scatter-gather pointers */ |
buffer | 317 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
buffer | 320 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
buffer | 321 | drivers/scsi/sd.c | scsi_free(SCpnt->buffer, SCpnt->bufflen); |
buffer | 630 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 649 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 694 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 740 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buffer | 833 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buffer | 957 | drivers/scsi/sd.c | unsigned char *buffer; |
buffer | 968 | drivers/scsi/sd.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 991 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1026 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1054 | drivers/scsi/sd.c | memset ((void *) buffer, 0, 8); |
buffer | 1065 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1131 | drivers/scsi/sd.c | rscsi_disks[i].capacity = (buffer[0] << 24) | |
buffer | 1132 | drivers/scsi/sd.c | (buffer[1] << 16) | |
buffer | 1133 | drivers/scsi/sd.c | (buffer[2] << 8) | |
buffer | 1134 | drivers/scsi/sd.c | buffer[3]; |
buffer | 1136 | drivers/scsi/sd.c | rscsi_disks[i].sector_size = (buffer[4] << 24) | |
buffer | 1137 | drivers/scsi/sd.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1205 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
buffer | 1219 | drivers/scsi/sd.c | rscsi_disks[i].write_prot = ((buffer[2] & 0x80) != 0); |
buffer | 1228 | 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 | 596 | drivers/scsi/seagate.c | struct scatterlist *buffer = NULL; |
buffer | 720 | drivers/scsi/seagate.c | buffer=current_buffer; |
buffer | 916 | drivers/scsi/seagate.c | hostno, i, buffer[i].address, buffer[i].length); |
buffer | 920 | drivers/scsi/seagate.c | buffer = (struct scatterlist *) SCint->buffer; |
buffer | 921 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 922 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 927 | drivers/scsi/seagate.c | buffer = NULL; |
buffer | 1156 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1157 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1158 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1302 | drivers/scsi/seagate.c | ++buffer; |
buffer | 1303 | drivers/scsi/seagate.c | len = buffer->length; |
buffer | 1304 | drivers/scsi/seagate.c | data = (unsigned char *) buffer->address; |
buffer | 1373 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1405 | drivers/scsi/seagate.c | current_buffer = buffer; |
buffer | 1414 | 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 | 642 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
buffer | 655 | drivers/scsi/sr.c | buffer = NULL; |
buffer | 759 | drivers/scsi/sr.c | buffer = (unsigned char *) sgpnt; |
buffer | 807 | drivers/scsi/sr.c | scsi_free(buffer, SCpnt->sglist_len); |
buffer | 838 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 842 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(2048); |
buffer | 847 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
buffer | 848 | drivers/scsi/sr.c | if (((long) buffer) + (this_count << 9) > ISA_DMA_THRESHOLD && |
buffer | 850 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(this_count << 9); |
buffer | 898 | drivers/scsi/sr.c | printk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count); |
buffer | 920 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
buffer | 976 | drivers/scsi/sr.c | unsigned char *buffer; |
buffer | 980 | drivers/scsi/sr.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 991 | drivers/scsi/sr.c | memset(buffer, 0, 8); |
buffer | 998 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
buffer | 1018 | drivers/scsi/sr.c | scsi_CDs[i].capacity = (buffer[0] << 24) | |
buffer | 1019 | drivers/scsi/sr.c | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3]; |
buffer | 1020 | drivers/scsi/sr.c | scsi_CDs[i].sector_size = (buffer[4] << 24) | |
buffer | 1021 | drivers/scsi/sr.c | (buffer[5] << 16) | (buffer[6] << 8) | buffer[7]; |
buffer | 1035 | 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 | 53 | drivers/scsi/sr_ioctl.c | (void *) sr_cmd, buffer, buflength, sr_ioctl_done, |
buffer | 209 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 219 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 220 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 222 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 12); |
buffer | 224 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk0 = buffer[2]; |
buffer | 225 | drivers/scsi/sr_ioctl.c | tochdr.cdth_trk1 = buffer[3]; |
buffer | 227 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 240 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 255 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 256 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 258 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 12); |
buffer | 261 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
buffer | 262 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
buffer | 263 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
buffer | 264 | drivers/scsi/sr_ioctl.c | tocentry.cdte_ctrl = buffer[5] & 0xf; |
buffer | 267 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
buffer | 269 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 321 | drivers/scsi/sr_ioctl.c | char * buffer, * mask; |
buffer | 338 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char *) scsi_malloc(512); |
buffer | 339 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 341 | drivers/scsi/sr_ioctl.c | if ((result = do_ioctl (target, sr_cmd, buffer, 28))) { |
buffer | 343 | 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 | scsi_free(buffer, 512); |
buffer | 368 | drivers/scsi/sr_ioctl.c | buffer[0] = 0; /* Clear reserved field */ |
buffer | 370 | drivers/scsi/sr_ioctl.c | buffer[21] = volctrl.channel0 & mask[21]; |
buffer | 371 | drivers/scsi/sr_ioctl.c | buffer[23] = volctrl.channel1 & mask[23]; |
buffer | 372 | drivers/scsi/sr_ioctl.c | buffer[25] = volctrl.channel2 & mask[25]; |
buffer | 373 | drivers/scsi/sr_ioctl.c | buffer[27] = volctrl.channel3 & mask[27]; |
buffer | 381 | drivers/scsi/sr_ioctl.c | result = do_ioctl (target, sr_cmd, buffer, 28); |
buffer | 382 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 390 | drivers/scsi/sr_ioctl.c | char * buffer; |
buffer | 402 | drivers/scsi/sr_ioctl.c | buffer = (unsigned char*) scsi_malloc(512); |
buffer | 403 | drivers/scsi/sr_ioctl.c | if(!buffer) return -ENOMEM; |
buffer | 405 | drivers/scsi/sr_ioctl.c | result = do_ioctl(target, sr_cmd, buffer, 16); |
buffer | 407 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_audiostatus = buffer[1]; |
buffer | 409 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ctrl = buffer[5] & 0xf; |
buffer | 410 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_trk = buffer[6]; |
buffer | 411 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_ind = buffer[7]; |
buffer | 413 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
buffer | 414 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
buffer | 415 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
buffer | 416 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
buffer | 417 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
buffer | 418 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
buffer | 420 | drivers/scsi/sr_ioctl.c | scsi_free(buffer, 512); |
buffer | 185 | drivers/scsi/st.c | if ((STp->buffer)->writing && |
buffer | 197 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; /* Error */ |
buffer | 199 | drivers/scsi/st.c | (STp->buffer)->last_result = INT_MAX; /* OK */ |
buffer | 202 | drivers/scsi/st.c | (STp->buffer)->last_result = SCpnt->result; |
buffer | 203 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 205 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 241 | drivers/scsi/st.c | scsi_do_cmd(SCpnt, (void *)cmd, (STp->buffer)->b_data, bytes, |
buffer | 246 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = st_chk_result(SCpnt); |
buffer | 258 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 304 | drivers/scsi/st.c | if ((STp->buffer)->last_result != 0) { |
buffer | 311 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 324 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 326 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 330 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 332 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) |
buffer | 344 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
buffer | 351 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
buffer | 365 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 371 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 382 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 401 | drivers/scsi/st.c | STbuffer = STp->buffer; |
buffer | 419 | drivers/scsi/st.c | backspace = ((STp->buffer)->buffer_bytes + |
buffer | 420 | drivers/scsi/st.c | (STp->buffer)->read_pointer) / STp->block_size - |
buffer | 421 | drivers/scsi/st.c | ((STp->buffer)->read_pointer + STp->block_size - 1) / |
buffer | 423 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 424 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 466 | drivers/scsi/st.c | STp->buffer = new_tape_buffer(FALSE); |
buffer | 467 | drivers/scsi/st.c | if (STp->buffer == NULL) { |
buffer | 473 | drivers/scsi/st.c | STp->buffer = st_buffers[i]; |
buffer | 474 | drivers/scsi/st.c | (STp->buffer)->in_use = 1; |
buffer | 475 | drivers/scsi/st.c | (STp->buffer)->writing = 0; |
buffer | 512 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 541 | drivers/scsi/st.c | STp->max_block = ((STp->buffer)->b_data[1] << 16) | |
buffer | 542 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] << 8) | (STp->buffer)->b_data[3]; |
buffer | 543 | drivers/scsi/st.c | STp->min_block = ((STp->buffer)->b_data[4] << 8) | |
buffer | 544 | drivers/scsi/st.c | (STp->buffer)->b_data[5]; |
buffer | 565 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 571 | drivers/scsi/st.c | (STp->buffer)->last_result_fatal = 0; /* Prevent error propagation */ |
buffer | 579 | drivers/scsi/st.c | (STp->buffer)->b_data[0], (STp->buffer)->b_data[1], |
buffer | 580 | drivers/scsi/st.c | (STp->buffer)->b_data[2], (STp->buffer)->b_data[3]); |
buffer | 583 | drivers/scsi/st.c | if ((STp->buffer)->b_data[3] >= 8) { |
buffer | 584 | drivers/scsi/st.c | STp->drv_buffer = ((STp->buffer)->b_data[2] >> 4) & 7; |
buffer | 585 | drivers/scsi/st.c | STp->density = (STp->buffer)->b_data[4]; |
buffer | 586 | drivers/scsi/st.c | STp->block_size = (STp->buffer)->b_data[9] * 65536 + |
buffer | 587 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + (STp->buffer)->b_data[11]; |
buffer | 591 | drivers/scsi/st.c | dev, STp->density, (STp->buffer)->b_data[5] * 65536 + |
buffer | 592 | drivers/scsi/st.c | (STp->buffer)->b_data[6] * 256 + (STp->buffer)->b_data[7], |
buffer | 597 | drivers/scsi/st.c | if (STp->block_size > (STp->buffer)->buffer_size && |
buffer | 598 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, STp->block_size)) { |
buffer | 601 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 605 | drivers/scsi/st.c | STp->drv_write_prot = ((STp->buffer)->b_data[2] & 0x80) != 0; |
buffer | 610 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = st_buffer_size / STp->block_size; |
buffer | 612 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = 1; |
buffer | 613 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 618 | drivers/scsi/st.c | STp->block_size, (STp->buffer)->buffer_size, |
buffer | 619 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks); |
buffer | 629 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 630 | drivers/scsi/st.c | STp->buffer = 0; |
buffer | 685 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) |
buffer | 716 | drivers/scsi/st.c | if (STp->buffer != NULL) { |
buffer | 717 | drivers/scsi/st.c | normalize_buffer(STp->buffer); |
buffer | 718 | drivers/scsi/st.c | (STp->buffer)->in_use = 0; |
buffer | 765 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 766 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count)) |
buffer | 783 | drivers/scsi/st.c | if ((STp->buffer)->writing) { |
buffer | 785 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 789 | drivers/scsi/st.c | (STp->buffer)->last_result); |
buffer | 791 | drivers/scsi/st.c | if ((STp->buffer)->last_result == INT_MAX) { |
buffer | 812 | drivers/scsi/st.c | write_threshold = (STp->buffer)->buffer_blocks * STp->block_size; |
buffer | 827 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes + count > write_threshold)) |
buffer | 833 | drivers/scsi/st.c | do_count = (STp->buffer)->buffer_blocks * STp->block_size - |
buffer | 834 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes; |
buffer | 838 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 839 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, b_point, do_count); |
buffer | 844 | drivers/scsi/st.c | blks = ((STp->buffer)->buffer_bytes + do_count) / |
buffer | 856 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 907 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 923 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 928 | drivers/scsi/st.c | memcpy_fromfs((STp->buffer)->b_data + |
buffer | 929 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes,b_point,count); |
buffer | 931 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes += count; |
buffer | 935 | drivers/scsi/st.c | if (doing_write && (STp->buffer)->last_result_fatal != 0) { |
buffer | 937 | drivers/scsi/st.c | return (STp->buffer)->last_result_fatal; |
buffer | 941 | drivers/scsi/st.c | ((STp->buffer)->buffer_bytes >= STp->write_threshold || |
buffer | 950 | drivers/scsi/st.c | (STp->buffer)->writing = (STp->buffer)->buffer_bytes; |
buffer | 952 | drivers/scsi/st.c | (STp->buffer)->writing = ((STp->buffer)->buffer_bytes / |
buffer | 954 | drivers/scsi/st.c | STp->dirty = !((STp->buffer)->writing == |
buffer | 955 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 958 | drivers/scsi/st.c | blks = (STp->buffer)->writing; |
buffer | 960 | drivers/scsi/st.c | blks = (STp->buffer)->writing / STp->block_size; |
buffer | 973 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
buffer | 974 | drivers/scsi/st.c | (STp->buffer)->writing, |
buffer | 1007 | drivers/scsi/st.c | count > (STp->buffer)->buffer_size && |
buffer | 1008 | drivers/scsi/st.c | !enlarge_buffer(STp->buffer, count)) |
buffer | 1031 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1033 | drivers/scsi/st.c | if (((STp->buffer)->buffer_bytes == 0) && |
buffer | 1041 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes == 0 && |
buffer | 1051 | drivers/scsi/st.c | blks = (STp->buffer)->buffer_blocks; |
buffer | 1056 | drivers/scsi/st.c | if (bytes > (STp->buffer)->buffer_size) |
buffer | 1057 | drivers/scsi/st.c | bytes = (STp->buffer)->buffer_size; |
buffer | 1070 | drivers/scsi/st.c | (STp->buffer)->read_pointer = 0; |
buffer | 1074 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal) { |
buffer | 1101 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1112 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes - transfer; |
buffer | 1114 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1119 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes); |
buffer | 1125 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = 0; |
buffer | 1127 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = |
buffer | 1133 | drivers/scsi/st.c | dev, (STp->buffer)->buffer_bytes, total); |
buffer | 1161 | drivers/scsi/st.c | transfer = (STp->buffer)->last_result_fatal; |
buffer | 1167 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = bytes; |
buffer | 1173 | drivers/scsi/st.c | STp->drv_block += (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1179 | drivers/scsi/st.c | if ((STp->buffer)->buffer_bytes > 0) { |
buffer | 1183 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes, count - total); |
buffer | 1185 | drivers/scsi/st.c | transfer = (STp->buffer)->buffer_bytes < count - total ? |
buffer | 1186 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes : count - total; |
buffer | 1187 | drivers/scsi/st.c | memcpy_tofs(buf, (STp->buffer)->b_data + |
buffer | 1188 | drivers/scsi/st.c | (STp->buffer)->read_pointer,transfer); |
buffer | 1192 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes -= transfer; |
buffer | 1193 | drivers/scsi/st.c | (STp->buffer)->read_pointer += transfer; |
buffer | 1571 | drivers/scsi/st.c | if (STp->dirty || (STp->buffer)->buffer_bytes != 0) |
buffer | 1583 | drivers/scsi/st.c | memset((STp->buffer)->b_data, 0, 12); |
buffer | 1585 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = (arg & 7) << 4; |
buffer | 1587 | drivers/scsi/st.c | (STp->buffer)->b_data[2] = |
buffer | 1589 | drivers/scsi/st.c | (STp->buffer)->b_data[3] = 8; /* block descriptor length */ |
buffer | 1591 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = arg; |
buffer | 1593 | drivers/scsi/st.c | (STp->buffer)->b_data[4] = STp->density; |
buffer | 1598 | drivers/scsi/st.c | (STp->buffer)->b_data[9] = (ltmp >> 16); |
buffer | 1599 | drivers/scsi/st.c | (STp->buffer)->b_data[10] = (ltmp >> 8); |
buffer | 1600 | drivers/scsi/st.c | (STp->buffer)->b_data[11] = ltmp; |
buffer | 1606 | drivers/scsi/st.c | (STp->buffer)->b_data[9] * 65536 + |
buffer | 1607 | drivers/scsi/st.c | (STp->buffer)->b_data[10] * 256 + |
buffer | 1608 | drivers/scsi/st.c | (STp->buffer)->b_data[11]); |
buffer | 1611 | drivers/scsi/st.c | (STp->buffer)->b_data[4]); |
buffer | 1614 | drivers/scsi/st.c | ((STp->buffer)->b_data[2] >> 4) & 7); |
buffer | 1627 | drivers/scsi/st.c | ioctl_result = (STp->buffer)->last_result_fatal; |
buffer | 1656 | drivers/scsi/st.c | (STp->buffer)->buffer_blocks = |
buffer | 1657 | drivers/scsi/st.c | (STp->buffer)->buffer_size / STp->block_size; |
buffer | 1658 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes = (STp->buffer)->read_pointer = 0; |
buffer | 1838 | drivers/scsi/st.c | (STp->buffer)->buffer_bytes / STp->block_size; |
buffer | 1840 | drivers/scsi/st.c | (STp->mt_status)->mt_blkno -= ((STp->buffer)->buffer_bytes + |
buffer | 1907 | drivers/scsi/st.c | if ((STp->buffer)->last_result_fatal != 0) { |
buffer | 1918 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[0] << 16) |
buffer | 1919 | drivers/scsi/st.c | + ((STp->buffer)->b_data[1] << 8) |
buffer | 1920 | drivers/scsi/st.c | + (STp->buffer)->b_data[2]; |
buffer | 1922 | drivers/scsi/st.c | mt_pos.mt_blkno = ((STp->buffer)->b_data[4] << 24) |
buffer | 1923 | drivers/scsi/st.c | + ((STp->buffer)->b_data[5] << 16) |
buffer | 1924 | drivers/scsi/st.c | + ((STp->buffer)->b_data[6] << 8) |
buffer | 1925 | drivers/scsi/st.c | + (STp->buffer)->b_data[7]; |
buffer | 48 | drivers/scsi/st.h | ST_buffer * buffer; |
buffer | 277 | fs/devices.c | static char buffer[32]; |
buffer | 278 | fs/devices.c | sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev)); |
buffer | 279 | 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 | 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 | 665 | fs/minix/namei.c | #define PARENT_INO(buffer) \ |
buffer | 666 | 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 | 177 | fs/proc/array.c | static int get_loadavg(char * buffer) |
buffer | 184 | fs/proc/array.c | return sprintf(buffer,"%d.%02d %d.%02d %d.%02d %d/%d\n", |
buffer | 191 | fs/proc/array.c | static int get_kstat(char * buffer) |
buffer | 198 | fs/proc/array.c | len = sprintf(buffer, |
buffer | 218 | fs/proc/array.c | len += sprintf(buffer + len, " %u", kstat.interrupts[i]); |
buffer | 219 | fs/proc/array.c | len += sprintf(buffer + len, |
buffer | 228 | fs/proc/array.c | static int get_uptime(char * buffer) |
buffer | 246 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 252 | fs/proc/array.c | return sprintf(buffer,"%lu.%02lu %lu.%02lu\n", |
buffer | 260 | fs/proc/array.c | static int get_meminfo(char * buffer) |
buffer | 266 | fs/proc/array.c | return sprintf(buffer, " total: used: free: shared: buffers:\n" |
buffer | 273 | fs/proc/array.c | static int get_version(char * buffer) |
buffer | 277 | fs/proc/array.c | strcpy(buffer, linux_banner); |
buffer | 278 | fs/proc/array.c | return strlen(buffer); |
buffer | 323 | fs/proc/array.c | static int get_array(struct task_struct ** p, unsigned long start, unsigned long end, char * buffer) |
buffer | 340 | fs/proc/array.c | buffer[size++] = c; |
buffer | 351 | fs/proc/array.c | while (result>0 && buffer[result-1]==' ') |
buffer | 356 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
buffer | 362 | fs/proc/array.c | return get_array(p, (*p)->mm->env_start, (*p)->mm->env_end, buffer); |
buffer | 365 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
buffer | 371 | fs/proc/array.c | return get_array(p, (*p)->mm->arg_start, (*p)->mm->arg_end, buffer); |
buffer | 436 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
buffer | 490 | fs/proc/array.c | return sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ |
buffer | 605 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
buffer | 635 | fs/proc/array.c | return sprintf(buffer,"%d %d %d %d %d %d %d\n", |
buffer | 136 | fs/proc/link.c | static int proc_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 159 | fs/proc/link.c | put_user(buf[i++],buffer++); |
buffer | 176 | fs/proc/root.c | static int proc_self_readlink(struct inode * inode, char * buffer, int buflen) |
buffer | 185 | fs/proc/root.c | memcpy_tofs(buffer, tmp, len); |
buffer | 79 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
buffer | 84 | fs/proc/scsi.c | pos = len = sprintf(buffer, |
buffer | 91 | 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 | 661 | fs/sysv/namei.c | #define PARENT_INO(buffer) \ |
buffer | 662 | 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 | 373 | include/linux/blk.h | req->buffer = bh->b_data; |
buffer | 28 | include/linux/blkdev.h | char * buffer; |
buffer | 496 | include/linux/fs.h | extern void ll_rw_page(int rw, kdev_t dev, unsigned long nr, char * buffer); |
buffer | 497 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, kdev_t 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 | 41 | include/linux/random.h | const char * buffer, int count); |
buffer | 625 | include/linux/soundcard.h | caddr_t buffer; |
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 | 117 | 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 | 233 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 244 | net/appletalk/ddp.c | len += sprintf (buffer,"Type local_addr remote_addr tx_queue rx_queue st uid\n"); |
buffer | 247 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X ", s->type); |
buffer | 248 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 250 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X:%02X ", |
buffer | 252 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%08lX:%08lX ", s->wmem_alloc, s->rmem_alloc); |
buffer | 253 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
buffer | 268 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 840 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 847 | net/appletalk/ddp.c | len += sprintf (buffer,"Interface Address Networks Status\n"); |
buffer | 850 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%-16s %04X:%02X %04X-%04X %d\n", |
buffer | 864 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 873 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 880 | net/appletalk/ddp.c | len += sprintf (buffer,"Target Router Flags Dev\n"); |
buffer | 884 | net/appletalk/ddp.c | len += sprintf (buffer+len,"Default %5d:%-3d %-4d %s\n", |
buffer | 890 | net/appletalk/ddp.c | len += sprintf (buffer+len,"%04X:%02X %5d:%-3d %-4d %s\n", |
buffer | 903 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
buffer | 2071 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 2082 | 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 | 2090 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 2092 | 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 | 2107 | net/ax25/af_ax25.c | len += sprintf(buffer + len, " %5ld %5ld\n", |
buffer | 2111 | net/ax25/af_ax25.c | len += sprintf(buffer + len, "\n"); |
buffer | 2127 | 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 | 881 | net/core/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
buffer | 887 | net/core/dev.c | size = sprintf(buffer, "%6s:%7d %4d %4d %4d %4d %8d %4d %4d %4d %5d %4d\n", |
buffer | 899 | net/core/dev.c | size = sprintf(buffer, "%6s: No statistics available.\n", dev->name); |
buffer | 909 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 919 | net/core/dev.c | size = sprintf(buffer, "Inter-| Receive | Transmit\n" |
buffer | 928 | net/core/dev.c | size = sprintf_stats(buffer+len, dev); |
buffer | 941 | 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 | 1519 | net/ipv4/ip_fw.c | static int ip_chain_procinfo(int stage, char *buffer, char **start, |
buffer | 1533 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall block rules, default %d\n", |
buffer | 1538 | net/ipv4/ip_fw.c | len=sprintf(buffer, "IP firewall forward rules, default %d\n", |
buffer | 1545 | net/ipv4/ip_fw.c | len=sprintf(buffer,"IP accounting rules\n"); |
buffer | 1560 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%08lX/%08lX->%08lX/%08lX %08lX %X ", |
buffer | 1564 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%u %u %-9lu %-9lu", |
buffer | 1567 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len, " %u", i->fw_pts[p]); |
buffer | 1568 | net/ipv4/ip_fw.c | buffer[len++]='\n'; |
buffer | 1569 | net/ipv4/ip_fw.c | buffer[len]='\0'; |
buffer | 1587 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
buffer | 1597 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1600 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
buffer | 1608 | net/ipv4/ip_fw.c | static int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1611 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
buffer | 1615 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1618 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
buffer | 1625 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
buffer | 1633 | net/ipv4/ip_fw.c | len=sprintf(buffer,"Prc FromIP FPrt ToIP TPrt Masq Init-seq Delta PDelta Expires\n"); |
buffer | 1643 | net/ipv4/ip_fw.c | len+=sprintf(buffer+len,"%s %08lX:%04X %08lX:%04X %04X %08X %5d %5d %lu\n", |
buffer | 1663 | 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 | 788 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 797 | net/ipv4/ipmr.c | len += sprintf(buffer, |
buffer | 808 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%-10s %8ld %7ld %8ld %7ld %05X %08lX %08lX\n", |
buffer | 822 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
buffer | 829 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 838 | net/ipv4/ipmr.c | len += sprintf(buffer, |
buffer | 868 | net/ipv4/ipmr.c | size = sprintf(buffer+len, "%08lX %08lX %-8s %s\n", |
buffer | 890 | net/ipv4/ipmr.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 | 575 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 584 | net/ipv4/route.c | sprintf(buffer,"%-127s\n","Iface\tDestination\tGateway \tFlags\tRefCnt\tUse\tMetric\tMask\t\tMTU\tWindow\tIRTT"); |
buffer | 602 | net/ipv4/route.c | sprintf(buffer+len,"%-127s\n",temp); |
buffer | 614 | net/ipv4/route.c | *start=buffer+(offset-begin); |
buffer | 1172 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
buffer | 1182 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-15s%-9s%-11s%s\n", "Network", |
buffer | 1185 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%08lX ", ntohl(i->if_netnum)); |
buffer | 1186 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X%02X%02X%02X%02X%02X ", |
buffer | 1189 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-9s", (i == ipx_primary_net) ? |
buffer | 1191 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-11s", ipx_device_name(i)); |
buffer | 1192 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%s\n", |
buffer | 1207 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1215 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
buffer | 1226 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-15s%-28s%-10s%-10s%-7s%s\n", "Local_Address", |
buffer | 1231 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX:%04X ", |
buffer | 1235 | net/ipx/af_ipx.c | len += sprintf(buffer+len, "%-28s", "Not_Connected"); |
buffer | 1237 | net/ipx/af_ipx.c | len += sprintf (buffer+len, |
buffer | 1245 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %08lX ", |
buffer | 1247 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%02X %03d\n", |
buffer | 1264 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
buffer | 1272 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
buffer | 1280 | net/ipx/af_ipx.c | len += sprintf (buffer,"%-11s%-13s%s\n", |
buffer | 1284 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
buffer | 1286 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX %02X%02X%02X%02X%02X%02X\n", |
buffer | 1292 | net/ipx/af_ipx.c | len += sprintf (buffer+len, "%-13s%s\n", |
buffer | 1304 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
buffer | 1350 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 1361 | 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 | 1369 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1371 | net/netrom/af_netrom.c | len += sprintf(buffer + len, "%-9s ", |
buffer | 1373 | 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 | 1401 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
buffer | 711 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
buffer | 722 | net/netrom/nr_route.c | len += sprintf(buffer, "callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n"); |
buffer | 725 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%-9s %-7s %d %d", |
buffer | 732 | net/netrom/nr_route.c | len += sprintf(buffer + len, " %3d %d %05d", |
buffer | 738 | net/netrom/nr_route.c | len += sprintf(buffer + len, "\n"); |
buffer | 753 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 761 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
buffer | 771 | net/netrom/nr_route.c | len += sprintf(buffer, "addr callsign dev qual lock count\n"); |
buffer | 774 | net/netrom/nr_route.c | len += sprintf(buffer + len, "%05d %-9s %-4s %3d %d %3d\n", |
buffer | 795 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
buffer | 1329 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
buffer | 1331 | net/socket.c | int len = sprintf(buffer, "sockets: used %d\n", sockets_in_use); |
buffer | 1334 | net/socket.c | *start = buffer; |
buffer | 1337 | net/socket.c | *start = buffer + offset; |
buffer | 952 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
buffer | 959 | net/unix/af_unix.c | len+= sprintf(buffer,"Num RefCount Protocol Flags Type St Path\n"); |
buffer | 963 | net/unix/af_unix.c | len+=sprintf(buffer+len,"%p: %08X %08X %08lX %04X %02X", |
buffer | 971 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |
buffer | 973 | net/unix/af_unix.c | buffer[len++]='\n'; |
buffer | 985 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
buffer | 276 | scripts/ksymoops.cc | char buffer[1024]; |
buffer | 280 | scripts/ksymoops.cc | cin >> buffer; |
buffer | 281 | scripts/ksymoops.cc | if (strequ(buffer, "EIP:") && names.valid()) { |
buffer | 283 | scripts/ksymoops.cc | cin >> buffer[0]; |
buffer | 285 | scripts/ksymoops.cc | cin >> buffer; |
buffer | 286 | scripts/ksymoops.cc | if (!strequ(buffer, "EFLAGS:")) { |
buffer | 293 | scripts/ksymoops.cc | } else if (strequ(buffer, "Trace:") && names.valid()) { |
buffer | 305 | scripts/ksymoops.cc | } else if (strequ(buffer, "ode:") || strequ(buffer, "Code:")) { |
buffer | 434 | scripts/tkparse.c | char buffer[1024]; |
buffer | 447 | scripts/tkparse.c | while (fgets(buffer, sizeof(buffer), infile)) |
buffer | 452 | scripts/tkparse.c | pnt = buffer + strlen(buffer) - 1; |
buffer | 455 | scripts/tkparse.c | parse(buffer); |
buffer | 467 | scripts/tkparse.c | char buffer[1024]; |
buffer | 473 | scripts/tkparse.c | while(fgets(buffer, sizeof(buffer), stdin)) |
buffer | 478 | scripts/tkparse.c | pnt = buffer + strlen(buffer) - 1; |
buffer | 481 | scripts/tkparse.c | parse(buffer); |