Lines Matching refs:mnt
83 struct dosmount *mnt;
97 for (mnt = mounts; mnt; mnt = mnt->next)
98 if (mnt->kptr == denode.de_pmp)
101 if (!mnt) {
102 if ((mnt = malloc(sizeof(struct dosmount))) == NULL) {
107 &mnt->data, sizeof(mnt->data))) {
108 free(mnt);
113 mnt->next = mounts;
114 mounts = mnt;
115 mnt->kptr = denode.de_pmp;
118 vn->vn_fsid = dev2udev(kd, mnt->data.pm_dev);
121 vn->vn_mode &= mnt->data.pm_mask;
138 dirsperblk = mnt->data.pm_BytesPerSec / sizeof(struct direntry);
140 fileid = cntobn(&mnt->data, denode.de_StartCluster)
145 fileid = cntobn(&mnt->data, denode.de_dirclust) * dirsperblk;
147 fileid = roottobn(&mnt->data, 0) * dirsperblk;