Lines Matching refs:fst
195 freefst_ent(fst)
196 struct fstabnode *fst;
198 if (fst->fst_dir != NULL)
199 free(fst->fst_dir);
200 if (fst->fst_vfstype != NULL)
201 free(fst->fst_vfstype);
202 if (fst->fst_mntops != NULL)
203 free(fst->fst_mntops);
204 if (fst->fst_url != NULL)
205 free(fst->fst_url);
206 free((char *)fst);
210 freefst_list(fst)
211 struct fstabnode *fst;
215 while (fst) {
216 tmpfst = fst->fst_next;
217 freefst_ent(fst);
218 fst = tmpfst;
317 struct fstabnode *fst = NULL;
326 for (fst = host_ent->fstab_ents; fst; fst = fstnext) {
327 fstnext = fst->fst_next;
328 fstlen = strlen(fst->fst_dir);
334 duplicate = (strcmp(fst->fst_dir, (*tfstp)->fst_dir) == 0);
337 freefst_ent(fst);
342 fst->fst_next = *tfstp;
343 *tfstp = fst;
570 struct fstabnode *fst;
579 fst = calloc(1, sizeof (struct fstabnode));
580 if (fst == NULL) {
588 fst->fst_dir = localpath;
589 fst->fst_vfstype = strdup(vfstype);
590 if (fst->fst_vfstype == NULL) {
591 free(fst->fst_dir);
592 free(fst);
598 fst->fst_mntops = mntops; /* this is mallocated */
599 fst->fst_url = url; /* as is this */
613 free(fst->fst_vfstype);
614 free(fst->fst_dir);
615 free(fst);
622 host_entry->fstab_ents = fst;
630 fst->fst_next = host_entry->fstab_ents;
631 host_entry->fstab_ents = fst;
753 struct fstabnode *fst;
800 for (fst = hostent->fstab_ents; fst != NULL; fst = fst->fst_next) {
801 err = (*callback)(fst, callback_arg);