Home
last modified time | relevance | path

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

/freebsd-13.1/stand/libsa/
H A Dufs.c130 char *f_buf; /* buffer for data block */ member
366 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 …]
H A Dext2fs.c315 char *f_buf; /* buffer for data block */ member
546 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()
H A Dcd9660.c118 char *f_buf; /* buffer for data block */ member
525 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()