Home
last modified time | relevance | path

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

/titanic_53/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c110 static char *f_buf = NULL; in _exec_files_XY_all() local
135 while (f_time > read_time || f_buf == NULL) { in _exec_files_XY_all()
153 if (f_buf != NULL) in _exec_files_XY_all()
154 free(f_buf); in _exec_files_XY_all()
155 if ((f_buf = malloc(f_size)) == NULL) { in _exec_files_XY_all()
160 if (read(exec_fd, f_buf, f_size) < f_size) { in _exec_files_XY_all()
161 free(f_buf); in _exec_files_XY_all()
173 free(f_buf); in _exec_files_XY_all()
178 free(f_buf); in _exec_files_XY_all()
193 linelen = _readbufline(f_buf, f_size, instr, be->minbuf, in _exec_files_XY_all()
/titanic_53/usr/src/boot/lib/libstand/
H A Dufs.c123 char *f_buf; /* buffer for data block */ member
345 if (fp->f_buf == (char *)0)
346 fp->f_buf = malloc(fs->fs_bsize);
351 block_size, fp->f_buf, &fp->f_buf_size);
361 bcopy(buf_p, fp->f_buf + off, *size_p);
370 block_size, fp->f_buf, &fp->f_buf_size);
397 if (fp->f_buf == (char *)0)
398 fp->f_buf = malloc(fs->fs_bsize);
405 bzero(fp->f_buf, block_size);
411 block_size, fp->f_buf, &fp->f_buf_size);
[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.c105 char *f_buf; /* buffer for data block */ member
442 if (fp->f_buf == (char *)0) in buf_read_file()
443 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE); in buf_read_file()
448 fp->f_buf, &read); in buf_read_file()
457 *buf_p = fp->f_buf + blkoff; in buf_read_file()