Lines Matching refs:nfte

587 	struct fstable *nfte;  in fs_tab_init()  local
603 if ((nfte = *(struct fstable **)ar_next_avail(fs_list)) in fs_tab_init()
624 nfte->namlen = strlen(mountp); in fs_tab_init()
628 if ((nfte->name = malloc(nfte->namlen+1)) == NULL) { in fs_tab_init()
632 (void) strcpy(nfte->name, mountp); in fs_tab_init()
634 if ((nfte->fstype = malloc(strlen(fstype)+1)) == NULL) { in fs_tab_init()
638 (void) strcpy(nfte->fstype, fstype); in fs_tab_init()
642 return (nfte); in fs_tab_init()
698 struct fstable *nfte; in construct_mt() local
703 if ((nfte = fs_tab_init(mt->mnt_mountp, mt->mnt_fstype)) == NULL) in construct_mt()
716 nfte->remote = 1; in construct_mt()
718 nfte->remote = 0; in construct_mt()
721 nfte->srvr_map = 0; in construct_mt()
722 nfte->mounted = 1; in construct_mt()
724 nfte->remote_name = strdup(mt->mnt_special); in construct_mt()
733 nfte->writeable = 0; /* Assume read-only. */ in construct_mt()
735 nfte->writeable = 1; in construct_mt()
736 if (!(nfte->remote)) in construct_mt()
741 nfte->write_tested = 1; in construct_mt()
744 nfte->write_tested = 1; in construct_mt()
747 if (nfte->remote && !(nfte->writeable)) in construct_mt()
748 nfte->served = 1; in construct_mt()
781 struct fstable *nfte; in construct_vfs() local
783 if ((nfte = fs_tab_init(client_path, vfsent->vfs_fstype)) == NULL) in construct_vfs()
786 nfte->remote = (is_remote == REAL_REMOTE); in construct_vfs()
794 if (nfte->remote) { in construct_vfs()
807 nfte->mounted = 0; in construct_vfs()
808 nfte->srvr_map = 0; in construct_vfs()
809 nfte->writeable = 0; in construct_vfs()
819 nfte->mounted = 1; in construct_vfs()
820 nfte->srvr_map = 1; in construct_vfs()
821 nfte->writeable = fs_tab[match_mount]->writeable; in construct_vfs()
822 nfte->write_tested = fs_tab[match_mount]->write_tested; in construct_vfs()
826 nfte->mounted = 1; in construct_vfs()
827 nfte->srvr_map = 1; in construct_vfs()
828 nfte->writeable = fs_tab[fsys(link_name)]->writeable; in construct_vfs()
829 nfte->write_tested = 1; in construct_vfs()
836 nfte->served = 1; in construct_vfs()
839 nfte->remote_name = link_name; in construct_vfs()
841 nfte->remote_name = strdup(vfsent->vfs_special); in construct_vfs()
1017 struct fstable *nfte; in load_fsentry() local
1019 if ((nfte = fs_tab_init(name, fstype)) == NULL) in load_fsentry()
1023 fs_entry->name = nfte->name; in load_fsentry()
1024 fs_entry->fstype = nfte->fstype; in load_fsentry()
1027 (void) memcpy(nfte, fs_entry, sizeof (struct fstable)); in load_fsentry()
1032 if ((nfte->remote_name = malloc(strlen(remote_name)+1)) == NULL) { in load_fsentry()
1037 (void) strcpy(nfte->remote_name, remote_name); in load_fsentry()