Lines Matching refs:nfte
591 struct fstable *nfte; in fs_tab_init() local
607 if ((nfte = *(struct fstable **)ar_next_avail(fs_list)) in fs_tab_init()
628 nfte->namlen = strlen(mountp); in fs_tab_init()
632 if ((nfte->name = malloc(nfte->namlen+1)) == NULL) { in fs_tab_init()
636 (void) strcpy(nfte->name, mountp); in fs_tab_init()
638 if ((nfte->fstype = malloc(strlen(fstype)+1)) == NULL) { in fs_tab_init()
642 (void) strcpy(nfte->fstype, fstype); in fs_tab_init()
646 return (nfte); in fs_tab_init()
702 struct fstable *nfte; in construct_mt() local
707 if ((nfte = fs_tab_init(mt->mnt_mountp, mt->mnt_fstype)) == NULL) in construct_mt()
720 nfte->remote = 1; in construct_mt()
722 nfte->remote = 0; in construct_mt()
725 nfte->srvr_map = 0; in construct_mt()
726 nfte->mounted = 1; in construct_mt()
728 nfte->remote_name = strdup(mt->mnt_special); in construct_mt()
737 nfte->writeable = 0; /* Assume read-only. */ in construct_mt()
739 nfte->writeable = 1; in construct_mt()
740 if (!(nfte->remote)) in construct_mt()
745 nfte->write_tested = 1; in construct_mt()
748 nfte->write_tested = 1; in construct_mt()
751 if (nfte->remote && !(nfte->writeable)) in construct_mt()
752 nfte->served = 1; in construct_mt()
785 struct fstable *nfte; in construct_vfs() local
787 if ((nfte = fs_tab_init(client_path, vfsent->vfs_fstype)) == NULL) in construct_vfs()
790 nfte->remote = (is_remote == REAL_REMOTE); in construct_vfs()
798 if (nfte->remote) { in construct_vfs()
811 nfte->mounted = 0; in construct_vfs()
812 nfte->srvr_map = 0; in construct_vfs()
813 nfte->writeable = 0; in construct_vfs()
823 nfte->mounted = 1; in construct_vfs()
824 nfte->srvr_map = 1; in construct_vfs()
825 nfte->writeable = fs_tab[match_mount]->writeable; in construct_vfs()
826 nfte->write_tested = fs_tab[match_mount]->write_tested; in construct_vfs()
830 nfte->mounted = 1; in construct_vfs()
831 nfte->srvr_map = 1; in construct_vfs()
832 nfte->writeable = fs_tab[fsys(link_name)]->writeable; in construct_vfs()
833 nfte->write_tested = 1; in construct_vfs()
840 nfte->served = 1; in construct_vfs()
843 nfte->remote_name = link_name; in construct_vfs()
845 nfte->remote_name = strdup(vfsent->vfs_special); in construct_vfs()
1024 struct fstable *nfte; in load_fsentry() local
1026 if ((nfte = fs_tab_init(name, fstype)) == NULL) in load_fsentry()
1030 fs_entry->name = nfte->name; in load_fsentry()
1031 fs_entry->fstype = nfte->fstype; in load_fsentry()
1034 (void) memcpy(nfte, fs_entry, sizeof (struct fstable)); in load_fsentry()
1039 if ((nfte->remote_name = malloc(strlen(remote_name)+1)) == NULL) { in load_fsentry()
1044 (void) strcpy(nfte->remote_name, remote_name); in load_fsentry()