Lines Matching defs:gsfs
130 static struct statfs *gsfs = NULL;
139 if (gsfs != NULL) {
140 free(gsfs);
141 gsfs = NULL;
146 gsfs = malloc(sizeof(gsfs[0]) * allfs * 2);
147 if (gsfs == NULL)
149 allfs = getfsstat(gsfs, (long)(sizeof(gsfs[0]) * allfs * 2),
153 sfs = realloc(gsfs, allfs * sizeof(gsfs[0]));
155 gsfs = sfs;
159 if (gsfs != NULL)
160 free(gsfs);
161 gsfs = NULL;
178 strcmp(mrefp->mnt_special, gsfs[i].f_mntfromname) != 0) {
182 strcmp(mrefp->mnt_mountp, gsfs[i].f_mntonname) != 0) {
186 strcmp(mrefp->mnt_fstype, gsfs[i].f_fstypename) != 0) {
189 statfs2mnttab(&gsfs[i], mgetp);
205 if (nfs == 0 || gsfs == NULL) {
212 statfs2mnttab(&gsfs[nfs], mp);