Lines Matching refs:buf
51 struct statfs *buf;
98 iter->buf = NULL;
112 if (iter->buf != NULL)
113 free(iter->buf);
118 iter->buf = malloc(bufsize);
119 if (iter->buf == NULL) {
125 nentries = getfsstat(iter->buf, bufsize, MNT_WAIT);
127 free(iter->buf);
153 name = iter->buf[iter->pos].f_mntfromname;
154 dir = iter->buf[iter->pos].f_mntonname;
155 fstype = iter->buf[iter->pos].f_fstypename;
156 if (iter->buf[iter->pos].f_flags & ISREADONLY)
200 free(iter->buf);