Lines Matching refs:mt

89 show_mti(amq_mount_tree *mt, enum show_opt e, int *mwid, int *dwid, int *twid)
94 int mw = strlen(mt->mt_mountinfo);
95 int dw = strlen(mt->mt_directory);
96 int tw = strlen(mt->mt_type);
108 struct tm *tp = localtime((time_t *) ((voidp) &mt->mt_mounttime));
111 *mt->mt_directory ? mt->mt_directory : "/", /* XXX */
113 mt->mt_type,
115 mt->mt_mountinfo,
116 mt->mt_mountpoint,
118 mt->mt_mountuid,
119 mt->mt_getattr,
120 mt->mt_lookup,
121 mt->mt_readdir,
122 mt->mt_readlink,
123 mt->mt_statfs,
133 struct tm *tp = localtime((time_t *) ((voidp) &mt->mt_mounttime));
136 *mt->mt_directory ? mt->mt_directory : "/", /* XXX */
138 mt->mt_mountuid,
139 mt->mt_getattr,
140 mt->mt_lookup,
141 mt->mt_readdir,
142 mt->mt_readlink,
143 mt->mt_statfs,
155 *mt->mt_directory ? mt->mt_directory : "/",
157 mt->mt_type,
159 mt->mt_mountinfo,
160 mt->mt_mountpoint);
174 show_pwd(amq_mount_tree *mt, char *path, size_t l, int *flag)
178 while (mt) {
179 len = strlen(mt->mt_mountpoint);
180 if (NSTREQ(path, mt->mt_mountpoint, len) &&
181 !STREQ(mt->mt_directory, mt->mt_mountpoint)) {
183 xstrlcpy(buf, mt->mt_directory, sizeof(buf));
188 show_pwd(mt->mt_next, path, l, flag);
189 mt = mt->mt_child;
198 show_mt(amq_mount_tree *mt, enum show_opt e, int *mwid, int *dwid, int *pwid)
200 while (mt) {
201 show_mti(mt, e, mwid, dwid, pwid);
202 show_mt(mt->mt_next, e, mwid, dwid, pwid);
203 mt = mt->mt_child;
617 amq_mount_tree_p mt;
626 mt = mlp->amq_mount_tree_list_val[i];
629 show_pwd(mt, path, sizeof(path), &flag);
717 amq_mount_tree *mt = *mtp;
718 if (mt) {
720 show_mt(mt, Calc, &mwid, &dwid, &twid);
725 show_mt(mt, Stats, &mwid, &dwid, &twid);