Searched refs:f_buf (Results 1 – 3 of 3) sorted by relevance
130 char *f_buf; /* buffer for data block */ member366 if (fp->f_buf == (char *)0) in buf_write_file()367 fp->f_buf = malloc(fs->fs_bsize); in buf_write_file()382 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()391 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file()415 if (fp->f_buf == (char *)0) in buf_read_file()416 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()423 bzero(fp->f_buf, block_size); in buf_read_file()442 *buf_p = fp->f_buf + off; in buf_read_file()699 free(fp->f_buf); in ufs_open()[all …]
315 char *f_buf; /* buffer for data block */ member546 if (fp->f_buf) in ext2fs_open()547 free(fp->f_buf); in ext2fs_open()719 if (fp->f_buf == (char *)0) in buf_read_file()720 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()723 bzero(fp->f_buf, block_size); in buf_read_file()729 fp->f_buf, &fp->f_buf_size); in buf_read_file()741 *buf_p = fp->f_buf + off; in buf_read_file()807 if (fp->f_buf) in ext2fs_close()808 free(fp->f_buf); in ext2fs_close()
118 char *f_buf; /* buffer for data block */ member525 if (fp->f_buf == (char *)0) in buf_read_file()526 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE); in buf_read_file()531 fp->f_buf, &read); in buf_read_file()540 *buf_p = fp->f_buf + blkoff; in buf_read_file()