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

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c110 static char *f_buf = NULL; local
135 while (f_time > read_time || f_buf == NULL) {
153 if (f_buf != NULL)
154 free(f_buf);
155 if ((f_buf = malloc(f_size)) == NULL) {
160 if (read(exec_fd, f_buf, f_size) < f_size) {
161 free(f_buf);
173 free(f_buf);
178 free(f_buf);
193 linelen = _readbufline(f_buf, f_siz
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dufs.c124 char *f_buf; /* buffer for data block */ member in struct:file
346 if (fp->f_buf == (char *)0)
347 fp->f_buf = malloc(fs->fs_bsize);
352 block_size, fp->f_buf, &fp->f_buf_size);
362 bcopy(buf_p, fp->f_buf + off, *size_p);
371 block_size, fp->f_buf, &fp->f_buf_size);
398 if (fp->f_buf == (char *)0)
399 fp->f_buf = malloc(fs->fs_bsize);
406 bzero(fp->f_buf, block_size);
412 block_size, fp->f_buf,
[all...]
H A Dext2fs.c315 char *f_buf; /* buffer for data block */ member in struct:file
546 if (fp->f_buf)
547 free(fp->f_buf);
719 if (fp->f_buf == (char *)0)
720 fp->f_buf = malloc(fs->fs_bsize);
723 bzero(fp->f_buf, block_size);
729 fp->f_buf, &fp->f_buf_size);
741 *buf_p = fp->f_buf + off;
807 if (fp->f_buf)
808 free(fp->f_buf);
[all...]
H A Dcd9660.c105 char *f_buf; /* buffer for data block */ member in struct:file
442 if (fp->f_buf == (char *)0)
443 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE);
448 fp->f_buf, &read);
457 *buf_p = fp->f_buf + blkoff;

Completed in 67 milliseconds