Home
last modified time | relevance | path

Searched refs:f_buf (Results 1 – 3 of 3) sorted by relevance

/freebsd/stand/libsa/
H A Dufs.c123 char *f_buf; /* buffer for data block */
357 if (fp->f_buf == (char *)0) in buf_write_file()
358 fp->f_buf = malloc(fs->fs_bsize); in buf_write_file()
363 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file()
373 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()
382 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file()
406 if (fp->f_buf == NULL) in buf_read_file()
407 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()
414 bzero(fp->f_buf, block_size); in buf_read_file()
420 block_size, fp->f_buf, in buf_read_file()
126 char *f_buf; /* buffer for data block */ global() member
[all...]
H A Dext2fs.c312 char *f_buf; /* buffer for data block */ member
543 if (fp->f_buf) in ext2fs_open()
544 free(fp->f_buf); in ext2fs_open()
716 if (fp->f_buf == (char *)0) in buf_read_file()
717 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()
720 bzero(fp->f_buf, block_size); in buf_read_file()
726 fp->f_buf, &fp->f_buf_size); in buf_read_file()
738 *buf_p = fp->f_buf + off; in buf_read_file()
805 if (fp->f_buf) in ext2fs_close()
806 free(fp->f_buf); in ext2fs_close()
H A Dcd9660.c115 char *f_buf; /* buffer for data block */ member
522 if (fp->f_buf == (char *)0) in buf_read_file()
523 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE); in buf_read_file()
528 fp->f_buf, &read); in buf_read_file()
537 *buf_p = fp->f_buf + blkoff; in buf_read_file()